Codebase list autoconf-archive / a9adefd
Import autoconf-archive_20210219.orig.tar.xz Bastien Roucariès 2 years ago
99 changed file(s) with 40509 addition(s) and 36552 deletion(s). Raw diff Collapse all Expand all
0 2019.01.06
0 2021.02.19
0 # Copyright (c) 2019 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
0 # Copyright (c) 2021 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
11 #
22 # Copying and distribution of this file, with or without modification, are
33 # permitted in any medium without royalty provided the copyright notice and this
99 2018 Krzesimir Nowak
1010 2018 Reini Urban
1111 Aaron Griffith
12 Adam Chyla
13 Adam Chyła
1214 Akim Demaille
1315 Akos Maroy
1416 Alain Barbet
5860 Can Bican
5961 Caolan McNamara
6062 Carnë Draug
63 Cedric Cellier
64 Cheyenne Wills
65 Christian Feld
6166 Christian Haggstrom
6267 Christian Hergert
6368 Christian Persch
110115 Emil Mikulic
111116 Emmanuele Bassi
112117 Endless Mobile, Inc.; contributed by Philip Chimento
118 Enji Cooper
113119 Enrico M. Crisostomo
114120 Eric Bavier
115121 Eric Gallager
124130 Gabriele Bartolini
125131 Gabriele Svelto
126132 Gary Funck
133 Geoffrey M Oxberry
134 Geoffrey M. Oxberry
127135 Gerald Point
136 Gianfranco Costamagna
128137 Gilles Espinasse
129138 Gleen Salmon
130139 Google Inc.; contributed by Alexey Sokolov
136145 Harenome Ranaivoarivony-Razanajato
137146 Heinrich Schuchardt
138147 Helmut Grohne
148 Henrik Bengtsson
139149 Henrik Uhrenholt
140150 Hib Eris
141151 Horst Knorr
152 Ignacy Gawedzki
153 Ignacy Gawędzki
154 Igor Cota
142155 Igor Gnatenko
143156 Ilguiz Latypov
144157 Ilya Etingof
145158 Jaap Eldering
146159 James Cowgill
160 James Morris
147161 Jan Langer
148162 Janne Blomqvist
163 Jannick
149164 Jaroslav Hajek
165 Jason Merrill
150166 Jean-Louis Martineau
151167 Jens Geyer
168 Jens Rehsack
152169 Jeremiah Willcock
153170 Jeremie Knuesel
154171 Jeremy C. Reed
162179 John Stumpo
163180 John W. Peterson
164181 John Zaitseff
182 Jonas Witschel
165183 Jonathan Gray
166184 Jonathan Rajotte
167185 Jonathan Rajotte-Julien
192210 Lars Brinkhoff
193211 Laszlo Kajan
194212 Leo Davis
213 Leo Singer
195214 Li-Wen Hsu
196215 Loic Dachary
197216 Luc Maisonobe
199218 Ludovic Courtes
200219 Luke Mewburn
201220 Maarten Bosmans
221 Marc Stevens
202222 Marco Gomes
203223 Mark Elbrecht
204224 Mark Pulford
214234 Matthew D. Langston
215235 Matthew Mueller
216236 Matthew William Cox
237 Matthieu Schaller
238 Max Horn
217239 Max Satula
218240 Maximilian Heinzler
219241 Michael Catanzaro
220242 Michael Hofmann
221243 Michael McMaster
244 Michael Orlitzky
222245 Michael Paul Bailey
223246 Michael Petch
247 Michael Shigorin
224248 Michael Stapelberg
225249 Michael Terry
226250 Michael Tindal
230254 Mikael Lepisto
231255 Mike Frysinger
232256 Mike Park
257 Ming Chen
258 Mischa Spiegelmock
233259 Misty De Meo
234260 Mitchell Rosen
235261 Moritz Klammler
258284 Paolo Bonzini
259285 Paolo Borelli
260286 Patrick Mauritz
287 Pau Espin Pedrol
261288 Paul Gilmartin
262289 Paul Norman
290 Paul Wise
263291 Pauli Nieminen
264292 Pavel Roskin
265293 Perceval Anichini
275303 Philip Withnall
276304 Philipp Thomas
277305 Pierre Hebert
306 Quang Vu
278307 Rafael Laboissiere
279308 Rafael de Lucena Valle
280309 Rafal Rzepecki
281310 Rafał Rzepecki
311 Ralf Habacker
282312 Ralf Wildenhues
283313 Reinhard Prix
284314 Reini Urban
288318 Riccardo Murri
289319 Richard Henderson
290320 Robert White
321 Robert van Engelen
291322 Roman Rybalko
292323 Ronald Landheer-Cieslak
293324 Rouven Spreckels
305336 Sebastian Huber
306337 Sebastian Waschik
307338 Sergio Belkin
339 Simon Marchi
308340 Simon McVittie
341 Sjors Provoost
309342 Smithsonian Astrophysical Observatory
310343 Soren Andersen
311344 Sree Harsha Totakura
356389 Victor Bogado
357390 Ville Laurikari
358391 Vinson Lee
392 Wang Xuerui
359393 Warren Young
360394 Werner Lemberg
361395 Wes Hardaker
370404 Yusuke Tsutsumi
371405 Zack Weinberg
372406 consultit
407 cr-marcstevens
373408 david.e.pi.3.14
374409 dryman
410 fanquake
375411 gmbonnet
376412 karypid
377413 kedzie
0 # Copyright (c) 2019 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
0 # Copyright (c) 2021 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
11 #
22 # Copying and distribution of this file, with or without modification, are
33 # permitted in any medium without royalty provided the copyright notice and
44 # this notice are preserved. This file is offered as-is, without any warranty.
5
6 2021-02-19 Peter Simons <simons@cryp.to>
7
8 AX_CHECK_PCRE2: cosmetic change to fix the #serial number
9
10 2021-02-19 Michael Orlitzky <michael@orlitzky.com>
11
12 AX_ABSOLUTE_HEADER: replace AC_FOREACH with m4_foreach_w
13 The AC_FOREACH macro is deprecated in favor of m4_foreach_w. This
14 eliminates the associated warning in newer versions of autoconf.
15
16 2021-02-19 Ignacy Gawedzki <ignacy.gawedzki@green-communications.fr>
17
18 AX_BOOST_SERIALIZATION: make sure tests run with a clean $ax_lib variable
19 The ax_lib variable needs to be emptied before the tests, otherwise it might
20 still contain the value from some unrelated previous test.
21
22 2021-02-19 Max Horn <max@quendi.de>
23
24 AX_PROG_CXX_FOR_BUILD: match changes made to AX_PROG_CC_FOR_BUILD recently
25 - save/restore GXX
26 - honor `./configure --build=BUILD`
27 - use AC_LANG_PUSH and AC_LANG_POP to save and restore global variables
28 used for running tests like ac_compile and ac_link
29 - use pushdef/popdef to save and restore ac_tool_prefix, cross_compiling
30 and am_cv_CXX_dependencies_compiler_type (not sure if we need the latter
31 but this mimicks what AX_PROG_CC_FOR_BUILD does)
32
33 2021-02-19 Matthieu Schaller <matthieu.schaller@gmail.com>
34
35 AX_LIB_HDF5: fix ax_lib_hdf5 on systems with verbose h5cc -show
36 On some systems, the installation of h5cc is such that `h5cc -show` produces
37 more than one line. This breaks the macro and produces an invalid Makefile.
38
39 This proposed change just calls `head` before the call to `awk` to make sure
40 only the first line (the relevant one) is used.
41
42 2021-02-19 Peter Simons <simons@cryp.to>
43
44 AX_CHECK_PCRE2: search for an installed libpcre2-8 library
45 Submitted in <https://savannah.gnu.org/patch/index.php?9900>.
46
47 2021-02-19 Zack Weinberg <zackw@panix.com>
48
49 AX_PTHREAD: use AS_ECHO instead of $as_echo
50 AS_ECHO(["text"]) is the documented way to perform an 'echo' safely.
51 $as_echo is an internal, undocumented shell variable that was part of
52 the implementation of AS_ECHO; it was never intended to be used directly.
53
54 The code in ax_pthread.m4 would work with autoconf 2.69, but with
55 unreleased development versions of Autoconf from January 2013 until
56 March 2020 (which did not set $as_echo at all) it would have malfunctioned
57 unpredictably. With versions after March 2020 it would work correctly
58 but trigger -Wobsolete warnings.
59
60 2021-02-19 Jens Rehsack <sno@netbsd.org>
61
62 AX_PTHREAD: target > host
63 Even if cross-compiling is not the most used use-case, it's much more
64 important where we build for then where we run configure stage on (see
65 autoconf-manual "18.6.3 Hosts and Cross-Compilation").
66
67 AX_PTHREAD.M4: ensure C++ is handled analogous
68 Since at least AIX behaves for CC_r/xlC_r as it does for cc_r/xlc_r and so on,
69 use the same logic for CXX <-> PTHREAD_CXX as provided for CC <-> PTHREAD_CC
70 to avoid code & issue duplication.
71
72 2021-02-19 Paul Wise <pabs3@bonedaddy.net>
73
74 AX_PYTHON: add newer versions of Python
75 Python 3.8 was released on 2019-10-14.
76 Python 3.9 alpha 1 was released on 2019-11-19.
77
78 2021-02-18 Peter Simons <simons@cryp.to>
79
80 Merge pull request #222 from bircoph/master
81 AX_BOOST_BASE: add e2k to the list of lib64 architectures
82
83 Merge pull request #220 from chyla/robot
84 add ax_prog_robot.m4
85
86 Merge pull request #219 from CheyenneWills/fallthrough-fix
87 ax_gcc_func_attribute.m4: test fails for the fallthrough attribute with clang
88
89 Merge pull request #218 from jicama/master
90 ax_cxx_compile_stdcxx.m4: Restore check for default C++ version support
91
92 Merge pull request #217 from rrthomas/ax_cpu_vendor-cache-fix
93 ax_cpu_vendor: rename output variable to prevent autoconf warnings
94
95 2020-07-14 Michael Shigorin <mike@altlinux.org>
96
97 AX_BOOST_BASE: add e2k to the list of lib64 architectures
98
99 2020-06-02 Adam Chyła <adam@chyla.org>
100
101 update serial
102
103 fix malformed license section
104
105 remove non ascii characters
106
107 add ax_prog_robot.m4
108
109 2020-05-20 Cheyenne Wills <cheyenne.wills@gmail.com>
110
111 ax_gcc_func_attribute.m4: test fails for the fallthrough attribute with clang
112 The test for the fallthrough attribute fails due to other compiler
113 warnings when using clang. The following warnings are generated:
114
115 warning: no case matching constant switch condition '0'
116 warning: control reaches end of non-void function [-Wreturn-type]
117
118 Because of these additional warnings, the test always results in a
119 failure for the fallthrough attribute.
120
121 Update ax_gcc_func_attribute.m4 to eliminate the warnings that are
122 masking the test for the fallthrough attribute.
123
124 Note, tested the entire suite of attribute tests using clang and only
125 the fallthrough test contained warnings that caused the test to fail.
126
127 2020-05-15 Jason Merrill <jason@redhat.com>
128
129 ax_cxx_compile_stdcxx.m4: Restore check for default C++ version support
130 Commit bbb60ca79952c20ee0b187208533d98206b156d1 removed this check because
131 it can't support the user requesting noext. But if the user didn't specify
132 ext or noext, using the default mode should be fine. So this patch restores
133 the check if the second argument is empty.
134
135 2020-04-18 Reuben Thomas <rrt@sc3d.org>
136
137 ax_cpu_vendor: rename output variable to prevent autoconf warnings
138 The current version of AX_CPU_VENDOR causes autoconf 2.69 to give the
139 warning:
140
141 AC_CACHE_VAL(ax_cpu_vendor, ...): suspicious cache-id, must contain _cv_ to be cached
142
143 Hence, rename ax_cpu_vendor to ax_cv_cpu_vendor.
144
145 2020-04-18 Reuben Thomas <rrt@sc3d.org>
146
147 ax_subdirs_configure.m4: update to make cache files for subdirs work better
148
149 2020-03-13 Pau Espin Pedrol <pespin@sysmocom.de>
150
151 m4/ax_boost_base.m4: Fix debian multiarch_libsubdir path for arch armv7l
152 Without this patch, building on an RPI4 ends up with
153 BOOST_LDFLAGS=-L/usr/lib while libs are actually under
154 /usr/lib/arm-linux-gnueabihf, and configure will later file during
155 AX_BOOST_THREAD macro.
156
157 2020-03-13 Peter Simons <simons@cryp.to>
158
159 ax_gcc_func_attribute: fix serial number
160
161 Merge pull request #215 from chenming1986/gcc-attr
162 ax_gcc_func_attribute: Revise the detection of unknown attributes
163
164 Merge pull request #207 from jannick0/ax_prog_cc_for_build
165 ax_prog_cc_for_build.m4: bug fixes
166
167 2020-03-02 Ming Chen <ming.chen1986@gmail.com>
168
169 ax_gcc_func_attribute: Revise the detection of unknown attributes
170 GCC outputs a warning when Wstrict-prototypes is on, in such case the
171 attribute detection always fails even if the attribute is actually
172 supported. This change checks for the "-Wattributes" warning in
173 conftest.err instead of the existence of the file.
174
175 2020-02-08 Jannick <thirdedition@gmx.net>
176
177 ax_prog_cc_for_build.m4: bump serial to 18 (from 9)
178
179 ax_prog_cc_for_build.m4: add call for AC_CANONICAL_BUILD
180
181 2020-02-08 Jannick <thirdedition@gmx.net>
182
183 ax_prog_cc_for_build.m4: use AC_LANG_PUSH([C]) and AC_LANG_POP([C])
184 AC_LANG_PUSH([C]) makes sure that the global configure variables (like
185 ac_ext, ac_cpp, ac_compile, ac_link, ac_compiler_gnu) required by the internal
186 compile and link functions are defined for the C language for the BUILD
187 system. AC_LANG_POP([C]) ensures that the current language before calling
188 AX_PROG_CC_FOR_BUILD is restored.
189
190 AC_LANG_PUSH and AC_LANG_POP are preferable over manually defining the
191 global ac_... language-related variables (incl. temporary SAVE variables).
192
193 NOTE that any changes to the set of global variables, language specific variables
194 (as defined by AC_LANG_PUSH([C]) and AC_LANG_POP([C])) shall be reflected
195 in the pushdef/popdef blocks.
196
197 2020-02-08 Jannick <thirdedition@gmx.net>
198
199 ax_prog_cc_for_build.m4: bug fix - determine EXEEXT and OBJEXT for BUILD
200 Prior to this commit, the variables ac_exeext and ac_objext remain undefined,
201 however they are announced to be passed on to Makefile via the variables
202 BUILD_EXEEXT and BUILD_OBJEXT. For defining the former call the macros
203 _AC_COMPILER_EXEEXT and _AC_COMPILER_OBJEXT using the BUILD compiler.
204
205 NOTE: This commit makes use of the **internal** macros _AC_COMPILER_EXEEXT
206 and _AC_COMPILER_OBJEXT, which, as of now, appears to be OK if EXEEXT and
207 OBJEXT for the BUILD compiler should be determined with AX_PROG_CC_FOR_BUILD.
208
209 2020-02-08 Jannick <thirdedition@gmx.net>
210
211 ax_prog_cc_for_build.m4: bug fix - prevent using HOST cache values
212 ax_prog_cc_for_build.m4: push&pop the following variables for BUILD
213 which prevents using the HOST cache values:
214 - ac_cv_prog_cc_c89
215 - am_cv_prog_cc_c_o
216 - am_cv_CC_dependencies_compiler_type
217
218 2020-02-08 Jannick <thirdedition@gmx.net>
219
220 ax_prog_cc_for_build.m4: bug fix - run tests with BUILD compiler
221 Tested with autoconf 2.69: This is to fix that the compilation tests for
222 BUILD use the HOST compiler, regardless of configure's --build flag.
223
224 The compilation test functions in the configure script (like
225 'ac_fn_c_try_compile' and 'ac_fn_c_try_cpp') use the global variables
226 ac_ext, ac_cpp, ac_compile and ac_link. Thus, the push&pop technique
227 applied prior to this commit implies that the BUILD compilation test
228 are run with the HOST compiler.
229 Use an old-fashioned variable-save-technique.
230
231 2020-02-08 Jannick <thirdedition@gmx.net>
232
233 ax_prog_cc_for_build.m4: bug fix - honor configure's --build flag
234 Prior to this commit, ./configure --build=BUILD is currently ignored, such
235 that gcc found first on PATH is detected for BUILD, regardless of what
236 was set in the parameter --build.
237
238 This commit fixes this bug and allows to pass a BUILD platform triplet to
239 configure which is different from gcc found first on PATH.
240
241 * ax_prog_cc_for_build.m4:
242 - use ac_build_tool_prefix defined to the first non-void variable of
243 'build' and 'build_alias' (push and pop). Note that if configure is not
244 called with --build=BUILD, gcc first found on PATH is used for BUILD.
245
246 2020-02-08 Jannick <thirdedition@gmx.net>
247
248 ax_prog_cc_for_build.m4: add 'GCC_FOR_BUILD' as given in documentation
249
250 ax_prog_cc_for_build.m4: remove reference to obsolete macro 'AC_EXEEXT'
251 Cf. https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
252
253 2020-02-07 Peter Simons <simons@cryp.to>
254
255 Merge pull request #204 from cr-marcstevens/master
256 Fix ax_pthread.m4: try to include -lpthread in PTHREAD_LIBS for GCC & Clang since automatic usage is not guaranteed
257
258 Merge pull request #208 from rurban/fortify
259 ax_add_fortify_source.m4: improve for -Wcpp
260
261 2020-01-26 Peter Kokot <peterkokot@gmail.com>
262
263 Merge pull request #210 from lpsinger/ax_gcc_builtin-cpu_supports
264 Add __builtin_cpu_supports and friends to AX_GCC_BUILTIN
265
266 Merge pull request #205 from simark/epoll
267 ax_have_epoll: avoid -Wunused-but-set-variable errors
268
269 Merge pull request #211 from icota/2019-12-android-boost-thread
270 ax_boost_thread: do not set -pthread on Android
271
272 2020-01-06 Peter Kokot <peterkokot@gmail.com>
273
274 Merge pull request #212 from kvilhaugsvik/sqlite3
275 ax_lib_sqlite3: fix "unary operator expected"
276
277 Merge pull request #203 from Sjors/2019/11/want_boost_process
278 Use want_boost_process instead of want_boost
279
280 Merge pull request #213 from LocutusOfBorg/fix-boost
281 ax_boost_python.m4: fix missing "-l" parameter, resulting into a link…
282
283 2020-01-03 Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
284
285 ax_boost_python.m4: fix missing "-l" parameter, resulting into a link failure when used.
286 configuring a project with something like:
287 --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH) --with-boost-python='boost_python3.7'
288
289 tanslates the build into a "boost_python37" link line
290
291 checking whether boost_python37 is the correct library... yes
292
293 /bin/bash ../libtool --tag=CXX --mode=link mpicxx -Wall -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -release 2.3.4 -L/usr/lib/i386-linux-gnu -lboost_system -lpython3.7m -Wl,-z,relro -Wl,-z,now -o libFoundation.la -rpath /usr/lib/i386-linux-gnu libFoundation_la-console.lo libFoundation_la-Counter.lo libFoundation_la-Matrix3.lo libFoundation_la-Quaternion.lo libFoundation_la-vec3.lo libFoundation_la-Timer.lo libFoundation_la-StringUtil.lo libFoundation_la-realdist.lo libFoundation_la-PathSearcher.lo libFoundation_la-Runnable.lo libFoundation_la-PathUtil.lo libFoundation_la-Rng.lo libFoundation_la-BoundingSphere.lo libFoundation_la-BoundingBox.lo libFoundation_la-cube_eq.lo -lboost_filesystem boost_python37 -lpython3.7m -lmpi++ -lmpi
294
295 note the missing "-l" on python, while it is there for the filesystem link.
296
297 2020-01-03 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
298
299 ax_lib_sqlite3: fix "unary operator expected"
300
301 2019-12-31 Igor Cota <igor@codexapertus.com>
302
303 ax_boost_thread: do not set -pthread on Android
304 The android libc, bionic, provides built-in support for pthreads, so no additional linking is necessary.
305 Leaving -pthread breaks the build, see protocolbuffers/protobuf#1373
306
307 2019-12-29 Leo Singer <leo.singer@ligo.org>
308
309 Add __builtin_cpu_supports and friends to AX_GCC_BUILTIN
310 Add x86 builtins related to cpuid support to AX_GCC_BUILTIN.
311
312 2019-12-25 Reini Urban <rurban@cpan.org>
313
314 ax_add_fortify_source.m4: improve for -Wcpp
315 gcc-9 warns when -O is not enabled.
316
317 fix AX_ADD_FORTIFY_SOURCE for msys2
318 msys2 just dropped _FORTIFY_SOURCE support.
319 See https://github.com/msys2/MINGW-packages/issues/5803
320 Try to actually link it.
321
322 2019-11-28 Simon Marchi <simon.marchi@efficios.com>
323
324 ax_have_epoll: avoid -Wunused-but-set-variable errors
325 When building with -Werror -Wunused-but-set-variable, the code snippets
326 in this file generate a warning, causing the test to spuriously fail.
327 Remove the "rc" variables, since they're not used.
328
329 Sample config.log output:
330
331 configure:22489: checking for Linux epoll(7) interface
332 configure:22515: ccache gcc -o conftest -g3 -O0 -Wall -Werror -Wextra -Wno-type-limits -Wno-missing-declarations -Wno-missing-field-initializers -Wno-si gn-compare -Wno-implicit-fallthrough -Wno-unused-parameter -I/home/smarchi/install/include -DHAVE_LINUX_VERSION_H -L/home/smarchi/install/lib conftest.c -lurcu-cds >&5
333 conftest.c: In function 'main':
334 conftest.c:184:9: error: variable 'rc' set but not used [-Werror=unused-but-set-variable]
335 int fd, rc;
336 ^~
337 cc1: all warnings being treated as errors
338
339 2019-11-26 cr-marcstevens <github@marc-stevens.nl>
340
341 Note that for GCC and Clang -pthread generally implies -lpthread, except when -nostdlib is passed. This is problematic using libtool to build C++ shared libraries with pthread: [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460 [2] https://bugzilla.redhat.com/show_bug.cgi?id=661333 [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555 To solve this, first try -pthread together with -lpthread for GCC and Clang.
342 Changes:
343 - added support for combination "cflags,ldflags" style option to try
344 - check for Clang early
345 - for GCC and Clang try "-pthread,-lpthread" first, followed by original options (-pthread, etc.)
346 - Perform check for Clang flag to suppress warning when linking with -pthread later
347 - removed line "ax_pthread_clang_warning=0" (unused)
348
349 2019-11-11 Sjors Provoost <sjors@sprovoost.nl>
350
351 Use want_boost_process instead of want_boost
352
353 2019-11-05 Sjors Provoost <sjors@sprovoost.nl>
354 Luke Dashjr <luke-jr+git@utopios.org>
355
356 Add ax_boost_process
357
358 2019-10-23 Reini Urban <rurban@cpan.org>
359
360 add AX_GCC_FUNC_ATTRIBUTE(gnu_format)
361 newer gcc warns about function might be a candidate for
362 gnu_printf format attribute [-Wsuggest-attribute=format]
363
364 Usage: AX_GCC_FUNC_ATTRIBUTE(gnu_format)
365 and:
366 #ifdef HAVE_FUNC_ATTRIBUTE_GNU_FORMAT
367 __attribute__ ((format (gnu_printf, 1, 2)))
368 #elif HAVE_FUNC_ATTRIBUTE_FORMAT
369 __attribute__ ((format (printf, 1, 2)))
370 #endif
371
372 2019-10-03 Simon Marchi <simon.marchi@efficios.com>
373
374 ax_pthread.m4: avoid unused-but-set-parameter warning
375 With gcc's warning -Wunused-but-set-parameter enabled (which is enabled
376 with -Wextra) and -Werror, configuring with the AX_PTHREAD macro fails
377 with:
378
379 configure:6783: checking whether pthreads work with -pthread
380 configure:6877: ccache gcc -o conftest -g3 -O0 -Werror -Wall -Wextra -fmax-errors=1 -fdiagnostics-color=always -Wall -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_22 -pthread conftest.c >&5
381 conftest.c: In function 'routine':
382 conftest.c:37:51: error: parameter 'a' set but not used [-Werror=unused-but-set-parameter]
383 static void routine(void *a) { a = 0; }
384 ^
385 cc1: all warnings being treated as errors
386
387 Change the code to make it use, not only set, the parameter.
388
389 2019-09-13 fanquake <fanquake@gmail.com>
390
391 Improve Boost library error messages
392
393 2019-09-05 Henrik Bengtsson <hb@aroma-project.org>
394
395 BUG FIX: Fixing a _R_CHECK_LENGTH_1_CONDITION_=true bug
396 If a package exists, the test for its existence produces an error with _R_CHECK_LENGTH_1_CONDITION_=true (introduced in R 3.4.0), e.g.
397
398 $ _R_CHECK_LENGTH_1_CONDITION_=true R --silent --vanilla -e 'if(is.na(packageDescription("BH"))) stop("not found")'
399 > if(is.na(packageDescription("BH"))) stop("not found")
400 Error in if (is.na(packageDescription("BH"))) stop("not found") :
401 the condition has length > 1
402 Execution halted
403
404 This is because 'is.na(packageDescription("BH"))' resolved to a logical vector of 15(!) FALSE values when package 'BH' is installed. If it is not installed, then it resolves to TRUE.
405
406 Bumping 'serial' (because that's what other PRs do)
407
408 2019-08-31 Quang Vu <vhquang@gmail.com>
409
410 ax_check_openssl: improve message for openssl lookup
411
412 2019-07-17 Geoffrey M Oxberry <goxberry@gmail.com>
413
414 ax_lapack: add dylib glob to with_lapack
415 Prior to this commit, the `with_lapack` case statement checked for
416 dynamic libraries with `.so` suffixes (used on *nix operating
417 systems), but did not check for dynamic libraries with `.dylib`
418 suffixes (used on macOS operating systems). This commit adds globs to
419 the `with_lapack` case statement that check for macOS shared libraries
420 using `.dylib` suffixes.
421
422 ax_blas: add macOS shared lib globs to with_blas
423 Prior to this commit, the `with_blas` case statement checked for
424 dynamic libraries with `.so` suffixes (used on *nix operating
425 systems), but did not check for dynamic libraries with `.dylib`
426 suffixes (used on macOS operating systems). This commit adds globs to
427 the `with_blas` case statement that check for macOS shared libraries
428 using `.dylib` suffixes.
429
430 2019-07-14 Wang Xuerui <git@xen0n.name>
431
432 ax_boost_base: fix incomplete coverage of MIPS64 systems
433 The previous patch was based on an outdated version of the macro, taken
434 from nghttp2, that switched on `uname -m` instead of canonicalized host
435 arch. Fix the switch arm so that all MIPS64 regardless of endianness
436 and ISA level (like `mipsisa64r6el`) are correctly matched.
437
438 2019-07-13 Wang Xuerui <git@xen0n.name>
439
440 ax_boost_base: fix libsubdirs preference for MIPS64
441 Currently there're 3 well-known ABIs in use on MIPS64 systems, with
442 the respective libdir as follows:
443
444 * n64: `lib64`,
445 * n32: `lib32`,
446 * o32: `lib`.
447
448 Probe all three of them.
449
450 2019-05-24 Reuben Thomas <rrt@sc3d.org>
451
452 ax_cc_maxopt.m4: retain setting of CFLAGS by configure
453 AX_CC_MAXOPT checks whether CFLAGS was set by the user; if so, the user’s
454 setting is respected. This behavior is retained, of course.
455
456 However, AX_CC_MAXOPT was then setting CFLAGS="". This overrode the default
457 setting by configure, which usually includes -g. Hence, if CFLAGS was not
458 set by the user, retain the default setting, to preserve the ability to
459 debug.
460
461 A typical default setting from configure is "-g -O2". This means that
462 AX_CC_MAXOPT might typically set CFLAGS to "-g -O2 -O3". This is fine,
463 because the later -O3 will override the earlier -O2. (The only assumption is
464 that all compilers that AX_CC_MAXOPT knows behave in this sane way.)
465
466 2019-05-22 Cedric Cellier <rixed@happyleptic.org>
467
468 ax_have_qt: workaround qmake bug when building out of tree
469 Makefile generated by qmake include paths relative to the build
470 directory that is assumed to be current.
471
472 2019-05-17 Peter Simons <simons@cryp.to>
473
474 ax_int128: add canonic formatting for the HTML renderer
475
476 2019-05-16 Reuben Thomas <rrt@sc3d.org>
477
478 ax_int128.m4: new macro AX_HAVE_INT128
479
480 2019-04-26 Ralf Habacker <ralf.habacker@freenet.de>
481
482 ax_have_qt.m4: Fix not getting variables from the generated Makefile on Windows
483 Under Windows, the generated Makefile does not contain the required
484 information by default, because it is contained in other Makefiles
485 for the Release and Debug build variants. It is therefore necessary
486 to use only one build variant.
487
488 2019-04-23 Jannick <thirdedition@gmx.net>
489
490 ax_tls.m4: Fix bug and update macros
491 - replace obsolete AC_TRY_COMPILE with AC_COMPILE_IFELSE
492 - fix bug of empty else branch in shell code when 2nd argument empty
493 - Increase serial number from 14 to 15.
494 - If second argument to macro AX_TLS is empty or null, the else branch
495 of the generated shell code was empty and caused a shell error. Fix
496 this bug by typing the null statement ':' in this case.
497 - Same if first macro argument is null.
498 - Add comma in AC_DEFINE description.
499
500 2019-03-02 Mischa Spiegelmock <mischa@mvstg.biz>
501
502 find the resource compiler for Qt5 as well
503
504 2019-03-01 Enji Cooper <yaneurabeya@gmail.com>
505
506 Unbreak testing for `-std=c++11` with `clang++` with `-Werror -Wnon-virtual-dtor`
507 Earlier autoconf tests in the [Kyua project](https://github.com/jmmv/kyua)
508 enable `-Werror -Wnon-virtual-dtor`, which fails because of the fact that
509 the `Base` and `Derived` classes have non-virtual destructors with
510 virtual methods. Thus, add a set of virtual destructors for both `Base` and
511 `Derived` to quell the error and have `clang++` be properly detected as a
512 C++-11 capable compiler.
513
514 Bump serial and add name to copyright for the change.
515
516 Tested with:
517 - clang++ 7.0.1
518 - g++ 8.2.0
519
520 2019-02-18 Reuben Thomas <rrt@sc3d.org>
521
522 ax_c_arithmetic_rshift.m4: add required call to AC_LANG_SOURCE
523
524 2019-02-14 Peter Simons <simons@cryp.to>
525
526 AX_COMPILER_VENDOR: fix comment formatting
527
528 2019-02-14 John Zaitseff <J.Zaitseff@zap.org.au>
529
530 ax_compiler_vendor.m4: Correct the detection of the IBM compiler
531
532 ax_compiler_vendor.m4: Bump version number and copyright year
533
534 ax_compiler_vendor.m4: Clarify why some compilers are listed early
535
536 ax_compiler_vendor.m4: Make copyright lines consistent with other M4 files
537
538 ax_compiler_vendor.m4: Add detection of the NEC SX compiler
539
540 ax_compiler_vendor.m4: Update macro documentation to mention Fortran
541
542 ax_compiler_vendor.m4: Reformat the macro for readability
543
544 ax_compiler_vendor.m4: Make preprocessor directives start in column 1
545 Some compilers require preprocessor directives to start in the first
546 column, particularly the Portland PGI Fortran compilers.
547
548 ax_compiler_vendor.m4: Enable detection of the Sun Fortran compilers
549
550 ax_compiler_vendor.m4: Rearrange the Portland PGI compiler detection order
551 Although the Portland PGI 18.3 pgcc C compiler is detected correctly, the
552 pgc++ C++ compiler is misidentified as gnu: pgc++ obviously defines
553 __GNUC__ as well as __PGI, although pgcc does not.
554
555 ax_compiler_vendor.m4: Bug fix: remove superfluous space
556
557 2019-02-14 Peter Simons <simons@cryp.to>
558
559 Trivial cosmetic to make the generator happy.
560
561 2019-02-14 John Zaitseff <J.Zaitseff@zap.org.au>
562
563 ax_cflags_warn_all.m4: Avoid prepending empty flags
564
565 2019-02-14 John Zaitseff <J.Zaitseff@zap.org.au>
566
567 ax_cflags_warn_all.m4: Prepend flags instead of appending them
568 With many compilers (such as the Intel C compilers), flags specified
569 later in the command line override those specified earlier.
570 Unfortunately, this means that the user can no longer specify
571 warning-related options on the command line. This patch fixes this issue
572 by using AX_PREPEND_FLAG.
573
574 In particular, this patch allows the user to specify "CFLAGS=-w3" on the
575 ./configure command line for the Intel C compiler, which will no longer
576 be overridden by this macro's "-w2" option.
577
578 2019-02-14 John Zaitseff <J.Zaitseff@zap.org.au>
579
580 ax_prepend_flag.m4: New macro AX_PREPEND_FLAG
581 The AX_PREPEND_FLAG macro adds a flag to the front of a flags shell
582 variable, similar to how AX_APPEND_FLAG adds such flags to the end. It
583 should be used when adding compiler options that are position dependent:
584 where those options that were previously defined (such as by the user on
585 the command line) should override thoses added with AX_PREPEND_FLAG.
586
587 ax_cflags_warn_all.m4: Bug fix: modern Intel compilers don't accept "-warn all"
588
589 ax_cflags_warn_all.m4: Bug fix: the PGI compilers do not understand "-Wall"
590
591 ax_cflags_warn_all.m4: Rewrite the documentation to provide greater clarity
592
593 ax_cflags_warn_all.m4: Nicely indent remaining macros
594
595 2019-02-14 John Zaitseff <J.Zaitseff@zap.org.au>
596
597 ax_cflags_warn_all.m4: Rewrite AX_FLAGS_WARN_ALL to use AX_COMPILER_VENDOR
598 Using AX_COMPILER_VENDOR allows significantly more robust selection of
599 appropriate compiler flags. In the old code, for example, the Sun
600 (Oracle) Compiler Suite would accept Intel's "-warn all" detection, with
601 rather disastrous results.
602
603 All current compiler flags are incorporated into the new code without
604 modification.
605
606 2019-02-14 John Zaitseff <J.Zaitseff@zap.org.au>
607
608 ax_cflags_warn_all.m4: Bump version number and add new copyright holder
609
610 2019-02-14 Peter Simons <simons@cryp.to>
611
612 AX_PTHREAD: avoid a -Wunused-variable warning on PTHREAD_PRIO_INHERIT
613 The PTHREAD_PRIO_INHERIT check can trigger a -Wunused-variable warning, which
614 can be turned into an error when -Werror is used, with the consequence that
615 PTHREAD_PRIO_INHERIT appears to be missing.
616
617 Suggested by Vincent Lefèvre in https://savannah.gnu.org/patch/?9750.
618
619 2019-02-07 Philip Withnall <withnall@endlessm.com>
620
621 ax_code_coverage: Fix a recursive variable definition
622
623 2019-02-05 Ossama Othman <ossama.othman@intel.com>
624
625 ax_is_release: Support git worktrees.
626 Detect git worktrees in the git-directory case. Git worktrees contain
627 a `.git' file rather than a directory.
628
629 2019-01-25 Jonas Witschel <diabonas@gmx.de>
630
631 ax_code_coverage: fix self-referencing variable error in distcheck
632
633 2019-01-23 Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>
634
635 ax_check_gnu_make: Fix setting of ifGNUmake and ifnGNUmake.
636 The addition of support for ifnGNUmake introduced a bug that made
637 ifGNUmake be set to "#" in the case GNU Make is detected.
638
639 2019-01-23 Christian Feld <c.feld@fz-juelich.de>
640
641 Identify xlc from version 16 on as `ibm` and not as `clang`.
642 xlc from version 16 on does neither define __xlc__, __xlC__, __IBMC__, nor
643 __IBMCPP__ by default. Thus, it does not identify as vendor ibm but as clang.
644 It does define __ibmxl__, though. Adding this macro to the list of ibm macros
645 identifies xlc as ibm again.
646
647 Closes https://github.com/autoconf-archive/autoconf-archive/pull/179.
5648
6649 2018-12-29 Reini Urban <rurban@cpan.org>
7650
+169
-171
INSTALL less more
00 Installation Instructions
11 *************************
22
3 Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
4 Inc.
3 Copyright (C) 1994-1996, 1999-2002, 2004-2016 Free Software
4 Foundation, Inc.
55
66 Copying and distribution of this file, with or without modification,
77 are permitted in any medium without royalty provided the copyright
1111 Basic Installation
1212 ==================
1313
14 Briefly, the shell command `./configure && make && make install'
14 Briefly, the shell command './configure && make && make install'
1515 should configure, build, and install this package. The following
16 more-detailed instructions are generic; see the `README' file for
16 more-detailed instructions are generic; see the 'README' file for
1717 instructions specific to this package. Some packages provide this
18 `INSTALL' file but do not implement all of the features documented
18 'INSTALL' file but do not implement all of the features documented
1919 below. The lack of an optional feature in a given package is not
2020 necessarily a bug. More recommendations for GNU packages can be found
2121 in *note Makefile Conventions: (standards)Makefile Conventions.
2222
23 The `configure' shell script attempts to guess correct values for
23 The 'configure' shell script attempts to guess correct values for
2424 various system-dependent variables used during compilation. It uses
25 those values to create a `Makefile' in each directory of the package.
26 It may also create one or more `.h' files containing system-dependent
27 definitions. Finally, it creates a shell script `config.status' that
25 those values to create a 'Makefile' in each directory of the package.
26 It may also create one or more '.h' files containing system-dependent
27 definitions. Finally, it creates a shell script 'config.status' that
2828 you can run in the future to recreate the current configuration, and a
29 file `config.log' containing compiler output (useful mainly for
30 debugging `configure').
31
32 It can also use an optional file (typically called `config.cache'
33 and enabled with `--cache-file=config.cache' or simply `-C') that saves
34 the results of its tests to speed up reconfiguring. Caching is
35 disabled by default to prevent problems with accidental use of stale
36 cache files.
29 file 'config.log' containing compiler output (useful mainly for
30 debugging 'configure').
31
32 It can also use an optional file (typically called 'config.cache' and
33 enabled with '--cache-file=config.cache' or simply '-C') that saves the
34 results of its tests to speed up reconfiguring. Caching is disabled by
35 default to prevent problems with accidental use of stale cache files.
3736
3837 If you need to do unusual things to compile the package, please try
39 to figure out how `configure' could check whether to do them, and mail
40 diffs or instructions to the address given in the `README' so they can
38 to figure out how 'configure' could check whether to do them, and mail
39 diffs or instructions to the address given in the 'README' so they can
4140 be considered for the next release. If you are using the cache, and at
42 some point `config.cache' contains results you don't want to keep, you
41 some point 'config.cache' contains results you don't want to keep, you
4342 may remove or edit it.
4443
45 The file `configure.ac' (or `configure.in') is used to create
46 `configure' by a program called `autoconf'. You need `configure.ac' if
47 you want to change it or regenerate `configure' using a newer version
48 of `autoconf'.
44 The file 'configure.ac' (or 'configure.in') is used to create
45 'configure' by a program called 'autoconf'. You need 'configure.ac' if
46 you want to change it or regenerate 'configure' using a newer version of
47 'autoconf'.
4948
5049 The simplest way to compile this package is:
5150
52 1. `cd' to the directory containing the package's source code and type
53 `./configure' to configure the package for your system.
54
55 Running `configure' might take a while. While running, it prints
51 1. 'cd' to the directory containing the package's source code and type
52 './configure' to configure the package for your system.
53
54 Running 'configure' might take a while. While running, it prints
5655 some messages telling which features it is checking for.
5756
58 2. Type `make' to compile the package.
59
60 3. Optionally, type `make check' to run any self-tests that come with
57 2. Type 'make' to compile the package.
58
59 3. Optionally, type 'make check' to run any self-tests that come with
6160 the package, generally using the just-built uninstalled binaries.
6261
63 4. Type `make install' to install the programs and any data files and
62 4. Type 'make install' to install the programs and any data files and
6463 documentation. When installing into a prefix owned by root, it is
6564 recommended that the package be configured and built as a regular
66 user, and only the `make install' phase executed with root
65 user, and only the 'make install' phase executed with root
6766 privileges.
6867
69 5. Optionally, type `make installcheck' to repeat any self-tests, but
68 5. Optionally, type 'make installcheck' to repeat any self-tests, but
7069 this time using the binaries in their final installed location.
7170 This target does not install anything. Running this target as a
72 regular user, particularly if the prior `make install' required
71 regular user, particularly if the prior 'make install' required
7372 root privileges, verifies that the installation completed
7473 correctly.
7574
7675 6. You can remove the program binaries and object files from the
77 source code directory by typing `make clean'. To also remove the
78 files that `configure' created (so you can compile the package for
79 a different kind of computer), type `make distclean'. There is
80 also a `make maintainer-clean' target, but that is intended mainly
76 source code directory by typing 'make clean'. To also remove the
77 files that 'configure' created (so you can compile the package for
78 a different kind of computer), type 'make distclean'. There is
79 also a 'make maintainer-clean' target, but that is intended mainly
8180 for the package's developers. If you use it, you may have to get
8281 all sorts of other programs in order to regenerate files that came
8382 with the distribution.
8483
85 7. Often, you can also type `make uninstall' to remove the installed
84 7. Often, you can also type 'make uninstall' to remove the installed
8685 files again. In practice, not all packages have tested that
8786 uninstallation works correctly, even though it is required by the
8887 GNU Coding Standards.
8988
90 8. Some packages, particularly those that use Automake, provide `make
89 8. Some packages, particularly those that use Automake, provide 'make
9190 distcheck', which can by used by developers to test that all other
92 targets like `make install' and `make uninstall' work correctly.
91 targets like 'make install' and 'make uninstall' work correctly.
9392 This target is generally not run by end users.
9493
9594 Compilers and Options
9695 =====================
9796
9897 Some systems require unusual options for compilation or linking that
99 the `configure' script does not know about. Run `./configure --help'
98 the 'configure' script does not know about. Run './configure --help'
10099 for details on some of the pertinent environment variables.
101100
102 You can give `configure' initial values for configuration parameters
103 by setting variables in the command line or in the environment. Here
104 is an example:
101 You can give 'configure' initial values for configuration parameters
102 by setting variables in the command line or in the environment. Here is
103 an example:
105104
106105 ./configure CC=c99 CFLAGS=-g LIBS=-lposix
107106
112111
113112 You can compile the package for more than one kind of computer at the
114113 same time, by placing the object files for each architecture in their
115 own directory. To do this, you can use GNU `make'. `cd' to the
114 own directory. To do this, you can use GNU 'make'. 'cd' to the
116115 directory where you want the object files and executables to go and run
117 the `configure' script. `configure' automatically checks for the
118 source code in the directory that `configure' is in and in `..'. This
119 is known as a "VPATH" build.
120
121 With a non-GNU `make', it is safer to compile the package for one
116 the 'configure' script. 'configure' automatically checks for the source
117 code in the directory that 'configure' is in and in '..'. This is known
118 as a "VPATH" build.
119
120 With a non-GNU 'make', it is safer to compile the package for one
122121 architecture at a time in the source code directory. After you have
123 installed the package for one architecture, use `make distclean' before
122 installed the package for one architecture, use 'make distclean' before
124123 reconfiguring for another architecture.
125124
126125 On MacOS X 10.5 and later systems, you can create libraries and
127126 executables that work on multiple system types--known as "fat" or
128 "universal" binaries--by specifying multiple `-arch' options to the
129 compiler but only a single `-arch' option to the preprocessor. Like
127 "universal" binaries--by specifying multiple '-arch' options to the
128 compiler but only a single '-arch' option to the preprocessor. Like
130129 this:
131130
132131 ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
135134
136135 This is not guaranteed to produce working output in all cases, you
137136 may have to build one architecture at a time and combine the results
138 using the `lipo' tool if you have problems.
137 using the 'lipo' tool if you have problems.
139138
140139 Installation Names
141140 ==================
142141
143 By default, `make install' installs the package's commands under
144 `/usr/local/bin', include files under `/usr/local/include', etc. You
145 can specify an installation prefix other than `/usr/local' by giving
146 `configure' the option `--prefix=PREFIX', where PREFIX must be an
142 By default, 'make install' installs the package's commands under
143 '/usr/local/bin', include files under '/usr/local/include', etc. You
144 can specify an installation prefix other than '/usr/local' by giving
145 'configure' the option '--prefix=PREFIX', where PREFIX must be an
147146 absolute file name.
148147
149148 You can specify separate installation prefixes for
150149 architecture-specific files and architecture-independent files. If you
151 pass the option `--exec-prefix=PREFIX' to `configure', the package uses
150 pass the option '--exec-prefix=PREFIX' to 'configure', the package uses
152151 PREFIX as the prefix for installing programs and libraries.
153152 Documentation and other data files still use the regular prefix.
154153
155154 In addition, if you use an unusual directory layout you can give
156 options like `--bindir=DIR' to specify different values for particular
157 kinds of files. Run `configure --help' for a list of the directories
158 you can set and what kinds of files go in them. In general, the
159 default for these options is expressed in terms of `${prefix}', so that
160 specifying just `--prefix' will affect all of the other directory
155 options like '--bindir=DIR' to specify different values for particular
156 kinds of files. Run 'configure --help' for a list of the directories
157 you can set and what kinds of files go in them. In general, the default
158 for these options is expressed in terms of '${prefix}', so that
159 specifying just '--prefix' will affect all of the other directory
161160 specifications that were not explicitly provided.
162161
163162 The most portable way to affect installation locations is to pass the
164 correct locations to `configure'; however, many packages provide one or
163 correct locations to 'configure'; however, many packages provide one or
165164 both of the following shortcuts of passing variable assignments to the
166 `make install' command line to change installation locations without
165 'make install' command line to change installation locations without
167166 having to reconfigure or recompile.
168167
169168 The first method involves providing an override variable for each
170 affected directory. For example, `make install
169 affected directory. For example, 'make install
171170 prefix=/alternate/directory' will choose an alternate location for all
172171 directory configuration variables that were expressed in terms of
173 `${prefix}'. Any directories that were specified during `configure',
174 but not in terms of `${prefix}', must each be overridden at install
175 time for the entire installation to be relocated. The approach of
176 makefile variable overrides for each directory variable is required by
177 the GNU Coding Standards, and ideally causes no recompilation.
178 However, some platforms have known limitations with the semantics of
179 shared libraries that end up requiring recompilation when using this
180 method, particularly noticeable in packages that use GNU Libtool.
181
182 The second method involves providing the `DESTDIR' variable. For
183 example, `make install DESTDIR=/alternate/directory' will prepend
184 `/alternate/directory' before all installation names. The approach of
185 `DESTDIR' overrides is not required by the GNU Coding Standards, and
172 '${prefix}'. Any directories that were specified during 'configure',
173 but not in terms of '${prefix}', must each be overridden at install time
174 for the entire installation to be relocated. The approach of makefile
175 variable overrides for each directory variable is required by the GNU
176 Coding Standards, and ideally causes no recompilation. However, some
177 platforms have known limitations with the semantics of shared libraries
178 that end up requiring recompilation when using this method, particularly
179 noticeable in packages that use GNU Libtool.
180
181 The second method involves providing the 'DESTDIR' variable. For
182 example, 'make install DESTDIR=/alternate/directory' will prepend
183 '/alternate/directory' before all installation names. The approach of
184 'DESTDIR' overrides is not required by the GNU Coding Standards, and
186185 does not work on platforms that have drive letters. On the other hand,
187186 it does better at avoiding recompilation issues, and works well even
188 when some directory options were not specified in terms of `${prefix}'
189 at `configure' time.
187 when some directory options were not specified in terms of '${prefix}'
188 at 'configure' time.
190189
191190 Optional Features
192191 =================
193192
194193 If the package supports it, you can cause programs to be installed
195 with an extra prefix or suffix on their names by giving `configure' the
196 option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
197
198 Some packages pay attention to `--enable-FEATURE' options to
199 `configure', where FEATURE indicates an optional part of the package.
200 They may also pay attention to `--with-PACKAGE' options, where PACKAGE
201 is something like `gnu-as' or `x' (for the X Window System). The
202 `README' should mention any `--enable-' and `--with-' options that the
194 with an extra prefix or suffix on their names by giving 'configure' the
195 option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'.
196
197 Some packages pay attention to '--enable-FEATURE' options to
198 'configure', where FEATURE indicates an optional part of the package.
199 They may also pay attention to '--with-PACKAGE' options, where PACKAGE
200 is something like 'gnu-as' or 'x' (for the X Window System). The
201 'README' should mention any '--enable-' and '--with-' options that the
203202 package recognizes.
204203
205 For packages that use the X Window System, `configure' can usually
204 For packages that use the X Window System, 'configure' can usually
206205 find the X include and library files automatically, but if it doesn't,
207 you can use the `configure' options `--x-includes=DIR' and
208 `--x-libraries=DIR' to specify their locations.
206 you can use the 'configure' options '--x-includes=DIR' and
207 '--x-libraries=DIR' to specify their locations.
209208
210209 Some packages offer the ability to configure how verbose the
211 execution of `make' will be. For these packages, running `./configure
210 execution of 'make' will be. For these packages, running './configure
212211 --enable-silent-rules' sets the default to minimal output, which can be
213 overridden with `make V=1'; while running `./configure
212 overridden with 'make V=1'; while running './configure
214213 --disable-silent-rules' sets the default to verbose, which can be
215 overridden with `make V=0'.
214 overridden with 'make V=0'.
216215
217216 Particular systems
218217 ==================
219218
220 On HP-UX, the default C compiler is not ANSI C compatible. If GNU
221 CC is not installed, it is recommended to use the following options in
219 On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC
220 is not installed, it is recommended to use the following options in
222221 order to use an ANSI C compiler:
223222
224223 ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
225224
226225 and if that doesn't work, install pre-built binaries of GCC for HP-UX.
227226
228 HP-UX `make' updates targets which have the same time stamps as
229 their prerequisites, which makes it generally unusable when shipped
230 generated files such as `configure' are involved. Use GNU `make'
231 instead.
227 HP-UX 'make' updates targets which have the same time stamps as their
228 prerequisites, which makes it generally unusable when shipped generated
229 files such as 'configure' are involved. Use GNU 'make' instead.
232230
233231 On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
234 parse its `<wchar.h>' header file. The option `-nodtk' can be used as
235 a workaround. If GNU CC is not installed, it is therefore recommended
236 to try
232 parse its '<wchar.h>' header file. The option '-nodtk' can be used as a
233 workaround. If GNU CC is not installed, it is therefore recommended to
234 try
237235
238236 ./configure CC="cc"
239237
241239
242240 ./configure CC="cc -nodtk"
243241
244 On Solaris, don't put `/usr/ucb' early in your `PATH'. This
242 On Solaris, don't put '/usr/ucb' early in your 'PATH'. This
245243 directory contains several dysfunctional programs; working variants of
246 these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
247 in your `PATH', put it _after_ `/usr/bin'.
248
249 On Haiku, software installed for all users goes in `/boot/common',
250 not `/usr/local'. It is recommended to use the following options:
244 these programs are available in '/usr/bin'. So, if you need '/usr/ucb'
245 in your 'PATH', put it _after_ '/usr/bin'.
246
247 On Haiku, software installed for all users goes in '/boot/common',
248 not '/usr/local'. It is recommended to use the following options:
251249
252250 ./configure --prefix=/boot/common
253251
254252 Specifying the System Type
255253 ==========================
256254
257 There may be some features `configure' cannot figure out
255 There may be some features 'configure' cannot figure out
258256 automatically, but needs to determine by the type of machine the package
259257 will run on. Usually, assuming the package is built to be run on the
260 _same_ architectures, `configure' can figure that out, but if it prints
258 _same_ architectures, 'configure' can figure that out, but if it prints
261259 a message saying it cannot guess the machine type, give it the
262 `--build=TYPE' option. TYPE can either be a short name for the system
263 type, such as `sun4', or a canonical name which has the form:
260 '--build=TYPE' option. TYPE can either be a short name for the system
261 type, such as 'sun4', or a canonical name which has the form:
264262
265263 CPU-COMPANY-SYSTEM
266264
269267 OS
270268 KERNEL-OS
271269
272 See the file `config.sub' for the possible values of each field. If
273 `config.sub' isn't included in this package, then this package doesn't
270 See the file 'config.sub' for the possible values of each field. If
271 'config.sub' isn't included in this package, then this package doesn't
274272 need to know the machine type.
275273
276274 If you are _building_ compiler tools for cross-compiling, you should
277 use the option `--target=TYPE' to select the type of system they will
275 use the option '--target=TYPE' to select the type of system they will
278276 produce code for.
279277
280278 If you want to _use_ a cross compiler, that generates code for a
281279 platform different from the build platform, you should specify the
282280 "host" platform (i.e., that on which the generated programs will
283 eventually be run) with `--host=TYPE'.
281 eventually be run) with '--host=TYPE'.
284282
285283 Sharing Defaults
286284 ================
287285
288 If you want to set default values for `configure' scripts to share,
289 you can create a site shell script called `config.site' that gives
290 default values for variables like `CC', `cache_file', and `prefix'.
291 `configure' looks for `PREFIX/share/config.site' if it exists, then
292 `PREFIX/etc/config.site' if it exists. Or, you can set the
293 `CONFIG_SITE' environment variable to the location of the site script.
294 A warning: not all `configure' scripts look for a site script.
286 If you want to set default values for 'configure' scripts to share,
287 you can create a site shell script called 'config.site' that gives
288 default values for variables like 'CC', 'cache_file', and 'prefix'.
289 'configure' looks for 'PREFIX/share/config.site' if it exists, then
290 'PREFIX/etc/config.site' if it exists. Or, you can set the
291 'CONFIG_SITE' environment variable to the location of the site script.
292 A warning: not all 'configure' scripts look for a site script.
295293
296294 Defining Variables
297295 ==================
298296
299297 Variables not defined in a site shell script can be set in the
300 environment passed to `configure'. However, some packages may run
298 environment passed to 'configure'. However, some packages may run
301299 configure again during the build, and the customized values of these
302300 variables may be lost. In order to avoid this problem, you should set
303 them in the `configure' command line, using `VAR=value'. For example:
301 them in the 'configure' command line, using 'VAR=value'. For example:
304302
305303 ./configure CC=/usr/local2/bin/gcc
306304
307 causes the specified `gcc' to be used as the C compiler (unless it is
305 causes the specified 'gcc' to be used as the C compiler (unless it is
308306 overridden in the site shell script).
309307
310 Unfortunately, this technique does not work for `CONFIG_SHELL' due to
311 an Autoconf limitation. Until the limitation is lifted, you can use
312 this workaround:
308 Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an
309 Autoconf limitation. Until the limitation is lifted, you can use this
310 workaround:
313311
314312 CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
315313
316 `configure' Invocation
314 'configure' Invocation
317315 ======================
318316
319 `configure' recognizes the following options to control how it
317 'configure' recognizes the following options to control how it
320318 operates.
321319
322 `--help'
323 `-h'
324 Print a summary of all of the options to `configure', and exit.
325
326 `--help=short'
327 `--help=recursive'
320 '--help'
321 '-h'
322 Print a summary of all of the options to 'configure', and exit.
323
324 '--help=short'
325 '--help=recursive'
328326 Print a summary of the options unique to this package's
329 `configure', and exit. The `short' variant lists options used
330 only in the top level, while the `recursive' variant lists options
331 also present in any nested packages.
332
333 `--version'
334 `-V'
335 Print the version of Autoconf used to generate the `configure'
327 'configure', and exit. The 'short' variant lists options used only
328 in the top level, while the 'recursive' variant lists options also
329 present in any nested packages.
330
331 '--version'
332 '-V'
333 Print the version of Autoconf used to generate the 'configure'
336334 script, and exit.
337335
338 `--cache-file=FILE'
336 '--cache-file=FILE'
339337 Enable the cache: use and save the results of the tests in FILE,
340 traditionally `config.cache'. FILE defaults to `/dev/null' to
338 traditionally 'config.cache'. FILE defaults to '/dev/null' to
341339 disable caching.
342340
343 `--config-cache'
344 `-C'
345 Alias for `--cache-file=config.cache'.
346
347 `--quiet'
348 `--silent'
349 `-q'
341 '--config-cache'
342 '-C'
343 Alias for '--cache-file=config.cache'.
344
345 '--quiet'
346 '--silent'
347 '-q'
350348 Do not print messages saying which checks are being made. To
351 suppress all normal output, redirect it to `/dev/null' (any error
349 suppress all normal output, redirect it to '/dev/null' (any error
352350 messages will still be shown).
353351
354 `--srcdir=DIR'
352 '--srcdir=DIR'
355353 Look for the package's source code in directory DIR. Usually
356 `configure' can determine that directory automatically.
357
358 `--prefix=DIR'
359 Use DIR as the installation prefix. *note Installation Names::
360 for more details, including other options available for fine-tuning
361 the installation locations.
362
363 `--no-create'
364 `-n'
354 'configure' can determine that directory automatically.
355
356 '--prefix=DIR'
357 Use DIR as the installation prefix. *note Installation Names:: for
358 more details, including other options available for fine-tuning the
359 installation locations.
360
361 '--no-create'
362 '-n'
365363 Run the configure checks, but stop before creating any output
366364 files.
367365
368 `configure' also accepts some other, not widely useful, options. Run
369 `configure --help' for more details.
366 'configure' also accepts some other, not widely useful, options. Run
367 'configure --help' for more details.
00 # Build and install the GNU Autoconf Archive.
11 #
2 # Copyright (c) 2019 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
2 # Copyright (c) 2021 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
33 #
44 # This program is free software: you can redistribute it and/or modify it under
55 # the terms of the GNU General Public License as published by the Free Software
2929 @rm -f configure Makefile.in aclocal.m4 AUTHORS ChangeLog
3030 @rm -f INSTALL config.log config.status configure maint.mk
3131 @rm -f autoconf-archive-*.*.*.tar.* GNUmakefile README
32 @rm -f *~
3233
3334 dist-hook:
3435 echo $(VERSION) > $(distdir)/.tarball-version
3536 if test -d .git; then \
36 echo > $(distdir)/cl-t '# Copyright (c) 2019 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>'; \
37 echo > $(distdir)/cl-t '# Copyright (c) 2021 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>'; \
3738 echo >>$(distdir)/cl-t '#'; \
3839 echo >>$(distdir)/cl-t '# Copying and distribution of this file, with or without modification, are'; \
3940 echo >>$(distdir)/cl-t '# permitted in any medium without royalty provided the copyright notice and'; \
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.3 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
1515
1616 # Build and install the GNU Autoconf Archive.
1717 #
18 # Copyright (c) 2019 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
18 # Copyright (c) 2021 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
1919 #
2020 # This program is free software: you can redistribute it and/or modify it under
2121 # the terms of the GNU General Public License as published by the Free Software
242242 GZIP_ENV = --best
243243 DIST_ARCHIVES = $(distdir).tar.xz
244244 DIST_TARGETS = dist-xz
245 # Exists only to be overridden by the user if desired.
246 AM_DISTCHECK_DVI_TARGET = dvi
245247 distuninstallcheck_listfiles = find . -type f -print
246248 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
247249 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
314316 prefix = @prefix@
315317 program_transform_name = @program_transform_name@
316318 psdir = @psdir@
319 runstatedir = @runstatedir@
317320 sbindir = @sbindir@
318321 sharedstatedir = @sharedstatedir@
319322 srcdir = @srcdir@
597600 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
598601 $(am__post_remove_distdir)
599602
603 dist-zstd: distdir
604 tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
605 $(am__post_remove_distdir)
606
600607 dist-tarZ: distdir
601608 @echo WARNING: "Support for distribution archives compressed with" \
602609 "legacy program 'compress' is deprecated." >&2
639646 eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
640647 *.zip*) \
641648 unzip $(distdir).zip ;;\
649 *.tar.zst*) \
650 zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
642651 esac
643652 chmod -R a-w $(distdir)
644653 chmod u+w $(distdir)
654663 $(DISTCHECK_CONFIGURE_FLAGS) \
655664 --srcdir=../.. --prefix="$$dc_install_base" \
656665 && $(MAKE) $(AM_MAKEFLAGS) \
657 && $(MAKE) $(AM_MAKEFLAGS) dvi \
666 && $(MAKE) $(AM_MAKEFLAGS) $(AM_DISTCHECK_DVI_TARGET) \
658667 && $(MAKE) $(AM_MAKEFLAGS) check \
659668 && $(MAKE) $(AM_MAKEFLAGS) install \
660669 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
819828 am--refresh check check-am clean clean-cscope clean-generic \
820829 clean-local cscope cscopelist-am ctags ctags-am dist dist-all \
821830 dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \
822 dist-xz dist-zip distcheck distclean distclean-generic \
823 distclean-tags distcleancheck distdir distuninstallcheck dvi \
824 dvi-am html html-am info info-am install install-am \
825 install-data install-data-am install-dist_aclocalDATA \
826 install-dist_docDATA install-dvi install-dvi-am install-exec \
827 install-exec-am install-html install-html-am install-info \
828 install-info-am install-man install-pdf install-pdf-am \
829 install-ps install-ps-am install-strip installcheck \
830 installcheck-am installdirs installdirs-am maintainer-clean \
831 maintainer-clean-generic maintainer-clean-local mostlyclean \
832 mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
833 uninstall-am uninstall-dist_aclocalDATA uninstall-dist_docDATA
831 dist-xz dist-zip dist-zstd distcheck distclean \
832 distclean-generic distclean-tags distcleancheck distdir \
833 distuninstallcheck dvi dvi-am html html-am info info-am \
834 install install-am install-data install-data-am \
835 install-dist_aclocalDATA install-dist_docDATA install-dvi \
836 install-dvi-am install-exec install-exec-am install-html \
837 install-html-am install-info install-info-am install-man \
838 install-pdf install-pdf-am install-ps install-ps-am \
839 install-strip installcheck installcheck-am installdirs \
840 installdirs-am maintainer-clean maintainer-clean-generic \
841 maintainer-clean-local mostlyclean mostlyclean-generic pdf \
842 pdf-am ps ps-am tags tags-am uninstall uninstall-am \
843 uninstall-dist_aclocalDATA uninstall-dist_docDATA
834844
835845 .PRECIOUS: Makefile
836846
844854 @rm -f configure Makefile.in aclocal.m4 AUTHORS ChangeLog
845855 @rm -f INSTALL config.log config.status configure maint.mk
846856 @rm -f autoconf-archive-*.*.*.tar.* GNUmakefile README
857 @rm -f *~
847858
848859 dist-hook:
849860 echo $(VERSION) > $(distdir)/.tarball-version
850861 if test -d .git; then \
851 echo > $(distdir)/cl-t '# Copyright (c) 2019 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>'; \
862 echo > $(distdir)/cl-t '# Copyright (c) 2021 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>'; \
852863 echo >>$(distdir)/cl-t '#'; \
853864 echo >>$(distdir)/cl-t '# Copying and distribution of this file, with or without modification, are'; \
854865 echo >>$(distdir)/cl-t '# permitted in any medium without royalty provided the copyright notice and'; \
00 #+TITLE: GNU Autoconf Archive NEWS -*- mode:org;fill-column:79; -*-
11 #+STARTUP: showall
22 #
3 # Copyright (c) 2019 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
3 # Copyright (c) 2021 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
44 #
55 # Copying and distribution of this file, with or without modification, are
66 # permitted in any medium without royalty provided the copyright notice
77 # and this notice are preserved. This file is offered as-is, without any
88 # warranty.
9
10 * Noteworthy changes in release 2021.02.19 (2021-02-19) [stable]
11
12 The macros AX_CHECK_PCRE2 and AX_PROG_ROBOT have been added. Many other
13 macros have received updates.
914
1015 * Noteworthy changes in release 2019.01.06 (2019-01-06) [stable]
1116
2727
2828 Here are the compressed sources:
2929
30 - <http://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-2019.01.06.tar.xz>
30 - <http://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-2021.02.19.tar.xz>
3131
3232 Here are the GPG detached signatures:
3333
34 - <http://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-2019.01.06.tar.xz.sig>
34 - <http://ftpmirror.gnu.org/autoconf-archive/autoconf-archive-2021.02.19.tar.xz.sig>
3535
3636 You can use either of the above signature files to verify that the
3737 corresponding file (without the .sig suffix) is intact. First, be sure
3838 to download both the .sig file and the corresponding tarball. Then, run
3939 a command like this:
4040
41 gpg --verify autoconf-archive-2019.01.06.tar.xz.sig
41 gpg --verify autoconf-archive-2021.02.19.tar.xz.sig
4242
4343 If that command fails because you don't have the required public key,
4444 then run this command to import it:
5050 License
5151 -------
5252
53 Copyright (c) 2019 Autoconf Archive Maintainers \<<autoconf-archive-maintainers@gnu.org>\>
53 Copyright (c) 2021 Autoconf Archive Maintainers \<<autoconf-archive-maintainers@gnu.org>\>
5454
5555 The GNU Autoconf Archive is free software: you can redistribute it and/or
5656 modify it under the terms of the GNU General Public License as published
00 #+TITLE: Autoconf Archive TODO -*- mode:org;fill-column:79; -*-
11 #
2 # Copyright (c) 2019 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
2 # Copyright (c) 2021 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
33 #
44 # Copying and distribution of this file, with or without modification, are
55 # permitted in any medium without royalty provided the copyright notice
0 # generated automatically by aclocal 1.16.1 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
0 # generated automatically by aclocal 1.16.3 -*- Autoconf -*-
1
2 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
33
44 # This file is free software; the Free Software Foundation
55 # gives unlimited permission to copy and/or distribute it,
1313 m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
1414 m4_ifndef([AC_AUTOCONF_VERSION],
1515 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
17 [m4_warning([this file was generated for autoconf 2.69.
16 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.70],,
17 [m4_warning([this file was generated for autoconf 2.70.
1818 You have another version of autoconf. It may work, but is not guaranteed to.
1919 If you have problems, you may need to regenerate the build system entirely.
2020 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
2121
22 # Copyright (C) 2002-2018 Free Software Foundation, Inc.
22 # Copyright (C) 2002-2020 Free Software Foundation, Inc.
2323 #
2424 # This file is free software; the Free Software Foundation
2525 # gives unlimited permission to copy and/or distribute it,
3434 [am__api_version='1.16'
3535 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
3636 dnl require some minimum version. Point them to the right macro.
37 m4_if([$1], [1.16.1], [],
37 m4_if([$1], [1.16.3], [],
3838 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
3939 ])
4040
5050 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
5151 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
5252 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53 [AM_AUTOMAKE_VERSION([1.16.1])dnl
53 [AM_AUTOMAKE_VERSION([1.16.3])dnl
5454 m4_ifndef([AC_AUTOCONF_VERSION],
5555 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
5656 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
5757
5858 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
5959
60 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
60 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
6161 #
6262 # This file is free software; the Free Software Foundation
6363 # gives unlimited permission to copy and/or distribute it,
109109
110110 # Do all the work for Automake. -*- Autoconf -*-
111111
112 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
112 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
113113 #
114114 # This file is free software; the Free Software Foundation
115115 # gives unlimited permission to copy and/or distribute it,
306306 done
307307 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
308308
309 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
309 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
310310 #
311311 # This file is free software; the Free Software Foundation
312312 # gives unlimited permission to copy and/or distribute it,
327327 fi
328328 AC_SUBST([install_sh])])
329329
330 # Copyright (C) 2003-2018 Free Software Foundation, Inc.
330 # Copyright (C) 2003-2020 Free Software Foundation, Inc.
331331 #
332332 # This file is free software; the Free Software Foundation
333333 # gives unlimited permission to copy and/or distribute it,
348348
349349 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
350350
351 # Copyright (C) 1997-2018 Free Software Foundation, Inc.
351 # Copyright (C) 1997-2020 Free Software Foundation, Inc.
352352 #
353353 # This file is free software; the Free Software Foundation
354354 # gives unlimited permission to copy and/or distribute it,
369369 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
370370 AC_REQUIRE_AUX_FILE([missing])dnl
371371 if test x"${MISSING+set}" != xset; then
372 case $am_aux_dir in
373 *\ * | *\ *)
374 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
375 *)
376 MISSING="\${SHELL} $am_aux_dir/missing" ;;
377 esac
372 MISSING="\${SHELL} '$am_aux_dir/missing'"
378373 fi
379374 # Use eval to expand $SHELL
380375 if eval "$MISSING --is-lightweight"; then
387382
388383 # Helper functions for option handling. -*- Autoconf -*-
389384
390 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
385 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
391386 #
392387 # This file is free software; the Free Software Foundation
393388 # gives unlimited permission to copy and/or distribute it,
418413
419414 # Check to make sure that the build environment is sane. -*- Autoconf -*-
420415
421 # Copyright (C) 1996-2018 Free Software Foundation, Inc.
416 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
422417 #
423418 # This file is free software; the Free Software Foundation
424419 # gives unlimited permission to copy and/or distribute it,
499494 rm -f conftest.file
500495 ])
501496
502 # Copyright (C) 2009-2018 Free Software Foundation, Inc.
497 # Copyright (C) 2009-2020 Free Software Foundation, Inc.
503498 #
504499 # This file is free software; the Free Software Foundation
505500 # gives unlimited permission to copy and/or distribute it,
559554 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
560555 ])
561556
562 # Copyright (C) 2001-2018 Free Software Foundation, Inc.
557 # Copyright (C) 2001-2020 Free Software Foundation, Inc.
563558 #
564559 # This file is free software; the Free Software Foundation
565560 # gives unlimited permission to copy and/or distribute it,
587582 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
588583 AC_SUBST([INSTALL_STRIP_PROGRAM])])
589584
590 # Copyright (C) 2006-2018 Free Software Foundation, Inc.
585 # Copyright (C) 2006-2020 Free Software Foundation, Inc.
591586 #
592587 # This file is free software; the Free Software Foundation
593588 # gives unlimited permission to copy and/or distribute it,
606601
607602 # Check how to create a tarball. -*- Autoconf -*-
608603
609 # Copyright (C) 2004-2018 Free Software Foundation, Inc.
604 # Copyright (C) 2004-2020 Free Software Foundation, Inc.
610605 #
611606 # This file is free software; the Free Software Foundation
612607 # gives unlimited permission to copy and/or distribute it,
00 #!/bin/sh
11 # Print a version string.
2 scriptversion=2018-03-07.03; # UTC
3
4 # Copyright (C) 2007-2018 Free Software Foundation, Inc.
2 scriptversion=2019-10-13.15; # UTC
3
4 # Copyright (C) 2007-2021 Free Software Foundation, Inc.
55 #
66 # This program is free software: you can redistribute it and/or modify
77 # it under the terms of the GNU General Public License as published by
7171
7272 me=$0
7373
74 year=`expr "$scriptversion" : '\([^-]*\)'`
7475 version="git-version-gen $scriptversion
7576
76 Copyright 2011 Free Software Foundation, Inc.
77 Copyright $year Free Software Foundation, Inc.
7778 There is NO warranty. You may redistribute this software
7879 under the terms of the GNU General Public License.
7980 For more information about these matters, see the files named COPYING."
140141 v=`cat $tarball_version_file` || v=
141142 case $v in
142143 *$nl*) v= ;; # reject multi-line output
143 [0-9]*) ;;
144 *) v= ;;
145144 esac
146145 test "x$v" = x \
147 && echo "$0: WARNING: $tarball_version_file is missing or damaged" 1>&2
146 && echo "$0: WARNING: $tarball_version_file is damaged" 1>&2
148147 fi
149148
150149 if test "x$v" != x
0 eval '(exit $?0)' && eval 'exec perl -wS "$0" "$@"'
1 & eval 'exec perl -wS "$0" $argv:q'
2 if 0;
0 #!/bin/sh
1 #! -*-perl-*-
2
33 # Convert git log output to ChangeLog format.
44
5 my $VERSION = '2018-03-07 03:47'; # UTC
5 # Copyright (C) 2008-2021 Free Software Foundation, Inc.
6 #
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
11 #
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
16 #
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <https://www.gnu.org/licenses/>.
19 #
20 # Written by Jim Meyering
21
22 # This is a prologue that allows to run a perl script as an executable
23 # on systems that are compliant to a POSIX version before POSIX:2017.
24 # On such systems, the usual invocation of an executable through execlp()
25 # or execvp() fails with ENOEXEC if it is a script that does not start
26 # with a #! line. The script interpreter mentioned in the #! line has
27 # to be /bin/sh, because on GuixSD systems that is the only program that
28 # has a fixed file name. The second line is essential for perl and is
29 # also useful for editing this file in Emacs. The next two lines below
30 # are valid code in both sh and perl. When executed by sh, they re-execute
31 # the script through the perl program found in $PATH. The '-x' option
32 # is essential as well; without it, perl would re-execute the script
33 # through /bin/sh. When executed by perl, the next two lines are a no-op.
34 eval 'exec perl -wSx "$0" "$@"'
35 if 0;
36
37 my $VERSION = '2020-04-04 15:07'; # UTC
638 # The definition above must lie within the first 8 lines in order
739 # for the Emacs time-stamp write hook (at end) to update it.
840 # If you change this file with Emacs, please let the write hook
941 # do its job. Otherwise, update this string manually.
10
11 # Copyright (C) 2008-2018 Free Software Foundation, Inc.
12
13 # This program is free software: you can redistribute it and/or modify
14 # it under the terms of the GNU General Public License as published by
15 # the Free Software Foundation, either version 3 of the License, or
16 # (at your option) any later version.
17
18 # This program is distributed in the hope that it will be useful,
19 # but WITHOUT ANY WARRANTY; without even the implied warranty of
20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 # GNU General Public License for more details.
22
23 # You should have received a copy of the GNU General Public License
24 # along with this program. If not, see <https://www.gnu.org/licenses/>.
25
26 # Written by Jim Meyering
2742
2843 use strict;
2944 use warnings;
173188
174189 if (!$in_code)
175190 {
176 $line =~ /^([0-9a-fA-F]{40})$/
191 $line =~ /^([[:xdigit:]]{40})$/
177192 or (warn "$ME: $f:$.: invalid line; expected an SHA1\n"),
178193 $fail = 1, next;
179194 $sha = lc $1;
287302 my ($sha, $rest) = split ':', $log, 2;
288303 defined $sha
289304 or die "$ME:$.: malformed log entry\n";
290 $sha =~ /^[0-9a-fA-F]{40}$/
305 $sha =~ /^[[:xdigit:]]{40}$/
291306 or die "$ME:$.: invalid SHA1: $sha\n";
292307
293308 my $skipflag = 0;
375390 @skipshas = ();
376391 next;
377392 }
378 if ($found && $_ =~ /^([0-9a-fA-F]{7,}) [^ ]/)
393 if ($found && $_ =~ /^([[:xdigit:]]{7,}) [^ ]/)
379394 {
380395 push ( @skipshas, $1 );
381396 }
491506 # mode: perl
492507 # indent-tabs-mode: nil
493508 # eval: (add-hook 'before-save-hook 'time-stamp)
509 # time-stamp-line-limit: 50
494510 # time-stamp-start: "my $VERSION = '"
495511 # time-stamp-format: "%:y-%02m-%02d %02H:%02M"
496512 # time-stamp-time-zone: "UTC0"
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2013-12-25.23; # UTC
3 scriptversion=2020-11-14.01; # UTC
44
55 # This originates from X11R5 (mit/util/scripts/install.sh), which was
66 # later released in X11R6 (xc/config/util/install.sh) with the
6868 # Desired mode of installed file.
6969 mode=0755
7070
71 # Create dirs (including intermediate dirs) using mode 755.
72 # This is like GNU 'install' as of coreutils 8.32 (2020).
73 mkdir_umask=22
74
75 backupsuffix=
7176 chgrpcmd=
7277 chmodcmd=$chmodprog
7378 chowncmd=
98103 --version display version info and exit.
99104
100105 -c (ignored)
101 -C install only if different (preserve the last data modification time)
106 -C install only if different (preserve data modification time)
102107 -d create directories instead of installing files.
103108 -g GROUP $chgrpprog installed files to GROUP.
104109 -m MODE $chmodprog installed files to MODE.
105110 -o USER $chownprog installed files to USER.
111 -p pass -p to $cpprog.
106112 -s $stripprog installed files.
113 -S SUFFIX attempt to back up existing files, with suffix SUFFIX.
107114 -t DIRECTORY install into DIRECTORY.
108115 -T report an error if DSTFILE is a directory.
109116
110117 Environment variables override the default commands:
111118 CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
112119 RMPROG STRIPPROG
120
121 By default, rm is invoked with -f; when overridden with RMPROG,
122 it's up to you to specify -f if you want it.
123
124 If -S is not specified, no backups are attempted.
125
126 Email bug reports to bug-automake@gnu.org.
127 Automake home page: https://www.gnu.org/software/automake/
113128 "
114129
115130 while test $# -ne 0; do
136151 -o) chowncmd="$chownprog $2"
137152 shift;;
138153
154 -p) cpprog="$cpprog -p";;
155
139156 -s) stripcmd=$stripprog;;
157
158 -S) backupsuffix="$2"
159 shift;;
140160
141161 -t)
142162 is_target_a_directory=always
254274 dstdir=$dst
255275 test -d "$dstdir"
256276 dstdir_status=$?
277 # Don't chown directories that already exist.
278 if test $dstdir_status = 0; then
279 chowncmd=""
280 fi
257281 else
258282
259283 # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
270294 fi
271295 dst=$dst_arg
272296
273 # If destination is a directory, append the input filename; won't work
274 # if double slashes aren't ignored.
297 # If destination is a directory, append the input filename.
275298 if test -d "$dst"; then
276299 if test "$is_target_a_directory" = never; then
277300 echo "$0: $dst_arg: Is a directory" >&2
278301 exit 1
279302 fi
280303 dstdir=$dst
281 dst=$dstdir/`basename "$src"`
304 dstbase=`basename "$src"`
305 case $dst in
306 */) dst=$dst$dstbase;;
307 *) dst=$dst/$dstbase;;
308 esac
282309 dstdir_status=0
283310 else
284311 dstdir=`dirname "$dst"`
287314 fi
288315 fi
289316
317 case $dstdir in
318 */) dstdirslash=$dstdir;;
319 *) dstdirslash=$dstdir/;;
320 esac
321
290322 obsolete_mkdir_used=false
291323
292324 if test $dstdir_status != 0; then
293325 case $posix_mkdir in
294326 '')
295 # Create intermediate dirs using mode 755 as modified by the umask.
296 # This is like FreeBSD 'install' as of 1997-10-28.
297 umask=`umask`
298 case $stripcmd.$umask in
299 # Optimize common cases.
300 *[2367][2367]) mkdir_umask=$umask;;
301 .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
302
303 *[0-7])
304 mkdir_umask=`expr $umask + 22 \
305 - $umask % 100 % 40 + $umask % 20 \
306 - $umask % 10 % 4 + $umask % 2
307 `;;
308 *) mkdir_umask=$umask,go-w;;
309 esac
310
311327 # With -d, create the new directory with the user-specified mode.
312328 # Otherwise, rely on $mkdir_umask.
313329 if test -n "$dir_arg"; then
317333 fi
318334
319335 posix_mkdir=false
320 case $umask in
321 *[123567][0-7][0-7])
322 # POSIX mkdir -p sets u+wx bits regardless of umask, which
323 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
324 ;;
325 *)
326 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
327 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
328
329 if (umask $mkdir_umask &&
330 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
331 then
332 if test -z "$dir_arg" || {
333 # Check for POSIX incompatibilities with -m.
334 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
335 # other-writable bit of parent directory when it shouldn't.
336 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
337 ls_ld_tmpdir=`ls -ld "$tmpdir"`
338 case $ls_ld_tmpdir in
339 d????-?r-*) different_mode=700;;
340 d????-?--*) different_mode=755;;
341 *) false;;
342 esac &&
343 $mkdirprog -m$different_mode -p -- "$tmpdir" && {
344 ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
345 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
346 }
347 }
348 then posix_mkdir=:
349 fi
350 rmdir "$tmpdir/d" "$tmpdir"
351 else
352 # Remove any dirs left behind by ancient mkdir implementations.
353 rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
354 fi
355 trap '' 0;;
356 esac;;
336 # The $RANDOM variable is not portable (e.g., dash). Use it
337 # here however when possible just to lower collision chance.
338 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
339
340 trap '
341 ret=$?
342 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null
343 exit $ret
344 ' 0
345
346 # Because "mkdir -p" follows existing symlinks and we likely work
347 # directly in world-writeable /tmp, make sure that the '$tmpdir'
348 # directory is successfully created first before we actually test
349 # 'mkdir -p'.
350 if (umask $mkdir_umask &&
351 $mkdirprog $mkdir_mode "$tmpdir" &&
352 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
353 then
354 if test -z "$dir_arg" || {
355 # Check for POSIX incompatibilities with -m.
356 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
357 # other-writable bit of parent directory when it shouldn't.
358 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
359 test_tmpdir="$tmpdir/a"
360 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
361 case $ls_ld_tmpdir in
362 d????-?r-*) different_mode=700;;
363 d????-?--*) different_mode=755;;
364 *) false;;
365 esac &&
366 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
367 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
368 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
369 }
370 }
371 then posix_mkdir=:
372 fi
373 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
374 else
375 # Remove any dirs left behind by ancient mkdir implementations.
376 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
377 fi
378 trap '' 0;;
357379 esac
358380
359381 if
364386 then :
365387 else
366388
367 # The umask is ridiculous, or mkdir does not conform to POSIX,
389 # mkdir does not conform to POSIX,
368390 # or it failed possibly due to a race condition. Create the
369391 # directory the slow way, step by step, checking for races as we go.
370392
393415 prefixes=
394416 else
395417 if $posix_mkdir; then
396 (umask=$mkdir_umask &&
418 (umask $mkdir_umask &&
397419 $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
398420 # Don't fail if two instances are running concurrently.
399421 test -d "$prefix" || exit 1
426448 else
427449
428450 # Make a couple of temp file names in the proper directory.
429 dsttmp=$dstdir/_inst.$$_
430 rmtmp=$dstdir/_rm.$$_
451 dsttmp=${dstdirslash}_inst.$$_
452 rmtmp=${dstdirslash}_rm.$$_
431453
432454 # Trap to clean up those temp files at exit.
433455 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
434456
435457 # Copy the file name to the temp name.
436 (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
458 (umask $cp_umask &&
459 { test -z "$stripcmd" || {
460 # Create $dsttmp read-write so that cp doesn't create it read-only,
461 # which would cause strip to fail.
462 if test -z "$doit"; then
463 : >"$dsttmp" # No need to fork-exec 'touch'.
464 else
465 $doit touch "$dsttmp"
466 fi
467 }
468 } &&
469 $doit_exec $cpprog "$src" "$dsttmp") &&
437470
438471 # and set any options; do chmod last to preserve setuid bits.
439472 #
459492 then
460493 rm -f "$dsttmp"
461494 else
495 # If $backupsuffix is set, and the file being installed
496 # already exists, attempt a backup. Don't worry if it fails,
497 # e.g., if mv doesn't support -f.
498 if test -n "$backupsuffix" && test -f "$dst"; then
499 $doit $mvcmd -f "$dst" "$dst$backupsuffix" 2>/dev/null
500 fi
501
462502 # Rename the file to the real destination.
463503 $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
464504
473513 # file should still install successfully.
474514 {
475515 test ! -f "$dst" ||
476 $doit $rmcmd -f "$dst" 2>/dev/null ||
516 $doit $rmcmd "$dst" 2>/dev/null ||
477517 { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
478 { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
518 { $doit $rmcmd "$rmtmp" 2>/dev/null; :; }
479519 } ||
480520 { echo "$0: cannot unlink or rename $dst" >&2
481521 (exit 1); exit 1
492532 done
493533
494534 # Local variables:
495 # eval: (add-hook 'write-file-hooks 'time-stamp)
535 # eval: (add-hook 'before-save-hook 'time-stamp)
496536 # time-stamp-start: "scriptversion="
497537 # time-stamp-format: "%:y-%02m-%02d.%02H"
498 # time-stamp-time-zone: "UTC"
538 # time-stamp-time-zone: "UTC0"
499539 # time-stamp-end: "; # UTC"
500540 # End:
00 #!/bin/sh
11 # Get modification time of a file or directory and pretty-print it.
22
3 scriptversion=2010-08-21.06; # UTC
4
5 # Copyright (C) 1995-2014 Free Software Foundation, Inc.
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1995-2020 Free Software Foundation, Inc.
66 # written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
77 #
88 # This program is free software; you can redistribute it and/or modify
1616 # GNU General Public License for more details.
1717 #
1818 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 # along with this program. If not, see <https://www.gnu.org/licenses/>.
2020
2121 # As a special exception to the GNU General Public License, if you
2222 # distribute this file as part of a program that contains a
7272 export LC_ALL
7373 LC_TIME=C
7474 export LC_TIME
75
76 # Use UTC to get reproducible result.
77 TZ=UTC0
78 export TZ
7579
7680 # GNU ls changes its time format in response to the TIME_STYLE
7781 # variable. Since we cannot assume 'unset' works, revert this
215219 # Local Variables:
216220 # mode: shell-script
217221 # sh-indentation: 2
218 # eval: (add-hook 'write-file-hooks 'time-stamp)
222 # eval: (add-hook 'before-save-hook 'time-stamp)
219223 # time-stamp-start: "scriptversion="
220224 # time-stamp-format: "%:y-%02m-%02d.%02H"
221 # time-stamp-time-zone: "UTC"
225 # time-stamp-time-zone: "UTC0"
222226 # time-stamp-end: "; # UTC"
223227 # End:
00 #! /bin/sh
11 # Common wrapper for a few potentially missing GNU programs.
22
3 scriptversion=2013-10-28.13; # UTC
4
5 # Copyright (C) 1996-2014 Free Software Foundation, Inc.
3 scriptversion=2018-03-07.03; # UTC
4
5 # Copyright (C) 1996-2020 Free Software Foundation, Inc.
66 # Originally written by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
77
88 # This program is free software; you can redistribute it and/or modify
1616 # GNU General Public License for more details.
1717
1818 # You should have received a copy of the GNU General Public License
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 # along with this program. If not, see <https://www.gnu.org/licenses/>.
2020
2121 # As a special exception to the GNU General Public License, if you
2222 # distribute this file as part of a program that contains a
100100 exit $st
101101 fi
102102
103 perl_URL=http://www.perl.org/
104 flex_URL=http://flex.sourceforge.net/
105 gnu_software_URL=http://www.gnu.org/software
103 perl_URL=https://www.perl.org/
104 flex_URL=https://github.com/westes/flex
105 gnu_software_URL=https://www.gnu.org/software
106106
107107 program_details ()
108108 {
206206 exit $st
207207
208208 # Local variables:
209 # eval: (add-hook 'write-file-hooks 'time-stamp)
209 # eval: (add-hook 'before-save-hook 'time-stamp)
210210 # time-stamp-start: "scriptversion="
211211 # time-stamp-format: "%:y-%02m-%02d.%02H"
212 # time-stamp-time-zone: "UTC"
212 # time-stamp-time-zone: "UTC0"
213213 # time-stamp-end: "; # UTC"
214214 # End:
00 % texinfo.tex -- TeX macros to handle Texinfo files.
1 %
1 %
22 % Load plain if necessary, i.e., if running under initex.
33 \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
44 %
5 \def\texinfoversion{2013-02-01.11}
6 %
7 % Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
8 % 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
9 % 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
5 \def\texinfoversion{2020-10-24.12}
6 %
7 % Copyright 1985, 1986, 1988, 1990-2020 Free Software Foundation, Inc.
108 %
119 % This texinfo.tex file is free software: you can redistribute it and/or
1210 % modify it under the terms of the GNU General Public License as
1917 % General Public License for more details.
2018 %
2119 % You should have received a copy of the GNU General Public License
22 % along with this program. If not, see <http://www.gnu.org/licenses/>.
20 % along with this program. If not, see <https://www.gnu.org/licenses/>.
2321 %
2422 % As a special exception, when this file is read by TeX when processing
2523 % a Texinfo source document, you may use the result without
2826 %
2927 % Please try the latest version of texinfo.tex before submitting bug
3028 % reports; you can get the latest version from:
31 % http://ftp.gnu.org/gnu/texinfo/ (the Texinfo release area), or
32 % http://ftpmirror.gnu.org/texinfo/ (same, via a mirror), or
33 % http://www.gnu.org/software/texinfo/ (the Texinfo home page)
29 % https://ftp.gnu.org/gnu/texinfo/ (the Texinfo release area), or
30 % https://ftpmirror.gnu.org/texinfo/ (same, via a mirror), or
31 % https://www.gnu.org/software/texinfo/ (the Texinfo home page)
3432 % The texinfo.tex in any given distribution could well be out
3533 % of date, so if that's what you're using, please check.
3634 %
37 % Send bug reports to bug-texinfo@gnu.org. Please include including a
35 % Send bug reports to bug-texinfo@gnu.org. Please include a
3836 % complete document in each bug report with which we can reproduce the
3937 % problem. Patches are, of course, greatly appreciated.
4038 %
5452 % extent. You can get the existing language-specific files from the
5553 % full Texinfo distribution.
5654 %
57 % The GNU Texinfo home page is http://www.gnu.org/software/texinfo.
55 % The GNU Texinfo home page is https://www.gnu.org/software/texinfo.
5856
5957
6058 \message{Loading texinfo [version \texinfoversion]:}
6462 % they might have appeared in the input file name.
6563 \everyjob{\message{[Texinfo version \texinfoversion]}%
6664 \catcode`+=\active \catcode`\_=\active}
65
66 % LaTeX's \typeout. This ensures that the messages it is used for
67 % are identical in format to the corresponding ones from latex/pdflatex.
68 \def\typeout{\immediate\write17}%
6769
6870 \chardef\other=12
6971
9597 \let\ptexraggedright=\raggedright
9698 \let\ptexrbrace=\}
9799 \let\ptexslash=\/
100 \let\ptexsp=\sp
98101 \let\ptexstar=\*
102 \let\ptexsup=\sup
99103 \let\ptext=\t
100104 \let\ptextop=\top
101105 {\catcode`\'=\active \global\let\ptexquoteright'}% active in plain's math mode
154158 \ifx\putwordDefopt\undefined \gdef\putwordDefopt{User Option}\fi
155159 \ifx\putwordDeffunc\undefined \gdef\putwordDeffunc{Function}\fi
156160
157 % Since the category of space is not known, we have to be careful.
158 \chardef\spacecat = 10
159 \def\spaceisspace{\catcode`\ =\spacecat}
160
161 % sometimes characters are active, so we need control sequences.
162 \chardef\ampChar = `\&
163 \chardef\colonChar = `\:
164 \chardef\commaChar = `\,
161 % Give the space character the catcode for a space.
162 \def\spaceisspace{\catcode`\ =10\relax}
163
164 % Likewise for ^^M, the end of line character.
165 \def\endlineisspace{\catcode13=10\relax}
166
165167 \chardef\dashChar = `\-
166 \chardef\dotChar = `\.
167 \chardef\exclamChar= `\!
168 \chardef\hashChar = `\#
169 \chardef\lquoteChar= `\`
170 \chardef\questChar = `\?
171 \chardef\rquoteChar= `\'
172 \chardef\semiChar = `\;
173168 \chardef\slashChar = `\/
174169 \chardef\underChar = `\_
175170
191186 stand-alone strong-est time-stamp time-stamps which-ever white-space
192187 wide-spread wrap-around
193188 }
194
195 % Margin to add to right of even pages, to left of odd pages.
196 \newdimen\bindingoffset
197 \newdimen\normaloffset
198 \newdimen\pagewidth \newdimen\pageheight
199
200 % For a final copy, take out the rectangles
201 % that mark overfull boxes (in case you have decided
202 % that the text looks ok even though it passes the margin).
203 %
204 \def\finalout{\overfullrule=0pt }
205189
206190 % Sometimes it is convenient to have everything in the transcript file
207191 % and nothing on the terminal. We don't just call \tracingall here,
233217 % @errormsg{MSG}. Do the index-like expansions on MSG, but if things
234218 % aren't perfect, it's not the end of the world, being an error message,
235219 % after all.
236 %
220 %
237221 \def\errormsg{\begingroup \indexnofonts \doerrormsg}
238222 \def\doerrormsg#1{\errmessage{#1}}
239223
247231 \def\bigbreak{\ifnum\lastpenalty<10000\par\ifdim\lastskip<\bigskipamount
248232 \removelastskip\penalty-200\bigskip\fi\fi}
249233
250 % Do @cropmarks to get crop marks.
251 %
252 \newif\ifcropmarks
253 \let\cropmarks = \cropmarkstrue
254 %
255 % Dimensions to add cropmarks at corners.
256 % Added by P. A. MacKay, 12 Nov. 1986
257 %
234 % Output routine
235 %
236
237 % For a final copy, take out the rectangles
238 % that mark overfull boxes (in case you have decided
239 % that the text looks ok even though it passes the margin).
240 %
241 \def\finalout{\overfullrule=0pt }
242
258243 \newdimen\outerhsize \newdimen\outervsize % set by the paper size routines
259 \newdimen\cornerlong \cornerlong=1pc
260 \newdimen\cornerthick \cornerthick=.3pt
261244 \newdimen\topandbottommargin \topandbottommargin=.75in
262245
263246 % Output a mark which sets \thischapter, \thissection and \thiscolor.
269252 %
270253 % Another complication is to let the user choose whether \thischapter
271254 % (\thissection) refers to the chapter (section) in effect at the top
272 % of a page, or that at the bottom of a page. The solution is
273 % described on page 260 of The TeXbook. It involves outputting two
274 % marks for the sectioning macros, one before the section break, and
275 % one after. I won't pretend I can describe this better than DEK...
255 % of a page, or that at the bottom of a page.
256
257 % \domark is called twice inside \chapmacro, to add one
258 % mark before the section break, and one after.
259 % In the second call \prevchapterdefs is the same as \currentchapterdefs,
260 % and \prevsectiondefs is the same as \currentsectiondefs.
261 % Then if the page is not broken at the mark, some of the previous
262 % section appears on the page, and we can get the name of this section
263 % from \firstmark for @everyheadingmarks top.
264 % @everyheadingmarks bottom uses \botmark.
265 %
266 % See page 260 of The TeXbook.
276267 \def\domark{%
277 \toks0=\expandafter{\lastchapterdefs}%
278 \toks2=\expandafter{\lastsectiondefs}%
268 \toks0=\expandafter{\currentchapterdefs}%
269 \toks2=\expandafter{\currentsectiondefs}%
279270 \toks4=\expandafter{\prevchapterdefs}%
280271 \toks6=\expandafter{\prevsectiondefs}%
281 \toks8=\expandafter{\lastcolordefs}%
272 \toks8=\expandafter{\currentcolordefs}%
282273 \mark{%
283 \the\toks0 \the\toks2
284 \noexpand\or \the\toks4 \the\toks6
285 \noexpand\else \the\toks8
274 \the\toks0 \the\toks2 % 0: marks for @everyheadingmarks top
275 \noexpand\or \the\toks4 \the\toks6 % 1: for @everyheadingmarks bottom
276 \noexpand\else \the\toks8 % 2: color marks
286277 }%
287278 }
279
280 % \gettopheadingmarks, \getbottomheadingmarks,
281 % \getcolormarks - extract needed part of mark.
282 %
288283 % \topmark doesn't work for the very first chapter (after the title
289284 % page or the contents), so we use \firstmark there -- this gets us
290285 % the mark with the chapter defs, unless the user sneaks in, e.g.,
291286 % @setcolor (or @url, or @link, etc.) between @contents and the very
292287 % first @chapter.
293288 \def\gettopheadingmarks{%
294 \ifcase0\topmark\fi
289 \ifcase0\the\savedtopmark\fi
295290 \ifx\thischapter\empty \ifcase0\firstmark\fi \fi
296291 }
297292 \def\getbottomheadingmarks{\ifcase1\botmark\fi}
298 \def\getcolormarks{\ifcase2\topmark\fi}
293 \def\getcolormarks{\ifcase2\the\savedtopmark\fi}
299294
300295 % Avoid "undefined control sequence" errors.
301 \def\lastchapterdefs{}
302 \def\lastsectiondefs{}
296 \def\currentchapterdefs{}
297 \def\currentsectiondefs{}
298 \def\currentsection{}
303299 \def\prevchapterdefs{}
304300 \def\prevsectiondefs{}
305 \def\lastcolordefs{}
301 \def\currentcolordefs{}
302
303 % Margin to add to right of even pages, to left of odd pages.
304 \newdimen\bindingoffset
305 \newdimen\normaloffset
306 \newdimen\txipagewidth \newdimen\txipageheight
306307
307308 % Main output routine.
309 %
308310 \chardef\PAGE = 255
309 \output = {\onepageout{\pagecontents\PAGE}}
311 \newtoks\defaultoutput
312 \defaultoutput = {\savetopmark\onepageout{\pagecontents\PAGE}}
313 \output=\expandafter{\the\defaultoutput}
310314
311315 \newbox\headlinebox
312316 \newbox\footlinebox
313317
314 % \onepageout takes a vbox as an argument. Note that \pagecontents
315 % does insertions, but you have to call it yourself.
318 % When outputting the double column layout for indices, an output routine
319 % is run several times, which hides the original value of \topmark. This
320 % can lead to a page heading being output and duplicating the chapter heading
321 % of the index. Hence, save the contents of \topmark at the beginning of
322 % the output routine. The saved contents are valid until we actually
323 % \shipout a page.
324 %
325 % (We used to run a short output routine to actually set \topmark and
326 % \firstmark to the right values, but if this was called with an empty page
327 % containing whatsits for writing index entries, the whatsits would be thrown
328 % away and the index auxiliary file would remain empty.)
329 %
330 \newtoks\savedtopmark
331 \newif\iftopmarksaved
332 \topmarksavedtrue
333 \def\savetopmark{%
334 \iftopmarksaved\else
335 \global\savedtopmark=\expandafter{\topmark}%
336 \global\topmarksavedtrue
337 \fi
338 }
339
340 % \onepageout takes a vbox as an argument.
341 % \shipout a vbox for a single page, adding an optional header, footer
342 % and footnote. This also causes index entries for this page to be written
343 % to the auxiliary files.
344 %
316345 \def\onepageout#1{%
317 \ifcropmarks \hoffset=0pt \else \hoffset=\normaloffset \fi
346 \hoffset=\normaloffset
318347 %
319348 \ifodd\pageno \advance\hoffset by \bindingoffset
320349 \else \advance\hoffset by -\bindingoffset\fi
321350 %
351 \checkchapterpage
352 %
353 % Retrieve the information for the headings from the marks in the page,
354 % and call Plain TeX's \makeheadline and \makefootline, which use the
355 % values in \headline and \footline.
356 %
357 % Common context changes for both heading and footing.
322358 % Do this outside of the \shipout so @code etc. will be expanded in
323359 % the headline as they should be, not taken literally (outputting ''code).
360 \def\commonheadfootline{\let\hsize=\txipagewidth \texinfochars}
361 %
324362 \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi
325 \setbox\headlinebox = \vbox{\let\hsize=\pagewidth \makeheadline}%
363 \global\setbox\headlinebox = \vbox{\commonheadfootline \makeheadline}%
326364 \ifodd\pageno \getoddfootingmarks \else \getevenfootingmarks \fi
327 \setbox\footlinebox = \vbox{\let\hsize=\pagewidth \makefootline}%
365 \global\setbox\footlinebox = \vbox{\commonheadfootline \makefootline}%
328366 %
329367 {%
368 % Set context for writing to auxiliary files like index files.
330369 % Have to do this stuff outside the \shipout because we want it to
331370 % take effect in \write's, yet the group defined by the \vbox ends
332371 % before the \shipout runs.
333372 %
334 \indexdummies % don't expand commands in the output.
335 \normalturnoffactive % \ in index entries must not stay \, e.g., if
336 % the page break happens to be in the middle of an example.
337 % We don't want .vr (or whatever) entries like this:
338 % \entry{{\tt \indexbackslash }acronym}{32}{\code {\acronym}}
339 % "\acronym" won't work when it's read back in;
340 % it needs to be
341 % {\code {{\tt \backslashcurfont }acronym}
373 \atdummies % don't expand commands in the output.
374 \turnoffactive
342375 \shipout\vbox{%
343376 % Do this early so pdf references go to the beginning of the page.
344377 \ifpdfmakepagedest \pdfdest name{\the\pageno} xyz\fi
345 %
346 \ifcropmarks \vbox to \outervsize\bgroup
347 \hsize = \outerhsize
348 \vskip-\topandbottommargin
349 \vtop to0pt{%
350 \line{\ewtop\hfil\ewtop}%
351 \nointerlineskip
352 \line{%
353 \vbox{\moveleft\cornerthick\nstop}%
354 \hfill
355 \vbox{\moveright\cornerthick\nstop}%
356 }%
357 \vss}%
358 \vskip\topandbottommargin
359 \line\bgroup
360 \hfil % center the page within the outer (page) hsize.
361 \ifodd\pageno\hskip\bindingoffset\fi
362 \vbox\bgroup
363 \fi
364378 %
365379 \unvbox\headlinebox
366380 \pagebody{#1}%
372386 \unvbox\footlinebox
373387 \fi
374388 %
375 \ifcropmarks
376 \egroup % end of \vbox\bgroup
377 \hfil\egroup % end of (centering) \line\bgroup
378 \vskip\topandbottommargin plus1fill minus1fill
379 \boxmaxdepth = \cornerthick
380 \vbox to0pt{\vss
381 \line{%
382 \vbox{\moveleft\cornerthick\nsbot}%
383 \hfill
384 \vbox{\moveright\cornerthick\nsbot}%
385 }%
386 \nointerlineskip
387 \line{\ewbot\hfil\ewbot}%
388 }%
389 \egroup % \vbox from first cropmarks clause
390 \fi
391 }% end of \shipout\vbox
392 }% end of group with \indexdummies
389 }%
390 }%
391 \global\topmarksavedfalse
393392 \advancepageno
394393 \ifnum\outputpenalty>-20000 \else\dosupereject\fi
395394 }
396395
397396 \newinsert\margin \dimen\margin=\maxdimen
398397
399 \def\pagebody#1{\vbox to\pageheight{\boxmaxdepth=\maxdepth #1}}
398 % Main part of page, including any footnotes
399 \def\pagebody#1{\vbox to\txipageheight{\boxmaxdepth=\maxdepth #1}}
400400 {\catcode`\@ =11
401401 \gdef\pagecontents#1{\ifvoid\topins\else\unvbox\topins\fi
402402 % marginal hacks, juha@viisa.uucp (Juha Takala)
407407 \ifr@ggedbottom \kern-\dimen@ \vfil \fi}
408408 }
409409
410 % Here are the rules for the cropmarks. Note that they are
411 % offset so that the space between them is truly \outerhsize or \outervsize
412 % (P. A. MacKay, 12 November, 1986)
413 %
414 \def\ewtop{\vrule height\cornerthick depth0pt width\cornerlong}
415 \def\nstop{\vbox
416 {\hrule height\cornerthick depth\cornerlong width\cornerthick}}
417 \def\ewbot{\vrule height0pt depth\cornerthick width\cornerlong}
418 \def\nsbot{\vbox
419 {\hrule height\cornerlong depth\cornerthick width\cornerthick}}
410 % Check if we are on the first page of a chapter. Used for printing headings.
411 \newif\ifchapterpage
412 \def\checkchapterpage{%
413 % Get the chapter that was current at the end of the last page
414 \ifcase1\the\savedtopmark\fi
415 \let\prevchaptername\thischaptername
416 %
417 \ifodd\pageno \getoddheadingmarks \else \getevenheadingmarks \fi
418 \let\curchaptername\thischaptername
419 %
420 \ifx\curchaptername\prevchaptername
421 \chapterpagefalse
422 \else
423 \chapterpagetrue
424 \fi
425 }
426
427 % Argument parsing
420428
421429 % Parse an argument, then pass it to #1. The argument is the rest of
422430 % the input line (except we remove a trailing comment). #1 should be a
423431 % macro which expects an ordinary undelimited TeX argument.
432 % For example, \def\foo{\parsearg\fooxxx}.
424433 %
425434 \def\parsearg{\parseargusing{}}
426435 \def\parseargusing#1#2{%
439448 }%
440449 }
441450
442 % First remove any @comment, then any @c comment.
451 % First remove any @comment, then any @c comment. Pass the result on to
452 % \argcheckspaces.
443453 \def\argremovecomment#1\comment#2\ArgTerm{\argremovec #1\c\ArgTerm}
444454 \def\argremovec#1\c#2\ArgTerm{\argcheckspaces#1\^^M\ArgTerm}
445455
476486 %
477487 \def\finishparsearg#1 \ArgTerm{\expandafter\argtorun\expandafter{#1}}
478488
489
490 % \parseargdef - define a command taking an argument on the line
491 %
479492 % \parseargdef\foo{...}
480493 % is roughly equivalent to
481494 % \def\foo{\parsearg\Xfoo}
482495 % \def\Xfoo#1{...}
483 %
484 % Actually, I use \csname\string\foo\endcsname, ie. \\foo, as it is my
485 % favourite TeX trick. --kasal, 16nov03
486
487496 \def\parseargdef#1{%
488497 \expandafter \doparseargdef \csname\string#1\endcsname #1%
489498 }
673682 \endgraf % Not \par, as it may have been set to \lisppar.
674683 \global\dimen1 = \prevdepth
675684 \egroup % End the \vtop.
685 \addgroupbox
686 \prevdepth = \dimen1
687 \checkinserts
688 }
689
690 \def\addgroupbox{
676691 % \dimen0 is the vertical size of the group's box.
677692 \dimen0 = \ht\groupbox \advance\dimen0 by \dp\groupbox
678693 % \dimen2 is how much space is left on the page (more or less).
679 \dimen2 = \pageheight \advance\dimen2 by -\pagetotal
694 \dimen2 = \txipageheight \advance\dimen2 by -\pagetotal
680695 % if the group doesn't fit on the current page, and it's a big big
681696 % group, force a page break.
682697 \ifdim \dimen0 > \dimen2
683 \ifdim \pagetotal < \vfilllimit\pageheight
698 \ifdim \pagetotal < \vfilllimit\txipageheight
684699 \page
685700 \fi
686701 \fi
687702 \box\groupbox
688 \prevdepth = \dimen1
689 \checkinserts
690 }
703 }
704
691705 %
692706 % TeX puts in an \escapechar (i.e., `@') at the beginning of the help
693707 % message, so this ends up printing `@group can only ...'.
811825 \temp
812826 }
813827
814 % @| inserts a changebar to the left of the current line. It should
815 % surround any changed text. This approach does *not* work if the
816 % change spans more than two lines of output. To handle that, we would
817 % have adopt a much more difficult approach (putting marks into the main
818 % vertical list for the beginning and end of each change). This command
819 % is not documented, not supported, and doesn't work.
820 %
821 \def\|{%
822 % \vadjust can only be used in horizontal mode.
823 \leavevmode
824 %
825 % Append this vertical mode material after the current line in the output.
826 \vadjust{%
827 % We want to insert a rule with the height and depth of the current
828 % leading; that is exactly what \strutbox is supposed to record.
829 \vskip-\baselineskip
830 %
831 % \vadjust-items are inserted at the left edge of the type. So
832 % the \llap here moves out into the left-hand margin.
833 \llap{%
834 %
835 % For a thicker or thinner bar, change the `1pt'.
836 \vrule height\baselineskip width1pt
837 %
838 % This is the space between the bar and the text.
839 \hskip 12pt
840 }%
841 }%
842 }
843
844828 % @include FILE -- \input text of FILE.
845829 %
846830 \def\include{\parseargusing\filenamecatcodes\includezzz}
929913 % @comment ...line which is ignored...
930914 % @c is the same as @comment
931915 % @ignore ... @end ignore is another way to write a comment
932 %
933 \def\comment{\begingroup \catcode`\^^M=\other%
916
917
918 \def\c{\begingroup \catcode`\^^M=\active%
934919 \catcode`\@=\other \catcode`\{=\other \catcode`\}=\other%
935 \commentxxx}
936 {\catcode`\^^M=\other \gdef\commentxxx#1^^M{\endgroup}}
937 %
938 \let\c=\comment
920 \cxxx}
921 {\catcode`\^^M=\active \gdef\cxxx#1^^M{\endgroup}}
922 %
923 \let\comment\c
939924
940925 % @paragraphindent NCHARS
941926 % We'll use ems for NCHARS, close enough.
1006991 % paragraph.
1007992 %
1008993 \gdef\dosuppressfirstparagraphindent{%
1009 \gdef\indent{%
1010 \restorefirstparagraphindent
1011 \indent
1012 }%
1013 \gdef\noindent{%
1014 \restorefirstparagraphindent
1015 \noindent
1016 }%
1017 \global\everypar = {%
1018 \kern -\parindent
1019 \restorefirstparagraphindent
1020 }%
1021 }
1022
994 \gdef\indent {\restorefirstparagraphindent \indent}%
995 \gdef\noindent{\restorefirstparagraphindent \noindent}%
996 \global\everypar = {\kern -\parindent \restorefirstparagraphindent}%
997 }
998 %
1023999 \gdef\restorefirstparagraphindent{%
1024 \global \let \indent = \ptexindent
1025 \global \let \noindent = \ptexnoindent
1026 \global \everypar = {}%
1000 \global\let\indent = \ptexindent
1001 \global\let\noindent = \ptexnoindent
1002 \global\everypar = {}%
10271003 }
10281004
10291005
10301006 % @refill is a no-op.
10311007 \let\refill=\relax
10321008
1033 % If working on a large document in chapters, it is convenient to
1034 % be able to disable indexing, cross-referencing, and contents, for test runs.
1035 % This is done with @novalidate (before @setfilename).
1036 %
1037 \newif\iflinks \linkstrue % by default we want the aux files.
1038 \let\novalidate = \linksfalse
1039
1040 % @setfilename is done at the beginning of every texinfo file.
1041 % So open here the files we need to have open while reading the input.
1042 % This makes it possible to make a .fmt file for texinfo.
1043 \def\setfilename{%
1044 \fixbackslash % Turn off hack to swallow `\input texinfo'.
1045 \iflinks
1046 \tryauxfile
1047 % Open the new aux file. TeX will close it automatically at exit.
1048 \immediate\openout\auxfile=\jobname.aux
1049 \fi % \openindices needs to do some work in any case.
1050 \openindices
1051 \let\setfilename=\comment % Ignore extra @setfilename cmds.
1052 %
1053 % If texinfo.cnf is present on the system, read it.
1054 % Useful for site-wide @afourpaper, etc.
1055 \openin 1 texinfo.cnf
1056 \ifeof 1 \else \input texinfo.cnf \fi
1057 \closein 1
1058 %
1059 \comment % Ignore the actual filename.
1060 }
1061
1062 % Called from \setfilename.
1063 %
1064 \def\openindices{%
1065 \newindex{cp}%
1066 \newcodeindex{fn}%
1067 \newcodeindex{vr}%
1068 \newcodeindex{tp}%
1069 \newcodeindex{ky}%
1070 \newcodeindex{pg}%
1071 }
1009 % @setfilename INFO-FILENAME - ignored
1010 \let\setfilename=\comment
10721011
10731012 % @bye.
1074 \outer\def\bye{\pagealignmacro\tracingstats=1\ptexend}
1013 \outer\def\bye{\chappager\pagelabels\tracingstats=1\ptexend}
10751014
10761015
10771016 \message{pdf,}
10861025 \newtoks\toksC
10871026 \newtoks\toksD
10881027 \newbox\boxA
1028 \newbox\boxB
10891029 \newcount\countA
10901030 \newif\ifpdf
10911031 \newif\ifpdfmakepagedest
1032
1033 %
1034 % For LuaTeX
1035 %
1036
1037 \newif\iftxiuseunicodedestname
1038 \txiuseunicodedestnamefalse % For pdfTeX etc.
1039
1040 \ifx\luatexversion\thisisundefined
1041 \else
1042 % Use Unicode destination names
1043 \txiuseunicodedestnametrue
1044 % Escape PDF strings with converting UTF-16 from UTF-8
1045 \begingroup
1046 \catcode`\%=12
1047 \directlua{
1048 function UTF16oct(str)
1049 tex.sprint(string.char(0x5c) .. '376' .. string.char(0x5c) .. '377')
1050 for c in string.utfvalues(str) do
1051 if c < 0x10000 then
1052 tex.sprint(
1053 string.format(string.char(0x5c) .. string.char(0x25) .. '03o' ..
1054 string.char(0x5c) .. string.char(0x25) .. '03o',
1055 math.floor(c / 256), math.floor(c % 256)))
1056 else
1057 c = c - 0x10000
1058 local c_hi = c / 1024 + 0xd800
1059 local c_lo = c % 1024 + 0xdc00
1060 tex.sprint(
1061 string.format(string.char(0x5c) .. string.char(0x25) .. '03o' ..
1062 string.char(0x5c) .. string.char(0x25) .. '03o' ..
1063 string.char(0x5c) .. string.char(0x25) .. '03o' ..
1064 string.char(0x5c) .. string.char(0x25) .. '03o',
1065 math.floor(c_hi / 256), math.floor(c_hi % 256),
1066 math.floor(c_lo / 256), math.floor(c_lo % 256)))
1067 end
1068 end
1069 end
1070 }
1071 \endgroup
1072 \def\pdfescapestrutfsixteen#1{\directlua{UTF16oct('\luaescapestring{#1}')}}
1073 % Escape PDF strings without converting
1074 \begingroup
1075 \directlua{
1076 function PDFescstr(str)
1077 for c in string.bytes(str) do
1078 if c <= 0x20 or c >= 0x80 or c == 0x28 or c == 0x29 or c == 0x5c then
1079 tex.sprint(-2,
1080 string.format(string.char(0x5c) .. string.char(0x25) .. '03o',
1081 c))
1082 else
1083 tex.sprint(-2, string.char(c))
1084 end
1085 end
1086 end
1087 }
1088 % The -2 in the arguments here gives all the input to TeX catcode 12
1089 % (other) or 10 (space), preventing undefined control sequence errors. See
1090 % https://lists.gnu.org/archive/html/bug-texinfo/2019-08/msg00031.html
1091 %
1092 \endgroup
1093 \def\pdfescapestring#1{\directlua{PDFescstr('\luaescapestring{#1}')}}
1094 \ifnum\luatexversion>84
1095 % For LuaTeX >= 0.85
1096 \def\pdfdest{\pdfextension dest}
1097 \let\pdfoutput\outputmode
1098 \def\pdfliteral{\pdfextension literal}
1099 \def\pdfcatalog{\pdfextension catalog}
1100 \def\pdftexversion{\numexpr\pdffeedback version\relax}
1101 \let\pdfximage\saveimageresource
1102 \let\pdfrefximage\useimageresource
1103 \let\pdflastximage\lastsavedimageresourceindex
1104 \def\pdfendlink{\pdfextension endlink\relax}
1105 \def\pdfoutline{\pdfextension outline}
1106 \def\pdfstartlink{\pdfextension startlink}
1107 \def\pdffontattr{\pdfextension fontattr}
1108 \def\pdfobj{\pdfextension obj}
1109 \def\pdflastobj{\numexpr\pdffeedback lastobj\relax}
1110 \let\pdfpagewidth\pagewidth
1111 \let\pdfpageheight\pageheight
1112 \edef\pdfhorigin{\pdfvariable horigin}
1113 \edef\pdfvorigin{\pdfvariable vorigin}
1114 \fi
1115 \fi
10921116
10931117 % when pdftex is run in dvi mode, \pdfoutput is defined (so \pdfoutput=1
10941118 % can be set). So we test for \relax and 0 as well as being undefined.
11031127 \fi
11041128 \fi
11051129
1130 \newif\ifpdforxetex
1131 \pdforxetexfalse
1132 \ifpdf
1133 \pdforxetextrue
1134 \fi
1135 \ifx\XeTeXrevision\thisisundefined\else
1136 \pdforxetextrue
1137 \fi
1138
1139
1140 % Output page labels information.
1141 % See PDF reference v.1.7 p.594, section 8.3.1.
1142 \ifpdf
1143 \def\pagelabels{%
1144 \def\title{0 << /P (T-) /S /D >>}%
1145 \edef\roman{\the\romancount << /S /r >>}%
1146 \edef\arabic{\the\arabiccount << /S /D >>}%
1147 %
1148 % Page label ranges must be increasing. Remove any duplicates.
1149 % (There is a slight chance of this being wrong if e.g. there is
1150 % a @contents but no @titlepage, etc.)
1151 %
1152 \ifnum\romancount=0 \def\roman{}\fi
1153 \ifnum\arabiccount=0 \def\title{}%
1154 \else
1155 \ifnum\romancount=\arabiccount \def\roman{}\fi
1156 \fi
1157 %
1158 \ifnum\romancount<\arabiccount
1159 \pdfcatalog{/PageLabels << /Nums [\title \roman \arabic ] >> }\relax
1160 \else
1161 \pdfcatalog{/PageLabels << /Nums [\title \arabic \roman ] >> }\relax
1162 \fi
1163 }
1164 \else
1165 \let\pagelabels\relax
1166 \fi
1167
1168 \newcount\pagecount \pagecount=0
1169 \newcount\romancount \romancount=0
1170 \newcount\arabiccount \arabiccount=0
1171 \ifpdf
1172 \let\ptxadvancepageno\advancepageno
1173 \def\advancepageno{%
1174 \ptxadvancepageno\global\advance\pagecount by 1
1175 }
1176 \fi
1177
1178
11061179 % PDF uses PostScript string constants for the names of xref targets,
11071180 % for display in the outlines, and in other places. Thus, we have to
11081181 % double any backslashes. Otherwise, a name like "\node" will be
11091182 % interpreted as a newline (\n), followed by o, d, e. Not good.
1110 %
1183 %
11111184 % See http://www.ntg.nl/pipermail/ntg-pdftex/2004-July/000654.html and
11121185 % related messages. The final outcome is that it is up to the TeX user
11131186 % to double the backslashes and otherwise make the string valid, so
11201193 \ifx\pdfescapestring\thisisundefined
11211194 % No primitive available; should we give a warning or log?
11221195 % Many times it won't matter.
1196 \xdef#1{#1}%
11231197 \else
11241198 % The expandable \pdfescapestring primitive escapes parentheses,
11251199 % backslashes, and other special chars.
11261200 \xdef#1{\pdfescapestring{#1}}%
11271201 \fi
11281202 }
1203 \def\txiescapepdfutfsixteen#1{%
1204 \ifx\pdfescapestrutfsixteen\thisisundefined
1205 % No UTF-16 converting macro available.
1206 \txiescapepdf{#1}%
1207 \else
1208 \xdef#1{\pdfescapestrutfsixteen{#1}}%
1209 \fi
1210 }
11291211
11301212 \newhelp\nopdfimagehelp{Texinfo supports .png, .jpg, .jpeg, and .pdf images
11311213 with PDF output, and none of those formats could be found. (.eps cannot
11341216
11351217 \ifpdf
11361218 %
1137 % Color manipulation macros based on pdfcolor.tex,
1219 % Color manipulation macros using ideas from pdfcolor.tex,
11381220 % except using rgb instead of cmyk; the latter is said to render as a
11391221 % very dark gray on-screen and a very dark halftone in print, instead
1140 % of actual black.
1222 % of actual black. The dark red here is dark enough to print on paper as
1223 % nearly black, but still distinguishable for online viewing. We use
1224 % black by default, though.
11411225 \def\rgbDarkRed{0.50 0.09 0.12}
11421226 \def\rgbBlack{0 0 0}
11431227 %
1144 % k sets the color for filling (usual text, etc.);
1145 % K sets the color for stroking (thin rules, e.g., normal _'s).
1228 % rg sets the color for filling (usual text, etc.);
1229 % RG sets the color for stroking (thin rules, e.g., normal _'s).
11461230 \def\pdfsetcolor#1{\pdfliteral{#1 rg #1 RG}}
11471231 %
11481232 % Set color, and create a mark which defines \thiscolor accordingly,
11491233 % so that \makeheadline knows which color to restore.
11501234 \def\setcolor#1{%
1151 \xdef\lastcolordefs{\gdef\noexpand\thiscolor{#1}}%
1235 \xdef\currentcolordefs{\gdef\noexpand\thiscolor{#1}}%
11521236 \domark
11531237 \pdfsetcolor{#1}%
11541238 }
11561240 \def\maincolor{\rgbBlack}
11571241 \pdfsetcolor{\maincolor}
11581242 \edef\thiscolor{\maincolor}
1159 \def\lastcolordefs{}
1243 \def\currentcolordefs{}
11601244 %
11611245 \def\makefootline{%
11621246 \baselineskip24pt
12331317 \pdfrefximage \pdflastximage
12341318 \fi}
12351319 %
1236 \def\pdfmkdest#1{{%
1320 \def\setpdfdestname#1{{%
12371321 % We have to set dummies so commands such as @code, and characters
12381322 % such as \, aren't expanded when present in a section title.
12391323 \indexnofonts
1324 \makevalueexpandable
12401325 \turnoffactive
1241 \makevalueexpandable
1326 \iftxiuseunicodedestname
1327 \ifx \declaredencoding \latone
1328 % Pass through Latin-1 characters.
1329 % LuaTeX with byte wise I/O converts Latin-1 characters to Unicode.
1330 \else
1331 \ifx \declaredencoding \utfeight
1332 % Pass through Unicode characters.
1333 \else
1334 % Use ASCII approximations in destination names.
1335 \passthroughcharsfalse
1336 \fi
1337 \fi
1338 \else
1339 % Use ASCII approximations in destination names.
1340 \passthroughcharsfalse
1341 \fi
12421342 \def\pdfdestname{#1}%
12431343 \txiescapepdf\pdfdestname
1344 }}
1345 %
1346 \def\setpdfoutlinetext#1{{%
1347 \indexnofonts
1348 \makevalueexpandable
1349 \turnoffactive
1350 \ifx \declaredencoding \latone
1351 % The PDF format can use an extended form of Latin-1 in bookmark
1352 % strings. See Appendix D of the PDF Reference, Sixth Edition, for
1353 % the "PDFDocEncoding".
1354 \passthroughcharstrue
1355 % Pass through Latin-1 characters.
1356 % LuaTeX: Convert to Unicode
1357 % pdfTeX: Use Latin-1 as PDFDocEncoding
1358 \def\pdfoutlinetext{#1}%
1359 \else
1360 \ifx \declaredencoding \utfeight
1361 \ifx\luatexversion\thisisundefined
1362 % For pdfTeX with UTF-8.
1363 % TODO: the PDF format can use UTF-16 in bookmark strings,
1364 % but the code for this isn't done yet.
1365 % Use ASCII approximations.
1366 \passthroughcharsfalse
1367 \def\pdfoutlinetext{#1}%
1368 \else
1369 % For LuaTeX with UTF-8.
1370 % Pass through Unicode characters for title texts.
1371 \passthroughcharstrue
1372 \def\pdfoutlinetext{#1}%
1373 \fi
1374 \else
1375 % For non-Latin-1 or non-UTF-8 encodings.
1376 % Use ASCII approximations.
1377 \passthroughcharsfalse
1378 \def\pdfoutlinetext{#1}%
1379 \fi
1380 \fi
1381 % LuaTeX: Convert to UTF-16
1382 % pdfTeX: Use Latin-1 as PDFDocEncoding
1383 \txiescapepdfutfsixteen\pdfoutlinetext
1384 }}
1385 %
1386 \def\pdfmkdest#1{%
1387 \setpdfdestname{#1}%
12441388 \safewhatsit{\pdfdest name{\pdfdestname} xyz}%
1245 }}
1389 }
12461390 %
12471391 % used to mark target names; must be expandable.
12481392 \def\pdfmkpgn#1{#1}
12491393 %
1250 % by default, use a color that is dark enough to print on paper as
1251 % nearly black, but still distinguishable for online viewing.
1252 \def\urlcolor{\rgbDarkRed}
1253 \def\linkcolor{\rgbDarkRed}
1394 % by default, use black for everything.
1395 \def\urlcolor{\rgbBlack}
1396 \def\linkcolor{\rgbBlack}
12541397 \def\endlink{\setcolor{\maincolor}\pdfendlink}
12551398 %
12561399 % Adding outlines to PDF; macros for calculating structure of outlines
12721415 % page number. We could generate a destination for the section
12731416 % text in the case where a section has no node, but it doesn't
12741417 % seem worth the trouble, since most documents are normally structured.
1275 \edef\pdfoutlinedest{#3}%
1276 \ifx\pdfoutlinedest\empty
1277 \def\pdfoutlinedest{#4}%
1278 \else
1279 \txiescapepdf\pdfoutlinedest
1418 \setpdfoutlinetext{#1}
1419 \setpdfdestname{#3}
1420 \ifx\pdfdestname\empty
1421 \def\pdfdestname{#4}%
12801422 \fi
12811423 %
1282 % Also escape PDF chars in the display string.
1283 \edef\pdfoutlinetext{#1}%
1284 \txiescapepdf\pdfoutlinetext
1285 %
1286 \pdfoutline goto name{\pdfmkpgn{\pdfoutlinedest}}#2{\pdfoutlinetext}%
1424 \pdfoutline goto name{\pdfmkpgn{\pdfdestname}}#2{\pdfoutlinetext}%
12871425 }
12881426 %
12891427 \def\pdfmakeoutlines{%
13281466 % subentries, which we calculated on our first read of the .toc above.
13291467 %
13301468 % We use the node names as the destinations.
1469 %
1470 % Currently we prefix the section name with the section number
1471 % for chapter and appendix headings only in order to avoid too much
1472 % horizontal space being required in the PDF viewer.
13311473 \def\numchapentry##1##2##3##4{%
1474 \dopdfoutline{##2 ##1}{count-\expnumber{chap##2}}{##3}{##4}}%
1475 \def\unnchapentry##1##2##3##4{%
13321476 \dopdfoutline{##1}{count-\expnumber{chap##2}}{##3}{##4}}%
13331477 \def\numsecentry##1##2##3##4{%
13341478 \dopdfoutline{##1}{count-\expnumber{sec##2}}{##3}{##4}}%
13471491 % their "best" equivalent, based on the @documentencoding. Too
13481492 % much work for too little return. Just use the ASCII equivalents
13491493 % we use for the index sort strings.
1350 %
1494 %
13511495 \indexnofonts
13521496 \setupdatafile
13531497 % We can have normal brace characters in the PDF outlines, unlike
14031547 \startlink attr{/Border [0 0 0]}%
14041548 user{/Subtype /Link /A << /S /URI /URI (#1) >>}%
14051549 \endgroup}
1550 % \pdfgettoks - Surround page numbers in #1 with @pdflink. #1 may
1551 % be a simple number, or a list of numbers in the case of an index
1552 % entry.
14061553 \def\pdfgettoks#1.{\setbox\boxA=\hbox{\toksA={#1.}\toksB={}\maketoks}}
14071554 \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks}
14081555 \def\adn#1{\addtokens{\toksC}{#1}\global\countA=1\let\next=\maketoks}
14381585 \let\pdfmakeoutlines = \relax
14391586 \fi % \ifx\pdfoutput
14401587
1441
1588 %
1589 % For XeTeX
1590 %
1591 \ifx\XeTeXrevision\thisisundefined
1592 \else
1593 %
1594 % XeTeX version check
1595 %
1596 \ifnum\strcmp{\the\XeTeXversion\XeTeXrevision}{0.99996}>-1
1597 % TeX Live 2016 contains XeTeX 0.99996 and xdvipdfmx 20160307.
1598 % It can use the `dvipdfmx:config' special (from TeX Live SVN r40941).
1599 % For avoiding PDF destination name replacement, we use this special
1600 % instead of xdvipdfmx's command line option `-C 0x0010'.
1601 \special{dvipdfmx:config C 0x0010}
1602 % XeTeX 0.99995+ comes with xdvipdfmx 20160307+.
1603 % It can handle Unicode destination names for PDF.
1604 \txiuseunicodedestnametrue
1605 \else
1606 % XeTeX < 0.99996 (TeX Live < 2016) cannot use the
1607 % `dvipdfmx:config' special.
1608 % So for avoiding PDF destination name replacement,
1609 % xdvipdfmx's command line option `-C 0x0010' is necessary.
1610 %
1611 % XeTeX < 0.99995 can not handle Unicode destination names for PDF
1612 % because xdvipdfmx 20150315 has a UTF-16 conversion issue.
1613 % It is fixed by xdvipdfmx 20160106 (TeX Live SVN r39753).
1614 \txiuseunicodedestnamefalse
1615 \fi
1616 %
1617 % Color support
1618 %
1619 \def\rgbDarkRed{0.50 0.09 0.12}
1620 \def\rgbBlack{0 0 0}
1621 %
1622 \def\pdfsetcolor#1{\special{pdf:scolor [#1]}}
1623 %
1624 % Set color, and create a mark which defines \thiscolor accordingly,
1625 % so that \makeheadline knows which color to restore.
1626 \def\setcolor#1{%
1627 \xdef\currentcolordefs{\gdef\noexpand\thiscolor{#1}}%
1628 \domark
1629 \pdfsetcolor{#1}%
1630 }
1631 %
1632 \def\maincolor{\rgbBlack}
1633 \pdfsetcolor{\maincolor}
1634 \edef\thiscolor{\maincolor}
1635 \def\currentcolordefs{}
1636 %
1637 \def\makefootline{%
1638 \baselineskip24pt
1639 \line{\pdfsetcolor{\maincolor}\the\footline}%
1640 }
1641 %
1642 \def\makeheadline{%
1643 \vbox to 0pt{%
1644 \vskip-22.5pt
1645 \line{%
1646 \vbox to8.5pt{}%
1647 % Extract \thiscolor definition from the marks.
1648 \getcolormarks
1649 % Typeset the headline with \maincolor, then restore the color.
1650 \pdfsetcolor{\maincolor}\the\headline\pdfsetcolor{\thiscolor}%
1651 }%
1652 \vss
1653 }%
1654 \nointerlineskip
1655 }
1656 %
1657 % PDF outline support
1658 %
1659 % Emulate pdfTeX primitive
1660 \def\pdfdest name#1 xyz{%
1661 \special{pdf:dest (#1) [@thispage /XYZ @xpos @ypos null]}%
1662 }
1663 %
1664 \def\setpdfdestname#1{{%
1665 % We have to set dummies so commands such as @code, and characters
1666 % such as \, aren't expanded when present in a section title.
1667 \indexnofonts
1668 \makevalueexpandable
1669 \turnoffactive
1670 \iftxiuseunicodedestname
1671 % Pass through Unicode characters.
1672 \else
1673 % Use ASCII approximations in destination names.
1674 \passthroughcharsfalse
1675 \fi
1676 \def\pdfdestname{#1}%
1677 \txiescapepdf\pdfdestname
1678 }}
1679 %
1680 \def\setpdfoutlinetext#1{{%
1681 \turnoffactive
1682 % Always use Unicode characters in title texts.
1683 \def\pdfoutlinetext{#1}%
1684 % For XeTeX, xdvipdfmx converts to UTF-16.
1685 % So we do not convert.
1686 \txiescapepdf\pdfoutlinetext
1687 }}
1688 %
1689 \def\pdfmkdest#1{%
1690 \setpdfdestname{#1}%
1691 \safewhatsit{\pdfdest name{\pdfdestname} xyz}%
1692 }
1693 %
1694 % by default, use black for everything.
1695 \def\urlcolor{\rgbBlack}
1696 \def\linkcolor{\rgbBlack}
1697 \def\endlink{\setcolor{\maincolor}\pdfendlink}
1698 %
1699 \def\dopdfoutline#1#2#3#4{%
1700 \setpdfoutlinetext{#1}
1701 \setpdfdestname{#3}
1702 \ifx\pdfdestname\empty
1703 \def\pdfdestname{#4}%
1704 \fi
1705 %
1706 \special{pdf:out [-] #2 << /Title (\pdfoutlinetext) /A
1707 << /S /GoTo /D (\pdfdestname) >> >> }%
1708 }
1709 %
1710 \def\pdfmakeoutlines{%
1711 \begingroup
1712 %
1713 % For XeTeX, counts of subentries are not necessary.
1714 % Therefore, we read toc only once.
1715 %
1716 % We use node names as destinations.
1717 %
1718 % Currently we prefix the section name with the section number
1719 % for chapter and appendix headings only in order to avoid too much
1720 % horizontal space being required in the PDF viewer.
1721 \def\partentry##1##2##3##4{}% ignore parts in the outlines
1722 \def\numchapentry##1##2##3##4{%
1723 \dopdfoutline{##2 ##1}{1}{##3}{##4}}%
1724 \def\numsecentry##1##2##3##4{%
1725 \dopdfoutline{##1}{2}{##3}{##4}}%
1726 \def\numsubsecentry##1##2##3##4{%
1727 \dopdfoutline{##1}{3}{##3}{##4}}%
1728 \def\numsubsubsecentry##1##2##3##4{%
1729 \dopdfoutline{##1}{4}{##3}{##4}}%
1730 %
1731 \let\appentry\numchapentry%
1732 \let\appsecentry\numsecentry%
1733 \let\appsubsecentry\numsubsecentry%
1734 \let\appsubsubsecentry\numsubsubsecentry%
1735 \def\unnchapentry##1##2##3##4{%
1736 \dopdfoutline{##1}{1}{##3}{##4}}%
1737 \let\unnsecentry\numsecentry%
1738 \let\unnsubsecentry\numsubsecentry%
1739 \let\unnsubsubsecentry\numsubsubsecentry%
1740 %
1741 % For XeTeX, xdvipdfmx converts strings to UTF-16.
1742 % Therefore, the encoding and the language may not be considered.
1743 %
1744 \indexnofonts
1745 \setupdatafile
1746 % We can have normal brace characters in the PDF outlines, unlike
1747 % Texinfo index files. So set that up.
1748 \def\{{\lbracecharliteral}%
1749 \def\}{\rbracecharliteral}%
1750 \catcode`\\=\active \otherbackslash
1751 \input \tocreadfilename
1752 \endgroup
1753 }
1754 {\catcode`[=1 \catcode`]=2
1755 \catcode`{=\other \catcode`}=\other
1756 \gdef\lbracecharliteral[{]%
1757 \gdef\rbracecharliteral[}]%
1758 ]
1759
1760 \special{pdf:docview << /PageMode /UseOutlines >> }
1761 % ``\special{pdf:tounicode ...}'' is not necessary
1762 % because xdvipdfmx converts strings from UTF-8 to UTF-16 without it.
1763 % However, due to a UTF-16 conversion issue of xdvipdfmx 20150315,
1764 % ``\special{pdf:dest ...}'' cannot handle non-ASCII strings.
1765 % It is fixed by xdvipdfmx 20160106 (TeX Live SVN r39753).
1766 %
1767 \def\skipspaces#1{\def\PP{#1}\def\D{|}%
1768 \ifx\PP\D\let\nextsp\relax
1769 \else\let\nextsp\skipspaces
1770 \addtokens{\filename}{\PP}%
1771 \advance\filenamelength by 1
1772 \fi
1773 \nextsp}
1774 \def\getfilename#1{%
1775 \filenamelength=0
1776 % If we don't expand the argument now, \skipspaces will get
1777 % snagged on things like "@value{foo}".
1778 \edef\temp{#1}%
1779 \expandafter\skipspaces\temp|\relax
1780 }
1781 % make a live url in pdf output.
1782 \def\pdfurl#1{%
1783 \begingroup
1784 % it seems we really need yet another set of dummies; have not
1785 % tried to figure out what each command should do in the context
1786 % of @url. for now, just make @/ a no-op, that's the only one
1787 % people have actually reported a problem with.
1788 %
1789 \normalturnoffactive
1790 \def\@{@}%
1791 \let\/=\empty
1792 \makevalueexpandable
1793 % do we want to go so far as to use \indexnofonts instead of just
1794 % special-casing \var here?
1795 \def\var##1{##1}%
1796 %
1797 \leavevmode\setcolor{\urlcolor}%
1798 \special{pdf:bann << /Border [0 0 0]
1799 /Subtype /Link /A << /S /URI /URI (#1) >> >>}%
1800 \endgroup}
1801 \def\endlink{\setcolor{\maincolor}\special{pdf:eann}}
1802 \def\pdfgettoks#1.{\setbox\boxA=\hbox{\toksA={#1.}\toksB={}\maketoks}}
1803 \def\addtokens#1#2{\edef\addtoks{\noexpand#1={\the#1#2}}\addtoks}
1804 \def\adn#1{\addtokens{\toksC}{#1}\global\countA=1\let\next=\maketoks}
1805 \def\poptoks#1#2|ENDTOKS|{\let\first=#1\toksD={#1}\toksA={#2}}
1806 \def\maketoks{%
1807 \expandafter\poptoks\the\toksA|ENDTOKS|\relax
1808 \ifx\first0\adn0
1809 \else\ifx\first1\adn1 \else\ifx\first2\adn2 \else\ifx\first3\adn3
1810 \else\ifx\first4\adn4 \else\ifx\first5\adn5 \else\ifx\first6\adn6
1811 \else\ifx\first7\adn7 \else\ifx\first8\adn8 \else\ifx\first9\adn9
1812 \else
1813 \ifnum0=\countA\else\makelink\fi
1814 \ifx\first.\let\next=\done\else
1815 \let\next=\maketoks
1816 \addtokens{\toksB}{\the\toksD}
1817 \ifx\first,\addtokens{\toksB}{\space}\fi
1818 \fi
1819 \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi
1820 \next}
1821 \def\makelink{\addtokens{\toksB}%
1822 {\noexpand\pdflink{\the\toksC}}\toksC={}\global\countA=0}
1823 \def\pdflink#1{%
1824 \special{pdf:bann << /Border [0 0 0]
1825 /Type /Annot /Subtype /Link /A << /S /GoTo /D (#1) >> >>}%
1826 \setcolor{\linkcolor}#1\endlink}
1827 \def\done{\edef\st{\global\noexpand\toksA={\the\toksB}}\st}
1828 %
1829 %
1830 % @image support
1831 %
1832 % #1 is image name, #2 width (might be empty/whitespace), #3 height (ditto).
1833 \def\doxeteximage#1#2#3{%
1834 \def\xeteximagewidth{#2}\setbox0 = \hbox{\ignorespaces #2}%
1835 \def\xeteximageheight{#3}\setbox2 = \hbox{\ignorespaces #3}%
1836 %
1837 % XeTeX (and the PDF format) supports .pdf, .png, .jpg (among
1838 % others). Let's try in that order, PDF first since if
1839 % someone has a scalable image, presumably better to use that than a
1840 % bitmap.
1841 \let\xeteximgext=\empty
1842 \begingroup
1843 \openin 1 #1.pdf \ifeof 1
1844 \openin 1 #1.PDF \ifeof 1
1845 \openin 1 #1.png \ifeof 1
1846 \openin 1 #1.jpg \ifeof 1
1847 \openin 1 #1.jpeg \ifeof 1
1848 \openin 1 #1.JPG \ifeof 1
1849 \errmessage{Could not find image file #1 for XeTeX}%
1850 \else \gdef\xeteximgext{JPG}%
1851 \fi
1852 \else \gdef\xeteximgext{jpeg}%
1853 \fi
1854 \else \gdef\xeteximgext{jpg}%
1855 \fi
1856 \else \gdef\xeteximgext{png}%
1857 \fi
1858 \else \gdef\xeteximgext{PDF}%
1859 \fi
1860 \else \gdef\xeteximgext{pdf}%
1861 \fi
1862 \closein 1
1863 \endgroup
1864 %
1865 \def\xetexpdfext{pdf}%
1866 \ifx\xeteximgext\xetexpdfext
1867 \XeTeXpdffile "#1".\xeteximgext ""
1868 \else
1869 \def\xetexpdfext{PDF}%
1870 \ifx\xeteximgext\xetexpdfext
1871 \XeTeXpdffile "#1".\xeteximgext ""
1872 \else
1873 \XeTeXpicfile "#1".\xeteximgext ""
1874 \fi
1875 \fi
1876 \ifdim \wd0 >0pt width \xeteximagewidth \fi
1877 \ifdim \wd2 >0pt height \xeteximageheight \fi \relax
1878 }
1879 \fi
1880
1881
1882 %
14421883 \message{fonts,}
1443
1444 % Change the current font style to #1, remembering it in \curfontstyle.
1445 % For now, we do not accumulate font styles: @b{@i{foo}} prints foo in
1446 % italics, not bold italics.
1447 %
1448 \def\setfontstyle#1{%
1449 \def\curfontstyle{#1}% not as a control sequence, because we are \edef'd.
1450 \csname ten#1\endcsname % change the current font
1451 }
1452
1453 % Select #1 fonts with the current style.
1454 %
1455 \def\selectfonts#1{\csname #1fonts\endcsname \csname\curfontstyle\endcsname}
1456
1457 \def\rm{\fam=0 \setfontstyle{rm}}
1458 \def\it{\fam=\itfam \setfontstyle{it}}
1459 \def\sl{\fam=\slfam \setfontstyle{sl}}
1460 \def\bf{\fam=\bffam \setfontstyle{bf}}\def\bfstylename{bf}
1461 \def\tt{\fam=\ttfam \setfontstyle{tt}}
1462
1463 % Unfortunately, we have to override this for titles and the like, since
1464 % in those cases "rm" is bold. Sigh.
1465 \def\rmisbold{\rm\def\curfontstyle{bf}}
1466
1467 % Texinfo sort of supports the sans serif font style, which plain TeX does not.
1468 % So we set up a \sf.
1469 \newfam\sffam
1470 \def\sf{\fam=\sffam \setfontstyle{sf}}
1471 \let\li = \sf % Sometimes we call it \li, not \sf.
1472
1473 % We don't need math for this font style.
1474 \def\ttsl{\setfontstyle{ttsl}}
1475
14761884
14771885 % Set the baselineskip to #1, and the lineskip and strut size
14781886 % correspondingly. There is no deep meaning behind these magic numbers
18212229 % A few fonts for @defun names and args.
18222230 \setfont\defbf\bfshape{10}{\magstep1}{OT1}
18232231 \setfont\deftt\ttshape{10}{\magstep1}{OT1TT}
2232 \setfont\defsl\slshape{10}{\magstep1}{OT1}
18242233 \setfont\defttsl\ttslshape{10}{\magstep1}{OT1TT}
1825 \def\df{\let\tentt=\deftt \let\tenbf = \defbf \let\tenttsl=\defttsl \bf}
2234 \def\df{\let\ttfont=\deftt \let\bffont = \defbf
2235 \let\ttslfont=\defttsl \let\slfont=\defsl \bf}
18262236
18272237 % Fonts for indices, footnotes, small examples (9pt).
18282238 \def\smallnominalsize{9pt}
18522262 \font\smallersy=cmsy8
18532263 \def\smallerecsize{0800}
18542264
2265 % Fonts for math mode superscripts (7pt).
2266 \def\sevennominalsize{7pt}
2267 \setfont\sevenrm\rmshape{7}{1000}{OT1}
2268 \setfont\seventt\ttshape{10}{700}{OT1TT}
2269 \setfont\sevenbf\bfshape{10}{700}{OT1}
2270 \setfont\sevenit\itshape{7}{1000}{OT1IT}
2271 \setfont\sevensl\slshape{10}{700}{OT1}
2272 \setfont\sevensf\sfshape{10}{700}{OT1}
2273 \setfont\sevensc\scshape{10}{700}{OT1}
2274 \setfont\seventtsl\ttslshape{10}{700}{OT1TT}
2275 \font\seveni=cmmi7
2276 \font\sevensy=cmsy7
2277 \def\sevenecsize{0700}
2278
18552279 % Fonts for title page (20.4pt):
18562280 \def\titlenominalsize{20pt}
18572281 \setfont\titlerm\rmbshape{12}{\magstep3}{OT1}
18832307 % Section fonts (14.4pt).
18842308 \def\secnominalsize{14pt}
18852309 \setfont\secrm\rmbshape{12}{\magstep1}{OT1}
2310 \setfont\secrmnotbold\rmshape{12}{\magstep1}{OT1}
18862311 \setfont\secit\itbshape{10}{\magstep2}{OT1IT}
18872312 \setfont\secsl\slbshape{10}{\magstep2}{OT1}
18882313 \setfont\sectt\ttbshape{12}{\magstep1}{OT1TT}
19082333 \font\ssecsy=cmsy10 scaled 1315
19092334 \def\ssececsize{1200}
19102335
1911 % Reduced fonts for @acro in text (10pt).
2336 % Reduced fonts for @acronym in text (10pt).
19122337 \def\reducednominalsize{10pt}
19132338 \setfont\reducedrm\rmshape{10}{1000}{OT1}
19142339 \setfont\reducedtt\ttshape{10}{1000}{OT1TT}
19522377 % A few fonts for @defun names and args.
19532378 \setfont\defbf\bfshape{10}{\magstephalf}{OT1}
19542379 \setfont\deftt\ttshape{10}{\magstephalf}{OT1TT}
2380 \setfont\defsl\slshape{10}{\magstephalf}{OT1}
19552381 \setfont\defttsl\ttslshape{10}{\magstephalf}{OT1TT}
1956 \def\df{\let\tentt=\deftt \let\tenbf = \defbf \let\tenttsl=\defttsl \bf}
2382 \def\df{\let\ttfont=\deftt \let\bffont = \defbf
2383 \let\slfont=\defsl \let\ttslfont=\defttsl \bf}
19572384
19582385 % Fonts for indices, footnotes, small examples (9pt).
19592386 \def\smallnominalsize{9pt}
19832410 \font\smallersy=cmsy8
19842411 \def\smallerecsize{0800}
19852412
2413 % Fonts for math mode superscripts (7pt).
2414 \def\sevennominalsize{7pt}
2415 \setfont\sevenrm\rmshape{7}{1000}{OT1}
2416 \setfont\seventt\ttshape{10}{700}{OT1TT}
2417 \setfont\sevenbf\bfshape{10}{700}{OT1}
2418 \setfont\sevenit\itshape{7}{1000}{OT1IT}
2419 \setfont\sevensl\slshape{10}{700}{OT1}
2420 \setfont\sevensf\sfshape{10}{700}{OT1}
2421 \setfont\sevensc\scshape{10}{700}{OT1}
2422 \setfont\seventtsl\ttslshape{10}{700}{OT1TT}
2423 \font\seveni=cmmi7
2424 \font\sevensy=cmsy7
2425 \def\sevenecsize{0700}
2426
19862427 % Fonts for title page (20.4pt):
19872428 \def\titlenominalsize{20pt}
19882429 \setfont\titlerm\rmbshape{12}{\magstep3}{OT1}
20392480 \font\ssecsy=cmsy10
20402481 \def\ssececsize{1000}
20412482
2042 % Reduced fonts for @acro in text (9pt).
2483 % Reduced fonts for @acronym in text (9pt).
20432484 \def\reducednominalsize{9pt}
20442485 \setfont\reducedrm\rmshape{9}{1000}{OT1}
20452486 \setfont\reducedtt\ttshape{9}{1000}{OT1TT}
20592500 \rm
20602501 } % end of 10pt text font size definitions, \definetextfontsizex
20612502
2503 % Fonts for short table of contents.
2504 \setfont\shortcontrm\rmshape{12}{1000}{OT1}
2505 \setfont\shortcontbf\bfshape{10}{\magstep1}{OT1} % no cmb12
2506 \setfont\shortcontsl\slshape{12}{1000}{OT1}
2507 \setfont\shortconttt\ttshape{12}{1000}{OT1TT}
2508
20622509
20632510 % We provide the user-level command
20642511 % @fonttextsize 10
20852532 \endgroup
20862533 }
20872534
2535 %
2536 % Change the current font style to #1, remembering it in \curfontstyle.
2537 % For now, we do not accumulate font styles: @b{@i{foo}} prints foo in
2538 % italics, not bold italics.
2539 %
2540 \def\setfontstyle#1{%
2541 \def\curfontstyle{#1}% not as a control sequence, because we are \edef'd.
2542 \csname #1font\endcsname % change the current font
2543 }
2544
2545 \def\rm{\fam=0 \setfontstyle{rm}}
2546 \def\it{\fam=\itfam \setfontstyle{it}}
2547 \def\sl{\fam=\slfam \setfontstyle{sl}}
2548 \def\bf{\fam=\bffam \setfontstyle{bf}}\def\bfstylename{bf}
2549 \def\tt{\fam=\ttfam \setfontstyle{tt}}\def\ttstylename{tt}
2550
2551 % Texinfo sort of supports the sans serif font style, which plain TeX does not.
2552 % So we set up a \sf.
2553 \newfam\sffam
2554 \def\sf{\fam=\sffam \setfontstyle{sf}}
2555
2556 % We don't need math for this font style.
2557 \def\ttsl{\setfontstyle{ttsl}}
2558
20882559
20892560 % In order for the font changes to affect most math symbols and letters,
2090 % we have to define the \textfont of the standard families. Since
2091 % texinfo doesn't allow for producing subscripts and superscripts except
2092 % in the main text, we don't bother to reset \scriptfont and
2093 % \scriptscriptfont (which would also require loading a lot more fonts).
2561 % we have to define the \textfont of the standard families.
2562 % We don't bother to reset \scriptscriptfont; awaiting user need.
20942563 %
20952564 \def\resetmathfonts{%
2096 \textfont0=\tenrm \textfont1=\teni \textfont2=\tensy
2097 \textfont\itfam=\tenit \textfont\slfam=\tensl \textfont\bffam=\tenbf
2098 \textfont\ttfam=\tentt \textfont\sffam=\tensf
2099 }
2100
2101 % The font-changing commands redefine the meanings of \tenSTYLE, instead
2102 % of just \STYLE. We do this because \STYLE needs to also set the
2103 % current \fam for math mode. Our \STYLE (e.g., \rm) commands hardwire
2104 % \tenSTYLE to set the current font.
2565 \textfont0=\rmfont \textfont1=\ifont \textfont2=\syfont
2566 \textfont\itfam=\itfont \textfont\slfam=\slfont \textfont\bffam=\bffont
2567 \textfont\ttfam=\ttfont \textfont\sffam=\sffont
2568 %
2569 % Fonts for superscript. Note that the 7pt fonts are used regardless
2570 % of the current font size.
2571 \scriptfont0=\sevenrm \scriptfont1=\seveni \scriptfont2=\sevensy
2572 \scriptfont\itfam=\sevenit \scriptfont\slfam=\sevensl
2573 \scriptfont\bffam=\sevenbf \scriptfont\ttfam=\seventt
2574 \scriptfont\sffam=\sevensf
2575 }
2576
2577 %
2578
2579 % The font-changing commands (all called \...fonts) redefine the meanings
2580 % of \STYLEfont, instead of just \STYLE. We do this because \STYLE needs
2581 % to also set the current \fam for math mode. Our \STYLE (e.g., \rm)
2582 % commands hardwire \STYLEfont to set the current font.
2583 %
2584 % The fonts used for \ifont are for "math italics" (\itfont is for italics
2585 % in regular text). \syfont is also used in math mode only.
21052586 %
21062587 % Each font-changing command also sets the names \lsize (one size lower)
2107 % and \lllsize (three sizes lower). These relative commands are used in
2108 % the LaTeX logo and acronyms.
2588 % and \lllsize (three sizes lower). These relative commands are used
2589 % in, e.g., the LaTeX logo and acronyms.
21092590 %
21102591 % This all needs generalizing, badly.
21112592 %
2112 \def\textfonts{%
2113 \let\tenrm=\textrm \let\tenit=\textit \let\tensl=\textsl
2114 \let\tenbf=\textbf \let\tentt=\texttt \let\smallcaps=\textsc
2115 \let\tensf=\textsf \let\teni=\texti \let\tensy=\textsy
2116 \let\tenttsl=\textttsl
2117 \def\curfontsize{text}%
2118 \def\lsize{reduced}\def\lllsize{smaller}%
2119 \resetmathfonts \setleading{\textleading}}
2120 \def\titlefonts{%
2121 \let\tenrm=\titlerm \let\tenit=\titleit \let\tensl=\titlesl
2122 \let\tenbf=\titlebf \let\tentt=\titlett \let\smallcaps=\titlesc
2123 \let\tensf=\titlesf \let\teni=\titlei \let\tensy=\titlesy
2124 \let\tenttsl=\titlettsl
2125 \def\curfontsize{title}%
2126 \def\lsize{chap}\def\lllsize{subsec}%
2127 \resetmathfonts \setleading{27pt}}
2128 \def\titlefont#1{{\titlefonts\rmisbold #1}}
2129 \def\chapfonts{%
2130 \let\tenrm=\chaprm \let\tenit=\chapit \let\tensl=\chapsl
2131 \let\tenbf=\chapbf \let\tentt=\chaptt \let\smallcaps=\chapsc
2132 \let\tensf=\chapsf \let\teni=\chapi \let\tensy=\chapsy
2133 \let\tenttsl=\chapttsl
2134 \def\curfontsize{chap}%
2135 \def\lsize{sec}\def\lllsize{text}%
2136 \resetmathfonts \setleading{19pt}}
2137 \def\secfonts{%
2138 \let\tenrm=\secrm \let\tenit=\secit \let\tensl=\secsl
2139 \let\tenbf=\secbf \let\tentt=\sectt \let\smallcaps=\secsc
2140 \let\tensf=\secsf \let\teni=\seci \let\tensy=\secsy
2141 \let\tenttsl=\secttsl
2142 \def\curfontsize{sec}%
2143 \def\lsize{subsec}\def\lllsize{reduced}%
2144 \resetmathfonts \setleading{16pt}}
2145 \def\subsecfonts{%
2146 \let\tenrm=\ssecrm \let\tenit=\ssecit \let\tensl=\ssecsl
2147 \let\tenbf=\ssecbf \let\tentt=\ssectt \let\smallcaps=\ssecsc
2148 \let\tensf=\ssecsf \let\teni=\sseci \let\tensy=\ssecsy
2149 \let\tenttsl=\ssecttsl
2150 \def\curfontsize{ssec}%
2151 \def\lsize{text}\def\lllsize{small}%
2152 \resetmathfonts \setleading{15pt}}
2153 \let\subsubsecfonts = \subsecfonts
2154 \def\reducedfonts{%
2155 \let\tenrm=\reducedrm \let\tenit=\reducedit \let\tensl=\reducedsl
2156 \let\tenbf=\reducedbf \let\tentt=\reducedtt \let\reducedcaps=\reducedsc
2157 \let\tensf=\reducedsf \let\teni=\reducedi \let\tensy=\reducedsy
2158 \let\tenttsl=\reducedttsl
2159 \def\curfontsize{reduced}%
2160 \def\lsize{small}\def\lllsize{smaller}%
2161 \resetmathfonts \setleading{10.5pt}}
2162 \def\smallfonts{%
2163 \let\tenrm=\smallrm \let\tenit=\smallit \let\tensl=\smallsl
2164 \let\tenbf=\smallbf \let\tentt=\smalltt \let\smallcaps=\smallsc
2165 \let\tensf=\smallsf \let\teni=\smalli \let\tensy=\smallsy
2166 \let\tenttsl=\smallttsl
2167 \def\curfontsize{small}%
2168 \def\lsize{smaller}\def\lllsize{smaller}%
2169 \resetmathfonts \setleading{10.5pt}}
2170 \def\smallerfonts{%
2171 \let\tenrm=\smallerrm \let\tenit=\smallerit \let\tensl=\smallersl
2172 \let\tenbf=\smallerbf \let\tentt=\smallertt \let\smallcaps=\smallersc
2173 \let\tensf=\smallersf \let\teni=\smalleri \let\tensy=\smallersy
2174 \let\tenttsl=\smallerttsl
2175 \def\curfontsize{smaller}%
2176 \def\lsize{smaller}\def\lllsize{smaller}%
2177 \resetmathfonts \setleading{9.5pt}}
2178
2179 % Fonts for short table of contents.
2180 \setfont\shortcontrm\rmshape{12}{1000}{OT1}
2181 \setfont\shortcontbf\bfshape{10}{\magstep1}{OT1} % no cmb12
2182 \setfont\shortcontsl\slshape{12}{1000}{OT1}
2183 \setfont\shortconttt\ttshape{12}{1000}{OT1TT}
2593
2594 \def\assignfonts#1{%
2595 \expandafter\let\expandafter\rmfont\csname #1rm\endcsname
2596 \expandafter\let\expandafter\itfont\csname #1it\endcsname
2597 \expandafter\let\expandafter\slfont\csname #1sl\endcsname
2598 \expandafter\let\expandafter\bffont\csname #1bf\endcsname
2599 \expandafter\let\expandafter\ttfont\csname #1tt\endcsname
2600 \expandafter\let\expandafter\smallcaps\csname #1sc\endcsname
2601 \expandafter\let\expandafter\sffont \csname #1sf\endcsname
2602 \expandafter\let\expandafter\ifont \csname #1i\endcsname
2603 \expandafter\let\expandafter\syfont \csname #1sy\endcsname
2604 \expandafter\let\expandafter\ttslfont\csname #1ttsl\endcsname
2605 }
2606
2607 \newif\ifrmisbold
2608
2609 % Select smaller font size with the current style. Used to change font size
2610 % in, e.g., the LaTeX logo and acronyms. If we are using bold fonts for
2611 % normal roman text, also use bold fonts for roman text in the smaller size.
2612 \def\switchtolllsize{%
2613 \expandafter\assignfonts\expandafter{\lllsize}%
2614 \ifrmisbold
2615 \let\rmfont\bffont
2616 \fi
2617 \csname\curfontstyle\endcsname
2618 }%
2619
2620 \def\switchtolsize{%
2621 \expandafter\assignfonts\expandafter{\lsize}%
2622 \ifrmisbold
2623 \let\rmfont\bffont
2624 \fi
2625 \csname\curfontstyle\endcsname
2626 }%
2627
2628 \def\definefontsetatsize#1#2#3#4#5{%
2629 \expandafter\def\csname #1fonts\endcsname{%
2630 \def\curfontsize{#1}%
2631 \def\lsize{#2}\def\lllsize{#3}%
2632 \csname rmisbold#5\endcsname
2633 \assignfonts{#1}%
2634 \resetmathfonts
2635 \setleading{#4}%
2636 }}
2637
2638 \definefontsetatsize{text} {reduced}{smaller}{\textleading}{false}
2639 \definefontsetatsize{title} {chap} {subsec} {27pt} {true}
2640 \definefontsetatsize{chap} {sec} {text} {19pt} {true}
2641 \definefontsetatsize{sec} {subsec} {reduced}{17pt} {true}
2642 \definefontsetatsize{ssec} {text} {small} {15pt} {true}
2643 \definefontsetatsize{reduced}{small} {smaller}{10.5pt}{false}
2644 \definefontsetatsize{small} {smaller}{smaller}{10.5pt}{false}
2645 \definefontsetatsize{smaller}{smaller}{smaller}{9.5pt} {false}
2646
2647 \def\titlefont#1{{\titlefonts\rm #1}}
2648 \let\subsecfonts = \ssecfonts
2649 \let\subsubsecfonts = \ssecfonts
21842650
21852651 % Define these just so they can be easily changed for other fonts.
21862652 \def\angleleft{$\langle$}
22182684 % Markup style infrastructure. \defmarkupstylesetup\INITMACRO will
22192685 % define and register \INITMACRO to be called on markup style changes.
22202686 % \INITMACRO can check \currentmarkupstyle for the innermost
2221 % style and the set of \ifmarkupSTYLE switches for all styles
2222 % currently in effect.
2223 \newif\ifmarkupvar
2224 \newif\ifmarkupsamp
2225 \newif\ifmarkupkey
2226 %\newif\ifmarkupfile % @file == @samp.
2227 %\newif\ifmarkupoption % @option == @samp.
2228 \newif\ifmarkupcode
2229 \newif\ifmarkupkbd
2230 %\newif\ifmarkupenv % @env == @code.
2231 %\newif\ifmarkupcommand % @command == @code.
2232 \newif\ifmarkuptex % @tex (and part of @math, for now).
2233 \newif\ifmarkupexample
2234 \newif\ifmarkupverb
2235 \newif\ifmarkupverbatim
2687 % style.
22362688
22372689 \let\currentmarkupstyle\empty
22382690
22392691 \def\setupmarkupstyle#1{%
2240 \csname markup#1true\endcsname
22412692 \def\currentmarkupstyle{#1}%
22422693 \markupstylesetup
22432694 }
22992750 % lilypond developers report. xpdf does work with the regular 0x27.
23002751 %
23012752 \def\codequoteright{%
2302 \expandafter\ifx\csname SETtxicodequoteundirected\endcsname\relax
2303 \expandafter\ifx\csname SETcodequoteundirected\endcsname\relax
2304 '%
2753 \ifmonospace
2754 \expandafter\ifx\csname SETtxicodequoteundirected\endcsname\relax
2755 \expandafter\ifx\csname SETcodequoteundirected\endcsname\relax
2756 '%
2757 \else \char'15 \fi
23052758 \else \char'15 \fi
2306 \else \char'15 \fi
2759 \else
2760 '%
2761 \fi
23072762 }
23082763 %
23092764 % and a similar option for the left quote char vs. a grave accent.
23112766 % the code environments to do likewise.
23122767 %
23132768 \def\codequoteleft{%
2314 \expandafter\ifx\csname SETtxicodequotebacktick\endcsname\relax
2315 \expandafter\ifx\csname SETcodequotebacktick\endcsname\relax
2316 % [Knuth] pp. 380,381,391
2317 % \relax disables Spanish ligatures ?` and !` of \tt font.
2318 \relax`%
2769 \ifmonospace
2770 \expandafter\ifx\csname SETtxicodequotebacktick\endcsname\relax
2771 \expandafter\ifx\csname SETcodequotebacktick\endcsname\relax
2772 % [Knuth] pp. 380,381,391
2773 % \relax disables Spanish ligatures ?` and !` of \tt font.
2774 \relax`%
2775 \else \char'22 \fi
23192776 \else \char'22 \fi
2320 \else \char'22 \fi
2777 \else
2778 \relax`%
2779 \fi
23212780 }
23222781
23232782 % Commands to set the quote options.
2324 %
2783 %
23252784 \parseargdef\codequoteundirected{%
23262785 \def\temp{#1}%
23272786 \ifx\temp\onword
23622821 % If we are in a monospaced environment, however, 1) always use \ttsl,
23632822 % and 2) do not add an italic correction.
23642823 \def\dosmartslant#1#2{%
2365 \ifusingtt
2824 \ifusingtt
23662825 {{\ttsl #2}\let\next=\relax}%
23672826 {\def\next{{#1#2}\futurelet\next\smartitaliccorrection}}%
23682827 \next
23762835 \ifx\next,%
23772836 \else\ifx\next-%
23782837 \else\ifx\next.%
2838 \else\ifx\next\.%
2839 \else\ifx\next\comma%
23792840 \else\ptexslash
2380 \fi\fi\fi
2841 \fi\fi\fi\fi\fi
23812842 \aftersmartic
23822843 }
23832844
24252886 %
24262887 \catcode`@=11
24272888 \def\plainfrenchspacing{%
2428 \sfcode\dotChar =\@m \sfcode\questChar=\@m \sfcode\exclamChar=\@m
2429 \sfcode\colonChar=\@m \sfcode\semiChar =\@m \sfcode\commaChar =\@m
2889 \sfcode`\.=\@m \sfcode`\?=\@m \sfcode`\!=\@m
2890 \sfcode`\:=\@m \sfcode`\;=\@m \sfcode`\,=\@m
24302891 \def\endofsentencespacefactor{1000}% for @. and friends
24312892 }
24322893 \def\plainnonfrenchspacing{%
24392900
24402901 % @t, explicit typewriter.
24412902 \def\t#1{%
2442 {\tt \rawbackslash \plainfrenchspacing #1}%
2903 {\tt \plainfrenchspacing #1}%
24432904 \null
24442905 }
24452906
24662927 % Turn off hyphenation.
24672928 \nohyphenation
24682929 %
2469 \rawbackslash
24702930 \plainfrenchspacing
24712931 #1%
24722932 }%
24742934 }
24752935
24762936 % We *must* turn on hyphenation at `-' and `_' in @code.
2937 % (But see \codedashfinish below.)
24772938 % Otherwise, it is too hard to avoid overfull hboxes
24782939 % in the Emacs manual, the Library manual, etc.
24792940 %
24802941 % Unfortunately, TeX uses one parameter (\hyphenchar) to control
24812942 % both hyphenation at - and hyphenation within words.
24822943 % We must therefore turn them both off (\tclose does that)
2483 % and arrange explicitly to hyphenate at a dash.
2484 % -- rms.
2944 % and arrange explicitly to hyphenate at a dash. -- rms.
24852945 {
24862946 \catcode`\-=\active \catcode`\_=\active
24872947 \catcode`\'=\active \catcode`\`=\active
24982958 \let-\normaldash
24992959 \let_\realunder
25002960 \fi
2961 % Given -foo (with a single dash), we do not want to allow a break
2962 % after the hyphen.
2963 \global\let\codedashprev=\codedash
2964 %
25012965 \codex
25022966 }
2503 }
2504
2967 %
2968 \gdef\codedash{\futurelet\next\codedashfinish}
2969 \gdef\codedashfinish{%
2970 \normaldash % always output the dash character itself.
2971 %
2972 % Now, output a discretionary to allow a line break, unless
2973 % (a) the next character is a -, or
2974 % (b) the preceding character is a -.
2975 % E.g., given --posix, we do not want to allow a break after either -.
2976 % Given --foo-bar, we do want to allow a break between the - and the b.
2977 \ifx\next\codedash \else
2978 \ifx\codedashprev\codedash
2979 \else \discretionary{}{}{}\fi
2980 \fi
2981 % we need the space after the = for the case when \next itself is a
2982 % space token; it would get swallowed otherwise. As in @code{- a}.
2983 \global\let\codedashprev= \next
2984 }
2985 }
2986 \def\normaldash{-}
2987 %
25052988 \def\codex #1{\tclose{#1}\endgroup}
25062989
2507 \def\normaldash{-}
2508 \def\codedash{-\discretionary{}{}{}}
25092990 \def\codeunder{%
25102991 % this is all so @math{@code{var_name}+1} can work. In math mode, _
25112992 % is "active" (mathcode"8000) and \normalunderscore (or \char95, etc.)
25473028 \let\file=\code
25483029 \let\option=\code
25493030
2550 % @uref (abbreviation for `urlref') takes an optional (comma-separated)
2551 % second argument specifying the text to display and an optional third
2552 % arg as text to display instead of (rather than in addition to) the url
2553 % itself. First (mandatory) arg is the url.
2554 % (This \urefnobreak definition isn't used now, leaving it for a while
2555 % for comparison.)
2556 \def\urefnobreak#1{\dourefnobreak #1,,,\finish}
2557 \def\dourefnobreak#1,#2,#3,#4\finish{\begingroup
2558 \unsepspaces
2559 \pdfurl{#1}%
2560 \setbox0 = \hbox{\ignorespaces #3}%
2561 \ifdim\wd0 > 0pt
2562 \unhbox0 % third arg given, show only that
2563 \else
2564 \setbox0 = \hbox{\ignorespaces #2}%
2565 \ifdim\wd0 > 0pt
2566 \ifpdf
2567 \unhbox0 % PDF: 2nd arg given, show only it
2568 \else
2569 \unhbox0\ (\code{#1})% DVI: 2nd arg given, show both it and url
2570 \fi
2571 \else
2572 \code{#1}% only url given, so show it
2573 \fi
2574 \fi
2575 \endlink
2576 \endgroup}
2577
2578 % This \urefbreak definition is the active one.
2579 \def\urefbreak{\begingroup \urefcatcodes \dourefbreak}
3031 % @uref (abbreviation for `urlref') aka @url takes an optional
3032 % (comma-separated) second argument specifying the text to display and
3033 % an optional third arg as text to display instead of (rather than in
3034 % addition to) the url itself. First (mandatory) arg is the url.
3035
3036 % TeX-only option to allow changing PDF output to show only the second
3037 % arg (if given), and not the url (which is then just the link target).
3038 \newif\ifurefurlonlylink
3039
3040 % The default \pretolerance setting stops the penalty inserted in
3041 % \urefallowbreak being a discouragement to line breaking. Set it to
3042 % a negative value for this paragraph only. Hopefully this does not
3043 % conflict with redefinitions of \par done elsewhere.
3044 \def\nopretolerance{%
3045 \pretolerance=-1
3046 \def\par{\endgraf\pretolerance=100 \let\par\endgraf}%
3047 }
3048
3049 % The main macro is \urefbreak, which allows breaking at expected
3050 % places within the url.
3051 \def\urefbreak{\nopretolerance \begingroup \urefcatcodes \dourefbreak}
25803052 \let\uref=\urefbreak
3053 %
25813054 \def\dourefbreak#1{\urefbreakfinish #1,,,\finish}
25823055 \def\urefbreakfinish#1,#2,#3,#4\finish{% doesn't work in @example
25833056 \unsepspaces
25863059 \ifdim\wd0 > 0pt
25873060 \unhbox0 % third arg given, show only that
25883061 \else
2589 \setbox0 = \hbox{\ignorespaces #2}%
3062 \setbox0 = \hbox{\ignorespaces #2}% look for second arg
25903063 \ifdim\wd0 > 0pt
25913064 \ifpdf
2592 \unhbox0 % PDF: 2nd arg given, show only it
3065 % For pdfTeX and LuaTeX
3066 \ifurefurlonlylink
3067 % PDF plus option to not display url, show just arg
3068 \unhbox0
3069 \else
3070 % PDF, normally display both arg and url for consistency,
3071 % visibility, if the pdf is eventually used to print, etc.
3072 \unhbox0\ (\urefcode{#1})%
3073 \fi
25933074 \else
2594 \unhbox0\ (\urefcode{#1})% DVI: 2nd arg given, show both it and url
3075 \ifx\XeTeXrevision\thisisundefined
3076 \unhbox0\ (\urefcode{#1})% DVI, always show arg and url
3077 \else
3078 % For XeTeX
3079 \ifurefurlonlylink
3080 % PDF plus option to not display url, show just arg
3081 \unhbox0
3082 \else
3083 % PDF, normally display both arg and url for consistency,
3084 % visibility, if the pdf is eventually used to print, etc.
3085 \unhbox0\ (\urefcode{#1})%
3086 \fi
3087 \fi
25953088 \fi
25963089 \else
25973090 \urefcode{#1}% only url given, so show it
26023095
26033096 % Allow line breaks around only a few characters (only).
26043097 \def\urefcatcodes{%
2605 \catcode\ampChar=\active \catcode\dotChar=\active
2606 \catcode\hashChar=\active \catcode\questChar=\active
2607 \catcode\slashChar=\active
3098 \catcode`\&=\active \catcode`\.=\active
3099 \catcode`\#=\active \catcode`\?=\active
3100 \catcode`\/=\active
26083101 }
26093102 {
26103103 \urefcatcodes
26283121 \global\def/{\normalslash}
26293122 }
26303123
2631 % we put a little stretch before and after the breakable chars, to help
2632 % line breaking of long url's. The unequal skips make look better in
2633 % cmtt at least, especially for dots.
2634 \def\urefprestretch{\urefprebreak \hskip0pt plus.13em }
2635 \def\urefpoststretch{\urefpostbreak \hskip0pt plus.1em }
2636 %
2637 \def\urefcodeamp{\urefprestretch \&\urefpoststretch}
2638 \def\urefcodedot{\urefprestretch .\urefpoststretch}
2639 \def\urefcodehash{\urefprestretch \#\urefpoststretch}
2640 \def\urefcodequest{\urefprestretch ?\urefpoststretch}
3124 \def\urefcodeamp{\urefprebreak \&\urefpostbreak}
3125 \def\urefcodedot{\urefprebreak .\urefpostbreak}
3126 \def\urefcodehash{\urefprebreak \#\urefpostbreak}
3127 \def\urefcodequest{\urefprebreak ?\urefpostbreak}
26413128 \def\urefcodeslash{\futurelet\next\urefcodeslashfinish}
26423129 {
26433130 \catcode`\/=\active
26443131 \global\def\urefcodeslashfinish{%
2645 \urefprestretch \slashChar
3132 \urefprebreak \slashChar
26463133 % Allow line break only after the final / in a sequence of
26473134 % slashes, to avoid line break between the slashes in http://.
2648 \ifx\next/\else \urefpoststretch \fi
3135 \ifx\next/\else \urefpostbreak \fi
26493136 }
26503137 }
26513138
2652 % One more complication: by default we'll break after the special
2653 % characters, but some people like to break before the special chars, so
2654 % allow that. Also allow no breaking at all, for manual control.
2655 %
3139 % By default we'll break after the special characters, but some people like to
3140 % break before the special chars, so allow that. Also allow no breaking at
3141 % all, for manual control.
3142 %
26563143 \parseargdef\urefbreakstyle{%
26573144 \def\txiarg{#1}%
26583145 \ifx\txiarg\wordnone
26593146 \def\urefprebreak{\nobreak}\def\urefpostbreak{\nobreak}
26603147 \else\ifx\txiarg\wordbefore
2661 \def\urefprebreak{\allowbreak}\def\urefpostbreak{\nobreak}
3148 \def\urefprebreak{\urefallowbreak}\def\urefpostbreak{\nobreak}
26623149 \else\ifx\txiarg\wordafter
2663 \def\urefprebreak{\nobreak}\def\urefpostbreak{\allowbreak}
3150 \def\urefprebreak{\nobreak}\def\urefpostbreak{\urefallowbreak}
26643151 \else
26653152 \errhelp = \EMsimple
26663153 \errmessage{Unknown @urefbreakstyle setting `\txiarg'}%
26703157 \def\wordbefore{before}
26713158 \def\wordnone{none}
26723159
3160 % Allow a ragged right output to aid breaking long URL's. There can
3161 % be a break at the \allowbreak with no extra glue (if the existing stretch in
3162 % the line is sufficient), a break at the \penalty with extra glue added
3163 % at the end of the line, or no break at all here.
3164 % Changing the value of the penalty and/or the amount of stretch affects how
3165 % preferable one choice is over the other.
3166 \def\urefallowbreak{%
3167 \penalty0\relax
3168 \hskip 0pt plus 2 em\relax
3169 \penalty1000\relax
3170 \hskip 0pt plus -2 em\relax
3171 }
3172
26733173 \urefbreakstyle after
26743174
26753175 % @url synonym for @uref, since that's how everyone uses it.
26803180 % So now @email is just like @uref, unless we are pdf.
26813181 %
26823182 %\def\email#1{\angleleft{\tt #1}\angleright}
2683 \ifpdf
3183 \ifpdforxetex
26843184 \def\email#1{\doemail#1,,\finish}
26853185 \def\doemail#1,#2,#3\finish{\begingroup
26863186 \unsepspaces
27593259 %
27603260 \def\dmn#1{\thinspace #1}
27613261
2762 % @l was never documented to mean ``switch to the Lisp font'',
2763 % and it is not used as such in any manual I can find. We need it for
2764 % Polish suppressed-l. --karl, 22sep96.
2765 %\def\l#1{{\li #1}\null}
2766
27673262 % @acronym for "FBI", "NATO", and the like.
27683263 % We print this one point size smaller, since it's intended for
27693264 % all-uppercase.
27703265 %
27713266 \def\acronym#1{\doacronym #1,,\finish}
27723267 \def\doacronym#1,#2,#3\finish{%
2773 {\selectfonts\lsize #1}%
3268 {\switchtolsize #1}%
27743269 \def\temp{#2}%
27753270 \ifx\temp\empty \else
27763271 \space ({\unsepspaces \ignorespaces \temp \unskip})%
28163311 \def\mathbackslash{\ifnum\fam=\ttfam \mathchar"075C \else\backslash \fi}
28173312 %
28183313 \def\math{%
2819 \tex
2820 \mathunderscore
2821 \let\\ = \mathbackslash
2822 \mathactive
2823 % make the texinfo accent commands work in math mode
2824 \let\"=\ddot
2825 \let\'=\acute
2826 \let\==\bar
2827 \let\^=\hat
2828 \let\`=\grave
2829 \let\u=\breve
2830 \let\v=\check
2831 \let\~=\tilde
2832 \let\dotaccent=\dot
2833 $\finishmath
3314 \ifmmode\else % only go into math if not in math mode already
3315 \tex
3316 \mathunderscore
3317 \let\\ = \mathbackslash
3318 \mathactive
3319 % make the texinfo accent commands work in math mode
3320 \let\"=\ddot
3321 \let\'=\acute
3322 \let\==\bar
3323 \let\^=\hat
3324 \let\`=\grave
3325 \let\u=\breve
3326 \let\v=\check
3327 \let\~=\tilde
3328 \let\dotaccent=\dot
3329 % have to provide another name for sup operator
3330 \let\mathopsup=\sup
3331 $\expandafter\finishmath\fi
28343332 }
28353333 \def\finishmath#1{#1$\endgroup} % Close the group opened by \tex.
28363334
28533351 }
28543352 }
28553353
2856 % ctrl is no longer a Texinfo command, but leave this definition for fun.
2857 \def\ctrl #1{{\tt \rawbackslash \hat}#1}
3354 % for @sub and @sup, if in math mode, just do a normal sub/superscript.
3355 % If in text, use math to place as sub/superscript, but switch
3356 % into text mode, with smaller fonts. This is a different font than the
3357 % one used for real math sub/superscripts (8pt vs. 7pt), but let's not
3358 % fix it (significant additions to font machinery) until someone notices.
3359 %
3360 \def\sub{\ifmmode \expandafter\sb \else \expandafter\finishsub\fi}
3361 \def\finishsub#1{$\sb{\hbox{\switchtolllsize #1}}$}%
3362 %
3363 \def\sup{\ifmmode \expandafter\ptexsp \else \expandafter\finishsup\fi}
3364 \def\finishsup#1{$\ptexsp{\hbox{\switchtolllsize #1}}$}%
3365
3366 % provide this command from LaTeX as it is very common
3367 \def\frac#1#2{{{#1}\over{#2}}}
3368
3369 % @displaymath.
3370 % \globaldefs is needed to recognize the end lines in \tex and
3371 % \end tex. Set \thisenv as @end displaymath is seen before @end tex.
3372 {\obeylines
3373 \globaldefs=1
3374 \envdef\displaymath{%
3375 \tex
3376 \def\thisenv{\displaymath}%
3377 $$%
3378 }
3379
3380 \def\Edisplaymath{$$
3381 \def\thisenv{\tex}%
3382 \end tex
3383 }}
28583384
28593385 % @inlinefmt{FMTNAME,PROCESSED-TEXT} and @inlineraw{FMTNAME,RAW-TEXT}.
28603386 % Ignore unless FMTNAME == tex; then it is like @iftex and @tex,
28613387 % except specified as a normal braced arg, so no newlines to worry about.
2862 %
3388 %
28633389 \def\outfmtnametex{tex}
28643390 %
28653391 \long\def\inlinefmt#1{\doinlinefmt #1,\finish}
28673393 \def\inlinefmtname{#1}%
28683394 \ifx\inlinefmtname\outfmtnametex \ignorespaces #2\fi
28693395 }
3396 %
3397 % @inlinefmtifelse{FMTNAME,THEN-TEXT,ELSE-TEXT} expands THEN-TEXT if
3398 % FMTNAME is tex, else ELSE-TEXT.
3399 \long\def\inlinefmtifelse#1{\doinlinefmtifelse #1,,,\finish}
3400 \long\def\doinlinefmtifelse#1,#2,#3,#4,\finish{%
3401 \def\inlinefmtname{#1}%
3402 \ifx\inlinefmtname\outfmtnametex \ignorespaces #2\else \ignorespaces #3\fi
3403 }
3404 %
28703405 % For raw, must switch into @tex before parsing the argument, to avoid
28713406 % setting catcodes prematurely. Doing it this way means that, for
28723407 % example, @inlineraw{html, foo{bar} gets a parse error instead of being
28743409 % *right* brace they would have to use a command anyway, so they may as
28753410 % well use a command to get a left brace too. We could re-use the
28763411 % delimiter character idea from \verb, but it seems like overkill.
2877 %
3412 %
28783413 \long\def\inlineraw{\tex \doinlineraw}
28793414 \long\def\doinlineraw#1{\doinlinerawtwo #1,\finish}
28803415 \def\doinlinerawtwo#1,#2,\finish{%
28833418 \endgroup % close group opened by \tex.
28843419 }
28853420
3421 % @inlineifset{VAR, TEXT} expands TEXT if VAR is @set.
3422 %
3423 \long\def\inlineifset#1{\doinlineifset #1,\finish}
3424 \long\def\doinlineifset#1,#2,\finish{%
3425 \def\inlinevarname{#1}%
3426 \expandafter\ifx\csname SET\inlinevarname\endcsname\relax
3427 \else\ignorespaces#2\fi
3428 }
3429
3430 % @inlineifclear{VAR, TEXT} expands TEXT if VAR is not @set.
3431 %
3432 \long\def\inlineifclear#1{\doinlineifclear #1,\finish}
3433 \long\def\doinlineifclear#1,#2,\finish{%
3434 \def\inlinevarname{#1}%
3435 \expandafter\ifx\csname SET\inlinevarname\endcsname\relax \ignorespaces#2\fi
3436 }
3437
28863438
28873439 \message{glyphs,}
28883440 % and logos.
28923444 \let\atchar=\@
28933445
28943446 % @{ @} @lbracechar{} @rbracechar{} all generate brace characters.
2895 % Unless we're in typewriter, use \ecfont because the CM text fonts do
2896 % not have braces, and we don't want to switch into math.
2897 \def\mylbrace{{\ifmonospace\else\ecfont\fi \char123}}
2898 \def\myrbrace{{\ifmonospace\else\ecfont\fi \char125}}
2899 \let\{=\mylbrace \let\lbracechar=\{
2900 \let\}=\myrbrace \let\rbracechar=\}
2901 \begingroup
2902 % Definitions to produce \{ and \} commands for indices,
2903 % and @{ and @} for the aux/toc files.
2904 \catcode`\{ = \other \catcode`\} = \other
2905 \catcode`\[ = 1 \catcode`\] = 2
2906 \catcode`\! = 0 \catcode`\\ = \other
2907 !gdef!lbracecmd[\{]%
2908 !gdef!rbracecmd[\}]%
2909 !gdef!lbraceatcmd[@{]%
2910 !gdef!rbraceatcmd[@}]%
2911 !endgroup
3447 \def\lbracechar{{\ifmonospace\char123\else\ensuremath\lbrace\fi}}
3448 \def\rbracechar{{\ifmonospace\char125\else\ensuremath\rbrace\fi}}
3449 \let\{=\lbracechar
3450 \let\}=\rbracechar
29123451
29133452 % @comma{} to avoid , parsing problems.
29143453 \let\comma = ,
29263465 % Plain TeX defines: @AA @AE @O @OE @L (plus lowercase versions) @ss.
29273466 \def\questiondown{?`}
29283467 \def\exclamdown{!`}
2929 \def\ordf{\leavevmode\raise1ex\hbox{\selectfonts\lllsize \underbar{a}}}
2930 \def\ordm{\leavevmode\raise1ex\hbox{\selectfonts\lllsize \underbar{o}}}
3468 \def\ordf{\leavevmode\raise1ex\hbox{\switchtolllsize \underbar{a}}}
3469 \def\ordm{\leavevmode\raise1ex\hbox{\switchtolllsize \underbar{o}}}
29313470
29323471 % Dotless i and dotless j, used for accents.
29333472 \def\imacro{i}
29563495 {\setbox0=\hbox{T}%
29573496 \vbox to \ht0{\hbox{%
29583497 \ifx\textnominalsize\xwordpt
2959 % for 10pt running text, \lllsize (8pt) is too small for the A in LaTeX.
3498 % for 10pt running text, lllsize (8pt) is too small for the A in LaTeX.
29603499 % Revert to plain's \scriptsize, which is 7pt.
29613500 \count255=\the\fam $\fam\count255 \scriptstyle A$%
29623501 \else
29633502 % For 11pt, we can use our lllsize.
2964 \selectfonts\lllsize A%
3503 \switchtolllsize A%
29653504 \fi
29663505 }%
29673506 \vss
29703509 \TeX
29713510 }
29723511
2973 % Some math mode symbols.
2974 \def\bullet{$\ptexbullet$}
2975 \def\geq{\ifmmode \ge\else $\ge$\fi}
2976 \def\leq{\ifmmode \le\else $\le$\fi}
2977 \def\minus{\ifmmode -\else $-$\fi}
3512 % Some math mode symbols. Define \ensuremath to switch into math mode
3513 % unless we are already there. Expansion tricks may not be needed here,
3514 % but safer, and can't hurt.
3515 \def\ensuremath{\ifmmode \expandafter\asis \else\expandafter\ensuredmath \fi}
3516 \def\ensuredmath#1{$\relax#1$}
3517 %
3518 \def\bullet{\ensuremath\ptexbullet}
3519 \def\geq{\ensuremath\ge}
3520 \def\leq{\ensuremath\le}
3521 \def\minus{\ensuremath-}
29783522
29793523 % @dots{} outputs an ellipsis using the current font.
29803524 % We do .5em per period so that it has the same spacing in the cm
30223566 %
30233567 \newbox\errorbox
30243568 %
3025 {\tentt \global\dimen0 = 3em}% Width of the box.
3569 {\ttfont \global\dimen0 = 3em}% Width of the box.
30263570 \dimen2 = .55pt % Thickness of rules
30273571 % The text. (`r' is open on the right, `e' somewhat less so on the left.)
30283572 \setbox0 = \hbox{\kern-.75pt \reducedsf \putworderror\kern-1.5pt}
30423586
30433587 % @pounds{} is a sterling sign, which Knuth put in the CM italic font.
30443588 %
3045 \def\pounds{{\it\$}}
3589 \def\pounds{\ifmonospace{\ecfont\char"BF}\else{\it\$}\fi}
30463590
30473591 % @euro{} comes from a separate font, depending on the current style.
30483592 % We use the free feym* fonts from the eurosym package by Henrik
31383682 \def\Eogonek{{\ecfont \char"86}}\def\macrocharE{E}
31393683 \def\eogonek{{\ecfont \char"A6}}\def\macrochare{e}
31403684 %
3141 % Use the ec* fonts (cm-super in outline format) for non-CM glyphs.
3142 \def\ecfont{%
3685 % Use the European Computer Modern fonts (cm-super in outline format)
3686 % for non-CM glyphs. That is ec* for regular text and tc* for the text
3687 % companion symbols (LaTeX TS1 encoding). Both are part of the ec
3688 % package and follow the same conventions.
3689 %
3690 \def\ecfont{\etcfont{e}}
3691 \def\tcfont{\etcfont{t}}
3692 %
3693 \def\etcfont#1{%
31433694 % We can't distinguish serif/sans and italic/slanted, but this
31443695 % is used for crude hacks anyway (like adding French and German
31453696 % quotes to documents typeset with CM, where we lose kerning), so
31483699 \edef\nominalsize{\csname\curfontsize nominalsize\endcsname}%
31493700 \ifmonospace
31503701 % typewriter:
3151 \font\thisecfont = ectt\ecsize \space at \nominalsize
3702 \font\thisecfont = #1ctt\ecsize \space at \nominalsize
31523703 \else
31533704 \ifx\curfontstyle\bfstylename
31543705 % bold:
3155 \font\thisecfont = ecb\ifusingit{i}{x}\ecsize \space at \nominalsize
3706 \font\thisecfont = #1cb\ifusingit{i}{x}\ecsize \space at \nominalsize
31563707 \else
31573708 % regular:
3158 \font\thisecfont = ec\ifusingit{ti}{rm}\ecsize \space at \nominalsize
3709 \font\thisecfont = #1c\ifusingit{ti}{rm}\ecsize \space at \nominalsize
31593710 \fi
31603711 \fi
31613712 \thisecfont
31663717 % Adapted from the plain.tex definition of \copyright.
31673718 %
31683719 \def\registeredsymbol{%
3169 $^{{\ooalign{\hfil\raise.07ex\hbox{\selectfonts\lllsize R}%
3720 $^{{\ooalign{\hfil\raise.07ex\hbox{\switchtolllsize R}%
31703721 \hfil\crcr\Orb}}%
31713722 }$%
31723723 }
31843735 \fi
31853736
31863737 % Quotes.
3187 \chardef\quotedblleft="5C
3188 \chardef\quotedblright=`\"
31893738 \chardef\quoteleft=`\`
31903739 \chardef\quoteright=`\'
3740
3741 % only change font for tt for correct kerning and to avoid using
3742 % \ecfont unless necessary.
3743 \def\quotedblleft{%
3744 \ifmonospace{\ecfont\char"10}\else{\char"5C}\fi
3745 }
3746
3747 \def\quotedblright{%
3748 \ifmonospace{\ecfont\char"11}\else{\char`\"}\fi
3749 }
31913750
31923751
31933752 \message{page headings,}
31993758 \newif\ifseenauthor
32003759 \newif\iffinishedtitlepage
32013760
3202 % Do an implicit @contents or @shortcontents after @end titlepage if the
3203 % user says @setcontentsaftertitlepage or @setshortcontentsaftertitlepage.
3204 %
3205 \newif\ifsetcontentsaftertitlepage
3206 \let\setcontentsaftertitlepage = \setcontentsaftertitlepagetrue
3207 \newif\ifsetshortcontentsaftertitlepage
3208 \let\setshortcontentsaftertitlepage = \setshortcontentsaftertitlepagetrue
3761 % @setcontentsaftertitlepage used to do an implicit @contents or
3762 % @shortcontents after @end titlepage, but it is now obsolete.
3763 \def\setcontentsaftertitlepage{%
3764 \errmessage{@setcontentsaftertitlepage has been removed as a Texinfo
3765 command; move your @contents command if you want the contents
3766 after the title page.}}%
3767 \def\setshortcontentsaftertitlepage{%
3768 \errmessage{@setshortcontentsaftertitlepage has been removed as a Texinfo
3769 command; move your @shortcontents and @contents commands if you
3770 want the contents after the title page.}}%
32093771
32103772 \parseargdef\shorttitlepage{%
32113773 \begingroup \hbox{}\vskip 1.5in \chaprm \centerline{#1}%
32473809 % Need this before the \...aftertitlepage checks so that if they are
32483810 % in effect the toc pages will come out with page numbers.
32493811 \HEADINGSon
3250 %
3251 % If they want short, they certainly want long too.
3252 \ifsetshortcontentsaftertitlepage
3253 \shortcontents
3254 \contents
3255 \global\let\shortcontents = \relax
3256 \global\let\contents = \relax
3257 \fi
3258 %
3259 \ifsetcontentsaftertitlepage
3260 \contents
3261 \global\let\contents = \relax
3262 \global\let\shortcontents = \relax
3263 \fi
32643812 }
32653813
32663814 \def\finishtitlepage{%
32713819
32723820 % Settings used for typesetting titles: no hyphenation, no indentation,
32733821 % don't worry much about spacing, ragged right. This should be used
3274 % inside a \vbox, and fonts need to be set appropriately first. Because
3275 % it is always used for titles, nothing else, we call \rmisbold. \par
3276 % should be specified before the end of the \vbox, since a vbox is a group.
3277 %
3822 % inside a \vbox, and fonts need to be set appropriately first. \par should
3823 % be specified before the end of the \vbox, since a vbox is a group.
3824 %
32783825 \def\raggedtitlesettings{%
3279 \rmisbold
3826 \rm
32803827 \hyphenpenalty=10000
32813828 \parindent=0pt
32823829 \tolerance=5000
32853832
32863833 % Macros to be used within @titlepage:
32873834
3288 \let\subtitlerm=\tenrm
3835 \let\subtitlerm=\rmfont
32893836 \def\subtitlefont{\subtitlerm \normalbaselineskip = 13pt \normalbaselines}
32903837
32913838 \parseargdef\title{%
33113858 \else
33123859 \checkenv\titlepage
33133860 \ifseenauthor\else \vskip 0pt plus 1filll \seenauthortrue \fi
3314 {\secfonts\rmisbold \leftline{#1}}%
3861 {\secfonts\rm \leftline{#1}}%
33153862 \fi
33163863 }
33173864
33223869
33233870 \newtoks\evenheadline % headline on even pages
33243871 \newtoks\oddheadline % headline on odd pages
3872 \newtoks\evenchapheadline% headline on even pages with a new chapter
3873 \newtoks\oddchapheadline % headline on odd pages with a new chapter
33253874 \newtoks\evenfootline % footline on even pages
33263875 \newtoks\oddfootline % footline on odd pages
33273876
3328 % Now make TeX use those variables
3329 \headline={{\textfonts\rm \ifodd\pageno \the\oddheadline
3330 \else \the\evenheadline \fi}}
3877 % Now make \makeheadline and \makefootline in Plain TeX use those variables
3878 \headline={{\textfonts\rm
3879 \ifchapterpage
3880 \ifodd\pageno\the\oddchapheadline\else\the\evenchapheadline\fi
3881 \else
3882 \ifodd\pageno\the\oddheadline\else\the\evenheadline\fi
3883 \fi}}
3884
33313885 \footline={{\textfonts\rm \ifodd\pageno \the\oddfootline
33323886 \else \the\evenfootline \fi}\HEADINGShook}
33333887 \let\HEADINGShook=\relax
33433897 \def\evenheading{\parsearg\evenheadingxxx}
33443898 \def\evenheadingxxx #1{\evenheadingyyy #1\|\|\|\|\finish}
33453899 \def\evenheadingyyy #1\|#2\|#3\|#4\finish{%
3346 \global\evenheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}}}
3900 \global\evenheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}}
3901 \global\evenchapheadline=\evenheadline}
33473902
33483903 \def\oddheading{\parsearg\oddheadingxxx}
33493904 \def\oddheadingxxx #1{\oddheadingyyy #1\|\|\|\|\finish}
33503905 \def\oddheadingyyy #1\|#2\|#3\|#4\finish{%
3351 \global\oddheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}}}
3906 \global\oddheadline={\rlap{\centerline{#2}}\line{#1\hfil#3}}%
3907 \global\oddchapheadline=\oddheadline}
33523908
33533909 \parseargdef\everyheading{\oddheadingxxx{#1}\evenheadingxxx{#1}}%
33543910
33643920 %
33653921 % Leave some space for the footline. Hopefully ok to assume
33663922 % @evenfooting will not be used by itself.
3367 \global\advance\pageheight by -12pt
3923 \global\advance\txipageheight by -12pt
33683924 \global\advance\vsize by -12pt
33693925 }
33703926
33813937 % @everyheadingmarks
33823938 % @everyfootingmarks
33833939
3940 % These define \getoddheadingmarks, \getevenheadingmarks,
3941 % \getoddfootingmarks, and \getevenfootingmarks, each to one of
3942 % \gettopheadingmarks, \getbottomheadingmarks.
3943 %
33843944 \def\evenheadingmarks{\headingmarks{even}{heading}}
33853945 \def\oddheadingmarks{\headingmarks{odd}{heading}}
33863946 \def\evenfootingmarks{\headingmarks{even}{footing}}
33873947 \def\oddfootingmarks{\headingmarks{odd}{footing}}
3388 \def\everyheadingmarks#1 {\headingmarks{even}{heading}{#1}
3948 \parseargdef\everyheadingmarks{\headingmarks{even}{heading}{#1}
33893949 \headingmarks{odd}{heading}{#1} }
3390 \def\everyfootingmarks#1 {\headingmarks{even}{footing}{#1}
3950 \parseargdef\everyfootingmarks{\headingmarks{even}{footing}{#1}
33913951 \headingmarks{odd}{footing}{#1} }
33923952 % #1 = even/odd, #2 = heading/footing, #3 = top/bottom.
33933953 \def\headingmarks#1#2#3 {%
34083968 % By default, they are off at the start of a document,
34093969 % and turned `on' after @end titlepage.
34103970
3411 \def\headings #1 {\csname HEADINGS#1\endcsname}
3971 \parseargdef\headings{\csname HEADINGS#1\endcsname}
34123972
34133973 \def\headingsoff{% non-global headings elimination
3414 \evenheadline={\hfil}\evenfootline={\hfil}%
3415 \oddheadline={\hfil}\oddfootline={\hfil}%
3974 \evenheadline={\hfil}\evenfootline={\hfil}\evenchapheadline={\hfil}%
3975 \oddheadline={\hfil}\oddfootline={\hfil}\oddchapheadline={\hfil}%
34163976 }
34173977
34183978 \def\HEADINGSoff{{\globaldefs=1 \headingsoff}} % global setting
34193979 \HEADINGSoff % it's the default
34203980
34213981 % When we turn headings on, set the page number to 1.
3982 \def\pageone{
3983 \global\pageno=1
3984 \global\arabiccount = \pagecount
3985 }
3986
34223987 % For double-sided printing, put current file name in lower left corner,
34233988 % chapter name on inside top of right hand pages, document
34243989 % title on inside top of left hand pages, and page numbers on outside top
34253990 % edge of all pages.
34263991 \def\HEADINGSdouble{%
3427 \global\pageno=1
3428 \global\evenfootline={\hfil}
3429 \global\oddfootline={\hfil}
3430 \global\evenheadline={\line{\folio\hfil\thistitle}}
3431 \global\oddheadline={\line{\thischapter\hfil\folio}}
3432 \global\let\contentsalignmacro = \chapoddpage
3992 \pageone
3993 \HEADINGSdoublex
34333994 }
34343995 \let\contentsalignmacro = \chappager
34353996
34363997 % For single-sided printing, chapter title goes across top left of page,
34373998 % page number on top right.
34383999 \def\HEADINGSsingle{%
3439 \global\pageno=1
3440 \global\evenfootline={\hfil}
3441 \global\oddfootline={\hfil}
3442 \global\evenheadline={\line{\thischapter\hfil\folio}}
3443 \global\oddheadline={\line{\thischapter\hfil\folio}}
3444 \global\let\contentsalignmacro = \chappager
4000 \pageone
4001 \HEADINGSsinglex
34454002 }
34464003 \def\HEADINGSon{\HEADINGSdouble}
34474004
34524009 \global\oddfootline={\hfil}
34534010 \global\evenheadline={\line{\folio\hfil\thistitle}}
34544011 \global\oddheadline={\line{\thischapter\hfil\folio}}
4012 \global\evenchapheadline={\line{\folio\hfil}}
4013 \global\oddchapheadline={\line{\hfil\folio}}
34554014 \global\let\contentsalignmacro = \chapoddpage
34564015 }
34574016
34614020 \global\oddfootline={\hfil}
34624021 \global\evenheadline={\line{\thischapter\hfil\folio}}
34634022 \global\oddheadline={\line{\thischapter\hfil\folio}}
4023 \global\evenchapheadline={\line{\hfil\folio}}
4024 \global\oddchapheadline={\line{\hfil\folio}}
4025 \global\let\contentsalignmacro = \chappager
4026 }
4027
4028 % for @setchapternewpage off
4029 \def\HEADINGSsinglechapoff{%
4030 \pageone
4031 \global\evenfootline={\hfil}
4032 \global\oddfootline={\hfil}
4033 \global\evenheadline={\line{\thischapter\hfil\folio}}
4034 \global\oddheadline={\line{\thischapter\hfil\folio}}
4035 \global\evenchapheadline=\evenheadline
4036 \global\oddchapheadline=\oddheadline
34644037 \global\let\contentsalignmacro = \chappager
34654038 }
34664039
36384211 \parskip=\smallskipamount
36394212 \ifdim\parskip=0pt \parskip=2pt \fi
36404213 %
3641 % Try typesetting the item mark that if the document erroneously says
4214 % Try typesetting the item mark so that if the document erroneously says
36424215 % something like @itemize @samp (intending @table), there's an error
36434216 % right away at the @itemize. It's not the best error message in the
36444217 % world, but it's better than leaving it to the @item. This means if
36704243 \noindent
36714244 \hbox to 0pt{\hss \itemcontents \kern\itemmargin}%
36724245 %
3673 \vadjust{\penalty 1200}}% not good to break after first line of item.
4246 \ifinner\else
4247 \vadjust{\penalty 1200}% not good to break after first line of item.
4248 \fi
4249 % We can be in inner vertical mode in a footnote, although an
4250 % @itemize looks awful there.
4251 }%
36744252 \flushcr
36754253 }
36764254
38894467
38904468 % multitable-only commands.
38914469 %
3892 % @headitem starts a heading row, which we typeset in bold.
3893 % Assignments have to be global since we are inside the implicit group
3894 % of an alignment entry. \everycr resets \everytab so we don't have to
4470 % @headitem starts a heading row, which we typeset in bold. Assignments
4471 % have to be global since we are inside the implicit group of an
4472 % alignment entry. \everycr below resets \everytab so we don't have to
38954473 % undo it ourselves.
38964474 \def\headitemfont{\b}% for people to use in the template row; not changeable
38974475 \def\headitem{%
38984476 \checkenv\multitable
38994477 \crcr
4478 \gdef\headitemcrhook{\nobreak}% attempt to avoid page break after headings
39004479 \global\everytab={\bf}% can't use \headitemfont since the parsing differs
39014480 \the\everytab % for the first item
39024481 }%
4482 %
4483 % default for tables with no headings.
4484 \let\headitemcrhook=\relax
39034485 %
39044486 % A \tab used to include \hskip1sp. But then the space in a template
39054487 % line is not enough. That is bad. So let's go back to just `&' until
39314513 %
39324514 \everycr = {%
39334515 \noalign{%
3934 \global\everytab={}%
4516 \global\everytab={}% Reset from possible headitem.
39354517 \global\colcount=0 % Reset the column counter.
3936 % Check for saved footnotes, etc.
4518 %
4519 % Check for saved footnotes, etc.:
39374520 \checkinserts
3938 % Keeps underfull box messages off when table breaks over pages.
3939 %\filbreak
3940 % Maybe so, but it also creates really weird page breaks when the
3941 % table breaks over pages. Wouldn't \vfil be better? Wait until the
3942 % problem manifests itself, so it can be fixed for real --karl.
4521 %
4522 % Perhaps a \nobreak, then reset:
4523 \headitemcrhook
4524 \global\let\headitemcrhook=\relax
39434525 }%
39444526 }%
39454527 %
41784760 \def\value{\begingroup\makevalueexpandable\valuexxx}
41794761 \def\valuexxx#1{\expandablevalue{#1}\endgroup}
41804762 {
4181 \catcode`\- = \active \catcode`\_ = \active
4763 \catcode`\-=\active \catcode`\_=\active
41824764 %
41834765 \gdef\makevalueexpandable{%
41844766 \let\value = \expandablevalue
41914773 }
41924774 }
41934775
4194 % We have this subroutine so that we can handle at least some @value's
4195 % properly in indexes (we call \makevalueexpandable in \indexdummies).
4196 % The command has to be fully expandable (if the variable is set), since
4197 % the result winds up in the index file. This means that if the
4198 % variable's value contains other Texinfo commands, it's almost certain
4199 % it will fail (although perhaps we could fix that with sufficient work
4200 % to do a one-level expansion on the result, instead of complete).
4201 %
42024776 \def\expandablevalue#1{%
42034777 \expandafter\ifx\csname SET#1\endcsname\relax
42044778 {[No value for ``#1'']}%
42084782 \fi
42094783 }
42104784
4785 % Like \expandablevalue, but completely expandable (the \message in the
4786 % definition above operates at the execution level of TeX). Used when
4787 % writing to auxiliary files, due to the expansion that \write does.
4788 % If flag is undefined, pass through an unexpanded @value command: maybe it
4789 % will be set by the time it is read back in.
4790 %
4791 % NB flag names containing - or _ may not work here.
4792 \def\dummyvalue#1{%
4793 \expandafter\ifx\csname SET#1\endcsname\relax
4794 \string\value{#1}%
4795 \else
4796 \csname SET#1\endcsname
4797 \fi
4798 }
4799
4800 % Used for @value's in index entries to form the sort key: expand the @value
4801 % if possible, otherwise sort late.
4802 \def\indexnofontsvalue#1{%
4803 \expandafter\ifx\csname SET#1\endcsname\relax
4804 ZZZZZZZ%
4805 \else
4806 \csname SET#1\endcsname
4807 \fi
4808 }
4809
42114810 % @ifset VAR ... @end ifset reads the `...' iff VAR has been defined
42124811 % with @set.
42134812 %
4214 % To get special treatment of `@end ifset,' call \makeond and the redefine.
4813 % To get the special treatment we need for `@end ifset,' we call
4814 % \makecond and then redefine.
42154815 %
42164816 \makecond{ifset}
42174817 \def\ifset{\parsearg{\doifset{\let\next=\ifsetfail}}}
42424842 % without the @) is in fact defined. We can only feasibly check at the
42434843 % TeX level, so something like `mathcode' is going to considered
42444844 % defined even though it is not a Texinfo command.
4245 %
4845 %
42464846 \makecond{ifcommanddefined}
42474847 \def\ifcommanddefined{\parsearg{\doifcmddefined{\let\next=\ifcmddefinedfail}}}
42484848 %
42824882 % except not \outer, so it can be used within macros and \if's.
42834883 \edef\newwrite{\makecsname{ptexnewwrite}}
42844884
4285 % \newindex {foo} defines an index named foo.
4286 % It automatically defines \fooindex such that
4287 % \fooindex ...rest of line... puts an entry in the index foo.
4288 % It also defines \fooindfile to be the number of the output channel for
4289 % the file that accumulates this index. The file's extension is foo.
4885 % \newindex {foo} defines an index named IX.
4886 % It automatically defines \IXindex such that
4887 % \IXindex ...rest of line... puts an entry in the index IX.
4888 % It also defines \IXindfile to be the number of the output channel for
4889 % the file that accumulates this index. The file's extension is IX.
42904890 % The name of an index should be no more than 2 characters long
42914891 % for the sake of vms.
42924892 %
42934893 \def\newindex#1{%
4294 \iflinks
4295 \expandafter\newwrite \csname#1indfile\endcsname
4296 \openout \csname#1indfile\endcsname \jobname.#1 % Open the file
4297 \fi
4894 \expandafter\chardef\csname#1indfile\endcsname=0
42984895 \expandafter\xdef\csname#1index\endcsname{% % Define @#1index
42994896 \noexpand\doindex{#1}}
43004897 }
43084905 \def\defcodeindex{\parsearg\newcodeindex}
43094906 %
43104907 \def\newcodeindex#1{%
4311 \iflinks
4312 \expandafter\newwrite \csname#1indfile\endcsname
4313 \openout \csname#1indfile\endcsname \jobname.#1
4314 \fi
4908 \expandafter\chardef\csname#1indfile\endcsname=0
43154909 \expandafter\xdef\csname#1index\endcsname{%
43164910 \noexpand\docodeindex{#1}}%
43174911 }
4912
4913 % The default indices:
4914 \newindex{cp}% concepts,
4915 \newcodeindex{fn}% functions,
4916 \newcodeindex{vr}% variables,
4917 \newcodeindex{tp}% types,
4918 \newcodeindex{ky}% keys
4919 \newcodeindex{pg}% and programs.
43184920
43194921
43204922 % @synindex foo bar makes index foo feed into index bar.
43294931 % #1 is \doindex or \docodeindex, #2 the index getting redefined (foo),
43304932 % #3 the target index (bar).
43314933 \def\dosynindex#1#2#3{%
4332 % Only do \closeout if we haven't already done it, else we'll end up
4333 % closing the target index.
4334 \expandafter \ifx\csname donesynindex#2\endcsname \relax
4335 % The \closeout helps reduce unnecessary open files; the limit on the
4336 % Acorn RISC OS is a mere 16 files.
4337 \expandafter\closeout\csname#2indfile\endcsname
4338 \expandafter\let\csname donesynindex#2\endcsname = 1
4339 \fi
4934 \requireopenindexfile{#3}%
43404935 % redefine \fooindfile:
43414936 \expandafter\let\expandafter\temp\expandafter=\csname#3indfile\endcsname
43424937 \expandafter\let\csname#2indfile\endcsname=\temp
43444939 \expandafter\xdef\csname#2index\endcsname{\noexpand#1{#3}}%
43454940 }
43464941
4347 % Define \doindex, the driver for all \fooindex macros.
4942 % Define \doindex, the driver for all index macros.
43484943 % Argument #1 is generated by the calling \fooindex macro,
4349 % and it is "foo", the name of the index.
4350
4351 % \doindex just uses \parsearg; it calls \doind for the actual work.
4352 % This is because \doind is more useful to call from other macros.
4353
4354 % There is also \dosubind {index}{topic}{subtopic}
4355 % which makes an entry in a two-level index such as the operation index.
4356
4357 \def\doindex#1{\edef\indexname{#1}\parsearg\singleindexer}
4358 \def\singleindexer #1{\doind{\indexname}{#1}}
4944 % and it is the two-letter name of the index.
4945
4946 \def\doindex#1{\edef\indexname{#1}\parsearg\doindexxxx}
4947 \def\doindexxxx #1{\doind{\indexname}{#1}}
43594948
43604949 % like the previous two, but they put @code around the argument.
4361 \def\docodeindex#1{\edef\indexname{#1}\parsearg\singlecodeindexer}
4362 \def\singlecodeindexer #1{\doind{\indexname}{\code{#1}}}
4363
4364 % Take care of Texinfo commands that can appear in an index entry.
4365 % Since there are some commands we want to expand, and others we don't,
4366 % we have to laboriously prevent expansion for those that we don't.
4367 %
4368 \def\indexdummies{%
4369 \escapechar = `\\ % use backslash in output files.
4370 \def\@{@}% change to @@ when we switch to @ as escape char in index files.
4371 \def\ {\realbackslash\space }%
4372 %
4373 % Need these unexpandable (because we define \tt as a dummy)
4374 % definitions when @{ or @} appear in index entry text. Also, more
4375 % complicated, when \tex is in effect and \{ is a \delimiter again.
4376 % We can't use \lbracecmd and \rbracecmd because texindex assumes
4377 % braces and backslashes are used only as delimiters. Perhaps we
4378 % should define @lbrace and @rbrace commands a la @comma.
4379 \def\{{{\tt\char123}}%
4380 \def\}{{\tt\char125}}%
4381 %
4382 % I don't entirely understand this, but when an index entry is
4383 % generated from a macro call, the \endinput which \scanmacro inserts
4384 % causes processing to be prematurely terminated. This is,
4385 % apparently, because \indexsorttmp is fully expanded, and \endinput
4386 % is an expandable command. The redefinition below makes \endinput
4387 % disappear altogether for that purpose -- although logging shows that
4388 % processing continues to some further point. On the other hand, it
4389 % seems \endinput does not hurt in the printed index arg, since that
4390 % is still getting written without apparent harm.
4391 %
4392 % Sample source (mac-idx3.tex, reported by Graham Percival to
4393 % help-texinfo, 22may06):
4394 % @macro funindex {WORD}
4395 % @findex xyz
4396 % @end macro
4397 % ...
4398 % @funindex commtest
4399 %
4400 % The above is not enough to reproduce the bug, but it gives the flavor.
4401 %
4402 % Sample whatsit resulting:
4403 % .@write3{\entry{xyz}{@folio }{@code {xyz@endinput }}}
4404 %
4405 % So:
4406 \let\endinput = \empty
4950 \def\docodeindex#1{\edef\indexname{#1}\parsearg\docodeindexxxx}
4951 \def\docodeindexxxx #1{\docind{\indexname}{#1}}
4952
4953
4954 % Used for the aux, toc and index files to prevent expansion of Texinfo
4955 % commands.
4956 %
4957 \def\atdummies{%
4958 \definedummyletter\@%
4959 \definedummyletter\ %
4960 \definedummyletter\{%
4961 \definedummyletter\}%
4962 \definedummyletter\&%
44074963 %
44084964 % Do the redefinitions.
4409 \commondummies
4410 }
4411
4412 % For the aux and toc files, @ is the escape character. So we want to
4413 % redefine everything using @ as the escape character (instead of
4414 % \realbackslash, still used for index files). When everything uses @,
4415 % this will be simpler.
4416 %
4417 \def\atdummies{%
4418 \def\@{@@}%
4419 \def\ {@ }%
4420 \let\{ = \lbraceatcmd
4421 \let\} = \rbraceatcmd
4422 %
4423 % Do the redefinitions.
4424 \commondummies
4965 \definedummies
44254966 \otherbackslash
44264967 }
44274968
4428 % Called from \indexdummies and \atdummies.
4429 %
4430 \def\commondummies{%
4431 %
4432 % \definedummyword defines \#1 as \string\#1\space, thus effectively
4433 % preventing its expansion. This is used only for control words,
4434 % not control letters, because the \space would be incorrect for
4435 % control characters, but is needed to separate the control word
4436 % from whatever follows.
4437 %
4438 % For control letters, we have \definedummyletter, which omits the
4439 % space.
4440 %
4441 % These can be used both for control words that take an argument and
4442 % those that do not. If it is followed by {arg} in the input, then
4443 % that will dutifully get written to the index (or wherever).
4444 %
4445 \def\definedummyword ##1{\def##1{\string##1\space}}%
4446 \def\definedummyletter##1{\def##1{\string##1}}%
4447 \let\definedummyaccent\definedummyletter
4448 %
4969 % \definedummyword defines \#1 as \string\#1\space, thus effectively
4970 % preventing its expansion. This is used only for control words,
4971 % not control letters, because the \space would be incorrect for
4972 % control characters, but is needed to separate the control word
4973 % from whatever follows.
4974 %
4975 % These can be used both for control words that take an argument and
4976 % those that do not. If it is followed by {arg} in the input, then
4977 % that will dutifully get written to the index (or wherever).
4978 %
4979 % For control letters, we have \definedummyletter, which omits the
4980 % space.
4981 %
4982 \def\definedummyword #1{\def#1{\string#1\space}}%
4983 \def\definedummyletter#1{\def#1{\string#1}}%
4984 \let\definedummyaccent\definedummyletter
4985
4986 % Called from \atdummies to prevent the expansion of commands.
4987 %
4988 \def\definedummies{%
4989 %
4990 \let\commondummyword\definedummyword
4991 \let\commondummyletter\definedummyletter
4992 \let\commondummyaccent\definedummyaccent
44494993 \commondummiesnofonts
44504994 %
44514995 \definedummyletter\_%
44865030 \definedummyword\TeX
44875031 %
44885032 % Assorted special characters.
5033 \definedummyword\ampchar
5034 \definedummyword\atchar
44895035 \definedummyword\arrow
5036 \definedummyword\backslashchar
44905037 \definedummyword\bullet
44915038 \definedummyword\comma
44925039 \definedummyword\copyright
45055052 \definedummyword\guilsinglright
45065053 \definedummyword\lbracechar
45075054 \definedummyword\leq
5055 \definedummyword\mathopsup
45085056 \definedummyword\minus
45095057 \definedummyword\ogonek
45105058 \definedummyword\pounds
45185066 \definedummyword\quotesinglbase
45195067 \definedummyword\rbracechar
45205068 \definedummyword\result
5069 \definedummyword\sub
5070 \definedummyword\sup
45215071 \definedummyword\textdegree
5072 %
5073 \definedummyword\subentry
45225074 %
45235075 % We want to disable all macros so that they are not expanded by \write.
45245076 \macrolist
5077 \let\value\dummyvalue
45255078 %
45265079 \normalturnoffactive
4527 %
4528 % Handle some cases of @value -- where it does not contain any
4529 % (non-fully-expandable) commands.
4530 \makevalueexpandable
4531 }
4532
4533 % \commondummiesnofonts: common to \commondummies and \indexnofonts.
5080 }
5081
5082 % \commondummiesnofonts: common to \definedummies and \indexnofonts.
5083 % Define \commondummyletter, \commondummyaccent and \commondummyword before
5084 % using. Used for accents, font commands, and various control letters.
45345085 %
45355086 \def\commondummiesnofonts{%
45365087 % Control letters and accents.
4537 \definedummyletter\!%
4538 \definedummyaccent\"%
4539 \definedummyaccent\'%
4540 \definedummyletter\*%
4541 \definedummyaccent\,%
4542 \definedummyletter\.%
4543 \definedummyletter\/%
4544 \definedummyletter\:%
4545 \definedummyaccent\=%
4546 \definedummyletter\?%
4547 \definedummyaccent\^%
4548 \definedummyaccent\`%
4549 \definedummyaccent\~%
4550 \definedummyword\u
4551 \definedummyword\v
4552 \definedummyword\H
4553 \definedummyword\dotaccent
4554 \definedummyword\ogonek
4555 \definedummyword\ringaccent
4556 \definedummyword\tieaccent
4557 \definedummyword\ubaraccent
4558 \definedummyword\udotaccent
4559 \definedummyword\dotless
5088 \commondummyletter\!%
5089 \commondummyaccent\"%
5090 \commondummyaccent\'%
5091 \commondummyletter\*%
5092 \commondummyaccent\,%
5093 \commondummyletter\.%
5094 \commondummyletter\/%
5095 \commondummyletter\:%
5096 \commondummyaccent\=%
5097 \commondummyletter\?%
5098 \commondummyaccent\^%
5099 \commondummyaccent\`%
5100 \commondummyaccent\~%
5101 \commondummyword\u
5102 \commondummyword\v
5103 \commondummyword\H
5104 \commondummyword\dotaccent
5105 \commondummyword\ogonek
5106 \commondummyword\ringaccent
5107 \commondummyword\tieaccent
5108 \commondummyword\ubaraccent
5109 \commondummyword\udotaccent
5110 \commondummyword\dotless
45605111 %
45615112 % Texinfo font commands.
4562 \definedummyword\b
4563 \definedummyword\i
4564 \definedummyword\r
4565 \definedummyword\sansserif
4566 \definedummyword\sc
4567 \definedummyword\slanted
4568 \definedummyword\t
5113 \commondummyword\b
5114 \commondummyword\i
5115 \commondummyword\r
5116 \commondummyword\sansserif
5117 \commondummyword\sc
5118 \commondummyword\slanted
5119 \commondummyword\t
45695120 %
45705121 % Commands that take arguments.
4571 \definedummyword\abbr
4572 \definedummyword\acronym
4573 \definedummyword\anchor
4574 \definedummyword\cite
4575 \definedummyword\code
4576 \definedummyword\command
4577 \definedummyword\dfn
4578 \definedummyword\dmn
4579 \definedummyword\email
4580 \definedummyword\emph
4581 \definedummyword\env
4582 \definedummyword\file
4583 \definedummyword\image
4584 \definedummyword\indicateurl
4585 \definedummyword\inforef
4586 \definedummyword\kbd
4587 \definedummyword\key
4588 \definedummyword\math
4589 \definedummyword\option
4590 \definedummyword\pxref
4591 \definedummyword\ref
4592 \definedummyword\samp
4593 \definedummyword\strong
4594 \definedummyword\tie
4595 \definedummyword\uref
4596 \definedummyword\url
4597 \definedummyword\var
4598 \definedummyword\verb
4599 \definedummyword\w
4600 \definedummyword\xref
4601 }
5122 \commondummyword\abbr
5123 \commondummyword\acronym
5124 \commondummyword\anchor
5125 \commondummyword\cite
5126 \commondummyword\code
5127 \commondummyword\command
5128 \commondummyword\dfn
5129 \commondummyword\dmn
5130 \commondummyword\email
5131 \commondummyword\emph
5132 \commondummyword\env
5133 \commondummyword\file
5134 \commondummyword\image
5135 \commondummyword\indicateurl
5136 \commondummyword\inforef
5137 \commondummyword\kbd
5138 \commondummyword\key
5139 \commondummyword\math
5140 \commondummyword\option
5141 \commondummyword\pxref
5142 \commondummyword\ref
5143 \commondummyword\samp
5144 \commondummyword\strong
5145 \commondummyword\tie
5146 \commondummyword\U
5147 \commondummyword\uref
5148 \commondummyword\url
5149 \commondummyword\var
5150 \commondummyword\verb
5151 \commondummyword\w
5152 \commondummyword\xref
5153 }
5154
5155 \let\indexlbrace\relax
5156 \let\indexrbrace\relax
5157 \let\indexatchar\relax
5158 \let\indexbackslash\relax
5159
5160 {\catcode`\@=0
5161 \catcode`\\=13
5162 @gdef@backslashdisappear{@def\{}}
5163 }
5164
5165 {
5166 \catcode`\<=13
5167 \catcode`\-=13
5168 \catcode`\`=13
5169 \gdef\indexnonalnumdisappear{%
5170 \expandafter\ifx\csname SETtxiindexlquoteignore\endcsname\relax\else
5171 % @set txiindexlquoteignore makes us ignore left quotes in the sort term.
5172 % (Introduced for FSFS 2nd ed.)
5173 \let`=\empty
5174 \fi
5175 %
5176 \expandafter\ifx\csname SETtxiindexbackslashignore\endcsname\relax\else
5177 \backslashdisappear
5178 \fi
5179 %
5180 \expandafter\ifx\csname SETtxiindexhyphenignore\endcsname\relax\else
5181 \def-{}%
5182 \fi
5183 \expandafter\ifx\csname SETtxiindexlessthanignore\endcsname\relax\else
5184 \def<{}%
5185 \fi
5186 \expandafter\ifx\csname SETtxiindexatsignignore\endcsname\relax\else
5187 \def\@{}%
5188 \fi
5189 }
5190
5191 \gdef\indexnonalnumreappear{%
5192 \let-\normaldash
5193 \let<\normalless
5194 }
5195 }
5196
46025197
46035198 % \indexnofonts is used when outputting the strings to sort the index
46045199 % by, and when constructing control sequence names. It eliminates all
46075202 %
46085203 \def\indexnofonts{%
46095204 % Accent commands should become @asis.
4610 \def\definedummyaccent##1{\let##1\asis}%
5205 \def\commondummyaccent##1{\let##1\asis}%
46115206 % We can just ignore other control letters.
4612 \def\definedummyletter##1{\let##1\empty}%
5207 \def\commondummyletter##1{\let##1\empty}%
46135208 % All control words become @asis by default; overrides below.
4614 \let\definedummyword\definedummyaccent
4615 %
5209 \let\commondummyword\commondummyaccent
46165210 \commondummiesnofonts
46175211 %
46185212 % Don't no-op \tt, since it isn't a user-level command
46255219 \def\_{\normalunderscore}%
46265220 \def\-{}% @- shouldn't affect sorting
46275221 %
4628 % Unfortunately, texindex is not prepared to handle braces in the
4629 % content at all. So for index sorting, we map @{ and @} to strings
4630 % starting with |, since that ASCII character is between ASCII { and }.
4631 \def\{{|a}%
4632 \def\lbracechar{|a}%
4633 %
4634 \def\}{|b}%
4635 \def\rbracechar{|b}%
5222 \uccode`\1=`\{ \uppercase{\def\{{1}}%
5223 \uccode`\1=`\} \uppercase{\def\}{1}}%
5224 \let\lbracechar\{%
5225 \let\rbracechar\}%
5226 %
5227 %
5228 \let\do\indexnofontsdef
46365229 %
46375230 % Non-English letters.
4638 \def\AA{AA}%
4639 \def\AE{AE}%
4640 \def\DH{DZZ}%
4641 \def\L{L}%
4642 \def\OE{OE}%
4643 \def\O{O}%
4644 \def\TH{ZZZ}%
4645 \def\aa{aa}%
4646 \def\ae{ae}%
4647 \def\dh{dzz}%
4648 \def\exclamdown{!}%
4649 \def\l{l}%
4650 \def\oe{oe}%
4651 \def\ordf{a}%
4652 \def\ordm{o}%
4653 \def\o{o}%
4654 \def\questiondown{?}%
4655 \def\ss{ss}%
4656 \def\th{zzz}%
4657 %
4658 \def\LaTeX{LaTeX}%
4659 \def\TeX{TeX}%
5231 \do\AA{AA}%
5232 \do\AE{AE}%
5233 \do\DH{DZZ}%
5234 \do\L{L}%
5235 \do\OE{OE}%
5236 \do\O{O}%
5237 \do\TH{TH}%
5238 \do\aa{aa}%
5239 \do\ae{ae}%
5240 \do\dh{dzz}%
5241 \do\exclamdown{!}%
5242 \do\l{l}%
5243 \do\oe{oe}%
5244 \do\ordf{a}%
5245 \do\ordm{o}%
5246 \do\o{o}%
5247 \do\questiondown{?}%
5248 \do\ss{ss}%
5249 \do\th{th}%
5250 %
5251 \do\LaTeX{LaTeX}%
5252 \do\TeX{TeX}%
46605253 %
46615254 % Assorted special characters.
4662 % (The following {} will end up in the sort string, but that's ok.)
4663 \def\arrow{->}%
4664 \def\bullet{bullet}%
4665 \def\comma{,}%
4666 \def\copyright{copyright}%
4667 \def\dots{...}%
4668 \def\enddots{...}%
4669 \def\equiv{==}%
4670 \def\error{error}%
4671 \def\euro{euro}%
4672 \def\expansion{==>}%
4673 \def\geq{>=}%
4674 \def\guillemetleft{<<}%
4675 \def\guillemetright{>>}%
4676 \def\guilsinglleft{<}%
4677 \def\guilsinglright{>}%
4678 \def\leq{<=}%
4679 \def\minus{-}%
4680 \def\point{.}%
4681 \def\pounds{pounds}%
4682 \def\print{-|}%
4683 \def\quotedblbase{"}%
4684 \def\quotedblleft{"}%
4685 \def\quotedblright{"}%
4686 \def\quoteleft{`}%
4687 \def\quoteright{'}%
4688 \def\quotesinglbase{,}%
4689 \def\registeredsymbol{R}%
4690 \def\result{=>}%
4691 \def\textdegree{o}%
4692 %
4693 \expandafter\ifx\csname SETtxiindexlquoteignore\endcsname\relax
4694 \else \indexlquoteignore \fi
5255 \do\atchar{@}%
5256 \do\arrow{->}%
5257 \do\bullet{bullet}%
5258 \do\comma{,}%
5259 \do\copyright{copyright}%
5260 \do\dots{...}%
5261 \do\enddots{...}%
5262 \do\equiv{==}%
5263 \do\error{error}%
5264 \do\euro{euro}%
5265 \do\expansion{==>}%
5266 \do\geq{>=}%
5267 \do\guillemetleft{<<}%
5268 \do\guillemetright{>>}%
5269 \do\guilsinglleft{<}%
5270 \do\guilsinglright{>}%
5271 \do\leq{<=}%
5272 \do\lbracechar{\{}%
5273 \do\minus{-}%
5274 \do\point{.}%
5275 \do\pounds{pounds}%
5276 \do\print{-|}%
5277 \do\quotedblbase{"}%
5278 \do\quotedblleft{"}%
5279 \do\quotedblright{"}%
5280 \do\quoteleft{`}%
5281 \do\quoteright{'}%
5282 \do\quotesinglbase{,}%
5283 \do\rbracechar{\}}%
5284 \do\registeredsymbol{R}%
5285 \do\result{=>}%
5286 \do\textdegree{o}%
46955287 %
46965288 % We need to get rid of all macros, leaving only the arguments (if present).
46975289 % Of course this is not nearly correct, but it is the best we can do for now.
47045296 % goes to end-of-line is not handled.
47055297 %
47065298 \macrolist
4707 }
4708
4709 % Undocumented (for FSFS 2nd ed.): @set txiindexlquoteignore makes us
4710 % ignore left quotes in the sort term.
4711 {\catcode`\`=\active
4712 \gdef\indexlquoteignore{\let`=\empty}}
4713
4714 \let\indexbackslash=0 %overridden during \printindex.
4715 \let\SETmarginindex=\relax % put index entries in margin (undocumented)?
4716
4717 % Most index entries go through here, but \dosubind is the general case.
5299 \let\value\indexnofontsvalue
5300 }
5301
5302 % Give the control sequence a definition that removes the {} that follows
5303 % its use, e.g. @AA{} -> AA
5304 \def\indexnofontsdef#1#2{\def#1##1{#2}}%
5305
5306
5307
5308
47185309 % #1 is the index name, #2 is the entry text.
4719 \def\doind#1#2{\dosubind{#1}{#2}{}}
4720
4721 % Workhorse for all \fooindexes.
4722 % #1 is name of index, #2 is stuff to put there, #3 is subentry --
4723 % empty if called from \doind, as we usually are (the main exception
4724 % is with most defuns, which call us directly).
4725 %
4726 \def\dosubind#1#2#3{%
5310 \def\doind#1#2{%
47275311 \iflinks
47285312 {%
4729 % Store the main index entry text (including the third arg).
4730 \toks0 = {#2}%
4731 % If third arg is present, precede it with a space.
4732 \def\thirdarg{#3}%
4733 \ifx\thirdarg\empty \else
4734 \toks0 = \expandafter{\the\toks0 \space #3}%
5313 %
5314 \requireopenindexfile{#1}%
5315 \edef\writeto{\csname#1indfile\endcsname}%
5316 %
5317 \def\indextext{#2}%
5318 \safewhatsit\doindwrite
5319 }%
5320 \fi
5321 }
5322
5323 % Same as \doind, but for code indices
5324 \def\docind#1#2{%
5325 \iflinks
5326 {%
5327 %
5328 \requireopenindexfile{#1}%
5329 \edef\writeto{\csname#1indfile\endcsname}%
5330 %
5331 \def\indextext{#2}%
5332 \safewhatsit\docindwrite
5333 }%
5334 \fi
5335 }
5336
5337 % Check if an index file has been opened, and if not, open it.
5338 \def\requireopenindexfile#1{%
5339 \ifnum\csname #1indfile\endcsname=0
5340 \expandafter\newwrite \csname#1indfile\endcsname
5341 \edef\suffix{#1}%
5342 % A .fls suffix would conflict with the file extension for the output
5343 % of -recorder, so use .f1s instead.
5344 \ifx\suffix\indexisfl\def\suffix{f1}\fi
5345 % Open the file
5346 \immediate\openout\csname#1indfile\endcsname \jobname.\suffix
5347 % Using \immediate above here prevents an object entering into the current
5348 % box, which could confound checks such as those in \safewhatsit for
5349 % preceding skips.
5350 \typeout{Writing index file \jobname.\suffix}%
5351 \fi}
5352 \def\indexisfl{fl}
5353
5354 % Definition for writing index entry sort key.
5355 {
5356 \catcode`\-=13
5357 \gdef\indexwritesortas{%
5358 \begingroup
5359 \indexnonalnumreappear
5360 \indexwritesortasxxx}
5361 \gdef\indexwritesortasxxx#1{%
5362 \xdef\indexsortkey{#1}\endgroup}
5363 }
5364
5365 \def\indexwriteseealso#1{
5366 \gdef\pagenumbertext{\string\seealso{#1}}%
5367 }
5368 \def\indexwriteseeentry#1{
5369 \gdef\pagenumbertext{\string\seeentry{#1}}%
5370 }
5371
5372 % The default definitions
5373 \def\sortas#1{}%
5374 \def\seealso#1{\i{\putwordSeeAlso}\ #1}% for sorted index file only
5375 \def\putwordSeeAlso{See also}
5376 \def\seeentry#1{\i{\putwordSee}\ #1}% for sorted index file only
5377
5378
5379 % Given index entry text like "aaa @subentry bbb @sortas{ZZZ}":
5380 % * Set \bracedtext to "{aaa}{bbb}"
5381 % * Set \fullindexsortkey to "aaa @subentry ZZZ"
5382 % * If @seealso occurs, set \pagenumbertext
5383 %
5384 \def\splitindexentry#1{%
5385 \gdef\fullindexsortkey{}%
5386 \xdef\bracedtext{}%
5387 \def\sep{}%
5388 \def\seealso##1{}%
5389 \def\seeentry##1{}%
5390 \expandafter\doindexsegment#1\subentry\finish\subentry
5391 }
5392
5393 % append the results from the next segment
5394 \def\doindexsegment#1\subentry{%
5395 \def\segment{#1}%
5396 \ifx\segment\isfinish
5397 \else
5398 %
5399 % Fully expand the segment, throwing away any @sortas directives, and
5400 % trim spaces.
5401 \edef\trimmed{\segment}%
5402 \edef\trimmed{\expandafter\eatspaces\expandafter{\trimmed}}%
5403 \ifincodeindex
5404 \edef\trimmed{\noexpand\code{\trimmed}}%
47355405 \fi
47365406 %
4737 \edef\writeto{\csname#1indfile\endcsname}%
5407 \xdef\bracedtext{\bracedtext{\trimmed}}%
47385408 %
4739 \safewhatsit\dosubindwrite
4740 }%
5409 % Get the string to sort by. Process the segment with all
5410 % font commands turned off.
5411 \bgroup
5412 \let\sortas\indexwritesortas
5413 \let\seealso\indexwriteseealso
5414 \let\seeentry\indexwriteseeentry
5415 \indexnofonts
5416 % The braces around the commands are recognized by texindex.
5417 \def\lbracechar{{\string\indexlbrace}}%
5418 \def\rbracechar{{\string\indexrbrace}}%
5419 \let\{=\lbracechar
5420 \let\}=\rbracechar
5421 \def\@{{\string\indexatchar}}%
5422 \def\atchar##1{\@}%
5423 \def\backslashchar{{\string\indexbackslash}}%
5424 \uccode`\~=`\\ \uppercase{\let~\backslashchar}%
5425 %
5426 \let\indexsortkey\empty
5427 \global\let\pagenumbertext\empty
5428 % Execute the segment and throw away the typeset output. This executes
5429 % any @sortas or @seealso commands in this segment.
5430 \setbox\dummybox = \hbox{\segment}%
5431 \ifx\indexsortkey\empty{%
5432 \indexnonalnumdisappear
5433 \xdef\trimmed{\segment}%
5434 \xdef\trimmed{\expandafter\eatspaces\expandafter{\trimmed}}%
5435 \xdef\indexsortkey{\trimmed}%
5436 \ifx\indexsortkey\empty\xdef\indexsortkey{ }\fi
5437 }\fi
5438 %
5439 % Append to \fullindexsortkey.
5440 \edef\tmp{\gdef\noexpand\fullindexsortkey{%
5441 \fullindexsortkey\sep\indexsortkey}}%
5442 \tmp
5443 \egroup
5444 \def\sep{\subentry}%
5445 %
5446 \expandafter\doindexsegment
47415447 \fi
47425448 }
4743
4744 % Write the entry in \toks0 to the index file:
4745 %
4746 \def\dosubindwrite{%
4747 % Put the index entry in the margin if desired.
4748 \ifx\SETmarginindex\relax\else
4749 \insert\margin{\hbox{\vrule height8pt depth3pt width0pt \the\toks0}}%
5449 \def\isfinish{\finish}%
5450 \newbox\dummybox % used above
5451
5452 \let\subentry\relax
5453
5454 % Use \ instead of @ in index files. To support old texi2dvi and texindex.
5455 % This works without changing the escape character used in the toc or aux
5456 % files because the index entries are fully expanded here, and \string uses
5457 % the current value of \escapechar.
5458 \def\escapeisbackslash{\escapechar=`\\}
5459
5460 % Use \ in index files by default. texi2dvi didn't support @ as the escape
5461 % character (as it checked for "\entry" in the files, and not "@entry"). When
5462 % the new version of texi2dvi has had a chance to become more prevalent, then
5463 % the escape character can change back to @ again. This should be an easy
5464 % change to make now because both @ and \ are only used as escape characters in
5465 % index files, never standing for themselves.
5466 %
5467 \set txiindexescapeisbackslash
5468
5469 % Write the entry in \indextext to the index file.
5470 %
5471
5472 \newif\ifincodeindex
5473 \def\doindwrite{\incodeindexfalse\doindwritex}
5474 \def\docindwrite{\incodeindextrue\doindwritex}
5475
5476 \def\doindwritex{%
5477 \maybemarginindex
5478 %
5479 \atdummies
5480 %
5481 \expandafter\ifx\csname SETtxiindexescapeisbackslash\endcsname\relax\else
5482 \escapeisbackslash
47505483 \fi
47515484 %
4752 % Remember, we are within a group.
4753 \indexdummies % Must do this here, since \bf, etc expand at this stage
4754 \def\backslashcurfont{\indexbackslash}% \indexbackslash isn't defined now
4755 % so it will be output as is; and it will print as backslash.
4756 %
4757 % Process the index entry with all font commands turned off, to
4758 % get the string to sort by.
4759 {\indexnofonts
4760 \edef\temp{\the\toks0}% need full expansion
4761 \xdef\indexsorttmp{\temp}%
4762 }%
5485 % For texindex which always views { and } as separators.
5486 \def\{{\lbracechar{}}%
5487 \def\}{\rbracechar{}}%
5488 \uccode`\~=`\\ \uppercase{\def~{\backslashchar{}}}%
5489 %
5490 % Split the entry into primary entry and any subentries, and get the index
5491 % sort key.
5492 \splitindexentry\indextext
47635493 %
47645494 % Set up the complete index entry, with both the sort key and
47655495 % the original text, including any font commands. We write
47665496 % three arguments to \entry to the .?? file (four in the
47675497 % subentry case), texindex reduces to two when writing the .??s
47685498 % sorted result.
5499 %
47695500 \edef\temp{%
47705501 \write\writeto{%
4771 \string\entry{\indexsorttmp}{\noexpand\folio}{\the\toks0}}%
5502 \string\entry{\fullindexsortkey}%
5503 {\ifx\pagenumbertext\empty\noexpand\folio\else\pagenumbertext\fi}%
5504 \bracedtext}%
47725505 }%
47735506 \temp
47745507 }
5508
5509 % Put the index entry in the margin if desired (undocumented).
5510 \def\maybemarginindex{%
5511 \ifx\SETmarginindex\relax\else
5512 \insert\margin{\hbox{\vrule height8pt depth3pt width0pt \relax\indextext}}%
5513 \fi
5514 }
5515 \let\SETmarginindex=\relax
5516
47755517
47765518 % Take care of unwanted page breaks/skips around a whatsit:
47775519 %
48595601 % \entry {topic}{pagelist}
48605602 % for a topic that is used without subtopics
48615603 % \primary {topic}
5604 % \entry {topic}{}
48625605 % for the beginning of a topic that is used with subtopics
48635606 % \secondary {subtopic}{pagelist}
48645607 % for each subtopic.
5608 % \secondary {subtopic}{}
5609 % for a subtopic with sub-subtopics
5610 % \tertiary {subtopic}{subsubtopic}{pagelist}
5611 % for each sub-subtopic.
48655612
48665613 % Define the user-accessible indexing commands
48675614 % @findex, @vindex, @kindex, @cindex.
48735620 \def\tindex {\tpindex}
48745621 \def\pindex {\pgindex}
48755622
4876 \def\cindexsub {\begingroup\obeylines\cindexsub}
4877 {\obeylines %
4878 \gdef\cindexsub "#1" #2^^M{\endgroup %
4879 \dosubind{cp}{#2}{#1}}}
4880
48815623 % Define the macros used in formatting output of the sorted index material.
48825624
48835625 % @printindex causes a particular index (the ??s file) to get printed.
48915633 \plainfrenchspacing
48925634 \everypar = {}% don't want the \kern\-parindent from indentation suppression.
48935635 %
5636 % See comment in \requireopenindexfile.
5637 \def\indexname{#1}\ifx\indexname\indexisfl\def\indexname{f1}\fi
5638 %
48945639 % See if the index file exists and is nonempty.
4895 % Change catcode of @ here so that if the index file contains
4896 % \initial {@}
4897 % as its first line, TeX doesn't complain about mismatched braces
4898 % (because it thinks @} is a control sequence).
4899 \catcode`\@ = 11
4900 \openin 1 \jobname.#1s
5640 \openin 1 \jobname.\indexname s
49015641 \ifeof 1
49025642 % \enddoublecolumns gets confused if there is no text in the index,
49035643 % and it loses the chapter title and the aux file entries for the
49045644 % index. The easiest way to prevent this problem is to make sure
49055645 % there is some text.
49065646 \putwordIndexNonexistent
5647 \typeout{No file \jobname.\indexname s.}%
49075648 \else
4908 %
49095649 % If the index file exists but is empty, then \openin leaves \ifeof
49105650 % false. We have to make TeX try to read something from the file, so
49115651 % it can discover if there is anything in it.
4912 \read 1 to \temp
5652 \read 1 to \thisline
49135653 \ifeof 1
49145654 \putwordIndexIsEmpty
49155655 \else
4916 % Index files are almost Texinfo source, but we use \ as the escape
4917 % character. It would be better to use @, but that's too big a change
4918 % to make right now.
4919 \def\indexbackslash{\backslashcurfont}%
4920 \catcode`\\ = 0
4921 \escapechar = `\\
4922 \begindoublecolumns
4923 \input \jobname.#1s
4924 \enddoublecolumns
5656 \expandafter\printindexzz\thisline\relax\relax\finish%
49255657 \fi
49265658 \fi
49275659 \closein 1
49285660 \endgroup}
49295661
5662 % If the index file starts with a backslash, forgo reading the index
5663 % file altogether. If somebody upgrades texinfo.tex they may still have
5664 % old index files using \ as the escape character. Reading this would
5665 % at best lead to typesetting garbage, at worst a TeX syntax error.
5666 \def\printindexzz#1#2\finish{%
5667 \expandafter\ifx\csname SETtxiindexescapeisbackslash\endcsname\relax
5668 \uccode`\~=`\\ \uppercase{\if\noexpand~}\noexpand#1
5669 \expandafter\ifx\csname SETtxiskipindexfileswithbackslash\endcsname\relax
5670 \errmessage{%
5671 ERROR: A sorted index file in an obsolete format was skipped.
5672 To fix this problem, please upgrade your version of 'texi2dvi'
5673 or 'texi2pdf' to that at <https://ftp.gnu.org/gnu/texinfo>.
5674 If you are using an old version of 'texindex' (part of the Texinfo
5675 distribution), you may also need to upgrade to a newer version (at least 6.0).
5676 You may be able to typeset the index if you run
5677 'texindex \jobname.\indexname' yourself.
5678 You could also try setting the 'txiindexescapeisbackslash' flag by
5679 running a command like
5680 'texi2dvi -t "@set txiindexescapeisbackslash" \jobname.texi'. If you do
5681 this, Texinfo will try to use index files in the old format.
5682 If you continue to have problems, deleting the index files and starting again
5683 might help (with 'rm \jobname.?? \jobname.??s')%
5684 }%
5685 \else
5686 (Skipped sorted index file in obsolete format)
5687 \fi
5688 \else
5689 \begindoublecolumns
5690 \input \jobname.\indexname s
5691 \enddoublecolumns
5692 \fi
5693 \else
5694 \begindoublecolumns
5695 \catcode`\\=0\relax
5696 %
5697 % Make @ an escape character to give macros a chance to work. This
5698 % should work because we (hopefully) don't otherwise use @ in index files.
5699 %\catcode`\@=12\relax
5700 \catcode`\@=0\relax
5701 \input \jobname.\indexname s
5702 \enddoublecolumns
5703 \fi
5704 }
5705
49305706 % These macros are used by the sorted index file itself.
49315707 % Change them to control the appearance of the index.
49325708
4933 \def\initial#1{{%
4934 % Some minor font changes for the special characters.
4935 \let\tentt=\sectt \let\tt=\sectt \let\sf=\sectt
4936 %
5709 {\catcode`\/=13 \catcode`\-=13 \catcode`\^=13 \catcode`\~=13 \catcode`\_=13
5710 \catcode`\|=13 \catcode`\<=13 \catcode`\>=13 \catcode`\+=13 \catcode`\"=13
5711 \catcode`\$=3
5712 \gdef\initialglyphs{%
5713 % special control sequences used in the index sort key
5714 \let\indexlbrace\{%
5715 \let\indexrbrace\}%
5716 \let\indexatchar\@%
5717 \def\indexbackslash{\math{\backslash}}%
5718 %
5719 % Some changes for non-alphabetic characters. Using the glyphs from the
5720 % math fonts looks more consistent than the typewriter font used elsewhere
5721 % for these characters.
5722 \uccode`\~=`\\ \uppercase{\def~{\math{\backslash}}}
5723 %
5724 % In case @\ is used for backslash
5725 \uppercase{\let\\=~}
5726 % Can't get bold backslash so don't use bold forward slash
5727 \catcode`\/=13
5728 \def/{{\secrmnotbold \normalslash}}%
5729 \def-{{\normaldash\normaldash}}% en dash `--'
5730 \def^{{\chapbf \normalcaret}}%
5731 \def~{{\chapbf \normaltilde}}%
5732 \def\_{%
5733 \leavevmode \kern.07em \vbox{\hrule width.3em height.1ex}\kern .07em }%
5734 \def|{$\vert$}%
5735 \def<{$\less$}%
5736 \def>{$\gtr$}%
5737 \def+{$\normalplus$}%
5738 }}
5739
5740 \def\initial{%
5741 \bgroup
5742 \initialglyphs
5743 \initialx
5744 }
5745
5746 \def\initialx#1{%
49375747 % Remove any glue we may have, we'll be inserting our own.
49385748 \removelastskip
49395749 %
49405750 % We like breaks before the index initials, so insert a bonus.
5751 % The glue before the bonus allows a little bit of space at the
5752 % bottom of a column to reduce an increase in inter-line spacing.
49415753 \nobreak
4942 \vskip 0pt plus 3\baselineskip
4943 \penalty 0
4944 \vskip 0pt plus -3\baselineskip
5754 \vskip 0pt plus 5\baselineskip
5755 \penalty -300
5756 \vskip 0pt plus -5\baselineskip
49455757 %
49465758 % Typeset the initial. Making this add up to a whole number of
49475759 % baselineskips increases the chance of the dots lining up from column
49495761 % we need before each entry, but it's better.
49505762 %
49515763 % No shrink because it confuses \balancecolumns.
4952 \vskip 1.67\baselineskip plus .5\baselineskip
4953 \leftline{\secbf #1}%
5764 \vskip 1.67\baselineskip plus 1\baselineskip
5765 \leftline{\secfonts \kern-0.05em \secbf #1}%
5766 % \secfonts is inside the argument of \leftline so that the change of
5767 % \baselineskip will not affect any glue inserted before the vbox that
5768 % \leftline creates.
49545769 % Do our best not to break after the initial.
49555770 \nobreak
49565771 \vskip .33\baselineskip plus .1\baselineskip
4957 }}
5772 \egroup % \initialglyphs
5773 }
5774
5775 \newdimen\entryrightmargin
5776 \entryrightmargin=0pt
49585777
49595778 % \entry typesets a paragraph consisting of the text (#1), dot leaders, and
49605779 % then page number (#2) flushed to the right margin. It is used for index
49615780 % and table of contents entries. The paragraph is indented by \leftskip.
49625781 %
4963 % A straightforward implementation would start like this:
4964 % \def\entry#1#2{...
4965 % But this freezes the catcodes in the argument, and can cause problems to
4966 % @code, which sets - active. This problem was fixed by a kludge---
4967 % ``-'' was active throughout whole index, but this isn't really right.
4968 % The right solution is to prevent \entry from swallowing the whole text.
4969 % --kasal, 21nov03
49705782 \def\entry{%
49715783 \begingroup
49725784 %
49745786 % affect previous text.
49755787 \par
49765788 %
4977 % Do not fill out the last line with white space.
4978 \parfillskip = 0in
4979 %
49805789 % No extra space above this paragraph.
49815790 \parskip = 0in
4982 %
4983 % Do not prefer a separate line ending with a hyphen to fewer lines.
4984 \finalhyphendemerits = 0
4985 %
4986 % \hangindent is only relevant when the entry text and page number
4987 % don't both fit on one line. In that case, bob suggests starting the
4988 % dots pretty far over on the line. Unfortunately, a large
4989 % indentation looks wrong when the entry text itself is broken across
4990 % lines. So we use a small indentation and put up with long leaders.
4991 %
4992 % \hangafter is reset to 1 (which is the value we want) at the start
4993 % of each paragraph, so we need not do anything with that.
4994 \hangindent = 2em
4995 %
4996 % When the entry text needs to be broken, just fill out the first line
4997 % with blank space.
4998 \rightskip = 0pt plus1fil
4999 %
5000 % A bit of stretch before each entry for the benefit of balancing
5001 % columns.
5002 \vskip 0pt plus1pt
50035791 %
50045792 % When reading the text of entry, convert explicit line breaks
50055793 % from @* into spaces. The user might give these in long section
50065794 % titles, for instance.
50075795 \def\*{\unskip\space\ignorespaces}%
5008 \def\entrybreak{\hfil\break}%
5796 \def\entrybreak{\hfil\break}% An undocumented command
50095797 %
50105798 % Swallow the left brace of the text (first parameter):
50115799 \afterassignment\doentry
50135801 }
50145802 \def\entrybreak{\unskip\space\ignorespaces}%
50155803 \def\doentry{%
5804 % Save the text of the entry
5805 \global\setbox\boxA=\hbox\bgroup
50165806 \bgroup % Instead of the swallowed brace.
50175807 \noindent
50185808 \aftergroup\finishentry
50195809 % And now comes the text of the entry.
5020 }
5021 \def\finishentry#1{%
5022 % #1 is the page number.
5023 %
5024 % The following is kludged to not output a line of dots in the index if
5025 % there are no page numbers. The next person who breaks this will be
5026 % cursed by a Unix daemon.
5027 \setbox\boxA = \hbox{#1}%
5028 \ifdim\wd\boxA = 0pt
5029 \ %
5030 \else
5810 % Not absorbing as a macro argument reduces the chance of problems
5811 % with catcodes occurring.
5812 }
5813 {\catcode`\@=11
5814 \gdef\finishentry#1{%
5815 \egroup % end box A
5816 \dimen@ = \wd\boxA % Length of text of entry
5817 \global\setbox\boxA=\hbox\bgroup
5818 \unhbox\boxA
5819 % #1 is the page number.
50315820 %
5032 % If we must, put the page number on a line of its own, and fill out
5033 % this line with blank space. (The \hfil is overwhelmed with the
5034 % fill leaders glue in \indexdotfill if the page number does fit.)
5035 \hfil\penalty50
5036 \null\nobreak\indexdotfill % Have leaders before the page number.
5821 % Get the width of the page numbers, and only use
5822 % leaders if they are present.
5823 \global\setbox\boxB = \hbox{#1}%
5824 \ifdim\wd\boxB = 0pt
5825 \null\nobreak\hfill\ %
5826 \else
5827 %
5828 \null\nobreak\indexdotfill % Have leaders before the page number.
5829 %
5830 \ifpdforxetex
5831 \pdfgettoks#1.%
5832 \hskip\skip\thinshrinkable\the\toksA
5833 \else
5834 \hskip\skip\thinshrinkable #1%
5835 \fi
5836 \fi
5837 \egroup % end \boxA
5838 \ifdim\wd\boxB = 0pt
5839 \noindent\unhbox\boxA\par
5840 \nobreak
5841 \else\bgroup
5842 % We want the text of the entries to be aligned to the left, and the
5843 % page numbers to be aligned to the right.
50375844 %
5038 % The `\ ' here is removed by the implicit \unskip that TeX does as
5039 % part of (the primitive) \par. Without it, a spurious underfull
5040 % \hbox ensues.
5041 \ifpdf
5042 \pdfgettoks#1.%
5043 \ \the\toksA
5845 \parindent = 0pt
5846 \advance\leftskip by 0pt plus 1fil
5847 \advance\leftskip by 0pt plus -1fill
5848 \rightskip = 0pt plus -1fil
5849 \advance\rightskip by 0pt plus 1fill
5850 % Cause last line, which could consist of page numbers on their own
5851 % if the list of page numbers is long, to be aligned to the right.
5852 \parfillskip=0pt plus -1fill
5853 %
5854 \advance\rightskip by \entryrightmargin
5855 % Determine how far we can stretch into the margin.
5856 % This allows, e.g., "Appendix H GNU Free Documentation License" to
5857 % fit on one line in @letterpaper format.
5858 \ifdim\entryrightmargin>2.1em
5859 \dimen@i=2.1em
50445860 \else
5045 \ #1%
5861 \dimen@i=0em
50465862 \fi
5863 \advance \parfillskip by 0pt minus 1\dimen@i
5864 %
5865 \dimen@ii = \hsize
5866 \advance\dimen@ii by -1\leftskip
5867 \advance\dimen@ii by -1\entryrightmargin
5868 \advance\dimen@ii by 1\dimen@i
5869 \ifdim\wd\boxA > \dimen@ii % If the entry doesn't fit in one line
5870 \ifdim\dimen@ > 0.8\dimen@ii % due to long index text
5871 % Try to split the text roughly evenly. \dimen@ will be the length of
5872 % the first line.
5873 \dimen@ = 0.7\dimen@
5874 \dimen@ii = \hsize
5875 \ifnum\dimen@>\dimen@ii
5876 % If the entry is too long (for example, if it needs more than
5877 % two lines), use all the space in the first line.
5878 \dimen@ = \dimen@ii
5879 \fi
5880 \advance\leftskip by 0pt plus 1fill % ragged right
5881 \advance \dimen@ by 1\rightskip
5882 \parshape = 2 0pt \dimen@ 0em \dimen@ii
5883 % Ideally we'd add a finite glue at the end of the first line only,
5884 % instead of using \parshape with explicit line lengths, but TeX
5885 % doesn't seem to provide a way to do such a thing.
5886 %
5887 % Indent all lines but the first one.
5888 \advance\leftskip by 1em
5889 \advance\parindent by -1em
5890 \fi\fi
5891 \indent % start paragraph
5892 \unhbox\boxA
5893 %
5894 % Do not prefer a separate line ending with a hyphen to fewer lines.
5895 \finalhyphendemerits = 0
5896 %
5897 % Word spacing - no stretch
5898 \spaceskip=\fontdimen2\font minus \fontdimen4\font
5899 %
5900 \linepenalty=1000 % Discourage line breaks.
5901 \hyphenpenalty=5000 % Discourage hyphenation.
5902 %
5903 \par % format the paragraph
5904 \egroup % The \vbox
50475905 \fi
5048 \par
50495906 \endgroup
5050 }
5907 }}
5908
5909 \newskip\thinshrinkable
5910 \skip\thinshrinkable=.15em minus .15em
50515911
50525912 % Like plain.tex's \dotfill, except uses up at least 1 em.
5913 % The filll stretch here overpowers both the fil and fill stretch to push
5914 % the page number to the right.
50535915 \def\indexdotfill{\cleaders
5054 \hbox{$\mathsurround=0pt \mkern1.5mu.\mkern1.5mu$}\hskip 1em plus 1fill}
5916 \hbox{$\mathsurround=0pt \mkern1.5mu.\mkern1.5mu$}\hskip 1em plus 1filll}
5917
50555918
50565919 \def\primary #1{\line{#1\hfil}}
50575920
5058 \newskip\secondaryindent \secondaryindent=0.5cm
5059 \def\secondary#1#2{{%
5060 \parfillskip=0in
5061 \parskip=0in
5062 \hangindent=1in
5063 \hangafter=1
5064 \noindent\hskip\secondaryindent\hbox{#1}\indexdotfill
5065 \ifpdf
5066 \pdfgettoks#2.\ \the\toksA % The page number ends the paragraph.
5067 \else
5068 #2
5069 \fi
5070 \par
5071 }}
5921 \def\secondary{\indententry{0.5cm}}
5922 \def\tertiary{\indententry{1cm}}
5923
5924 \def\indententry#1#2#3{%
5925 \bgroup
5926 \leftskip=#1
5927 \entry{#2}{#3}%
5928 \egroup
5929 }
50725930
50735931 % Define two-column mode, which we use to typeset indexes.
50745932 % Adapted from the TeXbook, page 416, which is to say,
50755933 % the manmac.tex format used to print the TeXbook itself.
5076 \catcode`\@=11
5934 \catcode`\@=11 % private names
50775935
50785936 \newbox\partialpage
50795937 \newdimen\doublecolumnhsize
50805938
50815939 \def\begindoublecolumns{\begingroup % ended by \enddoublecolumns
5940 % If not much space left on page, start a new page.
5941 \ifdim\pagetotal>0.8\vsize\vfill\eject\fi
5942 %
50825943 % Grab any single-column material above us.
50835944 \output = {%
5084 %
5085 % Here is a possibility not foreseen in manmac: if we accumulate a
5086 % whole lot of material, we might end up calling this \output
5087 % routine twice in a row (see the doublecol-lose test, which is
5088 % essentially a couple of indexes with @setchapternewpage off). In
5089 % that case we just ship out what is in \partialpage with the normal
5090 % output routine. Generally, \partialpage will be empty when this
5091 % runs and this will be a no-op. See the indexspread.tex test case.
5092 \ifvoid\partialpage \else
5093 \onepageout{\pagecontents\partialpage}%
5094 \fi
5945 \savetopmark
50955946 %
50965947 \global\setbox\partialpage = \vbox{%
50975948 % Unvbox the main output page.
51255976 \divide\doublecolumnhsize by 2
51265977 \hsize = \doublecolumnhsize
51275978 %
5128 % Double the \vsize as well. (We don't need a separate register here,
5129 % since nobody clobbers \vsize.)
5130 \vsize = 2\vsize
5131 }
5132
5133 % The double-column output routine for all double-column pages except
5134 % the last.
5135 %
5136 \def\doublecolumnout{%
5137 \splittopskip=\topskip \splitmaxdepth=\maxdepth
51385979 % Get the available space for the double columns -- the normal
51395980 % (undoubled) page height minus any material left over from the
51405981 % previous page.
5982 \advance\vsize by -\ht\partialpage
5983 \vsize = 2\vsize
5984 %
5985 % For the benefit of balancing columns
5986 \advance\baselineskip by 0pt plus 0.5pt
5987 }
5988
5989 % The double-column output routine for all double-column pages except
5990 % the last, which is done by \balancecolumns.
5991 %
5992 \def\doublecolumnout{%
5993 %
5994 \savetopmark
5995 \splittopskip=\topskip \splitmaxdepth=\maxdepth
51415996 \dimen@ = \vsize
51425997 \divide\dimen@ by 2
5143 \advance\dimen@ by -\ht\partialpage
51445998 %
51455999 % box0 will be the left-hand column, box2 the right.
5146 \setbox0=\vsplit255 to\dimen@ \setbox2=\vsplit255 to\dimen@
5147 \onepageout\pagesofar
5148 \unvbox255
6000 \setbox0=\vsplit\PAGE to\dimen@ \setbox2=\vsplit\PAGE to\dimen@
6001 \global\advance\vsize by 2\ht\partialpage
6002 \onepageout\pagesofar % empty except for the first time we are called
6003 \unvbox\PAGE
51496004 \penalty\outputpenalty
51506005 }
51516006 %
51566011 %
51576012 \hsize = \doublecolumnhsize
51586013 \wd0=\hsize \wd2=\hsize
5159 \hbox to\pagewidth{\box0\hfil\box2}%
5160 }
5161 %
5162 % All done with double columns.
6014 \hbox to\txipagewidth{\box0\hfil\box2}%
6015 }
6016
6017
6018 % Finished with double columns.
51636019 \def\enddoublecolumns{%
51646020 % The following penalty ensures that the page builder is exercised
51656021 % _before_ we change the output routine. This is necessary in the
51826038 % goal. When TeX sees \eject from below which follows the final
51836039 % section, it invokes the new output routine that we've set after
51846040 % \balancecolumns below; \onepageout will try to fit the two columns
5185 % and the final section into the vbox of \pageheight (see
6041 % and the final section into the vbox of \txipageheight (see
51866042 % \pagebody), causing an overfull box.
51876043 %
51886044 % Note that glue won't work here, because glue does not exercise the
51906046 \penalty0
51916047 %
51926048 \output = {%
5193 % Split the last of the double-column material. Leave it on the
5194 % current page, no automatic page break.
6049 % Split the last of the double-column material.
6050 \savetopmark
51956051 \balancecolumns
6052 }%
6053 \eject % call the \output just set
6054 \ifdim\pagetotal=0pt
6055 % Having called \balancecolumns once, we do not
6056 % want to call it again. Therefore, reset \output to its normal
6057 % definition right away.
6058 \global\output=\expandafter{\the\defaultoutput}
51966059 %
5197 % If we end up splitting too much material for the current page,
5198 % though, there will be another page break right after this \output
5199 % invocation ends. Having called \balancecolumns once, we do not
5200 % want to call it again. Therefore, reset \output to its normal
5201 % definition right away. (We hope \balancecolumns will never be
5202 % called on to balance too much material, but if it is, this makes
5203 % the output somewhat more palatable.)
5204 \global\output = {\onepageout{\pagecontents\PAGE}}%
5205 }%
5206 \eject
5207 \endgroup % started in \begindoublecolumns
5208 %
5209 % \pagegoal was set to the doubled \vsize above, since we restarted
5210 % the current page. We're now back to normal single-column
5211 % typesetting, so reset \pagegoal to the normal \vsize (after the
5212 % \endgroup where \vsize got restored).
5213 \pagegoal = \vsize
5214 }
5215 %
5216 % Called at the end of the double column material.
6060 \endgroup % started in \begindoublecolumns
6061 % Leave the double-column material on the current page, no automatic
6062 % page break.
6063 \box\balancedcolumns
6064 %
6065 % \pagegoal was set to the doubled \vsize above, since we restarted
6066 % the current page. We're now back to normal single-column
6067 % typesetting, so reset \pagegoal to the normal \vsize.
6068 \global\vsize = \txipageheight %
6069 \pagegoal = \txipageheight %
6070 \else
6071 % We had some left-over material. This might happen when \doublecolumnout
6072 % is called in \balancecolumns. Try again.
6073 \expandafter\enddoublecolumns
6074 \fi
6075 }
6076 \newbox\balancedcolumns
6077 \setbox\balancedcolumns=\vbox{shouldnt see this}%
6078 %
6079 % Only called for the last of the double column material. \doublecolumnout
6080 % does the others.
52176081 \def\balancecolumns{%
5218 \setbox0 = \vbox{\unvbox255}% like \box255 but more efficient, see p.120.
6082 \setbox0 = \vbox{\unvbox\PAGE}% like \box255 but more efficient, see p.120.
52196083 \dimen@ = \ht0
5220 \advance\dimen@ by \topskip
5221 \advance\dimen@ by-\baselineskip
5222 \divide\dimen@ by 2 % target to split to
5223 %debug\message{final 2-column material height=\the\ht0, target=\the\dimen@.}%
5224 \splittopskip = \topskip
5225 % Loop until we get a decent breakpoint.
5226 {%
5227 \vbadness = 10000
5228 \loop
5229 \global\setbox3 = \copy0
5230 \global\setbox1 = \vsplit3 to \dimen@
5231 \ifdim\ht3>\dimen@
5232 \global\advance\dimen@ by 1pt
5233 \repeat
5234 }%
5235 %debug\message{split to \the\dimen@, column heights: \the\ht1, \the\ht3.}%
5236 \setbox0=\vbox to\dimen@{\unvbox1}%
5237 \setbox2=\vbox to\dimen@{\unvbox3}%
5238 %
5239 \pagesofar
6084 \ifdim\dimen@<7\baselineskip
6085 % Don't split a short final column in two.
6086 \setbox2=\vbox{}%
6087 \global\setbox\balancedcolumns=\vbox{\pagesofar}%
6088 \else
6089 % double the leading vertical space
6090 \advance\dimen@ by \topskip
6091 \advance\dimen@ by-\baselineskip
6092 \divide\dimen@ by 2 % target to split to
6093 \dimen@ii = \dimen@
6094 \splittopskip = \topskip
6095 % Loop until left column is at least as high as the right column.
6096 {%
6097 \vbadness = 10000
6098 \loop
6099 \global\setbox3 = \copy0
6100 \global\setbox1 = \vsplit3 to \dimen@
6101 \ifdim\ht1<\ht3
6102 \global\advance\dimen@ by 1pt
6103 \repeat
6104 }%
6105 % Now the left column is in box 1, and the right column in box 3.
6106 %
6107 % Check whether the left column has come out higher than the page itself.
6108 % (Note that we have doubled \vsize for the double columns, so
6109 % the actual height of the page is 0.5\vsize).
6110 \ifdim2\ht1>\vsize
6111 % It appears that we have been called upon to balance too much material.
6112 % Output some of it with \doublecolumnout, leaving the rest on the page.
6113 \setbox\PAGE=\box0
6114 \doublecolumnout
6115 \else
6116 % Compare the heights of the two columns.
6117 \ifdim4\ht1>5\ht3
6118 % Column heights are too different, so don't make their bottoms
6119 % flush with each other.
6120 \setbox2=\vbox to \ht1 {\unvbox3\vfill}%
6121 \setbox0=\vbox to \ht1 {\unvbox1\vfill}%
6122 \else
6123 % Make column bottoms flush with each other.
6124 \setbox2=\vbox to\ht1{\unvbox3\unskip}%
6125 \setbox0=\vbox to\ht1{\unvbox1\unskip}%
6126 \fi
6127 \global\setbox\balancedcolumns=\vbox{\pagesofar}%
6128 \fi
6129 \fi
6130 %
52406131 }
52416132 \catcode`\@ = \other
52426133
52516142 \null
52526143 \vskip.3\vsize % move it down on the page a bit
52536144 \begingroup
5254 \noindent \titlefonts\rmisbold #1\par % the text
6145 \noindent \titlefonts\rm #1\par % the text
52556146 \let\lastnode=\empty % no node to associate with
52566147 \writetocentry{part}{#1}{}% but put it in the toc
52576148 \headingsoff % no headline or footline on the part page
6149 % This outputs a mark at the end of the page that clears \thischapter
6150 % and \thissection, as is done in \startcontents.
6151 \let\pchapsepmacro\relax
6152 \chapmacro{}{Yomitfromtoc}{}%
52586153 \chapoddpage
52596154 \endgroup
52606155 }
53286223
53296224 % @raisesections: treat @section as chapter, @subsection as section, etc.
53306225 \def\raisesections{\global\advance\secbase by -1}
5331 \let\up=\raisesections % original BFox name
53326226
53336227 % @lowersections: treat @chapter as section, @section as subsection, etc.
53346228 \def\lowersections{\global\advance\secbase by 1}
5335 \let\down=\lowersections % original BFox name
53366229
53376230 % we only have subsub.
53386231 \chardef\maxseclevel = 3
54996392
55006393 % @centerchap is like @unnumbered, but the heading is centered.
55016394 \outer\parseargdef\centerchap{%
5502 % Well, we could do the following in a group, but that would break
5503 % an assumption that \chapmacro is called at the outermost level.
5504 % Thus we are safer this way: --kasal, 24feb04
55056395 \let\centerparametersmaybe = \centerparameters
55066396 \unnmhead0{#1}%
55076397 \let\centerparametersmaybe = \relax
55116401 \let\top\unnumbered
55126402
55136403 % Sections.
5514 %
6404 %
55156405 \outer\parseargdef\numberedsec{\numhead1{#1}} % normally calls seczzz
55166406 \def\seczzz#1{%
55176407 \global\subsecno=0 \global\subsubsecno=0 \global\advance\secno by 1
55346424 }
55356425
55366426 % Subsections.
5537 %
6427 %
55386428 % normally calls numberedsubseczzz:
55396429 \outer\parseargdef\numberedsubsec{\numhead2{#1}}
55406430 \def\numberedsubseczzz#1{%
55596449 }
55606450
55616451 % Subsubsections.
5562 %
6452 %
55636453 % normally numberedsubsubseczzz:
55646454 \outer\parseargdef\numberedsubsubsec{\numhead3{#1}}
55656455 \def\numberedsubsubseczzz#1{%
56256515
56266516 % Define plain chapter starts, and page on/off switching for it.
56276517 \def\chapbreak{\dobreak \chapheadingskip {-4000}}
6518
6519 % Start a new page
56286520 \def\chappager{\par\vfill\supereject}
6521
6522 % \chapoddpage - start on an odd page for a new chapter
56296523 % Because \domark is called before \chapoddpage, the filler page will
56306524 % get the headings for the next chapter, which is wrong. But we don't
56316525 % care -- we just disable all headings on the filler page.
56406534 \fi
56416535 }
56426536
5643 \def\setchapternewpage #1 {\csname CHAPPAG#1\endcsname}
6537 \parseargdef\setchapternewpage{\csname CHAPPAG#1\endcsname}
56446538
56456539 \def\CHAPPAGoff{%
56466540 \global\let\contentsalignmacro = \chappager
56476541 \global\let\pchapsepmacro=\chapbreak
5648 \global\let\pagealignmacro=\chappager}
6542 \global\def\HEADINGSon{\HEADINGSsinglechapoff}}
56496543
56506544 \def\CHAPPAGon{%
56516545 \global\let\contentsalignmacro = \chappager
56526546 \global\let\pchapsepmacro=\chappager
5653 \global\let\pagealignmacro=\chappager
56546547 \global\def\HEADINGSon{\HEADINGSsingle}}
56556548
56566549 \def\CHAPPAGodd{%
56576550 \global\let\contentsalignmacro = \chapoddpage
56586551 \global\let\pchapsepmacro=\chapoddpage
5659 \global\let\pagealignmacro=\chapoddpage
56606552 \global\def\HEADINGSon{\HEADINGSdouble}}
56616553
56626554 \CHAPPAGon
56636555
5664 % Chapter opening.
6556 % \chapmacro - Chapter opening.
56656557 %
56666558 % #1 is the text, #2 is the section type (Ynumbered, Ynothing,
56676559 % Yappendix, Yomitfromtoc), #3 the chapter number.
6560 % Not used for @heading series.
56686561 %
56696562 % To test against our argument.
56706563 \def\Ynothingkeyword{Ynothing}
6564 \def\Yappendixkeyword{Yappendix}
56716565 \def\Yomitfromtockeyword{Yomitfromtoc}
5672 \def\Yappendixkeyword{Yappendix}
56736566 %
56746567 \def\chapmacro#1#2#3{%
6568 \expandafter\ifx\thisenv\titlepage\else
6569 \checkenv{}% chapters, etc., should not start inside an environment.
6570 \fi
56756571 % Insert the first mark before the heading break (see notes for \domark).
5676 \let\prevchapterdefs=\lastchapterdefs
5677 \let\prevsectiondefs=\lastsectiondefs
5678 \gdef\lastsectiondefs{\gdef\thissectionname{}\gdef\thissectionnum{}%
6572 \let\prevchapterdefs=\currentchapterdefs
6573 \let\prevsectiondefs=\currentsectiondefs
6574 \gdef\currentsectiondefs{\gdef\thissectionname{}\gdef\thissectionnum{}%
56796575 \gdef\thissection{}}%
56806576 %
56816577 \def\temptype{#2}%
56826578 \ifx\temptype\Ynothingkeyword
5683 \gdef\lastchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}%
6579 \gdef\currentchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}%
56846580 \gdef\thischapter{\thischaptername}}%
56856581 \else\ifx\temptype\Yomitfromtockeyword
5686 \gdef\lastchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}%
6582 \gdef\currentchapterdefs{\gdef\thischaptername{#1}\gdef\thischapternum{}%
56876583 \gdef\thischapter{}}%
56886584 \else\ifx\temptype\Yappendixkeyword
56896585 \toks0={#1}%
5690 \xdef\lastchapterdefs{%
6586 \xdef\currentchapterdefs{%
56916587 \gdef\noexpand\thischaptername{\the\toks0}%
56926588 \gdef\noexpand\thischapternum{\appendixletter}%
56936589 % \noexpand\putwordAppendix avoids expanding indigestible
56986594 }%
56996595 \else
57006596 \toks0={#1}%
5701 \xdef\lastchapterdefs{%
6597 \xdef\currentchapterdefs{%
57026598 \gdef\noexpand\thischaptername{\the\toks0}%
57036599 \gdef\noexpand\thischapternum{\the\chapno}%
57046600 % \noexpand\putwordChapter avoids expanding indigestible
57186614 %
57196615 % Now the second mark, after the heading break. No break points
57206616 % between here and the heading.
5721 \let\prevchapterdefs=\lastchapterdefs
5722 \let\prevsectiondefs=\lastsectiondefs
6617 \let\prevchapterdefs=\currentchapterdefs
6618 \let\prevsectiondefs=\currentsectiondefs
57236619 \domark
57246620 %
57256621 {%
5726 \chapfonts \rmisbold
6622 \chapfonts \rm
6623 \let\footnote=\errfootnoteheading % give better error message
57276624 %
5728 % Have to define \lastsection before calling \donoderef, because the
6625 % Have to define \currentsection before calling \donoderef, because the
57296626 % xref code eventually uses it. On the other hand, it has to be called
57306627 % after \pchapsepmacro, or the headline will change too soon.
5731 \gdef\lastsection{#1}%
6628 \gdef\currentsection{#1}%
57326629 %
57336630 % Only insert the separating space if we have a chapter/appendix
57346631 % number, and don't print the unnumbered ``number''.
57766673 }
57776674
57786675
5779 % I don't think this chapter style is supported any more, so I'm not
5780 % updating it with the new noderef stuff. We'll see. --karl, 11aug03.
5781 %
5782 \def\setchapterstyle #1 {\csname CHAPF#1\endcsname}
5783 %
5784 \def\unnchfopen #1{%
5785 \chapoddpage
5786 \vbox{\chapfonts \raggedtitlesettings #1\par}%
5787 \nobreak\bigskip\nobreak
5788 }
5789 \def\chfopen #1#2{\chapoddpage {\chapfonts
5790 \vbox to 3in{\vfil \hbox to\hsize{\hfil #2} \hbox to\hsize{\hfil #1} \vfil}}%
5791 \par\penalty 5000 %
5792 }
5793 \def\centerchfopen #1{%
5794 \chapoddpage
5795 \vbox{\chapfonts \raggedtitlesettings \hfill #1\hfill}%
5796 \nobreak\bigskip \nobreak
5797 }
5798 \def\CHAPFopen{%
5799 \global\let\chapmacro=\chfopen
5800 \global\let\centerchapmacro=\centerchfopen}
5801
5802
58036676 % Section titles. These macros combine the section number parts and
58046677 % call the generic \sectionheading to do the printing.
58056678 %
58176690
58186691 % Print any size, any type, section title.
58196692 %
5820 % #1 is the text, #2 is the section level (sec/subsec/subsubsec), #3 is
5821 % the section type for xrefs (Ynumbered, Ynothing, Yappendix), #4 is the
5822 % section number.
6693 % #1 is the text of the title,
6694 % #2 is the section level (sec/subsec/subsubsec),
6695 % #3 is the section type (Ynumbered, Ynothing, Yappendix, Yomitfromtoc),
6696 % #4 is the section number.
58236697 %
58246698 \def\seckeyword{sec}
58256699 %
58266700 \def\sectionheading#1#2#3#4{%
58276701 {%
5828 \checkenv{}% should not be in an environment.
5829 %
5830 % Switch to the right set of fonts.
5831 \csname #2fonts\endcsname \rmisbold
5832 %
58336702 \def\sectionlevel{#2}%
58346703 \def\temptype{#3}%
58356704 %
6705 % It is ok for the @heading series commands to appear inside an
6706 % environment (it's been historically allowed, though the logic is
6707 % dubious), but not the others.
6708 \ifx\temptype\Yomitfromtockeyword\else
6709 \checkenv{}% non-@*heading should not be in an environment.
6710 \fi
6711 \let\footnote=\errfootnoteheading
6712 %
6713 % Switch to the right set of fonts.
6714 \csname #2fonts\endcsname \rm
6715 %
58366716 % Insert first mark before the heading break (see notes for \domark).
5837 \let\prevsectiondefs=\lastsectiondefs
6717 \let\prevsectiondefs=\currentsectiondefs
58386718 \ifx\temptype\Ynothingkeyword
58396719 \ifx\sectionlevel\seckeyword
5840 \gdef\lastsectiondefs{\gdef\thissectionname{#1}\gdef\thissectionnum{}%
6720 \gdef\currentsectiondefs{\gdef\thissectionname{#1}\gdef\thissectionnum{}%
58416721 \gdef\thissection{\thissectionname}}%
58426722 \fi
58436723 \else\ifx\temptype\Yomitfromtockeyword
58456725 \else\ifx\temptype\Yappendixkeyword
58466726 \ifx\sectionlevel\seckeyword
58476727 \toks0={#1}%
5848 \xdef\lastsectiondefs{%
6728 \xdef\currentsectiondefs{%
58496729 \gdef\noexpand\thissectionname{\the\toks0}%
58506730 \gdef\noexpand\thissectionnum{#4}%
58516731 % \noexpand\putwordSection avoids expanding indigestible
58586738 \else
58596739 \ifx\sectionlevel\seckeyword
58606740 \toks0={#1}%
5861 \xdef\lastsectiondefs{%
6741 \xdef\currentsectiondefs{%
58626742 \gdef\noexpand\thissectionname{\the\toks0}%
58636743 \gdef\noexpand\thissectionnum{#4}%
58646744 % \noexpand\putwordSection avoids expanding indigestible
58846764 %
58856765 % Now the second mark, after the heading break. No break points
58866766 % between here and the heading.
5887 \let\prevsectiondefs=\lastsectiondefs
6767 \global\let\prevsectiondefs=\currentsectiondefs
58886768 \domark
58896769 %
58906770 % Only insert the space after the number if we have a section number.
58916771 \ifx\temptype\Ynothingkeyword
58926772 \setbox0 = \hbox{}%
58936773 \def\toctype{unn}%
5894 \gdef\lastsection{#1}%
6774 \gdef\currentsection{#1}%
58956775 \else\ifx\temptype\Yomitfromtockeyword
58966776 % for @headings -- no section number, don't include in toc,
5897 % and don't redefine \lastsection.
6777 % and don't redefine \currentsection.
58986778 \setbox0 = \hbox{}%
58996779 \def\toctype{omit}%
59006780 \let\sectionlevel=\empty
59016781 \else\ifx\temptype\Yappendixkeyword
59026782 \setbox0 = \hbox{#4\enspace}%
59036783 \def\toctype{app}%
5904 \gdef\lastsection{#1}%
6784 \gdef\currentsection{#1}%
59056785 \else
59066786 \setbox0 = \hbox{#4\enspace}%
59076787 \def\toctype{num}%
5908 \gdef\lastsection{#1}%
6788 \gdef\currentsection{#1}%
59096789 \fi\fi\fi
59106790 %
59116791 % Write the toc entry (before \donoderef). See comments in \chapmacro.
59956875 % 1 and 2 (the page numbers aren't printed), and so are the first
59966876 % two pages of the document. Thus, we'd have two destinations named
59976877 % `1', and two named `2'.
5998 \ifpdf \global\pdfmakepagedesttrue \fi
6878 \ifpdforxetex
6879 \global\pdfmakepagedesttrue
6880 \fi
59996881 }
60006882
60016883
60316913 %
60326914 \def\startcontents#1{%
60336915 % If @setchapternewpage on, and @headings double, the contents should
6034 % start on an odd page, unlike chapters. Thus, we maintain
6035 % \contentsalignmacro in parallel with \pagealignmacro.
6036 % From: Torbjorn Granlund <tege@matematik.su.se>
6916 % start on an odd page, unlike chapters.
60376917 \contentsalignmacro
60386918 \immediate\closeout\tocfile
60396919 %
60446924 \savepageno = \pageno
60456925 \begingroup % Set up to handle contents files properly.
60466926 \raggedbottom % Worry more about breakpoints than the bottom.
6047 \advance\hsize by -\contentsrightmargin % Don't use the full line length.
6927 \entryrightmargin=\contentsrightmargin % Don't use the full line length.
60486928 %
60496929 % Roman numerals for page numbers.
60506930 \ifnum \pageno>0 \global\pageno = \lastnegativepageno \fi
6931 \def\thistitle{}% no title in double-sided headings
6932 % Record where the Roman numerals started.
6933 \ifnum\romancount=0 \global\romancount=\pagecount \fi
60516934 }
60526935
60536936 % redefined for the two-volume lispref. We always output on
60706953 \fi
60716954 \closein 1
60726955 \endgroup
6073 \lastnegativepageno = \pageno
6074 \global\pageno = \savepageno
6956 \contentsendroman
60756957 }
60766958
60776959 % And just the chapters.
61066988 \vfill \eject
61076989 \contentsalignmacro % in case @setchapternewpage odd is in effect
61086990 \endgroup
6991 \contentsendroman
6992 }
6993 \let\shortcontents = \summarycontents
6994
6995 % Get ready to use Arabic numerals again
6996 \def\contentsendroman{%
61096997 \lastnegativepageno = \pageno
61106998 \global\pageno = \savepageno
6111 }
6112 \let\shortcontents = \summarycontents
6999 %
7000 % If \romancount > \arabiccount, the contents are at the end of the
7001 % document. Otherwise, advance where the Arabic numerals start for
7002 % the page numbers.
7003 \ifnum\romancount>\arabiccount\else\global\arabiccount=\pagecount\fi
7004 }
61137005
61147006 % Typeset the label for a chapter or appendix for the short contents.
61157007 % The arg is, e.g., `A' for an appendix, or `3' for a chapter.
61387030 % exist, with an empty box. Let's hope all the numbers have the same width.
61397031 % Also ignore the page number, which is conventionally not printed.
61407032 \def\numeralbox{\setbox0=\hbox{8}\hbox to \wd0{\hfil}}
6141 \def\partentry#1#2#3#4{\dochapentry{\numeralbox\labelspace#1}{}}
7033 \def\partentry#1#2#3#4{%
7034 % Add stretch and a bonus for breaking the page before the part heading.
7035 % This reduces the chance of the page being broken immediately after the
7036 % part heading, before a following chapter heading.
7037 \vskip 0pt plus 5\baselineskip
7038 \penalty-300
7039 \vskip 0pt plus -5\baselineskip
7040 \dochapentry{\numeralbox\labelspace#1}{}%
7041 }
61427042 %
61437043 % Parts, in the short toc.
61447044 \def\shortpartentry#1#2#3#4{%
61497049
61507050 % Chapters, in the main contents.
61517051 \def\numchapentry#1#2#3#4{\dochapentry{#2\labelspace#1}{#4}}
6152 %
7052
61537053 % Chapters, in the short toc.
61547054 % See comments in \dochapentry re vbox and related settings.
61557055 \def\shortchapentry#1#2#3#4{%
61647064 \setbox0 = \hbox{\putwordAppendix{} M}%
61657065 \hbox to \wd0{\putwordAppendix{} #1\hss}}
61667066 %
6167 \def\appentry#1#2#3#4{\dochapentry{\appendixbox{#2}\labelspace#1}{#4}}
7067 \def\appentry#1#2#3#4{\dochapentry{\appendixbox{#2}\hskip.7em#1}{#4}}
61687068
61697069 % Unnumbered chapters.
61707070 \def\unnchapentry#1#2#3#4{\dochapentry{#1}{#4}}
61977097 \def\dochapentry#1#2{%
61987098 \penalty-300 \vskip1\baselineskip plus.33\baselineskip minus.25\baselineskip
61997099 \begingroup
7100 % Move the page numbers slightly to the right
7101 \advance\entryrightmargin by -0.05em
62007102 \chapentryfonts
62017103 \tocentry{#1}{\dopageno\bgroup#2\egroup}%
62027104 \endgroup
62517153 \catcode `\|=\other
62527154 \catcode `\<=\other
62537155 \catcode `\>=\other
6254 \catcode`\`=\other
6255 \catcode`\'=\other
6256 \escapechar=`\\
7156 \catcode `\`=\other
7157 \catcode `\'=\other
62577158 %
62587159 % ' is active in math mode (mathcode"8000). So reset it, and all our
62597160 % other math active characters (just in case), to plain's definitions.
62607161 \mathactive
62617162 %
7163 % Inverse of the list at the beginning of the file.
62627164 \let\b=\ptexb
62637165 \let\bullet=\ptexbullet
62647166 \let\c=\ptexc
62747176 \let\+=\tabalign
62757177 \let\}=\ptexrbrace
62767178 \let\/=\ptexslash
7179 \let\sp=\ptexsp
62777180 \let\*=\ptexstar
7181 %\let\sup=\ptexsup % do not redefine, we want @sup to work in math mode
62787182 \let\t=\ptext
6279 \expandafter \let\csname top\endcsname=\ptextop % outer
7183 \expandafter \let\csname top\endcsname=\ptextop % we've made it outer
62807184 \let\frenchspacing=\plainfrenchspacing
62817185 %
62827186 \def\endldots{\mathinner{\ldots\ldots\ldots\ldots}}%
63067210 % start of the next paragraph will insert \parskip.
63077211 %
63087212 \def\aboveenvbreak{{%
7213 % =10000 instead of <10000 because of a special case in \itemzzz and
7214 % \sectionheading, q.v.
7215 \ifnum \lastpenalty=10000 \else
7216 \advance\envskipamount by \parskip
7217 \endgraf
7218 \ifdim\lastskip<\envskipamount
7219 \removelastskip
7220 \ifnum\lastpenalty<10000
7221 % Penalize breaking before the environment, because preceding text
7222 % often leads into it.
7223 \penalty100
7224 \fi
7225 \vskip\envskipamount
7226 \fi
7227 \fi
7228 }}
7229
7230 \def\afterenvbreak{{%
63097231 % =10000 instead of <10000 because of a special case in \itemzzz and
63107232 % \sectionheading, q.v.
63117233 \ifnum \lastpenalty=10000 \else
63217243 \fi
63227244 }}
63237245
6324 \let\afterenvbreak = \aboveenvbreak
6325
63267246 % \nonarrowing is a flag. If "set", @lisp etc don't narrow margins; it will
63277247 % also clear it, so that its embedded environments do the narrowing again.
63287248 \let\nonarrowing=\relax
63297249
63307250 % @cartouche ... @end cartouche: draw rectangle w/rounded corners around
63317251 % environment contents.
6332 \font\circle=lcircle10
6333 \newdimen\circthick
6334 \newdimen\cartouter\newdimen\cartinner
6335 \newskip\normbskip\newskip\normpskip\newskip\normlskip
6336 \circthick=\fontdimen8\circle
7252
63377253 %
63387254 \def\ctl{{\circle\char'013\hskip -6pt}}% 6pt from pl file: 1/2charwidth
63397255 \def\ctr{{\hskip 6pt\circle\char'010}}
63487264 %
63497265 \newskip\lskip\newskip\rskip
63507266
7267 % only require the font if @cartouche is actually used
7268 \def\cartouchefontdefs{%
7269 \font\circle=lcircle10\relax
7270 \circthick=\fontdimen8\circle
7271 }
7272 \newdimen\circthick
7273 \newdimen\cartouter\newdimen\cartinner
7274 \newskip\normbskip\newskip\normpskip\newskip\normlskip
7275
7276
63517277 \envdef\cartouche{%
7278 \cartouchefontdefs
63527279 \ifhmode\par\fi % can't be in the midst of a paragraph.
63537280 \startsavinginserts
63547281 \lskip=\leftskip \rskip=\rightskip
63607287 % side, and for 6pt waste from
63617288 % each corner char, and rule thickness
63627289 \normbskip=\baselineskip \normpskip=\parskip \normlskip=\lineskip
6363 % Flag to tell @lisp, etc., not to narrow margin.
6364 \let\nonarrowing = t%
63657290 %
63667291 % If this cartouche directly follows a sectioning command, we need the
63677292 % \parskip glue (backspaced over by default) or the cartouche can
63687293 % collide with the section heading.
63697294 \ifnum\lastpenalty>10000 \vskip\parskip \penalty\lastpenalty \fi
63707295 %
6371 \vbox\bgroup
7296 \setbox\groupbox=\vbox\bgroup
63727297 \baselineskip=0pt\parskip=0pt\lineskip=0pt
63737298 \carttop
63747299 \hbox\bgroup
63927317 \egroup
63937318 \cartbot
63947319 \egroup
7320 \addgroupbox
63957321 \checkinserts
63967322 }
63977323
64017327 \newdimen\nonfillparindent
64027328 \def\nonfillstart{%
64037329 \aboveenvbreak
6404 \hfuzz = 12pt % Don't be fussy
7330 \ifdim\hfuzz < 12pt \hfuzz = 12pt \fi % Don't be fussy
64057331 \sepspaces % Make spaces be word-separators rather than space tokens.
64067332 \let\par = \lisppar % don't ignore blank lines
64077333 \obeylines % each line of input is a line of output
65307456 % @raggedright does more-or-less normal line breaking but no right
65317457 % justification. From plain.tex.
65327458 \envdef\raggedright{%
6533 \rightskip0pt plus2em \spaceskip.3333em \xspaceskip.5em\relax
7459 \rightskip0pt plus2.4em \spaceskip.3333em \xspaceskip.5em\relax
65347460 }
65357461 \let\Eraggedright\par
65367462
65897515
65907516 % @indentedblock is like @quotation, but indents only on the left and
65917517 % has no optional argument.
6592 %
7518 %
65937519 \makedispenvdef{indentedblock}{\indentedblockstart}
65947520 %
65957521 \def\indentedblockstart{%
66647590 \newdimen\tabw \setbox0=\hbox{\tt\space} \tabw=8\wd0 % tab amount
66657591 %
66667592 % We typeset each line of the verbatim in an \hbox, so we can handle
6667 % tabs. The \global is in case the verbatim line starts with an accent,
6668 % or some other command that starts with a begin-group. Otherwise, the
6669 % entire \verbbox would disappear at the corresponding end-group, before
6670 % it is typeset. Meanwhile, we can't have nested verbatim commands
6671 % (can we?), so the \global won't be overwriting itself.
7593 % tabs.
66727594 \newbox\verbbox
6673 \def\starttabbox{\global\setbox\verbbox=\hbox\bgroup}
7595 \def\starttabbox{\setbox\verbbox=\hbox\bgroup}
66747596 %
66757597 \begingroup
66767598 \catcode`\^^I=\active
66817603 \divide\dimen\verbbox by\tabw
66827604 \multiply\dimen\verbbox by\tabw % compute previous multiple of \tabw
66837605 \advance\dimen\verbbox by\tabw % advance to next multiple of \tabw
6684 \wd\verbbox=\dimen\verbbox \box\verbbox \starttabbox
7606 \wd\verbbox=\dimen\verbbox
7607 \leavevmode\box\verbbox \starttabbox
66857608 }%
66867609 }
66877610 \endgroup
66917614 \let\nonarrowing = t%
66927615 \nonfillstart
66937616 \tt % easiest (and conventionally used) font for verbatim
6694 % The \leavevmode here is for blank lines. Otherwise, we would
6695 % never \starttabox and the \egroup would end verbatim mode.
6696 \def\par{\leavevmode\egroup\box\verbbox\endgraf}%
7617 \def\par{\egroup\leavevmode\box\verbbox\endgraf\starttabbox}%
66977618 \tabexpand
66987619 \setupmarkupstyle{verbatim}%
66997620 % Respect line breaks,
67017622 % make each space count.
67027623 % Must do in this order:
67037624 \obeylines \uncatcodespecials \sepspaces
6704 \everypar{\starttabbox}%
67057625 }
67067626
67077627 % Do the @verb magic: verbatim text is quoted by unique
67367656 % ignore everything up to the first ^^M, that's the newline at the end
67377657 % of the @verbatim input line itself. Otherwise we get an extra blank
67387658 % line in the output.
6739 \xdef\doverbatim#1^^M#2@end verbatim{#2\noexpand\end\gobble verbatim}%
7659 \xdef\doverbatim#1^^M#2@end verbatim{%
7660 \starttabbox#2\egroup\noexpand\end\gobble verbatim}%
67407661 % We really want {...\end verbatim} in the body of the macro, but
67417662 % without the active space; thus we have to use \xdef and \gobble.
7663 % The \egroup ends the \verbbox started at the end of the last line in
7664 % the block.
67427665 \endgroup
67437666 %
67447667 \envdef\verbatim{%
6745 \setupverbatim\doverbatim
7668 \setnormaldispenv\setupverbatim\doverbatim
67467669 }
67477670 \let\Everbatim = \afterenvbreak
67487671
67557678 {%
67567679 \makevalueexpandable
67577680 \setupverbatim
6758 \indexnofonts % Allow `@@' and other weird things in file names.
6759 \wlog{texinfo.tex: doing @verbatiminclude of #1^^J}%
6760 \input #1
7681 {%
7682 \indexnofonts % Allow `@@' and other weird things in file names.
7683 \wlog{texinfo.tex: doing @verbatiminclude of #1^^J}%
7684 \edef\tmp{\noexpand\input #1 }
7685 \expandafter
7686 }\expandafter\starttabbox\tmp\egroup
67617687 \afterenvbreak
67627688 }%
67637689 }
67707696 % typesetting commands (@smallbook, font changes, etc.) have to be done
67717697 % beforehand -- and a) we want @copying to be done first in the source
67727698 % file; b) letting users define the frontmatter in as flexible order as
6773 % possible is very desirable.
7699 % possible is desirable.
67747700 %
67757701 \def\copying{\checkenv{}\begingroup\scanargctxt\docopying}
67767702 \def\docopying#1@end copying{\endgroup\def\copyingtext{#1}}
68657791 \temp
68667792 }
68677793
6868 % \domakedefun \deffn \deffnx \deffnheader
7794 % \domakedefun \deffn \deffnx \deffnheader { (defn. of \deffnheader) }
68697795 %
68707796 % Define \deffn and \deffnx, without parameters.
68717797 % \deffnheader has to be defined explicitly.
68867812 % @deftypefnnewline on|off says whether the return type of typed functions
68877813 % are printed on their own line. This affects @deftypefn, @deftypefun,
68887814 % @deftypeop, and @deftypemethod.
6889 %
7815 %
68907816 \parseargdef\deftypefnnewline{%
68917817 \def\temp{#1}%
68927818 \ifx\temp\onword
69027828 \fi\fi
69037829 }
69047830
7831 % \dosubind {index}{topic}{subtopic}
7832 %
7833 % If SUBTOPIC is present, precede it with a space, and call \doind.
7834 % (At some time during the 20th century, this made a two-level entry in an
7835 % index such as the operation index. Nobody seemed to notice the change in
7836 % behaviour though.)
7837 \def\dosubind#1#2#3{%
7838 \def\thirdarg{#3}%
7839 \ifx\thirdarg\empty
7840 \doind{#1}{#2}%
7841 \else
7842 \doind{#1}{#2\space#3}%
7843 \fi
7844 }
7845
69057846 % Untyped functions:
69067847
69077848 % @deffn category name args
69167857 % \deffngeneral {subind}category name args
69177858 %
69187859 \def\deffngeneral#1#2 #3 #4\endheader{%
6919 % Remember that \dosubind{fn}{foo}{} is equivalent to \doind{fn}{foo}.
69207860 \dosubind{fn}{\code{#3}}{#1}%
69217861 \defname{#2}{}{#3}\magicamp\defunargs{#4\unskip}%
69227862 }
70678007 \tclose{\temp}% typeset the return type
70688008 \ifrettypeownline
70698009 % put return type on its own line; prohibit line break following:
7070 \hfil\vadjust{\nobreak}\break
8010 \hfil\vadjust{\nobreak}\break
70718011 \else
70728012 \space % type on same line, so just followed by a space
70738013 \fi
70748014 \fi % no return type
70758015 #3% output function name
70768016 }%
7077 {\rm\enskip}% hskip 0.5 em of \tenrm
8017 {\rm\enskip}% hskip 0.5 em of \rmfont
70788018 %
70798019 \boldbrax
70808020 % arguments will be output next, if any.
71238063 \gdef\boldbrax{\let(=\opnr\let)=\clnr\let[=\lbrb\let]=\rbrb}
71248064 \gdef\magicamp{\let&=\amprm}
71258065 }
8066 \let\ampchar\&
71268067
71278068 \newcount\parencount
71288069
72038144 }
72048145 \fi
72058146
7206 \def\scanmacro#1{\begingroup
8147 % Used at the time of macro expansion.
8148 % Argument is macro body with arguments substituted
8149 \def\scanmacro#1{%
72078150 \newlinechar`\^^M
7208 \let\xeatspaces\eatspaces
7209 %
7210 % Undo catcode changes of \startcontents and \doprintindex
7211 % When called from @insertcopying or (short)caption, we need active
7212 % backslash to get it printed correctly. Previously, we had
7213 % \catcode`\\=\other instead. We'll see whether a problem appears
7214 % with macro expansion. --kasal, 19aug04
7215 \catcode`\@=0 \catcode`\\=\active \escapechar=`\@
7216 %
7217 % ... and for \example:
7218 \spaceisspace
7219 %
7220 % The \empty here causes a following catcode 5 newline to be eaten as
7221 % part of reading whitespace after a control sequence. It does not
7222 % eat a catcode 13 newline. There's no good way to handle the two
7223 % cases (untried: maybe e-TeX's \everyeof could help, though plain TeX
7224 % would then have different behavior). See the Macro Details node in
7225 % the manual for the workaround we recommend for macros and
7226 % line-oriented commands.
7227 %
7228 \scantokens{#1\empty}%
7229 \endgroup}
7230
8151 \def\xeatspaces{\eatspaces}%
8152 %
8153 % Process the macro body under the current catcode regime.
8154 \scantokens{#1@comment}%
8155 %
8156 % The \comment is to remove the \newlinechar added by \scantokens, and
8157 % can be noticed by \parsearg. Note \c isn't used because this means cedilla
8158 % in math mode.
8159 }
8160
8161 % Used for copying and captions
72318162 \def\scanexp#1{%
7232 \edef\temp{\noexpand\scanmacro{#1}}%
7233 \temp
8163 \expandafter\scanmacro\expandafter{#1}%
72348164 }
72358165
72368166 \newcount\paramno % Count of parameters
72388168 \newif\ifrecursive % Is it recursive?
72398169
72408170 % List of all defined macros in the form
7241 % \definedummyword\macro1\definedummyword\macro2...
8171 % \commondummyword\macro1\commondummyword\macro2...
72428172 % Currently is also contains all @aliases; the list can be split
72438173 % if there is a need.
72448174 \def\macrolist{}
72468176 % Add the macro to \macrolist
72478177 \def\addtomacrolist#1{\expandafter \addtomacrolistxxx \csname#1\endcsname}
72488178 \def\addtomacrolistxxx#1{%
7249 \toks0 = \expandafter{\macrolist\definedummyword#1}%
8179 \toks0 = \expandafter{\macrolist\commondummyword#1}%
72508180 \xdef\macrolist{\the\toks0}%
72518181 }
72528182
72968226 \catcode`\+=\other
72978227 \catcode`\<=\other
72988228 \catcode`\>=\other
7299 \catcode`\@=\other
73008229 \catcode`\^=\other
73018230 \catcode`\_=\other
73028231 \catcode`\|=\other
73038232 \catcode`\~=\other
7304 \ifx\declaredencoding\ascii \else \setnonasciicharscatcodenonglobal\other \fi
8233 \passthroughcharstrue
73058234 }
73068235
73078236 \def\scanargctxt{% used for copying and captions, not macros.
73088237 \scanctxt
8238 \catcode`\@=\other
73098239 \catcode`\\=\other
73108240 \catcode`\^^M=\other
73118241 }
73128242
73138243 \def\macrobodyctxt{% used for @macro definitions
73148244 \scanctxt
8245 \catcode`\ =\other
8246 \catcode`\@=\other
73158247 \catcode`\{=\other
73168248 \catcode`\}=\other
73178249 \catcode`\^^M=\other
73188250 \usembodybackslash
73198251 }
73208252
7321 \def\macroargctxt{% used when scanning invocations
8253 % Used when scanning braced macro arguments. Note, however, that catcode
8254 % changes here are ineffectual if the macro invocation was nested inside
8255 % an argument to another Texinfo command.
8256 \def\macroargctxt{%
73228257 \scanctxt
7323 \catcode`\\=0
7324 }
7325 % why catcode 0 for \ in the above? To recognize \\ \{ \} as "escapes"
7326 % for the single characters \ { }. Thus, we end up with the "commands"
7327 % that would be written @\ @{ @} in a Texinfo document.
7328 %
7329 % We already have @{ and @}. For @\, we define it here, and only for
7330 % this purpose, to produce a typewriter backslash (so, the @\ that we
7331 % define for @math can't be used with @macro calls):
7332 %
7333 \def\\{\normalbackslash}%
7334 %
7335 % We would like to do this for \, too, since that is what makeinfo does.
7336 % But it is not possible, because Texinfo already has a command @, for a
7337 % cedilla accent. Documents must use @comma{} instead.
7338 %
7339 % \anythingelse will almost certainly be an error of some kind.
7340
8258 \catcode`\ =\active
8259 \catcode`\@=\other
8260 \catcode`\^^M=\other
8261 \catcode`\\=\active
8262 }
8263
8264 \def\macrolineargctxt{% used for whole-line arguments without braces
8265 \scanctxt
8266 \catcode`\@=\other
8267 \catcode`\{=\other
8268 \catcode`\}=\other
8269 }
73418270
73428271 % \mbodybackslash is the definition of \ in @macro bodies.
73438272 % It maps \foo\ => \csname macarg.foo\endcsname => #N
73908319 % Remove the macro name from \macrolist:
73918320 \begingroup
73928321 \expandafter\let\csname#1\endcsname \relax
7393 \let\definedummyword\unmacrodo
8322 \let\commondummyword\unmacrodo
73948323 \xdef\macrolist{\macrolist}%
73958324 \endgroup
73968325 \else
74058334 \ifx #1\relax
74068335 % remove this
74078336 \else
7408 \noexpand\definedummyword \noexpand#1%
8337 \noexpand\commondummyword \noexpand#1%
74098338 \fi
74108339 }
74118340
7412 % This makes use of the obscure feature that if the last token of a
7413 % <parameter list> is #, then the preceding argument is delimited by
7414 % an opening brace, and that opening brace is not consumed.
8341 % \getargs -- Parse the arguments to a @macro line. Set \macname to
8342 % the name of the macro, and \argl to the braced argument list.
74158343 \def\getargs#1{\getargsxxx#1{}}
74168344 \def\getargsxxx#1#{\getmacname #1 \relax\getmacargs}
74178345 \def\getmacname#1 #2\relax{\macname={#1}}
74188346 \def\getmacargs#1{\def\argl{#1}}
7419
7420 % For macro processing make @ a letter so that we can make Texinfo private macro names.
7421 \edef\texiatcatcode{\the\catcode`\@}
7422 \catcode `@=11\relax
7423
7424 % Parse the optional {params} list. Set up \paramno and \paramlist
7425 % so \defmacro knows what to do. Define \macarg.BLAH for each BLAH
7426 % in the params list to some hook where the argument si to be expanded. If
7427 % there are less than 10 arguments that hook is to be replaced by ##N where N
8347 % This made use of the feature that if the last token of a
8348 % <parameter list> is #, then the preceding argument is delimited by
8349 % an opening brace, and that opening brace is not consumed.
8350
8351 % Parse the optional {params} list to @macro or @rmacro.
8352 % Set \paramno to the number of arguments,
8353 % and \paramlist to a parameter text for the macro (e.g. #1,#2,#3 for a
8354 % three-param macro.) Define \macarg.BLAH for each BLAH in the params
8355 % list to some hook where the argument is to be expanded. If there are
8356 % less than 10 arguments that hook is to be replaced by ##N where N
74288357 % is the position in that list, that is to say the macro arguments are to be
7429 % defined `a la TeX in the macro body.
8358 % defined `a la TeX in the macro body.
74308359 %
74318360 % That gets used by \mbodybackslash (above).
74328361 %
7433 % We need to get `macro parameter char #' into several definitions.
7434 % The technique used is stolen from LaTeX: let \hash be something
7435 % unexpandable, insert that wherever you need a #, and then redefine
7436 % it to # just before using the token list produced.
7437 %
7438 % The same technique is used to protect \eatspaces till just before
7439 % the macro is used.
7440 %
7441 % If there are 10 or more arguments, a different technique is used, where the
7442 % hook remains in the body, and when macro is to be expanded the body is
7443 % processed again to replace the arguments.
7444 %
7445 % In that case, the hook is \the\toks N-1, and we simply set \toks N-1 to the
7446 % argument N value and then \edef the body (nothing else will expand because of
7447 % the catcode regime underwhich the body was input).
7448 %
7449 % If you compile with TeX (not eTeX), and you have macros with 10 or more
7450 % arguments, you need that no macro has more than 256 arguments, otherwise an
7451 % error is produced.
8362 % If there are 10 or more arguments, a different technique is used: see
8363 % \parsemmanyargdef.
8364 %
74528365 \def\parsemargdef#1;{%
74538366 \paramno=0\def\paramlist{}%
74548367 \let\hash\relax
8368 % \hash is redefined to `#' later to get it into definitions
74558369 \let\xeatspaces\relax
74568370 \parsemargdefxxx#1,;,%
7457 % In case that there are 10 or more arguments we parse again the arguments
7458 % list to set new definitions for the \macarg.BLAH macros corresponding to
7459 % each BLAH argument. It was anyhow needed to parse already once this list
7460 % in order to count the arguments, and as macros with at most 9 arguments
7461 % are by far more frequent than macro with 10 or more arguments, defining
7462 % twice the \macarg.BLAH macros does not cost too much processing power.
74638371 \ifnum\paramno<10\relax\else
74648372 \paramno0\relax
74658373 \parsemmanyargdef@@#1,;,% 10 or more arguments
74748382 \edef\paramlist{\paramlist\hash\the\paramno,}%
74758383 \fi\next}
74768384
8385 % \parsemacbody, \parsermacbody
8386 %
8387 % Read recursive and nonrecursive macro bodies. (They're different since
8388 % rec and nonrec macros end differently.)
8389 %
8390 % We are in \macrobodyctxt, and the \xdef causes backslashshes in the macro
8391 % body to be transformed.
8392 % Set \macrobody to the body of the macro, and call \defmacro.
8393 %
8394 {\catcode`\ =\other\long\gdef\parsemacbody#1@end macro{%
8395 \xdef\macrobody{\eatcr{#1}}\endgroup\defmacro}}%
8396 {\catcode`\ =\other\long\gdef\parsermacbody#1@end rmacro{%
8397 \xdef\macrobody{\eatcr{#1}}\endgroup\defmacro}}%
8398
8399 % Make @ a letter, so that we can make private-to-Texinfo macro names.
8400 \edef\texiatcatcode{\the\catcode`\@}
8401 \catcode `@=11\relax
8402
8403 %%%%%%%%%%%%%% Code for > 10 arguments only %%%%%%%%%%%%%%%%%%
8404
8405 % If there are 10 or more arguments, a different technique is used, where the
8406 % hook remains in the body, and when macro is to be expanded the body is
8407 % processed again to replace the arguments.
8408 %
8409 % In that case, the hook is \the\toks N-1, and we simply set \toks N-1 to the
8410 % argument N value and then \edef the body (nothing else will expand because of
8411 % the catcode regime under which the body was input).
8412 %
8413 % If you compile with TeX (not eTeX), and you have macros with 10 or more
8414 % arguments, no macro can have more than 256 arguments (else error).
8415 %
8416 % In case that there are 10 or more arguments we parse again the arguments
8417 % list to set new definitions for the \macarg.BLAH macros corresponding to
8418 % each BLAH argument. It was anyhow needed to parse already once this list
8419 % in order to count the arguments, and as macros with at most 9 arguments
8420 % are by far more frequent than macro with 10 or more arguments, defining
8421 % twice the \macarg.BLAH macros does not cost too much processing power.
74778422 \def\parsemmanyargdef@@#1,{%
74788423 \if#1;\let\next=\relax
7479 \else
8424 \else
74808425 \let\next=\parsemmanyargdef@@
74818426 \edef\tempb{\eatspaces{#1}}%
74828427 \expandafter\def\expandafter\tempa
74898434 \advance\paramno by 1\relax
74908435 \fi\next}
74918436
7492 % These two commands read recursive and nonrecursive macro bodies.
7493 % (They're different since rec and nonrec macros end differently.)
7494 %
7495
7496 \catcode `\@\texiatcatcode
7497 \long\def\parsemacbody#1@end macro%
7498 {\xdef\temp{\eatcr{#1}}\endgroup\defmacro}%
7499 \long\def\parsermacbody#1@end rmacro%
7500 {\xdef\temp{\eatcr{#1}}\endgroup\defmacro}%
7501 \catcode `\@=11\relax
75028437
75038438 \let\endargs@\relax
75048439 \let\nil@\relax
75068441 \long\def\nillm@{\nil@}%
75078442
75088443 % This macro is expanded during the Texinfo macro expansion, not during its
7509 % definition. It gets all the arguments values and assigns them to macros
8444 % definition. It gets all the arguments' values and assigns them to macros
75108445 % macarg.ARGNAME
75118446 %
75128447 % #1 is the macro name
75278462 \getargvals@@
75288463 \fi
75298464 }
7530
7531 %
75328465 \def\getargvals@@{%
75338466 \ifx\paramlist\nilm@
75348467 % Some sanity check needed here that \argvaluelist is also empty.
75728505 }
75738506
75748507 % Replace arguments by their values in the macro body, and place the result
7575 % in macro \@tempa
8508 % in macro \@tempa.
8509 %
75768510 \def\macvalstoargs@{%
75778511 % To do this we use the property that token registers that are \the'ed
75788512 % within an \edef expand only once. So we are going to place all argument
75968530 \expandafter\def\expandafter\@tempa\expandafter{\@tempc}%
75978531 }
75988532
7599 \def\macargexpandinbody@{%
7600 %% Define the named-macro outside of this group and then close this group.
8533 % Define the named-macro outside of this group and then close this group.
8534 %
8535 \def\macargexpandinbody@{%
76018536 \expandafter
76028537 \endgroup
76038538 \macargdeflist@
76348569 \next
76358570 }
76368571
7637 % Save the token stack pointer into macro #1
7638 \def\texisavetoksstackpoint#1{\edef#1{\the\@cclvi}}
7639 % Restore the token stack pointer from number in macro #1
7640 \def\texirestoretoksstackpoint#1{\expandafter\mathchardef\expandafter\@cclvi#1\relax}
7641 % newtoks that can be used non \outer .
7642 \def\texinonouternewtoks{\alloc@ 5\toks \toksdef \@cclvi}
7643
7644 % Tailing missing arguments are set to empty
8572 % Trailing missing arguments are set to empty.
8573 %
76458574 \def\setemptyargvalues@{%
76468575 \ifx\paramlist\nilm@
76478576 \let\next\macargexpandinbody@
76718600 \long\def#2{#4}%
76728601 }
76738602
7674 % This defines a Texinfo @macro. There are eight cases: recursive and
7675 % nonrecursive macros of zero, one, up to nine, and many arguments.
7676 % Much magic with \expandafter here.
8603
8604 %%%%%%%%%%%%%% End of code for > 10 arguments %%%%%%%%%%%%%%%%%%
8605
8606
8607 % This defines a Texinfo @macro or @rmacro, called by \parsemacbody.
8608 % \macrobody has the body of the macro in it, with placeholders for
8609 % its parameters, looking like "\xeatspaces{\hash 1}".
8610 % \paramno is the number of parameters
8611 % \paramlist is a TeX parameter text, e.g. "#1,#2,#3,"
8612 % There are four cases: macros of zero, one, up to nine, and many arguments.
76778613 % \xdef is used so that macro definitions will survive the file
7678 % they're defined in; @include reads the file inside a group.
8614 % they're defined in: @include reads the file inside a group.
76798615 %
76808616 \def\defmacro{%
76818617 \let\hash=##% convert placeholders to macro parameter chars
7682 \ifrecursive
7683 \ifcase\paramno
7684 % 0
8618 \ifnum\paramno=1
8619 \def\xeatspaces##1{##1}%
8620 % This removes the pair of braces around the argument. We don't
8621 % use \eatspaces, because this can cause ends of lines to be lost
8622 % when the argument to \eatspaces is read, leading to line-based
8623 % commands like "@itemize" not being read correctly.
8624 \else
8625 \let\xeatspaces\relax % suppress expansion
8626 \fi
8627 \ifcase\paramno
8628 % 0
8629 \expandafter\xdef\csname\the\macname\endcsname{%
8630 \bgroup
8631 \noexpand\spaceisspace
8632 \noexpand\endlineisspace
8633 \noexpand\expandafter % skip any whitespace after the macro name.
8634 \expandafter\noexpand\csname\the\macname @@@\endcsname}%
8635 \expandafter\xdef\csname\the\macname @@@\endcsname{%
8636 \egroup
8637 \noexpand\scanmacro{\macrobody}}%
8638 \or % 1
8639 \expandafter\xdef\csname\the\macname\endcsname{%
8640 \bgroup
8641 \noexpand\braceorline
8642 \expandafter\noexpand\csname\the\macname @@@\endcsname}%
8643 \expandafter\xdef\csname\the\macname @@@\endcsname##1{%
8644 \egroup
8645 \noexpand\scanmacro{\macrobody}%
8646 }%
8647 \else % at most 9
8648 \ifnum\paramno<10\relax
8649 % @MACNAME sets the context for reading the macro argument
8650 % @MACNAME@@ gets the argument, processes backslashes and appends a
8651 % comma.
8652 % @MACNAME@@@ removes braces surrounding the argument list.
8653 % @MACNAME@@@@ scans the macro body with arguments substituted.
76858654 \expandafter\xdef\csname\the\macname\endcsname{%
7686 \noexpand\scanmacro{\temp}}%
7687 \or % 1
8655 \bgroup
8656 \noexpand\expandafter % This \expandafter skip any spaces after the
8657 \noexpand\macroargctxt % macro before we change the catcode of space.
8658 \noexpand\expandafter
8659 \expandafter\noexpand\csname\the\macname @@\endcsname}%
8660 \expandafter\xdef\csname\the\macname @@\endcsname##1{%
8661 \noexpand\passargtomacro
8662 \expandafter\noexpand\csname\the\macname @@@\endcsname{##1,}}%
8663 \expandafter\xdef\csname\the\macname @@@\endcsname##1{%
8664 \expandafter\noexpand\csname\the\macname @@@@\endcsname ##1}%
8665 \expandafter\expandafter
8666 \expandafter\xdef
8667 \expandafter\expandafter
8668 \csname\the\macname @@@@\endcsname\paramlist{%
8669 \egroup\noexpand\scanmacro{\macrobody}}%
8670 \else % 10 or more:
76888671 \expandafter\xdef\csname\the\macname\endcsname{%
7689 \bgroup\noexpand\macroargctxt
7690 \noexpand\braceorline
7691 \expandafter\noexpand\csname\the\macname xxx\endcsname}%
7692 \expandafter\xdef\csname\the\macname xxx\endcsname##1{%
7693 \egroup\noexpand\scanmacro{\temp}}%
7694 \else
7695 \ifnum\paramno<10\relax % at most 9
7696 \expandafter\xdef\csname\the\macname\endcsname{%
7697 \bgroup\noexpand\macroargctxt
7698 \noexpand\csname\the\macname xx\endcsname}%
7699 \expandafter\xdef\csname\the\macname xx\endcsname##1{%
7700 \expandafter\noexpand\csname\the\macname xxx\endcsname ##1,}%
7701 \expandafter\expandafter
7702 \expandafter\xdef
7703 \expandafter\expandafter
7704 \csname\the\macname xxx\endcsname
7705 \paramlist{\egroup\noexpand\scanmacro{\temp}}%
7706 \else % 10 or more
7707 \expandafter\xdef\csname\the\macname\endcsname{%
7708 \noexpand\getargvals@{\the\macname}{\argl}%
7709 }%
7710 \global\expandafter\let\csname mac.\the\macname .body\endcsname\temp
7711 \global\expandafter\let\csname mac.\the\macname .recurse\endcsname\gobble
7712 \fi
7713 \fi
7714 \else
7715 \ifcase\paramno
7716 % 0
7717 \expandafter\xdef\csname\the\macname\endcsname{%
7718 \noexpand\norecurse{\the\macname}%
7719 \noexpand\scanmacro{\temp}\egroup}%
7720 \or % 1
7721 \expandafter\xdef\csname\the\macname\endcsname{%
7722 \bgroup\noexpand\macroargctxt
7723 \noexpand\braceorline
7724 \expandafter\noexpand\csname\the\macname xxx\endcsname}%
7725 \expandafter\xdef\csname\the\macname xxx\endcsname##1{%
7726 \egroup
7727 \noexpand\norecurse{\the\macname}%
7728 \noexpand\scanmacro{\temp}\egroup}%
7729 \else % at most 9
7730 \ifnum\paramno<10\relax
7731 \expandafter\xdef\csname\the\macname\endcsname{%
7732 \bgroup\noexpand\macroargctxt
7733 \expandafter\noexpand\csname\the\macname xx\endcsname}%
7734 \expandafter\xdef\csname\the\macname xx\endcsname##1{%
7735 \expandafter\noexpand\csname\the\macname xxx\endcsname ##1,}%
7736 \expandafter\expandafter
7737 \expandafter\xdef
7738 \expandafter\expandafter
7739 \csname\the\macname xxx\endcsname
7740 \paramlist{%
7741 \egroup
7742 \noexpand\norecurse{\the\macname}%
7743 \noexpand\scanmacro{\temp}\egroup}%
7744 \else % 10 or more:
7745 \expandafter\xdef\csname\the\macname\endcsname{%
7746 \noexpand\getargvals@{\the\macname}{\argl}%
7747 }%
7748 \global\expandafter\let\csname mac.\the\macname .body\endcsname\temp
7749 \global\expandafter\let\csname mac.\the\macname .recurse\endcsname\norecurse
7750 \fi
8672 \noexpand\getargvals@{\the\macname}{\argl}%
8673 }%
8674 \global\expandafter\let\csname mac.\the\macname .body\endcsname\macrobody
8675 \global\expandafter\let\csname mac.\the\macname .recurse\endcsname\gobble
77518676 \fi
77528677 \fi}
77538678
7754 \catcode `\@\texiatcatcode\relax
8679 \catcode `\@\texiatcatcode\relax % end private-to-Texinfo catcodes
77558680
77568681 \def\norecurse#1{\bgroup\cslet{#1}{macsave.#1}}
77578682
7758 % \braceorline decides whether the next nonwhitespace character is a
7759 % {. If so it reads up to the closing }, if not, it reads the whole
7760 % line. Whatever was read is then fed to the next control sequence
7761 % as an argument (by \parsebrace or \parsearg).
7762 %
8683
8684 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8685 %
8686 {\catcode`\@=0 \catcode`\\=13 % We need to manipulate \ so use @ as escape
8687 @catcode`@_=11 % private names
8688 @catcode`@!=11 % used as argument separator
8689
8690 % \passargtomacro#1#2 -
8691 % Call #1 with a list of tokens #2, with any doubled backslashes in #2
8692 % compressed to one.
8693 %
8694 % This implementation works by expansion, and not execution (so we cannot use
8695 % \def or similar). This reduces the risk of this failing in contexts where
8696 % complete expansion is done with no execution (for example, in writing out to
8697 % an auxiliary file for an index entry).
8698 %
8699 % State is kept in the input stream: the argument passed to
8700 % @look_ahead, @gobble_and_check_finish and @add_segment is
8701 %
8702 % THE_MACRO ARG_RESULT ! {PENDING_BS} NEXT_TOKEN (... rest of input)
8703 %
8704 % where:
8705 % THE_MACRO - name of the macro we want to call
8706 % ARG_RESULT - argument list we build to pass to that macro
8707 % PENDING_BS - either a backslash or nothing
8708 % NEXT_TOKEN - used to look ahead in the input stream to see what's coming next
8709
8710 @gdef@passargtomacro#1#2{%
8711 @add_segment #1!{}@relax#2\@_finish\%
8712 }
8713 @gdef@_finish{@_finishx} @global@let@_finishx@relax
8714
8715 % #1 - THE_MACRO ARG_RESULT
8716 % #2 - PENDING_BS
8717 % #3 - NEXT_TOKEN
8718 % #4 used to look ahead
8719 %
8720 % If the next token is not a backslash, process the rest of the argument;
8721 % otherwise, remove the next token.
8722 @gdef@look_ahead#1!#2#3#4{%
8723 @ifx#4\%
8724 @expandafter@gobble_and_check_finish
8725 @else
8726 @expandafter@add_segment
8727 @fi#1!{#2}#4#4%
8728 }
8729
8730 % #1 - THE_MACRO ARG_RESULT
8731 % #2 - PENDING_BS
8732 % #3 - NEXT_TOKEN
8733 % #4 should be a backslash, which is gobbled.
8734 % #5 looks ahead
8735 %
8736 % Double backslash found. Add a single backslash, and look ahead.
8737 @gdef@gobble_and_check_finish#1!#2#3#4#5{%
8738 @add_segment#1\!{}#5#5%
8739 }
8740
8741 @gdef@is_fi{@fi}
8742
8743 % #1 - THE_MACRO ARG_RESULT
8744 % #2 - PENDING_BS
8745 % #3 - NEXT_TOKEN
8746 % #4 is input stream until next backslash
8747 %
8748 % Input stream is either at the start of the argument, or just after a
8749 % backslash sequence, either a lone backslash, or a doubled backslash.
8750 % NEXT_TOKEN contains the first token in the input stream: if it is \finish,
8751 % finish; otherwise, append to ARG_RESULT the segment of the argument up until
8752 % the next backslash. PENDING_BACKSLASH contains a backslash to represent
8753 % a backslash just before the start of the input stream that has not been
8754 % added to ARG_RESULT.
8755 @gdef@add_segment#1!#2#3#4\{%
8756 @ifx#3@_finish
8757 @call_the_macro#1!%
8758 @else
8759 % append the pending backslash to the result, followed by the next segment
8760 @expandafter@is_fi@look_ahead#1#2#4!{\}@fi
8761 % this @fi is discarded by @look_ahead.
8762 % we can't get rid of it with \expandafter because we don't know how
8763 % long #4 is.
8764 }
8765
8766 % #1 - THE_MACRO
8767 % #2 - ARG_RESULT
8768 % #3 discards the res of the conditional in @add_segment, and @is_fi ends the
8769 % conditional.
8770 @gdef@call_the_macro#1#2!#3@fi{@is_fi #1{#2}}
8771
8772 }
8773 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8774
8775 % \braceorline MAC is used for a one-argument macro MAC. It checks
8776 % whether the next non-whitespace character is a {. It sets the context
8777 % for reading the argument (slightly different in the two cases). Then,
8778 % to read the argument, in the whole-line case, it then calls the regular
8779 % \parsearg MAC; in the lbrace case, it calls \passargtomacro MAC.
8780 %
77638781 \def\braceorline#1{\let\macnamexxx=#1\futurelet\nchar\braceorlinexxx}
77648782 \def\braceorlinexxx{%
7765 \ifx\nchar\bgroup\else
7766 \expandafter\parsearg
8783 \ifx\nchar\bgroup
8784 \macroargctxt
8785 \expandafter\passargtomacro
8786 \else
8787 \macrolineargctxt\expandafter\parsearg
77678788 \fi \macnamexxx}
77688789
77698790
78068827 % also remove a trailing comma, in case of something like this:
78078828 % @node Help-Cross, , , Cross-refs
78088829 \def\donode#1 ,#2\finishnodeparse{\dodonode #1,\finishnodeparse}
7809 \def\dodonode#1,#2\finishnodeparse{\gdef\lastnode{#1}}
7810
7811 \let\nwnode=\node
8830 \def\dodonode#1,#2\finishnodeparse{\gdef\lastnode{#1}\omittopnode}
8831
8832 % Used so that the @top node doesn't have to be wrapped in an @ifnottex
8833 % conditional.
8834 % \doignore goes to more effort to skip nested conditionals but we don't need
8835 % that here.
8836 \def\omittopnode{%
8837 \ifx\lastnode\wordTop
8838 \expandafter\ignorenode\fi
8839 }
8840 \def\wordTop{Top}
8841
8842 % Until the next @node or @bye command, divert output to a box that is not
8843 % output.
8844 \def\ignorenode{\setbox\dummybox\vbox\bgroup\def\node{\egroup\node}%
8845 \ignorenodebye
8846 }
8847
8848 {\let\bye\relax
8849 \gdef\ignorenodebye{\let\bye\ignorenodebyedef}
8850 \gdef\ignorenodebyedef{\egroup(`Top' node ignored)\bye}}
8851 % The redefinition of \bye here is because it is declared \outer
8852
78128853 \let\lastnode=\empty
78138854
78148855 % Write a cross-reference definition for the current node. #1 is the
78318872
78328873 % \setref{NAME}{SNT} defines a cross-reference point NAME (a node or an
78338874 % anchor), which consists of three parts:
7834 % 1) NAME-title - the current sectioning name taken from \lastsection,
8875 % 1) NAME-title - the current sectioning name taken from \currentsection,
78358876 % or the anchor name.
78368877 % 2) NAME-snt - section number and type, passed as the SNT arg, or
78378878 % empty for anchors.
78458886 \pdfmkdest{#1}%
78468887 \iflinks
78478888 {%
8889 \requireauxfile
78488890 \atdummies % preserve commands, but don't expand them
8891 % match definition in \xrdef, \refx, \xrefX.
8892 \def\value##1{##1}%
78498893 \edef\writexrdef##1##2{%
78508894 \write\auxfile{@xrdef{#1-% #1 of \setref, expanded by the \edef
78518895 ##1}{##2}}% these are parameters of \writexrdef
78528896 }%
7853 \toks0 = \expandafter{\lastsection}%
8897 \toks0 = \expandafter{\currentsection}%
78548898 \immediate \writexrdef{title}{\the\toks0 }%
78558899 \immediate \writexrdef{snt}{\csname #2\endcsname}% \Ynumbered etc.
78568900 \safewhatsit{\writexrdef{pg}{\folio}}% will be written later, at \shipout
78628906 % automatically in xrefs, if the third arg is not explicitly specified.
78638907 % This was provided as a "secret" @set xref-automatic-section-title
78648908 % variable, now it's official.
7865 %
8909 %
78668910 \parseargdef\xrefautomaticsectiontitle{%
78678911 \def\temp{#1}%
78688912 \ifx\temp\onword
78788922 \fi\fi
78798923 }
78808924
7881 %
8925 %
78828926 % @xref, @pxref, and @ref generate cross-references. For \xrefX, #1 is
78838927 % the node name, #2 the name of the Info cross-reference, #3 the printed
78848928 % node name, #4 the name of the Info file, #5 the name of the printed
78858929 % manual. All but the node name can be omitted.
78868930 %
7887 \def\pxref#1{\putwordsee{} \xrefX[#1,,,,,,,]}
7888 \def\xref#1{\putwordSee{} \xrefX[#1,,,,,,,]}
7889 \def\ref#1{\xrefX[#1,,,,,,,]}
8931 \def\pxref{\putwordsee{} \xrefXX}
8932 \def\xref{\putwordSee{} \xrefXX}
8933 \def\ref{\xrefXX}
8934
8935 \def\xrefXX#1{\def\xrefXXarg{#1}\futurelet\tokenafterxref\xrefXXX}
8936 \def\xrefXXX{\expandafter\xrefX\expandafter[\xrefXXarg,,,,,,,]}
78908937 %
78918938 \newbox\toprefbox
78928939 \newbox\printedrefnamebox
79338980 %
79348981 % Make link in pdf output.
79358982 \ifpdf
8983 % For pdfTeX and LuaTeX
79368984 {\indexnofonts
8985 \makevalueexpandable
79378986 \turnoffactive
7938 \makevalueexpandable
79398987 % This expands tokens, so do it after making catcode changes, so _
79408988 % etc. don't get their TeX definitions. This ignores all spaces in
79418989 % #4, including (wrongly) those in the middle of the filename.
79438991 %
79448992 % This (wrongly) does not take account of leading or trailing
79458993 % spaces in #1, which should be ignored.
7946 \edef\pdfxrefdest{#1}%
7947 \ifx\pdfxrefdest\empty
7948 \def\pdfxrefdest{Top}% no empty targets
7949 \else
7950 \txiescapepdf\pdfxrefdest % escape PDF special chars
8994 \setpdfdestname{#1}%
8995 %
8996 \ifx\pdfdestname\empty
8997 \def\pdfdestname{Top}% no empty targets
79518998 \fi
79528999 %
79539000 \leavevmode
79549001 \startlink attr{/Border [0 0 0]}%
79559002 \ifnum\filenamelength>0
7956 goto file{\the\filename.pdf} name{\pdfxrefdest}%
9003 goto file{\the\filename.pdf} name{\pdfdestname}%
79579004 \else
7958 goto name{\pdfmkpgn{\pdfxrefdest}}%
9005 goto name{\pdfmkpgn{\pdfdestname}}%
79599006 \fi
79609007 }%
79619008 \setcolor{\linkcolor}%
9009 \else
9010 \ifx\XeTeXrevision\thisisundefined
9011 \else
9012 % For XeTeX
9013 {\indexnofonts
9014 \makevalueexpandable
9015 \turnoffactive
9016 % This expands tokens, so do it after making catcode changes, so _
9017 % etc. don't get their TeX definitions. This ignores all spaces in
9018 % #4, including (wrongly) those in the middle of the filename.
9019 \getfilename{#4}%
9020 %
9021 % This (wrongly) does not take account of leading or trailing
9022 % spaces in #1, which should be ignored.
9023 \setpdfdestname{#1}%
9024 %
9025 \ifx\pdfdestname\empty
9026 \def\pdfdestname{Top}% no empty targets
9027 \fi
9028 %
9029 \leavevmode
9030 \ifnum\filenamelength>0
9031 % With default settings,
9032 % XeTeX (xdvipdfmx) replaces link destination names with integers.
9033 % In this case, the replaced destination names of
9034 % remote PDFs are no longer known. In order to avoid a replacement,
9035 % you can use xdvipdfmx's command line option `-C 0x0010'.
9036 % If you use XeTeX 0.99996+ (TeX Live 2016+),
9037 % this command line option is no longer necessary
9038 % because we can use the `dvipdfmx:config' special.
9039 \special{pdf:bann << /Border [0 0 0] /Type /Annot /Subtype /Link /A
9040 << /S /GoToR /F (\the\filename.pdf) /D (\pdfdestname) >> >>}%
9041 \else
9042 \special{pdf:bann << /Border [0 0 0] /Type /Annot /Subtype /Link /A
9043 << /S /GoTo /D (\pdfdestname) >> >>}%
9044 \fi
9045 }%
9046 \setcolor{\linkcolor}%
9047 \fi
79629048 \fi
7963 %
7964 % Float references are printed completely differently: "Figure 1.2"
7965 % instead of "[somenode], p.3". We distinguish them by the
7966 % LABEL-title being set to a magic string.
79679049 {%
79689050 % Have to otherify everything special to allow the \csname to
79699051 % include an _ in the xref name, etc.
79709052 \indexnofonts
79719053 \turnoffactive
9054 \def\value##1{##1}%
79729055 \expandafter\global\expandafter\let\expandafter\Xthisreftitle
79739056 \csname XR#1-title\endcsname
79749057 }%
9058 %
9059 % Float references are printed completely differently: "Figure 1.2"
9060 % instead of "[somenode], p.3". \iffloat distinguishes them by
9061 % \Xthisreftitle being set to a magic string.
79759062 \iffloat\Xthisreftitle
79769063 % If the user specified the print name (third arg) to the ref,
79779064 % print it instead of our usual "Figure 1.2".
79889075 \fi
79899076 \else
79909077 % node/anchor (non-float) references.
7991 %
9078 %
79929079 % If we use \unhbox to print the node names, TeX does not insert
79939080 % empty discretionaries after hyphens, which means that it will not
79949081 % find a line break at a hyphen in a node names. Since some manuals
79959082 % are best written with fairly long node names, containing hyphens,
79969083 % this is a loss. Therefore, we give the text of the node name
79979084 % again, so it is as if TeX is seeing it for the first time.
7998 %
9085 %
79999086 \ifdim \wd\printedmanualbox > 0pt
80009087 % Cross-manual reference with a printed manual name.
8001 %
9088 %
80029089 \crossmanualxref{\cite{\printedmanual\unskip}}%
80039090 %
80049091 \else\ifdim \wd\infofilenamebox > 0pt
80059092 % Cross-manual reference with only an info filename (arg 4), no
80069093 % printed manual name (arg 5). This is essentially the same as
80079094 % the case above; we output the filename, since we have nothing else.
8008 %
9095 %
80099096 \crossmanualxref{\code{\infofilename\unskip}}%
80109097 %
80119098 \else
80129099 % Reference within this manual.
80139100 %
8014 % _ (for example) has to be the character _ for the purposes of the
8015 % control sequence corresponding to the node, but it has to expand
8016 % into the usual \leavevmode...\vrule stuff for purposes of
8017 % printing. So we \turnoffactive for the \refx-snt, back on for the
8018 % printing, back off for the \refx-pg.
8019 {\turnoffactive
8020 % Only output a following space if the -snt ref is nonempty; for
8021 % @unnumbered and @anchor, it won't be.
8022 \setbox2 = \hbox{\ignorespaces \refx{#1-snt}{}}%
8023 \ifdim \wd2 > 0pt \refx{#1-snt}\space\fi
8024 }%
9101 % Only output a following space if the -snt ref is nonempty; for
9102 % @unnumbered and @anchor, it won't be.
9103 \setbox2 = \hbox{\ignorespaces \refx{#1-snt}{}}%
9104 \ifdim \wd2 > 0pt \refx{#1-snt}\space\fi
9105 %
80259106 % output the `[mynode]' via the macro below so it can be overridden.
80269107 \xrefprintnodename\printedrefname
80279108 %
80309111 %
80319112 % output the `page 3'.
80329113 \turnoffactive \putwordpage\tie\refx{#1-pg}{}%
9114 % Add a , if xref followed by a space
9115 \if\space\noexpand\tokenafterxref ,%
9116 \else\ifx\ \tokenafterxref ,% @TAB
9117 \else\ifx\*\tokenafterxref ,% @*
9118 \else\ifx\ \tokenafterxref ,% @SPACE
9119 \else\ifx\
9120 \tokenafterxref ,% @NL
9121 \else\ifx\tie\tokenafterxref ,% @tie
9122 \fi\fi\fi\fi\fi\fi
80339123 \fi\fi
80349124 \fi
80359125 \endlink
80369126 \endgroup}
80379127
80389128 % Output a cross-manual xref to #1. Used just above (twice).
8039 %
9129 %
80409130 % Only include the text "Section ``foo'' in" if the foo is neither
80419131 % missing or Top. Thus, @xref{,,,foo,The Foo Manual} outputs simply
80429132 % "see The Foo Manual", the idea being to refer to the whole manual.
8043 %
9133 %
80449134 % But, this being TeX, we can't easily compare our node name against the
80459135 % string "Top" while ignoring the possible spaces before and after in
80469136 % the input. By adding the arbitrary 7sp below, we make it much less
80479137 % likely that a real node name would have the same width as "Top" (e.g.,
80489138 % in a monospaced font). Hopefully it will never happen in practice.
8049 %
9139 %
80509140 % For the same basic reason, we retypeset the "Top" at every
80519141 % reference, since the current font is indeterminate.
8052 %
9142 %
80539143 \def\crossmanualxref#1{%
80549144 \setbox\toprefbox = \hbox{Top\kern7sp}%
80559145 \setbox2 = \hbox{\ignorespaces \printedrefname \unskip \kern7sp}%
80969186 \fi\fi\fi
80979187 }
80989188
8099 % Define \refx{NAME}{SUFFIX} to reference a cross-reference string named NAME.
8100 % If its value is nonempty, SUFFIX is output afterward.
8101 %
9189 % \refx{NAME}{SUFFIX} - reference a cross-reference string named NAME. SUFFIX
9190 % is output afterwards if non-empty.
81029191 \def\refx#1#2{%
9192 \requireauxfile
81039193 {%
81049194 \indexnofonts
8105 \otherbackslash
9195 \turnoffactive
9196 \def\value##1{##1}%
81069197 \expandafter\global\expandafter\let\expandafter\thisrefX
81079198 \csname XR#1\endcsname
81089199 }%
81279218 #2% Output the suffix in any case.
81289219 }
81299220
8130 % This is the macro invoked by entries in the aux file. Usually it's
8131 % just a \def (we prepend XR to the control sequence name to avoid
8132 % collisions). But if this is a float type, we have more work to do.
9221 % This is the macro invoked by entries in the aux file. Define a control
9222 % sequence for a cross-reference target (we prepend XR to the control sequence
9223 % name to avoid collisions). The value is the page number. If this is a float
9224 % type, we have more work to do.
81339225 %
81349226 \def\xrdef#1#2{%
8135 {% The node name might contain 8-bit characters, which in our current
8136 % implementation are changed to commands like @'e. Don't let these
8137 % mess up the control sequence name.
9227 {% Expand the node or anchor name to remove control sequences.
9228 % \turnoffactive stops 8-bit characters being changed to commands
9229 % like @'e. \refx does the same to retrieve the value in the definition.
81389230 \indexnofonts
81399231 \turnoffactive
9232 \def\value##1{##1}%
81409233 \xdef\safexrefname{#1}%
81419234 }%
81429235 %
8143 \expandafter\gdef\csname XR\safexrefname\endcsname{#2}% remember this xref
9236 \bgroup
9237 \expandafter\gdef\csname XR\safexrefname\endcsname{#2}%
9238 \egroup
9239 % We put the \gdef inside a group to avoid the definitions building up on
9240 % TeX's save stack, which can cause it to run out of space for aux files with
9241 % thousands of lines. \gdef doesn't use the save stack, but \csname does
9242 % when it defines an unknown control sequence as \relax.
81449243 %
81459244 % Was that xref control sequence that we just defined for a float?
81469245 \expandafter\iffloat\csname XR\safexrefname\endcsname
81619260 \expandafter\xdef\csname floatlist\iffloattype\endcsname{\the\toks0
81629261 {\safexrefname}}%
81639262 \fi
9263 }
9264
9265 % If working on a large document in chapters, it is convenient to
9266 % be able to disable indexing, cross-referencing, and contents, for test runs.
9267 % This is done with @novalidate at the beginning of the file.
9268 %
9269 \newif\iflinks \linkstrue % by default we want the aux files.
9270 \let\novalidate = \linksfalse
9271
9272 % Used when writing to the aux file, or when using data from it.
9273 \def\requireauxfile{%
9274 \iflinks
9275 \tryauxfile
9276 % Open the new aux file. TeX will close it automatically at exit.
9277 \immediate\openout\auxfile=\jobname.aux
9278 \fi
9279 \global\let\requireauxfile=\relax % Only do this once.
81649280 }
81659281
81669282 % Read the last existing aux file, if any. No error if none exists.
82029318 \catcode`\^^]=\other
82039319 \catcode`\^^^=\other
82049320 \catcode`\^^_=\other
8205 % It was suggested to set the catcode of ^ to 7, which would allow ^^e4 etc.
8206 % in xref tags, i.e., node names. But since ^^e4 notation isn't
8207 % supported in the main text, it doesn't seem desirable. Furthermore,
8208 % that is not enough: for node names that actually contain a ^
8209 % character, we would end up writing a line like this: 'xrdef {'hat
8210 % b-title}{'hat b} and \xrdef does a \csname...\endcsname on the first
8211 % argument, and \hat is not an expandable control sequence. It could
8212 % all be worked out, but why? Either we support ^^ or we don't.
8213 %
8214 % The other change necessary for this was to define \auxhat:
8215 % \def\auxhat{\def^{'hat }}% extra space so ok if followed by letter
8216 % and then to call \auxhat in \setq.
8217 %
82189321 \catcode`\^=\other
82199322 %
82209323 % Special characters. Should be turned off anyway, but...
82329335 \catcode`\%=\other
82339336 \catcode`+=\other % avoid \+ for paranoia even though we've turned it off
82349337 %
8235 % This is to support \ in node names and titles, since the \
8236 % characters end up in a \csname. It's easier than
8237 % leaving it active and making its active definition an actual \
8238 % character. What I don't understand is why it works in the *value*
8239 % of the xrdef. Seems like it should be a catcode12 \, and that
8240 % should not typeset properly. But it works, so I'm moving on for
8241 % now. --karl, 15jan04.
8242 \catcode`\\=\other
8243 %
8244 % Make the characters 128-255 be printing characters.
8245 {%
8246 \count1=128
8247 \def\loop{%
8248 \catcode\count1=\other
8249 \advance\count1 by 1
8250 \ifnum \count1<256 \loop \fi
8251 }%
8252 }%
9338 \catcode`\\=\active
82539339 %
82549340 % @ is our escape character in .aux files, and we need braces.
82559341 \catcode`\{=1
82839369 %
82849370 % Auto-number footnotes. Otherwise like plain.
82859371 \gdef\footnote{%
8286 \let\indent=\ptexindent
8287 \let\noindent=\ptexnoindent
82889372 \global\advance\footnoteno by \@ne
82899373 \edef\thisfootno{$^{\the\footnoteno}$}%
82909374 %
83089392 %
83099393 \gdef\dofootnote{%
83109394 \insert\footins\bgroup
9395 %
9396 % Nested footnotes are not supported in TeX, that would take a lot
9397 % more work. (\startsavinginserts does not suffice.)
9398 \let\footnote=\errfootnotenest
9399 %
83119400 % We want to typeset this text as a normal paragraph, even if the
83129401 % footnote reference occurs in (for example) a display environment.
83139402 % So reset some parameters.
8314 \hsize=\pagewidth
9403 \hsize=\txipagewidth
83159404 \interlinepenalty\interfootnotelinepenalty
83169405 \splittopskip\ht\strutbox % top baseline for broken footnotes
83179406 \splitmaxdepth\dp\strutbox
83459434 }
83469435 }%end \catcode `\@=11
83479436
9437 \def\errfootnotenest{%
9438 \errhelp=\EMsimple
9439 \errmessage{Nested footnotes not supported in texinfo.tex,
9440 even though they work in makeinfo; sorry}
9441 }
9442
9443 \def\errfootnoteheading{%
9444 \errhelp=\EMsimple
9445 \errmessage{Footnotes in chapters, sections, etc., are not supported}
9446 }
9447
83489448 % In case a @footnote appears in a vbox, save the footnote text and create
83499449 % the real \insert just after the vbox finished. Otherwise, the insertion
83509450 % would be lost.
83519451 % Similarly, if a @footnote appears inside an alignment, save the footnote
83529452 % text to a box and make the \insert when a row of the table is finished.
83539453 % And the same can be done for other insert classes. --kasal, 16nov03.
8354
9454 %
83559455 % Replace the \insert primitive by a cheating macro.
83569456 % Deeper inside, just make sure that the saved insertions are not spilled
83579457 % out prematurely.
84259525 \newif\ifwarnednoepsf
84269526 \newhelp\noepsfhelp{epsf.tex must be installed for images to
84279527 work. It is also included in the Texinfo distribution, or you can get
8428 it from ftp://tug.org/tex/epsf.tex.}
9528 it from https://ctan.org/texarchive/macros/texinfo/texinfo/doc/epsf.tex.}
84299529 %
84309530 \def\image#1{%
84319531 \ifx\epsfbox\thisisundefined
84499549 \def\imagexxx#1,#2,#3,#4,#5,#6\finish{\begingroup
84509550 \catcode`\^^M = 5 % in case we're inside an example
84519551 \normalturnoffactive % allow _ et al. in names
9552 \def\xprocessmacroarg{\eatspaces}% in case we are being used via a macro
84529553 % If the image is by itself, center it.
84539554 \ifvmode
84549555 \imagevmodetrue
84789579 %
84799580 % Output the image.
84809581 \ifpdf
9582 % For pdfTeX and LuaTeX <= 0.80
84819583 \dopdfimage{#1}{#2}{#3}%
84829584 \else
8483 % \epsfbox itself resets \epsf?size at each figure.
8484 \setbox0 = \hbox{\ignorespaces #2}\ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi
8485 \setbox0 = \hbox{\ignorespaces #3}\ifdim\wd0 > 0pt \epsfysize=#3\relax \fi
8486 \epsfbox{#1.eps}%
9585 \ifx\XeTeXrevision\thisisundefined
9586 % For epsf.tex
9587 % \epsfbox itself resets \epsf?size at each figure.
9588 \setbox0 = \hbox{\ignorespaces #2}%
9589 \ifdim\wd0 > 0pt \epsfxsize=#2\relax \fi
9590 \setbox0 = \hbox{\ignorespaces #3}%
9591 \ifdim\wd0 > 0pt \epsfysize=#3\relax \fi
9592 \epsfbox{#1.eps}%
9593 \else
9594 % For XeTeX
9595 \doxeteximage{#1}{#2}{#3}%
9596 \fi
84879597 \fi
84889598 %
84899599 \ifimagevmode
84909600 \medskip % space after a standalone image
8491 \fi
9601 \fi
84929602 \ifx\centersub\centerV \egroup \fi
84939603 \endgroup}
84949604
85569666 \global\advance\floatno by 1
85579667 %
85589668 {%
8559 % This magic value for \lastsection is output by \setref as the
9669 % This magic value for \currentsection is output by \setref as the
85609670 % XREFLABEL-title value. \xrefX uses it to distinguish float
85619671 % labels (which have a completely different output format) from
85629672 % node and anchor labels. And \xrdef uses it to construct the
85639673 % lists of floats.
85649674 %
8565 \edef\lastsection{\floatmagic=\safefloattype}%
9675 \edef\currentsection{\floatmagic=\safefloattype}%
85669676 \setref{\floatlabel}{Yfloat}%
85679677 }%
85689678 \fi
86059715 %
86069716 \ifx\thiscaption\empty \else
86079717 \ifx\floatident\empty \else
8608 \appendtomacro\captionline{: }% had ident, so need a colon between
9718 \appendtomacro\captionline{: }% had ident, so need a colon between
86099719 \fi
86109720 %
86119721 % caption text.
86299739 % \floatlabel-lof. Besides \floatident, we include the short
86309740 % caption if specified, else the full caption if specified, else nothing.
86319741 {%
9742 \requireauxfile
86329743 \atdummies
86339744 %
8634 % since we read the caption text in the macro world, where ^^M
8635 % is turned into a normal character, we have to scan it back, so
8636 % we don't write the literal three characters "^^M" into the aux file.
8637 \scanexp{%
8638 \xdef\noexpand\gtemp{%
8639 \ifx\thisshortcaption\empty
8640 \thiscaption
8641 \else
8642 \thisshortcaption
8643 \fi
8644 }%
8645 }%
9745 \ifx\thisshortcaption\empty
9746 \def\gtemp{\thiscaption}%
9747 \else
9748 \def\gtemp{\thisshortcaption}%
9749 \fi
86469750 \immediate\write\auxfile{@xrdef{\floatlabel-lof}{\floatident
8647 \ifx\gtemp\empty \else : \gtemp \fi}}%
9751 \ifx\gtemp\empty \else : \gtemp \fi}}%
86489752 }%
86499753 \fi
86509754 \egroup % end of \vtop
8651 %
8652 % place the captured inserts
8653 %
8654 % BEWARE: when the floats start floating, we have to issue warning
8655 % whenever an insert appears inside a float which could possibly
8656 % float. --kasal, 26may04
86579755 %
86589756 \checkinserts
86599757 }
86979795
86989796 % #1 is the control sequence we are passed; we expand into a conditional
86999797 % which is true if #1 represents a float ref. That is, the magic
8700 % \lastsection value which we \setref above.
9798 % \currentsection value which we \setref above.
87019799 %
87029800 \def\iffloat#1{\expandafter\doiffloat#1==\finish}
87039801 %
87689866 {
87699867 \catcode`\_ = \active
87709868 \globaldefs=1
8771 \parseargdef\documentlanguage{\begingroup
8772 \let_=\normalunderscore % normal _ character for filenames
9869 \parseargdef\documentlanguage{%
87739870 \tex % read txi-??.tex file in plain TeX.
87749871 % Read the file by the name they passed if it exists.
9872 \let_ = \normalunderscore % normal _ character for filename test
87759873 \openin 1 txi-#1.tex
87769874 \ifeof 1
8777 \documentlanguagetrywithoutunderscore{#1_\finish}%
9875 \documentlanguagetrywithoutunderscore #1_\finish
87789876 \else
87799877 \globaldefs = 1 % everything in the txi-LL files needs to persist
87809878 \input txi-#1.tex
87819879 \fi
87829880 \closein 1
87839881 \endgroup % end raw TeX
8784 \endgroup}
9882 }
87859883 %
87869884 % If they passed de_DE, and txi-de_DE.tex doesn't exist,
87879885 % try txi-de.tex.
88299927 \global\righthyphenmin = #3\relax
88309928 }
88319929
9930 % XeTeX and LuaTeX can handle Unicode natively.
9931 % Their default I/O uses UTF-8 sequences instead of a byte-wise operation.
9932 % Other TeX engines' I/O (pdfTeX, etc.) is byte-wise.
9933 %
9934 \newif\iftxinativeunicodecapable
9935 \newif\iftxiusebytewiseio
9936
9937 \ifx\XeTeXrevision\thisisundefined
9938 \ifx\luatexversion\thisisundefined
9939 \txinativeunicodecapablefalse
9940 \txiusebytewiseiotrue
9941 \else
9942 \txinativeunicodecapabletrue
9943 \txiusebytewiseiofalse
9944 \fi
9945 \else
9946 \txinativeunicodecapabletrue
9947 \txiusebytewiseiofalse
9948 \fi
9949
9950 % Set I/O by bytes instead of UTF-8 sequence for XeTeX and LuaTex
9951 % for non-UTF-8 (byte-wise) encodings.
9952 %
9953 \def\setbytewiseio{%
9954 \ifx\XeTeXrevision\thisisundefined
9955 \else
9956 \XeTeXdefaultencoding "bytes" % For subsequent files to be read
9957 \XeTeXinputencoding "bytes" % For document root file
9958 % Unfortunately, there seems to be no corresponding XeTeX command for
9959 % output encoding. This is a problem for auxiliary index and TOC files.
9960 % The only solution would be perhaps to write out @U{...} sequences in
9961 % place of non-ASCII characters.
9962 \fi
9963
9964 \ifx\luatexversion\thisisundefined
9965 \else
9966 \directlua{
9967 local utf8_char, byte, gsub = unicode.utf8.char, string.byte, string.gsub
9968 local function convert_char (char)
9969 return utf8_char(byte(char))
9970 end
9971
9972 local function convert_line (line)
9973 return gsub(line, ".", convert_char)
9974 end
9975
9976 callback.register("process_input_buffer", convert_line)
9977
9978 local function convert_line_out (line)
9979 local line_out = ""
9980 for c in string.utfvalues(line) do
9981 line_out = line_out .. string.char(c)
9982 end
9983 return line_out
9984 end
9985
9986 callback.register("process_output_buffer", convert_line_out)
9987 }
9988 \fi
9989
9990 \txiusebytewiseiotrue
9991 }
9992
9993
88329994 % Helpers for encodings.
88339995 % Set the catcode of characters 128 through 255 to the specified number.
88349996 %
885110013 % @documentencoding sets the definition of non-ASCII characters
885210014 % according to the specified encoding.
885310015 %
8854 \parseargdef\documentencoding{%
10016 \def\documentencoding{\parseargusing\filenamecatcodes\documentencodingzzz}
10017 \def\documentencodingzzz#1{%
10018 %
885510019 % Encoding being declared for the document.
885610020 \def\declaredencoding{\csname #1.enc\endcsname}%
885710021 %
886710031 \asciichardefs
886810032 %
886910033 \else \ifx \declaredencoding \lattwo
10034 \iftxinativeunicodecapable
10035 \setbytewiseio
10036 \fi
887010037 \setnonasciicharscatcode\active
887110038 \lattwochardefs
887210039 %
887310040 \else \ifx \declaredencoding \latone
10041 \iftxinativeunicodecapable
10042 \setbytewiseio
10043 \fi
887410044 \setnonasciicharscatcode\active
887510045 \latonechardefs
887610046 %
887710047 \else \ifx \declaredencoding \latnine
10048 \iftxinativeunicodecapable
10049 \setbytewiseio
10050 \fi
887810051 \setnonasciicharscatcode\active
887910052 \latninechardefs
888010053 %
888110054 \else \ifx \declaredencoding \utfeight
8882 \setnonasciicharscatcode\active
8883 \utfeightchardefs
10055 \iftxinativeunicodecapable
10056 % For native Unicode handling (XeTeX and LuaTeX)
10057 \nativeunicodechardefs
10058 \else
10059 % For treating UTF-8 as byte sequences (TeX, eTeX and pdfTeX)
10060 \setnonasciicharscatcode\active
10061 % since we already invoked \utfeightchardefs at the top level
10062 % (below), do not re-invoke it, otherwise our check for duplicated
10063 % definitions gets triggered. Making non-ascii chars active is
10064 % sufficient.
10065 \fi
888410066 %
888510067 \else
8886 \message{Unknown document encoding #1, ignoring.}%
10068 \message{Ignoring unknown document encoding: #1.}%
888710069 %
888810070 \fi % utfeight
888910071 \fi % latnine
889010072 \fi % latone
889110073 \fi % lattwo
889210074 \fi % ascii
8893 }
8894
10075 %
10076 \ifx\XeTeXrevision\thisisundefined
10077 \else
10078 \ifx \declaredencoding \utfeight
10079 \else
10080 \ifx \declaredencoding \ascii
10081 \else
10082 \message{Warning: XeTeX with non-UTF-8 encodings cannot handle %
10083 non-ASCII characters in auxiliary files.}%
10084 \fi
10085 \fi
10086 \fi
10087 }
10088
10089 % emacs-page
889510090 % A message to be logged when using a character that isn't available
889610091 % the default font encoding (OT1).
889710092 %
8898 \def\missingcharmsg#1{\message{Character missing in OT1 encoding: #1.}}
10093 \def\missingcharmsg#1{\message{Character missing, sorry: #1.}}
889910094
890010095 % Take account of \c (plain) vs. \, (Texinfo) difference.
890110096 \def\cedilla#1{\ifx\c\ptexc\c{#1}\else\,{#1}\fi}
890510100 % macros containing the character definitions.
890610101 \setnonasciicharscatcode\active
890710102 %
10103
10104 \def\gdefchar#1#2{%
10105 \gdef#1{%
10106 \ifpassthroughchars
10107 \string#1%
10108 \else
10109 #2%
10110 \fi
10111 }}
10112
890810113 % Latin1 (ISO-8859-1) character definitions.
890910114 \def\latonechardefs{%
8910 \gdef^^a0{\tie}
8911 \gdef^^a1{\exclamdown}
8912 \gdef^^a2{\missingcharmsg{CENT SIGN}}
8913 \gdef^^a3{{\pounds}}
8914 \gdef^^a4{\missingcharmsg{CURRENCY SIGN}}
8915 \gdef^^a5{\missingcharmsg{YEN SIGN}}
8916 \gdef^^a6{\missingcharmsg{BROKEN BAR}}
8917 \gdef^^a7{\S}
8918 \gdef^^a8{\"{}}
8919 \gdef^^a9{\copyright}
8920 \gdef^^aa{\ordf}
8921 \gdef^^ab{\guillemetleft}
8922 \gdef^^ac{$\lnot$}
8923 \gdef^^ad{\-}
8924 \gdef^^ae{\registeredsymbol}
8925 \gdef^^af{\={}}
8926 %
8927 \gdef^^b0{\textdegree}
8928 \gdef^^b1{$\pm$}
8929 \gdef^^b2{$^2$}
8930 \gdef^^b3{$^3$}
8931 \gdef^^b4{\'{}}
8932 \gdef^^b5{$\mu$}
8933 \gdef^^b6{\P}
8934 %
8935 \gdef^^b7{$^.$}
8936 \gdef^^b8{\cedilla\ }
8937 \gdef^^b9{$^1$}
8938 \gdef^^ba{\ordm}
8939 %
8940 \gdef^^bb{\guillemetright}
8941 \gdef^^bc{$1\over4$}
8942 \gdef^^bd{$1\over2$}
8943 \gdef^^be{$3\over4$}
8944 \gdef^^bf{\questiondown}
8945 %
8946 \gdef^^c0{\`A}
8947 \gdef^^c1{\'A}
8948 \gdef^^c2{\^A}
8949 \gdef^^c3{\~A}
8950 \gdef^^c4{\"A}
8951 \gdef^^c5{\ringaccent A}
8952 \gdef^^c6{\AE}
8953 \gdef^^c7{\cedilla C}
8954 \gdef^^c8{\`E}
8955 \gdef^^c9{\'E}
8956 \gdef^^ca{\^E}
8957 \gdef^^cb{\"E}
8958 \gdef^^cc{\`I}
8959 \gdef^^cd{\'I}
8960 \gdef^^ce{\^I}
8961 \gdef^^cf{\"I}
8962 %
8963 \gdef^^d0{\DH}
8964 \gdef^^d1{\~N}
8965 \gdef^^d2{\`O}
8966 \gdef^^d3{\'O}
8967 \gdef^^d4{\^O}
8968 \gdef^^d5{\~O}
8969 \gdef^^d6{\"O}
8970 \gdef^^d7{$\times$}
8971 \gdef^^d8{\O}
8972 \gdef^^d9{\`U}
8973 \gdef^^da{\'U}
8974 \gdef^^db{\^U}
8975 \gdef^^dc{\"U}
8976 \gdef^^dd{\'Y}
8977 \gdef^^de{\TH}
8978 \gdef^^df{\ss}
8979 %
8980 \gdef^^e0{\`a}
8981 \gdef^^e1{\'a}
8982 \gdef^^e2{\^a}
8983 \gdef^^e3{\~a}
8984 \gdef^^e4{\"a}
8985 \gdef^^e5{\ringaccent a}
8986 \gdef^^e6{\ae}
8987 \gdef^^e7{\cedilla c}
8988 \gdef^^e8{\`e}
8989 \gdef^^e9{\'e}
8990 \gdef^^ea{\^e}
8991 \gdef^^eb{\"e}
8992 \gdef^^ec{\`{\dotless i}}
8993 \gdef^^ed{\'{\dotless i}}
8994 \gdef^^ee{\^{\dotless i}}
8995 \gdef^^ef{\"{\dotless i}}
8996 %
8997 \gdef^^f0{\dh}
8998 \gdef^^f1{\~n}
8999 \gdef^^f2{\`o}
9000 \gdef^^f3{\'o}
9001 \gdef^^f4{\^o}
9002 \gdef^^f5{\~o}
9003 \gdef^^f6{\"o}
9004 \gdef^^f7{$\div$}
9005 \gdef^^f8{\o}
9006 \gdef^^f9{\`u}
9007 \gdef^^fa{\'u}
9008 \gdef^^fb{\^u}
9009 \gdef^^fc{\"u}
9010 \gdef^^fd{\'y}
9011 \gdef^^fe{\th}
9012 \gdef^^ff{\"y}
10115 \gdefchar^^a0{\tie}
10116 \gdefchar^^a1{\exclamdown}
10117 \gdefchar^^a2{{\tcfont \char162}} % cent
10118 \gdefchar^^a3{\pounds{}}
10119 \gdefchar^^a4{{\tcfont \char164}} % currency
10120 \gdefchar^^a5{{\tcfont \char165}} % yen
10121 \gdefchar^^a6{{\tcfont \char166}} % broken bar
10122 \gdefchar^^a7{\S}
10123 \gdefchar^^a8{\"{}}
10124 \gdefchar^^a9{\copyright{}}
10125 \gdefchar^^aa{\ordf}
10126 \gdefchar^^ab{\guillemetleft{}}
10127 \gdefchar^^ac{\ensuremath\lnot}
10128 \gdefchar^^ad{\-}
10129 \gdefchar^^ae{\registeredsymbol{}}
10130 \gdefchar^^af{\={}}
10131 %
10132 \gdefchar^^b0{\textdegree}
10133 \gdefchar^^b1{$\pm$}
10134 \gdefchar^^b2{$^2$}
10135 \gdefchar^^b3{$^3$}
10136 \gdefchar^^b4{\'{}}
10137 \gdefchar^^b5{$\mu$}
10138 \gdefchar^^b6{\P}
10139 \gdefchar^^b7{\ensuremath\cdot}
10140 \gdefchar^^b8{\cedilla\ }
10141 \gdefchar^^b9{$^1$}
10142 \gdefchar^^ba{\ordm}
10143 \gdefchar^^bb{\guillemetright{}}
10144 \gdefchar^^bc{$1\over4$}
10145 \gdefchar^^bd{$1\over2$}
10146 \gdefchar^^be{$3\over4$}
10147 \gdefchar^^bf{\questiondown}
10148 %
10149 \gdefchar^^c0{\`A}
10150 \gdefchar^^c1{\'A}
10151 \gdefchar^^c2{\^A}
10152 \gdefchar^^c3{\~A}
10153 \gdefchar^^c4{\"A}
10154 \gdefchar^^c5{\ringaccent A}
10155 \gdefchar^^c6{\AE}
10156 \gdefchar^^c7{\cedilla C}
10157 \gdefchar^^c8{\`E}
10158 \gdefchar^^c9{\'E}
10159 \gdefchar^^ca{\^E}
10160 \gdefchar^^cb{\"E}
10161 \gdefchar^^cc{\`I}
10162 \gdefchar^^cd{\'I}
10163 \gdefchar^^ce{\^I}
10164 \gdefchar^^cf{\"I}
10165 %
10166 \gdefchar^^d0{\DH}
10167 \gdefchar^^d1{\~N}
10168 \gdefchar^^d2{\`O}
10169 \gdefchar^^d3{\'O}
10170 \gdefchar^^d4{\^O}
10171 \gdefchar^^d5{\~O}
10172 \gdefchar^^d6{\"O}
10173 \gdefchar^^d7{$\times$}
10174 \gdefchar^^d8{\O}
10175 \gdefchar^^d9{\`U}
10176 \gdefchar^^da{\'U}
10177 \gdefchar^^db{\^U}
10178 \gdefchar^^dc{\"U}
10179 \gdefchar^^dd{\'Y}
10180 \gdefchar^^de{\TH}
10181 \gdefchar^^df{\ss}
10182 %
10183 \gdefchar^^e0{\`a}
10184 \gdefchar^^e1{\'a}
10185 \gdefchar^^e2{\^a}
10186 \gdefchar^^e3{\~a}
10187 \gdefchar^^e4{\"a}
10188 \gdefchar^^e5{\ringaccent a}
10189 \gdefchar^^e6{\ae}
10190 \gdefchar^^e7{\cedilla c}
10191 \gdefchar^^e8{\`e}
10192 \gdefchar^^e9{\'e}
10193 \gdefchar^^ea{\^e}
10194 \gdefchar^^eb{\"e}
10195 \gdefchar^^ec{\`{\dotless i}}
10196 \gdefchar^^ed{\'{\dotless i}}
10197 \gdefchar^^ee{\^{\dotless i}}
10198 \gdefchar^^ef{\"{\dotless i}}
10199 %
10200 \gdefchar^^f0{\dh}
10201 \gdefchar^^f1{\~n}
10202 \gdefchar^^f2{\`o}
10203 \gdefchar^^f3{\'o}
10204 \gdefchar^^f4{\^o}
10205 \gdefchar^^f5{\~o}
10206 \gdefchar^^f6{\"o}
10207 \gdefchar^^f7{$\div$}
10208 \gdefchar^^f8{\o}
10209 \gdefchar^^f9{\`u}
10210 \gdefchar^^fa{\'u}
10211 \gdefchar^^fb{\^u}
10212 \gdefchar^^fc{\"u}
10213 \gdefchar^^fd{\'y}
10214 \gdefchar^^fe{\th}
10215 \gdefchar^^ff{\"y}
901310216 }
901410217
901510218 % Latin9 (ISO-8859-15) encoding character definitions.
901710220 % Encoding is almost identical to Latin1.
901810221 \latonechardefs
901910222 %
9020 \gdef^^a4{\euro}
9021 \gdef^^a6{\v S}
9022 \gdef^^a8{\v s}
9023 \gdef^^b4{\v Z}
9024 \gdef^^b8{\v z}
9025 \gdef^^bc{\OE}
9026 \gdef^^bd{\oe}
9027 \gdef^^be{\"Y}
10223 \gdefchar^^a4{\euro{}}
10224 \gdefchar^^a6{\v S}
10225 \gdefchar^^a8{\v s}
10226 \gdefchar^^b4{\v Z}
10227 \gdefchar^^b8{\v z}
10228 \gdefchar^^bc{\OE}
10229 \gdefchar^^bd{\oe}
10230 \gdefchar^^be{\"Y}
902810231 }
902910232
903010233 % Latin2 (ISO-8859-2) character definitions.
903110234 \def\lattwochardefs{%
9032 \gdef^^a0{\tie}
9033 \gdef^^a1{\ogonek{A}}
9034 \gdef^^a2{\u{}}
9035 \gdef^^a3{\L}
9036 \gdef^^a4{\missingcharmsg{CURRENCY SIGN}}
9037 \gdef^^a5{\v L}
9038 \gdef^^a6{\'S}
9039 \gdef^^a7{\S}
9040 \gdef^^a8{\"{}}
9041 \gdef^^a9{\v S}
9042 \gdef^^aa{\cedilla S}
9043 \gdef^^ab{\v T}
9044 \gdef^^ac{\'Z}
9045 \gdef^^ad{\-}
9046 \gdef^^ae{\v Z}
9047 \gdef^^af{\dotaccent Z}
9048 %
9049 \gdef^^b0{\textdegree}
9050 \gdef^^b1{\ogonek{a}}
9051 \gdef^^b2{\ogonek{ }}
9052 \gdef^^b3{\l}
9053 \gdef^^b4{\'{}}
9054 \gdef^^b5{\v l}
9055 \gdef^^b6{\'s}
9056 \gdef^^b7{\v{}}
9057 \gdef^^b8{\cedilla\ }
9058 \gdef^^b9{\v s}
9059 \gdef^^ba{\cedilla s}
9060 \gdef^^bb{\v t}
9061 \gdef^^bc{\'z}
9062 \gdef^^bd{\H{}}
9063 \gdef^^be{\v z}
9064 \gdef^^bf{\dotaccent z}
9065 %
9066 \gdef^^c0{\'R}
9067 \gdef^^c1{\'A}
9068 \gdef^^c2{\^A}
9069 \gdef^^c3{\u A}
9070 \gdef^^c4{\"A}
9071 \gdef^^c5{\'L}
9072 \gdef^^c6{\'C}
9073 \gdef^^c7{\cedilla C}
9074 \gdef^^c8{\v C}
9075 \gdef^^c9{\'E}
9076 \gdef^^ca{\ogonek{E}}
9077 \gdef^^cb{\"E}
9078 \gdef^^cc{\v E}
9079 \gdef^^cd{\'I}
9080 \gdef^^ce{\^I}
9081 \gdef^^cf{\v D}
9082 %
9083 \gdef^^d0{\DH}
9084 \gdef^^d1{\'N}
9085 \gdef^^d2{\v N}
9086 \gdef^^d3{\'O}
9087 \gdef^^d4{\^O}
9088 \gdef^^d5{\H O}
9089 \gdef^^d6{\"O}
9090 \gdef^^d7{$\times$}
9091 \gdef^^d8{\v R}
9092 \gdef^^d9{\ringaccent U}
9093 \gdef^^da{\'U}
9094 \gdef^^db{\H U}
9095 \gdef^^dc{\"U}
9096 \gdef^^dd{\'Y}
9097 \gdef^^de{\cedilla T}
9098 \gdef^^df{\ss}
9099 %
9100 \gdef^^e0{\'r}
9101 \gdef^^e1{\'a}
9102 \gdef^^e2{\^a}
9103 \gdef^^e3{\u a}
9104 \gdef^^e4{\"a}
9105 \gdef^^e5{\'l}
9106 \gdef^^e6{\'c}
9107 \gdef^^e7{\cedilla c}
9108 \gdef^^e8{\v c}
9109 \gdef^^e9{\'e}
9110 \gdef^^ea{\ogonek{e}}
9111 \gdef^^eb{\"e}
9112 \gdef^^ec{\v e}
9113 \gdef^^ed{\'{\dotless{i}}}
9114 \gdef^^ee{\^{\dotless{i}}}
9115 \gdef^^ef{\v d}
9116 %
9117 \gdef^^f0{\dh}
9118 \gdef^^f1{\'n}
9119 \gdef^^f2{\v n}
9120 \gdef^^f3{\'o}
9121 \gdef^^f4{\^o}
9122 \gdef^^f5{\H o}
9123 \gdef^^f6{\"o}
9124 \gdef^^f7{$\div$}
9125 \gdef^^f8{\v r}
9126 \gdef^^f9{\ringaccent u}
9127 \gdef^^fa{\'u}
9128 \gdef^^fb{\H u}
9129 \gdef^^fc{\"u}
9130 \gdef^^fd{\'y}
9131 \gdef^^fe{\cedilla t}
9132 \gdef^^ff{\dotaccent{}}
10235 \gdefchar^^a0{\tie}
10236 \gdefchar^^a1{\ogonek{A}}
10237 \gdefchar^^a2{\u{}}
10238 \gdefchar^^a3{\L}
10239 \gdefchar^^a4{\missingcharmsg{CURRENCY SIGN}}
10240 \gdefchar^^a5{\v L}
10241 \gdefchar^^a6{\'S}
10242 \gdefchar^^a7{\S}
10243 \gdefchar^^a8{\"{}}
10244 \gdefchar^^a9{\v S}
10245 \gdefchar^^aa{\cedilla S}
10246 \gdefchar^^ab{\v T}
10247 \gdefchar^^ac{\'Z}
10248 \gdefchar^^ad{\-}
10249 \gdefchar^^ae{\v Z}
10250 \gdefchar^^af{\dotaccent Z}
10251 %
10252 \gdefchar^^b0{\textdegree{}}
10253 \gdefchar^^b1{\ogonek{a}}
10254 \gdefchar^^b2{\ogonek{ }}
10255 \gdefchar^^b3{\l}
10256 \gdefchar^^b4{\'{}}
10257 \gdefchar^^b5{\v l}
10258 \gdefchar^^b6{\'s}
10259 \gdefchar^^b7{\v{}}
10260 \gdefchar^^b8{\cedilla\ }
10261 \gdefchar^^b9{\v s}
10262 \gdefchar^^ba{\cedilla s}
10263 \gdefchar^^bb{\v t}
10264 \gdefchar^^bc{\'z}
10265 \gdefchar^^bd{\H{}}
10266 \gdefchar^^be{\v z}
10267 \gdefchar^^bf{\dotaccent z}
10268 %
10269 \gdefchar^^c0{\'R}
10270 \gdefchar^^c1{\'A}
10271 \gdefchar^^c2{\^A}
10272 \gdefchar^^c3{\u A}
10273 \gdefchar^^c4{\"A}
10274 \gdefchar^^c5{\'L}
10275 \gdefchar^^c6{\'C}
10276 \gdefchar^^c7{\cedilla C}
10277 \gdefchar^^c8{\v C}
10278 \gdefchar^^c9{\'E}
10279 \gdefchar^^ca{\ogonek{E}}
10280 \gdefchar^^cb{\"E}
10281 \gdefchar^^cc{\v E}
10282 \gdefchar^^cd{\'I}
10283 \gdefchar^^ce{\^I}
10284 \gdefchar^^cf{\v D}
10285 %
10286 \gdefchar^^d0{\DH}
10287 \gdefchar^^d1{\'N}
10288 \gdefchar^^d2{\v N}
10289 \gdefchar^^d3{\'O}
10290 \gdefchar^^d4{\^O}
10291 \gdefchar^^d5{\H O}
10292 \gdefchar^^d6{\"O}
10293 \gdefchar^^d7{$\times$}
10294 \gdefchar^^d8{\v R}
10295 \gdefchar^^d9{\ringaccent U}
10296 \gdefchar^^da{\'U}
10297 \gdefchar^^db{\H U}
10298 \gdefchar^^dc{\"U}
10299 \gdefchar^^dd{\'Y}
10300 \gdefchar^^de{\cedilla T}
10301 \gdefchar^^df{\ss}
10302 %
10303 \gdefchar^^e0{\'r}
10304 \gdefchar^^e1{\'a}
10305 \gdefchar^^e2{\^a}
10306 \gdefchar^^e3{\u a}
10307 \gdefchar^^e4{\"a}
10308 \gdefchar^^e5{\'l}
10309 \gdefchar^^e6{\'c}
10310 \gdefchar^^e7{\cedilla c}
10311 \gdefchar^^e8{\v c}
10312 \gdefchar^^e9{\'e}
10313 \gdefchar^^ea{\ogonek{e}}
10314 \gdefchar^^eb{\"e}
10315 \gdefchar^^ec{\v e}
10316 \gdefchar^^ed{\'{\dotless{i}}}
10317 \gdefchar^^ee{\^{\dotless{i}}}
10318 \gdefchar^^ef{\v d}
10319 %
10320 \gdefchar^^f0{\dh}
10321 \gdefchar^^f1{\'n}
10322 \gdefchar^^f2{\v n}
10323 \gdefchar^^f3{\'o}
10324 \gdefchar^^f4{\^o}
10325 \gdefchar^^f5{\H o}
10326 \gdefchar^^f6{\"o}
10327 \gdefchar^^f7{$\div$}
10328 \gdefchar^^f8{\v r}
10329 \gdefchar^^f9{\ringaccent u}
10330 \gdefchar^^fa{\'u}
10331 \gdefchar^^fb{\H u}
10332 \gdefchar^^fc{\"u}
10333 \gdefchar^^fd{\'y}
10334 \gdefchar^^fe{\cedilla t}
10335 \gdefchar^^ff{\dotaccent{}}
913310336 }
913410337
913510338 % UTF-8 character definitions.
915910362 \fi
916010363 }
916110364
10365 % Give non-ASCII bytes the active definitions for processing UTF-8 sequences
916210366 \begingroup
916310367 \catcode`\~13
10368 \catcode`\$12
916410369 \catcode`\"12
916510370
10371 % Loop from \countUTFx to \countUTFy, performing \UTFviiiTmp
10372 % substituting ~ and $ with a character token of that value.
916610373 \def\UTFviiiLoop{%
916710374 \global\catcode\countUTFx\active
916810375 \uccode`\~\countUTFx
10376 \uccode`\$\countUTFx
916910377 \uppercase\expandafter{\UTFviiiTmp}%
917010378 \advance\countUTFx by 1
917110379 \ifnum\countUTFx < \countUTFy
917210380 \expandafter\UTFviiiLoop
917310381 \fi}
917410382
10383 % For bytes other than the first in a UTF-8 sequence. Not expected to
10384 % be expanded except when writing to auxiliary files.
10385 \countUTFx = "80
10386 \countUTFy = "C2
10387 \def\UTFviiiTmp{%
10388 \gdef~{%
10389 \ifpassthroughchars $\fi}}%
10390 \UTFviiiLoop
10391
917510392 \countUTFx = "C2
917610393 \countUTFy = "E0
917710394 \def\UTFviiiTmp{%
9178 \xdef~{\noexpand\UTFviiiTwoOctets\string~}}
10395 \gdef~{%
10396 \ifpassthroughchars $%
10397 \else\expandafter\UTFviiiTwoOctets\expandafter$\fi}}%
917910398 \UTFviiiLoop
918010399
918110400 \countUTFx = "E0
918210401 \countUTFy = "F0
918310402 \def\UTFviiiTmp{%
9184 \xdef~{\noexpand\UTFviiiThreeOctets\string~}}
10403 \gdef~{%
10404 \ifpassthroughchars $%
10405 \else\expandafter\UTFviiiThreeOctets\expandafter$\fi}}%
918510406 \UTFviiiLoop
918610407
918710408 \countUTFx = "F0
918810409 \countUTFy = "F4
918910410 \def\UTFviiiTmp{%
9190 \xdef~{\noexpand\UTFviiiFourOctets\string~}}
10411 \gdef~{%
10412 \ifpassthroughchars $%
10413 \else\expandafter\UTFviiiFourOctets\expandafter$\fi
10414 }}%
919110415 \UTFviiiLoop
919210416 \endgroup
919310417
10418 \def\globallet{\global\let} % save some \expandafter's below
10419
10420 % @U{xxxx} to produce U+xxxx, if we support it.
10421 \def\U#1{%
10422 \expandafter\ifx\csname uni:#1\endcsname \relax
10423 \iftxinativeunicodecapable
10424 % All Unicode characters can be used if native Unicode handling is
10425 % active. However, if the font does not have the glyph,
10426 % letters are missing.
10427 \begingroup
10428 \uccode`\.="#1\relax
10429 \uppercase{.}
10430 \endgroup
10431 \else
10432 \errhelp = \EMsimple
10433 \errmessage{Unicode character U+#1 not supported, sorry}%
10434 \fi
10435 \else
10436 \csname uni:#1\endcsname
10437 \fi
10438 }
10439
10440 % These macros are used here to construct the name of a control
10441 % sequence to be defined.
10442 \def\UTFviiiTwoOctetsName#1#2{%
10443 \csname u8:#1\string #2\endcsname}%
10444 \def\UTFviiiThreeOctetsName#1#2#3{%
10445 \csname u8:#1\string #2\string #3\endcsname}%
10446 \def\UTFviiiFourOctetsName#1#2#3#4{%
10447 \csname u8:#1\string #2\string #3\string #4\endcsname}%
10448
10449 % For UTF-8 byte sequences (TeX, e-TeX and pdfTeX),
10450 % provide a definition macro to replace a Unicode character;
10451 % this gets used by the @U command
10452 %
919410453 \begingroup
919510454 \catcode`\"=12
919610455 \catcode`\<=12
919910458 \catcode`\;=12
920010459 \catcode`\!=12
920110460 \catcode`\~=13
9202
9203 \gdef\DeclareUnicodeCharacter#1#2{%
10461 \gdef\DeclareUnicodeCharacterUTFviii#1#2{%
920410462 \countUTFz = "#1\relax
9205 %\wlog{\space\space defining Unicode char U+#1 (decimal \the\countUTFz)}%
920610463 \begingroup
920710464 \parseXMLCharref
9208 \def\UTFviiiTwoOctets##1##2{%
9209 \csname u8:##1\string ##2\endcsname}%
9210 \def\UTFviiiThreeOctets##1##2##3{%
9211 \csname u8:##1\string ##2\string ##3\endcsname}%
9212 \def\UTFviiiFourOctets##1##2##3##4{%
9213 \csname u8:##1\string ##2\string ##3\string ##4\endcsname}%
9214 \expandafter\expandafter\expandafter\expandafter
9215 \expandafter\expandafter\expandafter
9216 \gdef\UTFviiiTmp{#2}%
10465
10466 % Give \u8:... its definition. The sequence of seven \expandafter's
10467 % expands after the \gdef three times, e.g.
10468 %
10469 % 1. \UTFviiTwoOctetsName B1 B2
10470 % 2. \csname u8:B1 \string B2 \endcsname
10471 % 3. \u8: B1 B2 (a single control sequence token)
10472 %
10473 \expandafter\expandafter
10474 \expandafter\expandafter
10475 \expandafter\expandafter
10476 \expandafter\gdef \UTFviiiTmp{#2}%
10477 %
10478 \expandafter\ifx\csname uni:#1\endcsname \relax \else
10479 \message{Internal error, already defined: #1}%
10480 \fi
10481 %
10482 % define an additional control sequence for this code point.
10483 \expandafter\globallet\csname uni:#1\endcsname \UTFviiiTmp
921710484 \endgroup}
9218
10485 %
10486 % Given the value in \countUTFz as a Unicode code point, set \UTFviiiTmp
10487 % to the corresponding UTF-8 sequence.
921910488 \gdef\parseXMLCharref{%
922010489 \ifnum\countUTFz < "A0\relax
922110490 \errhelp = \EMsimple
922210491 \errmessage{Cannot define Unicode char value < 00A0}%
922310492 \else\ifnum\countUTFz < "800\relax
922410493 \parseUTFviiiA,%
9225 \parseUTFviiiB C\UTFviiiTwoOctets.,%
10494 \parseUTFviiiB C\UTFviiiTwoOctetsName.,%
922610495 \else\ifnum\countUTFz < "10000\relax
922710496 \parseUTFviiiA;%
922810497 \parseUTFviiiA,%
9229 \parseUTFviiiB E\UTFviiiThreeOctets.{,;}%
10498 \parseUTFviiiB E\UTFviiiThreeOctetsName.{,;}%
923010499 \else
923110500 \parseUTFviiiA;%
923210501 \parseUTFviiiA,%
923310502 \parseUTFviiiA!%
9234 \parseUTFviiiB F\UTFviiiFourOctets.{!,;}%
10503 \parseUTFviiiB F\UTFviiiFourOctetsName.{!,;}%
923510504 \fi\fi\fi
923610505 }
923710506
10507 % Extract a byte from the end of the UTF-8 representation of \countUTFx.
10508 % It must be a non-initial byte in the sequence.
10509 % Change \uccode of #1 for it to be used in \parseUTFviiiB as one
10510 % of the bytes.
923810511 \gdef\parseUTFviiiA#1{%
923910512 \countUTFx = \countUTFz
924010513 \divide\countUTFz by 64
9241 \countUTFy = \countUTFz
10514 \countUTFy = \countUTFz % Save to be the future value of \countUTFz.
924210515 \multiply\countUTFz by 64
10516
10517 % \countUTFz is now \countUTFx with the last 5 bits cleared. Subtract
10518 % in order to get the last five bits.
924310519 \advance\countUTFx by -\countUTFz
10520
10521 % Convert this to the byte in the UTF-8 sequence.
924410522 \advance\countUTFx by 128
924510523 \uccode `#1\countUTFx
924610524 \countUTFz = \countUTFy}
924710525
10526 % Used to put a UTF-8 byte sequence into \UTFviiiTmp
10527 % #1 is the increment for \countUTFz to yield a the first byte of the UTF-8
10528 % sequence.
10529 % #2 is one of the \UTFviii*OctetsName macros.
10530 % #3 is always a full stop (.)
10531 % #4 is a template for the other bytes in the sequence. The values for these
10532 % bytes is substituted in here with \uppercase using the \uccode's.
924810533 \gdef\parseUTFviiiB#1#2#3#4{%
924910534 \advance\countUTFz by "#10\relax
925010535 \uccode `#3\countUTFz
925110536 \uppercase{\gdef\UTFviiiTmp{#2#3#4}}}
925210537 \endgroup
925310538
10539 % For native Unicode handling (XeTeX and LuaTeX),
10540 % provide a definition macro that sets a catcode to `other' non-globally
10541 %
10542 \def\DeclareUnicodeCharacterNativeOther#1#2{%
10543 \catcode"#1=\other
10544 }
10545
10546 % https://en.wikipedia.org/wiki/Plane_(Unicode)#Basic_M
10547 % U+0000..U+007F = https://en.wikipedia.org/wiki/Basic_Latin_(Unicode_block)
10548 % U+0080..U+00FF = https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)
10549 % U+0100..U+017F = https://en.wikipedia.org/wiki/Latin_Extended-A
10550 % U+0180..U+024F = https://en.wikipedia.org/wiki/Latin_Extended-B
10551 %
10552 % Many of our renditions are less than wonderful, and all the missing
10553 % characters are available somewhere. Loading the necessary fonts
10554 % awaits user request. We can't truly support Unicode without
10555 % reimplementing everything that's been done in LaTeX for many years,
10556 % plus probably using luatex or xetex, and who knows what else.
10557 % We won't be doing that here in this simple file. But we can try to at
10558 % least make most of the characters not bomb out.
10559 %
10560 \def\unicodechardefs{%
10561 \DeclareUnicodeCharacter{00A0}{\tie}%
10562 \DeclareUnicodeCharacter{00A1}{\exclamdown}%
10563 \DeclareUnicodeCharacter{00A2}{{\tcfont \char162}}% 0242=cent
10564 \DeclareUnicodeCharacter{00A3}{\pounds{}}%
10565 \DeclareUnicodeCharacter{00A4}{{\tcfont \char164}}% 0244=currency
10566 \DeclareUnicodeCharacter{00A5}{{\tcfont \char165}}% 0245=yen
10567 \DeclareUnicodeCharacter{00A6}{{\tcfont \char166}}% 0246=brokenbar
10568 \DeclareUnicodeCharacter{00A7}{\S}%
10569 \DeclareUnicodeCharacter{00A8}{\"{ }}%
10570 \DeclareUnicodeCharacter{00A9}{\copyright{}}%
10571 \DeclareUnicodeCharacter{00AA}{\ordf}%
10572 \DeclareUnicodeCharacter{00AB}{\guillemetleft{}}%
10573 \DeclareUnicodeCharacter{00AC}{\ensuremath\lnot}%
10574 \DeclareUnicodeCharacter{00AD}{\-}%
10575 \DeclareUnicodeCharacter{00AE}{\registeredsymbol{}}%
10576 \DeclareUnicodeCharacter{00AF}{\={ }}%
10577 %
10578 \DeclareUnicodeCharacter{00B0}{\ringaccent{ }}%
10579 \DeclareUnicodeCharacter{00B1}{\ensuremath\pm}%
10580 \DeclareUnicodeCharacter{00B2}{$^2$}%
10581 \DeclareUnicodeCharacter{00B3}{$^3$}%
10582 \DeclareUnicodeCharacter{00B4}{\'{ }}%
10583 \DeclareUnicodeCharacter{00B5}{$\mu$}%
10584 \DeclareUnicodeCharacter{00B6}{\P}%
10585 \DeclareUnicodeCharacter{00B7}{\ensuremath\cdot}%
10586 \DeclareUnicodeCharacter{00B8}{\cedilla{ }}%
10587 \DeclareUnicodeCharacter{00B9}{$^1$}%
10588 \DeclareUnicodeCharacter{00BA}{\ordm}%
10589 \DeclareUnicodeCharacter{00BB}{\guillemetright{}}%
10590 \DeclareUnicodeCharacter{00BC}{$1\over4$}%
10591 \DeclareUnicodeCharacter{00BD}{$1\over2$}%
10592 \DeclareUnicodeCharacter{00BE}{$3\over4$}%
10593 \DeclareUnicodeCharacter{00BF}{\questiondown}%
10594 %
10595 \DeclareUnicodeCharacter{00C0}{\`A}%
10596 \DeclareUnicodeCharacter{00C1}{\'A}%
10597 \DeclareUnicodeCharacter{00C2}{\^A}%
10598 \DeclareUnicodeCharacter{00C3}{\~A}%
10599 \DeclareUnicodeCharacter{00C4}{\"A}%
10600 \DeclareUnicodeCharacter{00C5}{\AA}%
10601 \DeclareUnicodeCharacter{00C6}{\AE}%
10602 \DeclareUnicodeCharacter{00C7}{\cedilla{C}}%
10603 \DeclareUnicodeCharacter{00C8}{\`E}%
10604 \DeclareUnicodeCharacter{00C9}{\'E}%
10605 \DeclareUnicodeCharacter{00CA}{\^E}%
10606 \DeclareUnicodeCharacter{00CB}{\"E}%
10607 \DeclareUnicodeCharacter{00CC}{\`I}%
10608 \DeclareUnicodeCharacter{00CD}{\'I}%
10609 \DeclareUnicodeCharacter{00CE}{\^I}%
10610 \DeclareUnicodeCharacter{00CF}{\"I}%
10611 %
10612 \DeclareUnicodeCharacter{00D0}{\DH}%
10613 \DeclareUnicodeCharacter{00D1}{\~N}%
10614 \DeclareUnicodeCharacter{00D2}{\`O}%
10615 \DeclareUnicodeCharacter{00D3}{\'O}%
10616 \DeclareUnicodeCharacter{00D4}{\^O}%
10617 \DeclareUnicodeCharacter{00D5}{\~O}%
10618 \DeclareUnicodeCharacter{00D6}{\"O}%
10619 \DeclareUnicodeCharacter{00D7}{\ensuremath\times}%
10620 \DeclareUnicodeCharacter{00D8}{\O}%
10621 \DeclareUnicodeCharacter{00D9}{\`U}%
10622 \DeclareUnicodeCharacter{00DA}{\'U}%
10623 \DeclareUnicodeCharacter{00DB}{\^U}%
10624 \DeclareUnicodeCharacter{00DC}{\"U}%
10625 \DeclareUnicodeCharacter{00DD}{\'Y}%
10626 \DeclareUnicodeCharacter{00DE}{\TH}%
10627 \DeclareUnicodeCharacter{00DF}{\ss}%
10628 %
10629 \DeclareUnicodeCharacter{00E0}{\`a}%
10630 \DeclareUnicodeCharacter{00E1}{\'a}%
10631 \DeclareUnicodeCharacter{00E2}{\^a}%
10632 \DeclareUnicodeCharacter{00E3}{\~a}%
10633 \DeclareUnicodeCharacter{00E4}{\"a}%
10634 \DeclareUnicodeCharacter{00E5}{\aa}%
10635 \DeclareUnicodeCharacter{00E6}{\ae}%
10636 \DeclareUnicodeCharacter{00E7}{\cedilla{c}}%
10637 \DeclareUnicodeCharacter{00E8}{\`e}%
10638 \DeclareUnicodeCharacter{00E9}{\'e}%
10639 \DeclareUnicodeCharacter{00EA}{\^e}%
10640 \DeclareUnicodeCharacter{00EB}{\"e}%
10641 \DeclareUnicodeCharacter{00EC}{\`{\dotless{i}}}%
10642 \DeclareUnicodeCharacter{00ED}{\'{\dotless{i}}}%
10643 \DeclareUnicodeCharacter{00EE}{\^{\dotless{i}}}%
10644 \DeclareUnicodeCharacter{00EF}{\"{\dotless{i}}}%
10645 %
10646 \DeclareUnicodeCharacter{00F0}{\dh}%
10647 \DeclareUnicodeCharacter{00F1}{\~n}%
10648 \DeclareUnicodeCharacter{00F2}{\`o}%
10649 \DeclareUnicodeCharacter{00F3}{\'o}%
10650 \DeclareUnicodeCharacter{00F4}{\^o}%
10651 \DeclareUnicodeCharacter{00F5}{\~o}%
10652 \DeclareUnicodeCharacter{00F6}{\"o}%
10653 \DeclareUnicodeCharacter{00F7}{\ensuremath\div}%
10654 \DeclareUnicodeCharacter{00F8}{\o}%
10655 \DeclareUnicodeCharacter{00F9}{\`u}%
10656 \DeclareUnicodeCharacter{00FA}{\'u}%
10657 \DeclareUnicodeCharacter{00FB}{\^u}%
10658 \DeclareUnicodeCharacter{00FC}{\"u}%
10659 \DeclareUnicodeCharacter{00FD}{\'y}%
10660 \DeclareUnicodeCharacter{00FE}{\th}%
10661 \DeclareUnicodeCharacter{00FF}{\"y}%
10662 %
10663 \DeclareUnicodeCharacter{0100}{\=A}%
10664 \DeclareUnicodeCharacter{0101}{\=a}%
10665 \DeclareUnicodeCharacter{0102}{\u{A}}%
10666 \DeclareUnicodeCharacter{0103}{\u{a}}%
10667 \DeclareUnicodeCharacter{0104}{\ogonek{A}}%
10668 \DeclareUnicodeCharacter{0105}{\ogonek{a}}%
10669 \DeclareUnicodeCharacter{0106}{\'C}%
10670 \DeclareUnicodeCharacter{0107}{\'c}%
10671 \DeclareUnicodeCharacter{0108}{\^C}%
10672 \DeclareUnicodeCharacter{0109}{\^c}%
10673 \DeclareUnicodeCharacter{010A}{\dotaccent{C}}%
10674 \DeclareUnicodeCharacter{010B}{\dotaccent{c}}%
10675 \DeclareUnicodeCharacter{010C}{\v{C}}%
10676 \DeclareUnicodeCharacter{010D}{\v{c}}%
10677 \DeclareUnicodeCharacter{010E}{\v{D}}%
10678 \DeclareUnicodeCharacter{010F}{d'}%
10679 %
10680 \DeclareUnicodeCharacter{0110}{\DH}%
10681 \DeclareUnicodeCharacter{0111}{\dh}%
10682 \DeclareUnicodeCharacter{0112}{\=E}%
10683 \DeclareUnicodeCharacter{0113}{\=e}%
10684 \DeclareUnicodeCharacter{0114}{\u{E}}%
10685 \DeclareUnicodeCharacter{0115}{\u{e}}%
10686 \DeclareUnicodeCharacter{0116}{\dotaccent{E}}%
10687 \DeclareUnicodeCharacter{0117}{\dotaccent{e}}%
10688 \DeclareUnicodeCharacter{0118}{\ogonek{E}}%
10689 \DeclareUnicodeCharacter{0119}{\ogonek{e}}%
10690 \DeclareUnicodeCharacter{011A}{\v{E}}%
10691 \DeclareUnicodeCharacter{011B}{\v{e}}%
10692 \DeclareUnicodeCharacter{011C}{\^G}%
10693 \DeclareUnicodeCharacter{011D}{\^g}%
10694 \DeclareUnicodeCharacter{011E}{\u{G}}%
10695 \DeclareUnicodeCharacter{011F}{\u{g}}%
10696 %
10697 \DeclareUnicodeCharacter{0120}{\dotaccent{G}}%
10698 \DeclareUnicodeCharacter{0121}{\dotaccent{g}}%
10699 \DeclareUnicodeCharacter{0122}{\cedilla{G}}%
10700 \DeclareUnicodeCharacter{0123}{\cedilla{g}}%
10701 \DeclareUnicodeCharacter{0124}{\^H}%
10702 \DeclareUnicodeCharacter{0125}{\^h}%
10703 \DeclareUnicodeCharacter{0126}{\missingcharmsg{H WITH STROKE}}%
10704 \DeclareUnicodeCharacter{0127}{\missingcharmsg{h WITH STROKE}}%
10705 \DeclareUnicodeCharacter{0128}{\~I}%
10706 \DeclareUnicodeCharacter{0129}{\~{\dotless{i}}}%
10707 \DeclareUnicodeCharacter{012A}{\=I}%
10708 \DeclareUnicodeCharacter{012B}{\={\dotless{i}}}%
10709 \DeclareUnicodeCharacter{012C}{\u{I}}%
10710 \DeclareUnicodeCharacter{012D}{\u{\dotless{i}}}%
10711 \DeclareUnicodeCharacter{012E}{\ogonek{I}}%
10712 \DeclareUnicodeCharacter{012F}{\ogonek{i}}%
10713 %
10714 \DeclareUnicodeCharacter{0130}{\dotaccent{I}}%
10715 \DeclareUnicodeCharacter{0131}{\dotless{i}}%
10716 \DeclareUnicodeCharacter{0132}{IJ}%
10717 \DeclareUnicodeCharacter{0133}{ij}%
10718 \DeclareUnicodeCharacter{0134}{\^J}%
10719 \DeclareUnicodeCharacter{0135}{\^{\dotless{j}}}%
10720 \DeclareUnicodeCharacter{0136}{\cedilla{K}}%
10721 \DeclareUnicodeCharacter{0137}{\cedilla{k}}%
10722 \DeclareUnicodeCharacter{0138}{\ensuremath\kappa}%
10723 \DeclareUnicodeCharacter{0139}{\'L}%
10724 \DeclareUnicodeCharacter{013A}{\'l}%
10725 \DeclareUnicodeCharacter{013B}{\cedilla{L}}%
10726 \DeclareUnicodeCharacter{013C}{\cedilla{l}}%
10727 \DeclareUnicodeCharacter{013D}{L'}% should kern
10728 \DeclareUnicodeCharacter{013E}{l'}% should kern
10729 \DeclareUnicodeCharacter{013F}{L\U{00B7}}%
10730 %
10731 \DeclareUnicodeCharacter{0140}{l\U{00B7}}%
10732 \DeclareUnicodeCharacter{0141}{\L}%
10733 \DeclareUnicodeCharacter{0142}{\l}%
10734 \DeclareUnicodeCharacter{0143}{\'N}%
10735 \DeclareUnicodeCharacter{0144}{\'n}%
10736 \DeclareUnicodeCharacter{0145}{\cedilla{N}}%
10737 \DeclareUnicodeCharacter{0146}{\cedilla{n}}%
10738 \DeclareUnicodeCharacter{0147}{\v{N}}%
10739 \DeclareUnicodeCharacter{0148}{\v{n}}%
10740 \DeclareUnicodeCharacter{0149}{'n}%
10741 \DeclareUnicodeCharacter{014A}{\missingcharmsg{ENG}}%
10742 \DeclareUnicodeCharacter{014B}{\missingcharmsg{eng}}%
10743 \DeclareUnicodeCharacter{014C}{\=O}%
10744 \DeclareUnicodeCharacter{014D}{\=o}%
10745 \DeclareUnicodeCharacter{014E}{\u{O}}%
10746 \DeclareUnicodeCharacter{014F}{\u{o}}%
10747 %
10748 \DeclareUnicodeCharacter{0150}{\H{O}}%
10749 \DeclareUnicodeCharacter{0151}{\H{o}}%
10750 \DeclareUnicodeCharacter{0152}{\OE}%
10751 \DeclareUnicodeCharacter{0153}{\oe}%
10752 \DeclareUnicodeCharacter{0154}{\'R}%
10753 \DeclareUnicodeCharacter{0155}{\'r}%
10754 \DeclareUnicodeCharacter{0156}{\cedilla{R}}%
10755 \DeclareUnicodeCharacter{0157}{\cedilla{r}}%
10756 \DeclareUnicodeCharacter{0158}{\v{R}}%
10757 \DeclareUnicodeCharacter{0159}{\v{r}}%
10758 \DeclareUnicodeCharacter{015A}{\'S}%
10759 \DeclareUnicodeCharacter{015B}{\'s}%
10760 \DeclareUnicodeCharacter{015C}{\^S}%
10761 \DeclareUnicodeCharacter{015D}{\^s}%
10762 \DeclareUnicodeCharacter{015E}{\cedilla{S}}%
10763 \DeclareUnicodeCharacter{015F}{\cedilla{s}}%
10764 %
10765 \DeclareUnicodeCharacter{0160}{\v{S}}%
10766 \DeclareUnicodeCharacter{0161}{\v{s}}%
10767 \DeclareUnicodeCharacter{0162}{\cedilla{T}}%
10768 \DeclareUnicodeCharacter{0163}{\cedilla{t}}%
10769 \DeclareUnicodeCharacter{0164}{\v{T}}%
10770 \DeclareUnicodeCharacter{0165}{\v{t}}%
10771 \DeclareUnicodeCharacter{0166}{\missingcharmsg{H WITH STROKE}}%
10772 \DeclareUnicodeCharacter{0167}{\missingcharmsg{h WITH STROKE}}%
10773 \DeclareUnicodeCharacter{0168}{\~U}%
10774 \DeclareUnicodeCharacter{0169}{\~u}%
10775 \DeclareUnicodeCharacter{016A}{\=U}%
10776 \DeclareUnicodeCharacter{016B}{\=u}%
10777 \DeclareUnicodeCharacter{016C}{\u{U}}%
10778 \DeclareUnicodeCharacter{016D}{\u{u}}%
10779 \DeclareUnicodeCharacter{016E}{\ringaccent{U}}%
10780 \DeclareUnicodeCharacter{016F}{\ringaccent{u}}%
10781 %
10782 \DeclareUnicodeCharacter{0170}{\H{U}}%
10783 \DeclareUnicodeCharacter{0171}{\H{u}}%
10784 \DeclareUnicodeCharacter{0172}{\ogonek{U}}%
10785 \DeclareUnicodeCharacter{0173}{\ogonek{u}}%
10786 \DeclareUnicodeCharacter{0174}{\^W}%
10787 \DeclareUnicodeCharacter{0175}{\^w}%
10788 \DeclareUnicodeCharacter{0176}{\^Y}%
10789 \DeclareUnicodeCharacter{0177}{\^y}%
10790 \DeclareUnicodeCharacter{0178}{\"Y}%
10791 \DeclareUnicodeCharacter{0179}{\'Z}%
10792 \DeclareUnicodeCharacter{017A}{\'z}%
10793 \DeclareUnicodeCharacter{017B}{\dotaccent{Z}}%
10794 \DeclareUnicodeCharacter{017C}{\dotaccent{z}}%
10795 \DeclareUnicodeCharacter{017D}{\v{Z}}%
10796 \DeclareUnicodeCharacter{017E}{\v{z}}%
10797 \DeclareUnicodeCharacter{017F}{\missingcharmsg{LONG S}}%
10798 %
10799 \DeclareUnicodeCharacter{01C4}{D\v{Z}}%
10800 \DeclareUnicodeCharacter{01C5}{D\v{z}}%
10801 \DeclareUnicodeCharacter{01C6}{d\v{z}}%
10802 \DeclareUnicodeCharacter{01C7}{LJ}%
10803 \DeclareUnicodeCharacter{01C8}{Lj}%
10804 \DeclareUnicodeCharacter{01C9}{lj}%
10805 \DeclareUnicodeCharacter{01CA}{NJ}%
10806 \DeclareUnicodeCharacter{01CB}{Nj}%
10807 \DeclareUnicodeCharacter{01CC}{nj}%
10808 \DeclareUnicodeCharacter{01CD}{\v{A}}%
10809 \DeclareUnicodeCharacter{01CE}{\v{a}}%
10810 \DeclareUnicodeCharacter{01CF}{\v{I}}%
10811 %
10812 \DeclareUnicodeCharacter{01D0}{\v{\dotless{i}}}%
10813 \DeclareUnicodeCharacter{01D1}{\v{O}}%
10814 \DeclareUnicodeCharacter{01D2}{\v{o}}%
10815 \DeclareUnicodeCharacter{01D3}{\v{U}}%
10816 \DeclareUnicodeCharacter{01D4}{\v{u}}%
10817 %
10818 \DeclareUnicodeCharacter{01E2}{\={\AE}}%
10819 \DeclareUnicodeCharacter{01E3}{\={\ae}}%
10820 \DeclareUnicodeCharacter{01E6}{\v{G}}%
10821 \DeclareUnicodeCharacter{01E7}{\v{g}}%
10822 \DeclareUnicodeCharacter{01E8}{\v{K}}%
10823 \DeclareUnicodeCharacter{01E9}{\v{k}}%
10824 %
10825 \DeclareUnicodeCharacter{01F0}{\v{\dotless{j}}}%
10826 \DeclareUnicodeCharacter{01F1}{DZ}%
10827 \DeclareUnicodeCharacter{01F2}{Dz}%
10828 \DeclareUnicodeCharacter{01F3}{dz}%
10829 \DeclareUnicodeCharacter{01F4}{\'G}%
10830 \DeclareUnicodeCharacter{01F5}{\'g}%
10831 \DeclareUnicodeCharacter{01F8}{\`N}%
10832 \DeclareUnicodeCharacter{01F9}{\`n}%
10833 \DeclareUnicodeCharacter{01FC}{\'{\AE}}%
10834 \DeclareUnicodeCharacter{01FD}{\'{\ae}}%
10835 \DeclareUnicodeCharacter{01FE}{\'{\O}}%
10836 \DeclareUnicodeCharacter{01FF}{\'{\o}}%
10837 %
10838 \DeclareUnicodeCharacter{021E}{\v{H}}%
10839 \DeclareUnicodeCharacter{021F}{\v{h}}%
10840 %
10841 \DeclareUnicodeCharacter{0226}{\dotaccent{A}}%
10842 \DeclareUnicodeCharacter{0227}{\dotaccent{a}}%
10843 \DeclareUnicodeCharacter{0228}{\cedilla{E}}%
10844 \DeclareUnicodeCharacter{0229}{\cedilla{e}}%
10845 \DeclareUnicodeCharacter{022E}{\dotaccent{O}}%
10846 \DeclareUnicodeCharacter{022F}{\dotaccent{o}}%
10847 %
10848 \DeclareUnicodeCharacter{0232}{\=Y}%
10849 \DeclareUnicodeCharacter{0233}{\=y}%
10850 \DeclareUnicodeCharacter{0237}{\dotless{j}}%
10851 %
10852 \DeclareUnicodeCharacter{02BC}{'}%
10853 %
10854 \DeclareUnicodeCharacter{02DB}{\ogonek{ }}%
10855 %
10856 % Greek letters upper case
10857 \DeclareUnicodeCharacter{0391}{{\it A}}%
10858 \DeclareUnicodeCharacter{0392}{{\it B}}%
10859 \DeclareUnicodeCharacter{0393}{\ensuremath{\mit\Gamma}}%
10860 \DeclareUnicodeCharacter{0394}{\ensuremath{\mit\Delta}}%
10861 \DeclareUnicodeCharacter{0395}{{\it E}}%
10862 \DeclareUnicodeCharacter{0396}{{\it Z}}%
10863 \DeclareUnicodeCharacter{0397}{{\it H}}%
10864 \DeclareUnicodeCharacter{0398}{\ensuremath{\mit\Theta}}%
10865 \DeclareUnicodeCharacter{0399}{{\it I}}%
10866 \DeclareUnicodeCharacter{039A}{{\it K}}%
10867 \DeclareUnicodeCharacter{039B}{\ensuremath{\mit\Lambda}}%
10868 \DeclareUnicodeCharacter{039C}{{\it M}}%
10869 \DeclareUnicodeCharacter{039D}{{\it N}}%
10870 \DeclareUnicodeCharacter{039E}{\ensuremath{\mit\Xi}}%
10871 \DeclareUnicodeCharacter{039F}{{\it O}}%
10872 \DeclareUnicodeCharacter{03A0}{\ensuremath{\mit\Pi}}%
10873 \DeclareUnicodeCharacter{03A1}{{\it P}}%
10874 %\DeclareUnicodeCharacter{03A2}{} % none - corresponds to final sigma
10875 \DeclareUnicodeCharacter{03A3}{\ensuremath{\mit\Sigma}}%
10876 \DeclareUnicodeCharacter{03A4}{{\it T}}%
10877 \DeclareUnicodeCharacter{03A5}{\ensuremath{\mit\Upsilon}}%
10878 \DeclareUnicodeCharacter{03A6}{\ensuremath{\mit\Phi}}%
10879 \DeclareUnicodeCharacter{03A7}{{\it X}}%
10880 \DeclareUnicodeCharacter{03A8}{\ensuremath{\mit\Psi}}%
10881 \DeclareUnicodeCharacter{03A9}{\ensuremath{\mit\Omega}}%
10882 %
10883 % Vowels with accents
10884 \DeclareUnicodeCharacter{0390}{\ensuremath{\ddot{\acute\iota}}}%
10885 \DeclareUnicodeCharacter{03AC}{\ensuremath{\acute\alpha}}%
10886 \DeclareUnicodeCharacter{03AD}{\ensuremath{\acute\epsilon}}%
10887 \DeclareUnicodeCharacter{03AE}{\ensuremath{\acute\eta}}%
10888 \DeclareUnicodeCharacter{03AF}{\ensuremath{\acute\iota}}%
10889 \DeclareUnicodeCharacter{03B0}{\ensuremath{\acute{\ddot\upsilon}}}%
10890 %
10891 % Standalone accent
10892 \DeclareUnicodeCharacter{0384}{\ensuremath{\acute{\ }}}%
10893 %
10894 % Greek letters lower case
10895 \DeclareUnicodeCharacter{03B1}{\ensuremath\alpha}%
10896 \DeclareUnicodeCharacter{03B2}{\ensuremath\beta}%
10897 \DeclareUnicodeCharacter{03B3}{\ensuremath\gamma}%
10898 \DeclareUnicodeCharacter{03B4}{\ensuremath\delta}%
10899 \DeclareUnicodeCharacter{03B5}{\ensuremath\epsilon}%
10900 \DeclareUnicodeCharacter{03B6}{\ensuremath\zeta}%
10901 \DeclareUnicodeCharacter{03B7}{\ensuremath\eta}%
10902 \DeclareUnicodeCharacter{03B8}{\ensuremath\theta}%
10903 \DeclareUnicodeCharacter{03B9}{\ensuremath\iota}%
10904 \DeclareUnicodeCharacter{03BA}{\ensuremath\kappa}%
10905 \DeclareUnicodeCharacter{03BB}{\ensuremath\lambda}%
10906 \DeclareUnicodeCharacter{03BC}{\ensuremath\mu}%
10907 \DeclareUnicodeCharacter{03BD}{\ensuremath\nu}%
10908 \DeclareUnicodeCharacter{03BE}{\ensuremath\xi}%
10909 \DeclareUnicodeCharacter{03BF}{{\it o}}% omicron
10910 \DeclareUnicodeCharacter{03C0}{\ensuremath\pi}%
10911 \DeclareUnicodeCharacter{03C1}{\ensuremath\rho}%
10912 \DeclareUnicodeCharacter{03C2}{\ensuremath\varsigma}%
10913 \DeclareUnicodeCharacter{03C3}{\ensuremath\sigma}%
10914 \DeclareUnicodeCharacter{03C4}{\ensuremath\tau}%
10915 \DeclareUnicodeCharacter{03C5}{\ensuremath\upsilon}%
10916 \DeclareUnicodeCharacter{03C6}{\ensuremath\phi}%
10917 \DeclareUnicodeCharacter{03C7}{\ensuremath\chi}%
10918 \DeclareUnicodeCharacter{03C8}{\ensuremath\psi}%
10919 \DeclareUnicodeCharacter{03C9}{\ensuremath\omega}%
10920 %
10921 % More Greek vowels with accents
10922 \DeclareUnicodeCharacter{03CA}{\ensuremath{\ddot\iota}}%
10923 \DeclareUnicodeCharacter{03CB}{\ensuremath{\ddot\upsilon}}%
10924 \DeclareUnicodeCharacter{03CC}{\ensuremath{\acute o}}%
10925 \DeclareUnicodeCharacter{03CD}{\ensuremath{\acute\upsilon}}%
10926 \DeclareUnicodeCharacter{03CE}{\ensuremath{\acute\omega}}%
10927 %
10928 % Variant Greek letters
10929 \DeclareUnicodeCharacter{03D1}{\ensuremath\vartheta}%
10930 \DeclareUnicodeCharacter{03D6}{\ensuremath\varpi}%
10931 \DeclareUnicodeCharacter{03F1}{\ensuremath\varrho}%
10932 %
10933 \DeclareUnicodeCharacter{1E02}{\dotaccent{B}}%
10934 \DeclareUnicodeCharacter{1E03}{\dotaccent{b}}%
10935 \DeclareUnicodeCharacter{1E04}{\udotaccent{B}}%
10936 \DeclareUnicodeCharacter{1E05}{\udotaccent{b}}%
10937 \DeclareUnicodeCharacter{1E06}{\ubaraccent{B}}%
10938 \DeclareUnicodeCharacter{1E07}{\ubaraccent{b}}%
10939 \DeclareUnicodeCharacter{1E0A}{\dotaccent{D}}%
10940 \DeclareUnicodeCharacter{1E0B}{\dotaccent{d}}%
10941 \DeclareUnicodeCharacter{1E0C}{\udotaccent{D}}%
10942 \DeclareUnicodeCharacter{1E0D}{\udotaccent{d}}%
10943 \DeclareUnicodeCharacter{1E0E}{\ubaraccent{D}}%
10944 \DeclareUnicodeCharacter{1E0F}{\ubaraccent{d}}%
10945 %
10946 \DeclareUnicodeCharacter{1E1E}{\dotaccent{F}}%
10947 \DeclareUnicodeCharacter{1E1F}{\dotaccent{f}}%
10948 %
10949 \DeclareUnicodeCharacter{1E20}{\=G}%
10950 \DeclareUnicodeCharacter{1E21}{\=g}%
10951 \DeclareUnicodeCharacter{1E22}{\dotaccent{H}}%
10952 \DeclareUnicodeCharacter{1E23}{\dotaccent{h}}%
10953 \DeclareUnicodeCharacter{1E24}{\udotaccent{H}}%
10954 \DeclareUnicodeCharacter{1E25}{\udotaccent{h}}%
10955 \DeclareUnicodeCharacter{1E26}{\"H}%
10956 \DeclareUnicodeCharacter{1E27}{\"h}%
10957 %
10958 \DeclareUnicodeCharacter{1E30}{\'K}%
10959 \DeclareUnicodeCharacter{1E31}{\'k}%
10960 \DeclareUnicodeCharacter{1E32}{\udotaccent{K}}%
10961 \DeclareUnicodeCharacter{1E33}{\udotaccent{k}}%
10962 \DeclareUnicodeCharacter{1E34}{\ubaraccent{K}}%
10963 \DeclareUnicodeCharacter{1E35}{\ubaraccent{k}}%
10964 \DeclareUnicodeCharacter{1E36}{\udotaccent{L}}%
10965 \DeclareUnicodeCharacter{1E37}{\udotaccent{l}}%
10966 \DeclareUnicodeCharacter{1E3A}{\ubaraccent{L}}%
10967 \DeclareUnicodeCharacter{1E3B}{\ubaraccent{l}}%
10968 \DeclareUnicodeCharacter{1E3E}{\'M}%
10969 \DeclareUnicodeCharacter{1E3F}{\'m}%
10970 %
10971 \DeclareUnicodeCharacter{1E40}{\dotaccent{M}}%
10972 \DeclareUnicodeCharacter{1E41}{\dotaccent{m}}%
10973 \DeclareUnicodeCharacter{1E42}{\udotaccent{M}}%
10974 \DeclareUnicodeCharacter{1E43}{\udotaccent{m}}%
10975 \DeclareUnicodeCharacter{1E44}{\dotaccent{N}}%
10976 \DeclareUnicodeCharacter{1E45}{\dotaccent{n}}%
10977 \DeclareUnicodeCharacter{1E46}{\udotaccent{N}}%
10978 \DeclareUnicodeCharacter{1E47}{\udotaccent{n}}%
10979 \DeclareUnicodeCharacter{1E48}{\ubaraccent{N}}%
10980 \DeclareUnicodeCharacter{1E49}{\ubaraccent{n}}%
10981 %
10982 \DeclareUnicodeCharacter{1E54}{\'P}%
10983 \DeclareUnicodeCharacter{1E55}{\'p}%
10984 \DeclareUnicodeCharacter{1E56}{\dotaccent{P}}%
10985 \DeclareUnicodeCharacter{1E57}{\dotaccent{p}}%
10986 \DeclareUnicodeCharacter{1E58}{\dotaccent{R}}%
10987 \DeclareUnicodeCharacter{1E59}{\dotaccent{r}}%
10988 \DeclareUnicodeCharacter{1E5A}{\udotaccent{R}}%
10989 \DeclareUnicodeCharacter{1E5B}{\udotaccent{r}}%
10990 \DeclareUnicodeCharacter{1E5E}{\ubaraccent{R}}%
10991 \DeclareUnicodeCharacter{1E5F}{\ubaraccent{r}}%
10992 %
10993 \DeclareUnicodeCharacter{1E60}{\dotaccent{S}}%
10994 \DeclareUnicodeCharacter{1E61}{\dotaccent{s}}%
10995 \DeclareUnicodeCharacter{1E62}{\udotaccent{S}}%
10996 \DeclareUnicodeCharacter{1E63}{\udotaccent{s}}%
10997 \DeclareUnicodeCharacter{1E6A}{\dotaccent{T}}%
10998 \DeclareUnicodeCharacter{1E6B}{\dotaccent{t}}%
10999 \DeclareUnicodeCharacter{1E6C}{\udotaccent{T}}%
11000 \DeclareUnicodeCharacter{1E6D}{\udotaccent{t}}%
11001 \DeclareUnicodeCharacter{1E6E}{\ubaraccent{T}}%
11002 \DeclareUnicodeCharacter{1E6F}{\ubaraccent{t}}%
11003 %
11004 \DeclareUnicodeCharacter{1E7C}{\~V}%
11005 \DeclareUnicodeCharacter{1E7D}{\~v}%
11006 \DeclareUnicodeCharacter{1E7E}{\udotaccent{V}}%
11007 \DeclareUnicodeCharacter{1E7F}{\udotaccent{v}}%
11008 %
11009 \DeclareUnicodeCharacter{1E80}{\`W}%
11010 \DeclareUnicodeCharacter{1E81}{\`w}%
11011 \DeclareUnicodeCharacter{1E82}{\'W}%
11012 \DeclareUnicodeCharacter{1E83}{\'w}%
11013 \DeclareUnicodeCharacter{1E84}{\"W}%
11014 \DeclareUnicodeCharacter{1E85}{\"w}%
11015 \DeclareUnicodeCharacter{1E86}{\dotaccent{W}}%
11016 \DeclareUnicodeCharacter{1E87}{\dotaccent{w}}%
11017 \DeclareUnicodeCharacter{1E88}{\udotaccent{W}}%
11018 \DeclareUnicodeCharacter{1E89}{\udotaccent{w}}%
11019 \DeclareUnicodeCharacter{1E8A}{\dotaccent{X}}%
11020 \DeclareUnicodeCharacter{1E8B}{\dotaccent{x}}%
11021 \DeclareUnicodeCharacter{1E8C}{\"X}%
11022 \DeclareUnicodeCharacter{1E8D}{\"x}%
11023 \DeclareUnicodeCharacter{1E8E}{\dotaccent{Y}}%
11024 \DeclareUnicodeCharacter{1E8F}{\dotaccent{y}}%
11025 %
11026 \DeclareUnicodeCharacter{1E90}{\^Z}%
11027 \DeclareUnicodeCharacter{1E91}{\^z}%
11028 \DeclareUnicodeCharacter{1E92}{\udotaccent{Z}}%
11029 \DeclareUnicodeCharacter{1E93}{\udotaccent{z}}%
11030 \DeclareUnicodeCharacter{1E94}{\ubaraccent{Z}}%
11031 \DeclareUnicodeCharacter{1E95}{\ubaraccent{z}}%
11032 \DeclareUnicodeCharacter{1E96}{\ubaraccent{h}}%
11033 \DeclareUnicodeCharacter{1E97}{\"t}%
11034 \DeclareUnicodeCharacter{1E98}{\ringaccent{w}}%
11035 \DeclareUnicodeCharacter{1E99}{\ringaccent{y}}%
11036 %
11037 \DeclareUnicodeCharacter{1EA0}{\udotaccent{A}}%
11038 \DeclareUnicodeCharacter{1EA1}{\udotaccent{a}}%
11039 %
11040 \DeclareUnicodeCharacter{1EB8}{\udotaccent{E}}%
11041 \DeclareUnicodeCharacter{1EB9}{\udotaccent{e}}%
11042 \DeclareUnicodeCharacter{1EBC}{\~E}%
11043 \DeclareUnicodeCharacter{1EBD}{\~e}%
11044 %
11045 \DeclareUnicodeCharacter{1ECA}{\udotaccent{I}}%
11046 \DeclareUnicodeCharacter{1ECB}{\udotaccent{i}}%
11047 \DeclareUnicodeCharacter{1ECC}{\udotaccent{O}}%
11048 \DeclareUnicodeCharacter{1ECD}{\udotaccent{o}}%
11049 %
11050 \DeclareUnicodeCharacter{1EE4}{\udotaccent{U}}%
11051 \DeclareUnicodeCharacter{1EE5}{\udotaccent{u}}%
11052 %
11053 \DeclareUnicodeCharacter{1EF2}{\`Y}%
11054 \DeclareUnicodeCharacter{1EF3}{\`y}%
11055 \DeclareUnicodeCharacter{1EF4}{\udotaccent{Y}}%
11056 %
11057 \DeclareUnicodeCharacter{1EF8}{\~Y}%
11058 \DeclareUnicodeCharacter{1EF9}{\~y}%
11059 %
11060 % Punctuation
11061 \DeclareUnicodeCharacter{2013}{--}%
11062 \DeclareUnicodeCharacter{2014}{---}%
11063 \DeclareUnicodeCharacter{2018}{\quoteleft{}}%
11064 \DeclareUnicodeCharacter{2019}{\quoteright{}}%
11065 \DeclareUnicodeCharacter{201A}{\quotesinglbase{}}%
11066 \DeclareUnicodeCharacter{201C}{\quotedblleft{}}%
11067 \DeclareUnicodeCharacter{201D}{\quotedblright{}}%
11068 \DeclareUnicodeCharacter{201E}{\quotedblbase{}}%
11069 \DeclareUnicodeCharacter{2020}{\ensuremath\dagger}%
11070 \DeclareUnicodeCharacter{2021}{\ensuremath\ddagger}%
11071 \DeclareUnicodeCharacter{2022}{\bullet{}}%
11072 \DeclareUnicodeCharacter{202F}{\thinspace}%
11073 \DeclareUnicodeCharacter{2026}{\dots{}}%
11074 \DeclareUnicodeCharacter{2039}{\guilsinglleft{}}%
11075 \DeclareUnicodeCharacter{203A}{\guilsinglright{}}%
11076 %
11077 \DeclareUnicodeCharacter{20AC}{\euro{}}%
11078 %
11079 \DeclareUnicodeCharacter{2192}{\expansion{}}%
11080 \DeclareUnicodeCharacter{21D2}{\result{}}%
11081 %
11082 % Mathematical symbols
11083 \DeclareUnicodeCharacter{2200}{\ensuremath\forall}%
11084 \DeclareUnicodeCharacter{2203}{\ensuremath\exists}%
11085 \DeclareUnicodeCharacter{2208}{\ensuremath\in}%
11086 \DeclareUnicodeCharacter{2212}{\minus{}}%
11087 \DeclareUnicodeCharacter{2217}{\ast}%
11088 \DeclareUnicodeCharacter{221E}{\ensuremath\infty}%
11089 \DeclareUnicodeCharacter{2225}{\ensuremath\parallel}%
11090 \DeclareUnicodeCharacter{2227}{\ensuremath\wedge}%
11091 \DeclareUnicodeCharacter{2229}{\ensuremath\cap}%
11092 \DeclareUnicodeCharacter{2261}{\equiv{}}%
11093 \DeclareUnicodeCharacter{2264}{\ensuremath\leq}%
11094 \DeclareUnicodeCharacter{2265}{\ensuremath\geq}%
11095 \DeclareUnicodeCharacter{2282}{\ensuremath\subset}%
11096 \DeclareUnicodeCharacter{2287}{\ensuremath\supseteq}%
11097 %
11098 \DeclareUnicodeCharacter{2016}{\ensuremath\Vert}%
11099 \DeclareUnicodeCharacter{2032}{\ensuremath\prime}%
11100 \DeclareUnicodeCharacter{210F}{\ensuremath\hbar}%
11101 \DeclareUnicodeCharacter{2111}{\ensuremath\Im}%
11102 \DeclareUnicodeCharacter{2113}{\ensuremath\ell}%
11103 \DeclareUnicodeCharacter{2118}{\ensuremath\wp}%
11104 \DeclareUnicodeCharacter{211C}{\ensuremath\Re}%
11105 \DeclareUnicodeCharacter{2135}{\ensuremath\aleph}%
11106 \DeclareUnicodeCharacter{2190}{\ensuremath\leftarrow}%
11107 \DeclareUnicodeCharacter{2191}{\ensuremath\uparrow}%
11108 \DeclareUnicodeCharacter{2193}{\ensuremath\downarrow}%
11109 \DeclareUnicodeCharacter{2194}{\ensuremath\leftrightarrow}%
11110 \DeclareUnicodeCharacter{2195}{\ensuremath\updownarrow}%
11111 \DeclareUnicodeCharacter{2196}{\ensuremath\nwarrow}%
11112 \DeclareUnicodeCharacter{2197}{\ensuremath\nearrow}%
11113 \DeclareUnicodeCharacter{2198}{\ensuremath\searrow}%
11114 \DeclareUnicodeCharacter{2199}{\ensuremath\swarrow}%
11115 \DeclareUnicodeCharacter{21A6}{\ensuremath\mapsto}%
11116 \DeclareUnicodeCharacter{21A9}{\ensuremath\hookleftarrow}%
11117 \DeclareUnicodeCharacter{21AA}{\ensuremath\hookrightarrow}%
11118 \DeclareUnicodeCharacter{21BC}{\ensuremath\leftharpoonup}%
11119 \DeclareUnicodeCharacter{21BD}{\ensuremath\leftharpoondown}%
11120 \DeclareUnicodeCharacter{21C0}{\ensuremath\rightharpoonup}%
11121 \DeclareUnicodeCharacter{21C1}{\ensuremath\rightharpoondown}%
11122 \DeclareUnicodeCharacter{21CC}{\ensuremath\rightleftharpoons}%
11123 \DeclareUnicodeCharacter{21D0}{\ensuremath\Leftarrow}%
11124 \DeclareUnicodeCharacter{21D1}{\ensuremath\Uparrow}%
11125 \DeclareUnicodeCharacter{21D3}{\ensuremath\Downarrow}%
11126 \DeclareUnicodeCharacter{21D4}{\ensuremath\Leftrightarrow}%
11127 \DeclareUnicodeCharacter{21D5}{\ensuremath\Updownarrow}%
11128 \DeclareUnicodeCharacter{2202}{\ensuremath\partial}%
11129 \DeclareUnicodeCharacter{2205}{\ensuremath\emptyset}%
11130 \DeclareUnicodeCharacter{2207}{\ensuremath\nabla}%
11131 \DeclareUnicodeCharacter{2209}{\ensuremath\notin}%
11132 \DeclareUnicodeCharacter{220B}{\ensuremath\owns}%
11133 \DeclareUnicodeCharacter{220F}{\ensuremath\prod}%
11134 \DeclareUnicodeCharacter{2210}{\ensuremath\coprod}%
11135 \DeclareUnicodeCharacter{2211}{\ensuremath\sum}%
11136 \DeclareUnicodeCharacter{2213}{\ensuremath\mp}%
11137 \DeclareUnicodeCharacter{2218}{\ensuremath\circ}%
11138 \DeclareUnicodeCharacter{221A}{\ensuremath\surd}%
11139 \DeclareUnicodeCharacter{221D}{\ensuremath\propto}%
11140 \DeclareUnicodeCharacter{2220}{\ensuremath\angle}%
11141 \DeclareUnicodeCharacter{2223}{\ensuremath\mid}%
11142 \DeclareUnicodeCharacter{2228}{\ensuremath\vee}%
11143 \DeclareUnicodeCharacter{222A}{\ensuremath\cup}%
11144 \DeclareUnicodeCharacter{222B}{\ensuremath\smallint}%
11145 \DeclareUnicodeCharacter{222E}{\ensuremath\oint}%
11146 \DeclareUnicodeCharacter{223C}{\ensuremath\sim}%
11147 \DeclareUnicodeCharacter{2240}{\ensuremath\wr}%
11148 \DeclareUnicodeCharacter{2243}{\ensuremath\simeq}%
11149 \DeclareUnicodeCharacter{2245}{\ensuremath\cong}%
11150 \DeclareUnicodeCharacter{2248}{\ensuremath\approx}%
11151 \DeclareUnicodeCharacter{224D}{\ensuremath\asymp}%
11152 \DeclareUnicodeCharacter{2250}{\ensuremath\doteq}%
11153 \DeclareUnicodeCharacter{2260}{\ensuremath\neq}%
11154 \DeclareUnicodeCharacter{226A}{\ensuremath\ll}%
11155 \DeclareUnicodeCharacter{226B}{\ensuremath\gg}%
11156 \DeclareUnicodeCharacter{227A}{\ensuremath\prec}%
11157 \DeclareUnicodeCharacter{227B}{\ensuremath\succ}%
11158 \DeclareUnicodeCharacter{2283}{\ensuremath\supset}%
11159 \DeclareUnicodeCharacter{2286}{\ensuremath\subseteq}%
11160 \DeclareUnicodeCharacter{228E}{\ensuremath\uplus}%
11161 \DeclareUnicodeCharacter{2291}{\ensuremath\sqsubseteq}%
11162 \DeclareUnicodeCharacter{2292}{\ensuremath\sqsupseteq}%
11163 \DeclareUnicodeCharacter{2293}{\ensuremath\sqcap}%
11164 \DeclareUnicodeCharacter{2294}{\ensuremath\sqcup}%
11165 \DeclareUnicodeCharacter{2295}{\ensuremath\oplus}%
11166 \DeclareUnicodeCharacter{2296}{\ensuremath\ominus}%
11167 \DeclareUnicodeCharacter{2297}{\ensuremath\otimes}%
11168 \DeclareUnicodeCharacter{2298}{\ensuremath\oslash}%
11169 \DeclareUnicodeCharacter{2299}{\ensuremath\odot}%
11170 \DeclareUnicodeCharacter{22A2}{\ensuremath\vdash}%
11171 \DeclareUnicodeCharacter{22A3}{\ensuremath\dashv}%
11172 \DeclareUnicodeCharacter{22A4}{\ensuremath\ptextop}%
11173 \DeclareUnicodeCharacter{22A5}{\ensuremath\bot}%
11174 \DeclareUnicodeCharacter{22A8}{\ensuremath\models}%
11175 \DeclareUnicodeCharacter{22C0}{\ensuremath\bigwedge}%
11176 \DeclareUnicodeCharacter{22C1}{\ensuremath\bigvee}%
11177 \DeclareUnicodeCharacter{22C2}{\ensuremath\bigcap}%
11178 \DeclareUnicodeCharacter{22C3}{\ensuremath\bigcup}%
11179 \DeclareUnicodeCharacter{22C4}{\ensuremath\diamond}%
11180 \DeclareUnicodeCharacter{22C5}{\ensuremath\cdot}%
11181 \DeclareUnicodeCharacter{22C6}{\ensuremath\star}%
11182 \DeclareUnicodeCharacter{22C8}{\ensuremath\bowtie}%
11183 \DeclareUnicodeCharacter{2308}{\ensuremath\lceil}%
11184 \DeclareUnicodeCharacter{2309}{\ensuremath\rceil}%
11185 \DeclareUnicodeCharacter{230A}{\ensuremath\lfloor}%
11186 \DeclareUnicodeCharacter{230B}{\ensuremath\rfloor}%
11187 \DeclareUnicodeCharacter{2322}{\ensuremath\frown}%
11188 \DeclareUnicodeCharacter{2323}{\ensuremath\smile}%
11189 %
11190 \DeclareUnicodeCharacter{25B3}{\ensuremath\triangle}%
11191 \DeclareUnicodeCharacter{25B7}{\ensuremath\triangleright}%
11192 \DeclareUnicodeCharacter{25BD}{\ensuremath\bigtriangledown}%
11193 \DeclareUnicodeCharacter{25C1}{\ensuremath\triangleleft}%
11194 \DeclareUnicodeCharacter{25C7}{\ensuremath\diamond}%
11195 \DeclareUnicodeCharacter{2660}{\ensuremath\spadesuit}%
11196 \DeclareUnicodeCharacter{2661}{\ensuremath\heartsuit}%
11197 \DeclareUnicodeCharacter{2662}{\ensuremath\diamondsuit}%
11198 \DeclareUnicodeCharacter{2663}{\ensuremath\clubsuit}%
11199 \DeclareUnicodeCharacter{266D}{\ensuremath\flat}%
11200 \DeclareUnicodeCharacter{266E}{\ensuremath\natural}%
11201 \DeclareUnicodeCharacter{266F}{\ensuremath\sharp}%
11202 \DeclareUnicodeCharacter{26AA}{\ensuremath\bigcirc}%
11203 \DeclareUnicodeCharacter{27B9}{\ensuremath\rangle}%
11204 \DeclareUnicodeCharacter{27C2}{\ensuremath\perp}%
11205 \DeclareUnicodeCharacter{27E8}{\ensuremath\langle}%
11206 \DeclareUnicodeCharacter{27F5}{\ensuremath\longleftarrow}%
11207 \DeclareUnicodeCharacter{27F6}{\ensuremath\longrightarrow}%
11208 \DeclareUnicodeCharacter{27F7}{\ensuremath\longleftrightarrow}%
11209 \DeclareUnicodeCharacter{27FC}{\ensuremath\longmapsto}%
11210 \DeclareUnicodeCharacter{29F5}{\ensuremath\setminus}%
11211 \DeclareUnicodeCharacter{2A00}{\ensuremath\bigodot}%
11212 \DeclareUnicodeCharacter{2A01}{\ensuremath\bigoplus}%
11213 \DeclareUnicodeCharacter{2A02}{\ensuremath\bigotimes}%
11214 \DeclareUnicodeCharacter{2A04}{\ensuremath\biguplus}%
11215 \DeclareUnicodeCharacter{2A06}{\ensuremath\bigsqcup}%
11216 \DeclareUnicodeCharacter{2A3F}{\ensuremath\amalg}%
11217 \DeclareUnicodeCharacter{2AAF}{\ensuremath\preceq}%
11218 \DeclareUnicodeCharacter{2AB0}{\ensuremath\succeq}%
11219 %
11220 \global\mathchardef\checkmark="1370% actually the square root sign
11221 \DeclareUnicodeCharacter{2713}{\ensuremath\checkmark}%
11222 }% end of \unicodechardefs
11223
11224 % UTF-8 byte sequence (pdfTeX) definitions (replacing and @U command)
11225 % It makes the setting that replace UTF-8 byte sequence.
925411226 \def\utfeightchardefs{%
9255 \DeclareUnicodeCharacter{00A0}{\tie}
9256 \DeclareUnicodeCharacter{00A1}{\exclamdown}
9257 \DeclareUnicodeCharacter{00A3}{\pounds}
9258 \DeclareUnicodeCharacter{00A8}{\"{ }}
9259 \DeclareUnicodeCharacter{00A9}{\copyright}
9260 \DeclareUnicodeCharacter{00AA}{\ordf}
9261 \DeclareUnicodeCharacter{00AB}{\guillemetleft}
9262 \DeclareUnicodeCharacter{00AD}{\-}
9263 \DeclareUnicodeCharacter{00AE}{\registeredsymbol}
9264 \DeclareUnicodeCharacter{00AF}{\={ }}
9265
9266 \DeclareUnicodeCharacter{00B0}{\ringaccent{ }}
9267 \DeclareUnicodeCharacter{00B4}{\'{ }}
9268 \DeclareUnicodeCharacter{00B8}{\cedilla{ }}
9269 \DeclareUnicodeCharacter{00BA}{\ordm}
9270 \DeclareUnicodeCharacter{00BB}{\guillemetright}
9271 \DeclareUnicodeCharacter{00BF}{\questiondown}
9272
9273 \DeclareUnicodeCharacter{00C0}{\`A}
9274 \DeclareUnicodeCharacter{00C1}{\'A}
9275 \DeclareUnicodeCharacter{00C2}{\^A}
9276 \DeclareUnicodeCharacter{00C3}{\~A}
9277 \DeclareUnicodeCharacter{00C4}{\"A}
9278 \DeclareUnicodeCharacter{00C5}{\AA}
9279 \DeclareUnicodeCharacter{00C6}{\AE}
9280 \DeclareUnicodeCharacter{00C7}{\cedilla{C}}
9281 \DeclareUnicodeCharacter{00C8}{\`E}
9282 \DeclareUnicodeCharacter{00C9}{\'E}
9283 \DeclareUnicodeCharacter{00CA}{\^E}
9284 \DeclareUnicodeCharacter{00CB}{\"E}
9285 \DeclareUnicodeCharacter{00CC}{\`I}
9286 \DeclareUnicodeCharacter{00CD}{\'I}
9287 \DeclareUnicodeCharacter{00CE}{\^I}
9288 \DeclareUnicodeCharacter{00CF}{\"I}
9289
9290 \DeclareUnicodeCharacter{00D0}{\DH}
9291 \DeclareUnicodeCharacter{00D1}{\~N}
9292 \DeclareUnicodeCharacter{00D2}{\`O}
9293 \DeclareUnicodeCharacter{00D3}{\'O}
9294 \DeclareUnicodeCharacter{00D4}{\^O}
9295 \DeclareUnicodeCharacter{00D5}{\~O}
9296 \DeclareUnicodeCharacter{00D6}{\"O}
9297 \DeclareUnicodeCharacter{00D8}{\O}
9298 \DeclareUnicodeCharacter{00D9}{\`U}
9299 \DeclareUnicodeCharacter{00DA}{\'U}
9300 \DeclareUnicodeCharacter{00DB}{\^U}
9301 \DeclareUnicodeCharacter{00DC}{\"U}
9302 \DeclareUnicodeCharacter{00DD}{\'Y}
9303 \DeclareUnicodeCharacter{00DE}{\TH}
9304 \DeclareUnicodeCharacter{00DF}{\ss}
9305
9306 \DeclareUnicodeCharacter{00E0}{\`a}
9307 \DeclareUnicodeCharacter{00E1}{\'a}
9308 \DeclareUnicodeCharacter{00E2}{\^a}
9309 \DeclareUnicodeCharacter{00E3}{\~a}
9310 \DeclareUnicodeCharacter{00E4}{\"a}
9311 \DeclareUnicodeCharacter{00E5}{\aa}
9312 \DeclareUnicodeCharacter{00E6}{\ae}
9313 \DeclareUnicodeCharacter{00E7}{\cedilla{c}}
9314 \DeclareUnicodeCharacter{00E8}{\`e}
9315 \DeclareUnicodeCharacter{00E9}{\'e}
9316 \DeclareUnicodeCharacter{00EA}{\^e}
9317 \DeclareUnicodeCharacter{00EB}{\"e}
9318 \DeclareUnicodeCharacter{00EC}{\`{\dotless{i}}}
9319 \DeclareUnicodeCharacter{00ED}{\'{\dotless{i}}}
9320 \DeclareUnicodeCharacter{00EE}{\^{\dotless{i}}}
9321 \DeclareUnicodeCharacter{00EF}{\"{\dotless{i}}}
9322
9323 \DeclareUnicodeCharacter{00F0}{\dh}
9324 \DeclareUnicodeCharacter{00F1}{\~n}
9325 \DeclareUnicodeCharacter{00F2}{\`o}
9326 \DeclareUnicodeCharacter{00F3}{\'o}
9327 \DeclareUnicodeCharacter{00F4}{\^o}
9328 \DeclareUnicodeCharacter{00F5}{\~o}
9329 \DeclareUnicodeCharacter{00F6}{\"o}
9330 \DeclareUnicodeCharacter{00F8}{\o}
9331 \DeclareUnicodeCharacter{00F9}{\`u}
9332 \DeclareUnicodeCharacter{00FA}{\'u}
9333 \DeclareUnicodeCharacter{00FB}{\^u}
9334 \DeclareUnicodeCharacter{00FC}{\"u}
9335 \DeclareUnicodeCharacter{00FD}{\'y}
9336 \DeclareUnicodeCharacter{00FE}{\th}
9337 \DeclareUnicodeCharacter{00FF}{\"y}
9338
9339 \DeclareUnicodeCharacter{0100}{\=A}
9340 \DeclareUnicodeCharacter{0101}{\=a}
9341 \DeclareUnicodeCharacter{0102}{\u{A}}
9342 \DeclareUnicodeCharacter{0103}{\u{a}}
9343 \DeclareUnicodeCharacter{0104}{\ogonek{A}}
9344 \DeclareUnicodeCharacter{0105}{\ogonek{a}}
9345 \DeclareUnicodeCharacter{0106}{\'C}
9346 \DeclareUnicodeCharacter{0107}{\'c}
9347 \DeclareUnicodeCharacter{0108}{\^C}
9348 \DeclareUnicodeCharacter{0109}{\^c}
9349 \DeclareUnicodeCharacter{0118}{\ogonek{E}}
9350 \DeclareUnicodeCharacter{0119}{\ogonek{e}}
9351 \DeclareUnicodeCharacter{010A}{\dotaccent{C}}
9352 \DeclareUnicodeCharacter{010B}{\dotaccent{c}}
9353 \DeclareUnicodeCharacter{010C}{\v{C}}
9354 \DeclareUnicodeCharacter{010D}{\v{c}}
9355 \DeclareUnicodeCharacter{010E}{\v{D}}
9356
9357 \DeclareUnicodeCharacter{0112}{\=E}
9358 \DeclareUnicodeCharacter{0113}{\=e}
9359 \DeclareUnicodeCharacter{0114}{\u{E}}
9360 \DeclareUnicodeCharacter{0115}{\u{e}}
9361 \DeclareUnicodeCharacter{0116}{\dotaccent{E}}
9362 \DeclareUnicodeCharacter{0117}{\dotaccent{e}}
9363 \DeclareUnicodeCharacter{011A}{\v{E}}
9364 \DeclareUnicodeCharacter{011B}{\v{e}}
9365 \DeclareUnicodeCharacter{011C}{\^G}
9366 \DeclareUnicodeCharacter{011D}{\^g}
9367 \DeclareUnicodeCharacter{011E}{\u{G}}
9368 \DeclareUnicodeCharacter{011F}{\u{g}}
9369
9370 \DeclareUnicodeCharacter{0120}{\dotaccent{G}}
9371 \DeclareUnicodeCharacter{0121}{\dotaccent{g}}
9372 \DeclareUnicodeCharacter{0124}{\^H}
9373 \DeclareUnicodeCharacter{0125}{\^h}
9374 \DeclareUnicodeCharacter{0128}{\~I}
9375 \DeclareUnicodeCharacter{0129}{\~{\dotless{i}}}
9376 \DeclareUnicodeCharacter{012A}{\=I}
9377 \DeclareUnicodeCharacter{012B}{\={\dotless{i}}}
9378 \DeclareUnicodeCharacter{012C}{\u{I}}
9379 \DeclareUnicodeCharacter{012D}{\u{\dotless{i}}}
9380
9381 \DeclareUnicodeCharacter{0130}{\dotaccent{I}}
9382 \DeclareUnicodeCharacter{0131}{\dotless{i}}
9383 \DeclareUnicodeCharacter{0132}{IJ}
9384 \DeclareUnicodeCharacter{0133}{ij}
9385 \DeclareUnicodeCharacter{0134}{\^J}
9386 \DeclareUnicodeCharacter{0135}{\^{\dotless{j}}}
9387 \DeclareUnicodeCharacter{0139}{\'L}
9388 \DeclareUnicodeCharacter{013A}{\'l}
9389
9390 \DeclareUnicodeCharacter{0141}{\L}
9391 \DeclareUnicodeCharacter{0142}{\l}
9392 \DeclareUnicodeCharacter{0143}{\'N}
9393 \DeclareUnicodeCharacter{0144}{\'n}
9394 \DeclareUnicodeCharacter{0147}{\v{N}}
9395 \DeclareUnicodeCharacter{0148}{\v{n}}
9396 \DeclareUnicodeCharacter{014C}{\=O}
9397 \DeclareUnicodeCharacter{014D}{\=o}
9398 \DeclareUnicodeCharacter{014E}{\u{O}}
9399 \DeclareUnicodeCharacter{014F}{\u{o}}
9400
9401 \DeclareUnicodeCharacter{0150}{\H{O}}
9402 \DeclareUnicodeCharacter{0151}{\H{o}}
9403 \DeclareUnicodeCharacter{0152}{\OE}
9404 \DeclareUnicodeCharacter{0153}{\oe}
9405 \DeclareUnicodeCharacter{0154}{\'R}
9406 \DeclareUnicodeCharacter{0155}{\'r}
9407 \DeclareUnicodeCharacter{0158}{\v{R}}
9408 \DeclareUnicodeCharacter{0159}{\v{r}}
9409 \DeclareUnicodeCharacter{015A}{\'S}
9410 \DeclareUnicodeCharacter{015B}{\'s}
9411 \DeclareUnicodeCharacter{015C}{\^S}
9412 \DeclareUnicodeCharacter{015D}{\^s}
9413 \DeclareUnicodeCharacter{015E}{\cedilla{S}}
9414 \DeclareUnicodeCharacter{015F}{\cedilla{s}}
9415
9416 \DeclareUnicodeCharacter{0160}{\v{S}}
9417 \DeclareUnicodeCharacter{0161}{\v{s}}
9418 \DeclareUnicodeCharacter{0162}{\cedilla{t}}
9419 \DeclareUnicodeCharacter{0163}{\cedilla{T}}
9420 \DeclareUnicodeCharacter{0164}{\v{T}}
9421
9422 \DeclareUnicodeCharacter{0168}{\~U}
9423 \DeclareUnicodeCharacter{0169}{\~u}
9424 \DeclareUnicodeCharacter{016A}{\=U}
9425 \DeclareUnicodeCharacter{016B}{\=u}
9426 \DeclareUnicodeCharacter{016C}{\u{U}}
9427 \DeclareUnicodeCharacter{016D}{\u{u}}
9428 \DeclareUnicodeCharacter{016E}{\ringaccent{U}}
9429 \DeclareUnicodeCharacter{016F}{\ringaccent{u}}
9430
9431 \DeclareUnicodeCharacter{0170}{\H{U}}
9432 \DeclareUnicodeCharacter{0171}{\H{u}}
9433 \DeclareUnicodeCharacter{0174}{\^W}
9434 \DeclareUnicodeCharacter{0175}{\^w}
9435 \DeclareUnicodeCharacter{0176}{\^Y}
9436 \DeclareUnicodeCharacter{0177}{\^y}
9437 \DeclareUnicodeCharacter{0178}{\"Y}
9438 \DeclareUnicodeCharacter{0179}{\'Z}
9439 \DeclareUnicodeCharacter{017A}{\'z}
9440 \DeclareUnicodeCharacter{017B}{\dotaccent{Z}}
9441 \DeclareUnicodeCharacter{017C}{\dotaccent{z}}
9442 \DeclareUnicodeCharacter{017D}{\v{Z}}
9443 \DeclareUnicodeCharacter{017E}{\v{z}}
9444
9445 \DeclareUnicodeCharacter{01C4}{D\v{Z}}
9446 \DeclareUnicodeCharacter{01C5}{D\v{z}}
9447 \DeclareUnicodeCharacter{01C6}{d\v{z}}
9448 \DeclareUnicodeCharacter{01C7}{LJ}
9449 \DeclareUnicodeCharacter{01C8}{Lj}
9450 \DeclareUnicodeCharacter{01C9}{lj}
9451 \DeclareUnicodeCharacter{01CA}{NJ}
9452 \DeclareUnicodeCharacter{01CB}{Nj}
9453 \DeclareUnicodeCharacter{01CC}{nj}
9454 \DeclareUnicodeCharacter{01CD}{\v{A}}
9455 \DeclareUnicodeCharacter{01CE}{\v{a}}
9456 \DeclareUnicodeCharacter{01CF}{\v{I}}
9457
9458 \DeclareUnicodeCharacter{01D0}{\v{\dotless{i}}}
9459 \DeclareUnicodeCharacter{01D1}{\v{O}}
9460 \DeclareUnicodeCharacter{01D2}{\v{o}}
9461 \DeclareUnicodeCharacter{01D3}{\v{U}}
9462 \DeclareUnicodeCharacter{01D4}{\v{u}}
9463
9464 \DeclareUnicodeCharacter{01E2}{\={\AE}}
9465 \DeclareUnicodeCharacter{01E3}{\={\ae}}
9466 \DeclareUnicodeCharacter{01E6}{\v{G}}
9467 \DeclareUnicodeCharacter{01E7}{\v{g}}
9468 \DeclareUnicodeCharacter{01E8}{\v{K}}
9469 \DeclareUnicodeCharacter{01E9}{\v{k}}
9470
9471 \DeclareUnicodeCharacter{01F0}{\v{\dotless{j}}}
9472 \DeclareUnicodeCharacter{01F1}{DZ}
9473 \DeclareUnicodeCharacter{01F2}{Dz}
9474 \DeclareUnicodeCharacter{01F3}{dz}
9475 \DeclareUnicodeCharacter{01F4}{\'G}
9476 \DeclareUnicodeCharacter{01F5}{\'g}
9477 \DeclareUnicodeCharacter{01F8}{\`N}
9478 \DeclareUnicodeCharacter{01F9}{\`n}
9479 \DeclareUnicodeCharacter{01FC}{\'{\AE}}
9480 \DeclareUnicodeCharacter{01FD}{\'{\ae}}
9481 \DeclareUnicodeCharacter{01FE}{\'{\O}}
9482 \DeclareUnicodeCharacter{01FF}{\'{\o}}
9483
9484 \DeclareUnicodeCharacter{021E}{\v{H}}
9485 \DeclareUnicodeCharacter{021F}{\v{h}}
9486
9487 \DeclareUnicodeCharacter{0226}{\dotaccent{A}}
9488 \DeclareUnicodeCharacter{0227}{\dotaccent{a}}
9489 \DeclareUnicodeCharacter{0228}{\cedilla{E}}
9490 \DeclareUnicodeCharacter{0229}{\cedilla{e}}
9491 \DeclareUnicodeCharacter{022E}{\dotaccent{O}}
9492 \DeclareUnicodeCharacter{022F}{\dotaccent{o}}
9493
9494 \DeclareUnicodeCharacter{0232}{\=Y}
9495 \DeclareUnicodeCharacter{0233}{\=y}
9496 \DeclareUnicodeCharacter{0237}{\dotless{j}}
9497
9498 \DeclareUnicodeCharacter{02DB}{\ogonek{ }}
9499
9500 \DeclareUnicodeCharacter{1E02}{\dotaccent{B}}
9501 \DeclareUnicodeCharacter{1E03}{\dotaccent{b}}
9502 \DeclareUnicodeCharacter{1E04}{\udotaccent{B}}
9503 \DeclareUnicodeCharacter{1E05}{\udotaccent{b}}
9504 \DeclareUnicodeCharacter{1E06}{\ubaraccent{B}}
9505 \DeclareUnicodeCharacter{1E07}{\ubaraccent{b}}
9506 \DeclareUnicodeCharacter{1E0A}{\dotaccent{D}}
9507 \DeclareUnicodeCharacter{1E0B}{\dotaccent{d}}
9508 \DeclareUnicodeCharacter{1E0C}{\udotaccent{D}}
9509 \DeclareUnicodeCharacter{1E0D}{\udotaccent{d}}
9510 \DeclareUnicodeCharacter{1E0E}{\ubaraccent{D}}
9511 \DeclareUnicodeCharacter{1E0F}{\ubaraccent{d}}
9512
9513 \DeclareUnicodeCharacter{1E1E}{\dotaccent{F}}
9514 \DeclareUnicodeCharacter{1E1F}{\dotaccent{f}}
9515
9516 \DeclareUnicodeCharacter{1E20}{\=G}
9517 \DeclareUnicodeCharacter{1E21}{\=g}
9518 \DeclareUnicodeCharacter{1E22}{\dotaccent{H}}
9519 \DeclareUnicodeCharacter{1E23}{\dotaccent{h}}
9520 \DeclareUnicodeCharacter{1E24}{\udotaccent{H}}
9521 \DeclareUnicodeCharacter{1E25}{\udotaccent{h}}
9522 \DeclareUnicodeCharacter{1E26}{\"H}
9523 \DeclareUnicodeCharacter{1E27}{\"h}
9524
9525 \DeclareUnicodeCharacter{1E30}{\'K}
9526 \DeclareUnicodeCharacter{1E31}{\'k}
9527 \DeclareUnicodeCharacter{1E32}{\udotaccent{K}}
9528 \DeclareUnicodeCharacter{1E33}{\udotaccent{k}}
9529 \DeclareUnicodeCharacter{1E34}{\ubaraccent{K}}
9530 \DeclareUnicodeCharacter{1E35}{\ubaraccent{k}}
9531 \DeclareUnicodeCharacter{1E36}{\udotaccent{L}}
9532 \DeclareUnicodeCharacter{1E37}{\udotaccent{l}}
9533 \DeclareUnicodeCharacter{1E3A}{\ubaraccent{L}}
9534 \DeclareUnicodeCharacter{1E3B}{\ubaraccent{l}}
9535 \DeclareUnicodeCharacter{1E3E}{\'M}
9536 \DeclareUnicodeCharacter{1E3F}{\'m}
9537
9538 \DeclareUnicodeCharacter{1E40}{\dotaccent{M}}
9539 \DeclareUnicodeCharacter{1E41}{\dotaccent{m}}
9540 \DeclareUnicodeCharacter{1E42}{\udotaccent{M}}
9541 \DeclareUnicodeCharacter{1E43}{\udotaccent{m}}
9542 \DeclareUnicodeCharacter{1E44}{\dotaccent{N}}
9543 \DeclareUnicodeCharacter{1E45}{\dotaccent{n}}
9544 \DeclareUnicodeCharacter{1E46}{\udotaccent{N}}
9545 \DeclareUnicodeCharacter{1E47}{\udotaccent{n}}
9546 \DeclareUnicodeCharacter{1E48}{\ubaraccent{N}}
9547 \DeclareUnicodeCharacter{1E49}{\ubaraccent{n}}
9548
9549 \DeclareUnicodeCharacter{1E54}{\'P}
9550 \DeclareUnicodeCharacter{1E55}{\'p}
9551 \DeclareUnicodeCharacter{1E56}{\dotaccent{P}}
9552 \DeclareUnicodeCharacter{1E57}{\dotaccent{p}}
9553 \DeclareUnicodeCharacter{1E58}{\dotaccent{R}}
9554 \DeclareUnicodeCharacter{1E59}{\dotaccent{r}}
9555 \DeclareUnicodeCharacter{1E5A}{\udotaccent{R}}
9556 \DeclareUnicodeCharacter{1E5B}{\udotaccent{r}}
9557 \DeclareUnicodeCharacter{1E5E}{\ubaraccent{R}}
9558 \DeclareUnicodeCharacter{1E5F}{\ubaraccent{r}}
9559
9560 \DeclareUnicodeCharacter{1E60}{\dotaccent{S}}
9561 \DeclareUnicodeCharacter{1E61}{\dotaccent{s}}
9562 \DeclareUnicodeCharacter{1E62}{\udotaccent{S}}
9563 \DeclareUnicodeCharacter{1E63}{\udotaccent{s}}
9564 \DeclareUnicodeCharacter{1E6A}{\dotaccent{T}}
9565 \DeclareUnicodeCharacter{1E6B}{\dotaccent{t}}
9566 \DeclareUnicodeCharacter{1E6C}{\udotaccent{T}}
9567 \DeclareUnicodeCharacter{1E6D}{\udotaccent{t}}
9568 \DeclareUnicodeCharacter{1E6E}{\ubaraccent{T}}
9569 \DeclareUnicodeCharacter{1E6F}{\ubaraccent{t}}
9570
9571 \DeclareUnicodeCharacter{1E7C}{\~V}
9572 \DeclareUnicodeCharacter{1E7D}{\~v}
9573 \DeclareUnicodeCharacter{1E7E}{\udotaccent{V}}
9574 \DeclareUnicodeCharacter{1E7F}{\udotaccent{v}}
9575
9576 \DeclareUnicodeCharacter{1E80}{\`W}
9577 \DeclareUnicodeCharacter{1E81}{\`w}
9578 \DeclareUnicodeCharacter{1E82}{\'W}
9579 \DeclareUnicodeCharacter{1E83}{\'w}
9580 \DeclareUnicodeCharacter{1E84}{\"W}
9581 \DeclareUnicodeCharacter{1E85}{\"w}
9582 \DeclareUnicodeCharacter{1E86}{\dotaccent{W}}
9583 \DeclareUnicodeCharacter{1E87}{\dotaccent{w}}
9584 \DeclareUnicodeCharacter{1E88}{\udotaccent{W}}
9585 \DeclareUnicodeCharacter{1E89}{\udotaccent{w}}
9586 \DeclareUnicodeCharacter{1E8A}{\dotaccent{X}}
9587 \DeclareUnicodeCharacter{1E8B}{\dotaccent{x}}
9588 \DeclareUnicodeCharacter{1E8C}{\"X}
9589 \DeclareUnicodeCharacter{1E8D}{\"x}
9590 \DeclareUnicodeCharacter{1E8E}{\dotaccent{Y}}
9591 \DeclareUnicodeCharacter{1E8F}{\dotaccent{y}}
9592
9593 \DeclareUnicodeCharacter{1E90}{\^Z}
9594 \DeclareUnicodeCharacter{1E91}{\^z}
9595 \DeclareUnicodeCharacter{1E92}{\udotaccent{Z}}
9596 \DeclareUnicodeCharacter{1E93}{\udotaccent{z}}
9597 \DeclareUnicodeCharacter{1E94}{\ubaraccent{Z}}
9598 \DeclareUnicodeCharacter{1E95}{\ubaraccent{z}}
9599 \DeclareUnicodeCharacter{1E96}{\ubaraccent{h}}
9600 \DeclareUnicodeCharacter{1E97}{\"t}
9601 \DeclareUnicodeCharacter{1E98}{\ringaccent{w}}
9602 \DeclareUnicodeCharacter{1E99}{\ringaccent{y}}
9603
9604 \DeclareUnicodeCharacter{1EA0}{\udotaccent{A}}
9605 \DeclareUnicodeCharacter{1EA1}{\udotaccent{a}}
9606
9607 \DeclareUnicodeCharacter{1EB8}{\udotaccent{E}}
9608 \DeclareUnicodeCharacter{1EB9}{\udotaccent{e}}
9609 \DeclareUnicodeCharacter{1EBC}{\~E}
9610 \DeclareUnicodeCharacter{1EBD}{\~e}
9611
9612 \DeclareUnicodeCharacter{1ECA}{\udotaccent{I}}
9613 \DeclareUnicodeCharacter{1ECB}{\udotaccent{i}}
9614 \DeclareUnicodeCharacter{1ECC}{\udotaccent{O}}
9615 \DeclareUnicodeCharacter{1ECD}{\udotaccent{o}}
9616
9617 \DeclareUnicodeCharacter{1EE4}{\udotaccent{U}}
9618 \DeclareUnicodeCharacter{1EE5}{\udotaccent{u}}
9619
9620 \DeclareUnicodeCharacter{1EF2}{\`Y}
9621 \DeclareUnicodeCharacter{1EF3}{\`y}
9622 \DeclareUnicodeCharacter{1EF4}{\udotaccent{Y}}
9623
9624 \DeclareUnicodeCharacter{1EF8}{\~Y}
9625 \DeclareUnicodeCharacter{1EF9}{\~y}
9626
9627 \DeclareUnicodeCharacter{2013}{--}
9628 \DeclareUnicodeCharacter{2014}{---}
9629 \DeclareUnicodeCharacter{2018}{\quoteleft}
9630 \DeclareUnicodeCharacter{2019}{\quoteright}
9631 \DeclareUnicodeCharacter{201A}{\quotesinglbase}
9632 \DeclareUnicodeCharacter{201C}{\quotedblleft}
9633 \DeclareUnicodeCharacter{201D}{\quotedblright}
9634 \DeclareUnicodeCharacter{201E}{\quotedblbase}
9635 \DeclareUnicodeCharacter{2022}{\bullet}
9636 \DeclareUnicodeCharacter{2026}{\dots}
9637 \DeclareUnicodeCharacter{2039}{\guilsinglleft}
9638 \DeclareUnicodeCharacter{203A}{\guilsinglright}
9639 \DeclareUnicodeCharacter{20AC}{\euro}
9640
9641 \DeclareUnicodeCharacter{2192}{\expansion}
9642 \DeclareUnicodeCharacter{21D2}{\result}
9643
9644 \DeclareUnicodeCharacter{2212}{\minus}
9645 \DeclareUnicodeCharacter{2217}{\point}
9646 \DeclareUnicodeCharacter{2261}{\equiv}
9647 }% end of \utfeightchardefs
9648
11227 \let\DeclareUnicodeCharacter\DeclareUnicodeCharacterUTFviii
11228 \unicodechardefs
11229 }
11230
11231 % Whether the active definitions of non-ASCII characters expand to
11232 % non-active tokens with the same character code. This is used to
11233 % write characters literally, instead of using active definitions for
11234 % printing the correct glyphs.
11235 \newif\ifpassthroughchars
11236 \passthroughcharsfalse
11237
11238 % For native Unicode handling (XeTeX and LuaTeX),
11239 % provide a definition macro to replace/pass-through a Unicode character
11240 %
11241 \def\DeclareUnicodeCharacterNative#1#2{%
11242 \catcode"#1=\active
11243 \def\dodeclareunicodecharacternative##1##2##3{%
11244 \begingroup
11245 \uccode`\~="##2\relax
11246 \uppercase{\gdef~}{%
11247 \ifpassthroughchars
11248 ##1%
11249 \else
11250 ##3%
11251 \fi
11252 }
11253 \endgroup
11254 }
11255 \begingroup
11256 \uccode`\.="#1\relax
11257 \uppercase{\def\UTFNativeTmp{.}}%
11258 \expandafter\dodeclareunicodecharacternative\UTFNativeTmp{#1}{#2}%
11259 \endgroup
11260 }
11261
11262 % Native Unicode handling (XeTeX and LuaTeX) character replacing definition.
11263 % It activates the setting that replaces Unicode characters.
11264 \def\nativeunicodechardefs{%
11265 \let\DeclareUnicodeCharacter\DeclareUnicodeCharacterNative
11266 \unicodechardefs
11267 }
11268
11269 % For native Unicode handling (XeTeX and LuaTeX),
11270 % make the character token expand
11271 % to the sequences given in \unicodechardefs for printing.
11272 \def\DeclareUnicodeCharacterNativeAtU#1#2{%
11273 \def\UTFAtUTmp{#2}
11274 \expandafter\globallet\csname uni:#1\endcsname \UTFAtUTmp
11275 }
11276
11277 % @U command definitions for native Unicode handling (XeTeX and LuaTeX).
11278 \def\nativeunicodechardefsatu{%
11279 \let\DeclareUnicodeCharacter\DeclareUnicodeCharacterNativeAtU
11280 \unicodechardefs
11281 }
964911282
965011283 % US-ASCII character definitions.
965111284 \def\asciichardefs{% nothing need be done
965211285 \relax
965311286 }
965411287
9655 % Make non-ASCII characters printable again for compatibility with
9656 % existing Texinfo documents that may use them, even without declaring a
9657 % document encoding.
9658 %
9659 \setnonasciicharscatcode \other
9660
11288 % Define all Unicode characters we know about. This makes UTF-8 the default
11289 % input encoding and allows @U to work.
11290 \iftxinativeunicodecapable
11291 \nativeunicodechardefsatu
11292 \else
11293 \utfeightchardefs
11294 \fi
966111295
966211296 \message{formatting,}
966311297
970711341 \advance\vsize by \topskip
970811342 \outervsize = \vsize
970911343 \advance\outervsize by 2\topandbottommargin
9710 \pageheight = \vsize
11344 \txipageheight = \vsize
971111345 %
971211346 \hsize = #2\relax
971311347 \outerhsize = \hsize
971411348 \advance\outerhsize by 0.5in
9715 \pagewidth = \hsize
11349 \txipagewidth = \hsize
971611350 %
971711351 \normaloffset = #4\relax
971811352 \bindingoffset = #5\relax
972411358 % whatever layout pdftex was dumped with.
972511359 \pdfhorigin = 1 true in
972611360 \pdfvorigin = 1 true in
11361 \else
11362 \ifx\XeTeXrevision\thisisundefined
11363 \special{papersize=#8,#7}%
11364 \else
11365 \pdfpageheight #7\relax
11366 \pdfpagewidth #8\relax
11367 % XeTeX does not have \pdfhorigin and \pdfvorigin.
11368 \fi
972711369 \fi
972811370 %
972911371 \setleading{\textleading}
975611398 %
975711399 \lispnarrowing = 0.3in
975811400 \tolerance = 700
9759 \hfuzz = 1pt
976011401 \contentsrightmargin = 0pt
976111402 \defbodyindent = .5cm
976211403 }}
977411415 %
977511416 \lispnarrowing = 0.25in
977611417 \tolerance = 700
9777 \hfuzz = 1pt
977811418 \contentsrightmargin = 0pt
977911419 \defbodyindent = .4cm
978011420 }}
980011440 {297mm}{210mm}%
980111441 %
980211442 \tolerance = 700
9803 \hfuzz = 1pt
980411443 \contentsrightmargin = 0pt
980511444 \defbodyindent = 5mm
980611445 }}
981911458 %
982011459 \lispnarrowing = 0.2in
982111460 \tolerance = 800
9822 \hfuzz = 1.2pt
982311461 \contentsrightmargin = 0pt
982411462 \defbodyindent = 2mm
982511463 \tableindent = 12mm
984711485 \globaldefs = 0
984811486 }}
984911487
11488 \def\bsixpaper{{\globaldefs = 1
11489 \afourpaper
11490 \internalpagesizes{140mm}{100mm}%
11491 {-6.35mm}{-12.7mm}%
11492 {\bindingoffset}{14pt}%
11493 {176mm}{125mm}%
11494 \let\SETdispenvsize=\smallword
11495 \lispnarrowing = 0.2in
11496 \globaldefs = 0
11497 }}
11498
11499
985011500 % @pagesizes TEXTHEIGHT[,TEXTWIDTH]
985111501 % Perhaps we should allow setting the margins, \topskip, \parskip,
985211502 % and/or leading, also. Or perhaps we should compute them somehow.
986011510 \setleading{\textleading}%
986111511 %
986211512 \dimen0 = #1\relax
9863 \advance\dimen0 by \voffset
11513 \advance\dimen0 by 2.5in % default 1in margin above heading line
11514 % and 1.5in to include heading, footing and
11515 % bottom margin
986411516 %
986511517 \dimen2 = \hsize
9866 \advance\dimen2 by \normaloffset
11518 \advance\dimen2 by 2in % default to 1 inch margin on each side
986711519 %
986811520 \internalpagesizes{#1}{\hsize}%
986911521 {\voffset}{\normaloffset}%
987411526 % Set default to letter.
987511527 %
987611528 \letterpaper
11529
11530 % Default value of \hfuzz, for suppressing warnings about overfull hboxes.
11531 \hfuzz = 1pt
987711532
987811533
987911534 \message{and turning on texinfo input format.}
991111566 % this is not a problem.
991211567 \def\ifusingit#1#2{\ifdim \fontdimen1\font>0pt #1\else #2\fi}
991311568
9914 % Turn off all special characters except @
9915 % (and those which the user can use as if they were ordinary).
11569 % Set catcodes for Texinfo file
11570
11571 % Active characters for printing the wanted glyph.
991611572 % Most of these we simply print from the \tt font, but for some, we can
991711573 % use math or other variants that look better in normal text.
9918
11574 %
991911575 \catcode`\"=\active
992011576 \def\activedoublequote{{\tt\char34}}
992111577 \let"=\activedoublequote
9922 \catcode`\~=\active
9923 \def~{{\tt\char126}}
9924 \chardef\hat=`\^
9925 \catcode`\^=\active
9926 \def^{{\tt \hat}}
11578 \catcode`\~=\active \def\activetilde{{\tt\char126}} \let~ = \activetilde
11579 \chardef\hatchar=`\^
11580 \catcode`\^=\active \def\activehat{{\tt \hatchar}} \let^ = \activehat
992711581
992811582 \catcode`\_=\active
992911583 \def_{\ifusingtt\normalunderscore\_}
11584 \def\_{\leavevmode \kern.07em \vbox{\hrule width.3em height.1ex}\kern .07em }
993011585 \let\realunder=_
9931 % Subroutine for the previous macro.
9932 \def\_{\leavevmode \kern.07em \vbox{\hrule width.3em height.1ex}\kern .07em }
9933
9934 \catcode`\|=\active
9935 \def|{{\tt\char124}}
11586
11587 \catcode`\|=\active \def|{{\tt\char124}}
11588
993611589 \chardef \less=`\<
9937 \catcode`\<=\active
9938 \def<{{\tt \less}}
11590 \catcode`\<=\active \def\activeless{{\tt \less}}\let< = \activeless
993911591 \chardef \gtr=`\>
9940 \catcode`\>=\active
9941 \def>{{\tt \gtr}}
9942 \catcode`\+=\active
9943 \def+{{\tt \char 43}}
9944 \catcode`\$=\active
9945 \def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix
9946
9947 % If a .fmt file is being used, characters that might appear in a file
9948 % name cannot be active until we have parsed the command line.
9949 % So turn them off again, and have \everyjob (or @setfilename) turn them on.
9950 % \otherifyactive is called near the end of this file.
9951 \def\otherifyactive{\catcode`+=\other \catcode`\_=\other}
11592 \catcode`\>=\active \def\activegtr{{\tt \gtr}}\let> = \activegtr
11593 \catcode`\+=\active \def+{{\tt \char 43}}
11594 \catcode`\$=\active \def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix
11595 \catcode`\-=\active \let-=\normaldash
11596
11597
11598 % used for headline/footline in the output routine, in case the page
11599 % breaks in the middle of an @tex block.
11600 \def\texinfochars{%
11601 \let< = \activeless
11602 \let> = \activegtr
11603 \let~ = \activetilde
11604 \let^ = \activehat
11605 \markupsetuplqdefault \markupsetuprqdefault
11606 \let\b = \strong
11607 \let\i = \smartitalic
11608 % in principle, all other definitions in \tex have to be undone too.
11609 }
995211610
995311611 % Used sometimes to turn off (effectively) the active characters even after
995411612 % parsing them.
996211620 % \backslashcurfont outputs one backslash character in current font,
996311621 % as in \char`\\.
996411622 \global\chardef\backslashcurfont=`\\
9965 \global\let\rawbackslashxx=\backslashcurfont % let existing .??s files work
9966
9967 % \realbackslash is an actual character `\' with catcode other, and
9968 % \doublebackslash is two of them (for the pdf outlines).
9969 {\catcode`\\=\other @gdef@realbackslash{\} @gdef@doublebackslash{\\}}
9970
9971 % In texinfo, backslash is an active character; it prints the backslash
11623
11624 % \realbackslash is an actual character `\' with catcode other.
11625 {\catcode`\\=\other @gdef@realbackslash{\}}
11626
11627 % In Texinfo, backslash is an active character; it prints the backslash
997211628 % in fixed width font.
997311629 \catcode`\\=\active % @ for escape char from now on.
997411630
9975 % The story here is that in math mode, the \char of \backslashcurfont
9976 % ends up printing the roman \ from the math symbol font (because \char
9977 % in math mode uses the \mathcode, and plain.tex sets
9978 % \mathcode`\\="026E). It seems better for @backslashchar{} to always
9979 % print a typewriter backslash, hence we use an explicit \mathchar,
11631 % Print a typewriter backslash. For math mode, we can't simply use
11632 % \backslashcurfont: the story here is that in math mode, the \char
11633 % of \backslashcurfont ends up printing the roman \ from the math symbol
11634 % font (because \char in math mode uses the \mathcode, and plain.tex
11635 % sets \mathcode`\\="026E). Hence we use an explicit \mathchar,
998011636 % which is the decimal equivalent of "715c (class 7, e.g., use \fam;
998111637 % ignored family value; char position "5C). We can't use " for the
998211638 % usual hex value because it has already been made active.
9983 @def@normalbackslash{{@tt @ifmmode @mathchar29020 @else @backslashcurfont @fi}}
9984 @let@backslashchar = @normalbackslash % @backslashchar{} is for user documents.
9985
9986 % On startup, @fixbackslash assigns:
9987 % @let \ = @normalbackslash
9988 % \rawbackslash defines an active \ to do \backslashcurfont.
11639
11640 @def@ttbackslash{{@tt @ifmmode @mathchar29020 @else @backslashcurfont @fi}}
11641 @let@backslashchar = @ttbackslash % @backslashchar{} is for user documents.
11642
998911643 % \otherbackslash defines an active \ to be a literal `\' character with
9990 % catcode other. We switch back and forth between these.
9991 @gdef@rawbackslash{@let\=@backslashcurfont}
11644 % catcode other.
999211645 @gdef@otherbackslash{@let\=@realbackslash}
999311646
999411647 % Same as @turnoffactive except outputs \ as {\tt\char`\\} instead of
9995 % the literal character `\'. Also revert - to its normal character, in
9996 % case the active - from code has slipped in.
11648 % the literal character `\'.
999711649 %
999811650 {@catcode`- = @active
999911651 @gdef@normalturnoffactive{%
11652 @passthroughcharstrue
1000011653 @let-=@normaldash
1000111654 @let"=@normaldoublequote
1000211655 @let$=@normaldollar %$ font-lock fix
1000311656 @let+=@normalplus
1000411657 @let<=@normalless
1000511658 @let>=@normalgreater
10006 @let\=@normalbackslash
1000711659 @let^=@normalcaret
1000811660 @let_=@normalunderscore
1000911661 @let|=@normalverticalbar
1001011662 @let~=@normaltilde
11663 @let\=@ttbackslash
1001111664 @markupsetuplqdefault
1001211665 @markupsetuprqdefault
1001311666 @unsepspaces
1001411667 }
1001511668 }
1001611669
10017 % Make _ and + \other characters, temporarily.
10018 % This is canceled by @fixbackslash.
10019 @otherifyactive
10020
11670 % If a .fmt file is being used, characters that might appear in a file
11671 % name cannot be active until we have parsed the command line.
11672 % So turn them off again, and have @fixbackslash turn them back on.
11673 @catcode`+=@other @catcode`@_=@other
11674
11675 % \enablebackslashhack - allow file to begin `\input texinfo'
11676 %
1002111677 % If a .fmt file is being used, we don't want the `\input texinfo' to show up.
1002211678 % That is what \eatinput is for; after that, the `\' should revert to printing
1002311679 % a backslash.
10024 %
10025 @gdef@eatinput input texinfo{@fixbackslash}
10026 @global@let\ = @eatinput
10027
10028 % On the other hand, perhaps the file did not have a `\input texinfo'. Then
10029 % the first `\' in the file would cause an error. This macro tries to fix
10030 % that, assuming it is called before the first `\' could plausibly occur.
10031 % Also turn back on active characters that might appear in the input
10032 % file name, in case not using a pre-dumped format.
10033 %
11680 % If the file did not have a `\input texinfo', then it is turned off after
11681 % the first line; otherwise the first `\' in the file would cause an error.
11682 % This is used on the very last line of this file, texinfo.tex.
11683 % We also use @c to call @fixbackslash, in case ends of lines are hidden.
11684 {
11685 @catcode`@^=7
11686 @catcode`@^^M=13@gdef@enablebackslashhack{%
11687 @global@let\ = @eatinput%
11688 @catcode`@^^M=13%
11689 @def@c{@fixbackslash@c}%
11690 % Definition for the newline at the end of this file.
11691 @def ^^M{@let^^M@secondlinenl}%
11692 % Definition for a newline in the main Texinfo file.
11693 @gdef @secondlinenl{@fixbackslash}%
11694 % In case the first line has a whole-line command on it
11695 @let@originalparsearg@parsearg
11696 @def@parsearg{@fixbackslash@originalparsearg}
11697 }}
11698
11699 {@catcode`@^=7 @catcode`@^^M=13%
11700 @gdef@eatinput input texinfo#1^^M{@fixbackslash}}
11701
11702 % Emergency active definition of newline, in case an active newline token
11703 % appears by mistake.
11704 {@catcode`@^=7 @catcode13=13%
11705 @gdef@enableemergencynewline{%
11706 @gdef^^M{%
11707 @par%
11708 %<warning: active newline>@par%
11709 }}}
11710
11711
1003411712 @gdef@fixbackslash{%
10035 @ifx\@eatinput @let\ = @normalbackslash @fi
11713 @ifx\@eatinput @let\ = @ttbackslash @fi
11714 @catcode13=5 % regular end of line
11715 @enableemergencynewline
11716 @let@c=@comment
11717 @let@parsearg@originalparsearg
11718 % Also turn back on active characters that might appear in the input
11719 % file name, in case not using a pre-dumped format.
1003611720 @catcode`+=@active
1003711721 @catcode`@_=@active
10038 }
11722 %
11723 % If texinfo.cnf is present on the system, read it.
11724 % Useful for site-wide @afourpaper, etc. This macro, @fixbackslash, gets
11725 % called at the beginning of every Texinfo file. Not opening texinfo.cnf
11726 % directly in this file, texinfo.tex, makes it possible to make a format
11727 % file for Texinfo.
11728 %
11729 @openin 1 texinfo.cnf
11730 @ifeof 1 @else @input texinfo.cnf @fi
11731 @closein 1
11732 }
11733
1003911734
1004011735 % Say @foo, not \foo, in error messages.
1004111736 @escapechar = `@@
1006411759 @markupsetuprqdefault
1006511760
1006611761 @c Local variables:
10067 @c eval: (add-hook 'write-file-hooks 'time-stamp)
10068 @c page-delimiter: "^\\\\message"
11762 @c eval: (add-hook 'before-save-hook 'time-stamp)
11763 @c page-delimiter: "^\\\\message\\|emacs-page"
1006911764 @c time-stamp-start: "def\\\\texinfoversion{"
1007011765 @c time-stamp-format: "%:y-%02m-%02d.%02H"
1007111766 @c time-stamp-end: "}"
1007311768
1007411769 @c vim:sw=2:
1007511770
10076 @ignore
10077 arch-tag: e1b36e32-c96e-4135-a41a-0b2efa2ea115
10078 @end ignore
11771 @enablebackslashhack
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.69 for GNU Autoconf Archive 2019.01.06.
2 # Generated by GNU Autoconf 2.70 for GNU Autoconf Archive 2021.02.19.
33 #
44 # Report bugs to <autoconf-archive-maintainers@gnu.org>.
55 #
66 #
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 # Copyright (C) 1992-1996, 1998-2017, 2020 Free Software Foundation, Inc.
88 #
99 #
1010 # This configure script is free software; the Free Software Foundation
1515
1616 # Be more Bourne compatible
1717 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 as_nop=:
19 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
20 then :
1921 emulate sh
2022 NULLCMD=:
2123 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2224 # is contrary to our usage. Disable this feature.
2325 alias -g '${1+"$@"}'='"$@"'
2426 setopt NO_GLOB_SUBST
25 else
27 else $as_nop
2628 case `(set -o) 2>/dev/null` in #(
2729 *posix*) :
2830 set -o posix ;; #(
3234 fi
3335
3436
37
38 # Reset variables that may have inherited troublesome values from
39 # the environment.
40
41 # IFS needs to be set, to space, tab, and newline, in precisely that order.
42 # (If _AS_PATH_WALK were called with IFS unset, it would have the
43 # side effect of setting IFS to empty, thus disabling word splitting.)
44 # Quoting is to prevent editors from complaining about space-tab.
3545 as_nl='
3646 '
3747 export as_nl
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo='print -r --'
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='printf %s\n'
50 as_echo_n='printf %s'
51 else
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
55 else
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
57 as_echo_n_body='eval
58 arg=$1;
59 case $arg in #(
60 *"$as_nl"*)
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 esac;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 '
66 export as_echo_n_body
67 as_echo_n='sh -c $as_echo_n_body as_echo'
68 fi
69 export as_echo_body
70 as_echo='sh -c $as_echo_body as_echo'
71 fi
48 IFS=" "" $as_nl"
49
50 PS1='$ '
51 PS2='> '
52 PS4='+ '
53
54 # Ensure predictable behavior from utilities with locale-dependent output.
55 LC_ALL=C
56 export LC_ALL
57 LANGUAGE=C
58 export LANGUAGE
59
60 # We cannot yet rely on "unset" to work, but we need these variables
61 # to be unset--not just set to an empty or harmless value--now, to
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
63 # also avoids known problems related to "unset" and subshell syntax
64 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
65 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
66 do eval test \${$as_var+y} \
67 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
68 done
69
70 # Ensure that fds 0, 1, and 2 are open.
71 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
72 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
73 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
7274
7375 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
76 if ${PATH_SEPARATOR+false} :; then
7577 PATH_SEPARATOR=:
7678 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7779 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7981 }
8082 fi
8183
82
83 # IFS
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
88 IFS=" "" $as_nl"
8984
9085 # Find who we are. Look in the path if we contain no directory separator.
9186 as_myself=
9590 for as_dir in $PATH
9691 do
9792 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
93 case $as_dir in #(((
94 '') as_dir=./ ;;
95 */) ;;
96 *) as_dir=$as_dir/ ;;
97 esac
98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
10099 done
101100 IFS=$as_save_IFS
102101
108107 as_myself=$0
109108 fi
110109 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112111 exit 1
113112 fi
114113
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135114
136115 # Use a proper internal environment variable to ensure we don't fall
137116 # into an infinite loop, continuously re-executing ourselves.
153132 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154133 # Admittedly, this is quite paranoid, since all the known shells bail
155134 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
157 as_fn_exit 255
135 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
136 exit 255
158137 fi
159138 # We don't want this to propagate to other subprocesses.
160139 { _as_can_reexec=; unset _as_can_reexec;}
161140 if test "x$CONFIG_SHELL" = x; then
162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 as_bourne_compatible="as_nop=:
142 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
143 then :
163144 emulate sh
164145 NULLCMD=:
165146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166147 # is contrary to our usage. Disable this feature.
167148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
168149 setopt NO_GLOB_SUBST
169 else
150 else \$as_nop
170151 case \`(set -o) 2>/dev/null\` in #(
171152 *posix*) :
172153 set -o posix ;; #(
186167 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187168 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188169 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190
191 else
170 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171 then :
172
173 else \$as_nop
192174 exitcode=1; echo positional parameters were not saved.
193175 fi
194176 test x\$exitcode = x0 || exit 1
177 blah=\$(echo \$(echo blah))
178 test x\"\$blah\" = xblah || exit 1
195179 test -x / || exit 1"
196180 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197181 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
198182 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
199183 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200184 test \$(( 1 + 1 )) = 2 || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
185 if (eval "$as_required") 2>/dev/null
186 then :
202187 as_have_required=yes
203 else
188 else $as_nop
204189 as_have_required=no
205190 fi
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207
208 else
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
192 then :
193
194 else $as_nop
209195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210196 as_found=false
211197 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212198 do
213199 IFS=$as_save_IFS
214 test -z "$as_dir" && as_dir=.
200 case $as_dir in #(((
201 '') as_dir=./ ;;
202 */) ;;
203 *) as_dir=$as_dir/ ;;
204 esac
215205 as_found=:
216206 case $as_dir in #(
217207 /*)
218208 for as_base in sh bash ksh sh5; do
219209 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
210 as_shell=$as_dir$as_base
221211 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
212 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
213 then :
223214 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
215 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
216 then :
225217 break 2
226218 fi
227219 fi
229221 esac
230222 as_found=false
231223 done
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
224 IFS=$as_save_IFS
225 if $as_found
226 then :
227
228 else $as_nop
229 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
230 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
231 then :
234232 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi; }
236 IFS=$as_save_IFS
237
238
239 if test "x$CONFIG_SHELL" != x; then :
233 fi
234 fi
235
236
237 if test "x$CONFIG_SHELL" != x
238 then :
240239 export CONFIG_SHELL
241240 # We cannot yet assume a decent shell, so we have to provide a
242241 # neutralization value for shells without unset; and this also
254253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255254 # Admittedly, this is quite paranoid, since all the known shells bail
256255 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
258257 exit 255
259258 fi
260259
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
260 if test x$as_have_required = xno
261 then :
262 printf "%s\n" "$0: This script requires a shell more modern than all"
263 printf "%s\n" "$0: the shells that I found on your system."
264 if test ${ZSH_VERSION+y} ; then
265 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
267267 else
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and
268 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
269269 $0: autoconf-archive-maintainers@gnu.org about your system,
270270 $0: including any error possibly output before this
271271 $0: message. Then install a modern shell, or manually run
293293 }
294294 as_unset=as_fn_unset
295295
296
296297 # as_fn_set_status STATUS
297298 # -----------------------
298299 # Set $? to STATUS, without forking.
310311 as_fn_set_status $1
311312 exit $1
312313 } # as_fn_exit
314 # as_fn_nop
315 # ---------
316 # Do nothing but, unlike ":", preserve the value of $?.
317 as_fn_nop ()
318 {
319 return $?
320 }
321 as_nop=as_fn_nop
313322
314323 # as_fn_mkdir_p
315324 # -------------
324333 as_dirs=
325334 while :; do
326335 case $as_dir in #(
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328337 *) as_qdir=$as_dir;;
329338 esac
330339 as_dirs="'$as_qdir' $as_dirs"
333342 X"$as_dir" : 'X\(//\)[^/]' \| \
334343 X"$as_dir" : 'X\(//\)$' \| \
335344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
345 printf "%s\n" X"$as_dir" |
337346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338347 s//\1/
339348 q
372381 # advantage of any shell optimizations that allow amortized linear growth over
373382 # repeated appends, instead of the typical quadratic growth present in naive
374383 # implementations.
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
385 then :
376386 eval 'as_fn_append ()
377387 {
378388 eval $1+=\$2
379389 }'
380 else
390 else $as_nop
381391 as_fn_append ()
382392 {
383393 eval $1=\$$1\$2
389399 # Perform arithmetic evaluation on the ARGs, and store the result in the
390400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391401 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
403 then :
393404 eval 'as_fn_arith ()
394405 {
395406 as_val=$(( $* ))
396407 }'
397 else
408 else $as_nop
398409 as_fn_arith ()
399410 {
400411 as_val=`expr "$@" || test $? -eq 1`
401412 }
402413 fi # as_fn_arith
403414
415 # as_fn_nop
416 # ---------
417 # Do nothing but, unlike ":", preserve the value of $?.
418 as_fn_nop ()
419 {
420 return $?
421 }
422 as_nop=as_fn_nop
404423
405424 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406425 # ----------------------------------------
412431 as_status=$1; test $as_status -eq 0 && as_status=1
413432 if test "$4"; then
414433 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
416435 fi
417 $as_echo "$as_me: error: $2" >&2
436 printf "%s\n" "$as_me: error: $2" >&2
418437 as_fn_exit $as_status
419438 } # as_fn_error
420439
441460 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442461 X"$0" : 'X\(//\)$' \| \
443462 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
444 $as_echo X/"$0" |
463 printf "%s\n" X/"$0" |
445464 sed '/^.*\/\([^/][^/]*\)\/*$/{
446465 s//\1/
447466 q
485504 s/-\n.*//
486505 ' >$as_me.lineno &&
487506 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
507 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
489508
490509 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491510 # already done that, so ensure we don't try to do so again and fall
499518 exit
500519 }
501520
521
522 # Determine whether it's possible to make 'echo' print without a newline.
523 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
524 # for compatibility with existing Makefiles.
502525 ECHO_C= ECHO_N= ECHO_T=
503526 case `echo -n x` in #(((((
504527 -n*)
511534 *)
512535 ECHO_N='-n';;
513536 esac
537
538 # For backward compatibility with old third-party macros, we provide
539 # the shell variables $as_echo and $as_echo_n. New code should use
540 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
541 as_echo='printf %s\n'
542 as_echo_n='printf %s'
543
514544
515545 rm -f conf$$ conf$$.exe conf$$.file
516546 if test -d conf$$.dir; then
579609 # Identity of this package.
580610 PACKAGE_NAME='GNU Autoconf Archive'
581611 PACKAGE_TARNAME='autoconf-archive'
582 PACKAGE_VERSION='2019.01.06'
583 PACKAGE_STRING='GNU Autoconf Archive 2019.01.06'
612 PACKAGE_VERSION='2021.02.19'
613 PACKAGE_STRING='GNU Autoconf Archive 2021.02.19'
584614 PACKAGE_BUGREPORT='autoconf-archive-maintainers@gnu.org'
585615 PACKAGE_URL='https://www.gnu.org/software/autoconf-archive/'
586616
636666 docdir
637667 oldincludedir
638668 includedir
669 runstatedir
639670 localstatedir
640671 sharedstatedir
641672 sysconfdir
701732 sysconfdir='${prefix}/etc'
702733 sharedstatedir='${prefix}/com'
703734 localstatedir='${prefix}/var'
735 runstatedir='${localstatedir}/run'
704736 includedir='${prefix}/include'
705737 oldincludedir='/usr/include'
706738 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
730762 *) ac_optarg=yes ;;
731763 esac
732764
733 # Accept the important Cygnus configure options, so we can diagnose typos.
734
735765 case $ac_dashdash$ac_option in
736766 --)
737767 ac_dashdash=yes ;;
772802 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
773803 # Reject names that are not valid shell variable names.
774804 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
775 as_fn_error $? "invalid feature name: $ac_useropt"
805 as_fn_error $? "invalid feature name: \`$ac_useropt'"
776806 ac_useropt_orig=$ac_useropt
777 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
807 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
778808 case $ac_user_opts in
779809 *"
780810 "enable_$ac_useropt"
798828 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
799829 # Reject names that are not valid shell variable names.
800830 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
801 as_fn_error $? "invalid feature name: $ac_useropt"
831 as_fn_error $? "invalid feature name: \`$ac_useropt'"
802832 ac_useropt_orig=$ac_useropt
803 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
833 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
804834 case $ac_user_opts in
805835 *"
806836 "enable_$ac_useropt"
953983 | -silent | --silent | --silen | --sile | --sil)
954984 silent=yes ;;
955985
986 -runstatedir | --runstatedir | --runstatedi | --runstated \
987 | --runstate | --runstat | --runsta | --runst | --runs \
988 | --run | --ru | --r)
989 ac_prev=runstatedir ;;
990 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
991 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
992 | --run=* | --ru=* | --r=*)
993 runstatedir=$ac_optarg ;;
994
956995 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
957996 ac_prev=sbindir ;;
958997 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
10021041 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
10031042 # Reject names that are not valid shell variable names.
10041043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005 as_fn_error $? "invalid package name: $ac_useropt"
1044 as_fn_error $? "invalid package name: \`$ac_useropt'"
10061045 ac_useropt_orig=$ac_useropt
1007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
10081047 case $ac_user_opts in
10091048 *"
10101049 "with_$ac_useropt"
10181057 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
10191058 # Reject names that are not valid shell variable names.
10201059 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021 as_fn_error $? "invalid package name: $ac_useropt"
1060 as_fn_error $? "invalid package name: \`$ac_useropt'"
10221061 ac_useropt_orig=$ac_useropt
1023 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
10241063 case $ac_user_opts in
10251064 *"
10261065 "with_$ac_useropt"
10641103
10651104 *)
10661105 # FIXME: should be removed in autoconf 3.0.
1067 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1106 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
10681107 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1069 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1108 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
10701109 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
10711110 ;;
10721111
10821121 case $enable_option_checking in
10831122 no) ;;
10841123 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1085 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1124 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
10861125 esac
10871126 fi
10881127
10901129 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
10911130 datadir sysconfdir sharedstatedir localstatedir includedir \
10921131 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1093 libdir localedir mandir
1132 libdir localedir mandir runstatedir
10941133 do
10951134 eval ac_val=\$$ac_var
10961135 # Remove trailing slashes.
11461185 X"$as_myself" : 'X\(//\)[^/]' \| \
11471186 X"$as_myself" : 'X\(//\)$' \| \
11481187 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1149 $as_echo X"$as_myself" |
1188 printf "%s\n" X"$as_myself" |
11501189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11511190 s//\1/
11521191 q
12031242 # Omit some internal or obsolete options to make the list less imposing.
12041243 # This message is too long to be a string in the A/UX 3.1 sh.
12051244 cat <<_ACEOF
1206 \`configure' configures GNU Autoconf Archive 2019.01.06 to adapt to many kinds of systems.
1245 \`configure' configures GNU Autoconf Archive 2021.02.19 to adapt to many kinds of systems.
12071246
12081247 Usage: $0 [OPTION]... [VAR=VALUE]...
12091248
12431282 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
12441283 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
12451284 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1285 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
12461286 --libdir=DIR object code libraries [EPREFIX/lib]
12471287 --includedir=DIR C header files [PREFIX/include]
12481288 --oldincludedir=DIR C header files for non-gcc [/usr/include]
12701310
12711311 if test -n "$ac_init_help"; then
12721312 case $ac_init_help in
1273 short | recursive ) echo "Configuration of GNU Autoconf Archive 2019.01.06:";;
1313 short | recursive ) echo "Configuration of GNU Autoconf Archive 2021.02.19:";;
12741314 esac
12751315 cat <<\_ACEOF
12761316
12831323
12841324 Report bugs to <autoconf-archive-maintainers@gnu.org>.
12851325 GNU Autoconf Archive home page: <https://www.gnu.org/software/autoconf-archive/>.
1286 General help using GNU software: <http://www.gnu.org/gethelp/>.
1326 General help using GNU software: <https://www.gnu.org/gethelp/>.
12871327 _ACEOF
12881328 ac_status=$?
12891329 fi
12991339 case "$ac_dir" in
13001340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13011341 *)
1302 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1342 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
13031343 # A ".." for each directory in $ac_dir_suffix.
1304 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1344 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13051345 case $ac_top_builddir_sub in
13061346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13071347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13291369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13301370
13311371 cd "$ac_dir" || { ac_status=$?; continue; }
1332 # Check for guested configure.
1372 # Check for configure.gnu first; this name is used for a wrapper for
1373 # Metaconfig's "Configure" on case-insensitive file systems.
13331374 if test -f "$ac_srcdir/configure.gnu"; then
13341375 echo &&
13351376 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
13371378 echo &&
13381379 $SHELL "$ac_srcdir/configure" --help=recursive
13391380 else
1340 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1381 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
13411382 fi || ac_status=$?
13421383 cd "$ac_pwd" || { ac_status=$?; break; }
13431384 done
13461387 test -n "$ac_init_help" && exit $ac_status
13471388 if $ac_init_version; then
13481389 cat <<\_ACEOF
1349 GNU Autoconf Archive configure 2019.01.06
1350 generated by GNU Autoconf 2.69
1351
1352 Copyright (C) 2012 Free Software Foundation, Inc.
1390 GNU Autoconf Archive configure 2021.02.19
1391 generated by GNU Autoconf 2.70
1392
1393 Copyright (C) 2020 Free Software Foundation, Inc.
13531394 This configure script is free software; the Free Software Foundation
13541395 gives unlimited permission to copy, distribute and modify it.
13551396 _ACEOF
13591400 ## ------------------------ ##
13601401 ## Autoconf initialization. ##
13611402 ## ------------------------ ##
1403 ac_configure_args_raw=
1404 for ac_arg
1405 do
1406 case $ac_arg in
1407 *\'*)
1408 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1409 esac
1410 as_fn_append ac_configure_args_raw " '$ac_arg'"
1411 done
1412
1413 case $ac_configure_args_raw in
1414 *$as_nl*)
1415 ac_safe_unquote= ;;
1416 *)
1417 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1418 ac_unsafe_a="$ac_unsafe_z#~"
1419 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1420 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1421 esac
1422
13621423 cat >config.log <<_ACEOF
13631424 This file contains any messages produced by compilers while
13641425 running configure, to aid debugging if configure makes a mistake.
13651426
1366 It was created by GNU Autoconf Archive $as_me 2019.01.06, which was
1367 generated by GNU Autoconf 2.69. Invocation command line was
1368
1369 $ $0 $@
1427 It was created by GNU Autoconf Archive $as_me 2021.02.19, which was
1428 generated by GNU Autoconf 2.70. Invocation command line was
1429
1430 $ $0$ac_configure_args_raw
13701431
13711432 _ACEOF
13721433 exec 5>>config.log
13991460 for as_dir in $PATH
14001461 do
14011462 IFS=$as_save_IFS
1402 test -z "$as_dir" && as_dir=.
1403 $as_echo "PATH: $as_dir"
1463 case $as_dir in #(((
1464 '') as_dir=./ ;;
1465 */) ;;
1466 *) as_dir=$as_dir/ ;;
1467 esac
1468 printf "%s\n" "PATH: $as_dir"
14041469 done
14051470 IFS=$as_save_IFS
14061471
14351500 | -silent | --silent | --silen | --sile | --sil)
14361501 continue ;;
14371502 *\'*)
1438 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
14391504 esac
14401505 case $ac_pass in
14411506 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
14701535 # WARNING: Use '\'' to represent an apostrophe within the trap.
14711536 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
14721537 trap 'exit_status=$?
1538 # Sanitize IFS.
1539 IFS=" "" $as_nl"
14731540 # Save into config.log some information that might help in debugging.
14741541 {
14751542 echo
14761543
1477 $as_echo "## ---------------- ##
1544 printf "%s\n" "## ---------------- ##
14781545 ## Cache variables. ##
14791546 ## ---------------- ##"
14801547 echo
14851552 case $ac_val in #(
14861553 *${as_nl}*)
14871554 case $ac_var in #(
1488 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1489 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1555 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1556 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14901557 esac
14911558 case $ac_var in #(
14921559 _ | IFS | as_nl) ;; #(
15101577 )
15111578 echo
15121579
1513 $as_echo "## ----------------- ##
1580 printf "%s\n" "## ----------------- ##
15141581 ## Output variables. ##
15151582 ## ----------------- ##"
15161583 echo
15181585 do
15191586 eval ac_val=\$$ac_var
15201587 case $ac_val in
1521 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1588 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15221589 esac
1523 $as_echo "$ac_var='\''$ac_val'\''"
1590 printf "%s\n" "$ac_var='\''$ac_val'\''"
15241591 done | sort
15251592 echo
15261593
15271594 if test -n "$ac_subst_files"; then
1528 $as_echo "## ------------------- ##
1595 printf "%s\n" "## ------------------- ##
15291596 ## File substitutions. ##
15301597 ## ------------------- ##"
15311598 echo
15331600 do
15341601 eval ac_val=\$$ac_var
15351602 case $ac_val in
1536 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1603 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
15371604 esac
1538 $as_echo "$ac_var='\''$ac_val'\''"
1605 printf "%s\n" "$ac_var='\''$ac_val'\''"
15391606 done | sort
15401607 echo
15411608 fi
15421609
15431610 if test -s confdefs.h; then
1544 $as_echo "## ----------- ##
1611 printf "%s\n" "## ----------- ##
15451612 ## confdefs.h. ##
15461613 ## ----------- ##"
15471614 echo
15491616 echo
15501617 fi
15511618 test "$ac_signal" != 0 &&
1552 $as_echo "$as_me: caught signal $ac_signal"
1553 $as_echo "$as_me: exit $exit_status"
1619 printf "%s\n" "$as_me: caught signal $ac_signal"
1620 printf "%s\n" "$as_me: exit $exit_status"
15541621 } >&5
15551622 rm -f core *.core core.conftest.* &&
15561623 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
15641631 # confdefs.h avoids OS command line length limits that DEFS can exceed.
15651632 rm -f -r conftest* confdefs.h
15661633
1567 $as_echo "/* confdefs.h */" > confdefs.h
1634 printf "%s\n" "/* confdefs.h */" > confdefs.h
15681635
15691636 # Predefined preprocessor variables.
15701637
1571 cat >>confdefs.h <<_ACEOF
1572 #define PACKAGE_NAME "$PACKAGE_NAME"
1573 _ACEOF
1574
1575 cat >>confdefs.h <<_ACEOF
1576 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1577 _ACEOF
1578
1579 cat >>confdefs.h <<_ACEOF
1580 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1581 _ACEOF
1582
1583 cat >>confdefs.h <<_ACEOF
1584 #define PACKAGE_STRING "$PACKAGE_STRING"
1585 _ACEOF
1586
1587 cat >>confdefs.h <<_ACEOF
1588 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1589 _ACEOF
1590
1591 cat >>confdefs.h <<_ACEOF
1592 #define PACKAGE_URL "$PACKAGE_URL"
1593 _ACEOF
1638 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1639
1640 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1641
1642 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1643
1644 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1645
1646 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1647
1648 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
15941649
15951650
15961651 # Let the site file select an alternate cache file if it wants to.
15971652 # Prefer an explicitly selected file to automatically selected ones.
1598 ac_site_file1=NONE
1599 ac_site_file2=NONE
16001653 if test -n "$CONFIG_SITE"; then
1601 # We do not want a PATH search for config.site.
1602 case $CONFIG_SITE in #((
1603 -*) ac_site_file1=./$CONFIG_SITE;;
1604 */*) ac_site_file1=$CONFIG_SITE;;
1605 *) ac_site_file1=./$CONFIG_SITE;;
1606 esac
1654 ac_site_files="$CONFIG_SITE"
16071655 elif test "x$prefix" != xNONE; then
1608 ac_site_file1=$prefix/share/config.site
1609 ac_site_file2=$prefix/etc/config.site
1656 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
16101657 else
1611 ac_site_file1=$ac_default_prefix/share/config.site
1612 ac_site_file2=$ac_default_prefix/etc/config.site
1613 fi
1614 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1658 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1659 fi
1660
1661 for ac_site_file in $ac_site_files
16151662 do
1616 test "x$ac_site_file" = xNONE && continue
1617 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1619 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1663 case $ac_site_file in #(
1664 */*) :
1665 ;; #(
1666 *) :
1667 ac_site_file=./$ac_site_file ;;
1668 esac
1669 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1671 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
16201672 sed 's/^/| /' "$ac_site_file" >&5
16211673 . "$ac_site_file" \
1622 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1674 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1675 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
16241676 as_fn_error $? "failed to load site script $ac_site_file
16251677 See \`config.log' for more details" "$LINENO" 5; }
16261678 fi
16301682 # Some versions of bash will fail to source /dev/null (special files
16311683 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
16321684 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1634 $as_echo "$as_me: loading cache $cache_file" >&6;}
1685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1686 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
16351687 case $cache_file in
16361688 [\\/]* | ?:[\\/]* ) . "$cache_file";;
16371689 *) . "./$cache_file";;
16381690 esac
16391691 fi
16401692 else
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1642 $as_echo "$as_me: creating cache $cache_file" >&6;}
1693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1694 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
16431695 >$cache_file
1696 fi
1697
1698
1699 # Auxiliary files required by this configure script.
1700 ac_aux_files="missing install-sh"
1701
1702 # Locations in which to look for auxiliary files.
1703 ac_aux_dir_candidates="${srcdir}/build-aux"
1704
1705 # Search for a directory containing all of the required auxiliary files,
1706 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
1707 # If we don't find one directory that contains all the files we need,
1708 # we report the set of missing files from the *first* directory in
1709 # $ac_aux_dir_candidates and give up.
1710 ac_missing_aux_files=""
1711 ac_first_candidate=:
1712 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
1713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 as_found=false
1715 for as_dir in $ac_aux_dir_candidates
1716 do
1717 IFS=$as_save_IFS
1718 case $as_dir in #(((
1719 '') as_dir=./ ;;
1720 */) ;;
1721 *) as_dir=$as_dir/ ;;
1722 esac
1723 as_found=:
1724
1725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
1726 ac_aux_dir_found=yes
1727 ac_install_sh=
1728 for ac_aux in $ac_aux_files
1729 do
1730 # As a special case, if "install-sh" is required, that requirement
1731 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
1732 # and $ac_install_sh is set appropriately for whichever one is found.
1733 if test x"$ac_aux" = x"install-sh"
1734 then
1735 if test -f "${as_dir}install-sh"; then
1736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
1737 ac_install_sh="${as_dir}install-sh -c"
1738 elif test -f "${as_dir}install.sh"; then
1739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
1740 ac_install_sh="${as_dir}install.sh -c"
1741 elif test -f "${as_dir}shtool"; then
1742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
1743 ac_install_sh="${as_dir}shtool install -c"
1744 else
1745 ac_aux_dir_found=no
1746 if $ac_first_candidate; then
1747 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
1748 else
1749 break
1750 fi
1751 fi
1752 else
1753 if test -f "${as_dir}${ac_aux}"; then
1754 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
1755 else
1756 ac_aux_dir_found=no
1757 if $ac_first_candidate; then
1758 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
1759 else
1760 break
1761 fi
1762 fi
1763 fi
1764 done
1765 if test "$ac_aux_dir_found" = yes; then
1766 ac_aux_dir="$as_dir"
1767 break
1768 fi
1769 ac_first_candidate=false
1770
1771 as_found=false
1772 done
1773 IFS=$as_save_IFS
1774 if $as_found
1775 then :
1776
1777 else $as_nop
1778 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
1779 fi
1780
1781
1782 # These three variables are undocumented and unsupported,
1783 # and are intended to be withdrawn in a future Autoconf release.
1784 # They can cause serious problems if a builder's source tree is in a directory
1785 # whose full name contains unusual characters.
1786 if test -f "${ac_aux_dir}config.guess"; then
1787 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
1788 fi
1789 if test -f "${ac_aux_dir}config.sub"; then
1790 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
1791 fi
1792 if test -f "$ac_aux_dir/configure"; then
1793 ac_configure="$SHELL ${ac_aux_dir}configure"
16441794 fi
16451795
16461796 # Check that the precious variables saved in the cache have kept the same
16531803 eval ac_new_val=\$ac_env_${ac_var}_value
16541804 case $ac_old_set,$ac_new_set in
16551805 set,)
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1657 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1807 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
16581808 ac_cache_corrupted=: ;;
16591809 ,set)
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1661 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1811 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
16621812 ac_cache_corrupted=: ;;
16631813 ,);;
16641814 *)
16671817 ac_old_val_w=`echo x $ac_old_val`
16681818 ac_new_val_w=`echo x $ac_new_val`
16691819 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1671 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1820 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1821 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
16721822 ac_cache_corrupted=:
16731823 else
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1675 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1825 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
16761826 eval $ac_var=\$ac_old_val
16771827 fi
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1679 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1681 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1829 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
1830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1831 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
16821832 fi;;
16831833 esac
16841834 # Pass precious variables to config.status.
16851835 if test "$ac_new_set" = set; then
16861836 case $ac_new_val in
1687 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1837 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
16881838 *) ac_arg=$ac_var=$ac_new_val ;;
16891839 esac
16901840 case " $ac_configure_args " in
16941844 fi
16951845 done
16961846 if $ac_cache_corrupted; then
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1700 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1701 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1848 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1850 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1851 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
1852 and start over" "$LINENO" 5
17021853 fi
17031854 ## -------------------- ##
17041855 ## Main body of script. ##
17111862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17121863
17131864
1714 ac_aux_dir=
1715 for ac_dir in build-aux "$srcdir"/build-aux; do
1716 if test -f "$ac_dir/install-sh"; then
1717 ac_aux_dir=$ac_dir
1718 ac_install_sh="$ac_aux_dir/install-sh -c"
1719 break
1720 elif test -f "$ac_dir/install.sh"; then
1721 ac_aux_dir=$ac_dir
1722 ac_install_sh="$ac_aux_dir/install.sh -c"
1723 break
1724 elif test -f "$ac_dir/shtool"; then
1725 ac_aux_dir=$ac_dir
1726 ac_install_sh="$ac_aux_dir/shtool install -c"
1727 break
1728 fi
1729 done
1730 if test -z "$ac_aux_dir"; then
1731 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
1732 fi
1733
1734 # These three variables are undocumented and unsupported,
1735 # and are intended to be withdrawn in a future Autoconf release.
1736 # They can cause serious problems if a builder's source tree is in a directory
1737 # whose full name contains unusual characters.
1738 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1739 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1740 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1741
17421865
17431866 am__api_version='1.16'
17441867
1745 # Find a good install program. We prefer a C program (faster),
1868
1869
1870 # Find a good install program. We prefer a C program (faster),
17461871 # so one script is as good as another. But avoid the broken or
17471872 # incompatible versions:
17481873 # SysV /etc/install, /usr/sbin/install
17561881 # OS/2's system install, which has a completely different semantic
17571882 # ./install, which can be erroneously created by make from ./install.sh.
17581883 # Reject install programs that cannot install multiple files.
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1760 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1885 printf %s "checking for a BSD-compatible install... " >&6; }
17611886 if test -z "$INSTALL"; then
1762 if ${ac_cv_path_install+:} false; then :
1763 $as_echo_n "(cached) " >&6
1764 else
1887 if test ${ac_cv_path_install+y}
1888 then :
1889 printf %s "(cached) " >&6
1890 else $as_nop
17651891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17661892 for as_dir in $PATH
17671893 do
17681894 IFS=$as_save_IFS
1769 test -z "$as_dir" && as_dir=.
1770 # Account for people who put trailing slashes in PATH elements.
1771 case $as_dir/ in #((
1772 ./ | .// | /[cC]/* | \
1895 case $as_dir in #(((
1896 '') as_dir=./ ;;
1897 */) ;;
1898 *) as_dir=$as_dir/ ;;
1899 esac
1900 # Account for fact that we put trailing slashes in our PATH walk.
1901 case $as_dir in #((
1902 ./ | /[cC]/* | \
17731903 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
17741904 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
17751905 /usr/ucb/* ) ;;
17791909 # by default.
17801910 for ac_prog in ginstall scoinst install; do
17811911 for ac_exec_ext in '' $ac_executable_extensions; do
1782 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1912 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
17831913 if test $ac_prog = install &&
1784 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1914 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
17851915 # AIX install. It has an incompatible calling convention.
17861916 :
17871917 elif test $ac_prog = install &&
1788 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1918 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
17891919 # program-specific install script used by HP pwplus--don't use.
17901920 :
17911921 else
17931923 echo one > conftest.one
17941924 echo two > conftest.two
17951925 mkdir conftest.dir
1796 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1926 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
17971927 test -s conftest.one && test -s conftest.two &&
17981928 test -s conftest.dir/conftest.one &&
17991929 test -s conftest.dir/conftest.two
18001930 then
1801 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1931 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
18021932 break 3
18031933 fi
18041934 fi
18141944 rm -rf conftest.one conftest.two conftest.dir
18151945
18161946 fi
1817 if test "${ac_cv_path_install+set}" = set; then
1947 if test ${ac_cv_path_install+y}; then
18181948 INSTALL=$ac_cv_path_install
18191949 else
18201950 # As a last resort, use the slow shell script. Don't cache a
18241954 INSTALL=$ac_install_sh
18251955 fi
18261956 fi
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1828 $as_echo "$INSTALL" >&6; }
1957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1958 printf "%s\n" "$INSTALL" >&6; }
18291959
18301960 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18311961 # It thinks the first close brace ends the variable substitution.
18351965
18361966 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18371967
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1839 $as_echo_n "checking whether build environment is sane... " >&6; }
1968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1969 printf %s "checking whether build environment is sane... " >&6; }
18401970 # Reject unsafe characters in $srcdir or the absolute working directory
18411971 # name. Accept space and tab only in the latter.
18421972 am_lf='
18902020 as_fn_error $? "newly created file is older than distributed files!
18912021 Check your system clock" "$LINENO" 5
18922022 fi
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1894 $as_echo "yes" >&6; }
2023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2024 printf "%s\n" "yes" >&6; }
18952025 # If we didn't sleep, we still need to ensure time stamps of config.status and
18962026 # generated files are strictly newer.
18972027 am_sleep_pid=
19102040 # Double any \ or $.
19112041 # By default was `s,x,x', remove it if useless.
19122042 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1913 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2043 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2044
19142045
19152046 # Expand $ac_aux_dir to an absolute path.
19162047 am_aux_dir=`cd "$ac_aux_dir" && pwd`
19172048
1918 if test x"${MISSING+set}" != xset; then
1919 case $am_aux_dir in
1920 *\ * | *\ *)
1921 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1922 *)
1923 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1924 esac
2049
2050 if test x"${MISSING+set}" != xset; then
2051 MISSING="\${SHELL} '$am_aux_dir/missing'"
19252052 fi
19262053 # Use eval to expand $SHELL
19272054 if eval "$MISSING --is-lightweight"; then
19282055 am_missing_run="$MISSING "
19292056 else
19302057 am_missing_run=
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
1932 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2059 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
19332060 fi
19342061
19352062 if test x"${install_sh+set}" != xset; then
19492076 if test -n "$ac_tool_prefix"; then
19502077 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19512078 set dummy ${ac_tool_prefix}strip; ac_word=$2
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1953 $as_echo_n "checking for $ac_word... " >&6; }
1954 if ${ac_cv_prog_STRIP+:} false; then :
1955 $as_echo_n "(cached) " >&6
1956 else
2079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2080 printf %s "checking for $ac_word... " >&6; }
2081 if test ${ac_cv_prog_STRIP+y}
2082 then :
2083 printf %s "(cached) " >&6
2084 else $as_nop
19572085 if test -n "$STRIP"; then
19582086 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19592087 else
19612089 for as_dir in $PATH
19622090 do
19632091 IFS=$as_save_IFS
1964 test -z "$as_dir" && as_dir=.
2092 case $as_dir in #(((
2093 '') as_dir=./ ;;
2094 */) ;;
2095 *) as_dir=$as_dir/ ;;
2096 esac
19652097 for ac_exec_ext in '' $ac_executable_extensions; do
1966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2098 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
19672099 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
19692101 break 2
19702102 fi
19712103 done
19762108 fi
19772109 STRIP=$ac_cv_prog_STRIP
19782110 if test -n "$STRIP"; then
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1980 $as_echo "$STRIP" >&6; }
2111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2112 printf "%s\n" "$STRIP" >&6; }
19812113 else
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1983 $as_echo "no" >&6; }
2114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2115 printf "%s\n" "no" >&6; }
19842116 fi
19852117
19862118
19892121 ac_ct_STRIP=$STRIP
19902122 # Extract the first word of "strip", so it can be a program name with args.
19912123 set dummy strip; ac_word=$2
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1993 $as_echo_n "checking for $ac_word... " >&6; }
1994 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1995 $as_echo_n "(cached) " >&6
1996 else
2124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2125 printf %s "checking for $ac_word... " >&6; }
2126 if test ${ac_cv_prog_ac_ct_STRIP+y}
2127 then :
2128 printf %s "(cached) " >&6
2129 else $as_nop
19972130 if test -n "$ac_ct_STRIP"; then
19982131 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19992132 else
20012134 for as_dir in $PATH
20022135 do
20032136 IFS=$as_save_IFS
2004 test -z "$as_dir" && as_dir=.
2137 case $as_dir in #(((
2138 '') as_dir=./ ;;
2139 */) ;;
2140 *) as_dir=$as_dir/ ;;
2141 esac
20052142 for ac_exec_ext in '' $ac_executable_extensions; do
2006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2143 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
20072144 ac_cv_prog_ac_ct_STRIP="strip"
2008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
20092146 break 2
20102147 fi
20112148 done
20162153 fi
20172154 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
20182155 if test -n "$ac_ct_STRIP"; then
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2020 $as_echo "$ac_ct_STRIP" >&6; }
2156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2157 printf "%s\n" "$ac_ct_STRIP" >&6; }
20212158 else
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2023 $as_echo "no" >&6; }
2159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2160 printf "%s\n" "no" >&6; }
20242161 fi
20252162
20262163 if test "x$ac_ct_STRIP" = x; then
20282165 else
20292166 case $cross_compiling:$ac_tool_warned in
20302167 yes:)
2031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2169 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20332170 ac_tool_warned=yes ;;
20342171 esac
20352172 STRIP=$ac_ct_STRIP
20412178 fi
20422179 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
20432180
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2045 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2181
2182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2183 printf %s "checking for a race-free mkdir -p... " >&6; }
20462184 if test -z "$MKDIR_P"; then
2047 if ${ac_cv_path_mkdir+:} false; then :
2048 $as_echo_n "(cached) " >&6
2049 else
2185 if test ${ac_cv_path_mkdir+y}
2186 then :
2187 printf %s "(cached) " >&6
2188 else $as_nop
20502189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20512190 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
20522191 do
20532192 IFS=$as_save_IFS
2054 test -z "$as_dir" && as_dir=.
2193 case $as_dir in #(((
2194 '') as_dir=./ ;;
2195 */) ;;
2196 *) as_dir=$as_dir/ ;;
2197 esac
20552198 for ac_prog in mkdir gmkdir; do
20562199 for ac_exec_ext in '' $ac_executable_extensions; do
2057 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2058 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2059 'mkdir (GNU coreutils) '* | \
2060 'mkdir (coreutils) '* | \
2200 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2201 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2202 'mkdir ('*'coreutils) '* | \
2203 'BusyBox '* | \
20612204 'mkdir (fileutils) '4.1*)
2062 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2205 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
20632206 break 3;;
20642207 esac
20652208 done
20702213 fi
20712214
20722215 test -d ./--version && rmdir ./--version
2073 if test "${ac_cv_path_mkdir+set}" = set; then
2216 if test ${ac_cv_path_mkdir+y}; then
20742217 MKDIR_P="$ac_cv_path_mkdir -p"
20752218 else
20762219 # As a last resort, use the slow shell script. Don't cache a
20802223 MKDIR_P="$ac_install_sh -d"
20812224 fi
20822225 fi
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2084 $as_echo "$MKDIR_P" >&6; }
2226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2227 printf "%s\n" "$MKDIR_P" >&6; }
20852228
20862229 for ac_prog in gawk mawk nawk awk
20872230 do
20882231 # Extract the first word of "$ac_prog", so it can be a program name with args.
20892232 set dummy $ac_prog; ac_word=$2
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2091 $as_echo_n "checking for $ac_word... " >&6; }
2092 if ${ac_cv_prog_AWK+:} false; then :
2093 $as_echo_n "(cached) " >&6
2094 else
2233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2234 printf %s "checking for $ac_word... " >&6; }
2235 if test ${ac_cv_prog_AWK+y}
2236 then :
2237 printf %s "(cached) " >&6
2238 else $as_nop
20952239 if test -n "$AWK"; then
20962240 ac_cv_prog_AWK="$AWK" # Let the user override the test.
20972241 else
20992243 for as_dir in $PATH
21002244 do
21012245 IFS=$as_save_IFS
2102 test -z "$as_dir" && as_dir=.
2246 case $as_dir in #(((
2247 '') as_dir=./ ;;
2248 */) ;;
2249 *) as_dir=$as_dir/ ;;
2250 esac
21032251 for ac_exec_ext in '' $ac_executable_extensions; do
2104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2252 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
21052253 ac_cv_prog_AWK="$ac_prog"
2106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
21072255 break 2
21082256 fi
21092257 done
21142262 fi
21152263 AWK=$ac_cv_prog_AWK
21162264 if test -n "$AWK"; then
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2118 $as_echo "$AWK" >&6; }
2265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2266 printf "%s\n" "$AWK" >&6; }
21192267 else
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2121 $as_echo "no" >&6; }
2268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2269 printf "%s\n" "no" >&6; }
21222270 fi
21232271
21242272
21252273 test -n "$AWK" && break
21262274 done
21272275
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2129 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2277 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
21302278 set x ${MAKE-make}
2131 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2132 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2133 $as_echo_n "(cached) " >&6
2134 else
2279 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2280 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2281 then :
2282 printf %s "(cached) " >&6
2283 else $as_nop
21352284 cat >conftest.make <<\_ACEOF
21362285 SHELL = /bin/sh
21372286 all:
21472296 rm -f conftest.make
21482297 fi
21492298 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2151 $as_echo "yes" >&6; }
2299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2300 printf "%s\n" "yes" >&6; }
21522301 SET_MAKE=
21532302 else
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2155 $as_echo "no" >&6; }
2303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2304 printf "%s\n" "no" >&6; }
21562305 SET_MAKE="MAKE=${MAKE-make}"
21572306 fi
21582307
21662315 rmdir .tst 2>/dev/null
21672316
21682317 # Check whether --enable-silent-rules was given.
2169 if test "${enable_silent_rules+set}" = set; then :
2318 if test ${enable_silent_rules+y}
2319 then :
21702320 enableval=$enable_silent_rules;
21712321 fi
21722322
21762326 *) AM_DEFAULT_VERBOSITY=1;;
21772327 esac
21782328 am_make=${MAKE-make}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2180 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2181 if ${am_cv_make_support_nested_variables+:} false; then :
2182 $as_echo_n "(cached) " >&6
2183 else
2184 if $as_echo 'TRUE=$(BAR$(V))
2329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2330 printf %s "checking whether $am_make supports nested variables... " >&6; }
2331 if test ${am_cv_make_support_nested_variables+y}
2332 then :
2333 printf %s "(cached) " >&6
2334 else $as_nop
2335 if printf "%s\n" 'TRUE=$(BAR$(V))
21852336 BAR0=false
21862337 BAR1=true
21872338 V=1
21932344 am_cv_make_support_nested_variables=no
21942345 fi
21952346 fi
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2197 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2348 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
21982349 if test $am_cv_make_support_nested_variables = yes; then
21992350 AM_V='$(V)'
22002351 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
22262377
22272378 # Define the identity of the package.
22282379 PACKAGE='autoconf-archive'
2229 VERSION='2019.01.06'
2230
2231
2232 cat >>confdefs.h <<_ACEOF
2233 #define PACKAGE "$PACKAGE"
2234 _ACEOF
2235
2236
2237 cat >>confdefs.h <<_ACEOF
2238 #define VERSION "$VERSION"
2239 _ACEOF
2380 VERSION='2021.02.19'
2381
2382
2383 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2384
2385
2386 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
22402387
22412388 # Some tools Automake needs.
22422389
23212468
23222469
23232470
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: $PACKAGE_STRING" >&5
2325 $as_echo "$as_me: $PACKAGE_STRING" >&6;}
2326
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2328 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2329 if ${ac_cv_path_SED+:} false; then :
2330 $as_echo_n "(cached) " >&6
2331 else
2471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $PACKAGE_STRING" >&5
2472 printf "%s\n" "$as_me: $PACKAGE_STRING" >&6;}
2473
2474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2475 printf %s "checking for a sed that does not truncate output... " >&6; }
2476 if test ${ac_cv_path_SED+y}
2477 then :
2478 printf %s "(cached) " >&6
2479 else $as_nop
23322480 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
23332481 for ac_i in 1 2 3 4 5 6 7; do
23342482 ac_script="$ac_script$as_nl$ac_script"
23422490 for as_dir in $PATH
23432491 do
23442492 IFS=$as_save_IFS
2345 test -z "$as_dir" && as_dir=.
2346 for ac_prog in sed gsed; do
2493 case $as_dir in #(((
2494 '') as_dir=./ ;;
2495 */) ;;
2496 *) as_dir=$as_dir/ ;;
2497 esac
2498 for ac_prog in sed gsed
2499 do
23472500 for ac_exec_ext in '' $ac_executable_extensions; do
2348 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2501 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
23492502 as_fn_executable_p "$ac_path_SED" || continue
23502503 # Check for GNU ac_path_SED and select it if it is found.
23512504 # Check for GNU $ac_path_SED
23542507 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
23552508 *)
23562509 ac_count=0
2357 $as_echo_n 0123456789 >"conftest.in"
2510 printf %s 0123456789 >"conftest.in"
23582511 while :
23592512 do
23602513 cat "conftest.in" "conftest.in" >"conftest.tmp"
23612514 mv "conftest.tmp" "conftest.in"
23622515 cp "conftest.in" "conftest.nl"
2363 $as_echo '' >> "conftest.nl"
2516 printf "%s\n" '' >> "conftest.nl"
23642517 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
23652518 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
23662519 as_fn_arith $ac_count + 1 && ac_count=$as_val
23882541 fi
23892542
23902543 fi
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2392 $as_echo "$ac_cv_path_SED" >&6; }
2544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2545 printf "%s\n" "$ac_cv_path_SED" >&6; }
23932546 SED="$ac_cv_path_SED"
23942547 rm -f conftest.sed
23952548
23962549
2397 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_date.m4 m4/ax_prog_dotnetcore_version.m4 m4/ax_prog_doxygen.m4 m4/ax_prog_emacs.m4 m4/ax_prog_f77_mpi.m4 m4/ax_prog_fasm.m4 m4/ax_prog_fasm_opt.m4 m4/ax_prog_fc_mpi.m4 m4/ax_prog_fig2dev.m4 m4/ax_prog_flex.m4 m4/ax_prog_flex_version.m4 m4/ax_prog_gjs.m4 m4/ax_prog_guile_version.m4 m4/ax_prog_haxe_version.m4 m4/ax_prog_help2man.m4 m4/ax_prog_hla.m4 m4/ax_prog_hla_opt.m4 m4/ax_prog_httpd.m4 m4/ax_prog_jar.m4 m4/ax_prog_java.m4 m4/ax_prog_java_cc.m4 m4/ax_prog_java_works.m4 m4/ax_prog_javac.m4 m4/ax_prog_javac_works.m4 m4/ax_prog_javadoc.m4 m4/ax_prog_javah.m4 m4/ax_prog_masm.m4 m4/ax_prog_masm_opt.m4 m4/ax_prog_md5sum.m4 m4/ax_prog_modprobe.m4 m4/ax_prog_mysql.m4 m4/ax_prog_mysqladmin.m4 m4/ax_prog_mysqld.m4 m4/ax_prog_mysqlimport.m4 m4/ax_prog_mysqlshow.m4 m4/ax_prog_nasm.m4 m4/ax_prog_nasm_opt.m4 m4/ax_prog_perl_modules.m4 m4/ax_prog_perl_version.m4 m4/ax_prog_pgclient.m4 m4/ax_prog_python_version.m4 m4/ax_prog_ruby_version.m4 m4/ax_prog_scala.m4 m4/ax_prog_scalac.m4 m4/ax_prog_scp.m4 m4/ax_prog_splint.m4 m4/ax_prog_ssh.m4 m4/ax_prog_tasm.m4 m4/ax_prog_tasm_opt.m4 m4/ax_prog_tcl.m4 m4/ax_prog_xsltproc.m4 m4/ax_prog_yasm.m4 m4/ax_prog_yasm_opt.m4 m4/ax_prototype.m4 m4/ax_prototype_accept.m4 m4/ax_prototype_getsockname.m4 m4/ax_prototype_setsockopt.m4 m4/ax_pthread.m4 m4/ax_python.m4 m4/ax_python_config_var.m4 m4/ax_python_devel.m4 m4/ax_python_embed.m4 m4/ax_python_module.m4 m4/ax_python_module_version.m4 m4/ax_r_package.m4 m4/ax_recursive_eval.m4 m4/ax_require_defined.m4 m4/ax_require_one_func.m4 m4/ax_restore_flags.m4 m4/ax_restore_flags_with_prefix.m4 m4/ax_rpm_init.m4 m4/ax_ruby_devel.m4 m4/ax_ruby_ext.m4 m4/ax_save_flags.m4 m4/ax_save_flags_with_prefix.m4 m4/ax_set_default_paths_system.m4 m4/ax_short_sleep.m4 m4/ax_silent_mode.m4 m4/ax_sip_devel.m4 m4/ax_spec_file.m4 m4/ax_spec_package_version.m4 m4/ax_split_version.m4 m4/ax_string_strcasecmp.m4 m4/ax_strings_strcasecmp.m4 m4/ax_struct_semun.m4 m4/ax_subdir_files.m4 m4/ax_subdirs_configure.m4 m4/ax_subst_with.m4 m4/ax_swig_enable_cxx.m4 m4/ax_swig_multi_module_support.m4 m4/ax_swig_python.m4 m4/ax_switch_flags.m4 m4/ax_sys_dev_poll.m4 m4/ax_sys_largefile_sensitive.m4 m4/ax_sys_perlsharpbang.m4 m4/ax_sys_weak_alias.m4 m4/ax_sysv_ipc.m4 m4/ax_tls.m4 m4/ax_trilinos_amesos.m4 m4/ax_trilinos_base.m4 m4/ax_trilinos_epetra.m4 m4/ax_trilinos_epetraext.m4 m4/ax_trilinos_epetraext_hdf5.m4 m4/ax_trilinos_rtop.m4 m4/ax_trilinos_rythmos.m4 m4/ax_trilinos_teuchos.m4 m4/ax_trilinos_thyra.m4 m4/ax_trilinos_thyra_epetra.m4 m4/ax_trilinos_thyra_epetraext.m4 m4/ax_try_awk_anyout.m4 m4/ax_try_awk_expout.m4 m4/ax_try_compile_java.m4 m4/ax_try_run_java.m4 m4/ax_type_socklen_t.m4 m4/ax_upload.m4 m4/ax_valgrind_check.m4 m4/ax_var_pop.m4 m4/ax_var_push.m4 m4/ax_var_timezone_externals.m4 m4/ax_very_nice.m4 m4/ax_warning_default_aclocaldir.m4 m4/ax_warning_default_pkgconfig.m4 m4/ax_wint_t.m4 m4/ax_with_apxs.m4 m4/ax_with_build_path.m4 m4/ax_with_curses.m4 m4/ax_with_curses_extra.m4 m4/ax_with_dmalloc.m4 m4/ax_with_mpatrol.m4 m4/ax_with_prog.m4 m4/ax_xercesc.m4 m4/ax_xsdcxx.m4 m4/ax_xtra_classpath.m4 m4/ax_zmq.m4 m4/ax_zoneinfo.m4"
2398
2399
2400 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_date.texi ax_prog_dotnetcore_version.texi ax_prog_doxygen.texi ax_prog_emacs.texi ax_prog_f77_mpi.texi ax_prog_fasm.texi ax_prog_fasm_opt.texi ax_prog_fc_mpi.texi ax_prog_fig2dev.texi ax_prog_flex.texi ax_prog_flex_version.texi ax_prog_gjs.texi ax_prog_guile_version.texi ax_prog_haxe_version.texi ax_prog_help2man.texi ax_prog_hla.texi ax_prog_hla_opt.texi ax_prog_httpd.texi ax_prog_jar.texi ax_prog_java.texi ax_prog_java_cc.texi ax_prog_java_works.texi ax_prog_javac.texi ax_prog_javac_works.texi ax_prog_javadoc.texi ax_prog_javah.texi ax_prog_masm.texi ax_prog_masm_opt.texi ax_prog_md5sum.texi ax_prog_modprobe.texi ax_prog_mysql.texi ax_prog_mysqladmin.texi ax_prog_mysqld.texi ax_prog_mysqlimport.texi ax_prog_mysqlshow.texi ax_prog_nasm.texi ax_prog_nasm_opt.texi ax_prog_perl_modules.texi ax_prog_perl_version.texi ax_prog_pgclient.texi ax_prog_python_version.texi ax_prog_ruby_version.texi ax_prog_scala.texi ax_prog_scalac.texi ax_prog_scp.texi ax_prog_splint.texi ax_prog_ssh.texi ax_prog_tasm.texi ax_prog_tasm_opt.texi ax_prog_tcl.texi ax_prog_xsltproc.texi ax_prog_yasm.texi ax_prog_yasm_opt.texi ax_prototype.texi ax_prototype_accept.texi ax_prototype_getsockname.texi ax_prototype_setsockopt.texi ax_pthread.texi ax_python.texi ax_python_config_var.texi ax_python_devel.texi ax_python_embed.texi ax_python_module.texi ax_python_module_version.texi ax_r_package.texi ax_recursive_eval.texi ax_require_defined.texi ax_require_one_func.texi ax_restore_flags.texi ax_restore_flags_with_prefix.texi ax_rpm_init.texi ax_ruby_devel.texi ax_ruby_ext.texi ax_save_flags.texi ax_save_flags_with_prefix.texi ax_set_default_paths_system.texi ax_short_sleep.texi ax_silent_mode.texi ax_sip_devel.texi ax_spec_file.texi ax_spec_package_version.texi ax_split_version.texi ax_string_strcasecmp.texi ax_strings_strcasecmp.texi ax_struct_semun.texi ax_subdir_files.texi ax_subdirs_configure.texi ax_subst_with.texi ax_swig_enable_cxx.texi ax_swig_multi_module_support.texi ax_swig_python.texi ax_switch_flags.texi ax_sys_dev_poll.texi ax_sys_largefile_sensitive.texi ax_sys_perlsharpbang.texi ax_sys_weak_alias.texi ax_sysv_ipc.texi ax_tls.texi ax_trilinos_amesos.texi ax_trilinos_base.texi ax_trilinos_epetra.texi ax_trilinos_epetraext.texi ax_trilinos_epetraext_hdf5.texi ax_trilinos_rtop.texi ax_trilinos_rythmos.texi ax_trilinos_teuchos.texi ax_trilinos_thyra.texi ax_trilinos_thyra_epetra.texi ax_trilinos_thyra_epetraext.texi ax_try_awk_anyout.texi ax_try_awk_expout.texi ax_try_compile_java.texi ax_try_run_java.texi ax_type_socklen_t.texi ax_upload.texi ax_valgrind_check.texi ax_var_pop.texi ax_var_push.texi ax_var_timezone_externals.texi ax_very_nice.texi ax_warning_default_aclocaldir.texi ax_warning_default_pkgconfig.texi ax_wint_t.texi ax_with_apxs.texi ax_with_build_path.texi ax_with_curses.texi ax_with_curses_extra.texi ax_with_dmalloc.texi ax_with_mpatrol.texi ax_with_prog.texi ax_xercesc.texi ax_xsdcxx.texi ax_xtra_classpath.texi ax_zmq.texi ax_zoneinfo.texi"
2550 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_process.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_pcre2.m4 m4/ax_check_pgsql_db.m4 m4/ax_check_posix_regcomp.m4 m4/ax_check_posix_sysinfo.m4 m4/ax_check_postgres_db.m4 m4/ax_check_preproc_flag.m4 m4/ax_check_rqrd_class.m4 m4/ax_check_sign.m4 m4/ax_check_strcspn.m4 m4/ax_check_strftime.m4 m4/ax_check_struct_for.m4 m4/ax_check_symbol.m4 m4/ax_check_sys_siglist.m4 m4/ax_check_typedef.m4 m4/ax_check_uname_syscall.m4 m4/ax_check_user.m4 m4/ax_check_vscript.m4 m4/ax_check_x86_features.m4 m4/ax_check_zlib.m4 m4/ax_code_coverage.m4 m4/ax_compare_version.m4 m4/ax_compile_check_sizeof.m4 m4/ax_compiler_flags.m4 m4/ax_compiler_flags_cflags.m4 m4/ax_compiler_flags_cxxflags.m4 m4/ax_compiler_flags_gir.m4 m4/ax_compiler_flags_ldflags.m4 m4/ax_compiler_vendor.m4 m4/ax_compiler_version.m4 m4/ax_compute_relative_paths.m4 m4/ax_compute_standard_relative_paths.m4 m4/ax_cond_with_level.m4 m4/ax_config_feature.m4 m4/ax_configure_args.m4 m4/ax_count_cpus.m4 m4/ax_cpu_freq.m4 m4/ax_cpu_vendor.m4 m4/ax_create_generic_config.m4 m4/ax_create_pkgconfig_info.m4 m4/ax_create_stdint_h.m4 m4/ax_create_target_h.m4 m4/ax_cvs.m4 m4/ax_cxx_bool.m4 m4/ax_cxx_compile_stdcxx.m4 m4/ax_cxx_compile_stdcxx_0x.m4 m4/ax_cxx_compile_stdcxx_11.m4 m4/ax_cxx_compile_stdcxx_14.m4 m4/ax_cxx_compile_stdcxx_17.m4 m4/ax_cxx_complex_math_in_namespace_std.m4 m4/ax_cxx_const_cast.m4 m4/ax_cxx_cppflags_std_lang.m4 m4/ax_cxx_cxxflags_std_lang.m4 m4/ax_cxx_default_template_parameters.m4 m4/ax_cxx_delete_method.m4 m4/ax_cxx_dtor_after_atexit.m4 m4/ax_cxx_dynamic_cast.m4 m4/ax_cxx_enum_computations.m4 m4/ax_cxx_enum_computations_with_cast.m4 m4/ax_cxx_erase_iterator_type.m4 m4/ax_cxx_exceptions.m4 m4/ax_cxx_explicit.m4 m4/ax_cxx_explicit_instantiations.m4 m4/ax_cxx_explicit_template_function_qualification.m4 m4/ax_cxx_extern_template.m4 m4/ax_cxx_full_specialization_syntax.m4 m4/ax_cxx_function_nontype_parameters.m4 m4/ax_cxx_function_try_blocks.m4 m4/ax_cxx_gcc_abi_demangle.m4 m4/ax_cxx_gnucxx_hashmap.m4 m4/ax_cxx_have_bad_function_call.m4 m4/ax_cxx_have_bind.m4 m4/ax_cxx_have_bit_and.m4 m4/ax_cxx_have_bit_or.m4 m4/ax_cxx_have_bit_xor.m4 m4/ax_cxx_have_complex.m4 m4/ax_cxx_have_complex_math1.m4 m4/ax_cxx_have_complex_math2.m4 m4/ax_cxx_have_cref.m4 m4/ax_cxx_have_empty_iostream.m4 m4/ax_cxx_have_ext_hash_map.m4 m4/ax_cxx_have_ext_hash_set.m4 m4/ax_cxx_have_ext_slist.m4 m4/ax_cxx_have_freeze_sstream.m4 m4/ax_cxx_have_function.m4 m4/ax_cxx_have_hash.m4 m4/ax_cxx_have_ieee_math.m4 m4/ax_cxx_have_is_bind_expression.m4 m4/ax_cxx_have_is_placeholder.m4 m4/ax_cxx_have_koenig_lookup.m4 m4/ax_cxx_have_long_long_for_iostream.m4 m4/ax_cxx_have_mem_fn.m4 m4/ax_cxx_have_numeric_limits.m4 m4/ax_cxx_have_placeholders.m4 m4/ax_cxx_have_ref.m4 m4/ax_cxx_have_reference_wrapper.m4 m4/ax_cxx_have_sstream.m4 m4/ax_cxx_have_std.m4 m4/ax_cxx_have_stl.m4 m4/ax_cxx_have_string_push_back.m4 m4/ax_cxx_have_system_v_math.m4 m4/ax_cxx_have_valarray.m4 m4/ax_cxx_have_vector_at.m4 m4/ax_cxx_header_pre_stdcxx.m4 m4/ax_cxx_header_stdcxx_0x.m4 m4/ax_cxx_header_stdcxx_98.m4 m4/ax_cxx_header_stdcxx_tr1.m4 m4/ax_cxx_header_tr1_unordered_map.m4 m4/ax_cxx_header_tr1_unordered_set.m4 m4/ax_cxx_header_unordered_map.m4 m4/ax_cxx_header_unordered_set.m4 m4/ax_cxx_ldflags_std_lang.m4 m4/ax_cxx_member_constants.m4 m4/ax_cxx_member_templates.m4 m4/ax_cxx_member_templates_outside_class.m4 m4/ax_cxx_mutable.m4 m4/ax_cxx_namespace_std.m4 m4/ax_cxx_namespaces.m4 m4/ax_cxx_new_for_scoping.m4 m4/ax_cxx_old_for_scoping.m4 m4/ax_cxx_partial_ordering.m4 m4/ax_cxx_partial_specialization.m4 m4/ax_cxx_reinterpret_cast.m4 m4/ax_cxx_restrict_this.m4 m4/ax_cxx_rtti.m4 m4/ax_cxx_rvalue_references.m4 m4/ax_cxx_static_cast.m4 m4/ax_cxx_stlport_hashmap.m4 m4/ax_cxx_template_keyword_qualifier.m4 m4/ax_cxx_template_qualified_base_class.m4 m4/ax_cxx_template_qualified_return_type.m4 m4/ax_cxx_template_scoped_argument_matching.m4 m4/ax_cxx_templates.m4 m4/ax_cxx_templates_as_template_arguments.m4 m4/ax_cxx_typename.m4 m4/ax_cxx_use_numtrait.m4 m4/ax_cxx_var_prettyfunc.m4 m4/ax_cxx_verbose_terminate_handler.m4 m4/ax_czmq.m4 m4/ax_decl_wchar_max.m4 m4/ax_define_integer_bits.m4 m4/ax_define_sub_path.m4 m4/ax_dirname.m4 m4/ax_dist_msi.m4 m4/ax_dist_rpm.m4 m4/ax_dll_string.m4 m4/ax_elisp.m4 m4/ax_enable_builddir.m4 m4/ax_execinfo.m4 m4/ax_expand_prefix.m4 m4/ax_ext.m4 m4/ax_ext_check_header.m4 m4/ax_ext_have_lib.m4 m4/ax_extend_srcdir.m4 m4/ax_extra_dist.m4 m4/ax_f77_cmain_fflags.m4 m4/ax_f90_header.m4 m4/ax_f90_internal_headmod.m4 m4/ax_f90_library.m4 m4/ax_f90_library_setup.m4 m4/ax_f90_module.m4 m4/ax_f90_module_extension.m4 m4/ax_f90_module_flag.m4 m4/ax_fc_check_define.m4 m4/ax_file_escapes.m4 m4/ax_find_hamcrest.m4 m4/ax_find_junit.m4 m4/ax_find_scala_stdlib.m4 m4/ax_forceinline.m4 m4/ax_func_accept_argtypes.m4 m4/ax_func_getopt_long.m4 m4/ax_func_memmove.m4 m4/ax_func_mkdir.m4 m4/ax_func_posix_memalign.m4 m4/ax_func_snprintf.m4 m4/ax_func_which_gethostbyname_r.m4 m4/ax_func_which_getservbyname_r.m4 m4/ax_gcc_archflag.m4 m4/ax_gcc_builtin.m4 m4/ax_gcc_const_call.m4 m4/ax_gcc_func_attribute.m4 m4/ax_gcc_lib.m4 m4/ax_gcc_libgcc_eh.m4 m4/ax_gcc_libsupcxx.m4 m4/ax_gcc_malloc_call.m4 m4/ax_gcc_var_attribute.m4 m4/ax_gcc_warn_unused_result.m4 m4/ax_gcc_x86_avx_xgetbv.m4 m4/ax_gcc_x86_cpu_supports.m4 m4/ax_gcc_x86_cpuid.m4 m4/ax_generate_changelog.m4 m4/ax_gnu_autotest.m4 m4/ax_have_adns.m4 m4/ax_have_epoll.m4 m4/ax_have_poll.m4 m4/ax_have_qt.m4 m4/ax_have_select.m4 m4/ax_include_strcasecmp.m4 m4/ax_install_files.m4 m4/ax_int128.m4 m4/ax_is_release.m4 m4/ax_java_check_class.m4 m4/ax_java_options.m4 m4/ax_jni_include_dir.m4 m4/ax_lapack.m4 m4/ax_lib_beecrypt.m4 m4/ax_lib_cgal_core.m4 m4/ax_lib_crypto.m4 m4/ax_lib_curl.m4 m4/ax_lib_ev.m4 m4/ax_lib_expat.m4 m4/ax_lib_firebird.m4 m4/ax_lib_gcrypt.m4 m4/ax_lib_gdal.m4 m4/ax_lib_hdf5.m4 m4/ax_lib_id3.m4 m4/ax_lib_libkml.m4 m4/ax_lib_metis.m4 m4/ax_lib_mysql.m4 m4/ax_lib_mysqlcppconn.m4 m4/ax_lib_netcdf4.m4 m4/ax_lib_nettle.m4 m4/ax_lib_nokalva.m4 m4/ax_lib_oracle_occi.m4 m4/ax_lib_oracle_oci.m4 m4/ax_lib_orbit2.m4 m4/ax_lib_postgresql.m4 m4/ax_lib_readline.m4 m4/ax_lib_samtools.m4 m4/ax_lib_socket_nsl.m4 m4/ax_lib_sqlite3.m4 m4/ax_lib_tabix.m4 m4/ax_lib_taglib.m4 m4/ax_lib_trace.m4 m4/ax_lib_upnp.m4 m4/ax_lib_wad.m4 m4/ax_lib_xalan.m4 m4/ax_lib_xerces.m4 m4/ax_lib_xml_security.m4 m4/ax_libgcj_jar.m4 m4/ax_libtoolize_cflags.m4 m4/ax_llvm.m4 m4/ax_lua.m4 m4/ax_luarocks_rock.m4 m4/ax_maintainer_mode_auto_silent.m4 m4/ax_missing_prog.m4 m4/ax_mpi.m4 m4/ax_mpip.m4 m4/ax_need_awk.m4 m4/ax_normalize_path.m4 m4/ax_not_enable_frame_pointer.m4 m4/ax_numeric_namedlevel.m4 m4/ax_open62541_check_h.m4 m4/ax_open62541_check_lib.m4 m4/ax_open62541_path.m4 m4/ax_openmp.m4 m4/ax_patch_libtool_changing_cmds_ifs.m4 m4/ax_path_bdb.m4 m4/ax_path_generic.m4 m4/ax_path_lib_pcre.m4 m4/ax_path_milter.m4 m4/ax_path_missing.m4 m4/ax_perl_ext.m4 m4/ax_perl_ext_flags.m4 m4/ax_perl_module_version.m4 m4/ax_pgsql_priv_root.m4 m4/ax_pkg_check_modules.m4 m4/ax_pkg_mico.m4 m4/ax_pkg_swig.m4 m4/ax_prefix_config_h.m4 m4/ax_prepend_flag.m4 m4/ax_print_to_file.m4 m4/ax_printf_size_t.m4 m4/ax_prog_apache.m4 m4/ax_prog_bison.m4 m4/ax_prog_bison_version.m4 m4/ax_prog_cc_char_subscripts.m4 m4/ax_prog_cc_for_build.m4 m4/ax_prog_cc_mpi.m4 m4/ax_prog_cp_s.m4 m4/ax_prog_crontab.m4 m4/ax_prog_cxx_for_build.m4 m4/ax_prog_cxx_mpi.m4 m4/ax_prog_date.m4 m4/ax_prog_dotnetcore_version.m4 m4/ax_prog_doxygen.m4 m4/ax_prog_emacs.m4 m4/ax_prog_f77_mpi.m4 m4/ax_prog_fasm.m4 m4/ax_prog_fasm_opt.m4 m4/ax_prog_fc_mpi.m4 m4/ax_prog_fig2dev.m4 m4/ax_prog_flex.m4 m4/ax_prog_flex_version.m4 m4/ax_prog_gjs.m4 m4/ax_prog_guile_version.m4 m4/ax_prog_haxe_version.m4 m4/ax_prog_help2man.m4 m4/ax_prog_hla.m4 m4/ax_prog_hla_opt.m4 m4/ax_prog_httpd.m4 m4/ax_prog_jar.m4 m4/ax_prog_java.m4 m4/ax_prog_java_cc.m4 m4/ax_prog_java_works.m4 m4/ax_prog_javac.m4 m4/ax_prog_javac_works.m4 m4/ax_prog_javadoc.m4 m4/ax_prog_javah.m4 m4/ax_prog_masm.m4 m4/ax_prog_masm_opt.m4 m4/ax_prog_md5sum.m4 m4/ax_prog_modprobe.m4 m4/ax_prog_mysql.m4 m4/ax_prog_mysqladmin.m4 m4/ax_prog_mysqld.m4 m4/ax_prog_mysqlimport.m4 m4/ax_prog_mysqlshow.m4 m4/ax_prog_nasm.m4 m4/ax_prog_nasm_opt.m4 m4/ax_prog_perl_modules.m4 m4/ax_prog_perl_version.m4 m4/ax_prog_pgclient.m4 m4/ax_prog_python_version.m4 m4/ax_prog_robot.m4 m4/ax_prog_ruby_version.m4 m4/ax_prog_scala.m4 m4/ax_prog_scalac.m4 m4/ax_prog_scp.m4 m4/ax_prog_splint.m4 m4/ax_prog_ssh.m4 m4/ax_prog_tasm.m4 m4/ax_prog_tasm_opt.m4 m4/ax_prog_tcl.m4 m4/ax_prog_xsltproc.m4 m4/ax_prog_yasm.m4 m4/ax_prog_yasm_opt.m4 m4/ax_prototype.m4 m4/ax_prototype_accept.m4 m4/ax_prototype_getsockname.m4 m4/ax_prototype_setsockopt.m4 m4/ax_pthread.m4 m4/ax_python.m4 m4/ax_python_config_var.m4 m4/ax_python_devel.m4 m4/ax_python_embed.m4 m4/ax_python_module.m4 m4/ax_python_module_version.m4 m4/ax_r_package.m4 m4/ax_recursive_eval.m4 m4/ax_require_defined.m4 m4/ax_require_one_func.m4 m4/ax_restore_flags.m4 m4/ax_restore_flags_with_prefix.m4 m4/ax_rpm_init.m4 m4/ax_ruby_devel.m4 m4/ax_ruby_ext.m4 m4/ax_save_flags.m4 m4/ax_save_flags_with_prefix.m4 m4/ax_set_default_paths_system.m4 m4/ax_short_sleep.m4 m4/ax_silent_mode.m4 m4/ax_sip_devel.m4 m4/ax_spec_file.m4 m4/ax_spec_package_version.m4 m4/ax_split_version.m4 m4/ax_string_strcasecmp.m4 m4/ax_strings_strcasecmp.m4 m4/ax_struct_semun.m4 m4/ax_subdir_files.m4 m4/ax_subdirs_configure.m4 m4/ax_subst_with.m4 m4/ax_swig_enable_cxx.m4 m4/ax_swig_multi_module_support.m4 m4/ax_swig_python.m4 m4/ax_switch_flags.m4 m4/ax_sys_dev_poll.m4 m4/ax_sys_largefile_sensitive.m4 m4/ax_sys_perlsharpbang.m4 m4/ax_sys_weak_alias.m4 m4/ax_sysv_ipc.m4 m4/ax_tls.m4 m4/ax_trilinos_amesos.m4 m4/ax_trilinos_base.m4 m4/ax_trilinos_epetra.m4 m4/ax_trilinos_epetraext.m4 m4/ax_trilinos_epetraext_hdf5.m4 m4/ax_trilinos_rtop.m4 m4/ax_trilinos_rythmos.m4 m4/ax_trilinos_teuchos.m4 m4/ax_trilinos_thyra.m4 m4/ax_trilinos_thyra_epetra.m4 m4/ax_trilinos_thyra_epetraext.m4 m4/ax_try_awk_anyout.m4 m4/ax_try_awk_expout.m4 m4/ax_try_compile_java.m4 m4/ax_try_run_java.m4 m4/ax_type_socklen_t.m4 m4/ax_upload.m4 m4/ax_valgrind_check.m4 m4/ax_var_pop.m4 m4/ax_var_push.m4 m4/ax_var_timezone_externals.m4 m4/ax_very_nice.m4 m4/ax_warning_default_aclocaldir.m4 m4/ax_warning_default_pkgconfig.m4 m4/ax_wint_t.m4 m4/ax_with_apxs.m4 m4/ax_with_build_path.m4 m4/ax_with_curses.m4 m4/ax_with_curses_extra.m4 m4/ax_with_dmalloc.m4 m4/ax_with_mpatrol.m4 m4/ax_with_prog.m4 m4/ax_xercesc.m4 m4/ax_xsdcxx.m4 m4/ax_xtra_classpath.m4 m4/ax_zmq.m4 m4/ax_zoneinfo.m4"
2551
2552
2553 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_process.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_pcre2.texi ax_check_pgsql_db.texi ax_check_posix_regcomp.texi ax_check_posix_sysinfo.texi ax_check_postgres_db.texi ax_check_preproc_flag.texi ax_check_rqrd_class.texi ax_check_sign.texi ax_check_strcspn.texi ax_check_strftime.texi ax_check_struct_for.texi ax_check_symbol.texi ax_check_sys_siglist.texi ax_check_typedef.texi ax_check_uname_syscall.texi ax_check_user.texi ax_check_vscript.texi ax_check_x86_features.texi ax_check_zlib.texi ax_code_coverage.texi ax_compare_version.texi ax_compile_check_sizeof.texi ax_compiler_flags.texi ax_compiler_flags_cflags.texi ax_compiler_flags_cxxflags.texi ax_compiler_flags_gir.texi ax_compiler_flags_ldflags.texi ax_compiler_vendor.texi ax_compiler_version.texi ax_compute_relative_paths.texi ax_compute_standard_relative_paths.texi ax_cond_with_level.texi ax_config_feature.texi ax_configure_args.texi ax_count_cpus.texi ax_cpu_freq.texi ax_cpu_vendor.texi ax_create_generic_config.texi ax_create_pkgconfig_info.texi ax_create_stdint_h.texi ax_create_target_h.texi ax_cvs.texi ax_cxx_bool.texi ax_cxx_compile_stdcxx.texi ax_cxx_compile_stdcxx_0x.texi ax_cxx_compile_stdcxx_11.texi ax_cxx_compile_stdcxx_14.texi ax_cxx_compile_stdcxx_17.texi ax_cxx_complex_math_in_namespace_std.texi ax_cxx_const_cast.texi ax_cxx_cppflags_std_lang.texi ax_cxx_cxxflags_std_lang.texi ax_cxx_default_template_parameters.texi ax_cxx_delete_method.texi ax_cxx_dtor_after_atexit.texi ax_cxx_dynamic_cast.texi ax_cxx_enum_computations.texi ax_cxx_enum_computations_with_cast.texi ax_cxx_erase_iterator_type.texi ax_cxx_exceptions.texi ax_cxx_explicit.texi ax_cxx_explicit_instantiations.texi ax_cxx_explicit_template_function_qualification.texi ax_cxx_extern_template.texi ax_cxx_full_specialization_syntax.texi ax_cxx_function_nontype_parameters.texi ax_cxx_function_try_blocks.texi ax_cxx_gcc_abi_demangle.texi ax_cxx_gnucxx_hashmap.texi ax_cxx_have_bad_function_call.texi ax_cxx_have_bind.texi ax_cxx_have_bit_and.texi ax_cxx_have_bit_or.texi ax_cxx_have_bit_xor.texi ax_cxx_have_complex.texi ax_cxx_have_complex_math1.texi ax_cxx_have_complex_math2.texi ax_cxx_have_cref.texi ax_cxx_have_empty_iostream.texi ax_cxx_have_ext_hash_map.texi ax_cxx_have_ext_hash_set.texi ax_cxx_have_ext_slist.texi ax_cxx_have_freeze_sstream.texi ax_cxx_have_function.texi ax_cxx_have_hash.texi ax_cxx_have_ieee_math.texi ax_cxx_have_is_bind_expression.texi ax_cxx_have_is_placeholder.texi ax_cxx_have_koenig_lookup.texi ax_cxx_have_long_long_for_iostream.texi ax_cxx_have_mem_fn.texi ax_cxx_have_numeric_limits.texi ax_cxx_have_placeholders.texi ax_cxx_have_ref.texi ax_cxx_have_reference_wrapper.texi ax_cxx_have_sstream.texi ax_cxx_have_std.texi ax_cxx_have_stl.texi ax_cxx_have_string_push_back.texi ax_cxx_have_system_v_math.texi ax_cxx_have_valarray.texi ax_cxx_have_vector_at.texi ax_cxx_header_pre_stdcxx.texi ax_cxx_header_stdcxx_0x.texi ax_cxx_header_stdcxx_98.texi ax_cxx_header_stdcxx_tr1.texi ax_cxx_header_tr1_unordered_map.texi ax_cxx_header_tr1_unordered_set.texi ax_cxx_header_unordered_map.texi ax_cxx_header_unordered_set.texi ax_cxx_ldflags_std_lang.texi ax_cxx_member_constants.texi ax_cxx_member_templates.texi ax_cxx_member_templates_outside_class.texi ax_cxx_mutable.texi ax_cxx_namespace_std.texi ax_cxx_namespaces.texi ax_cxx_new_for_scoping.texi ax_cxx_old_for_scoping.texi ax_cxx_partial_ordering.texi ax_cxx_partial_specialization.texi ax_cxx_reinterpret_cast.texi ax_cxx_restrict_this.texi ax_cxx_rtti.texi ax_cxx_rvalue_references.texi ax_cxx_static_cast.texi ax_cxx_stlport_hashmap.texi ax_cxx_template_keyword_qualifier.texi ax_cxx_template_qualified_base_class.texi ax_cxx_template_qualified_return_type.texi ax_cxx_template_scoped_argument_matching.texi ax_cxx_templates.texi ax_cxx_templates_as_template_arguments.texi ax_cxx_typename.texi ax_cxx_use_numtrait.texi ax_cxx_var_prettyfunc.texi ax_cxx_verbose_terminate_handler.texi ax_czmq.texi ax_decl_wchar_max.texi ax_define_integer_bits.texi ax_define_sub_path.texi ax_dirname.texi ax_dist_msi.texi ax_dist_rpm.texi ax_dll_string.texi ax_elisp.texi ax_enable_builddir.texi ax_execinfo.texi ax_expand_prefix.texi ax_ext.texi ax_ext_check_header.texi ax_ext_have_lib.texi ax_extend_srcdir.texi ax_extra_dist.texi ax_f77_cmain_fflags.texi ax_f90_header.texi ax_f90_internal_headmod.texi ax_f90_library.texi ax_f90_library_setup.texi ax_f90_module.texi ax_f90_module_extension.texi ax_f90_module_flag.texi ax_fc_check_define.texi ax_file_escapes.texi ax_find_hamcrest.texi ax_find_junit.texi ax_find_scala_stdlib.texi ax_forceinline.texi ax_func_accept_argtypes.texi ax_func_getopt_long.texi ax_func_memmove.texi ax_func_mkdir.texi ax_func_posix_memalign.texi ax_func_snprintf.texi ax_func_which_gethostbyname_r.texi ax_func_which_getservbyname_r.texi ax_gcc_archflag.texi ax_gcc_builtin.texi ax_gcc_const_call.texi ax_gcc_func_attribute.texi ax_gcc_lib.texi ax_gcc_libgcc_eh.texi ax_gcc_libsupcxx.texi ax_gcc_malloc_call.texi ax_gcc_var_attribute.texi ax_gcc_warn_unused_result.texi ax_gcc_x86_avx_xgetbv.texi ax_gcc_x86_cpu_supports.texi ax_gcc_x86_cpuid.texi ax_generate_changelog.texi ax_gnu_autotest.texi ax_have_adns.texi ax_have_epoll.texi ax_have_poll.texi ax_have_qt.texi ax_have_select.texi ax_include_strcasecmp.texi ax_install_files.texi ax_int128.texi ax_is_release.texi ax_java_check_class.texi ax_java_options.texi ax_jni_include_dir.texi ax_lapack.texi ax_lib_beecrypt.texi ax_lib_cgal_core.texi ax_lib_crypto.texi ax_lib_curl.texi ax_lib_ev.texi ax_lib_expat.texi ax_lib_firebird.texi ax_lib_gcrypt.texi ax_lib_gdal.texi ax_lib_hdf5.texi ax_lib_id3.texi ax_lib_libkml.texi ax_lib_metis.texi ax_lib_mysql.texi ax_lib_mysqlcppconn.texi ax_lib_netcdf4.texi ax_lib_nettle.texi ax_lib_nokalva.texi ax_lib_oracle_occi.texi ax_lib_oracle_oci.texi ax_lib_orbit2.texi ax_lib_postgresql.texi ax_lib_readline.texi ax_lib_samtools.texi ax_lib_socket_nsl.texi ax_lib_sqlite3.texi ax_lib_tabix.texi ax_lib_taglib.texi ax_lib_trace.texi ax_lib_upnp.texi ax_lib_wad.texi ax_lib_xalan.texi ax_lib_xerces.texi ax_lib_xml_security.texi ax_libgcj_jar.texi ax_libtoolize_cflags.texi ax_llvm.texi ax_lua.texi ax_luarocks_rock.texi ax_maintainer_mode_auto_silent.texi ax_missing_prog.texi ax_mpi.texi ax_mpip.texi ax_need_awk.texi ax_normalize_path.texi ax_not_enable_frame_pointer.texi ax_numeric_namedlevel.texi ax_open62541_check_h.texi ax_open62541_check_lib.texi ax_open62541_path.texi ax_openmp.texi ax_patch_libtool_changing_cmds_ifs.texi ax_path_bdb.texi ax_path_generic.texi ax_path_lib_pcre.texi ax_path_milter.texi ax_path_missing.texi ax_perl_ext.texi ax_perl_ext_flags.texi ax_perl_module_version.texi ax_pgsql_priv_root.texi ax_pkg_check_modules.texi ax_pkg_mico.texi ax_pkg_swig.texi ax_prefix_config_h.texi ax_prepend_flag.texi ax_print_to_file.texi ax_printf_size_t.texi ax_prog_apache.texi ax_prog_bison.texi ax_prog_bison_version.texi ax_prog_cc_char_subscripts.texi ax_prog_cc_for_build.texi ax_prog_cc_mpi.texi ax_prog_cp_s.texi ax_prog_crontab.texi ax_prog_cxx_for_build.texi ax_prog_cxx_mpi.texi ax_prog_date.texi ax_prog_dotnetcore_version.texi ax_prog_doxygen.texi ax_prog_emacs.texi ax_prog_f77_mpi.texi ax_prog_fasm.texi ax_prog_fasm_opt.texi ax_prog_fc_mpi.texi ax_prog_fig2dev.texi ax_prog_flex.texi ax_prog_flex_version.texi ax_prog_gjs.texi ax_prog_guile_version.texi ax_prog_haxe_version.texi ax_prog_help2man.texi ax_prog_hla.texi ax_prog_hla_opt.texi ax_prog_httpd.texi ax_prog_jar.texi ax_prog_java.texi ax_prog_java_cc.texi ax_prog_java_works.texi ax_prog_javac.texi ax_prog_javac_works.texi ax_prog_javadoc.texi ax_prog_javah.texi ax_prog_masm.texi ax_prog_masm_opt.texi ax_prog_md5sum.texi ax_prog_modprobe.texi ax_prog_mysql.texi ax_prog_mysqladmin.texi ax_prog_mysqld.texi ax_prog_mysqlimport.texi ax_prog_mysqlshow.texi ax_prog_nasm.texi ax_prog_nasm_opt.texi ax_prog_perl_modules.texi ax_prog_perl_version.texi ax_prog_pgclient.texi ax_prog_python_version.texi ax_prog_robot.texi ax_prog_ruby_version.texi ax_prog_scala.texi ax_prog_scalac.texi ax_prog_scp.texi ax_prog_splint.texi ax_prog_ssh.texi ax_prog_tasm.texi ax_prog_tasm_opt.texi ax_prog_tcl.texi ax_prog_xsltproc.texi ax_prog_yasm.texi ax_prog_yasm_opt.texi ax_prototype.texi ax_prototype_accept.texi ax_prototype_getsockname.texi ax_prototype_setsockopt.texi ax_pthread.texi ax_python.texi ax_python_config_var.texi ax_python_devel.texi ax_python_embed.texi ax_python_module.texi ax_python_module_version.texi ax_r_package.texi ax_recursive_eval.texi ax_require_defined.texi ax_require_one_func.texi ax_restore_flags.texi ax_restore_flags_with_prefix.texi ax_rpm_init.texi ax_ruby_devel.texi ax_ruby_ext.texi ax_save_flags.texi ax_save_flags_with_prefix.texi ax_set_default_paths_system.texi ax_short_sleep.texi ax_silent_mode.texi ax_sip_devel.texi ax_spec_file.texi ax_spec_package_version.texi ax_split_version.texi ax_string_strcasecmp.texi ax_strings_strcasecmp.texi ax_struct_semun.texi ax_subdir_files.texi ax_subdirs_configure.texi ax_subst_with.texi ax_swig_enable_cxx.texi ax_swig_multi_module_support.texi ax_swig_python.texi ax_switch_flags.texi ax_sys_dev_poll.texi ax_sys_largefile_sensitive.texi ax_sys_perlsharpbang.texi ax_sys_weak_alias.texi ax_sysv_ipc.texi ax_tls.texi ax_trilinos_amesos.texi ax_trilinos_base.texi ax_trilinos_epetra.texi ax_trilinos_epetraext.texi ax_trilinos_epetraext_hdf5.texi ax_trilinos_rtop.texi ax_trilinos_rythmos.texi ax_trilinos_teuchos.texi ax_trilinos_thyra.texi ax_trilinos_thyra_epetra.texi ax_trilinos_thyra_epetraext.texi ax_try_awk_anyout.texi ax_try_awk_expout.texi ax_try_compile_java.texi ax_try_run_java.texi ax_type_socklen_t.texi ax_upload.texi ax_valgrind_check.texi ax_var_pop.texi ax_var_push.texi ax_var_timezone_externals.texi ax_very_nice.texi ax_warning_default_aclocaldir.texi ax_warning_default_pkgconfig.texi ax_wint_t.texi ax_with_apxs.texi ax_with_build_path.texi ax_with_curses.texi ax_with_curses_extra.texi ax_with_dmalloc.texi ax_with_mpatrol.texi ax_with_prog.texi ax_xercesc.texi ax_xsdcxx.texi ax_xtra_classpath.texi ax_zmq.texi ax_zoneinfo.texi"
24012554
24022555
24032556 ac_config_files="$ac_config_files Makefile doc/Makefile"
24292582 case $ac_val in #(
24302583 *${as_nl}*)
24312584 case $ac_var in #(
2432 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2433 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2585 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2586 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24342587 esac
24352588 case $ac_var in #(
24362589 _ | IFS | as_nl) ;; #(
24602613 /^ac_cv_env_/b end
24612614 t clear
24622615 :clear
2463 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2616 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
24642617 t end
24652618 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24662619 :end' >>confcache
24672620 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24682621 if test -w "$cache_file"; then
24692622 if test "x$cache_file" != "x/dev/null"; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2471 $as_echo "$as_me: updating cache $cache_file" >&6;}
2623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2624 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
24722625 if test ! -f "$cache_file" || test -h "$cache_file"; then
24732626 cat confcache >"$cache_file"
24742627 else
24822635 fi
24832636 fi
24842637 else
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2486 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2639 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
24872640 fi
24882641 fi
24892642 rm -f confcache
25362689 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25372690 # 1. Remove the extension, and $U if already installed.
25382691 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2539 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2692 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
25402693 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25412694 # will be set to the directory where LIBOBJS objects are built.
25422695 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25472700 LTLIBOBJS=$ac_ltlibobjs
25482701
25492702
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2551 $as_echo_n "checking that generated files are newer than configure... " >&6; }
2703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2704 printf %s "checking that generated files are newer than configure... " >&6; }
25522705 if test -n "$am_sleep_pid"; then
25532706 # Hide warnings about reused PIDs.
25542707 wait $am_sleep_pid 2>/dev/null
25552708 fi
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
2557 $as_echo "done" >&6; }
2709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
2710 printf "%s\n" "done" >&6; }
25582711
25592712
25602713 : "${CONFIG_STATUS=./config.status}"
25612714 ac_write_fail=0
25622715 ac_clean_files_save=$ac_clean_files
25632716 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2565 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2718 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
25662719 as_write_fail=0
25672720 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25682721 #! $SHELL
25852738
25862739 # Be more Bourne compatible
25872740 DUALCASE=1; export DUALCASE # for MKS sh
2588 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2741 as_nop=:
2742 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
2743 then :
25892744 emulate sh
25902745 NULLCMD=:
25912746 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25922747 # is contrary to our usage. Disable this feature.
25932748 alias -g '${1+"$@"}'='"$@"'
25942749 setopt NO_GLOB_SUBST
2595 else
2750 else $as_nop
25962751 case `(set -o) 2>/dev/null` in #(
25972752 *posix*) :
25982753 set -o posix ;; #(
26022757 fi
26032758
26042759
2760
2761 # Reset variables that may have inherited troublesome values from
2762 # the environment.
2763
2764 # IFS needs to be set, to space, tab, and newline, in precisely that order.
2765 # (If _AS_PATH_WALK were called with IFS unset, it would have the
2766 # side effect of setting IFS to empty, thus disabling word splitting.)
2767 # Quoting is to prevent editors from complaining about space-tab.
26052768 as_nl='
26062769 '
26072770 export as_nl
2608 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2609 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2610 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2611 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2612 # Prefer a ksh shell builtin over an external printf program on Solaris,
2613 # but without wasting forks for bash or zsh.
2614 if test -z "$BASH_VERSION$ZSH_VERSION" \
2615 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2616 as_echo='print -r --'
2617 as_echo_n='print -rn --'
2618 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2619 as_echo='printf %s\n'
2620 as_echo_n='printf %s'
2621 else
2622 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2623 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2624 as_echo_n='/usr/ucb/echo -n'
2625 else
2626 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2627 as_echo_n_body='eval
2628 arg=$1;
2629 case $arg in #(
2630 *"$as_nl"*)
2631 expr "X$arg" : "X\\(.*\\)$as_nl";
2632 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2633 esac;
2634 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2635 '
2636 export as_echo_n_body
2637 as_echo_n='sh -c $as_echo_n_body as_echo'
2638 fi
2639 export as_echo_body
2640 as_echo='sh -c $as_echo_body as_echo'
2641 fi
2771 IFS=" "" $as_nl"
2772
2773 PS1='$ '
2774 PS2='> '
2775 PS4='+ '
2776
2777 # Ensure predictable behavior from utilities with locale-dependent output.
2778 LC_ALL=C
2779 export LC_ALL
2780 LANGUAGE=C
2781 export LANGUAGE
2782
2783 # We cannot yet rely on "unset" to work, but we need these variables
2784 # to be unset--not just set to an empty or harmless value--now, to
2785 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
2786 # also avoids known problems related to "unset" and subshell syntax
2787 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
2788 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
2789 do eval test \${$as_var+y} \
2790 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2791 done
2792
2793 # Ensure that fds 0, 1, and 2 are open.
2794 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
2795 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
2796 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
26422797
26432798 # The user is always right.
2644 if test "${PATH_SEPARATOR+set}" != set; then
2799 if ${PATH_SEPARATOR+false} :; then
26452800 PATH_SEPARATOR=:
26462801 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26472802 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26492804 }
26502805 fi
26512806
2652
2653 # IFS
2654 # We need space, tab and new line, in precisely that order. Quoting is
2655 # there to prevent editors from complaining about space-tab.
2656 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2657 # splitting by setting IFS to empty value.)
2658 IFS=" "" $as_nl"
26592807
26602808 # Find who we are. Look in the path if we contain no directory separator.
26612809 as_myself=
26652813 for as_dir in $PATH
26662814 do
26672815 IFS=$as_save_IFS
2668 test -z "$as_dir" && as_dir=.
2669 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2816 case $as_dir in #(((
2817 '') as_dir=./ ;;
2818 */) ;;
2819 *) as_dir=$as_dir/ ;;
2820 esac
2821 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
26702822 done
26712823 IFS=$as_save_IFS
26722824
26782830 as_myself=$0
26792831 fi
26802832 if test ! -f "$as_myself"; then
2681 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2833 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26822834 exit 1
26832835 fi
26842836
2685 # Unset variables that we do not need and which cause bugs (e.g. in
2686 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2687 # suppresses any "Segmentation fault" message there. '((' could
2688 # trigger a bug in pdksh 5.2.14.
2689 for as_var in BASH_ENV ENV MAIL MAILPATH
2690 do eval test x\${$as_var+set} = xset \
2691 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2692 done
2693 PS1='$ '
2694 PS2='> '
2695 PS4='+ '
2696
2697 # NLS nuisances.
2698 LC_ALL=C
2699 export LC_ALL
2700 LANGUAGE=C
2701 export LANGUAGE
2702
2703 # CDPATH.
2704 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27052837
27062838
27072839 # as_fn_error STATUS ERROR [LINENO LOG_FD]
27142846 as_status=$1; test $as_status -eq 0 && as_status=1
27152847 if test "$4"; then
27162848 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2717 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27182850 fi
2719 $as_echo "$as_me: error: $2" >&2
2851 printf "%s\n" "$as_me: error: $2" >&2
27202852 as_fn_exit $as_status
27212853 } # as_fn_error
2854
27222855
27232856
27242857 # as_fn_set_status STATUS
27472880 { eval $1=; unset $1;}
27482881 }
27492882 as_unset=as_fn_unset
2883
27502884 # as_fn_append VAR VALUE
27512885 # ----------------------
27522886 # Append the text in VALUE to the end of the definition contained in VAR. Take
27532887 # advantage of any shell optimizations that allow amortized linear growth over
27542888 # repeated appends, instead of the typical quadratic growth present in naive
27552889 # implementations.
2756 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2890 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
2891 then :
27572892 eval 'as_fn_append ()
27582893 {
27592894 eval $1+=\$2
27602895 }'
2761 else
2896 else $as_nop
27622897 as_fn_append ()
27632898 {
27642899 eval $1=\$$1\$2
27702905 # Perform arithmetic evaluation on the ARGs, and store the result in the
27712906 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27722907 # must be portable across $(()) and expr.
2773 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2908 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
2909 then :
27742910 eval 'as_fn_arith ()
27752911 {
27762912 as_val=$(( $* ))
27772913 }'
2778 else
2914 else $as_nop
27792915 as_fn_arith ()
27802916 {
27812917 as_val=`expr "$@" || test $? -eq 1`
28062942 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
28072943 X"$0" : 'X\(//\)$' \| \
28082944 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2809 $as_echo X/"$0" |
2945 printf "%s\n" X/"$0" |
28102946 sed '/^.*\/\([^/][^/]*\)\/*$/{
28112947 s//\1/
28122948 q
28282964 as_cr_digits='0123456789'
28292965 as_cr_alnum=$as_cr_Letters$as_cr_digits
28302966
2967
2968 # Determine whether it's possible to make 'echo' print without a newline.
2969 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
2970 # for compatibility with existing Makefiles.
28312971 ECHO_C= ECHO_N= ECHO_T=
28322972 case `echo -n x` in #(((((
28332973 -n*)
28402980 *)
28412981 ECHO_N='-n';;
28422982 esac
2983
2984 # For backward compatibility with old third-party macros, we provide
2985 # the shell variables $as_echo and $as_echo_n. New code should use
2986 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
2987 as_echo='printf %s\n'
2988 as_echo_n='printf %s'
28432989
28442990 rm -f conf$$ conf$$.exe conf$$.file
28452991 if test -d conf$$.dir; then
28823028 as_dirs=
28833029 while :; do
28843030 case $as_dir in #(
2885 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3031 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
28863032 *) as_qdir=$as_dir;;
28873033 esac
28883034 as_dirs="'$as_qdir' $as_dirs"
28913037 X"$as_dir" : 'X\(//\)[^/]' \| \
28923038 X"$as_dir" : 'X\(//\)$' \| \
28933039 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2894 $as_echo X"$as_dir" |
3040 printf "%s\n" X"$as_dir" |
28953041 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28963042 s//\1/
28973043 q
29533099 # report actual input values of CONFIG_FILES etc. instead of their
29543100 # values after options handling.
29553101 ac_log="
2956 This file was extended by GNU Autoconf Archive $as_me 2019.01.06, which was
2957 generated by GNU Autoconf 2.69. Invocation command line was
3102 This file was extended by GNU Autoconf Archive $as_me 2021.02.19, which was
3103 generated by GNU Autoconf 2.70. Invocation command line was
29583104
29593105 CONFIG_FILES = $CONFIG_FILES
29603106 CONFIG_HEADERS = $CONFIG_HEADERS
30023148
30033149 Report bugs to <autoconf-archive-maintainers@gnu.org>.
30043150 GNU Autoconf Archive home page: <https://www.gnu.org/software/autoconf-archive/>.
3005 General help using GNU software: <http://www.gnu.org/gethelp/>."
3151 General help using GNU software: <https://www.gnu.org/gethelp/>."
30063152
30073153 _ACEOF
3154 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
3155 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
30083156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3009 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3157 ac_cs_config='$ac_cs_config_escaped'
30103158 ac_cs_version="\\
3011 GNU Autoconf Archive config.status 2019.01.06
3012 configured by $0, generated by GNU Autoconf 2.69,
3159 GNU Autoconf Archive config.status 2021.02.19
3160 configured by $0, generated by GNU Autoconf 2.70,
30133161 with options \\"\$ac_cs_config\\"
30143162
3015 Copyright (C) 2012 Free Software Foundation, Inc.
3163 Copyright (C) 2020 Free Software Foundation, Inc.
30163164 This config.status script is free software; the Free Software Foundation
30173165 gives unlimited permission to copy, distribute and modify it."
30183166
30523200 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
30533201 ac_cs_recheck=: ;;
30543202 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3055 $as_echo "$ac_cs_version"; exit ;;
3203 printf "%s\n" "$ac_cs_version"; exit ;;
30563204 --config | --confi | --conf | --con | --co | --c )
3057 $as_echo "$ac_cs_config"; exit ;;
3205 printf "%s\n" "$ac_cs_config"; exit ;;
30583206 --debug | --debu | --deb | --de | --d | -d )
30593207 debug=: ;;
30603208 --file | --fil | --fi | --f )
30613209 $ac_shift
30623210 case $ac_optarg in
3063 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3211 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
30643212 '') as_fn_error $? "missing file argument" ;;
30653213 esac
30663214 as_fn_append CONFIG_FILES " '$ac_optarg'"
30673215 ac_need_defaults=false;;
30683216 --he | --h | --help | --hel | -h )
3069 $as_echo "$ac_cs_usage"; exit ;;
3217 printf "%s\n" "$ac_cs_usage"; exit ;;
30703218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
30713219 | -silent | --silent | --silen | --sile | --sil | --si | --s)
30723220 ac_cs_silent=: ;;
30943242 if \$ac_cs_recheck; then
30953243 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
30963244 shift
3097 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3245 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
30983246 CONFIG_SHELL='$SHELL'
30993247 export CONFIG_SHELL
31003248 exec "\$@"
31083256 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
31093257 ## Running $as_me. ##
31103258 _ASBOX
3111 $as_echo "$ac_log"
3259 printf "%s\n" "$ac_log"
31123260 } >&5
31133261
31143262 _ACEOF
31343282 # We use the long form for the default assignment because of an extremely
31353283 # bizarre bug on SunOS 4.1.3.
31363284 if $ac_need_defaults; then
3137 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3285 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
31383286 fi
31393287
31403288 # Have a temporary directory for convenience. Make it in the build tree
33623510 esac ||
33633511 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
33643512 esac
3365 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3513 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
33663514 as_fn_append ac_file_inputs " '$ac_f'"
33673515 done
33683516
33703518 # use $as_me), people would be surprised to read:
33713519 # /* config.h. Generated by config.status. */
33723520 configure_input='Generated from '`
3373 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3521 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
33743522 `' by configure.'
33753523 if test x"$ac_file" != x-; then
33763524 configure_input="$ac_file. $configure_input"
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3378 $as_echo "$as_me: creating $ac_file" >&6;}
3525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3526 printf "%s\n" "$as_me: creating $ac_file" >&6;}
33793527 fi
33803528 # Neutralize special characters interpreted by sed in replacement strings.
33813529 case $configure_input in #(
33823530 *\&* | *\|* | *\\* )
3383 ac_sed_conf_input=`$as_echo "$configure_input" |
3531 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
33843532 sed 's/[\\\\&|]/\\\\&/g'`;; #(
33853533 *) ac_sed_conf_input=$configure_input;;
33863534 esac
33973545 X"$ac_file" : 'X\(//\)[^/]' \| \
33983546 X"$ac_file" : 'X\(//\)$' \| \
33993547 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3400 $as_echo X"$ac_file" |
3548 printf "%s\n" X"$ac_file" |
34013549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34023550 s//\1/
34033551 q
34213569 case "$ac_dir" in
34223570 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34233571 *)
3424 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3572 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
34253573 # A ".." for each directory in $ac_dir_suffix.
3426 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3574 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
34273575 case $ac_top_builddir_sub in
34283576 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34293577 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34853633 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
34863634 *datarootdir*) ac_datarootdir_seen=yes;;
34873635 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3489 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3637 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34903638 _ACEOF
34913639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34923640 ac_datarootdir_hack='
35303678 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
35313679 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
35323680 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35343682 which seems to be undefined. Please make sure it is defined" >&5
3535 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3683 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
35363684 which seems to be undefined. Please make sure it is defined" >&2;}
35373685
35383686 rm -f "$ac_tmp/stdin"
35793727 $ac_cs_success || as_fn_exit 1
35803728 fi
35813729 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3583 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3584 fi
3585
3586
3730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3731 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3732 fi
3733
3734
3735
1818
1919 AC_PROG_SED
2020
21 M4FILES="m4_esyscmd([echo -n m4/*.m4])"
21 M4FILES="m4_esyscmd_s([echo m4/*.m4])"
2222 AC_SUBST([M4FILES])
2323
24 TEXIFILES="m4_esyscmd([cd m4 && echo -n *.m4 | sed -e 's/\.m4/.texi/g'])"
24 TEXIFILES="m4_esyscmd_s([cd m4 && echo *.m4 | sed -e 's/\.m4/.texi/g'])"
2525 AC_SUBST([TEXIFILES])
2626
2727 AC_CONFIG_FILES([Makefile doc/Makefile])
00 # Build and install the GNU Autoconf Archive documentation.
11 #
2 # Copyright (c) 2019 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
2 # Copyright (c) 2021 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
33 #
44 # This program is free software: you can redistribute it and/or modify it under
55 # the terms of the GNU General Public License as published by the Free Software
2323 @rm -f ax_*.texi all-macros.texi fdl-1.3.texi Makefile.in
2424 @rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr
2525 @rm -rf manual gendocs_template gendocs_template_min
26 @rm -f *~
0 # Makefile.in generated by automake 1.16.1 from Makefile.am.
0 # Makefile.in generated by automake 1.16.3 from Makefile.am.
11 # @configure_input@
22
3 # Copyright (C) 1994-2018 Free Software Foundation, Inc.
3 # Copyright (C) 1994-2020 Free Software Foundation, Inc.
44
55 # This Makefile.in is free software; the Free Software Foundation
66 # gives unlimited permission to copy and/or distribute it,
1515
1616 # Build and install the GNU Autoconf Archive documentation.
1717 #
18 # Copyright (c) 2019 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
18 # Copyright (c) 2021 Autoconf Archive Maintainers <autoconf-archive-maintainers@gnu.org>
1919 #
2020 # This program is free software: you can redistribute it and/or modify it under
2121 # the terms of the GNU General Public License as published by the Free Software
271271 prefix = @prefix@
272272 program_transform_name = @program_transform_name@
273273 psdir = @psdir@
274 runstatedir = @runstatedir@
274275 sbindir = @sbindir@
275276 sharedstatedir = @sharedstatedir@
276277 srcdir = @srcdir@
745746 @rm -f ax_*.texi all-macros.texi fdl-1.3.texi Makefile.in
746747 @rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr
747748 @rm -rf manual gendocs_template gendocs_template_min
749 @rm -f *~
748750
749751 # Tell versions [3.59,3.63) of GNU make to not export all variables.
750752 # Otherwise a system limit (for SysV at least) may be exceeded.
3535 * ax_boost_locale::
3636 * ax_boost_log::
3737 * ax_boost_log_setup::
38 * ax_boost_process::
3839 * ax_boost_program_options::
3940 * ax_boost_python::
4041 * ax_boost_regex::
156157 * ax_check_page_aligned_malloc::
157158 * ax_check_pathfind::
158159 * ax_check_pathname_style::
160 * ax_check_pcre2::
159161 * ax_check_pgsql_db::
160162 * ax_check_posix_regcomp::
161163 * ax_check_posix_sysinfo::
353355 * ax_have_select::
354356 * ax_include_strcasecmp::
355357 * ax_install_files::
358 * ax_int128::
356359 * ax_is_release::
357360 * ax_java_check_class::
358361 * ax_java_options::
423426 * ax_pkg_mico::
424427 * ax_pkg_swig::
425428 * ax_prefix_config_h::
429 * ax_prepend_flag::
426430 * ax_print_to_file::
427431 * ax_printf_size_t::
428432 * ax_prog_apache::
476480 * ax_prog_perl_version::
477481 * ax_prog_pgclient::
478482 * ax_prog_python_version::
483 * ax_prog_robot::
479484 * ax_prog_ruby_version::
480485 * ax_prog_scala::
481486 * ax_prog_scalac::
609614 @include ax_boost_locale.texi
610615 @include ax_boost_log.texi
611616 @include ax_boost_log_setup.texi
617 @include ax_boost_process.texi
612618 @include ax_boost_program_options.texi
613619 @include ax_boost_python.texi
614620 @include ax_boost_regex.texi
730736 @include ax_check_page_aligned_malloc.texi
731737 @include ax_check_pathfind.texi
732738 @include ax_check_pathname_style.texi
739 @include ax_check_pcre2.texi
733740 @include ax_check_pgsql_db.texi
734741 @include ax_check_posix_regcomp.texi
735742 @include ax_check_posix_sysinfo.texi
927934 @include ax_have_select.texi
928935 @include ax_include_strcasecmp.texi
929936 @include ax_install_files.texi
937 @include ax_int128.texi
930938 @include ax_is_release.texi
931939 @include ax_java_check_class.texi
932940 @include ax_java_options.texi
9971005 @include ax_pkg_mico.texi
9981006 @include ax_pkg_swig.texi
9991007 @include ax_prefix_config_h.texi
1008 @include ax_prepend_flag.texi
10001009 @include ax_print_to_file.texi
10011010 @include ax_printf_size_t.texi
10021011 @include ax_prog_apache.texi
10501059 @include ax_prog_perl_version.texi
10511060 @include ax_prog_pgclient.texi
10521061 @include ax_prog_python_version.texi
1062 @include ax_prog_robot.texi
10531063 @include ax_prog_ruby_version.texi
10541064 @include ax_prog_scala.texi
10551065 @include ax_prog_scalac.texi
0 This is autoconf-archive.info, produced by makeinfo version 6.5 from
0 This is autoconf-archive.info, produced by makeinfo version 6.7 from
11 autoconf-archive.texi.
22
3 This manual is for GNU Autoconf Archive version 2019.01.06, a collection
3 This manual is for GNU Autoconf Archive version 2021.02.19, a collection
44 of freely re-usable Autoconf macros.
55
66 Copyright (C) 2016 Autoconf Archive Maintainers
1818 END-INFO-DIR-ENTRY
1919
2020 
21 File: autoconf-archive.info, Node: Top, Next: Introduction, Up: (dir)
22
23 GNU Autoconf Archive
24 ********************
25
26 This manual is for GNU Autoconf Archive version 2019.01.06, a collection
27 of freely re-usable Autoconf macros.
28
29 Copyright (C) 2016 Autoconf Archive Maintainers
30 <autoconf-archive-maintainers@gnu.org>
31
32 Permission is granted to copy, distribute and/or modify this document
33 under the terms of the GNU Free Documentation License, Version 1.3 or
34 any later version published by the Free Software Foundation; with no
35 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
36 copy of the license is included in the section entitled "GNU Free
37 Documentation License".
38
39 * Menu:
40
41 * Introduction:: Project Synopsis, home page links, etc.
42 * Downloads:: How to find git repository and release tarballs.
43 * How to contribute:: Submission Guidelines.
44 * The Macros:: Alphabetic index of all macros.
45 * GNU Free Documentation License:: Copying and sharing this manual.
46
47 
48 File: autoconf-archive.info, Node: Introduction, Next: Downloads, Prev: Top, Up: Top
49
50 1 Introduction
51 **************
52
53 The GNU Autoconf Archive is a collection of more than 500 macros for GNU
54 Autoconf (https://www.gnu.org/software/autoconf) that have been
55 contributed as free software by friendly supporters of the cause from
56 all over the Internet. Every single one of those macros can be re-used
57 without imposing any restrictions whatsoever on the licensing of the
58 generated 'configure' script. In particular, it is possible to use all
59 those macros in 'configure' scripts that are meant for non-free
60 software. This policy is unusual for a Free Software Foundation
61 project. The FSF firmly believes that software ought to be free, and
62 software licenses like the GPL are specifically designed to ensure that
63 derivative work based on free software must be free as well. In case of
64 Autoconf, however, an exception has been made, because Autoconf is at
65 such a pivotal position in the software development tool chain that the
66 benefits from having this tool available as widely as possible outweigh
67 the disadvantage that some authors may choose to use it, too, for
68 proprietary software.
69
70 This official web site of this project is located at
71 <https://www.gnu.org/software/autoconf-archive/>. All available
72 information concerning this project is referenced from there.
73
74 If you have questions, suggestions, are any other feedback that you'd
75 like to share, then please don't hesitate to contact the Archive
76 maintainers at <autoconf-archive-maintainers@gnu.org>.
77
78 
79 File: autoconf-archive.info, Node: Downloads, Next: How to contribute, Prev: Introduction, Up: Top
80
81 2 Downloading the GNU Autoconf Archive
82 **************************************
83
84 The macros distributed by the Archive are maintained in a public Git
85 repository at 'git://git.sv.gnu.org/autoconf-archive.git'. That
86 repository can be cloned anonymously, which is probably the most
87 convenient way to access the Archive. Gitweb offers an RSS feed
88 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=rss) for
89 subscription that informs about changes to the repository. The same
90 information is available via e-mail, too, on the commits mailing list
91 (http://lists.gnu.org/mailman/listinfo/autoconf-archive-commits).
92
93 For the benefit of everyone who doesn't use Git, traditional release
94 archives can be downloaded from any GNU mirror, i.e.
95 <http://ftpmirror.gnu.org/autoconf-archive/>. New release are always
96 announced on the low-traffic announcements mailing list
97 (http://lists.gnu.org/mailman/listinfo/autoconf-archive-announce).
98
99 
100 File: autoconf-archive.info, Node: How to contribute, Next: The Macros, Prev: Downloads, Up: Top
101
102 3 How to contribute to the GNU Autoconf Archive
103 ***********************************************
104
105 3.1 Macro Format
106 ================
107
108 Each macro in the Archive has an all-upper-case name with the prefix
109 'AX_'. The macro is stored in a file with the same name, in lower case,
110 and with the suffix '.m4'. Unless absolutely necessary, the file
111 contents should be in ASCII. For example, use apostrophe (U+27) for
112 quoting identifiers instead of Unicode quotation mark characters U+2018,
113 U+2019.
114
115 The file should begin with a header comment containing three named
116 sections: synopsis, description, and license.
117
118 The synopsis gives a summary of the macro usage and arguments. In this
119 section, square brackets ('[]') are used to indicate optional
120 parameters, and may be nested.
121
122 The description contains a prose description of the macro. It should
123 describe the function of the macro, and the meaning of any arguments
124 given in the synopsis. The description should also identify:
125
126 * any default macro parameter values
127 * any new '--with' or '--enable' options, and their default values
128 * any argument variables consulted ('AC_ARG_VAR')
129 * any substituted variables ('AC_SUBST')
130 * any defined precompiler constants ('AC_DEFINE')
131
132 Macros should be defined with 'AC_DEFUN', using correct quoting.
133 Comments should be used liberally within the macro, with 'dnl' used for
134 comments at the m4sh level and '#' used for comments at the shell level.
135
136 If a macro is renamed, the 'AU_ALIAS' macro should be used to guide
137 users of the old name to the new name:
138
139 AU_ALIAS([OLD_NAME], [AX_NEW_NAME])
140
141 3.2 Submitting Macros
142 =====================
143
144 To submit updates to the Autoconf Archive, please create an issue in the
145 patch tracker
146 (http://savannah.gnu.org/patch/?func=additem&group=autoconf-archive) and
147 attach a (preferably 'git-format-patch(1)'-formatted) patch file. Users
148 of 'github.com' may prefer to create a pull request for the Autoconf
149 Archive Mirror at Github
150 (https://github.com/autoconf-archive/autoconf-archive). Please make
151 sure your submission contains the following items:
152
153 * a synopsis that shows how the macro must be be called,
154
155 * a brief description of the macro's purpose,
156
157 * the list of authors (optionally with e-mail addresses),
158
159 * licensing terms, and
160
161 * the m4 source code.
162
163 Macros can be submitted under any GPL-compatible free software license
164 (https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses).
165 The Free Software Foundation, however, recommends use of the
166 all-permissive license
167 (https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html)
168 for Autoconf macros.
169
170 3.3 Writing Highly Usable Macros
171 ================================
172
173 Autoconf macros are used in a surprising variety of ways, and a
174 well-written macro should be flexible enough to suit all of these uses.
175
176 See the Autotools Mythbuster
177 (http://www.flameeyes.eu/autotools-mythbuster) for suggestions on how to
178 write well-encapsulated, portable macros.
179
180 
181 File: autoconf-archive.info, Node: The Macros, Next: GNU Free Documentation License, Prev: How to contribute, Up: Top
182
183 4 The Macros
184 ************
185
186 * Menu:
187
188 * ax_absolute_header::
189 * ax_ac_append_to_file::
190 * ax_ac_print_to_file::
191 * ax_add_am_macro::
192 * ax_add_am_macro_static::
193 * ax_add_am_trilinos_makefile_export::
194 * ax_add_fortify_source::
195 * ax_add_recursive_am_macro::
196 * ax_add_recursive_am_macro_static::
197 * ax_afs::
198 * ax_am_jobserver::
199 * ax_am_macros::
200 * ax_am_macros_static::
201 * ax_am_override_var::
202 * ax_append_compile_flags::
203 * ax_append_flag::
204 * ax_append_link_flags::
205 * ax_append_to_file::
206 * ax_arg_with_path_style::
207 * ax_asm_inline::
208 * ax_at_check_pattern::
209 * ax_auto_include_headers::
210 * ax_berkeley_db::
211 * ax_berkeley_db_cxx::
212 * ax_blas::
213 * ax_blas_f77_func::
214 * ax_boost_asio::
215 * ax_boost_base::
216 * ax_boost_chrono::
217 * ax_boost_context::
218 * ax_boost_coroutine::
219 * ax_boost_date_time::
220 * ax_boost_filesystem::
221 * ax_boost_iostreams::
222 * ax_boost_locale::
223 * ax_boost_log::
224 * ax_boost_log_setup::
225 * ax_boost_program_options::
226 * ax_boost_python::
227 * ax_boost_regex::
228 * ax_boost_serialization::
229 * ax_boost_signals::
230 * ax_boost_system::
231 * ax_boost_test_exec_monitor::
232 * ax_boost_thread::
233 * ax_boost_unit_test_framework::
234 * ax_boost_wave::
235 * ax_boost_wserialization::
236 * ax_build_date_epoch::
237 * ax_c99_inline::
238 * ax_c___attribute__::
239 * ax_c_arithmetic_rshift::
240 * ax_c_compile_value::
241 * ax_c_declare_block::
242 * ax_c_float_words_bigendian::
243 * ax_c_long_long::
244 * ax_c_referenceable_passed_va_list::
245 * ax_c_var_func::
246 * ax_cache_size::
247 * ax_caolan_check_package::
248 * ax_caolan_search_package::
249 * ax_cc_for_build::
250 * ax_cc_maxopt::
251 * ax_cf_ebcdic::
252 * ax_cflags_aix_option::
253 * ax_cflags_force_c89::
254 * ax_cflags_hpux_option::
255 * ax_cflags_irix_option::
256 * ax_cflags_no_writable_strings::
257 * ax_cflags_strict_prototypes::
258 * ax_cflags_sun_option::
259 * ax_cflags_warn_all::
260 * ax_check_aligned_access_required::
261 * ax_check_allocated_ctime::
262 * ax_check_awk__v::
263 * ax_check_awk__x_escapes::
264 * ax_check_awk_and::
265 * ax_check_awk_argind::
266 * ax_check_awk_array_delete::
267 * ax_check_awk_array_delete_elem::
268 * ax_check_awk_array_in::
269 * ax_check_awk_asort::
270 * ax_check_awk_asorti::
271 * ax_check_awk_associative_array::
272 * ax_check_awk_atan2::
273 * ax_check_awk_compl::
274 * ax_check_awk_conditional_expression::
275 * ax_check_awk_cos::
276 * ax_check_awk_environ::
277 * ax_check_awk_errno::
278 * ax_check_awk_exit::
279 * ax_check_awk_exp::
280 * ax_check_awk_gensub::
281 * ax_check_awk_getline::
282 * ax_check_awk_gsub::
283 * ax_check_awk_ignorecase::
284 * ax_check_awk_index::
285 * ax_check_awk_int::
286 * ax_check_awk_length::
287 * ax_check_awk_log::
288 * ax_check_awk_lshift::
289 * ax_check_awk_match_2parms::
290 * ax_check_awk_match_3parms::
291 * ax_check_awk_operator_multiply_multiply::
292 * ax_check_awk_operator_square::
293 * ax_check_awk_or::
294 * ax_check_awk_printf::
295 * ax_check_awk_rand::
296 * ax_check_awk_rshift::
297 * ax_check_awk_sin::
298 * ax_check_awk_split::
299 * ax_check_awk_sprintf::
300 * ax_check_awk_sqrt::
301 * ax_check_awk_srand::
302 * ax_check_awk_strftime::
303 * ax_check_awk_strtonum::
304 * ax_check_awk_sub::
305 * ax_check_awk_substr::
306 * ax_check_awk_system::
307 * ax_check_awk_systime::
308 * ax_check_awk_tolower::
309 * ax_check_awk_toupper::
310 * ax_check_awk_user_defined_functions::
311 * ax_check_awk_var_regexp::
312 * ax_check_awk_variable_value_pairs::
313 * ax_check_awk_xor::
314 * ax_check_class::
315 * ax_check_classpath::
316 * ax_check_compile_flag::
317 * ax_check_define::
318 * ax_check_docbook_dtd::
319 * ax_check_docbook_xslt::
320 * ax_check_docbook_xslt_min::
321 * ax_check_dos_filesys::
322 * ax_check_enable_debug::
323 * ax_check_func_in::
324 * ax_check_gd::
325 * ax_check_gir_symbols_gjs::
326 * ax_check_girs_gjs::
327 * ax_check_gl::
328 * ax_check_glu::
329 * ax_check_glut::
330 * ax_check_glx::
331 * ax_check_gnu_make::
332 * ax_check_icu::
333 * ax_check_java_home::
334 * ax_check_java_plugin::
335 * ax_check_junit::
336 * ax_check_library::
337 * ax_check_link_flag::
338 * ax_check_mysql::
339 * ax_check_mysql_db::
340 * ax_check_mysqlr::
341 * ax_check_off64_t::
342 * ax_check_openssl::
343 * ax_check_page_aligned_malloc::
344 * ax_check_pathfind::
345 * ax_check_pathname_style::
346 * ax_check_pgsql_db::
347 * ax_check_posix_regcomp::
348 * ax_check_posix_sysinfo::
349 * ax_check_postgres_db::
350 * ax_check_preproc_flag::
351 * ax_check_rqrd_class::
352 * ax_check_sign::
353 * ax_check_strcspn::
354 * ax_check_strftime::
355 * ax_check_struct_for::
356 * ax_check_symbol::
357 * ax_check_sys_siglist::
358 * ax_check_typedef::
359 * ax_check_uname_syscall::
360 * ax_check_user::
361 * ax_check_vscript::
362 * ax_check_x86_features::
363 * ax_check_zlib::
364 * ax_code_coverage::
365 * ax_compare_version::
366 * ax_compile_check_sizeof::
367 * ax_compiler_flags::
368 * ax_compiler_flags_cflags::
369 * ax_compiler_flags_cxxflags::
370 * ax_compiler_flags_gir::
371 * ax_compiler_flags_ldflags::
372 * ax_compiler_vendor::
373 * ax_compiler_version::
374 * ax_compute_relative_paths::
375 * ax_compute_standard_relative_paths::
376 * ax_cond_with_level::
377 * ax_config_feature::
378 * ax_configure_args::
379 * ax_count_cpus::
380 * ax_cpu_freq::
381 * ax_cpu_vendor::
382 * ax_create_generic_config::
383 * ax_create_pkgconfig_info::
384 * ax_create_stdint_h::
385 * ax_create_target_h::
386 * ax_cvs::
387 * ax_cxx_bool::
388 * ax_cxx_compile_stdcxx::
389 * ax_cxx_compile_stdcxx_0x::
390 * ax_cxx_compile_stdcxx_11::
391 * ax_cxx_compile_stdcxx_14::
392 * ax_cxx_compile_stdcxx_17::
393 * ax_cxx_complex_math_in_namespace_std::
394 * ax_cxx_const_cast::
395 * ax_cxx_cppflags_std_lang::
396 * ax_cxx_cxxflags_std_lang::
397 * ax_cxx_default_template_parameters::
398 * ax_cxx_delete_method::
399 * ax_cxx_dtor_after_atexit::
400 * ax_cxx_dynamic_cast::
401 * ax_cxx_enum_computations::
402 * ax_cxx_enum_computations_with_cast::
403 * ax_cxx_erase_iterator_type::
404 * ax_cxx_exceptions::
405 * ax_cxx_explicit::
406 * ax_cxx_explicit_instantiations::
407 * ax_cxx_explicit_template_function_qualification::
408 * ax_cxx_extern_template::
409 * ax_cxx_full_specialization_syntax::
410 * ax_cxx_function_nontype_parameters::
411 * ax_cxx_function_try_blocks::
412 * ax_cxx_gcc_abi_demangle::
413 * ax_cxx_gnucxx_hashmap::
414 * ax_cxx_have_bad_function_call::
415 * ax_cxx_have_bind::
416 * ax_cxx_have_bit_and::
417 * ax_cxx_have_bit_or::
418 * ax_cxx_have_bit_xor::
419 * ax_cxx_have_complex::
420 * ax_cxx_have_complex_math1::
421 * ax_cxx_have_complex_math2::
422 * ax_cxx_have_cref::
423 * ax_cxx_have_empty_iostream::
424 * ax_cxx_have_ext_hash_map::
425 * ax_cxx_have_ext_hash_set::
426 * ax_cxx_have_ext_slist::
427 * ax_cxx_have_freeze_sstream::
428 * ax_cxx_have_function::
429 * ax_cxx_have_hash::
430 * ax_cxx_have_ieee_math::
431 * ax_cxx_have_is_bind_expression::
432 * ax_cxx_have_is_placeholder::
433 * ax_cxx_have_koenig_lookup::
434 * ax_cxx_have_long_long_for_iostream::
435 * ax_cxx_have_mem_fn::
436 * ax_cxx_have_numeric_limits::
437 * ax_cxx_have_placeholders::
438 * ax_cxx_have_ref::
439 * ax_cxx_have_reference_wrapper::
440 * ax_cxx_have_sstream::
441 * ax_cxx_have_std::
442 * ax_cxx_have_stl::
443 * ax_cxx_have_string_push_back::
444 * ax_cxx_have_system_v_math::
445 * ax_cxx_have_valarray::
446 * ax_cxx_have_vector_at::
447 * ax_cxx_header_pre_stdcxx::
448 * ax_cxx_header_stdcxx_0x::
449 * ax_cxx_header_stdcxx_98::
450 * ax_cxx_header_stdcxx_tr1::
451 * ax_cxx_header_tr1_unordered_map::
452 * ax_cxx_header_tr1_unordered_set::
453 * ax_cxx_header_unordered_map::
454 * ax_cxx_header_unordered_set::
455 * ax_cxx_ldflags_std_lang::
456 * ax_cxx_member_constants::
457 * ax_cxx_member_templates::
458 * ax_cxx_member_templates_outside_class::
459 * ax_cxx_mutable::
460 * ax_cxx_namespace_std::
461 * ax_cxx_namespaces::
462 * ax_cxx_new_for_scoping::
463 * ax_cxx_old_for_scoping::
464 * ax_cxx_partial_ordering::
465 * ax_cxx_partial_specialization::
466 * ax_cxx_reinterpret_cast::
467 * ax_cxx_restrict_this::
468 * ax_cxx_rtti::
469 * ax_cxx_rvalue_references::
470 * ax_cxx_static_cast::
471 * ax_cxx_stlport_hashmap::
472 * ax_cxx_template_keyword_qualifier::
473 * ax_cxx_template_qualified_base_class::
474 * ax_cxx_template_qualified_return_type::
475 * ax_cxx_template_scoped_argument_matching::
476 * ax_cxx_templates::
477 * ax_cxx_templates_as_template_arguments::
478 * ax_cxx_typename::
479 * ax_cxx_use_numtrait::
480 * ax_cxx_var_prettyfunc::
481 * ax_cxx_verbose_terminate_handler::
482 * ax_czmq::
483 * ax_decl_wchar_max::
484 * ax_define_integer_bits::
485 * ax_define_sub_path::
486 * ax_dirname::
487 * ax_dist_msi::
488 * ax_dist_rpm::
489 * ax_dll_string::
490 * ax_elisp::
491 * ax_enable_builddir::
492 * ax_execinfo::
493 * ax_expand_prefix::
494 * ax_ext::
495 * ax_ext_check_header::
496 * ax_ext_have_lib::
497 * ax_extend_srcdir::
498 * ax_extra_dist::
499 * ax_f77_cmain_fflags::
500 * ax_f90_header::
501 * ax_f90_internal_headmod::
502 * ax_f90_library::
503 * ax_f90_library_setup::
504 * ax_f90_module::
505 * ax_f90_module_extension::
506 * ax_f90_module_flag::
507 * ax_fc_check_define::
508 * ax_file_escapes::
509 * ax_find_hamcrest::
510 * ax_find_junit::
511 * ax_find_scala_stdlib::
512 * ax_forceinline::
513 * ax_func_accept_argtypes::
514 * ax_func_getopt_long::
515 * ax_func_memmove::
516 * ax_func_mkdir::
517 * ax_func_posix_memalign::
518 * ax_func_snprintf::
519 * ax_func_which_gethostbyname_r::
520 * ax_func_which_getservbyname_r::
521 * ax_gcc_archflag::
522 * ax_gcc_builtin::
523 * ax_gcc_const_call::
524 * ax_gcc_func_attribute::
525 * ax_gcc_lib::
526 * ax_gcc_libgcc_eh::
527 * ax_gcc_libsupcxx::
528 * ax_gcc_malloc_call::
529 * ax_gcc_var_attribute::
530 * ax_gcc_warn_unused_result::
531 * ax_gcc_x86_avx_xgetbv::
532 * ax_gcc_x86_cpu_supports::
533 * ax_gcc_x86_cpuid::
534 * ax_generate_changelog::
535 * ax_gnu_autotest::
536 * ax_have_adns::
537 * ax_have_epoll::
538 * ax_have_poll::
539 * ax_have_qt::
540 * ax_have_select::
541 * ax_include_strcasecmp::
542 * ax_install_files::
543 * ax_is_release::
544 * ax_java_check_class::
545 * ax_java_options::
546 * ax_jni_include_dir::
547 * ax_lapack::
548 * ax_lib_beecrypt::
549 * ax_lib_cgal_core::
550 * ax_lib_crypto::
551 * ax_lib_curl::
552 * ax_lib_ev::
553 * ax_lib_expat::
554 * ax_lib_firebird::
555 * ax_lib_gcrypt::
556 * ax_lib_gdal::
557 * ax_lib_hdf5::
558 * ax_lib_id3::
559 * ax_lib_libkml::
560 * ax_lib_metis::
561 * ax_lib_mysql::
562 * ax_lib_mysqlcppconn::
563 * ax_lib_netcdf4::
564 * ax_lib_nettle::
565 * ax_lib_nokalva::
566 * ax_lib_oracle_occi::
567 * ax_lib_oracle_oci::
568 * ax_lib_orbit2::
569 * ax_lib_postgresql::
570 * ax_lib_readline::
571 * ax_lib_samtools::
572 * ax_lib_socket_nsl::
573 * ax_lib_sqlite3::
574 * ax_lib_tabix::
575 * ax_lib_taglib::
576 * ax_lib_trace::
577 * ax_lib_upnp::
578 * ax_lib_wad::
579 * ax_lib_xalan::
580 * ax_lib_xerces::
581 * ax_lib_xml_security::
582 * ax_libgcj_jar::
583 * ax_libtoolize_cflags::
584 * ax_llvm::
585 * ax_lua::
586 * ax_luarocks_rock::
587 * ax_maintainer_mode_auto_silent::
588 * ax_missing_prog::
589 * ax_mpi::
590 * ax_mpip::
591 * ax_need_awk::
592 * ax_normalize_path::
593 * ax_not_enable_frame_pointer::
594 * ax_numeric_namedlevel::
595 * ax_open62541_check_h::
596 * ax_open62541_check_lib::
597 * ax_open62541_path::
598 * ax_openmp::
599 * ax_patch_libtool_changing_cmds_ifs::
600 * ax_path_bdb::
601 * ax_path_generic::
602 * ax_path_lib_pcre::
603 * ax_path_milter::
604 * ax_path_missing::
605 * ax_perl_ext::
606 * ax_perl_ext_flags::
607 * ax_perl_module_version::
608 * ax_pgsql_priv_root::
609 * ax_pkg_check_modules::
610 * ax_pkg_mico::
611 * ax_pkg_swig::
612 * ax_prefix_config_h::
613 * ax_print_to_file::
614 * ax_printf_size_t::
615 * ax_prog_apache::
616 * ax_prog_bison::
617 * ax_prog_bison_version::
618 * ax_prog_cc_char_subscripts::
619 * ax_prog_cc_for_build::
620 * ax_prog_cc_mpi::
621 * ax_prog_cp_s::
622 * ax_prog_crontab::
623 * ax_prog_cxx_for_build::
624 * ax_prog_cxx_mpi::
625 * ax_prog_date::
626 * ax_prog_dotnetcore_version::
627 * ax_prog_doxygen::
628 * ax_prog_emacs::
629 * ax_prog_f77_mpi::
630 * ax_prog_fasm::
631 * ax_prog_fasm_opt::
632 * ax_prog_fc_mpi::
633 * ax_prog_fig2dev::
634 * ax_prog_flex::
635 * ax_prog_flex_version::
636 * ax_prog_gjs::
637 * ax_prog_guile_version::
638 * ax_prog_haxe_version::
639 * ax_prog_help2man::
640 * ax_prog_hla::
641 * ax_prog_hla_opt::
642 * ax_prog_httpd::
643 * ax_prog_jar::
644 * ax_prog_java::
645 * ax_prog_java_cc::
646 * ax_prog_java_works::
647 * ax_prog_javac::
648 * ax_prog_javac_works::
649 * ax_prog_javadoc::
650 * ax_prog_javah::
651 * ax_prog_masm::
652 * ax_prog_masm_opt::
653 * ax_prog_md5sum::
654 * ax_prog_modprobe::
655 * ax_prog_mysql::
656 * ax_prog_mysqladmin::
657 * ax_prog_mysqld::
658 * ax_prog_mysqlimport::
659 * ax_prog_mysqlshow::
660 * ax_prog_nasm::
661 * ax_prog_nasm_opt::
662 * ax_prog_perl_modules::
663 * ax_prog_perl_version::
664 * ax_prog_pgclient::
665 * ax_prog_python_version::
666 * ax_prog_ruby_version::
667 * ax_prog_scala::
668 * ax_prog_scalac::
669 * ax_prog_scp::
670 * ax_prog_splint::
671 * ax_prog_ssh::
672 * ax_prog_tasm::
673 * ax_prog_tasm_opt::
674 * ax_prog_tcl::
675 * ax_prog_xsltproc::
676 * ax_prog_yasm::
677 * ax_prog_yasm_opt::
678 * ax_prototype::
679 * ax_prototype_accept::
680 * ax_prototype_getsockname::
681 * ax_prototype_setsockopt::
682 * ax_pthread::
683 * ax_python::
684 * ax_python_config_var::
685 * ax_python_devel::
686 * ax_python_embed::
687 * ax_python_module::
688 * ax_python_module_version::
689 * ax_r_package::
690 * ax_recursive_eval::
691 * ax_require_defined::
692 * ax_require_one_func::
693 * ax_restore_flags::
694 * ax_restore_flags_with_prefix::
695 * ax_rpm_init::
696 * ax_ruby_devel::
697 * ax_ruby_ext::
698 * ax_save_flags::
699 * ax_save_flags_with_prefix::
700 * ax_set_default_paths_system::
701 * ax_short_sleep::
702 * ax_silent_mode::
703 * ax_sip_devel::
704 * ax_spec_file::
705 * ax_spec_package_version::
706 * ax_split_version::
707 * ax_string_strcasecmp::
708 * ax_strings_strcasecmp::
709 * ax_struct_semun::
710 * ax_subdir_files::
711 * ax_subdirs_configure::
712 * ax_subst_with::
713 * ax_swig_enable_cxx::
714 * ax_swig_multi_module_support::
715 * ax_swig_python::
716 * ax_switch_flags::
717 * ax_sys_dev_poll::
718 * ax_sys_largefile_sensitive::
719 * ax_sys_perlsharpbang::
720 * ax_sys_weak_alias::
721 * ax_sysv_ipc::
722 * ax_tls::
723 * ax_trilinos_amesos::
724 * ax_trilinos_base::
725 * ax_trilinos_epetra::
726 * ax_trilinos_epetraext::
727 * ax_trilinos_epetraext_hdf5::
728 * ax_trilinos_rtop::
729 * ax_trilinos_rythmos::
730 * ax_trilinos_teuchos::
731 * ax_trilinos_thyra::
732 * ax_trilinos_thyra_epetra::
733 * ax_trilinos_thyra_epetraext::
734 * ax_try_awk_anyout::
735 * ax_try_awk_expout::
736 * ax_try_compile_java::
737 * ax_try_run_java::
738 * ax_type_socklen_t::
739 * ax_upload::
740 * ax_valgrind_check::
741 * ax_var_pop::
742 * ax_var_push::
743 * ax_var_timezone_externals::
744 * ax_very_nice::
745 * ax_warning_default_aclocaldir::
746 * ax_warning_default_pkgconfig::
747 * ax_wint_t::
748 * ax_with_apxs::
749 * ax_with_build_path::
750 * ax_with_curses::
751 * ax_with_curses_extra::
752 * ax_with_dmalloc::
753 * ax_with_mpatrol::
754 * ax_with_prog::
755 * ax_xercesc::
756 * ax_xsdcxx::
757 * ax_xtra_classpath::
758 * ax_zmq::
759 * ax_zoneinfo::
760
761 
762 File: autoconf-archive.info, Node: ax_absolute_header, Next: ax_ac_append_to_file, Up: The Macros
763
764 ax_absolute_header
765 ==================
766
767 Synopsis
768 ********
769
770 AX_ABSOLUTE_HEADER(HEADER1 HEADER2 ...)
771
772 Description
773 ***********
774
775 Find the absolute name of a header file, assuming the header exists. If
776 the header were sys/inttypes.h, this macro would define
777 ABSOLUTE_SYS_INTTYPES_H to the '""' quoted absolute name of
778 sys/inttypes.h in config.h (e.g. '#define ABSOLUTE_SYS_INTTYPES_H
779 "///usr/include/sys/inttypes.h"'). The three "///" are to pacify Sun C
780 5.8, which otherwise would say "warning: #include of /usr/include/...
781 may be non-portable". Use '""', not '<>', so that the /// cannot be
782 confused with a C99 comment.
783
784 Source Code
785 ***********
786
787 Download the latest version of 'ax_absolute_header.m4'
788 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_absolute_header.m4)
789 or browse the macro's revision history
790 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_absolute_header.m4).
791
792 License
793 *******
794
795 Copyright (C) 2009 Derek Price
796 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
797
798 Copying and distribution of this file, with or without modification, are
799 permitted in any medium without royalty provided the copyright notice
800 and this notice are preserved. This file is offered as-is, without any
801 warranty.
802
803 
804 File: autoconf-archive.info, Node: ax_ac_append_to_file, Next: ax_ac_print_to_file, Prev: ax_absolute_header, Up: The Macros
805
806 ax_ac_append_to_file
807 ====================
808
809 Synopsis
810 ********
811
812 AX_AC_APPEND_TO_FILE([FILE],[DATA])
813
814 Description
815 ***********
816
817 Appends the specified data to the specified Autoconf is run. If you
818 want to append to a file when configure is run use AX_APPEND_TO_FILE
819 instead.
820
821 Source Code
822 ***********
823
824 Download the latest version of 'ax_ac_append_to_file.m4'
825 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ac_append_to_file.m4)
826 or browse the macro's revision history
827 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ac_append_to_file.m4).
828
829 License
830 *******
831
832 Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
833
834 Copying and distribution of this file, with or without modification, are
835 permitted in any medium without royalty provided the copyright notice
836 and this notice are preserved. This file is offered as-is, without any
837 warranty.
838
839 
840 File: autoconf-archive.info, Node: ax_ac_print_to_file, Next: ax_add_am_macro, Prev: ax_ac_append_to_file, Up: The Macros
841
842 ax_ac_print_to_file
843 ===================
844
845 Synopsis
846 ********
847
848 AX_AC_PRINT_TO_FILE([FILE],[DATA])
849
850 Description
851 ***********
852
853 Writes the specified data to the specified file when Autoconf is run.
854 If you want to print to a file when configure is run use
855 AX_PRINT_TO_FILE instead.
856
857 Source Code
858 ***********
859
860 Download the latest version of 'ax_ac_print_to_file.m4'
861 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ac_print_to_file.m4)
862 or browse the macro's revision history
863 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ac_print_to_file.m4).
864
865 License
866 *******
867
868 Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
869
870 Copying and distribution of this file, with or without modification, are
871 permitted in any medium without royalty provided the copyright notice
872 and this notice are preserved. This file is offered as-is, without any
873 warranty.
874
875 
876 File: autoconf-archive.info, Node: ax_add_am_macro, Next: ax_add_am_macro_static, Prev: ax_ac_print_to_file, Up: The Macros
877
878 ax_add_am_macro
879 ===============
880
881 Synopsis
882 ********
883
884 AX_ADD_AM_MACRO([RULE])
885
886 Description
887 ***********
888
889 Adds the specified rule to $AMINCLUDE. This macro will only work
890 properly with implementations of Make which allow include statements.
891 See also AX_ADD_AM_MACRO_STATIC.
892
893 Source Code
894 ***********
895
896 Download the latest version of 'ax_add_am_macro.m4'
897 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_am_macro.m4)
898 or browse the macro's revision history
899 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_am_macro.m4).
900
901 License
902 *******
903
904 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
905
906 Copying and distribution of this file, with or without modification, are
907 permitted in any medium without royalty provided the copyright notice
908 and this notice are preserved. This file is offered as-is, without any
909 warranty.
910
911 
912 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
913
914 ax_add_am_macro_static
915 ======================
916
917 Synopsis
918 ********
919
920 AX_ADD_AM_MACRO_STATIC([RULE])
921
922 Description
923 ***********
924
925 Adds the specified rule to $AMINCLUDE.
926
927 Source Code
928 ***********
929
930 Download the latest version of 'ax_add_am_macro_static.m4'
931 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_am_macro_static.m4)
932 or browse the macro's revision history
933 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_am_macro_static.m4).
934
935 License
936 *******
937
938 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
939 Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
940
941 Copying and distribution of this file, with or without modification, are
942 permitted in any medium without royalty provided the copyright notice
943 and this notice are preserved. This file is offered as-is, without any
944 warranty.
945
946 
947 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
948
949 ax_add_am_trilinos_makefile_export
950 ==================================
951
952 Synopsis
953 ********
954
955 AX_ADD_AM_TRILINOS_MAKEFILE_EXPORT(EXPORT_SUFFIX [, ACTION-IF-NOT-FOUND])
956
957 Description
958 ***********
959
960 Checks if a file named <Makefile.export.EXPORT_SUFFIX> appears in the
961 $TRILINOS_INCLUDE directory. If so, adds an include for it using the
962 AX_AM_MACROS framework.
963
964 If ACTION-IF-NOT-FOUND is not provided, configure fails.
965
966 Source Code
967 ***********
968
969 Download the latest version of 'ax_add_am_trilinos_makefile_export.m4'
970 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_am_trilinos_makefile_export.m4)
971 or browse the macro's revision history
972 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_am_trilinos_makefile_export.m4).
973
974 License
975 *******
976
977 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
978
979 Copying and distribution of this file, with or without modification, are
980 permitted in any medium without royalty provided the copyright notice
981 and this notice are preserved. This file is offered as-is, without any
982 warranty.
983
984 
985 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
986
987 ax_add_fortify_source
988 =====================
989
990 Synopsis
991 ********
992
993 AX_ADD_FORTIFY_SOURCE
994
995 Description
996 ***********
997
998 Check whether -D_FORTIFY_SOURCE=2 can be added to CPPFLAGS without macro
999 redefinition warnings. Some distributions (such as Gentoo Linux) enable
1000 _FORTIFY_SOURCE globally in their compilers, leading to unnecessary
1001 warnings in the form of
1002
1003 <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
1004 <built-in>: note: this is the location of the previous definition
1005
1006 which is a problem if -Werror is enabled. This macro checks whether
1007 _FORTIFY_SOURCE is already defined, and if not, adds -D_FORTIFY_SOURCE=2
1008 to CPPFLAGS.
1009
1010 Source Code
1011 ***********
1012
1013 Download the latest version of 'ax_add_fortify_source.m4'
1014 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_fortify_source.m4)
1015 or browse the macro's revision history
1016 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_fortify_source.m4).
1017
1018 License
1019 *******
1020
1021 Copyright (C) 2017 David Seifert <soap@gentoo.org>
1022
1023 Copying and distribution of this file, with or without modification, are
1024 permitted in any medium without royalty provided the copyright notice
1025 and this notice are preserved. This file is offered as-is, without any
1026 warranty.
1027
1028 
1029 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
1030
1031 ax_add_recursive_am_macro
1032 =========================
1033
1034 Synopsis
1035 ********
1036
1037 AX_ADD_RECURSIVE_AM_MACRO([TARGET],[RULE])
1038
1039 Description
1040 ***********
1041
1042 Adds the specified rule to $AMINCLUDE along with a TARGET-recursive rule
1043 that will call TARGET for the current directory and TARGET-am
1044 recursively for each subdirectory. See also
1045 AX_ADD_RECURSIVE_AM_MACRO_STATIC.
1046
1047 Source Code
1048 ***********
1049
1050 Download the latest version of 'ax_add_recursive_am_macro.m4'
1051 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_recursive_am_macro.m4)
1052 or browse the macro's revision history
1053 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_recursive_am_macro.m4).
1054
1055 License
1056 *******
1057
1058 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
1059
1060 Copying and distribution of this file, with or without modification, are
1061 permitted in any medium without royalty provided the copyright notice
1062 and this notice are preserved. This file is offered as-is, without any
1063 warranty.
1064
1065 
1066 File: autoconf-archive.info, Node: ax_add_recursive_am_macro_static, Next: ax_afs, Prev: ax_add_recursive_am_macro, Up: The Macros
1067
1068 ax_add_recursive_am_macro_static
1069 ================================
1070
1071 Synopsis
1072 ********
1073
1074 AX_ADD_RECURSIVE_AM_MACRO_STATIC([TARGET],[RULE])
1075
1076 Description
1077 ***********
1078
1079 Adds the specified rule to AMINCLUDE_STATIC along with a
1080 TARGET-recursive rule that will call TARGET for the current directory
1081 and TARGET-am recursively for each subdirectory.
1082
1083 Source Code
1084 ***********
1085
1086 Download the latest version of 'ax_add_recursive_am_macro_static.m4'
1087 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_recursive_am_macro_static.m4)
1088 or browse the macro's revision history
1089 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_recursive_am_macro_static.m4).
1090
1091 License
1092 *******
1093
1094 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
1095 Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
1096
1097 Copying and distribution of this file, with or without modification, are
1098 permitted in any medium without royalty provided the copyright notice
1099 and this notice are preserved. This file is offered as-is, without any
1100 warranty.
1101
1102 
1103 File: autoconf-archive.info, Node: ax_afs, Next: ax_am_jobserver, Prev: ax_add_recursive_am_macro_static, Up: The Macros
1104
1105 ax_afs
1106 ======
1107
1108 Synopsis
1109 ********
1110
1111 AX_AFS
1112
1113 Description
1114 ***********
1115
1116 This sets up the proper includes and libs needed for building programs
1117 that link with AFS. It adds a -with-afsdir option that lets you specify
1118 where the AFS includes and libs are (defaulting to /usr/afsws).
1119
1120 It also adds the -I and -L options to CPPFLAGS and LDFLAGS
1121
1122 It creates an AC_SUBST(AFSWS) that contains the directory being used.
1123
1124 It checks for -lBSD, -lsocket and -lnsl since AFS needs those if they
1125 exist. It also adds -R/usr/ucblib -L/usr/ucblib -lucb if on Solaris.
1126
1127 It sets VICE_ETC_PATH to be the directory where /usr/vice/etc lives,
1128 since AFS 3.4 uses a different define than AFS 3.5 does for that path.
1129
1130 Finally, it defines AFS_int32 to be the in32 type needed. In older
1131 versions of afs it was 'int32', and in newer versions it's 'afs_int32'.
1132
1133 Source Code
1134 ***********
1135
1136 Download the latest version of 'ax_afs.m4'
1137 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_afs.m4)
1138 or browse the macro's revision history
1139 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_afs.m4).
1140
1141 License
1142 *******
1143
1144 Copyright (C) 2008 Scott Grosch <Scott.Grosch@intel.com>
1145
1146 Copying and distribution of this file, with or without modification, are
1147 permitted in any medium without royalty provided the copyright notice
1148 and this notice are preserved. This file is offered as-is, without any
1149 warranty.
1150
1151 
1152 File: autoconf-archive.info, Node: ax_am_jobserver, Next: ax_am_macros, Prev: ax_afs, Up: The Macros
1153
1154 ax_am_jobserver
1155 ===============
1156
1157 Synopsis
1158 ********
1159
1160 AX_AM_JOBSERVER([default_value])
1161
1162 Description
1163 ***********
1164
1165 Enables the use of make's jobserver for the purpose of parallel building
1166 by passing the -j option to make.
1167
1168 The option -enable-jobserver is added to configure which can accept a
1169 yes, no, or an integer. The integer is the number of separate jobs to
1170 allow. If 'yes' is given, then the is assumed to be one more than the
1171 number of CPUs (determined through AX_COUNT_CPUS). If the value of no is
1172 given, then the jobserver is disabled. The default value is given by
1173 the first argument of the macro, or 'yes' if the argument is omitted.
1174
1175 This macro makes use of AX_AM_MACROS, so you must add the following line
1176
1177 @INC_AMINCLUDE@
1178
1179 to your Makefile.am files.
1180
1181 Source Code
1182 ***********
1183
1184 Download the latest version of 'ax_am_jobserver.m4'
1185 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_jobserver.m4)
1186 or browse the macro's revision history
1187 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_jobserver.m4).
1188
1189 License
1190 *******
1191
1192 Copyright (C) 2008 Michael Paul Bailey <jinxidoru@byu.net>
1193
1194 Copying and distribution of this file, with or without modification, are
1195 permitted in any medium without royalty provided the copyright notice
1196 and this notice are preserved. This file is offered as-is, without any
1197 warranty.
1198
1199 
1200 File: autoconf-archive.info, Node: ax_am_macros, Next: ax_am_macros_static, Prev: ax_am_jobserver, Up: The Macros
1201
1202 ax_am_macros
1203 ============
1204
1205 Synopsis
1206 ********
1207
1208 AX_AM_MACROS
1209
1210 Description
1211 ***********
1212
1213 Adds support for macros that create Make rules. You must manually add
1214 the following line
1215
1216 @INC_AMINCLUDE@
1217
1218 to your Makefile.in (or Makefile.am if you use Automake) files.
1219
1220 Source Code
1221 ***********
1222
1223 Download the latest version of 'ax_am_macros.m4'
1224 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_macros.m4)
1225 or browse the macro's revision history
1226 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_macros.m4).
1227
1228 License
1229 *******
1230
1231 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
1232
1233 Copying and distribution of this file, with or without modification, are
1234 permitted in any medium without royalty provided the copyright notice
1235 and this notice are preserved. This file is offered as-is, without any
1236 warranty.
1237
1238 
1239 File: autoconf-archive.info, Node: ax_am_macros_static, Next: ax_am_override_var, Prev: ax_am_macros, Up: The Macros
1240
1241 ax_am_macros_static
1242 ===================
1243
1244 Synopsis
1245 ********
1246
1247 AX_AM_MACROS_STATIC
1248
1249 Description
1250 ***********
1251
1252 Adds support for macros that create Automake rules. You must manually
1253 add the following line
1254
1255 include $(top_srcdir)/aminclude_static.am
1256
1257 to your Makefile.am files.
1258
1259 Source Code
1260 ***********
1261
1262 Download the latest version of 'ax_am_macros_static.m4'
1263 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_macros_static.m4)
1264 or browse the macro's revision history
1265 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_macros_static.m4).
1266
1267 License
1268 *******
1269
1270 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
1271 Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
1272
1273 Copying and distribution of this file, with or without modification, are
1274 permitted in any medium without royalty provided the copyright notice
1275 and this notice are preserved. This file is offered as-is, without any
1276 warranty.
1277
1278 
1279 File: autoconf-archive.info, Node: ax_am_override_var, Next: ax_append_compile_flags, Prev: ax_am_macros_static, Up: The Macros
1280
1281 ax_am_override_var
1282 ==================
1283
1284 Synopsis
1285 ********
1286
1287 AX_AM_OVERRIDE_VAR([varname1 varname ... ])
1288 AX_AM_OVERRIDE_FINALIZE
1289
1290 Description
1291 ***********
1292
1293 This autoconf macro generalizes the approach given in
1294 <http://lists.gnu.org/archive/html/automake/2005-09/msg00108.html> which
1295 moves user specified values for variable 'varname' given at configure
1296 time into the corresponding AM_${varname} variable and clears out
1297 'varname', allowing further manipulation by the configure script so that
1298 target specific variables can be given specialized versions. 'varname
1299 may still be specified on the make command line and will be appended as
1300 usual.
1301
1302 As an example usage, consider a project which might benefit from
1303 different compiler flags for different components. Typically this is
1304 done via target specific flags, e.g.
1305
1306 libgtest_la_CXXFLAGS = \
1307 -I $(top_srcdir)/tests \
1308 -I $(top_builddir)/tests \
1309 $(GTEST_CXXFLAGS)
1310
1311 automake will automatically append $(CXXFLAGS) - provided by the user -
1312 to the build rule for libgtest_la. That might be problematic, as
1313 CXXFLAGS may contain compiler options which are inappropriate for
1314 libgtest_la.
1315
1316 The approach laid out in the referenced mailing list message is to
1317 supply a base value for a variable during _configure_ time, during which
1318 it is possible to amend it for specific targets. The user may
1319 subsequently specify a value for the variable during _build_ time, which
1320 make will apply (via the standard automake rules) to all appropriate
1321 targets.
1322
1323 For example,
1324
1325 AX_AM_OVERRIDE_VAR([CXXFLAGS])
1326
1327 will store the value of CXXFLAGS specified at configure time into the
1328 AM_CXXFLAGS variable, AC_SUBST it, and clear CXXFLAGS. configure may
1329 then create a target specific set of flags based upon AM_CXXFLAGS, e.g.
1330
1331 # googletest uses variadic macros, which g++ -pedantic-errors
1332 # is very unhappy about
1333 AC_SUBST([GTEST_CXXFLAGS],
1334 [`AS_ECHO_N(["$AM_CXXFLAGS"]) \
1335 | sed s/-pedantic-errors/-pedantic/`
1336 ]
1337 )
1338
1339 which would be used in a Makefile.am as above. Since CXXFLAGS is
1340 cleared, the configure time value will not affect the build for
1341 libgtest_la.
1342
1343 Prior to _any other command_ which may set ${varname}, call
1344
1345 AX_AM_OVERRIDE_VAR([varname])
1346
1347 This will preserve the value (if any) passed to configure in
1348 AM_${varname} and AC_SUBST([AM_${varname}). You may pass a space
1349 separated list of variable names, or may call AX_AM_OVERRIDE_VAR
1350 multiple times for the same effect.
1351
1352 If any subsequent configure commands set ${varname} and you wish to
1353 capture the resultant value into AM_${varname} in the case where
1354 ${varname} was _not_ provided at configure time, call
1355
1356 AX_AM_OVERRIDE_FINALIZE
1357
1358 after _all_ commands which might affect any of the variables specified
1359 in calls to AX_AM_OVERRIDE_VAR. This need be done only once, but
1360 repeated calls will not cause harm.
1361
1362 There is a bit of trickery required to allow further manipulation of the
1363 AM_${varname} in a Makefile.am file. If AM_CFLAGS is used as is in a
1364 Makefile.am, e.g.
1365
1366 libfoo_la_CFLAGS = $(AM_CFLAGS)
1367
1368 then automake will emit code in Makefile.in which sets AM_CFLAGS from
1369 the configure'd value.
1370
1371 If however, AM_CFLAGS is manipulated (i.e. appended to), you will have
1372 to explicitly arrange for the configure'd value to be substituted:
1373
1374 AM_CFLAGS = @AM_CFLAGS@
1375 AM_CFLAGS += -lfoo
1376
1377 or else automake will complain about using += before =.
1378
1379 Source Code
1380 ***********
1381
1382 Download the latest version of 'ax_am_override_var.m4'
1383 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_override_var.m4)
1384 or browse the macro's revision history
1385 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_override_var.m4).
1386
1387 License
1388 *******
1389
1390 Copyright (C) 2013 Smithsonian Astrophysical Observatory
1391 Copyright (C) 2013 Diab Jerius <djerius@cfa.harvard.edu>
1392
1393 Copying and distribution of this file, with or without modification, are
1394 permitted in any medium without royalty provided the copyright notice
1395 and this notice are preserved. This file is offered as-is, without any
1396 warranty.
1397
1398 
1399 File: autoconf-archive.info, Node: ax_append_compile_flags, Next: ax_append_flag, Prev: ax_am_override_var, Up: The Macros
1400
1401 ax_append_compile_flags
1402 =======================
1403
1404 Synopsis
1405 ********
1406
1407 AX_APPEND_COMPILE_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT])
1408
1409 Description
1410 ***********
1411
1412 For every FLAG1, FLAG2 it is checked whether the compiler works with the
1413 flag. If it does, the flag is added FLAGS-VARIABLE
1414
1415 If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
1416 CFLAGS) is used. During the check the flag is always added to the
1417 current language's flags.
1418
1419 If EXTRA-FLAGS is defined, it is added to the current language's default
1420 flags (e.g. CFLAGS) when the check is done. The check is thus made
1421 with the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used
1422 to force the compiler to issue an error when a bad flag is given.
1423
1424 INPUT gives an alternative input source to AC_COMPILE_IFELSE.
1425
1426 NOTE: This macro depends on the AX_APPEND_FLAG and
1427 AX_CHECK_COMPILE_FLAG. Please keep this macro in sync with
1428 AX_APPEND_LINK_FLAGS.
1429
1430 Source Code
1431 ***********
1432
1433 Download the latest version of 'ax_append_compile_flags.m4'
1434 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_compile_flags.m4)
1435 or browse the macro's revision history
1436 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_compile_flags.m4).
1437
1438 License
1439 *******
1440
1441 Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
1442
1443 Copying and distribution of this file, with or without modification, are
1444 permitted in any medium without royalty provided the copyright notice
1445 and this notice are preserved. This file is offered as-is, without any
1446 warranty.
1447
1448 
1449 File: autoconf-archive.info, Node: ax_append_flag, Next: ax_append_link_flags, Prev: ax_append_compile_flags, Up: The Macros
1450
1451 ax_append_flag
1452 ==============
1453
1454 Synopsis
1455 ********
1456
1457 AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE])
1458
1459 Description
1460 ***********
1461
1462 FLAG is appended to the FLAGS-VARIABLE shell variable, with a space
1463 added in between.
1464
1465 If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
1466 CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains
1467 FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly
1468 FLAG.
1469
1470 NOTE: Implementation based on AX_CFLAGS_GCC_OPTION.
1471
1472 Source Code
1473 ***********
1474
1475 Download the latest version of 'ax_append_flag.m4'
1476 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_flag.m4)
1477 or browse the macro's revision history
1478 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_flag.m4).
1479
1480 License
1481 *******
1482
1483 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
1484 Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
1485
1486 Copying and distribution of this file, with or without modification, are
1487 permitted in any medium without royalty provided the copyright notice
1488 and this notice are preserved. This file is offered as-is, without any
1489 warranty.
1490
1491 
1492 File: autoconf-archive.info, Node: ax_append_link_flags, Next: ax_append_to_file, Prev: ax_append_flag, Up: The Macros
1493
1494 ax_append_link_flags
1495 ====================
1496
1497 Synopsis
1498 ********
1499
1500 AX_APPEND_LINK_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT])
1501
1502 Description
1503 ***********
1504
1505 For every FLAG1, FLAG2 it is checked whether the linker works with the
1506 flag. If it does, the flag is added FLAGS-VARIABLE
1507
1508 If FLAGS-VARIABLE is not specified, the linker's flags (LDFLAGS) is
1509 used. During the check the flag is always added to the linker's flags.
1510
1511 If EXTRA-FLAGS is defined, it is added to the linker's default flags
1512 when the check is done. The check is thus made with the flags: "LDFLAGS
1513 EXTRA-FLAGS FLAG". This can for example be used to force the linker to
1514 issue an error when a bad flag is given.
1515
1516 INPUT gives an alternative input source to AC_COMPILE_IFELSE.
1517
1518 NOTE: This macro depends on the AX_APPEND_FLAG and AX_CHECK_LINK_FLAG.
1519 Please keep this macro in sync with AX_APPEND_COMPILE_FLAGS.
1520
1521 Source Code
1522 ***********
1523
1524 Download the latest version of 'ax_append_link_flags.m4'
1525 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_link_flags.m4)
1526 or browse the macro's revision history
1527 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_link_flags.m4).
1528
1529 License
1530 *******
1531
1532 Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
1533
1534 Copying and distribution of this file, with or without modification, are
1535 permitted in any medium without royalty provided the copyright notice
1536 and this notice are preserved. This file is offered as-is, without any
1537 warranty.
1538
1539 
1540 File: autoconf-archive.info, Node: ax_append_to_file, Next: ax_arg_with_path_style, Prev: ax_append_link_flags, Up: The Macros
1541
1542 ax_append_to_file
1543 =================
1544
1545 Synopsis
1546 ********
1547
1548 AX_APPEND_TO_FILE([FILE],[DATA])
1549
1550 Description
1551 ***********
1552
1553 Appends the specified data to the specified file.
1554
1555 Source Code
1556 ***********
1557
1558 Download the latest version of 'ax_append_to_file.m4'
1559 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_to_file.m4)
1560 or browse the macro's revision history
1561 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_to_file.m4).
1562
1563 License
1564 *******
1565
1566 Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
1567
1568 Copying and distribution of this file, with or without modification, are
1569 permitted in any medium without royalty provided the copyright notice
1570 and this notice are preserved. This file is offered as-is, without any
1571 warranty.
1572
1573 
1574 File: autoconf-archive.info, Node: ax_arg_with_path_style, Next: ax_asm_inline, Prev: ax_append_to_file, Up: The Macros
1575
1576 ax_arg_with_path_style
1577 ======================
1578
1579 Synopsis
1580 ********
1581
1582 AX_ARG_WITH_PATH_STYLE
1583
1584 Description
1585 ***********
1586
1587 _AC_DEFINE(PATH_STYLE) describing the filesys interface. The value is
1588 numeric, where the basetype is encoded as 16 = dos/win, 32 = unix, 64 =
1589 url/www, 0 = other
1590
1591 some extra semantics are described in other bits of the value,
1592 especially
1593
1594 1024 accepts "/" as a dir separator
1595 2048 accepts ";" as a path separator
1596 4096 accepts "," as a path separator
1597
1598 the macro provides a configure' -with-path-style option that can be used
1599 with descriptive arg names. If not explicitly given, the $target_os
1600 will be checked to provide a sane default. Additional (lower) bits can
1601 be used by the user for some additional magic, higher bits are reserved
1602 for this macro.
1603
1604 the mnemonic "strict" or "also" is used to instruct the code that
1605 additional separators shall be accepted but converted to the separator
1606 of the underlying pathstyle system. (or-512)
1607
1608 example: --with-path-style=win,slash
1609 to make it accept ";" as pathsep, and
1610 both "/" and "\" as dirseps.
1611
1612 Source Code
1613 ***********
1614
1615 Download the latest version of 'ax_arg_with_path_style.m4'
1616 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_arg_with_path_style.m4)
1617 or browse the macro's revision history
1618 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_arg_with_path_style.m4).
1619
1620 License
1621 *******
1622
1623 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
1624
1625 This program is free software; you can redistribute it and/or modify it
1626 under the terms of the GNU General Public License as published by the
1627 Free Software Foundation; either version 3 of the License, or (at your
1628 option) any later version.
1629
1630 This program is distributed in the hope that it will be useful, but
1631 WITHOUT ANY WARRANTY; without even the implied warranty of
1632 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
1633 Public License for more details.
1634
1635 You should have received a copy of the GNU General Public License along
1636 with this program. If not, see <https://www.gnu.org/licenses/>.
1637
1638 As a special exception, the respective Autoconf Macro's copyright owner
1639 gives unlimited permission to copy, distribute and modify the configure
1640 scripts that are the output of Autoconf when processing the Macro. You
1641 need not follow the terms of the GNU General Public License when using
1642 or distributing such scripts, even though portions of the text of the
1643 Macro appear in them. The GNU General Public License (GPL) does govern
1644 all other use of the material that constitutes the Autoconf Macro.
1645
1646 This special exception to the GPL applies to versions of the Autoconf
1647 Macro released by the Autoconf Archive. When you make and distribute a
1648 modified version of the Autoconf Macro, you may extend this special
1649 exception to the GPL to apply to your modified version as well.
1650
1651 
1652 File: autoconf-archive.info, Node: ax_asm_inline, Next: ax_at_check_pattern, Prev: ax_arg_with_path_style, Up: The Macros
1653
1654 ax_asm_inline
1655 =============
1656
1657 Synopsis
1658 ********
1659
1660 AX_ASM_INLINE()
1661
1662 Description
1663 ***********
1664
1665 Tests for C compiler support of inline assembly instructions. If inline
1666 assembly is supported, this macro #defines ASM_INLINE to be the
1667 appropriate keyword.
1668
1669 Source Code
1670 ***********
1671
1672 Download the latest version of 'ax_asm_inline.m4'
1673 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_asm_inline.m4)
1674 or browse the macro's revision history
1675 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_asm_inline.m4).
1676
1677 License
1678 *******
1679
1680 Copyright (C) 2008 Alan Woodland <ajw05@aber.ac.uk>
1681 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
1682 Copyright (C) 2017 Reini Urban <rurban@cpan.org>
1683
1684 Copying and distribution of this file, with or without modification, are
1685 permitted in any medium without royalty provided the copyright notice
1686 and this notice are preserved. This file is offered as-is, without any
1687 warranty.
1688
1689 
1690 File: autoconf-archive.info, Node: ax_at_check_pattern, Next: ax_auto_include_headers, Prev: ax_asm_inline, Up: The Macros
1691
1692 ax_at_check_pattern
1693 ===================
1694
1695 Synopsis
1696 ********
1697
1698 AX_AT_CHECK_PATTERN(COMMANDS, [STATUS], [STDOUT-RE], [STDERR-RE], [RUN-IF-FAIL], [RUN-IF-PASS])
1699 AX_AT_DIFF_PATTERN(PATTERN-FILE, TEST-FILE, [STATUS=0], [DIFFERENCES])
1700
1701 Description
1702 ***********
1703
1704 AX_AT_CHECK_PATTERN() executes a test similar to AT_CHECK(), except that
1705 stdout and stderr are awk regular expressions (REs).
1706
1707 NOTE: as autoconf uses [] for quoting, the use of [brackets] in the RE
1708 arguments STDOUT-RE and STDERR-RE can be awkward and require careful
1709 extra quoting, or quadrigraphs '@<:@' (for '[') and '@:>@' (for ']').
1710
1711 awk is invoked via $AWK, which defaults to "awk" if unset or empty.
1712
1713 Implemented using AT_CHECK() with a custom value for $at_diff that
1714 invokes diff with an awk post-processor.
1715
1716 AX_AT_DIFF_PATTERN() checks that the PATTERN-FILE applies to TEST-FILE.
1717 If there are differences, STATUS will be 1 and they should be
1718 DIFFERENCES.
1719
1720 Source Code
1721 ***********
1722
1723 Download the latest version of 'ax_at_check_pattern.m4'
1724 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_at_check_pattern.m4)
1725 or browse the macro's revision history
1726 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_at_check_pattern.m4).
1727
1728 License
1729 *******
1730
1731 Copyright (C) 2013-2014 Luke Mewburn <luke@mewburn.net>
1732
1733 Copying and distribution of this file, with or without modification, are
1734 permitted in any medium without royalty provided the copyright notice
1735 and this notice are preserved. This file is offered as-is, without any
1736 warranty.
1737
1738 
1739 File: autoconf-archive.info, Node: ax_auto_include_headers, Next: ax_berkeley_db, Prev: ax_at_check_pattern, Up: The Macros
1740
1741 ax_auto_include_headers
1742 =======================
1743
1744 Synopsis
1745 ********
1746
1747 AX_AUTO_INCLUDE_HEADERS(INCLUDE-FILE ...)
1748
1749 Description
1750 ***********
1751
1752 Given a space-separated list of INCLUDE-FILEs, AX_AUTO_INCLUDE_HEADERS
1753 will output a conditional #include for each INCLUDE-FILE. The following
1754 example demonstrates how AX_AUTO_INCLUDE_HEADERS's might be used in a
1755 configure.ac script:
1756
1757 AH_BOTTOM([
1758 AX_AUTO_INCLUDE_HEADERS([sys/resource.h invent.h sys/sysinfo.h])dnl
1759 ])
1760
1761 The preceding invocation instructs autoheader to put the following code
1762 at the bottom of the config.h file:
1763
1764 #ifdef HAVE_SYS_RESOURCE_H
1765 # include <sys/resource.h>
1766 #endif
1767 #ifdef HAVE_INVENT_H
1768 # include <invent.h>
1769 #endif
1770 #ifdef HAVE_SYS_SYSINFO_H
1771 # include <sys/sysinfo.h>
1772 #endif
1773
1774 Note that AX_AUTO_INCLUDE_HEADERS merely outputs #ifdef/#include/#endif
1775 blocks. The configure.ac script still needs to invoke AC_CHECK_HEADERS
1776 to #define the various HAVE_*_H preprocessor macros.
1777
1778 Here's an easy way to get from config.h a complete list of header files
1779 who existence is tested by the configure script:
1780
1781 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 "$_ "}'
1782
1783 You can then manually edit the resulting list and incorporate it into
1784 one or more calls to AX_AUTO_INCLUDE_HEADERS.
1785
1786 Source Code
1787 ***********
1788
1789 Download the latest version of 'ax_auto_include_headers.m4'
1790 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_auto_include_headers.m4)
1791 or browse the macro's revision history
1792 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_auto_include_headers.m4).
1793
1794 License
1795 *******
1796
1797 Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
1798
1799 Copying and distribution of this file, with or without modification, are
1800 permitted in any medium without royalty provided the copyright notice
1801 and this notice are preserved. This file is offered as-is, without any
1802 warranty.
1803
1804 
1805 File: autoconf-archive.info, Node: ax_berkeley_db, Next: ax_berkeley_db_cxx, Prev: ax_auto_include_headers, Up: The Macros
1806
1807 ax_berkeley_db
1808 ==============
1809
1810 Synopsis
1811 ********
1812
1813 AX_BERKELEY_DB([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
1814
1815 Description
1816 ***********
1817
1818 This macro tries to find Berkeley DB. It honors MINIMUM-VERSION if
1819 given.
1820
1821 If libdb is found, DB_HEADER and DB_LIBS variables are set and
1822 ACTION-IF-FOUND shell code is executed if specified. DB_HEADER is set
1823 to location of db.h header in quotes (e.g. "db3/db.h") and
1824 AC_DEFINE_UNQUOTED is called on it, so that you can type
1825
1826 #include DB_HEADER
1827
1828 in your C/C++ code. DB_LIBS is set to linker flags needed to link
1829 against the library (e.g. -ldb3.1) and AC_SUBST is called on it.
1830
1831 when specified user-selected spot (via -with-libdb) also sets
1832
1833 DB_CPPFLAGS to the include directives required
1834 DB_LDFLAGS to the -L flags required
1835
1836 Source Code
1837 ***********
1838
1839 Download the latest version of 'ax_berkeley_db.m4'
1840 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_berkeley_db.m4)
1841 or browse the macro's revision history
1842 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_berkeley_db.m4).
1843
1844 License
1845 *******
1846
1847 Copyright (C) 2008 Vaclav Slavik <vaclav.slavik@matfyz.cz>
1848 Copyright (C) 2014 Kirill A. Korinskiy <catap@catap.ru>
1849
1850 Copying and distribution of this file, with or without modification, are
1851 permitted in any medium without royalty provided the copyright notice
1852 and this notice are preserved. This file is offered as-is, without any
1853 warranty.
1854
1855 
1856 File: autoconf-archive.info, Node: ax_berkeley_db_cxx, Next: ax_blas, Prev: ax_berkeley_db, Up: The Macros
1857
1858 ax_berkeley_db_cxx
1859 ==================
1860
1861 Synopsis
1862 ********
1863
1864 AX_BERKELEY_DB_CXX([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
1865
1866 Description
1867 ***********
1868
1869 This macro tries to find Berkeley DB C++ support. It honors
1870 MINIMUM-VERSION if given.
1871
1872 If libdb_cxx is found, DB_CXX_HEADER and DB_CXX_LIBS variables are set
1873 and ACTION-IF-FOUND shell code is executed if specified. DB_CXX_HEADER
1874 is set to location of db.h header in quotes (e.g. "db3/db_cxx.h") and
1875 AC_DEFINE_UNQUOTED is called on it, so that you can type
1876
1877 #include DB_CXX_HEADER
1878
1879 in your C/C++ code. DB_CXX_LIBS is set to linker flags needed to link
1880 against the library (e.g. -ldb3.1_cxx) and AC_SUBST is called on it.
1881
1882 when specified user-selected spot (via -with-libdb) also sets
1883
1884 DB_CXX_CPPFLAGS to the include directives required
1885 DB_CXX_LDFLAGS to the -L flags required
1886
1887 Source Code
1888 ***********
1889
1890 Download the latest version of 'ax_berkeley_db_cxx.m4'
1891 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_berkeley_db_cxx.m4)
1892 or browse the macro's revision history
1893 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_berkeley_db_cxx.m4).
1894
1895 License
1896 *******
1897
1898 Copyright (C) 2008 Vaclav Slavik <vaclav.slavik@matfyz.cz>
1899 Copyright (C) 2011 Stephan Suerken <absurd@debian.org>
1900 Copyright (C) 2014 Kirill A. Korinskiy <catap@catap.ru>
1901
1902 Copying and distribution of this file, with or without modification, are
1903 permitted in any medium without royalty provided the copyright notice
1904 and this notice are preserved. This file is offered as-is, without any
1905 warranty.
1906
1907 
1908 File: autoconf-archive.info, Node: ax_blas, Next: ax_blas_f77_func, Prev: ax_berkeley_db_cxx, Up: The Macros
1909
1910 ax_blas
1911 =======
1912
1913 Synopsis
1914 ********
1915
1916 AX_BLAS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
1917
1918 Description
1919 ***********
1920
1921 This macro looks for a library that implements the BLAS linear-algebra
1922 interface (see http://www.netlib.org/blas/). On success, it sets the
1923 BLAS_LIBS output variable to hold the requisite library linkages.
1924
1925 To link with BLAS, you should link with:
1926
1927 $BLAS_LIBS $LIBS $FLIBS
1928
1929 in that order. FLIBS is the output variable of the
1930 AC_F77_LIBRARY_LDFLAGS macro (called if necessary by AX_BLAS), and is
1931 sometimes necessary in order to link with F77 libraries. Users will
1932 also need to use AC_F77_DUMMY_MAIN (see the autoconf manual), for the
1933 same reason.
1934
1935 Many libraries are searched for, from ATLAS to CXML to ESSL. The user
1936 may also use -with-blas=<lib> in order to use some specific BLAS library
1937 <lib>. In order to link successfully, however, be aware that you will
1938 probably need to use the same Fortran compiler (which can be set via the
1939 F77 env. var.) as was used to compile the BLAS library.
1940
1941 ACTION-IF-FOUND is a list of shell commands to run if a BLAS library is
1942 found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
1943 not found. If ACTION-IF-FOUND is not specified, the default action will
1944 define HAVE_BLAS.
1945
1946 Source Code
1947 ***********
1948
1949 Download the latest version of 'ax_blas.m4'
1950 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_blas.m4)
1951 or browse the macro's revision history
1952 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_blas.m4).
1953
1954 License
1955 *******
1956
1957 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
1958
1959 This program is free software: you can redistribute it and/or modify it
1960 under the terms of the GNU General Public License as published by the
1961 Free Software Foundation, either version 3 of the License, or (at your
1962 option) any later version.
1963
1964 This program is distributed in the hope that it will be useful, but
1965 WITHOUT ANY WARRANTY; without even the implied warranty of
1966 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
1967 Public License for more details.
1968
1969 You should have received a copy of the GNU General Public License along
1970 with this program. If not, see <https://www.gnu.org/licenses/>.
1971
1972 As a special exception, the respective Autoconf Macro's copyright owner
1973 gives unlimited permission to copy, distribute and modify the configure
1974 scripts that are the output of Autoconf when processing the Macro. You
1975 need not follow the terms of the GNU General Public License when using
1976 or distributing such scripts, even though portions of the text of the
1977 Macro appear in them. The GNU General Public License (GPL) does govern
1978 all other use of the material that constitutes the Autoconf Macro.
1979
1980 This special exception to the GPL applies to versions of the Autoconf
1981 Macro released by the Autoconf Archive. When you make and distribute a
1982 modified version of the Autoconf Macro, you may extend this special
1983 exception to the GPL to apply to your modified version as well.
1984
1985 
1986 File: autoconf-archive.info, Node: ax_blas_f77_func, Next: ax_boost_asio, Prev: ax_blas, Up: The Macros
1987
1988 ax_blas_f77_func
1989 ================
1990
1991 Synopsis
1992 ********
1993
1994 AX_BLAS_F77_FUNC([ACTION-IF-PASS[, ACTION-IF-FAIL[, ACTION-IF-CROSS-COMPILING]])
1995 AX_BLAS_WITH_F77_FUNC([ACTION-IF-FOUND-AND-PASS[, ACTION-IF-NOT-FOUND-OR-FAIL]])
1996
1997 Description
1998 ***********
1999
2000 These macros are intended as a supplement to the AX_BLAS macro, to
2001 verify that BLAS functions are properly callable from Fortran. This is
2002 necessary, for example, if you want to build the LAPACK library on top
2003 of the BLAS.
2004
2005 AX_BLAS_F77_FUNC uses the defined BLAS_LIBS and Fortran environment to
2006 check for compatibility, and takes a specific action in case of success,
2007 resp. failure, resp. cross-compilation.
2008
2009 AX_BLAS_WITH_F77_FUNC is a drop-in replacement wrapper for AX_BLAS that
2010 calls AX_BLAS_F77_FUNC after detecting a BLAS library and rejects it on
2011 failure (i.e. pretends that no library was found).
2012
2013 Source Code
2014 ***********
2015
2016 Download the latest version of 'ax_blas_f77_func.m4'
2017 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_blas_f77_func.m4)
2018 or browse the macro's revision history
2019 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_blas_f77_func.m4).
2020
2021 License
2022 *******
2023
2024 Copyright (C) 2008 Jaroslav Hajek <highegg@gmail.com>
2025
2026 This program is free software: you can redistribute it and/or modify it
2027 under the terms of the GNU General Public License as published by the
2028 Free Software Foundation, either version 3 of the License, or (at your
2029 option) any later version.
2030
2031 This program is distributed in the hope that it will be useful, but
2032 WITHOUT ANY WARRANTY; without even the implied warranty of
2033 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2034 Public License for more details.
2035
2036 You should have received a copy of the GNU General Public License along
2037 with this program. If not, see <https://www.gnu.org/licenses/>.
2038
2039 As a special exception, the respective Autoconf Macro's copyright owner
2040 gives unlimited permission to copy, distribute and modify the configure
2041 scripts that are the output of Autoconf when processing the Macro. You
2042 need not follow the terms of the GNU General Public License when using
2043 or distributing such scripts, even though portions of the text of the
2044 Macro appear in them. The GNU General Public License (GPL) does govern
2045 all other use of the material that constitutes the Autoconf Macro.
2046
2047 This special exception to the GPL applies to versions of the Autoconf
2048 Macro released by the Autoconf Archive. When you make and distribute a
2049 modified version of the Autoconf Macro, you may extend this special
2050 exception to the GPL to apply to your modified version as well.
2051
2052 
2053 File: autoconf-archive.info, Node: ax_boost_asio, Next: ax_boost_base, Prev: ax_blas_f77_func, Up: The Macros
2054
2055 ax_boost_asio
2056 =============
2057
2058 Synopsis
2059 ********
2060
2061 AX_BOOST_ASIO
2062
2063 Description
2064 ***********
2065
2066 Test for Asio library from the Boost C++ libraries. The macro requires
2067 a preceding call to AX_BOOST_BASE. Further documentation is available at
2068 <http://randspringer.de/boost/index.html>.
2069
2070 This macro calls:
2071
2072 AC_SUBST(BOOST_ASIO_LIB)
2073
2074 And sets:
2075
2076 HAVE_BOOST_ASIO
2077
2078 Source Code
2079 ***********
2080
2081 Download the latest version of 'ax_boost_asio.m4'
2082 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_asio.m4)
2083 or browse the macro's revision history
2084 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_asio.m4).
2085
2086 License
2087 *******
2088
2089 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2090 Copyright (C) 2008 Pete Greenwell <pete@mu.org>
2091
2092 Copying and distribution of this file, with or without modification, are
2093 permitted in any medium without royalty provided the copyright notice
2094 and this notice are preserved. This file is offered as-is, without any
2095 warranty.
2096
2097 
2098 File: autoconf-archive.info, Node: ax_boost_base, Next: ax_boost_chrono, Prev: ax_boost_asio, Up: The Macros
2099
2100 ax_boost_base
2101 =============
2102
2103 Synopsis
2104 ********
2105
2106 AX_BOOST_BASE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
2107
2108 Description
2109 ***********
2110
2111 Test for the Boost C++ libraries of a particular version (or newer)
2112
2113 If no path to the installed boost library is given the macro searchs
2114 under /usr, /usr/local, /opt and /opt/local and evaluates the
2115 $BOOST_ROOT environment variable. Further documentation is available at
2116 <http://randspringer.de/boost/index.html>.
2117
2118 This macro calls:
2119
2120 AC_SUBST(BOOST_CPPFLAGS) / AC_SUBST(BOOST_LDFLAGS)
2121
2122 And sets:
2123
2124 HAVE_BOOST
2125
2126 Source Code
2127 ***********
2128
2129 Download the latest version of 'ax_boost_base.m4'
2130 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_base.m4)
2131 or browse the macro's revision history
2132 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_base.m4).
2133
2134 License
2135 *******
2136
2137 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2138 Copyright (C) 2009 Peter Adolphs
2139
2140 Copying and distribution of this file, with or without modification, are
2141 permitted in any medium without royalty provided the copyright notice
2142 and this notice are preserved. This file is offered as-is, without any
2143 warranty.
2144
2145 
2146 File: autoconf-archive.info, Node: ax_boost_chrono, Next: ax_boost_context, Prev: ax_boost_base, Up: The Macros
2147
2148 ax_boost_chrono
2149 ===============
2150
2151 Synopsis
2152 ********
2153
2154 AX_BOOST_CHRONO
2155
2156 Description
2157 ***********
2158
2159 Test for Chrono library from the Boost C++ libraries. The macro
2160 requires a preceding call to AX_BOOST_BASE. Further documentation is
2161 available at <http://randspringer.de/boost/index.html>.
2162
2163 This macro calls:
2164
2165 AC_SUBST(BOOST_CHRONO_LIB)
2166
2167 And sets:
2168
2169 HAVE_BOOST_CHRONO
2170
2171 Source Code
2172 ***********
2173
2174 Download the latest version of 'ax_boost_chrono.m4'
2175 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_chrono.m4)
2176 or browse the macro's revision history
2177 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_chrono.m4).
2178
2179 License
2180 *******
2181
2182 Copyright (C) 2012 Xiyue Deng <manphiz@gmail.com>
2183
2184 Copying and distribution of this file, with or without modification, are
2185 permitted in any medium without royalty provided the copyright notice
2186 and this notice are preserved. This file is offered as-is, without any
2187 warranty.
2188
2189 
2190 File: autoconf-archive.info, Node: ax_boost_context, Next: ax_boost_coroutine, Prev: ax_boost_chrono, Up: The Macros
2191
2192 ax_boost_context
2193 ================
2194
2195 Synopsis
2196 ********
2197
2198 AX_BOOST_CONTEXT
2199
2200 Description
2201 ***********
2202
2203 Test for Context library from the Boost C++ libraries. The macro
2204 requires a preceding call to AX_BOOST_BASE. Further documentation is
2205 available at <http://randspringer.de/boost/index.html>.
2206
2207 This macro calls:
2208
2209 AC_SUBST(BOOST_CONTEXT_LIB)
2210
2211 And sets:
2212
2213 HAVE_BOOST_CONTEXT
2214
2215 Source Code
2216 ***********
2217
2218 Download the latest version of 'ax_boost_context.m4'
2219 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_context.m4)
2220 or browse the macro's revision history
2221 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_context.m4).
2222
2223 License
2224 *******
2225
2226 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2227 Copyright (C) 2008 Michael Tindal
2228 Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
2229
2230 Copying and distribution of this file, with or without modification, are
2231 permitted in any medium without royalty provided the copyright notice
2232 and this notice are preserved. This file is offered as-is, without any
2233 warranty.
2234
2235 
2236 File: autoconf-archive.info, Node: ax_boost_coroutine, Next: ax_boost_date_time, Prev: ax_boost_context, Up: The Macros
2237
2238 ax_boost_coroutine
2239 ==================
2240
2241 Synopsis
2242 ********
2243
2244 AX_BOOST_COROUTINE
2245
2246 Description
2247 ***********
2248
2249 Test for Coroutine library from the Boost C++ libraries. The macro
2250 requires a preceding call to AX_BOOST_BASE. Further documentation is
2251 available at <http://randspringer.de/boost/index.html>.
2252
2253 This macro calls:
2254
2255 AC_SUBST(BOOST_COROUTINE_LIB)
2256
2257 And sets:
2258
2259 HAVE_BOOST_COROUTINE
2260
2261 Source Code
2262 ***********
2263
2264 Download the latest version of 'ax_boost_coroutine.m4'
2265 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_coroutine.m4)
2266 or browse the macro's revision history
2267 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_coroutine.m4).
2268
2269 License
2270 *******
2271
2272 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2273 Copyright (C) 2008 Michael Tindal
2274 Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
2275
2276 Copying and distribution of this file, with or without modification, are
2277 permitted in any medium without royalty provided the copyright notice
2278 and this notice are preserved. This file is offered as-is, without any
2279 warranty.
2280
2281 
2282 File: autoconf-archive.info, Node: ax_boost_date_time, Next: ax_boost_filesystem, Prev: ax_boost_coroutine, Up: The Macros
2283
2284 ax_boost_date_time
2285 ==================
2286
2287 Synopsis
2288 ********
2289
2290 AX_BOOST_DATE_TIME
2291
2292 Description
2293 ***********
2294
2295 Test for Date_Time library from the Boost C++ libraries. The macro
2296 requires a preceding call to AX_BOOST_BASE. Further documentation is
2297 available at <http://randspringer.de/boost/index.html>.
2298
2299 This macro calls:
2300
2301 AC_SUBST(BOOST_DATE_TIME_LIB)
2302
2303 And sets:
2304
2305 HAVE_BOOST_DATE_TIME
2306
2307 Source Code
2308 ***********
2309
2310 Download the latest version of 'ax_boost_date_time.m4'
2311 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_date_time.m4)
2312 or browse the macro's revision history
2313 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_date_time.m4).
2314
2315 License
2316 *******
2317
2318 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2319 Copyright (C) 2008 Michael Tindal
2320
2321 Copying and distribution of this file, with or without modification, are
2322 permitted in any medium without royalty provided the copyright notice
2323 and this notice are preserved. This file is offered as-is, without any
2324 warranty.
2325
2326 
2327 File: autoconf-archive.info, Node: ax_boost_filesystem, Next: ax_boost_iostreams, Prev: ax_boost_date_time, Up: The Macros
2328
2329 ax_boost_filesystem
2330 ===================
2331
2332 Synopsis
2333 ********
2334
2335 AX_BOOST_FILESYSTEM
2336
2337 Description
2338 ***********
2339
2340 Test for Filesystem library from the Boost C++ libraries. The macro
2341 requires a preceding call to AX_BOOST_BASE. Further documentation is
2342 available at <http://randspringer.de/boost/index.html>.
2343
2344 This macro calls:
2345
2346 AC_SUBST(BOOST_FILESYSTEM_LIB)
2347
2348 And sets:
2349
2350 HAVE_BOOST_FILESYSTEM
2351
2352 Source Code
2353 ***********
2354
2355 Download the latest version of 'ax_boost_filesystem.m4'
2356 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_filesystem.m4)
2357 or browse the macro's revision history
2358 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_filesystem.m4).
2359
2360 License
2361 *******
2362
2363 Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
2364 Copyright (C) 2009 Michael Tindal
2365 Copyright (C) 2009 Roman Rybalko <libtorrent@romanr.info>
2366
2367 Copying and distribution of this file, with or without modification, are
2368 permitted in any medium without royalty provided the copyright notice
2369 and this notice are preserved. This file is offered as-is, without any
2370 warranty.
2371
2372 
2373 File: autoconf-archive.info, Node: ax_boost_iostreams, Next: ax_boost_locale, Prev: ax_boost_filesystem, Up: The Macros
2374
2375 ax_boost_iostreams
2376 ==================
2377
2378 Synopsis
2379 ********
2380
2381 AX_BOOST_IOSTREAMS
2382
2383 Description
2384 ***********
2385
2386 Test for IOStreams library from the Boost C++ libraries. The macro
2387 requires a preceding call to AX_BOOST_BASE. Further documentation is
2388 available at <http://randspringer.de/boost/index.html>.
2389
2390 This macro calls:
2391
2392 AC_SUBST(BOOST_IOSTREAMS_LIB)
2393
2394 And sets:
2395
2396 HAVE_BOOST_IOSTREAMS
2397
2398 Source Code
2399 ***********
2400
2401 Download the latest version of 'ax_boost_iostreams.m4'
2402 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_iostreams.m4)
2403 or browse the macro's revision history
2404 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_iostreams.m4).
2405
2406 License
2407 *******
2408
2409 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2410
2411 Copying and distribution of this file, with or without modification, are
2412 permitted in any medium without royalty provided the copyright notice
2413 and this notice are preserved. This file is offered as-is, without any
2414 warranty.
2415
2416 
2417 File: autoconf-archive.info, Node: ax_boost_locale, Next: ax_boost_log, Prev: ax_boost_iostreams, Up: The Macros
2418
2419 ax_boost_locale
2420 ===============
2421
2422 Synopsis
2423 ********
2424
2425 AX_BOOST_LOCALE
2426
2427 Description
2428 ***********
2429
2430 Test for System library from the Boost C++ libraries. The macro
2431 requires a preceding call to AX_BOOST_BASE. Further documentation is
2432 available at <http://randspringer.de/boost/index.html>.
2433
2434 This macro calls:
2435
2436 AC_SUBST(BOOST_LOCALE_LIB)
2437
2438 And sets:
2439
2440 HAVE_BOOST_LOCALE
2441
2442 Source Code
2443 ***********
2444
2445 Download the latest version of 'ax_boost_locale.m4'
2446 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_locale.m4)
2447 or browse the macro's revision history
2448 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_locale.m4).
2449
2450 License
2451 *******
2452
2453 Copyright (C) 2012 Xiyue Deng <manphiz@gmail.com>
2454
2455 Copying and distribution of this file, with or without modification, are
2456 permitted in any medium without royalty provided the copyright notice
2457 and this notice are preserved. This file is offered as-is, without any
2458 warranty.
2459
2460 
2461 File: autoconf-archive.info, Node: ax_boost_log, Next: ax_boost_log_setup, Prev: ax_boost_locale, Up: The Macros
2462
2463 ax_boost_log
2464 ============
2465
2466 Synopsis
2467 ********
2468
2469 AX_BOOST_LOG
2470
2471 Description
2472 ***********
2473
2474 Test for Log library from the Boost C++ libraries. The macro requires a
2475 preceding call to AX_BOOST_BASE. Further documentation is available at
2476 <http://randspringer.de/boost/index.html>.
2477
2478 This macro calls:
2479
2480 AC_SUBST(BOOST_LOG_LIB)
2481
2482 And sets:
2483
2484 HAVE_BOOST_LOG
2485
2486 Source Code
2487 ***********
2488
2489 Download the latest version of 'ax_boost_log.m4'
2490 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_log.m4)
2491 or browse the macro's revision history
2492 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_log.m4).
2493
2494 License
2495 *******
2496
2497 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2498 Copyright (C) 2008 Michael Tindal
2499 Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
2500
2501 Copying and distribution of this file, with or without modification, are
2502 permitted in any medium without royalty provided the copyright notice
2503 and this notice are preserved. This file is offered as-is, without any
2504 warranty.
2505
2506 
2507 File: autoconf-archive.info, Node: ax_boost_log_setup, Next: ax_boost_program_options, Prev: ax_boost_log, Up: The Macros
2508
2509 ax_boost_log_setup
2510 ==================
2511
2512 Synopsis
2513 ********
2514
2515 AX_BOOST_LOG_SETUP
2516
2517 Description
2518 ***********
2519
2520 Test for LogSetup library from the Boost C++ libraries. The macro
2521 requires a preceding call to AX_BOOST_BASE. Further documentation is
2522 available at <http://randspringer.de/boost/index.html>.
2523
2524 This macro calls:
2525
2526 AC_SUBST(BOOST_LOG_SETUP_LIB)
2527
2528 And sets:
2529
2530 HAVE_BOOST_LOG_SETUP
2531
2532 Source Code
2533 ***********
2534
2535 Download the latest version of 'ax_boost_log_setup.m4'
2536 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_log_setup.m4)
2537 or browse the macro's revision history
2538 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_log_setup.m4).
2539
2540 License
2541 *******
2542
2543 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2544 Copyright (C) 2008 Michael Tindal
2545 Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
2546
2547 Copying and distribution of this file, with or without modification, are
2548 permitted in any medium without royalty provided the copyright notice
2549 and this notice are preserved. This file is offered as-is, without any
2550 warranty.
2551
2552 
2553 File: autoconf-archive.info, Node: ax_boost_program_options, Next: ax_boost_python, Prev: ax_boost_log_setup, Up: The Macros
2554
2555 ax_boost_program_options
2556 ========================
2557
2558 Synopsis
2559 ********
2560
2561 AX_BOOST_PROGRAM_OPTIONS
2562
2563 Description
2564 ***********
2565
2566 Test for program options library from the Boost C++ libraries. The
2567 macro requires a preceding call to AX_BOOST_BASE. Further documentation
2568 is available at <http://randspringer.de/boost/index.html>.
2569
2570 This macro calls:
2571
2572 AC_SUBST(BOOST_PROGRAM_OPTIONS_LIB)
2573
2574 And sets:
2575
2576 HAVE_BOOST_PROGRAM_OPTIONS
2577
2578 Source Code
2579 ***********
2580
2581 Download the latest version of 'ax_boost_program_options.m4'
2582 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_program_options.m4)
2583 or browse the macro's revision history
2584 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_program_options.m4).
2585
2586 License
2587 *******
2588
2589 Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
2590
2591 Copying and distribution of this file, with or without modification, are
2592 permitted in any medium without royalty provided the copyright notice
2593 and this notice are preserved. This file is offered as-is, without any
2594 warranty.
2595
2596 
2597 File: autoconf-archive.info, Node: ax_boost_python, Next: ax_boost_regex, Prev: ax_boost_program_options, Up: The Macros
2598
2599 ax_boost_python
2600 ===============
2601
2602 Synopsis
2603 ********
2604
2605 AX_BOOST_PYTHON
2606
2607 Description
2608 ***********
2609
2610 This macro checks to see if the Boost.Python library is installed. It
2611 also attempts to guess the correct library name using several attempts.
2612 It tries to build the library name using a user supplied name or suffix
2613 and then just the raw library.
2614
2615 If the library is found, HAVE_BOOST_PYTHON is defined and
2616 BOOST_PYTHON_LIB is set to the name of the library.
2617
2618 This macro calls AC_SUBST(BOOST_PYTHON_LIB).
2619
2620 In order to ensure that the Python headers and the Boost libraries are
2621 specified on the include path, this macro requires AX_PYTHON_DEVEL and
2622 AX_BOOST_BASE to be called.
2623
2624 Source Code
2625 ***********
2626
2627 Download the latest version of 'ax_boost_python.m4'
2628 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_python.m4)
2629 or browse the macro's revision history
2630 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_python.m4).
2631
2632 License
2633 *******
2634
2635 Copyright (C) 2008 Michael Tindal
2636 Copyright (C) 2013 Daniel M"ullner <daniel@danifold.net>
2637
2638 This program is free software; you can redistribute it and/or modify it
2639 under the terms of the GNU General Public License as published by the
2640 Free Software Foundation; either version 2 of the License, or (at your
2641 option) any later version.
2642
2643 This program is distributed in the hope that it will be useful, but
2644 WITHOUT ANY WARRANTY; without even the implied warranty of
2645 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2646 Public License for more details.
2647
2648 You should have received a copy of the GNU General Public License along
2649 with this program. If not, see <https://www.gnu.org/licenses/>.
2650
2651 As a special exception, the respective Autoconf Macro's copyright owner
2652 gives unlimited permission to copy, distribute and modify the configure
2653 scripts that are the output of Autoconf when processing the Macro. You
2654 need not follow the terms of the GNU General Public License when using
2655 or distributing such scripts, even though portions of the text of the
2656 Macro appear in them. The GNU General Public License (GPL) does govern
2657 all other use of the material that constitutes the Autoconf Macro.
2658
2659 This special exception to the GPL applies to versions of the Autoconf
2660 Macro released by the Autoconf Archive. When you make and distribute a
2661 modified version of the Autoconf Macro, you may extend this special
2662 exception to the GPL to apply to your modified version as well.
2663
2664 
2665 File: autoconf-archive.info, Node: ax_boost_regex, Next: ax_boost_serialization, Prev: ax_boost_python, Up: The Macros
2666
2667 ax_boost_regex
2668 ==============
2669
2670 Synopsis
2671 ********
2672
2673 AX_BOOST_REGEX
2674
2675 Description
2676 ***********
2677
2678 Test for Regex library from the Boost C++ libraries. The macro requires
2679 a preceding call to AX_BOOST_BASE. Further documentation is available at
2680 <http://randspringer.de/boost/index.html>.
2681
2682 This macro calls:
2683
2684 AC_SUBST(BOOST_REGEX_LIB)
2685
2686 And sets:
2687
2688 HAVE_BOOST_REGEX
2689
2690 Source Code
2691 ***********
2692
2693 Download the latest version of 'ax_boost_regex.m4'
2694 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_regex.m4)
2695 or browse the macro's revision history
2696 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_regex.m4).
2697
2698 License
2699 *******
2700
2701 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2702 Copyright (C) 2008 Michael Tindal
2703
2704 Copying and distribution of this file, with or without modification, are
2705 permitted in any medium without royalty provided the copyright notice
2706 and this notice are preserved. This file is offered as-is, without any
2707 warranty.
2708
2709 
2710 File: autoconf-archive.info, Node: ax_boost_serialization, Next: ax_boost_signals, Prev: ax_boost_regex, Up: The Macros
2711
2712 ax_boost_serialization
2713 ======================
2714
2715 Synopsis
2716 ********
2717
2718 AX_BOOST_SERIALIZATION
2719
2720 Description
2721 ***********
2722
2723 Test for Serialization library from the Boost C++ libraries. The macro
2724 requires a preceding call to AX_BOOST_BASE. Further documentation is
2725 available at <http://randspringer.de/boost/index.html>.
2726
2727 This macro calls:
2728
2729 AC_SUBST(BOOST_SERIALIZATION_LIB)
2730
2731 And sets:
2732
2733 HAVE_BOOST_SERIALIZATION
2734
2735 Source Code
2736 ***********
2737
2738 Download the latest version of 'ax_boost_serialization.m4'
2739 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_serialization.m4)
2740 or browse the macro's revision history
2741 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_serialization.m4).
2742
2743 License
2744 *******
2745
2746 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2747
2748 Copying and distribution of this file, with or without modification, are
2749 permitted in any medium without royalty provided the copyright notice
2750 and this notice are preserved. This file is offered as-is, without any
2751 warranty.
2752
2753 
2754 File: autoconf-archive.info, Node: ax_boost_signals, Next: ax_boost_system, Prev: ax_boost_serialization, Up: The Macros
2755
2756 ax_boost_signals
2757 ================
2758
2759 Synopsis
2760 ********
2761
2762 AX_BOOST_SIGNALS
2763
2764 Description
2765 ***********
2766
2767 Test for Signals library from the Boost C++ libraries. The macro
2768 requires a preceding call to AX_BOOST_BASE. Further documentation is
2769 available at <http://randspringer.de/boost/index.html>.
2770
2771 This macro calls:
2772
2773 AC_SUBST(BOOST_SIGNALS_LIB)
2774
2775 And sets:
2776
2777 HAVE_BOOST_SIGNALS
2778
2779 Source Code
2780 ***********
2781
2782 Download the latest version of 'ax_boost_signals.m4'
2783 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_signals.m4)
2784 or browse the macro's revision history
2785 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_signals.m4).
2786
2787 License
2788 *******
2789
2790 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2791 Copyright (C) 2008 Michael Tindal
2792
2793 Copying and distribution of this file, with or without modification, are
2794 permitted in any medium without royalty provided the copyright notice
2795 and this notice are preserved. This file is offered as-is, without any
2796 warranty.
2797
2798 
2799 File: autoconf-archive.info, Node: ax_boost_system, Next: ax_boost_test_exec_monitor, Prev: ax_boost_signals, Up: The Macros
2800
2801 ax_boost_system
2802 ===============
2803
2804 Synopsis
2805 ********
2806
2807 AX_BOOST_SYSTEM
2808
2809 Description
2810 ***********
2811
2812 Test for System library from the Boost C++ libraries. The macro
2813 requires a preceding call to AX_BOOST_BASE. Further documentation is
2814 available at <http://randspringer.de/boost/index.html>.
2815
2816 This macro calls:
2817
2818 AC_SUBST(BOOST_SYSTEM_LIB)
2819
2820 And sets:
2821
2822 HAVE_BOOST_SYSTEM
2823
2824 Source Code
2825 ***********
2826
2827 Download the latest version of 'ax_boost_system.m4'
2828 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_system.m4)
2829 or browse the macro's revision history
2830 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_system.m4).
2831
2832 License
2833 *******
2834
2835 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2836 Copyright (C) 2008 Michael Tindal
2837 Copyright (C) 2008 Daniel Casimiro <dan.casimiro@gmail.com>
2838
2839 Copying and distribution of this file, with or without modification, are
2840 permitted in any medium without royalty provided the copyright notice
2841 and this notice are preserved. This file is offered as-is, without any
2842 warranty.
2843
2844 
2845 File: autoconf-archive.info, Node: ax_boost_test_exec_monitor, Next: ax_boost_thread, Prev: ax_boost_system, Up: The Macros
2846
2847 ax_boost_test_exec_monitor
2848 ==========================
2849
2850 Synopsis
2851 ********
2852
2853 AX_BOOST_TEST_EXEC_MONITOR
2854
2855 Description
2856 ***********
2857
2858 Test for Test_Exec_Monitor library from the Boost C++ libraries. The
2859 macro requires a preceding call to AX_BOOST_BASE. Further documentation
2860 is available at <http://randspringer.de/boost/index.html>.
2861
2862 This macro calls:
2863
2864 AC_SUBST(BOOST_TEST_EXEC_MONITOR_LIB)
2865
2866 And sets:
2867
2868 HAVE_BOOST_TEST_EXEC_MONITOR
2869
2870 Source Code
2871 ***********
2872
2873 Download the latest version of 'ax_boost_test_exec_monitor.m4'
2874 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_test_exec_monitor.m4)
2875 or browse the macro's revision history
2876 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_test_exec_monitor.m4).
2877
2878 License
2879 *******
2880
2881 Copyright (C) 2008 Dodji Seketeli <dodji@seketeli.org>
2882 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2883
2884 Copying and distribution of this file, with or without modification, are
2885 permitted in any medium without royalty provided the copyright notice
2886 and this notice are preserved. This file is offered as-is, without any
2887 warranty.
2888
2889 
2890 File: autoconf-archive.info, Node: ax_boost_thread, Next: ax_boost_unit_test_framework, Prev: ax_boost_test_exec_monitor, Up: The Macros
2891
2892 ax_boost_thread
2893 ===============
2894
2895 Synopsis
2896 ********
2897
2898 AX_BOOST_THREAD
2899
2900 Description
2901 ***********
2902
2903 Test for Thread library from the Boost C++ libraries. The macro
2904 requires a preceding call to AX_BOOST_BASE. Further documentation is
2905 available at <http://randspringer.de/boost/index.html>.
2906
2907 This macro calls:
2908
2909 AC_SUBST(BOOST_THREAD_LIB)
2910
2911 And sets:
2912
2913 HAVE_BOOST_THREAD
2914
2915 Source Code
2916 ***********
2917
2918 Download the latest version of 'ax_boost_thread.m4'
2919 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_thread.m4)
2920 or browse the macro's revision history
2921 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_thread.m4).
2922
2923 License
2924 *******
2925
2926 Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
2927 Copyright (C) 2009 Michael Tindal
2928
2929 Copying and distribution of this file, with or without modification, are
2930 permitted in any medium without royalty provided the copyright notice
2931 and this notice are preserved. This file is offered as-is, without any
2932 warranty.
2933
2934 
2935 File: autoconf-archive.info, Node: ax_boost_unit_test_framework, Next: ax_boost_wave, Prev: ax_boost_thread, Up: The Macros
2936
2937 ax_boost_unit_test_framework
2938 ============================
2939
2940 Synopsis
2941 ********
2942
2943 AX_BOOST_UNIT_TEST_FRAMEWORK
2944
2945 Description
2946 ***********
2947
2948 Test for Unit_Test_Framework library from the Boost C++ libraries. The
2949 macro requires a preceding call to AX_BOOST_BASE. Further documentation
2950 is available at <http://randspringer.de/boost/index.html>.
2951
2952 This macro calls:
2953
2954 AC_SUBST(BOOST_UNIT_TEST_FRAMEWORK_LIB)
2955
2956 And sets:
2957
2958 HAVE_BOOST_UNIT_TEST_FRAMEWORK
2959
2960 Source Code
2961 ***********
2962
2963 Download the latest version of 'ax_boost_unit_test_framework.m4'
2964 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_unit_test_framework.m4)
2965 or browse the macro's revision history
2966 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_unit_test_framework.m4).
2967
2968 License
2969 *******
2970
2971 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2972
2973 Copying and distribution of this file, with or without modification, are
2974 permitted in any medium without royalty provided the copyright notice
2975 and this notice are preserved. This file is offered as-is, without any
2976 warranty.
2977
2978 
2979 File: autoconf-archive.info, Node: ax_boost_wave, Next: ax_boost_wserialization, Prev: ax_boost_unit_test_framework, Up: The Macros
2980
2981 ax_boost_wave
2982 =============
2983
2984 Synopsis
2985 ********
2986
2987 AX_BOOST_WAVE
2988
2989 Description
2990 ***********
2991
2992 Test for Wave library from the Boost C++ libraries. The macro requires
2993 a preceding call to AX_BOOST_BASE. Further documentation is available at
2994 <http://randspringer.de/boost/index.html>.
2995
2996 This macro calls:
2997
2998 AC_SUBST(BOOST_WAVE_LIB)
2999
3000 And sets:
3001
3002 HAVE_BOOST_WAVE
3003
3004 Source Code
3005 ***********
3006
3007 Download the latest version of 'ax_boost_wave.m4'
3008 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_wave.m4)
3009 or browse the macro's revision history
3010 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_wave.m4).
3011
3012 License
3013 *******
3014
3015 Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
3016 Copyright (C) 2009 Michael Tindal
3017
3018 Copying and distribution of this file, with or without modification, are
3019 permitted in any medium without royalty provided the copyright notice
3020 and this notice are preserved. This file is offered as-is, without any
3021 warranty.
3022
3023 
3024 File: autoconf-archive.info, Node: ax_boost_wserialization, Next: ax_build_date_epoch, Prev: ax_boost_wave, Up: The Macros
3025
3026 ax_boost_wserialization
3027 =======================
3028
3029 Synopsis
3030 ********
3031
3032 AX_BOOST_WSERIALIZATION
3033
3034 Description
3035 ***********
3036
3037 Test for Serialization library from the Boost C++ libraries. The macro
3038 requires a preceding call to AX_BOOST_BASE. Further documentation is
3039 available at <http://randspringer.de/boost/index.html>.
3040
3041 This macro calls:
3042
3043 AC_SUBST(BOOST_WSERIALIZATION_LIB)
3044
3045 And sets:
3046
3047 HAVE_BOOST_WSERIALIZATION
3048
3049 Source Code
3050 ***********
3051
3052 Download the latest version of 'ax_boost_wserialization.m4'
3053 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_wserialization.m4)
3054 or browse the macro's revision history
3055 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_wserialization.m4).
3056
3057 License
3058 *******
3059
3060 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
3061
3062 Copying and distribution of this file, with or without modification, are
3063 permitted in any medium without royalty provided the copyright notice
3064 and this notice are preserved. This file is offered as-is, without any
3065 warranty.
3066
3067 
3068 File: autoconf-archive.info, Node: ax_build_date_epoch, Next: ax_c99_inline, Prev: ax_boost_wserialization, Up: The Macros
3069
3070 ax_build_date_epoch
3071 ===================
3072
3073 Synopsis
3074 ********
3075
3076 AX_BUILD_DATE_EPOCH(VARIABLE[, FORMAT[, ACTION-IF-FAIL]])
3077
3078 Description
3079 ***********
3080
3081 Sets VARIABLE to a string representing the current time. It is
3082 formatted according to FORMAT if specified, otherwise it is formatted as
3083 the number of seconds (excluding leap seconds) since the UNIX epoch (01
3084 Jan 1970 00:00:00 UTC).
3085
3086 If the SOURCE_DATE_EPOCH environment variable is set, it uses the value
3087 of that variable instead of the current time. See
3088 https://reproducible-builds.org/specs/source-date-epoch). If
3089 SOURCE_DATE_EPOCH is set but cannot be properly interpreted as a UNIX
3090 timestamp, then execute ACTION-IF-FAIL if specified, otherwise error.
3091
3092 VARIABLE is AC_SUBST-ed.
3093
3094 Source Code
3095 ***********
3096
3097 Download the latest version of 'ax_build_date_epoch.m4'
3098 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_build_date_epoch.m4)
3099 or browse the macro's revision history
3100 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_build_date_epoch.m4).
3101
3102 License
3103 *******
3104
3105 Copyright (C) 2016 Eric Bavier <bavier@member.fsf.org>
3106
3107 This program is free software: you can redistribute it and/or modify it
3108 under the terms of the GNU General Public License as published by the
3109 Free Software Foundation, either version 3 of the License, or (at your
3110 option) any later version.
3111
3112 This program is distributed in the hope that it will be useful, but
3113 WITHOUT ANY WARRANTY; without even the implied warranty of
3114 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3115 Public License for more details.
3116
3117 You should have received a copy of the GNU General Public License along
3118 with this program. If not, see <https://www.gnu.org/licenses/>.
3119
3120 As a special exception, the respective Autoconf Macro's copyright owner
3121 gives unlimited permission to copy, distribute and modify the configure
3122 scripts that are the output of Autoconf when processing the Macro. You
3123 need not follow the terms of the GNU General Public License when using
3124 or distributing such scripts, even though portions of the text of the
3125 Macro appear in them. The GNU General Public License (GPL) does govern
3126 all other use of the material that constitutes the Autoconf Macro.
3127
3128 This special exception to the GPL applies to versions of the Autoconf
3129 Macro released by the Autoconf Archive. When you make and distribute a
3130 modified version of the Autoconf Macro, you may extend this special
3131 exception to the GPL to apply to your modified version as well.
3132
3133 
3134 File: autoconf-archive.info, Node: ax_c99_inline, Next: ax_c___attribute__, Prev: ax_build_date_epoch, Up: The Macros
3135
3136 ax_c99_inline
3137 =============
3138
3139 Synopsis
3140 ********
3141
3142 AX_C99_INLINE
3143
3144 Description
3145 ***********
3146
3147 This macro defines HAVE_C99_INLINE if the C compiler supports "inline"
3148 and "extern inline" correctly. An application may replace "inline" with
3149 "static inline" as a workaround for older compilers.
3150
3151 Source Code
3152 ***********
3153
3154 Download the latest version of 'ax_c99_inline.m4'
3155 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c99_inline.m4)
3156 or browse the macro's revision history
3157 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c99_inline.m4).
3158
3159 License
3160 *******
3161
3162 Copyright (C) 2009 Michael McMaster <email@michaelmcmaster.name>
3163
3164 Copying and distribution of this file, with or without modification, are
3165 permitted in any medium without royalty provided the copyright notice
3166 and this notice are preserved. This file is offered as-is, without any
3167 warranty.
3168
3169 
3170 File: autoconf-archive.info, Node: ax_c___attribute__, Next: ax_c_arithmetic_rshift, Prev: ax_c99_inline, Up: The Macros
3171
3172 ax_c___attribute__
3173 ==================
3174
3175 Synopsis
3176 ********
3177
3178 AX_C___ATTRIBUTE__
3179
3180 Description
3181 ***********
3182
3183 Provides a test for the compiler support of __attribute__ extensions.
3184 Defines HAVE___ATTRIBUTE__ if it is found.
3185
3186 Source Code
3187 ***********
3188
3189 Download the latest version of 'ax_c___attribute__.m4'
3190 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c___attribute__.m4)
3191 or browse the macro's revision history
3192 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c___attribute__.m4).
3193
3194 License
3195 *******
3196
3197 Copyright (C) 2008 Stepan Kasal <skasal@redhat.com>
3198 Copyright (C) 2008 Christian Haggstrom
3199 Copyright (C) 2008 Ryan McCabe <ryan@numb.org>
3200
3201 This program is free software; you can redistribute it and/or modify it
3202 under the terms of the GNU General Public License as published by the
3203 Free Software Foundation; either version 2 of the License, or (at your
3204 option) any later version.
3205
3206 This program is distributed in the hope that it will be useful, but
3207 WITHOUT ANY WARRANTY; without even the implied warranty of
3208 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3209 Public License for more details.
3210
3211 You should have received a copy of the GNU General Public License along
3212 with this program. If not, see <https://www.gnu.org/licenses/>.
3213
3214 As a special exception, the respective Autoconf Macro's copyright owner
3215 gives unlimited permission to copy, distribute and modify the configure
3216 scripts that are the output of Autoconf when processing the Macro. You
3217 need not follow the terms of the GNU General Public License when using
3218 or distributing such scripts, even though portions of the text of the
3219 Macro appear in them. The GNU General Public License (GPL) does govern
3220 all other use of the material that constitutes the Autoconf Macro.
3221
3222 This special exception to the GPL applies to versions of the Autoconf
3223 Macro released by the Autoconf Archive. When you make and distribute a
3224 modified version of the Autoconf Macro, you may extend this special
3225 exception to the GPL to apply to your modified version as well.
3226
3227 
3228 File: autoconf-archive.info, Node: ax_c_arithmetic_rshift, Next: ax_c_compile_value, Prev: ax_c___attribute__, Up: The Macros
3229
3230 ax_c_arithmetic_rshift
3231 ======================
3232
3233 Synopsis
3234 ********
3235
3236 AX_C_ARITHMETIC_RSHIFT
3237
3238 Description
3239 ***********
3240
3241 Checks if the right shift operation is arithmetic.
3242
3243 This macro uses compile-time detection and so is cross-compile ready.
3244
3245 Source Code
3246 ***********
3247
3248 Download the latest version of 'ax_c_arithmetic_rshift.m4'
3249 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_arithmetic_rshift.m4)
3250 or browse the macro's revision history
3251 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_arithmetic_rshift.m4).
3252
3253 License
3254 *******
3255
3256 Copyright (C) 2008 YAMAMOTO Kengo <yamaken@bp.iij4u.or.jp>
3257
3258 Copying and distribution of this file, with or without modification, are
3259 permitted in any medium without royalty provided the copyright notice
3260 and this notice are preserved. This file is offered as-is, without any
3261 warranty.
3262
3263 
3264 File: autoconf-archive.info, Node: ax_c_compile_value, Next: ax_c_declare_block, Prev: ax_c_arithmetic_rshift, Up: The Macros
3265
3266 ax_c_compile_value
3267 ==================
3268
3269 Synopsis
3270 ********
3271
3272 AX_C_COMPILE_VALUE (COMPILE-VALUE, ALIAS, INCLUDES)
3273
3274 Description
3275 ***********
3276
3277 The AX_C_COMPILE_VALUE macro determines a compile time value by
3278 generating the object code and reading the value from the code. Static
3279 data initializers like sizeof(int) are unavailable to preprocessor. The
3280 macro calculates the values known to compiler's static initializer.
3281
3282 Assumptions: The sought value should not exceed 65535. The shell
3283 interpreter and the sed utility are expected to exist and work similarly
3284 across possible build platforms.
3285
3286 Result: The resulting configure script will generate the preprocessor
3287 symbol definition:
3288
3289 #define COMPILE_VALUE_<ALIAS> <NUMBER>
3290
3291 It was important that the value was embedded into the object file in a
3292 predefined byte order during the test. This ensured that the result was
3293 independent from the target platform's byte order.
3294
3295 The existing AC_CHECK_SIZEOF macro also computes the size of the given
3296 type without running the test program. However, the existing macro will
3297 produce a piece of configure script that will take the time proportional
3298 to the logarithm of the sought value.
3299
3300 Example of use in configure.in:
3301
3302 AX_C_COMPILE_VALUE(sizeof(int), sizeof_int)
3303 AX_C_COMPILE_VALUE([sizeof(int[[543]])], sizeof_int543)
3304
3305 As a result of running the generated configure script, the following
3306 definition will appear in config.h:
3307
3308 #define COMPILE_VALUE_SIZEOF_INT 4
3309 #define COMPILE_VALUE_SIZEOF_INT543 2172
3310
3311 Source Code
3312 ***********
3313
3314 Download the latest version of 'ax_c_compile_value.m4'
3315 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_compile_value.m4)
3316 or browse the macro's revision history
3317 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_compile_value.m4).
3318
3319 License
3320 *******
3321
3322 Copyright (C) 2008 Ilguiz Latypov
3323
3324 This program is free software; you can redistribute it and/or modify it
3325 under the terms of the GNU General Public License as published by the
3326 Free Software Foundation; either version 2 of the License, or (at your
3327 option) any later version.
3328
3329 This program is distributed in the hope that it will be useful, but
3330 WITHOUT ANY WARRANTY; without even the implied warranty of
3331 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3332 Public License for more details.
3333
3334 You should have received a copy of the GNU General Public License along
3335 with this program. If not, see <https://www.gnu.org/licenses/>.
3336
3337 As a special exception, the respective Autoconf Macro's copyright owner
3338 gives unlimited permission to copy, distribute and modify the configure
3339 scripts that are the output of Autoconf when processing the Macro. You
3340 need not follow the terms of the GNU General Public License when using
3341 or distributing such scripts, even though portions of the text of the
3342 Macro appear in them. The GNU General Public License (GPL) does govern
3343 all other use of the material that constitutes the Autoconf Macro.
3344
3345 This special exception to the GPL applies to versions of the Autoconf
3346 Macro released by the Autoconf Archive. When you make and distribute a
3347 modified version of the Autoconf Macro, you may extend this special
3348 exception to the GPL to apply to your modified version as well.
3349
3350 
3351 File: autoconf-archive.info, Node: ax_c_declare_block, Next: ax_c_float_words_bigendian, Prev: ax_c_compile_value, Up: The Macros
3352
3353 ax_c_declare_block
3354 ==================
3355
3356 Synopsis
3357 ********
3358
3359 AX_C_DECLARE_BLOCK
3360
3361 Description
3362 ***********
3363
3364 The macro will compile a test program to see whether the compiler does
3365 allow new variable declarations in the middle of a C statement block,
3366 i.e. after some non-declaration line. New compilers will allow that
3367 which makes the behave a bit more like C++ - the gcc did support it for
3368 quite a time already.
3369
3370 #define DECLARE_BLOCK_NEEDED says they need to be at the beginning of of
3371 a statement block. Additionally two defines DECLARE_BLOCK { and
3372 DECLARE_END } are being set. That makes it possible to do the following
3373 in your source code (which this macro is really made up for):
3374
3375 #define ___ DECLARE_BLOCK
3376 #define ____ DECLARE_END
3377
3378 int f() {
3379 char buffer[1024];
3380 fgets(buffer, 1024, stdin);
3381 ___ int i; int ii = strlen(buffer);
3382 for (i=0; i < ii; i++) {
3383 fputc(buffer[i], stdout);
3384 }____;
3385 }
3386
3387 Source Code
3388 ***********
3389
3390 Download the latest version of 'ax_c_declare_block.m4'
3391 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_declare_block.m4)
3392 or browse the macro's revision history
3393 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_declare_block.m4).
3394
3395 License
3396 *******
3397
3398 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
3399
3400 This program is free software; you can redistribute it and/or modify it
3401 under the terms of the GNU General Public License as published by the
3402 Free Software Foundation; either version 3 of the License, or (at your
3403 option) any later version.
3404
3405 This program is distributed in the hope that it will be useful, but
3406 WITHOUT ANY WARRANTY; without even the implied warranty of
3407 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3408 Public License for more details.
3409
3410 You should have received a copy of the GNU General Public License along
3411 with this program. If not, see <https://www.gnu.org/licenses/>.
3412
3413 As a special exception, the respective Autoconf Macro's copyright owner
3414 gives unlimited permission to copy, distribute and modify the configure
3415 scripts that are the output of Autoconf when processing the Macro. You
3416 need not follow the terms of the GNU General Public License when using
3417 or distributing such scripts, even though portions of the text of the
3418 Macro appear in them. The GNU General Public License (GPL) does govern
3419 all other use of the material that constitutes the Autoconf Macro.
3420
3421 This special exception to the GPL applies to versions of the Autoconf
3422 Macro released by the Autoconf Archive. When you make and distribute a
3423 modified version of the Autoconf Macro, you may extend this special
3424 exception to the GPL to apply to your modified version as well.
3425
3426 
3427 File: autoconf-archive.info, Node: ax_c_float_words_bigendian, Next: ax_c_long_long, Prev: ax_c_declare_block, Up: The Macros
3428
3429 ax_c_float_words_bigendian
3430 ==========================
3431
3432 Synopsis
3433 ********
3434
3435 AX_C_FLOAT_WORDS_BIGENDIAN([ACTION-IF-TRUE], [ACTION-IF-FALSE], [ACTION-IF-UNKNOWN])
3436
3437 Description
3438 ***********
3439
3440 Checks the ordering of words within a multi-word float. This check is
3441 necessary because on some systems (e.g. certain ARM systems), the float
3442 word ordering can be different from the byte ordering. In a multi-word
3443 float context, "big-endian" implies that the word containing the sign
3444 bit is found in the memory location with the lowest address. This
3445 implementation was inspired by the AC_C_BIGENDIAN macro in autoconf.
3446
3447 The endianness is detected by first compiling C code that contains a
3448 special double float value, then grepping the resulting object file for
3449 certain strings of ASCII values. The double is specially crafted to
3450 have a binary representation that corresponds with a simple string. In
3451 this implementation, the string "noonsees" was selected because the
3452 individual word values ("noon" and "sees") are palindromes, thus making
3453 this test byte-order agnostic. If grep finds the string "noonsees" in
3454 the object file, the target platform stores float words in big-endian
3455 order. If grep finds "seesnoon", float words are in little-endian
3456 order. If neither value is found, the user is instructed to specify the
3457 ordering.
3458
3459 Source Code
3460 ***********
3461
3462 Download the latest version of 'ax_c_float_words_bigendian.m4'
3463 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_float_words_bigendian.m4)
3464 or browse the macro's revision history
3465 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_float_words_bigendian.m4).
3466
3467 License
3468 *******
3469
3470 Copyright (C) 2008 Daniel Amelang <dan@amelang.net>
3471
3472 Copying and distribution of this file, with or without modification, are
3473 permitted in any medium without royalty provided the copyright notice
3474 and this notice are preserved. This file is offered as-is, without any
3475 warranty.
3476
3477 
3478 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
3479
3480 ax_c_long_long
3481 ==============
3482
3483 Synopsis
3484 ********
3485
3486 AX_C_LONG_LONG
3487
3488 Description
3489 ***********
3490
3491 Provides a test for the existence of the long long int type and defines
3492 HAVE_LONG_LONG if it is found.
3493
3494 Source Code
3495 ***********
3496
3497 Download the latest version of 'ax_c_long_long.m4'
3498 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_long_long.m4)
3499 or browse the macro's revision history
3500 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_long_long.m4).
3501
3502 License
3503 *******
3504
3505 Copyright (C) 2008 Caolan McNamara <caolan@skynet.ie>
3506
3507 Copying and distribution of this file, with or without modification, are
3508 permitted in any medium without royalty provided the copyright notice
3509 and this notice are preserved. This file is offered as-is, without any
3510 warranty.
3511
3512 
3513 File: autoconf-archive.info, Node: ax_c_referenceable_passed_va_list, Next: ax_c_var_func, Prev: ax_c_long_long, Up: The Macros
3514
3515 ax_c_referenceable_passed_va_list
3516 =================================
3517
3518 Synopsis
3519 ********
3520
3521 AX_C_REFERENCEABLE_PASSED_VA_LIST
3522
3523 Description
3524 ***********
3525
3526 Checks whether f(va_list va){ &va; } works as expected.
3527
3528 This macro uses compile-time detection and so is cross-compile ready.
3529
3530 C99 mentioned passing a pointer to va_list to other functions (footnote
3531 212 of "7.15 Variable arguments <stdarg.h>"). However, f(va_list va) {
3532 &va; } produces broken pointer on some environments such as gcc on
3533 x86_64, although { va_list va; &va; } works as expected. See the
3534 detection code of this file and any of pages
3535 https://www.gnu.org/software/autoconf/manual/html_node/Function-Portability.html,
3536 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14557, and
3537 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20951 for further
3538 information.
3539
3540 Although C99 does not define the operations f(va_list va) { &va; } and
3541 &va itself as standard (footnotes are declared as "normative part,
3542 information only"), certain situations need it. This macro provides a
3543 type detection about va_list implementation to deal with the operation.
3544
3545 Following workaround will probably work on such environments although it
3546 does not ensure to be safe and portable. At least it is working on
3547 x86_64-unknown-linux-gnu:
3548
3549 f(va_list va)
3550 {
3551 va_list *vap;
3552
3553 #if HAVE_REFERENCEABLE_PASSED_VA_LIST
3554 vap = &va;
3555 #else
3556 vap = (va_list *)va;
3557 #endif
3558 }
3559
3560 Source Code
3561 ***********
3562
3563 Download the latest version of 'ax_c_referenceable_passed_va_list.m4'
3564 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_referenceable_passed_va_list.m4)
3565 or browse the macro's revision history
3566 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_referenceable_passed_va_list.m4).
3567
3568 License
3569 *******
3570
3571 Copyright (C) 2008 YAMAMOTO Kengo <yamaken@bp.iij4u.or.jp>
3572
3573 Copying and distribution of this file, with or without modification, are
3574 permitted in any medium without royalty provided the copyright notice
3575 and this notice are preserved. This file is offered as-is, without any
3576 warranty.
3577
3578 
3579 File: autoconf-archive.info, Node: ax_c_var_func, Next: ax_cache_size, Prev: ax_c_referenceable_passed_va_list, Up: The Macros
3580
3581 ax_c_var_func
3582 =============
3583
3584 Synopsis
3585 ********
3586
3587 AX_C_VAR_FUNC
3588
3589 Description
3590 ***********
3591
3592 This macro tests if the C compiler supports the C9X standard __func__
3593 identifier.
3594
3595 The new C9X standard for the C language stipulates that the identifier
3596 __func__ shall be implicitly declared by the compiler as if, immediately
3597 following the opening brace of each function definition, the declaration
3598
3599 static const char __func__[] = "function-name";
3600
3601 appeared, where function-name is the name of the function where the
3602 __func__ identifier is used.
3603
3604 Source Code
3605 ***********
3606
3607 Download the latest version of 'ax_c_var_func.m4'
3608 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_var_func.m4)
3609 or browse the macro's revision history
3610 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_var_func.m4).
3611
3612 License
3613 *******
3614
3615 Copyright (C) 2008 Christopher Currie <christopher@currie.com>
3616
3617 This program is free software; you can redistribute it and/or modify it
3618 under the terms of the GNU General Public License as published by the
3619 Free Software Foundation; either version 2 of the License, or (at your
3620 option) any later version.
3621
3622 This program is distributed in the hope that it will be useful, but
3623 WITHOUT ANY WARRANTY; without even the implied warranty of
3624 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3625 Public License for more details.
3626
3627 You should have received a copy of the GNU General Public License along
3628 with this program. If not, see <https://www.gnu.org/licenses/>.
3629
3630 As a special exception, the respective Autoconf Macro's copyright owner
3631 gives unlimited permission to copy, distribute and modify the configure
3632 scripts that are the output of Autoconf when processing the Macro. You
3633 need not follow the terms of the GNU General Public License when using
3634 or distributing such scripts, even though portions of the text of the
3635 Macro appear in them. The GNU General Public License (GPL) does govern
3636 all other use of the material that constitutes the Autoconf Macro.
3637
3638 This special exception to the GPL applies to versions of the Autoconf
3639 Macro released by the Autoconf Archive. When you make and distribute a
3640 modified version of the Autoconf Macro, you may extend this special
3641 exception to the GPL to apply to your modified version as well.
3642
3643 
3644 File: autoconf-archive.info, Node: ax_cache_size, Next: ax_caolan_check_package, Prev: ax_c_var_func, Up: The Macros
3645
3646 ax_cache_size
3647 =============
3648
3649 Synopsis
3650 ********
3651
3652 AX_CACHE_SIZE
3653
3654 Description
3655 ***********
3656
3657 Find L1 and L2 caches size by reading the corresponding file on UNIX or
3658 by requesting cpuid. The results are available in the defines
3659 CPU_L1_CACHE and CPU_L2_CACHE.
3660
3661 This macro depends on AX_GCC_X86_CPUID, AC_PROG_SED, AX_COUNT_CPUS, and
3662 AX_CPU_VENDOR.
3663
3664 Source Code
3665 ***********
3666
3667 Download the latest version of 'ax_cache_size.m4'
3668 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cache_size.m4)
3669 or browse the macro's revision history
3670 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cache_size.m4).
3671
3672 License
3673 *******
3674
3675 Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
3676
3677 Copying and distribution of this file, with or without modification, are
3678 permitted in any medium without royalty provided the copyright notice
3679 and this notice are preserved. This file is offered as-is, without any
3680 warranty.
3681
3682 
3683 File: autoconf-archive.info, Node: ax_caolan_check_package, Next: ax_caolan_search_package, Prev: ax_cache_size, Up: The Macros
3684
3685 ax_caolan_check_package
3686 =======================
3687
3688 Synopsis
3689 ********
3690
3691 AX_caolan_CHECK_PACKAGE(PACKAGE, FUNCTION, LIBRARY , HEADERFILE [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3692
3693 Description
3694 ***********
3695
3696 Provides -with-PACKAGE, -with-PACKAGE-include and -with-PACKAGE-libdir
3697 options to configure. Supports the now standard -with-PACKAGE=DIR
3698 approach where the package's include dir and lib dir are underneath DIR,
3699 but also allows the include and lib directories to be specified
3700 separately
3701
3702 adds the extra -Ipath to CFLAGS if needed adds extra -Lpath to LD_FLAGS
3703 if needed searches for the FUNCTION in the LIBRARY with AC_CHECK_LIBRARY
3704 and thus adds the lib to LIBS
3705
3706 defines HAVE_PKG_PACKAGE if it is found, (where PACKAGE in the
3707 HAVE_PKG_PACKAGE is replaced with the actual first parameter passed)
3708 note that autoheader will complain of not having the HAVE_PKG_PACKAGE
3709 and you will have to add it to acconfig.h manually
3710
3711 Source Code
3712 ***********
3713
3714 Download the latest version of 'ax_caolan_check_package.m4'
3715 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_caolan_check_package.m4)
3716 or browse the macro's revision history
3717 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_caolan_check_package.m4).
3718
3719 License
3720 *******
3721
3722 Copyright (C) 2008 Caolan McNamara <caolan@skynet.ie>
3723 Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
3724 Copyright (C) 2008 Matthew Mueller <donut@azstarnet.com>
3725
3726 Copying and distribution of this file, with or without modification, are
3727 permitted in any medium without royalty provided the copyright notice
3728 and this notice are preserved. This file is offered as-is, without any
3729 warranty.
3730
3731 
3732 File: autoconf-archive.info, Node: ax_caolan_search_package, Next: ax_cc_for_build, Prev: ax_caolan_check_package, Up: The Macros
3733
3734 ax_caolan_search_package
3735 ========================
3736
3737 Synopsis
3738 ********
3739
3740 AX_caolan_SEARCH_PACKAGE(PACKAGE, FUNCTION, LIBRARY LIST, HEADERFILE [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3741
3742 Description
3743 ***********
3744
3745 Provides -with-PACKAGE, -with-PACKAGE-include and -with-PACKAGE-libdir
3746 options to configure. Supports the now standard -with-PACKAGE=DIR
3747 approach where the package's include dir and lib dir are underneath DIR,
3748 but also allows the include and lib directories to be specified
3749 separately
3750
3751 adds the extra -Ipath to CFLAGS if needed adds extra -Lpath to LD_FLAGS
3752 if needed searches for the FUNCTION in each of the LIBRARY LIST with
3753 AC_SEARCH_LIBRARY and thus adds the lib to LIBS
3754
3755 defines HAVE_PKG_PACKAGE if it is found, (where PACKAGE in the
3756 HAVE_PKG_PACKAGE is replaced with the actual first parameter passed)
3757 note that autoheader will complain of not having the HAVE_PKG_PACKAGE
3758 and you will have to add it to acconfig.h manually
3759
3760 Source Code
3761 ***********
3762
3763 Download the latest version of 'ax_caolan_search_package.m4'
3764 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_caolan_search_package.m4)
3765 or browse the macro's revision history
3766 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_caolan_search_package.m4).
3767
3768 License
3769 *******
3770
3771 Copyright (C) 2009 Caolan McNamara <caolan@skynet.ie>
3772 Copyright (C) 2009 Alexandre Duret-Lutz <adl@gnu.org>
3773 Copyright (C) 2009 Matthew Mueller <donut@azstarnet.com>
3774
3775 Copying and distribution of this file, with or without modification, are
3776 permitted in any medium without royalty provided the copyright notice
3777 and this notice are preserved. This file is offered as-is, without any
3778 warranty.
3779
3780 
3781 File: autoconf-archive.info, Node: ax_cc_for_build, Next: ax_cc_maxopt, Prev: ax_caolan_search_package, Up: The Macros
3782
3783 ax_cc_for_build
3784 ===============
3785
3786 Synopsis
3787 ********
3788
3789 AX_CC_FOR_BUILD
3790
3791 Description
3792 ***********
3793
3794 Find a build-time compiler. Sets CC_FOR_BUILD and EXEEXT_FOR_BUILD.
3795
3796 Source Code
3797 ***********
3798
3799 Download the latest version of 'ax_cc_for_build.m4'
3800 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cc_for_build.m4)
3801 or browse the macro's revision history
3802 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cc_for_build.m4).
3803
3804 License
3805 *******
3806
3807 Copyright (C) 2010 Reuben Thomas <rrt@sc3d.org>
3808 Copyright (C) 1999 Richard Henderson <rth@redhat.com>
3809
3810 This program is free software: you can redistribute it and/or modify it
3811 under the terms of the GNU General Public License as published by the
3812 Free Software Foundation, either version 3 of the License, or (at your
3813 option) any later version.
3814
3815 This program is distributed in the hope that it will be useful, but
3816 WITHOUT ANY WARRANTY; without even the implied warranty of
3817 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3818 Public License for more details.
3819
3820 You should have received a copy of the GNU General Public License along
3821 with this program. If not, see <https://www.gnu.org/licenses/>.
3822
3823 As a special exception, the respective Autoconf Macro's copyright owner
3824 gives unlimited permission to copy, distribute and modify the configure
3825 scripts that are the output of Autoconf when processing the Macro. You
3826 need not follow the terms of the GNU General Public License when using
3827 or distributing such scripts, even though portions of the text of the
3828 Macro appear in them. The GNU General Public License (GPL) does govern
3829 all other use of the material that constitutes the Autoconf Macro.
3830
3831 This special exception to the GPL applies to versions of the Autoconf
3832 Macro released by the Autoconf Archive. When you make and distribute a
3833 modified version of the Autoconf Macro, you may extend this special
3834 exception to the GPL to apply to your modified version as well.
3835
3836 
3837 File: autoconf-archive.info, Node: ax_cc_maxopt, Next: ax_cf_ebcdic, Prev: ax_cc_for_build, Up: The Macros
3838
3839 ax_cc_maxopt
3840 ============
3841
3842 Synopsis
3843 ********
3844
3845 AX_CC_MAXOPT
3846
3847 Description
3848 ***********
3849
3850 Try to turn on "good" C optimization flags for various compilers and
3851 architectures, for some definition of "good". (In our case, good for
3852 FFTW and hopefully for other scientific codes. Modify as needed.)
3853
3854 The user can override the flags by setting the CFLAGS environment
3855 variable. The user can also specify -enable-portable-binary in order to
3856 disable any optimization flags that might result in a binary that only
3857 runs on the host architecture.
3858
3859 Note also that the flags assume that ANSI C aliasing rules are followed
3860 by the code (e.g. for gcc's -fstrict-aliasing), and that floating-point
3861 computations can be re-ordered as needed.
3862
3863 Requires macros: AX_CHECK_COMPILE_FLAG, AX_COMPILER_VENDOR,
3864 AX_GCC_ARCHFLAG, AX_GCC_X86_CPUID.
3865
3866 Source Code
3867 ***********
3868
3869 Download the latest version of 'ax_cc_maxopt.m4'
3870 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cc_maxopt.m4)
3871 or browse the macro's revision history
3872 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cc_maxopt.m4).
3873
3874 License
3875 *******
3876
3877 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
3878 Copyright (C) 2008 Matteo Frigo
3879
3880 This program is free software: you can redistribute it and/or modify it
3881 under the terms of the GNU General Public License as published by the
3882 Free Software Foundation, either version 3 of the License, or (at your
3883 option) any later version.
3884
3885 This program is distributed in the hope that it will be useful, but
3886 WITHOUT ANY WARRANTY; without even the implied warranty of
3887 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3888 Public License for more details.
3889
3890 You should have received a copy of the GNU General Public License along
3891 with this program. If not, see <https://www.gnu.org/licenses/>.
3892
3893 As a special exception, the respective Autoconf Macro's copyright owner
3894 gives unlimited permission to copy, distribute and modify the configure
3895 scripts that are the output of Autoconf when processing the Macro. You
3896 need not follow the terms of the GNU General Public License when using
3897 or distributing such scripts, even though portions of the text of the
3898 Macro appear in them. The GNU General Public License (GPL) does govern
3899 all other use of the material that constitutes the Autoconf Macro.
3900
3901 This special exception to the GPL applies to versions of the Autoconf
3902 Macro released by the Autoconf Archive. When you make and distribute a
3903 modified version of the Autoconf Macro, you may extend this special
3904 exception to the GPL to apply to your modified version as well.
3905
3906 
3907 File: autoconf-archive.info, Node: ax_cf_ebcdic, Next: ax_cflags_aix_option, Prev: ax_cc_maxopt, Up: The Macros
3908
3909 ax_cf_ebcdic
3910 ============
3911
3912 Synopsis
3913 ********
3914
3915 AX_CF_EBCDIC
3916
3917 Description
3918 ***********
3919
3920 If the target character set is EBCDIC, defines variables cf_cv_ebcdic,
3921 EBCDIC, and NOT_ASCII.
3922
3923 I originally wrote this and submitted it to the Lynx distribution.
3924 Editorial revisions by Tom Dickey, et. al.
3925
3926 Source Code
3927 ***********
3928
3929 Download the latest version of 'ax_cf_ebcdic.m4'
3930 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cf_ebcdic.m4)
3931 or browse the macro's revision history
3932 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cf_ebcdic.m4).
3933
3934 License
3935 *******
3936
3937 Copyright (C) 2008 Paul Gilmartin <pg@sweng.stortek.com>
3938
3939 This program is free software: you can redistribute it and/or modify it
3940 under the terms of the GNU General Public License as published by the
3941 Free Software Foundation, either version 3 of the License, or (at your
3942 option) any later version.
3943
3944 This program is distributed in the hope that it will be useful, but
3945 WITHOUT ANY WARRANTY; without even the implied warranty of
3946 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3947 Public License for more details.
3948
3949 You should have received a copy of the GNU General Public License along
3950 with this program. If not, see <https://www.gnu.org/licenses/>.
3951
3952 As a special exception, the respective Autoconf Macro's copyright owner
3953 gives unlimited permission to copy, distribute and modify the configure
3954 scripts that are the output of Autoconf when processing the Macro. You
3955 need not follow the terms of the GNU General Public License when using
3956 or distributing such scripts, even though portions of the text of the
3957 Macro appear in them. The GNU General Public License (GPL) does govern
3958 all other use of the material that constitutes the Autoconf Macro.
3959
3960 This special exception to the GPL applies to versions of the Autoconf
3961 Macro released by the Autoconf Archive. When you make and distribute a
3962 modified version of the Autoconf Macro, you may extend this special
3963 exception to the GPL to apply to your modified version as well.
3964
3965 
3966 File: autoconf-archive.info, Node: ax_cflags_aix_option, Next: ax_cflags_force_c89, Prev: ax_cf_ebcdic, Up: The Macros
3967
3968 ax_cflags_aix_option
3969 ====================
3970
3971 Synopsis
3972 ********
3973
3974 AX_CFLAGS_AIX_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
3975
3976 Description
3977 ***********
3978
3979 AX_CFLAGS_AIX_OPTION(-qubicle) would show a message as like "checking
3980 CFLAGS for aix/cc -qubicle ... yes" and adds the optionflag to CFLAGS
3981 if it is understood. You can override the shellvar-default of CFLAGS of
3982 course. The order of arguments stems from the explicit macros like
3983 AX_CFLAGS_WARN_ALL.
3984
3985 The cousin AX_CXXFLAGS_AIX_OPTION would check for an option to add to
3986 CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
3987 is possible to use different compilers for C and C++).
3988
3989 The macro is a lot simpler than any special AX_CFLAGS_* macro (or
3990 ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
3991 However, if you use this macro in a few places, it would be great if you
3992 would make up a new function-macro and submit it to the ac-archive.
3993
3994 - $1 option-to-check-for : required ("-option" as non-value)
3995 - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
3996 - $3 action-if-found : add value to shellvariable
3997 - $4 action-if-not-found : nothing
3998
3999 note: in earlier versions, $1-$2 were swapped. We try to detect the
4000 situation and accept a $2=~/-/ as being the old option-to-check-for.
4001
4002 see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
4003
4004 Source Code
4005 ***********
4006
4007 Download the latest version of 'ax_cflags_aix_option.m4'
4008 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_aix_option.m4)
4009 or browse the macro's revision history
4010 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_aix_option.m4).
4011
4012 License
4013 *******
4014
4015 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4016
4017 Copying and distribution of this file, with or without modification, are
4018 permitted in any medium without royalty provided the copyright notice
4019 and this notice are preserved. This file is offered as-is, without any
4020 warranty.
4021
4022 
4023 File: autoconf-archive.info, Node: ax_cflags_force_c89, Next: ax_cflags_hpux_option, Prev: ax_cflags_aix_option, Up: The Macros
4024
4025 ax_cflags_force_c89
4026 ===================
4027
4028 Synopsis
4029 ********
4030
4031 AX_CFLAGS_FORCE_C89 [(shellvar [,default, [A/NA]])]
4032
4033 Description
4034 ***********
4035
4036 Try to find a compiler option that enables strict C89 mode.
4037
4038 For the GNU CC compiler it will be -ansi -pedantic. The result is added
4039 to the shellvar being CFLAGS by default.
4040
4041 Currently this macro knows about GCC, Solaris C compiler, Digital Unix C
4042 compiler, C for AIX Compiler, HP-UX C compiler, IRIX C compiler, NEC
4043 SX-5 (Super-UX 10) C compiler, and Cray J90 (Unicos 10.0.0.8) C
4044 compiler.
4045
4046 - $1 shell-variable-to-add-to : CFLAGS
4047 - $2 add-value-if-not-found : nothing
4048 - $3 action-if-found : add value to shellvariable
4049 - $4 action-if-not-found : nothing
4050
4051 NOTE: These macros depend on AX_APPEND_FLAG.
4052
4053 Source Code
4054 ***********
4055
4056 Download the latest version of 'ax_cflags_force_c89.m4'
4057 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_force_c89.m4)
4058 or browse the macro's revision history
4059 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_force_c89.m4).
4060
4061 License
4062 *******
4063
4064 Copyright (C) 2009 Guido U. Draheim <guidod@gmx.de>
4065
4066 Copying and distribution of this file, with or without modification, are
4067 permitted in any medium without royalty provided the copyright notice
4068 and this notice are preserved. This file is offered as-is, without any
4069 warranty.
4070
4071 
4072 File: autoconf-archive.info, Node: ax_cflags_hpux_option, Next: ax_cflags_irix_option, Prev: ax_cflags_force_c89, Up: The Macros
4073
4074 ax_cflags_hpux_option
4075 =====================
4076
4077 Synopsis
4078 ********
4079
4080 AX_CFLAGS_HPUX_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
4081
4082 Description
4083 ***********
4084
4085 AX_CFLAGS_HPUX_OPTION(-Afresh) would show a message as like "checking
4086 CFLAGS for hpux/cc -Afresh ... yes" and adds the optionflag to CFLAGS
4087 if it is understood. You can override the shellvar-default of CFLAGS of
4088 course. The order of arguments stems from the explicit macros like
4089 AX_CFLAGS_WARN_ALL.
4090
4091 The cousin AX_CXXFLAGS_HPUX_OPTION would check for an option to add to
4092 CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
4093 is possible to use different compilers for C and C++).
4094
4095 The macro is a lot simpler than any special AX_CFLAGS_* macro (or
4096 ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
4097 However, if you use this macro in a few places, it would be great if you
4098 would make up a new function-macro and submit it to the ac-archive.
4099
4100 - $1 option-to-check-for : required ("-option" as non-value)
4101 - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
4102 - $3 action-if-found : add value to shellvariable
4103 - $4 action-if-not-found : nothing
4104
4105 note: in earlier versions, $1-$2 were swapped. We try to detect the
4106 situation and accept a $2=~/-/ as being the old option-to-check-for.
4107
4108 see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
4109
4110 Source Code
4111 ***********
4112
4113 Download the latest version of 'ax_cflags_hpux_option.m4'
4114 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_hpux_option.m4)
4115 or browse the macro's revision history
4116 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_hpux_option.m4).
4117
4118 License
4119 *******
4120
4121 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4122
4123 Copying and distribution of this file, with or without modification, are
4124 permitted in any medium without royalty provided the copyright notice
4125 and this notice are preserved. This file is offered as-is, without any
4126 warranty.
4127
4128 
4129 File: autoconf-archive.info, Node: ax_cflags_irix_option, Next: ax_cflags_no_writable_strings, Prev: ax_cflags_hpux_option, Up: The Macros
4130
4131 ax_cflags_irix_option
4132 =====================
4133
4134 Synopsis
4135 ********
4136
4137 AX_CFLAGS_IRIX_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
4138
4139 Description
4140 ***********
4141
4142 AX_CFLAGS_IRIX_OPTION(-go_for_it) would show a message as like "checking
4143 CFLAGS for irix/cc -go_for_it ... yes" and adds the optionflag to
4144 CFLAGS if it is understood. You can override the shellvar-default of
4145 CFLAGS of course. The order of arguments stems from the explicit macros
4146 like AX_CFLAGS_WARN_ALL.
4147
4148 The cousin AX_CXXFLAGS_IRIX_OPTION would check for an option to add to
4149 CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
4150 is possible to use different compilers for C and C++).
4151
4152 The macro is a lot simpler than any special AX_CFLAGS_* macro (or
4153 ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
4154 However, if you use this macro in a few places, it would be great if you
4155 would make up a new function-macro and submit it to the ac-archive.
4156
4157 - $1 option-to-check-for : required ("-option" as non-value)
4158 - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
4159 - $3 action-if-found : add value to shellvariable
4160 - $4 action-if-not-found : nothing
4161
4162 note: in earlier versions, $1-$2 were swapped. We try to detect the
4163 situation and accept a $2=~/-/ as being the old option-to-check-for.
4164
4165 see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
4166
4167 Source Code
4168 ***********
4169
4170 Download the latest version of 'ax_cflags_irix_option.m4'
4171 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_irix_option.m4)
4172 or browse the macro's revision history
4173 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_irix_option.m4).
4174
4175 License
4176 *******
4177
4178 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4179
4180 Copying and distribution of this file, with or without modification, are
4181 permitted in any medium without royalty provided the copyright notice
4182 and this notice are preserved. This file is offered as-is, without any
4183 warranty.
4184
4185 
4186 File: autoconf-archive.info, Node: ax_cflags_no_writable_strings, Next: ax_cflags_strict_prototypes, Prev: ax_cflags_irix_option, Up: The Macros
4187
4188 ax_cflags_no_writable_strings
4189 =============================
4190
4191 Synopsis
4192 ********
4193
4194 AX_CFLAGS_NO_WRITABLE_STRINGS [(shellvar [,default, [A/NA]])]
4195
4196 Description
4197 ***********
4198
4199 Try to find a compiler option that makes all string literals readonly.
4200
4201 The sanity check is done by looking at string.h which has a set of
4202 strcpy definitions that should be defined with const-modifiers to not
4203 emit a warning in all so many places.
4204
4205 For the GNU CC compiler it will be -fno-writable-strings -Wwrite-strings
4206 The result is added to the shellvar being CFLAGS by default.
4207
4208 DEFAULTS:
4209
4210 - $1 shell-variable-to-add-to : CFLAGS
4211 - $2 add-value-if-not-found : nothing
4212 - $3 action-if-found : add value to shellvariable
4213 - $4 action-if-not-found : nothing
4214
4215 NOTE: These macros depend on AX_APPEND_FLAG.
4216
4217 Source Code
4218 ***********
4219
4220 Download the latest version of 'ax_cflags_no_writable_strings.m4'
4221 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_no_writable_strings.m4)
4222 or browse the macro's revision history
4223 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_no_writable_strings.m4).
4224
4225 License
4226 *******
4227
4228 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4229
4230 Copying and distribution of this file, with or without modification, are
4231 permitted in any medium without royalty provided the copyright notice
4232 and this notice are preserved. This file is offered as-is, without any
4233 warranty.
4234
4235 
4236 File: autoconf-archive.info, Node: ax_cflags_strict_prototypes, Next: ax_cflags_sun_option, Prev: ax_cflags_no_writable_strings, Up: The Macros
4237
4238 ax_cflags_strict_prototypes
4239 ===========================
4240
4241 Synopsis
4242 ********
4243
4244 AX_CFLAGS_STRICT_PROTOTYPES [(shellvar [,default, [A/NA]]
4245
4246 Description
4247 ***********
4248
4249 Try to find a compiler option that requires strict prototypes.
4250
4251 The sanity check is done by looking at sys/signal.h which has a set of
4252 macro-definitions SIG_DFL and SIG_IGN that are cast to the local
4253 signal-handler type. If that signal-handler type is not fully qualified
4254 then the system headers are not seen as strictly prototype clean.
4255
4256 For the GNU CC compiler it will be -fstrict-prototypes
4257 -Wstrict-prototypes The result is added to the shellvar being CFLAGS by
4258 default.
4259
4260 DEFAULTS:
4261
4262 - $1 shell-variable-to-add-to : CFLAGS
4263 - $2 add-value-if-not-found : nothing
4264 - $3 action-if-found : add value to shellvariable
4265 - $4 action-if-not-found : nothing
4266
4267 NOTE: These macros depend on AX_APPEND_FLAG.
4268
4269 Source Code
4270 ***********
4271
4272 Download the latest version of 'ax_cflags_strict_prototypes.m4'
4273 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_strict_prototypes.m4)
4274 or browse the macro's revision history
4275 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_strict_prototypes.m4).
4276
4277 License
4278 *******
4279
4280 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4281
4282 Copying and distribution of this file, with or without modification, are
4283 permitted in any medium without royalty provided the copyright notice
4284 and this notice are preserved. This file is offered as-is, without any
4285 warranty.
4286
4287 
4288 File: autoconf-archive.info, Node: ax_cflags_sun_option, Next: ax_cflags_warn_all, Prev: ax_cflags_strict_prototypes, Up: The Macros
4289
4290 ax_cflags_sun_option
4291 ====================
4292
4293 Synopsis
4294 ********
4295
4296 AX_CFLAGS_SUN_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
4297
4298 Description
4299 ***********
4300
4301 AX_CFLAGS_SUN_OPTION(+xtreme) would show a message as like "checking
4302 CFLAGS for sun/cc +xtreme ... yes" and adds the optionflag to CFLAGS if
4303 it is understood. You can override the shellvar-default of CFLAGS of
4304 course. The order of arguments stems from the explicit macros like
4305 AX_CFLAGS_WARN_ALL.
4306
4307 The cousin AX_CXXFLAGS_SUN_OPTION would check for an option to add to
4308 CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
4309 is possible to use different compilers for C and C++).
4310
4311 The macro is a lot simpler than any special AX_CFLAGS_* macro (or
4312 ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
4313 However, if you use this macro in a few places, it would be great if you
4314 would make up a new function-macro and submit it to the ac-archive.
4315
4316 - $1 option-to-check-for : required ("-option" as non-value)
4317 - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
4318 - $3 action-if-found : add value to shellvariable
4319 - $4 action-if-not-found : nothing
4320
4321 note: in earlier versions, $1-$2 were swapped. We try to detect the
4322 situation and accept a $2=~/-/ as being the old option-to-check-for.
4323
4324 see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
4325
4326 Source Code
4327 ***********
4328
4329 Download the latest version of 'ax_cflags_sun_option.m4'
4330 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_sun_option.m4)
4331 or browse the macro's revision history
4332 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_sun_option.m4).
4333
4334 License
4335 *******
4336
4337 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4338
4339 Copying and distribution of this file, with or without modification, are
4340 permitted in any medium without royalty provided the copyright notice
4341 and this notice are preserved. This file is offered as-is, without any
4342 warranty.
4343
4344 
4345 File: autoconf-archive.info, Node: ax_cflags_warn_all, Next: ax_check_aligned_access_required, Prev: ax_cflags_sun_option, Up: The Macros
4346
4347 ax_cflags_warn_all
4348 ==================
4349
4350 Synopsis
4351 ********
4352
4353 AX_CFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])]
4354 AX_CXXFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])]
4355 AX_FCFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])]
4356
4357 Description
4358 ***********
4359
4360 Try to find a compiler option that enables most reasonable warnings.
4361
4362 For the GNU compiler it will be -Wall (and -ansi -pedantic) The result
4363 is added to the shellvar being CFLAGS, CXXFLAGS, or FCFLAGS by default.
4364
4365 Currently this macro knows about the GCC, Solaris, Digital Unix, AIX,
4366 HP-UX, IRIX, NEC SX-5 (Super-UX 10), Cray J90 (Unicos 10.0.0.8), and
4367 Intel compilers. For a given compiler, the Fortran flags are much more
4368 experimental than their C equivalents.
4369
4370 - $1 shell-variable-to-add-to : CFLAGS, CXXFLAGS, or FCFLAGS
4371 - $2 add-value-if-not-found : nothing
4372 - $3 action-if-found : add value to shellvariable
4373 - $4 action-if-not-found : nothing
4374
4375 NOTE: These macros depend on AX_APPEND_FLAG.
4376
4377 Source Code
4378 ***********
4379
4380 Download the latest version of 'ax_cflags_warn_all.m4'
4381 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_warn_all.m4)
4382 or browse the macro's revision history
4383 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_warn_all.m4).
4384
4385 License
4386 *******
4387
4388 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4389 Copyright (C) 2010 Rhys Ulerich <rhys.ulerich@gmail.com>
4390
4391 This program is free software; you can redistribute it and/or modify it
4392 under the terms of the GNU General Public License as published by the
4393 Free Software Foundation; either version 3 of the License, or (at your
4394 option) any later version.
4395
4396 This program is distributed in the hope that it will be useful, but
4397 WITHOUT ANY WARRANTY; without even the implied warranty of
4398 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
4399 Public License for more details.
4400
4401 You should have received a copy of the GNU General Public License along
4402 with this program. If not, see <https://www.gnu.org/licenses/>.
4403
4404 As a special exception, the respective Autoconf Macro's copyright owner
4405 gives unlimited permission to copy, distribute and modify the configure
4406 scripts that are the output of Autoconf when processing the Macro. You
4407 need not follow the terms of the GNU General Public License when using
4408 or distributing such scripts, even though portions of the text of the
4409 Macro appear in them. The GNU General Public License (GPL) does govern
4410 all other use of the material that constitutes the Autoconf Macro.
4411
4412 This special exception to the GPL applies to versions of the Autoconf
4413 Macro released by the Autoconf Archive. When you make and distribute a
4414 modified version of the Autoconf Macro, you may extend this special
4415 exception to the GPL to apply to your modified version as well.
4416
4417 
4418 File: autoconf-archive.info, Node: ax_check_aligned_access_required, Next: ax_check_allocated_ctime, Prev: ax_cflags_warn_all, Up: The Macros
4419
4420 ax_check_aligned_access_required
4421 ================================
4422
4423 Synopsis
4424 ********
4425
4426 AX_CHECK_ALIGNED_ACCESS_REQUIRED
4427
4428 Description
4429 ***********
4430
4431 While the x86 CPUs allow access to memory objects to be unaligned it
4432 happens that most of the modern designs require objects to be aligned -
4433 or they will fail with a buserror. That mode is quite known by
4434 big-endian machines (sparc, etc) however the alpha cpu is little-
4435 endian.
4436
4437 The following function will test for aligned access to be required and
4438 set a config.h define HAVE_ALIGNED_ACCESS_REQUIRED (name derived by
4439 standard usage). Structures loaded from a file (or mmapped to memory)
4440 should be accessed per-byte in that case to avoid segfault type errors.
4441
4442 The function checks if unaligned access would ignore the lowest bit of
4443 the address. If that happens or if the test binary crashes, aligned
4444 access is required.
4445
4446 If cross-compiling, assume that aligned access is needed to be safe.
4447 Set ax_cv_have_aligned_access_required=no to override that assumption.
4448
4449 Source Code
4450 ***********
4451
4452 Download the latest version of 'ax_check_aligned_access_required.m4'
4453 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_aligned_access_required.m4)
4454 or browse the macro's revision history
4455 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_aligned_access_required.m4).
4456
4457 License
4458 *******
4459
4460 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4461
4462 Copying and distribution of this file, with or without modification, are
4463 permitted in any medium without royalty provided the copyright notice
4464 and this notice are preserved. This file is offered as-is, without any
4465 warranty.
4466
4467 
4468 File: autoconf-archive.info, Node: ax_check_allocated_ctime, Next: ax_check_awk__v, Prev: ax_check_aligned_access_required, Up: The Macros
4469
4470 ax_check_allocated_ctime
4471 ========================
4472
4473 Synopsis
4474 ********
4475
4476 AX_CHECK_ALLOCATED_CTIME
4477
4478 Description
4479 ***********
4480
4481 Check whether we need to free the memory returned by ctime.
4482
4483 Source Code
4484 ***********
4485
4486 Download the latest version of 'ax_check_allocated_ctime.m4'
4487 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_allocated_ctime.m4)
4488 or browse the macro's revision history
4489 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_allocated_ctime.m4).
4490
4491 License
4492 *******
4493
4494 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
4495
4496 Copying and distribution of this file, with or without modification, are
4497 permitted in any medium without royalty provided the copyright notice
4498 and this notice are preserved. This file is offered as-is, without any
4499 warranty.
4500
4501 
4502 File: autoconf-archive.info, Node: ax_check_awk__v, Next: ax_check_awk__x_escapes, Prev: ax_check_allocated_ctime, Up: The Macros
4503
4504 ax_check_awk__v
4505 ===============
4506
4507 Synopsis
4508 ********
4509
4510 AX_CHECK_AWK__V([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4511
4512 Description
4513 ***********
4514
4515 Check if AWK supports -v option ($AWK -v var=val '<PROGRAM>'). If
4516 successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4517
4518 This work is heavily based upon testawk.sh script by Heiner Steven. You
4519 should find his script (and related works) at
4520 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4521 Alessandro Massignan for his suggestions and extensive nawk tests on
4522 FreeBSD.
4523
4524 Source Code
4525 ***********
4526
4527 Download the latest version of 'ax_check_awk__v.m4'
4528 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk__v.m4)
4529 or browse the macro's revision history
4530 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk__v.m4).
4531
4532 License
4533 *******
4534
4535 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4536
4537 Copying and distribution of this file, with or without modification, are
4538 permitted in any medium without royalty provided the copyright notice
4539 and this notice are preserved. This file is offered as-is, without any
4540 warranty.
4541
4542 
4543 File: autoconf-archive.info, Node: ax_check_awk__x_escapes, Next: ax_check_awk_and, Prev: ax_check_awk__v, Up: The Macros
4544
4545 ax_check_awk__x_escapes
4546 =======================
4547
4548 Synopsis
4549 ********
4550
4551 AX_CHECK_AWK__X_ESCAPES([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4552
4553 Description
4554 ***********
4555
4556 Check if AWK supports \x escape codes. If successful execute
4557 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4558
4559 This work is heavily based upon testawk.sh script by Heiner Steven. You
4560 should find his script (and related works) at
4561 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4562 Alessandro Massignan for his suggestions and extensive nawk tests on
4563 FreeBSD.
4564
4565 Source Code
4566 ***********
4567
4568 Download the latest version of 'ax_check_awk__x_escapes.m4'
4569 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk__x_escapes.m4)
4570 or browse the macro's revision history
4571 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk__x_escapes.m4).
4572
4573 License
4574 *******
4575
4576 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4577
4578 Copying and distribution of this file, with or without modification, are
4579 permitted in any medium without royalty provided the copyright notice
4580 and this notice are preserved. This file is offered as-is, without any
4581 warranty.
4582
4583 
4584 File: autoconf-archive.info, Node: ax_check_awk_and, Next: ax_check_awk_argind, Prev: ax_check_awk__x_escapes, Up: The Macros
4585
4586 ax_check_awk_and
4587 ================
4588
4589 Synopsis
4590 ********
4591
4592 AX_CHECK_AWK_AND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4593
4594 Description
4595 ***********
4596
4597 Check if AWK supports and() function. If successful execute
4598 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4599
4600 This work is heavily based upon testawk.sh script by Heiner Steven. You
4601 should find his script (and related works) at
4602 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4603 Alessandro Massignan for his suggestions and extensive nawk tests on
4604 FreeBSD.
4605
4606 Source Code
4607 ***********
4608
4609 Download the latest version of 'ax_check_awk_and.m4'
4610 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_and.m4)
4611 or browse the macro's revision history
4612 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_and.m4).
4613
4614 License
4615 *******
4616
4617 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4618
4619 Copying and distribution of this file, with or without modification, are
4620 permitted in any medium without royalty provided the copyright notice
4621 and this notice are preserved. This file is offered as-is, without any
4622 warranty.
4623
4624 
4625 File: autoconf-archive.info, Node: ax_check_awk_argind, Next: ax_check_awk_array_delete, Prev: ax_check_awk_and, Up: The Macros
4626
4627 ax_check_awk_argind
4628 ===================
4629
4630 Synopsis
4631 ********
4632
4633 AX_CHECK_AWK_ARGIND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4634
4635 Description
4636 ***********
4637
4638 Check if AWK supports ARGIND variable. If successful execute
4639 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4640
4641 This work is heavily based upon testawk.sh script by Heiner Steven. You
4642 should find his script (and related works) at
4643 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4644 Alessandro Massignan for his suggestions and extensive nawk tests on
4645 FreeBSD.
4646
4647 Source Code
4648 ***********
4649
4650 Download the latest version of 'ax_check_awk_argind.m4'
4651 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_argind.m4)
4652 or browse the macro's revision history
4653 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_argind.m4).
4654
4655 License
4656 *******
4657
4658 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4659
4660 Copying and distribution of this file, with or without modification, are
4661 permitted in any medium without royalty provided the copyright notice
4662 and this notice are preserved. This file is offered as-is, without any
4663 warranty.
4664
4665 
4666 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
4667
4668 ax_check_awk_array_delete
4669 =========================
4670
4671 Synopsis
4672 ********
4673
4674 AX_CHECK_AWK_ARRAY_DELETE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4675
4676 Description
4677 ***********
4678
4679 Check if AWK supports delete on array. If successful execute
4680 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4681
4682 This work is heavily based upon testawk.sh script by Heiner Steven. You
4683 should find his script (and related works) at
4684 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4685 Alessandro Massignan for his suggestions and extensive nawk tests on
4686 FreeBSD.
4687
4688 Source Code
4689 ***********
4690
4691 Download the latest version of 'ax_check_awk_array_delete.m4'
4692 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_array_delete.m4)
4693 or browse the macro's revision history
4694 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_array_delete.m4).
4695
4696 License
4697 *******
4698
4699 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4700
4701 Copying and distribution of this file, with or without modification, are
4702 permitted in any medium without royalty provided the copyright notice
4703 and this notice are preserved. This file is offered as-is, without any
4704 warranty.
4705
4706 
4707 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
4708
4709 ax_check_awk_array_delete_elem
4710 ==============================
4711
4712 Synopsis
4713 ********
4714
4715 AX_CHECK_AWK_ARRAY_DELETE_ELEM([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4716
4717 Description
4718 ***********
4719
4720 Check if AWK supports delete on array element. If successful execute
4721 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4722
4723 This work is heavily based upon testawk.sh script by Heiner Steven. You
4724 should find his script (and related works) at
4725 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4726 Alessandro Massignan for his suggestions and extensive nawk tests on
4727 FreeBSD.
4728
4729 Source Code
4730 ***********
4731
4732 Download the latest version of 'ax_check_awk_array_delete_elem.m4'
4733 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_array_delete_elem.m4)
4734 or browse the macro's revision history
4735 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_array_delete_elem.m4).
4736
4737 License
4738 *******
4739
4740 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4741
4742 Copying and distribution of this file, with or without modification, are
4743 permitted in any medium without royalty provided the copyright notice
4744 and this notice are preserved. This file is offered as-is, without any
4745 warranty.
4746
4747 
4748 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
4749
4750 ax_check_awk_array_in
4751 =====================
4752
4753 Synopsis
4754 ********
4755
4756 AX_CHECK_AWK_ARRAY_IN([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4757
4758 Description
4759 ***********
4760
4761 Check if AWK supports 'in' on array. If successful execute
4762 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4763
4764 This work is heavily based upon testawk.sh script by Heiner Steven. You
4765 should find his script (and related works) at
4766 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4767 Alessandro Massignan for his suggestions and extensive nawk tests on
4768 FreeBSD.
4769
4770 Source Code
4771 ***********
4772
4773 Download the latest version of 'ax_check_awk_array_in.m4'
4774 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_array_in.m4)
4775 or browse the macro's revision history
4776 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_array_in.m4).
4777
4778 License
4779 *******
4780
4781 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4782
4783 Copying and distribution of this file, with or without modification, are
4784 permitted in any medium without royalty provided the copyright notice
4785 and this notice are preserved. This file is offered as-is, without any
4786 warranty.
4787
4788 
4789 File: autoconf-archive.info, Node: ax_check_awk_asort, Next: ax_check_awk_asorti, Prev: ax_check_awk_array_in, Up: The Macros
4790
4791 ax_check_awk_asort
4792 ==================
4793
4794 Synopsis
4795 ********
4796
4797 AX_CHECK_AWK_ASORT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4798
4799 Description
4800 ***********
4801
4802 Check if AWK supports asort() function. If successful execute
4803 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4804
4805 This work is heavily based upon testawk.sh script by Heiner Steven. You
4806 should find his script (and related works) at
4807 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4808 Alessandro Massignan for his suggestions and extensive nawk tests on
4809 FreeBSD.
4810
4811 Source Code
4812 ***********
4813
4814 Download the latest version of 'ax_check_awk_asort.m4'
4815 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_asort.m4)
4816 or browse the macro's revision history
4817 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_asort.m4).
4818
4819 License
4820 *******
4821
4822 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4823
4824 Copying and distribution of this file, with or without modification, are
4825 permitted in any medium without royalty provided the copyright notice
4826 and this notice are preserved. This file is offered as-is, without any
4827 warranty.
4828
4829 
4830 File: autoconf-archive.info, Node: ax_check_awk_asorti, Next: ax_check_awk_associative_array, Prev: ax_check_awk_asort, Up: The Macros
4831
4832 ax_check_awk_asorti
4833 ===================
4834
4835 Synopsis
4836 ********
4837
4838 AX_CHECK_AWK_ASORTI([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4839
4840 Description
4841 ***********
4842
4843 Check if AWK supports asorti() function. If successful execute
4844 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4845
4846 This work is heavily based upon testawk.sh script by Heiner Steven. You
4847 should find his script (and related works) at
4848 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4849 Alessandro Massignan for his suggestions and extensive nawk tests on
4850 FreeBSD.
4851
4852 Source Code
4853 ***********
4854
4855 Download the latest version of 'ax_check_awk_asorti.m4'
4856 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_asorti.m4)
4857 or browse the macro's revision history
4858 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_asorti.m4).
4859
4860 License
4861 *******
4862
4863 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4864
4865 Copying and distribution of this file, with or without modification, are
4866 permitted in any medium without royalty provided the copyright notice
4867 and this notice are preserved. This file is offered as-is, without any
4868 warranty.
4869
4870 
4871 File: autoconf-archive.info, Node: ax_check_awk_associative_array, Next: ax_check_awk_atan2, Prev: ax_check_awk_asorti, Up: The Macros
4872
4873 ax_check_awk_associative_array
4874 ==============================
4875
4876 Synopsis
4877 ********
4878
4879 AX_CHECK_AWK_ASSOCIATIVE_ARRAY([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4880
4881 Description
4882 ***********
4883
4884 Check if AWK supports associative array. If successful execute
4885 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4886
4887 This work is heavily based upon testawk.sh script by Heiner Steven. You
4888 should find his script (and related works) at
4889 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4890 Alessandro Massignan for his suggestions and extensive nawk tests on
4891 FreeBSD.
4892
4893 Source Code
4894 ***********
4895
4896 Download the latest version of 'ax_check_awk_associative_array.m4'
4897 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_associative_array.m4)
4898 or browse the macro's revision history
4899 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_associative_array.m4).
4900
4901 License
4902 *******
4903
4904 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4905
4906 Copying and distribution of this file, with or without modification, are
4907 permitted in any medium without royalty provided the copyright notice
4908 and this notice are preserved. This file is offered as-is, without any
4909 warranty.
4910
4911 
4912 File: autoconf-archive.info, Node: ax_check_awk_atan2, Next: ax_check_awk_compl, Prev: ax_check_awk_associative_array, Up: The Macros
4913
4914 ax_check_awk_atan2
4915 ==================
4916
4917 Synopsis
4918 ********
4919
4920 AX_CHECK_AWK_ATAN2([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4921
4922 Description
4923 ***********
4924
4925 Check if AWK supports atan2() function. If successful execute
4926 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4927
4928 This work is heavily based upon testawk.sh script by Heiner Steven. You
4929 should find his script (and related works) at
4930 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4931 Alessandro Massignan for his suggestions and extensive nawk tests on
4932 FreeBSD.
4933
4934 Source Code
4935 ***********
4936
4937 Download the latest version of 'ax_check_awk_atan2.m4'
4938 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_atan2.m4)
4939 or browse the macro's revision history
4940 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_atan2.m4).
4941
4942 License
4943 *******
4944
4945 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4946
4947 Copying and distribution of this file, with or without modification, are
4948 permitted in any medium without royalty provided the copyright notice
4949 and this notice are preserved. This file is offered as-is, without any
4950 warranty.
4951
4952 
4953 File: autoconf-archive.info, Node: ax_check_awk_compl, Next: ax_check_awk_conditional_expression, Prev: ax_check_awk_atan2, Up: The Macros
4954
4955 ax_check_awk_compl
4956 ==================
4957
4958 Synopsis
4959 ********
4960
4961 AX_CHECK_AWK_COMPL([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4962
4963 Description
4964 ***********
4965
4966 Check if AWK supports compl() function. If successful execute
4967 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4968
4969 This work is heavily based upon testawk.sh script by Heiner Steven. You
4970 should find his script (and related works) at
4971 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4972 Alessandro Massignan for his suggestions and extensive nawk tests on
4973 FreeBSD.
4974
4975 Source Code
4976 ***********
4977
4978 Download the latest version of 'ax_check_awk_compl.m4'
4979 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_compl.m4)
4980 or browse the macro's revision history
4981 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_compl.m4).
4982
4983 License
4984 *******
4985
4986 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4987
4988 Copying and distribution of this file, with or without modification, are
4989 permitted in any medium without royalty provided the copyright notice
4990 and this notice are preserved. This file is offered as-is, without any
4991 warranty.
4992
4993 
4994 File: autoconf-archive.info, Node: ax_check_awk_conditional_expression, Next: ax_check_awk_cos, Prev: ax_check_awk_compl, Up: The Macros
4995
4996 ax_check_awk_conditional_expression
4997 ===================================
4998
4999 Synopsis
5000 ********
5001
5002 AX_CHECK_AWK_CONDITIONAL_EXPRESSION([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5003
5004 Description
5005 ***********
5006
5007 Check if AWK supports conditional expression (e.g. x = y ? 5 : 6). If
5008 successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5009
5010 This work is heavily based upon testawk.sh script by Heiner Steven. You
5011 should find his script (and related works) at
5012 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5013 Alessandro Massignan for his suggestions and extensive nawk tests on
5014 FreeBSD.
5015
5016 Source Code
5017 ***********
5018
5019 Download the latest version of 'ax_check_awk_conditional_expression.m4'
5020 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_conditional_expression.m4)
5021 or browse the macro's revision history
5022 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_conditional_expression.m4).
5023
5024 License
5025 *******
5026
5027 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5028
5029 Copying and distribution of this file, with or without modification, are
5030 permitted in any medium without royalty provided the copyright notice
5031 and this notice are preserved. This file is offered as-is, without any
5032 warranty.
5033
5034 
5035 File: autoconf-archive.info, Node: ax_check_awk_cos, Next: ax_check_awk_environ, Prev: ax_check_awk_conditional_expression, Up: The Macros
5036
5037 ax_check_awk_cos
5038 ================
5039
5040 Synopsis
5041 ********
5042
5043 AX_CHECK_AWK_COS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5044
5045 Description
5046 ***********
5047
5048 Check if AWK supports cos() function. If successful execute
5049 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5050
5051 This work is heavily based upon testawk.sh script by Heiner Steven. You
5052 should find his script (and related works) at
5053 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5054 Alessandro Massignan for his suggestions and extensive nawk tests on
5055 FreeBSD.
5056
5057 Source Code
5058 ***********
5059
5060 Download the latest version of 'ax_check_awk_cos.m4'
5061 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_cos.m4)
5062 or browse the macro's revision history
5063 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_cos.m4).
5064
5065 License
5066 *******
5067
5068 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5069
5070 Copying and distribution of this file, with or without modification, are
5071 permitted in any medium without royalty provided the copyright notice
5072 and this notice are preserved. This file is offered as-is, without any
5073 warranty.
5074
5075 
5076 File: autoconf-archive.info, Node: ax_check_awk_environ, Next: ax_check_awk_errno, Prev: ax_check_awk_cos, Up: The Macros
5077
5078 ax_check_awk_environ
5079 ====================
5080
5081 Synopsis
5082 ********
5083
5084 AX_CHECK_AWK_ENVIRON([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5085
5086 Description
5087 ***********
5088
5089 Check if AWK supports ENVIRON variable. If successful execute
5090 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5091
5092 This work is heavily based upon testawk.sh script by Heiner Steven. You
5093 should find his script (and related works) at
5094 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5095 Alessandro Massignan for his suggestions and extensive nawk tests on
5096 FreeBSD.
5097
5098 Source Code
5099 ***********
5100
5101 Download the latest version of 'ax_check_awk_environ.m4'
5102 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_environ.m4)
5103 or browse the macro's revision history
5104 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_environ.m4).
5105
5106 License
5107 *******
5108
5109 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5110
5111 Copying and distribution of this file, with or without modification, are
5112 permitted in any medium without royalty provided the copyright notice
5113 and this notice are preserved. This file is offered as-is, without any
5114 warranty.
5115
5116 
5117 File: autoconf-archive.info, Node: ax_check_awk_errno, Next: ax_check_awk_exit, Prev: ax_check_awk_environ, Up: The Macros
5118
5119 ax_check_awk_errno
5120 ==================
5121
5122 Synopsis
5123 ********
5124
5125 AX_CHECK_AWK_ERRNO([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5126
5127 Description
5128 ***********
5129
5130 Check if AWK supports ERRNO variable. If successful execute
5131 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5132
5133 This work is heavily based upon testawk.sh script by Heiner Steven. You
5134 should find his script (and related works) at
5135 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5136 Alessandro Massignan for his suggestions and extensive nawk tests on
5137 FreeBSD.
5138
5139 Source Code
5140 ***********
5141
5142 Download the latest version of 'ax_check_awk_errno.m4'
5143 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_errno.m4)
5144 or browse the macro's revision history
5145 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_errno.m4).
5146
5147 License
5148 *******
5149
5150 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5151
5152 Copying and distribution of this file, with or without modification, are
5153 permitted in any medium without royalty provided the copyright notice
5154 and this notice are preserved. This file is offered as-is, without any
5155 warranty.
5156
5157 
5158 File: autoconf-archive.info, Node: ax_check_awk_exit, Next: ax_check_awk_exp, Prev: ax_check_awk_errno, Up: The Macros
5159
5160 ax_check_awk_exit
5161 =================
5162
5163 Synopsis
5164 ********
5165
5166 AX_CHECK_AWK_EXIT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5167
5168 Description
5169 ***********
5170
5171 Check if AWK supports exit(). If successful execute ACTION-IF-SUCCESS
5172 otherwise ACTION-IF-FAILURE.
5173
5174 This work is heavily based upon testawk.sh script by Heiner Steven. You
5175 should find his script (and related works) at
5176 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5177 Alessandro Massignan for his suggestions and extensive nawk tests on
5178 FreeBSD.
5179
5180 Source Code
5181 ***********
5182
5183 Download the latest version of 'ax_check_awk_exit.m4'
5184 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_exit.m4)
5185 or browse the macro's revision history
5186 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_exit.m4).
5187
5188 License
5189 *******
5190
5191 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5192
5193 Copying and distribution of this file, with or without modification, are
5194 permitted in any medium without royalty provided the copyright notice
5195 and this notice are preserved. This file is offered as-is, without any
5196 warranty.
5197
5198 
5199 File: autoconf-archive.info, Node: ax_check_awk_exp, Next: ax_check_awk_gensub, Prev: ax_check_awk_exit, Up: The Macros
5200
5201 ax_check_awk_exp
5202 ================
5203
5204 Synopsis
5205 ********
5206
5207 AX_CHECK_AWK_EXP([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5208
5209 Description
5210 ***********
5211
5212 Check if AWK supports exp() function. If successful execute
5213 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5214
5215 This work is heavily based upon testawk.sh script by Heiner Steven. You
5216 should find his script (and related works) at
5217 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5218 Alessandro Massignan for his suggestions and extensive nawk tests on
5219 FreeBSD.
5220
5221 Source Code
5222 ***********
5223
5224 Download the latest version of 'ax_check_awk_exp.m4'
5225 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_exp.m4)
5226 or browse the macro's revision history
5227 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_exp.m4).
5228
5229 License
5230 *******
5231
5232 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5233
5234 Copying and distribution of this file, with or without modification, are
5235 permitted in any medium without royalty provided the copyright notice
5236 and this notice are preserved. This file is offered as-is, without any
5237 warranty.
5238
5239 
5240 File: autoconf-archive.info, Node: ax_check_awk_gensub, Next: ax_check_awk_getline, Prev: ax_check_awk_exp, Up: The Macros
5241
5242 ax_check_awk_gensub
5243 ===================
5244
5245 Synopsis
5246 ********
5247
5248 AX_CHECK_AWK_GENSUB([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5249
5250 Description
5251 ***********
5252
5253 Check if AWK supports gensub() function. If successful execute
5254 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5255
5256 This work is heavily based upon testawk.sh script by Heiner Steven. You
5257 should find his script (and related works) at
5258 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5259 Alessandro Massignan for his suggestions and extensive nawk tests on
5260 FreeBSD.
5261
5262 Source Code
5263 ***********
5264
5265 Download the latest version of 'ax_check_awk_gensub.m4'
5266 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_gensub.m4)
5267 or browse the macro's revision history
5268 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_gensub.m4).
5269
5270 License
5271 *******
5272
5273 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5274
5275 Copying and distribution of this file, with or without modification, are
5276 permitted in any medium without royalty provided the copyright notice
5277 and this notice are preserved. This file is offered as-is, without any
5278 warranty.
5279
5280 
5281 File: autoconf-archive.info, Node: ax_check_awk_getline, Next: ax_check_awk_gsub, Prev: ax_check_awk_gensub, Up: The Macros
5282
5283 ax_check_awk_getline
5284 ====================
5285
5286 Synopsis
5287 ********
5288
5289 AX_CHECK_AWK_GETLINE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5290
5291 Description
5292 ***********
5293
5294 Check if AWK supports getline function. If successful execute
5295 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5296
5297 This work is heavily based upon testawk.sh script by Heiner Steven. You
5298 should find his script (and related works) at
5299 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5300 Alessandro Massignan for his suggestions and extensive nawk tests on
5301 FreeBSD.
5302
5303 Source Code
5304 ***********
5305
5306 Download the latest version of 'ax_check_awk_getline.m4'
5307 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_getline.m4)
5308 or browse the macro's revision history
5309 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_getline.m4).
5310
5311 License
5312 *******
5313
5314 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5315
5316 Copying and distribution of this file, with or without modification, are
5317 permitted in any medium without royalty provided the copyright notice
5318 and this notice are preserved. This file is offered as-is, without any
5319 warranty.
5320
5321 
5322 File: autoconf-archive.info, Node: ax_check_awk_gsub, Next: ax_check_awk_ignorecase, Prev: ax_check_awk_getline, Up: The Macros
5323
5324 ax_check_awk_gsub
5325 =================
5326
5327 Synopsis
5328 ********
5329
5330 AX_CHECK_AWK_GSUB([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5331
5332 Description
5333 ***********
5334
5335 Check if AWK supports gsub() function. If successful execute
5336 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5337
5338 This work is heavily based upon testawk.sh script by Heiner Steven. You
5339 should find his script (and related works) at
5340 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5341 Alessandro Massignan for his suggestions and extensive nawk tests on
5342 FreeBSD.
5343
5344 Source Code
5345 ***********
5346
5347 Download the latest version of 'ax_check_awk_gsub.m4'
5348 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_gsub.m4)
5349 or browse the macro's revision history
5350 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_gsub.m4).
5351
5352 License
5353 *******
5354
5355 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5356
5357 Copying and distribution of this file, with or without modification, are
5358 permitted in any medium without royalty provided the copyright notice
5359 and this notice are preserved. This file is offered as-is, without any
5360 warranty.
5361
5362 
5363 File: autoconf-archive.info, Node: ax_check_awk_ignorecase, Next: ax_check_awk_index, Prev: ax_check_awk_gsub, Up: The Macros
5364
5365 ax_check_awk_ignorecase
5366 =======================
5367
5368 Synopsis
5369 ********
5370
5371 AX_CHECK_AWK_IGNORECASE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5372
5373 Description
5374 ***********
5375
5376 Check if AWK supports IGNORECASE variable. If successful execute
5377 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5378
5379 This work is heavily based upon testawk.sh script by Heiner Steven. You
5380 should find his script (and related works) at
5381 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5382 Alessandro Massignan for his suggestions and extensive nawk tests on
5383 FreeBSD.
5384
5385 Source Code
5386 ***********
5387
5388 Download the latest version of 'ax_check_awk_ignorecase.m4'
5389 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_ignorecase.m4)
5390 or browse the macro's revision history
5391 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_ignorecase.m4).
5392
5393 License
5394 *******
5395
5396 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5397
5398 Copying and distribution of this file, with or without modification, are
5399 permitted in any medium without royalty provided the copyright notice
5400 and this notice are preserved. This file is offered as-is, without any
5401 warranty.
5402
5403 
5404 File: autoconf-archive.info, Node: ax_check_awk_index, Next: ax_check_awk_int, Prev: ax_check_awk_ignorecase, Up: The Macros
5405
5406 ax_check_awk_index
5407 ==================
5408
5409 Synopsis
5410 ********
5411
5412 AX_CHECK_AWK_INDEX([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5413
5414 Description
5415 ***********
5416
5417 Check if AWK supports index() function. If successful execute
5418 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5419
5420 This work is heavily based upon testawk.sh script by Heiner Steven. You
5421 should find his script (and related works) at
5422 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5423 Alessandro Massignan for his suggestions and extensive nawk tests on
5424 FreeBSD.
5425
5426 Source Code
5427 ***********
5428
5429 Download the latest version of 'ax_check_awk_index.m4'
5430 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_index.m4)
5431 or browse the macro's revision history
5432 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_index.m4).
5433
5434 License
5435 *******
5436
5437 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5438
5439 Copying and distribution of this file, with or without modification, are
5440 permitted in any medium without royalty provided the copyright notice
5441 and this notice are preserved. This file is offered as-is, without any
5442 warranty.
5443
5444 
5445 File: autoconf-archive.info, Node: ax_check_awk_int, Next: ax_check_awk_length, Prev: ax_check_awk_index, Up: The Macros
5446
5447 ax_check_awk_int
5448 ================
5449
5450 Synopsis
5451 ********
5452
5453 AX_CHECK_AWK_INT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5454
5455 Description
5456 ***********
5457
5458 Check if AWK supports int() function. If successful execute
5459 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5460
5461 This work is heavily based upon testawk.sh script by Heiner Steven. You
5462 should find his script (and related works) at
5463 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5464 Alessandro Massignan for his suggestions and extensive nawk tests on
5465 FreeBSD.
5466
5467 Source Code
5468 ***********
5469
5470 Download the latest version of 'ax_check_awk_int.m4'
5471 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_int.m4)
5472 or browse the macro's revision history
5473 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_int.m4).
5474
5475 License
5476 *******
5477
5478 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5479
5480 Copying and distribution of this file, with or without modification, are
5481 permitted in any medium without royalty provided the copyright notice
5482 and this notice are preserved. This file is offered as-is, without any
5483 warranty.
5484
5485 
5486 File: autoconf-archive.info, Node: ax_check_awk_length, Next: ax_check_awk_log, Prev: ax_check_awk_int, Up: The Macros
5487
5488 ax_check_awk_length
5489 ===================
5490
5491 Synopsis
5492 ********
5493
5494 AX_CHECK_AWK_LENGTH([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5495
5496 Description
5497 ***********
5498
5499 Check if AWK supports length() function. If successful execute
5500 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5501
5502 This work is heavily based upon testawk.sh script by Heiner Steven. You
5503 should find his script (and related works) at
5504 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5505 Alessandro Massignan for his suggestions and extensive nawk tests on
5506 FreeBSD.
5507
5508 Source Code
5509 ***********
5510
5511 Download the latest version of 'ax_check_awk_length.m4'
5512 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_length.m4)
5513 or browse the macro's revision history
5514 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_length.m4).
5515
5516 License
5517 *******
5518
5519 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5520
5521 Copying and distribution of this file, with or without modification, are
5522 permitted in any medium without royalty provided the copyright notice
5523 and this notice are preserved. This file is offered as-is, without any
5524 warranty.
5525
5526 
5527 File: autoconf-archive.info, Node: ax_check_awk_log, Next: ax_check_awk_lshift, Prev: ax_check_awk_length, Up: The Macros
5528
5529 ax_check_awk_log
5530 ================
5531
5532 Synopsis
5533 ********
5534
5535 AX_CHECK_AWK_LOG([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5536
5537 Description
5538 ***********
5539
5540 Check if AWK supports log() function. If successful execute
5541 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5542
5543 This work is heavily based upon testawk.sh script by Heiner Steven. You
5544 should find his script (and related works) at
5545 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5546 Alessandro Massignan for his suggestions and extensive nawk tests on
5547 FreeBSD.
5548
5549 Source Code
5550 ***********
5551
5552 Download the latest version of 'ax_check_awk_log.m4'
5553 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_log.m4)
5554 or browse the macro's revision history
5555 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_log.m4).
5556
5557 License
5558 *******
5559
5560 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5561
5562 Copying and distribution of this file, with or without modification, are
5563 permitted in any medium without royalty provided the copyright notice
5564 and this notice are preserved. This file is offered as-is, without any
5565 warranty.
5566
5567 
5568 File: autoconf-archive.info, Node: ax_check_awk_lshift, Next: ax_check_awk_match_2parms, Prev: ax_check_awk_log, Up: The Macros
5569
5570 ax_check_awk_lshift
5571 ===================
5572
5573 Synopsis
5574 ********
5575
5576 AX_CHECK_AWK_LSHIFT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5577
5578 Description
5579 ***********
5580
5581 Check if AWK supports lshift() function. If successful execute
5582 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5583
5584 This work is heavily based upon testawk.sh script by Heiner Steven. You
5585 should find his script (and related works) at
5586 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5587 Alessandro Massignan for his suggestions and extensive nawk tests on
5588 FreeBSD.
5589
5590 Source Code
5591 ***********
5592
5593 Download the latest version of 'ax_check_awk_lshift.m4'
5594 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_lshift.m4)
5595 or browse the macro's revision history
5596 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_lshift.m4).
5597
5598 License
5599 *******
5600
5601 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5602
5603 Copying and distribution of this file, with or without modification, are
5604 permitted in any medium without royalty provided the copyright notice
5605 and this notice are preserved. This file is offered as-is, without any
5606 warranty.
5607
5608 
5609 File: autoconf-archive.info, Node: ax_check_awk_match_2parms, Next: ax_check_awk_match_3parms, Prev: ax_check_awk_lshift, Up: The Macros
5610
5611 ax_check_awk_match_2parms
5612 =========================
5613
5614 Synopsis
5615 ********
5616
5617 AX_CHECK_AWK_MATCH_2PARMS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5618
5619 Description
5620 ***********
5621
5622 Check if AWK supports match() function with 2 parameters (standard). If
5623 successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5624
5625 This work is heavily based upon testawk.sh script by Heiner Steven. You
5626 should find his script (and related works) at
5627 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5628 Alessandro Massignan for his suggestions and extensive nawk tests on
5629 FreeBSD.
5630
5631 Source Code
5632 ***********
5633
5634 Download the latest version of 'ax_check_awk_match_2parms.m4'
5635 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_match_2parms.m4)
5636 or browse the macro's revision history
5637 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_match_2parms.m4).
5638
5639 License
5640 *******
5641
5642 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5643
5644 Copying and distribution of this file, with or without modification, are
5645 permitted in any medium without royalty provided the copyright notice
5646 and this notice are preserved. This file is offered as-is, without any
5647 warranty.
5648
5649 
5650 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
5651
5652 ax_check_awk_match_3parms
5653 =========================
5654
5655 Synopsis
5656 ********
5657
5658 AX_CHECK_AWK_MATCH_3PARMS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5659
5660 Description
5661 ***********
5662
5663 Check if AWK supports match() function with 3 parameters (GNU
5664 extension). If successful execute ACTION-IF-SUCCESS otherwise
5665 ACTION-IF-FAILURE.
5666
5667 This work is heavily based upon testawk.sh script by Heiner Steven. You
5668 should find his script (and related works) at
5669 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5670 Alessandro Massignan for his suggestions and extensive nawk tests on
5671 FreeBSD.
5672
5673 Source Code
5674 ***********
5675
5676 Download the latest version of 'ax_check_awk_match_3parms.m4'
5677 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_match_3parms.m4)
5678 or browse the macro's revision history
5679 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_match_3parms.m4).
5680
5681 License
5682 *******
5683
5684 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5685
5686 Copying and distribution of this file, with or without modification, are
5687 permitted in any medium without royalty provided the copyright notice
5688 and this notice are preserved. This file is offered as-is, without any
5689 warranty.
5690
5691 
5692 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
5693
5694 ax_check_awk_operator_multiply_multiply
5695 =======================================
5696
5697 Synopsis
5698 ********
5699
5700 AX_CHECK_AWK_OPERATOR_MULTIPLY_MULTIPLY([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5701
5702 Description
5703 ***********
5704
5705 Check if AWK supports the '**' operator. If successful execute
5706 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5707
5708 This work is heavily based upon testawk.sh script by Heiner Steven. You
5709 should find his script (and related works) at
5710 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5711 Alessandro Massignan for his suggestions and extensive nawk tests on
5712 FreeBSD.
5713
5714 Source Code
5715 ***********
5716
5717 Download the latest version of
5718 'ax_check_awk_operator_multiply_multiply.m4'
5719 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_operator_multiply_multiply.m4)
5720 or browse the macro's revision history
5721 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_operator_multiply_multiply.m4).
5722
5723 License
5724 *******
5725
5726 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5727
5728 Copying and distribution of this file, with or without modification, are
5729 permitted in any medium without royalty provided the copyright notice
5730 and this notice are preserved. This file is offered as-is, without any
5731 warranty.
5732
5733 
5734 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
5735
5736 ax_check_awk_operator_square
5737 ============================
5738
5739 Synopsis
5740 ********
5741
5742 AX_CHECK_AWK_OPERATOR_SQUARE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5743
5744 Description
5745 ***********
5746
5747 Check if AWK supports the '^' operator. If successful execute
5748 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5749
5750 This work is heavily based upon testawk.sh script by Heiner Steven. You
5751 should find his script (and related works) at
5752 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5753 Alessandro Massignan for his suggestions and extensive nawk tests on
5754 FreeBSD.
5755
5756 Source Code
5757 ***********
5758
5759 Download the latest version of 'ax_check_awk_operator_square.m4'
5760 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_operator_square.m4)
5761 or browse the macro's revision history
5762 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_operator_square.m4).
5763
5764 License
5765 *******
5766
5767 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5768
5769 Copying and distribution of this file, with or without modification, are
5770 permitted in any medium without royalty provided the copyright notice
5771 and this notice are preserved. This file is offered as-is, without any
5772 warranty.
5773
5774 
5775 File: autoconf-archive.info, Node: ax_check_awk_or, Next: ax_check_awk_printf, Prev: ax_check_awk_operator_square, Up: The Macros
5776
5777 ax_check_awk_or
5778 ===============
5779
5780 Synopsis
5781 ********
5782
5783 AX_CHECK_AWK_OR([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5784
5785 Description
5786 ***********
5787
5788 Check if AWK supports or() function. If successful execute
5789 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5790
5791 This work is heavily based upon testawk.sh script by Heiner Steven. You
5792 should find his script (and related works) at
5793 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5794 Alessandro Massignan for his suggestions and extensive nawk tests on
5795 FreeBSD.
5796
5797 Source Code
5798 ***********
5799
5800 Download the latest version of 'ax_check_awk_or.m4'
5801 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_or.m4)
5802 or browse the macro's revision history
5803 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_or.m4).
5804
5805 License
5806 *******
5807
5808 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5809
5810 Copying and distribution of this file, with or without modification, are
5811 permitted in any medium without royalty provided the copyright notice
5812 and this notice are preserved. This file is offered as-is, without any
5813 warranty.
5814
5815 
5816 File: autoconf-archive.info, Node: ax_check_awk_printf, Next: ax_check_awk_rand, Prev: ax_check_awk_or, Up: The Macros
5817
5818 ax_check_awk_printf
5819 ===================
5820
5821 Synopsis
5822 ********
5823
5824 AX_CHECK_AWK_PRINTF([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5825
5826 Description
5827 ***********
5828
5829 Check if AWK supports printf() function. If successful execute
5830 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5831
5832 This work is heavily based upon testawk.sh script by Heiner Steven. You
5833 should find his script (and related works) at
5834 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5835 Alessandro Massignan for his suggestions and extensive nawk tests on
5836 FreeBSD.
5837
5838 Source Code
5839 ***********
5840
5841 Download the latest version of 'ax_check_awk_printf.m4'
5842 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_printf.m4)
5843 or browse the macro's revision history
5844 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_printf.m4).
5845
5846 License
5847 *******
5848
5849 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5850
5851 Copying and distribution of this file, with or without modification, are
5852 permitted in any medium without royalty provided the copyright notice
5853 and this notice are preserved. This file is offered as-is, without any
5854 warranty.
5855
5856 
5857 File: autoconf-archive.info, Node: ax_check_awk_rand, Next: ax_check_awk_rshift, Prev: ax_check_awk_printf, Up: The Macros
5858
5859 ax_check_awk_rand
5860 =================
5861
5862 Synopsis
5863 ********
5864
5865 AX_CHECK_AWK_RAND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5866
5867 Description
5868 ***********
5869
5870 Check if AWK supports rand() function. If successful execute
5871 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5872
5873 This work is heavily based upon testawk.sh script by Heiner Steven. You
5874 should find his script (and related works) at
5875 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5876 Alessandro Massignan for his suggestions and extensive nawk tests on
5877 FreeBSD.
5878
5879 Source Code
5880 ***********
5881
5882 Download the latest version of 'ax_check_awk_rand.m4'
5883 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_rand.m4)
5884 or browse the macro's revision history
5885 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_rand.m4).
5886
5887 License
5888 *******
5889
5890 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5891
5892 Copying and distribution of this file, with or without modification, are
5893 permitted in any medium without royalty provided the copyright notice
5894 and this notice are preserved. This file is offered as-is, without any
5895 warranty.
5896
5897 
5898 File: autoconf-archive.info, Node: ax_check_awk_rshift, Next: ax_check_awk_sin, Prev: ax_check_awk_rand, Up: The Macros
5899
5900 ax_check_awk_rshift
5901 ===================
5902
5903 Synopsis
5904 ********
5905
5906 AX_CHECK_AWK_RSHIFT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5907
5908 Description
5909 ***********
5910
5911 Check if AWK supports rshift() function. If successful execute
5912 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5913
5914 This work is heavily based upon testawk.sh script by Heiner Steven. You
5915 should find his script (and related works) at
5916 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5917 Alessandro Massignan for his suggestions and extensive nawk tests on
5918 FreeBSD.
5919
5920 Source Code
5921 ***********
5922
5923 Download the latest version of 'ax_check_awk_rshift.m4'
5924 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_rshift.m4)
5925 or browse the macro's revision history
5926 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_rshift.m4).
5927
5928 License
5929 *******
5930
5931 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5932
5933 Copying and distribution of this file, with or without modification, are
5934 permitted in any medium without royalty provided the copyright notice
5935 and this notice are preserved. This file is offered as-is, without any
5936 warranty.
5937
5938 
5939 File: autoconf-archive.info, Node: ax_check_awk_sin, Next: ax_check_awk_split, Prev: ax_check_awk_rshift, Up: The Macros
5940
5941 ax_check_awk_sin
5942 ================
5943
5944 Synopsis
5945 ********
5946
5947 AX_CHECK_AWK_SIN([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5948
5949 Description
5950 ***********
5951
5952 Check if AWK supports sin() function. If successful execute
5953 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5954
5955 This work is heavily based upon testawk.sh script by Heiner Steven. You
5956 should find his script (and related works) at
5957 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5958 Alessandro Massignan for his suggestions and extensive nawk tests on
5959 FreeBSD.
5960
5961 Source Code
5962 ***********
5963
5964 Download the latest version of 'ax_check_awk_sin.m4'
5965 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sin.m4)
5966 or browse the macro's revision history
5967 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sin.m4).
5968
5969 License
5970 *******
5971
5972 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5973
5974 Copying and distribution of this file, with or without modification, are
5975 permitted in any medium without royalty provided the copyright notice
5976 and this notice are preserved. This file is offered as-is, without any
5977 warranty.
5978
5979 
5980 File: autoconf-archive.info, Node: ax_check_awk_split, Next: ax_check_awk_sprintf, Prev: ax_check_awk_sin, Up: The Macros
5981
5982 ax_check_awk_split
5983 ==================
5984
5985 Synopsis
5986 ********
5987
5988 AX_CHECK_AWK_SPLIT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5989
5990 Description
5991 ***********
5992
5993 Check if AWK supports split() function. If successful execute
5994 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5995
5996 This work is heavily based upon testawk.sh script by Heiner Steven. You
5997 should find his script (and related works) at
5998 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5999 Alessandro Massignan for his suggestions and extensive nawk tests on
6000 FreeBSD.
6001
6002 Source Code
6003 ***********
6004
6005 Download the latest version of 'ax_check_awk_split.m4'
6006 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_split.m4)
6007 or browse the macro's revision history
6008 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_split.m4).
6009
6010 License
6011 *******
6012
6013 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6014
6015 Copying and distribution of this file, with or without modification, are
6016 permitted in any medium without royalty provided the copyright notice
6017 and this notice are preserved. This file is offered as-is, without any
6018 warranty.
6019
6020 
6021 File: autoconf-archive.info, Node: ax_check_awk_sprintf, Next: ax_check_awk_sqrt, Prev: ax_check_awk_split, Up: The Macros
6022
6023 ax_check_awk_sprintf
6024 ====================
6025
6026 Synopsis
6027 ********
6028
6029 AX_CHECK_AWK_SPRINTF([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6030
6031 Description
6032 ***********
6033
6034 Check if AWK supports sprintf() function. If successful execute
6035 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6036
6037 This work is heavily based upon testawk.sh script by Heiner Steven. You
6038 should find his script (and related works) at
6039 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6040 Alessandro Massignan for his suggestions and extensive nawk tests on
6041 FreeBSD.
6042
6043 Source Code
6044 ***********
6045
6046 Download the latest version of 'ax_check_awk_sprintf.m4'
6047 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sprintf.m4)
6048 or browse the macro's revision history
6049 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sprintf.m4).
6050
6051 License
6052 *******
6053
6054 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6055
6056 Copying and distribution of this file, with or without modification, are
6057 permitted in any medium without royalty provided the copyright notice
6058 and this notice are preserved. This file is offered as-is, without any
6059 warranty.
6060
6061 
6062 File: autoconf-archive.info, Node: ax_check_awk_sqrt, Next: ax_check_awk_srand, Prev: ax_check_awk_sprintf, Up: The Macros
6063
6064 ax_check_awk_sqrt
6065 =================
6066
6067 Synopsis
6068 ********
6069
6070 AX_CHECK_AWK_SQRT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6071
6072 Description
6073 ***********
6074
6075 Check if AWK supports sqrt() function. If successful execute
6076 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6077
6078 This work is heavily based upon testawk.sh script by Heiner Steven. You
6079 should find his script (and related works) at
6080 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6081 Alessandro Massignan for his suggestions and extensive nawk tests on
6082 FreeBSD.
6083
6084 Source Code
6085 ***********
6086
6087 Download the latest version of 'ax_check_awk_sqrt.m4'
6088 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sqrt.m4)
6089 or browse the macro's revision history
6090 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sqrt.m4).
6091
6092 License
6093 *******
6094
6095 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6096
6097 Copying and distribution of this file, with or without modification, are
6098 permitted in any medium without royalty provided the copyright notice
6099 and this notice are preserved. This file is offered as-is, without any
6100 warranty.
6101
6102 
6103 File: autoconf-archive.info, Node: ax_check_awk_srand, Next: ax_check_awk_strftime, Prev: ax_check_awk_sqrt, Up: The Macros
6104
6105 ax_check_awk_srand
6106 ==================
6107
6108 Synopsis
6109 ********
6110
6111 AX_CHECK_AWK_SRAND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6112
6113 Description
6114 ***********
6115
6116 Check if AWK supports srand() function. If successful execute
6117 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6118
6119 This work is heavily based upon testawk.sh script by Heiner Steven. You
6120 should find his script (and related works) at
6121 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6122 Alessandro Massignan for his suggestions and extensive nawk tests on
6123 FreeBSD.
6124
6125 Source Code
6126 ***********
6127
6128 Download the latest version of 'ax_check_awk_srand.m4'
6129 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_srand.m4)
6130 or browse the macro's revision history
6131 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_srand.m4).
6132
6133 License
6134 *******
6135
6136 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6137
6138 Copying and distribution of this file, with or without modification, are
6139 permitted in any medium without royalty provided the copyright notice
6140 and this notice are preserved. This file is offered as-is, without any
6141 warranty.
6142
6143 
6144 File: autoconf-archive.info, Node: ax_check_awk_strftime, Next: ax_check_awk_strtonum, Prev: ax_check_awk_srand, Up: The Macros
6145
6146 ax_check_awk_strftime
6147 =====================
6148
6149 Synopsis
6150 ********
6151
6152 AX_CHECK_AWK_STRFTIME([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6153
6154 Description
6155 ***********
6156
6157 Check if AWK supports strftime() function. If successful execute
6158 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6159
6160 This work is heavily based upon testawk.sh script by Heiner Steven. You
6161 should find his script (and related works) at
6162 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6163 Alessandro Massignan for his suggestions and extensive nawk tests on
6164 FreeBSD.
6165
6166 Source Code
6167 ***********
6168
6169 Download the latest version of 'ax_check_awk_strftime.m4'
6170 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_strftime.m4)
6171 or browse the macro's revision history
6172 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_strftime.m4).
6173
6174 License
6175 *******
6176
6177 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6178
6179 Copying and distribution of this file, with or without modification, are
6180 permitted in any medium without royalty provided the copyright notice
6181 and this notice are preserved. This file is offered as-is, without any
6182 warranty.
6183
6184 
6185 File: autoconf-archive.info, Node: ax_check_awk_strtonum, Next: ax_check_awk_sub, Prev: ax_check_awk_strftime, Up: The Macros
6186
6187 ax_check_awk_strtonum
6188 =====================
6189
6190 Synopsis
6191 ********
6192
6193 AX_CHECK_AWK_STRTONUM([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6194
6195 Description
6196 ***********
6197
6198 Check if AWK supports strtonum() function. If successful execute
6199 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6200
6201 This work is heavily based upon testawk.sh script by Heiner Steven. You
6202 should find his script (and related works) at
6203 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6204 Alessandro Massignan for his suggestions and extensive nawk tests on
6205 FreeBSD.
6206
6207 Source Code
6208 ***********
6209
6210 Download the latest version of 'ax_check_awk_strtonum.m4'
6211 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_strtonum.m4)
6212 or browse the macro's revision history
6213 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_strtonum.m4).
6214
6215 License
6216 *******
6217
6218 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6219
6220 Copying and distribution of this file, with or without modification, are
6221 permitted in any medium without royalty provided the copyright notice
6222 and this notice are preserved. This file is offered as-is, without any
6223 warranty.
6224
6225 
6226 File: autoconf-archive.info, Node: ax_check_awk_sub, Next: ax_check_awk_substr, Prev: ax_check_awk_strtonum, Up: The Macros
6227
6228 ax_check_awk_sub
6229 ================
6230
6231 Synopsis
6232 ********
6233
6234 AX_CHECK_AWK_SUB([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6235
6236 Description
6237 ***********
6238
6239 Check if AWK supports sub() function. If successful execute
6240 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6241
6242 This work is heavily based upon testawk.sh script by Heiner Steven. You
6243 should find his script (and related works) at
6244 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6245 Alessandro Massignan for his suggestions and extensive nawk tests on
6246 FreeBSD.
6247
6248 Source Code
6249 ***********
6250
6251 Download the latest version of 'ax_check_awk_sub.m4'
6252 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sub.m4)
6253 or browse the macro's revision history
6254 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sub.m4).
6255
6256 License
6257 *******
6258
6259 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6260
6261 Copying and distribution of this file, with or without modification, are
6262 permitted in any medium without royalty provided the copyright notice
6263 and this notice are preserved. This file is offered as-is, without any
6264 warranty.
6265
6266 
6267 File: autoconf-archive.info, Node: ax_check_awk_substr, Next: ax_check_awk_system, Prev: ax_check_awk_sub, Up: The Macros
6268
6269 ax_check_awk_substr
6270 ===================
6271
6272 Synopsis
6273 ********
6274
6275 AX_CHECK_AWK_SUBSTR([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6276
6277 Description
6278 ***********
6279
6280 Check if AWK supports substr() function. If successful execute
6281 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6282
6283 This work is heavily based upon testawk.sh script by Heiner Steven. You
6284 should find his script (and related works) at
6285 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6286 Alessandro Massignan for his suggestions and extensive nawk tests on
6287 FreeBSD.
6288
6289 Source Code
6290 ***********
6291
6292 Download the latest version of 'ax_check_awk_substr.m4'
6293 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_substr.m4)
6294 or browse the macro's revision history
6295 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_substr.m4).
6296
6297 License
6298 *******
6299
6300 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6301
6302 Copying and distribution of this file, with or without modification, are
6303 permitted in any medium without royalty provided the copyright notice
6304 and this notice are preserved. This file is offered as-is, without any
6305 warranty.
6306
6307 
6308 File: autoconf-archive.info, Node: ax_check_awk_system, Next: ax_check_awk_systime, Prev: ax_check_awk_substr, Up: The Macros
6309
6310 ax_check_awk_system
6311 ===================
6312
6313 Synopsis
6314 ********
6315
6316 AX_CHECK_AWK_SYSTEM([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6317
6318 Description
6319 ***********
6320
6321 Check if AWK supports system() function. If successful execute
6322 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6323
6324 This work is heavily based upon testawk.sh script by Heiner Steven. You
6325 should find his script (and related works) at
6326 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6327 Alessandro Massignan for his suggestions and extensive nawk tests on
6328 FreeBSD.
6329
6330 Source Code
6331 ***********
6332
6333 Download the latest version of 'ax_check_awk_system.m4'
6334 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_system.m4)
6335 or browse the macro's revision history
6336 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_system.m4).
6337
6338 License
6339 *******
6340
6341 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6342
6343 Copying and distribution of this file, with or without modification, are
6344 permitted in any medium without royalty provided the copyright notice
6345 and this notice are preserved. This file is offered as-is, without any
6346 warranty.
6347
6348 
6349 File: autoconf-archive.info, Node: ax_check_awk_systime, Next: ax_check_awk_tolower, Prev: ax_check_awk_system, Up: The Macros
6350
6351 ax_check_awk_systime
6352 ====================
6353
6354 Synopsis
6355 ********
6356
6357 AX_CHECK_AWK_SYSTIME([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6358
6359 Description
6360 ***********
6361
6362 Check if AWK supports systime() function. If successful execute
6363 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6364
6365 This work is heavily based upon testawk.sh script by Heiner Steven. You
6366 should find his script (and related works) at
6367 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6368 Alessandro Massignan for his suggestions and extensive nawk tests on
6369 FreeBSD.
6370
6371 Source Code
6372 ***********
6373
6374 Download the latest version of 'ax_check_awk_systime.m4'
6375 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_systime.m4)
6376 or browse the macro's revision history
6377 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_systime.m4).
6378
6379 License
6380 *******
6381
6382 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6383
6384 Copying and distribution of this file, with or without modification, are
6385 permitted in any medium without royalty provided the copyright notice
6386 and this notice are preserved. This file is offered as-is, without any
6387 warranty.
6388
6389 
6390 File: autoconf-archive.info, Node: ax_check_awk_tolower, Next: ax_check_awk_toupper, Prev: ax_check_awk_systime, Up: The Macros
6391
6392 ax_check_awk_tolower
6393 ====================
6394
6395 Synopsis
6396 ********
6397
6398 AX_CHECK_AWK_TOLOWER([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6399
6400 Description
6401 ***********
6402
6403 Check if AWK supports tolower() function. If successful execute
6404 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6405
6406 This work is heavily based upon testawk.sh script by Heiner Steven. You
6407 should find his script (and related works) at
6408 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6409 Alessandro Massignan for his suggestions and extensive nawk tests on
6410 FreeBSD.
6411
6412 Source Code
6413 ***********
6414
6415 Download the latest version of 'ax_check_awk_tolower.m4'
6416 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_tolower.m4)
6417 or browse the macro's revision history
6418 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_tolower.m4).
6419
6420 License
6421 *******
6422
6423 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6424
6425 Copying and distribution of this file, with or without modification, are
6426 permitted in any medium without royalty provided the copyright notice
6427 and this notice are preserved. This file is offered as-is, without any
6428 warranty.
6429
6430 
6431 File: autoconf-archive.info, Node: ax_check_awk_toupper, Next: ax_check_awk_user_defined_functions, Prev: ax_check_awk_tolower, Up: The Macros
6432
6433 ax_check_awk_toupper
6434 ====================
6435
6436 Synopsis
6437 ********
6438
6439 AX_CHECK_AWK_TOUPPER([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6440
6441 Description
6442 ***********
6443
6444 Check if AWK supports toupper() function. If successful execute
6445 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6446
6447 This work is heavily based upon testawk.sh script by Heiner Steven. You
6448 should find his script (and related works) at
6449 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6450 Alessandro Massignan for his suggestions and extensive nawk tests on
6451 FreeBSD.
6452
6453 Source Code
6454 ***********
6455
6456 Download the latest version of 'ax_check_awk_toupper.m4'
6457 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_toupper.m4)
6458 or browse the macro's revision history
6459 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_toupper.m4).
6460
6461 License
6462 *******
6463
6464 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6465
6466 Copying and distribution of this file, with or without modification, are
6467 permitted in any medium without royalty provided the copyright notice
6468 and this notice are preserved. This file is offered as-is, without any
6469 warranty.
6470
6471 
6472 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
6473
6474 ax_check_awk_user_defined_functions
6475 ===================================
6476
6477 Synopsis
6478 ********
6479
6480 AX_CHECK_AWK_USER_DEFINED_FUNCTIONS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6481
6482 Description
6483 ***********
6484
6485 Check if AWK supports user defined functions. If successful execute
6486 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6487
6488 This work is heavily based upon testawk.sh script by Heiner Steven. You
6489 should find his script (and related works) at
6490 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6491 Alessandro Massignan for his suggestions and extensive nawk tests on
6492 FreeBSD.
6493
6494 Source Code
6495 ***********
6496
6497 Download the latest version of 'ax_check_awk_user_defined_functions.m4'
6498 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_user_defined_functions.m4)
6499 or browse the macro's revision history
6500 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_user_defined_functions.m4).
6501
6502 License
6503 *******
6504
6505 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6506
6507 Copying and distribution of this file, with or without modification, are
6508 permitted in any medium without royalty provided the copyright notice
6509 and this notice are preserved. This file is offered as-is, without any
6510 warranty.
6511
6512 
6513 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
6514
6515 ax_check_awk_var_regexp
6516 =======================
6517
6518 Synopsis
6519 ********
6520
6521 AX_CHECK_AWK_VAR_REGEXP([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6522
6523 Description
6524 ***********
6525
6526 Check if AWK supports variable regexp. If successful execute
6527 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6528
6529 This work is heavily based upon testawk.sh script by Heiner Steven. You
6530 should find his script (and related works) at
6531 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6532 Alessandro Massignan for his suggestions and extensive nawk tests on
6533 FreeBSD.
6534
6535 Source Code
6536 ***********
6537
6538 Download the latest version of 'ax_check_awk_var_regexp.m4'
6539 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_var_regexp.m4)
6540 or browse the macro's revision history
6541 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_var_regexp.m4).
6542
6543 License
6544 *******
6545
6546 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6547
6548 Copying and distribution of this file, with or without modification, are
6549 permitted in any medium without royalty provided the copyright notice
6550 and this notice are preserved. This file is offered as-is, without any
6551 warranty.
6552
6553 
6554 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
6555
6556 ax_check_awk_variable_value_pairs
6557 =================================
6558
6559 Synopsis
6560 ********
6561
6562 AX_CHECK_AWK_VARIABLE_VALUE_PAIRS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6563
6564 Description
6565 ***********
6566
6567 Check if AWK supports variable=value pairs ($AWK '<PROGRAM>' var=val).
6568 If successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6569
6570 This work is heavily based upon testawk.sh script by Heiner Steven. You
6571 should find his script (and related works) at
6572 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6573 Alessandro Massignan for his suggestions and extensive nawk tests on
6574 FreeBSD.
6575
6576 Source Code
6577 ***********
6578
6579 Download the latest version of 'ax_check_awk_variable_value_pairs.m4'
6580 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_variable_value_pairs.m4)
6581 or browse the macro's revision history
6582 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_variable_value_pairs.m4).
6583
6584 License
6585 *******
6586
6587 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6588
6589 Copying and distribution of this file, with or without modification, are
6590 permitted in any medium without royalty provided the copyright notice
6591 and this notice are preserved. This file is offered as-is, without any
6592 warranty.
6593
6594 
6595 File: autoconf-archive.info, Node: ax_check_awk_xor, Next: ax_check_class, Prev: ax_check_awk_variable_value_pairs, Up: The Macros
6596
6597 ax_check_awk_xor
6598 ================
6599
6600 Synopsis
6601 ********
6602
6603 AX_CHECK_AWK_XOR([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6604
6605 Description
6606 ***********
6607
6608 Check if AWK supports xor() function. If successful execute
6609 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6610
6611 This work is heavily based upon testawk.sh script by Heiner Steven. You
6612 should find his script (and related works) at
6613 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6614 Alessandro Massignan for his suggestions and extensive nawk tests on
6615 FreeBSD.
6616
6617 Source Code
6618 ***********
6619
6620 Download the latest version of 'ax_check_awk_xor.m4'
6621 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_xor.m4)
6622 or browse the macro's revision history
6623 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_xor.m4).
6624
6625 License
6626 *******
6627
6628 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6629
6630 Copying and distribution of this file, with or without modification, are
6631 permitted in any medium without royalty provided the copyright notice
6632 and this notice are preserved. This file is offered as-is, without any
6633 warranty.
6634
6635 
6636 File: autoconf-archive.info, Node: ax_check_class, Next: ax_check_classpath, Prev: ax_check_awk_xor, Up: The Macros
6637
6638 ax_check_class
6639 ==============
6640
6641 Synopsis
6642 ********
6643
6644 AX_CHECK_CLASS
6645
6646 Description
6647 ***********
6648
6649 AX_CHECK_CLASS tests the existence of a given Java class, either in a
6650 jar or in a '.class' file.
6651
6652 *Warning*: its success or failure can depend on a proper setting of the
6653 CLASSPATH env. variable.
6654
6655 Note: This is part of the set of autoconf M4 macros for Java programs.
6656 It is VERY IMPORTANT that you download the whole set, some macros depend
6657 on other. Unfortunately, the autoconf archive does not support the
6658 concept of set of macros, so I had to break it for submission. The
6659 general documentation, as well as the sample configure.in, is included
6660 in the AX_PROG_JAVA macro.
6661
6662 Source Code
6663 ***********
6664
6665 Download the latest version of 'ax_check_class.m4'
6666 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_class.m4)
6667 or browse the macro's revision history
6668 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_class.m4).
6669
6670 License
6671 *******
6672
6673 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
6674
6675 This program is free software; you can redistribute it and/or modify it
6676 under the terms of the GNU General Public License as published by the
6677 Free Software Foundation; either version 2 of the License, or (at your
6678 option) any later version.
6679
6680 This program is distributed in the hope that it will be useful, but
6681 WITHOUT ANY WARRANTY; without even the implied warranty of
6682 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6683 Public License for more details.
6684
6685 You should have received a copy of the GNU General Public License along
6686 with this program. If not, see <https://www.gnu.org/licenses/>.
6687
6688 As a special exception, the respective Autoconf Macro's copyright owner
6689 gives unlimited permission to copy, distribute and modify the configure
6690 scripts that are the output of Autoconf when processing the Macro. You
6691 need not follow the terms of the GNU General Public License when using
6692 or distributing such scripts, even though portions of the text of the
6693 Macro appear in them. The GNU General Public License (GPL) does govern
6694 all other use of the material that constitutes the Autoconf Macro.
6695
6696 This special exception to the GPL applies to versions of the Autoconf
6697 Macro released by the Autoconf Archive. When you make and distribute a
6698 modified version of the Autoconf Macro, you may extend this special
6699 exception to the GPL to apply to your modified version as well.
6700
6701 
6702 File: autoconf-archive.info, Node: ax_check_classpath, Next: ax_check_compile_flag, Prev: ax_check_class, Up: The Macros
6703
6704 ax_check_classpath
6705 ==================
6706
6707 Synopsis
6708 ********
6709
6710 AX_CHECK_CLASSPATH
6711
6712 Description
6713 ***********
6714
6715 AX_CHECK_CLASSPATH just displays the CLASSPATH, for the edification of
6716 the user.
6717
6718 Note: This is part of the set of autoconf M4 macros for Java programs.
6719 It is VERY IMPORTANT that you download the whole set, some macros depend
6720 on other. Unfortunately, the autoconf archive does not support the
6721 concept of set of macros, so I had to break it for submission. The
6722 general documentation, as well as the sample configure.in, is included
6723 in the AX_PROG_JAVA macro.
6724
6725 Source Code
6726 ***********
6727
6728 Download the latest version of 'ax_check_classpath.m4'
6729 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_classpath.m4)
6730 or browse the macro's revision history
6731 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_classpath.m4).
6732
6733 License
6734 *******
6735
6736 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
6737
6738 This program is free software; you can redistribute it and/or modify it
6739 under the terms of the GNU General Public License as published by the
6740 Free Software Foundation; either version 2 of the License, or (at your
6741 option) any later version.
6742
6743 This program is distributed in the hope that it will be useful, but
6744 WITHOUT ANY WARRANTY; without even the implied warranty of
6745 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6746 Public License for more details.
6747
6748 You should have received a copy of the GNU General Public License along
6749 with this program. If not, see <https://www.gnu.org/licenses/>.
6750
6751 As a special exception, the respective Autoconf Macro's copyright owner
6752 gives unlimited permission to copy, distribute and modify the configure
6753 scripts that are the output of Autoconf when processing the Macro. You
6754 need not follow the terms of the GNU General Public License when using
6755 or distributing such scripts, even though portions of the text of the
6756 Macro appear in them. The GNU General Public License (GPL) does govern
6757 all other use of the material that constitutes the Autoconf Macro.
6758
6759 This special exception to the GPL applies to versions of the Autoconf
6760 Macro released by the Autoconf Archive. When you make and distribute a
6761 modified version of the Autoconf Macro, you may extend this special
6762 exception to the GPL to apply to your modified version as well.
6763
6764 
6765 File: autoconf-archive.info, Node: ax_check_compile_flag, Next: ax_check_define, Prev: ax_check_classpath, Up: The Macros
6766
6767 ax_check_compile_flag
6768 =====================
6769
6770 Synopsis
6771 ********
6772
6773 AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
6774
6775 Description
6776 ***********
6777
6778 Check whether the given FLAG works with the current language's compiler
6779 or gives an error. (Warnings, however, are ignored)
6780
6781 ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
6782 success/failure.
6783
6784 If EXTRA-FLAGS is defined, it is added to the current language's default
6785 flags (e.g. CFLAGS) when the check is done. The check is thus made
6786 with the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used
6787 to force the compiler to issue an error when a bad flag is given.
6788
6789 INPUT gives an alternative input source to AC_COMPILE_IFELSE.
6790
6791 NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
6792 macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG.
6793
6794 Source Code
6795 ***********
6796
6797 Download the latest version of 'ax_check_compile_flag.m4'
6798 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_compile_flag.m4)
6799 or browse the macro's revision history
6800 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_compile_flag.m4).
6801
6802 License
6803 *******
6804
6805 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
6806 Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
6807
6808 Copying and distribution of this file, with or without modification, are
6809 permitted in any medium without royalty provided the copyright notice
6810 and this notice are preserved. This file is offered as-is, without any
6811 warranty.
6812
6813 
6814 File: autoconf-archive.info, Node: ax_check_define, Next: ax_check_docbook_dtd, Prev: ax_check_compile_flag, Up: The Macros
6815
6816 ax_check_define
6817 ===============
6818
6819 Synopsis
6820 ********
6821
6822 AC_CHECK_DEFINE([symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])
6823 AX_CHECK_DEFINE([includes],[symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])
6824
6825 Description
6826 ***********
6827
6828 Complements AC_CHECK_FUNC but it does not check for a function but for a
6829 define to exist. Consider a usage like:
6830
6831 AC_CHECK_DEFINE(__STRICT_ANSI__, CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500")
6832
6833 Source Code
6834 ***********
6835
6836 Download the latest version of 'ax_check_define.m4'
6837 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_define.m4)
6838 or browse the macro's revision history
6839 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_define.m4).
6840
6841 License
6842 *******
6843
6844 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
6845
6846 Copying and distribution of this file, with or without modification, are
6847 permitted in any medium without royalty provided the copyright notice
6848 and this notice are preserved. This file is offered as-is, without any
6849 warranty.
6850
6851 
6852 File: autoconf-archive.info, Node: ax_check_docbook_dtd, Next: ax_check_docbook_xslt, Prev: ax_check_define, Up: The Macros
6853
6854 ax_check_docbook_dtd
6855 ====================
6856
6857 Synopsis
6858 ********
6859
6860 AX_CHECK_DOCBOOK_DTD([dtd-version])
6861
6862 Description
6863 ***********
6864
6865 Check for access to a docbook DTD of a particular revision. This macro
6866 can be used for multiple versions within the same script.
6867
6868 Input:
6869
6870 $1 is the version of docbook to search for; default 'current'.
6871
6872 Output:
6873
6874 $HAVE_DOCBOOK_DTD_VERS will be set to 'yes' or 'no' depending on the
6875 results of the test, where VERS is $1, with '_' substituted for '.'
6876 $HAVE_DOCBOOK_DTD will also be set to the same value.
6877
6878 Example:
6879
6880 AX_CHECK_DOCBOOK_DTD(4.3)
6881 if test "x$HAVE_DOCBOOK_DTD_4_3" = "xyes"; then
6882 ...
6883
6884 Source Code
6885 ***********
6886
6887 Download the latest version of 'ax_check_docbook_dtd.m4'
6888 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_docbook_dtd.m4)
6889 or browse the macro's revision history
6890 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_docbook_dtd.m4).
6891
6892 License
6893 *******
6894
6895 Copyright (C) 2008 Zmanda Inc. <http://www.zmanda.com/>
6896 Copyright (C) 2008 Dustin J. Mitchell <dustin@zmanda.com>
6897
6898 This program is free software; you can redistribute it and/or modify it
6899 under the terms of the GNU General Public License as published by the
6900 Free Software Foundation; either version 2 of the License, or (at your
6901 option) any later version.
6902
6903 This program is distributed in the hope that it will be useful, but
6904 WITHOUT ANY WARRANTY; without even the implied warranty of
6905 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6906 Public License for more details.
6907
6908 You should have received a copy of the GNU General Public License along
6909 with this program. If not, see <https://www.gnu.org/licenses/>.
6910
6911 As a special exception, the respective Autoconf Macro's copyright owner
6912 gives unlimited permission to copy, distribute and modify the configure
6913 scripts that are the output of Autoconf when processing the Macro. You
6914 need not follow the terms of the GNU General Public License when using
6915 or distributing such scripts, even though portions of the text of the
6916 Macro appear in them. The GNU General Public License (GPL) does govern
6917 all other use of the material that constitutes the Autoconf Macro.
6918
6919 This special exception to the GPL applies to versions of the Autoconf
6920 Macro released by the Autoconf Archive. When you make and distribute a
6921 modified version of the Autoconf Macro, you may extend this special
6922 exception to the GPL to apply to your modified version as well.
6923
6924 
6925 File: autoconf-archive.info, Node: ax_check_docbook_xslt, Next: ax_check_docbook_xslt_min, Prev: ax_check_docbook_dtd, Up: The Macros
6926
6927 ax_check_docbook_xslt
6928 =====================
6929
6930 Synopsis
6931 ********
6932
6933 AX_CHECK_DOCBOOK_XSLT([xslt-version])
6934
6935 Description
6936 ***********
6937
6938 Check for access to docbook stylesheets of a particular revision. This
6939 macro can be used for multiple versions within the same script.
6940
6941 Input:
6942
6943 $1 is the version of docbook to search for; default 'current'.
6944
6945 Output:
6946
6947 $HAVE_DOCBOOK_XSLT_VERS will be set to 'yes' or 'no' depending on the
6948 results of the test, where VERS is $1, with '_' substituted for '.'.
6949 $HAVE_DOCBOOK_XSLT will also be set to the same value.
6950
6951 Example:
6952
6953 AX_CHECK_DOCBOOK_XSLT(1.72.0)
6954 if test "x$HAVE_DOCBOOK_XSLT_1_72_0" = "xyes"; then
6955 ...
6956
6957 Source Code
6958 ***********
6959
6960 Download the latest version of 'ax_check_docbook_xslt.m4'
6961 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_docbook_xslt.m4)
6962 or browse the macro's revision history
6963 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_docbook_xslt.m4).
6964
6965 License
6966 *******
6967
6968 Copyright (C) 2008 Zmanda Inc. <http://www.zmanda.com/>
6969 Copyright (C) 2008 Dustin J. Mitchell <dustin@zmanda.com>
6970
6971 This program is free software; you can redistribute it and/or modify it
6972 under the terms of the GNU General Public License as published by the
6973 Free Software Foundation; either version 2 of the License, or (at your
6974 option) any later version.
6975
6976 This program is distributed in the hope that it will be useful, but
6977 WITHOUT ANY WARRANTY; without even the implied warranty of
6978 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6979 Public License for more details.
6980
6981 You should have received a copy of the GNU General Public License along
6982 with this program. If not, see <https://www.gnu.org/licenses/>.
6983
6984 As a special exception, the respective Autoconf Macro's copyright owner
6985 gives unlimited permission to copy, distribute and modify the configure
6986 scripts that are the output of Autoconf when processing the Macro. You
6987 need not follow the terms of the GNU General Public License when using
6988 or distributing such scripts, even though portions of the text of the
6989 Macro appear in them. The GNU General Public License (GPL) does govern
6990 all other use of the material that constitutes the Autoconf Macro.
6991
6992 This special exception to the GPL applies to versions of the Autoconf
6993 Macro released by the Autoconf Archive. When you make and distribute a
6994 modified version of the Autoconf Macro, you may extend this special
6995 exception to the GPL to apply to your modified version as well.
6996
6997 
6998 File: autoconf-archive.info, Node: ax_check_docbook_xslt_min, Next: ax_check_dos_filesys, Prev: ax_check_docbook_xslt, Up: The Macros
6999
7000 ax_check_docbook_xslt_min
7001 =========================
7002
7003 Synopsis
7004 ********
7005
7006 AX_CHECK_DOCBOOK_XSLT_MIN(min-xslt-version)
7007
7008 Description
7009 ***********
7010
7011 Check that the 'current' version of docbook is at least version
7012 min-xslt-version. If the test is successful,
7013 $DOCBOOK_XSLT_CURRENT_VERSION will be set to the current docbook
7014 version; if not, it will be set to 'no'.
7015
7016 Example:
7017
7018 AX_CHECK_DOCBOOK_XSLT_MIN(1.72.0)
7019 if test "x$DOCBOOK_XSLT_CURRENT_VERSION" = "xno"; then
7020 ...
7021
7022 Source Code
7023 ***********
7024
7025 Download the latest version of 'ax_check_docbook_xslt_min.m4'
7026 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_docbook_xslt_min.m4)
7027 or browse the macro's revision history
7028 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_docbook_xslt_min.m4).
7029
7030 License
7031 *******
7032
7033 Copyright (C) 2008 Zmanda Inc. <http://www.zmanda.com/>
7034 Copyright (C) 2008 Dustin J. Mitchell <dustin@zmanda.com>
7035
7036 This program is free software; you can redistribute it and/or modify it
7037 under the terms of the GNU General Public License as published by the
7038 Free Software Foundation; either version 2 of the License, or (at your
7039 option) any later version.
7040
7041 This program is distributed in the hope that it will be useful, but
7042 WITHOUT ANY WARRANTY; without even the implied warranty of
7043 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7044 Public License for more details.
7045
7046 You should have received a copy of the GNU General Public License along
7047 with this program. If not, see <https://www.gnu.org/licenses/>.
7048
7049 As a special exception, the respective Autoconf Macro's copyright owner
7050 gives unlimited permission to copy, distribute and modify the configure
7051 scripts that are the output of Autoconf when processing the Macro. You
7052 need not follow the terms of the GNU General Public License when using
7053 or distributing such scripts, even though portions of the text of the
7054 Macro appear in them. The GNU General Public License (GPL) does govern
7055 all other use of the material that constitutes the Autoconf Macro.
7056
7057 This special exception to the GPL applies to versions of the Autoconf
7058 Macro released by the Autoconf Archive. When you make and distribute a
7059 modified version of the Autoconf Macro, you may extend this special
7060 exception to the GPL to apply to your modified version as well.
7061
7062 
7063 File: autoconf-archive.info, Node: ax_check_dos_filesys, Next: ax_check_enable_debug, Prev: ax_check_docbook_xslt_min, Up: The Macros
7064
7065 ax_check_dos_filesys
7066 ====================
7067
7068 Synopsis
7069 ********
7070
7071 AX_CHECK_DOS_FILESYS_LIMITATIONS
7072
7073 Description
7074 ***********
7075
7076 Check if the target is running on DOS. DOS doesn't allow a dot as the
7077 first character, more than one dot, more than eight characters before a
7078 dot, and just three letters after the dot. A DOS VM running under
7079 Windows 9X does not have these restrictions. A DOS program can be
7080 running in either environment, so its important to code accordingly.
7081 Defines HAVE_DOS_FILESYS_LIMITATIONS if under DOS.
7082
7083 Use in conjunction with AX_CHECK_PATHNAME_STYLE_DOS.
7084
7085 Source Code
7086 ***********
7087
7088 Download the latest version of 'ax_check_dos_filesys.m4'
7089 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_dos_filesys.m4)
7090 or browse the macro's revision history
7091 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_dos_filesys.m4).
7092
7093 License
7094 *******
7095
7096 Copyright (C) 2008 Mark Elbrecht
7097
7098 This program is free software; you can redistribute it and/or modify it
7099 under the terms of the GNU General Public License as published by the
7100 Free Software Foundation; either version 2 of the License, or (at your
7101 option) any later version.
7102
7103 This program is distributed in the hope that it will be useful, but
7104 WITHOUT ANY WARRANTY; without even the implied warranty of
7105 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7106 Public License for more details.
7107
7108 You should have received a copy of the GNU General Public License along
7109 with this program. If not, see <https://www.gnu.org/licenses/>.
7110
7111 As a special exception, the respective Autoconf Macro's copyright owner
7112 gives unlimited permission to copy, distribute and modify the configure
7113 scripts that are the output of Autoconf when processing the Macro. You
7114 need not follow the terms of the GNU General Public License when using
7115 or distributing such scripts, even though portions of the text of the
7116 Macro appear in them. The GNU General Public License (GPL) does govern
7117 all other use of the material that constitutes the Autoconf Macro.
7118
7119 This special exception to the GPL applies to versions of the Autoconf
7120 Macro released by the Autoconf Archive. When you make and distribute a
7121 modified version of the Autoconf Macro, you may extend this special
7122 exception to the GPL to apply to your modified version as well.
7123
7124 
7125 File: autoconf-archive.info, Node: ax_check_enable_debug, Next: ax_check_func_in, Prev: ax_check_dos_filesys, Up: The Macros
7126
7127 ax_check_enable_debug
7128 =====================
7129
7130 Synopsis
7131 ********
7132
7133 AX_CHECK_ENABLE_DEBUG([enable by default=yes/info/profile/no], [ENABLE DEBUG VARIABLES ...], [DISABLE DEBUG VARIABLES NDEBUG ...], [IS-RELEASE])
7134
7135 Description
7136 ***********
7137
7138 Check for the presence of an -enable-debug option to configure, with the
7139 specified default value used when the option is not present. Return the
7140 value in the variable $ax_enable_debug.
7141
7142 Specifying 'yes' adds '-g -O0' to the compilation flags for all
7143 languages. Specifying 'info' adds '-g' to the compilation flags.
7144 Specifying 'profile' adds '-g -pg' to the compilation flags and '-pg' to
7145 the linking flags. Otherwise, nothing is added.
7146
7147 Define the variables listed in the second argument if debug is enabled,
7148 defaulting to no variables. Defines the variables listed in the third
7149 argument if debug is disabled, defaulting to NDEBUG. All lists of
7150 variables should be space-separated.
7151
7152 If debug is not enabled, ensure AC_PROG_* will not add debugging flags.
7153 Should be invoked prior to any AC_PROG_* compiler checks.
7154
7155 IS-RELEASE can be used to change the default to 'no' when making a
7156 release. Set IS-RELEASE to 'yes' or 'no' as appropriate. By default,
7157 it uses the value of $ax_is_release, so if you are using the
7158 AX_IS_RELEASE macro, there is no need to pass this parameter.
7159
7160 AX_IS_RELEASE([git-directory])
7161 AX_CHECK_ENABLE_DEBUG()
7162
7163 Source Code
7164 ***********
7165
7166 Download the latest version of 'ax_check_enable_debug.m4'
7167 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_enable_debug.m4)
7168 or browse the macro's revision history
7169 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_enable_debug.m4).
7170
7171 License
7172 *******
7173
7174 Copyright (C) 2011 Rhys Ulerich <rhys.ulerich@gmail.com>
7175 Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
7176
7177 Copying and distribution of this file, with or without modification, are
7178 permitted in any medium without royalty provided the copyright notice
7179 and this notice are preserved.
7180
7181 
7182 File: autoconf-archive.info, Node: ax_check_func_in, Next: ax_check_gd, Prev: ax_check_enable_debug, Up: The Macros
7183
7184 ax_check_func_in
7185 ================
7186
7187 Synopsis
7188 ********
7189
7190 AX_CHECK_FUNC_IN(HEADER, FUNCTION [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]])
7191
7192 Description
7193 ***********
7194
7195 Checking for library functions in a given header file.
7196
7197 Source Code
7198 ***********
7199
7200 Download the latest version of 'ax_check_func_in.m4'
7201 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_func_in.m4)
7202 or browse the macro's revision history
7203 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_func_in.m4).
7204
7205 License
7206 *******
7207
7208 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
7209
7210 Copying and distribution of this file, with or without modification, are
7211 permitted in any medium without royalty provided the copyright notice
7212 and this notice are preserved. This file is offered as-is, without any
7213 warranty.
7214
7215 
7216 File: autoconf-archive.info, Node: ax_check_gd, Next: ax_check_gir_symbols_gjs, Prev: ax_check_func_in, Up: The Macros
7217
7218 ax_check_gd
7219 ===========
7220
7221 Synopsis
7222 ********
7223
7224 AX_CHECK_GD
7225
7226 Description
7227 ***********
7228
7229 Check for the gd library. (See http://www.boutell.com/gd/) If gd is
7230 found, the output variables GD_CFLAGS, GD_LDFLAGS and GD_LIBS will
7231 contain the compiler flags, linker flags and libraries necessary to use
7232 gd; otherwise, those variables will be empty. In addition, the symbol
7233 HAVE_GD is defined if the library is found, and the symbols HAVE_GD_GIF,
7234 HAVE_GD_JPEG and HAVE_GD_PNG are defined if the library supports
7235 creating images in gif, jpeg and png formats, respectively.
7236
7237 The user may use -with-gd=no or -without-gd to skip checking for the
7238 library. (The default is -with-gd=yes.) If the library is installed in
7239 an unusual location, -with-gd=DIR will cause the macro to look for
7240 gdlib-config in DIR/bin or, failing that, for the headers and libraries
7241 in DIR/include and DIR/lib.
7242
7243 Feedback welcome!
7244
7245 Source Code
7246 ***********
7247
7248 Download the latest version of 'ax_check_gd.m4'
7249 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gd.m4)
7250 or browse the macro's revision history
7251 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gd.m4).
7252
7253 License
7254 *******
7255
7256 Copyright (C) 2008 Nick Markham <markhn@rpi.edu>
7257
7258 Copying and distribution of this file, with or without modification, are
7259 permitted in any medium without royalty provided the copyright notice
7260 and this notice are preserved. This file is offered as-is, without any
7261 warranty.
7262
7263 
7264 File: autoconf-archive.info, Node: ax_check_gir_symbols_gjs, Next: ax_check_girs_gjs, Prev: ax_check_gd, Up: The Macros
7265
7266 ax_check_gir_symbols_gjs
7267 ========================
7268
7269 Synopsis
7270 ********
7271
7272 AX_CHECK_GIR_SYMBOLS_GJS(MODULE, APIVERSION, SYMBOLS)
7273
7274 Description
7275 ***********
7276
7277 Check that each symbol from the whitespace-separated list of $SYMBOLS is
7278 defined inside the GObject Introspection module $MODULE with API version
7279 $APIVERSION, and is importable in GJS, GNOME's JavaScript engine
7280 (https://wiki.gnome.org/Projects/Gjs).
7281
7282 GObject Introspection
7283 (https://wiki.gnome.org/Projects/GObjectIntrospection) is a tool for
7284 generating bindings from C libraries to higher-level languages. The
7285 bindings live in a GObject Introspection repository (GIR) file, which is
7286 what this macro checks.
7287
7288 Note that for the purposes of GObject Introspection, the API version is
7289 different from the release version. For example, GTK currently has API
7290 version 3.0, but that could mean any release from the 3.0, 3.2, 3.4,...
7291 series.
7292
7293 Example:
7294
7295 AX_CHECK_GIR_SYMBOLS_GJS([Gtk], [3.0], [ListBox FlowBox
7296 Widget.get_action_group])
7297
7298 NOTE: This macro depends on AX_PROG_GJS.
7299
7300 Source Code
7301 ***********
7302
7303 Download the latest version of 'ax_check_gir_symbols_gjs.m4'
7304 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gir_symbols_gjs.m4)
7305 or browse the macro's revision history
7306 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gir_symbols_gjs.m4).
7307
7308 License
7309 *******
7310
7311 Copyright (C) 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com>
7312
7313 Copying and distribution of this file, with or without modification, are
7314 permitted in any medium without royalty provided the copyright notice
7315 and this notice are preserved. This file is offered as-is, without any
7316 warranty.
7317
7318 
7319 File: autoconf-archive.info, Node: ax_check_girs_gjs, Next: ax_check_gl, Prev: ax_check_gir_symbols_gjs, Up: The Macros
7320
7321 ax_check_girs_gjs
7322 =================
7323
7324 Synopsis
7325 ********
7326
7327 AX_CHECK_GIRS_GJS(MODULE, API_VERSION [, MODULE, API_VERSION...])
7328
7329 Description
7330 ***********
7331
7332 Check that the GObject Introspection module $MODULE is importable in GJS
7333 (GNOME's JavaScript engine, https://wiki.gnome.org/Projects/Gjs). The
7334 API version must be $API_VERSION.
7335
7336 GObject Introspection
7337 (https://wiki.gnome.org/Projects/GObjectIntrospection) is a tool for
7338 generating bindings from C libraries to higher-level languages. The
7339 bindings live in a GObject Introspection repository (GIR) file, which is
7340 what this macro checks.
7341
7342 Note that for the purposes of GObject Introspection, the API version is
7343 different from the release version. For example, GTK currently has API
7344 version 3.0, but that could mean any release from the 3.0, 3.2, 3.4,...
7345 series. To check for specific API that was added in a later version,
7346 use AX_CHECK_GIR_SYMBOLS_GJS.
7347
7348 Example:
7349
7350 AX_CHECK_GIRS_GJS([Gdk], [3.0],
7351 [Gtk], [3.0])
7352
7353 NOTE: This macro depends on AX_PROG_GJS.
7354
7355 Source Code
7356 ***********
7357
7358 Download the latest version of 'ax_check_girs_gjs.m4'
7359 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_girs_gjs.m4)
7360 or browse the macro's revision history
7361 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_girs_gjs.m4).
7362
7363 License
7364 *******
7365
7366 Copyright (C) 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com>
7367
7368 Copying and distribution of this file, with or without modification, are
7369 permitted in any medium without royalty provided the copyright notice
7370 and this notice are preserved. This file is offered as-is, without any
7371 warranty.
7372
7373 
7374 File: autoconf-archive.info, Node: ax_check_gl, Next: ax_check_glu, Prev: ax_check_girs_gjs, Up: The Macros
7375
7376 ax_check_gl
7377 ===========
7378
7379 Synopsis
7380 ********
7381
7382 AX_CHECK_GL([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
7383
7384 Description
7385 ***********
7386
7387 Checks for an OpenGL implementation. If a valid OpenGL implementation
7388 is found, this macro would set C preprocessor symbol HAVE_GL to 1.
7389
7390 If either a valid OpenGL header or library was not found, by default the
7391 configuration would exits on error. This behavior can be overwritten by
7392 providing a custom "ACTION-IF-NOT-FOUND" hook.
7393
7394 If the header, library was found, and been tested for compiling and
7395 linking the configuration would export the required compiler flags to
7396 "GL_CFLAGS" and "GL_LIBS". These two variables can also be overwritten
7397 by user from the command line if they want to link against the library
7398 they specified instead of having the configuration script to detect the
7399 flags automatically. Note that having "GL_CFLAGS" or "GL_LIBS" set
7400 doesn't mean it can compile or link with the flags, since it could be
7401 overwritten by user. However the "HAVE_GL" symbol and "ACTION-IF-FOUND"
7402 hook is always guaranteed to reflect a valid OpenGL implementation.
7403
7404 If user didn't specify the "ACTION-IF-FOUND" hook, the configuration
7405 would prepend "GL_CFLAGS" and "GL_LIBS" to "CFLAGS" and "LIBS", like
7406 many other autoconf macros do.
7407
7408 OpenGL is one of the libraries that has different header names on
7409 different platforms. This macro does the header detection, and will
7410 export the following symbol: "HAVE_GL_GL_H" for having "GL/gl.h" or
7411 "HAVE_OPENGL_GL_H" for having "OpenGL/gl.h". To write a portable OpenGL
7412 code, you should include OpenGL header like so:
7413
7414 #if defined(HAVE_WINDOWS_H) && defined(_WIN32)
7415 # include <windows.h>
7416 #endif
7417 #ifdef HAVE_GL_GL_H
7418 # include <GL/gl.h>
7419 #elif defined(HAVE_OPENGL_GL_H)
7420 # include <OpenGL/gl.h>
7421 #else
7422 # error no gl.h
7423 #endif
7424
7425 On the OSX platform, there's two possible OpenGL implementation. One is
7426 the OpenGL that ships with OSX, the other comes with X11/XQuartz
7427 (http://www.xquartz.org). To use the xquartz variant, user can use the
7428 option -with-xquartz-gl[=path to xquartz root]. By default the
7429 configuration will check "/opt/X11", which is the default X11 install
7430 location on OSX.
7431
7432 Source Code
7433 ***********
7434
7435 Download the latest version of 'ax_check_gl.m4'
7436 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gl.m4)
7437 or browse the macro's revision history
7438 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gl.m4).
7439
7440 License
7441 *******
7442
7443 Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
7444 Copyright (C) 2012 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
7445
7446 Copyright (C) 2016 Felix Chern <idryman@gmail.com>
7447
7448 This program is free software; you can redistribute it and/or modify it
7449 under the terms of the GNU General Public License as published by the
7450 Free Software Foundation; either version 2 of the License, or (at your
7451 option) any later version.
7452
7453 This program is distributed in the hope that it will be useful, but
7454 WITHOUT ANY WARRANTY; without even the implied warranty of
7455 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7456 Public License for more details.
7457
7458 You should have received a copy of the GNU General Public License along
7459 with this program. If not, see <https://www.gnu.org/licenses/>.
7460
7461 As a special exception, the respective Autoconf Macro's copyright owner
7462 gives unlimited permission to copy, distribute and modify the configure
7463 scripts that are the output of Autoconf when processing the Macro. You
7464 need not follow the terms of the GNU General Public License when using
7465 or distributing such scripts, even though portions of the text of the
7466 Macro appear in them. The GNU General Public License (GPL) does govern
7467 all other use of the material that constitutes the Autoconf Macro.
7468
7469 This special exception to the GPL applies to versions of the Autoconf
7470 Macro released by the Autoconf Archive. When you make and distribute a
7471 modified version of the Autoconf Macro, you may extend this special
7472 exception to the GPL to apply to your modified version as well.
7473
7474 
7475 File: autoconf-archive.info, Node: ax_check_glu, Next: ax_check_glut, Prev: ax_check_gl, Up: The Macros
7476
7477 ax_check_glu
7478 ============
7479
7480 Synopsis
7481 ********
7482
7483 AX_CHECK_GLU([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
7484
7485 Description
7486 ***********
7487
7488 Checks for GLUT. If a valid GLU implementation is found, the configure
7489 script would export the C preprocessor symbol "HAVE_GLU=1".
7490
7491 If either a valid GLU header or library was not found, by default the
7492 configure script would exit on error. This behavior can be overwritten
7493 by providing a custom "ACTION-IF-NOT-FOUND" hook.
7494
7495 If the header, library was found, and been tested for compiling and
7496 linking the configuration would export the required compiler flags to
7497 "GLU_CFLAGS" and "GLU_LIBS" environment variables. These two variables
7498 can also be overwritten by defining the environment variables before
7499 executing the configure program. If it was predefined, configure would
7500 not try to overwrite it, but it would still perform the compile and link
7501 test. Only when the tests succeeded does the configure script to export
7502 "HAVE_GLU=1" and to run "ACTION-IF-FOUND" hook.
7503
7504 If user didn't specify the "ACTION-IF-FOUND" hook, the configuration
7505 would prepend "GLU_CFLAGS" and "GLU_LIBS" to "CFLAGS" and "LIBS", like
7506 many other autoconf macros do.
7507
7508 If the header "GL/glu.h" is found, "HAVE_GL_GLU_H" is defined. If the
7509 header "OpenGL/glu.h" is found, HAVE_OPENGL_GLU_H is defined.
7510
7511 You should use something like this in your headers:
7512
7513 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
7514 # include <windows.h>
7515 # endif
7516 # if defined(HAVE_GL_GLU_H)
7517 # include <GL/glu.h>
7518 # elif defined(HAVE_OPENGL_GLU_H)
7519 # include <OpenGL/glu.h>
7520 # else
7521 # error no glu.h
7522 # endif
7523
7524 On the OSX platform, you can use the option -with-xquartz-gl to use
7525 X11/Xquartz GLU implementation instead of the system built in GLU
7526 framework.
7527
7528 Some implementations (in particular, some versions of Mac OS X) are
7529 known to treat the GLU tesselator callback function type as "GLvoid
7530 (*)(...)" rather than the standard "GLvoid (*)()". If the former
7531 condition is detected, this macro defines "HAVE_VARARGS_GLU_TESSCB".
7532
7533 Source Code
7534 ***********
7535
7536 Download the latest version of 'ax_check_glu.m4'
7537 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_glu.m4)
7538 or browse the macro's revision history
7539 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_glu.m4).
7540
7541 License
7542 *******
7543
7544 Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
7545 Copyright (C) 2013 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
7546
7547 Copyright (C) 2016 Felix Chern <idryman@gmail.com>
7548
7549 This program is free software; you can redistribute it and/or modify it
7550 under the terms of the GNU General Public License as published by the
7551 Free Software Foundation; either version 2 of the License, or (at your
7552 option) any later version.
7553
7554 This program is distributed in the hope that it will be useful, but
7555 WITHOUT ANY WARRANTY; without even the implied warranty of
7556 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7557 Public License for more details.
7558
7559 You should have received a copy of the GNU General Public License along
7560 with this program. If not, see <https://www.gnu.org/licenses/>.
7561
7562 As a special exception, the respective Autoconf Macro's copyright owner
7563 gives unlimited permission to copy, distribute and modify the configure
7564 scripts that are the output of Autoconf when processing the Macro. You
7565 need not follow the terms of the GNU General Public License when using
7566 or distributing such scripts, even though portions of the text of the
7567 Macro appear in them. The GNU General Public License (GPL) does govern
7568 all other use of the material that constitutes the Autoconf Macro.
7569
7570 This special exception to the GPL applies to versions of the Autoconf
7571 Macro released by the Autoconf Archive. When you make and distribute a
7572 modified version of the Autoconf Macro, you may extend this special
7573 exception to the GPL to apply to your modified version as well.
7574
7575 
7576 File: autoconf-archive.info, Node: ax_check_glut, Next: ax_check_glx, Prev: ax_check_glu, Up: The Macros
7577
7578 ax_check_glut
7579 =============
7580
7581 Synopsis
7582 ********
7583
7584 AX_CHECK_GLUT([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
7585
7586 Description
7587 ***********
7588
7589 Checks for GLUT. If a valid GLUT implementation is found, the configure
7590 script would export the C preprocessor symbol "HAVE_GLUT=1".
7591
7592 If either a valid GLUT header or library was not found, by default the
7593 configure script would exit on error. This behavior can be overwritten
7594 by providing a custom "ACTION-IF-NOT-FOUND" hook.
7595
7596 If the header, library was found, and been tested for compiling and
7597 linking the configuration would export the required compiler flags to
7598 "GLUT_CFLAGS" and "GLUT_LIBS" environment variables. These two
7599 variables can also be overwritten by defining the environment variables
7600 before executing the configure program. If it was predefined, configure
7601 would not try to overwrite it, but it would still perform the compile
7602 and link test. Only when the tests succeeded does the configure script
7603 to export "HAVE_GLUT=1" and to run "ACTION-IF-FOUND" hook.
7604
7605 If user didn't specify the "ACTION-IF-FOUND" hook, the configuration
7606 would prepend "GLUT_CFLAGS" and "GLUT_LIBS" to "CFLAGS" and "LIBS", like
7607 many other autoconf macros do.
7608
7609 If the header "GL/glut.h" is found, "HAVE_GL_GLUT_H" is defined. If the
7610 header "GLUT/glut.h" is found, HAVE_GLUT_GLUT_H is defined.
7611
7612 You should use something like this in your headers:
7613
7614 # if HAVE_WINDOWS_H && defined(_WIN32)
7615 # include <windows.h>
7616 # endif
7617 # if defined(HAVE_GL_GLUT_H)
7618 # include <GL/glut.h>
7619 # elif defined(HAVE_GLUT_GLUT_H)
7620 # include <GLUT/glut.h>
7621 # else
7622 # error no glut.h
7623 # endif
7624
7625 On the OSX platform, you can use the option -with-xquartz-gl to use
7626 X11/Xquartz GLUT implementation instead of the system built in GLUT
7627 framework.
7628
7629 Source Code
7630 ***********
7631
7632 Download the latest version of 'ax_check_glut.m4'
7633 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_glut.m4)
7634 or browse the macro's revision history
7635 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_glut.m4).
7636
7637 License
7638 *******
7639
7640 Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
7641 Copyright (C) 2013 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
7642
7643 Copyright (C) 2016 Felix Chern <idryman@gmail.com>
7644
7645 This program is free software; you can redistribute it and/or modify it
7646 under the terms of the GNU General Public License as published by the
7647 Free Software Foundation; either version 2 of the License, or (at your
7648 option) any later version.
7649
7650 This program is distributed in the hope that it will be useful, but
7651 WITHOUT ANY WARRANTY; without even the implied warranty of
7652 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7653 Public License for more details.
7654
7655 You should have received a copy of the GNU General Public License along
7656 with this program. If not, see <https://www.gnu.org/licenses/>.
7657
7658 As a special exception, the respective Autoconf Macro's copyright owner
7659 gives unlimited permission to copy, distribute and modify the configure
7660 scripts that are the output of Autoconf when processing the Macro. You
7661 need not follow the terms of the GNU General Public License when using
7662 or distributing such scripts, even though portions of the text of the
7663 Macro appear in them. The GNU General Public License (GPL) does govern
7664 all other use of the material that constitutes the Autoconf Macro.
7665
7666 This special exception to the GPL applies to versions of the Autoconf
7667 Macro released by the Autoconf Archive. When you make and distribute a
7668 modified version of the Autoconf Macro, you may extend this special
7669 exception to the GPL to apply to your modified version as well.
7670
7671 
7672 File: autoconf-archive.info, Node: ax_check_glx, Next: ax_check_gnu_make, Prev: ax_check_glut, Up: The Macros
7673
7674 ax_check_glx
7675 ============
7676
7677 Synopsis
7678 ********
7679
7680 AX_CHECK_GLX
7681
7682 Description
7683 ***********
7684
7685 Check for GLX. If GLX is found, the required preprocessor and linker
7686 flags are included in the output variables "GLX_CFLAGS" and "GLX_LIBS",
7687 respectively. If no GLX implementation is found, "no_glx" is set to
7688 "yes".
7689
7690 If the header "GL/glx.h" is found, "HAVE_GL_GLX_H" is defined. If the
7691 header "OpenGL/glx.h" is found, HAVE_OPENGL_GLX_H is defined. These
7692 preprocessor definitions may not be mutually exclusive.
7693
7694 You should use something like this in your headers:
7695
7696 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
7697 # include <windows.h>
7698 # endif
7699 # if defined(HAVE_GL_GLX_H)
7700 # include <GL/glx.h>
7701 # elif defined(HAVE_OPENGL_GLX_H)
7702 # include <OpenGL/glx.h>
7703 # else
7704 # error no glx.h
7705 # endif
7706
7707 Source Code
7708 ***********
7709
7710 Download the latest version of 'ax_check_glx.m4'
7711 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_glx.m4)
7712 or browse the macro's revision history
7713 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_glx.m4).
7714
7715 License
7716 *******
7717
7718 Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
7719 Copyright (C) 2013-2014 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
7720
7721 This program is free software; you can redistribute it and/or modify it
7722 under the terms of the GNU General Public License as published by the
7723 Free Software Foundation; either version 2 of the License, or (at your
7724 option) any later version.
7725
7726 This program is distributed in the hope that it will be useful, but
7727 WITHOUT ANY WARRANTY; without even the implied warranty of
7728 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7729 Public License for more details.
7730
7731 You should have received a copy of the GNU General Public License along
7732 with this program. If not, see <https://www.gnu.org/licenses/>.
7733
7734 As a special exception, the respective Autoconf Macro's copyright owner
7735 gives unlimited permission to copy, distribute and modify the configure
7736 scripts that are the output of Autoconf when processing the Macro. You
7737 need not follow the terms of the GNU General Public License when using
7738 or distributing such scripts, even though portions of the text of the
7739 Macro appear in them. The GNU General Public License (GPL) does govern
7740 all other use of the material that constitutes the Autoconf Macro.
7741
7742 This special exception to the GPL applies to versions of the Autoconf
7743 Macro released by the Autoconf Archive. When you make and distribute a
7744 modified version of the Autoconf Macro, you may extend this special
7745 exception to the GPL to apply to your modified version as well.
7746
7747 
7748 File: autoconf-archive.info, Node: ax_check_gnu_make, Next: ax_check_icu, Prev: ax_check_glx, Up: The Macros
7749
7750 ax_check_gnu_make
7751 =================
7752
7753 Synopsis
7754 ********
7755
7756 AX_CHECK_GNU_MAKE([run-if-true],[run-if-false])
7757
7758 Description
7759 ***********
7760
7761 This macro searches for a GNU version of make. If a match is found:
7762
7763 * The makefile variable `ifGNUmake' is set to the empty string, otherwise
7764 it is set to "#". This is useful for including a special features in a
7765 Makefile, which cannot be handled by other versions of make.
7766 * The makefile variable `ifnGNUmake' is set to #, otherwise
7767 it is set to the empty string. This is useful for including a special
7768 features in a Makefile, which can be handled
7769 by other versions of make or to specify else like clause.
7770 * The variable `_cv_gnu_make_command` is set to the command to invoke
7771 GNU make if it exists, the empty string otherwise.
7772 * The variable `ax_cv_gnu_make_command` is set to the command to invoke
7773 GNU make by copying `_cv_gnu_make_command`, otherwise it is unset.
7774 * If GNU Make is found, its version is extracted from the output of
7775 `make --version` as the last field of a record of space-separated
7776 columns and saved into the variable `ax_check_gnu_make_version`.
7777 * Additionally if GNU Make is found, run shell code run-if-true
7778 else run shell code run-if-false.
7779
7780 Here is an example of its use:
7781
7782 Makefile.in might contain:
7783
7784 # A failsafe way of putting a dependency rule into a makefile
7785 $(DEPEND):
7786 $(CC) -MM $(srcdir)/*.c > $(DEPEND)
7787
7788 @ifGNUmake@ ifeq ($(DEPEND),$(wildcard $(DEPEND)))
7789 @ifGNUmake@ include $(DEPEND)
7790 @ifGNUmake@ else
7791 fallback code
7792 @ifGNUmake@ endif
7793
7794 Then configure.in would normally contain:
7795
7796 AX_CHECK_GNU_MAKE()
7797 AC_OUTPUT(Makefile)
7798
7799 Then perhaps to cause gnu make to override any other make, we could do
7800 something like this (note that GNU make always looks for GNUmakefile
7801 first):
7802
7803 if ! test x$_cv_gnu_make_command = x ; then
7804 mv Makefile GNUmakefile
7805 echo .DEFAULT: > Makefile ;
7806 echo \ $_cv_gnu_make_command \$@ >> Makefile;
7807 fi
7808
7809 Then, if any (well almost any) other make is called, and GNU make also
7810 exists, then the other make wraps the GNU make.
7811
7812 Source Code
7813 ***********
7814
7815 Download the latest version of 'ax_check_gnu_make.m4'
7816 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gnu_make.m4)
7817 or browse the macro's revision history
7818 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gnu_make.m4).
7819
7820 License
7821 *******
7822
7823 Copyright (C) 2008 John Darrington <j.darrington@elvis.murdoch.edu.au>
7824 Copyright (C) 2015 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
7825
7826 Copying and distribution of this file, with or without modification, are
7827 permitted in any medium without royalty provided the copyright notice
7828 and this notice are preserved. This file is offered as-is, without any
7829 warranty.
7830
7831 
7832 File: autoconf-archive.info, Node: ax_check_icu, Next: ax_check_java_home, Prev: ax_check_gnu_make, Up: The Macros
7833
7834 ax_check_icu
7835 ============
7836
7837 Synopsis
7838 ********
7839
7840 AX_CHECK_ICU(version, action-if, action-if-not)
7841
7842 Description
7843 ***********
7844
7845 Defines ICU_LIBS, ICU_CFLAGS, ICU_CXXFLAGS. See icu-config(1) man page.
7846
7847 Source Code
7848 ***********
7849
7850 Download the latest version of 'ax_check_icu.m4'
7851 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_icu.m4)
7852 or browse the macro's revision history
7853 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_icu.m4).
7854
7855 License
7856 *******
7857
7858 Copyright (C) 2008 Akos Maroy <darkeye@tyrell.hu>
7859
7860 Copying and distribution of this file, with or without modification, are
7861 permitted in any medium without royalty provided the copyright notice
7862 and this notice are preserved. This file is offered as-is, without any
7863 warranty.
7864
7865 
7866 File: autoconf-archive.info, Node: ax_check_java_home, Next: ax_check_java_plugin, Prev: ax_check_icu, Up: The Macros
7867
7868 ax_check_java_home
7869 ==================
7870
7871 Synopsis
7872 ********
7873
7874 AX_CHECK_JAVA_HOME
7875
7876 Description
7877 ***********
7878
7879 Check for Sun Java (JDK / JRE) installation, where the 'java' VM is in.
7880 If found, set environment variable JAVA_HOME = Java installation home,
7881 else left JAVA_HOME untouch, which in most case means JAVA_HOME is
7882 empty.
7883
7884 Source Code
7885 ***********
7886
7887 Download the latest version of 'ax_check_java_home.m4'
7888 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_java_home.m4)
7889 or browse the macro's revision history
7890 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_java_home.m4).
7891
7892 License
7893 *******
7894
7895 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
7896
7897 This program is free software; you can redistribute it and/or modify it
7898 under the terms of the GNU General Public License as published by the
7899 Free Software Foundation; either version 2 of the License, or (at your
7900 option) any later version.
7901
7902 This program is distributed in the hope that it will be useful, but
7903 WITHOUT ANY WARRANTY; without even the implied warranty of
7904 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7905 Public License for more details.
7906
7907 You should have received a copy of the GNU General Public License along
7908 with this program. If not, see <https://www.gnu.org/licenses/>.
7909
7910 As a special exception, the respective Autoconf Macro's copyright owner
7911 gives unlimited permission to copy, distribute and modify the configure
7912 scripts that are the output of Autoconf when processing the Macro. You
7913 need not follow the terms of the GNU General Public License when using
7914 or distributing such scripts, even though portions of the text of the
7915 Macro appear in them. The GNU General Public License (GPL) does govern
7916 all other use of the material that constitutes the Autoconf Macro.
7917
7918 This special exception to the GPL applies to versions of the Autoconf
7919 Macro released by the Autoconf Archive. When you make and distribute a
7920 modified version of the Autoconf Macro, you may extend this special
7921 exception to the GPL to apply to your modified version as well.
7922
7923 
7924 File: autoconf-archive.info, Node: ax_check_java_plugin, Next: ax_check_junit, Prev: ax_check_java_home, Up: The Macros
7925
7926 ax_check_java_plugin
7927 ====================
7928
7929 Synopsis
7930 ********
7931
7932 AX_CHECK_JAVA_PLUGIN(<shell-variable>)
7933
7934 Description
7935 ***********
7936
7937 This macro sets <shell-variable> to empty on failure and to a compatible
7938 version of plugin.jar otherwise. Directories searched are /usr/java/*
7939 and /usr/local/java/*, which are assumed to be j{dk,re} installations.
7940 Apply the shell variable as you see fit. If sun changes things so
7941 <jre>/lib/plugin.jar is not the magic file it will stop working.
7942
7943 This macro assumes that unzip, zipinfo or pkzipc is available (and can
7944 list the contents of the jar archive). The first two are assumed to
7945 work similarly enough to the infozip versions. The pkzipc version is
7946 assumed to work if I understand the documentation on pkware's site but
7947 YMMV. I do not have access to pwkware's version to test it.
7948
7949 Source Code
7950 ***********
7951
7952 Download the latest version of 'ax_check_java_plugin.m4'
7953 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_java_plugin.m4)
7954 or browse the macro's revision history
7955 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_java_plugin.m4).
7956
7957 License
7958 *******
7959
7960 Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
7961
7962 This program is free software; you can redistribute it and/or modify it
7963 under the terms of the GNU General Public License as published by the
7964 Free Software Foundation; either version 2 of the License, or (at your
7965 option) any later version.
7966
7967 This program is distributed in the hope that it will be useful, but
7968 WITHOUT ANY WARRANTY; without even the implied warranty of
7969 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7970 Public License for more details.
7971
7972 You should have received a copy of the GNU General Public License along
7973 with this program. If not, see <https://www.gnu.org/licenses/>.
7974
7975 As a special exception, the respective Autoconf Macro's copyright owner
7976 gives unlimited permission to copy, distribute and modify the configure
7977 scripts that are the output of Autoconf when processing the Macro. You
7978 need not follow the terms of the GNU General Public License when using
7979 or distributing such scripts, even though portions of the text of the
7980 Macro appear in them. The GNU General Public License (GPL) does govern
7981 all other use of the material that constitutes the Autoconf Macro.
7982
7983 This special exception to the GPL applies to versions of the Autoconf
7984 Macro released by the Autoconf Archive. When you make and distribute a
7985 modified version of the Autoconf Macro, you may extend this special
7986 exception to the GPL to apply to your modified version as well.
7987
7988 
7989 File: autoconf-archive.info, Node: ax_check_junit, Next: ax_check_library, Prev: ax_check_java_plugin, Up: The Macros
7990
7991 ax_check_junit
7992 ==============
7993
7994 Synopsis
7995 ********
7996
7997 AX_CHECK_JUNIT
7998
7999 Description
8000 ***********
8001
8002 AX_CHECK_JUNIT tests the availability of the Junit testing framework,
8003 and set some variables for conditional compilation of the test suite by
8004 automake.
8005
8006 If available, JUNIT is set to a command launching the text based user
8007 interface of Junit, @JAVA_JUNIT@ is set to $JAVA_JUNIT and @TESTS_JUNIT@
8008 is set to $TESTS_JUNIT, otherwise they are set to empty values.
8009
8010 You can use these variables in your Makefile.am file like this :
8011
8012 # Some of the following classes are built only if junit is available
8013 JAVA_JUNIT = Class1Test.java Class2Test.java AllJunitTests.java
8014
8015 noinst_JAVA = Example1.java Example2.java @JAVA_JUNIT@
8016
8017 EXTRA_JAVA = $(JAVA_JUNIT)
8018
8019 TESTS_JUNIT = AllJunitTests
8020
8021 TESTS = StandaloneTest1 StandaloneTest2 @TESTS_JUNIT@
8022
8023 EXTRA_TESTS = $(TESTS_JUNIT)
8024
8025 AllJunitTests :
8026 echo "#! /bin/sh" > $@
8027 echo "exec @JUNIT@ my.package.name.AllJunitTests" >> $@
8028 chmod +x $@
8029
8030 Source Code
8031 ***********
8032
8033 Download the latest version of 'ax_check_junit.m4'
8034 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_junit.m4)
8035 or browse the macro's revision history
8036 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_junit.m4).
8037
8038 License
8039 *******
8040
8041 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
8042
8043 Copying and distribution of this file, with or without modification, are
8044 permitted in any medium without royalty provided the copyright notice
8045 and this notice are preserved. This file is offered as-is, without any
8046 warranty.
8047
8048 
8049 File: autoconf-archive.info, Node: ax_check_library, Next: ax_check_link_flag, Prev: ax_check_junit, Up: The Macros
8050
8051 ax_check_library
8052 ================
8053
8054 Synopsis
8055 ********
8056
8057 AX_CHECK_LIBRARY(VARIABLE-PREFIX, HEADER-FILE, LIBRARY-FILE,
8058 [ACTION-IF-FOUND], [ACTION-IF-NOT_FOUND])
8059
8060 Description
8061 ***********
8062
8063 Provides a generic test for a given library, similar in concept to the
8064 PKG_CHECK_MODULES macro used by pkg-config.
8065
8066 Most simplest libraries can be checked against simply through the
8067 presence of a header file and a library to link to. This macro allows
8068 to wrap around the test so that it doesn't have to be recreated each
8069 time.
8070
8071 Rather than define -with-$LIBRARY arguments, it uses variables in the
8072 same way that PKG_CHECK_MODULES does. It doesn't, though, use the same
8073 names, since you shouldn't provide a value for LIBS or CFLAGS but rather
8074 for LDFLAGS and CPPFLAGS, to tell the linker and compiler where to find
8075 libraries and headers respectively.
8076
8077 If the library is find, HAVE_PREFIX is defined, and in all cases
8078 PREFIX_LDFLAGS and PREFIX_CPPFLAGS are substituted.
8079
8080 Example:
8081
8082 AX_CHECK_LIBRARY([LIBEVENT], [event.h], [event], [],
8083 [AC_MSG_ERROR([Unable to find libevent])])
8084
8085 Source Code
8086 ***********
8087
8088 Download the latest version of 'ax_check_library.m4'
8089 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_library.m4)
8090 or browse the macro's revision history
8091 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_library.m4).
8092
8093 License
8094 *******
8095
8096 Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
8097
8098 This program is free software: you can redistribute it and/or modify it
8099 under the terms of the GNU General Public License as published by the
8100 Free Software Foundation, either version 3 of the License, or (at your
8101 option) any later version.
8102
8103 This program is distributed in the hope that it will be useful, but
8104 WITHOUT ANY WARRANTY; without even the implied warranty of
8105 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8106 Public License for more details.
8107
8108 You should have received a copy of the GNU General Public License along
8109 with this program. If not, see <https://www.gnu.org/licenses/>.
8110
8111 As a special exception, the respective Autoconf Macro's copyright owner
8112 gives unlimited permission to copy, distribute and modify the configure
8113 scripts that are the output of Autoconf when processing the Macro. You
8114 need not follow the terms of the GNU General Public License when using
8115 or distributing such scripts, even though portions of the text of the
8116 Macro appear in them. The GNU General Public License (GPL) does govern
8117 all other use of the material that constitutes the Autoconf Macro.
8118
8119 This special exception to the GPL applies to versions of the Autoconf
8120 Macro released by the Autoconf Archive. When you make and distribute a
8121 modified version of the Autoconf Macro, you may extend this special
8122 exception to the GPL to apply to your modified version as well.
8123
8124 
8125 File: autoconf-archive.info, Node: ax_check_link_flag, Next: ax_check_mysql, Prev: ax_check_library, Up: The Macros
8126
8127 ax_check_link_flag
8128 ==================
8129
8130 Synopsis
8131 ********
8132
8133 AX_CHECK_LINK_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
8134
8135 Description
8136 ***********
8137
8138 Check whether the given FLAG works with the linker or gives an error.
8139 (Warnings, however, are ignored)
8140
8141 ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
8142 success/failure.
8143
8144 If EXTRA-FLAGS is defined, it is added to the linker's default flags
8145 when the check is done. The check is thus made with the flags: "LDFLAGS
8146 EXTRA-FLAGS FLAG". This can for example be used to force the linker to
8147 issue an error when a bad flag is given.
8148
8149 INPUT gives an alternative input source to AC_LINK_IFELSE.
8150
8151 NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
8152 macro in sync with AX_CHECK_{PREPROC,COMPILE}_FLAG.
8153
8154 Source Code
8155 ***********
8156
8157 Download the latest version of 'ax_check_link_flag.m4'
8158 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_link_flag.m4)
8159 or browse the macro's revision history
8160 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_link_flag.m4).
8161
8162 License
8163 *******
8164
8165 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
8166 Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
8167
8168 Copying and distribution of this file, with or without modification, are
8169 permitted in any medium without royalty provided the copyright notice
8170 and this notice are preserved. This file is offered as-is, without any
8171 warranty.
8172
8173 
8174 File: autoconf-archive.info, Node: ax_check_mysql, Next: ax_check_mysql_db, Prev: ax_check_link_flag, Up: The Macros
8175
8176 ax_check_mysql
8177 ==============
8178
8179 Synopsis
8180 ********
8181
8182 AX_CHECK_MYSQL([MYSQL-PLUGIN-NEEDED],[MYSQL-REQUIRED],[MINIMUM-VERSION],[INCLUDES-REQUIRED])
8183 AX_SOURCE_MYSQL()
8184 AX_CHECK_MYSQL_INSTALL([ROOT-DIR],[IF-FOUND],[IF-NOT-FOUND])
8185
8186 Description
8187 ***********
8188
8189 Looks for a MySQL installation in typical locations, or can take in a
8190 flag designating where a MySQL installation is found. Sets the
8191 variables stated to various attributes of the desired MySQL
8192 installation.
8193
8194 In detail, AX_CHECK_MYSQL will automatically look for a MySQL
8195 installation in the directories that a mysql source or binary install
8196 typically install to. AX_CHECK_MYSQL will throw an error if it cannot
8197 find one, and it is required.
8198
8199 AX_CHECK_MYSQL can also check for specific variables passed regarding a
8200 location of a MySQL installation.
8201
8202 If a MySQL installation is found, AX_CHECK_MYSQL sets variables
8203 regarding the version of MySQL, its architecture (32 or 64 bit), and
8204 whether the version supports Plugins.
8205
8206 AX_CHECK_MYSQL_INSTALL will check a designated root directory for a
8207 command, plugin, and include directory. If a mysql binary is not found
8208 or not found, the IF-FOUND and IF-NOT-FOUND directive will be executed,
8209 respectively.
8210
8211 AX_CHECK_MYSQL adds the following flags:
8212
8213 --with-mysql, for the root of a desired MySQL installation
8214 --with-mysql-plugin, for the path to the plugin directory of the MySQL installation
8215 --with-mysql-include, for the path to the include directory of the MySQL installation
8216 --with-mysql-command, for the path to the binary directory of the MySQL installation
8217 --with-mysql-source, for the path to a directory containing the source of the MySQL installation
8218
8219 AX_CHECK_MYSQL sets:
8220
8221 MYSQL to indicate whether MySQL was found or not
8222 MYSQL_INCLUDES to the include directory (if one exists)
8223 MYSQL_PLUGINS to the plugin directory
8224 MYSQL_COMMANDS to the mysql executable directory
8225 MYSQL_ARCHITECTURE to whether MySQL is 32 or 64 bit (32 if 32, 64 if 64)
8226 MYSQL_VERSION to what the MySQL version is (5.1,5.5, etc)
8227 MYSQL_PLUGIN_OK to whether MySQL version supports plugins (5.1 or greater)
8228 MYSQL_55 to whether the version of MySQL is 5.5 or greater
8229 MYSQL_SOURCE to the source directory passed by --with-mysql-source
8230
8231 Source Code
8232 ***********
8233
8234 Download the latest version of 'ax_check_mysql.m4'
8235 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_mysql.m4)
8236 or browse the macro's revision history
8237 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_mysql.m4).
8238
8239 License
8240 *******
8241
8242 Copyright (C) 2011 University of Washington
8243 Copyright (C) 2011 Yusuke Tsutsumi <tsutsumi.yusuke@gmail.com>
8244 Copyright (C) 2011 Craig Stimmel <cstimmel@uw.edu>
8245 Copyright (C) 2011 Eric Wu
8246
8247 Copying and distribution of this file, with or without modification, are
8248 permitted in any medium without royalty provided the copyright notice
8249 and this notice are preserved. This file is offered as-is, without any
8250 warranty.
8251
8252 
8253 File: autoconf-archive.info, Node: ax_check_mysql_db, Next: ax_check_mysqlr, Prev: ax_check_mysql, Up: The Macros
8254
8255 ax_check_mysql_db
8256 =================
8257
8258 Synopsis
8259 ********
8260
8261 AX_CHECK_MYSQL_DB
8262
8263 Description
8264 ***********
8265
8266 Check if the specified MySQL database exists, if yes set your
8267 environment variable to that database name else unset your environment
8268 variable
8269
8270 Example:
8271
8272 AX_CHECK_MYSQL_DB(DBNAME, [fishmarket])
8273 if test x$DBNAME = xfishmarket; then
8274 bla..bla..bla..
8275 else
8276 bla..bla..bla..
8277 fi
8278
8279 Source Code
8280 ***********
8281
8282 Download the latest version of 'ax_check_mysql_db.m4'
8283 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_mysql_db.m4)
8284 or browse the macro's revision history
8285 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_mysql_db.m4).
8286
8287 License
8288 *******
8289
8290 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
8291
8292 This program is free software; you can redistribute it and/or modify it
8293 under the terms of the GNU General Public License as published by the
8294 Free Software Foundation; either version 2 of the License, or (at your
8295 option) any later version.
8296
8297 This program is distributed in the hope that it will be useful, but
8298 WITHOUT ANY WARRANTY; without even the implied warranty of
8299 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8300 Public License for more details.
8301
8302 You should have received a copy of the GNU General Public License along
8303 with this program. If not, see <https://www.gnu.org/licenses/>.
8304
8305 As a special exception, the respective Autoconf Macro's copyright owner
8306 gives unlimited permission to copy, distribute and modify the configure
8307 scripts that are the output of Autoconf when processing the Macro. You
8308 need not follow the terms of the GNU General Public License when using
8309 or distributing such scripts, even though portions of the text of the
8310 Macro appear in them. The GNU General Public License (GPL) does govern
8311 all other use of the material that constitutes the Autoconf Macro.
8312
8313 This special exception to the GPL applies to versions of the Autoconf
8314 Macro released by the Autoconf Archive. When you make and distribute a
8315 modified version of the Autoconf Macro, you may extend this special
8316 exception to the GPL to apply to your modified version as well.
8317
8318 
8319 File: autoconf-archive.info, Node: ax_check_mysqlr, Next: ax_check_off64_t, Prev: ax_check_mysql_db, Up: The Macros
8320
8321 ax_check_mysqlr
8322 ===============
8323
8324 Synopsis
8325 ********
8326
8327 AX_CHECK_MYSQLR
8328
8329 Description
8330 ***********
8331
8332 First check if mysqlconfig exists. It fails if mysqlconfig is not in
8333 path. Then it checks for the libraries and replaces -lmysqlclient
8334 statement with -lmysqlclient_r statement, to enable threaded client
8335 library.
8336
8337 The following are exported environment variables:
8338
8339 MYSQL_LIBS
8340 MYSQL_CFLAGS
8341
8342 Source Code
8343 ***********
8344
8345 Download the latest version of 'ax_check_mysqlr.m4'
8346 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_mysqlr.m4)
8347 or browse the macro's revision history
8348 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_mysqlr.m4).
8349
8350 License
8351 *******
8352
8353 Copyright (C) 2008 Can Bican <bican@yahoo.com>
8354
8355 Copying and distribution of this file, with or without modification, are
8356 permitted in any medium without royalty provided the copyright notice
8357 and this notice are preserved. This file is offered as-is, without any
8358 warranty.
8359
8360 
8361 File: autoconf-archive.info, Node: ax_check_off64_t, Next: ax_check_openssl, Prev: ax_check_mysqlr, Up: The Macros
8362
8363 ax_check_off64_t
8364 ================
8365
8366 Synopsis
8367 ********
8368
8369 AX_CHECK_OFF64_T
8370
8371 Description
8372 ***********
8373
8374 Check if off64_t is defined. On true define HAVE_OFF64_T, also define
8375 __LARGEFILE64_SOURCE where one is needed. (Note that an appropriative
8376 entry must be in config.h.in.)
8377
8378 Source Code
8379 ***********
8380
8381 Download the latest version of 'ax_check_off64_t.m4'
8382 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_off64_t.m4)
8383 or browse the macro's revision history
8384 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_off64_t.m4).
8385
8386 License
8387 *******
8388
8389 Copyright (C) 2008 Ruslan Shevchenko <Ruslan@Shevchenko.Kiev.UA>
8390
8391 Copying and distribution of this file, with or without modification, are
8392 permitted in any medium without royalty provided the copyright notice
8393 and this notice are preserved. This file is offered as-is, without any
8394 warranty.
8395
8396 
8397 File: autoconf-archive.info, Node: ax_check_openssl, Next: ax_check_page_aligned_malloc, Prev: ax_check_off64_t, Up: The Macros
8398
8399 ax_check_openssl
8400 ================
8401
8402 Synopsis
8403 ********
8404
8405 AX_CHECK_OPENSSL([action-if-found[, action-if-not-found]])
8406
8407 Description
8408 ***********
8409
8410 Look for OpenSSL in a number of default spots, or in a user-selected
8411 spot (via -with-openssl). Sets
8412
8413 OPENSSL_INCLUDES to the include directives required
8414 OPENSSL_LIBS to the -l directives required
8415 OPENSSL_LDFLAGS to the -L or -R flags required
8416
8417 and calls ACTION-IF-FOUND or ACTION-IF-NOT-FOUND appropriately
8418
8419 This macro sets OPENSSL_INCLUDES such that source files should use the
8420 openssl/ directory in include directives:
8421
8422 #include <openssl/hmac.h>
8423
8424 Source Code
8425 ***********
8426
8427 Download the latest version of 'ax_check_openssl.m4'
8428 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_openssl.m4)
8429 or browse the macro's revision history
8430 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_openssl.m4).
8431
8432 License
8433 *******
8434
8435 Copyright (C) 2009,2010 Zmanda Inc. <http://www.zmanda.com/>
8436 Copyright (C) 2009,2010 Dustin J. Mitchell <dustin@zmanda.com>
8437
8438 Copying and distribution of this file, with or without modification, are
8439 permitted in any medium without royalty provided the copyright notice
8440 and this notice are preserved. This file is offered as-is, without any
8441 warranty.
8442
8443 
8444 File: autoconf-archive.info, Node: ax_check_page_aligned_malloc, Next: ax_check_pathfind, Prev: ax_check_openssl, Up: The Macros
8445
8446 ax_check_page_aligned_malloc
8447 ============================
8448
8449 Synopsis
8450 ********
8451
8452 AX_CHECK_PAGE_ALIGNED_MALLOC
8453
8454 Description
8455 ***********
8456
8457 Some operating systems (generally, BSD Unix variants) lack a
8458 posix_memalign function, a memalign function, and a working (meaning,
8459 the memory can be freed) valloc function. To make up for it, the malloc
8460 function promises to return page-aligned addresses if more than one
8461 page's worth of memory is allocated. AX_CHECK_PAGE_ALIGNED_MALLOC
8462 checks for this condition and defines HAVE_PAGE_ALIGNED_MALLOC if the
8463 condition holds.
8464
8465 As an aside, note that valloc'd memory cannot safely be freed on all
8466 operating systems. (Again, some flavors of BSD are the troublemakers.)
8467 It's best to avoid using valloc in favor of posix_memalign, memalign, or
8468 an aligned malloc as detected by AX_CHECK_PAGE_ALIGNED_MALLOC.
8469
8470 Caveat: AX_CHECK_PAGE_ALIGNED_MALLOC takes a probabilistic approach. If
8471 100 calls to malloc all return page-aligned addresses, it assumes that
8472 all calls will behave likewise. It is therefore possible - albeit
8473 extremely unlikely - that AX_CHECK_PAGE_ALIGNED_MALLOC can return a
8474 false positive.
8475
8476 Source Code
8477 ***********
8478
8479 Download the latest version of 'ax_check_page_aligned_malloc.m4'
8480 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_page_aligned_malloc.m4)
8481 or browse the macro's revision history
8482 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_page_aligned_malloc.m4).
8483
8484 License
8485 *******
8486
8487 Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
8488
8489 Copying and distribution of this file, with or without modification, are
8490 permitted in any medium without royalty provided the copyright notice
8491 and this notice are preserved. This file is offered as-is, without any
8492 warranty.
8493
8494 
8495 File: autoconf-archive.info, Node: ax_check_pathfind, Next: ax_check_pathname_style, Prev: ax_check_page_aligned_malloc, Up: The Macros
8496
8497 ax_check_pathfind
8498 =================
8499
8500 Synopsis
8501 ********
8502
8503 AX_CHECK_PATHFIND
8504
8505 Description
8506 ***********
8507
8508 Not all systems have pathfind(3). See if we need to substitute. To
8509 make this work, you have to do horrible things. See the doc for
8510 AX_CHECK_STRCSPN.
8511
8512 Source Code
8513 ***********
8514
8515 Download the latest version of 'ax_check_pathfind.m4'
8516 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pathfind.m4)
8517 or browse the macro's revision history
8518 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pathfind.m4).
8519
8520 License
8521 *******
8522
8523 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
8524
8525 Copying and distribution of this file, with or without modification, are
8526 permitted in any medium without royalty provided the copyright notice
8527 and this notice are preserved. This file is offered as-is, without any
8528 warranty.
8529
8530 
8531 File: autoconf-archive.info, Node: ax_check_pathname_style, Next: ax_check_pgsql_db, Prev: ax_check_pathfind, Up: The Macros
8532
8533 ax_check_pathname_style
8534 =======================
8535
8536 Synopsis
8537 ********
8538
8539 AX_CHECK_PATHNAME_STYLE_DOS
8540
8541 Description
8542 ***********
8543
8544 Check if host OS uses DOS-style pathnames. This includes the use of
8545 drive letters and backslashes. Under DOS, Windows, and OS/2, defines
8546 HAVE_PATHNAME_STYLE_DOS and PATH_SEPARATOR to ';'. Otherwise, defines
8547 PATH_SEPARATOR to ':'.
8548
8549 This macro depends on the AC_CANONICAL_HOST.
8550
8551 Use for enabling code to handle drive letters, backslashes in filenames
8552 and semicolons in the PATH.
8553
8554 Source Code
8555 ***********
8556
8557 Download the latest version of 'ax_check_pathname_style.m4'
8558 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pathname_style.m4)
8559 or browse the macro's revision history
8560 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pathname_style.m4).
8561
8562 License
8563 *******
8564
8565 Copyright (C) 2008 Mark Elbrecht
8566
8567 This program is free software; you can redistribute it and/or modify it
8568 under the terms of the GNU General Public License as published by the
8569 Free Software Foundation; either version 2 of the License, or (at your
8570 option) any later version.
8571
8572 This program is distributed in the hope that it will be useful, but
8573 WITHOUT ANY WARRANTY; without even the implied warranty of
8574 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8575 Public License for more details.
8576
8577 You should have received a copy of the GNU General Public License along
8578 with this program. If not, see <https://www.gnu.org/licenses/>.
8579
8580 As a special exception, the respective Autoconf Macro's copyright owner
8581 gives unlimited permission to copy, distribute and modify the configure
8582 scripts that are the output of Autoconf when processing the Macro. You
8583 need not follow the terms of the GNU General Public License when using
8584 or distributing such scripts, even though portions of the text of the
8585 Macro appear in them. The GNU General Public License (GPL) does govern
8586 all other use of the material that constitutes the Autoconf Macro.
8587
8588 This special exception to the GPL applies to versions of the Autoconf
8589 Macro released by the Autoconf Archive. When you make and distribute a
8590 modified version of the Autoconf Macro, you may extend this special
8591 exception to the GPL to apply to your modified version as well.
8592
8593 
8594 File: autoconf-archive.info, Node: ax_check_pgsql_db, Next: ax_check_posix_regcomp, Prev: ax_check_pathname_style, Up: The Macros
8595
8596 ax_check_pgsql_db
8597 =================
8598
8599 Synopsis
8600 ********
8601
8602 AX_CHECK_PGSQL_DB([DB], [USER], [HOST], [PASSWORD], [ACTION_IF_FAILED], [ACTION_IF_OK])
8603
8604 Description
8605 ***********
8606
8607 This macro checks whether we can connect to a PostgreSQL server with the
8608 given data. The macro AX_PROG_PGCLIENT is required by this one. The
8609 variable $pgclient_call is set for later use in Makefiles, if you'd like
8610 to make use of this, you must do
8611
8612 AC_SUBST(pgclient_call)
8613
8614 after having called AX_CHECK_PGSQL_DB. You can then do something like
8615 the following in your Makefile.am:
8616
8617 @pgclient_call@ -f file.sql
8618
8619 If you want the user to set the data, you should support something like
8620 these configure options:
8621
8622 AC_ARG_WITH(pgsql-host,
8623 [ --with-pgsql-host=HOST server is running on HOST @<:@local socket@:>@],
8624 [pg_host=$withval], [pg_host=])
8625
8626 AC_ARG_WITH(pgsql-db,
8627 [ --with-pgsql-db=DATABASE use DATABASE @<:@tarantoola@:>@],
8628 [pg_db=$withval], [pg_db=tarantoola])
8629
8630 AC_ARG_WITH(pgsql-user,
8631 [ --with-pgsql-user=USER use USER @<:@postgres@:>@],
8632 [pg_user=$withval], [pg_user=postgres])
8633
8634 AC_ARG_WITH(pgsql-password,
8635 [ --with-pgsql-password=PASSWORD use PASSWORD @<:@none@:>@],
8636 [pg_password=$withval], [pg_password=""])
8637
8638 You can then call the macro like this:
8639
8640 AX_CHECK_PGSQL_DB([$pg_db], [$pg_user], [$pg_host], [$pg_password], [AC_MSG_ERROR([We need a database connection!])])
8641
8642 Source Code
8643 ***********
8644
8645 Download the latest version of 'ax_check_pgsql_db.m4'
8646 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pgsql_db.m4)
8647 or browse the macro's revision history
8648 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pgsql_db.m4).
8649
8650 License
8651 *******
8652
8653 Copyright (C) 2008 Moritz Sinn <moritz@freesources.org>
8654
8655 This program is free software; you can redistribute it and/or modify it
8656 under the terms of the GNU General Public License as published by the
8657 Free Software Foundation; either version 2 of the License, or (at your
8658 option) any later version.
8659
8660 This program is distributed in the hope that it will be useful, but
8661 WITHOUT ANY WARRANTY; without even the implied warranty of
8662 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8663 Public License for more details.
8664
8665 You should have received a copy of the GNU General Public License along
8666 with this program. If not, see <https://www.gnu.org/licenses/>.
8667
8668 As a special exception, the respective Autoconf Macro's copyright owner
8669 gives unlimited permission to copy, distribute and modify the configure
8670 scripts that are the output of Autoconf when processing the Macro. You
8671 need not follow the terms of the GNU General Public License when using
8672 or distributing such scripts, even though portions of the text of the
8673 Macro appear in them. The GNU General Public License (GPL) does govern
8674 all other use of the material that constitutes the Autoconf Macro.
8675
8676 This special exception to the GPL applies to versions of the Autoconf
8677 Macro released by the Autoconf Archive. When you make and distribute a
8678 modified version of the Autoconf Macro, you may extend this special
8679 exception to the GPL to apply to your modified version as well.
8680
8681 
8682 File: autoconf-archive.info, Node: ax_check_posix_regcomp, Next: ax_check_posix_sysinfo, Prev: ax_check_pgsql_db, Up: The Macros
8683
8684 ax_check_posix_regcomp
8685 ======================
8686
8687 Synopsis
8688 ********
8689
8690 AX_CHECK_POSIX_REGCOMP
8691
8692 Description
8693 ***********
8694
8695 Check that the POSIX compliant regular expression compiler is available
8696 in the POSIX specified manner, and it works. If it fails, we have a
8697 backup - use gnu-regex.
8698
8699 Source Code
8700 ***********
8701
8702 Download the latest version of 'ax_check_posix_regcomp.m4'
8703 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_posix_regcomp.m4)
8704 or browse the macro's revision history
8705 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_posix_regcomp.m4).
8706
8707 License
8708 *******
8709
8710 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
8711
8712 Copying and distribution of this file, with or without modification, are
8713 permitted in any medium without royalty provided the copyright notice
8714 and this notice are preserved. This file is offered as-is, without any
8715 warranty.
8716
8717 
8718 File: autoconf-archive.info, Node: ax_check_posix_sysinfo, Next: ax_check_postgres_db, Prev: ax_check_posix_regcomp, Up: The Macros
8719
8720 ax_check_posix_sysinfo
8721 ======================
8722
8723 Synopsis
8724 ********
8725
8726 AX_CHECK_POSIX_SYSINFO
8727
8728 Description
8729 ***********
8730
8731 Check that the POSIX compliant sysinfo(2) call works properly. Linux
8732 has its own weirdo alternative.
8733
8734 Source Code
8735 ***********
8736
8737 Download the latest version of 'ax_check_posix_sysinfo.m4'
8738 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_posix_sysinfo.m4)
8739 or browse the macro's revision history
8740 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_posix_sysinfo.m4).
8741
8742 License
8743 *******
8744
8745 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
8746
8747 Copying and distribution of this file, with or without modification, are
8748 permitted in any medium without royalty provided the copyright notice
8749 and this notice are preserved. This file is offered as-is, without any
8750 warranty.
8751
8752 
8753 File: autoconf-archive.info, Node: ax_check_postgres_db, Next: ax_check_preproc_flag, Prev: ax_check_posix_sysinfo, Up: The Macros
8754
8755 ax_check_postgres_db
8756 ====================
8757
8758 Synopsis
8759 ********
8760
8761 AX_CHECK_POSTGRES_DB([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
8762
8763 Description
8764 ***********
8765
8766 This macro tries to find the headers and libraries for the PostgreSQL
8767 database to build client applications.
8768
8769 If includes are found, the variable PQINCPATH will be set, and
8770 have_pqinc will be 'yes'. If libraries are found, the variable
8771 PQLIBPATH will be set, and have_pqlib will be 'yes'. If both PQINCPATH
8772 and PQLIBPATH are found, HAVE_LIBPQ will be set to 'yes' (and
8773 AC_DEFINEd), and -lpq will be added to the beginning of LIBS. If their
8774 respective conditions are not met, have_pqinc, have_pqlib, HAVE_LIBPQ,
8775 will be 'no'.
8776
8777 This macro does fails if either the headers or the library are not
8778 found, unless ACTION-IF-NOT-FOUND is not empty. When both are found,
8779 ACTION-IF-FOUND, if defined, is executed after the variables have been
8780 defined. If -with-pgsql=no (or equivalents) is given, nothing happens.
8781
8782 An automake conditional can be subsequently defined as
8783
8784 AM_CONDITIONAL([HAVE_LIBPQ], [test x$HAVE_LIBPQ = x$yes])
8785
8786 in configure.ac.
8787
8788 Source Code
8789 ***********
8790
8791 Download the latest version of 'ax_check_postgres_db.m4'
8792 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_postgres_db.m4)
8793 or browse the macro's revision history
8794 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_postgres_db.m4).
8795
8796 License
8797 *******
8798
8799 Copyright (C) 2008 Christian Toepp <c.toepp@gmail.com>
8800 Copyright (C) 2012 Olivier Mehani <shtrom-ax@ssji.net>
8801
8802 Copying and distribution of this file, with or without modification, are
8803 permitted in any medium without royalty provided the copyright notice
8804 and this notice are preserved. This file is offered as-is, without any
8805 warranty.
8806
8807 
8808 File: autoconf-archive.info, Node: ax_check_preproc_flag, Next: ax_check_rqrd_class, Prev: ax_check_postgres_db, Up: The Macros
8809
8810 ax_check_preproc_flag
8811 =====================
8812
8813 Synopsis
8814 ********
8815
8816 AX_CHECK_PREPROC_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
8817
8818 Description
8819 ***********
8820
8821 Check whether the given FLAG works with the current language's
8822 preprocessor or gives an error. (Warnings, however, are ignored)
8823
8824 ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
8825 success/failure.
8826
8827 If EXTRA-FLAGS is defined, it is added to the preprocessor's default
8828 flags when the check is done. The check is thus made with the flags:
8829 "CPPFLAGS EXTRA-FLAGS FLAG". This can for example be used to force the
8830 preprocessor to issue an error when a bad flag is given.
8831
8832 INPUT gives an alternative input source to AC_PREPROC_IFELSE.
8833
8834 NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
8835 macro in sync with AX_CHECK_{COMPILE,LINK}_FLAG.
8836
8837 Source Code
8838 ***********
8839
8840 Download the latest version of 'ax_check_preproc_flag.m4'
8841 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_preproc_flag.m4)
8842 or browse the macro's revision history
8843 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_preproc_flag.m4).
8844
8845 License
8846 *******
8847
8848 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
8849 Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
8850
8851 Copying and distribution of this file, with or without modification, are
8852 permitted in any medium without royalty provided the copyright notice
8853 and this notice are preserved. This file is offered as-is, without any
8854 warranty.
8855
8856 
8857 File: autoconf-archive.info, Node: ax_check_rqrd_class, Next: ax_check_sign, Prev: ax_check_preproc_flag, Up: The Macros
8858
8859 ax_check_rqrd_class
8860 ===================
8861
8862 Synopsis
8863 ********
8864
8865 AX_CHECK_RQRD_CLASS
8866
8867 Description
8868 ***********
8869
8870 AX_CHECK_RQRD_CLASS tests the existence of a given Java class, either in
8871 a jar or in a '.class' file and fails if it doesn't exist. Its success
8872 or failure can depend on a proper setting of the CLASSPATH env.
8873 variable.
8874
8875 Note: This is part of the set of autoconf M4 macros for Java programs.
8876 It is VERY IMPORTANT that you download the whole set, some macros depend
8877 on other. Unfortunately, the autoconf archive does not support the
8878 concept of set of macros, so I had to break it for submission. The
8879 general documentation, as well as the sample configure.in, is included
8880 in the AX_PROG_JAVA macro.
8881
8882 Source Code
8883 ***********
8884
8885 Download the latest version of 'ax_check_rqrd_class.m4'
8886 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_rqrd_class.m4)
8887 or browse the macro's revision history
8888 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_rqrd_class.m4).
8889
8890 License
8891 *******
8892
8893 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
8894
8895 This program is free software; you can redistribute it and/or modify it
8896 under the terms of the GNU General Public License as published by the
8897 Free Software Foundation; either version 2 of the License, or (at your
8898 option) any later version.
8899
8900 This program is distributed in the hope that it will be useful, but
8901 WITHOUT ANY WARRANTY; without even the implied warranty of
8902 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8903 Public License for more details.
8904
8905 You should have received a copy of the GNU General Public License along
8906 with this program. If not, see <https://www.gnu.org/licenses/>.
8907
8908 As a special exception, the respective Autoconf Macro's copyright owner
8909 gives unlimited permission to copy, distribute and modify the configure
8910 scripts that are the output of Autoconf when processing the Macro. You
8911 need not follow the terms of the GNU General Public License when using
8912 or distributing such scripts, even though portions of the text of the
8913 Macro appear in them. The GNU General Public License (GPL) does govern
8914 all other use of the material that constitutes the Autoconf Macro.
8915
8916 This special exception to the GPL applies to versions of the Autoconf
8917 Macro released by the Autoconf Archive. When you make and distribute a
8918 modified version of the Autoconf Macro, you may extend this special
8919 exception to the GPL to apply to your modified version as well.
8920
8921 
8922 File: autoconf-archive.info, Node: ax_check_sign, Next: ax_check_strcspn, Prev: ax_check_rqrd_class, Up: The Macros
8923
8924 ax_check_sign
8925 =============
8926
8927 Synopsis
8928 ********
8929
8930 AX_CHECK_SIGN (TYPE, [ACTION-IF-SIGNED], [ACTION-IF-UNSIGNED], [INCLUDES])
8931
8932 Description
8933 ***********
8934
8935 Checks whether TYPE is signed or not. If no INCLUDES are specified, the
8936 default includes are used. If ACTION-IF-SIGNED is given, it is
8937 additional shell code to execute when the type is signed. If
8938 ACTION-IF-UNSIGNED is given, it is executed when the type is unsigned.
8939
8940 This macro assumes that the type exists. Therefore the existence of the
8941 type should be checked before calling this macro. For example:
8942
8943 AC_CHECK_HEADERS([wchar.h])
8944 AC_CHECK_TYPE([wchar_t],,[ AC_MSG_ERROR([Type wchar_t not found.]) ])
8945 AX_CHECK_SIGN([wchar_t],
8946 [ AC_DEFINE(WCHAR_T_SIGNED, 1, [Define if wchar_t is signed]) ],
8947 [ AC_DEFINE(WCHAR_T_UNSIGNED, 1, [Define if wchar_t is unsigned]) ], [
8948 #ifdef HAVE_WCHAR_H
8949 #include <wchar.h>
8950 #endif
8951 ])
8952
8953 Source Code
8954 ***********
8955
8956 Download the latest version of 'ax_check_sign.m4'
8957 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_sign.m4)
8958 or browse the macro's revision history
8959 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_sign.m4).
8960
8961 License
8962 *******
8963
8964 Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
8965
8966 Copying and distribution of this file, with or without modification, are
8967 permitted in any medium without royalty provided the copyright notice
8968 and this notice are preserved. This file is offered as-is, without any
8969 warranty.
8970
8971 
8972 File: autoconf-archive.info, Node: ax_check_strcspn, Next: ax_check_strftime, Prev: ax_check_sign, Up: The Macros
8973
8974 ax_check_strcspn
8975 ================
8976
8977 Synopsis
8978 ********
8979
8980 AX_CHECK_STRCSPN
8981
8982 Description
8983 ***********
8984
8985 Not all systems have strcspn(3). See if we need to substitute. To make
8986 this work, you have to do horrible things. In one of your Makefile.am
8987 files, you must make an explicit rule to make this object. It should
8988 look like this:
8989
8990 strcspn.lo : $(top_srcdir)/compat/strcspn.c
8991 $(LTCOMPILE) -o $@ -c $(top_srcdir)/compat/strcspn.c
8992
8993 and you must include "@COMPATOBJ@" in a LIBADD somewhere and, finally,
8994 you must add another artificial dependency, something like:
8995
8996 makeshell.lo : genshell.c @COMPATOBJ@
8997
8998 It is all pretty horrific, but I have found nothing else that works.
8999
9000 Source Code
9001 ***********
9002
9003 Download the latest version of 'ax_check_strcspn.m4'
9004 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_strcspn.m4)
9005 or browse the macro's revision history
9006 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_strcspn.m4).
9007
9008 License
9009 *******
9010
9011 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
9012
9013 Copying and distribution of this file, with or without modification, are
9014 permitted in any medium without royalty provided the copyright notice
9015 and this notice are preserved. This file is offered as-is, without any
9016 warranty.
9017
9018 
9019 File: autoconf-archive.info, Node: ax_check_strftime, Next: ax_check_struct_for, Prev: ax_check_strcspn, Up: The Macros
9020
9021 ax_check_strftime
9022 =================
9023
9024 Synopsis
9025 ********
9026
9027 AX_CHECK_STRFTIME
9028
9029 Description
9030 ***********
9031
9032 Check for existence and functioning of strftime routine.
9033
9034 Source Code
9035 ***********
9036
9037 Download the latest version of 'ax_check_strftime.m4'
9038 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_strftime.m4)
9039 or browse the macro's revision history
9040 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_strftime.m4).
9041
9042 License
9043 *******
9044
9045 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
9046
9047 Copying and distribution of this file, with or without modification, are
9048 permitted in any medium without royalty provided the copyright notice
9049 and this notice are preserved. This file is offered as-is, without any
9050 warranty.
9051
9052 
9053 File: autoconf-archive.info, Node: ax_check_struct_for, Next: ax_check_symbol, Prev: ax_check_strftime, Up: The Macros
9054
9055 ax_check_struct_for
9056 ===================
9057
9058 Synopsis
9059 ********
9060
9061 AX_CHECK_STRUCT_FOR(INCLUDES,STRUCT,MEMBER,DEFINE,[no])
9062
9063 Description
9064 ***********
9065
9066 Checks STRUCT for MEMBER and defines DEFINE if found.
9067
9068 Source Code
9069 ***********
9070
9071 Download the latest version of 'ax_check_struct_for.m4'
9072 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_struct_for.m4)
9073 or browse the macro's revision history
9074 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_struct_for.m4).
9075
9076 License
9077 *******
9078
9079 Copyright (C) 2008 Wes Hardaker <wjhardaker@ucdavis.edu>
9080
9081 Copying and distribution of this file, with or without modification, are
9082 permitted in any medium without royalty provided the copyright notice
9083 and this notice are preserved. This file is offered as-is, without any
9084 warranty.
9085
9086 
9087 File: autoconf-archive.info, Node: ax_check_symbol, Next: ax_check_sys_siglist, Prev: ax_check_struct_for, Up: The Macros
9088
9089 ax_check_symbol
9090 ===============
9091
9092 Synopsis
9093 ********
9094
9095 AX_CHECK_SYMBOL(SYMBOL, HEADER... [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]])
9096
9097 Description
9098 ***********
9099
9100 A wrapper around AC_EGREP_HEADER. The shellvar $ac_found will hold the
9101 HEADER-name that had been containing the symbol. This value is shown to
9102 the user.
9103
9104 Source Code
9105 ***********
9106
9107 Download the latest version of 'ax_check_symbol.m4'
9108 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_symbol.m4)
9109 or browse the macro's revision history
9110 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_symbol.m4).
9111
9112 License
9113 *******
9114
9115 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
9116
9117 Copying and distribution of this file, with or without modification, are
9118 permitted in any medium without royalty provided the copyright notice
9119 and this notice are preserved. This file is offered as-is, without any
9120 warranty.
9121
9122 
9123 File: autoconf-archive.info, Node: ax_check_sys_siglist, Next: ax_check_typedef, Prev: ax_check_symbol, Up: The Macros
9124
9125 ax_check_sys_siglist
9126 ====================
9127
9128 Synopsis
9129 ********
9130
9131 AX_CHECK_SYS_SIGLIST
9132
9133 Description
9134 ***********
9135
9136 Check for existence of global sys_siglist[].
9137
9138 Source Code
9139 ***********
9140
9141 Download the latest version of 'ax_check_sys_siglist.m4'
9142 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_sys_siglist.m4)
9143 or browse the macro's revision history
9144 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_sys_siglist.m4).
9145
9146 License
9147 *******
9148
9149 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
9150
9151 Copying and distribution of this file, with or without modification, are
9152 permitted in any medium without royalty provided the copyright notice
9153 and this notice are preserved. This file is offered as-is, without any
9154 warranty.
9155
9156 
9157 File: autoconf-archive.info, Node: ax_check_typedef, Next: ax_check_uname_syscall, Prev: ax_check_sys_siglist, Up: The Macros
9158
9159 ax_check_typedef
9160 ================
9161
9162 Synopsis
9163 ********
9164
9165 AX_CHECK_TYPEDEF(TYPEDEF, HEADER [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]])
9166
9167 Description
9168 ***********
9169
9170 Check if the given typedef-name is recognized as a type. The trick is
9171 to use a sizeof(TYPEDEF) and see if the compiler is happy with that.
9172
9173 This can be thought of as a mixture of AC_CHECK_TYPE(TYPEDEF,DEFAULT)
9174 and AC_CHECK_LIB(LIBRARY,FUNCTION,ACTION-IF-FOUND,ACTION-IF-NOT-FOUND).
9175
9176 A convenience macro AX_CHECK_TYPEDEF_ is provided that will not emit any
9177 message to the user - it just executes one of the actions.
9178
9179 Source Code
9180 ***********
9181
9182 Download the latest version of 'ax_check_typedef.m4'
9183 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_typedef.m4)
9184 or browse the macro's revision history
9185 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_typedef.m4).
9186
9187 License
9188 *******
9189
9190 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
9191
9192 Copying and distribution of this file, with or without modification, are
9193 permitted in any medium without royalty provided the copyright notice
9194 and this notice are preserved. This file is offered as-is, without any
9195 warranty.
9196
9197 
9198 File: autoconf-archive.info, Node: ax_check_uname_syscall, Next: ax_check_user, Prev: ax_check_typedef, Up: The Macros
9199
9200 ax_check_uname_syscall
9201 ======================
9202
9203 Synopsis
9204 ********
9205
9206 AX_CHECK_UNAME_SYSCALL
9207
9208 Description
9209 ***********
9210
9211 Check that the POSIX compliant uname(2) call works properly.
9212
9213 Source Code
9214 ***********
9215
9216 Download the latest version of 'ax_check_uname_syscall.m4'
9217 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_uname_syscall.m4)
9218 or browse the macro's revision history
9219 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_uname_syscall.m4).
9220
9221 License
9222 *******
9223
9224 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
9225
9226 Copying and distribution of this file, with or without modification, are
9227 permitted in any medium without royalty provided the copyright notice
9228 and this notice are preserved. This file is offered as-is, without any
9229 warranty.
9230
9231 
9232 File: autoconf-archive.info, Node: ax_check_user, Next: ax_check_vscript, Prev: ax_check_uname_syscall, Up: The Macros
9233
9234 ax_check_user
9235 =============
9236
9237 Synopsis
9238 ********
9239
9240 AX_CHECK_USER
9241
9242 Description
9243 ***********
9244
9245 Check if the specified UNIX user exists, if yes set your environment
9246 variable to that username else unset your environment variable
9247
9248 Example:
9249
9250 AX_CHECK_USER(USER, [gleensalmon])
9251 if test x$USER = xgleensalmon; then
9252 bla..bla..bla..
9253 else
9254 bla..bla..bla..
9255 fi
9256
9257 Besides checking existence, this macro also set these environment
9258 variables upon completion:
9259
9260 USER_HOME = home directory of user, written in /etc/passwd
9261
9262 Source Code
9263 ***********
9264
9265 Download the latest version of 'ax_check_user.m4'
9266 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_user.m4)
9267 or browse the macro's revision history
9268 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_user.m4).
9269
9270 License
9271 *******
9272
9273 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
9274
9275 This program is free software; you can redistribute it and/or modify it
9276 under the terms of the GNU General Public License as published by the
9277 Free Software Foundation; either version 2 of the License, or (at your
9278 option) any later version.
9279
9280 This program is distributed in the hope that it will be useful, but
9281 WITHOUT ANY WARRANTY; without even the implied warranty of
9282 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
9283 Public License for more details.
9284
9285 You should have received a copy of the GNU General Public License along
9286 with this program. If not, see <https://www.gnu.org/licenses/>.
9287
9288 As a special exception, the respective Autoconf Macro's copyright owner
9289 gives unlimited permission to copy, distribute and modify the configure
9290 scripts that are the output of Autoconf when processing the Macro. You
9291 need not follow the terms of the GNU General Public License when using
9292 or distributing such scripts, even though portions of the text of the
9293 Macro appear in them. The GNU General Public License (GPL) does govern
9294 all other use of the material that constitutes the Autoconf Macro.
9295
9296 This special exception to the GPL applies to versions of the Autoconf
9297 Macro released by the Autoconf Archive. When you make and distribute a
9298 modified version of the Autoconf Macro, you may extend this special
9299 exception to the GPL to apply to your modified version as well.
9300
9301 
9302 File: autoconf-archive.info, Node: ax_check_vscript, Next: ax_check_x86_features, Prev: ax_check_user, Up: The Macros
9303
9304 ax_check_vscript
9305 ================
9306
9307 Synopsis
9308 ********
9309
9310 AX_CHECK_VSCRIPT
9311
9312 Description
9313 ***********
9314
9315 Check whether the linker supports version scripts. Version scripts are
9316 used when building shared libraries to bind symbols to version nodes
9317 (helping to detect incompatibilities) or to limit the visibility of
9318 non-public symbols.
9319
9320 Output:
9321
9322 If version scripts are supported, VSCRIPT_LDFLAGS will contain the
9323 appropriate flag to pass to the linker. On GNU systems this would
9324 typically be "-Wl,-version-script", and on Solaris it would typically be
9325 "-Wl,-M".
9326
9327 Two Automake conditionals are also set:
9328
9329 HAVE_VSCRIPT is true if the linker supports version scripts with
9330 entries that use simple wildcards, like "local: *".
9331
9332 HAVE_VSCRIPT_COMPLEX is true if the linker supports version scripts with
9333 pattern matching wildcards, like "global: Java_*".
9334
9335 On systems that do not support symbol versioning, such as Mac OS X, both
9336 conditionals will be false. They will also be false if the user passes
9337 "-disable-symvers" on the configure command line.
9338
9339 Example:
9340
9341 configure.ac:
9342
9343 AX_CHECK_VSCRIPT
9344
9345 Makefile.am:
9346
9347 if HAVE_VSCRIPT
9348 libfoo_la_LDFLAGS += $(VSCRIPT_LDFLAGS),@srcdir@/libfoo.map
9349 endif
9350
9351 if HAVE_VSCRIPT_COMPLEX
9352 libbar_la_LDFLAGS += $(VSCRIPT_LDFLAGS),@srcdir@/libbar.map
9353 endif
9354
9355 Source Code
9356 ***********
9357
9358 Download the latest version of 'ax_check_vscript.m4'
9359 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_vscript.m4)
9360 or browse the macro's revision history
9361 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_vscript.m4).
9362
9363 License
9364 *******
9365
9366 Copyright (C) 2014 Kevin Cernekee <cernekee@gmail.com>
9367
9368 Copying and distribution of this file, with or without modification, are
9369 permitted in any medium without royalty provided the copyright notice
9370 and this notice are preserved. This file is offered as-is, without any
9371 warranty.
9372
9373 
9374 File: autoconf-archive.info, Node: ax_check_x86_features, Next: ax_check_zlib, Prev: ax_check_vscript, Up: The Macros
9375
9376 ax_check_x86_features
9377 =====================
9378
9379 Synopsis
9380 ********
9381
9382 AX_CHECK_X86_FEATURES([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
9383
9384 Description
9385 ***********
9386
9387 Checks if the host cpu supports various x86 instruction set, the
9388 instructions that will get tested are "mmx, popcnt, sse, sse2, sse3,
9389 sse4.1, sse4.2, sse4a, avx, avx2, avx512f, fma, fma4, bmi, bmi2". If
9390 the instruction set is supported by the host cpu, the C preprocessor
9391 macro HAVE_XXX_INSTRUCTIONS is set to 1. The XXX is up-cased
9392 instruction case with dot replaced by underscore. For example, the test
9393 for "sse4.2" would export HAVE_SSE4_2_INSTRUCTIONS=1. Also the compiler
9394 flag "-msse4.2" would be added to X86_FEATURE_CFLAGS variable, that can
9395 be obtained in Makefile.am using @X86_FEATURE_CFLAGS@.
9396
9397 If any of the test for the instruction set were succeeded, the configure
9398 script would run ACTION-IF-FOUND if it is specified, or append
9399 X86_FEATURE_CFLAGS to CFLAGS. If none of the instruction were found,
9400 ACTION-IF-NOT-FOUND hook is triggered.
9401
9402 This macro requires gcc extended builtin function "__builtin_cpu_init"
9403 and "__builtin_cpu_supports" to detect the cpu features. It will error
9404 out if the compiler doesn't has these builtins.
9405
9406 See also AX_GCC_X86_CPU_SUPPORTS, which is the actual macro that perform
9407 the checks for the instruction sets.
9408
9409 Source Code
9410 ***********
9411
9412 Download the latest version of 'ax_check_x86_features.m4'
9413 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_x86_features.m4)
9414 or browse the macro's revision history
9415 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_x86_features.m4).
9416
9417 License
9418 *******
9419
9420 Copyright (C) 2016 Felix Chern <idryman@gmail.com>
9421
9422 This program is free software; you can redistribute it and/or modify it
9423 under the terms of the GNU General Public License as published by the
9424 Free Software Foundation; either version 2 of the License, or (at your
9425 option) any later version.
9426
9427 This program is distributed in the hope that it will be useful, but
9428 WITHOUT ANY WARRANTY; without even the implied warranty of
9429 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
9430 Public License for more details.
9431
9432 You should have received a copy of the GNU General Public License along
9433 with this program. If not, see <https://www.gnu.org/licenses/>.
9434
9435 As a special exception, the respective Autoconf Macro's copyright owner
9436 gives unlimited permission to copy, distribute and modify the configure
9437 scripts that are the output of Autoconf when processing the Macro. You
9438 need not follow the terms of the GNU General Public License when using
9439 or distributing such scripts, even though portions of the text of the
9440 Macro appear in them. The GNU General Public License (GPL) does govern
9441 all other use of the material that constitutes the Autoconf Macro.
9442
9443 This special exception to the GPL applies to versions of the Autoconf
9444 Macro released by the Autoconf Archive. When you make and distribute a
9445 modified version of the Autoconf Macro, you may extend this special
9446 exception to the GPL to apply to your modified version as well.
9447
9448 
9449 File: autoconf-archive.info, Node: ax_check_zlib, Next: ax_code_coverage, Prev: ax_check_x86_features, Up: The Macros
9450
9451 ax_check_zlib
9452 =============
9453
9454 Synopsis
9455 ********
9456
9457 AX_CHECK_ZLIB([action-if-found], [action-if-not-found])
9458
9459 Description
9460 ***********
9461
9462 This macro searches for an installed zlib library. If nothing was
9463 specified when calling configure, it searches first in /usr/local and
9464 then in /usr, /opt/local and /sw. If the -with-zlib=DIR is specified,
9465 it will try to find it in DIR/include/zlib.h and DIR/lib/libz.a. If
9466 -without-zlib is specified, the library is not searched at all.
9467
9468 If either the header file (zlib.h) or the library (libz) is not found,
9469 shell commands 'action-if-not-found' is run. If 'action-if-not-found'
9470 is not specified, the configuration exits on error, asking for a valid
9471 zlib installation directory or -without-zlib.
9472
9473 If both header file and library are found, shell commands
9474 'action-if-found' is run. If 'action-if-found' is not specified, the
9475 default action appends '-I${ZLIB_HOME}/include' to CPFLAGS, appends
9476 '-L$ZLIB_HOME}/lib' to LDFLAGS, prepends '-lz' to LIBS, and calls
9477 AC_DEFINE(HAVE_LIBZ). You should use autoheader to include a definition
9478 for this symbol in a config.h file. Sample usage in a C/C++ source is
9479 as follows:
9480
9481 #ifdef HAVE_LIBZ
9482 #include <zlib.h>
9483 #endif /* HAVE_LIBZ */
9484
9485 Source Code
9486 ***********
9487
9488 Download the latest version of 'ax_check_zlib.m4'
9489 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_zlib.m4)
9490 or browse the macro's revision history
9491 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_zlib.m4).
9492
9493 License
9494 *******
9495
9496 Copyright (C) 2008 Loic Dachary <loic@senga.org>
9497 Copyright (C) 2010 Bastien Chevreux <bach@chevreux.org>
9498
9499 This program is free software; you can redistribute it and/or modify it
9500 under the terms of the GNU General Public License as published by the
9501 Free Software Foundation; either version 2 of the License, or (at your
9502 option) any later version.
9503
9504 This program is distributed in the hope that it will be useful, but
9505 WITHOUT ANY WARRANTY; without even the implied warranty of
9506 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
9507 Public License for more details.
9508
9509 You should have received a copy of the GNU General Public License along
9510 with this program. If not, see <https://www.gnu.org/licenses/>.
9511
9512 As a special exception, the respective Autoconf Macro's copyright owner
9513 gives unlimited permission to copy, distribute and modify the configure
9514 scripts that are the output of Autoconf when processing the Macro. You
9515 need not follow the terms of the GNU General Public License when using
9516 or distributing such scripts, even though portions of the text of the
9517 Macro appear in them. The GNU General Public License (GPL) does govern
9518 all other use of the material that constitutes the Autoconf Macro.
9519
9520 This special exception to the GPL applies to versions of the Autoconf
9521 Macro released by the Autoconf Archive. When you make and distribute a
9522 modified version of the Autoconf Macro, you may extend this special
9523 exception to the GPL to apply to your modified version as well.
9524
9525 
9526 File: autoconf-archive.info, Node: ax_code_coverage, Next: ax_compare_version, Prev: ax_check_zlib, Up: The Macros
9527
9528 ax_code_coverage
9529 ================
9530
9531 Synopsis
9532 ********
9533
9534 AX_CODE_COVERAGE()
9535
9536 Description
9537 ***********
9538
9539 Defines CODE_COVERAGE_CPPFLAGS, CODE_COVERAGE_CFLAGS,
9540 CODE_COVERAGE_CXXFLAGS and CODE_COVERAGE_LIBS which should be included
9541 in the CPPFLAGS, CFLAGS CXXFLAGS and LIBS/LIBADD variables of every
9542 build target (program or library) which should be built with code
9543 coverage support. Also add rules using AX_ADD_AM_MACRO_STATIC; and
9544 $enable_code_coverage which can be used in subsequent configure output.
9545 CODE_COVERAGE_ENABLED is defined and substituted, and corresponds to the
9546 value of the -enable-code-coverage option, which defaults to being
9547 disabled.
9548
9549 Test also for gcov program and create GCOV variable that could be
9550 substituted.
9551
9552 Note that all optimization flags in CFLAGS must be disabled when code
9553 coverage is enabled.
9554
9555 Usage example:
9556
9557 configure.ac:
9558
9559 AX_CODE_COVERAGE
9560
9561 Makefile.am:
9562
9563 include $(top_srcdir)/aminclude_static.am
9564
9565 my_program_LIBS = ... $(CODE_COVERAGE_LIBS) ...
9566 my_program_CPPFLAGS = ... $(CODE_COVERAGE_CPPFLAGS) ...
9567 my_program_CFLAGS = ... $(CODE_COVERAGE_CFLAGS) ...
9568 my_program_CXXFLAGS = ... $(CODE_COVERAGE_CXXFLAGS) ...
9569
9570 clean-local: code-coverage-clean
9571 distclean-local: code-coverage-dist-clean
9572
9573 This results in a "check-code-coverage" rule being added to any
9574 Makefile.am which do "include $(top_srcdir)/aminclude_static.am"
9575 (assuming the module has been configured with -enable-code-coverage).
9576 Running 'make check-code-coverage' in that directory will run the
9577 module's test suite ('make check') and build a code coverage report
9578 detailing the code which was touched, then print the URI for the report.
9579
9580 This code was derived from Makefile.decl in GLib, originally licensed
9581 under LGPLv2.1+.
9582
9583 Source Code
9584 ***********
9585
9586 Download the latest version of 'ax_code_coverage.m4'
9587 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_code_coverage.m4)
9588 or browse the macro's revision history
9589 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_code_coverage.m4).
9590
9591 License
9592 *******
9593
9594 Copyright (C) 2012, 2016 Philip Withnall
9595 Copyright (C) 2012 Xan Lopez
9596 Copyright (C) 2012 Christian Persch
9597 Copyright (C) 2012 Paolo Borelli
9598 Copyright (C) 2012 Dan Winship
9599 Copyright (C) 2015,2018 Bastien ROUCARIES
9600
9601 This library is free software; you can redistribute it and/or modify it
9602 under the terms of the GNU Lesser General Public License as published by
9603 the Free Software Foundation; either version 2.1 of the License, or (at
9604 your option) any later version.
9605
9606 This library is distributed in the hope that it will be useful, but
9607 WITHOUT ANY WARRANTY; without even the implied warranty of
9608 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
9609 General Public License for more details.
9610
9611 You should have received a copy of the GNU Lesser General Public License
9612 along with this program. If not, see <https://www.gnu.org/licenses/>.
9613
9614 
9615 File: autoconf-archive.info, Node: ax_compare_version, Next: ax_compile_check_sizeof, Prev: ax_code_coverage, Up: The Macros
9616
9617 ax_compare_version
9618 ==================
9619
9620 Synopsis
9621 ********
9622
9623 AX_COMPARE_VERSION(VERSION_A, OP, VERSION_B, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
9624
9625 Description
9626 ***********
9627
9628 This macro compares two version strings. Due to the various number of
9629 minor-version numbers that can exist, and the fact that string
9630 comparisons are not compatible with numeric comparisons, this is not
9631 necessarily trivial to do in a autoconf script. This macro makes doing
9632 these comparisons easy.
9633
9634 The six basic comparisons are available, as well as checking equality
9635 limited to a certain number of minor-version levels.
9636
9637 The operator OP determines what type of comparison to do, and can be one
9638 of:
9639
9640 eq - equal (test A == B)
9641 ne - not equal (test A != B)
9642 le - less than or equal (test A <= B)
9643 ge - greater than or equal (test A >= B)
9644 lt - less than (test A < B)
9645 gt - greater than (test A > B)
9646
9647 Additionally, the eq and ne operator can have a number after it to limit
9648 the test to that number of minor versions.
9649
9650 eq0 - equal up to the length of the shorter version
9651 ne0 - not equal up to the length of the shorter version
9652 eqN - equal up to N sub-version levels
9653 neN - not equal up to N sub-version levels
9654
9655 When the condition is true, shell commands ACTION-IF-TRUE are run,
9656 otherwise shell commands ACTION-IF-FALSE are run. The environment
9657 variable 'ax_compare_version' is always set to either 'true' or 'false'
9658 as well.
9659
9660 Examples:
9661
9662 AX_COMPARE_VERSION([3.15.7],[lt],[3.15.8])
9663 AX_COMPARE_VERSION([3.15],[lt],[3.15.8])
9664
9665 would both be true.
9666
9667 AX_COMPARE_VERSION([3.15.7],[eq],[3.15.8])
9668 AX_COMPARE_VERSION([3.15],[gt],[3.15.8])
9669
9670 would both be false.
9671
9672 AX_COMPARE_VERSION([3.15.7],[eq2],[3.15.8])
9673
9674 would be true because it is only comparing two minor versions.
9675
9676 AX_COMPARE_VERSION([3.15.7],[eq0],[3.15])
9677
9678 would be true because it is only comparing the lesser number of minor
9679 versions of the two values.
9680
9681 Note: The characters that separate the version numbers do not matter.
9682 An empty string is the same as version 0. OP is evaluated by autoconf,
9683 not configure, so must be a string, not a variable.
9684
9685 The author would like to acknowledge Guido Draheim whose advice about
9686 the m4_case and m4_ifvaln functions make this macro only include the
9687 portions necessary to perform the specific comparison specified by the
9688 OP argument in the final configure script.
9689
9690 Source Code
9691 ***********
9692
9693 Download the latest version of 'ax_compare_version.m4'
9694 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compare_version.m4)
9695 or browse the macro's revision history
9696 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compare_version.m4).
9697
9698 License
9699 *******
9700
9701 Copyright (C) 2008 Tim Toolan <toolan@ele.uri.edu>
9702
9703 Copying and distribution of this file, with or without modification, are
9704 permitted in any medium without royalty provided the copyright notice
9705 and this notice are preserved. This file is offered as-is, without any
9706 warranty.
9707
9708 
9709 File: autoconf-archive.info, Node: ax_compile_check_sizeof, Next: ax_compiler_flags, Prev: ax_compare_version, Up: The Macros
9710
9711 ax_compile_check_sizeof
9712 =======================
9713
9714 Synopsis
9715 ********
9716
9717 AX_COMPILE_CHECK_SIZEOF(TYPE [, HEADERS [, EXTRA_SIZES...]])
9718
9719 Description
9720 ***********
9721
9722 This macro checks for the size of TYPE using compile checks, not run
9723 checks. You can supply extra HEADERS to look into. the check will
9724 cycle through 1 2 4 8 16 and any EXTRA_SIZES the user supplies. If a
9725 match is found, it will #define SIZEOF_'TYPE' to that value. Otherwise
9726 it will emit a configure time error indicating the size of the type
9727 could not be determined.
9728
9729 The trick is that C will not allow duplicate case labels. While this is
9730 valid C code:
9731
9732 switch (0) case 0: case 1:;
9733
9734 The following is not:
9735
9736 switch (0) case 0: case 0:;
9737
9738 Thus, the AC_COMPILE_IFELSE will fail if the currently tried size does
9739 not match.
9740
9741 Here is an example skeleton configure.in script, demonstrating the
9742 macro's usage:
9743
9744 AC_PROG_CC
9745 AC_CHECK_HEADERS(stddef.h unistd.h)
9746 AC_TYPE_SIZE_T
9747 AC_CHECK_TYPE(ssize_t, int)
9748
9749 headers='#ifdef HAVE_STDDEF_H
9750 #include <stddef.h>
9751 #endif
9752 #ifdef HAVE_UNISTD_H
9753 #include <unistd.h>
9754 #endif
9755 '
9756
9757 AX_COMPILE_CHECK_SIZEOF(char)
9758 AX_COMPILE_CHECK_SIZEOF(short)
9759 AX_COMPILE_CHECK_SIZEOF(int)
9760 AX_COMPILE_CHECK_SIZEOF(long)
9761 AX_COMPILE_CHECK_SIZEOF(unsigned char *)
9762 AX_COMPILE_CHECK_SIZEOF(void *)
9763 AX_COMPILE_CHECK_SIZEOF(size_t, $headers)
9764 AX_COMPILE_CHECK_SIZEOF(ssize_t, $headers)
9765 AX_COMPILE_CHECK_SIZEOF(ptrdiff_t, $headers)
9766 AX_COMPILE_CHECK_SIZEOF(off_t, $headers)
9767
9768 Source Code
9769 ***********
9770
9771 Download the latest version of 'ax_compile_check_sizeof.m4'
9772 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compile_check_sizeof.m4)
9773 or browse the macro's revision history
9774 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compile_check_sizeof.m4).
9775
9776 License
9777 *******
9778
9779 Copyright (C) 2008 Kaveh Ghazi <ghazi@caip.rutgers.edu>
9780 Copyright (C) 2017 Reini Urban <rurban@cpan.org>
9781
9782 This program is free software: you can redistribute it and/or modify it
9783 under the terms of the GNU General Public License as published by the
9784 Free Software Foundation, either version 3 of the License, or (at your
9785 option) any later version.
9786
9787 This program is distributed in the hope that it will be useful, but
9788 WITHOUT ANY WARRANTY; without even the implied warranty of
9789 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
9790 Public License for more details.
9791
9792 You should have received a copy of the GNU General Public License along
9793 with this program. If not, see <https://www.gnu.org/licenses/>.
9794
9795 As a special exception, the respective Autoconf Macro's copyright owner
9796 gives unlimited permission to copy, distribute and modify the configure
9797 scripts that are the output of Autoconf when processing the Macro. You
9798 need not follow the terms of the GNU General Public License when using
9799 or distributing such scripts, even though portions of the text of the
9800 Macro appear in them. The GNU General Public License (GPL) does govern
9801 all other use of the material that constitutes the Autoconf Macro.
9802
9803 This special exception to the GPL applies to versions of the Autoconf
9804 Macro released by the Autoconf Archive. When you make and distribute a
9805 modified version of the Autoconf Macro, you may extend this special
9806 exception to the GPL to apply to your modified version as well.
9807
9808 
9809 File: autoconf-archive.info, Node: ax_compiler_flags, Next: ax_compiler_flags_cflags, Prev: ax_compile_check_sizeof, Up: The Macros
9810
9811 ax_compiler_flags
9812 =================
9813
9814 Synopsis
9815 ********
9816
9817 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])
9818
9819 Description
9820 ***********
9821
9822 Check for the presence of an -enable-compile-warnings option to
9823 configure, defaulting to "error" in normal operation, or "yes" if
9824 IS-RELEASE is equal to "yes". Return the value in the variable
9825 $ax_enable_compile_warnings.
9826
9827 Depending on the value of -enable-compile-warnings, different compiler
9828 warnings are checked to see if they work with the current compiler and,
9829 if so, are appended to CFLAGS-VARIABLE and LDFLAGS-VARIABLE. This allows
9830 a consistent set of baseline compiler warnings to be used across a code
9831 base, irrespective of any warnings enabled locally by individual
9832 developers. By standardising the warnings used by all developers of a
9833 project, the project can commit to a zero-warnings policy, using -Werror
9834 to prevent compilation if new warnings are introduced. This makes
9835 catching bugs which are flagged by warnings a lot easier.
9836
9837 By providing a consistent -enable-compile-warnings argument across all
9838 projects using this macro, continuous integration systems can easily be
9839 configured the same for all projects. Automated systems or build
9840 systems aimed at beginners may want to pass the -disable-Werror argument
9841 to unconditionally prevent warnings being fatal.
9842
9843 -enable-compile-warnings can take the values:
9844
9845 * no: Base compiler warnings only; not even -Wall.
9846 * yes: The above, plus a broad range of useful warnings.
9847 * error: The above, plus -Werror so that all warnings are fatal.
9848 Use --disable-Werror to override this and disable fatal
9849 warnings.
9850
9851 The set of base and enabled flags can be augmented using the
9852 EXTRA-*-CFLAGS and EXTRA-*-LDFLAGS variables, which are tested and
9853 appended to the output variable if -enable-compile-warnings is not "no".
9854 Flags should not be disabled using these arguments, as the entire point
9855 of AX_COMPILER_FLAGS is to enforce a consistent set of useful compiler
9856 warnings on code, using warnings which have been chosen for low false
9857 positive rates. If a compiler emits false positives for a warning, a
9858 #pragma should be used in the code to disable the warning locally. See:
9859
9860 https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas
9861
9862 The EXTRA-* variables should only be used to supply extra warning flags,
9863 and not general purpose compiler flags, as they are controlled by
9864 configure options such as -disable-Werror.
9865
9866 IS-RELEASE can be used to disable -Werror when making a release, which
9867 is useful for those hairy moments when you just want to get the release
9868 done as quickly as possible. Set it to "yes" to disable -Werror. By
9869 default, it uses the value of $ax_is_release, so if you are using the
9870 AX_IS_RELEASE macro, there is no need to pass this parameter. For
9871 example:
9872
9873 AX_IS_RELEASE([git-directory])
9874 AX_COMPILER_FLAGS()
9875
9876 CFLAGS-VARIABLE defaults to WARN_CFLAGS, and LDFLAGS-VARIABLE defaults
9877 to WARN_LDFLAGS. Both variables are AC_SUBST-ed by this macro, but must
9878 be manually added to the CFLAGS and LDFLAGS variables for each target in
9879 the code base.
9880
9881 If C++ language support is enabled with AC_PROG_CXX, which must occur
9882 before this macro in configure.ac, warning flags for the C++ compiler
9883 are AC_SUBST-ed as WARN_CXXFLAGS, and must be manually added to the
9884 CXXFLAGS variables for each target in the code base. EXTRA-*-CFLAGS can
9885 be used to augment the base and enabled flags.
9886
9887 Warning flags for g-ir-scanner (from GObject Introspection) are
9888 AC_SUBST-ed as WARN_SCANNERFLAGS. This variable must be manually added
9889 to the SCANNERFLAGS variable for each GIR target in the code base. If
9890 extra g-ir-scanner flags need to be enabled, the AX_COMPILER_FLAGS_GIR
9891 macro must be invoked manually.
9892
9893 AX_COMPILER_FLAGS may add support for other tools in future, in addition
9894 to the compiler and linker. No extra EXTRA-* variables will be added
9895 for those tools, and all extra support will still use the single
9896 -enable-compile-warnings configure option. For finer grained control
9897 over the flags for individual tools, use AX_COMPILER_FLAGS_CFLAGS,
9898 AX_COMPILER_FLAGS_LDFLAGS and AX_COMPILER_FLAGS_* for new tools.
9899
9900 The UNUSED variables date from a previous version of this macro, and are
9901 automatically appended to the preceding non-UNUSED variable. They
9902 should be left empty in new uses of the macro.
9903
9904 Source Code
9905 ***********
9906
9907 Download the latest version of 'ax_compiler_flags.m4'
9908 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags.m4)
9909 or browse the macro's revision history
9910 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags.m4).
9911
9912 License
9913 *******
9914
9915 Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
9916 Copyright (C) 2015 David King <amigadave@amigadave.com>
9917
9918 Copying and distribution of this file, with or without modification, are
9919 permitted in any medium without royalty provided the copyright notice
9920 and this notice are preserved. This file is offered as-is, without any
9921 warranty.
9922
9923 
9924 File: autoconf-archive.info, Node: ax_compiler_flags_cflags, Next: ax_compiler_flags_cxxflags, Prev: ax_compiler_flags, Up: The Macros
9925
9926 ax_compiler_flags_cflags
9927 ========================
9928
9929 Synopsis
9930 ********
9931
9932 AX_COMPILER_FLAGS_CFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
9933
9934 Description
9935 ***********
9936
9937 Add warning flags for the C compiler to VARIABLE, which defaults to
9938 WARN_CFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be manually
9939 added to the CFLAGS variable for each target in the code base.
9940
9941 This macro depends on the environment set up by AX_COMPILER_FLAGS.
9942 Specifically, it uses the value of $ax_enable_compile_warnings to decide
9943 which flags to enable.
9944
9945 Source Code
9946 ***********
9947
9948 Download the latest version of 'ax_compiler_flags_cflags.m4'
9949 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_cflags.m4)
9950 or browse the macro's revision history
9951 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_cflags.m4).
9952
9953 License
9954 *******
9955
9956 Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
9957 Copyright (C) 2017, 2018 Reini Urban <rurban@cpan.org>
9958
9959 Copying and distribution of this file, with or without modification, are
9960 permitted in any medium without royalty provided the copyright notice
9961 and this notice are preserved. This file is offered as-is, without any
9962 warranty.
9963
9964 
9965 File: autoconf-archive.info, Node: ax_compiler_flags_cxxflags, Next: ax_compiler_flags_gir, Prev: ax_compiler_flags_cflags, Up: The Macros
9966
9967 ax_compiler_flags_cxxflags
9968 ==========================
9969
9970 Synopsis
9971 ********
9972
9973 AX_COMPILER_FLAGS_CXXFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
9974
9975 Description
9976 ***********
9977
9978 Add warning flags for the C++ compiler to VARIABLE, which defaults to
9979 WARN_CXXFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be
9980 manually added to the CXXFLAGS variable for each target in the code
9981 base.
9982
9983 This macro depends on the environment set up by AX_COMPILER_FLAGS.
9984 Specifically, it uses the value of $ax_enable_compile_warnings to decide
9985 which flags to enable.
9986
9987 Source Code
9988 ***********
9989
9990 Download the latest version of 'ax_compiler_flags_cxxflags.m4'
9991 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_cxxflags.m4)
9992 or browse the macro's revision history
9993 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_cxxflags.m4).
9994
9995 License
9996 *******
9997
9998 Copyright (C) 2015 David King <amigadave@amigadave.com>
9999
10000 Copying and distribution of this file, with or without modification, are
10001 permitted in any medium without royalty provided the copyright notice
10002 and this notice are preserved. This file is offered as-is, without any
10003 warranty.
10004
10005 
10006 File: autoconf-archive.info, Node: ax_compiler_flags_gir, Next: ax_compiler_flags_ldflags, Prev: ax_compiler_flags_cxxflags, Up: The Macros
10007
10008 ax_compiler_flags_gir
10009 =====================
10010
10011 Synopsis
10012 ********
10013
10014 AX_COMPILER_FLAGS_GIR([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
10015
10016 Description
10017 ***********
10018
10019 Add warning flags for the g-ir-scanner (from GObject Introspection) to
10020 VARIABLE, which defaults to WARN_SCANNERFLAGS. VARIABLE is AC_SUBST-ed
10021 by this macro, but must be manually added to the SCANNERFLAGS variable
10022 for each GIR target in the code base.
10023
10024 This macro depends on the environment set up by AX_COMPILER_FLAGS.
10025 Specifically, it uses the value of $ax_enable_compile_warnings to decide
10026 which flags to enable.
10027
10028 Source Code
10029 ***********
10030
10031 Download the latest version of 'ax_compiler_flags_gir.m4'
10032 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_gir.m4)
10033 or browse the macro's revision history
10034 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_gir.m4).
10035
10036 License
10037 *******
10038
10039 Copyright (C) 2015 Philip Withnall <philip@tecnocode.co.uk>
10040
10041 Copying and distribution of this file, with or without modification, are
10042 permitted in any medium without royalty provided the copyright notice
10043 and this notice are preserved. This file is offered as-is, without any
10044 warranty.
10045
10046 
10047 File: autoconf-archive.info, Node: ax_compiler_flags_ldflags, Next: ax_compiler_vendor, Prev: ax_compiler_flags_gir, Up: The Macros
10048
10049 ax_compiler_flags_ldflags
10050 =========================
10051
10052 Synopsis
10053 ********
10054
10055 AX_COMPILER_FLAGS_LDFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
10056
10057 Description
10058 ***********
10059
10060 Add warning flags for the linker to VARIABLE, which defaults to
10061 WARN_LDFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be
10062 manually added to the LDFLAGS variable for each target in the code base.
10063
10064 This macro depends on the environment set up by AX_COMPILER_FLAGS.
10065 Specifically, it uses the value of $ax_enable_compile_warnings to decide
10066 which flags to enable.
10067
10068 Source Code
10069 ***********
10070
10071 Download the latest version of 'ax_compiler_flags_ldflags.m4'
10072 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_ldflags.m4)
10073 or browse the macro's revision history
10074 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_ldflags.m4).
10075
10076 License
10077 *******
10078
10079 Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
10080 Copyright (C) 2017, 2018 Reini Urban <rurban@cpan.org>
10081
10082 Copying and distribution of this file, with or without modification, are
10083 permitted in any medium without royalty provided the copyright notice
10084 and this notice are preserved. This file is offered as-is, without any
10085 warranty.
10086
10087 
10088 File: autoconf-archive.info, Node: ax_compiler_vendor, Next: ax_compiler_version, Prev: ax_compiler_flags_ldflags, Up: The Macros
10089
10090 ax_compiler_vendor
10091 ==================
10092
10093 Synopsis
10094 ********
10095
10096 AX_COMPILER_VENDOR
10097
10098 Description
10099 ***********
10100
10101 Determine the vendor of the C/C++ compiler, e.g., gnu, intel, ibm, sun,
10102 hp, borland, comeau, dec, cray, kai, lcc, metrowerks, sgi, microsoft,
10103 watcom, etc. The vendor is returned in the cache variable
10104 $ax_cv_c_compiler_vendor for C and $ax_cv_cxx_compiler_vendor for C++.
10105
10106 Source Code
10107 ***********
10108
10109 Download the latest version of 'ax_compiler_vendor.m4'
10110 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_vendor.m4)
10111 or browse the macro's revision history
10112 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_vendor.m4).
10113
10114 License
10115 *******
10116
10117 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
10118 Copyright (C) 2008 Matteo Frigo
10119
10120 This program is free software: you can redistribute it and/or modify it
10121 under the terms of the GNU General Public License as published by the
10122 Free Software Foundation, either version 3 of the License, or (at your
10123 option) any later version.
10124
10125 This program is distributed in the hope that it will be useful, but
10126 WITHOUT ANY WARRANTY; without even the implied warranty of
10127 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
10128 Public License for more details.
10129
10130 You should have received a copy of the GNU General Public License along
10131 with this program. If not, see <https://www.gnu.org/licenses/>.
10132
10133 As a special exception, the respective Autoconf Macro's copyright owner
10134 gives unlimited permission to copy, distribute and modify the configure
10135 scripts that are the output of Autoconf when processing the Macro. You
10136 need not follow the terms of the GNU General Public License when using
10137 or distributing such scripts, even though portions of the text of the
10138 Macro appear in them. The GNU General Public License (GPL) does govern
10139 all other use of the material that constitutes the Autoconf Macro.
10140
10141 This special exception to the GPL applies to versions of the Autoconf
10142 Macro released by the Autoconf Archive. When you make and distribute a
10143 modified version of the Autoconf Macro, you may extend this special
10144 exception to the GPL to apply to your modified version as well.
10145
10146 
10147 File: autoconf-archive.info, Node: ax_compiler_version, Next: ax_compute_relative_paths, Prev: ax_compiler_vendor, Up: The Macros
10148
10149 ax_compiler_version
10150 ===================
10151
10152 Synopsis
10153 ********
10154
10155 AX_COMPILER_VERSION
10156
10157 Description
10158 ***********
10159
10160 This macro retrieves the compiler version and returns it in the cache
10161 variable $ax_cv_c_compiler_version for C and $ax_cv_cxx_compiler_version
10162 for C++.
10163
10164 Version is returned as epoch:major.minor.patchversion
10165
10166 Epoch is used in order to have an increasing version number in case of
10167 marketing change.
10168
10169 Epoch use: * borland compiler use chronologically 0turboc for turboc
10170 era,
10171
10172 1borlanc BORLANDC++ before 5, 2cppbuilder for cppbuilder era,
10173 3borlancpp for return of BORLANDC++ (after version 5.5),
10174 4cppbuilder for cppbuilder with year version,
10175 and 5xe for XE era.
10176
10177 An empty string is returned otherwise.
10178
10179 Source Code
10180 ***********
10181
10182 Download the latest version of 'ax_compiler_version.m4'
10183 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_version.m4)
10184 or browse the macro's revision history
10185 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_version.m4).
10186
10187 License
10188 *******
10189
10190 Copyright (C) 2014 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
10191
10192 Copying and distribution of this file, with or without modification, are
10193 permitted in any medium without royalty provided the copyright notice
10194 and this notice are preserved. This file is offered as-is, without any
10195 warranty.
10196
10197 
10198 File: autoconf-archive.info, Node: ax_compute_relative_paths, Next: ax_compute_standard_relative_paths, Prev: ax_compiler_version, Up: The Macros
10199
10200 ax_compute_relative_paths
10201 =========================
10202
10203 Synopsis
10204 ********
10205
10206 AX_COMPUTE_RELATIVE_PATHS(PATH_LIST)
10207
10208 Description
10209 ***********
10210
10211 PATH_LIST is a space-separated list of colon-separated triplets of the
10212 form 'FROM:TO:RESULT'. This function iterates over these triplets and
10213 set $RESULT to the relative path from $FROM to $TO. Note that $FROM and
10214 $TO needs to be absolute filenames for this macro to success.
10215
10216 For instance,
10217
10218 first=/usr/local/bin
10219 second=/usr/local/share
10220 AX_COMPUTE_RELATIVE_PATHS([first:second:fs second:first:sf])
10221 # $fs is set to ../share
10222 # $sf is set to ../bin
10223
10224 $FROM and $TO are both eval'ed recursively and normalized, this means
10225 that you can call this macro with autoconf's dirnames like 'prefix' or
10226 'datadir'. For example:
10227
10228 AX_COMPUTE_RELATIVE_PATHS([bindir:datadir:bin_to_data])
10229
10230 AX_COMPUTE_RELATIVE_PATHS should also works with DOS filenames.
10231
10232 You may want to use this macro in order to make your package
10233 relocatable. Instead of hardcoding $datadir into your programs just
10234 encode $bin_to_data and try to determine $bindir at run-time.
10235
10236 This macro requires AX_NORMALIZE_PATH and AX_RECURSIVE_EVAL.
10237
10238 Source Code
10239 ***********
10240
10241 Download the latest version of 'ax_compute_relative_paths.m4'
10242 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compute_relative_paths.m4)
10243 or browse the macro's revision history
10244 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compute_relative_paths.m4).
10245
10246 License
10247 *******
10248
10249 Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
10250
10251 This program is free software; you can redistribute it and/or modify it
10252 under the terms of the GNU General Public License as published by the
10253 Free Software Foundation; either version 2 of the License, or (at your
10254 option) any later version.
10255
10256 This program is distributed in the hope that it will be useful, but
10257 WITHOUT ANY WARRANTY; without even the implied warranty of
10258 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
10259 Public License for more details.
10260
10261 You should have received a copy of the GNU General Public License along
10262 with this program. If not, see <https://www.gnu.org/licenses/>.
10263
10264 As a special exception, the respective Autoconf Macro's copyright owner
10265 gives unlimited permission to copy, distribute and modify the configure
10266 scripts that are the output of Autoconf when processing the Macro. You
10267 need not follow the terms of the GNU General Public License when using
10268 or distributing such scripts, even though portions of the text of the
10269 Macro appear in them. The GNU General Public License (GPL) does govern
10270 all other use of the material that constitutes the Autoconf Macro.
10271
10272 This special exception to the GPL applies to versions of the Autoconf
10273 Macro released by the Autoconf Archive. When you make and distribute a
10274 modified version of the Autoconf Macro, you may extend this special
10275 exception to the GPL to apply to your modified version as well.
10276
10277 
10278 File: autoconf-archive.info, Node: ax_compute_standard_relative_paths, Next: ax_cond_with_level, Prev: ax_compute_relative_paths, Up: The Macros
10279
10280 ax_compute_standard_relative_paths
10281 ==================================
10282
10283 Synopsis
10284 ********
10285
10286 AX_COMPUTE_STANDARD_RELATIVE_PATHS
10287
10288 Description
10289 ***********
10290
10291 Here is the standard hierarchy of paths, as defined by the GNU Coding
10292 Standards:
10293
10294 prefix
10295 exec_prefix
10296 bindir
10297 libdir
10298 libexecdir
10299 sbindir
10300 datarootdir
10301 docdir
10302 infodir
10303 htmldir
10304 dvidir
10305 psdir
10306 pdfdir
10307 localedir
10308 datadir (only for autoconf >= 2.59c)
10309 infodir (only for autoconf >= 2.59c)
10310 mandir (only for autoconf >= 2.59c)
10311 lispdir (only for autoconf >= 2.59c)
10312 datadir (only for autoconf < 2.59c)
10313 infodir (only for autoconf < 2.59c)
10314 mandir (only for autoconf < 2.59c)
10315 lispdir (only for autoconf < 2.59c)
10316 sysconfdir
10317 sharedstatedir
10318 localstatedir
10319 runstatedir (only for autoconf >= 2.70)
10320 includedir
10321 oldincludedir
10322
10323 This macro will setup a set of variables of the form
10324 'xxx_forward_relative_path' and 'xxx_backward_relative_path' where xxx
10325 is one of the above directories. The latter variable is set to the
10326 relative path to go from xxx to its parent directory, while the former
10327 hold the other way.
10328
10329 For instance 'bindir_relative_path' will contains the value to add to
10330 $exec_prefix to reach the $bindir directory (usually 'bin'), and
10331 'bindir_backward_relative_path' the value to append to $bindir to reach
10332 the $exec_prefix directory (usually '..').
10333
10334 This macro requires AX_COMPUTE_RELATIVE_PATHS which itself requires
10335 AX_NORMALIZE_PATH.
10336
10337 Source Code
10338 ***********
10339
10340 Download the latest version of 'ax_compute_standard_relative_paths.m4'
10341 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compute_standard_relative_paths.m4)
10342 or browse the macro's revision history
10343 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compute_standard_relative_paths.m4).
10344
10345 License
10346 *******
10347
10348 Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
10349 Copyright (C) 2015 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
10350
10351 This program is free software; you can redistribute it and/or modify it
10352 under the terms of the GNU General Public License as published by the
10353 Free Software Foundation; either version 2 of the License, or (at your
10354 option) any later version.
10355
10356 This program is distributed in the hope that it will be useful, but
10357 WITHOUT ANY WARRANTY; without even the implied warranty of
10358 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
10359 Public License for more details.
10360
10361 You should have received a copy of the GNU General Public License along
10362 with this program. If not, see <https://www.gnu.org/licenses/>.
10363
10364 As a special exception, the respective Autoconf Macro's copyright owner
10365 gives unlimited permission to copy, distribute and modify the configure
10366 scripts that are the output of Autoconf when processing the Macro. You
10367 need not follow the terms of the GNU General Public License when using
10368 or distributing such scripts, even though portions of the text of the
10369 Macro appear in them. The GNU General Public License (GPL) does govern
10370 all other use of the material that constitutes the Autoconf Macro.
10371
10372 This special exception to the GPL applies to versions of the Autoconf
10373 Macro released by the Autoconf Archive. When you make and distribute a
10374 modified version of the Autoconf Macro, you may extend this special
10375 exception to the GPL to apply to your modified version as well.
10376
10377 
10378 File: autoconf-archive.info, Node: ax_cond_with_level, Next: ax_config_feature, Prev: ax_compute_standard_relative_paths, Up: The Macros
10379
10380 ax_cond_with_level
10381 ==================
10382
10383 Synopsis
10384 ********
10385
10386 AX_COND_WITH_LEVEL(PACKAGE [,DEFAULT [,YESLEVEL]])
10387
10388 Description
10389 ***********
10390
10391 Actually used after an AC_ARG_WITH(PKG,...) option-directive, where
10392 AC_ARG_WITH is a part of the standard autoconf to define a 'configure'
10393 -with-PKG option.
10394
10395 This macros works almost like AC_COND_WITH(PACKAGE [,DEFAULT]), but the
10396 definition is set to a numeric value. The level of a simple "yes" is
10397 given (or assumed "2" if absent), otherwise the level can be given in
10398 mnemonic names, being:
10399
10400 1 = some
10401 2 = many
10402 3 = all
10403 4 = extra
10404 5 = extrasome more
10405 6 = extramany muchmore much
10406 7 = super everything
10407 8 = ultra experimental
10408 9 = insane
10409
10410 this macro is most handily it making Makefile.in/Makefile.am that have a
10411 set of with-level declarations, especially optimization-levels
10412
10413 the $withval shell-variable is set for further examination (it carries
10414 the numeric value of the various mnemonics above)
10415
10416 Source Code
10417 ***********
10418
10419 Download the latest version of 'ax_cond_with_level.m4'
10420 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cond_with_level.m4)
10421 or browse the macro's revision history
10422 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cond_with_level.m4).
10423
10424 License
10425 *******
10426
10427 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
10428
10429 Copying and distribution of this file, with or without modification, are
10430 permitted in any medium without royalty provided the copyright notice
10431 and this notice are preserved. This file is offered as-is, without any
10432 warranty.
10433
10434 
10435 File: autoconf-archive.info, Node: ax_config_feature, Next: ax_configure_args, Prev: ax_cond_with_level, Up: The Macros
10436
10437 ax_config_feature
10438 =================
10439
10440 Synopsis
10441 ********
10442
10443 AX_CONFIG_FEATURE(FEATURE-NAME, FEATURE-DESCRIPTION, DEFINE, DEFINE-DESCRIPTION, [ACTION-IF-ENABLED [, ACTION-IF-NOT-ENABLED]])
10444
10445 Description
10446 ***********
10447
10448 AX_CONFIG_FEATURE is a simple wrapper for AC_ARG_ENABLE, it enables the
10449 feature FEATURE-NAME and AC_DEFINEs the passed DEFINE, depending on the
10450 user choice. DESCRIPTION will be used for AC_DEFINEs.
10451 ACTION-IF-ENABLED and ACTION-IF-NOT-ENABLED are the actions that will be
10452 run. A feature is enabled by default, in order to change this behaviour
10453 use the AX_CONFIG_FEATURE_DEFAULT_ENABLED and
10454 AX_CONFIG_FEATURE_DEFAULT_DISABLED macros.
10455
10456 A simple example:
10457
10458 AX_CONFIG_FEATURE_DEFAULT_ENABLED
10459 AX_CONFIG_FEATURE(feature_xxxxx, [turns on/off XXXXX support],
10460 HAVE_XXXXX, [Define if you want XXXXX support])
10461
10462 ...
10463
10464 AX_CONFIG_FEATURE_DEFAULT_DISABLED
10465 AX_CONFIG_FEATURE(feature_yyyyy, [turns on/off YYYYY support],
10466 HAVE_YYYYY, [Define if you want YYYYY support],
10467 [enable_yyyyy="yes"], [enable_yyyyy="no"])
10468 AM_CONDITIONAL(YYYYY, [test "$enable_yyyyy" = "yes"])
10469
10470 AX_CONFIG_FEATURE_DEFAULT_ENABLED
10471 AX_CONFIG_FEATURE(...)
10472
10473 ...
10474
10475 If you have lot of features and you want a verbose dumping of each user
10476 selection use AX_CONFIG_FEATURE_VERBOSE. Use AX_CONFIG_FEATURE_SILENT in
10477 order to remove a previously AX_CONFIG_FEATURE_VERBOSE. By default
10478 features are silent.
10479
10480 Use AX_CONFIG_FEATURE_ENABLE or AX_CONFIG_FEATURE_DISABLE in order to
10481 enable or disable a specific feature.
10482
10483 Another simple example:
10484
10485 AS_IF([some_test_here],[AX_CONFIG_FEATURE_ENABLE(feature_xxxxx)],[])
10486
10487 AX_CONFIG_FEATURE(feature_xxxxx, [turns on/off XXXXX support],
10488 HAVE_XXXXX, [Define if you want XXXXX support])
10489 AX_CONFIG_FEATURE(feature_yyyyy, [turns on/off YYYYY support],
10490 HAVE_YYYYY, [Define if you want YYYYY support],
10491 [enable_yyyyy="yes"], [enable_yyyyy="no"])
10492
10493 ...
10494
10495 NOTE: AX_CONFIG_FEATURE_ENABLE() must be placed first of the relative
10496 AX_CONFIG_FEATURE() macro ...
10497
10498 Source Code
10499 ***********
10500
10501 Download the latest version of 'ax_config_feature.m4'
10502 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_config_feature.m4)
10503 or browse the macro's revision history
10504 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_config_feature.m4).
10505
10506 License
10507 *******
10508
10509 Copyright (C) 2008 Francesco Salvestrini <salvestrini@users.sourceforge.net>
10510
10511 This program is free software; you can redistribute it and/or modify it
10512 under the terms of the GNU General Public License as published by the
10513 Free Software Foundation; either version 2 of the License, or (at your
10514 option) any later version.
10515
10516 This program is distributed in the hope that it will be useful, but
10517 WITHOUT ANY WARRANTY; without even the implied warranty of
10518 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
10519 Public License for more details.
10520
10521 You should have received a copy of the GNU General Public License along
10522 with this program. If not, see <https://www.gnu.org/licenses/>.
10523
10524 As a special exception, the respective Autoconf Macro's copyright owner
10525 gives unlimited permission to copy, distribute and modify the configure
10526 scripts that are the output of Autoconf when processing the Macro. You
10527 need not follow the terms of the GNU General Public License when using
10528 or distributing such scripts, even though portions of the text of the
10529 Macro appear in them. The GNU General Public License (GPL) does govern
10530 all other use of the material that constitutes the Autoconf Macro.
10531
10532 This special exception to the GPL applies to versions of the Autoconf
10533 Macro released by the Autoconf Archive. When you make and distribute a
10534 modified version of the Autoconf Macro, you may extend this special
10535 exception to the GPL to apply to your modified version as well.
10536
10537 
10538 File: autoconf-archive.info, Node: ax_configure_args, Next: ax_count_cpus, Prev: ax_config_feature, Up: The Macros
10539
10540 ax_configure_args
10541 =================
10542
10543 Synopsis
10544 ********
10545
10546 AX_CONFIGURE_ARGS
10547
10548 Description
10549 ***********
10550
10551 Helper macro for AX_ENABLE_BUILDDIR.
10552
10553 The traditional way of starting a subdir-configure is running the script
10554 with ${1+"$@"} but since autoconf 2.60 this is broken. Instead we have
10555 to rely on eval'ing $ac_configure_args however some old autoconf
10556 versions do not provide that. To ensure maximum portability of autoconf
10557 extension macros this helper can be AC_REQUIRE'd so that
10558 $ac_configure_args will always be present.
10559
10560 Sadly, the traditional "exec $SHELL" of the enable_builddir macros is
10561 spoiled now and must be replaced by "eval + exit $?".
10562
10563 Example:
10564
10565 AC_DEFUN([AX_ENABLE_SUBDIR],[dnl
10566 AC_REQUIRE([AX_CONFIGURE_ARGS])dnl
10567 eval $SHELL $ac_configure_args || exit $?
10568 ...])
10569
10570 Source Code
10571 ***********
10572
10573 Download the latest version of 'ax_configure_args.m4'
10574 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_configure_args.m4)
10575 or browse the macro's revision history
10576 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_configure_args.m4).
10577
10578 License
10579 *******
10580
10581 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
10582
10583 Copying and distribution of this file, with or without modification, are
10584 permitted in any medium without royalty provided the copyright notice
10585 and this notice are preserved. This file is offered as-is, without any
10586 warranty.
10587
10588 
10589 File: autoconf-archive.info, Node: ax_count_cpus, Next: ax_cpu_freq, Prev: ax_configure_args, Up: The Macros
10590
10591 ax_count_cpus
10592 =============
10593
10594 Synopsis
10595 ********
10596
10597 AX_COUNT_CPUS([ACTION-IF-DETECTED],[ACTION-IF-NOT-DETECTED])
10598
10599 Description
10600 ***********
10601
10602 Attempt to count the number of logical processor cores (including
10603 virtual and HT cores) currently available to use on the machine and
10604 place detected value in CPU_COUNT variable.
10605
10606 On successful detection, ACTION-IF-DETECTED is executed if present. If
10607 the detection fails, then ACTION-IF-NOT-DETECTED is triggered. The
10608 default ACTION-IF-NOT-DETECTED is to set CPU_COUNT to 1.
10609
10610 Source Code
10611 ***********
10612
10613 Download the latest version of 'ax_count_cpus.m4'
10614 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_count_cpus.m4)
10615 or browse the macro's revision history
10616 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_count_cpus.m4).
10617
10618 License
10619 *******
10620
10621 Copyright (C) 2014,2016 Karlson2k (Evgeny Grin) <k2k@narod.ru>
10622 Copyright (C) 2012 Brian Aker <brian@tangent.org>
10623 Copyright (C) 2008 Michael Paul Bailey <jinxidoru@byu.net>
10624 Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
10625
10626 Copying and distribution of this file, with or without modification, are
10627 permitted in any medium without royalty provided the copyright notice
10628 and this notice are preserved. This file is offered as-is, without any
10629 warranty.
10630
10631 
10632 File: autoconf-archive.info, Node: ax_cpu_freq, Next: ax_cpu_vendor, Prev: ax_count_cpus, Up: The Macros
10633
10634 ax_cpu_freq
10635 ===========
10636
10637 Synopsis
10638 ********
10639
10640 AX_CPU_FREQ
10641
10642 Description
10643 ***********
10644
10645 Compute the CPU frequency and define CPU_FREQ accordingly.
10646
10647 Source Code
10648 ***********
10649
10650 Download the latest version of 'ax_cpu_freq.m4'
10651 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cpu_freq.m4)
10652 or browse the macro's revision history
10653 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cpu_freq.m4).
10654
10655 License
10656 *******
10657
10658 Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
10659
10660 Copying and distribution of this file, with or without modification, are
10661 permitted in any medium without royalty provided the copyright notice
10662 and this notice are preserved. This file is offered as-is, without any
10663 warranty.
10664
10665 
10666 File: autoconf-archive.info, Node: ax_cpu_vendor, Next: ax_create_generic_config, Prev: ax_cpu_freq, Up: The Macros
10667
10668 ax_cpu_vendor
10669 =============
10670
10671 Synopsis
10672 ********
10673
10674 AX_CPU_VENDOR
10675
10676 Description
10677 ***********
10678
10679 Find your CPU's vendor by requesting cpuid and define "ax_cpu_vendor"
10680 accordingly. This macro depends on AX_GCC_X86_CPUID.
10681
10682 Source Code
10683 ***********
10684
10685 Download the latest version of 'ax_cpu_vendor.m4'
10686 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cpu_vendor.m4)
10687 or browse the macro's revision history
10688 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cpu_vendor.m4).
10689
10690 License
10691 *******
10692
10693 Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
10694
10695 Copying and distribution of this file, with or without modification, are
10696 permitted in any medium without royalty provided the copyright notice
10697 and this notice are preserved. This file is offered as-is, without any
10698 warranty.
10699
10700 
10701 File: autoconf-archive.info, Node: ax_create_generic_config, Next: ax_create_pkgconfig_info, Prev: ax_cpu_vendor, Up: The Macros
10702
10703 ax_create_generic_config
10704 ========================
10705
10706 Synopsis
10707 ********
10708
10709 AX_CREATE_GENERIC_CONFIG [(PACKAGEnlibs [, VERSION])]
10710
10711 Description
10712 ***********
10713
10714 Creates a generic PACKAGE-config file that has all the things that you
10715 want, hmm, well, at least it has -cflags, -version, -libs. Ahhm, did
10716 you see ax_path_generic in the autoconf-archive? ;-)
10717
10718 this macros saves you all the typing for a pkg-config.in script, you
10719 don't even need to distribute one along. Place this macro in your
10720 configure.ac, et voila, you got one that you want to install.
10721
10722 oh, btw, if the first arg looks like "mylib -lwhat' then it will go to
10723 be added to the -libs, and mylib is extracted.
10724
10725 the defaults: $1 = $PACKAGE $LIBS $2 = $VERSION there is also an
10726 AC_SUBST(GENERIC_CONFIG) that will be set to the name of the file that
10727 we did output in this macro. Use as:
10728
10729 install-exec-local: install-generic-config
10730
10731 install-generic-config:
10732 $(mkinstalldirs) $(DESTDIR)$(bindir)
10733 $(INSTALL_SCRIPT) @GENERIC_CONFIG@ $(DESTDIR)$(bindir)
10734
10735 Source Code
10736 ***********
10737
10738 Download the latest version of 'ax_create_generic_config.m4'
10739 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_generic_config.m4)
10740 or browse the macro's revision history
10741 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_generic_config.m4).
10742
10743 License
10744 *******
10745
10746 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
10747
10748 Copying and distribution of this file, with or without modification, are
10749 permitted in any medium without royalty provided the copyright notice
10750 and this notice are preserved. This file is offered as-is, without any
10751 warranty.
10752
10753 
10754 File: autoconf-archive.info, Node: ax_create_pkgconfig_info, Next: ax_create_stdint_h, Prev: ax_create_generic_config, Up: The Macros
10755
10756 ax_create_pkgconfig_info
10757 ========================
10758
10759 Synopsis
10760 ********
10761
10762 AX_CREATE_PKGCONFIG_INFO [(outputfile, [requires [,libs [,summary [,cflags [, ldflags]]]]])]
10763
10764 Description
10765 ***********
10766
10767 Defaults:
10768
10769 $1 = $PACKAGE_NAME.pc
10770 $2 = (empty)
10771 $3 = $PACKAGE_LIBS $LIBS (as set at that point in configure.ac)
10772 $4 = $PACKAGE_SUMMARY (or $1 Library)
10773 $5 = $PACKAGE_CFLAGS (as set at the point in configure.ac)
10774 $6 = $PACKAGE_LDFLAGS (as set at the point in configure.ac)
10775
10776 PACKAGE_NAME defaults to $PACKAGE if not set.
10777 PACKAGE_LIBS defaults to -l$PACKAGE_NAME if not set.
10778
10779 The resulting file is called $PACKAGE.pc.in / $PACKAGE.pc
10780
10781 You will find this macro most useful in conjunction with
10782 ax_spec_defaults that can read good initializers from the .spec file.
10783 In consequence, most of the generatable installable stuff can be made
10784 from information being updated in a single place for the whole project.
10785
10786 Source Code
10787 ***********
10788
10789 Download the latest version of 'ax_create_pkgconfig_info.m4'
10790 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_pkgconfig_info.m4)
10791 or browse the macro's revision history
10792 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_pkgconfig_info.m4).
10793
10794 License
10795 *******
10796
10797 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
10798 Copyright (C) 2008 Sven Verdoolaege <skimo@kotnet.org>
10799
10800 This program is free software; you can redistribute it and/or modify it
10801 under the terms of the GNU General Public License as published by the
10802 Free Software Foundation; either version 3 of the License, or (at your
10803 option) any later version.
10804
10805 This program is distributed in the hope that it will be useful, but
10806 WITHOUT ANY WARRANTY; without even the implied warranty of
10807 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
10808 Public License for more details.
10809
10810 You should have received a copy of the GNU General Public License along
10811 with this program. If not, see <https://www.gnu.org/licenses/>.
10812
10813 As a special exception, the respective Autoconf Macro's copyright owner
10814 gives unlimited permission to copy, distribute and modify the configure
10815 scripts that are the output of Autoconf when processing the Macro. You
10816 need not follow the terms of the GNU General Public License when using
10817 or distributing such scripts, even though portions of the text of the
10818 Macro appear in them. The GNU General Public License (GPL) does govern
10819 all other use of the material that constitutes the Autoconf Macro.
10820
10821 This special exception to the GPL applies to versions of the Autoconf
10822 Macro released by the Autoconf Archive. When you make and distribute a
10823 modified version of the Autoconf Macro, you may extend this special
10824 exception to the GPL to apply to your modified version as well.
10825
10826 
10827 File: autoconf-archive.info, Node: ax_create_stdint_h, Next: ax_create_target_h, Prev: ax_create_pkgconfig_info, Up: The Macros
10828
10829 ax_create_stdint_h
10830 ==================
10831
10832 Synopsis
10833 ********
10834
10835 AX_CREATE_STDINT_H [( HEADER-TO-GENERATE [, HEDERS-TO-CHECK])]
10836
10837 Description
10838 ***********
10839
10840 the "ISO C9X: 7.18 Integer types <stdint.h>" section requires the
10841 existence of an include file <stdint.h> that defines a set of typedefs,
10842 especially uint8_t,int32_t,uintptr_t. Many older installations will not
10843 provide this file, but some will have the very same definitions in
10844 <inttypes.h>. In other environments we can use the inet-types in
10845 <sys/types.h> which would define the typedefs int8_t and u_int8_t
10846 respectively.
10847
10848 This macros will create a local "_stdint.h" or the headerfile given as
10849 an argument. In many cases that file will just "#include <stdint.h>" or
10850 "#include <inttypes.h>", while in other environments it will provide the
10851 set of basic 'stdint's definitions/typedefs:
10852
10853 int8_t,uint8_t,int16_t,uint16_t,int32_t,uint32_t,intptr_t,uintptr_t
10854 int_least32_t.. int_fast32_t.. intmax_t
10855
10856 which may or may not rely on the definitions of other files, or using
10857 the AC_CHECK_SIZEOF macro to determine the actual sizeof each type.
10858
10859 if your header files require the stdint-types you will want to create an
10860 installable file mylib-int.h that all your other installable header may
10861 include. So if you have a library package named "mylib", just use
10862
10863 AX_CREATE_STDINT_H(mylib-int.h)
10864
10865 in configure.ac and go to install that very header file in Makefile.am
10866 along with the other headers (mylib.h) - and the mylib-specific headers
10867 can simply use "#include <mylib-int.h>" to obtain the stdint-types.
10868
10869 Remember, if the system already had a valid <stdint.h>, the generated
10870 file will include it directly. No need for fuzzy HAVE_STDINT_H
10871 things... (oops, GCC 4.2.x has deliberately disabled its stdint.h for
10872 non-c99 compilation and the c99-mode is not the default. Therefore this
10873 macro will not use the compiler's stdint.h - please complain to the GCC
10874 developers).
10875
10876 Source Code
10877 ***********
10878
10879 Download the latest version of 'ax_create_stdint_h.m4'
10880 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_stdint_h.m4)
10881 or browse the macro's revision history
10882 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_stdint_h.m4).
10883
10884 License
10885 *******
10886
10887 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
10888
10889 Copying and distribution of this file, with or without modification, are
10890 permitted in any medium without royalty provided the copyright notice
10891 and this notice are preserved. This file is offered as-is, without any
10892 warranty.
10893
10894 
10895 File: autoconf-archive.info, Node: ax_create_target_h, Next: ax_cvs, Prev: ax_create_stdint_h, Up: The Macros
10896
10897 ax_create_target_h
10898 ==================
10899
10900 Synopsis
10901 ********
10902
10903 AX_CREATE_TARGET_H [(HEADER-FILE [,PREFIX)]
10904
10905 Description
10906 ***********
10907
10908 Create the header-file and let it contain '#defines' for the target
10909 platform. This macro is used for libraries that have platform-specific
10910 quirks. Instead of inventing a target-specific target.h.in files, just
10911 let it create a header file from the definitions of AC_CANONICAL_SYSTEM
10912 and put only ifdef's in the installed header-files.
10913
10914 if the HEADER-FILE is absent, [target.h] is used.
10915 if the PREFIX is absent, [TARGET] is used.
10916 the prefix can be the packagename. (y:a-z-:A-Z_:)
10917
10918 The defines look like...
10919
10920 #ifndef TARGET_CPU_M68K
10921 #define TARGET_CPU_M68K "m68k"
10922 #endif
10923
10924 #ifndef TARGET_OS_LINUX
10925 #define TARGET_OS_LINUX "linux-gnu"
10926 #endif
10927
10928 #ifndef TARGET_OS_TYPE /* the string itself */
10929 #define TARGET_OS_TYPE "linux-gnu"
10930 #endif
10931
10932 Detail: in the case of hppa1.1, the three idents "hppa1_1" "hppa1" and
10933 "hppa" are derived, for an m68k it just two, "m68k" and "m".
10934
10935 The CREATE_TARGET_H__ variant is almost the same function, but
10936 everything is lowercased instead of uppercased, and there is a "__" in
10937 front of each prefix, so it looks like...
10938
10939 #ifndef __target_os_linux
10940 #define __target_os_linux "linux-gnulibc2"
10941 #endif
10942
10943 #ifndef __target_os__ /* the string itself */
10944 #define __target_os__ "linux-gnulibc2"
10945 #endif
10946
10947 #ifndef __target_cpu_i586
10948 #define __target_cpu_i586 "i586"
10949 #endif
10950
10951 #ifndef __target_arch_i386
10952 #define __target_arch_i386 "i386"
10953 #endif
10954
10955 #ifndef __target_arch__ /* cpu family arch */
10956 #define __target_arch__ "i386"
10957 #endif
10958
10959 Other differences: the default string-define is "__" instead of "_TYPE".
10960
10961 Personally, I prefer the second variant (which had been the first in the
10962 devprocess of this file but I assume people will often fallback to the
10963 primary variant presented herein).
10964
10965 NOTE: CREATE_TARGET_H does also fill HOST_OS-defines Functionality has
10966 been split over functions called CREATE_TARGET_H_UPPER,
10967 CREATE_TARGET_H_LOWER, CREATE_TARGET_HOST_UPPER, and
10968 CREATE_TARGET_HOST_LOWER.
10969
10970 CREATE_TARGET_H uses CREATE_TARGET_H_UPPER CREATE_TARGET_HOST_UPPER
10971 CREATE_TARGET_H_ uses CREATE_TARGET_H_LOWER CREATE_TARGET_HOST_LOWER
10972
10973 There is now a CREATE_PREFIX_TARGET_H in this file as a shorthand for
10974 PREFIX_CONFIG_H from a target.h file, however w/o the target.h ever
10975 created (the prefix is a bit different, since we add an extra -target-
10976 and -host-).
10977
10978 Source Code
10979 ***********
10980
10981 Download the latest version of 'ax_create_target_h.m4'
10982 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_target_h.m4)
10983 or browse the macro's revision history
10984 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_target_h.m4).
10985
10986 License
10987 *******
10988
10989 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
10990
10991 Copying and distribution of this file, with or without modification, are
10992 permitted in any medium without royalty provided the copyright notice
10993 and this notice are preserved. This file is offered as-is, without any
10994 warranty.
10995
10996 
10997 File: autoconf-archive.info, Node: ax_cvs, Next: ax_cxx_bool, Prev: ax_create_target_h, Up: The Macros
10998
10999 ax_cvs
11000 ======
11001
11002 Synopsis
11003 ********
11004
11005 AX_CVS([ANON_CVSROOT])
11006
11007 Description
11008 ***********
11009
11010 Adds support cvs targets within your Makefile.
11011
11012 Branching and releasing relies on you using the following version
11013 format:
11014
11015 MAJOR.MINOR.POINT
11016
11017 where MAJOR is the major version number, MINOR is the minor version
11018 number and POINT is the point release number.
11019
11020 make update
11021
11022 performs a cvs update
11023
11024 make commitlog
11025
11026 Generates a ChangeLog template with the modified, added
11027 and removed files and opens it up for editing. This is
11028 not normally used directly, but is instead called by
11029 commit. It is useful however if you want to document
11030 the work you have done, but don't want to commit just
11031 yet.
11032
11033 make commit
11034
11035 performs a cvs commit after first performing a cvs
11036 update and generating a commit log.
11037
11038 make cvs-rm FILES="file1 file2 ..."
11039
11040 removes a file or files specified by the FILES
11041 variable from the file system and from cvs. It will
11042 interactively ask you to confirm the file removal,
11043 unless the file does not exist on the file system.
11044
11045 make cvs-add FILES="file1 file2 ..."
11046
11047 adds a file or files specified by the FILES variable
11048 to cvs.
11049
11050 make branch-major
11051
11052 creates a branch based on the major version number,
11053 increments the major version number, sets the minor
11054 and point versions to zero and checks out the branch
11055 into a new directory.
11056
11057 make branch-minor
11058
11059 creates a branch based on the minor version number,
11060 increments the minor version, sets the point version
11061 to zero number and checks out the branch into a new
11062 directory.
11063
11064 make release
11065
11066 performs a cvs update, followed by a distcheck, then
11067 creates a release for the current version, increments
11068 the point release number and checks out the release
11069 into a new directory
11070
11071 make quick-release
11072
11073 same as release, but distcheck is not performed
11074
11075 Source Code
11076 ***********
11077
11078 Download the latest version of 'ax_cvs.m4'
11079 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cvs.m4)
11080 or browse the macro's revision history
11081 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cvs.m4).
11082
11083 License
11084 *******
11085
11086 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
11087
11088 Copying and distribution of this file, with or without modification, are
11089 permitted in any medium without royalty provided the copyright notice
11090 and this notice are preserved. This file is offered as-is, without any
11091 warranty.
11092
11093 
11094 File: autoconf-archive.info, Node: ax_cxx_bool, Next: ax_cxx_compile_stdcxx, Prev: ax_cvs, Up: The Macros
11095
11096 ax_cxx_bool
11097 ===========
11098
11099 Synopsis
11100 ********
11101
11102 AX_CXX_BOOL
11103
11104 Description
11105 ***********
11106
11107 If the compiler recognizes bool as a separate built-in type, define
11108 HAVE_BOOL. Note that a typedef is not a separate type since you cannot
11109 overload a function such that it accepts either the basic type or the
11110 typedef.
11111
11112 Source Code
11113 ***********
11114
11115 Download the latest version of 'ax_cxx_bool.m4'
11116 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_bool.m4)
11117 or browse the macro's revision history
11118 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_bool.m4).
11119
11120 License
11121 *******
11122
11123 Copyright (C) 2008 Todd Veldhuizen
11124 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11125
11126 Copying and distribution of this file, with or without modification, are
11127 permitted in any medium without royalty provided the copyright notice
11128 and this notice are preserved. This file is offered as-is, without any
11129 warranty.
11130
11131 
11132 File: autoconf-archive.info, Node: ax_cxx_compile_stdcxx, Next: ax_cxx_compile_stdcxx_0x, Prev: ax_cxx_bool, Up: The Macros
11133
11134 ax_cxx_compile_stdcxx
11135 =====================
11136
11137 Synopsis
11138 ********
11139
11140 AX_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional])
11141
11142 Description
11143 ***********
11144
11145 Check for baseline language coverage in the compiler for the specified
11146 version of the C++ standard. If necessary, add switches to CXX and
11147 CXXCPP to enable support. VERSION may be '11' (for the C++11 standard)
11148 or '14' (for the C++14 standard).
11149
11150 The second argument, if specified, indicates whether you insist on an
11151 extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
11152 -std=c++11). If neither is specified, you get whatever works, with
11153 preference for an extended mode.
11154
11155 The third argument, if specified 'mandatory' or if left unspecified,
11156 indicates that baseline support for the specified C++ standard is
11157 required and that the macro should error out if no mode with that
11158 support is found. If specified 'optional', then configuration proceeds
11159 regardless, after defining HAVE_CXX${VERSION} if and only if a
11160 supporting mode is found.
11161
11162 Source Code
11163 ***********
11164
11165 Download the latest version of 'ax_cxx_compile_stdcxx.m4'
11166 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx.m4)
11167 or browse the macro's revision history
11168 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx.m4).
11169
11170 License
11171 *******
11172
11173 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
11174 Copyright (C) 2012 Zack Weinberg <zackw@panix.com>
11175 Copyright (C) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
11176 Copyright (C) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
11177
11178 Copyright (C) 2015 Paul Norman <penorman@mac.com>
11179 Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
11180 Copyright (C) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
11181
11182 Copying and distribution of this file, with or without modification, are
11183 permitted in any medium without royalty provided the copyright notice
11184 and this notice are preserved. This file is offered as-is, without any
11185 warranty.
11186
11187 
11188 File: autoconf-archive.info, Node: ax_cxx_compile_stdcxx_0x, Next: ax_cxx_compile_stdcxx_11, Prev: ax_cxx_compile_stdcxx, Up: The Macros
11189
11190 ax_cxx_compile_stdcxx_0x
11191 ========================
11192
11193 Synopsis
11194 ********
11195
11196 AX_CXX_COMPILE_STDCXX_0X
11197
11198 Description
11199 ***********
11200
11201 Check for baseline language coverage in the compiler for the C++0x
11202 standard.
11203
11204 This macro is deprecated and has been superseded by the
11205 AX_CXX_COMPILE_STDCXX_11 macro which should be used instead.
11206
11207 Source Code
11208 ***********
11209
11210 Download the latest version of 'ax_cxx_compile_stdcxx_0x.m4'
11211 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_0x.m4)
11212 or browse the macro's revision history
11213 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_0x.m4).
11214
11215 License
11216 *******
11217
11218 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
11219
11220 Copying and distribution of this file, with or without modification, are
11221 permitted in any medium without royalty provided the copyright notice
11222 and this notice are preserved. This file is offered as-is, without any
11223 warranty.
11224
11225 
11226 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
11227
11228 ax_cxx_compile_stdcxx_11
11229 ========================
11230
11231 Synopsis
11232 ********
11233
11234 AX_CXX_COMPILE_STDCXX_11([ext|noext], [mandatory|optional])
11235
11236 Description
11237 ***********
11238
11239 Check for baseline language coverage in the compiler for the C++11
11240 standard; if necessary, add switches to CXX and CXXCPP to enable
11241 support.
11242
11243 This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
11244 macro with the version set to C++11. The two optional arguments are
11245 forwarded literally as the second and third argument respectively.
11246 Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
11247 more information. If you want to use this macro, you also need to
11248 download the ax_cxx_compile_stdcxx.m4 file.
11249
11250 Source Code
11251 ***********
11252
11253 Download the latest version of 'ax_cxx_compile_stdcxx_11.m4'
11254 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_11.m4)
11255 or browse the macro's revision history
11256 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_11.m4).
11257
11258 License
11259 *******
11260
11261 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
11262 Copyright (C) 2012 Zack Weinberg <zackw@panix.com>
11263 Copyright (C) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
11264 Copyright (C) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
11265
11266 Copyright (C) 2015 Paul Norman <penorman@mac.com>
11267 Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
11268
11269 Copying and distribution of this file, with or without modification, are
11270 permitted in any medium without royalty provided the copyright notice
11271 and this notice are preserved. This file is offered as-is, without any
11272 warranty.
11273
11274 
11275 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
11276
11277 ax_cxx_compile_stdcxx_14
11278 ========================
11279
11280 Synopsis
11281 ********
11282
11283 AX_CXX_COMPILE_STDCXX_14([ext|noext], [mandatory|optional])
11284
11285 Description
11286 ***********
11287
11288 Check for baseline language coverage in the compiler for the C++14
11289 standard; if necessary, add switches to CXX and CXXCPP to enable
11290 support.
11291
11292 This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
11293 macro with the version set to C++14. The two optional arguments are
11294 forwarded literally as the second and third argument respectively.
11295 Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
11296 more information. If you want to use this macro, you also need to
11297 download the ax_cxx_compile_stdcxx.m4 file.
11298
11299 Source Code
11300 ***********
11301
11302 Download the latest version of 'ax_cxx_compile_stdcxx_14.m4'
11303 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_14.m4)
11304 or browse the macro's revision history
11305 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_14.m4).
11306
11307 License
11308 *******
11309
11310 Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
11311
11312 Copying and distribution of this file, with or without modification, are
11313 permitted in any medium without royalty provided the copyright notice
11314 and this notice are preserved. This file is offered as-is, without any
11315 warranty.
11316
11317 
11318 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
11319
11320 ax_cxx_compile_stdcxx_17
11321 ========================
11322
11323 Synopsis
11324 ********
11325
11326 AX_CXX_COMPILE_STDCXX_17([ext|noext], [mandatory|optional])
11327
11328 Description
11329 ***********
11330
11331 Check for baseline language coverage in the compiler for the C++17
11332 standard; if necessary, add switches to CXX and CXXCPP to enable
11333 support.
11334
11335 This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
11336 macro with the version set to C++17. The two optional arguments are
11337 forwarded literally as the second and third argument respectively.
11338 Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
11339 more information. If you want to use this macro, you also need to
11340 download the ax_cxx_compile_stdcxx.m4 file.
11341
11342 Source Code
11343 ***********
11344
11345 Download the latest version of 'ax_cxx_compile_stdcxx_17.m4'
11346 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_17.m4)
11347 or browse the macro's revision history
11348 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_17.m4).
11349
11350 License
11351 *******
11352
11353 Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
11354 Copyright (C) 2016 Krzesimir Nowak <qdlacz@gmail.com>
11355
11356 Copying and distribution of this file, with or without modification, are
11357 permitted in any medium without royalty provided the copyright notice
11358 and this notice are preserved. This file is offered as-is, without any
11359 warranty.
11360
11361 
11362 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
11363
11364 ax_cxx_complex_math_in_namespace_std
11365 ====================================
11366
11367 Synopsis
11368 ********
11369
11370 AX_CXX_COMPLEX_MATH_IN_NAMESPACE_STD
11371
11372 Description
11373 ***********
11374
11375 If the C math functions are in the cmath header file and std::
11376 namespace, define HAVE_MATH_FN_IN_NAMESPACE_STD.
11377
11378 Source Code
11379 ***********
11380
11381 Download the latest version of 'ax_cxx_complex_math_in_namespace_std.m4'
11382 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_complex_math_in_namespace_std.m4)
11383 or browse the macro's revision history
11384 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_complex_math_in_namespace_std.m4).
11385
11386 License
11387 *******
11388
11389 Copyright (C) 2008 Todd Veldhuizen
11390 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11391
11392 Copying and distribution of this file, with or without modification, are
11393 permitted in any medium without royalty provided the copyright notice
11394 and this notice are preserved. This file is offered as-is, without any
11395 warranty.
11396
11397 
11398 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
11399
11400 ax_cxx_const_cast
11401 =================
11402
11403 Synopsis
11404 ********
11405
11406 AX_CXX_CONST_CAST
11407
11408 Description
11409 ***********
11410
11411 If the compiler supports const_cast<>, define HAVE_CONST_CAST.
11412
11413 Source Code
11414 ***********
11415
11416 Download the latest version of 'ax_cxx_const_cast.m4'
11417 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_const_cast.m4)
11418 or browse the macro's revision history
11419 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_const_cast.m4).
11420
11421 License
11422 *******
11423
11424 Copyright (C) 2008 Todd Veldhuizen
11425 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11426
11427 Copying and distribution of this file, with or without modification, are
11428 permitted in any medium without royalty provided the copyright notice
11429 and this notice are preserved. This file is offered as-is, without any
11430 warranty.
11431
11432 
11433 File: autoconf-archive.info, Node: ax_cxx_cppflags_std_lang, Next: ax_cxx_cxxflags_std_lang, Prev: ax_cxx_const_cast, Up: The Macros
11434
11435 ax_cxx_cppflags_std_lang
11436 ========================
11437
11438 Synopsis
11439 ********
11440
11441 AX_CXX_CPPFLAGS_STD_LANG(CPP-FLAGS)
11442
11443 Description
11444 ***********
11445
11446 Append to CPP-FLAGS the set of flags that should be passed to the C++
11447 preprocessor in order to enable use of C++ features as defined in the
11448 ANSI C++ standard (eg. use of standard iostream classes in the 'std'
11449 namespace, etc.).
11450
11451 Source Code
11452 ***********
11453
11454 Download the latest version of 'ax_cxx_cppflags_std_lang.m4'
11455 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_cppflags_std_lang.m4)
11456 or browse the macro's revision history
11457 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_cppflags_std_lang.m4).
11458
11459 License
11460 *******
11461
11462 Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
11463
11464 Copying and distribution of this file, with or without modification, are
11465 permitted in any medium without royalty provided the copyright notice
11466 and this notice are preserved. This file is offered as-is, without any
11467 warranty.
11468
11469 
11470 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
11471
11472 ax_cxx_cxxflags_std_lang
11473 ========================
11474
11475 Synopsis
11476 ********
11477
11478 AX_CXX_CXXFLAGS_STD_LANG(CXX-FLAGS)
11479
11480 Description
11481 ***********
11482
11483 Append to variable CXX-FLAGS the set of compile-time flags that should
11484 be passed to the C++ compiler in order to enable use of C++ features as
11485 defined in the ANSI C++ standard (eg. use of standard iostream classes
11486 in the 'std' namespace, etc.). Note that if you use GNU Libtool you may
11487 need to prefix each of those flags with '-Xcompiler' so that Libtool
11488 doesn't discard them (see Libtool's manual and 'AC_LIBTOOLIZE_CFLAGS').
11489
11490 Source Code
11491 ***********
11492
11493 Download the latest version of 'ax_cxx_cxxflags_std_lang.m4'
11494 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_cxxflags_std_lang.m4)
11495 or browse the macro's revision history
11496 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_cxxflags_std_lang.m4).
11497
11498 License
11499 *******
11500
11501 Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
11502
11503 Copying and distribution of this file, with or without modification, are
11504 permitted in any medium without royalty provided the copyright notice
11505 and this notice are preserved. This file is offered as-is, without any
11506 warranty.
11507
11508 
11509 File: autoconf-archive.info, Node: ax_cxx_default_template_parameters, Next: ax_cxx_delete_method, Prev: ax_cxx_cxxflags_std_lang, Up: The Macros
11510
11511 ax_cxx_default_template_parameters
11512 ==================================
11513
11514 Synopsis
11515 ********
11516
11517 AX_CXX_DEFAULT_TEMPLATE_PARAMETERS
11518
11519 Description
11520 ***********
11521
11522 If the compiler supports default template parameters, define
11523 HAVE_DEFAULT_TEMPLATE_PARAMETERS.
11524
11525 Source Code
11526 ***********
11527
11528 Download the latest version of 'ax_cxx_default_template_parameters.m4'
11529 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_default_template_parameters.m4)
11530 or browse the macro's revision history
11531 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_default_template_parameters.m4).
11532
11533 License
11534 *******
11535
11536 Copyright (C) 2008 Todd Veldhuizen
11537 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11538
11539 Copying and distribution of this file, with or without modification, are
11540 permitted in any medium without royalty provided the copyright notice
11541 and this notice are preserved. This file is offered as-is, without any
11542 warranty.
11543
11544 
11545 File: autoconf-archive.info, Node: ax_cxx_delete_method, Next: ax_cxx_dtor_after_atexit, Prev: ax_cxx_default_template_parameters, Up: The Macros
11546
11547 ax_cxx_delete_method
11548 ====================
11549
11550 Synopsis
11551 ********
11552
11553 AX_CXX_DELETE_METHOD
11554
11555 Description
11556 ***********
11557
11558 Check whether the C++11 '= delete' syntax, for suppressing undesired
11559 implicit methods, is supported. If it is, the macro DELETE_METHOD is
11560 defined to '= delete'; otherwise it is defined to nothing. Thus, you
11561 can write
11562
11563 class foo {
11564 ...
11565 private:
11566 foo(foo const&) DELETE_METHOD;
11567 };
11568
11569 to delete the 'foo' copy constructor or fall back to the idiom of a
11570 private undefined method if the compiler doesn't support this.
11571
11572 Does not test '= delete' on a template specialization. Does not ensure
11573 that the compiler is in C++11 mode.
11574
11575 Source Code
11576 ***********
11577
11578 Download the latest version of 'ax_cxx_delete_method.m4'
11579 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_delete_method.m4)
11580 or browse the macro's revision history
11581 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_delete_method.m4).
11582
11583 License
11584 *******
11585
11586 Copyright (C) 2012 Zack Weinberg <zackw@panix.com>
11587
11588 Copying and distribution of this file, with or without modification, are
11589 permitted in any medium without royalty provided the copyright notice
11590 and this notice are preserved. This file is offered as-is, without any
11591 warranty.
11592
11593 
11594 File: autoconf-archive.info, Node: ax_cxx_dtor_after_atexit, Next: ax_cxx_dynamic_cast, Prev: ax_cxx_delete_method, Up: The Macros
11595
11596 ax_cxx_dtor_after_atexit
11597 ========================
11598
11599 Synopsis
11600 ********
11601
11602 AX_CXX_DTOR_AFTER_ATEXIT
11603
11604 Description
11605 ***********
11606
11607 If the C++ compiler calls global destructors after atexit functions,
11608 define HAVE_DTOR_AFTER_ATEXIT.
11609
11610 Conformant behavior is to have global destructors after atexit
11611
11612 Per Paragraph 3.6.3/1 of the C++11 Standard:
11613
11614 Destructors (12.4) for initialized objects [..] with static storage
11615 duration are called as a result of returning from main and as a result
11616 of calling std::exit (18.5).
11617
11618 And per Paragraph 3.6.3/3:
11619
11620 If the completion of the initialization of an object with static storage
11621 duration is sequenced before a call to std::atexit [..], the call to the
11622 function passed to std::atexit is sequenced before the call to the
11623 destructor for the object.
11624
11625 WARNING: If cross-compiling, the test cannot be performed, the default
11626 action is to define HAVE_DTOR_AFTER_ATEXIT.
11627
11628 Source Code
11629 ***********
11630
11631 Download the latest version of 'ax_cxx_dtor_after_atexit.m4'
11632 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_dtor_after_atexit.m4)
11633 or browse the macro's revision history
11634 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_dtor_after_atexit.m4).
11635
11636 License
11637 *******
11638
11639 Copyright (C) 2008 Todd Veldhuizen
11640 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11641
11642 Copying and distribution of this file, with or without modification, are
11643 permitted in any medium without royalty provided the copyright notice
11644 and this notice are preserved. This file is offered as-is, without any
11645 warranty.
11646
11647 
11648 File: autoconf-archive.info, Node: ax_cxx_dynamic_cast, Next: ax_cxx_enum_computations, Prev: ax_cxx_dtor_after_atexit, Up: The Macros
11649
11650 ax_cxx_dynamic_cast
11651 ===================
11652
11653 Synopsis
11654 ********
11655
11656 AX_CXX_DYNAMIC_CAST
11657
11658 Description
11659 ***********
11660
11661 If the compiler supports dynamic_cast<>, define HAVE_DYNAMIC_CAST.
11662
11663 Source Code
11664 ***********
11665
11666 Download the latest version of 'ax_cxx_dynamic_cast.m4'
11667 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_dynamic_cast.m4)
11668 or browse the macro's revision history
11669 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_dynamic_cast.m4).
11670
11671 License
11672 *******
11673
11674 Copyright (C) 2008 Todd Veldhuizen
11675 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11676
11677 Copying and distribution of this file, with or without modification, are
11678 permitted in any medium without royalty provided the copyright notice
11679 and this notice are preserved. This file is offered as-is, without any
11680 warranty.
11681
11682 
11683 File: autoconf-archive.info, Node: ax_cxx_enum_computations, Next: ax_cxx_enum_computations_with_cast, Prev: ax_cxx_dynamic_cast, Up: The Macros
11684
11685 ax_cxx_enum_computations
11686 ========================
11687
11688 Synopsis
11689 ********
11690
11691 AX_CXX_ENUM_COMPUTATIONS
11692
11693 Description
11694 ***********
11695
11696 If the compiler handle computations inside an enum, define
11697 HAVE_ENUM_COMPUTATIONS.
11698
11699 Source Code
11700 ***********
11701
11702 Download the latest version of 'ax_cxx_enum_computations.m4'
11703 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_enum_computations.m4)
11704 or browse the macro's revision history
11705 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_enum_computations.m4).
11706
11707 License
11708 *******
11709
11710 Copyright (C) 2008 Todd Veldhuizen
11711 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11712
11713 Copying and distribution of this file, with or without modification, are
11714 permitted in any medium without royalty provided the copyright notice
11715 and this notice are preserved. This file is offered as-is, without any
11716 warranty.
11717
11718 
11719 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
11720
11721 ax_cxx_enum_computations_with_cast
11722 ==================================
11723
11724 Synopsis
11725 ********
11726
11727 AX_CXX_ENUM_COMPUTATIONS_WITH_CAST
11728
11729 Description
11730 ***********
11731
11732 If the compiler handle (int) casts in enum computations, define
11733 HAVE_ENUM_COMPUTATIONS_WITH_CAST.
11734
11735 Source Code
11736 ***********
11737
11738 Download the latest version of 'ax_cxx_enum_computations_with_cast.m4'
11739 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_enum_computations_with_cast.m4)
11740 or browse the macro's revision history
11741 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_enum_computations_with_cast.m4).
11742
11743 License
11744 *******
11745
11746 Copyright (C) 2008 Todd Veldhuizen
11747 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11748
11749 Copying and distribution of this file, with or without modification, are
11750 permitted in any medium without royalty provided the copyright notice
11751 and this notice are preserved. This file is offered as-is, without any
11752 warranty.
11753
11754 
11755 File: autoconf-archive.info, Node: ax_cxx_erase_iterator_type, Next: ax_cxx_exceptions, Prev: ax_cxx_enum_computations_with_cast, Up: The Macros
11756
11757 ax_cxx_erase_iterator_type
11758 ==========================
11759
11760 Synopsis
11761 ********
11762
11763 AX_CXX_ERASE_ITERATOR_TYPE
11764
11765 Description
11766 ***********
11767
11768 If the compiler supports define erase with constant iterator or with
11769 classical iterator.
11770
11771 Define autoconfigured_erase_iterator to const_iterator if supported and
11772 iterator if not supported.
11773
11774 Define HAVE_ERASE_CONSTANT_ITERATOR if supported
11775
11776 Source Code
11777 ***********
11778
11779 Download the latest version of 'ax_cxx_erase_iterator_type.m4'
11780 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_erase_iterator_type.m4)
11781 or browse the macro's revision history
11782 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_erase_iterator_type.m4).
11783
11784 License
11785 *******
11786
11787 Copyright (C) 2015 Bastien ROUCARIES
11788
11789 Copying and distribution of this file, with or without modification, are
11790 permitted in any medium without royalty provided the copyright notice
11791 and this notice are preserved. This file is offered as-is, without any
11792 warranty.
11793
11794 
11795 File: autoconf-archive.info, Node: ax_cxx_exceptions, Next: ax_cxx_explicit, Prev: ax_cxx_erase_iterator_type, Up: The Macros
11796
11797 ax_cxx_exceptions
11798 =================
11799
11800 Synopsis
11801 ********
11802
11803 AX_CXX_EXCEPTIONS
11804
11805 Description
11806 ***********
11807
11808 If the C++ compiler supports exceptions handling (try, throw and catch),
11809 define HAVE_EXCEPTIONS.
11810
11811 Source Code
11812 ***********
11813
11814 Download the latest version of 'ax_cxx_exceptions.m4'
11815 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_exceptions.m4)
11816 or browse the macro's revision history
11817 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_exceptions.m4).
11818
11819 License
11820 *******
11821
11822 Copyright (C) 2008 Todd Veldhuizen
11823 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11824
11825 Copying and distribution of this file, with or without modification, are
11826 permitted in any medium without royalty provided the copyright notice
11827 and this notice are preserved. This file is offered as-is, without any
11828 warranty.
11829
11830 
11831 File: autoconf-archive.info, Node: ax_cxx_explicit, Next: ax_cxx_explicit_instantiations, Prev: ax_cxx_exceptions, Up: The Macros
11832
11833 ax_cxx_explicit
11834 ===============
11835
11836 Synopsis
11837 ********
11838
11839 AX_CXX_EXPLICIT
11840
11841 Description
11842 ***********
11843
11844 If the compiler can be asked to prevent using implicitly one argument
11845 constructors as converting constructors with the explicit keyword,
11846 define HAVE_EXPLICIT.
11847
11848 Source Code
11849 ***********
11850
11851 Download the latest version of 'ax_cxx_explicit.m4'
11852 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_explicit.m4)
11853 or browse the macro's revision history
11854 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_explicit.m4).
11855
11856 License
11857 *******
11858
11859 Copyright (C) 2008 Todd Veldhuizen
11860 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11861
11862 Copying and distribution of this file, with or without modification, are
11863 permitted in any medium without royalty provided the copyright notice
11864 and this notice are preserved. This file is offered as-is, without any
11865 warranty.
11866
11867 
11868 File: autoconf-archive.info, Node: ax_cxx_explicit_instantiations, Next: ax_cxx_explicit_template_function_qualification, Prev: ax_cxx_explicit, Up: The Macros
11869
11870 ax_cxx_explicit_instantiations
11871 ==============================
11872
11873 Synopsis
11874 ********
11875
11876 AX_CXX_EXPLICIT_INSTANTIATIONS
11877
11878 Description
11879 ***********
11880
11881 If the C++ compiler supports explicit instantiations syntax, define
11882 HAVE_INSTANTIATIONS.
11883
11884 Source Code
11885 ***********
11886
11887 Download the latest version of 'ax_cxx_explicit_instantiations.m4'
11888 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_explicit_instantiations.m4)
11889 or browse the macro's revision history
11890 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_explicit_instantiations.m4).
11891
11892 License
11893 *******
11894
11895 Copyright (C) 2008 Todd Veldhuizen
11896 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11897
11898 Copying and distribution of this file, with or without modification, are
11899 permitted in any medium without royalty provided the copyright notice
11900 and this notice are preserved. This file is offered as-is, without any
11901 warranty.
11902
11903 
11904 File: autoconf-archive.info, Node: ax_cxx_explicit_template_function_qualification, Next: ax_cxx_extern_template, Prev: ax_cxx_explicit_instantiations, Up: The Macros
11905
11906 ax_cxx_explicit_template_function_qualification
11907 ===============================================
11908
11909 Synopsis
11910 ********
11911
11912 AX_CXX_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION
11913
11914 Description
11915 ***********
11916
11917 If the compiler supports explicit template function qualification,
11918 define HAVE_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION.
11919
11920 Source Code
11921 ***********
11922
11923 Download the latest version of
11924 'ax_cxx_explicit_template_function_qualification.m4'
11925 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_explicit_template_function_qualification.m4)
11926 or browse the macro's revision history
11927 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_explicit_template_function_qualification.m4).
11928
11929 License
11930 *******
11931
11932 Copyright (C) 2008 Todd Veldhuizen
11933 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11934
11935 Copying and distribution of this file, with or without modification, are
11936 permitted in any medium without royalty provided the copyright notice
11937 and this notice are preserved. This file is offered as-is, without any
11938 warranty.
11939
11940 
11941 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
11942
11943 ax_cxx_extern_template
11944 ======================
11945
11946 Synopsis
11947 ********
11948
11949 AX_CXX_EXTERN_TEMPLATE
11950
11951 Description
11952 ***********
11953
11954 Test whether the C++ compiler supports "extern template".
11955
11956 Source Code
11957 ***********
11958
11959 Download the latest version of 'ax_cxx_extern_template.m4'
11960 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_extern_template.m4)
11961 or browse the macro's revision history
11962 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_extern_template.m4).
11963
11964 License
11965 *******
11966
11967 Copyright (C) 2008 Patrick Mauritz <oxygene@studentenbude.ath.cx>
11968
11969 Copying and distribution of this file, with or without modification, are
11970 permitted in any medium without royalty provided the copyright notice
11971 and this notice are preserved. This file is offered as-is, without any
11972 warranty.
11973
11974 
11975 File: autoconf-archive.info, Node: ax_cxx_full_specialization_syntax, Next: ax_cxx_function_nontype_parameters, Prev: ax_cxx_extern_template, Up: The Macros
11976
11977 ax_cxx_full_specialization_syntax
11978 =================================
11979
11980 Synopsis
11981 ********
11982
11983 AX_CXX_FULL_SPECIALIZATION_SYNTAX
11984
11985 Description
11986 ***********
11987
11988 If the compiler recognizes the full specialization syntax, define
11989 HAVE_FULL_SPECIALIZATION_SYNTAX.
11990
11991 Source Code
11992 ***********
11993
11994 Download the latest version of 'ax_cxx_full_specialization_syntax.m4'
11995 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_full_specialization_syntax.m4)
11996 or browse the macro's revision history
11997 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_full_specialization_syntax.m4).
11998
11999 License
12000 *******
12001
12002 Copyright (C) 2008 Todd Veldhuizen
12003 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
12004
12005 Copying and distribution of this file, with or without modification, are
12006 permitted in any medium without royalty provided the copyright notice
12007 and this notice are preserved. This file is offered as-is, without any
12008 warranty.
12009
12010 
12011 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
12012
12013 ax_cxx_function_nontype_parameters
12014 ==================================
12015
12016 Synopsis
12017 ********
12018
12019 AX_CXX_FUNCTION_NONTYPE_PARAMETERS
12020
12021 Description
12022 ***********
12023
12024 If the compiler supports function templates with non-type parameters,
12025 define HAVE_FUNCTION_NONTYPE_PARAMETERS.
12026
12027 Source Code
12028 ***********
12029
12030 Download the latest version of 'ax_cxx_function_nontype_parameters.m4'
12031 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_function_nontype_parameters.m4)
12032 or browse the macro's revision history
12033 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_function_nontype_parameters.m4).
12034
12035 License
12036 *******
12037
12038 Copyright (C) 2008 Todd Veldhuizen
12039 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
12040
12041 Copying and distribution of this file, with or without modification, are
12042 permitted in any medium without royalty provided the copyright notice
12043 and this notice are preserved. This file is offered as-is, without any
12044 warranty.
12045
12046 
12047 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
12048
12049 ax_cxx_function_try_blocks
12050 ==========================
12051
12052 Synopsis
12053 ********
12054
12055 AX_CXX_FUNCTION_TRY_BLOCKS
12056
12057 Description
12058 ***********
12059
12060 If the C++ compiler supports function try blocks, define
12061 'HAVE_FUNCTION_TRY_BLOCKS'.
12062
12063 Source Code
12064 ***********
12065
12066 Download the latest version of 'ax_cxx_function_try_blocks.m4'
12067 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_function_try_blocks.m4)
12068 or browse the macro's revision history
12069 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_function_try_blocks.m4).
12070
12071 License
12072 *******
12073
12074 Copyright (C) 2008 Matthew D. Langston
12075
12076 This program is free software; you can redistribute it and/or modify it
12077 under the terms of the GNU General Public License as published by the
12078 Free Software Foundation; either version 2 of the License, or (at your
12079 option) any later version.
12080
12081 This program is distributed in the hope that it will be useful, but
12082 WITHOUT ANY WARRANTY; without even the implied warranty of
12083 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
12084 Public License for more details.
12085
12086 You should have received a copy of the GNU General Public License along
12087 with this program. If not, see <https://www.gnu.org/licenses/>.
12088
12089 As a special exception, the respective Autoconf Macro's copyright owner
12090 gives unlimited permission to copy, distribute and modify the configure
12091 scripts that are the output of Autoconf when processing the Macro. You
12092 need not follow the terms of the GNU General Public License when using
12093 or distributing such scripts, even though portions of the text of the
12094 Macro appear in them. The GNU General Public License (GPL) does govern
12095 all other use of the material that constitutes the Autoconf Macro.
12096
12097 This special exception to the GPL applies to versions of the Autoconf
12098 Macro released by the Autoconf Archive. When you make and distribute a
12099 modified version of the Autoconf Macro, you may extend this special
12100 exception to the GPL to apply to your modified version as well.
12101
12102 
12103 File: autoconf-archive.info, Node: ax_cxx_gcc_abi_demangle, Next: ax_cxx_gnucxx_hashmap, Prev: ax_cxx_function_try_blocks, Up: The Macros
12104
12105 ax_cxx_gcc_abi_demangle
12106 =======================
12107
12108 Synopsis
12109 ********
12110
12111 AX_CXX_GCC_ABI_DEMANGLE
12112
12113 Description
12114 ***********
12115
12116 If the compiler supports GCC C++ ABI name demangling (has header
12117 cxxabi.h and abi::__cxa_demangle() function), define
12118 HAVE_GCC_ABI_DEMANGLE
12119
12120 Adapted from AX_CXX_RTTI by Luc Maisonobe
12121
12122 Source Code
12123 ***********
12124
12125 Download the latest version of 'ax_cxx_gcc_abi_demangle.m4'
12126 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_gcc_abi_demangle.m4)
12127 or browse the macro's revision history
12128 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_gcc_abi_demangle.m4).
12129
12130 License
12131 *******
12132
12133 Copyright (C) 2008 Neil Ferguson <nferguso@eso.org>
12134
12135 Copying and distribution of this file, with or without modification, are
12136 permitted in any medium without royalty provided the copyright notice
12137 and this notice are preserved. This file is offered as-is, without any
12138 warranty.
12139
12140 
12141 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
12142
12143 ax_cxx_gnucxx_hashmap
12144 =====================
12145
12146 Synopsis
12147 ********
12148
12149 AX_CXX_GNUCXX_HASHMAP
12150
12151 Description
12152 ***********
12153
12154 Test for the presence of GCC's hashmap STL extension.
12155
12156 Source Code
12157 ***********
12158
12159 Download the latest version of 'ax_cxx_gnucxx_hashmap.m4'
12160 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_gnucxx_hashmap.m4)
12161 or browse the macro's revision history
12162 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_gnucxx_hashmap.m4).
12163
12164 License
12165 *******
12166
12167 Copyright (C) 2008 Patrick Mauritz <oxygene@studentenbude.ath.cx>
12168
12169 Copying and distribution of this file, with or without modification, are
12170 permitted in any medium without royalty provided the copyright notice
12171 and this notice are preserved. This file is offered as-is, without any
12172 warranty.
12173
12174 
12175 File: autoconf-archive.info, Node: ax_cxx_have_bad_function_call, Next: ax_cxx_have_bind, Prev: ax_cxx_gnucxx_hashmap, Up: The Macros
12176
12177 ax_cxx_have_bad_function_call
12178 =============================
12179
12180 Synopsis
12181 ********
12182
12183 AX_CXX_HAVE_BAD_FUNCTION_CALL()
12184
12185 Description
12186 ***********
12187
12188 This macro checks if std::bad_function_call, added in C++11, is defined
12189 in the <functional> header.
12190
12191 If it is, define the ax_cv_cxx_have_bad_function_call environment
12192 variable to "yes" and define HAVE_CXX_BAD_FUNCTION_CALL.
12193
12194 Source Code
12195 ***********
12196
12197 Download the latest version of 'ax_cxx_have_bad_function_call.m4'
12198 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bad_function_call.m4)
12199 or browse the macro's revision history
12200 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bad_function_call.m4).
12201
12202 License
12203 *******
12204
12205 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12206
12207 Copying and distribution of this file, with or without modification, are
12208 permitted in any medium without royalty provided the copyright notice
12209 and this notice are preserved. This file is offered as-is, without any
12210 warranty.
12211
12212 
12213 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
12214
12215 ax_cxx_have_bind
12216 ================
12217
12218 Synopsis
12219 ********
12220
12221 AX_CXX_HAVE_BIND()
12222
12223 Description
12224 ***********
12225
12226 This macro checks if std::bind, added in C++11, is defined in the
12227 <functional> header.
12228
12229 If it is, define the ax_cv_cxx_have_bind environment variable to "yes"
12230 and define HAVE_CXX_BIND.
12231
12232 Source Code
12233 ***********
12234
12235 Download the latest version of 'ax_cxx_have_bind.m4'
12236 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bind.m4)
12237 or browse the macro's revision history
12238 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bind.m4).
12239
12240 License
12241 *******
12242
12243 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12244
12245 Copying and distribution of this file, with or without modification, are
12246 permitted in any medium without royalty provided the copyright notice
12247 and this notice are preserved. This file is offered as-is, without any
12248 warranty.
12249
12250 
12251 File: autoconf-archive.info, Node: ax_cxx_have_bit_and, Next: ax_cxx_have_bit_or, Prev: ax_cxx_have_bind, Up: The Macros
12252
12253 ax_cxx_have_bit_and
12254 ===================
12255
12256 Synopsis
12257 ********
12258
12259 AX_CXX_HAVE_BIT_AND()
12260
12261 Description
12262 ***********
12263
12264 This macro checks if std::bit_and, added in C++11, is defined in the
12265 <functional> header.
12266
12267 If it is, define the ax_cv_cxx_have_bit_and environment variable to
12268 "yes" and define HAVE_CXX_BIT_AND.
12269
12270 Source Code
12271 ***********
12272
12273 Download the latest version of 'ax_cxx_have_bit_and.m4'
12274 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bit_and.m4)
12275 or browse the macro's revision history
12276 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bit_and.m4).
12277
12278 License
12279 *******
12280
12281 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12282
12283 Copying and distribution of this file, with or without modification, are
12284 permitted in any medium without royalty provided the copyright notice
12285 and this notice are preserved. This file is offered as-is, without any
12286 warranty.
12287
12288 
12289 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
12290
12291 ax_cxx_have_bit_or
12292 ==================
12293
12294 Synopsis
12295 ********
12296
12297 AX_CXX_HAVE_BIT_OR()
12298
12299 Description
12300 ***********
12301
12302 This macro checks if std::bit_or, added in C++11, is defined in the
12303 <functional> header.
12304
12305 If it is, define the ax_cv_cxx_have_bit_or environment variable to "yes"
12306 and define HAVE_CXX_BIT_OR.
12307
12308 Source Code
12309 ***********
12310
12311 Download the latest version of 'ax_cxx_have_bit_or.m4'
12312 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bit_or.m4)
12313 or browse the macro's revision history
12314 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bit_or.m4).
12315
12316 License
12317 *******
12318
12319 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12320
12321 Copying and distribution of this file, with or without modification, are
12322 permitted in any medium without royalty provided the copyright notice
12323 and this notice are preserved. This file is offered as-is, without any
12324 warranty.
12325
12326 
12327 File: autoconf-archive.info, Node: ax_cxx_have_bit_xor, Next: ax_cxx_have_complex, Prev: ax_cxx_have_bit_or, Up: The Macros
12328
12329 ax_cxx_have_bit_xor
12330 ===================
12331
12332 Synopsis
12333 ********
12334
12335 AX_CXX_HAVE_BIT_XOR()
12336
12337 Description
12338 ***********
12339
12340 This macro checks if std::bit_xor, added in C++11, is defined in the
12341 <functional> header.
12342
12343 If it is, define the ax_cv_cxx_have_bit_xor environment variable to
12344 "yes" and define HAVE_CXX_BIT_XOR.
12345
12346 Source Code
12347 ***********
12348
12349 Download the latest version of 'ax_cxx_have_bit_xor.m4'
12350 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bit_xor.m4)
12351 or browse the macro's revision history
12352 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bit_xor.m4).
12353
12354 License
12355 *******
12356
12357 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12358
12359 Copying and distribution of this file, with or without modification, are
12360 permitted in any medium without royalty provided the copyright notice
12361 and this notice are preserved. This file is offered as-is, without any
12362 warranty.
12363
12364 
12365 File: autoconf-archive.info, Node: ax_cxx_have_complex, Next: ax_cxx_have_complex_math1, Prev: ax_cxx_have_bit_xor, Up: The Macros
12366
12367 ax_cxx_have_complex
12368 ===================
12369
12370 Synopsis
12371 ********
12372
12373 AX_CXX_HAVE_COMPLEX
12374
12375 Description
12376 ***********
12377
12378 If the compiler has complex<T>, define HAVE_COMPLEX.
12379
12380 Source Code
12381 ***********
12382
12383 Download the latest version of 'ax_cxx_have_complex.m4'
12384 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_complex.m4)
12385 or browse the macro's revision history
12386 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_complex.m4).
12387
12388 License
12389 *******
12390
12391 Copyright (C) 2008 Todd Veldhuizen
12392 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
12393
12394 Copying and distribution of this file, with or without modification, are
12395 permitted in any medium without royalty provided the copyright notice
12396 and this notice are preserved. This file is offered as-is, without any
12397 warranty.
12398
12399 
12400 File: autoconf-archive.info, Node: ax_cxx_have_complex_math1, Next: ax_cxx_have_complex_math2, Prev: ax_cxx_have_complex, Up: The Macros
12401
12402 ax_cxx_have_complex_math1
12403 =========================
12404
12405 Synopsis
12406 ********
12407
12408 AX_CXX_HAVE_COMPLEX_MATH1
12409
12410 Description
12411 ***********
12412
12413 If the compiler has the complex math functions cos, cosh, exp, log, pow,
12414 sin, sinh, sqrt, tan and tanh, define HAVE_COMPLEX_MATH1.
12415
12416 Source Code
12417 ***********
12418
12419 Download the latest version of 'ax_cxx_have_complex_math1.m4'
12420 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_complex_math1.m4)
12421 or browse the macro's revision history
12422 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_complex_math1.m4).
12423
12424 License
12425 *******
12426
12427 Copyright (C) 2008 Todd Veldhuizen
12428 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
12429
12430 Copying and distribution of this file, with or without modification, are
12431 permitted in any medium without royalty provided the copyright notice
12432 and this notice are preserved. This file is offered as-is, without any
12433 warranty.
12434
12435 
12436 File: autoconf-archive.info, Node: ax_cxx_have_complex_math2, Next: ax_cxx_have_cref, Prev: ax_cxx_have_complex_math1, Up: The Macros
12437
12438 ax_cxx_have_complex_math2
12439 =========================
12440
12441 Synopsis
12442 ********
12443
12444 AX_CXX_HAVE_COMPLEX_MATH2
12445
12446 Description
12447 ***********
12448
12449 If the compiler has the complex math functions acos, asin, atan, atan2
12450 and log10, define HAVE_COMPLEX_MATH2.
12451
12452 Source Code
12453 ***********
12454
12455 Download the latest version of 'ax_cxx_have_complex_math2.m4'
12456 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_complex_math2.m4)
12457 or browse the macro's revision history
12458 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_complex_math2.m4).
12459
12460 License
12461 *******
12462
12463 Copyright (C) 2008 Todd Veldhuizen
12464 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
12465
12466 Copying and distribution of this file, with or without modification, are
12467 permitted in any medium without royalty provided the copyright notice
12468 and this notice are preserved. This file is offered as-is, without any
12469 warranty.
12470
12471 
12472 File: autoconf-archive.info, Node: ax_cxx_have_cref, Next: ax_cxx_have_empty_iostream, Prev: ax_cxx_have_complex_math2, Up: The Macros
12473
12474 ax_cxx_have_cref
12475 ================
12476
12477 Synopsis
12478 ********
12479
12480 AX_CXX_HAVE_CREF()
12481
12482 Description
12483 ***********
12484
12485 This macro checks if std::cref, added in C++11, is defined in the
12486 <functional> header.
12487
12488 If it is, define the ax_cv_cxx_have_cref environment variable to "yes"
12489 and define HAVE_CXX_CREF.
12490
12491 Source Code
12492 ***********
12493
12494 Download the latest version of 'ax_cxx_have_cref.m4'
12495 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_cref.m4)
12496 or browse the macro's revision history
12497 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_cref.m4).
12498
12499 License
12500 *******
12501
12502 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12503
12504 Copying and distribution of this file, with or without modification, are
12505 permitted in any medium without royalty provided the copyright notice
12506 and this notice are preserved. This file is offered as-is, without any
12507 warranty.
12508
12509 
12510 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
12511
12512 ax_cxx_have_empty_iostream
12513 ==========================
12514
12515 Synopsis
12516 ********
12517
12518 AX_CXX_HAVE_EMPTY_IOSTREAM
12519
12520 Description
12521 ***********
12522
12523 Check if the compiler allow the empty iostream constructor. Ok before
12524 gcc3, not after.
12525
12526 Source Code
12527 ***********
12528
12529 Download the latest version of 'ax_cxx_have_empty_iostream.m4'
12530 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_empty_iostream.m4)
12531 or browse the macro's revision history
12532 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_empty_iostream.m4).
12533
12534 License
12535 *******
12536
12537 Copyright (C) 2008 Alain BARBET <alian@cpan.org>
12538
12539 This program is free software; you can redistribute it and/or modify it
12540 under the terms of the GNU General Public License as published by the
12541 Free Software Foundation; either version 2 of the License, or (at your
12542 option) any later version.
12543
12544 This program is distributed in the hope that it will be useful, but
12545 WITHOUT ANY WARRANTY; without even the implied warranty of
12546 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
12547 Public License for more details.
12548
12549 You should have received a copy of the GNU General Public License along
12550 with this program. If not, see <https://www.gnu.org/licenses/>.
12551
12552 As a special exception, the respective Autoconf Macro's copyright owner
12553 gives unlimited permission to copy, distribute and modify the configure
12554 scripts that are the output of Autoconf when processing the Macro. You
12555 need not follow the terms of the GNU General Public License when using
12556 or distributing such scripts, even though portions of the text of the
12557 Macro appear in them. The GNU General Public License (GPL) does govern
12558 all other use of the material that constitutes the Autoconf Macro.
12559
12560 This special exception to the GPL applies to versions of the Autoconf
12561 Macro released by the Autoconf Archive. When you make and distribute a
12562 modified version of the Autoconf Macro, you may extend this special
12563 exception to the GPL to apply to your modified version as well.
12564
12565 
12566 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
12567
12568 ax_cxx_have_ext_hash_map
12569 ========================
12570
12571 Synopsis
12572 ********
12573
12574 AX_CXX_HAVE_EXT_HASH_MAP
12575
12576 Description
12577 ***********
12578
12579 Check if the compiler has ext/hash_map Eg:
12580
12581 #if defined(HAVE_EXT_HASH_MAP)
12582 #include <ext/hash_map>
12583 #else
12584 #if defined(HAVE_STL)
12585 #include <hash_map>
12586 #else
12587 # Can't find hash_map header !
12588 #endif
12589 #endif
12590
12591 This file is Alain BARBET's AC_CXX_HAVE_EXT_HASH_SET 1.1 with
12592 s/set/map/g :)
12593
12594 Source Code
12595 ***********
12596
12597 Download the latest version of 'ax_cxx_have_ext_hash_map.m4'
12598 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ext_hash_map.m4)
12599 or browse the macro's revision history
12600 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ext_hash_map.m4).
12601
12602 License
12603 *******
12604
12605 Copyright (C) 2008 Perceval ANICHINI
12606
12607 This program is free software; you can redistribute it and/or modify it
12608 under the terms of the GNU General Public License as published by the
12609 Free Software Foundation; either version 2 of the License, or (at your
12610 option) any later version.
12611
12612 This program is distributed in the hope that it will be useful, but
12613 WITHOUT ANY WARRANTY; without even the implied warranty of
12614 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
12615 Public License for more details.
12616
12617 You should have received a copy of the GNU General Public License along
12618 with this program. If not, see <https://www.gnu.org/licenses/>.
12619
12620 As a special exception, the respective Autoconf Macro's copyright owner
12621 gives unlimited permission to copy, distribute and modify the configure
12622 scripts that are the output of Autoconf when processing the Macro. You
12623 need not follow the terms of the GNU General Public License when using
12624 or distributing such scripts, even though portions of the text of the
12625 Macro appear in them. The GNU General Public License (GPL) does govern
12626 all other use of the material that constitutes the Autoconf Macro.
12627
12628 This special exception to the GPL applies to versions of the Autoconf
12629 Macro released by the Autoconf Archive. When you make and distribute a
12630 modified version of the Autoconf Macro, you may extend this special
12631 exception to the GPL to apply to your modified version as well.
12632
12633 
12634 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
12635
12636 ax_cxx_have_ext_hash_set
12637 ========================
12638
12639 Synopsis
12640 ********
12641
12642 AX_CXX_HAVE_EXT_HASH_SET
12643
12644 Description
12645 ***********
12646
12647 Check if the compiler has ext/hash_set Eg:
12648
12649 #if defined(HAVE_EXT_HASH_SET)
12650 #include <ext/hash_set>
12651 #else
12652 #if defined(HAVE_STL)
12653 #include <hash_set>
12654 #else
12655 # Can't find hash_set header !
12656 #endif
12657 #endif
12658
12659 Source Code
12660 ***********
12661
12662 Download the latest version of 'ax_cxx_have_ext_hash_set.m4'
12663 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ext_hash_set.m4)
12664 or browse the macro's revision history
12665 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ext_hash_set.m4).
12666
12667 License
12668 *******
12669
12670 Copyright (C) 2008 Alain BARBET <alian@cpan.org>
12671
12672 This program is free software; you can redistribute it and/or modify it
12673 under the terms of the GNU General Public License as published by the
12674 Free Software Foundation; either version 2 of the License, or (at your
12675 option) any later version.
12676
12677 This program is distributed in the hope that it will be useful, but
12678 WITHOUT ANY WARRANTY; without even the implied warranty of
12679 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
12680 Public License for more details.
12681
12682 You should have received a copy of the GNU General Public License along
12683 with this program. If not, see <https://www.gnu.org/licenses/>.
12684
12685 As a special exception, the respective Autoconf Macro's copyright owner
12686 gives unlimited permission to copy, distribute and modify the configure
12687 scripts that are the output of Autoconf when processing the Macro. You
12688 need not follow the terms of the GNU General Public License when using
12689 or distributing such scripts, even though portions of the text of the
12690 Macro appear in them. The GNU General Public License (GPL) does govern
12691 all other use of the material that constitutes the Autoconf Macro.
12692
12693 This special exception to the GPL applies to versions of the Autoconf
12694 Macro released by the Autoconf Archive. When you make and distribute a
12695 modified version of the Autoconf Macro, you may extend this special
12696 exception to the GPL to apply to your modified version as well.
12697
12698 
12699 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
12700
12701 ax_cxx_have_ext_slist
12702 =====================
12703
12704 Synopsis
12705 ********
12706
12707 AX_CXX_HAVE_EXT_SLIST
12708
12709 Description
12710 ***********
12711
12712 Check if the compiler has ext/slist. Eg:
12713
12714 #if defined(HAVE_EXT_SLIST)
12715 #include <ext/slist>
12716 #else
12717 #if defined(HAVE_STL)
12718 #include <slist>
12719 #else
12720 # Can't find slist header !
12721 #endif
12722 #endif
12723
12724 Source Code
12725 ***********
12726
12727 Download the latest version of 'ax_cxx_have_ext_slist.m4'
12728 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ext_slist.m4)
12729 or browse the macro's revision history
12730 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ext_slist.m4).
12731
12732 License
12733 *******
12734
12735 Copyright (C) 2008 Alain BARBET <alian@cpan.org>
12736
12737 This program is free software; you can redistribute it and/or modify it
12738 under the terms of the GNU General Public License as published by the
12739 Free Software Foundation; either version 2 of the License, or (at your
12740 option) any later version.
12741
12742 This program is distributed in the hope that it will be useful, but
12743 WITHOUT ANY WARRANTY; without even the implied warranty of
12744 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
12745 Public License for more details.
12746
12747 You should have received a copy of the GNU General Public License along
12748 with this program. If not, see <https://www.gnu.org/licenses/>.
12749
12750 As a special exception, the respective Autoconf Macro's copyright owner
12751 gives unlimited permission to copy, distribute and modify the configure
12752 scripts that are the output of Autoconf when processing the Macro. You
12753 need not follow the terms of the GNU General Public License when using
12754 or distributing such scripts, even though portions of the text of the
12755 Macro appear in them. The GNU General Public License (GPL) does govern
12756 all other use of the material that constitutes the Autoconf Macro.
12757
12758 This special exception to the GPL applies to versions of the Autoconf
12759 Macro released by the Autoconf Archive. When you make and distribute a
12760 modified version of the Autoconf Macro, you may extend this special
12761 exception to the GPL to apply to your modified version as well.
12762
12763 
12764 File: autoconf-archive.info, Node: ax_cxx_have_freeze_sstream, Next: ax_cxx_have_function, Prev: ax_cxx_have_ext_slist, Up: The Macros
12765
12766 ax_cxx_have_freeze_sstream
12767 ==========================
12768
12769 Synopsis
12770 ********
12771
12772 AX_CXX_HAVE_FREEZE_SSTREAM
12773
12774 Description
12775 ***********
12776
12777 Check if the compiler has (need) freeze method call in stringstream/
12778 strstream. Seems that Win32 and STLPort have it, libstdc++ not ...
12779
12780 Eg:
12781
12782 #include <sstream>
12783 #ifdef HAVE_NAMESPACES
12784 using namespace std;
12785 #endif
12786 #ifdef HAVE_SSTREAM
12787 stringstream message;
12788 #else
12789 strstream message;
12790 #endif
12791 message << "Hello";
12792 #ifdef HAVE_FREEZE_SSTREAM
12793 message.freeze(0);
12794 #endif
12795
12796 Source Code
12797 ***********
12798
12799 Download the latest version of 'ax_cxx_have_freeze_sstream.m4'
12800 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_freeze_sstream.m4)
12801 or browse the macro's revision history
12802 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_freeze_sstream.m4).
12803
12804 License
12805 *******
12806
12807 Copyright (C) 2008 Alain BARBET <alian@cpan.org>
12808
12809 This program is free software; you can redistribute it and/or modify it
12810 under the terms of the GNU General Public License as published by the
12811 Free Software Foundation; either version 2 of the License, or (at your
12812 option) any later version.
12813
12814 This program is distributed in the hope that it will be useful, but
12815 WITHOUT ANY WARRANTY; without even the implied warranty of
12816 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
12817 Public License for more details.
12818
12819 You should have received a copy of the GNU General Public License along
12820 with this program. If not, see <https://www.gnu.org/licenses/>.
12821
12822 As a special exception, the respective Autoconf Macro's copyright owner
12823 gives unlimited permission to copy, distribute and modify the configure
12824 scripts that are the output of Autoconf when processing the Macro. You
12825 need not follow the terms of the GNU General Public License when using
12826 or distributing such scripts, even though portions of the text of the
12827 Macro appear in them. The GNU General Public License (GPL) does govern
12828 all other use of the material that constitutes the Autoconf Macro.
12829
12830 This special exception to the GPL applies to versions of the Autoconf
12831 Macro released by the Autoconf Archive. When you make and distribute a
12832 modified version of the Autoconf Macro, you may extend this special
12833 exception to the GPL to apply to your modified version as well.
12834
12835 
12836 File: autoconf-archive.info, Node: ax_cxx_have_function, Next: ax_cxx_have_hash, Prev: ax_cxx_have_freeze_sstream, Up: The Macros
12837
12838 ax_cxx_have_function
12839 ====================
12840
12841 Synopsis
12842 ********
12843
12844 AX_CXX_HAVE_FUNCTION()
12845
12846 Description
12847 ***********
12848
12849 This macro checks if std::function, added in C++11, is defined in the
12850 <functional> header.
12851
12852 If it is, define the ax_cv_cxx_have_function environment variable to
12853 "yes" and define HAVE_CXX_FUNCTION.
12854
12855 Source Code
12856 ***********
12857
12858 Download the latest version of 'ax_cxx_have_function.m4'
12859 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_function.m4)
12860 or browse the macro's revision history
12861 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_function.m4).
12862
12863 License
12864 *******
12865
12866 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12867
12868 Copying and distribution of this file, with or without modification, are
12869 permitted in any medium without royalty provided the copyright notice
12870 and this notice are preserved. This file is offered as-is, without any
12871 warranty.
12872
12873 
12874 File: autoconf-archive.info, Node: ax_cxx_have_hash, Next: ax_cxx_have_ieee_math, Prev: ax_cxx_have_function, Up: The Macros
12875
12876 ax_cxx_have_hash
12877 ================
12878
12879 Synopsis
12880 ********
12881
12882 AX_CXX_HAVE_HASH()
12883
12884 Description
12885 ***********
12886
12887 This macro checks if std::hash, added in C++11, is defined in the
12888 <functional> header.
12889
12890 If it is, define the ax_cv_cxx_have_hash environment variable to "yes"
12891 and define HAVE_CXX_HASH.
12892
12893 Source Code
12894 ***********
12895
12896 Download the latest version of 'ax_cxx_have_hash.m4'
12897 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_hash.m4)
12898 or browse the macro's revision history
12899 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_hash.m4).
12900
12901 License
12902 *******
12903
12904 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12905
12906 Copying and distribution of this file, with or without modification, are
12907 permitted in any medium without royalty provided the copyright notice
12908 and this notice are preserved. This file is offered as-is, without any
12909 warranty.
12910
12911 
12912 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
12913
12914 ax_cxx_have_ieee_math
12915 =====================
12916
12917 Synopsis
12918 ********
12919
12920 AX_CXX_HAVE_IEEE_MATH
12921
12922 Description
12923 ***********
12924
12925 If the compiler has the double math functions acosh, asinh, atanh, cbrt,
12926 expm1, erf, erfc, isnan, j0, j1, jn, gamma, lgamma, ilogb, logb, log1p,
12927 rint, y0, y1, yn, hypot, nextafter, remainder and scalb, define
12928 HAVE_IEEE_MATH.
12929
12930 Source Code
12931 ***********
12932
12933 Download the latest version of 'ax_cxx_have_ieee_math.m4'
12934 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ieee_math.m4)
12935 or browse the macro's revision history
12936 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ieee_math.m4).
12937
12938 License
12939 *******
12940
12941 Copyright (C) 2008 Todd Veldhuizen
12942 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
12943
12944 Copying and distribution of this file, with or without modification, are
12945 permitted in any medium without royalty provided the copyright notice
12946 and this notice are preserved. This file is offered as-is, without any
12947 warranty.
12948
12949 
12950 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
12951
12952 ax_cxx_have_is_bind_expression
12953 ==============================
12954
12955 Synopsis
12956 ********
12957
12958 AX_CXX_HAVE_IS_BIND_EXPRESSION()
12959
12960 Description
12961 ***********
12962
12963 This macro checks if std::is_bind_expression, added in C++11, is defined
12964 in the <functional> header.
12965
12966 If it is, define the ax_cv_cxx_have_is_bind_expression environment
12967 variable to "yes" and define HAVE_CXX_IS_BIND_EXPRESSION.
12968
12969 Source Code
12970 ***********
12971
12972 Download the latest version of 'ax_cxx_have_is_bind_expression.m4'
12973 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_is_bind_expression.m4)
12974 or browse the macro's revision history
12975 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_is_bind_expression.m4).
12976
12977 License
12978 *******
12979
12980 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12981
12982 Copying and distribution of this file, with or without modification, are
12983 permitted in any medium without royalty provided the copyright notice
12984 and this notice are preserved. This file is offered as-is, without any
12985 warranty.
12986
12987 
12988 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
12989
12990 ax_cxx_have_is_placeholder
12991 ==========================
12992
12993 Synopsis
12994 ********
12995
12996 AX_CXX_HAVE_IS_PLACEHOLDER()
12997
12998 Description
12999 ***********
13000
13001 This macro checks if std::is_placeholder, added in C++11, is defined in
13002 the <functional> header.
13003
13004 If it is, define the ax_cv_cxx_have_is_placeholder environment variable
13005 to "yes" and define HAVE_CXX_IS_PLACEHOLDER.
13006
13007 Source Code
13008 ***********
13009
13010 Download the latest version of 'ax_cxx_have_is_placeholder.m4'
13011 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_is_placeholder.m4)
13012 or browse the macro's revision history
13013 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_is_placeholder.m4).
13014
13015 License
13016 *******
13017
13018 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
13019
13020 Copying and distribution of this file, with or without modification, are
13021 permitted in any medium without royalty provided the copyright notice
13022 and this notice are preserved. This file is offered as-is, without any
13023 warranty.
13024
13025 
13026 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
13027
13028 ax_cxx_have_koenig_lookup
13029 =========================
13030
13031 Synopsis
13032 ********
13033
13034 AX_CXX_HAVE_KOENIG_LOOKUP
13035
13036 Description
13037 ***********
13038
13039 Define CXX_HAVE_KOENIG_LOOKUP if the C++ compiler has argument-dependent
13040 name lookup (a.k.a. Koenig lookup).
13041
13042 Source Code
13043 ***********
13044
13045 Download the latest version of 'ax_cxx_have_koenig_lookup.m4'
13046 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_koenig_lookup.m4)
13047 or browse the macro's revision history
13048 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_koenig_lookup.m4).
13049
13050 License
13051 *******
13052
13053 Copyright (C) 2008 Steve M. Robbins <smr@debian.org>
13054
13055 Copying and distribution of this file, with or without modification, are
13056 permitted in any medium without royalty provided the copyright notice
13057 and this notice are preserved. This file is offered as-is, without any
13058 warranty.
13059
13060 
13061 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
13062
13063 ax_cxx_have_long_long_for_iostream
13064 ==================================
13065
13066 Synopsis
13067 ********
13068
13069 AX_CXX_HAVE_LONG_LONG_FOR_IOSTREAM
13070
13071 Description
13072 ***********
13073
13074 Check if the compiler allow long long for [i|o]stream Seems that OpenBSD
13075 / gcc-3 don't have it.
13076
13077 Eg:
13078
13079 #include <iostream>
13080 #ifdef HAVE_SSTREAM
13081 #include <strstream>
13082 #else
13083 #include <sstream>
13084 #endif
13085 #ifdef HAVE_NAMESPACES
13086 using namespace std;
13087 #endif
13088 ostream str((streambuf *)0);
13089 long long lo=1;
13090 str <<
13091 #ifdef HAVE_LONG_LONG_FOR_IOSTREAM
13092 (long int)
13093 #endif
13094 lo;
13095
13096 Source Code
13097 ***********
13098
13099 Download the latest version of 'ax_cxx_have_long_long_for_iostream.m4'
13100 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_long_long_for_iostream.m4)
13101 or browse the macro's revision history
13102 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_long_long_for_iostream.m4).
13103
13104 License
13105 *******
13106
13107 Copyright (C) 2008 Alain BARBET <alian@cpan.org>
13108
13109 This program is free software; you can redistribute it and/or modify it
13110 under the terms of the GNU General Public License as published by the
13111 Free Software Foundation; either version 2 of the License, or (at your
13112 option) any later version.
13113
13114 This program is distributed in the hope that it will be useful, but
13115 WITHOUT ANY WARRANTY; without even the implied warranty of
13116 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
13117 Public License for more details.
13118
13119 You should have received a copy of the GNU General Public License along
13120 with this program. If not, see <https://www.gnu.org/licenses/>.
13121
13122 As a special exception, the respective Autoconf Macro's copyright owner
13123 gives unlimited permission to copy, distribute and modify the configure
13124 scripts that are the output of Autoconf when processing the Macro. You
13125 need not follow the terms of the GNU General Public License when using
13126 or distributing such scripts, even though portions of the text of the
13127 Macro appear in them. The GNU General Public License (GPL) does govern
13128 all other use of the material that constitutes the Autoconf Macro.
13129
13130 This special exception to the GPL applies to versions of the Autoconf
13131 Macro released by the Autoconf Archive. When you make and distribute a
13132 modified version of the Autoconf Macro, you may extend this special
13133 exception to the GPL to apply to your modified version as well.
13134
13135 
13136 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
13137
13138 ax_cxx_have_mem_fn
13139 ==================
13140
13141 Synopsis
13142 ********
13143
13144 AX_CXX_HAVE_MEM_FN()
13145
13146 Description
13147 ***********
13148
13149 This macro checks if std::mem_fn, added in C++11, is defined in the
13150 <functional> header.
13151
13152 If it is, define the ax_cv_cxx_have_mem_fn environment variable to "yes"
13153 and define HAVE_CXX_MEM_FN.
13154
13155 Source Code
13156 ***********
13157
13158 Download the latest version of 'ax_cxx_have_mem_fn.m4'
13159 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_mem_fn.m4)
13160 or browse the macro's revision history
13161 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_mem_fn.m4).
13162
13163 License
13164 *******
13165
13166 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
13167
13168 Copying and distribution of this file, with or without modification, are
13169 permitted in any medium without royalty provided the copyright notice
13170 and this notice are preserved. This file is offered as-is, without any
13171 warranty.
13172
13173 
13174 File: autoconf-archive.info, Node: ax_cxx_have_numeric_limits, Next: ax_cxx_have_placeholders, Prev: ax_cxx_have_mem_fn, Up: The Macros
13175
13176 ax_cxx_have_numeric_limits
13177 ==========================
13178
13179 Synopsis
13180 ********
13181
13182 AX_CXX_HAVE_NUMERIC_LIMITS
13183
13184 Description
13185 ***********
13186
13187 If the compiler has numeric_limits<T>, define HAVE_NUMERIC_LIMITS.
13188
13189 Source Code
13190 ***********
13191
13192 Download the latest version of 'ax_cxx_have_numeric_limits.m4'
13193 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_numeric_limits.m4)
13194 or browse the macro's revision history
13195 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_numeric_limits.m4).
13196
13197 License
13198 *******
13199
13200 Copyright (C) 2008 Todd Veldhuizen
13201 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13202
13203 Copying and distribution of this file, with or without modification, are
13204 permitted in any medium without royalty provided the copyright notice
13205 and this notice are preserved. This file is offered as-is, without any
13206 warranty.
13207
13208 
13209 File: autoconf-archive.info, Node: ax_cxx_have_placeholders, Next: ax_cxx_have_ref, Prev: ax_cxx_have_numeric_limits, Up: The Macros
13210
13211 ax_cxx_have_placeholders
13212 ========================
13213
13214 Synopsis
13215 ********
13216
13217 AX_CXX_HAVE_PLACEHOLDERS()
13218
13219 Description
13220 ***********
13221
13222 This macro checks if std::placeholders, added in C++11, is defined in
13223 the <functional> header.
13224
13225 If it is, define the ax_cv_cxx_have_placeholders environment variable to
13226 "yes" and define HAVE_CXX_PLACEHOLDERS.
13227
13228 Source Code
13229 ***********
13230
13231 Download the latest version of 'ax_cxx_have_placeholders.m4'
13232 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_placeholders.m4)
13233 or browse the macro's revision history
13234 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_placeholders.m4).
13235
13236 License
13237 *******
13238
13239 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
13240
13241 Copying and distribution of this file, with or without modification, are
13242 permitted in any medium without royalty provided the copyright notice
13243 and this notice are preserved. This file is offered as-is, without any
13244 warranty.
13245
13246 
13247 File: autoconf-archive.info, Node: ax_cxx_have_ref, Next: ax_cxx_have_reference_wrapper, Prev: ax_cxx_have_placeholders, Up: The Macros
13248
13249 ax_cxx_have_ref
13250 ===============
13251
13252 Synopsis
13253 ********
13254
13255 AX_CXX_HAVE_REF()
13256
13257 Description
13258 ***********
13259
13260 This macro checks if std::ref, added in C++11, is defined in the
13261 <functional> header.
13262
13263 If it is, define the ax_cv_cxx_have_ref environment variable to "yes"
13264 and define HAVE_CXX_REF.
13265
13266 Source Code
13267 ***********
13268
13269 Download the latest version of 'ax_cxx_have_ref.m4'
13270 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ref.m4)
13271 or browse the macro's revision history
13272 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ref.m4).
13273
13274 License
13275 *******
13276
13277 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
13278
13279 Copying and distribution of this file, with or without modification, are
13280 permitted in any medium without royalty provided the copyright notice
13281 and this notice are preserved. This file is offered as-is, without any
13282 warranty.
13283
13284 
13285 File: autoconf-archive.info, Node: ax_cxx_have_reference_wrapper, Next: ax_cxx_have_sstream, Prev: ax_cxx_have_ref, Up: The Macros
13286
13287 ax_cxx_have_reference_wrapper
13288 =============================
13289
13290 Synopsis
13291 ********
13292
13293 AX_CXX_HAVE_REFERENCE_WRAPPER()
13294
13295 Description
13296 ***********
13297
13298 This macro checks if std::reference_wrapper, added in C++11, is defined
13299 in the <functional> header.
13300
13301 If it is, define the ax_cv_cxx_have_reference_wrapper environment
13302 variable to "yes" and define HAVE_CXX_REFERENCE_WRAPPER.
13303
13304 Source Code
13305 ***********
13306
13307 Download the latest version of 'ax_cxx_have_reference_wrapper.m4'
13308 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_reference_wrapper.m4)
13309 or browse the macro's revision history
13310 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_reference_wrapper.m4).
13311
13312 License
13313 *******
13314
13315 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
13316
13317 Copying and distribution of this file, with or without modification, are
13318 permitted in any medium without royalty provided the copyright notice
13319 and this notice are preserved. This file is offered as-is, without any
13320 warranty.
13321
13322 
13323 File: autoconf-archive.info, Node: ax_cxx_have_sstream, Next: ax_cxx_have_std, Prev: ax_cxx_have_reference_wrapper, Up: The Macros
13324
13325 ax_cxx_have_sstream
13326 ===================
13327
13328 Synopsis
13329 ********
13330
13331 AX_CXX_HAVE_SSTREAM
13332
13333 Description
13334 ***********
13335
13336 If the C++ library has a working stringstream, define HAVE_SSTREAM.
13337
13338 Source Code
13339 ***********
13340
13341 Download the latest version of 'ax_cxx_have_sstream.m4'
13342 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_sstream.m4)
13343 or browse the macro's revision history
13344 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_sstream.m4).
13345
13346 License
13347 *******
13348
13349 Copyright (C) 2008 Ben Stanley <Ben.Stanley@exemail.com.au>
13350
13351 Copying and distribution of this file, with or without modification, are
13352 permitted in any medium without royalty provided the copyright notice
13353 and this notice are preserved. This file is offered as-is, without any
13354 warranty.
13355
13356 
13357 File: autoconf-archive.info, Node: ax_cxx_have_std, Next: ax_cxx_have_stl, Prev: ax_cxx_have_sstream, Up: The Macros
13358
13359 ax_cxx_have_std
13360 ===============
13361
13362 Synopsis
13363 ********
13364
13365 AX_CXX_HAVE_STD
13366
13367 Description
13368 ***********
13369
13370 If the compiler supports ISO C++ standard library (i.e., can include the
13371 files iostream, map, iomanip and cmath), define HAVE_STD.
13372
13373 Source Code
13374 ***********
13375
13376 Download the latest version of 'ax_cxx_have_std.m4'
13377 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_std.m4)
13378 or browse the macro's revision history
13379 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_std.m4).
13380
13381 License
13382 *******
13383
13384 Copyright (C) 2008 Todd Veldhuizen
13385 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13386
13387 Copying and distribution of this file, with or without modification, are
13388 permitted in any medium without royalty provided the copyright notice
13389 and this notice are preserved. This file is offered as-is, without any
13390 warranty.
13391
13392 
13393 File: autoconf-archive.info, Node: ax_cxx_have_stl, Next: ax_cxx_have_string_push_back, Prev: ax_cxx_have_std, Up: The Macros
13394
13395 ax_cxx_have_stl
13396 ===============
13397
13398 Synopsis
13399 ********
13400
13401 AX_CXX_HAVE_STL
13402
13403 Description
13404 ***********
13405
13406 If the compiler supports the Standard Template Library, define HAVE_STL.
13407
13408 Source Code
13409 ***********
13410
13411 Download the latest version of 'ax_cxx_have_stl.m4'
13412 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_stl.m4)
13413 or browse the macro's revision history
13414 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_stl.m4).
13415
13416 License
13417 *******
13418
13419 Copyright (C) 2008 Todd Veldhuizen
13420 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13421
13422 Copying and distribution of this file, with or without modification, are
13423 permitted in any medium without royalty provided the copyright notice
13424 and this notice are preserved. This file is offered as-is, without any
13425 warranty.
13426
13427 
13428 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
13429
13430 ax_cxx_have_string_push_back
13431 ============================
13432
13433 Synopsis
13434 ********
13435
13436 AX_CXX_HAVE_STRING_PUSH_BACK
13437
13438 Description
13439 ***********
13440
13441 If the implementation of the C++ library provides the method
13442 std::string::push_back (char), define HAVE_STRING_PUSH_BACK.
13443
13444 Source Code
13445 ***********
13446
13447 Download the latest version of 'ax_cxx_have_string_push_back.m4'
13448 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_string_push_back.m4)
13449 or browse the macro's revision history
13450 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_string_push_back.m4).
13451
13452 License
13453 *******
13454
13455 Copyright (C) 2008 Jan Langer <jan@langernetz.de>
13456
13457 Copying and distribution of this file, with or without modification, are
13458 permitted in any medium without royalty provided the copyright notice
13459 and this notice are preserved. This file is offered as-is, without any
13460 warranty.
13461
13462 
13463 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
13464
13465 ax_cxx_have_system_v_math
13466 =========================
13467
13468 Synopsis
13469 ********
13470
13471 AX_CXX_HAVE_SYSTEM_V_MATH
13472
13473 Description
13474 ***********
13475
13476 If the compiler has the double math functions _class, trunc, itrunc,
13477 nearest, rsqrt, uitrunc, copysign, drem, finite, and unordered, define
13478 HAVE_SYSTEM_V_MATH.
13479
13480 Source Code
13481 ***********
13482
13483 Download the latest version of 'ax_cxx_have_system_v_math.m4'
13484 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_system_v_math.m4)
13485 or browse the macro's revision history
13486 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_system_v_math.m4).
13487
13488 License
13489 *******
13490
13491 Copyright (C) 2008 Todd Veldhuizen
13492 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13493
13494 Copying and distribution of this file, with or without modification, are
13495 permitted in any medium without royalty provided the copyright notice
13496 and this notice are preserved. This file is offered as-is, without any
13497 warranty.
13498
13499 
13500 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
13501
13502 ax_cxx_have_valarray
13503 ====================
13504
13505 Synopsis
13506 ********
13507
13508 AX_CXX_HAVE_VALARRAY
13509
13510 Description
13511 ***********
13512
13513 If the compiler has valarray<T>, define HAVE_VALARRAY.
13514
13515 Source Code
13516 ***********
13517
13518 Download the latest version of 'ax_cxx_have_valarray.m4'
13519 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_valarray.m4)
13520 or browse the macro's revision history
13521 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_valarray.m4).
13522
13523 License
13524 *******
13525
13526 Copyright (C) 2008 Todd Veldhuizen
13527 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13528
13529 Copying and distribution of this file, with or without modification, are
13530 permitted in any medium without royalty provided the copyright notice
13531 and this notice are preserved. This file is offered as-is, without any
13532 warranty.
13533
13534 
13535 File: autoconf-archive.info, Node: ax_cxx_have_vector_at, Next: ax_cxx_header_pre_stdcxx, Prev: ax_cxx_have_valarray, Up: The Macros
13536
13537 ax_cxx_have_vector_at
13538 =====================
13539
13540 Synopsis
13541 ********
13542
13543 AX_CXX_HAVE_VECTOR_AT
13544
13545 Description
13546 ***********
13547
13548 If the implementation of the C++ library provides the method
13549 std::vector::at(std::size_t), define HAVE_VECTOR_AT.
13550
13551 Source Code
13552 ***********
13553
13554 Download the latest version of 'ax_cxx_have_vector_at.m4'
13555 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_vector_at.m4)
13556 or browse the macro's revision history
13557 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_vector_at.m4).
13558
13559 License
13560 *******
13561
13562 Copyright (C) 2008 Jan Langer <jan@langernetz.de>
13563
13564 Copying and distribution of this file, with or without modification, are
13565 permitted in any medium without royalty provided the copyright notice
13566 and this notice are preserved. This file is offered as-is, without any
13567 warranty.
13568
13569 
13570 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
13571
13572 ax_cxx_header_pre_stdcxx
13573 ========================
13574
13575 Synopsis
13576 ********
13577
13578 AX_CXX_HEADER_PRE_STDCXX
13579
13580 Description
13581 ***********
13582
13583 Check whether pre-ISO-C++ headers exist.
13584
13585 Source Code
13586 ***********
13587
13588 Download the latest version of 'ax_cxx_header_pre_stdcxx.m4'
13589 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_pre_stdcxx.m4)
13590 or browse the macro's revision history
13591 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_pre_stdcxx.m4).
13592
13593 License
13594 *******
13595
13596 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13597
13598 Copying and distribution of this file, with or without modification, are
13599 permitted in any medium without royalty provided the copyright notice
13600 and this notice are preserved. This file is offered as-is, without any
13601 warranty.
13602
13603 
13604 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
13605
13606 ax_cxx_header_stdcxx_0x
13607 =======================
13608
13609 Synopsis
13610 ********
13611
13612 AX_CXX_HEADER_STDCXX_0X
13613
13614 Description
13615 ***********
13616
13617 Check for library coverage of the C++0x standard.
13618
13619 Source Code
13620 ***********
13621
13622 Download the latest version of 'ax_cxx_header_stdcxx_0x.m4'
13623 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_stdcxx_0x.m4)
13624 or browse the macro's revision history
13625 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_stdcxx_0x.m4).
13626
13627 License
13628 *******
13629
13630 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13631
13632 Copying and distribution of this file, with or without modification, are
13633 permitted in any medium without royalty provided the copyright notice
13634 and this notice are preserved. This file is offered as-is, without any
13635 warranty.
13636
13637 
13638 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
13639
13640 ax_cxx_header_stdcxx_98
13641 =======================
13642
13643 Synopsis
13644 ********
13645
13646 AX_CXX_HEADER_STDCXX_98
13647
13648 Description
13649 ***********
13650
13651 Check for complete library coverage of the C++1998/2003 standard.
13652
13653 Source Code
13654 ***********
13655
13656 Download the latest version of 'ax_cxx_header_stdcxx_98.m4'
13657 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_stdcxx_98.m4)
13658 or browse the macro's revision history
13659 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_stdcxx_98.m4).
13660
13661 License
13662 *******
13663
13664 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13665
13666 Copying and distribution of this file, with or without modification, are
13667 permitted in any medium without royalty provided the copyright notice
13668 and this notice are preserved. This file is offered as-is, without any
13669 warranty.
13670
13671 
13672 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
13673
13674 ax_cxx_header_stdcxx_tr1
13675 ========================
13676
13677 Synopsis
13678 ********
13679
13680 AX_CXX_HEADER_STDCXX_TR1
13681
13682 Description
13683 ***********
13684
13685 Check for library coverage of the TR1 standard.
13686
13687 Source Code
13688 ***********
13689
13690 Download the latest version of 'ax_cxx_header_stdcxx_tr1.m4'
13691 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_stdcxx_tr1.m4)
13692 or browse the macro's revision history
13693 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_stdcxx_tr1.m4).
13694
13695 License
13696 *******
13697
13698 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13699
13700 Copying and distribution of this file, with or without modification, are
13701 permitted in any medium without royalty provided the copyright notice
13702 and this notice are preserved. This file is offered as-is, without any
13703 warranty.
13704
13705 
13706 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
13707
13708 ax_cxx_header_tr1_unordered_map
13709 ===============================
13710
13711 Synopsis
13712 ********
13713
13714 AX_CXX_HEADER_TR1_UNORDERED_MAP
13715
13716 Description
13717 ***********
13718
13719 Check whether the TR1 include <unordered_map> exists and define
13720 HAVE_TR1_UNORDERED_MAP if it does.
13721
13722 Source Code
13723 ***********
13724
13725 Download the latest version of 'ax_cxx_header_tr1_unordered_map.m4'
13726 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_tr1_unordered_map.m4)
13727 or browse the macro's revision history
13728 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_tr1_unordered_map.m4).
13729
13730 License
13731 *******
13732
13733 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13734
13735 Copying and distribution of this file, with or without modification, are
13736 permitted in any medium without royalty provided the copyright notice
13737 and this notice are preserved. This file is offered as-is, without any
13738 warranty.
13739
13740 
13741 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
13742
13743 ax_cxx_header_tr1_unordered_set
13744 ===============================
13745
13746 Synopsis
13747 ********
13748
13749 AX_CXX_HEADER_TR1_UNORDERED_SET
13750
13751 Description
13752 ***********
13753
13754 Check whether the TR1 include <unordered_set> exists and define
13755 HAVE_TR1_UNORDERED_SET if it does.
13756
13757 Source Code
13758 ***********
13759
13760 Download the latest version of 'ax_cxx_header_tr1_unordered_set.m4'
13761 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_tr1_unordered_set.m4)
13762 or browse the macro's revision history
13763 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_tr1_unordered_set.m4).
13764
13765 License
13766 *******
13767
13768 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13769
13770 Copying and distribution of this file, with or without modification, are
13771 permitted in any medium without royalty provided the copyright notice
13772 and this notice are preserved. This file is offered as-is, without any
13773 warranty.
13774
13775 
13776 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
13777
13778 ax_cxx_header_unordered_map
13779 ===========================
13780
13781 Synopsis
13782 ********
13783
13784 AX_CXX_HEADER_UNORDERED_MAP
13785
13786 Description
13787 ***********
13788
13789 Check whether the C++ include <unordered_map> exists and define
13790 HAVE_UNORDERED_MAP if it does.
13791
13792 Source Code
13793 ***********
13794
13795 Download the latest version of 'ax_cxx_header_unordered_map.m4'
13796 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_unordered_map.m4)
13797 or browse the macro's revision history
13798 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_unordered_map.m4).
13799
13800 License
13801 *******
13802
13803 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13804
13805 Copying and distribution of this file, with or without modification, are
13806 permitted in any medium without royalty provided the copyright notice
13807 and this notice are preserved. This file is offered as-is, without any
13808 warranty.
13809
13810 
13811 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
13812
13813 ax_cxx_header_unordered_set
13814 ===========================
13815
13816 Synopsis
13817 ********
13818
13819 AX_CXX_HEADER_UNORDERED_SET
13820
13821 Description
13822 ***********
13823
13824 Check whether the C++ include <unordered_set> exists and define
13825 HAVE_UNORDERED_SET if it does.
13826
13827 Source Code
13828 ***********
13829
13830 Download the latest version of 'ax_cxx_header_unordered_set.m4'
13831 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_unordered_set.m4)
13832 or browse the macro's revision history
13833 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_unordered_set.m4).
13834
13835 License
13836 *******
13837
13838 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13839
13840 Copying and distribution of this file, with or without modification, are
13841 permitted in any medium without royalty provided the copyright notice
13842 and this notice are preserved. This file is offered as-is, without any
13843 warranty.
13844
13845 
13846 File: autoconf-archive.info, Node: ax_cxx_ldflags_std_lang, Next: ax_cxx_member_constants, Prev: ax_cxx_header_unordered_set, Up: The Macros
13847
13848 ax_cxx_ldflags_std_lang
13849 =======================
13850
13851 Synopsis
13852 ********
13853
13854 AX_CXX_LDFLAGS_STD_LANG(LD-FLAGS)
13855
13856 Description
13857 ***********
13858
13859 Append to LD-FLAGS the set of link-time flags that should be passed to
13860 the C++ compiler in order to enable use of C++ features as defined in
13861 the ANSI C++ standard (eg. use of standard iostream classes in the
13862 'std' namespace, etc.). Note that if you use GNU Libtool you may need
13863 to prefix each of those switches with '-Xlinker' so that Libtool doesn't
13864 discard them (see Libtool's manual and 'AC_LIBTOOLIZE_LDFLAGS').
13865
13866 Source Code
13867 ***********
13868
13869 Download the latest version of 'ax_cxx_ldflags_std_lang.m4'
13870 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_ldflags_std_lang.m4)
13871 or browse the macro's revision history
13872 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_ldflags_std_lang.m4).
13873
13874 License
13875 *******
13876
13877 Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
13878
13879 Copying and distribution of this file, with or without modification, are
13880 permitted in any medium without royalty provided the copyright notice
13881 and this notice are preserved. This file is offered as-is, without any
13882 warranty.
13883
13884 
13885 File: autoconf-archive.info, Node: ax_cxx_member_constants, Next: ax_cxx_member_templates, Prev: ax_cxx_ldflags_std_lang, Up: The Macros
13886
13887 ax_cxx_member_constants
13888 =======================
13889
13890 Synopsis
13891 ********
13892
13893 AX_CXX_MEMBER_CONSTANTS
13894
13895 Description
13896 ***********
13897
13898 If the compiler supports member constants, define HAVE_MEMBER_CONSTANTS.
13899
13900 Source Code
13901 ***********
13902
13903 Download the latest version of 'ax_cxx_member_constants.m4'
13904 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_member_constants.m4)
13905 or browse the macro's revision history
13906 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_member_constants.m4).
13907
13908 License
13909 *******
13910
13911 Copyright (C) 2008 Todd Veldhuizen
13912 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13913
13914 Copying and distribution of this file, with or without modification, are
13915 permitted in any medium without royalty provided the copyright notice
13916 and this notice are preserved. This file is offered as-is, without any
13917 warranty.
13918
13919 
13920 File: autoconf-archive.info, Node: ax_cxx_member_templates, Next: ax_cxx_member_templates_outside_class, Prev: ax_cxx_member_constants, Up: The Macros
13921
13922 ax_cxx_member_templates
13923 =======================
13924
13925 Synopsis
13926 ********
13927
13928 AX_CXX_MEMBER_TEMPLATES
13929
13930 Description
13931 ***********
13932
13933 If the compiler supports member templates, define HAVE_MEMBER_TEMPLATES.
13934
13935 Source Code
13936 ***********
13937
13938 Download the latest version of 'ax_cxx_member_templates.m4'
13939 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_member_templates.m4)
13940 or browse the macro's revision history
13941 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_member_templates.m4).
13942
13943 License
13944 *******
13945
13946 Copyright (C) 2008 Todd Veldhuizen
13947 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13948
13949 Copying and distribution of this file, with or without modification, are
13950 permitted in any medium without royalty provided the copyright notice
13951 and this notice are preserved. This file is offered as-is, without any
13952 warranty.
13953
13954 
13955 File: autoconf-archive.info, Node: ax_cxx_member_templates_outside_class, Next: ax_cxx_mutable, Prev: ax_cxx_member_templates, Up: The Macros
13956
13957 ax_cxx_member_templates_outside_class
13958 =====================================
13959
13960 Synopsis
13961 ********
13962
13963 AX_CXX_MEMBER_TEMPLATES_OUTSIDE_CLASS
13964
13965 Description
13966 ***********
13967
13968 If the compiler supports member templates outside the class declaration,
13969 define HAVE_MEMBER_TEMPLATES_OUTSIDE_CLASS.
13970
13971 Source Code
13972 ***********
13973
13974 Download the latest version of
13975 'ax_cxx_member_templates_outside_class.m4'
13976 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_member_templates_outside_class.m4)
13977 or browse the macro's revision history
13978 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_member_templates_outside_class.m4).
13979
13980 License
13981 *******
13982
13983 Copyright (C) 2008 Todd Veldhuizen
13984 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13985
13986 Copying and distribution of this file, with or without modification, are
13987 permitted in any medium without royalty provided the copyright notice
13988 and this notice are preserved. This file is offered as-is, without any
13989 warranty.
13990
13991 
13992 File: autoconf-archive.info, Node: ax_cxx_mutable, Next: ax_cxx_namespace_std, Prev: ax_cxx_member_templates_outside_class, Up: The Macros
13993
13994 ax_cxx_mutable
13995 ==============
13996
13997 Synopsis
13998 ********
13999
14000 AX_CXX_MUTABLE
14001
14002 Description
14003 ***********
14004
14005 If the compiler allows modifying class data members flagged with the
14006 mutable keyword even in const objects (for example in the body of a
14007 const member function), define HAVE_MUTABLE.
14008
14009 Source Code
14010 ***********
14011
14012 Download the latest version of 'ax_cxx_mutable.m4'
14013 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_mutable.m4)
14014 or browse the macro's revision history
14015 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_mutable.m4).
14016
14017 License
14018 *******
14019
14020 Copyright (C) 2008 Todd Veldhuizen
14021 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14022
14023 Copying and distribution of this file, with or without modification, are
14024 permitted in any medium without royalty provided the copyright notice
14025 and this notice are preserved. This file is offered as-is, without any
14026 warranty.
14027
14028 
14029 File: autoconf-archive.info, Node: ax_cxx_namespace_std, Next: ax_cxx_namespaces, Prev: ax_cxx_mutable, Up: The Macros
14030
14031 ax_cxx_namespace_std
14032 ====================
14033
14034 Synopsis
14035 ********
14036
14037 AX_CXX_NAMESPACE_STD
14038
14039 Description
14040 ***********
14041
14042 If the compiler supports namespace std, define HAVE_NAMESPACE_STD.
14043
14044 Source Code
14045 ***********
14046
14047 Download the latest version of 'ax_cxx_namespace_std.m4'
14048 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_namespace_std.m4)
14049 or browse the macro's revision history
14050 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_namespace_std.m4).
14051
14052 License
14053 *******
14054
14055 Copyright (C) 2009 Todd Veldhuizen
14056 Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
14057
14058 Copying and distribution of this file, with or without modification, are
14059 permitted in any medium without royalty provided the copyright notice
14060 and this notice are preserved. This file is offered as-is, without any
14061 warranty.
14062
14063 
14064 File: autoconf-archive.info, Node: ax_cxx_namespaces, Next: ax_cxx_new_for_scoping, Prev: ax_cxx_namespace_std, Up: The Macros
14065
14066 ax_cxx_namespaces
14067 =================
14068
14069 Synopsis
14070 ********
14071
14072 AX_CXX_NAMESPACES
14073
14074 Description
14075 ***********
14076
14077 If the compiler can prevent names clashes using namespaces, define
14078 HAVE_NAMESPACES.
14079
14080 Source Code
14081 ***********
14082
14083 Download the latest version of 'ax_cxx_namespaces.m4'
14084 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_namespaces.m4)
14085 or browse the macro's revision history
14086 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_namespaces.m4).
14087
14088 License
14089 *******
14090
14091 Copyright (C) 2008 Todd Veldhuizen
14092 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14093 Copyright (C) 2013 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
14094
14095 Copying and distribution of this file, with or without modification, are
14096 permitted in any medium without royalty provided the copyright notice
14097 and this notice are preserved. This file is offered as-is, without any
14098 warranty.
14099
14100 
14101 File: autoconf-archive.info, Node: ax_cxx_new_for_scoping, Next: ax_cxx_old_for_scoping, Prev: ax_cxx_namespaces, Up: The Macros
14102
14103 ax_cxx_new_for_scoping
14104 ======================
14105
14106 Synopsis
14107 ********
14108
14109 AX_CXX_NEW_FOR_SCOPING
14110
14111 Description
14112 ***********
14113
14114 If the compiler accepts the new for scoping rules (the scope of a
14115 variable declared inside the parentheses is restricted to the for-body),
14116 define HAVE_NEW_FOR_SCOPING.
14117
14118 Source Code
14119 ***********
14120
14121 Download the latest version of 'ax_cxx_new_for_scoping.m4'
14122 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_new_for_scoping.m4)
14123 or browse the macro's revision history
14124 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_new_for_scoping.m4).
14125
14126 License
14127 *******
14128
14129 Copyright (C) 2008 Todd Veldhuizen
14130 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14131
14132 Copying and distribution of this file, with or without modification, are
14133 permitted in any medium without royalty provided the copyright notice
14134 and this notice are preserved. This file is offered as-is, without any
14135 warranty.
14136
14137 
14138 File: autoconf-archive.info, Node: ax_cxx_old_for_scoping, Next: ax_cxx_partial_ordering, Prev: ax_cxx_new_for_scoping, Up: The Macros
14139
14140 ax_cxx_old_for_scoping
14141 ======================
14142
14143 Synopsis
14144 ********
14145
14146 AX_CXX_OLD_FOR_SCOPING
14147
14148 Description
14149 ***********
14150
14151 If the compiler accepts the old for scoping rules (the scope of a
14152 variable declared inside the parentheses extends outside the for-body),
14153 define HAVE_OLD_FOR_SCOPING. Note that some compilers (notably g++ and
14154 egcs) support both new and old rules since they accept the old rules and
14155 only generate a warning.
14156
14157 Source Code
14158 ***********
14159
14160 Download the latest version of 'ax_cxx_old_for_scoping.m4'
14161 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_old_for_scoping.m4)
14162 or browse the macro's revision history
14163 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_old_for_scoping.m4).
14164
14165 License
14166 *******
14167
14168 Copyright (C) 2008 Todd Veldhuizen
14169 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14170
14171 Copying and distribution of this file, with or without modification, are
14172 permitted in any medium without royalty provided the copyright notice
14173 and this notice are preserved. This file is offered as-is, without any
14174 warranty.
14175
14176 
14177 File: autoconf-archive.info, Node: ax_cxx_partial_ordering, Next: ax_cxx_partial_specialization, Prev: ax_cxx_old_for_scoping, Up: The Macros
14178
14179 ax_cxx_partial_ordering
14180 =======================
14181
14182 Synopsis
14183 ********
14184
14185 AX_CXX_PARTIAL_ORDERING
14186
14187 Description
14188 ***********
14189
14190 If the compiler supports partial ordering, define HAVE_PARTIAL_ORDERING.
14191
14192 Source Code
14193 ***********
14194
14195 Download the latest version of 'ax_cxx_partial_ordering.m4'
14196 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_partial_ordering.m4)
14197 or browse the macro's revision history
14198 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_partial_ordering.m4).
14199
14200 License
14201 *******
14202
14203 Copyright (C) 2008 Todd Veldhuizen
14204 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14205
14206 Copying and distribution of this file, with or without modification, are
14207 permitted in any medium without royalty provided the copyright notice
14208 and this notice are preserved. This file is offered as-is, without any
14209 warranty.
14210
14211 
14212 File: autoconf-archive.info, Node: ax_cxx_partial_specialization, Next: ax_cxx_reinterpret_cast, Prev: ax_cxx_partial_ordering, Up: The Macros
14213
14214 ax_cxx_partial_specialization
14215 =============================
14216
14217 Synopsis
14218 ********
14219
14220 AX_CXX_PARTIAL_SPECIALIZATION
14221
14222 Description
14223 ***********
14224
14225 If the compiler supports partial specialization, define
14226 HAVE_PARTIAL_SPECIALIZATION.
14227
14228 Source Code
14229 ***********
14230
14231 Download the latest version of 'ax_cxx_partial_specialization.m4'
14232 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_partial_specialization.m4)
14233 or browse the macro's revision history
14234 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_partial_specialization.m4).
14235
14236 License
14237 *******
14238
14239 Copyright (C) 2008 Todd Veldhuizen
14240 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14241
14242 Copying and distribution of this file, with or without modification, are
14243 permitted in any medium without royalty provided the copyright notice
14244 and this notice are preserved. This file is offered as-is, without any
14245 warranty.
14246
14247 
14248 File: autoconf-archive.info, Node: ax_cxx_reinterpret_cast, Next: ax_cxx_restrict_this, Prev: ax_cxx_partial_specialization, Up: The Macros
14249
14250 ax_cxx_reinterpret_cast
14251 =======================
14252
14253 Synopsis
14254 ********
14255
14256 AX_CXX_REINTERPRET_CAST
14257
14258 Description
14259 ***********
14260
14261 If the compiler supports reinterpret_cast<>, define
14262 HAVE_REINTERPRET_CAST.
14263
14264 Source Code
14265 ***********
14266
14267 Download the latest version of 'ax_cxx_reinterpret_cast.m4'
14268 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_reinterpret_cast.m4)
14269 or browse the macro's revision history
14270 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_reinterpret_cast.m4).
14271
14272 License
14273 *******
14274
14275 Copyright (C) 2008 Todd Veldhuizen
14276 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14277
14278 Copying and distribution of this file, with or without modification, are
14279 permitted in any medium without royalty provided the copyright notice
14280 and this notice are preserved. This file is offered as-is, without any
14281 warranty.
14282
14283 
14284 File: autoconf-archive.info, Node: ax_cxx_restrict_this, Next: ax_cxx_rtti, Prev: ax_cxx_reinterpret_cast, Up: The Macros
14285
14286 ax_cxx_restrict_this
14287 ====================
14288
14289 Synopsis
14290 ********
14291
14292 AX_CXX_RESTRICT_THIS
14293
14294 Description
14295 ***********
14296
14297 Determine whether the C++ compiler supports qualifying a member function
14298 with a restricted "this" pointer. Define "restrict_this" to the correct
14299 spelling; use like this:
14300
14301 T::fn() restrict_this { /* code */ }
14302
14303 Otherwise, define "restrict_this" to be empty.
14304
14305 Note: the syntax above is a GCC extension. If your C++ compiler has a
14306 different way of applying the 'restricted' qualifier to the "this"
14307 pointer, please consider reporting it.
14308
14309 Source Code
14310 ***********
14311
14312 Download the latest version of 'ax_cxx_restrict_this.m4'
14313 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_restrict_this.m4)
14314 or browse the macro's revision history
14315 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_restrict_this.m4).
14316
14317 License
14318 *******
14319
14320 Copyright (C) 2010 Riccardo Murri <riccardo.murri@gmail.com>
14321
14322 This program is free software; you can redistribute it and/or modify it
14323 under the terms of the GNU General Public License as published by the
14324 Free Software Foundation, either version 3 of the License, or (at your
14325 option) any later version.
14326
14327 This program is distributed in the hope that it will be useful, but
14328 WITHOUT ANY WARRANTY; without even the implied warranty of
14329 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
14330 Public License for more details.
14331
14332 Under Section 7 of GPL version 3, you are granted additional permissions
14333 described in the Autoconf Configure Script Exception, version 3.0, as
14334 published by the Free Software Foundation.
14335
14336 You should have received a copy of the GNU General Public License and a
14337 copy of the Autoconf Configure Script Exception along with this program;
14338 see the files COPYINGv3 and COPYING.EXCEPTION respectively. If not, see
14339 <https://www.gnu.org/licenses/>.
14340
14341 
14342 File: autoconf-archive.info, Node: ax_cxx_rtti, Next: ax_cxx_rvalue_references, Prev: ax_cxx_restrict_this, Up: The Macros
14343
14344 ax_cxx_rtti
14345 ===========
14346
14347 Synopsis
14348 ********
14349
14350 AX_CXX_RTTI
14351
14352 Description
14353 ***********
14354
14355 If the compiler supports Run-Time Type Identification (typeinfo header
14356 and typeid keyword), define HAVE_RTTI.
14357
14358 Source Code
14359 ***********
14360
14361 Download the latest version of 'ax_cxx_rtti.m4'
14362 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_rtti.m4)
14363 or browse the macro's revision history
14364 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_rtti.m4).
14365
14366 License
14367 *******
14368
14369 Copyright (C) 2008 Todd Veldhuizen
14370 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14371
14372 Copying and distribution of this file, with or without modification, are
14373 permitted in any medium without royalty provided the copyright notice
14374 and this notice are preserved. This file is offered as-is, without any
14375 warranty.
14376
14377 
14378 File: autoconf-archive.info, Node: ax_cxx_rvalue_references, Next: ax_cxx_static_cast, Prev: ax_cxx_rtti, Up: The Macros
14379
14380 ax_cxx_rvalue_references
14381 ========================
14382
14383 Synopsis
14384 ********
14385
14386 AX_CXX_RVALUE_REFERENCES
14387
14388 Description
14389 ***********
14390
14391 Check whether C++11 rvalue references are supported. If they are, the
14392 macro HAVE_RVALUE_REFERENCES is defined.
14393
14394 Does not ensure that the compiler is in C++11 mode.
14395
14396 Source Code
14397 ***********
14398
14399 Download the latest version of 'ax_cxx_rvalue_references.m4'
14400 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_rvalue_references.m4)
14401 or browse the macro's revision history
14402 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_rvalue_references.m4).
14403
14404 License
14405 *******
14406
14407 Copyright (C) 2012 Tudor Bosman <tudorb@gmail.com>
14408
14409 Copying and distribution of this file, with or without modification, are
14410 permitted in any medium without royalty provided the copyright notice
14411 and this notice are preserved. This file is offered as-is, without any
14412 warranty.
14413
14414 
14415 File: autoconf-archive.info, Node: ax_cxx_static_cast, Next: ax_cxx_stlport_hashmap, Prev: ax_cxx_rvalue_references, Up: The Macros
14416
14417 ax_cxx_static_cast
14418 ==================
14419
14420 Synopsis
14421 ********
14422
14423 AX_CXX_STATIC_CAST
14424
14425 Description
14426 ***********
14427
14428 If the compiler supports static_cast<>, define HAVE_STATIC_CAST.
14429
14430 Source Code
14431 ***********
14432
14433 Download the latest version of 'ax_cxx_static_cast.m4'
14434 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_static_cast.m4)
14435 or browse the macro's revision history
14436 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_static_cast.m4).
14437
14438 License
14439 *******
14440
14441 Copyright (C) 2008 Todd Veldhuizen
14442 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14443
14444 Copying and distribution of this file, with or without modification, are
14445 permitted in any medium without royalty provided the copyright notice
14446 and this notice are preserved. This file is offered as-is, without any
14447 warranty.
14448
14449 
14450 File: autoconf-archive.info, Node: ax_cxx_stlport_hashmap, Next: ax_cxx_template_keyword_qualifier, Prev: ax_cxx_static_cast, Up: The Macros
14451
14452 ax_cxx_stlport_hashmap
14453 ======================
14454
14455 Synopsis
14456 ********
14457
14458 AX_CXX_STLPORT_HASHMAP
14459
14460 Description
14461 ***********
14462
14463 Test for the presence of STLport's hashmap extension.
14464
14465 Source Code
14466 ***********
14467
14468 Download the latest version of 'ax_cxx_stlport_hashmap.m4'
14469 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_stlport_hashmap.m4)
14470 or browse the macro's revision history
14471 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_stlport_hashmap.m4).
14472
14473 License
14474 *******
14475
14476 Copyright (C) 2008 Patrick Mauritz <oxygene@studentenbude.ath.cx>
14477
14478 Copying and distribution of this file, with or without modification, are
14479 permitted in any medium without royalty provided the copyright notice
14480 and this notice are preserved. This file is offered as-is, without any
14481 warranty.
14482
14483 
14484 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
14485
14486 ax_cxx_template_keyword_qualifier
14487 =================================
14488
14489 Synopsis
14490 ********
14491
14492 AX_CXX_TEMPLATE_KEYWORD_QUALIFIER
14493
14494 Description
14495 ***********
14496
14497 If the compiler supports use of the template keyword as a qualifier,
14498 define HAVE_TEMPLATE_KEYWORD_QUALIFIER.
14499
14500 Source Code
14501 ***********
14502
14503 Download the latest version of 'ax_cxx_template_keyword_qualifier.m4'
14504 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_keyword_qualifier.m4)
14505 or browse the macro's revision history
14506 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_keyword_qualifier.m4).
14507
14508 License
14509 *******
14510
14511 Copyright (C) 2008 Todd Veldhuizen
14512 Copyright (C) 2008 Bernardo Innocenti
14513 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14514
14515 Copying and distribution of this file, with or without modification, are
14516 permitted in any medium without royalty provided the copyright notice
14517 and this notice are preserved. This file is offered as-is, without any
14518 warranty.
14519
14520 
14521 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
14522
14523 ax_cxx_template_qualified_base_class
14524 ====================================
14525
14526 Synopsis
14527 ********
14528
14529 AX_CXX_TEMPLATE_QUALIFIED_BASE_CLASS
14530
14531 Description
14532 ***********
14533
14534 If the compiler supports template-qualified base class specifiers,
14535 define HAVE_TEMPLATE_QUALIFIED_BASE_CLASS.
14536
14537 Source Code
14538 ***********
14539
14540 Download the latest version of 'ax_cxx_template_qualified_base_class.m4'
14541 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_qualified_base_class.m4)
14542 or browse the macro's revision history
14543 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_qualified_base_class.m4).
14544
14545 License
14546 *******
14547
14548 Copyright (C) 2008 Todd Veldhuizen
14549 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14550
14551 Copying and distribution of this file, with or without modification, are
14552 permitted in any medium without royalty provided the copyright notice
14553 and this notice are preserved. This file is offered as-is, without any
14554 warranty.
14555
14556 
14557 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
14558
14559 ax_cxx_template_qualified_return_type
14560 =====================================
14561
14562 Synopsis
14563 ********
14564
14565 AX_CXX_TEMPLATE_QUALIFIED_RETURN_TYPE
14566
14567 Description
14568 ***********
14569
14570 If the compiler supports template-qualified return types, define
14571 HAVE_TEMPLATE_QUALIFIED_RETURN_TYPE.
14572
14573 Source Code
14574 ***********
14575
14576 Download the latest version of
14577 'ax_cxx_template_qualified_return_type.m4'
14578 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_qualified_return_type.m4)
14579 or browse the macro's revision history
14580 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_qualified_return_type.m4).
14581
14582 License
14583 *******
14584
14585 Copyright (C) 2008 Todd Veldhuizen
14586 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14587
14588 Copying and distribution of this file, with or without modification, are
14589 permitted in any medium without royalty provided the copyright notice
14590 and this notice are preserved. This file is offered as-is, without any
14591 warranty.
14592
14593 
14594 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
14595
14596 ax_cxx_template_scoped_argument_matching
14597 ========================================
14598
14599 Synopsis
14600 ********
14601
14602 AX_CXX_TEMPLATE_SCOPED_ARGUMENT_MATCHING
14603
14604 Description
14605 ***********
14606
14607 If the compiler supports function matching with argument types which are
14608 template scope-qualified, define HAVE_TEMPLATE_SCOPED_ARGUMENT_MATCHING.
14609
14610 Source Code
14611 ***********
14612
14613 Download the latest version of
14614 'ax_cxx_template_scoped_argument_matching.m4'
14615 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_scoped_argument_matching.m4)
14616 or browse the macro's revision history
14617 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_scoped_argument_matching.m4).
14618
14619 License
14620 *******
14621
14622 Copyright (C) 2008 Todd Veldhuizen
14623 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14624
14625 Copying and distribution of this file, with or without modification, are
14626 permitted in any medium without royalty provided the copyright notice
14627 and this notice are preserved. This file is offered as-is, without any
14628 warranty.
14629
14630 
14631 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
14632
14633 ax_cxx_templates
14634 ================
14635
14636 Synopsis
14637 ********
14638
14639 AX_CXX_TEMPLATES
14640
14641 Description
14642 ***********
14643
14644 If the compiler supports basic templates, define HAVE_TEMPLATES.
14645
14646 Source Code
14647 ***********
14648
14649 Download the latest version of 'ax_cxx_templates.m4'
14650 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_templates.m4)
14651 or browse the macro's revision history
14652 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_templates.m4).
14653
14654 License
14655 *******
14656
14657 Copyright (C) 2008 Todd Veldhuizen
14658 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14659
14660 Copying and distribution of this file, with or without modification, are
14661 permitted in any medium without royalty provided the copyright notice
14662 and this notice are preserved. This file is offered as-is, without any
14663 warranty.
14664
14665 
14666 File: autoconf-archive.info, Node: ax_cxx_templates_as_template_arguments, Next: ax_cxx_typename, Prev: ax_cxx_templates, Up: The Macros
14667
14668 ax_cxx_templates_as_template_arguments
14669 ======================================
14670
14671 Synopsis
14672 ********
14673
14674 AX_CXX_TEMPLATES_AS_TEMPLATE_ARGUMENTS
14675
14676 Description
14677 ***********
14678
14679 If the compiler supports templates as template arguments, define
14680 HAVE_TEMPLATES_AS_TEMPLATE_ARGUMENTS.
14681
14682 Source Code
14683 ***********
14684
14685 Download the latest version of
14686 'ax_cxx_templates_as_template_arguments.m4'
14687 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_templates_as_template_arguments.m4)
14688 or browse the macro's revision history
14689 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_templates_as_template_arguments.m4).
14690
14691 License
14692 *******
14693
14694 Copyright (C) 2008 Todd Veldhuizen
14695 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14696
14697 Copying and distribution of this file, with or without modification, are
14698 permitted in any medium without royalty provided the copyright notice
14699 and this notice are preserved. This file is offered as-is, without any
14700 warranty.
14701
14702 
14703 File: autoconf-archive.info, Node: ax_cxx_typename, Next: ax_cxx_use_numtrait, Prev: ax_cxx_templates_as_template_arguments, Up: The Macros
14704
14705 ax_cxx_typename
14706 ===============
14707
14708 Synopsis
14709 ********
14710
14711 AX_CXX_TYPENAME
14712
14713 Description
14714 ***********
14715
14716 If the compiler recognizes the typename keyword, define HAVE_TYPENAME.
14717
14718 Source Code
14719 ***********
14720
14721 Download the latest version of 'ax_cxx_typename.m4'
14722 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_typename.m4)
14723 or browse the macro's revision history
14724 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_typename.m4).
14725
14726 License
14727 *******
14728
14729 Copyright (C) 2008 Todd Veldhuizen
14730 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14731
14732 Copying and distribution of this file, with or without modification, are
14733 permitted in any medium without royalty provided the copyright notice
14734 and this notice are preserved. This file is offered as-is, without any
14735 warranty.
14736
14737 
14738 File: autoconf-archive.info, Node: ax_cxx_use_numtrait, Next: ax_cxx_var_prettyfunc, Prev: ax_cxx_typename, Up: The Macros
14739
14740 ax_cxx_use_numtrait
14741 ===================
14742
14743 Synopsis
14744 ********
14745
14746 AX_CXX_USE_NUMTRAIT
14747
14748 Description
14749 ***********
14750
14751 If the compiler supports numeric traits promotions, define
14752 HAVE_USE_NUMTRAIT.
14753
14754 Source Code
14755 ***********
14756
14757 Download the latest version of 'ax_cxx_use_numtrait.m4'
14758 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_use_numtrait.m4)
14759 or browse the macro's revision history
14760 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_use_numtrait.m4).
14761
14762 License
14763 *******
14764
14765 Copyright (C) 2008 Todd Veldhuizen
14766 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14767
14768 Copying and distribution of this file, with or without modification, are
14769 permitted in any medium without royalty provided the copyright notice
14770 and this notice are preserved. This file is offered as-is, without any
14771 warranty.
14772
14773 
14774 File: autoconf-archive.info, Node: ax_cxx_var_prettyfunc, Next: ax_cxx_verbose_terminate_handler, Prev: ax_cxx_use_numtrait, Up: The Macros
14775
14776 ax_cxx_var_prettyfunc
14777 =====================
14778
14779 Synopsis
14780 ********
14781
14782 AX_CXX_VAR_PRETTYFUNC
14783
14784 Description
14785 ***********
14786
14787 This function tries to determine the best C++ macro/identifier that
14788 contains the current function name. Depending on the compiler, this may
14789 be __PRETTY_FUNCTION__ (GCC), __FUNCSIG__ (MSVC), __func__ (C++
14790 standard), __FUNCTION__ (fallback).
14791
14792 The function will define HAVE_PRETTYFUNC if a macro exists, and define
14793 __PRETTYFUNC__ to the best possible macro. When HAVE_PRETTYFUNC is not
14794 defined, __PRETTYFUNC__ will contain the constant string "<<unknown>>".
14795
14796 Source Code
14797 ***********
14798
14799 Download the latest version of 'ax_cxx_var_prettyfunc.m4'
14800 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_var_prettyfunc.m4)
14801 or browse the macro's revision history
14802 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_var_prettyfunc.m4).
14803
14804 License
14805 *******
14806
14807 Copyright (C) 2014 Olaf Lenz <olenz@icp.uni-stuttgart.de>
14808
14809 This program is free software: you can redistribute it and/or modify it
14810 under the terms of the GNU General Public License as published by the
14811 Free Software Foundation, either version 3 of the License, or (at your
14812 option) any later version.
14813
14814 This program is distributed in the hope that it will be useful, but
14815 WITHOUT ANY WARRANTY; without even the implied warranty of
14816 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
14817 Public License for more details.
14818
14819 You should have received a copy of the GNU General Public License along
14820 with this program. If not, see <https://www.gnu.org/licenses/>.
14821
14822 As a special exception, the respective Autoconf Macro's copyright owner
14823 gives unlimited permission to copy, distribute and modify the configure
14824 scripts that are the output of Autoconf when processing the Macro. You
14825 need not follow the terms of the GNU General Public License when using
14826 or distributing such scripts, even though portions of the text of the
14827 Macro appear in them. The GNU General Public License (GPL) does govern
14828 all other use of the material that constitutes the Autoconf Macro.
14829
14830 This special exception to the GPL applies to versions of the Autoconf
14831 Macro released by the Autoconf Archive. When you make and distribute a
14832 modified version of the Autoconf Macro, you may extend this special
14833 exception to the GPL to apply to your modified version as well.
14834
14835 
14836 File: autoconf-archive.info, Node: ax_cxx_verbose_terminate_handler, Next: ax_czmq, Prev: ax_cxx_var_prettyfunc, Up: The Macros
14837
14838 ax_cxx_verbose_terminate_handler
14839 ================================
14840
14841 Synopsis
14842 ********
14843
14844 AX_CXX_VERBOSE_TERMINATE_HANDLER
14845
14846 Description
14847 ***********
14848
14849 Check if the terminate handler for the current compiler/standard library
14850 prints useful information to stdout/stderr (i.e. the type of the
14851 uncaught exception and/or the what() string).
14852
14853 The intended use case for this check is to help program authors decide
14854 if they need to add a top-level try-catch or custom terminate handler to
14855 print useful information if an uncaught exception occurs, or if this
14856 task can be left to the standard library implementation. Alternatively,
14857 it can be used to detect if such output needs to be silenced with a
14858 custom terminate handler.
14859
14860 Output:
14861
14862 Define HAVE_VERBOSE_TERMINATE_HANDLER if useful information is printed.
14863
14864 Source Code
14865 ***********
14866
14867 Download the latest version of 'ax_cxx_verbose_terminate_handler.m4'
14868 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_verbose_terminate_handler.m4)
14869 or browse the macro's revision history
14870 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_verbose_terminate_handler.m4).
14871
14872 License
14873 *******
14874
14875 Copyright (C) 2009 Kevin Locke <klocke@digitalenginesoftware.com>
14876 Copyright (C) 2008 Lapo Luchini <lapo@lapo.it>
14877
14878 Copying and distribution of this file, with or without modification, is
14879 permitted in any medium, without royalty, provided the copyright notice
14880 and this notice are preserved. This file is offered as-is, without any
14881 warranty. This file is offered as-is, without any warranty.
14882
14883 
14884 File: autoconf-archive.info, Node: ax_czmq, Next: ax_decl_wchar_max, Prev: ax_cxx_verbose_terminate_handler, Up: The Macros
14885
14886 ax_czmq
14887 =======
14888
14889 Synopsis
14890 ********
14891
14892 AX_CZMQ([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
14893
14894 Description
14895 ***********
14896
14897 Test for the CZMQ libraries of a particular version (or newer). The
14898 default version tested for is 3.0.0.
14899
14900 The macro tests for CZMQ libraries in the library/include path, and,
14901 when provided, also in the path given by -with-czmq.
14902
14903 This macro calls:
14904
14905 AC_SUBST(CZMQ_CPPFLAGS) / AC_SUBST(CZMQ_LDFLAGS) / AC_SUBST(CZMQ_LIBS)
14906
14907 And sets:
14908
14909 HAVE_CZMQ
14910
14911 Source Code
14912 ***********
14913
14914 Download the latest version of 'ax_czmq.m4'
14915 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_czmq.m4)
14916 or browse the macro's revision history
14917 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_czmq.m4).
14918
14919 License
14920 *******
14921
14922 Copyright (C) 2016 Jeroen Meijer <jjgmeijer@gmail.com>
14923
14924 Copying and distribution of this file, with or without modification, are
14925 permitted in any medium without royalty provided the copyright notice
14926 and this notice are preserved. This file is offered as-is, without any
14927 warranty.
14928
14929 
14930 File: autoconf-archive.info, Node: ax_decl_wchar_max, Next: ax_define_integer_bits, Prev: ax_czmq, Up: The Macros
14931
14932 ax_decl_wchar_max
14933 =================
14934
14935 Synopsis
14936 ********
14937
14938 AX_DECL_WCHAR_MAX
14939
14940 Description
14941 ***********
14942
14943 Checks whether the system headers define WCHAR_MAX or not. If it is
14944 already defined, does nothing. Otherwise checks the size and signedness
14945 of 'wchar_t', and defines WCHAR_MAX to the maximum value that can be
14946 stored in a variable of type 'wchar_t'.
14947
14948 Source Code
14949 ***********
14950
14951 Download the latest version of 'ax_decl_wchar_max.m4'
14952 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_decl_wchar_max.m4)
14953 or browse the macro's revision history
14954 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_decl_wchar_max.m4).
14955
14956 License
14957 *******
14958
14959 Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
14960
14961 Copying and distribution of this file, with or without modification, are
14962 permitted in any medium without royalty provided the copyright notice
14963 and this notice are preserved. This file is offered as-is, without any
14964 warranty.
14965
14966 
14967 File: autoconf-archive.info, Node: ax_define_integer_bits, Next: ax_define_sub_path, Prev: ax_decl_wchar_max, Up: The Macros
14968
14969 ax_define_integer_bits
14970 ======================
14971
14972 Synopsis
14973 ********
14974
14975 AX_DEFINE_INTEGER_BITS (TYPE [, CANDIDATE-TYPE]...)
14976
14977 Description
14978 ***********
14979
14980 Given a TYPE of the form "int##_t" or "uint##_t", see if the datatype
14981 TYPE is predefined. If not, then define TYPE - both with AC_DEFINE and
14982 as a shell variable - to the first datatype of exactly ## bits in a list
14983 of CANDIDATE-TYPEs. If none of the CANDIDATE-TYPEs contains exactly ##
14984 bits, then set the TYPE shell variable to "no".
14985
14986 For example, the following ensures that uint64_t is defined as a 64-bit
14987 datatype:
14988
14989 AX_DEFINE_INTEGER_BITS(uint64_t, unsigned long long, unsigned __int64, long)
14990 if test "$uint64_t" = no; then
14991 AC_MSG_ERROR([unable to continue without a 64-bit datatype])
14992 fi
14993
14994 You should then put the following in your C code to ensure that all
14995 datatypes defined by AX_DEFINE_INTEGER_BITS are visible to your program:
14996
14997 #include "config.h"
14998
14999 #if HAVE_INTTYPES_H
15000 # include <inttypes.h>
15001 #else
15002 # if HAVE_STDINT_H
15003 # include <stdint.h>
15004 # endif
15005 #endif
15006
15007 Source Code
15008 ***********
15009
15010 Download the latest version of 'ax_define_integer_bits.m4'
15011 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_define_integer_bits.m4)
15012 or browse the macro's revision history
15013 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_define_integer_bits.m4).
15014
15015 License
15016 *******
15017
15018 Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
15019
15020 Copying and distribution of this file, with or without modification, are
15021 permitted in any medium without royalty provided the copyright notice
15022 and this notice are preserved. This file is offered as-is, without any
15023 warranty.
15024
15025 
15026 File: autoconf-archive.info, Node: ax_define_sub_path, Next: ax_dirname, Prev: ax_define_integer_bits, Up: The Macros
15027
15028 ax_define_sub_path
15029 ==================
15030
15031 Synopsis
15032 ********
15033
15034 AX_DEFINE_SUB_PATH(DEFNAME, varname, description)
15035
15036 Description
15037 ***********
15038
15039 Look at varname and detect the subpath that it contains relative to
15040 $prefix/$exec_prefix. If the path is indeed relative to
15041 $prefix/$exec_prefix, then a single "./" (dotslash) is prepended,
15042 otherwise it can be seen as an absolute path that cannot be moved, which
15043 you possibly do for "/etc" files, or even those ending up in
15044 "/lib/modules" or "/winnt/system".
15045
15046 This macro is not very intelligent, it's just a first try in this
15047 direction. It does currently just look into the current patterns, and
15048 replaces a ${prefix} with a simple dot. Amazingly, it works quite well
15049 for most packages.
15050
15051 Example (configure.ac):
15052
15053 AX_DEFINE_DIR([EPREFIX], [exec_prefix], [--exec-prefix or default])
15054 AX_DEFINE_SUB_PATH([PATH_LIBDIR], [libdir], [--bindir subdir])
15055 AC_DEFINE_UNQUOTED([PACKAGE],"$PACKAGE", [Name of package])
15056
15057 Example (in C):
15058
15059 static const char _libdir[] = PATH_LIBDIR; /* configure default */
15060 char* libdir;
15061 char* eprefix = getenv (PACKAGE "DIR");
15062 if (! eprefix) eprefix = EPREFIX; /* default */
15063 if (*_libdir != '.') libdir = strdup(_libdir);
15064 else {
15065 libdir = malloc(strlen(eprefix) + strlen(_libdir) + 2);
15066 strcpy(libdir, eprefix);
15067 strcat(libdir, PATH_DELIMITER_STRING);
15068 strcat(libdir, _libdir);
15069 }
15070 ...
15071 free (libdir);
15072
15073 The AX_DEFINE_SUB_PATHS(varnames) macro looks for the given various
15074 install-paths that largely depend on either ${prefix} or ${exec_prefix}.
15075 Just cut out the prefix and ac_define the value. The value is
15076 uppercased and PATH_ prepended ie. ax_define_sub_paths(bindir libdir
15077 pkgdatadir) will create the defines PATH_BINDIR PATH_LIBDIR
15078 PATH_PKGDATADIR - see posix' include/paths.h that creates _PATH_DEV and
15079 friends.
15080
15081 Source Code
15082 ***********
15083
15084 Download the latest version of 'ax_define_sub_path.m4'
15085 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_define_sub_path.m4)
15086 or browse the macro's revision history
15087 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_define_sub_path.m4).
15088
15089 License
15090 *******
15091
15092 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
15093
15094 Copying and distribution of this file, with or without modification, are
15095 permitted in any medium without royalty provided the copyright notice
15096 and this notice are preserved. This file is offered as-is, without any
15097 warranty.
15098
15099 
15100 File: autoconf-archive.info, Node: ax_dirname, Next: ax_dist_msi, Prev: ax_define_sub_path, Up: The Macros
15101
15102 ax_dirname
15103 ==========
15104
15105 Synopsis
15106 ********
15107
15108 AX_DIRNAME(PATHNAME)
15109
15110 Description
15111 ***********
15112
15113 Parts of the implementation have been taken from AS_DIRNAME from the
15114 main autoconf package in generation 2.5x. However, we do only use "sed"
15115 to cut out the dirname, and we do additionally clean up some dir/..
15116 parts in the resulting pattern.
15117
15118 this macro may be used in autoconf 2.13 scripts as well.
15119
15120 Source Code
15121 ***********
15122
15123 Download the latest version of 'ax_dirname.m4'
15124 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dirname.m4)
15125 or browse the macro's revision history
15126 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dirname.m4).
15127
15128 License
15129 *******
15130
15131 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
15132
15133 Copying and distribution of this file, with or without modification, are
15134 permitted in any medium without royalty provided the copyright notice
15135 and this notice are preserved. This file is offered as-is, without any
15136 warranty.
15137
15138 
15139 File: autoconf-archive.info, Node: ax_dist_msi, Next: ax_dist_rpm, Prev: ax_dirname, Up: The Macros
15140
15141 ax_dist_msi
15142 ===========
15143
15144 Synopsis
15145 ********
15146
15147 AX_DIST_MSI([File])
15148
15149 Description
15150 ***********
15151
15152 Adds support for a msi (Microsoft Installer) dist target.
15153
15154 You must manually build the msi file yourself (probably from another
15155 computer). But it will be added to the list of extra bin dists and
15156 flagged for uploading (see ax_extra_dist.m4 and ax_upload.m4 for
15157 details).
15158
15159 Source Code
15160 ***********
15161
15162 Download the latest version of 'ax_dist_msi.m4'
15163 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dist_msi.m4)
15164 or browse the macro's revision history
15165 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dist_msi.m4).
15166
15167 License
15168 *******
15169
15170 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
15171
15172 Copying and distribution of this file, with or without modification, are
15173 permitted in any medium without royalty provided the copyright notice
15174 and this notice are preserved. This file is offered as-is, without any
15175 warranty.
15176
15177 
15178 File: autoconf-archive.info, Node: ax_dist_rpm, Next: ax_dll_string, Prev: ax_dist_msi, Up: The Macros
15179
15180 ax_dist_rpm
15181 ===========
15182
15183 Synopsis
15184 ********
15185
15186 AX_DIST_RPM([SPEC])
15187
15188 Description
15189 ***********
15190
15191 Adds support for a rpm dist target.
15192
15193 You will need to create a spec template with everything except the files
15194 and the Changelog. Use @PACKAGE@ and @VERSION@ to refer to the package
15195 name and version respectively. The files and ChangeLog will be filled
15196 in automatically. For instance:
15197
15198 Summary: Foobar
15199 Name: @PACKAGE@
15200 Version: @VERSION@
15201 Release: 0
15202 License: GPL
15203 Group: Productivity/Networking
15204 Source0: http://somewhere/Foobar/%{name}-%{version}.tar.gz
15205 URL: http://somewhere
15206 BuildRoot: %{_tmppath}/%{name}-root
15207 Prefix: %{_prefix}
15208
15209 %description
15210 Foobar does something
15211
15212 %prep
15213 %setup
15214
15215 %build
15216 %configure
15217 make
15218
15219 %install
15220 %makeinstall
15221
15222 %clean
15223 rm -rf $RPM_BUILD_ROOT
15224
15225 %files
15226 %defattr(-,root,root)
15227
15228 %doc AUTHORS BUGS COPYING INSTALL NEWS README
15229
15230 %changelog
15231
15232 Make sure ax_upload.am is added to aminclude_static.am and you have
15233 'include aminclude_static.am' in Makefile.am
15234
15235 Source Code
15236 ***********
15237
15238 Download the latest version of 'ax_dist_rpm.m4'
15239 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dist_rpm.m4)
15240 or browse the macro's revision history
15241 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dist_rpm.m4).
15242
15243 License
15244 *******
15245
15246 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
15247
15248 Copying and distribution of this file, with or without modification, are
15249 permitted in any medium without royalty provided the copyright notice
15250 and this notice are preserved. This file is offered as-is, without any
15251 warranty.
15252
15253 
15254 File: autoconf-archive.info, Node: ax_dll_string, Next: ax_elisp, Prev: ax_dist_rpm, Up: The Macros
15255
15256 ax_dll_string
15257 =============
15258
15259 Synopsis
15260 ********
15261
15262 AX_DLL_STRING
15263
15264 Description
15265 ***********
15266
15267 Tests for a bug currently in g++ 3.4.4 on Cygwin (maybe other targets
15268 with statically linked libstdc++?) where passing an empty std::string
15269 to a dll will cause a crash on destruction due to incorrect memory
15270 handling. See bug 24196 in gcc's bugzilla for more details:
15271 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196
15272
15273 Source Code
15274 ***********
15275
15276 Download the latest version of 'ax_dll_string.m4'
15277 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dll_string.m4)
15278 or browse the macro's revision history
15279 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dll_string.m4).
15280
15281 License
15282 *******
15283
15284 Copyright (C) 2008 Steven Brown <swbrown@variadic.org>
15285
15286 Copying and distribution of this file, with or without modification, are
15287 permitted in any medium without royalty provided the copyright notice
15288 and this notice are preserved. This file is offered as-is, without any
15289 warranty.
15290
15291 
15292 File: autoconf-archive.info, Node: ax_elisp, Next: ax_enable_builddir, Prev: ax_dll_string, Up: The Macros
15293
15294 ax_elisp
15295 ========
15296
15297 Synopsis
15298 ********
15299
15300 AX_ELISP_CONFIG_FILE(FILENAME)
15301 AX_ELISP_CHECK(SYMBOL,DESCRIPTION,BODY,SUCCESS-EXPR)
15302 AX_ELISP_CHECK_FEATURE(SYMBOL)
15303 AX_ELISP_CHECK_FBOUNDP(SYMBOL,[FEATURE [...]])
15304 AX_ELISP_CHECK_BOUNDP(SYMBOL,[FEATURE [...]])
15305
15306 Description
15307 ***********
15308
15309 This is a simple library to check the Emacs reality by way of Emacs Lisp
15310 forms evaluated under $EMACS -batch -Q. This means you MUST have the
15311 shell variable EMACS set to a valid Emacs executable prior to the first
15312 call to any of the AX_ELISP_CHECK et al macros. Those work by saving
15313 their results to the file defined by calling AX_ELISP_CONFIG_FILE so you
15314 MUST call that prior, too. For example:
15315
15316 dnl Arrange to save config answers in $top_builddir/lisp/config.el.
15317 AX_ELISP_CONFIG_FILE([lisp/config.el])
15318
15319 dnl Set shell variable EMACS and AC_SUBST it, too.
15320 dnl (NB: This is a separate Autoconf Archive macro.)
15321 AX_PROG_EMACS
15322
15323 In the following detailed descriptions, SYMBOL stands for an Emacs Lisp
15324 symbol, which may contain hyphens, e.g., 'define-error' or 'org-src'.
15325 Likewise, FEATURE is an Emacs Lisp symbol (naming a feature). BODY and
15326 SUCCESS-EXPR are Emacs Lisp forms, zero or more for BODY and exactly one
15327 for SUCCESS-EXPR. In these forms you must take care to avoid apostrophe
15328 (U+27). Instead of 'foo, write (quote foo).
15329
15330 * AX_ELISP_CONFIG_FILE(FILENAME)
15331
15332 This arranges for future AX_ELISP_CHECK (et al) calls to save their
15333 results in FILENAME. May be called multiple times. FILENAME should be
15334 relative to the top build dir.
15335
15336 * AX_ELISP_CHECK(SYMBOL,DESCRIPTION,BODY,SUCCESS-EXPR)
15337
15338 This is the general macro that the other AX_ELISP_CHECK* macros use. It
15339 constructs a short Emacs Lisp file comprising BODY and evaluates it via
15340 $EMACS -batch -Q. The exit value of this script depends on the result of
15341 evaluating SUCCESS-EXPR: non-nil is success and nil is failure. On
15342 success, append SYMBOL on a line of its own to the config file. This
15343 macro uses AC_CACHE_CHECK and passes DESCRIPTION to it.
15344
15345 * AX_ELISP_CHECK_FEATURE(FEATURE)
15346
15347 This checks if (require (quote FEATURE)) is successful. If so, add
15348 featurep-FEATURE to the config file (NB the "featurep-" prefix).
15349
15350 * AX_ELISP_CHECK_FBOUNDP(SYMBOL,[FEATURE [...]])
15351
15352 This checks if (fboundp (quote SYMBOL)) is successful. If so, append
15353 SYMBOL to the config file. Optional 2nd arg is a space-separated list
15354 of features to require prior to the fboundp check.
15355
15356 * AX_ELISP_CHECK_BOUNDP(SYMBOL,[FEATURE [...]])
15357
15358 This checks if (boundp (quote SYMBOL)) is successful. If so, append
15359 SYMBOL to the config file. Optional 2nd arg is a space-separated list
15360 of features to require prior to the boundp check.
15361
15362 Source Code
15363 ***********
15364
15365 Download the latest version of 'ax_elisp.m4'
15366 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_elisp.m4)
15367 or browse the macro's revision history
15368 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_elisp.m4).
15369
15370 License
15371 *******
15372
15373 Copyright (C) 2016-2017 Thien-Thi Nguyen
15374
15375 This program is free software; you can redistribute it and/or modify it
15376 under the terms of the GNU General Public License as published by the
15377 Free Software Foundation; either version 3 of the License, or (at your
15378 option) any later version.
15379
15380 This program is distributed in the hope that it will be useful, but
15381 WITHOUT ANY WARRANTY; without even the implied warranty of
15382 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
15383 Public License for more details.
15384
15385 You should have received a copy of the GNU General Public License along
15386 with this program. If not, see <https://www.gnu.org/licenses/>.
15387
15388 As a special exception, the respective Autoconf Macro's copyright owner
15389 gives unlimited permission to copy, distribute and modify the configure
15390 scripts that are the output of Autoconf when processing the Macro. You
15391 need not follow the terms of the GNU General Public License when using
15392 or distributing such scripts, even though portions of the text of the
15393 Macro appear in them. The GNU General Public License (GPL) does govern
15394 all other use of the material that constitutes the Autoconf Macro.
15395
15396 This special exception to the GPL applies to versions of the Autoconf
15397 Macro released by the Autoconf Archive. When you make and distribute a
15398 modified version of the Autoconf Macro, you may extend this special
15399 exception to the GPL to apply to your modified version as well.
15400
15401 
15402 File: autoconf-archive.info, Node: ax_enable_builddir, Next: ax_execinfo, Prev: ax_elisp, Up: The Macros
15403
15404 ax_enable_builddir
15405 ==================
15406
15407 Synopsis
15408 ********
15409
15410 AX_ENABLE_BUILDDIR [(dirstring-or-command [,Makefile.mk [,-all]])]
15411
15412 Description
15413 ***********
15414
15415 If the current configure was run within the srcdir then we move all
15416 configure-files into a subdir and let the configure steps continue
15417 there. We provide an option -disable-builddir to suppress the move into
15418 a separate builddir.
15419
15420 Defaults:
15421
15422 $1 = $host (overridden with $HOST)
15423 $2 = Makefile.mk
15424 $3 = -all
15425
15426 This macro must be called before AM_INIT_AUTOMAKE. It creates a default
15427 toplevel srcdir Makefile from the information found in the created
15428 toplevel builddir Makefile. It just copies the variables and
15429 rule-targets, each extended with a default rule-execution that recurses
15430 into the build directory of the current "HOST". You can override the
15431 auto-detection through 'config.guess' and build-time of course, as in
15432
15433 make HOST=i386-mingw-cross
15434
15435 which can of course set at configure time as well using
15436
15437 configure --host=i386-mingw-cross
15438
15439 After the default has been created, additional rules can be appended
15440 that will not just recurse into the subdirectories and only ever exist
15441 in the srcdir toplevel makefile - these parts are read from the $2 =
15442 Makefile.mk file
15443
15444 The automatic rules are usually scanning the toplevel Makefile for lines
15445 like '#### $host |$builddir' to recognize the place where to recurse
15446 into. Usually, the last one is the only one used. However, almost all
15447 targets have an additional "*-all" rule which makes the script to
15448 recurse into _all_ variants of the current HOST (!!) setting. The
15449 "-all" suffix can be overridden for the macro as well.
15450
15451 a special rule is only given for things like "dist" that will copy the
15452 tarball from the builddir to the sourcedir (or $(PUB)) for reason of
15453 convenience.
15454
15455 Source Code
15456 ***********
15457
15458 Download the latest version of 'ax_enable_builddir.m4'
15459 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_enable_builddir.m4)
15460 or browse the macro's revision history
15461 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_enable_builddir.m4).
15462
15463 License
15464 *******
15465
15466 Copyright (C) 2009 Guido U. Draheim <guidod@gmx.de>
15467 Copyright (C) 2009 Alan Jenkins <alan-jenkins@tuffmail.co.uk>
15468
15469 This program is free software; you can redistribute it and/or modify it
15470 under the terms of the GNU General Public License as published by the
15471 Free Software Foundation; either version 3 of the License, or (at your
15472 option) any later version.
15473
15474 This program is distributed in the hope that it will be useful, but
15475 WITHOUT ANY WARRANTY; without even the implied warranty of
15476 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
15477 Public License for more details.
15478
15479 You should have received a copy of the GNU General Public License along
15480 with this program. If not, see <https://www.gnu.org/licenses/>.
15481
15482 As a special exception, the respective Autoconf Macro's copyright owner
15483 gives unlimited permission to copy, distribute and modify the configure
15484 scripts that are the output of Autoconf when processing the Macro. You
15485 need not follow the terms of the GNU General Public License when using
15486 or distributing such scripts, even though portions of the text of the
15487 Macro appear in them. The GNU General Public License (GPL) does govern
15488 all other use of the material that constitutes the Autoconf Macro.
15489
15490 This special exception to the GPL applies to versions of the Autoconf
15491 Macro released by the Autoconf Archive. When you make and distribute a
15492 modified version of the Autoconf Macro, you may extend this special
15493 exception to the GPL to apply to your modified version as well.
15494
15495 
15496 File: autoconf-archive.info, Node: ax_execinfo, Next: ax_expand_prefix, Prev: ax_enable_builddir, Up: The Macros
15497
15498 ax_execinfo
15499 ===========
15500
15501 Synopsis
15502 ********
15503
15504 AX_EXECINFO([ACTION-IF-EXECINFO-H-IS-FOUND], [ACTION-IF-EXECINFO-H-IS-NOT-FOUND], [ADDITIONAL-TYPES-LIST])
15505
15506 Description
15507 ***********
15508
15509 Checks for execinfo.h header and if the len parameter/return type can be
15510 found from a list, also define backtrace_size_t to that type.
15511
15512 By default the list of types to try contains int and size_t, but should
15513 some yet undiscovered system use e.g. unsigned, the 3rd argument can be
15514 used for extensions. I'd like to hear of further suggestions.
15515
15516 Executes ACTION-IF-EXECINFO-H-IS-FOUND when present and the execinfo.h
15517 header is found or ACTION-IF-EXECINFO-H-IS-NOT-FOUND in case the header
15518 seems unavailable.
15519
15520 Also adds -lexecinfo to LIBS on BSD if needed.
15521
15522 Source Code
15523 ***********
15524
15525 Download the latest version of 'ax_execinfo.m4'
15526 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_execinfo.m4)
15527 or browse the macro's revision history
15528 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_execinfo.m4).
15529
15530 License
15531 *******
15532
15533 Copyright (C) 2014 Thomas Jahns <jahns@dkrz.de>
15534
15535 Copying and distribution of this file, with or without modification, are
15536 permitted in any medium without royalty provided the copyright notice
15537 and this notice are preserved. This file is offered as-is, without any
15538 warranty.
15539
15540 
15541 File: autoconf-archive.info, Node: ax_expand_prefix, Next: ax_ext, Prev: ax_execinfo, Up: The Macros
15542
15543 ax_expand_prefix
15544 ================
15545
15546 Synopsis
15547 ********
15548
15549 AX_EXPAND_PREFIX
15550
15551 Description
15552 ***********
15553
15554 When $prefix and $exec_prefix are still set to NONE then set them to the
15555 usual default values - being based on $ac_default_prefix. - this macro
15556 can be AC_REQUIREd by other macros that need to compute values for
15557 installation directories. It has been observed that it was done wrong
15558 over and over again, so this is a bit more safe to do.
15559
15560 remember - setting exec_prefix='${prefix}' needs you interpolate
15561 directories multiple times, it is not sufficient to just say
15562 MYVAR="${datadir}/putter" but you do have to run 'eval' a few times,
15563 sth. like MYVAR='eval "echo \"$MYVAR\""' done at least two times.
15564
15565 The implementation of this macro simply picks up the lines that would be
15566 run at the start of AC_OUTPUT anyway to set the prefix/exec_prefix
15567 defaults. Between AC_INIT and the first command to AC_REQUIRE this
15568 macro you can set the two variables to something explicit instead.
15569 Probably, any command to compute installation directories should be run
15570 _after_ AM_INIT_AUTOMAKE
15571
15572 Source Code
15573 ***********
15574
15575 Download the latest version of 'ax_expand_prefix.m4'
15576 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_expand_prefix.m4)
15577 or browse the macro's revision history
15578 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_expand_prefix.m4).
15579
15580 License
15581 *******
15582
15583 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
15584
15585 Copying and distribution of this file, with or without modification, are
15586 permitted in any medium without royalty provided the copyright notice
15587 and this notice are preserved. This file is offered as-is, without any
15588 warranty.
15589
15590 
15591 File: autoconf-archive.info, Node: ax_ext, Next: ax_ext_check_header, Prev: ax_expand_prefix, Up: The Macros
15592
15593 ax_ext
15594 ======
15595
15596 Synopsis
15597 ********
15598
15599 AX_EXT
15600
15601 Description
15602 ***********
15603
15604 Find supported SIMD extensions by requesting cpuid. When a SIMD
15605 extension is found, the -m"simdextensionname" is added to SIMD_FLAGS if
15606 compiler supports it. For example, if "sse2" is available then "-msse2"
15607 is added to SIMD_FLAGS.
15608
15609 Find other supported CPU extensions by requesting cpuid. When a
15610 processor extension is found, the -m"extensionname" is added to
15611 CPUEXT_FLAGS if compiler supports it. For example, if "bmi2" is
15612 available then "-mbmi2" is added to CPUEXT_FLAGS.
15613
15614 This macro calls:
15615
15616 AC_SUBST(SIMD_FLAGS)
15617 AC_SUBST(CPUEXT_FLAGS)
15618
15619 And defines:
15620
15621 HAVE_RDRND / HAVE_BMI1 / HAVE_BMI2 / HAVE_ADX / HAVE_MPX
15622 HAVE_PREFETCHWT1 / HAVE_ABM / HAVE_MMX / HAVE_SSE / HAVE_SSE2
15623 HAVE_SSE3 / HAVE_SSSE3 / HAVE_SSE4_1 / HAVE_SSE4_2 / HAVE_SSE4a
15624 HAVE_SHA / HAVE_AES / HAVE_AVX / HAVE_FMA3 / HAVE_FMA4 / HAVE_XOP
15625 HAVE_AVX2 / HAVE_AVX512_F / HAVE_AVX512_CD / HAVE_AVX512_PF
15626 HAVE_AVX512_ER / HAVE_AVX512_VL / HAVE_AVX512_BW / HAVE_AVX512_DQ
15627 HAVE_AVX512_IFMA / HAVE_AVX512_VBMI / HAVE_ALTIVEC / HAVE_VSX
15628
15629 Source Code
15630 ***********
15631
15632 Download the latest version of 'ax_ext.m4'
15633 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ext.m4)
15634 or browse the macro's revision history
15635 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ext.m4).
15636
15637 License
15638 *******
15639
15640 Copyright (C) 2007 Christophe Tournayre <turn3r@users.sourceforge.net>
15641 Copyright (C) 2013,2015 Michael Petch <mpetch@capp-sysware.com>
15642 Copyright (C) 2017 Rafael de Lucena Valle <rafaeldelucena@gmail.com>
15643
15644 Copying and distribution of this file, with or without modification, are
15645 permitted in any medium without royalty provided the copyright notice
15646 and this notice are preserved. This file is offered as-is, without any
15647 warranty.
15648
15649 
15650 File: autoconf-archive.info, Node: ax_ext_check_header, Next: ax_ext_have_lib, Prev: ax_ext, Up: The Macros
15651
15652 ax_ext_check_header
15653 ===================
15654
15655 Synopsis
15656 ********
15657
15658 AX_EXT_CHECK_HEADER(<header>, <paths>).
15659
15660 Description
15661 ***********
15662
15663 Check for <header> with -I<path> for each path in <paths> if need be.
15664 The first sucecssful path is chosen (eg if you say
15665 AX_EXT_CHECK_HEADER(foo.h, bar baz qux) and -Ibaz works then -Iqux will
15666 not be tested.
15667
15668 Any -I flags that locate a header are added to CFLAGS and CPPFLAGS. AS
15669 with AC_CHECK_HEADERS it causes HAVE_<header>_H to be defined as 1.
15670
15671 Example:
15672
15673 AX_EXT_HAVE_HEADER(openssl/rsa.h, /usr/local/include /usr/local/ssl/include /usr/local/openssl/include)
15674
15675 Source Code
15676 ***********
15677
15678 Download the latest version of 'ax_ext_check_header.m4'
15679 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ext_check_header.m4)
15680 or browse the macro's revision history
15681 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ext_check_header.m4).
15682
15683 License
15684 *******
15685
15686 Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
15687
15688 Copying and distribution of this file, with or without modification, are
15689 permitted in any medium without royalty provided the copyright notice
15690 and this notice are preserved. This file is offered as-is, without any
15691 warranty.
15692
15693 
15694 File: autoconf-archive.info, Node: ax_ext_have_lib, Next: ax_extend_srcdir, Prev: ax_ext_check_header, Up: The Macros
15695
15696 ax_ext_have_lib
15697 ===============
15698
15699 Synopsis
15700 ********
15701
15702 AX_EXT_HAVE_LIB(<directories>, <library>, <function>, <extra libraries>)
15703
15704 Description
15705 ***********
15706
15707 AX_EXT_HAVE_LIB is identical to AC_SEARCH_LIBS with the exception that
15708 will add -L<directory> when looking, and use a different variable for
15709 each directory.
15710
15711 Any required -L<directory> flags are added to LDFLAGS and located
15712 libraies are added to LIBS
15713
15714 Some libraries are unlinkable without other extra libraries, which can
15715 be specified in the 4th argument. The mysql client library needs -lz,
15716 for example.
15717
15718 Example:
15719
15720 AX_EXT_HAVE_LIB(/lib /usr/lib /usr/local/lib /usr/lib/mysql /usr/local/mysql/lib, mysqlclient, mysql_init, [-lz])
15721
15722 which finds the mysql client library if succeeds system when it tries
15723 with -L/usr/lib/mysql then it adds -lmysqlclient to LIBS and
15724 -L/usr/lib/mysql to LDFLAGS.
15725
15726 The test itself is based on the autoconf 2.53 version of AC_SEARCH_LIBS.
15727
15728 Source Code
15729 ***********
15730
15731 Download the latest version of 'ax_ext_have_lib.m4'
15732 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ext_have_lib.m4)
15733 or browse the macro's revision history
15734 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ext_have_lib.m4).
15735
15736 License
15737 *******
15738
15739 Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
15740
15741 Copying and distribution of this file, with or without modification, are
15742 permitted in any medium without royalty provided the copyright notice
15743 and this notice are preserved. This file is offered as-is, without any
15744 warranty.
15745
15746 
15747 File: autoconf-archive.info, Node: ax_extend_srcdir, Next: ax_extra_dist, Prev: ax_ext_have_lib, Up: The Macros
15748
15749 ax_extend_srcdir
15750 ================
15751
15752 Synopsis
15753 ********
15754
15755 AX_EXTEND_SRCDIR
15756
15757 Description
15758 ***********
15759
15760 The AX_EXTEND_SRCDIR macro extends $srcdir by one path component.
15761
15762 As an example, when working in /home/michael/i3-4.12/build and calling
15763 ../configure, your $srcdir is "..". After calling AX_EXTEND_SRCDIR,
15764 $srcdir will be set to "../../i3-4.12".
15765
15766 The result of extending $srcdir is that filenames (e.g. in the output
15767 of the "backtrace" gdb command) will include one more path component of
15768 the absolute source path. The additional path component makes it easy
15769 for users to recognize which files belong to the PACKAGE, and - provided
15770 a dist tarball was unpacked - which version of PACKAGE was used.
15771
15772 As an example, in "backtrace", you will see:
15773
15774 #0 main (argc=1, argv=0x7fffffff1fc8) at ../../i3-4.12/src/main.c:187
15775
15776 instead of:
15777
15778 #0 main (argc=1, argv=0x7fffffff1fc8) at ../src/main.c:187
15779
15780 In case your code uses the __FILE__ preprocessor directive to refer to
15781 the filename of the current source file (e.g. in debug messages), using
15782 the extended path might be undesirable. For this purpose,
15783 AX_EXTEND_SRCDIR defines the output variable AX_EXTEND_SRCDIR_CPPFLAGS,
15784 which can be added to AM_CPPFLAGS in Makefile.am in order to define the
15785 preprocessor directive STRIPPED__FILE__. As an example, when compiling
15786 the file "../../i3-4.12/src/main.c", STRIPPED__FILE__ evaluates to
15787 "main.c".
15788
15789 There are some caveats: When $srcdir is "." (i.e. when ./configure was
15790 called instead of ../configure in a separate build directory),
15791 AX_EXTEND_SRCDIR will still extend $srcdir, but the intended effect will
15792 not be achieved because of the way automake specifies file paths:
15793 automake defines COMPILE to use "'test -f '$source' || echo
15794 '\$(srcdir)/''$source" in order to prefer files in the current directory
15795 over specifying $srcdir explicitly.
15796
15797 The AX_EXTEND_SRCDIR author is not aware of any way to influence this
15798 automake behavior. Patches very welcome.
15799
15800 To work around this issue, you can use AX_ENABLE_BUILDDIR i.e. by
15801 adding the following code to configure.ac:
15802
15803 AX_ENABLE_BUILDDIR
15804 dnl ...
15805 AX_EXTEND_SRCDIR
15806
15807 Then also add this bit to Makefile.am (if you wish to use
15808 STRIPPED__FILE__ in your code):
15809
15810 AM_CPPFLAGS = @AX_EXTEND_SRCDIR_CPPFLAGS@
15811
15812 Source Code
15813 ***********
15814
15815 Download the latest version of 'ax_extend_srcdir.m4'
15816 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_extend_srcdir.m4)
15817 or browse the macro's revision history
15818 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_extend_srcdir.m4).
15819
15820 License
15821 *******
15822
15823 Copyright (C) 2016 Michael Stapelberg <michael@i3wm.org>
15824
15825 Copying and distribution of this file, with or without modification, are
15826 permitted in any medium without royalty provided the copyright notice
15827 and this notice are preserved. This file is offered as-is, without any
15828 warranty.
15829
15830 
15831 File: autoconf-archive.info, Node: ax_extra_dist, Next: ax_f77_cmain_fflags, Prev: ax_extend_srcdir, Up: The Macros
15832
15833 ax_extra_dist
15834 =============
15835
15836 Synopsis
15837 ********
15838
15839 AX_EXTRA_DIST
15840
15841 Description
15842 ***********
15843
15844 Allow support for custom dist targets.
15845
15846 To add custom dist targets, you must create a dist-<TYPE> target within
15847 your Makefile.am, where <TYPE> is the name of the dist and then add
15848 <TYPE> to EXTRA_SRC_DISTS or EXTRA_BIN_DISTS. For example:
15849
15850 dist-foobar:
15851 <rules for making the foobar dist>
15852
15853 EXTRA_BIN_DISTS += foobar
15854
15855 You can then build all the src dist targets by running:
15856
15857 make dist-src
15858
15859 You can build all the binary dist targets by running:
15860
15861 make dist-bin
15862
15863 and you can build both the src and dist targets by running:
15864
15865 make all-dist
15866
15867 Source Code
15868 ***********
15869
15870 Download the latest version of 'ax_extra_dist.m4'
15871 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_extra_dist.m4)
15872 or browse the macro's revision history
15873 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_extra_dist.m4).
15874
15875 License
15876 *******
15877
15878 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
15879
15880 Copying and distribution of this file, with or without modification, are
15881 permitted in any medium without royalty provided the copyright notice
15882 and this notice are preserved. This file is offered as-is, without any
15883 warranty.
15884
15885 
15886 File: autoconf-archive.info, Node: ax_f77_cmain_fflags, Next: ax_f90_header, Prev: ax_extra_dist, Up: The Macros
15887
15888 ax_f77_cmain_fflags
15889 ===================
15890
15891 Synopsis
15892 ********
15893
15894 AX_F77_CMAIN_FFLAGS([ACTION-IF-SUCCEED], [ACTION-IF-FAIL])
15895
15896 Description
15897 ***********
15898
15899 This macro figures out if extra Fortran compiler flags are required in
15900 order to use the Fortran linker to link programs where the main()
15901 function is defined via C (or other language). On some systems, notably
15902 the Alpha with Compaq compilers, the Fortran libraries have their own
15903 main() function which must be disabled.
15904
15905 Runs ACTION-IF-SUCCEED if successful, and ACTION-IF-FAIL if not.
15906 Defines the output variable F77_CMAIN_FFLAGS to any discovered flags.
15907 (If ACTION-IF-FAIL is not specified, defaults to halting with an error.)
15908
15909 This macro is especially useful in conjunction with automake, since by
15910 default automake uses $F77 to link programs mixing C and Fortran,
15911 leading to a link error on some systems. In this case, you should set
15912 the FFLAGS for that program to include F77_CMAIN_FFLAGS.
15913
15914 Source Code
15915 ***********
15916
15917 Download the latest version of 'ax_f77_cmain_fflags.m4'
15918 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f77_cmain_fflags.m4)
15919 or browse the macro's revision history
15920 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f77_cmain_fflags.m4).
15921
15922 License
15923 *******
15924
15925 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
15926
15927 This program is free software: you can redistribute it and/or modify it
15928 under the terms of the GNU General Public License as published by the
15929 Free Software Foundation, either version 3 of the License, or (at your
15930 option) any later version.
15931
15932 This program is distributed in the hope that it will be useful, but
15933 WITHOUT ANY WARRANTY; without even the implied warranty of
15934 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
15935 Public License for more details.
15936
15937 You should have received a copy of the GNU General Public License along
15938 with this program. If not, see <https://www.gnu.org/licenses/>.
15939
15940 As a special exception, the respective Autoconf Macro's copyright owner
15941 gives unlimited permission to copy, distribute and modify the configure
15942 scripts that are the output of Autoconf when processing the Macro. You
15943 need not follow the terms of the GNU General Public License when using
15944 or distributing such scripts, even though portions of the text of the
15945 Macro appear in them. The GNU General Public License (GPL) does govern
15946 all other use of the material that constitutes the Autoconf Macro.
15947
15948 This special exception to the GPL applies to versions of the Autoconf
15949 Macro released by the Autoconf Archive. When you make and distribute a
15950 modified version of the Autoconf Macro, you may extend this special
15951 exception to the GPL to apply to your modified version as well.
15952
15953 
15954 File: autoconf-archive.info, Node: ax_f90_header, Next: ax_f90_internal_headmod, Prev: ax_f77_cmain_fflags, Up: The Macros
15955
15956 ax_f90_header
15957 =============
15958
15959 Synopsis
15960 ********
15961
15962 AX_F90_HEADER(HEADER, HEADER-REGEXP, FUNCTION-BODY [, SEARCH-PATH [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
15963
15964 Description
15965 ***********
15966
15967 Set up the compiler flags to use a given fortran 90 header. HEADER is
15968 the name of the header. HEADER-REGEXP is a regular expression (used by
15969 find) matched by the filename of the header. FUNCTION-BODY is the body
15970 of a function (including the 'use' statement and the call to a function
15971 defined by the module) SEARCH-PATH is a colon-separated list of
15972 directories that will be recursively searched for header files. If
15973 empty, the search path will be composed of $prefix, $ac_default_prefix,
15974 and all directories exactly one level *above* the directories in
15975 $LD_LIBRARY_PATH (the rationale is that when libraries are put in
15976 /some/path/lib, the headers are often put in a directory like
15977 /some/path/include). An output variable named F90_HEADER_xxx will be
15978 set up with the proper flag for substitution in Makefiles (xxx is built
15979 from the first argument, with autoconf traditional escapes).
15980
15981 Source Code
15982 ***********
15983
15984 Download the latest version of 'ax_f90_header.m4'
15985 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_header.m4)
15986 or browse the macro's revision history
15987 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_header.m4).
15988
15989 License
15990 *******
15991
15992 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
15993
15994 Copying and distribution of this file, with or without modification, are
15995 permitted in any medium without royalty provided the copyright notice
15996 and this notice are preserved. This file is offered as-is, without any
15997 warranty.
15998
15999 
16000 File: autoconf-archive.info, Node: ax_f90_internal_headmod, Next: ax_f90_library, Prev: ax_f90_header, Up: The Macros
16001
16002 ax_f90_internal_headmod
16003 =======================
16004
16005 Synopsis
16006 ********
16007
16008 AX_F90_INTERNAL_HEADMOD(MESSAGE, FILE-REGEXP, FLAG, FUNCTION-BODY, OUTPUT-VAR[, SEARCH-PATH [, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
16009
16010 Description
16011 ***********
16012
16013 Internal macro used by AX_F90_HEADER and AX_F90_MODULE.
16014
16015 Source Code
16016 ***********
16017
16018 Download the latest version of 'ax_f90_internal_headmod.m4'
16019 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_internal_headmod.m4)
16020 or browse the macro's revision history
16021 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_internal_headmod.m4).
16022
16023 License
16024 *******
16025
16026 Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
16027
16028 Copying and distribution of this file, with or without modification, are
16029 permitted in any medium without royalty provided the copyright notice
16030 and this notice are preserved. This file is offered as-is, without any
16031 warranty.
16032
16033 
16034 File: autoconf-archive.info, Node: ax_f90_library, Next: ax_f90_library_setup, Prev: ax_f90_internal_headmod, Up: The Macros
16035
16036 ax_f90_library
16037 ==============
16038
16039 Synopsis
16040 ********
16041
16042 AX_F90_LIBRARY(LIBRARY, LIB-REGEXP, FUNCTION-BODY [, SEARCH-PATH [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
16043
16044 Description
16045 ***********
16046
16047 Set up the compiler flags to link a given fortran 90 library LIBRARY is
16048 the name of the library. LIB-REGEXP is a regular expression (used by
16049 find) matched by the filename of the library, this is useful either if
16050 the library filename does not follow the traditional libxxx.a or
16051 libxxx.so pattern, or if some specific information is embedded into the
16052 name, like compiler used, debugging status ...). FUNCTION-BODY is the
16053 body of a function (including the 'use' statements and the call to a
16054 function defined by the library) SEARCH-PATH is a colon-separated list
16055 of directories that will be used as the base directories for 'find' to
16056 look for the library file. If empty, the search path will be composed
16057 of $prefix/lib, $ac_default_prefix/lib, and $LD_LIBRARY_PATH. Two output
16058 variables named F90_LDFLAGS_xxx and F90_LIBS_xxx will be set up with the
16059 proper flag for substitution in Makefiles (xxx is built from the first
16060 argument, with autoconf traditional escapes).
16061
16062 Source Code
16063 ***********
16064
16065 Download the latest version of 'ax_f90_library.m4'
16066 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_library.m4)
16067 or browse the macro's revision history
16068 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_library.m4).
16069
16070 License
16071 *******
16072
16073 Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
16074
16075 Copying and distribution of this file, with or without modification, are
16076 permitted in any medium without royalty provided the copyright notice
16077 and this notice are preserved. This file is offered as-is, without any
16078 warranty.
16079
16080 
16081 File: autoconf-archive.info, Node: ax_f90_library_setup, Next: ax_f90_module, Prev: ax_f90_library, Up: The Macros
16082
16083 ax_f90_library_setup
16084 ====================
16085
16086 Synopsis
16087 ********
16088
16089 AX_F90_LIBRARY_SETUP(LIBRARY, HEADER-REGEXP, MODULE-REGEXP, LIB-REGEXP, FUNCTION-BODY)
16090
16091 Description
16092 ***********
16093
16094 Convenience macro to set up a fortran 90 library in a simplified way.
16095 LIBRARY is the name of the library. HEADER-REGEXP is a regular
16096 expression (used by find) matched by the header file to look for (may be
16097 empty). MODULE-REGEXP is a regular expression (used by find) matched by
16098 the filename of the module (may be empty). LIB-REGEXP is a regular
16099 expression (used by find) matched by the filename of the library, this
16100 is useful either if the library filename does not follow the traditional
16101 libxxx.a or libxxx.so pattern, or if some specific information is
16102 embedded into the name, like compiler used, debugging status ...).
16103 FUNCTION-BODY is the body of a function (including the 'use' statements
16104 and the call to a function defined by the library).
16105
16106 This macro is a simple wrapper around AX_F90_MODULE and AX_F90_LIBRARY
16107 that uses the parameters provided by the end user through a -with-xxx
16108 option to set up the search path. Both a module and a library will be
16109 tested, the same path will be used for both tests, so the path must be
16110 set up with a common parent directory of both the library file and the
16111 module file. The macro also automatically updates the FCFLAGS, LDFLAGS
16112 and LIBS variables in addition to providing the F90_HEADER_xxx,
16113 F90_MODULE_xxx, F90_LDFLAGS_xxx and F90_LIBS_xxx output variables.
16114
16115 Example: suppose you have /home/nostradamus/esoteric/lib/libalchemy.a
16116 and /home/nostradamus/esoteric/mod/alchemy.mod which provides a function
16117 transmute_into_gold, you can use the following in you configure.ac:
16118
16119 AX_F90_MODULE_EXTENSION
16120 if test x$ax_cv_f90_modext = xunknown ; then
16121 AC_MSG_ERROR([unable to find f90 modules extension])
16122 fi
16123 AX_F90_LIBRARY_SETUP(alchemy,[],alchemy.$ax_cv_f90_modext,libalchemy*,[
16124 use alchemy
16125 call transmute_into_gold('lead')
16126 ])
16127
16128 and the user could configure your package using a command like this:
16129
16130 ./configure --with-alchemy=$HOME/esoteric
16131
16132 Source Code
16133 ***********
16134
16135 Download the latest version of 'ax_f90_library_setup.m4'
16136 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_library_setup.m4)
16137 or browse the macro's revision history
16138 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_library_setup.m4).
16139
16140 License
16141 *******
16142
16143 Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
16144
16145 Copying and distribution of this file, with or without modification, are
16146 permitted in any medium without royalty provided the copyright notice
16147 and this notice are preserved. This file is offered as-is, without any
16148 warranty.
16149
16150 
16151 File: autoconf-archive.info, Node: ax_f90_module, Next: ax_f90_module_extension, Prev: ax_f90_library_setup, Up: The Macros
16152
16153 ax_f90_module
16154 =============
16155
16156 Synopsis
16157 ********
16158
16159 AX_F90_MODULE(MODULE, MODULE-REGEXP, FUNCTION-BODY [, SEARCH-PATH [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
16160
16161 Description
16162 ***********
16163
16164 Set up the compiler flags to use a given fortran 90 module MODULE is the
16165 name of the module. MODULE-REGEXP is a regular expression (used by
16166 find) matched by the filename of the module. FUNCTION-BODY is the body
16167 of a function (including the 'use' statement and the call to a function
16168 defined by the module) SEARCH-PATH is a colon-separated list of
16169 directories that will be recursively searched for modules files. If
16170 empty, the search path will be composed of $prefix, $ac_default_prefix,
16171 and all directories exactly one level *above* the directories in
16172 $LD_LIBRARY_PATH (the rationale is that when libraries are put in
16173 /some/path/lib, the modules are often put in a directory like
16174 /some/path/include or /some/path/mod or something similar). An output
16175 variable named F90_MODULE_xxx will be set up with the proper flag for
16176 substitution in Makefiles (xxx is built from the first argument, with
16177 autoconf traditional escapes).
16178
16179 Source Code
16180 ***********
16181
16182 Download the latest version of 'ax_f90_module.m4'
16183 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_module.m4)
16184 or browse the macro's revision history
16185 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_module.m4).
16186
16187 License
16188 *******
16189
16190 Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
16191
16192 Copying and distribution of this file, with or without modification, are
16193 permitted in any medium without royalty provided the copyright notice
16194 and this notice are preserved. This file is offered as-is, without any
16195 warranty.
16196
16197 
16198 File: autoconf-archive.info, Node: ax_f90_module_extension, Next: ax_f90_module_flag, Prev: ax_f90_module, Up: The Macros
16199
16200 ax_f90_module_extension
16201 =======================
16202
16203 Synopsis
16204 ********
16205
16206 AX_F90_MODULE_EXTENSION
16207
16208 Description
16209 ***********
16210
16211 Find Fortran 90 modules file extension. The module extension is stored
16212 in the cached variable ax_f90_modext, or "unknown" if the extension
16213 cannot be found.
16214
16215 Source Code
16216 ***********
16217
16218 Download the latest version of 'ax_f90_module_extension.m4'
16219 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_module_extension.m4)
16220 or browse the macro's revision history
16221 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_module_extension.m4).
16222
16223 License
16224 *******
16225
16226 Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
16227 Copyright (C) 2009 Alexander Pletzer <pletzer@txcorp.com>
16228
16229 Copying and distribution of this file, with or without modification, are
16230 permitted in any medium without royalty provided the copyright notice
16231 and this notice are preserved. This file is offered as-is, without any
16232 warranty.
16233
16234 
16235 File: autoconf-archive.info, Node: ax_f90_module_flag, Next: ax_fc_check_define, Prev: ax_f90_module_extension, Up: The Macros
16236
16237 ax_f90_module_flag
16238 ==================
16239
16240 Synopsis
16241 ********
16242
16243 AX_F90_MODULE_FLAG
16244
16245 Description
16246 ***********
16247
16248 Find Fortran 90 modules inclusion flag. The module inclusion flag is
16249 stored in the cached variable ax_f90_modflag. An error is triggered if
16250 the flag cannot be found. Supported are the -I GNU compilers flag, the
16251 -M SUN compilers flag, and the -p Absoft Pro Fortran compiler flag.
16252
16253 Source Code
16254 ***********
16255
16256 Download the latest version of 'ax_f90_module_flag.m4'
16257 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_module_flag.m4)
16258 or browse the macro's revision history
16259 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_module_flag.m4).
16260
16261 License
16262 *******
16263
16264 Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
16265 Copyright (C) 2009 Julian C. Cummings <cummings@cacr.caltech.edu>
16266 Copyright (C) 2009 Alexander Pletzer <pletzer@txcorp.com>
16267
16268 Copying and distribution of this file, with or without modification, are
16269 permitted in any medium without royalty provided the copyright notice
16270 and this notice are preserved. This file is offered as-is, without any
16271 warranty.
16272
16273 
16274 File: autoconf-archive.info, Node: ax_fc_check_define, Next: ax_file_escapes, Prev: ax_f90_module_flag, Up: The Macros
16275
16276 ax_fc_check_define
16277 ==================
16278
16279 Synopsis
16280 ********
16281
16282 AX_FC_CHECK_DEFINE([symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])
16283
16284 Description
16285 ***********
16286
16287 This macro checks to see if the Fortran pre-processor has a symbol
16288 defined.
16289
16290 Consider a usage like:
16291
16292 AC_FC_PP_DEFINE()
16293 AX_FC_CHECK_DEFINE(__BIGGEST_ALIGNMENT__, [],
16294 AX_APPEND_FLAG([${FC_DEFINE}__BIGGEST_ALIGNMENT__=64],
16295 [FCFLAGS]))
16296
16297 Source Code
16298 ***********
16299
16300 Download the latest version of 'ax_fc_check_define.m4'
16301 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_fc_check_define.m4)
16302 or browse the macro's revision history
16303 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_fc_check_define.m4).
16304
16305 License
16306 *******
16307
16308 Copyright (C) 2016 Timothy Brown <tbrown@freeshell.org>
16309
16310 Copying and distribution of this file, with or without modification, are
16311 permitted in any medium without royalty provided the copyright notice
16312 and this notice are preserved. This file is offered as-is, without any
16313 warranty.
16314
16315 
16316 File: autoconf-archive.info, Node: ax_file_escapes, Next: ax_find_hamcrest, Prev: ax_fc_check_define, Up: The Macros
16317
16318 ax_file_escapes
16319 ===============
16320
16321 Synopsis
16322 ********
16323
16324 AX_FILE_ESCAPES
16325
16326 Description
16327 ***********
16328
16329 Writes the specified data to the specified file.
16330
16331 Source Code
16332 ***********
16333
16334 Download the latest version of 'ax_file_escapes.m4'
16335 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_file_escapes.m4)
16336 or browse the macro's revision history
16337 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_file_escapes.m4).
16338
16339 License
16340 *******
16341
16342 Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
16343
16344 Copying and distribution of this file, with or without modification, are
16345 permitted in any medium without royalty provided the copyright notice
16346 and this notice are preserved. This file is offered as-is, without any
16347 warranty.
16348
16349 
16350 File: autoconf-archive.info, Node: ax_find_hamcrest, Next: ax_find_junit, Prev: ax_file_escapes, Up: The Macros
16351
16352 ax_find_hamcrest
16353 ================
16354
16355 Synopsis
16356 ********
16357
16358 AX_FIND_HAMCREST
16359
16360 Description
16361 ***********
16362
16363 AX_FIND_HAMCREST will look for the Hamcrest java library. When found
16364 its path will be put in HAMCREST_CPF as a classpath fragment.
16365
16366 To override the location define HAMCREST_JAR to the wanted path.
16367
16368 Source Code
16369 ***********
16370
16371 Download the latest version of 'ax_find_hamcrest.m4'
16372 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_find_hamcrest.m4)
16373 or browse the macro's revision history
16374 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_find_hamcrest.m4).
16375
16376 License
16377 *******
16378
16379 Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
16380
16381 Copying and distribution of this file, with or without modification, are
16382 permitted in any medium without royalty provided the copyright notice
16383 and this notice are preserved. This file is offered as-is, without any
16384 warranty.
16385
16386 
16387 File: autoconf-archive.info, Node: ax_find_junit, Next: ax_find_scala_stdlib, Prev: ax_find_hamcrest, Up: The Macros
16388
16389 ax_find_junit
16390 =============
16391
16392 Synopsis
16393 ********
16394
16395 AX_FIND_JUNIT
16396
16397 Description
16398 ***********
16399
16400 AX_FIND_JUNIT will look for the JUnit java library. When found its path
16401 will be put in JUNIT_CPF as a classpath fragment.
16402
16403 To override the location define JUNIT_JAR to the wanted path.
16404
16405 Source Code
16406 ***********
16407
16408 Download the latest version of 'ax_find_junit.m4'
16409 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_find_junit.m4)
16410 or browse the macro's revision history
16411 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_find_junit.m4).
16412
16413 License
16414 *******
16415
16416 Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
16417
16418 Copying and distribution of this file, with or without modification, are
16419 permitted in any medium without royalty provided the copyright notice
16420 and this notice are preserved. This file is offered as-is, without any
16421 warranty.
16422
16423 
16424 File: autoconf-archive.info, Node: ax_find_scala_stdlib, Next: ax_forceinline, Prev: ax_find_junit, Up: The Macros
16425
16426 ax_find_scala_stdlib
16427 ====================
16428
16429 Synopsis
16430 ********
16431
16432 AX_FIND_SCALA_STDLIB
16433
16434 Description
16435 ***********
16436
16437 AX_FIND_SCALA_STDLIB will look for the Scala Standard Library. When
16438 found its path will be put in SCALA_STDLIB_CPF as a classpath fragment.
16439
16440 To override the location define SCALA_STDLIB to the wanted path
16441
16442 Source Code
16443 ***********
16444
16445 Download the latest version of 'ax_find_scala_stdlib.m4'
16446 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_find_scala_stdlib.m4)
16447 or browse the macro's revision history
16448 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_find_scala_stdlib.m4).
16449
16450 License
16451 *******
16452
16453 Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
16454
16455 Copying and distribution of this file, with or without modification,are
16456 permitted in any medium without royalty provided the copyright notice
16457 and this notice are preserved. This file is offered as-is, without any
16458 warranty.
16459
16460 
16461 File: autoconf-archive.info, Node: ax_forceinline, Next: ax_func_accept_argtypes, Prev: ax_find_scala_stdlib, Up: The Macros
16462
16463 ax_forceinline
16464 ==============
16465
16466 Synopsis
16467 ********
16468
16469 AX_FORCEINLINE()
16470
16471 Description
16472 ***********
16473
16474 Provides a test for C compiler support of forced inlining. If usable,
16475 #define FORCEINLINE to the appropriate force inline keyword. Otherwise
16476 #define FORCEINLINE to be 'inline'.
16477
16478 Source Code
16479 ***********
16480
16481 Download the latest version of 'ax_forceinline.m4'
16482 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_forceinline.m4)
16483 or browse the macro's revision history
16484 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_forceinline.m4).
16485
16486 License
16487 *******
16488
16489 Copyright (C) 2008 Alan Woodland <ajw05@aber.ac.uk>
16490 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
16491
16492 Copying and distribution of this file, with or without modification, are
16493 permitted in any medium without royalty provided the copyright notice
16494 and this notice are preserved. This file is offered as-is, without any
16495 warranty.
16496
16497 
16498 File: autoconf-archive.info, Node: ax_func_accept_argtypes, Next: ax_func_getopt_long, Prev: ax_forceinline, Up: The Macros
16499
16500 ax_func_accept_argtypes
16501 =======================
16502
16503 Synopsis
16504 ********
16505
16506 AX_FUNC_ACCEPT_ARGTYPES
16507
16508 Description
16509 ***********
16510
16511 Checks the data types of the three arguments to accept(). Results are
16512 placed into the symbols ACCEPT_TYPE_ARG[123], consistent with the
16513 following example:
16514
16515 #define ACCEPT_TYPE_ARG1 int
16516 #define ACCEPT_TYPE_ARG2 struct sockaddr *
16517 #define ACCEPT_TYPE_ARG3 socklen_t *
16518
16519 This macro requires AC_CHECK_HEADERS to have already verified the
16520 presence or absence of sys/types.h and sys/socket.h.
16521
16522 NOTE: This is just a modified version of the AC_FUNC_SELECT_ARGTYPES
16523 macro. Credit for that one goes to David MacKenzie et. al.
16524
16525 Source Code
16526 ***********
16527
16528 Download the latest version of 'ax_func_accept_argtypes.m4'
16529 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_accept_argtypes.m4)
16530 or browse the macro's revision history
16531 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_accept_argtypes.m4).
16532
16533 License
16534 *******
16535
16536 Copyright (C) 2008 Daniel Richard G. <skunk@iskunk.org>
16537
16538 This program is free software; you can redistribute it and/or modify it
16539 under the terms of the GNU General Public License as published by the
16540 Free Software Foundation; either version 2 of the License, or (at your
16541 option) any later version.
16542
16543 This program is distributed in the hope that it will be useful, but
16544 WITHOUT ANY WARRANTY; without even the implied warranty of
16545 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16546 Public License for more details.
16547
16548 You should have received a copy of the GNU General Public License along
16549 with this program. If not, see <https://www.gnu.org/licenses/>.
16550
16551 As a special exception, the respective Autoconf Macro's copyright owner
16552 gives unlimited permission to copy, distribute and modify the configure
16553 scripts that are the output of Autoconf when processing the Macro. You
16554 need not follow the terms of the GNU General Public License when using
16555 or distributing such scripts, even though portions of the text of the
16556 Macro appear in them. The GNU General Public License (GPL) does govern
16557 all other use of the material that constitutes the Autoconf Macro.
16558
16559 This special exception to the GPL applies to versions of the Autoconf
16560 Macro released by the Autoconf Archive. When you make and distribute a
16561 modified version of the Autoconf Macro, you may extend this special
16562 exception to the GPL to apply to your modified version as well.
16563
16564 
16565 File: autoconf-archive.info, Node: ax_func_getopt_long, Next: ax_func_memmove, Prev: ax_func_accept_argtypes, Up: The Macros
16566
16567 ax_func_getopt_long
16568 ===================
16569
16570 Synopsis
16571 ********
16572
16573 AX_FUNC_GETOPT_LONG
16574
16575 Description
16576 ***********
16577
16578 Check for getopt_long support.
16579
16580 This assume that the standard getopt.h file (from GNU libc) is available
16581 as lib/gnugetopt.h. If needed, this file will be linked as getopt.h,
16582 but we want to default to the system's getopt.h file. (See
16583 http://sources.redhat.com/ml/automake/2000-09/msg00041.html for an
16584 explanation about why using the system's getopt.h file is important.)
16585
16586 Source Code
16587 ***********
16588
16589 Download the latest version of 'ax_func_getopt_long.m4'
16590 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_getopt_long.m4)
16591 or browse the macro's revision history
16592 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_getopt_long.m4).
16593
16594 License
16595 *******
16596
16597 Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
16598
16599 This program is free software; you can redistribute it and/or modify it
16600 under the terms of the GNU General Public License as published by the
16601 Free Software Foundation; either version 2 of the License, or (at your
16602 option) any later version.
16603
16604 This program is distributed in the hope that it will be useful, but
16605 WITHOUT ANY WARRANTY; without even the implied warranty of
16606 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16607 Public License for more details.
16608
16609 You should have received a copy of the GNU General Public License along
16610 with this program. If not, see <https://www.gnu.org/licenses/>.
16611
16612 As a special exception, the respective Autoconf Macro's copyright owner
16613 gives unlimited permission to copy, distribute and modify the configure
16614 scripts that are the output of Autoconf when processing the Macro. You
16615 need not follow the terms of the GNU General Public License when using
16616 or distributing such scripts, even though portions of the text of the
16617 Macro appear in them. The GNU General Public License (GPL) does govern
16618 all other use of the material that constitutes the Autoconf Macro.
16619
16620 This special exception to the GPL applies to versions of the Autoconf
16621 Macro released by the Autoconf Archive. When you make and distribute a
16622 modified version of the Autoconf Macro, you may extend this special
16623 exception to the GPL to apply to your modified version as well.
16624
16625 
16626 File: autoconf-archive.info, Node: ax_func_memmove, Next: ax_func_mkdir, Prev: ax_func_getopt_long, Up: The Macros
16627
16628 ax_func_memmove
16629 ===============
16630
16631 Synopsis
16632 ********
16633
16634 AX_FUNC_MEMMOVE
16635
16636 Description
16637 ***********
16638
16639 Checks for a memmove that can handle overlaps correctly. If no working
16640 memmove is found, request a replacement and warn the user about it.
16641
16642 Source Code
16643 ***********
16644
16645 Download the latest version of 'ax_func_memmove.m4'
16646 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_memmove.m4)
16647 or browse the macro's revision history
16648 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_memmove.m4).
16649
16650 License
16651 *******
16652
16653 Copyright (C) 2008 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
16654
16655 Copying and distribution of this file, with or without modification, are
16656 permitted in any medium without royalty provided the copyright notice
16657 and this notice are preserved. This file is offered as-is, without any
16658 warranty.
16659
16660 
16661 File: autoconf-archive.info, Node: ax_func_mkdir, Next: ax_func_posix_memalign, Prev: ax_func_memmove, Up: The Macros
16662
16663 ax_func_mkdir
16664 =============
16665
16666 Synopsis
16667 ********
16668
16669 AX_FUNC_MKDIR
16670
16671 Description
16672 ***********
16673
16674 Check whether mkdir() is mkdir or _mkdir, and whether it takes one or
16675 two arguments.
16676
16677 This macro can define HAVE_MKDIR, HAVE__MKDIR, and MKDIR_TAKES_ONE_ARG,
16678 which are expected to be used as follows:
16679
16680 #if HAVE_MKDIR
16681 # if MKDIR_TAKES_ONE_ARG
16682 /* MinGW32 */
16683 # define mkdir(a, b) mkdir(a)
16684 # endif
16685 #else
16686 # if HAVE__MKDIR
16687 /* plain Windows 32 */
16688 # define mkdir(a, b) _mkdir(a)
16689 # else
16690 # error "Don't know how to create a directory on this system."
16691 # endif
16692 #endif
16693
16694 Source Code
16695 ***********
16696
16697 Download the latest version of 'ax_func_mkdir.m4'
16698 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_mkdir.m4)
16699 or browse the macro's revision history
16700 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_mkdir.m4).
16701
16702 License
16703 *******
16704
16705 Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
16706
16707 This program is free software; you can redistribute it and/or modify it
16708 under the terms of the GNU General Public License as published by the
16709 Free Software Foundation; either version 2 of the License, or (at your
16710 option) any later version.
16711
16712 This program is distributed in the hope that it will be useful, but
16713 WITHOUT ANY WARRANTY; without even the implied warranty of
16714 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16715 Public License for more details.
16716
16717 You should have received a copy of the GNU General Public License along
16718 with this program. If not, see <https://www.gnu.org/licenses/>.
16719
16720 As a special exception, the respective Autoconf Macro's copyright owner
16721 gives unlimited permission to copy, distribute and modify the configure
16722 scripts that are the output of Autoconf when processing the Macro. You
16723 need not follow the terms of the GNU General Public License when using
16724 or distributing such scripts, even though portions of the text of the
16725 Macro appear in them. The GNU General Public License (GPL) does govern
16726 all other use of the material that constitutes the Autoconf Macro.
16727
16728 This special exception to the GPL applies to versions of the Autoconf
16729 Macro released by the Autoconf Archive. When you make and distribute a
16730 modified version of the Autoconf Macro, you may extend this special
16731 exception to the GPL to apply to your modified version as well.
16732
16733 
16734 File: autoconf-archive.info, Node: ax_func_posix_memalign, Next: ax_func_snprintf, Prev: ax_func_mkdir, Up: The Macros
16735
16736 ax_func_posix_memalign
16737 ======================
16738
16739 Synopsis
16740 ********
16741
16742 AX_FUNC_POSIX_MEMALIGN
16743
16744 Description
16745 ***********
16746
16747 Some versions of posix_memalign (notably glibc 2.2.5) incorrectly apply
16748 their power-of-two check to the size argument, not the alignment
16749 argument. AX_FUNC_POSIX_MEMALIGN defines HAVE_POSIX_MEMALIGN if the
16750 power-of-two check is correctly applied to the alignment argument.
16751
16752 Source Code
16753 ***********
16754
16755 Download the latest version of 'ax_func_posix_memalign.m4'
16756 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_posix_memalign.m4)
16757 or browse the macro's revision history
16758 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_posix_memalign.m4).
16759
16760 License
16761 *******
16762
16763 Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
16764
16765 Copying and distribution of this file, with or without modification, are
16766 permitted in any medium without royalty provided the copyright notice
16767 and this notice are preserved. This file is offered as-is, without any
16768 warranty.
16769
16770 
16771 File: autoconf-archive.info, Node: ax_func_snprintf, Next: ax_func_which_gethostbyname_r, Prev: ax_func_posix_memalign, Up: The Macros
16772
16773 ax_func_snprintf
16774 ================
16775
16776 Synopsis
16777 ********
16778
16779 AX_FUNC_SNPRINTF
16780
16781 Description
16782 ***********
16783
16784 Checks for a fully C99 compliant snprintf, in particular checks whether
16785 it does bounds checking and returns the correct string length; does the
16786 same check for vsnprintf. If no working snprintf or vsnprintf is found,
16787 request a replacement and warn the user about it. Note: the mentioned
16788 replacement is freely available and may be used in any project
16789 regardless of it's license.
16790
16791 Source Code
16792 ***********
16793
16794 Download the latest version of 'ax_func_snprintf.m4'
16795 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_snprintf.m4)
16796 or browse the macro's revision history
16797 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_snprintf.m4).
16798
16799 License
16800 *******
16801
16802 Copyright (C) 2008 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
16803
16804 Copying and distribution of this file, with or without modification, are
16805 permitted in any medium without royalty provided the copyright notice
16806 and this notice are preserved. This file is offered as-is, without any
16807 warranty.
16808
16809 
16810 File: autoconf-archive.info, Node: ax_func_which_gethostbyname_r, Next: ax_func_which_getservbyname_r, Prev: ax_func_snprintf, Up: The Macros
16811
16812 ax_func_which_gethostbyname_r
16813 =============================
16814
16815 Synopsis
16816 ********
16817
16818 AX_FUNC_WHICH_GETHOSTBYNAME_R
16819
16820 Description
16821 ***********
16822
16823 Determines which historical variant of the gethostbyname_r() call
16824 (taking three, five, or six arguments) is available on the system and
16825 defines one of the following macros accordingly:
16826
16827 HAVE_FUNC_GETHOSTBYNAME_R_6
16828 HAVE_FUNC_GETHOSTBYNAME_R_5
16829 HAVE_FUNC_GETHOSTBYNAME_R_3
16830
16831 as well as
16832
16833 HAVE_GETHOSTBYNAME_R
16834
16835 If used in conjunction with gethostname.c, the API demonstrated in
16836 test.c can be used regardless of which gethostbyname_r() is available.
16837 These example files can be found at
16838 http://www.csn.ul.ie/~caolan/publink/gethostbyname_r
16839
16840 based on David Arnold's autoconf suggestion in the threads faq
16841
16842 Originally named "AC_caolan_FUNC_WHICH_GETHOSTBYNAME_R". Rewritten for
16843 Autoconf 2.5x, and updated for 2.68 by Daniel Richard G.
16844
16845 Source Code
16846 ***********
16847
16848 Download the latest version of 'ax_func_which_gethostbyname_r.m4'
16849 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_which_gethostbyname_r.m4)
16850 or browse the macro's revision history
16851 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_which_gethostbyname_r.m4).
16852
16853 License
16854 *******
16855
16856 Copyright (C) 2008 Caolan McNamara <caolan@skynet.ie>
16857 Copyright (C) 2008 Daniel Richard G. <skunk@iskunk.org>
16858
16859 This program is free software; you can redistribute it and/or modify it
16860 under the terms of the GNU General Public License as published by the
16861 Free Software Foundation; either version 2 of the License, or (at your
16862 option) any later version.
16863
16864 This program is distributed in the hope that it will be useful, but
16865 WITHOUT ANY WARRANTY; without even the implied warranty of
16866 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16867 Public License for more details.
16868
16869 You should have received a copy of the GNU General Public License along
16870 with this program. If not, see <https://www.gnu.org/licenses/>.
16871
16872 As a special exception, the respective Autoconf Macro's copyright owner
16873 gives unlimited permission to copy, distribute and modify the configure
16874 scripts that are the output of Autoconf when processing the Macro. You
16875 need not follow the terms of the GNU General Public License when using
16876 or distributing such scripts, even though portions of the text of the
16877 Macro appear in them. The GNU General Public License (GPL) does govern
16878 all other use of the material that constitutes the Autoconf Macro.
16879
16880 This special exception to the GPL applies to versions of the Autoconf
16881 Macro released by the Autoconf Archive. When you make and distribute a
16882 modified version of the Autoconf Macro, you may extend this special
16883 exception to the GPL to apply to your modified version as well.
16884
16885 
16886 File: autoconf-archive.info, Node: ax_func_which_getservbyname_r, Next: ax_gcc_archflag, Prev: ax_func_which_gethostbyname_r, Up: The Macros
16887
16888 ax_func_which_getservbyname_r
16889 =============================
16890
16891 Synopsis
16892 ********
16893
16894 AX_FUNC_WHICH_GETSERVBYNAME_R
16895
16896 Description
16897 ***********
16898
16899 Provides a test to determine the correct way to call getservbyname_r:
16900
16901 - defines HAVE_FUNC_GETSERVBYNAME_R_6 if it needs 6 arguments (e.g linux)
16902 - defines HAVE_FUNC_GETSERVBYNAME_R_5 if it needs 5 arguments (e.g. solaris)
16903 - defines HAVE_FUNC_GETSERVBYNAME_R_4 if it needs 4 arguments (e.g. osf/1)
16904
16905 An example use can be found at
16906 http://raf.org/autoconf/net_getservbyname.c
16907
16908 Based on Caolan McNamara's gethostbyname_r macro. Based on David
16909 Arnold's autoconf suggestion in the threads faq.
16910
16911 Source Code
16912 ***********
16913
16914 Download the latest version of 'ax_func_which_getservbyname_r.m4'
16915 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_which_getservbyname_r.m4)
16916 or browse the macro's revision history
16917 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_which_getservbyname_r.m4).
16918
16919 License
16920 *******
16921
16922 Copyright (C) 2008 raf <raf@raf.org>
16923
16924 This program is free software: you can redistribute it and/or modify it
16925 under the terms of the GNU General Public License as published by the
16926 Free Software Foundation, either version 3 of the License, or (at your
16927 option) any later version.
16928
16929 This program is distributed in the hope that it will be useful, but
16930 WITHOUT ANY WARRANTY; without even the implied warranty of
16931 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16932 Public License for more details.
16933
16934 You should have received a copy of the GNU General Public License along
16935 with this program. If not, see <https://www.gnu.org/licenses/>.
16936
16937 As a special exception, the respective Autoconf Macro's copyright owner
16938 gives unlimited permission to copy, distribute and modify the configure
16939 scripts that are the output of Autoconf when processing the Macro. You
16940 need not follow the terms of the GNU General Public License when using
16941 or distributing such scripts, even though portions of the text of the
16942 Macro appear in them. The GNU General Public License (GPL) does govern
16943 all other use of the material that constitutes the Autoconf Macro.
16944
16945 This special exception to the GPL applies to versions of the Autoconf
16946 Macro released by the Autoconf Archive. When you make and distribute a
16947 modified version of the Autoconf Macro, you may extend this special
16948 exception to the GPL to apply to your modified version as well.
16949
16950 
16951 File: autoconf-archive.info, Node: ax_gcc_archflag, Next: ax_gcc_builtin, Prev: ax_func_which_getservbyname_r, Up: The Macros
16952
16953 ax_gcc_archflag
16954 ===============
16955
16956 Synopsis
16957 ********
16958
16959 AX_GCC_ARCHFLAG([PORTABLE?], [ACTION-SUCCESS], [ACTION-FAILURE])
16960
16961 Description
16962 ***********
16963
16964 This macro tries to guess the "native" arch corresponding to the target
16965 architecture for use with gcc's -march=arch or -mtune=arch flags. If
16966 found, the cache variable $ax_cv_gcc_archflag is set to this flag and
16967 ACTION-SUCCESS is executed; otherwise $ax_cv_gcc_archflag is set to
16968 "unknown" and ACTION-FAILURE is executed. The default ACTION-SUCCESS is
16969 to add $ax_cv_gcc_archflag to the end of $CFLAGS.
16970
16971 PORTABLE? should be either [yes] (default) or [no]. In the former case,
16972 the flag is set to -mtune (or equivalent) so that the architecture is
16973 only used for tuning, but the instruction set used is still portable.
16974 In the latter case, the flag is set to -march (or equivalent) so that
16975 architecture-specific instructions are enabled.
16976
16977 The user can specify -with-gcc-arch=<arch> in order to override the
16978 macro's choice of architecture, or -without-gcc-arch to disable this.
16979
16980 When cross-compiling, or if $CC is not gcc, then ACTION-FAILURE is
16981 called unless the user specified -with-gcc-arch manually.
16982
16983 Requires macros: AX_CHECK_COMPILE_FLAG, AX_GCC_X86_CPUID
16984
16985 (The main emphasis here is on recent CPUs, on the principle that doing
16986 high-performance computing on old hardware is uncommon.)
16987
16988 Source Code
16989 ***********
16990
16991 Download the latest version of 'ax_gcc_archflag.m4'
16992 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_archflag.m4)
16993 or browse the macro's revision history
16994 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_archflag.m4).
16995
16996 License
16997 *******
16998
16999 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
17000 Copyright (C) 2008 Matteo Frigo
17001 Copyright (C) 2014 Tsukasa Oi
17002 Copyright (C) 2017-2018 Alexey Kopytov
17003
17004 This program is free software: you can redistribute it and/or modify it
17005 under the terms of the GNU General Public License as published by the
17006 Free Software Foundation, either version 3 of the License, or (at your
17007 option) any later version.
17008
17009 This program is distributed in the hope that it will be useful, but
17010 WITHOUT ANY WARRANTY; without even the implied warranty of
17011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17012 Public License for more details.
17013
17014 You should have received a copy of the GNU General Public License along
17015 with this program. If not, see <https://www.gnu.org/licenses/>.
17016
17017 As a special exception, the respective Autoconf Macro's copyright owner
17018 gives unlimited permission to copy, distribute and modify the configure
17019 scripts that are the output of Autoconf when processing the Macro. You
17020 need not follow the terms of the GNU General Public License when using
17021 or distributing such scripts, even though portions of the text of the
17022 Macro appear in them. The GNU General Public License (GPL) does govern
17023 all other use of the material that constitutes the Autoconf Macro.
17024
17025 This special exception to the GPL applies to versions of the Autoconf
17026 Macro released by the Autoconf Archive. When you make and distribute a
17027 modified version of the Autoconf Macro, you may extend this special
17028 exception to the GPL to apply to your modified version as well.
17029
17030 
17031 File: autoconf-archive.info, Node: ax_gcc_builtin, Next: ax_gcc_const_call, Prev: ax_gcc_archflag, Up: The Macros
17032
17033 ax_gcc_builtin
17034 ==============
17035
17036 Synopsis
17037 ********
17038
17039 AX_GCC_BUILTIN(BUILTIN)
17040
17041 Description
17042 ***********
17043
17044 This macro checks if the compiler supports one of GCC's built-in
17045 functions; many other compilers also provide those same built-ins.
17046
17047 The BUILTIN parameter is the name of the built-in function.
17048
17049 If BUILTIN is supported define HAVE_<BUILTIN>. Keep in mind that since
17050 builtins usually start with two underscores they will be copied over
17051 into the HAVE_<BUILTIN> definition (e.g. HAVE___BUILTIN_EXPECT for
17052 __builtin_expect()).
17053
17054 The macro caches its result in the ax_cv_have_<BUILTIN> variable (e.g.
17055 ax_cv_have___builtin_expect).
17056
17057 The macro currently supports the following built-in functions:
17058
17059 __builtin_assume_aligned
17060 __builtin_bswap16
17061 __builtin_bswap32
17062 __builtin_bswap64
17063 __builtin_choose_expr
17064 __builtin___clear_cache
17065 __builtin_clrsb
17066 __builtin_clrsbl
17067 __builtin_clrsbll
17068 __builtin_clz
17069 __builtin_clzl
17070 __builtin_clzll
17071 __builtin_complex
17072 __builtin_constant_p
17073 __builtin_ctz
17074 __builtin_ctzl
17075 __builtin_ctzll
17076 __builtin_expect
17077 __builtin_ffs
17078 __builtin_ffsl
17079 __builtin_ffsll
17080 __builtin_fpclassify
17081 __builtin_huge_val
17082 __builtin_huge_valf
17083 __builtin_huge_vall
17084 __builtin_inf
17085 __builtin_infd128
17086 __builtin_infd32
17087 __builtin_infd64
17088 __builtin_inff
17089 __builtin_infl
17090 __builtin_isinf_sign
17091 __builtin_nan
17092 __builtin_nand128
17093 __builtin_nand32
17094 __builtin_nand64
17095 __builtin_nanf
17096 __builtin_nanl
17097 __builtin_nans
17098 __builtin_nansf
17099 __builtin_nansl
17100 __builtin_object_size
17101 __builtin_parity
17102 __builtin_parityl
17103 __builtin_parityll
17104 __builtin_popcount
17105 __builtin_popcountl
17106 __builtin_popcountll
17107 __builtin_powi
17108 __builtin_powif
17109 __builtin_powil
17110 __builtin_prefetch
17111 __builtin_trap
17112 __builtin_types_compatible_p
17113 __builtin_unreachable
17114
17115 Unsupported built-ins will be tested with an empty parameter set and the
17116 result of the check might be wrong or meaningless so use with care.
17117
17118 Source Code
17119 ***********
17120
17121 Download the latest version of 'ax_gcc_builtin.m4'
17122 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_builtin.m4)
17123 or browse the macro's revision history
17124 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_builtin.m4).
17125
17126 License
17127 *******
17128
17129 Copyright (C) 2013 Gabriele Svelto <gabriele.svelto@gmail.com>
17130
17131 Copying and distribution of this file, with or without modification, are
17132 permitted in any medium without royalty provided the copyright notice
17133 and this notice are preserved. This file is offered as-is, without any
17134 warranty.
17135
17136 
17137 File: autoconf-archive.info, Node: ax_gcc_const_call, Next: ax_gcc_func_attribute, Prev: ax_gcc_builtin, Up: The Macros
17138
17139 ax_gcc_const_call
17140 =================
17141
17142 Synopsis
17143 ********
17144
17145 AX_GCC_CONST_CALL
17146
17147 Description
17148 ***********
17149
17150 The macro will compile a test program to see whether the compiler does
17151 understand the per-function postfix pragma.
17152
17153 Source Code
17154 ***********
17155
17156 Download the latest version of 'ax_gcc_const_call.m4'
17157 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_const_call.m4)
17158 or browse the macro's revision history
17159 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_const_call.m4).
17160
17161 License
17162 *******
17163
17164 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
17165
17166 Copying and distribution of this file, with or without modification, are
17167 permitted in any medium without royalty provided the copyright notice
17168 and this notice are preserved. This file is offered as-is, without any
17169 warranty.
17170
17171 
17172 File: autoconf-archive.info, Node: ax_gcc_func_attribute, Next: ax_gcc_lib, Prev: ax_gcc_const_call, Up: The Macros
17173
17174 ax_gcc_func_attribute
17175 =====================
17176
17177 Synopsis
17178 ********
17179
17180 AX_GCC_FUNC_ATTRIBUTE(ATTRIBUTE)
17181
17182 Description
17183 ***********
17184
17185 This macro checks if the compiler supports one of GCC's function
17186 attributes; many other compilers also provide function attributes with
17187 the same syntax. Compiler warnings are used to detect supported
17188 attributes as unsupported ones are ignored by default so quieting
17189 warnings when using this macro will yield false positives.
17190
17191 The ATTRIBUTE parameter holds the name of the attribute to be checked.
17192
17193 If ATTRIBUTE is supported define HAVE_FUNC_ATTRIBUTE_<ATTRIBUTE>.
17194
17195 The macro caches its result in the ax_cv_have_func_attribute_<attribute>
17196 variable.
17197
17198 The macro currently supports the following function attributes:
17199
17200 alias
17201 aligned
17202 alloc_size
17203 always_inline
17204 artificial
17205 cold
17206 const
17207 constructor
17208 constructor_priority for constructor attribute with priority
17209 deprecated
17210 destructor
17211 dllexport
17212 dllimport
17213 error
17214 externally_visible
17215 fallthrough
17216 flatten
17217 format
17218 format_arg
17219 gnu_inline
17220 hot
17221 ifunc
17222 leaf
17223 malloc
17224 noclone
17225 noinline
17226 nonnull
17227 noreturn
17228 nothrow
17229 optimize
17230 pure
17231 sentinel
17232 sentinel_position
17233 unused
17234 used
17235 visibility
17236 warning
17237 warn_unused_result
17238 weak
17239 weakref
17240
17241 Unsupported function attributes will be tested with a prototype
17242 returning an int and not accepting any arguments and the result of the
17243 check might be wrong or meaningless so use with care.
17244
17245 Source Code
17246 ***********
17247
17248 Download the latest version of 'ax_gcc_func_attribute.m4'
17249 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_func_attribute.m4)
17250 or browse the macro's revision history
17251 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_func_attribute.m4).
17252
17253 License
17254 *******
17255
17256 Copyright (C) 2013 Gabriele Svelto <gabriele.svelto@gmail.com>
17257
17258 Copying and distribution of this file, with or without modification, are
17259 permitted in any medium without royalty provided the copyright notice
17260 and this notice are preserved. This file is offered as-is, without any
17261 warranty.
17262
17263 
17264 File: autoconf-archive.info, Node: ax_gcc_lib, Next: ax_gcc_libgcc_eh, Prev: ax_gcc_func_attribute, Up: The Macros
17265
17266 ax_gcc_lib
17267 ==========
17268
17269 Synopsis
17270 ********
17271
17272 AX_GCC_LIB(LIBRARY,[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
17273
17274 Description
17275 ***********
17276
17277 AX_GCC_LIB looks for LIBRARY inside gcc install directory, performs
17278 ACTION-IF-FOUND if the library is available, ACTION-IF-NOT-FOUND
17279 otherwise. The gcc install directory is retrieved using
17280 AX_GCC_INSTALL_DIR macro.
17281
17282 Source Code
17283 ***********
17284
17285 Download the latest version of 'ax_gcc_lib.m4'
17286 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_lib.m4)
17287 or browse the macro's revision history
17288 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_lib.m4).
17289
17290 License
17291 *******
17292
17293 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
17294
17295 This program is free software; you can redistribute it and/or modify it
17296 under the terms of the GNU General Public License as published by the
17297 Free Software Foundation; either version 2 of the License, or (at your
17298 option) any later version.
17299
17300 This program is distributed in the hope that it will be useful, but
17301 WITHOUT ANY WARRANTY; without even the implied warranty of
17302 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17303 Public License for more details.
17304
17305 You should have received a copy of the GNU General Public License along
17306 with this program. If not, see <https://www.gnu.org/licenses/>.
17307
17308 As a special exception, the respective Autoconf Macro's copyright owner
17309 gives unlimited permission to copy, distribute and modify the configure
17310 scripts that are the output of Autoconf when processing the Macro. You
17311 need not follow the terms of the GNU General Public License when using
17312 or distributing such scripts, even though portions of the text of the
17313 Macro appear in them. The GNU General Public License (GPL) does govern
17314 all other use of the material that constitutes the Autoconf Macro.
17315
17316 This special exception to the GPL applies to versions of the Autoconf
17317 Macro released by the Autoconf Archive. When you make and distribute a
17318 modified version of the Autoconf Macro, you may extend this special
17319 exception to the GPL to apply to your modified version as well.
17320
17321 
17322 File: autoconf-archive.info, Node: ax_gcc_libgcc_eh, Next: ax_gcc_libsupcxx, Prev: ax_gcc_lib, Up: The Macros
17323
17324 ax_gcc_libgcc_eh
17325 ================
17326
17327 Synopsis
17328 ********
17329
17330 AX_GCC_LIBGCC_EH(VARIABLE)
17331
17332 Description
17333 ***********
17334
17335 AX_GCC_LIBGCC_EH defines VARIABLE as the absolute path to libgcc_eh.a if
17336 it is available on the system, empty otherwise
17337
17338 Source Code
17339 ***********
17340
17341 Download the latest version of 'ax_gcc_libgcc_eh.m4'
17342 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_libgcc_eh.m4)
17343 or browse the macro's revision history
17344 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_libgcc_eh.m4).
17345
17346 License
17347 *******
17348
17349 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
17350
17351 This program is free software; you can redistribute it and/or modify it
17352 under the terms of the GNU General Public License as published by the
17353 Free Software Foundation; either version 2 of the License, or (at your
17354 option) any later version.
17355
17356 This program is distributed in the hope that it will be useful, but
17357 WITHOUT ANY WARRANTY; without even the implied warranty of
17358 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17359 Public License for more details.
17360
17361 You should have received a copy of the GNU General Public License along
17362 with this program. If not, see <https://www.gnu.org/licenses/>.
17363
17364 As a special exception, the respective Autoconf Macro's copyright owner
17365 gives unlimited permission to copy, distribute and modify the configure
17366 scripts that are the output of Autoconf when processing the Macro. You
17367 need not follow the terms of the GNU General Public License when using
17368 or distributing such scripts, even though portions of the text of the
17369 Macro appear in them. The GNU General Public License (GPL) does govern
17370 all other use of the material that constitutes the Autoconf Macro.
17371
17372 This special exception to the GPL applies to versions of the Autoconf
17373 Macro released by the Autoconf Archive. When you make and distribute a
17374 modified version of the Autoconf Macro, you may extend this special
17375 exception to the GPL to apply to your modified version as well.
17376
17377 
17378 File: autoconf-archive.info, Node: ax_gcc_libsupcxx, Next: ax_gcc_malloc_call, Prev: ax_gcc_libgcc_eh, Up: The Macros
17379
17380 ax_gcc_libsupcxx
17381 ================
17382
17383 Synopsis
17384 ********
17385
17386 AX_GCC_LIBSUPCXX(VARIABLE)
17387
17388 Description
17389 ***********
17390
17391 AX_GCC_LIBSUPCXX defines VARIABLE as the absolute path to libsupc++.a if
17392 it is available on the system, empty otherwise.
17393
17394 Source Code
17395 ***********
17396
17397 Download the latest version of 'ax_gcc_libsupcxx.m4'
17398 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_libsupcxx.m4)
17399 or browse the macro's revision history
17400 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_libsupcxx.m4).
17401
17402 License
17403 *******
17404
17405 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
17406
17407 Copyright (C) 2009 Alessandro Massignan <ff0000.it@gmail.com>
17408
17409 This program is free software; you can redistribute it and/or modify it
17410 under the terms of the GNU General Public License as published by the
17411 Free Software Foundation; either version 2 of the License, or (at your
17412 option) any later version.
17413
17414 This program is distributed in the hope that it will be useful, but
17415 WITHOUT ANY WARRANTY; without even the implied warranty of
17416 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17417 Public License for more details.
17418
17419 You should have received a copy of the GNU General Public License along
17420 with this program. If not, see <https://www.gnu.org/licenses/>.
17421
17422 As a special exception, the respective Autoconf Macro's copyright owner
17423 gives unlimited permission to copy, distribute and modify the configure
17424 scripts that are the output of Autoconf when processing the Macro. You
17425 need not follow the terms of the GNU General Public License when using
17426 or distributing such scripts, even though portions of the text of the
17427 Macro appear in them. The GNU General Public License (GPL) does govern
17428 all other use of the material that constitutes the Autoconf Macro.
17429
17430 This special exception to the GPL applies to versions of the Autoconf
17431 Macro released by the Autoconf Archive. When you make and distribute a
17432 modified version of the Autoconf Macro, you may extend this special
17433 exception to the GPL to apply to your modified version as well.
17434
17435 
17436 File: autoconf-archive.info, Node: ax_gcc_malloc_call, Next: ax_gcc_var_attribute, Prev: ax_gcc_libsupcxx, Up: The Macros
17437
17438 ax_gcc_malloc_call
17439 ==================
17440
17441 Synopsis
17442 ********
17443
17444 AX_GCC_MALLOC_CALL
17445
17446 Description
17447 ***********
17448
17449 The macro will compile a test program to see whether the compiler does
17450 understand the per-function postfix pragma.
17451
17452 Source Code
17453 ***********
17454
17455 Download the latest version of 'ax_gcc_malloc_call.m4'
17456 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_malloc_call.m4)
17457 or browse the macro's revision history
17458 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_malloc_call.m4).
17459
17460 License
17461 *******
17462
17463 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
17464
17465 Copying and distribution of this file, with or without modification, are
17466 permitted in any medium without royalty provided the copyright notice
17467 and this notice are preserved. This file is offered as-is, without any
17468 warranty.
17469
17470 
17471 File: autoconf-archive.info, Node: ax_gcc_var_attribute, Next: ax_gcc_warn_unused_result, Prev: ax_gcc_malloc_call, Up: The Macros
17472
17473 ax_gcc_var_attribute
17474 ====================
17475
17476 Synopsis
17477 ********
17478
17479 AX_GCC_VAR_ATTRIBUTE(ATTRIBUTE)
17480
17481 Description
17482 ***********
17483
17484 This macro checks if the compiler supports one of GCC's variable
17485 attributes; many other compilers also provide variable attributes with
17486 the same syntax. Compiler warnings are used to detect supported
17487 attributes as unsupported ones are ignored by default so quieting
17488 warnings when using this macro will yield false positives.
17489
17490 The ATTRIBUTE parameter holds the name of the attribute to be checked.
17491
17492 If ATTRIBUTE is supported define HAVE_VAR_ATTRIBUTE_<ATTRIBUTE>.
17493
17494 The macro caches its result in the ax_cv_have_var_attribute_<attribute>
17495 variable.
17496
17497 The macro currently supports the following variable attributes:
17498
17499 aligned
17500 cleanup
17501 common
17502 nocommon
17503 deprecated
17504 mode
17505 packed
17506 tls_model
17507 unused
17508 used
17509 vector_size
17510 weak
17511 dllimport
17512 dllexport
17513 init_priority
17514
17515 Unsupported variable attributes will be tested against a global integer
17516 variable and without any arguments given to the attribute itself; the
17517 result of this check might be wrong or meaningless so use with care.
17518
17519 Source Code
17520 ***********
17521
17522 Download the latest version of 'ax_gcc_var_attribute.m4'
17523 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_var_attribute.m4)
17524 or browse the macro's revision history
17525 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_var_attribute.m4).
17526
17527 License
17528 *******
17529
17530 Copyright (C) 2013 Gabriele Svelto <gabriele.svelto@gmail.com>
17531
17532 Copying and distribution of this file, with or without modification, are
17533 permitted in any medium without royalty provided the copyright notice
17534 and this notice are preserved. This file is offered as-is, without any
17535 warranty.
17536
17537 
17538 File: autoconf-archive.info, Node: ax_gcc_warn_unused_result, Next: ax_gcc_x86_avx_xgetbv, Prev: ax_gcc_var_attribute, Up: The Macros
17539
17540 ax_gcc_warn_unused_result
17541 =========================
17542
17543 Synopsis
17544 ********
17545
17546 AX_GCC_WARN_UNUSED_RESULT
17547
17548 Description
17549 ***********
17550
17551 The macro will compile a test program to see whether the compiler does
17552 understand the per-function postfix pragma.
17553
17554 Source Code
17555 ***********
17556
17557 Download the latest version of 'ax_gcc_warn_unused_result.m4'
17558 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_warn_unused_result.m4)
17559 or browse the macro's revision history
17560 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_warn_unused_result.m4).
17561
17562 License
17563 *******
17564
17565 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
17566
17567 Copying and distribution of this file, with or without modification, are
17568 permitted in any medium without royalty provided the copyright notice
17569 and this notice are preserved. This file is offered as-is, without any
17570 warranty.
17571
17572 
17573 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
17574
17575 ax_gcc_x86_avx_xgetbv
17576 =====================
17577
17578 Synopsis
17579 ********
17580
17581 AX_GCC_X86_AVX_XGETBV
17582
17583 Description
17584 ***********
17585
17586 On later x86 processors with AVX SIMD support, with gcc or a compiler
17587 that has a compatible syntax for inline assembly instructions, run a
17588 small program that executes the xgetbv instruction with input OP. This
17589 can be used to detect if the OS supports AVX instruction usage.
17590
17591 On output, the values of the eax and edx registers are stored as
17592 hexadecimal strings as "eax:edx" in the cache variable
17593 ax_cv_gcc_x86_avx_xgetbv.
17594
17595 If the xgetbv instruction fails (because you are running a
17596 cross-compiler, or because you are not using gcc, or because you are on
17597 a processor that doesn't have this instruction),
17598 ax_cv_gcc_x86_avx_xgetbv_OP is set to the string "unknown".
17599
17600 This macro mainly exists to be used in AX_EXT.
17601
17602 Source Code
17603 ***********
17604
17605 Download the latest version of 'ax_gcc_x86_avx_xgetbv.m4'
17606 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_x86_avx_xgetbv.m4)
17607 or browse the macro's revision history
17608 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_x86_avx_xgetbv.m4).
17609
17610 License
17611 *******
17612
17613 Copyright (C) 2013 Michael Petch <mpetch@capp-sysware.com>
17614
17615 This program is free software: you can redistribute it and/or modify it
17616 under the terms of the GNU General Public License as published by the
17617 Free Software Foundation, either version 3 of the License, or (at your
17618 option) any later version.
17619
17620 This program is distributed in the hope that it will be useful, but
17621 WITHOUT ANY WARRANTY; without even the implied warranty of
17622 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17623 Public License for more details.
17624
17625 You should have received a copy of the GNU General Public License along
17626 with this program. If not, see <https://www.gnu.org/licenses/>.
17627
17628 As a special exception, the respective Autoconf Macro's copyright owner
17629 gives unlimited permission to copy, distribute and modify the configure
17630 scripts that are the output of Autoconf when processing the Macro. You
17631 need not follow the terms of the GNU General Public License when using
17632 or distributing such scripts, even though portions of the text of the
17633 Macro appear in them. The GNU General Public License (GPL) does govern
17634 all other use of the material that constitutes the Autoconf Macro.
17635
17636 This special exception to the GPL applies to versions of the Autoconf
17637 Macro released by the Autoconf Archive. When you make and distribute a
17638 modified version of the Autoconf Macro, you may extend this special
17639 exception to the GPL to apply to your modified version as well.
17640
17641 
17642 File: autoconf-archive.info, Node: ax_gcc_x86_cpu_supports, Next: ax_gcc_x86_cpuid, Prev: ax_gcc_x86_avx_xgetbv, Up: The Macros
17643
17644 ax_gcc_x86_cpu_supports
17645 =======================
17646
17647 Synopsis
17648 ********
17649
17650 AX_GCC_X86_CPU_SUPPORTS(X86-INSTRUCTION-SET,
17651 [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
17652
17653 Description
17654 ***********
17655
17656 Checks if the host cpu supports X86-INSTRUCTION-SET. The instruction set
17657 that can be tested are "mmx, popcnt, sse, sse2, sse3, sse4.1, sse4.2,
17658 sse4a, avx, avx2, avx512f, fma, fma4, bmi, bmi2". If the instruction
17659 set is supported by the host cpu, the C preprocessor macro
17660 HAVE_XXX_INSTRUCTIONS is set to 1. The XXX is up-cased instruction case
17661 with dot replaced by underscore. For example, the test for "sse4.2"
17662 would export HAVE_SSE4_2_INSTRUCTIONS=1. This macro requires gcc
17663 extended builtin function "__builtin_cpu_init" and
17664 "__builtin_cpu_supports" to detect the cpu features. It will error out
17665 if the compiler doesn't has these builtins.
17666
17667 If the test for the instruction set succeeded, the hook ACTION-IF-FOUND
17668 would run. Otherwise the hook ACTION-IF-NOT-FOUND would run if
17669 specified.
17670
17671 See also AX_CHECK_X86_FEATURES, which checks all the possible
17672 instruction set and export the corresponding CFLAGS.
17673
17674 Source Code
17675 ***********
17676
17677 Download the latest version of 'ax_gcc_x86_cpu_supports.m4'
17678 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_x86_cpu_supports.m4)
17679 or browse the macro's revision history
17680 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_x86_cpu_supports.m4).
17681
17682 License
17683 *******
17684
17685 Copyright (C) 2016 Felix Chern <idryman@gmail.com>
17686
17687 This program is free software; you can redistribute it and/or modify it
17688 under the terms of the GNU General Public License as published by the
17689 Free Software Foundation; either version 2 of the License, or (at your
17690 option) any later version.
17691
17692 This program is distributed in the hope that it will be useful, but
17693 WITHOUT ANY WARRANTY; without even the implied warranty of
17694 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17695 Public License for more details.
17696
17697 You should have received a copy of the GNU General Public License along
17698 with this program. If not, see <https://www.gnu.org/licenses/>.
17699
17700 As a special exception, the respective Autoconf Macro's copyright owner
17701 gives unlimited permission to copy, distribute and modify the configure
17702 scripts that are the output of Autoconf when processing the Macro. You
17703 need not follow the terms of the GNU General Public License when using
17704 or distributing such scripts, even though portions of the text of the
17705 Macro appear in them. The GNU General Public License (GPL) does govern
17706 all other use of the material that constitutes the Autoconf Macro.
17707
17708 This special exception to the GPL applies to versions of the Autoconf
17709 Macro released by the Autoconf Archive. When you make and distribute a
17710 modified version of the Autoconf Macro, you may extend this special
17711 exception to the GPL to apply to your modified version as well.
17712
17713 
17714 File: autoconf-archive.info, Node: ax_gcc_x86_cpuid, Next: ax_generate_changelog, Prev: ax_gcc_x86_cpu_supports, Up: The Macros
17715
17716 ax_gcc_x86_cpuid
17717 ================
17718
17719 Synopsis
17720 ********
17721
17722 AX_GCC_X86_CPUID(OP)
17723 AX_GCC_X86_CPUID_COUNT(OP, COUNT)
17724
17725 Description
17726 ***********
17727
17728 On Pentium and later x86 processors, with gcc or a compiler that has a
17729 compatible syntax for inline assembly instructions, run a small program
17730 that executes the cpuid instruction with input OP. This can be used to
17731 detect the CPU type. AX_GCC_X86_CPUID_COUNT takes an additional COUNT
17732 parameter that gets passed into register ECX before calling cpuid.
17733
17734 On output, the values of the eax, ebx, ecx, and edx registers are stored
17735 as hexadecimal strings as "eax:ebx:ecx:edx" in the cache variable
17736 ax_cv_gcc_x86_cpuid_OP.
17737
17738 If the cpuid instruction fails (because you are running a
17739 cross-compiler, or because you are not using gcc, or because you are on
17740 a processor that doesn't have this instruction), ax_cv_gcc_x86_cpuid_OP
17741 is set to the string "unknown".
17742
17743 This macro mainly exists to be used in AX_GCC_ARCHFLAG.
17744
17745 Source Code
17746 ***********
17747
17748 Download the latest version of 'ax_gcc_x86_cpuid.m4'
17749 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_x86_cpuid.m4)
17750 or browse the macro's revision history
17751 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_x86_cpuid.m4).
17752
17753 License
17754 *******
17755
17756 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
17757 Copyright (C) 2008 Matteo Frigo
17758 Copyright (C) 2015 Michael Petch <mpetch@capp-sysware.com>
17759
17760 This program is free software: you can redistribute it and/or modify it
17761 under the terms of the GNU General Public License as published by the
17762 Free Software Foundation, either version 3 of the License, or (at your
17763 option) any later version.
17764
17765 This program is distributed in the hope that it will be useful, but
17766 WITHOUT ANY WARRANTY; without even the implied warranty of
17767 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17768 Public License for more details.
17769
17770 You should have received a copy of the GNU General Public License along
17771 with this program. If not, see <https://www.gnu.org/licenses/>.
17772
17773 As a special exception, the respective Autoconf Macro's copyright owner
17774 gives unlimited permission to copy, distribute and modify the configure
17775 scripts that are the output of Autoconf when processing the Macro. You
17776 need not follow the terms of the GNU General Public License when using
17777 or distributing such scripts, even though portions of the text of the
17778 Macro appear in them. The GNU General Public License (GPL) does govern
17779 all other use of the material that constitutes the Autoconf Macro.
17780
17781 This special exception to the GPL applies to versions of the Autoconf
17782 Macro released by the Autoconf Archive. When you make and distribute a
17783 modified version of the Autoconf Macro, you may extend this special
17784 exception to the GPL to apply to your modified version as well.
17785
17786 
17787 File: autoconf-archive.info, Node: ax_generate_changelog, Next: ax_gnu_autotest, Prev: ax_gcc_x86_cpuid, Up: The Macros
17788
17789 ax_generate_changelog
17790 =====================
17791
17792 Synopsis
17793 ********
17794
17795 AX_GENERATE_CHANGELOG()
17796
17797 Description
17798 ***********
17799
17800 Builds a rule for generating a ChangeLog file from version control
17801 system commit messages. Currently, the only supported VCS is git, but
17802 support for others could be added in future.
17803
17804 Defines GENERATE_CHANGELOG_RULES which should be substituted in your
17805 Makefile.
17806
17807 Usage example:
17808
17809 configure.ac:
17810
17811 AX_GENERATE_CHANGELOG
17812
17813 Makefile.am:
17814
17815 @GENERATE_CHANGELOG_RULES@
17816 CHANGELOG_START = 0.2.3^
17817 dist-hook: dist-ChangeLog
17818
17819 ChangeLog (stub committed to VCS):
17820
17821 The ChangeLog is auto-generated when releasing.
17822 If you are seeing this, use 'git log' for a detailed list of changes.
17823
17824 This results in a "dist-ChangeLog" rule being added to the Makefile.
17825 When run, "dist-ChangeLog" will generate a ChangeLog in the
17826 $(top_distdir), using $(CHANGELOG_GIT_FLAGS) to format the output from
17827 "git log" being run in $(CHANGELOG_GIT_DIR).
17828
17829 Unless Automake is initialised with the 'foreign' option, a dummy
17830 ChangeLog file must be committed to VCS in $(top_srcdir), containing the
17831 text above (for example). It will be substituted by the automatically
17832 generated ChangeLog during "make dist".
17833
17834 Source Code
17835 ***********
17836
17837 Download the latest version of 'ax_generate_changelog.m4'
17838 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_generate_changelog.m4)
17839 or browse the macro's revision history
17840 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_generate_changelog.m4).
17841
17842 License
17843 *******
17844
17845 Copyright (C) 2015 David King <amigadave@amigadave.com>
17846 Copyright (C) 2015 Philip Withnall <philip.withnall@collabora.co.uk>
17847
17848 Copying and distribution of this file, with or without modification, are
17849 permitted in any medium without royalty provided the copyright notice
17850 and this notice are preserved. This file is offered as-is, without any
17851 warranty.
17852
17853 
17854 File: autoconf-archive.info, Node: ax_gnu_autotest, Next: ax_have_adns, Prev: ax_generate_changelog, Up: The Macros
17855
17856 ax_gnu_autotest
17857 ===============
17858
17859 Synopsis
17860 ********
17861
17862 AX_GNU_AUTOTEST([testdir = `tests'], [testsuites = `testsuite'],
17863 [atlocal-sources = `'], [gen-package = `yes'],
17864 [force = `no'])
17865
17866 Description
17867 ***********
17868
17869 Sets up one or multiple GNU Autotest test suites [1].
17870
17871 TL;DR:
17872
17873 * Write tests/testsuite.at as normal
17874 * Add to configure.ac: AX_GNU_AUTOTEST
17875 * Add to Makefile.am or Makefile.in in top_srcdir:
17876 @AX_GNU_AUTOTEST_DEFAULT@
17877 * autoreconf && ./configure && make check
17878
17879 GNU Autotest is a very powerful testing framework to script executing
17880 binaries, observing their output and logging failures, all in the same
17881 portable manner as configure itself. But the only help given the
17882 developer in setting up the framework is the AC_CONFIG_TESTDIR()
17883 command, which leaves several additional steps up to the developer
17884 copying examples from the manual:
17885
17886 * generating the "package.m4" file used in generating the "testsuite"
17887 * generating the "testsuite" executable by calling autom4te
17888 * adding Makefile rules to keep both "package.m4" and "testsuite"
17889 current
17890 * figuring out how to do all the above if the Makefile does not reside
17891 in the testdir
17892
17893 This command takes care of all of the above. It is designed to be
17894 called multiple times for different testdir directories, to have
17895 multiple testsuites scripts per directory and to handle the optional
17896 "package.m4" and "atlocal" (re)generation.
17897
17898 The various actions taken by this command happen in different phases of
17899 the build process:
17900
17901 1) During the autoconf execution, generate the testsuites and any
17902 "package.m4" files. So these are already available before configure
17903 ran. The reasoning for deviating from the examples in [1] is that
17904 these files are distributed and must be placed in the srcdir: it
17905 seems cleaner to not generate anything in srcdir during any of the
17906 later phases.
17907 2) During the config.status execution (following the configure
17908 execution), generate "atconfig" and any "atlocal" files in the
17909 buildir. The "atconfig" generation is handled by calling
17910 AC_CONFIG_TESTDIR() so the developer does not have to do so
17911 themselves.
17912 3) During the execution of make, several additional rules and file
17913 lists are made available via AC_SUBST(). The rules are intended
17914 to be called where appropriate (e.g. make check can depend on
17915 check-autotest) and the file lists are intended to be added
17916 to the appropriate lists (i.e. to DISTCLEANFILES and EXTRA_DIST).
17917
17918 Description of AX_GNU_AUTOTEST() arguments:
17919
17920 * testdir: directory-name containing the testsuites. AX_GNU_AUTOTEST()
17921 must be called exactly once for each directory containing testsuites.
17922 If empty, defaults to "tests".
17923 * testsuites: space-separated list of words, where each word is the
17924 name of a test suite script optionally followed by a colon and the
17925 name of the scripts source file. If the source file is not given,
17926 it defaults to the script name suffixed by ".at". So these words
17927 are all equivalent: "foo", "foo:" and "foo:foo.at". If the argument
17928 is empty, it defaults to "testsuite". The script filenames must not
17929 contain any path, but that is allowed for the source filenames.
17930 * atlocal-sources: space- or colon-separated list of filenames, which
17931 are registered with AC_CONFIG_FILES() as the sources of atlocal.
17932 If empty, no atlocal file is generated.
17933 * gen-package: boolean ("yes" or "no") indicating whether "package.m4"
17934 should be generated. If empty, defaults to "yes".
17935 * force: boolean ("yes" or "no") whether to treat errors in arguments
17936 as errors and abort (for "no") or whether to ignore any such errors
17937 (for "yes"). If empty, defaults to "no".
17938
17939 All filenames above must be relative. The testdir name is interpreted
17940 relative to top_srcdir. All other names are interpreted relative to the
17941 testdir. The boolean values are interpreted as "yes" for any non-empty
17942 value except "0", "n", "no" and their mixed-case variants.
17943
17944 Description of Makefile.am / Makefile.in substitutions:
17945
17946 * AX_GNU_AUTOTEST_RULES: the make rules provided here. Substitute this
17947 in a separate line.
17948 * AX_GNU_AUTOTEST_DCLEAN: the list of files to be added to
17949 DISTCLEANFILES.
17950 * AX_GNU_AUTOTEST_DIST: the list of files to be added to EXTRA_DIST.
17951 * AX_GNU_AUTOTEST_DEFAULT: includes all other substitutions and uses
17952 them in a "default" way.
17953
17954 All must be used as a substitution (@...@) instead of as a variable
17955 ($(...) or ${...}). These substitutions are generated multiple times,
17956 once for each directory where an affected Makefile may be located. All
17957 substitutions start with the base as given above but may have suffixes
17958 for the directories. Assuming this example in configure.ac:
17959
17960 AX_GNU_AUTOTEST([foo/bar])
17961 AX_GNU_AUTOTEST([baz])
17962
17963 Then the following substitutions are available (where <base> stands for
17964 one of the above prefixes):
17965
17966 * <base> : for use in top_srcdir/Makefile
17967 * <base>_foo : for use in top_srcdir/foo/Makefile
17968 * <base>_foo_bar : for use in top_srcdir/foo/bar/Makefile
17969 * <base>_baz : for use in top_srcdir/baz/Makefile
17970
17971 The <base> substitutions cover both foo/bar and baz, so none of the
17972 other substitutions should be used. Indeed, no Makefiles are needed in
17973 the other directories. But if sub-directory Makefiles are used, then
17974 both <base>_baz and either of <base>_foo or <base>_foo_bar must be used
17975 in their respective Makefiles.
17976
17977 Description of Makefile targets defined by AX_GNU_AUTOTEST_RULES*:
17978
17979 * check-autotest: The equivalent of check.
17980 * installcheck-autotest: The equivalent of installcheck.
17981 * clean-autotest: The equivalent of clean.
17982
17983 The developer can either define the above targets as dependencies of
17984 their appropriate equivalent rule or of their *-local equivalent rule
17985 for automake or they can define a rule with a sub-make call as they
17986 wish.
17987
17988 All rules are dependent on like-named rules for each sub-directory and
17989 for each testsuite. Only the testsuite rules actually do any work, the
17990 rest are just collectors and convenience names. Assuming this example
17991 in configure.ac:
17992
17993 AX_GNU_AUTOTEST([foo], [testsuite bar])
17994 AX_GNU_AUTOTEST([baz])
17995
17996 Then AX_GNU_AUTOTEST_RULES defines these check rules (likewise for
17997 installcheck and clean):
17998
17999 check-autotest: check-autotest-foo check-autotest-baz
18000 check-autotest-foo: check-autotest-foo-testsuite check-autotest-foo-bar
18001 check-autotest-baz: check-autotest-baz-testsuite
18002 check-autotest-foo-testsuite # Executes foo/testsuite -C foo
18003 check-autotest-foo-bar # Executes foo/bar -C foo
18004 check-autotest-baz-testsuite # Executes baz/testsuite -C baz
18005
18006 And AX_GNU_AUTOTEST_RULES_baz defines these check rules:
18007
18008 check-autotest: check-autotest-testsuite
18009 check-autotest-testsuite # Executes testsuite (which is baz/testsuite)
18010
18011 Note how the rule names only contain the directory and testsuite paths
18012 relative to the Makefile location. Also note how each testsuite is
18013 executed in its respective testdir.
18014
18015 In addition to the above, AX_GNU_AUTOTEST_RULES* also contains the rules
18016 to keep the testsuites, "package.m4" and "atconfig" updated. The
18017 matching rules to keep "atlocal" updated are generated by automake if
18018 that is used or are the responsibility of the developer.
18019
18020 All testsuite executions (except for clean) use variables
18021 AX_GNU_AUTOTEST_FLAGS, AX_GNU_AUTOTEST_CHECK_FLAGS,
18022 AX_GNU_AUTOTEST_INSTALLCHECK_FLAGS and more path-and-script-specific
18023 variants for additional command line options. These variables can be
18024 defined by the developer to pass options to the testsuite. In the
18025 example above, the rule check-autotest-foo-bar would look like this:
18026
18027 check-autotest-foo-bar:
18028 foo/bar -C foo $(AX_GNU_AUTOTEST_FLAGS) \
18029 $(AX_GNU_AUTOTEST_CHECK_FLAGS) \
18030 $(AX_GNU_AUTOTEST_FLAGS_foo) \
18031 $(AX_GNU_AUTOTEST_CHECK_FLAGS_foo) \
18032 $(AX_GNU_AUTOTEST_FLAGS_foo_bar) \
18033 $(AX_GNU_AUTOTEST_CHECK_FLAGS_foo_bar)
18034
18035 Description of Makefile file lists:
18036
18037 These lists are intended to be added to DISTCLEANFILES and EXTRA_DIST.
18038 The *_DCLEAN list contains all "atconfig" files and the *_DIST list
18039 contains all testsuites and "package.m4" files. The lists are again
18040 generated per directory: so AX_GNU_AUTOTEST_DCLEAN contains all
18041 "atconfig" files while e.g. AX_GNU_AUTOTEST_DIST_foo contains only
18042 files below the "foo" directory. These file lists are prevented from
18043 becoming Makefile variables by calling AM_SUBST_NOTMAKE(): that way,
18044 only the single version used by the Makefile is substituted, not all
18045 lists for all other paths as well. So use either like this:
18046
18047 DISTCLEANFILES = @AX_GNU_AUTOTEST_DCLEAN@
18048 EXTRA_DIST = @AX_GNU_AUTOTEST_DIST_foo@
18049
18050 Or like this:
18051
18052 AX_GNU_AUTOTEST_DCLEAN_foo = @AX_GNU_AUTOTEST_DCLEAN_foo@
18053 AX_GNU_AUTOTEST_DIST_foo = @AX_GNU_AUTOTEST_DIST_foo@
18054 DISTCLEANFILES = ${AX_GNU_AUTOTEST_DCLEAN_foo}
18055 EXTRA_DIST = ${AX_GNU_AUTOTEST_DIST_foo}
18056
18057 Description of shorthand default Makefile contents defined by
18058 AX_GNU_AUTOTEST_DEFAULT*:
18059
18060 This shorthand defines the appropriate rules, adds the file lists to the
18061 proper variables and makes the new targets dependencies of the standard
18062 "check", "installcheck" and "clean" targets. AX_GNU_AUTOTEST_DEFAULT is
18063 for example equivalent to:
18064
18065 @AX_GNU_AUTOTEST_RULES@
18066 check: check-autotest
18067 installcheck: installcheck-autotest
18068 clean: clean-autotest
18069 distclean: distclean-autotest
18070 distclean-autotest: clean-autotest
18071 -rm -f @AX_GNU_AUTOTEST_DCLEAN@
18072 .PHONY: distclean-autotest
18073 EXTRA_DIST += @AX_GNU_AUTOTEST_DIST@
18074
18075 Note that this is copied verbatim into the Makefile (after expansion of
18076 the contained @...@ substitutions): it does not shadow the default
18077 targets as would happen if the same lines were written in a Makefile.am
18078 file. And also note the use of the += operator: this will not be
18079 compatible with all versions of Make. Finally, the DISTCLEANFILES list
18080 is not used because automake only uses that list if it saw the variable
18081 in the Makefile.am file: in a substitution, it gets ignored unless the
18082 user already used the list.
18083
18084 Alternative standard GNU test suites not supported here:
18085
18086 * Automake test suites configured by the TESTS variable [2]
18087 * DejaGnu test suites [3,4]
18088
18089 [1]:
18090 <https://www.gnu.org/software/autoconf/manual/html_node/Using-Autotest.html>
18091
18092 [2]: <https://www.gnu.org/software/automake/manual/html_node/Tests.html>
18093
18094 [3]: <https://www.gnu.org/software/dejagnu/>
18095
18096 [4]:
18097 <https://www.gnu.org/software/automake/manual/html_node/DejaGnu-Tests.html>
18098
18099 Source Code
18100 ***********
18101
18102 Download the latest version of 'ax_gnu_autotest.m4'
18103 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gnu_autotest.m4)
18104 or browse the macro's revision history
18105 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gnu_autotest.m4).
18106
18107 License
18108 *******
18109
18110 Copyright (C) 2015 Olaf Mandel <olaf@mandel.name>
18111
18112 Copying and distribution of this file, with or without modification, are
18113 permitted in any medium without royalty provided the copyright notice
18114 and this notice are preserved. This file is offered as-is, without any
18115 warranty.
18116
18117 
18118 File: autoconf-archive.info, Node: ax_have_adns, Next: ax_have_epoll, Prev: ax_gnu_autotest, Up: The Macros
18119
18120 ax_have_adns
18121 ============
18122
18123 Synopsis
18124 ********
18125
18126 AX_HAVE_ADNS([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18127
18128 Description
18129 ***********
18130
18131 Check whether the GNU ADNS library available from
18132 http://www.chiark.greenend.org.uk/~ian/adns/ is installed on this
18133 system. The test is known to work with version 1.4 (or later). If the
18134 library is found, the flags necessary to link it are added to $LIBS.
18135
18136 Source Code
18137 ***********
18138
18139 Download the latest version of 'ax_have_adns.m4'
18140 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_adns.m4)
18141 or browse the macro's revision history
18142 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_adns.m4).
18143
18144 License
18145 *******
18146
18147 Copyright (C) 2008 Peter Simons <simons@cryp.to>
18148
18149 Copying and distribution of this file, with or without modification, are
18150 permitted in any medium without royalty provided the copyright notice
18151 and this notice are preserved. This file is offered as-is, without any
18152 warranty.
18153
18154 
18155 File: autoconf-archive.info, Node: ax_have_epoll, Next: ax_have_poll, Prev: ax_have_adns, Up: The Macros
18156
18157 ax_have_epoll
18158 =============
18159
18160 Synopsis
18161 ********
18162
18163 AX_HAVE_EPOLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18164 AX_HAVE_EPOLL_PWAIT([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18165
18166 Description
18167 ***********
18168
18169 This macro determines whether the system supports the epoll I/O event
18170 interface. A neat usage example would be:
18171
18172 AX_HAVE_EPOLL(
18173 [AX_CONFIG_FEATURE_ENABLE(epoll)],
18174 [AX_CONFIG_FEATURE_DISABLE(epoll)])
18175 AX_CONFIG_FEATURE(
18176 [epoll], [This platform supports epoll(7)],
18177 [HAVE_EPOLL], [This platform supports epoll(7).])
18178
18179 The epoll interface was added to the Linux kernel in version 2.5.45, and
18180 the macro verifies that a kernel newer than this is installed. This
18181 check is somewhat unreliable if <linux/version.h> doesn't match the
18182 running kernel, but it is necessary regardless, because glibc comes with
18183 stubs for the epoll_create(), epoll_wait(), etc. that allow programs to
18184 compile and link even if the kernel is too old; the problem would then
18185 be detected only at runtime.
18186
18187 Linux kernel version 2.6.19 adds the epoll_pwait() call in addition to
18188 epoll_wait(). The availability of that function can be tested with the
18189 second macro. Generally speaking, it is safe to assume that
18190 AX_HAVE_EPOLL would succeed if AX_HAVE_EPOLL_PWAIT has, but not the
18191 other way round.
18192
18193 Source Code
18194 ***********
18195
18196 Download the latest version of 'ax_have_epoll.m4'
18197 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_epoll.m4)
18198 or browse the macro's revision history
18199 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_epoll.m4).
18200
18201 License
18202 *******
18203
18204 Copyright (C) 2008 Peter Simons <simons@cryp.to>
18205
18206 Copying and distribution of this file, with or without modification, are
18207 permitted in any medium without royalty provided the copyright notice
18208 and this notice are preserved. This file is offered as-is, without any
18209 warranty.
18210
18211 
18212 File: autoconf-archive.info, Node: ax_have_poll, Next: ax_have_qt, Prev: ax_have_epoll, Up: The Macros
18213
18214 ax_have_poll
18215 ============
18216
18217 Synopsis
18218 ********
18219
18220 AX_HAVE_POLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18221 AX_HAVE_PPOLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18222
18223 Description
18224 ***********
18225
18226 This macro determines whether the system supports the poll I/O event
18227 interface. A neat usage example would be:
18228
18229 AX_HAVE_POLL(
18230 [AX_CONFIG_FEATURE_ENABLE(poll)],
18231 [AX_CONFIG_FEATURE_DISABLE(poll)])
18232 AX_CONFIG_FEATURE(
18233 [poll], [This platform supports poll(7)],
18234 [HAVE_POLL], [This platform supports poll(7).])
18235
18236 Some systems - most notably Linux kernel 2.6.16 and later - also have
18237 the variant ppoll(). The availability of that function can be tested
18238 with the second macro. Generally speaking, it is safe to assume that
18239 AX_HAVE_POLL would succeed if AX_HAVE_PPOLL has, but not the other way
18240 round.
18241
18242 Source Code
18243 ***********
18244
18245 Download the latest version of 'ax_have_poll.m4'
18246 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_poll.m4)
18247 or browse the macro's revision history
18248 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_poll.m4).
18249
18250 License
18251 *******
18252
18253 Copyright (C) 2009 Peter Simons <simons@cryp.to>
18254
18255 Copying and distribution of this file, with or without modification, are
18256 permitted in any medium without royalty provided the copyright notice
18257 and this notice are preserved. This file is offered as-is, without any
18258 warranty.
18259
18260 
18261 File: autoconf-archive.info, Node: ax_have_qt, Next: ax_have_select, Prev: ax_have_poll, Up: The Macros
18262
18263 ax_have_qt
18264 ==========
18265
18266 Synopsis
18267 ********
18268
18269 AX_HAVE_QT
18270
18271 Description
18272 ***********
18273
18274 Searches $PATH and queries qmake for Qt include files, libraries and Qt
18275 binary utilities. The macro only supports Qt5 or later.
18276
18277 The following shell variable is set to either "yes" or "no":
18278
18279 have_qt
18280
18281 Additionally, the following variables are exported:
18282
18283 QT_CXXFLAGS
18284 QT_LIBS
18285 QT_MOC
18286 QT_UIC
18287 QT_LRELEASE
18288 QT_LUPDATE
18289 QT_DIR
18290
18291 which respectively contain an "-I" flag pointing to the Qt include
18292 directory, link flags necessary to link with Qt and X, the full path to
18293 the meta object compiler and the user interface compiler both, and
18294 finally the variable QTDIR as Qt likes to see it defined.
18295
18296 Example lines for Makefile.in:
18297
18298 CXXFLAGS = @QT_CXXFLAGS@
18299 MOC = @QT_MOC@
18300
18301 After the variables have been set, a trial compile and link is performed
18302 to check the correct functioning of the meta object compiler. This test
18303 may fail when the different detected elements stem from different
18304 releases of the Qt framework. In that case, an error message is emitted
18305 and configure stops.
18306
18307 No common variables such as $LIBS or $CFLAGS are polluted.
18308
18309 Source Code
18310 ***********
18311
18312 Download the latest version of 'ax_have_qt.m4'
18313 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_qt.m4)
18314 or browse the macro's revision history
18315 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_qt.m4).
18316
18317 License
18318 *******
18319
18320 Copyright (C) 2008 Bastiaan Veelo <Bastiaan@Veelo.net>
18321 Copyright (C) 2014 Alex Henrie <alexhenrie24@gmail.com>
18322
18323 Copying and distribution of this file, with or without modification, are
18324 permitted in any medium without royalty provided the copyright notice
18325 and this notice are preserved. This file is offered as-is, without any
18326 warranty.
18327
18328 
18329 File: autoconf-archive.info, Node: ax_have_select, Next: ax_include_strcasecmp, Prev: ax_have_qt, Up: The Macros
18330
18331 ax_have_select
18332 ==============
18333
18334 Synopsis
18335 ********
18336
18337 AX_HAVE_SELECT([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18338 AX_HAVE_PSELECT([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18339
18340 Description
18341 ***********
18342
18343 This macro determines whether the system supports the select I/O event
18344 interface. A neat usage example would be:
18345
18346 AX_HAVE_SELECT(
18347 [AX_CONFIG_FEATURE_ENABLE(select)],
18348 [AX_CONFIG_FEATURE_DISABLE(select)])
18349 AX_CONFIG_FEATURE(
18350 [select], [This platform supports select(7)],
18351 [HAVE_SELECT], [This platform supports select(7).])
18352
18353 Some systems also have the variant pselect(). The availability of that
18354 function can be tested with the second macro. Generally speaking, it is
18355 safe to assume that AX_HAVE_SELECT would succeed if AX_HAVE_SELECT_PWAIT
18356 has, but not the other way round.
18357
18358 Source Code
18359 ***********
18360
18361 Download the latest version of 'ax_have_select.m4'
18362 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_select.m4)
18363 or browse the macro's revision history
18364 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_select.m4).
18365
18366 License
18367 *******
18368
18369 Copyright (C) 2009 Peter Simons <simons@cryp.to>
18370
18371 Copying and distribution of this file, with or without modification, are
18372 permitted in any medium without royalty provided the copyright notice
18373 and this notice are preserved. This file is offered as-is, without any
18374 warranty.
18375
18376 
18377 File: autoconf-archive.info, Node: ax_include_strcasecmp, Next: ax_install_files, Prev: ax_have_select, Up: The Macros
18378
18379 ax_include_strcasecmp
18380 =====================
18381
18382 Synopsis
18383 ********
18384
18385 AX_INCLUDE_STRCASECMP
18386
18387 Description
18388 ***********
18389
18390 This macro tries to find a header for strcasecmp() in strings.h, then
18391 string.h, and AC_DEFINEs AX_STRCASECMP_HEADER to the value it found.
18392 Use it in your source like so:
18393
18394 #ifdef AX_STRCASECMP_HEADER
18395 #include AX_STRCASECMP_HEADER
18396 #endif
18397
18398 Source Code
18399 ***********
18400
18401 Download the latest version of 'ax_include_strcasecmp.m4'
18402 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_include_strcasecmp.m4)
18403 or browse the macro's revision history
18404 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_include_strcasecmp.m4).
18405
18406 License
18407 *******
18408
18409 Copyright (C) 2012 Leo Davis <ldavis@speechfxinc.com>
18410
18411 Copying and distribution of this file, with or without modification, are
18412 permitted in any medium without royalty provided the copyright notice
18413 and this notice are preserved. This file is offered as-is, without any
18414 warranty.
18415
18416 
18417 File: autoconf-archive.info, Node: ax_install_files, Next: ax_is_release, Prev: ax_include_strcasecmp, Up: The Macros
18418
18419 ax_install_files
18420 ================
18421
18422 Synopsis
18423 ********
18424
18425 AX_INSTALL_FILES
18426
18427 Description
18428 ***********
18429
18430 Adds target for creating a install_files file, which contains the list
18431 of files that will be installed.
18432
18433 Source Code
18434 ***********
18435
18436 Download the latest version of 'ax_install_files.m4'
18437 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_install_files.m4)
18438 or browse the macro's revision history
18439 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_install_files.m4).
18440
18441 License
18442 *******
18443
18444 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
18445
18446 Copying and distribution of this file, with or without modification, are
18447 permitted in any medium without royalty provided the copyright notice
18448 and this notice are preserved. This file is offered as-is, without any
18449 warranty.
18450
18451 
18452 File: autoconf-archive.info, Node: ax_is_release, Next: ax_java_check_class, Prev: ax_install_files, Up: The Macros
18453
18454 ax_is_release
18455 =============
18456
18457 Synopsis
18458 ********
18459
18460 AX_IS_RELEASE(POLICY)
18461
18462 Description
18463 ***********
18464
18465 Determine whether the code is being configured as a release, or from
18466 git. Set the ax_is_release variable to 'yes' or 'no'.
18467
18468 If building a release version, it is recommended that the configure
18469 script disable compiler errors and debug features, by conditionalising
18470 them on the ax_is_release variable. If building from git, these
18471 features should be enabled.
18472
18473 The POLICY parameter specifies how ax_is_release is determined. It can
18474 take the following values:
18475
18476 * git-directory: ax_is_release will be 'no' if a '.git' directory exists
18477 * minor-version: ax_is_release will be 'no' if the minor version number
18478 in $PACKAGE_VERSION is odd; this assumes
18479 $PACKAGE_VERSION follows the 'major.minor.micro' scheme
18480 * micro-version: ax_is_release will be 'no' if the micro version number
18481 in $PACKAGE_VERSION is odd; this assumes
18482 $PACKAGE_VERSION follows the 'major.minor.micro' scheme
18483 * dash-version: ax_is_release will be 'no' if there is a dash '-'
18484 in $PACKAGE_VERSION, for example 1.2-pre3, 1.2.42-a8b9
18485 or 2.0-dirty (in particular this is suitable for use
18486 with git-version-gen)
18487 * always: ax_is_release will always be 'yes'
18488 * never: ax_is_release will always be 'no'
18489
18490 Other policies may be added in future.
18491
18492 Source Code
18493 ***********
18494
18495 Download the latest version of 'ax_is_release.m4'
18496 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_is_release.m4)
18497 or browse the macro's revision history
18498 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_is_release.m4).
18499
18500 License
18501 *******
18502
18503 Copyright (C) 2015 Philip Withnall <philip@tecnocode.co.uk>
18504 Copyright (C) 2016 Collabora Ltd.
18505
18506 Copying and distribution of this file, with or without modification, are
18507 permitted in any medium without royalty provided the copyright notice
18508 and this notice are preserved.
18509
18510 
18511 File: autoconf-archive.info, Node: ax_java_check_class, Next: ax_java_options, Prev: ax_is_release, Up: The Macros
18512
18513 ax_java_check_class
18514 ===================
18515
18516 Synopsis
18517 ********
18518
18519 AX_JAVA_CHECK_CLASS(<class>,<action-if-found>,<action-if-not-found>)
18520
18521 Description
18522 ***********
18523
18524 Test if a Java class is available. Based on AX_PROG_JAVAC_WORKS. This
18525 version uses a cache variable which is both compiler, options and
18526 classpath dependent (so if you switch from javac to gcj it correctly
18527 notices and redoes the test).
18528
18529 The macro tries to compile a minimal program importing <class>. Some
18530 newer compilers moan about the failure to use this but fail or produce a
18531 class file anyway. All moaning is sunk to /dev/null since I only wanted
18532 to know if the class could be imported. This is a recommended followup
18533 to AX_CHECK_JAVA_PLUGIN with classpath appropriately adjusted.
18534
18535 Source Code
18536 ***********
18537
18538 Download the latest version of 'ax_java_check_class.m4'
18539 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_java_check_class.m4)
18540 or browse the macro's revision history
18541 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_java_check_class.m4).
18542
18543 License
18544 *******
18545
18546 Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
18547
18548 This program is free software; you can redistribute it and/or modify it
18549 under the terms of the GNU General Public License as published by the
18550 Free Software Foundation; either version 2 of the License, or (at your
18551 option) any later version.
18552
18553 This program is distributed in the hope that it will be useful, but
18554 WITHOUT ANY WARRANTY; without even the implied warranty of
18555 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
18556 Public License for more details.
18557
18558 You should have received a copy of the GNU General Public License along
18559 with this program. If not, see <https://www.gnu.org/licenses/>.
18560
18561 As a special exception, the respective Autoconf Macro's copyright owner
18562 gives unlimited permission to copy, distribute and modify the configure
18563 scripts that are the output of Autoconf when processing the Macro. You
18564 need not follow the terms of the GNU General Public License when using
18565 or distributing such scripts, even though portions of the text of the
18566 Macro appear in them. The GNU General Public License (GPL) does govern
18567 all other use of the material that constitutes the Autoconf Macro.
18568
18569 This special exception to the GPL applies to versions of the Autoconf
18570 Macro released by the Autoconf Archive. When you make and distribute a
18571 modified version of the Autoconf Macro, you may extend this special
18572 exception to the GPL to apply to your modified version as well.
18573
18574 
18575 File: autoconf-archive.info, Node: ax_java_options, Next: ax_jni_include_dir, Prev: ax_java_check_class, Up: The Macros
18576
18577 ax_java_options
18578 ===============
18579
18580 Synopsis
18581 ********
18582
18583 AX_JAVA_OPTIONS
18584
18585 Description
18586 ***********
18587
18588 AX_JAVA_OPTIONS adds configure command line options used for Java m4
18589 macros. This Macro is optional.
18590
18591 Note: This is part of the set of autoconf M4 macros for Java programs.
18592 It is VERY IMPORTANT that you download the whole set, some macros depend
18593 on other. Unfortunately, the autoconf archive does not support the
18594 concept of set of macros, so I had to break it for submission. The
18595 general documentation, as well as the sample configure.in, is included
18596 in the AX_PROG_JAVA macro.
18597
18598 Source Code
18599 ***********
18600
18601 Download the latest version of 'ax_java_options.m4'
18602 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_java_options.m4)
18603 or browse the macro's revision history
18604 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_java_options.m4).
18605
18606 License
18607 *******
18608
18609 Copyright (C) 2008 Devin Weaver <ktohg@tritarget.com>
18610
18611 Copying and distribution of this file, with or without modification, are
18612 permitted in any medium without royalty provided the copyright notice
18613 and this notice are preserved. This file is offered as-is, without any
18614 warranty.
18615
18616 
18617 File: autoconf-archive.info, Node: ax_jni_include_dir, Next: ax_lapack, Prev: ax_java_options, Up: The Macros
18618
18619 ax_jni_include_dir
18620 ==================
18621
18622 Synopsis
18623 ********
18624
18625 AX_JNI_INCLUDE_DIR
18626
18627 Description
18628 ***********
18629
18630 AX_JNI_INCLUDE_DIR finds include directories needed for compiling
18631 programs using the JNI interface.
18632
18633 JNI include directories are usually in the Java distribution. This is
18634 deduced from the value of $JAVA_HOME, $JAVAC, or the path to "javac", in
18635 that order. When this macro completes, a list of directories is left in
18636 the variable JNI_INCLUDE_DIRS.
18637
18638 Example usage follows:
18639
18640 AX_JNI_INCLUDE_DIR
18641
18642 for JNI_INCLUDE_DIR in $JNI_INCLUDE_DIRS
18643 do
18644 CPPFLAGS="$CPPFLAGS -I$JNI_INCLUDE_DIR"
18645 done
18646
18647 If you want to force a specific compiler:
18648
18649 - at the configure.in level, set JAVAC=yourcompiler before calling
18650 AX_JNI_INCLUDE_DIR
18651
18652 - at the configure level, setenv JAVAC
18653
18654 This macro depends on AC_CANONICAL_HOST which requires that config.guess
18655 and config.sub be distributed along with the source code. See autoconf
18656 manual for details.
18657
18658 Note: This macro can work with the autoconf M4 macros for Java programs.
18659 This particular macro is not part of the original set of macros.
18660
18661 Source Code
18662 ***********
18663
18664 Download the latest version of 'ax_jni_include_dir.m4'
18665 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_jni_include_dir.m4)
18666 or browse the macro's revision history
18667 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_jni_include_dir.m4).
18668
18669 License
18670 *******
18671
18672 Copyright (C) 2008 Don Anderson <dda@sleepycat.com>
18673
18674 Copying and distribution of this file, with or without modification, are
18675 permitted in any medium without royalty provided the copyright notice
18676 and this notice are preserved. This file is offered as-is, without any
18677 warranty.
18678
18679 
18680 File: autoconf-archive.info, Node: ax_lapack, Next: ax_lib_beecrypt, Prev: ax_jni_include_dir, Up: The Macros
18681
18682 ax_lapack
18683 =========
18684
18685 Synopsis
18686 ********
18687
18688 AX_LAPACK([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
18689
18690 Description
18691 ***********
18692
18693 This macro looks for a library that implements the LAPACK linear-algebra
18694 interface (see http://www.netlib.org/lapack/). On success, it sets the
18695 LAPACK_LIBS output variable to hold the requisite library linkages.
18696
18697 To link with LAPACK, you should link with:
18698
18699 $LAPACK_LIBS $BLAS_LIBS $LIBS $FLIBS
18700
18701 in that order. BLAS_LIBS is the output variable of the AX_BLAS macro,
18702 called automatically. FLIBS is the output variable of the
18703 AC_F77_LIBRARY_LDFLAGS macro (called if necessary by AX_BLAS), and is
18704 sometimes necessary in order to link with F77 libraries. Users will
18705 also need to use AC_F77_DUMMY_MAIN (see the autoconf manual), for the
18706 same reason.
18707
18708 The user may also use -with-lapack=<lib> in order to use some specific
18709 LAPACK library <lib>. In order to link successfully, however, be aware
18710 that you will probably need to use the same Fortran compiler (which can
18711 be set via the F77 env. var.) as was used to compile the LAPACK and
18712 BLAS libraries.
18713
18714 ACTION-IF-FOUND is a list of shell commands to run if a LAPACK library
18715 is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
18716 is not found. If ACTION-IF-FOUND is not specified, the default action
18717 will define HAVE_LAPACK.
18718
18719 Source Code
18720 ***********
18721
18722 Download the latest version of 'ax_lapack.m4'
18723 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lapack.m4)
18724 or browse the macro's revision history
18725 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lapack.m4).
18726
18727 License
18728 *******
18729
18730 Copyright (C) 2009 Steven G. Johnson <stevenj@alum.mit.edu>
18731
18732 This program is free software: you can redistribute it and/or modify it
18733 under the terms of the GNU General Public License as published by the
18734 Free Software Foundation, either version 3 of the License, or (at your
18735 option) any later version.
18736
18737 This program is distributed in the hope that it will be useful, but
18738 WITHOUT ANY WARRANTY; without even the implied warranty of
18739 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
18740 Public License for more details.
18741
18742 You should have received a copy of the GNU General Public License along
18743 with this program. If not, see <https://www.gnu.org/licenses/>.
18744
18745 As a special exception, the respective Autoconf Macro's copyright owner
18746 gives unlimited permission to copy, distribute and modify the configure
18747 scripts that are the output of Autoconf when processing the Macro. You
18748 need not follow the terms of the GNU General Public License when using
18749 or distributing such scripts, even though portions of the text of the
18750 Macro appear in them. The GNU General Public License (GPL) does govern
18751 all other use of the material that constitutes the Autoconf Macro.
18752
18753 This special exception to the GPL applies to versions of the Autoconf
18754 Macro released by the Autoconf Archive. When you make and distribute a
18755 modified version of the Autoconf Macro, you may extend this special
18756 exception to the GPL to apply to your modified version as well.
18757
18758 
18759 File: autoconf-archive.info, Node: ax_lib_beecrypt, Next: ax_lib_cgal_core, Prev: ax_lapack, Up: The Macros
18760
18761 ax_lib_beecrypt
18762 ===============
18763
18764 Synopsis
18765 ********
18766
18767 AX_LIB_BEECRYPT([yes|no|auto])
18768
18769 Description
18770 ***********
18771
18772 Searches for the 'beecrypt' library with the -with... option.
18773
18774 If found, define HAVE_BEECRYPT and macro BEECRYPT_LIBS. Also defines
18775 BEECRYPT_WITH_<algo> for the algorithms found available. Possible
18776 algorithms: BASE64 AES BF MD5 SHA1 SHA256 SHA384 SHA512.
18777
18778 The argument is used if no -with...-beecrypt option is set. Value "yes"
18779 requires the configuration by default. Value "no" does not require it
18780 by default. Value "auto" configures the library only if available.
18781
18782 See also AX_LIB_CRYPTO and AX_LIB_GCRYPT.
18783
18784 Source Code
18785 ***********
18786
18787 Download the latest version of 'ax_lib_beecrypt.m4'
18788 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_beecrypt.m4)
18789 or browse the macro's revision history
18790 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_beecrypt.m4).
18791
18792 License
18793 *******
18794
18795 Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
18796
18797 Copying and distribution of this file, with or without modification, are
18798 permitted in any medium without royalty provided the copyright notice
18799 and this notice are preserved. This file is offered as-is, without any
18800 warranty.
18801
18802 
18803 File: autoconf-archive.info, Node: ax_lib_cgal_core, Next: ax_lib_crypto, Prev: ax_lib_beecrypt, Up: The Macros
18804
18805 ax_lib_cgal_core
18806 ================
18807
18808 Synopsis
18809 ********
18810
18811 AX_LIB_CGAL_CORE([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18812
18813 Description
18814 ***********
18815
18816 Test for the CGAL_Core library.
18817
18818 By using the "-with-cgal=" option, define a special installation
18819 directory. If CGAL is not found there, the script will fail
18820 immediately. Otherwise, $CGAL_HOME is searched, then standard system
18821 locations.
18822
18823 NOTE: This script depends on BOOST_CPPFLAGS, so be sure to run
18824 AX_BOOST_BASE in advance.
18825
18826 This macro calls:
18827
18828 AC_SUBST(CGAL_CPPFLAGS)
18829 AC_SUBST(CGAL_LDFLAGS)
18830
18831 And sets:
18832
18833 HAVE_CGAL
18834
18835 Source Code
18836 ***********
18837
18838 Download the latest version of 'ax_lib_cgal_core.m4'
18839 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_cgal_core.m4)
18840 or browse the macro's revision history
18841 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_cgal_core.m4).
18842
18843 License
18844 *******
18845
18846 Copyright (C) 2010 Sebastian Hegler <sebastian.hegler@tu-dresden.de>
18847
18848 Copying and distribution of this file, with or without modification, are
18849 permitted in any medium without royalty provided the copyright notice
18850 and this notice are preserved. This file is offered as-is, without any
18851 warranty.
18852
18853 
18854 File: autoconf-archive.info, Node: ax_lib_crypto, Next: ax_lib_curl, Prev: ax_lib_cgal_core, Up: The Macros
18855
18856 ax_lib_crypto
18857 =============
18858
18859 Synopsis
18860 ********
18861
18862 AX_LIB_CRYPTO([yes|no|auto])
18863
18864 Description
18865 ***********
18866
18867 Searches for the 'crypto' library with the -with... option.
18868
18869 If found, define HAVE_CRYPTO and macro CRYPTO_LIBS. Also defines
18870 CRYPTO_WITH_<algo> for the algorithms found available. Possible
18871 algorithms: AES BF CAMELLIA CAST DES IDEA RC2 RC5 MD2 MD4 MD5 SHA RIPEMD
18872 RSA DSA DH
18873
18874 The argument is used if no -with...-crypto option is set. Value "yes"
18875 requires the configuration by default. Value "no" does not require it
18876 by default. Value "auto" configures the library only if available.
18877
18878 See also AX_LIB_BEECRYPT and AX_LIB_GCRYPT.
18879
18880 Source Code
18881 ***********
18882
18883 Download the latest version of 'ax_lib_crypto.m4'
18884 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_crypto.m4)
18885 or browse the macro's revision history
18886 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_crypto.m4).
18887
18888 License
18889 *******
18890
18891 Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
18892
18893 Copying and distribution of this file, with or without modification, are
18894 permitted in any medium without royalty provided the copyright notice
18895 and this notice are preserved. This file is offered as-is, without any
18896 warranty.
18897
18898 
18899 File: autoconf-archive.info, Node: ax_lib_curl, Next: ax_lib_ev, Prev: ax_lib_crypto, Up: The Macros
18900
18901 ax_lib_curl
18902 ===========
18903
18904 Synopsis
18905 ********
18906
18907 AX_LIB_CURL([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
18908
18909 Description
18910 ***********
18911
18912 Checks for minimum curl library version VERSION. If successful executes
18913 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
18914
18915 Defines CURL_LIBS and CURL_CFLAGS.
18916
18917 A simple example:
18918
18919 AX_LIB_CURL([7.19.4],,[
18920 AC_MSG_ERROR([Your system lacks libcurl >= 7.19.4])
18921 ])
18922
18923 This macro is a rearranged version of AC_LIB_CURL from Akos Maroy.
18924
18925 Source Code
18926 ***********
18927
18928 Download the latest version of 'ax_lib_curl.m4'
18929 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_curl.m4)
18930 or browse the macro's revision history
18931 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_curl.m4).
18932
18933 License
18934 *******
18935
18936 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
18937
18938 Copying and distribution of this file, with or without modification, are
18939 permitted in any medium without royalty provided the copyright notice
18940 and this notice are preserved. This file is offered as-is, without any
18941 warranty.
18942
18943 
18944 File: autoconf-archive.info, Node: ax_lib_ev, Next: ax_lib_expat, Prev: ax_lib_curl, Up: The Macros
18945
18946 ax_lib_ev
18947 =========
18948
18949 Synopsis
18950 ********
18951
18952 AX_LIB_EV([VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
18953
18954 Description
18955 ***********
18956
18957 Checks for libev mimicking pkg-config's way of doing things for as long
18958 as upstream doesn't provide a .pc file. If successful and provided
18959 expand ACTION-IF-FOUND, otherwise expand ACTION-IF-NOT-FOUND, or, if
18960 omitted, error out like pkg-config does.
18961
18962 Defines libev_LIBS and libev_CFLAGS.
18963
18964 Source Code
18965 ***********
18966
18967 Download the latest version of 'ax_lib_ev.m4'
18968 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_ev.m4)
18969 or browse the macro's revision history
18970 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_ev.m4).
18971
18972 License
18973 *******
18974
18975 Copyright (C) 2012 Sebastian Freundt <freundt@fresse.org>
18976
18977 Copying and distribution of this file, with or without modification, are
18978 permitted in any medium without royalty provided the copyright notice
18979 and this notice are preserved. This file is offered as-is, without any
18980 warranty.
18981
18982 
18983 File: autoconf-archive.info, Node: ax_lib_expat, Next: ax_lib_firebird, Prev: ax_lib_ev, Up: The Macros
18984
18985 ax_lib_expat
18986 ============
18987
18988 Synopsis
18989 ********
18990
18991 AX_LIB_EXPAT([MINIMUM-VERSION])
18992
18993 Description
18994 ***********
18995
18996 This macro provides tests of availability of Expat XML Parser of
18997 particular version or newer. This macro checks for Expat XML Parser
18998 headers and libraries and defines compilation flags
18999
19000 Macro supports following options and their values:
19001
19002 1) Single-option usage:
19003
19004 --with-expat -- yes, no, or path to Expat XML Parser
19005 installation prefix
19006
19007 2) Three-options usage (all options are required):
19008
19009 --with-expat=yes
19010 --with-expat-inc -- path to base directory with Expat headers
19011 --with-expat-lib -- linker flags for Expat
19012
19013 This macro calls:
19014
19015 AC_SUBST(EXPAT_CFLAGS)
19016 AC_SUBST(EXPAT_LIBS)
19017 AC_SUBST(EXPAT_LDFLAGS)
19018 AC_SUBST(EXPAT_VERSION) -- only if version requirement is used
19019
19020 And sets:
19021
19022 HAVE_EXPAT
19023
19024 Source Code
19025 ***********
19026
19027 Download the latest version of 'ax_lib_expat.m4'
19028 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_expat.m4)
19029 or browse the macro's revision history
19030 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_expat.m4).
19031
19032 License
19033 *******
19034
19035 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
19036
19037 Copying and distribution of this file, with or without modification, are
19038 permitted in any medium without royalty provided the copyright notice
19039 and this notice are preserved. This file is offered as-is, without any
19040 warranty.
19041
19042 
19043 File: autoconf-archive.info, Node: ax_lib_firebird, Next: ax_lib_gcrypt, Prev: ax_lib_expat, Up: The Macros
19044
19045 ax_lib_firebird
19046 ===============
19047
19048 Synopsis
19049 ********
19050
19051 AX_LIB_FIREBIRD([MINIMUM-VERSION])
19052
19053 Description
19054 ***********
19055
19056 Test for the Firebird client library of a particular version (or newer).
19057 This macro takes only one optional argument, the required version of
19058 Firebird library. If required version is not passed, then 1.5.0 is used
19059 in test of existence of Firebird client library.
19060
19061 For more information about Firebird API versioning check: API Identifies
19062 Client Version http://www.firebirdsql.org/rlsnotes20/rnfbtwo-apiods.html
19063
19064 If no installation prefix to the installed Firebird library is given the
19065 macro searches under /usr, /usr/local, and /opt.
19066
19067 This macro calls:
19068
19069 AC_SUBST(FIREBIRD_CFLAGS)
19070 AC_SUBST(FIREBIRD_LDFLAGS)
19071 AC_SUBST(FIREBIRD_VERSION)
19072
19073 And sets:
19074
19075 HAVE_FIREBIRD
19076
19077 Source Code
19078 ***********
19079
19080 Download the latest version of 'ax_lib_firebird.m4'
19081 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_firebird.m4)
19082 or browse the macro's revision history
19083 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_firebird.m4).
19084
19085 License
19086 *******
19087
19088 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
19089
19090 Copying and distribution of this file, with or without modification, are
19091 permitted in any medium without royalty provided the copyright notice
19092 and this notice are preserved. This file is offered as-is, without any
19093 warranty.
19094
19095 
19096 File: autoconf-archive.info, Node: ax_lib_gcrypt, Next: ax_lib_gdal, Prev: ax_lib_firebird, Up: The Macros
19097
19098 ax_lib_gcrypt
19099 =============
19100
19101 Synopsis
19102 ********
19103
19104 AX_LIB_GCRYPT([yes|no|auto])
19105
19106 Description
19107 ***********
19108
19109 Searches for the 'gcrypt' library with the -with... option.
19110
19111 If found, define HAVE_GCRYPT and macro GCRYPT_LIBS and GCRYPT_CFLAGS.
19112 Also defines GCRYPT_WITH_<algo> for the algorithms found available.
19113 Possible algorithms are: AES ARCFOUR BLOWFISH CAST5 DES IDEA RFC2268
19114 SERPENT TWOFISH CRC HAVAL MD2 MD4 MD5 RMD160 SHA0 SHA1 SHA224 SHA256
19115 SHA384 SHA512 TIGER WHIRLPOOL DSA ELGAMAL RSA
19116
19117 The argument is used if no -with...-gcrypt option is set. Value "yes"
19118 requires the configuration by default. Value "no" does not require it
19119 by default. Value "auto" configures the library only if available.
19120
19121 See also AX_LIB_BEECRYPT and AX_LIB_CRYPTO.
19122
19123 Source Code
19124 ***********
19125
19126 Download the latest version of 'ax_lib_gcrypt.m4'
19127 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_gcrypt.m4)
19128 or browse the macro's revision history
19129 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_gcrypt.m4).
19130
19131 License
19132 *******
19133
19134 Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
19135
19136 Copying and distribution of this file, with or without modification, are
19137 permitted in any medium without royalty provided the copyright notice
19138 and this notice are preserved. This file is offered as-is, without any
19139 warranty.
19140
19141 
19142 File: autoconf-archive.info, Node: ax_lib_gdal, Next: ax_lib_hdf5, Prev: ax_lib_gcrypt, Up: The Macros
19143
19144 ax_lib_gdal
19145 ===========
19146
19147 Synopsis
19148 ********
19149
19150 AX_LIB_GDAL([MINIMUM-VERSION])
19151
19152 Description
19153 ***********
19154
19155 This macro provides tests of availability of GDAL/OGR library of
19156 particular version or newer.
19157
19158 AX_LIB_GDAL macro takes only one argument which is optional. If there
19159 is no required version passed, then macro does not run version test.
19160
19161 The -with-gdal option takes complete path to gdal-config utility,
19162
19163 This macro calls AC_SUBST for:
19164
19165 GDAL_VERSION
19166 GDAL_CFLAGS
19167 GDAL_LDFLAGS
19168 GDAL_DEP_LDFLAGS
19169 GDAL_OGR_ENABLED
19170
19171 and AC_DEFINE for:
19172
19173 HAVE_GDAL
19174 HAVE_GDAL_OGR
19175
19176 Source Code
19177 ***********
19178
19179 Download the latest version of 'ax_lib_gdal.m4'
19180 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_gdal.m4)
19181 or browse the macro's revision history
19182 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_gdal.m4).
19183
19184 License
19185 *******
19186
19187 Copyright (C) 2011 Mateusz Loskot <mateusz@loskot.net>
19188 Copyright (C) 2011 Alessandro Candini <candini@meeo.it>
19189
19190 Copying and distribution of this file, with or without modification, are
19191 permitted in any medium without royalty provided the copyright notice
19192 and this notice are preserved. This file is offered as-is, without any
19193 warranty.
19194
19195 
19196 File: autoconf-archive.info, Node: ax_lib_hdf5, Next: ax_lib_id3, Prev: ax_lib_gdal, Up: The Macros
19197
19198 ax_lib_hdf5
19199 ===========
19200
19201 Synopsis
19202 ********
19203
19204 AX_LIB_HDF5([serial/parallel])
19205
19206 Description
19207 ***********
19208
19209 This macro provides tests of the availability of HDF5 library.
19210
19211 The optional macro argument should be either 'serial' or 'parallel'.
19212 The former only looks for serial HDF5 installations via h5cc. The
19213 latter only looks for parallel HDF5 installations via h5pcc. If the
19214 optional argument is omitted, serial installations will be preferred
19215 over parallel ones.
19216
19217 The macro adds a -with-hdf5 option accepting one of three values:
19218
19219 no - do not check for the HDF5 library.
19220 yes - do check for HDF5 library in standard locations.
19221 path - complete path to the HDF5 helper script h5cc or h5pcc.
19222
19223 If HDF5 is successfully found, this macro calls
19224
19225 AC_SUBST(HDF5_VERSION)
19226 AC_SUBST(HDF5_CC)
19227 AC_SUBST(HDF5_CFLAGS)
19228 AC_SUBST(HDF5_CPPFLAGS)
19229 AC_SUBST(HDF5_LDFLAGS)
19230 AC_SUBST(HDF5_LIBS)
19231 AC_SUBST(HDF5_FC)
19232 AC_SUBST(HDF5_FFLAGS)
19233 AC_SUBST(HDF5_FLIBS)
19234 AC_SUBST(HDF5_TYPE)
19235 AC_DEFINE(HAVE_HDF5)
19236
19237 and sets with_hdf5="yes". Additionally, the macro sets
19238 with_hdf5_fortran="yes" if a matching Fortran wrapper script is found.
19239 Note that Autoconf's Fortran support is not used to perform this check.
19240 H5CC and H5FC will contain the appropriate serial or parallel HDF5
19241 wrapper script locations.
19242
19243 If HDF5 is disabled or not found, this macros sets with_hdf5="no" and
19244 with_hdf5_fortran="no".
19245
19246 Your configuration script can test $with_hdf to take any further
19247 actions. HDF5_{C,CPP,LD}FLAGS may be used when building with C or C++.
19248 HDF5_F{FLAGS,LIBS} should be used when building Fortran applications.
19249
19250 To use the macro, one would code one of the following in "configure.ac"
19251 before AC_OUTPUT:
19252
19253 1) dnl Check for HDF5 support
19254 AX_LIB_HDF5()
19255
19256 2) dnl Check for serial HDF5 support
19257 AX_LIB_HDF5([serial])
19258
19259 3) dnl Check for parallel HDF5 support
19260 AX_LIB_HDF5([parallel])
19261
19262 One could test $with_hdf5 for the outcome or display it as follows
19263
19264 echo "HDF5 support: $with_hdf5"
19265
19266 You could also for example, override the default CC in "configure.ac" to
19267 enforce compilation with the compiler that HDF5 uses:
19268
19269 AX_LIB_HDF5([parallel])
19270 if test "$with_hdf5" = "yes"; then
19271 CC="$HDF5_CC"
19272 else
19273 AC_MSG_ERROR([Unable to find HDF5, we need parallel HDF5.])
19274 fi
19275
19276 The HDF5_TYPE environment variable returns "parallel" or "serial",
19277 depending on which type of library is found.
19278
19279 Source Code
19280 ***********
19281
19282 Download the latest version of 'ax_lib_hdf5.m4'
19283 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_hdf5.m4)
19284 or browse the macro's revision history
19285 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_hdf5.m4).
19286
19287 License
19288 *******
19289
19290 Copyright (C) 2009 Timothy Brown <tbrown@freeshell.org>
19291 Copyright (C) 2010 Rhys Ulerich <rhys.ulerich@gmail.com>
19292
19293 Copying and distribution of this file, with or without modification, are
19294 permitted in any medium without royalty provided the copyright notice
19295 and this notice are preserved. This file is offered as-is, without any
19296 warranty.
19297
19298 
19299 File: autoconf-archive.info, Node: ax_lib_id3, Next: ax_lib_libkml, Prev: ax_lib_hdf5, Up: The Macros
19300
19301 ax_lib_id3
19302 ==========
19303
19304 Synopsis
19305 ********
19306
19307 AX_LIB_ID3([ACTION-IF-TRUE], [ACTION-IF-FALSE])
19308
19309 Description
19310 ***********
19311
19312 This macro will check for the existence of id3lib
19313 (http://id3lib.sourceforge.net/). It does this by checking for the
19314 header file id3.h and the id3 library object file. A -with-id3lib
19315 option is supported as well. The following output variables are set
19316 with AC_SUBST:
19317
19318 ID3_CPPFLAGS
19319 ID3_LDFLAGS
19320 ID3_LIBS
19321
19322 You can use them like this in Makefile.am:
19323
19324 AM_CPPFLAGS = $(ID3_CPPFLAGS)
19325 AM_LDFLAGS = $(ID3_LDFLAGS)
19326 program_LDADD = $(ID3_LIBS)
19327
19328 Additionally, the C preprocessor symbol HAVE_ID3LIB will be defined with
19329 AC_DEFINE if id3lib is available.
19330
19331 Source Code
19332 ***********
19333
19334 Download the latest version of 'ax_lib_id3.m4'
19335 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_id3.m4)
19336 or browse the macro's revision history
19337 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_id3.m4).
19338
19339 License
19340 *******
19341
19342 Copyright (C) 2009 Oskar Liljeblad <oskar@osk.mine.nu>
19343
19344 Copying and distribution of this file, with or without modification, are
19345 permitted in any medium without royalty provided the copyright notice
19346 and this notice are preserved. This file is offered as-is, without any
19347 warranty.
19348
19349 
19350 File: autoconf-archive.info, Node: ax_lib_libkml, Next: ax_lib_metis, Prev: ax_lib_id3, Up: The Macros
19351
19352 ax_lib_libkml
19353 =============
19354
19355 Synopsis
19356 ********
19357
19358 AX_LIB_LIBKML([MINIMUM-VERSION])
19359
19360 Description
19361 ***********
19362
19363 This macro tests whether Google's libkml library
19364 <http://code.google.com/p/libkml/> is available in particular version or
19365 newer. The generated configure script will support the following
19366 options:
19367
19368 1) Single-option usage:
19369
19370 --with-libkml - yes, no or path to Google libkml installation prefix
19371
19372 2) Three-options usage (all options are required):
19373
19374 --with-libkml=yes
19375 --with-libkml-inc - path to base directory with headers
19376 --with-libkml-lib - linker flags for
19377
19378 This macro calls:
19379
19380 AC_SUBST(LIBKML_CFLAGS)
19381 AC_SUBST(LIBKML_LDFLAGS)
19382 AC_SUBST(LIBKML_VERSION) - only if version requirement is used
19383
19384 And sets:
19385
19386 HAVE_LIBKML
19387
19388 Source Code
19389 ***********
19390
19391 Download the latest version of 'ax_lib_libkml.m4'
19392 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_libkml.m4)
19393 or browse the macro's revision history
19394 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_libkml.m4).
19395
19396 License
19397 *******
19398
19399 Copyright (C) 2010 Mateusz Loskot <mateusz@loskot.net>
19400
19401 Copying and distribution of this file, with or without modification, are
19402 permitted in any medium without royalty provided the copyright notice
19403 and this notice are preserved. This file is offered as-is, without any
19404 warranty.
19405
19406 
19407 File: autoconf-archive.info, Node: ax_lib_metis, Next: ax_lib_mysql, Prev: ax_lib_libkml, Up: The Macros
19408
19409 ax_lib_metis
19410 ============
19411
19412 Synopsis
19413 ********
19414
19415 AX_LIB_METIS([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
19416
19417 Description
19418 ***********
19419
19420 This macro searches for the METIS library in the user specified
19421 location. The user may specify the location either by defining the
19422 environment variable METIS or by using the -with-metis option to
19423 configure. If the environment variable is defined it has precedent over
19424 everything else. If no location was specified then it searches in
19425 /usr/lib and /usr/local/lib for the library and in /usr/include and
19426 /usr/local/include for the header files. Upon successful completion the
19427 variables METIS_LIB and METIS_INCLUDE are set.
19428
19429 ACTION-IF-FOUND is a list of shell commands to run if a METIS library is
19430 found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
19431 not found. If ACTION-IF-FOUND is not specified, the default action will
19432 define HAVE_METIS. If ACTION-IF-NOT-FOUND is not specified then an error
19433 will be generated halting configure.
19434
19435 Source Code
19436 ***********
19437
19438 Download the latest version of 'ax_lib_metis.m4'
19439 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_metis.m4)
19440 or browse the macro's revision history
19441 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_metis.m4).
19442
19443 License
19444 *******
19445
19446 Copyright (C) 2008 Ben Bergen <ben@cs.fau.de>
19447
19448 Copying and distribution of this file, with or without modification, are
19449 permitted in any medium without royalty provided the copyright notice
19450 and this notice are preserved. This file is offered as-is, without any
19451 warranty.
19452
19453 
19454 File: autoconf-archive.info, Node: ax_lib_mysql, Next: ax_lib_mysqlcppconn, Prev: ax_lib_metis, Up: The Macros
19455
19456 ax_lib_mysql
19457 ============
19458
19459 Synopsis
19460 ********
19461
19462 AX_LIB_MYSQL([MINIMUM-VERSION])
19463
19464 Description
19465 ***********
19466
19467 This macro provides tests of availability of MySQL client library of
19468 particular version or newer.
19469
19470 AX_LIB_MYSQL macro takes only one argument which is optional. If there
19471 is no required version passed, then macro does not run version test.
19472
19473 The -with-mysql option takes one of three possible values:
19474
19475 no - do not check for MySQL client library
19476
19477 yes - do check for MySQL library in standard locations (mysql_config
19478 should be in the PATH)
19479
19480 path - complete path to mysql_config utility, use this option if
19481 mysql_config can't be found in the PATH
19482
19483 This macro calls:
19484
19485 AC_SUBST(MYSQL_CFLAGS)
19486 AC_SUBST(MYSQL_LDFLAGS)
19487 AC_SUBST(MYSQL_VERSION)
19488
19489 And sets:
19490
19491 HAVE_MYSQL
19492
19493 Source Code
19494 ***********
19495
19496 Download the latest version of 'ax_lib_mysql.m4'
19497 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_mysql.m4)
19498 or browse the macro's revision history
19499 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_mysql.m4).
19500
19501 License
19502 *******
19503
19504 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
19505
19506 Copying and distribution of this file, with or without modification, are
19507 permitted in any medium without royalty provided the copyright notice
19508 and this notice are preserved. This file is offered as-is, without any
19509 warranty.
19510
19511 
19512 File: autoconf-archive.info, Node: ax_lib_mysqlcppconn, Next: ax_lib_netcdf4, Prev: ax_lib_mysql, Up: The Macros
19513
19514 ax_lib_mysqlcppconn
19515 ===================
19516
19517 Synopsis
19518 ********
19519
19520 AX_LIB_MYSQLCPPCONN([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
19521
19522 Description
19523 ***********
19524
19525 Test for the MySQL Connector/C++ libraries
19526
19527 If no path to the installed library is given the macro searches under
19528 /usr, /usr/local, /opt and /opt/local.
19529
19530 This macro calls:
19531
19532 AC_SUBST(LIBMYSQLCPPCONN_CXXFLAGS) / AC_SUBST(LIBMYSQLCPPCONN_LDFLAGS)
19533
19534 And sets:
19535
19536 HAVE_LIBMYSQLCPPCONN
19537
19538 Note that this library needs to link with either MySQL client library or
19539 MySQL Connector/C to work. The macros defined here don't take care of
19540 external dependencies so you have to do it on your own. See also
19541 AX_LIB_MYSQL macro.
19542
19543 Source Code
19544 ***********
19545
19546 Download the latest version of 'ax_lib_mysqlcppconn.m4'
19547 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_mysqlcppconn.m4)
19548 or browse the macro's revision history
19549 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_mysqlcppconn.m4).
19550
19551 License
19552 *******
19553
19554 Copyright (C) 2011 Xiyue Deng <manphiz@gmail.com>
19555
19556 Copying and distribution of this file, with or without modification, are
19557 permitted in any medium without royalty provided the copyright notice
19558 and this notice are preserved. This file is offered as-is, without any
19559 warranty.
19560
19561 
19562 File: autoconf-archive.info, Node: ax_lib_netcdf4, Next: ax_lib_nettle, Prev: ax_lib_mysqlcppconn, Up: The Macros
19563
19564 ax_lib_netcdf4
19565 ==============
19566
19567 Synopsis
19568 ********
19569
19570 AX_LIB_NETCDF4([serial/parallel])
19571
19572 Description
19573 ***********
19574
19575 This macro provides tests of the availability of the NetCDF v4 library.
19576
19577 The optional macro argument should be either 'serial' or 'parallel'.
19578 The macro will call nc-config to check the output of the '-has-pnetcdf'
19579 option and error out if the requested parallel isn't supported.
19580
19581 If the optional argument is omitted, no check is made to see if NetCDF
19582 has parallel support.
19583
19584 The macro adds a -with-netcdf4 option accepting one of three values:
19585
19586 no - do not check for the NetCDF4 library.
19587 yes - do check for NetCDF4 library in standard locations.
19588 path - installation prefix for NetCDF version 4.
19589
19590 If NetCDF4 is successfully found, this macro calls
19591
19592 AC_SUBST(NETCDF4_VERSION)
19593 AC_SUBST(NETCDF4_CC)
19594 AC_SUBST(NETCDF4_CFLAGS)
19595 AC_SUBST(NETCDF4_CPPFLAGS)
19596 AC_SUBST(NETCDF4_LDFLAGS)
19597 AC_SUBST(NETCDF4_LIBS)
19598 AC_SUBST(NETCDF4_FC)
19599 AC_SUBST(NETCDF4_FFLAGS)
19600 AC_SUBST(NETCDF4_FLIBS)
19601 AC_DEFINE(HAVE_NETCDF4)
19602
19603 It also sets
19604
19605 with_netcdf4="yes"
19606 with_netcdf4_fortran="yes" (if NetCDF has Fortran support)
19607 with_netcdf4_parallel="yes" (if NetCDF has MPI support)
19608
19609 If NetCDF4 is disabled or not found, this macros sets
19610
19611 with_netcdf4="no"
19612 with_netcdf4_fortran="no"
19613
19614 Note it does not set with_netcdf4_parallel in this case.
19615
19616 Your configuration script can test $with_netcdf4 to take any further
19617 actions. NETCDF4_{C,CPP,LD}FLAGS may be used when building with C or
19618 C++. NETCDF4_F{FLAGS,LIBS} and NETCDF4_LDFLAGS should be used when
19619 building Fortran applications.
19620
19621 To use the macro, one would code one of the following in "configure.ac"
19622 before AC_OUTPUT:
19623
19624 1) dnl Check for NetCDF4 support
19625 AX_LIB_NETCDF4()
19626
19627 2) dnl Check for serial NetCDF4 support
19628 AX_LIB_NETCDF4([serial])
19629
19630 3) dnl Check for parallel NetCDF4 support
19631 AX_LIB_NETCDF4([parallel])
19632
19633 One could test $with_netcdf4 for the outcome or display it as follows
19634
19635 echo "NetCDF v4 support: $with_netcdf4"
19636
19637 One could also for example, override the default CC in "configure.ac" to
19638 enforce compilation with the compiler that NetCDF v4 was built with:
19639
19640 AX_LIB_NETCDF4([parallel])
19641 if test "$with_netcdf4" = "yes"; then
19642 CC="$NETCDF4_CC"
19643 else
19644 AC_MSG_ERROR([Unable to find NetCDF4, we need parallel NetCDF4.])
19645 fi
19646
19647 Source Code
19648 ***********
19649
19650 Download the latest version of 'ax_lib_netcdf4.m4'
19651 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_netcdf4.m4)
19652 or browse the macro's revision history
19653 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_netcdf4.m4).
19654
19655 License
19656 *******
19657
19658 Copyright (C) 2016 Timothy Brown <tbrown@freeshell.org>
19659
19660 Copying and distribution of this file, with or without modification, are
19661 permitted in any medium without royalty provided the copyright notice
19662 and this notice are preserved. This file is offered as-is, without any
19663 warranty.
19664
19665 
19666 File: autoconf-archive.info, Node: ax_lib_nettle, Next: ax_lib_nokalva, Prev: ax_lib_netcdf4, Up: The Macros
19667
19668 ax_lib_nettle
19669 =============
19670
19671 Synopsis
19672 ********
19673
19674 AX_LIB_NETTLE([yes|no|auto])
19675
19676 Description
19677 ***********
19678
19679 Searches for the 'nettle' library with the -with... option.
19680
19681 If found, define HAVE_NETTLE and macro NETTLE_LIBS. Also defines
19682 NETTLE_WITH_<algo> for the algorithms found available. Possible
19683 algorithms: AES ARCTWO BLOWFISH CAST128 DES DES3 SERPENT TWOFISH MD2 MD4
19684 MD5 SHA1 SHA256.
19685
19686 The argument is used if no -with...-nettle option is set. Value "yes"
19687 requires the configuration by default. Value "no" does not require it
19688 by default. Value "auto" configures the library only if available.
19689
19690 See also AX_LIB_BEECRYPT, AX_LIB_CRYPTO, and AX_LIB_GCRYPT.
19691
19692 Source Code
19693 ***********
19694
19695 Download the latest version of 'ax_lib_nettle.m4'
19696 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_nettle.m4)
19697 or browse the macro's revision history
19698 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_nettle.m4).
19699
19700 License
19701 *******
19702
19703 Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
19704
19705 Copying and distribution of this file, with or without modification, are
19706 permitted in any medium without royalty provided the copyright notice
19707 and this notice are preserved. This file is offered as-is, without any
19708 warranty.
19709
19710 
19711 File: autoconf-archive.info, Node: ax_lib_nokalva, Next: ax_lib_oracle_occi, Prev: ax_lib_nettle, Up: The Macros
19712
19713 ax_lib_nokalva
19714 ==============
19715
19716 Synopsis
19717 ********
19718
19719 AX_LIB_NOKALVA([ACTION-IF-TRUE], [ACTION-IF-FALSE])
19720
19721 Description
19722 ***********
19723
19724 This macro will check for the existence of OSS Nokalva
19725 (http://www.oss.com/products/). It does this by checking for the header
19726 file asn1.h and the cppsoed library object file. A -with-nokalva option
19727 is supported as well. The following output variables are set with
19728 AC_SUBST:
19729
19730 NOKALVA_CPPFLAGS
19731 NOKALVA_LDFLAGS
19732 NOKALVA_LIBS
19733
19734 You can use them like this in Makefile.am:
19735
19736 AM_CPPFLAGS = $(NOKALVA_CPPFLAGS)
19737 AM_LDFLAGS = $(NOKALVA_LDFLAGS)
19738 program_LDADD = $(NOKALVA_LIBS)
19739
19740 Additionally, the C preprocessor symbol HAVE_NOKALVA will be defined
19741 with AC_DEFINE if Nokalva is available.
19742
19743 Source Code
19744 ***********
19745
19746 Download the latest version of 'ax_lib_nokalva.m4'
19747 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_nokalva.m4)
19748 or browse the macro's revision history
19749 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_nokalva.m4).
19750
19751 License
19752 *******
19753
19754 Copyright (C) 2009 Krzysztof Burghardt <krzysztof@burghardt.pl>
19755
19756 Copying and distribution of this file, with or without modification, are
19757 permitted in any medium without royalty provided the copyright notice
19758 and this notice are preserved. This file is offered as-is, without any
19759 warranty.
19760
19761 
19762 File: autoconf-archive.info, Node: ax_lib_oracle_occi, Next: ax_lib_oracle_oci, Prev: ax_lib_nokalva, Up: The Macros
19763
19764 ax_lib_oracle_occi
19765 ==================
19766
19767 Synopsis
19768 ********
19769
19770 AX_LIB_ORACLE_OCCI([MINIMUM-VERSION])
19771
19772 Description
19773 ***********
19774
19775 This macro provides tests of availability of Oracle OCCI API of
19776 particular version or newer. This macros checks for Oracle OCCI headers
19777 and libraries and defines compilation flags.
19778
19779 Macro supports following options and their values:
19780
19781 1) Single-option usage:
19782
19783 --with-occi -- path to ORACLE_HOME directory
19784
19785 2) Two-options usage (both options are required):
19786
19787 --with-occi-include -- path to directory with OCCI headers
19788 --with-occi-lib -- path to directory with OCCI libraries
19789
19790 NOTE: These options described above do not take yes|no values. If 'yes'
19791 value is passed, then WARNING message will be displayed, 'no' value, as
19792 well as the -without-occi-* variations will cause the macro to not check
19793 anything.
19794
19795 This macro calls:
19796
19797 AC_SUBST(ORACLE_OCCI_CPPFLAGS)
19798 AC_SUBST(ORACLE_OCCI_LDFLAGS)
19799 AC_SUBST(ORACLE_OCCI_VERSION)
19800
19801 And sets:
19802
19803 HAVE_ORACLE_OCCI
19804
19805 Source Code
19806 ***********
19807
19808 Download the latest version of 'ax_lib_oracle_occi.m4'
19809 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_oracle_occi.m4)
19810 or browse the macro's revision history
19811 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_oracle_occi.m4).
19812
19813 License
19814 *******
19815
19816 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
19817 Copyright (C) 2012 Krzysztof Burghardt <krzysztof@burghardt.pl>
19818
19819 Copying and distribution of this file, with or without modification, are
19820 permitted in any medium without royalty provided the copyright notice
19821 and this notice are preserved. This file is offered as-is, without any
19822 warranty.
19823
19824 
19825 File: autoconf-archive.info, Node: ax_lib_oracle_oci, Next: ax_lib_orbit2, Prev: ax_lib_oracle_occi, Up: The Macros
19826
19827 ax_lib_oracle_oci
19828 =================
19829
19830 Synopsis
19831 ********
19832
19833 AX_LIB_ORACLE_OCI([MINIMUM-VERSION])
19834
19835 Description
19836 ***********
19837
19838 This macro provides tests of availability of Oracle OCI API of
19839 particular version or newer. This macros checks for Oracle OCI headers
19840 and libraries and defines compilation flags.
19841
19842 Macro supports following options and their values:
19843
19844 1) Single-option usage:
19845
19846 --with-oci -- path to ORACLE_HOME directory
19847
19848 2) Two-options usage (both options are required):
19849
19850 --with-oci-include -- path to directory with OCI headers
19851 --with-oci-lib -- path to directory with OCI libraries
19852
19853 NOTE: These options described above do not take yes|no values. If 'yes'
19854 value is passed, then WARNING message will be displayed, 'no' value, as
19855 well as the -without-oci-* variations will cause the macro to not check
19856 anything.
19857
19858 This macro calls:
19859
19860 AC_SUBST(ORACLE_OCI_CFLAGS)
19861 AC_SUBST(ORACLE_OCI_LDFLAGS)
19862 AC_SUBST(ORACLE_OCI_VERSION)
19863
19864 And sets:
19865
19866 HAVE_ORACLE_OCI
19867
19868 Source Code
19869 ***********
19870
19871 Download the latest version of 'ax_lib_oracle_oci.m4'
19872 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_oracle_oci.m4)
19873 or browse the macro's revision history
19874 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_oracle_oci.m4).
19875
19876 License
19877 *******
19878
19879 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
19880 Copyright (C) 2015 Joost van Baal-Ilic <joostvb+autoconf@uvt.nl>
19881
19882 Copying and distribution of this file, with or without modification, are
19883 permitted in any medium without royalty provided the copyright notice
19884 and this notice are preserved. This file is offered as-is, without any
19885 warranty.
19886
19887 
19888 File: autoconf-archive.info, Node: ax_lib_orbit2, Next: ax_lib_postgresql, Prev: ax_lib_oracle_oci, Up: The Macros
19889
19890 ax_lib_orbit2
19891 =============
19892
19893 Synopsis
19894 ********
19895
19896 AX_LIB_ORBIT2([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
19897
19898 Description
19899 ***********
19900
19901 Checks for minimum Orbit2 library version VERSION. If successful
19902 executes ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
19903
19904 Defines ORBIT2_LIBS and ORBIT2_CFLAGS.
19905
19906 A simple example:
19907
19908 AX_LIB_ORBIT2([2.14.16],,[
19909 AC_MSG_ERROR([Your system lacks of orbit2 >= 2.14.16])
19910 ])
19911
19912 Source Code
19913 ***********
19914
19915 Download the latest version of 'ax_lib_orbit2.m4'
19916 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_orbit2.m4)
19917 or browse the macro's revision history
19918 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_orbit2.m4).
19919
19920 License
19921 *******
19922
19923 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
19924
19925 Copying and distribution of this file, with or without modification, are
19926 permitted in any medium without royalty provided the copyright notice
19927 and this notice are preserved. This file is offered as-is, without any
19928 warranty.
19929
19930 
19931 File: autoconf-archive.info, Node: ax_lib_postgresql, Next: ax_lib_readline, Prev: ax_lib_orbit2, Up: The Macros
19932
19933 ax_lib_postgresql
19934 =================
19935
19936 Synopsis
19937 ********
19938
19939 AX_LIB_POSTGRESQL([MINIMUM-VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
19940
19941 Description
19942 ***********
19943
19944 This macro provides tests of availability of PostgreSQL 'libpq' library
19945 of particular version or newer.
19946
19947 AX_LIB_POSTGRESQL macro takes only one argument which is optional. If
19948 there is no required version passed, then macro does not run version
19949 test.
19950
19951 The -with-postgresql option takes one of three possible values:
19952
19953 no - do not check for PostgreSQL client library
19954
19955 yes - do check for PostgreSQL library in standard locations (pg_config
19956 should be in the PATH)
19957
19958 path - complete path to pg_config utility, use this option if pg_config
19959 can't be found in the PATH (You could set also PG_CONFIG variable)
19960
19961 This macro calls:
19962
19963 AC_SUBST(POSTGRESQL_CPPFLAGS)
19964 AC_SUBST(POSTGRESQL_LDFLAGS)
19965 AC_SUBST(POSTGRESQL_LIBS)
19966 AC_SUBST(POSTGRESQL_VERSION)
19967
19968 And sets:
19969
19970 HAVE_POSTGRESQL
19971
19972 It execute if found ACTION-IF-FOUND (empty by default) and
19973 ACTION-IF-NOT-FOUND (AC_MSG_FAILURE by default) if not found.
19974
19975 Source Code
19976 ***********
19977
19978 Download the latest version of 'ax_lib_postgresql.m4'
19979 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_postgresql.m4)
19980 or browse the macro's revision history
19981 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_postgresql.m4).
19982
19983 License
19984 *******
19985
19986 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
19987 Copyright (C) 2014 Sree Harsha Totakura <sreeharsha@totakura.in>
19988 Copyright (C) 2018 Bastien Roucaries <rouca@debian.org>
19989
19990 Copying and distribution of this file, with or without modification, are
19991 permitted in any medium without royalty provided the copyright notice
19992 and this notice are preserved. This file is offered as-is, without any
19993 warranty.
19994
19995 
19996 File: autoconf-archive.info, Node: ax_lib_readline, Next: ax_lib_samtools, Prev: ax_lib_postgresql, Up: The Macros
19997
19998 ax_lib_readline
19999 ===============
20000
20001 Synopsis
20002 ********
20003
20004 AX_LIB_READLINE
20005
20006 Description
20007 ***********
20008
20009 Searches for a readline compatible library. If found, defines
20010 'HAVE_LIBREADLINE'. If the found library has the 'add_history' function,
20011 sets also 'HAVE_READLINE_HISTORY'. Also checks for the locations of the
20012 necessary include files and sets 'HAVE_READLINE_H' or
20013 'HAVE_READLINE_READLINE_H' and 'HAVE_READLINE_HISTORY_H' or
20014 'HAVE_HISTORY_H' if the corresponding include files exists.
20015
20016 The libraries that may be readline compatible are 'libedit',
20017 'libeditline' and 'libreadline'. Sometimes we need to link a termcap
20018 library for readline to work, this macro tests these cases too by trying
20019 to link with 'libtermcap', 'libcurses' or 'libncurses' before giving up.
20020
20021 Here is an example of how to use the information provided by this macro
20022 to perform the necessary includes or declarations in a C file:
20023
20024 #ifdef HAVE_LIBREADLINE
20025 # if defined(HAVE_READLINE_READLINE_H)
20026 # include <readline/readline.h>
20027 # elif defined(HAVE_READLINE_H)
20028 # include <readline.h>
20029 # else /* !defined(HAVE_READLINE_H) */
20030 extern char *readline ();
20031 # endif /* !defined(HAVE_READLINE_H) */
20032 char *cmdline = NULL;
20033 #else /* !defined(HAVE_READLINE_READLINE_H) */
20034 /* no readline */
20035 #endif /* HAVE_LIBREADLINE */
20036
20037 #ifdef HAVE_READLINE_HISTORY
20038 # if defined(HAVE_READLINE_HISTORY_H)
20039 # include <readline/history.h>
20040 # elif defined(HAVE_HISTORY_H)
20041 # include <history.h>
20042 # else /* !defined(HAVE_HISTORY_H) */
20043 extern void add_history ();
20044 extern int write_history ();
20045 extern int read_history ();
20046 # endif /* defined(HAVE_READLINE_HISTORY_H) */
20047 /* no history */
20048 #endif /* HAVE_READLINE_HISTORY */
20049
20050 Source Code
20051 ***********
20052
20053 Download the latest version of 'ax_lib_readline.m4'
20054 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_readline.m4)
20055 or browse the macro's revision history
20056 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_readline.m4).
20057
20058 License
20059 *******
20060
20061 Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
20062
20063 Copying and distribution of this file, with or without modification, are
20064 permitted in any medium without royalty provided the copyright notice
20065 and this notice are preserved. This file is offered as-is, without any
20066 warranty.
20067
20068 
20069 File: autoconf-archive.info, Node: ax_lib_samtools, Next: ax_lib_socket_nsl, Prev: ax_lib_readline, Up: The Macros
20070
20071 ax_lib_samtools
20072 ===============
20073
20074 Synopsis
20075 ********
20076
20077 AX_LIB_SAMTOOLS()
20078
20079 Description
20080 ***********
20081
20082 This macro searches for an installed samtools library. If nothing was
20083 specified when calling configure, it searches first in /usr/local and
20084 then tries with ld's default library search path. If the
20085 -with-samtools=DIR is specified, it will try to find it in
20086 DIR/include/bam/sam.h and DIR/lib/libbam.a. As a final try it will look
20087 in DIR/sam.h and DIR/libbam.a as the samtools library does not contain
20088 an install rule.
20089
20090 If -without-samtools is specified, the library is not searched at all.
20091
20092 If either the header file (sam.h) or the library (libbam) is not found,
20093 the configuration exits on error, asking for a valid samtools
20094 installation directory or -without-samtools.
20095
20096 The macro defines the symbol HAVE_SAMTOOLS if the library is found. You
20097 should use autoheader to include a definition for this symbol in a
20098 config.h file. Sample usage in a C/C++ source is as follows:
20099
20100 #ifdef HAVE_SAMTOOLS
20101 #include <sam.h>
20102 #endif /* HAVE_SAMTOOLS */
20103
20104 The following output variables are set with AC_SUBST:
20105
20106 SAMTOOLS_CPPFLAGS
20107 SAMTOOLS_LDFLAGS
20108 SAMTOOLS_LIBS
20109
20110 You can use them like this in Makefile.am:
20111
20112 AM_CPPFLAGS = $(SAMTOOLS_CPPFLAGS)
20113 AM_LDFLAGS = $(SAMTOOLS_LDFLAGS)
20114 program_LDADD = $(SAMTOOLS_LIBS)
20115
20116 Source Code
20117 ***********
20118
20119 Download the latest version of 'ax_lib_samtools.m4'
20120 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_samtools.m4)
20121 or browse the macro's revision history
20122 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_samtools.m4).
20123
20124 License
20125 *******
20126
20127 Copyright (C) 2013 Timothy Brown <tbrown@freeshell.org>
20128
20129 This program is free software; you can redistribute it and/or modify it
20130 under the terms of the GNU General Public License as published by the
20131 Free Software Foundation; either version 3 of the License, or (at your
20132 option) any later version.
20133
20134 This program is distributed in the hope that it will be useful, but
20135 WITHOUT ANY WARRANTY; without even the implied warranty of
20136 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
20137 Public License for more details.
20138
20139 You should have received a copy of the GNU General Public License along
20140 with this program. If not, see <https://www.gnu.org/licenses/>.
20141
20142 As a special exception, the respective Autoconf Macro's copyright owner
20143 gives unlimited permission to copy, distribute and modify the configure
20144 scripts that are the output of Autoconf when processing the Macro. You
20145 need not follow the terms of the GNU General Public License when using
20146 or distributing such scripts, even though portions of the text of the
20147 Macro appear in them. The GNU General Public License (GPL) does govern
20148 all other use of the material that constitutes the Autoconf Macro.
20149
20150 This special exception to the GPL applies to versions of the Autoconf
20151 Macro released by the Autoconf Archive. When you make and distribute a
20152 modified version of the Autoconf Macro, you may extend this special
20153 exception to the GPL to apply to your modified version as well.
20154
20155 
20156 File: autoconf-archive.info, Node: ax_lib_socket_nsl, Next: ax_lib_sqlite3, Prev: ax_lib_samtools, Up: The Macros
20157
20158 ax_lib_socket_nsl
20159 =================
20160
20161 Synopsis
20162 ********
20163
20164 AX_LIB_SOCKET_NSL
20165
20166 Description
20167 ***********
20168
20169 This macro figures out what libraries are required on this platform to
20170 link sockets programs.
20171
20172 The common cases are not to need any extra libraries, or to need
20173 -lsocket and -lnsl. We need to avoid linking with libnsl unless we need
20174 it, though, since on some OSes where it isn't necessary it will totally
20175 break networking. Unisys also includes gethostbyname() in libsocket but
20176 needs libnsl for socket().
20177
20178 Source Code
20179 ***********
20180
20181 Download the latest version of 'ax_lib_socket_nsl.m4'
20182 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_socket_nsl.m4)
20183 or browse the macro's revision history
20184 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_socket_nsl.m4).
20185
20186 License
20187 *******
20188
20189 Copyright (C) 2008 Russ Allbery <rra@stanford.edu>
20190 Copyright (C) 2008 Stepan Kasal <kasal@ucw.cz>
20191 Copyright (C) 2008 Warren Young <warren@etr-usa.com>
20192
20193 Copying and distribution of this file, with or without modification, are
20194 permitted in any medium without royalty provided the copyright notice
20195 and this notice are preserved. This file is offered as-is, without any
20196 warranty.
20197
20198 
20199 File: autoconf-archive.info, Node: ax_lib_sqlite3, Next: ax_lib_tabix, Prev: ax_lib_socket_nsl, Up: The Macros
20200
20201 ax_lib_sqlite3
20202 ==============
20203
20204 Synopsis
20205 ********
20206
20207 AX_LIB_SQLITE3([MINIMUM-VERSION])
20208
20209 Description
20210 ***********
20211
20212 Test for the SQLite 3 library of a particular version (or newer)
20213
20214 This macro takes only one optional argument, required version of SQLite
20215 3 library. If required version is not passed, 3.0.0 is used in the test
20216 of existence of SQLite 3.
20217
20218 If no installation prefix to the installed SQLite library is given the
20219 macro searches under /usr, /usr/local, and /opt.
20220
20221 This macro calls:
20222
20223 AC_SUBST(SQLITE3_CFLAGS)
20224 AC_SUBST(SQLITE3_LDFLAGS)
20225 AC_SUBST(SQLITE3_VERSION)
20226
20227 And sets:
20228
20229 HAVE_SQLITE3
20230
20231 Source Code
20232 ***********
20233
20234 Download the latest version of 'ax_lib_sqlite3.m4'
20235 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_sqlite3.m4)
20236 or browse the macro's revision history
20237 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_sqlite3.m4).
20238
20239 License
20240 *******
20241
20242 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
20243
20244 Copying and distribution of this file, with or without modification, are
20245 permitted in any medium without royalty provided the copyright notice
20246 and this notice are preserved. This file is offered as-is, without any
20247 warranty.
20248
20249 
20250 File: autoconf-archive.info, Node: ax_lib_tabix, Next: ax_lib_taglib, Prev: ax_lib_sqlite3, Up: The Macros
20251
20252 ax_lib_tabix
20253 ============
20254
20255 Synopsis
20256 ********
20257
20258 AX_LIB_TABIX()
20259
20260 Description
20261 ***********
20262
20263 This macro searches for an installed tabix library. If nothing was
20264 specified when calling configure, it searches first in /usr/local and
20265 then tries with ld's default library search path. If the
20266 -with-tabix=DIR is specified, it will try to find it in
20267 DIR/include/tabix/tabix.h and DIR/lib/libtabix.a. As a final try it
20268 will look in DIR/tabix.h and DIR/libtabix.a as the tabix library does
20269 not contain an install rule.
20270
20271 If -without-tabix is specified, the library is not searched at all.
20272
20273 If either the header file (tabix.h) or the library (libtabix) is not
20274 found, the configuration exits on error, asking for a valid tabix
20275 installation directory or -without-tabix.
20276
20277 The macro defines the symbol HAVE_TABIX if the library is found. You
20278 should use autoheader to include a definition for this symbol in a
20279 config.h file. Sample usage in a C/C++ source is as follows:
20280
20281 #ifdef HAVE_TABIX
20282 #include <tabix.h>
20283 #endif /* HAVE_TABIX */
20284
20285 The following output variables are set with AC_SUBST:
20286
20287 TABIX_CPPFLAGS
20288 TABIX_LDFLAGS
20289 TABIX_LIBS
20290
20291 You can use them like this in Makefile.am:
20292
20293 AM_CPPFLAGS = $(TABIX_CPPFLAGS)
20294 AM_LDFLAGS = $(TABIX_LDFLAGS)
20295 program_LDADD = $(TABIX_LIBS)
20296
20297 Source Code
20298 ***********
20299
20300 Download the latest version of 'ax_lib_tabix.m4'
20301 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_tabix.m4)
20302 or browse the macro's revision history
20303 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_tabix.m4).
20304
20305 License
20306 *******
20307
20308 Copyright (C) 2013 Timothy Brown <tbrown@freeshell.org>
20309
20310 This program is free software; you can redistribute it and/or modify it
20311 under the terms of the GNU General Public License as published by the
20312 Free Software Foundation; either version 3 of the License, or (at your
20313 option) any later version.
20314
20315 This program is distributed in the hope that it will be useful, but
20316 WITHOUT ANY WARRANTY; without even the implied warranty of
20317 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
20318 Public License for more details.
20319
20320 You should have received a copy of the GNU General Public License along
20321 with this program. If not, see <https://www.gnu.org/licenses/>.
20322
20323 As a special exception, the respective Autoconf Macro's copyright owner
20324 gives unlimited permission to copy, distribute and modify the configure
20325 scripts that are the output of Autoconf when processing the Macro. You
20326 need not follow the terms of the GNU General Public License when using
20327 or distributing such scripts, even though portions of the text of the
20328 Macro appear in them. The GNU General Public License (GPL) does govern
20329 all other use of the material that constitutes the Autoconf Macro.
20330
20331 This special exception to the GPL applies to versions of the Autoconf
20332 Macro released by the Autoconf Archive. When you make and distribute a
20333 modified version of the Autoconf Macro, you may extend this special
20334 exception to the GPL to apply to your modified version as well.
20335
20336 
20337 File: autoconf-archive.info, Node: ax_lib_taglib, Next: ax_lib_trace, Prev: ax_lib_tabix, Up: The Macros
20338
20339 ax_lib_taglib
20340 =============
20341
20342 Synopsis
20343 ********
20344
20345 AX_LIB_TAGLIB([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
20346
20347 Description
20348 ***********
20349
20350 Checks for minimum taglib library version VERSION. If successful
20351 executes ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
20352
20353 Defines TAGLIB_LIBS and TAGLIB_CFLAGS.
20354
20355 A simple example:
20356
20357 AX_LIB_TAGLIB([1.5],,[
20358 AC_MSG_ERROR([Your system lacks of taglib >= 1.5])
20359 ])
20360
20361 This macro is a rearranged version of AC_LIB_TAGLIB from Akos Maroy.
20362
20363 Source Code
20364 ***********
20365
20366 Download the latest version of 'ax_lib_taglib.m4'
20367 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_taglib.m4)
20368 or browse the macro's revision history
20369 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_taglib.m4).
20370
20371 License
20372 *******
20373
20374 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
20375
20376 Copying and distribution of this file, with or without modification, are
20377 permitted in any medium without royalty provided the copyright notice
20378 and this notice are preserved. This file is offered as-is, without any
20379 warranty.
20380
20381 
20382 File: autoconf-archive.info, Node: ax_lib_trace, Next: ax_lib_upnp, Prev: ax_lib_taglib, Up: The Macros
20383
20384 ax_lib_trace
20385 ============
20386
20387 Synopsis
20388 ********
20389
20390 AX_LIB_TRACE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
20391
20392 Description
20393 ***********
20394
20395 Test for the libtrace libraries of a particular version (or newer)
20396
20397 If no path to the installed library is given the macro searches under
20398 /usr, /usr/local, /opt and /opt/local.
20399
20400 This macro calls:
20401
20402 AC_SUBST(LIBTRACE_CFLAGS) / AC_SUBST(LIBTRACE_LDFLAGS)
20403
20404 And sets:
20405
20406 HAVE_LIBTRACE
20407
20408 Source Code
20409 ***********
20410
20411 Download the latest version of 'ax_lib_trace.m4'
20412 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_trace.m4)
20413 or browse the macro's revision history
20414 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_trace.m4).
20415
20416 License
20417 *******
20418
20419 Copyright (C) 2011 Xiyue Deng <manphiz@gmail.com>
20420
20421 Copying and distribution of this file, with or without modification, are
20422 permitted in any medium without royalty provided the copyright notice
20423 and this notice are preserved. This file is offered as-is, without any
20424 warranty.
20425
20426 
20427 File: autoconf-archive.info, Node: ax_lib_upnp, Next: ax_lib_wad, Prev: ax_lib_trace, Up: The Macros
20428
20429 ax_lib_upnp
20430 ===========
20431
20432 Synopsis
20433 ********
20434
20435 AX_LIB_UPNP([ACTION-IF-TRUE], [ACTION-IF-FALSE])
20436
20437 Description
20438 ***********
20439
20440 This macro will check for the existence of libupnp
20441 (http://upnp.sourceforge.net/). It does this by checking for the header
20442 file upnp.h and the upnp library object file. A -with-libupnp option is
20443 supported as well. The following output variables are set with
20444 AC_SUBST:
20445
20446 UPNP_CPPFLAGS
20447 UPNP_LDFLAGS
20448 UPNP_LIBS
20449
20450 You can use them like this in Makefile.am:
20451
20452 AM_CPPFLAGS = $(UPNP_CPPFLAGS)
20453 AM_LDFLAGS = $(UPNP_LDFLAGS)
20454 program_LDADD = $(UPNP_LIBS)
20455
20456 Additionally, the C preprocessor symbol HAVE_LIBUPNP will be defined
20457 with AC_DEFINE if libupnp is available.
20458
20459 Source Code
20460 ***********
20461
20462 Download the latest version of 'ax_lib_upnp.m4'
20463 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_upnp.m4)
20464 or browse the macro's revision history
20465 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_upnp.m4).
20466
20467 License
20468 *******
20469
20470 Copyright (C) 2009 Oskar Liljeblad <oskar@osk.mine.nu>
20471
20472 Copying and distribution of this file, with or without modification, are
20473 permitted in any medium without royalty provided the copyright notice
20474 and this notice are preserved. This file is offered as-is, without any
20475 warranty.
20476
20477 
20478 File: autoconf-archive.info, Node: ax_lib_wad, Next: ax_lib_xalan, Prev: ax_lib_upnp, Up: The Macros
20479
20480 ax_lib_wad
20481 ==========
20482
20483 Synopsis
20484 ********
20485
20486 AX_LIB_WAD
20487
20488 Description
20489 ***********
20490
20491 This macro searches for an installed WAD library.
20492
20493 Source Code
20494 ***********
20495
20496 Download the latest version of 'ax_lib_wad.m4'
20497 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_wad.m4)
20498 or browse the macro's revision history
20499 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_wad.m4).
20500
20501 License
20502 *******
20503
20504 Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
20505 Copyright (C) 2008 Alan W. Irwin
20506 Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
20507 Copyright (C) 2008 Andrew Collier
20508
20509 This program is free software; you can redistribute it and/or modify it
20510 under the terms of the GNU General Public License as published by the
20511 Free Software Foundation; either version 2 of the License, or (at your
20512 option) any later version.
20513
20514 This program is distributed in the hope that it will be useful, but
20515 WITHOUT ANY WARRANTY; without even the implied warranty of
20516 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
20517 Public License for more details.
20518
20519 You should have received a copy of the GNU General Public License along
20520 with this program. If not, see <https://www.gnu.org/licenses/>.
20521
20522 As a special exception, the respective Autoconf Macro's copyright owner
20523 gives unlimited permission to copy, distribute and modify the configure
20524 scripts that are the output of Autoconf when processing the Macro. You
20525 need not follow the terms of the GNU General Public License when using
20526 or distributing such scripts, even though portions of the text of the
20527 Macro appear in them. The GNU General Public License (GPL) does govern
20528 all other use of the material that constitutes the Autoconf Macro.
20529
20530 This special exception to the GPL applies to versions of the Autoconf
20531 Macro released by the Autoconf Archive. When you make and distribute a
20532 modified version of the Autoconf Macro, you may extend this special
20533 exception to the GPL to apply to your modified version as well.
20534
20535 
20536 File: autoconf-archive.info, Node: ax_lib_xalan, Next: ax_lib_xerces, Prev: ax_lib_wad, Up: The Macros
20537
20538 ax_lib_xalan
20539 ============
20540
20541 Synopsis
20542 ********
20543
20544 AX_LIB_XALAN([MINIMUM-VERSION])
20545
20546 Description
20547 ***********
20548
20549 This macro provides tests of availability of Apache Xalan C++ XSLT
20550 processor of a particular version or newer. This macros checks for
20551 Apache Xalan C++ XSLT processor headers and libraries and defines
20552 compilation flags
20553
20554 Macro supports following options and their values:
20555
20556 1) Single-option usage:
20557
20558 --with-xalan - yes, no or path to Xalan installation prefix
20559
20560 2) Three-options usage (all options are required):
20561
20562 --with-xalan=yes
20563 --with-xalan-inc - path to base directory with Xalan headers
20564 --with-xalan-lib - linker flags for Xalan
20565
20566 This macro calls:
20567
20568 AC_SUBST(XALAN_CPPFLAGS)
20569 AC_SUBST(XALAN_LDFLAGS)
20570 AC_SUBST(XALAN_VERSION) - only if version requirement is used
20571
20572 And sets:
20573
20574 HAVE_XALAN
20575
20576 Source Code
20577 ***********
20578
20579 Download the latest version of 'ax_lib_xalan.m4'
20580 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xalan.m4)
20581 or browse the macro's revision history
20582 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xalan.m4).
20583
20584 License
20585 *******
20586
20587 Copyright (C) 2009 Mateusz Loskot <mateusz@loskot.net>
20588 Copyright (C) 2009 Bill Blough <bblough@gmail.com>
20589
20590 Copying and distribution of this file, with or without modification, are
20591 permitted in any medium without royalty provided the copyright notice
20592 and this notice are preserved. This file is offered as-is, without any
20593 warranty.
20594
20595 
20596 File: autoconf-archive.info, Node: ax_lib_xerces, Next: ax_lib_xml_security, Prev: ax_lib_xalan, Up: The Macros
20597
20598 ax_lib_xerces
20599 =============
20600
20601 Synopsis
20602 ********
20603
20604 AX_LIB_XERCES([MINIMUM-VERSION])
20605
20606 Description
20607 ***********
20608
20609 This macro provides tests of availability of Apache Xerces C++ Parser of
20610 particular version or newer. This macros checks for Apache Xerces C++
20611 Parser headers and libraries and defines compilation flags
20612
20613 Macro supports following options and their values:
20614
20615 1) Single-option usage:
20616
20617 --with-xerces - yes, no or path to Xerces installation prefix
20618
20619 2) Three-options usage (all options are required):
20620
20621 --with-xerces=yes
20622 --with-xerces-inc - path to base directory with Xerces headers
20623 --with-xerces-lib - linker flags for Xerces
20624
20625 This macro calls:
20626
20627 AC_SUBST(XERCES_CFLAGS)
20628 AC_SUBST(XERCES_LDFLAGS)
20629 AC_SUBST(XERCES_VERSION) - only if version requirement is used
20630
20631 And sets:
20632
20633 HAVE_XERCES
20634
20635 Source Code
20636 ***********
20637
20638 Download the latest version of 'ax_lib_xerces.m4'
20639 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xerces.m4)
20640 or browse the macro's revision history
20641 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xerces.m4).
20642
20643 License
20644 *******
20645
20646 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
20647
20648 Copying and distribution of this file, with or without modification, are
20649 permitted in any medium without royalty provided the copyright notice
20650 and this notice are preserved. This file is offered as-is, without any
20651 warranty.
20652
20653 
20654 File: autoconf-archive.info, Node: ax_lib_xml_security, Next: ax_libgcj_jar, Prev: ax_lib_xerces, Up: The Macros
20655
20656 ax_lib_xml_security
20657 ===================
20658
20659 Synopsis
20660 ********
20661
20662 AX_LIB_XML_SECURITY([MINIMUM-VERSION])
20663
20664 Description
20665 ***********
20666
20667 This macro provides tests of availability of Apache Xml-Security C++
20668 library <http://santuario.apache.org/index.html> of particular version
20669 or newer. This macros checks for Apache Xml-Security C++ headers and
20670 libraries and defines compilation flags
20671
20672 Macro supports following options and their values:
20673
20674 1) Single-option usage:
20675
20676 --with-xml-security - yes, no or path to Xml-Security installation prefix
20677
20678 2) Three-options usage (all options are required):
20679
20680 --with-xml-security=yes
20681 --with-xml-security-inc - path to base directory with Xml-Security headers
20682 --with-xml-security-lib - linker flags for Xml-Security
20683
20684 This macro calls:
20685
20686 AC_SUBST(XML_SECURITY_CFLAGS)
20687 AC_SUBST(XML_SECURITY_LDFLAGS)
20688 AC_SUBST(XML_SECURITY_VERSION) - only if version requirement is used
20689
20690 And sets:
20691
20692 HAVE_XML_SECURITY
20693
20694 Source Code
20695 ***********
20696
20697 Download the latest version of 'ax_lib_xml_security.m4'
20698 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xml_security.m4)
20699 or browse the macro's revision history
20700 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xml_security.m4).
20701
20702 License
20703 *******
20704
20705 Copyright (C) 2008 Alexander Petry <petry@itwm.fhg.de>
20706 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
20707
20708 Copying and distribution of this file, with or without modification, are
20709 permitted in any medium without royalty provided the copyright notice
20710 and this notice are preserved. This file is offered as-is, without any
20711 warranty.
20712
20713 
20714 File: autoconf-archive.info, Node: ax_libgcj_jar, Next: ax_libtoolize_cflags, Prev: ax_lib_xml_security, Up: The Macros
20715
20716 ax_libgcj_jar
20717 =============
20718
20719 Synopsis
20720 ********
20721
20722 AX_LIBGCJ_JAR
20723
20724 Description
20725 ***********
20726
20727 Locate libgcj.jar so you can place it before everything else when using
20728 gcj.
20729
20730 Source Code
20731 ***********
20732
20733 Download the latest version of 'ax_libgcj_jar.m4'
20734 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_libgcj_jar.m4)
20735 or browse the macro's revision history
20736 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_libgcj_jar.m4).
20737
20738 License
20739 *******
20740
20741 Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
20742
20743 This program is free software; you can redistribute it and/or modify it
20744 under the terms of the GNU General Public License as published by the
20745 Free Software Foundation; either version 2 of the License, or (at your
20746 option) any later version.
20747
20748 This program is distributed in the hope that it will be useful, but
20749 WITHOUT ANY WARRANTY; without even the implied warranty of
20750 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
20751 Public License for more details.
20752
20753 You should have received a copy of the GNU General Public License along
20754 with this program. If not, see <https://www.gnu.org/licenses/>.
20755
20756 As a special exception, the respective Autoconf Macro's copyright owner
20757 gives unlimited permission to copy, distribute and modify the configure
20758 scripts that are the output of Autoconf when processing the Macro. You
20759 need not follow the terms of the GNU General Public License when using
20760 or distributing such scripts, even though portions of the text of the
20761 Macro appear in them. The GNU General Public License (GPL) does govern
20762 all other use of the material that constitutes the Autoconf Macro.
20763
20764 This special exception to the GPL applies to versions of the Autoconf
20765 Macro released by the Autoconf Archive. When you make and distribute a
20766 modified version of the Autoconf Macro, you may extend this special
20767 exception to the GPL to apply to your modified version as well.
20768
20769 
20770 File: autoconf-archive.info, Node: ax_libtoolize_cflags, Next: ax_llvm, Prev: ax_libgcj_jar, Up: The Macros
20771
20772 ax_libtoolize_cflags
20773 ====================
20774
20775 Synopsis
20776 ********
20777
20778 AX_LIBTOOLIZE_CFLAGS(COMPILER-FLAGS-VAR)
20779
20780 Description
20781 ***********
20782
20783 Change the contents of variable COMPILER-FLAGS-VAR so that they are
20784 Libtool friendly, ie. prefix each of them with '-Xcompiler' so that
20785 Libtool doesn't remove them.
20786
20787 Source Code
20788 ***********
20789
20790 Download the latest version of 'ax_libtoolize_cflags.m4'
20791 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_libtoolize_cflags.m4)
20792 or browse the macro's revision history
20793 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_libtoolize_cflags.m4).
20794
20795 License
20796 *******
20797
20798 Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
20799
20800 Copying and distribution of this file, with or without modification, are
20801 permitted in any medium without royalty provided the copyright notice
20802 and this notice are preserved. This file is offered as-is, without any
20803 warranty.
20804
20805 
20806 File: autoconf-archive.info, Node: ax_llvm, Next: ax_lua, Prev: ax_libtoolize_cflags, Up: The Macros
20807
20808 ax_llvm
20809 =======
20810
20811 Synopsis
20812 ********
20813
20814 AX_LLVM([llvm-libs])
20815
20816 Description
20817 ***********
20818
20819 Test for the existence of llvm, and make sure that it can be linked with
20820 the llvm-libs argument that is passed on to llvm-config i.e.:
20821
20822 llvm --libs <llvm-libs>
20823
20824 llvm-config will also include any libraries that are depended upon.
20825
20826 Source Code
20827 ***********
20828
20829 Download the latest version of 'ax_llvm.m4'
20830 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_llvm.m4)
20831 or browse the macro's revision history
20832 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_llvm.m4).
20833
20834 License
20835 *******
20836
20837 Copyright (C) 2008 Andy Kitchen <agimbleinthewabe@gmail.com>
20838
20839 Copying and distribution of this file, with or without modification, are
20840 permitted in any medium without royalty provided the copyright notice
20841 and this notice are preserved. This file is offered as-is, without any
20842 warranty.
20843
20844 
20845 File: autoconf-archive.info, Node: ax_lua, Next: ax_luarocks_rock, Prev: ax_llvm, Up: The Macros
20846
20847 ax_lua
20848 ======
20849
20850 Synopsis
20851 ********
20852
20853 AX_PROG_LUA[([MINIMUM-VERSION], [TOO-BIG-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
20854 AX_LUA_HEADERS[([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
20855 AX_LUA_LIBS[([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
20856 AX_LUA_READLINE[([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
20857
20858 Description
20859 ***********
20860
20861 Detect a Lua interpreter, optionally specifying a minimum and maximum
20862 version number. Set up important Lua paths, such as the directories in
20863 which to install scripts and modules (shared libraries).
20864
20865 Also detect Lua headers and libraries. The Lua version contained in the
20866 header is checked to match the Lua interpreter version exactly. When
20867 searching for Lua libraries, the version number is used as a suffix.
20868 This is done with the goal of supporting multiple Lua installs (5.1,
20869 5.2, and 5.3 side-by-side).
20870
20871 A note on compatibility with previous versions: This file has been
20872 mostly rewritten for serial 18. Most developers should be able to use
20873 these macros without needing to modify configure.ac. Care has been
20874 taken to preserve each macro's behavior, but there are some differences:
20875
20876 1) AX_WITH_LUA is deprecated; it now expands to the exact same thing as
20877 AX_PROG_LUA with no arguments.
20878
20879 2) AX_LUA_HEADERS now checks that the version number defined in lua.h
20880 matches the interpreter version. AX_LUA_HEADERS_VERSION is therefore
20881 unnecessary, so it is deprecated and does not expand to anything.
20882
20883 3) The configure flag -with-lua-suffix no longer exists; the user should
20884 instead specify the LUA precious variable on the command line. See the
20885 AX_PROG_LUA description for details.
20886
20887 Please read the macro descriptions below for more information.
20888
20889 This file was inspired by Andrew Dalke's and James Henstridge's
20890 python.m4 and Tom Payne's, Matthieu Moy's, and Reuben Thomas's ax_lua.m4
20891 (serial 17). Basically, this file is a mash-up of those two files. I
20892 like to think it combines the best of the two!
20893
20894 AX_PROG_LUA: Search for the Lua interpreter, and set up important Lua
20895 paths. Adds precious variable LUA, which may contain the path of the
20896 Lua interpreter. If LUA is blank, the user's path is searched for an
20897 suitable interpreter.
20898
20899 If MINIMUM-VERSION is supplied, then only Lua interpreters with a
20900 version number greater or equal to MINIMUM-VERSION will be accepted. If
20901 TOO-BIG-VERSION is also supplied, then only Lua interpreters with a
20902 version number greater or equal to MINIMUM-VERSION and less than
20903 TOO-BIG-VERSION will be accepted.
20904
20905 The Lua version number, LUA_VERSION, is found from the interpreter, and
20906 substituted. LUA_PLATFORM is also found, but not currently supported
20907 (no standard representation).
20908
20909 Finally, the macro finds four paths:
20910
20911 luadir Directory to install Lua scripts.
20912 pkgluadir $luadir/$PACKAGE
20913 luaexecdir Directory to install Lua modules.
20914 pkgluaexecdir $luaexecdir/$PACKAGE
20915
20916 These paths are found based on $prefix, $exec_prefix, Lua's
20917 package.path, and package.cpath. The first path of package.path
20918 beginning with $prefix is selected as luadir. The first path of
20919 package.cpath beginning with $exec_prefix is used as luaexecdir. This
20920 should work on all reasonable Lua installations. If a path cannot be
20921 determined, a default path is used. Of course, the user can override
20922 these later when invoking make.
20923
20924 luadir Default: $prefix/share/lua/$LUA_VERSION
20925 luaexecdir Default: $exec_prefix/lib/lua/$LUA_VERSION
20926
20927 These directories can be used by Automake as install destinations. The
20928 variable name minus 'dir' needs to be used as a prefix to the
20929 appropriate Automake primary, e.g. lua_SCRIPS or luaexec_LIBRARIES.
20930
20931 If an acceptable Lua interpreter is found, then ACTION-IF-FOUND is
20932 performed, otherwise ACTION-IF-NOT-FOUND is preformed. If
20933 ACTION-IF-NOT- FOUND is blank, then it will default to printing an
20934 error. To prevent the default behavior, give ':' as an action.
20935
20936 AX_LUA_HEADERS: Search for Lua headers. Requires that AX_PROG_LUA be
20937 expanded before this macro. Adds precious variable LUA_INCLUDE, which
20938 may contain Lua specific include flags, e.g. -I/usr/include/lua5.1. If
20939 LUA_INCLUDE is blank, then this macro will attempt to find suitable
20940 flags.
20941
20942 LUA_INCLUDE can be used by Automake to compile Lua modules or
20943 executables with embedded interpreters. The *_CPPFLAGS variables should
20944 be used for this purpose, e.g. myprog_CPPFLAGS = $(LUA_INCLUDE).
20945
20946 This macro searches for the header lua.h (and others). The search is
20947 performed with a combination of CPPFLAGS, CPATH, etc, and LUA_INCLUDE.
20948 If the search is unsuccessful, then some common directories are tried.
20949 If the headers are then found, then LUA_INCLUDE is set accordingly.
20950
20951 The paths automatically searched are:
20952
20953 * /usr/include/luaX.Y
20954 * /usr/include/lua/X.Y
20955 * /usr/include/luaXY
20956 * /usr/local/include/luaX.Y
20957 * /usr/local/include/lua-X.Y
20958 * /usr/local/include/lua/X.Y
20959 * /usr/local/include/luaXY
20960
20961 (Where X.Y is the Lua version number, e.g. 5.1.)
20962
20963 The Lua version number found in the headers is always checked to match
20964 the Lua interpreter's version number. Lua headers with mismatched
20965 version numbers are not accepted.
20966
20967 If headers are found, then ACTION-IF-FOUND is performed, otherwise
20968 ACTION-IF-NOT-FOUND is performed. If ACTION-IF-NOT-FOUND is blank, then
20969 it will default to printing an error. To prevent the default behavior,
20970 set the action to ':'.
20971
20972 AX_LUA_LIBS: Search for Lua libraries. Requires that AX_PROG_LUA be
20973 expanded before this macro. Adds precious variable LUA_LIB, which may
20974 contain Lua specific linker flags, e.g. -llua5.1. If LUA_LIB is blank,
20975 then this macro will attempt to find suitable flags.
20976
20977 LUA_LIB can be used by Automake to link Lua modules or executables with
20978 embedded interpreters. The *_LIBADD and *_LDADD variables should be
20979 used for this purpose, e.g. mymod_LIBADD = $(LUA_LIB).
20980
20981 This macro searches for the Lua library. More technically, it searches
20982 for a library containing the function lua_load. The search is performed
20983 with a combination of LIBS, LIBRARY_PATH, and LUA_LIB.
20984
20985 If the search determines that some linker flags are missing, then those
20986 flags will be added to LUA_LIB.
20987
20988 If libraries are found, then ACTION-IF-FOUND is performed, otherwise
20989 ACTION-IF-NOT-FOUND is performed. If ACTION-IF-NOT-FOUND is blank, then
20990 it will default to printing an error. To prevent the default behavior,
20991 set the action to ':'.
20992
20993 AX_LUA_READLINE: Search for readline headers and libraries. Requires
20994 the AX_LIB_READLINE macro, which is provided by ax_lib_readline.m4 from
20995 the Autoconf Archive.
20996
20997 If a readline compatible library is found, then ACTION-IF-FOUND is
20998 performed, otherwise ACTION-IF-NOT-FOUND is performed.
20999
21000 Source Code
21001 ***********
21002
21003 Download the latest version of 'ax_lua.m4'
21004 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lua.m4)
21005 or browse the macro's revision history
21006 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lua.m4).
21007
21008 License
21009 *******
21010
21011 Copyright (C) 2015 Reuben Thomas <rrt@sc3d.org>
21012 Copyright (C) 2014 Tim Perkins <tprk77@gmail.com>
21013
21014 This program is free software: you can redistribute it and/or modify it
21015 under the terms of the GNU General Public License as published by the
21016 Free Software Foundation, either version 3 of the License, or (at your
21017 option) any later version.
21018
21019 This program is distributed in the hope that it will be useful, but
21020 WITHOUT ANY WARRANTY; without even the implied warranty of
21021 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
21022 Public License for more details.
21023
21024 You should have received a copy of the GNU General Public License along
21025 with this program. If not, see <https://www.gnu.org/licenses/>.
21026
21027 As a special exception, the respective Autoconf Macro's copyright owner
21028 gives unlimited permission to copy, distribute and modify the configure
21029 scripts that are the output of Autoconf when processing the Macro. You
21030 need not follow the terms of the GNU General Public License when using
21031 or distributing such scripts, even though portions of the text of the
21032 Macro appear in them. The GNU General Public License (GPL) does govern
21033 all other use of the material that constitutes the Autoconf Macro.
21034
21035 This special exception to the GPL applies to versions of the Autoconf
21036 Macro released by the Autoconf Archive. When you make and distribute a
21037 modified version of the Autoconf Macro, you may extend this special
21038 exception to the GPL to apply to your modified version as well.
21039
21040 
21041 File: autoconf-archive.info, Node: ax_luarocks_rock, Next: ax_maintainer_mode_auto_silent, Prev: ax_lua, Up: The Macros
21042
21043 ax_luarocks_rock
21044 ================
21045
21046 Synopsis
21047 ********
21048
21049 AX_LUAROCKS_ROCK([ROCK])
21050
21051 Description
21052 ***********
21053
21054 Checks for a rock, and fails if it is not installed.
21055
21056 Example usage:
21057
21058 AX_LUAROCKS_ROCK(stdlib)
21059
21060 Note: use of this macro is not normally recommended. Normally, LuaRocks
21061 should be used to drive the build system, and it takes care of rock
21062 dependencies. Use this macro only if LuaRocks cannot be used at the top
21063 level, for example, in a build system that uses Lua only incidentally.
21064
21065 Source Code
21066 ***********
21067
21068 Download the latest version of 'ax_luarocks_rock.m4'
21069 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_luarocks_rock.m4)
21070 or browse the macro's revision history
21071 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_luarocks_rock.m4).
21072
21073 License
21074 *******
21075
21076 Copyright (C) 2016 Reuben Thomas <rrt@sc3d.org>
21077
21078 Copying and distribution of this file, with or without modification, are
21079 permitted in any medium without royalty provided the copyright notice
21080 and this notice are preserved. This file is offered as-is, without any
21081 warranty.
21082
21083 
21084 File: autoconf-archive.info, Node: ax_maintainer_mode_auto_silent, Next: ax_missing_prog, Prev: ax_luarocks_rock, Up: The Macros
21085
21086 ax_maintainer_mode_auto_silent
21087 ==============================
21088
21089 Synopsis
21090 ********
21091
21092 AX_MAINTAINER_MODE_AUTO_SILENT
21093
21094 Description
21095 ***********
21096
21097 Set autotools to error/sleep settings so that they are not run when
21098 being erroneously triggered. Likewise make libtool-silent when libtool
21099 has been used.
21100
21101 I use the macro quite a lot since some automake versions have the
21102 tendency to try to rerun some autotools on a mere make even when not
21103 quite in -maintainer-mode. That is very annoying. Likewise, a user who
21104 installs from source does not want to see doubled compiler messages.
21105
21106 I did not put an AC_REQUIRE(MAINTAINER_MODE) in here - should I?
21107
21108 Source Code
21109 ***********
21110
21111 Download the latest version of 'ax_maintainer_mode_auto_silent.m4'
21112 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_maintainer_mode_auto_silent.m4)
21113 or browse the macro's revision history
21114 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_maintainer_mode_auto_silent.m4).
21115
21116 License
21117 *******
21118
21119 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
21120
21121 Copying and distribution of this file, with or without modification, are
21122 permitted in any medium without royalty provided the copyright notice
21123 and this notice are preserved. This file is offered as-is, without any
21124 warranty.
21125
21126 
21127 File: autoconf-archive.info, Node: ax_missing_prog, Next: ax_mpi, Prev: ax_maintainer_mode_auto_silent, Up: The Macros
21128
21129 ax_missing_prog
21130 ===============
21131
21132 Synopsis
21133 ********
21134
21135 AX_MISSING_PROG(VARIABLE,PROGRAM,[MESSAGE])
21136
21137 Description
21138 ***********
21139
21140 Simple wrapper for the AM_MISSING_PROG which displays a warning MESSAGE
21141 if provided. A typical use is the following:
21142
21143 AC_PROG_AWK
21144 AS_IF([test -z "$AWK"],[
21145 AX_MISSING_PROG(AWK,[awk],[awk seems missing ...])
21146 ])
21147
21148 Programs wrapped with AX_MISSING_PROG should be used only in the package
21149 building phase (because they will be wrapped with the automake 'missing'
21150 script, which will not be installed).
21151
21152 Source Code
21153 ***********
21154
21155 Download the latest version of 'ax_missing_prog.m4'
21156 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_missing_prog.m4)
21157 or browse the macro's revision history
21158 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_missing_prog.m4).
21159
21160 License
21161 *******
21162
21163 Copyright (C) 2008 Francesco Salvestrini <salvestrini@users.sourceforge.net>
21164
21165 This program is free software; you can redistribute it and/or modify it
21166 under the terms of the GNU General Public License as published by the
21167 Free Software Foundation; either version 2 of the License, or (at your
21168 option) any later version.
21169
21170 This program is distributed in the hope that it will be useful, but
21171 WITHOUT ANY WARRANTY; without even the implied warranty of
21172 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
21173 Public License for more details.
21174
21175 You should have received a copy of the GNU General Public License along
21176 with this program. If not, see <https://www.gnu.org/licenses/>.
21177
21178 As a special exception, the respective Autoconf Macro's copyright owner
21179 gives unlimited permission to copy, distribute and modify the configure
21180 scripts that are the output of Autoconf when processing the Macro. You
21181 need not follow the terms of the GNU General Public License when using
21182 or distributing such scripts, even though portions of the text of the
21183 Macro appear in them. The GNU General Public License (GPL) does govern
21184 all other use of the material that constitutes the Autoconf Macro.
21185
21186 This special exception to the GPL applies to versions of the Autoconf
21187 Macro released by the Autoconf Archive. When you make and distribute a
21188 modified version of the Autoconf Macro, you may extend this special
21189 exception to the GPL to apply to your modified version as well.
21190
21191 
21192 File: autoconf-archive.info, Node: ax_mpi, Next: ax_mpip, Prev: ax_missing_prog, Up: The Macros
21193
21194 ax_mpi
21195 ======
21196
21197 Synopsis
21198 ********
21199
21200 AX_MPI([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
21201
21202 Description
21203 ***********
21204
21205 This macro tries to find out how to compile programs that use MPI
21206 (Message Passing Interface), a standard API for parallel process
21207 communication (see http://www-unix.mcs.anl.gov/mpi/)
21208
21209 On success, it sets the MPICC, MPICXX, MPIF77, or MPIFC output variable
21210 to the name of the MPI compiler, depending upon the current language.
21211 (This may just be $CC/$CXX/$F77/$FC, but is more often something like
21212 mpicc/mpiCC/mpif77/mpif90.) It also sets MPILIBS to any libraries that
21213 are needed for linking MPI (e.g. -lmpi or -lfmpi, if a special
21214 MPICC/MPICXX/MPIF77/MPIFC was not found).
21215
21216 Note that this macro should be used only if you just have a few source
21217 files that need to be compiled using MPI. In particular, you should
21218 neither overwrite CC/CXX/F77/FC with the values of
21219 MPICC/MPICXX/MPIF77/MPIFC, nor assume that you can use the same flags
21220 etc. as the standard compilers. If you want to compile a whole program
21221 using the MPI compiler commands, use one of the macros
21222 AX_PROG_{CC,CXX,FC}_MPI.
21223
21224 ACTION-IF-FOUND is a list of shell commands to run if an MPI library is
21225 found, and ACTION-IF-NOT-FOUND is a list of commands to run if it is not
21226 found. If ACTION-IF-FOUND is not specified, the default action will
21227 define HAVE_MPI.
21228
21229 Source Code
21230 ***********
21231
21232 Download the latest version of 'ax_mpi.m4'
21233 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_mpi.m4)
21234 or browse the macro's revision history
21235 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_mpi.m4).
21236
21237 License
21238 *******
21239
21240 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
21241 Copyright (C) 2008 Julian C. Cummings <cummings@cacr.caltech.edu>
21242
21243 This program is free software: you can redistribute it and/or modify it
21244 under the terms of the GNU General Public License as published by the
21245 Free Software Foundation, either version 3 of the License, or (at your
21246 option) any later version.
21247
21248 This program is distributed in the hope that it will be useful, but
21249 WITHOUT ANY WARRANTY; without even the implied warranty of
21250 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
21251 Public License for more details.
21252
21253 You should have received a copy of the GNU General Public License along
21254 with this program. If not, see <https://www.gnu.org/licenses/>.
21255
21256 As a special exception, the respective Autoconf Macro's copyright owner
21257 gives unlimited permission to copy, distribute and modify the configure
21258 scripts that are the output of Autoconf when processing the Macro. You
21259 need not follow the terms of the GNU General Public License when using
21260 or distributing such scripts, even though portions of the text of the
21261 Macro appear in them. The GNU General Public License (GPL) does govern
21262 all other use of the material that constitutes the Autoconf Macro.
21263
21264 This special exception to the GPL applies to versions of the Autoconf
21265 Macro released by the Autoconf Archive. When you make and distribute a
21266 modified version of the Autoconf Macro, you may extend this special
21267 exception to the GPL to apply to your modified version as well.
21268
21269 
21270 File: autoconf-archive.info, Node: ax_mpip, Next: ax_need_awk, Prev: ax_mpi, Up: The Macros
21271
21272 ax_mpip
21273 =======
21274
21275 Synopsis
21276 ********
21277
21278 AX_MPIP([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
21279
21280 Description
21281 ***********
21282
21283 Test for mpiP: Lightweight, Scalable MPI Profiling
21284 (http://mpip.sourceforge.net/)
21285
21286 Provides a -with-mpiP=DIR option. Searches -with-mpiP location and the
21287 usual places for mpiP and required libraries. Marks MPIP as a precious
21288 environment variable.
21289
21290 On success, sets MPIP_LDFLAGS, MPIP_LIBS, #defines HAVE_MPIP, and calls
21291 ACTION-IF-FOUND. When ACTION-IF-NOT-FOUND is not specified, the default
21292 behavior is for configure to fail.
21293
21294 Source Code
21295 ***********
21296
21297 Download the latest version of 'ax_mpip.m4'
21298 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_mpip.m4)
21299 or browse the macro's revision history
21300 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_mpip.m4).
21301
21302 License
21303 *******
21304
21305 Copyright (C) 2010 Rhys Ulerich <rhys.ulerich@gmail.com>
21306
21307 This program is free software: you can redistribute it and/or modify it
21308 under the terms of the GNU General Public License as published by the
21309 Free Software Foundation, either version 3 of the License, or (at your
21310 option) any later version.
21311
21312 This program is distributed in the hope that it will be useful, but
21313 WITHOUT ANY WARRANTY; without even the implied warranty of
21314 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
21315 Public License for more details.
21316
21317 You should have received a copy of the GNU General Public License along
21318 with this program. If not, see <https://www.gnu.org/licenses/>.
21319
21320 As a special exception, the respective Autoconf Macro's copyright owner
21321 gives unlimited permission to copy, distribute and modify the configure
21322 scripts that are the output of Autoconf when processing the Macro. You
21323 need not follow the terms of the GNU General Public License when using
21324 or distributing such scripts, even though portions of the text of the
21325 Macro appear in them. The GNU General Public License (GPL) does govern
21326 all other use of the material that constitutes the Autoconf Macro.
21327
21328 This special exception to the GPL applies to versions of the Autoconf
21329 Macro released by the Autoconf Macro Archive. When you make and
21330 distribute a modified version of the Autoconf Macro, you may extend this
21331 special exception to the GPL to apply to your modified version as well.
21332
21333 
21334 File: autoconf-archive.info, Node: ax_need_awk, Next: ax_normalize_path, Prev: ax_mpip, Up: The Macros
21335
21336 ax_need_awk
21337 ===========
21338
21339 Synopsis
21340 ********
21341
21342 AX_NEED_AWK
21343
21344 Description
21345 ***********
21346
21347 Check if an awk implementation is available. Bail-out if not found.
21348
21349 This work is heavily based upon testawk.sh script by Heiner Steven. You
21350 should find his script (and related works) at
21351 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
21352 Alessandro Massignan for his suggestions and extensive nawk tests on
21353 FreeBSD.
21354
21355 Source Code
21356 ***********
21357
21358 Download the latest version of 'ax_need_awk.m4'
21359 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_need_awk.m4)
21360 or browse the macro's revision history
21361 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_need_awk.m4).
21362
21363 License
21364 *******
21365
21366 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
21367
21368 Copying and distribution of this file, with or without modification, are
21369 permitted in any medium without royalty provided the copyright notice
21370 and this notice are preserved. This file is offered as-is, without any
21371 warranty.
21372
21373 
21374 File: autoconf-archive.info, Node: ax_normalize_path, Next: ax_not_enable_frame_pointer, Prev: ax_need_awk, Up: The Macros
21375
21376 ax_normalize_path
21377 =================
21378
21379 Synopsis
21380 ********
21381
21382 AX_NORMALIZE_PATH(VARNAME, [REFERENCE_STRING])
21383
21384 Description
21385 ***********
21386
21387 Perform some cleanups on the value of $VARNAME (interpreted as a path):
21388
21389 - empty paths are changed to '.'
21390 - trailing slashes are removed
21391 - repeated slashes are squeezed except a leading doubled slash '//'
21392 (which might indicate a networked disk on some OS).
21393
21394 REFERENCE_STRING is used to turn '/' into '\' and vice-versa: if
21395 REFERENCE_STRING contains some backslashes, all slashes and backslashes
21396 are turned into backslashes, otherwise they are all turned into slashes.
21397
21398 This makes processing of DOS filenames quite easier, because you can
21399 turn a filename to the Unix notation, make your processing, and turn it
21400 back to original notation.
21401
21402 filename='A:\FOO\\BAR\'
21403 old_filename="$filename"
21404 # Switch to the unix notation
21405 AX_NORMALIZE_PATH([filename], ["/"])
21406 # now we have $filename = 'A:/FOO/BAR' and we can process it as if
21407 # it was a Unix path. For instance let's say that you want
21408 # to append '/subpath':
21409 filename="$filename/subpath"
21410 # finally switch back to the original notation
21411 AX_NORMALIZE_PATH([filename], ["$old_filename"])
21412 # now $filename equals to 'A:\FOO\BAR\subpath'
21413
21414 One good reason to make all path processing with the unix convention is
21415 that backslashes have a special meaning in many cases. For instance
21416
21417 expr 'A:\FOO' : 'A:\Foo'
21418
21419 will return 0 because the second argument is a regex in which
21420 backslashes have to be backslashed. In other words, to have the two
21421 strings to match you should write this instead:
21422
21423 expr 'A:\Foo' : 'A:\\Foo'
21424
21425 Such behavior makes DOS filenames extremely unpleasant to work with. So
21426 temporary turn your paths to the Unix notation, and revert them to the
21427 original notation after the processing. See the macro
21428 AX_COMPUTE_RELATIVE_PATHS for a concrete example of this.
21429
21430 REFERENCE_STRING defaults to $VARIABLE, this means that slashes will be
21431 converted to backslashes if $VARIABLE already contains some backslashes
21432 (see $thirddir below).
21433
21434 firstdir='/usr/local//share'
21435 seconddir='C:\Program Files\\'
21436 thirddir='C:\home/usr/'
21437 AX_NORMALIZE_PATH([firstdir])
21438 AX_NORMALIZE_PATH([seconddir])
21439 AX_NORMALIZE_PATH([thirddir])
21440 # $firstdir = '/usr/local/share'
21441 # $seconddir = 'C:\Program Files'
21442 # $thirddir = 'C:\home\usr'
21443
21444 Source Code
21445 ***********
21446
21447 Download the latest version of 'ax_normalize_path.m4'
21448 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_normalize_path.m4)
21449 or browse the macro's revision history
21450 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_normalize_path.m4).
21451
21452 License
21453 *******
21454
21455 Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
21456
21457 This program is free software; you can redistribute it and/or modify it
21458 under the terms of the GNU General Public License as published by the
21459 Free Software Foundation; either version 2 of the License, or (at your
21460 option) any later version.
21461
21462 This program is distributed in the hope that it will be useful, but
21463 WITHOUT ANY WARRANTY; without even the implied warranty of
21464 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
21465 Public License for more details.
21466
21467 You should have received a copy of the GNU General Public License along
21468 with this program. If not, see <https://www.gnu.org/licenses/>.
21469
21470 As a special exception, the respective Autoconf Macro's copyright owner
21471 gives unlimited permission to copy, distribute and modify the configure
21472 scripts that are the output of Autoconf when processing the Macro. You
21473 need not follow the terms of the GNU General Public License when using
21474 or distributing such scripts, even though portions of the text of the
21475 Macro appear in them. The GNU General Public License (GPL) does govern
21476 all other use of the material that constitutes the Autoconf Macro.
21477
21478 This special exception to the GPL applies to versions of the Autoconf
21479 Macro released by the Autoconf Archive. When you make and distribute a
21480 modified version of the Autoconf Macro, you may extend this special
21481 exception to the GPL to apply to your modified version as well.
21482
21483 
21484 File: autoconf-archive.info, Node: ax_not_enable_frame_pointer, Next: ax_numeric_namedlevel, Prev: ax_normalize_path, Up: The Macros
21485
21486 ax_not_enable_frame_pointer
21487 ===========================
21488
21489 Synopsis
21490 ********
21491
21492 AX_NOT_ENABLE_FRAME_POINTER ([shellvar])
21493
21494 Description
21495 ***********
21496
21497 add -enable-frame-pointer option, the default will add the gcc
21498 -fomit-frame-pointer option to the shellvar (per default CFLAGS) and
21499 remove the " -g " debuginfo option from it. In other words, the default
21500 is "-disable-frame-pointer"
21501
21502 Source Code
21503 ***********
21504
21505 Download the latest version of 'ax_not_enable_frame_pointer.m4'
21506 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_not_enable_frame_pointer.m4)
21507 or browse the macro's revision history
21508 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_not_enable_frame_pointer.m4).
21509
21510 License
21511 *******
21512
21513 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
21514
21515 Copying and distribution of this file, with or without modification, are
21516 permitted in any medium without royalty provided the copyright notice
21517 and this notice are preserved. This file is offered as-is, without any
21518 warranty.
21519
21520 
21521 File: autoconf-archive.info, Node: ax_numeric_namedlevel, Next: ax_open62541_check_h, Prev: ax_not_enable_frame_pointer, Up: The Macros
21522
21523 ax_numeric_namedlevel
21524 =====================
21525
21526 Synopsis
21527 ********
21528
21529 AX_NUMERIC_NAMEDLEVEL(VARNAME [,FROMVAR [,DEFAULT [,YESLEVEL]]])
21530
21531 Description
21532 ***********
21533
21534 The levelstring FROMVAR is expanded and checked for verbal names that
21535 will map on to eight different levels - the VARNAME will receive this
21536 numeric level where "all" maps to 7 (lower three bits set) higher levels
21537 for 8 and 9 exist too. This macro is a nice helper to convert user
21538 input of a -with-opt=level into a numeric form that can be simply pushed
21539 as a #define like with AC_DEFINE:
21540
21541 default YESLEVEL = 2 /* including unknown levelspec */
21542 default DEFAULT = 0 /* when named level is empty */
21543 default FROMVAR = VARNAME
21544
21545 The DEFAULT value is used if the NAMED levelstring has become empty and
21546 it is copied without further conversion - a default of "0" is used if
21547 absent - identical to "no". A "yes" will be set to the YESLEVEL - and
21548 note that "yes" has "2" as its default value not "1". (which comes from
21549 its original use to set a "gcc -O2").
21550
21551 the mnemonic names are:
21552
21553 9| insane |ultrasome|experimentalplus
21554 8| ultra |ultra|experimental)
21555 7| all |muchmore|somemanymore|manymoreplus
21556 6| most |manymore|most)
21557 5| strict |somemore|almost
21558 4| more |more
21559 3| extra |manyplus|plusmuch|somemany|plusmany
21560 2| many |many|much|(yes)
21561 1| some |some|plus
21562
21563 note that a level can be constructed of (some|plus) = bit-0, (many|much)
21564 = bit-1, (more) = bit-2, (ultra|experimental) = bit-3 at least in a
21565 left-to-right order, ie. plusmanymore=7
21566
21567 Example usage:
21568
21569 AX_NUMERIC_NAMEDLEVEL(OPTLEVEL,with_optlevel,1,3)
21570 AC_DEFINE(OPTLEVEL)
21571 test "$GCC" = "yes" && CFLAGS="$CFLAGS -O$OPTLEVEL)
21572
21573 Source Code
21574 ***********
21575
21576 Download the latest version of 'ax_numeric_namedlevel.m4'
21577 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_numeric_namedlevel.m4)
21578 or browse the macro's revision history
21579 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_numeric_namedlevel.m4).
21580
21581 License
21582 *******
21583
21584 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
21585
21586 Copying and distribution of this file, with or without modification, are
21587 permitted in any medium without royalty provided the copyright notice
21588 and this notice are preserved. This file is offered as-is, without any
21589 warranty.
21590
21591 
21592 File: autoconf-archive.info, Node: ax_open62541_check_h, Next: ax_open62541_check_lib, Prev: ax_numeric_namedlevel, Up: The Macros
21593
21594 ax_open62541_check_h
21595 ====================
21596
21597 Synopsis
21598 ********
21599
21600 AX_OPEN62541_CHECK_H([HEADERS = `...see_below...'], [ACTION-IF-FOUND],
21601 [ACTION-IF-NOT-FOUND])
21602
21603 Description
21604 ***********
21605
21606 Searches for the header file(s) of the open62541 library [1].
21607
21608 The open62541 library is a cmake-based project, that provides its header
21609 files in one of two layouts:
21610
21611 1) As individual files, e.g. ua_config.h, ua_server.h, ua_types.h, ...
21612 2) As a single amalgamation file open62541.h
21613
21614 The second case is enabled when configuring open62541 with the options
21615 "-D UA_ENABLE_AMALGAMATION=true to" cmake, which seems to be preferred.
21616 Code using the library can distinguish which layout is used by checking
21617 for the macro "UA_NO_AMALGAMATION": if it is defined, the first layout
21618 is used.
21619
21620 The AX_OPEN62541_CHECK_H macro checks first for the amalgamation and, if
21621 that is not found, for the individual headers. It defines
21622 "UA_NO_AMALGAMATION" if necessary.
21623
21624 The individual headers to check for if no amalgamation is found can be
21625 provided as a space-separated list in the first argument. If that is
21626 empty, it defaults to all files known to be contained in the
21627 amalgamation as of v0.2.0 of the library:
21628
21629 * ms_stdint.h
21630 * ua_client.h
21631 * ua_client_highlevel.h
21632 * ua_config.h
21633 * ua_config_standard.h
21634 * ua_connection.h
21635 * ua_constants.h
21636 * ua_job.h
21637 * ua_log.h
21638 * ua_log_stdout.h
21639 * ua_network_tcp.h
21640 * ua_nodeids.h
21641 * ua_server.h
21642 * ua_server_external_ns.h
21643 * ua_types.h
21644 * ua_types_generated.h
21645 * ua_types_generated_handling.h
21646
21647 If the with_open62541 shell variable is set to "no" (e.g. from running
21648 the AX_OPEN62541_PATH macro and the user giving configure the option
21649 "-without-open62541"), then expands ACTION-IF-NOT-FOUND without any
21650 checks.
21651
21652 [1]: <http://open62541.org/>
21653
21654 Source Code
21655 ***********
21656
21657 Download the latest version of 'ax_open62541_check_h.m4'
21658 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_open62541_check_h.m4)
21659 or browse the macro's revision history
21660 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_open62541_check_h.m4).
21661
21662 License
21663 *******
21664
21665 Copyright (C) 2016,2017 Olaf Mandel <olaf@mandel.name>
21666
21667 Copying and distribution of this file, with or without modification, are
21668 permitted in any medium without royalty provided the copyright notice
21669 and this notice are preserved. This file is offered as-is, without any
21670 warranty.
21671
21672 
21673 File: autoconf-archive.info, Node: ax_open62541_check_lib, Next: ax_open62541_path, Prev: ax_open62541_check_h, Up: The Macros
21674
21675 ax_open62541_check_lib
21676 ======================
21677
21678 Synopsis
21679 ********
21680
21681 AX_OPEN62541_CHECK_LIB([STATIC-FIRST = `no'], [ACTION-IF-FOUND],
21682 [ACTION-IF-NOT-FOUND])
21683
21684 Description
21685 ***********
21686
21687 Searches for the library file of the open62541 library [1].
21688
21689 The open62541 library is a cmake-based project, that supplies both a
21690 shared and a static library (with different names). The
21691 AX_OPEN62541_CHECK_LIB macro can search for both and adds the first one
21692 found to the LIBS Makefile variable. The search can be in either order
21693 (shared first or static first), which is selectable on macro invocation
21694 with the STATIC-FIRST parameter. The user can change this default by
21695 invoking configure with either the -with-open62541-shared or
21696 -with-open62541-static option (the named one is checked first).
21697
21698 Either shared or static library can be excluded from checking completely
21699 with the options -without-open62541-shared and
21700 -without-open62541-static.
21701
21702 If the with_open62541 shell variable is set to "no" (e.g. from running
21703 the AX_OPEN62541_PATH macro and the user giving configure the option
21704 "-without-open62541"), then expands ACTION-IF-NOT-FOUND without any
21705 checks. The same is true if both -without-open62541-shared and
21706 -without-open62541-static are given.
21707
21708 [1]: <http://open62541.org/>
21709
21710 Source Code
21711 ***********
21712
21713 Download the latest version of 'ax_open62541_check_lib.m4'
21714 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_open62541_check_lib.m4)
21715 or browse the macro's revision history
21716 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_open62541_check_lib.m4).
21717
21718 License
21719 *******
21720
21721 Copyright (C) 2016 Olaf Mandel <olaf@mandel.name>
21722
21723 Copying and distribution of this file, with or without modification, are
21724 permitted in any medium without royalty provided the copyright notice
21725 and this notice are preserved. This file is offered as-is, without any
21726 warranty.
21727
21728 
21729 File: autoconf-archive.info, Node: ax_open62541_path, Next: ax_openmp, Prev: ax_open62541_check_lib, Up: The Macros
21730
21731 ax_open62541_path
21732 =================
21733
21734 Synopsis
21735 ********
21736
21737 AX_OPEN62541_PATH()
21738
21739 Description
21740 ***********
21741
21742 Sets pre-processor and linker search paths for the open62541 library
21743 [1].
21744
21745 The open62541 library is a cmake-based project, that is not always
21746 installed to the system: it does not even provide an install target by
21747 default. In that case, the location of several directories need to be
21748 added to the pre-processor and linker search paths:
21749
21750 * -I<src>/deps
21751 * -I<src>/include
21752 * -I<src>/plugins
21753 * -I<build>/src_generated
21754 * -I<build>
21755 * -L<build>
21756
21757 Here "src" indicates the location of the library source directory and
21758 "build" the location of the out-of-source build.
21759
21760 This macro provides the configure options -with-open62541=dir and
21761 -with-open62541-build=dir to set the two directories. This macro will
21762 append to CPPFLAGS and LDFLAGS if a dir is supplied. It will also
21763 export LD_LIBRARY_PATH with the absolute path of the build dir for the
21764 rest of the configure script to use and define a Makefile variable
21765 OPEN62541_LDPATH, which contains
21766 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<abs_path_to_build> : this is intended
21767 to be used for all commands that need to execute a program using the
21768 library (e.g. make check). If paths are set, they are forwarded to
21769 distcheck.
21770
21771 For -with-open62541, the dir is optional: if either the values "no"
21772 (from -without-open62541) or "yes" (for no argument) are specified, this
21773 macro does nothing but these values may be used by other code. If
21774 -with-open62541 is not specified, the variable with_open62541 is not
21775 set.
21776
21777 For -with-open62541-build, the dir is compulsory. -with-open62541-build
21778 must not be given without also specifying -with-open62541. If
21779 -with-open62541 is given but -with-open62541-build is not, the default
21780 value is "<src>/build".
21781
21782 [1]: <http://open62541.org/>
21783
21784 Source Code
21785 ***********
21786
21787 Download the latest version of 'ax_open62541_path.m4'
21788 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_open62541_path.m4)
21789 or browse the macro's revision history
21790 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_open62541_path.m4).
21791
21792 License
21793 *******
21794
21795 Copyright (C) 2016,2017 Olaf Mandel <olaf@mandel.name>
21796
21797 Copying and distribution of this file, with or without modification, are
21798 permitted in any medium without royalty provided the copyright notice
21799 and this notice are preserved. This file is offered as-is, without any
21800 warranty.
21801
21802 
21803 File: autoconf-archive.info, Node: ax_openmp, Next: ax_patch_libtool_changing_cmds_ifs, Prev: ax_open62541_path, Up: The Macros
21804
21805 ax_openmp
21806 =========
21807
21808 Synopsis
21809 ********
21810
21811 AX_OPENMP([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
21812
21813 Description
21814 ***********
21815
21816 This macro tries to find out how to compile programs that use OpenMP a
21817 standard API and set of compiler directives for parallel programming
21818 (see http://www-unix.mcs/)
21819
21820 On success, it sets the OPENMP_CFLAGS/OPENMP_CXXFLAGS/OPENMP_F77FLAGS
21821 output variable to the flag (e.g. -omp) used both to compile *and* link
21822 OpenMP programs in the current language.
21823
21824 NOTE: You are assumed to not only compile your program with these flags,
21825 but also link it with them as well.
21826
21827 If you want to compile everything with OpenMP, you should set:
21828
21829 CFLAGS="$CFLAGS $OPENMP_CFLAGS"
21830 #OR# CXXFLAGS="$CXXFLAGS $OPENMP_CXXFLAGS"
21831 #OR# FFLAGS="$FFLAGS $OPENMP_FFLAGS"
21832
21833 (depending on the selected language).
21834
21835 The user can override the default choice by setting the corresponding
21836 environment variable (e.g. OPENMP_CFLAGS).
21837
21838 ACTION-IF-FOUND is a list of shell commands to run if an OpenMP flag is
21839 found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
21840 not found. If ACTION-IF-FOUND is not specified, the default action will
21841 define HAVE_OPENMP.
21842
21843 Source Code
21844 ***********
21845
21846 Download the latest version of 'ax_openmp.m4'
21847 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_openmp.m4)
21848 or browse the macro's revision history
21849 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_openmp.m4).
21850
21851 License
21852 *******
21853
21854 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
21855 Copyright (C) 2015 John W. Peterson <jwpeterson@gmail.com>
21856 Copyright (C) 2016 Nick R. Papior <nickpapior@gmail.com>
21857
21858 This program is free software: you can redistribute it and/or modify it
21859 under the terms of the GNU General Public License as published by the
21860 Free Software Foundation, either version 3 of the License, or (at your
21861 option) any later version.
21862
21863 This program is distributed in the hope that it will be useful, but
21864 WITHOUT ANY WARRANTY; without even the implied warranty of
21865 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
21866 Public License for more details.
21867
21868 You should have received a copy of the GNU General Public License along
21869 with this program. If not, see <https://www.gnu.org/licenses/>.
21870
21871 As a special exception, the respective Autoconf Macro's copyright owner
21872 gives unlimited permission to copy, distribute and modify the configure
21873 scripts that are the output of Autoconf when processing the Macro. You
21874 need not follow the terms of the GNU General Public License when using
21875 or distributing such scripts, even though portions of the text of the
21876 Macro appear in them. The GNU General Public License (GPL) does govern
21877 all other use of the material that constitutes the Autoconf Macro.
21878
21879 This special exception to the GPL applies to versions of the Autoconf
21880 Macro released by the Autoconf Archive. When you make and distribute a
21881 modified version of the Autoconf Macro, you may extend this special
21882 exception to the GPL to apply to your modified version as well.
21883
21884 
21885 File: autoconf-archive.info, Node: ax_patch_libtool_changing_cmds_ifs, Next: ax_path_bdb, Prev: ax_openmp, Up: The Macros
21886
21887 ax_patch_libtool_changing_cmds_ifs
21888 ==================================
21889
21890 Synopsis
21891 ********
21892
21893 AX_PATCH_LIBTOOL_CHANGING_CMDS_IFS
21894
21895 Description
21896 ***********
21897
21898 Do a 'grep "^[a-z]*_cmds=" libtool' - these are "subroutines" encoded by
21899 libtool.m4 into the generated libtool script. Since libtool assumes
21900 that there is no subroutine-facility in the shell invoked, these are not
21901 actually subroutines, but actually a "list of commands". This looks
21902 correct, but the command separator is not ";" - it is "~", the tilde
21903 character.
21904
21905 Now, grep again, look for 'grep 'IFS="~"' libtool' and see that libtool
21906 scripting uses a for-loop on the command-list, i.e for cmd in
21907 $some_cmds. This works correctly when the IFS was modified, where IFS
21908 stands for "input field separator" which is whitespace characters by
21909 default.
21910
21911 The problem: I have some real-world filesystems where there are
21912 directories using "~" inside of them, to be more to the point, it is a
21913 change control management software that uses source repositories of the
21914 form "path/master/project~version/src" and libtool has the tendency to
21915 resolve any symlinks so that it will paste such path into the $_cmds
21916 script when it gets evaluated a number of times.
21917
21918 This script is a workaround: I do not know why the ";" was not chosen as
21919 the IFS, perhaps it has some weird interactions in some shells since it
21920 is also the default record separator being one time bigger in context
21921 than the argument separator. I have made good success however with
21922 using "?" as the IFS, since there is no path-name that uses a question
21923 mark, and there is no _cmds ever around that uses "?" for some thing.
21924
21925 Oh yes, there are some usages of "*" to match shell-wise at the output
21926 file of some tool, so that might have triggered the choice to not use
21927 "?" in the first place - but in real life it never occurred that a
21928 _cmds script was created that has gone to use "?". And so, this
21929 ac-macro exchanges the s/~/?/g in configured _cmds variables and
21930 replaces all occurrences of s/IFS="~"/IFS="?"/ - and it all works smooth
21931 now.
21932
21933 Source Code
21934 ***********
21935
21936 Download the latest version of 'ax_patch_libtool_changing_cmds_ifs.m4'
21937 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_patch_libtool_changing_cmds_ifs.m4)
21938 or browse the macro's revision history
21939 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_patch_libtool_changing_cmds_ifs.m4).
21940
21941 License
21942 *******
21943
21944 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
21945
21946 Copying and distribution of this file, with or without modification, are
21947 permitted in any medium without royalty provided the copyright notice
21948 and this notice are preserved. This file is offered as-is, without any
21949 warranty.
21950
21951 
21952 File: autoconf-archive.info, Node: ax_path_bdb, Next: ax_path_generic, Prev: ax_patch_libtool_changing_cmds_ifs, Up: The Macros
21953
21954 ax_path_bdb
21955 ===========
21956
21957 Synopsis
21958 ********
21959
21960 AX_PATH_BDB([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
21961
21962 Description
21963 ***********
21964
21965 This macro finds the latest version of Berkeley DB on the system, and
21966 ensures that the header file and library versions match. If
21967 MINIMUM-VERSION is specified, it will ensure that the library found is
21968 at least that version.
21969
21970 It determines the name of the library as well as the path to the header
21971 file and library. It will check both the default environment as well as
21972 the default Berkeley DB install location. When found, it sets BDB_LIBS,
21973 BDB_CPPFLAGS, and BDB_LDFLAGS to the necessary values to add to LIBS,
21974 CPPFLAGS, and LDFLAGS, as well as setting BDB_VERSION to the version
21975 found. HAVE_DB_H is defined also.
21976
21977 The option -with-bdb-dir=DIR can be used to specify a specific Berkeley
21978 DB installation to use.
21979
21980 An example of it's use is:
21981
21982 AX_PATH_BDB([3],[
21983 LIBS="$BDB_LIBS $LIBS"
21984 LDFLAGS="$BDB_LDFLAGS $LDFLAGS"
21985 CPPFLAGS="$CPPFLAGS $BDB_CPPFLAGS"
21986 ])
21987
21988 which will locate the latest version of Berkeley DB on the system, and
21989 ensure that it is version 3.0 or higher.
21990
21991 Details: This macro does not use either AC_CHECK_HEADERS or AC_CHECK_LIB
21992 because, first, the functions inside the library are sometimes renamed
21993 to contain a version code that is only available from the db.h on the
21994 system, and second, because it is common to have multiple db.h and libdb
21995 files on a system it is important to make sure the ones being used
21996 correspond to the same version. Additionally, there are many different
21997 possible names for libdb when installed by an OS distribution, and these
21998 need to be checked if db.h does not correspond to libdb.
21999
22000 When cross compiling, only header versions are verified since it would
22001 be difficult to check the library version. Additionally the default
22002 Berkeley DB installation locations /usr/local/BerkeleyDB* are not
22003 searched for higher versions of the library.
22004
22005 The format for the list of library names to search came from the Cyrus
22006 IMAP distribution, although they are generated dynamically here, and
22007 only for the version found in db.h.
22008
22009 The macro AX_COMPARE_VERSION is required to use this macro, and should
22010 be available from the Autoconf Macro Archive.
22011
22012 The author would like to acknowledge the generous and valuable feedback
22013 from Guido Draheim, without which this macro would be far less robust,
22014 and have poor and inconsistent cross compilation support.
22015
22016 Changes:
22017
22018 1/5/05 applied patch from Rafal Rzepecki to eliminate compiler
22019 warning about unused variable, argv
22020
22021 Source Code
22022 ***********
22023
22024 Download the latest version of 'ax_path_bdb.m4'
22025 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_bdb.m4)
22026 or browse the macro's revision history
22027 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_bdb.m4).
22028
22029 License
22030 *******
22031
22032 Copyright (C) 2008 Tim Toolan <toolan@ele.uri.edu>
22033
22034 Copying and distribution of this file, with or without modification, are
22035 permitted in any medium without royalty provided the copyright notice
22036 and this notice are preserved. This file is offered as-is, without any
22037 warranty.
22038
22039 
22040 File: autoconf-archive.info, Node: ax_path_generic, Next: ax_path_lib_pcre, Prev: ax_path_bdb, Up: The Macros
22041
22042 ax_path_generic
22043 ===============
22044
22045 Synopsis
22046 ********
22047
22048 AX_PATH_GENERIC(LIBRARY,[MINIMUM-VERSION,[SED-EXPR-EXTRACTOR]],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND],[CONFIG-SCRIPTS],[CFLAGS-ARG],[LIBS-ARG])
22049
22050 Description
22051 ***********
22052
22053 Runs the LIBRARY-config script and defines LIBRARY_CFLAGS and
22054 LIBRARY_LIBS unless the user had predefined them in the environment.
22055
22056 The script must support '-cflags' and '-libs' args. If MINIMUM-VERSION
22057 is specified, the script must also support the '-version' arg. If the
22058 '-with-library-[exec-]prefix' arguments to ./configure are given, it
22059 must also support '-prefix' and '-exec-prefix'. Preferably use
22060 CONFIG-SCRIPTS as config script, CFLAGS-ARG instead of '-cflags' and
22061 LIBS-ARG instead of '-libs', if given.
22062
22063 The SED-EXPR-EXTRACTOR parameter represents the expression used in sed
22064 to extract the version number. Use it if your 'foo-config -version'
22065 dumps something like 'Foo library v1.0.0 (alfa)' instead of '1.0.0'.
22066
22067 The macro respects LIBRARY_CONFIG, LIBRARY_CFLAGS and LIBRARY_LIBS
22068 variables. If the first one is defined, it specifies the name of the
22069 config script to use. If the latter two are defined, the script is not
22070 ran at all and their values are used instead (if only one of them is
22071 defined, the empty value of the remaining one is still used).
22072
22073 Example:
22074
22075 AX_PATH_GENERIC(Foo, 1.0.0)
22076
22077 would run 'foo-config -version' and check that it is at least 1.0.0, if
22078 successful the following variables would be defined and substituted:
22079
22080 FOO_CFLAGS to `foo-config --cflags`
22081 FOO_LIBS to `foo-config --libs`
22082
22083 Example:
22084
22085 AX_PATH_GENERIC([Bar],,,[
22086 AC_MSG_ERROR([Cannot find Bar library])
22087 ])
22088
22089 would check for bar-config program, defining and substituting the
22090 following variables:
22091
22092 BAR_CFLAGS to `bar-config --cflags`
22093 BAR_LIBS to `bar-config --libs`
22094
22095 Example:
22096
22097 ./configure BAZ_LIBS=/usr/lib/libbaz.a
22098
22099 would link with a static version of baz library even if 'baz-config
22100 -libs' returns just "-lbaz" that would normally result in using the
22101 shared library.
22102
22103 This macro is a rearranged version of AC_PATH_GENERIC from Angus Lees.
22104
22105 Source Code
22106 ***********
22107
22108 Download the latest version of 'ax_path_generic.m4'
22109 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_generic.m4)
22110 or browse the macro's revision history
22111 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_generic.m4).
22112
22113 License
22114 *******
22115
22116 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
22117
22118 Copying and distribution of this file, with or without modification, are
22119 permitted in any medium without royalty provided the copyright notice
22120 and this notice are preserved. This file is offered as-is, without any
22121 warranty.
22122
22123 
22124 File: autoconf-archive.info, Node: ax_path_lib_pcre, Next: ax_path_milter, Prev: ax_path_generic, Up: The Macros
22125
22126 ax_path_lib_pcre
22127 ================
22128
22129 Synopsis
22130 ********
22131
22132 AX_PATH_LIB_PCRE [(A/NA)]
22133
22134 Description
22135 ***********
22136
22137 check for pcre lib and set PCRE_LIBS and PCRE_CFLAGS accordingly.
22138
22139 also provide -with-pcre option that may point to the $prefix of the pcre
22140 installation - the macro will check $pcre/include and $pcre/lib to
22141 contain the necessary files.
22142
22143 the usual two ACTION-IF-FOUND / ACTION-IF-NOT-FOUND are supported and
22144 they can take advantage of the LIBS/CFLAGS additions.
22145
22146 Source Code
22147 ***********
22148
22149 Download the latest version of 'ax_path_lib_pcre.m4'
22150 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_lib_pcre.m4)
22151 or browse the macro's revision history
22152 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_lib_pcre.m4).
22153
22154 License
22155 *******
22156
22157 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
22158
22159 Copying and distribution of this file, with or without modification, are
22160 permitted in any medium without royalty provided the copyright notice
22161 and this notice are preserved. This file is offered as-is, without any
22162 warranty.
22163
22164 
22165 File: autoconf-archive.info, Node: ax_path_milter, Next: ax_path_missing, Prev: ax_path_lib_pcre, Up: The Macros
22166
22167 ax_path_milter
22168 ==============
22169
22170 Synopsis
22171 ********
22172
22173 AX_PATH_MILTER([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
22174
22175 Description
22176 ***********
22177
22178 This macro tries to automatically find the library libmilter.a and the
22179 header file "libmilter/mfapi.h", which are required when compiling a
22180 milter for Sendmail. When successful, it sets the output variable
22181 MILTER_LIBS to "-lmilter", MILTER_LDFLAGS to contain an -Lpathtolib
22182 option, and MILTER_CPPFLAGS to contain an -Ipathtoinclude option, if
22183 they are necessary.
22184
22185 The easiest way to use this macro is something like:
22186
22187 AX_PATH_MILTER([8.12],[
22188 LIBS="$MILTER_LIBS $LIBS"
22189 LDFLAGS="$MILTER_LDFLAGS $LDFLAGS"
22190 CPPFLAGS="$CPPFLAGS $MILTER_CPPFLAGS"
22191 ],[
22192 AC_MSG_ERROR([required milter library and header not found])
22193 ])
22194
22195 If the macro is successful, it just adds any flags to the necessary
22196 environment. If it is not successful, it would likely be a fatal error,
22197 because if an application is linking with libmilter.a, it is probably
22198 because it is a milter.
22199
22200 There are two optional "-with" options for configure which are added.
22201 If they are specified, they override any searching that is done. They
22202 are:
22203
22204 --with-sendmail-base=<DIR> This option is used to explicitly
22205 specify the base of the sendmail distribution.
22206
22207 --with-sendmail-obj=<DIR> The option is used to explicitly specify
22208 the "obj.*" subdirectory in the sendmail distribution
22209 that should be used.
22210
22211 When sendmail-base is not specified, the current environment is first
22212 tested to see if the header and library are available, and if so
22213 MILTER_LDFLAGS and MILTER_CPPFLAGS are left empty.
22214
22215 There are two places that are searched for the sendmail base directory.
22216 The first location is one directory down from the current directory. It
22217 checks if there is a directory of the form sendmail-8.1*, limited to
22218 version 8.12.x or higher, then chooses the directory with the highest
22219 version number. If that method does not succeed, it then looks in the
22220 file /etc/mail/sendmail.cf for the directory it was built from, and uses
22221 the base of that distribution. If neither of these methods work, then
22222 it fails.
22223
22224 There are two methods for finding the "obj.*" directory when it is not
22225 specified. The first is to try to run sendmail's Build program with the
22226 -M option which will print out the name of the obj. directory for the
22227 tool in the directory where it is run from. If this does not work, is
22228 looks for the newest directory of the form "obj.*" in the sendmail base
22229 directory.
22230
22231 Two addition output variables that are defined, whether or not the files
22232 are found are SENDMAIL_BASE_DIR and SENDMAIL_OBJ_DIR, which are the
22233 suspected location of the sendmail base directory and obj.*
22234 subdirectory.
22235
22236 NOTE: POSIX threads MUST be configured BEFORE this function is called or
22237 it will not find libmilter.a even if it exists. The easiest way is to
22238 use the AX_PTHREAD macro by Steven G. Johnson and Alejandro Forero
22239 Cuervo which is available from the Autoconf Macro Archive.
22240
22241 Source Code
22242 ***********
22243
22244 Download the latest version of 'ax_path_milter.m4'
22245 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_milter.m4)
22246 or browse the macro's revision history
22247 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_milter.m4).
22248
22249 License
22250 *******
22251
22252 Copyright (C) 2008 Tim Toolan <toolan@ele.uri.edu>
22253
22254 Copying and distribution of this file, with or without modification, are
22255 permitted in any medium without royalty provided the copyright notice
22256 and this notice are preserved. This file is offered as-is, without any
22257 warranty.
22258
22259 
22260 File: autoconf-archive.info, Node: ax_path_missing, Next: ax_perl_ext, Prev: ax_path_milter, Up: The Macros
22261
22262 ax_path_missing
22263 ===============
22264
22265 Synopsis
22266 ********
22267
22268 AX_PATH_MISSING(VARIABLE, PROG-TO-CHECK-FOR, WARNING-IF-NOT-FOUND, PATH)
22269
22270 Description
22271 ***********
22272
22273 Check whether program PROG-TO-CHECK-FOR exists in path. If it is found,
22274 set VARIABLE to the full path of PROG-TO-CHECK-FOR, otherwise warn using
22275 the string WARNING-IF-NOT-FOUND and set VARIABLE to the full path of the
22276 Automake missing script with PROG-TO-CHECK-FOR as the command to run.
22277
22278 A typical use is the following:
22279
22280 AX_PATH_MISSING([AUTOGEN],[autogen],[autogen seems missing ...])
22281
22282 This macro is the combination of AC_PATH_PROG and AX_MISSING_PROG. If
22283 you do not want to run AC_PATH_PROG, simply use AX_MISSING_PROG or
22284 AM_MISSING.
22285
22286 Source Code
22287 ***********
22288
22289 Download the latest version of 'ax_path_missing.m4'
22290 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_missing.m4)
22291 or browse the macro's revision history
22292 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_missing.m4).
22293
22294 License
22295 *******
22296
22297 Copyright (C) 2008 Noah Slater <nslater@bytesexual.org>
22298 Copyright (C) 2008 Francesco Salvestrini <salvestrini@sourceforge.net>
22299
22300 Copying and distribution of this file, with or without modification, are
22301 permitted in any medium without royalty provided the copyright notice
22302 and this notice are preserved. This file is offered as-is, without any
22303 warranty.
22304
22305 
22306 File: autoconf-archive.info, Node: ax_perl_ext, Next: ax_perl_ext_flags, Prev: ax_path_missing, Up: The Macros
22307
22308 ax_perl_ext
22309 ===========
22310
22311 Synopsis
22312 ********
22313
22314 AX_PERL_EXT
22315
22316 Description
22317 ***********
22318
22319 Fetches the linker flags and C compiler flags for compiling and linking
22320 Perl binary extensions. The macro substitutes PERL_EXT_PREFIX,
22321 PERL_EXT_INC, PERL_EXT_LIB, PERL_EXT_CPPFLAGS, PERL_EXT_LDFLAGS and
22322 PERL_EXT_DLEXT variables if Perl executable was found. It also checks
22323 the same variables before trying to retrieve them from the Perl
22324 configuration.
22325
22326 PERL_EXT_PREFIX: top-level perl installation path (--prefix)
22327 PERL_EXT_INC: XS include directory
22328 PERL_EXT_LIB: Perl extensions destination directory
22329 PERL_EXT_CPPFLAGS: C preprocessor flags to compile extensions
22330 PERL_EXT_LDFLAGS: linker flags to build extensions
22331 PERL_EXT_DLEXT: extensions suffix for perl modules (e.g. ".so")
22332
22333 Examples:
22334
22335 AX_PERL_EXT
22336 if test x"$PERL" = x; then
22337 AC_ERROR(["cannot find Perl"])
22338 fi
22339
22340 Source Code
22341 ***********
22342
22343 Download the latest version of 'ax_perl_ext.m4'
22344 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_perl_ext.m4)
22345 or browse the macro's revision history
22346 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_perl_ext.m4).
22347
22348 License
22349 *******
22350
22351 Copyright (C) 2011 Stanislav Sedov <stas@FreeBSD.org>
22352 Copyright (C) 2014 Thomas Klausner <tk@giga.or.at>
22353
22354 Redistribution and use in source and binary forms, with or without
22355 modification, are permitted provided that the following conditions are
22356 met:
22357
22358 1. Redistributions of source code must retain the above copyright
22359 notice, this list of conditions and the following disclaimer.
22360
22361 2. Redistributions in binary form must reproduce the above copyright
22362 notice, this list of conditions and the following disclaimer in the
22363 documentation and/or other materials provided with the distribution.
22364
22365 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY
22366 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22367 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22368 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
22369 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22370 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22371 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22372 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22373 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
22374 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
22375 THE POSSIBILITY OF SUCH DAMAGE.
22376
22377 
22378 File: autoconf-archive.info, Node: ax_perl_ext_flags, Next: ax_perl_module_version, Prev: ax_perl_ext, Up: The Macros
22379
22380 ax_perl_ext_flags
22381 =================
22382
22383 Synopsis
22384 ********
22385
22386 AX_PERL_EXT_FLAGS([CFLAGS-VARIABLE], [LDFLAGS-VARIABLE], [EXTRA-MODULES])
22387 AX_PERL_EXT_CFLAGS([CFLAGS-VARIABLE])
22388 AX_PERL_EXT_LDFLAGS([LDFLAGS-VARIABLE], [EXTRA-MODULES])
22389
22390 Description
22391 ***********
22392
22393 Fetches the linker flags and C compiler flags for compiling and linking
22394 programs that embed a Perl interpreter. If the EXTRA-MODULES argument
22395 is submitted, it is a space separated list of extra modules to link.
22396 The flags will be stored in the provided variables.
22397
22398 Examples:
22399
22400 AX_PERL_EXT_FLAGS([PERLXS_CFLAGS], [PERLXS_LDFLAGS])
22401 AC_SUBST([PERLXS_CFLAGS])
22402 AC_SUBST([PERLXS_LDFLAGS])
22403
22404 AX_PERL_EXT_CFLAGS([PERLXS_CFLAGS])
22405 AC_SUBST([PERLXS_CFLAGS])
22406
22407 AX_PERL_EXT_LDFLAGS([PERLXS_LDFLAGS], [-std Socket])
22408
22409 Source Code
22410 ***********
22411
22412 Download the latest version of 'ax_perl_ext_flags.m4'
22413 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_perl_ext_flags.m4)
22414 or browse the macro's revision history
22415 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_perl_ext_flags.m4).
22416
22417 License
22418 *******
22419
22420 Copyright (C) 2009 Mats Kindahl of Sun Microsystems <mats@sun.com>
22421
22422 Redistribution and use in source and binary forms, with or without
22423 modification, are permitted provided that the following conditions are
22424 met:
22425
22426 1. Redistributions of source code must retain the above copyright
22427 notice, this list of conditions and the following disclaimer.
22428
22429 2. Redistributions in binary form must reproduce the above copyright
22430 notice, this list of conditions and the following disclaimer in the
22431 documentation and/or other materials provided with the distribution.
22432
22433 3. The name of the author may not be used to endorse or promote
22434 products derived from this software without specific prior written
22435 permission.
22436
22437 THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
22438 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22439 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22440 DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
22441 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22442 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22443 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22444 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
22445 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
22446 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
22447 POSSIBILITY OF SUCH DAMAGE.
22448
22449 
22450 File: autoconf-archive.info, Node: ax_perl_module_version, Next: ax_pgsql_priv_root, Prev: ax_perl_ext_flags, Up: The Macros
22451
22452 ax_perl_module_version
22453 ======================
22454
22455 Synopsis
22456 ********
22457
22458 AX_PERL_MODULE_VERSION([MODULE VERSION], [ACTION-IF-TRUE], [ACTION-IF-FALSE])
22459
22460 Description
22461 ***********
22462
22463 Checks to see if the list of 'Module Version' are available in the
22464 system. If all the modules in the list are available ACTION-IF-TRUE is
22465 executed. Case one module is not available ACTION-IF-FALSE is executed
22466 and the macro execution is aborted. NOTE: Perl is needed.
22467
22468 Example:
22469
22470 AX_PERL_MODULE_VERSION(CGI::Test 0.104 CGI::Ajax 0.694, ,
22471 AC_MSG_ERROR(Need some Perl modules))
22472
22473 Source Code
22474 ***********
22475
22476 Download the latest version of 'ax_perl_module_version.m4'
22477 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_perl_module_version.m4)
22478 or browse the macro's revision history
22479 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_perl_module_version.m4).
22480
22481 License
22482 *******
22483
22484 Copyright (C) 2009 Marco Gomes <mpglesi@gmail.com>
22485 Copyright (C) 2009 Ruben Fonseca <fonseka@gmail.com>
22486
22487 Copying and distribution of this file, with or without modification, are
22488 permitted in any medium without royalty provided the copyright notice
22489 and this notice are preserved. This file is offered as-is, without any
22490 warranty.
22491
22492 
22493 File: autoconf-archive.info, Node: ax_pgsql_priv_root, Next: ax_pkg_check_modules, Prev: ax_perl_module_version, Up: The Macros
22494
22495 ax_pgsql_priv_root
22496 ==================
22497
22498 Synopsis
22499 ********
22500
22501 AX_PGSQL_PRIV_ROOT(DB, USER, [HOST], [PASSWORD], [ACTION_IF_FAILED], [ACTION_IF_OK])
22502
22503 Description
22504 ***********
22505
22506 This macro checks whether the given PostgreSQL user has root privileges
22507 (can create and drop databases) It is recommended to first call
22508 AX_CHECK_PGSQL_DB, this makes it easier to locate the cause of error.
22509 The macro AX_PROG_PGCLIENT is required by this one.
22510
22511 The variable $pgclient_root_call is set for later use in Makefiles, if
22512 you'd like to make use of this, you must do
22513
22514 AC_SUBST(pgclient_root_call)
22515
22516 after having called AX_CHECK_PGSQL_PRIV_ROOT. You can then do something
22517 like the following in your Makefile.am:
22518
22519 @pgclient_root_call@ -f file.sql
22520
22521 If you want the user to set the data, you should support something like
22522 these configure options:
22523
22524 AC_ARG_WITH(pgsql-host,
22525 [ --with-pgsql-host=HOST server is running on HOST @<:@local socket@:>@],
22526 [pg_host=$withval], [pg_host=])
22527
22528 AC_ARG_WITH(pgsql-db,
22529 [ --with-pgsql-db=DBNAME use database DBNAME @<:@test@:>@],
22530 [pg_db=$withval], [pg_db=test])
22531
22532 AC_ARG_WITH(pgsql-root-user,
22533 [ --with-pgsql-root-user=USER use user USER, must have root (all) privileges @<:@postgres@:>@],
22534 [pg_root_user=$withval], [pg_root_user=postgres])
22535
22536 AC_ARG_WITH(pgsql-password,
22537 [ --with-pgsql-password=PASSWORD use password PASSWORD @<:@none@:>@],
22538 [pg_password=$withval], [pg_password=""])
22539
22540 You can then call the macro like this:
22541
22542 AX_CHECK_PGSQL_PRIV_ROOT([$pg_db], [$pg_root_user], [$pg_host], [$pg_password], [AC_MSG_ERROR([We need root privileges on database!])])
22543
22544 Source Code
22545 ***********
22546
22547 Download the latest version of 'ax_pgsql_priv_root.m4'
22548 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pgsql_priv_root.m4)
22549 or browse the macro's revision history
22550 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pgsql_priv_root.m4).
22551
22552 License
22553 *******
22554
22555 Copyright (C) 2008 Moritz Sinn <moritz@freesources.org>
22556
22557 This program is free software; you can redistribute it and/or modify it
22558 under the terms of the GNU General Public License as published by the
22559 Free Software Foundation; either version 2 of the License, or (at your
22560 option) any later version.
22561
22562 This program is distributed in the hope that it will be useful, but
22563 WITHOUT ANY WARRANTY; without even the implied warranty of
22564 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
22565 Public License for more details.
22566
22567 You should have received a copy of the GNU General Public License along
22568 with this program. If not, see <https://www.gnu.org/licenses/>.
22569
22570 As a special exception, the respective Autoconf Macro's copyright owner
22571 gives unlimited permission to copy, distribute and modify the configure
22572 scripts that are the output of Autoconf when processing the Macro. You
22573 need not follow the terms of the GNU General Public License when using
22574 or distributing such scripts, even though portions of the text of the
22575 Macro appear in them. The GNU General Public License (GPL) does govern
22576 all other use of the material that constitutes the Autoconf Macro.
22577
22578 This special exception to the GPL applies to versions of the Autoconf
22579 Macro released by the Autoconf Archive. When you make and distribute a
22580 modified version of the Autoconf Macro, you may extend this special
22581 exception to the GPL to apply to your modified version as well.
22582
22583 
22584 File: autoconf-archive.info, Node: ax_pkg_check_modules, Next: ax_pkg_mico, Prev: ax_pgsql_priv_root, Up: The Macros
22585
22586 ax_pkg_check_modules
22587 ====================
22588
22589 Synopsis
22590 ********
22591
22592 AX_PKG_CHECK_MODULES(PREFIX, PUBLIC-MODULES, PRIVATE-MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [PUBLIC-VARIABLE], [PRIVATE-VARIABLE])
22593
22594 Description
22595 ***********
22596
22597 A wrapper around PKG_CHECK_MODULES which splits the list of modules into
22598 public and private dependencies, and produces two variables listing the
22599 dependencies across all invocations of AX_PKG_CHECK_MODULES. These two
22600 variables are exposed via AC_SUBST, and should be used in a pkg-config
22601 file as the substituted values for Requires and Requires.private.
22602
22603 The PREFIX, PUBLIC-MODULES and PRIVATE-MODULES arguments should be
22604 specified as for PKG_CHECK_MODULES, with the concatenation of
22605 PUBLIC-MODULES and PRIVATE-MODULES equaling the LIST-OF-MODULES from
22606 PKG_CHECK_MODULES. The ACTION-IF-FOUND and ACTION-IF-NOT-FOUND arguments
22607 are optional, and should also be specified as for PKG_CHECK_MODULES.
22608 ACTION-IF-FOUND is evaluated if the full LIST-OF-MODULES is found;
22609 ACTION-IF-NOT-FOUND similarly.
22610
22611 PUBLIC-VARIABLE defaults to AX_PACKAGE_REQUIRES, and PRIVATE-VARIABLE
22612 defaults to AX_PACKAGE_REQUIRES_PRIVATE. Both variables are AC_SUBST-ed
22613 by this macro.
22614
22615 For example:
22616
22617 AX_PKG_CHECK_MODULES([GLIB],[glib-2.0 gio-2.0],[gthread-2.0])
22618 AX_PKG_CHECK_MODULES([DBUS],[],[dbus-glib-1 >= 0.98 dbus-1])
22619
22620 results in the substitutions:
22621
22622 AX_PACKAGE_REQUIRES="glib-2.0 gio-2.0"
22623 AX_PACKAGE_REQUIRES_PRIVATE="gthread-2.0 dbus-glib-1 >= 0.98 dbus-1"
22624
22625 and can be used with a template pkg-config file (.pc.in) using:
22626
22627 Requires: @AX_PACKAGE_REQUIRES@
22628 Requires.private: @AX_PACKAGE_REQUIRES_PRIVATE@
22629
22630 Source Code
22631 ***********
22632
22633 Download the latest version of 'ax_pkg_check_modules.m4'
22634 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pkg_check_modules.m4)
22635 or browse the macro's revision history
22636 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pkg_check_modules.m4).
22637
22638 License
22639 *******
22640
22641 Copyright (C) 2014 Philip Withnall <philip@tecnocode.co.uk>
22642
22643 Copying and distribution of this file, with or without modification, are
22644 permitted in any medium without royalty provided the copyright notice
22645 and this notice are preserved. This file is offered as-is, without any
22646 warranty.
22647
22648 
22649 File: autoconf-archive.info, Node: ax_pkg_mico, Next: ax_pkg_swig, Prev: ax_pkg_check_modules, Up: The Macros
22650
22651 ax_pkg_mico
22652 ===========
22653
22654 Synopsis
22655 ********
22656
22657 AX_PKG_MICO([X.X.X optional required])
22658
22659 Description
22660 ***********
22661
22662 This macro searches for a MICO installation on your system. MICO (Mico
22663 Is COrba) installs the file 'mico-setup.sh' under MICO_INSTALL_BASE/lib,
22664 where MICO_INSTALL_BASE is probably /usr/local or /usr. If nothing was
22665 specified when calling configure or just -with-mico, it searches in
22666 $prefix/lib:/usr/local/lib:/usr/lib The argument of s-with-mico
22667 specifies the full pathname of the mico-setup.sh file. For instance
22668 -with-mico=/usr/local/mico-2.2.6/lib/mico-setup.sh.
22669
22670 If the version argument is given (e.g. 2.2.6), AX_PKG_MICO checks that
22671 the mico package is this version number or higher.
22672
22673 The other optional argument to AX_PKG_MICO are 'optional' and
22674 'required'. by default, placing AX_PKG_MICO in your configure.in does
22675 not enforce using mico, if it is not found on the system. If MICO
22676 existence is critical for the building of your package, then you
22677 probably want to specify something like "AX_PKG_MICO(2.2.6 required)".
22678 Then, even if the -with-mico was not specified on the command line of
22679 the configure script, an error will be raised if mico was not found.
22680
22681 If the mico package is not found, abort configuration with error
22682 message.
22683
22684 It defines the symbol MICOSETUP, MICOVERSION, MICOSHAREDDIR
22685 MICO_INCLUDE, MICO_LIB and MICO_CXX if mico is found. In addition, the
22686 mico script mico-c++ (set in (MICO_CXX) is scaned for a string match
22687 "-I.*ministl" and if foundMICO_USE_MINISTL is set to 1, otherwise to 0.
22688
22689 Example of use of these variables in your Makefile.in:
22690
22691 INCLUDES += @MICO_INCLUDE@
22692 LDFLAGS += @MICO_LIB@
22693
22694 Source Code
22695 ***********
22696
22697 Download the latest version of 'ax_pkg_mico.m4'
22698 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pkg_mico.m4)
22699 or browse the macro's revision history
22700 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pkg_mico.m4).
22701
22702 License
22703 *******
22704
22705 Copyright (C) 2008 Tal Shalif <tal@shalif.com>
22706
22707 Copying and distribution of this file, with or without modification, are
22708 permitted in any medium without royalty provided the copyright notice
22709 and this notice are preserved. This file is offered as-is, without any
22710 warranty.
22711
22712 
22713 File: autoconf-archive.info, Node: ax_pkg_swig, Next: ax_prefix_config_h, Prev: ax_pkg_mico, Up: The Macros
22714
22715 ax_pkg_swig
22716 ===========
22717
22718 Synopsis
22719 ********
22720
22721 AX_PKG_SWIG([major.minor.micro], [action-if-found], [action-if-not-found])
22722
22723 Description
22724 ***********
22725
22726 This macro searches for a SWIG installation on your system. If found,
22727 then SWIG is AC_SUBST'd; if not found, then $SWIG is empty. If SWIG is
22728 found, then SWIG_LIB is set to the SWIG library path, and AC_SUBST'd.
22729
22730 You can use the optional first argument to check if the version of the
22731 available SWIG is greater than or equal to the value of the argument.
22732 It should have the format: N[.N[.N]] (N is a number between 0 and 999.
22733 Only the first N is mandatory.) If the version argument is given (e.g.
22734 1.3.17), AX_PKG_SWIG checks that the swig package is this version number
22735 or higher.
22736
22737 As usual, action-if-found is executed if SWIG is found, otherwise
22738 action-if-not-found is executed.
22739
22740 In configure.in, use as:
22741
22742 AX_PKG_SWIG(1.3.17, [], [ AC_MSG_ERROR([SWIG is required to build..]) ])
22743 AX_SWIG_ENABLE_CXX
22744 AX_SWIG_MULTI_MODULE_SUPPORT
22745 AX_SWIG_PYTHON
22746
22747 Source Code
22748 ***********
22749
22750 Download the latest version of 'ax_pkg_swig.m4'
22751 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pkg_swig.m4)
22752 or browse the macro's revision history
22753 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pkg_swig.m4).
22754
22755 License
22756 *******
22757
22758 Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
22759 Copyright (C) 2008 Alan W. Irwin
22760 Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
22761 Copyright (C) 2008 Andrew Collier
22762 Copyright (C) 2011 Murray Cumming <murrayc@openismus.com>
22763
22764 This program is free software; you can redistribute it and/or modify it
22765 under the terms of the GNU General Public License as published by the
22766 Free Software Foundation; either version 2 of the License, or (at your
22767 option) any later version.
22768
22769 This program is distributed in the hope that it will be useful, but
22770 WITHOUT ANY WARRANTY; without even the implied warranty of
22771 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
22772 Public License for more details.
22773
22774 You should have received a copy of the GNU General Public License along
22775 with this program. If not, see <https://www.gnu.org/licenses/>.
22776
22777 As a special exception, the respective Autoconf Macro's copyright owner
22778 gives unlimited permission to copy, distribute and modify the configure
22779 scripts that are the output of Autoconf when processing the Macro. You
22780 need not follow the terms of the GNU General Public License when using
22781 or distributing such scripts, even though portions of the text of the
22782 Macro appear in them. The GNU General Public License (GPL) does govern
22783 all other use of the material that constitutes the Autoconf Macro.
22784
22785 This special exception to the GPL applies to versions of the Autoconf
22786 Macro released by the Autoconf Archive. When you make and distribute a
22787 modified version of the Autoconf Macro, you may extend this special
22788 exception to the GPL to apply to your modified version as well.
22789
22790 
22791 File: autoconf-archive.info, Node: ax_prefix_config_h, Next: ax_print_to_file, Prev: ax_pkg_swig, Up: The Macros
22792
22793 ax_prefix_config_h
22794 ==================
22795
22796 Synopsis
22797 ********
22798
22799 AX_PREFIX_CONFIG_H [(OUTPUT-HEADER [,PREFIX [,ORIG-HEADER]])]
22800
22801 Description
22802 ***********
22803
22804 Generate an installable config.h.
22805
22806 A package should not normally install its config.h as a system header,
22807 but if it must, this macro can be used to avoid namespace pollution by
22808 making a copy of config.h with a prefix added to all the macro names.
22809
22810 Each "#define SOMEDEF" line of the configuration header has the given
22811 prefix added, in the same case as the first character of the macro name.
22812
22813 Defaults:
22814
22815 OUTPUT-HEADER = $PACKAGE-config.h
22816 PREFIX = $PACKAGE
22817 ORIG-HEADER, from AM_CONFIG_HEADER(config.h)
22818
22819 Your configure.ac script should contain both macros in this order.
22820
22821 Example:
22822
22823 AC_INIT(config.h.in) # config.h.in as created by "autoheader"
22824 AM_INIT_AUTOMAKE(testpkg, 0.1.1) # makes #undef VERSION and PACKAGE
22825 AM_CONFIG_HEADER(config.h) # prep config.h from config.h.in
22826 AX_PREFIX_CONFIG_H(mylib/_config.h) # prep mylib/_config.h from it..
22827 AC_MEMORY_H # makes "#undef NEED_MEMORY_H"
22828 AC_C_CONST_H # makes "#undef const"
22829 AC_OUTPUT(Makefile) # creates the "config.h" now
22830 # and also mylib/_config.h
22831
22832 If the argument to AX_PREFIX_CONFIG_H would have been omitted then the
22833 default output file would have been called simply "testpkg-config.h",
22834 but even under the name "mylib/_config.h" it contains prefix-defines
22835 like
22836
22837 #ifndef TESTPKG_VERSION
22838 #define TESTPKG_VERSION "0.1.1"
22839 #endif
22840 #ifndef TESTPKG_NEED_MEMORY_H
22841 #define TESTPKG_NEED_MEMORY_H 1
22842 #endif
22843 #ifndef _testpkg_const
22844 #define _testpkg_const _const
22845 #endif
22846
22847 and this "mylib/_config.h" can be installed along with other header
22848 files, which is most convenient when creating a shared library (that has
22849 some headers) whose functionality depends on features detected at
22850 compile-time. No need to invent some "mylib-confdefs.h.in" manually.
22851
22852 Note that some AC_DEFINEs that end up in the config.h file are actually
22853 self-referential - e.g. AC_C_INLINE, AC_C_CONST, and the AC_TYPE_OFF_T
22854 say that they "will define inline|const|off_t if the system does not do
22855 it by itself". You might want to clean up about these - consider an
22856 extra mylib/conf.h that reads something like:
22857
22858 #include <mylib/_config.h>
22859 #ifndef _testpkg_const
22860 #define _testpkg_const const
22861 #endif
22862
22863 and then start using _testpkg_const in the header files. That is also a
22864 good thing to differentiate whether some library-user has starting to
22865 take up with a different compiler, so perhaps it could read something
22866 like this:
22867
22868 #ifdef _MSC_VER
22869 #include <mylib/_msvc.h>
22870 #else
22871 #include <mylib/_config.h>
22872 #endif
22873 #ifndef _testpkg_const
22874 #define _testpkg_const const
22875 #endif
22876
22877 Source Code
22878 ***********
22879
22880 Download the latest version of 'ax_prefix_config_h.m4'
22881 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prefix_config_h.m4)
22882 or browse the macro's revision history
22883 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prefix_config_h.m4).
22884
22885 License
22886 *******
22887
22888 Copyright (C) 2014 Reuben Thomas <rrt@sc3d.org>
22889 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
22890 Copyright (C) 2008 Marten Svantesson
22891 Copyright (C) 2008 Gerald Point <Gerald.Point@labri.fr>
22892
22893 This program is free software; you can redistribute it and/or modify it
22894 under the terms of the GNU General Public License as published by the
22895 Free Software Foundation; either version 3 of the License, or (at your
22896 option) any later version.
22897
22898 This program is distributed in the hope that it will be useful, but
22899 WITHOUT ANY WARRANTY; without even the implied warranty of
22900 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
22901 Public License for more details.
22902
22903 You should have received a copy of the GNU General Public License along
22904 with this program. If not, see <https://www.gnu.org/licenses/>.
22905
22906 As a special exception, the respective Autoconf Macro's copyright owner
22907 gives unlimited permission to copy, distribute and modify the configure
22908 scripts that are the output of Autoconf when processing the Macro. You
22909 need not follow the terms of the GNU General Public License when using
22910 or distributing such scripts, even though portions of the text of the
22911 Macro appear in them. The GNU General Public License (GPL) does govern
22912 all other use of the material that constitutes the Autoconf Macro.
22913
22914 This special exception to the GPL applies to versions of the Autoconf
22915 Macro released by the Autoconf Archive. When you make and distribute a
22916 modified version of the Autoconf Macro, you may extend this special
22917 exception to the GPL to apply to your modified version as well.
22918
22919 
22920 File: autoconf-archive.info, Node: ax_print_to_file, Next: ax_printf_size_t, Prev: ax_prefix_config_h, Up: The Macros
22921
22922 ax_print_to_file
22923 ================
22924
22925 Synopsis
22926 ********
22927
22928 AX_PRINT_TO_FILE([FILE],[DATA])
22929
22930 Description
22931 ***********
22932
22933 Writes the specified data to the specified file.
22934
22935 Source Code
22936 ***********
22937
22938 Download the latest version of 'ax_print_to_file.m4'
22939 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_print_to_file.m4)
22940 or browse the macro's revision history
22941 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_print_to_file.m4).
22942
22943 License
22944 *******
22945
22946 Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
22947
22948 Copying and distribution of this file, with or without modification, are
22949 permitted in any medium without royalty provided the copyright notice
22950 and this notice are preserved. This file is offered as-is, without any
22951 warranty.
22952
22953 
22954 File: autoconf-archive.info, Node: ax_printf_size_t, Next: ax_prog_apache, Prev: ax_print_to_file, Up: The Macros
22955
22956 ax_printf_size_t
22957 ================
22958
22959 Synopsis
22960 ********
22961
22962 AX_PRINTF_SIZE_T
22963
22964 Description
22965 ***********
22966
22967 Check for the appropriate printf() format string modifier to use with a
22968 size_t argument. If a suitable modifier is found, it is AC_DEFINE'd as
22969 PRI_SIZE_T_MODIFIER, and can be used in C code as e.g.
22970
22971 printf("Size = %" PRI_SIZE_T_MODIFIER "u bytes.\n", sizeof(foo));
22972
22973 If you use the PRIxNN macros from ISO C99's <inttypes.h>, you may wish
22974 to define a supplemental set of macros along similar lines:
22975
22976 #define PRIdSIZE PRI_SIZE_T_MODIFIER "d"
22977 #define PRIiSIZE PRI_SIZE_T_MODIFIER "i"
22978 #define PRIoSIZE PRI_SIZE_T_MODIFIER "o"
22979 #define PRIuSIZE PRI_SIZE_T_MODIFIER "u"
22980 #define PRIxSIZE PRI_SIZE_T_MODIFIER "x"
22981 #define PRIXSIZE PRI_SIZE_T_MODIFIER "X"
22982
22983 Note: This macro invokes a test program to check whether a given format
22984 modifier is understood by the system's sprintf() function. If the user
22985 is cross-compiling, then this check cannot be performed, and thereby
22986 PRI_SIZE_T_MODIFIER will remain undefined.
22987
22988 Source Code
22989 ***********
22990
22991 Download the latest version of 'ax_printf_size_t.m4'
22992 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_printf_size_t.m4)
22993 or browse the macro's revision history
22994 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_printf_size_t.m4).
22995
22996 License
22997 *******
22998
22999 Copyright (C) 2012 Daniel Richard G. <skunk@iSKUNK.ORG>
23000
23001 Copying and distribution of this file, with or without modification, are
23002 permitted in any medium without royalty provided the copyright notice
23003 and this notice are preserved. This file is offered as-is, without any
23004 warranty.
23005
23006 
23007 File: autoconf-archive.info, Node: ax_prog_apache, Next: ax_prog_bison, Prev: ax_printf_size_t, Up: The Macros
23008
23009 ax_prog_apache
23010 ==============
23011
23012 Synopsis
23013 ********
23014
23015 AX_PROG_APACHE([version])
23016
23017 Description
23018 ***********
23019
23020 This macro searches for an installed apache server. If nothing was
23021 specified when calling configure or just -with-apache, it searches in
23022 /usr/local/apache/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
23023 The argument of -with-apache specifies the full pathname of the httpd
23024 argument. For instance -with-apache=/usr/sbin/httpd.
23025
23026 If the version argument is given, AX_PROG_APACHE checks that the apache
23027 server is this version number or higher.
23028
23029 If the apache server is not found, abort configuration with error
23030 message.
23031
23032 It defines the symbol APACHE if the server is found.
23033
23034 Files using apache should do the following:
23035
23036 @APACHE@ -d /etc/httpd
23037
23038 It defines the symbol APACHE_MODULES if a directory containing mod_env.*
23039 is found in the default server root directory (obtained with httpd -V).
23040
23041 The httpd.conf file listing modules to be loaded dynamically can use
23042 @APACHE_MODULES@ to grab them in the appropriate sub directory. For
23043 instance:
23044
23045 ...
23046 <IfModule mod_so.c>
23047 LoadModule env_module @APACHE_MODULES@/mod_env.so
23048 LoadModule config_log_module @APACHE_MODULES@/mod_log_config.so
23049 ...
23050
23051 Source Code
23052 ***********
23053
23054 Download the latest version of 'ax_prog_apache.m4'
23055 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_apache.m4)
23056 or browse the macro's revision history
23057 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_apache.m4).
23058
23059 License
23060 *******
23061
23062 Copyright (C) 2008 Loic Dachary <loic@senga.org>
23063
23064 This program is free software; you can redistribute it and/or modify it
23065 under the terms of the GNU General Public License as published by the
23066 Free Software Foundation; either version 2 of the License, or (at your
23067 option) any later version.
23068
23069 This program is distributed in the hope that it will be useful, but
23070 WITHOUT ANY WARRANTY; without even the implied warranty of
23071 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
23072 Public License for more details.
23073
23074 You should have received a copy of the GNU General Public License along
23075 with this program. If not, see <https://www.gnu.org/licenses/>.
23076
23077 As a special exception, the respective Autoconf Macro's copyright owner
23078 gives unlimited permission to copy, distribute and modify the configure
23079 scripts that are the output of Autoconf when processing the Macro. You
23080 need not follow the terms of the GNU General Public License when using
23081 or distributing such scripts, even though portions of the text of the
23082 Macro appear in them. The GNU General Public License (GPL) does govern
23083 all other use of the material that constitutes the Autoconf Macro.
23084
23085 This special exception to the GPL applies to versions of the Autoconf
23086 Macro released by the Autoconf Archive. When you make and distribute a
23087 modified version of the Autoconf Macro, you may extend this special
23088 exception to the GPL to apply to your modified version as well.
23089
23090 
23091 File: autoconf-archive.info, Node: ax_prog_bison, Next: ax_prog_bison_version, Prev: ax_prog_apache, Up: The Macros
23092
23093 ax_prog_bison
23094 =============
23095
23096 Synopsis
23097 ********
23098
23099 AX_PROG_BISON(ACTION-IF-TRUE,ACTION-IF-FALSE)
23100
23101 Description
23102 ***********
23103
23104 Check whether bison is the parser generator. Run ACTION-IF-TRUE if
23105 successful, ACTION-IF-FALSE otherwise
23106
23107 Source Code
23108 ***********
23109
23110 Download the latest version of 'ax_prog_bison.m4'
23111 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_bison.m4)
23112 or browse the macro's revision history
23113 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_bison.m4).
23114
23115 License
23116 *******
23117
23118 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
23119
23120 Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
23121
23122 This program is free software; you can redistribute it and/or modify it
23123 under the terms of the GNU General Public License as published by the
23124 Free Software Foundation; either version 2 of the License, or (at your
23125 option) any later version.
23126
23127 This program is distributed in the hope that it will be useful, but
23128 WITHOUT ANY WARRANTY; without even the implied warranty of
23129 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
23130 Public License for more details.
23131
23132 You should have received a copy of the GNU General Public License along
23133 with this program. If not, see <https://www.gnu.org/licenses/>.
23134
23135 As a special exception, the respective Autoconf Macro's copyright owner
23136 gives unlimited permission to copy, distribute and modify the configure
23137 scripts that are the output of Autoconf when processing the Macro. You
23138 need not follow the terms of the GNU General Public License when using
23139 or distributing such scripts, even though portions of the text of the
23140 Macro appear in them. The GNU General Public License (GPL) does govern
23141 all other use of the material that constitutes the Autoconf Macro.
23142
23143 This special exception to the GPL applies to versions of the Autoconf
23144 Macro released by the Autoconf Archive. When you make and distribute a
23145 modified version of the Autoconf Macro, you may extend this special
23146 exception to the GPL to apply to your modified version as well.
23147
23148 
23149 File: autoconf-archive.info, Node: ax_prog_bison_version, Next: ax_prog_cc_char_subscripts, Prev: ax_prog_bison, Up: The Macros
23150
23151 ax_prog_bison_version
23152 =====================
23153
23154 Synopsis
23155 ********
23156
23157 AX_PROG_BISON_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
23158
23159 Description
23160 ***********
23161
23162 Makes sure that bison version is greater or equal to the version
23163 indicated. If true the shell commands in ACTION-IF-TRUE are executed.
23164 If not the shell commands in commands in ACTION-IF-TRUE are executed.
23165 If not the shell commands in ACTION-IF-FALSE are run. Note if $BISON is
23166 not set (for example by running AC_CHECK_PROG or AC_PATH_PROG) the macro
23167 will fail.
23168
23169 Example:
23170
23171 AC_PATH_PROG([BISON],[bison])
23172 AX_PROG_BISON_VERSION([3.0.2],[ ... ],[ ... ])
23173
23174 This will check to make sure that the bison you have is at least version
23175 3.0.2 or greater.
23176
23177 NOTE: This macro uses the $BISON variable to perform the check.
23178
23179 Source Code
23180 ***********
23181
23182 Download the latest version of 'ax_prog_bison_version.m4'
23183 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_bison_version.m4)
23184 or browse the macro's revision history
23185 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_bison_version.m4).
23186
23187 License
23188 *******
23189
23190 Copyright (C) 2015 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
23191
23192 Copying and distribution of this file, with or without modification, are
23193 permitted in any medium without royalty provided the copyright notice
23194 and this notice are preserved. This file is offered as-is, without any
23195 warranty.
23196
23197 
23198 File: autoconf-archive.info, Node: ax_prog_cc_char_subscripts, Next: ax_prog_cc_for_build, Prev: ax_prog_bison_version, Up: The Macros
23199
23200 ax_prog_cc_char_subscripts
23201 ==========================
23202
23203 Synopsis
23204 ********
23205
23206 AX_PROG_CC_CHAR_SUBSCRIPTS(substvar [,hard])
23207
23208 Description
23209 ***********
23210
23211 Try to find a compiler option that enables usage of char-type to index a
23212 value-field. This one needs unsigned-chars and it must suppress
23213 warnings about usage of chars for subscripting. for gcc -funsigned-char
23214 -Wno-char-subscripts
23215
23216 Currently this macro knows about GCC. hopefully will evolve to use:
23217 Solaris C compiler, Digital Unix C compiler, C for AIX Compiler, HP-UX C
23218 compiler, and IRIX C compiler.
23219
23220 Source Code
23221 ***********
23222
23223 Download the latest version of 'ax_prog_cc_char_subscripts.m4'
23224 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_char_subscripts.m4)
23225 or browse the macro's revision history
23226 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cc_char_subscripts.m4).
23227
23228 License
23229 *******
23230
23231 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
23232
23233 Copying and distribution of this file, with or without modification, are
23234 permitted in any medium without royalty provided the copyright notice
23235 and this notice are preserved. This file is offered as-is, without any
23236 warranty.
23237
23238 
23239 File: autoconf-archive.info, Node: ax_prog_cc_for_build, Next: ax_prog_cc_mpi, Prev: ax_prog_cc_char_subscripts, Up: The Macros
23240
23241 ax_prog_cc_for_build
23242 ====================
23243
23244 Synopsis
23245 ********
23246
23247 AX_PROG_CC_FOR_BUILD
23248
23249 Description
23250 ***********
23251
23252 This macro searches for a C compiler that generates native executables,
23253 that is a C compiler that surely is not a cross-compiler. This can be
23254 useful if you have to generate source code at compile-time like for
23255 example GCC does.
23256
23257 The macro sets the CC_FOR_BUILD and CPP_FOR_BUILD macros to anything
23258 needed to compile or link (CC_FOR_BUILD) and preprocess (CPP_FOR_BUILD).
23259 The value of these variables can be overridden by the user by specifying
23260 a compiler with an environment variable (like you do for standard CC).
23261
23262 It also sets BUILD_EXEEXT and BUILD_OBJEXT to the executable and object
23263 file extensions for the build platform, and GCC_FOR_BUILD to 'yes' if
23264 the compiler we found is GCC. All these variables but GCC_FOR_BUILD are
23265 substituted in the Makefile.
23266
23267 Source Code
23268 ***********
23269
23270 Download the latest version of 'ax_prog_cc_for_build.m4'
23271 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_for_build.m4)
23272 or browse the macro's revision history
23273 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cc_for_build.m4).
23274
23275 License
23276 *******
23277
23278 Copyright (C) 2008 Paolo Bonzini <bonzini@gnu.org>
23279
23280 Copying and distribution of this file, with or without modification, are
23281 permitted in any medium without royalty provided the copyright notice
23282 and this notice are preserved. This file is offered as-is, without any
23283 warranty.
23284
23285 
23286 File: autoconf-archive.info, Node: ax_prog_cc_mpi, Next: ax_prog_cp_s, Prev: ax_prog_cc_for_build, Up: The Macros
23287
23288 ax_prog_cc_mpi
23289 ==============
23290
23291 Synopsis
23292 ********
23293
23294 AX_PROG_CC_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
23295
23296 Description
23297 ***********
23298
23299 This macro tries to find out how to compile C programs that use MPI
23300 (Message Passing Interface), a standard API for parallel process
23301 communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
23302 be used instead of the standard macro AC_PROG_CC and will replace the
23303 standard variable CC with the found compiler.
23304
23305 MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
23306 user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
23307 try to find out how to use MPI, if it fails, the macro will call
23308 AC_PROG_CC to find a standard C compiler instead.
23309
23310 When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
23311 (or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
23312 ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
23313
23314 The following example demonstrates usage of the macro:
23315
23316 # If --with-mpi=auto is used, try to find MPI, but use standard C compiler if it is not found.
23317 # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
23318 # If --with-mpi=no is used, use a standard C compiler instead.
23319 AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
23320 [compile with MPI (parallelization) support. If none is found,
23321 MPI is not used. Default: auto])
23322 ],,[with_mpi=auto])
23323 #
23324 AX_PROG_CC_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
23325 use_mpi=no
23326 if test x"$with_mpi" = xyes; then
23327 AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
23328 else
23329 AC_MSG_WARN([No MPI compiler found, won't use MPI.])
23330 fi
23331 ])
23332
23333 Source Code
23334 ***********
23335
23336 Download the latest version of 'ax_prog_cc_mpi.m4'
23337 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_mpi.m4)
23338 or browse the macro's revision history
23339 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cc_mpi.m4).
23340
23341 License
23342 *******
23343
23344 Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
23345
23346 This program is free software: you can redistribute it and/or modify it
23347 under the terms of the GNU General Public License as published by the
23348 Free Software Foundation, either version 3 of the License, or (at your
23349 option) any later version.
23350
23351 This program is distributed in the hope that it will be useful, but
23352 WITHOUT ANY WARRANTY; without even the implied warranty of
23353 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
23354 Public License for more details.
23355
23356 You should have received a copy of the GNU General Public License along
23357 with this program. If not, see <https://www.gnu.org/licenses/>.
23358
23359 As a special exception, the respective Autoconf Macro's copyright owner
23360 gives unlimited permission to copy, distribute and modify the configure
23361 scripts that are the output of Autoconf when processing the Macro. You
23362 need not follow the terms of the GNU General Public License when using
23363 or distributing such scripts, even though portions of the text of the
23364 Macro appear in them. The GNU General Public License (GPL) does govern
23365 all other use of the material that constitutes the Autoconf Macro.
23366
23367 This special exception to the GPL applies to versions of the Autoconf
23368 Macro released by the Autoconf Archive. When you make and distribute a
23369 modified version of the Autoconf Macro, you may extend this special
23370 exception to the GPL to apply to your modified version as well.
23371
23372 
23373 File: autoconf-archive.info, Node: ax_prog_cp_s, Next: ax_prog_crontab, Prev: ax_prog_cc_mpi, Up: The Macros
23374
23375 ax_prog_cp_s
23376 ============
23377
23378 Synopsis
23379 ********
23380
23381 AX_PROG_CP_S
23382
23383 Description
23384 ***********
23385
23386 Check how to make a copy by creating a symbolic link to the original -
23387 it defines the variable CP_S for further use, which you should in fact
23388 treat like it used to be with be LN_S. The actual value is assured to be
23389 either LN_S (if the filesystem supports symbolic links) or CP (if the
23390 filesystem does not know about symbolic links and you need a copy of
23391 original file to have the same text in both places). In a gnu
23392 environment it will simply set CP_S="cp -s" since the gnu "cp"-command
23393 has the "-s" flag. You shall not try to use this command on directories
23394 since it would require a "-r" in the case of a copy that is not
23395 supported explicitly here. (I'm not sure if some "cp"-commands out
23396 there would barf at usage of "-r" on a normal file).
23397
23398 Use CP_S to create a copy of read-only data - if your filesystem
23399 supports it then a symbolic link is created - a process that is quicker
23400 and space-saving. However, if the target fs does not support symbolic
23401 links, just copy the data. Unlike ac_prog_ln_s this macro will never
23402 fail to set the CP_S ac_subst to something that works.
23403
23404 Source Code
23405 ***********
23406
23407 Download the latest version of 'ax_prog_cp_s.m4'
23408 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cp_s.m4)
23409 or browse the macro's revision history
23410 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cp_s.m4).
23411
23412 License
23413 *******
23414
23415 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
23416
23417 Copying and distribution of this file, with or without modification, are
23418 permitted in any medium without royalty provided the copyright notice
23419 and this notice are preserved. This file is offered as-is, without any
23420 warranty.
23421
23422 
23423 File: autoconf-archive.info, Node: ax_prog_crontab, Next: ax_prog_cxx_for_build, Prev: ax_prog_cp_s, Up: The Macros
23424
23425 ax_prog_crontab
23426 ===============
23427
23428 Synopsis
23429 ********
23430
23431 AX_PROG_CRONTAB
23432
23433 Description
23434 ***********
23435
23436 Check for the program crontab, if exists let script continue, else pops
23437 an error message
23438
23439 Besides checking existence, this macro also set these environment
23440 variables upon completion:
23441
23442 CRONTAB = which crontab
23443
23444 Source Code
23445 ***********
23446
23447 Download the latest version of 'ax_prog_crontab.m4'
23448 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_crontab.m4)
23449 or browse the macro's revision history
23450 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_crontab.m4).
23451
23452 License
23453 *******
23454
23455 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
23456
23457 This program is free software; you can redistribute it and/or modify it
23458 under the terms of the GNU General Public License as published by the
23459 Free Software Foundation; either version 2 of the License, or (at your
23460 option) any later version.
23461
23462 This program is distributed in the hope that it will be useful, but
23463 WITHOUT ANY WARRANTY; without even the implied warranty of
23464 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
23465 Public License for more details.
23466
23467 You should have received a copy of the GNU General Public License along
23468 with this program. If not, see <https://www.gnu.org/licenses/>.
23469
23470 As a special exception, the respective Autoconf Macro's copyright owner
23471 gives unlimited permission to copy, distribute and modify the configure
23472 scripts that are the output of Autoconf when processing the Macro. You
23473 need not follow the terms of the GNU General Public License when using
23474 or distributing such scripts, even though portions of the text of the
23475 Macro appear in them. The GNU General Public License (GPL) does govern
23476 all other use of the material that constitutes the Autoconf Macro.
23477
23478 This special exception to the GPL applies to versions of the Autoconf
23479 Macro released by the Autoconf Archive. When you make and distribute a
23480 modified version of the Autoconf Macro, you may extend this special
23481 exception to the GPL to apply to your modified version as well.
23482
23483 
23484 File: autoconf-archive.info, Node: ax_prog_cxx_for_build, Next: ax_prog_cxx_mpi, Prev: ax_prog_crontab, Up: The Macros
23485
23486 ax_prog_cxx_for_build
23487 =====================
23488
23489 Synopsis
23490 ********
23491
23492 AX_PROG_CXX_FOR_BUILD
23493
23494 Description
23495 ***********
23496
23497 This macro searches for a C++ compiler that generates native
23498 executables, that is a C++ compiler that surely is not a cross-compiler.
23499 This can be useful if you have to generate source code at compile-time
23500 like for example GCC does.
23501
23502 The macro sets the CXX_FOR_BUILD and CXXCPP_FOR_BUILD macros to anything
23503 needed to compile or link (CXX_FOR_BUILD) and preprocess
23504 (CXXCPP_FOR_BUILD). The value of these variables can be overridden by
23505 the user by specifying a compiler with an environment variable (like you
23506 do for standard CXX).
23507
23508 Source Code
23509 ***********
23510
23511 Download the latest version of 'ax_prog_cxx_for_build.m4'
23512 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cxx_for_build.m4)
23513 or browse the macro's revision history
23514 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cxx_for_build.m4).
23515
23516 License
23517 *******
23518
23519 Copyright (C) 2008 Paolo Bonzini <bonzini@gnu.org>
23520 Copyright (C) 2012 Avionic Design GmbH
23521
23522 Based on the AX_PROG_CC_FOR_BUILD macro by Paolo Bonzini.
23523
23524 Copying and distribution of this file, with or without modification, are
23525 permitted in any medium without royalty provided the copyright notice
23526 and this notice are preserved. This file is offered as-is, without any
23527 warranty.
23528
23529 
23530 File: autoconf-archive.info, Node: ax_prog_cxx_mpi, Next: ax_prog_date, Prev: ax_prog_cxx_for_build, Up: The Macros
23531
23532 ax_prog_cxx_mpi
23533 ===============
23534
23535 Synopsis
23536 ********
23537
23538 AX_PROG_CXX_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
23539
23540 Description
23541 ***********
23542
23543 This macro tries to find out how to compile C++ programs that use MPI
23544 (Message Passing Interface), a standard API for parallel process
23545 communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
23546 be used instead of the standard macro AC_PROG_CXX and will replace the
23547 standard variable CXX with the found compiler.
23548
23549 MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
23550 user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
23551 try to find out how to use MPI, if it fails, the macro will call
23552 AC_PROG_CC to find a standard C compiler instead.
23553
23554 When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
23555 (or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
23556 ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
23557
23558 The following example demonstrates usage of the macro:
23559
23560 # If --with-mpi=auto is used, try to find MPI, but use standard C compiler if it is not found.
23561 # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
23562 # If --with-mpi=no is used, use a standard C compiler instead.
23563 AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
23564 [compile with MPI (parallelization) support. If none is found,
23565 MPI is not used. Default: auto])
23566 ],,[with_mpi=auto])
23567
23568 AX_PROG_CXX_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
23569 use_mpi=no
23570 if test x"$with_mpi" = xyes; then
23571 AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
23572 else
23573 AC_MSG_WARN([No MPI compiler found, won't use MPI.])
23574 fi
23575 ])
23576
23577 Source Code
23578 ***********
23579
23580 Download the latest version of 'ax_prog_cxx_mpi.m4'
23581 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cxx_mpi.m4)
23582 or browse the macro's revision history
23583 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cxx_mpi.m4).
23584
23585 License
23586 *******
23587
23588 Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
23589
23590 This program is free software: you can redistribute it and/or modify it
23591 under the terms of the GNU General Public License as published by the
23592 Free Software Foundation, either version 3 of the License, or (at your
23593 option) any later version.
23594
23595 This program is distributed in the hope that it will be useful, but
23596 WITHOUT ANY WARRANTY; without even the implied warranty of
23597 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
23598 Public License for more details.
23599
23600 You should have received a copy of the GNU General Public License along
23601 with this program. If not, see <https://www.gnu.org/licenses/>.
23602
23603 As a special exception, the respective Autoconf Macro's copyright owner
23604 gives unlimited permission to copy, distribute and modify the configure
23605 scripts that are the output of Autoconf when processing the Macro. You
23606 need not follow the terms of the GNU General Public License when using
23607 or distributing such scripts, even though portions of the text of the
23608 Macro appear in them. The GNU General Public License (GPL) does govern
23609 all other use of the material that constitutes the Autoconf Macro.
23610
23611 This special exception to the GPL applies to versions of the Autoconf
23612 Macro released by the Autoconf Archive. When you make and distribute a
23613 modified version of the Autoconf Macro, you may extend this special
23614 exception to the GPL to apply to your modified version as well.
23615
23616 
23617 File: autoconf-archive.info, Node: ax_prog_date, Next: ax_prog_dotnetcore_version, Prev: ax_prog_cxx_mpi, Up: The Macros
23618
23619 ax_prog_date
23620 ============
23621
23622 Synopsis
23623 ********
23624
23625 AX_PROG_DATE()
23626
23627 Description
23628 ***********
23629
23630 This macro tries to determine the type of the date (1) command and some
23631 of its non-standard capabilities.
23632
23633 The type is determined as follow:
23634
23635 * If the version string contains "GNU", then:
23636 - The variable ax_cv_prog_date_gnu is set to "yes".
23637 - The variable ax_cv_prog_date_type is set to "gnu".
23638
23639 * If date supports the "-v 1d" option, then:
23640 - The variable ax_cv_prog_date_bsd is set to "yes".
23641 - The variable ax_cv_prog_date_type is set to "bsd".
23642
23643 * If both previous checks fail, then:
23644 - The variable ax_cv_prog_date_type is set to "unknown".
23645
23646 The following capabilities of GNU date are checked:
23647
23648 * If date supports the --date arg option, then:
23649 - The variable ax_cv_prog_date_gnu_date is set to "yes".
23650
23651 * If date supports the --utc arg option, then:
23652 - The variable ax_cv_prog_date_gnu_utc is set to "yes".
23653
23654 The following capabilities of BSD date are checked:
23655
23656 * If date supports the -v 1d option, then:
23657 - The variable ax_cv_prog_date_bsd_adjust is set to "yes".
23658
23659 * If date supports the -r arg option, then:
23660 - The variable ax_cv_prog_date_bsd_date is set to "yes".
23661
23662 All the aforementioned variables are set to "no" before a check is
23663 performed.
23664
23665 Source Code
23666 ***********
23667
23668 Download the latest version of 'ax_prog_date.m4'
23669 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_date.m4)
23670 or browse the macro's revision history
23671 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_date.m4).
23672
23673 License
23674 *******
23675
23676 Copyright (C) 2017 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
23677
23678 This program is free software: you can redistribute it and/or modify it
23679 under the terms of the GNU General Public License as published by the
23680 Free Software Foundation, either version 3 of the License, or (at your
23681 option) any later version.
23682
23683 This program is distributed in the hope that it will be useful, but
23684 WITHOUT ANY WARRANTY; without even the implied warranty of
23685 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
23686 Public License for more details.
23687
23688 You should have received a copy of the GNU General Public License along
23689 with this program. If not, see <http://www.gnu.org/licenses/>.
23690
23691 As a special exception, the respective Autoconf Macro's copyright owner
23692 gives unlimited permission to copy, distribute and modify the configure
23693 scripts that are the output of Autoconf when processing the Macro. You
23694 need not follow the terms of the GNU General Public License when using
23695 or distributing such scripts, even though portions of the text of the
23696 Macro appear in them. The GNU General Public License (GPL) does govern
23697 all other use of the material that constitutes the Autoconf Macro.
23698
23699 This special exception to the GPL applies to versions of the Autoconf
23700 Macro released by the Autoconf Archive. When you make and distribute a
23701 modified version of the Autoconf Macro, you may extend this special
23702 exception to the GPL to apply to your modified version as well.
23703
23704 
23705 File: autoconf-archive.info, Node: ax_prog_dotnetcore_version, Next: ax_prog_doxygen, Prev: ax_prog_date, Up: The Macros
23706
23707 ax_prog_dotnetcore_version
23708 ==========================
23709
23710 Synopsis
23711 ********
23712
23713 AX_PROG_DOTNETCORE_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
23714
23715 Description
23716 ***********
23717
23718 Makes sure that .NET Core supports the version indicated. If true the
23719 shell commands in ACTION-IF-TRUE are executed. If not the shell
23720 commands in ACTION-IF-FALSE are run. The $dotnetcore_version variable
23721 will be filled with the detected version.
23722
23723 This macro uses the $DOTNETCORE variable to perform the check. If
23724 $DOTNETCORE is not set prior to calling this macro, the macro will fail.
23725
23726 Example:
23727
23728 AC_PATH_PROG([DOTNETCORE],[dotnet])
23729 AC_PROG_DOTNETCORE_VERSION([1.0.2],[ ... ],[ ... ])
23730
23731 Searches for .NET Core, then checks if at least version 1.0.2 is
23732 present.
23733
23734 Source Code
23735 ***********
23736
23737 Download the latest version of 'ax_prog_dotnetcore_version.m4'
23738 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_dotnetcore_version.m4)
23739 or browse the macro's revision history
23740 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_dotnetcore_version.m4).
23741
23742 License
23743 *******
23744
23745 Copyright (C) 2016 Jens Geyer <jensg@apache.org>
23746
23747 Copying and distribution of this file, with or without modification, are
23748 permitted in any medium without royalty provided the copyright notice
23749 and this notice are preserved. This file is offered as-is, without any
23750 warranty.
23751
23752 
23753 File: autoconf-archive.info, Node: ax_prog_doxygen, Next: ax_prog_emacs, Prev: ax_prog_dotnetcore_version, Up: The Macros
23754
23755 ax_prog_doxygen
23756 ===============
23757
23758 Synopsis
23759 ********
23760
23761 DX_INIT_DOXYGEN(PROJECT-NAME, [DOXYFILE-PATH], [OUTPUT-DIR], ...)
23762 DX_DOXYGEN_FEATURE(ON|OFF)
23763 DX_DOT_FEATURE(ON|OFF)
23764 DX_HTML_FEATURE(ON|OFF)
23765 DX_CHM_FEATURE(ON|OFF)
23766 DX_CHI_FEATURE(ON|OFF)
23767 DX_MAN_FEATURE(ON|OFF)
23768 DX_RTF_FEATURE(ON|OFF)
23769 DX_XML_FEATURE(ON|OFF)
23770 DX_PDF_FEATURE(ON|OFF)
23771 DX_PS_FEATURE(ON|OFF)
23772
23773 Description
23774 ***********
23775
23776 The DX_*_FEATURE macros control the default setting for the given
23777 Doxygen feature. Supported features are 'DOXYGEN' itself, 'DOT' for
23778 generating graphics, 'HTML' for plain HTML, 'CHM' for compressed HTML
23779 help (for MS users), 'CHI' for generating a separate .chi file by the
23780 .chm file, and 'MAN', 'RTF', 'XML', 'PDF' and 'PS' for the appropriate
23781 output formats. The environment variable DOXYGEN_PAPER_SIZE may be
23782 specified to override the default 'a4wide' paper size.
23783
23784 By default, HTML, PDF and PS documentation is generated as this seems to
23785 be the most popular and portable combination. MAN pages created by
23786 Doxygen are usually problematic, though by picking an appropriate subset
23787 and doing some massaging they might be better than nothing. CHM and RTF
23788 are specific for MS (note that you can't generate both HTML and CHM at
23789 the same time). The XML is rather useless unless you apply specialized
23790 post-processing to it.
23791
23792 The macros mainly control the default state of the feature. The use can
23793 override the default by specifying -enable or -disable. The macros
23794 ensure that contradictory flags are not given (e.g.,
23795 -enable-doxygen-html and -enable-doxygen-chm, -enable-doxygen-anything
23796 with -disable-doxygen, etc.) Finally, each feature will be
23797 automatically disabled (with a warning) if the required programs are
23798 missing.
23799
23800 Once all the feature defaults have been specified, call DX_INIT_DOXYGEN
23801 with the following parameters: a one-word name for the project for use
23802 as a filename base etc., an optional configuration file name (the
23803 default is '$(srcdir)/Doxyfile', the same as Doxygen's default), and an
23804 optional output directory name (the default is 'doxygen-doc'). To run
23805 doxygen multiple times for different configuration files and output
23806 directories provide more parameters: the second, forth, sixth, etc
23807 parameter are configuration file names and the third, fifth, seventh,
23808 etc parameter are output directories. No checking is done to catch
23809 duplicates.
23810
23811 Automake Support
23812
23813 The DX_RULES substitution can be used to add all needed rules to the
23814 Makefile. Note that this is a substitution without being a variable:
23815 only the @DX_RULES@ syntax will work.
23816
23817 The provided targets are:
23818
23819 doxygen-doc: Generate all doxygen documentation.
23820
23821 doxygen-run: Run doxygen, which will generate some of the
23822 documentation (HTML, CHM, CHI, MAN, RTF, XML)
23823 but will not do the post processing required
23824 for the rest of it (PS, PDF).
23825
23826 doxygen-ps: Generate doxygen PostScript documentation.
23827
23828 doxygen-pdf: Generate doxygen PDF documentation.
23829
23830 Note that by default these are not integrated into the automake targets.
23831 If doxygen is used to generate man pages, you can achieve this
23832 integration by setting man3_MANS to the list of man pages generated and
23833 then adding the dependency:
23834
23835 $(man3_MANS): doxygen-doc
23836
23837 This will cause make to run doxygen and generate all the documentation.
23838
23839 The following variable is intended for use in Makefile.am:
23840
23841 DX_CLEANFILES = everything to clean.
23842
23843 Then add this variable to MOSTLYCLEANFILES.
23844
23845 Source Code
23846 ***********
23847
23848 Download the latest version of 'ax_prog_doxygen.m4'
23849 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_doxygen.m4)
23850 or browse the macro's revision history
23851 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_doxygen.m4).
23852
23853 License
23854 *******
23855
23856 Copyright (C) 2009 Oren Ben-Kiki <oren@ben-kiki.org>
23857 Copyright (C) 2015 Olaf Mandel <olaf@mandel.name>
23858
23859 Copying and distribution of this file, with or without modification, are
23860 permitted in any medium without royalty provided the copyright notice
23861 and this notice are preserved. This file is offered as-is, without any
23862 warranty.
23863
23864 
23865 File: autoconf-archive.info, Node: ax_prog_emacs, Next: ax_prog_f77_mpi, Prev: ax_prog_doxygen, Up: The Macros
23866
23867 ax_prog_emacs
23868 =============
23869
23870 Synopsis
23871 ********
23872
23873 AX_PROG_EMACS
23874
23875 Description
23876 ***********
23877
23878 This macro allows the end user to specify a particular Emacs executable
23879 via a configure script command-line arg. For example:
23880
23881 ./configure EMACS=$HOME/build/GNU/emacs/src/emacs
23882
23883 It also arranges to mention env var EMACS in the './configure -help'
23884 output. See info node "(autoconf) Generic Programs" for details.
23885
23886 More precisely...
23887
23888 If env var EMACS is set, try to use its value directly, but avoid
23889 getting fooled by value 't' (set by older Emacsen for subprocesses). If
23890 no joy from the environment, search for "emacs" via AC_CHECK_PROG. If
23891 still no joy, display "Emacs not found; required!" and make configure
23892 exit failurefully. Otherwise, set shell var EMACS and AC_SUBST it, too.
23893
23894 Source Code
23895 ***********
23896
23897 Download the latest version of 'ax_prog_emacs.m4'
23898 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_emacs.m4)
23899 or browse the macro's revision history
23900 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_emacs.m4).
23901
23902 License
23903 *******
23904
23905 Copyright (C) 2016-2017 Thien-Thi Nguyen
23906
23907 This program is free software; you can redistribute it and/or modify it
23908 under the terms of the GNU General Public License as published by the
23909 Free Software Foundation; either version 3 of the License, or (at your
23910 option) any later version.
23911
23912 This program is distributed in the hope that it will be useful, but
23913 WITHOUT ANY WARRANTY; without even the implied warranty of
23914 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
23915 Public License for more details.
23916
23917 You should have received a copy of the GNU General Public License along
23918 with this program. If not, see <https://www.gnu.org/licenses/>.
23919
23920 As a special exception, the respective Autoconf Macro's copyright owner
23921 gives unlimited permission to copy, distribute and modify the configure
23922 scripts that are the output of Autoconf when processing the Macro. You
23923 need not follow the terms of the GNU General Public License when using
23924 or distributing such scripts, even though portions of the text of the
23925 Macro appear in them. The GNU General Public License (GPL) does govern
23926 all other use of the material that constitutes the Autoconf Macro.
23927
23928 This special exception to the GPL applies to versions of the Autoconf
23929 Macro released by the Autoconf Archive. When you make and distribute a
23930 modified version of the Autoconf Macro, you may extend this special
23931 exception to the GPL to apply to your modified version as well.
23932
23933 
23934 File: autoconf-archive.info, Node: ax_prog_f77_mpi, Next: ax_prog_fasm, Prev: ax_prog_emacs, Up: The Macros
23935
23936 ax_prog_f77_mpi
23937 ===============
23938
23939 Synopsis
23940 ********
23941
23942 AX_PROG_F77_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
23943
23944 Description
23945 ***********
23946
23947 This macro tries to find out how to compile Fortran77 programs that use
23948 MPI (Message Passing Interface), a standard API for parallel process
23949 communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
23950 be used instead of the standard macro AC_PROG_F77 and will replace the
23951 standard variable F77 with the found compiler.
23952
23953 MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
23954 user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
23955 try to find out how to use MPI, if it fails, the macro will call
23956 AC_PROG_CC to find a standard C compiler instead.
23957
23958 When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
23959 (or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
23960 ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
23961
23962 The following example demonstrates usage of the macro:
23963
23964 # If --with-mpi=auto is used, try to find MPI, but use standard F77 compiler if it is not found.
23965 # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
23966 # If --with-mpi=no is used, use a standard F77 compiler instead.
23967 AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
23968 [compile with MPI (parallelization) support. If none is found,
23969 MPI is not used. Default: auto])
23970 ],,[with_mpi=auto])
23971
23972 AX_PROG_F77_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
23973 use_mpi=no
23974 if test x"$with_mpi" = xyes; then
23975 AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
23976 else
23977 AC_MSG_WARN([No MPI compiler found, won't use MPI.])
23978 fi
23979 ])
23980
23981 Source Code
23982 ***********
23983
23984 Download the latest version of 'ax_prog_f77_mpi.m4'
23985 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_f77_mpi.m4)
23986 or browse the macro's revision history
23987 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_f77_mpi.m4).
23988
23989 License
23990 *******
23991
23992 Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
23993
23994 This program is free software: you can redistribute it and/or modify it
23995 under the terms of the GNU General Public License as published by the
23996 Free Software Foundation, either version 3 of the License, or (at your
23997 option) any later version.
23998
23999 This program is distributed in the hope that it will be useful, but
24000 WITHOUT ANY WARRANTY; without even the implied warranty of
24001 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
24002 Public License for more details.
24003
24004 You should have received a copy of the GNU General Public License along
24005 with this program. If not, see <https://www.gnu.org/licenses/>.
24006
24007 As a special exception, the respective Autoconf Macro's copyright owner
24008 gives unlimited permission to copy, distribute and modify the configure
24009 scripts that are the output of Autoconf when processing the Macro. You
24010 need not follow the terms of the GNU General Public License when using
24011 or distributing such scripts, even though portions of the text of the
24012 Macro appear in them. The GNU General Public License (GPL) does govern
24013 all other use of the material that constitutes the Autoconf Macro.
24014
24015 This special exception to the GPL applies to versions of the Autoconf
24016 Macro released by the Autoconf Archive. When you make and distribute a
24017 modified version of the Autoconf Macro, you may extend this special
24018 exception to the GPL to apply to your modified version as well.
24019
24020 
24021 File: autoconf-archive.info, Node: ax_prog_fasm, Next: ax_prog_fasm_opt, Prev: ax_prog_f77_mpi, Up: The Macros
24022
24023 ax_prog_fasm
24024 ============
24025
24026 Synopsis
24027 ********
24028
24029 AX_PROG_FASM([ACTION-IF-NOT-FOUND])
24030
24031 Description
24032 ***********
24033
24034 This macro searches for the FASM assembler and sets the variable "fasm"
24035 to the name of the application or to "no" if not found. If
24036 ACTION-IF-NOT-FOUND is not specified, configure will fail when the
24037 program is not found.
24038
24039 Example:
24040
24041 AX_PROG_FASM()
24042 AX_PROG_FASM([fasm_avail="no"])
24043
24044 Source Code
24045 ***********
24046
24047 Download the latest version of 'ax_prog_fasm.m4'
24048 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fasm.m4)
24049 or browse the macro's revision history
24050 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fasm.m4).
24051
24052 License
24053 *******
24054
24055 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
24056
24057 This program is free software: you can redistribute it and/or modify it
24058 under the terms of the GNU Lesser General Public License as published by
24059 the Free Software Foundation, either version 3 of the License, or (at
24060 your option) any later version.
24061
24062 This program is distributed in the hope that it will be useful, but
24063 WITHOUT ANY WARRANTY; without even the implied warranty of
24064 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
24065 General Public License for more details.
24066
24067 You should have received a copy of the GNU Lesser General Public License
24068 along with this program. If not, see <https://www.gnu.org/licenses/>.
24069
24070 As a special exception, the respective Autoconf Macro's copyright owner
24071 gives unlimited permission to copy, distribute and modify the configure
24072 scripts that are the output of Autoconf when processing the Macro. You
24073 need not follow the terms of the GNU General Public License when using
24074 or distributing such scripts, even though portions of the text of the
24075 Macro appear in them. The GNU General Public License (GPL) does govern
24076 all other use of the material that constitutes the Autoconf Macro.
24077
24078 This special exception to the GPL applies to versions of the Autoconf
24079 Macro released by the Autoconf Archive. When you make and distribute a
24080 modified version of the Autoconf Macro, you may extend this special
24081 exception to the GPL to apply to your modified version as well.
24082
24083 
24084 File: autoconf-archive.info, Node: ax_prog_fasm_opt, Next: ax_prog_fc_mpi, Prev: ax_prog_fasm, Up: The Macros
24085
24086 ax_prog_fasm_opt
24087 ================
24088
24089 Synopsis
24090 ********
24091
24092 AX_PROG_FASM_OPT(option, var_name)
24093
24094 Description
24095 ***********
24096
24097 This macro checks if the FASM assembler accepts the given option. If
24098 yes, the option is appended to the variable 'var_name', otherwise
24099 'var_name' is unchanged.
24100
24101 Example:
24102
24103 AX_PROG_FASM_OPT([-m 256], [FASM_OPTS])
24104
24105 Source Code
24106 ***********
24107
24108 Download the latest version of 'ax_prog_fasm_opt.m4'
24109 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fasm_opt.m4)
24110 or browse the macro's revision history
24111 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fasm_opt.m4).
24112
24113 License
24114 *******
24115
24116 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
24117
24118 This program is free software: you can redistribute it and/or modify it
24119 under the terms of the GNU Lesser General Public License as published by
24120 the Free Software Foundation, either version 3 of the License, or (at
24121 your option) any later version.
24122
24123 This program is distributed in the hope that it will be useful, but
24124 WITHOUT ANY WARRANTY; without even the implied warranty of
24125 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
24126 General Public License for more details.
24127
24128 You should have received a copy of the GNU Lesser General Public License
24129 along with this program. If not, see <https://www.gnu.org/licenses/>.
24130
24131 As a special exception, the respective Autoconf Macro's copyright owner
24132 gives unlimited permission to copy, distribute and modify the configure
24133 scripts that are the output of Autoconf when processing the Macro. You
24134 need not follow the terms of the GNU General Public License when using
24135 or distributing such scripts, even though portions of the text of the
24136 Macro appear in them. The GNU General Public License (GPL) does govern
24137 all other use of the material that constitutes the Autoconf Macro.
24138
24139 This special exception to the GPL applies to versions of the Autoconf
24140 Macro released by the Autoconf Archive. When you make and distribute a
24141 modified version of the Autoconf Macro, you may extend this special
24142 exception to the GPL to apply to your modified version as well.
24143
24144 
24145 File: autoconf-archive.info, Node: ax_prog_fc_mpi, Next: ax_prog_fig2dev, Prev: ax_prog_fasm_opt, Up: The Macros
24146
24147 ax_prog_fc_mpi
24148 ==============
24149
24150 Synopsis
24151 ********
24152
24153 AX_PROG_FC_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
24154
24155 Description
24156 ***********
24157
24158 This macro tries to find out how to compile Fortran77 programs that use
24159 MPI (Message Passing Interface), a standard API for parallel process
24160 communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
24161 be used instead of the standard macro AC_PROG_FC and will replace the
24162 standard variable FC with the found compiler.
24163
24164 MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
24165 user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
24166 try to find out how to use MPI, if it fails, the macro will call
24167 AC_PROG_CC to find a standard C compiler instead.
24168
24169 When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
24170 (or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
24171 ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
24172
24173 The following example demonstrates usage of the macro:
24174
24175 # If --with-mpi=auto is used, try to find MPI, but use standard FC compiler if it is not found.
24176 # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
24177 # If --with-mpi=no is used, use a standard FC compiler instead.
24178 AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
24179 [compile with MPI (parallelization) support. If none is found,
24180 MPI is not used. Default: auto])
24181 ],,[with_mpi=auto])
24182
24183 AX_PROG_FC_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
24184 use_mpi=no
24185 if test x"$with_mpi" = xyes; then
24186 AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
24187 else
24188 AC_MSG_WARN([No MPI compiler found, won't use MPI.])
24189 fi
24190 ])
24191
24192 Source Code
24193 ***********
24194
24195 Download the latest version of 'ax_prog_fc_mpi.m4'
24196 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fc_mpi.m4)
24197 or browse the macro's revision history
24198 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fc_mpi.m4).
24199
24200 License
24201 *******
24202
24203 Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
24204
24205 This program is free software: you can redistribute it and/or modify it
24206 under the terms of the GNU General Public License as published by the
24207 Free Software Foundation, either version 3 of the License, or (at your
24208 option) any later version.
24209
24210 This program is distributed in the hope that it will be useful, but
24211 WITHOUT ANY WARRANTY; without even the implied warranty of
24212 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
24213 Public License for more details.
24214
24215 You should have received a copy of the GNU General Public License along
24216 with this program. If not, see <https://www.gnu.org/licenses/>.
24217
24218 As a special exception, the respective Autoconf Macro's copyright owner
24219 gives unlimited permission to copy, distribute and modify the configure
24220 scripts that are the output of Autoconf when processing the Macro. You
24221 need not follow the terms of the GNU General Public License when using
24222 or distributing such scripts, even though portions of the text of the
24223 Macro appear in them. The GNU General Public License (GPL) does govern
24224 all other use of the material that constitutes the Autoconf Macro.
24225
24226 This special exception to the GPL applies to versions of the Autoconf
24227 Macro released by the Autoconf Archive. When you make and distribute a
24228 modified version of the Autoconf Macro, you may extend this special
24229 exception to the GPL to apply to your modified version as well.
24230
24231 
24232 File: autoconf-archive.info, Node: ax_prog_fig2dev, Next: ax_prog_flex, Prev: ax_prog_fc_mpi, Up: The Macros
24233
24234 ax_prog_fig2dev
24235 ===============
24236
24237 Synopsis
24238 ********
24239
24240 AX_PROG_FIG2DEV
24241
24242 Description
24243 ***********
24244
24245 If 'fig2dev' is found, sets the output variable 'FIG2DEV' to 'fig2dev',
24246 and 'FIG2DEV_ESPLANG' to the graphics language which can be used to
24247 produce Encapsulated PostScript. Older versions of 'fig2dev' produce
24248 EPS with '-Lps' and new versions with '-Leps', this macro finds out the
24249 correct language option automatically.
24250
24251 Source Code
24252 ***********
24253
24254 Download the latest version of 'ax_prog_fig2dev.m4'
24255 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fig2dev.m4)
24256 or browse the macro's revision history
24257 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fig2dev.m4).
24258
24259 License
24260 *******
24261
24262 Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
24263
24264 Copying and distribution of this file, with or without modification, are
24265 permitted in any medium without royalty provided the copyright notice
24266 and this notice are preserved. This file is offered as-is, without any
24267 warranty.
24268
24269 
24270 File: autoconf-archive.info, Node: ax_prog_flex, Next: ax_prog_flex_version, Prev: ax_prog_fig2dev, Up: The Macros
24271
24272 ax_prog_flex
24273 ============
24274
24275 Synopsis
24276 ********
24277
24278 AX_PROG_FLEX(ACTION-IF-TRUE,ACTION-IF-FALSE)
24279
24280 Description
24281 ***********
24282
24283 Check whether flex is the scanner generator. Run ACTION-IF-TRUE if
24284 successful, ACTION-IF-FALSE otherwise
24285
24286 Source Code
24287 ***********
24288
24289 Download the latest version of 'ax_prog_flex.m4'
24290 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_flex.m4)
24291 or browse the macro's revision history
24292 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_flex.m4).
24293
24294 License
24295 *******
24296
24297 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
24298
24299 Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
24300
24301 This program is free software; you can redistribute it and/or modify it
24302 under the terms of the GNU General Public License as published by the
24303 Free Software Foundation; either version 2 of the License, or (at your
24304 option) any later version.
24305
24306 This program is distributed in the hope that it will be useful, but
24307 WITHOUT ANY WARRANTY; without even the implied warranty of
24308 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
24309 Public License for more details.
24310
24311 You should have received a copy of the GNU General Public License along
24312 with this program. If not, see <https://www.gnu.org/licenses/>.
24313
24314 As a special exception, the respective Autoconf Macro's copyright owner
24315 gives unlimited permission to copy, distribute and modify the configure
24316 scripts that are the output of Autoconf when processing the Macro. You
24317 need not follow the terms of the GNU General Public License when using
24318 or distributing such scripts, even though portions of the text of the
24319 Macro appear in them. The GNU General Public License (GPL) does govern
24320 all other use of the material that constitutes the Autoconf Macro.
24321
24322 This special exception to the GPL applies to versions of the Autoconf
24323 Macro released by the Autoconf Archive. When you make and distribute a
24324 modified version of the Autoconf Macro, you may extend this special
24325 exception to the GPL to apply to your modified version as well.
24326
24327 
24328 File: autoconf-archive.info, Node: ax_prog_flex_version, Next: ax_prog_gjs, Prev: ax_prog_flex, Up: The Macros
24329
24330 ax_prog_flex_version
24331 ====================
24332
24333 Synopsis
24334 ********
24335
24336 AX_PROG_FLEX_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
24337
24338 Description
24339 ***********
24340
24341 Makes sure that flex version is greater or equal to the version
24342 indicated. If true the shell commands in ACTION-IF-TRUE are executed.
24343 If not the shell commands in commands in ACTION-IF-TRUE are executed.
24344 If not the shell commands in ACTION-IF-FALSE are run. Note if $FLEX is
24345 not set (for example by running AC_CHECK_PROG or AC_PATH_PROG) the macro
24346 will fail.
24347
24348 Example:
24349
24350 AC_PATH_PROG([FLEX],[flex])
24351 AX_PROG_FLEX_VERSION([2.5.39],[ ... ],[ ... ])
24352
24353 This will check to make sure that the flex you have is at least version
24354 2.5.39 or greater.
24355
24356 NOTE: This macro uses the $FLEX variable to perform the check.
24357
24358 Source Code
24359 ***********
24360
24361 Download the latest version of 'ax_prog_flex_version.m4'
24362 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_flex_version.m4)
24363 or browse the macro's revision history
24364 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_flex_version.m4).
24365
24366 License
24367 *******
24368
24369 Copyright (C) 2015 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
24370
24371 Copying and distribution of this file, with or without modification, are
24372 permitted in any medium without royalty provided the copyright notice
24373 and this notice are preserved. This file is offered as-is, without any
24374 warranty.
24375
24376 
24377 File: autoconf-archive.info, Node: ax_prog_gjs, Next: ax_prog_guile_version, Prev: ax_prog_flex_version, Up: The Macros
24378
24379 ax_prog_gjs
24380 ===========
24381
24382 Synopsis
24383 ********
24384
24385 AX_PROG_GJS
24386
24387 Description
24388 ***********
24389
24390 AX_PROG_GJS checks for the presence of the JavaScript interpreter GJS
24391 (https://wiki.gnome.org/Projects/Gjs) in pkg-config or in the path. If
24392 it is not found, an error is issued and configure is halted. If it is
24393 found, the path of the interpreter is placed into a variable named GJS,
24394 which is declared precious.
24395
24396 Source Code
24397 ***********
24398
24399 Download the latest version of 'ax_prog_gjs.m4'
24400 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_gjs.m4)
24401 or browse the macro's revision history
24402 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_gjs.m4).
24403
24404 License
24405 *******
24406
24407 Copyright (C) 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com>
24408
24409 Copying and distribution of this file, with or without modification, are
24410 permitted in any medium without royalty provided the copyright notice
24411 and this notice are preserved. This file is offered as-is, without any
24412 warranty.
24413
24414 
24415 File: autoconf-archive.info, Node: ax_prog_guile_version, Next: ax_prog_haxe_version, Prev: ax_prog_gjs, Up: The Macros
24416
24417 ax_prog_guile_version
24418 =====================
24419
24420 Synopsis
24421 ********
24422
24423 AX_PROG_GUILE_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
24424
24425 Description
24426 ***********
24427
24428 Makes sure that guile supports the version indicated. If true the shell
24429 commands in ACTION-IF-TRUE are executed. If not the shell commands in
24430 ACTION-IF-FALSE are run. Note if $GUILE is not set (for example by
24431 running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
24432
24433 Example:
24434
24435 AC_PATH_PROG([GUILE],[guile])
24436 AC_PROG_GUILE_VERSION([1.6.0],[ ... ],[ ... ])
24437
24438 This will check to make sure that the guile you have supports at least
24439 version 1.6.0.
24440
24441 NOTE: This macro uses the $GUILE variable to perform the check.
24442 AX_WITH_GUILE can be used to set that variable prior to running this
24443 macro. The $GUILE_VERSION variable will be valorized with the detected
24444 version.
24445
24446 Source Code
24447 ***********
24448
24449 Download the latest version of 'ax_prog_guile_version.m4'
24450 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_guile_version.m4)
24451 or browse the macro's revision history
24452 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_guile_version.m4).
24453
24454 License
24455 *******
24456
24457 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
24458
24459 Copying and distribution of this file, with or without modification, are
24460 permitted in any medium without royalty provided the copyright notice
24461 and this notice are preserved. This file is offered as-is, without any
24462 warranty.
24463
24464 
24465 File: autoconf-archive.info, Node: ax_prog_haxe_version, Next: ax_prog_help2man, Prev: ax_prog_guile_version, Up: The Macros
24466
24467 ax_prog_haxe_version
24468 ====================
24469
24470 Synopsis
24471 ********
24472
24473 AX_PROG_HAXE_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
24474
24475 Description
24476 ***********
24477
24478 Makes sure that haxe supports the version indicated. If true the shell
24479 commands in ACTION-IF-TRUE are executed. If not the shell commands in
24480 ACTION-IF-FALSE are run. The $HAXE_VERSION variable will be filled with
24481 the detected version.
24482
24483 This macro uses the $HAXE variable to perform the check. If $HAXE is
24484 not set prior to calling this macro, the macro will fail.
24485
24486 Example:
24487
24488 AC_PATH_PROG([HAXE],[haxe])
24489 AC_PROG_HAXE_VERSION([3.1.3],[ ... ],[ ... ])
24490
24491 Searches for Haxe, then checks if at least version 3.1.3 is present.
24492
24493 Source Code
24494 ***********
24495
24496 Download the latest version of 'ax_prog_haxe_version.m4'
24497 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_haxe_version.m4)
24498 or browse the macro's revision history
24499 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_haxe_version.m4).
24500
24501 License
24502 *******
24503
24504 Copyright (C) 2015 Jens Geyer <jensg@apache.org>
24505
24506 Copying and distribution of this file, with or without modification, are
24507 permitted in any medium without royalty provided the copyright notice
24508 and this notice are preserved. This file is offered as-is, without any
24509 warranty.
24510
24511 
24512 File: autoconf-archive.info, Node: ax_prog_help2man, Next: ax_prog_hla, Prev: ax_prog_haxe_version, Up: The Macros
24513
24514 ax_prog_help2man
24515 ================
24516
24517 Synopsis
24518 ********
24519
24520 AX_PROG_HELP2MAN([program list], [man directory prefix], [binary prefix])
24521
24522 Description
24523 ***********
24524
24525 AX_PROG_HELP2MAN is a macro designed to facilitate usage of help2man.
24526 It may take three optional arguments:
24527
24528 1. <program list>: comma-separated m4 list of input programs
24529
24530 Specifies the list of input programs which shall be used to produce man
24531 pages using help2man. If no value is specified, the macro assumes that
24532 the sole target will be named $(PACKAGE_NAME). Thus, the two following
24533 lines are equivalent:
24534
24535 AX_PROG_HELP2MAN
24536 AX_PROG_HELP2MAN([\$(PACKAGE_NAME)])
24537
24538 2. <man directory prefix>: directory prefix of the man pages directory
24539
24540 Sets AX_HELP2MAN_PREFIX_MANS to <man directory prefix>. Defaults to
24541 'doc/man/man1' if no value is provided. Note that
24542 AX_HELP2MAN_PREFIX_MANS will always be a subdirectory of the build
24543 directory.
24544
24545 3. <binary prefix>:
24546
24547 Sets AX_HELP2MAN_PREFIX_BIN to <binary prefix>. Defaults to
24548 '$(top_builddir)' if no value is provided. The two following lines are
24549 equivalent:
24550
24551 AX_PROG_HELP2MAN([subdir/program1, subdir/program2])
24552 AX_PROG_HELP2MAN([program1, program2], [], [\$(top_builddir)/subdir])
24553
24554 The macro:
24555
24556 - checks that help2man is available on the system.
24557
24558 - provides the configure option -disable-help2man.
24559
24560 - sets the output variable ax_help2man_MANS to the list of man pages
24561 that shall be generated.
24562
24563 - sets the automake conditional HAVE_HELP2MAN
24564
24565 - sets the substitution variable AX_HELP2MAN_RULES to the required make
24566 rules, targets and recipes.
24567
24568 Further detail on the macro can be found after the minimal working
24569 example. Here is a minimal working example:
24570
24571 # configure.ac:
24572 AX_PROG_HELP2MAN
24573
24574 # Makefile.am:
24575 if HAVE_HELP2MAN
24576 man1_MANS = $(ax_help2man_MANS)
24577 @AX_HELP2MAN_RULES@
24578 endif
24579
24580 This minimal working example shall work under the following assumptions:
24581
24582 1. the aforementioned binary has the same name as the project
24583
24584 2. the project produces a single binary at the root of the build
24585 directory
24586
24587 3. the man page shall be generated into the doc/man/man1 directory
24588
24589 Note that adding ax_help2man_MANS to man1_MANS is not needed if the man
24590 page generation is not mandatory.
24591
24592 The AX_HELP2MAN_RULES substitution variable shall contain:
24593
24594 - a recipe to create, if necessary, the destination directory.
24595
24596 - a generic rule to produce the manpages.
24597
24598 This rule targets the contents of the variable ax_help2man_MANS and its
24599 recipe shall be akin to the following:
24600
24601 $(HELP2MAN) -l -N --output="$@" --name="$(shell basename $<)" "$(shell dirname $<)/$(shell basename $<)"
24602
24603 Errors from this rule are ignored.
24604
24605 - rules for each input program and target man page.
24606
24607 For each input program, a rule akin to the following shall be available:
24608
24609 $(AX_HELP2MAN_PREFIX_MANS)/program.1: $(AX_HELP2MAN_PREFIX_BIN)/path/to/program
24610
24611 The macro assumes that all man pages shall be generated into the same
24612 directory (AX_HELP2MAN_PREFIX_MANS) and that all input programs can be
24613 found in the same directory (AX_HELP2MAN_PREFIX_BIN). If a subset of the
24614 inputs or outputs have different paths (for instance one of the inputs
24615 is a script available in $(top_srcdir) whereas the other inputs are
24616 programs compiled at build time), it can be customized in the
24617 Makefile.am: the target man page must be added to ax_help2man_MANS, so
24618 that it becomes a target of the generic rule for man pages and a rule
24619 must be added to specify its prerequisite:
24620
24621 ax_help2man_MANS += path/to/output/man/page.1
24622 path/to/output/man/page.1: path/to/input/program.1
24623
24624 Here is a full example for a project where binaries 'program1' and
24625 'program2' are compiled at build time whereas 'script' is available in
24626 the source tree:
24627
24628 # configure.ac:
24629 AX_PROG_HELP2MAN([program1, program2])
24630
24631 # Makefile.am:
24632 if HAVE_HELP2MAN
24633 man1_MANS = $(ax_help2man_MANS)
24634 @AX_HELP2MAN_RULES@
24635 ax_help2man_MANS += $(AX_HELP2MAN_PREFIX_MANS)/script.1
24636 $(AX_HELP2MAN_PREFIX_MANS)/script.1: $(top_srcdir)/script
24637 endif
24638
24639 Note that this macro should not be called more than once.
24640
24641 Source Code
24642 ***********
24643
24644 Download the latest version of 'ax_prog_help2man.m4'
24645 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_help2man.m4)
24646 or browse the macro's revision history
24647 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_help2man.m4).
24648
24649 License
24650 *******
24651
24652 Copyright (C) 2017 Harenome Ranaivoarivony-Razanajato <ranaivoarivony-razanajato@hareno.me>
24653
24654 This program is free software; you can redistribute it and/or modify it
24655 under the terms of the GNU General Public License as published by the
24656 Free Software Foundation; either version 3 of the License, or (at your
24657 option) any later version.
24658
24659 This program is distributed in the hope that it will be useful, but
24660 WITHOUT ANY WARRANTY; without even the implied warranty of
24661 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
24662 Public License for more details.
24663
24664 Under Section 7 of GPL version 3, you are granted additional permissions
24665 described in the Autoconf Configure Script Exception, version 3.0, as
24666 published by the Free Software Foundation.
24667
24668 You should have received a copy of the GNU General Public License along
24669 with this program. If not, see <https://www.gnu.org/licenses/>.
24670
24671 
24672 File: autoconf-archive.info, Node: ax_prog_hla, Next: ax_prog_hla_opt, Prev: ax_prog_help2man, Up: The Macros
24673
24674 ax_prog_hla
24675 ===========
24676
24677 Synopsis
24678 ********
24679
24680 AX_PROG_HLA([ACTION-IF-NOT-FOUND])
24681
24682 Description
24683 ***********
24684
24685 This macro searches for the HLA assembler and sets the variable "hla" to
24686 the name of the application or to "no" if not found. If
24687 ACTION-IF-NOT-FOUND is not specified, configure will fail when the
24688 program is not found.
24689
24690 Example:
24691
24692 AX_PROG_HLA()
24693 AX_PROG_HLA([hla_avail="no"])
24694
24695 Source Code
24696 ***********
24697
24698 Download the latest version of 'ax_prog_hla.m4'
24699 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_hla.m4)
24700 or browse the macro's revision history
24701 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_hla.m4).
24702
24703 License
24704 *******
24705
24706 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
24707
24708 This program is free software: you can redistribute it and/or modify it
24709 under the terms of the GNU Lesser General Public License as published by
24710 the Free Software Foundation, either version 3 of the License, or (at
24711 your option) any later version.
24712
24713 This program is distributed in the hope that it will be useful, but
24714 WITHOUT ANY WARRANTY; without even the implied warranty of
24715 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
24716 General Public License for more details.
24717
24718 You should have received a copy of the GNU Lesser General Public License
24719 along with this program. If not, see <https://www.gnu.org/licenses/>.
24720
24721 As a special exception, the respective Autoconf Macro's copyright owner
24722 gives unlimited permission to copy, distribute and modify the configure
24723 scripts that are the output of Autoconf when processing the Macro. You
24724 need not follow the terms of the GNU General Public License when using
24725 or distributing such scripts, even though portions of the text of the
24726 Macro appear in them. The GNU General Public License (GPL) does govern
24727 all other use of the material that constitutes the Autoconf Macro.
24728
24729 This special exception to the GPL applies to versions of the Autoconf
24730 Macro released by the Autoconf Archive. When you make and distribute a
24731 modified version of the Autoconf Macro, you may extend this special
24732 exception to the GPL to apply to your modified version as well.
24733
24734 
24735 File: autoconf-archive.info, Node: ax_prog_hla_opt, Next: ax_prog_httpd, Prev: ax_prog_hla, Up: The Macros
24736
24737 ax_prog_hla_opt
24738 ===============
24739
24740 Synopsis
24741 ********
24742
24743 AX_PROG_HLA_OPT(option, var_name)
24744
24745 Description
24746 ***********
24747
24748 This macro checks if the HLA assembler accepts the given option. If
24749 yes, the option is appended to the variable 'var_name', otherwise
24750 'var_name' is unchanged.
24751
24752 Example:
24753
24754 AX_PROG_HLA_OPT([-v], [HLA_OPTS])
24755
24756 Source Code
24757 ***********
24758
24759 Download the latest version of 'ax_prog_hla_opt.m4'
24760 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_hla_opt.m4)
24761 or browse the macro's revision history
24762 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_hla_opt.m4).
24763
24764 License
24765 *******
24766
24767 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
24768
24769 This program is free software: you can redistribute it and/or modify it
24770 under the terms of the GNU Lesser General Public License as published by
24771 the Free Software Foundation, either version 3 of the License, or (at
24772 your option) any later version.
24773
24774 This program is distributed in the hope that it will be useful, but
24775 WITHOUT ANY WARRANTY; without even the implied warranty of
24776 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
24777 General Public License for more details.
24778
24779 You should have received a copy of the GNU Lesser General Public License
24780 along with this program. If not, see <https://www.gnu.org/licenses/>.
24781
24782 As a special exception, the respective Autoconf Macro's copyright owner
24783 gives unlimited permission to copy, distribute and modify the configure
24784 scripts that are the output of Autoconf when processing the Macro. You
24785 need not follow the terms of the GNU General Public License when using
24786 or distributing such scripts, even though portions of the text of the
24787 Macro appear in them. The GNU General Public License (GPL) does govern
24788 all other use of the material that constitutes the Autoconf Macro.
24789
24790 This special exception to the GPL applies to versions of the Autoconf
24791 Macro released by the Autoconf Archive. When you make and distribute a
24792 modified version of the Autoconf Macro, you may extend this special
24793 exception to the GPL to apply to your modified version as well.
24794
24795 
24796 File: autoconf-archive.info, Node: ax_prog_httpd, Next: ax_prog_jar, Prev: ax_prog_hla_opt, Up: The Macros
24797
24798 ax_prog_httpd
24799 =============
24800
24801 Synopsis
24802 ********
24803
24804 AX_PROG_HTTPD
24805
24806 Description
24807 ***********
24808
24809 Check for Apache's 'httpd', let script continue if exists & works, pops
24810 up error message if not.
24811
24812 Testing of functionality is by checking its compile settings
24813
24814 Besides checking existence, this macro also set these environment
24815 variables upon completion:
24816
24817 HTTPD = which httpd
24818 HTTPD_ROOT = Apache's root directory, specified when compiled / run with -d option
24819 HTTPD_SERVER_ROOT = Directory for Apache's essential files, e.g. access logs / error logs / modules / scripts.
24820 HTTPD_SERVER_CONFIG_FILE = Full-path of the 'httpd.conf' file
24821 HTTPD_USER = Which user that httpd runs as
24822 HTTPD_GROUP = Which group that httpd runs as
24823 HTTPD_DOC_HOME = Document directory, taken as the first DocumentRoot path found in httpd.conf
24824 HTTPD_SCRIPT_HOME = CGI script directory, taken as the first ScriptAlias path found in httpd.conf
24825
24826 Source Code
24827 ***********
24828
24829 Download the latest version of 'ax_prog_httpd.m4'
24830 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_httpd.m4)
24831 or browse the macro's revision history
24832 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_httpd.m4).
24833
24834 License
24835 *******
24836
24837 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
24838
24839 This program is free software; you can redistribute it and/or modify it
24840 under the terms of the GNU General Public License as published by the
24841 Free Software Foundation; either version 2 of the License, or (at your
24842 option) any later version.
24843
24844 This program is distributed in the hope that it will be useful, but
24845 WITHOUT ANY WARRANTY; without even the implied warranty of
24846 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
24847 Public License for more details.
24848
24849 You should have received a copy of the GNU General Public License along
24850 with this program. If not, see <https://www.gnu.org/licenses/>.
24851
24852 As a special exception, the respective Autoconf Macro's copyright owner
24853 gives unlimited permission to copy, distribute and modify the configure
24854 scripts that are the output of Autoconf when processing the Macro. You
24855 need not follow the terms of the GNU General Public License when using
24856 or distributing such scripts, even though portions of the text of the
24857 Macro appear in them. The GNU General Public License (GPL) does govern
24858 all other use of the material that constitutes the Autoconf Macro.
24859
24860 This special exception to the GPL applies to versions of the Autoconf
24861 Macro released by the Autoconf Archive. When you make and distribute a
24862 modified version of the Autoconf Macro, you may extend this special
24863 exception to the GPL to apply to your modified version as well.
24864
24865 
24866 File: autoconf-archive.info, Node: ax_prog_jar, Next: ax_prog_java, Prev: ax_prog_httpd, Up: The Macros
24867
24868 ax_prog_jar
24869 ===========
24870
24871 Synopsis
24872 ********
24873
24874 AX_PROG_JAR
24875
24876 Description
24877 ***********
24878
24879 AX_PROG_JAR tests for an existing jar program. It uses the environment
24880 variable JAR then tests in sequence various common jar programs.
24881
24882 If you want to force a specific compiler:
24883
24884 - at the configure.in level, set JAR=yourcompiler before calling
24885 AX_PROG_JAR
24886
24887 - at the configure level, setenv JAR
24888
24889 You can use the JAR variable in your Makefile.in, with @JAR@.
24890
24891 Note: This macro depends on the autoconf M4 macros for Java programs.
24892 It is VERY IMPORTANT that you download that whole set, some macros
24893 depend on other. Unfortunately, the autoconf archive does not support
24894 the concept of set of macros, so I had to break it for submission.
24895
24896 The general documentation of those macros, as well as the sample
24897 configure.in, is included in the AX_PROG_JAVA macro.
24898
24899 Source Code
24900 ***********
24901
24902 Download the latest version of 'ax_prog_jar.m4'
24903 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_jar.m4)
24904 or browse the macro's revision history
24905 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_jar.m4).
24906
24907 License
24908 *******
24909
24910 Copyright (C) 2008 Egon Willighagen <e.willighagen@science.ru.nl>
24911
24912 Copying and distribution of this file, with or without modification, are
24913 permitted in any medium without royalty provided the copyright notice
24914 and this notice are preserved. This file is offered as-is, without any
24915 warranty.
24916
24917 
24918 File: autoconf-archive.info, Node: ax_prog_java, Next: ax_prog_java_cc, Prev: ax_prog_jar, Up: The Macros
24919
24920 ax_prog_java
24921 ============
24922
24923 Synopsis
24924 ********
24925
24926 AX_PROG_JAVA
24927
24928 Description
24929 ***********
24930
24931 Here is a summary of the main macros:
24932
24933 AX_PROG_JAVAC: finds a Java compiler.
24934
24935 AX_PROG_JAVA: finds a Java virtual machine.
24936
24937 AX_CHECK_CLASS: finds if we have the given class (beware of CLASSPATH!).
24938
24939 AX_CHECK_RQRD_CLASS: finds if we have the given class and stops
24940 otherwise.
24941
24942 AX_TRY_COMPILE_JAVA: attempt to compile user given source.
24943
24944 AX_TRY_RUN_JAVA: attempt to compile and run user given source.
24945
24946 AX_JAVA_OPTIONS: adds Java configure options.
24947
24948 AX_PROG_JAVA tests an existing Java virtual machine. It uses the
24949 environment variable JAVA then tests in sequence various common Java
24950 virtual machines. For political reasons, it starts with the free ones.
24951 You *must* call [AX_PROG_JAVAC] before.
24952
24953 If you want to force a specific VM:
24954
24955 - at the configure.in level, set JAVA=yourvm before calling AX_PROG_JAVA
24956
24957 (but after AC_INIT)
24958
24959 - at the configure level, setenv JAVA
24960
24961 You can use the JAVA variable in your Makefile.in, with @JAVA@.
24962
24963 *Warning*: its success or failure can depend on a proper setting of the
24964 CLASSPATH env. variable.
24965
24966 TODO: allow to exclude virtual machines (rationale: most Java programs
24967 cannot run with some VM like kaffe).
24968
24969 Note: This is part of the set of autoconf M4 macros for Java programs.
24970 It is VERY IMPORTANT that you download the whole set, some macros depend
24971 on other. Unfortunately, the autoconf archive does not support the
24972 concept of set of macros, so I had to break it for submission.
24973
24974 A Web page, with a link to the latest CVS snapshot is at
24975 <http://www.internatif.org/bortzmeyer/autoconf-Java/>.
24976
24977 This is a sample configure.in Process this file with autoconf to produce
24978 a configure script.
24979
24980 AC_INIT(UnTag.java)
24981
24982 dnl Checks for programs.
24983 AC_CHECK_CLASSPATH
24984 AX_PROG_JAVAC
24985 AX_PROG_JAVA
24986
24987 dnl Checks for classes
24988 AX_CHECK_RQRD_CLASS(org.xml.sax.Parser)
24989 AX_CHECK_RQRD_CLASS(com.jclark.xml.sax.Driver)
24990
24991 AC_OUTPUT(Makefile)
24992
24993 Source Code
24994 ***********
24995
24996 Download the latest version of 'ax_prog_java.m4'
24997 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_java.m4)
24998 or browse the macro's revision history
24999 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_java.m4).
25000
25001 License
25002 *******
25003
25004 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
25005
25006 This program is free software; you can redistribute it and/or modify it
25007 under the terms of the GNU General Public License as published by the
25008 Free Software Foundation; either version 2 of the License, or (at your
25009 option) any later version.
25010
25011 This program is distributed in the hope that it will be useful, but
25012 WITHOUT ANY WARRANTY; without even the implied warranty of
25013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25014 Public License for more details.
25015
25016 You should have received a copy of the GNU General Public License along
25017 with this program. If not, see <https://www.gnu.org/licenses/>.
25018
25019 As a special exception, the respective Autoconf Macro's copyright owner
25020 gives unlimited permission to copy, distribute and modify the configure
25021 scripts that are the output of Autoconf when processing the Macro. You
25022 need not follow the terms of the GNU General Public License when using
25023 or distributing such scripts, even though portions of the text of the
25024 Macro appear in them. The GNU General Public License (GPL) does govern
25025 all other use of the material that constitutes the Autoconf Macro.
25026
25027 This special exception to the GPL applies to versions of the Autoconf
25028 Macro released by the Autoconf Archive. When you make and distribute a
25029 modified version of the Autoconf Macro, you may extend this special
25030 exception to the GPL to apply to your modified version as well.
25031
25032 
25033 File: autoconf-archive.info, Node: ax_prog_java_cc, Next: ax_prog_java_works, Prev: ax_prog_java, Up: The Macros
25034
25035 ax_prog_java_cc
25036 ===============
25037
25038 Synopsis
25039 ********
25040
25041 AX_PROG_JAVA_CC
25042
25043 Description
25044 ***********
25045
25046 Finds the appropriate java compiler on your path. By preference the
25047 java compiler is gcj, then jikes then javac.
25048
25049 The macro can take one argument specifying a space separated list of
25050 java compiler names.
25051
25052 For example:
25053
25054 AX_PROG_JAVA_CC(javac, gcj)
25055
25056 The macro also sets the compiler options variable: JAVA_CC_OPTS to
25057 something sensible:
25058
25059 - for GCJ it sets it to: @GCJ_OPTS@
25060 (if GCJ_OPTS is not yet defined then it is set to "-C")
25061
25062 - no other compiler has applicable options yet
25063
25064 Here's an example configure.in:
25065
25066 AC_INIT(Makefile.in)
25067 AX_PROG_JAVA_CC()
25068 AC_OUTPUT(Makefile)
25069 dnl End.
25070
25071 And here's the start of the Makefile.in:
25072
25073 PROJECT_ROOT := @srcdir@
25074 # Tool definitions.
25075 JAVAC := @JAVA_CC@
25076 JAVAC_OPTS := @JAVA_CC_OPTS@
25077 JAR_TOOL := @jar_tool@
25078
25079 Source Code
25080 ***********
25081
25082 Download the latest version of 'ax_prog_java_cc.m4'
25083 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_java_cc.m4)
25084 or browse the macro's revision history
25085 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_java_cc.m4).
25086
25087 License
25088 *******
25089
25090 Copyright (C) 2008 Nic Ferrier <nferrier@tapsellferrier.co.uk>
25091
25092 This program is free software; you can redistribute it and/or modify it
25093 under the terms of the GNU General Public License as published by the
25094 Free Software Foundation; either version 2 of the License, or (at your
25095 option) any later version.
25096
25097 This program is distributed in the hope that it will be useful, but
25098 WITHOUT ANY WARRANTY; without even the implied warranty of
25099 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25100 Public License for more details.
25101
25102 You should have received a copy of the GNU General Public License along
25103 with this program. If not, see <https://www.gnu.org/licenses/>.
25104
25105 As a special exception, the respective Autoconf Macro's copyright owner
25106 gives unlimited permission to copy, distribute and modify the configure
25107 scripts that are the output of Autoconf when processing the Macro. You
25108 need not follow the terms of the GNU General Public License when using
25109 or distributing such scripts, even though portions of the text of the
25110 Macro appear in them. The GNU General Public License (GPL) does govern
25111 all other use of the material that constitutes the Autoconf Macro.
25112
25113 This special exception to the GPL applies to versions of the Autoconf
25114 Macro released by the Autoconf Archive. When you make and distribute a
25115 modified version of the Autoconf Macro, you may extend this special
25116 exception to the GPL to apply to your modified version as well.
25117
25118 
25119 File: autoconf-archive.info, Node: ax_prog_java_works, Next: ax_prog_javac, Prev: ax_prog_java_cc, Up: The Macros
25120
25121 ax_prog_java_works
25122 ==================
25123
25124 Synopsis
25125 ********
25126
25127 AX_PROG_JAVA_WORKS
25128
25129 Description
25130 ***********
25131
25132 Internal use ONLY.
25133
25134 Note: This is part of the set of autoconf M4 macros for Java programs.
25135 It is VERY IMPORTANT that you download the whole set, some macros depend
25136 on other. Unfortunately, the autoconf archive does not support the
25137 concept of set of macros, so I had to break it for submission. The
25138 general documentation, as well as the sample configure.in, is included
25139 in the AX_PROG_JAVA macro.
25140
25141 Source Code
25142 ***********
25143
25144 Download the latest version of 'ax_prog_java_works.m4'
25145 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_java_works.m4)
25146 or browse the macro's revision history
25147 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_java_works.m4).
25148
25149 License
25150 *******
25151
25152 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
25153
25154 This program is free software; you can redistribute it and/or modify it
25155 under the terms of the GNU General Public License as published by the
25156 Free Software Foundation; either version 2 of the License, or (at your
25157 option) any later version.
25158
25159 This program is distributed in the hope that it will be useful, but
25160 WITHOUT ANY WARRANTY; without even the implied warranty of
25161 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25162 Public License for more details.
25163
25164 You should have received a copy of the GNU General Public License along
25165 with this program. If not, see <https://www.gnu.org/licenses/>.
25166
25167 As a special exception, the respective Autoconf Macro's copyright owner
25168 gives unlimited permission to copy, distribute and modify the configure
25169 scripts that are the output of Autoconf when processing the Macro. You
25170 need not follow the terms of the GNU General Public License when using
25171 or distributing such scripts, even though portions of the text of the
25172 Macro appear in them. The GNU General Public License (GPL) does govern
25173 all other use of the material that constitutes the Autoconf Macro.
25174
25175 This special exception to the GPL applies to versions of the Autoconf
25176 Macro released by the Autoconf Archive. When you make and distribute a
25177 modified version of the Autoconf Macro, you may extend this special
25178 exception to the GPL to apply to your modified version as well.
25179
25180 
25181 File: autoconf-archive.info, Node: ax_prog_javac, Next: ax_prog_javac_works, Prev: ax_prog_java_works, Up: The Macros
25182
25183 ax_prog_javac
25184 =============
25185
25186 Synopsis
25187 ********
25188
25189 AX_PROG_JAVAC
25190
25191 Description
25192 ***********
25193
25194 AX_PROG_JAVAC tests an existing Java compiler. It uses the environment
25195 variable JAVAC then tests in sequence various common Java compilers.
25196 For political reasons, it starts with the free ones.
25197
25198 If you want to force a specific compiler:
25199
25200 - at the configure.in level, set JAVAC=yourcompiler before calling
25201 AX_PROG_JAVAC
25202
25203 - at the configure level, setenv JAVAC
25204
25205 You can use the JAVAC variable in your Makefile.in, with @JAVAC@.
25206
25207 *Warning*: its success or failure can depend on a proper setting of the
25208 CLASSPATH env. variable.
25209
25210 TODO: allow to exclude compilers (rationale: most Java programs cannot
25211 compile with some compilers like guavac).
25212
25213 Note: This is part of the set of autoconf M4 macros for Java programs.
25214 It is VERY IMPORTANT that you download the whole set, some macros depend
25215 on other. Unfortunately, the autoconf archive does not support the
25216 concept of set of macros, so I had to break it for submission. The
25217 general documentation, as well as the sample configure.in, is included
25218 in the AX_PROG_JAVA macro.
25219
25220 Source Code
25221 ***********
25222
25223 Download the latest version of 'ax_prog_javac.m4'
25224 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javac.m4)
25225 or browse the macro's revision history
25226 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javac.m4).
25227
25228 License
25229 *******
25230
25231 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
25232
25233 This program is free software; you can redistribute it and/or modify it
25234 under the terms of the GNU General Public License as published by the
25235 Free Software Foundation; either version 2 of the License, or (at your
25236 option) any later version.
25237
25238 This program is distributed in the hope that it will be useful, but
25239 WITHOUT ANY WARRANTY; without even the implied warranty of
25240 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25241 Public License for more details.
25242
25243 You should have received a copy of the GNU General Public License along
25244 with this program. If not, see <https://www.gnu.org/licenses/>.
25245
25246 As a special exception, the respective Autoconf Macro's copyright owner
25247 gives unlimited permission to copy, distribute and modify the configure
25248 scripts that are the output of Autoconf when processing the Macro. You
25249 need not follow the terms of the GNU General Public License when using
25250 or distributing such scripts, even though portions of the text of the
25251 Macro appear in them. The GNU General Public License (GPL) does govern
25252 all other use of the material that constitutes the Autoconf Macro.
25253
25254 This special exception to the GPL applies to versions of the Autoconf
25255 Macro released by the Autoconf Archive. When you make and distribute a
25256 modified version of the Autoconf Macro, you may extend this special
25257 exception to the GPL to apply to your modified version as well.
25258
25259 
25260 File: autoconf-archive.info, Node: ax_prog_javac_works, Next: ax_prog_javadoc, Prev: ax_prog_javac, Up: The Macros
25261
25262 ax_prog_javac_works
25263 ===================
25264
25265 Synopsis
25266 ********
25267
25268 AX_PROG_JAVAC_WORKS
25269
25270 Description
25271 ***********
25272
25273 Internal use ONLY.
25274
25275 Note: This is part of the set of autoconf M4 macros for Java programs.
25276 It is VERY IMPORTANT that you download the whole set, some macros depend
25277 on other. Unfortunately, the autoconf archive does not support the
25278 concept of set of macros, so I had to break it for submission. The
25279 general documentation, as well as the sample configure.in, is included
25280 in the AX_PROG_JAVA macro.
25281
25282 Source Code
25283 ***********
25284
25285 Download the latest version of 'ax_prog_javac_works.m4'
25286 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javac_works.m4)
25287 or browse the macro's revision history
25288 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javac_works.m4).
25289
25290 License
25291 *******
25292
25293 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
25294
25295 This program is free software; you can redistribute it and/or modify it
25296 under the terms of the GNU General Public License as published by the
25297 Free Software Foundation; either version 2 of the License, or (at your
25298 option) any later version.
25299
25300 This program is distributed in the hope that it will be useful, but
25301 WITHOUT ANY WARRANTY; without even the implied warranty of
25302 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25303 Public License for more details.
25304
25305 You should have received a copy of the GNU General Public License along
25306 with this program. If not, see <https://www.gnu.org/licenses/>.
25307
25308 As a special exception, the respective Autoconf Macro's copyright owner
25309 gives unlimited permission to copy, distribute and modify the configure
25310 scripts that are the output of Autoconf when processing the Macro. You
25311 need not follow the terms of the GNU General Public License when using
25312 or distributing such scripts, even though portions of the text of the
25313 Macro appear in them. The GNU General Public License (GPL) does govern
25314 all other use of the material that constitutes the Autoconf Macro.
25315
25316 This special exception to the GPL applies to versions of the Autoconf
25317 Macro released by the Autoconf Archive. When you make and distribute a
25318 modified version of the Autoconf Macro, you may extend this special
25319 exception to the GPL to apply to your modified version as well.
25320
25321 
25322 File: autoconf-archive.info, Node: ax_prog_javadoc, Next: ax_prog_javah, Prev: ax_prog_javac_works, Up: The Macros
25323
25324 ax_prog_javadoc
25325 ===============
25326
25327 Synopsis
25328 ********
25329
25330 AX_PROG_JAVADOC
25331
25332 Description
25333 ***********
25334
25335 AX_PROG_JAVADOC tests for an existing javadoc generator. It uses the
25336 environment variable JAVADOC then tests in sequence various common
25337 javadoc generator.
25338
25339 If you want to force a specific compiler:
25340
25341 - at the configure.in level, set JAVADOC=yourgenerator before calling
25342 AX_PROG_JAVADOC
25343
25344 - at the configure level, setenv JAVADOC
25345
25346 You can use the JAVADOC variable in your Makefile.in, with @JAVADOC@.
25347
25348 Note: This macro depends on the autoconf M4 macros for Java programs.
25349 It is VERY IMPORTANT that you download that whole set, some macros
25350 depend on other. Unfortunately, the autoconf archive does not support
25351 the concept of set of macros, so I had to break it for submission.
25352
25353 The general documentation of those macros, as well as the sample
25354 configure.in, is included in the AX_PROG_JAVA macro.
25355
25356 Source Code
25357 ***********
25358
25359 Download the latest version of 'ax_prog_javadoc.m4'
25360 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javadoc.m4)
25361 or browse the macro's revision history
25362 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javadoc.m4).
25363
25364 License
25365 *******
25366
25367 Copyright (C) 2008 Egon Willighagen <e.willighagen@science.ru.nl>
25368
25369 Copying and distribution of this file, with or without modification, are
25370 permitted in any medium without royalty provided the copyright notice
25371 and this notice are preserved. This file is offered as-is, without any
25372 warranty.
25373
25374 
25375 File: autoconf-archive.info, Node: ax_prog_javah, Next: ax_prog_masm, Prev: ax_prog_javadoc, Up: The Macros
25376
25377 ax_prog_javah
25378 =============
25379
25380 Synopsis
25381 ********
25382
25383 AX_PROG_JAVAH
25384
25385 Description
25386 ***********
25387
25388 AX_PROG_JAVAH tests the availability of the javah header generator and
25389 looks for the jni.h header file. If available, JAVAH is set to the full
25390 path of javah and CPPFLAGS is updated accordingly.
25391
25392 Source Code
25393 ***********
25394
25395 Download the latest version of 'ax_prog_javah.m4'
25396 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javah.m4)
25397 or browse the macro's revision history
25398 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javah.m4).
25399
25400 License
25401 *******
25402
25403 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
25404
25405 Copying and distribution of this file, with or without modification, are
25406 permitted in any medium without royalty provided the copyright notice
25407 and this notice are preserved. This file is offered as-is, without any
25408 warranty.
25409
25410 
25411 File: autoconf-archive.info, Node: ax_prog_masm, Next: ax_prog_masm_opt, Prev: ax_prog_javah, Up: The Macros
25412
25413 ax_prog_masm
25414 ============
25415
25416 Synopsis
25417 ********
25418
25419 AX_PROG_MASM([ACTION-IF-NOT-FOUND])
25420
25421 Description
25422 ***********
25423
25424 This macro searches for the MASM assembler and sets the variable "masm"
25425 to the name of the application or to "no" if not found. If
25426 ACTION-IF-NOT-FOUND is not specified, configure will fail when the
25427 program is not found.
25428
25429 Example:
25430
25431 AX_PROG_MASM()
25432 AX_PROG_MASM([masm_avail="no"])
25433
25434 Source Code
25435 ***********
25436
25437 Download the latest version of 'ax_prog_masm.m4'
25438 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_masm.m4)
25439 or browse the macro's revision history
25440 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_masm.m4).
25441
25442 License
25443 *******
25444
25445 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
25446
25447 This program is free software: you can redistribute it and/or modify it
25448 under the terms of the GNU Lesser General Public License as published by
25449 the Free Software Foundation, either version 3 of the License, or (at
25450 your option) any later version.
25451
25452 This program is distributed in the hope that it will be useful, but
25453 WITHOUT ANY WARRANTY; without even the implied warranty of
25454 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
25455 General Public License for more details.
25456
25457 You should have received a copy of the GNU Lesser General Public License
25458 along with this program. If not, see <https://www.gnu.org/licenses/>.
25459
25460 As a special exception, the respective Autoconf Macro's copyright owner
25461 gives unlimited permission to copy, distribute and modify the configure
25462 scripts that are the output of Autoconf when processing the Macro. You
25463 need not follow the terms of the GNU General Public License when using
25464 or distributing such scripts, even though portions of the text of the
25465 Macro appear in them. The GNU General Public License (GPL) does govern
25466 all other use of the material that constitutes the Autoconf Macro.
25467
25468 This special exception to the GPL applies to versions of the Autoconf
25469 Macro released by the Autoconf Archive. When you make and distribute a
25470 modified version of the Autoconf Macro, you may extend this special
25471 exception to the GPL to apply to your modified version as well.
25472
25473 
25474 File: autoconf-archive.info, Node: ax_prog_masm_opt, Next: ax_prog_md5sum, Prev: ax_prog_masm, Up: The Macros
25475
25476 ax_prog_masm_opt
25477 ================
25478
25479 Synopsis
25480 ********
25481
25482 AX_PROG_MASM_OPT(option, var_name)
25483
25484 Description
25485 ***********
25486
25487 This macro checks if the MASM assembler accepts the given option. If
25488 yes, the option is appended to the variable 'var_name', otherwise
25489 'var_name' is unchanged.
25490
25491 Example:
25492
25493 AX_PROG_MASM_OPT([/coff], [MASM_OPTS])
25494
25495 Source Code
25496 ***********
25497
25498 Download the latest version of 'ax_prog_masm_opt.m4'
25499 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_masm_opt.m4)
25500 or browse the macro's revision history
25501 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_masm_opt.m4).
25502
25503 License
25504 *******
25505
25506 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
25507
25508 This program is free software: you can redistribute it and/or modify it
25509 under the terms of the GNU Lesser General Public License as published by
25510 the Free Software Foundation, either version 3 of the License, or (at
25511 your option) any later version.
25512
25513 This program is distributed in the hope that it will be useful, but
25514 WITHOUT ANY WARRANTY; without even the implied warranty of
25515 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
25516 General Public License for more details.
25517
25518 You should have received a copy of the GNU Lesser General Public License
25519 along with this program. If not, see <https://www.gnu.org/licenses/>.
25520
25521 As a special exception, the respective Autoconf Macro's copyright owner
25522 gives unlimited permission to copy, distribute and modify the configure
25523 scripts that are the output of Autoconf when processing the Macro. You
25524 need not follow the terms of the GNU General Public License when using
25525 or distributing such scripts, even though portions of the text of the
25526 Macro appear in them. The GNU General Public License (GPL) does govern
25527 all other use of the material that constitutes the Autoconf Macro.
25528
25529 This special exception to the GPL applies to versions of the Autoconf
25530 Macro released by the Autoconf Archive. When you make and distribute a
25531 modified version of the Autoconf Macro, you may extend this special
25532 exception to the GPL to apply to your modified version as well.
25533
25534 
25535 File: autoconf-archive.info, Node: ax_prog_md5sum, Next: ax_prog_modprobe, Prev: ax_prog_masm_opt, Up: The Macros
25536
25537 ax_prog_md5sum
25538 ==============
25539
25540 Synopsis
25541 ********
25542
25543 AX_PROG_MD5SUM([ACTION-IF-NOT-FOUND])
25544
25545 Description
25546 ***********
25547
25548 This macro find a md5sum application and set the variable md5sum to the
25549 name of the application or to no if not found if ACTION-IF-NOT-FOUND is
25550 not specified, configure fail when then application is not found.
25551
25552 Source Code
25553 ***********
25554
25555 Download the latest version of 'ax_prog_md5sum.m4'
25556 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_md5sum.m4)
25557 or browse the macro's revision history
25558 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_md5sum.m4).
25559
25560 License
25561 *******
25562
25563 Copyright (C) 2009 Gabriele Bartolini <gabriele.bartolini@devise.it>
25564
25565 Copying and distribution of this file, with or without modification, are
25566 permitted in any medium without royalty provided the copyright notice
25567 and this notice are preserved. This file is offered as-is, without any
25568 warranty.
25569
25570 
25571 File: autoconf-archive.info, Node: ax_prog_modprobe, Next: ax_prog_mysql, Prev: ax_prog_md5sum, Up: The Macros
25572
25573 ax_prog_modprobe
25574 ================
25575
25576 Synopsis
25577 ********
25578
25579 AX_PROG_MODPROBE
25580
25581 Description
25582 ***********
25583
25584 This macro searches for a modprobe command, such as can be found on
25585 Linux systems with loadable kernel module support. PATH is checked
25586 first, then the default location(s).
25587
25588 This is one of several autoconf macros intended to assist in configuring
25589 and installing loadable kernel modules.
25590
25591 Source Code
25592 ***********
25593
25594 Download the latest version of 'ax_prog_modprobe.m4'
25595 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_modprobe.m4)
25596 or browse the macro's revision history
25597 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_modprobe.m4).
25598
25599 License
25600 *******
25601
25602 Copyright (C) 2008 Kaelin Colclasure <kaelin@acm.org>
25603
25604 Copying and distribution of this file, with or without modification, are
25605 permitted in any medium without royalty provided the copyright notice
25606 and this notice are preserved. This file is offered as-is, without any
25607 warranty.
25608
25609 
25610 File: autoconf-archive.info, Node: ax_prog_mysql, Next: ax_prog_mysqladmin, Prev: ax_prog_modprobe, Up: The Macros
25611
25612 ax_prog_mysql
25613 =============
25614
25615 Synopsis
25616 ********
25617
25618 AX_PROG_MYSQL
25619
25620 Description
25621 ***********
25622
25623 Check for the program 'mysql' let script continue if exists & works pops
25624 up error message if not.
25625
25626 Testing of functionality is by invoking it with root password 'rootpass'
25627 and a 'SELECT * FROM user' SQL statement. That SQL statement will
25628 select all user information from the 'user' privileges table, and should
25629 work on every proper MySQL server.
25630
25631 Besides checking mysql, this macro also set these environment variables
25632 upon completion:
25633
25634 MYSQL = which mysql
25635
25636 Source Code
25637 ***********
25638
25639 Download the latest version of 'ax_prog_mysql.m4'
25640 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysql.m4)
25641 or browse the macro's revision history
25642 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysql.m4).
25643
25644 License
25645 *******
25646
25647 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
25648
25649 This program is free software; you can redistribute it and/or modify it
25650 under the terms of the GNU General Public License as published by the
25651 Free Software Foundation; either version 2 of the License, or (at your
25652 option) any later version.
25653
25654 This program is distributed in the hope that it will be useful, but
25655 WITHOUT ANY WARRANTY; without even the implied warranty of
25656 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25657 Public License for more details.
25658
25659 You should have received a copy of the GNU General Public License along
25660 with this program. If not, see <https://www.gnu.org/licenses/>.
25661
25662 As a special exception, the respective Autoconf Macro's copyright owner
25663 gives unlimited permission to copy, distribute and modify the configure
25664 scripts that are the output of Autoconf when processing the Macro. You
25665 need not follow the terms of the GNU General Public License when using
25666 or distributing such scripts, even though portions of the text of the
25667 Macro appear in them. The GNU General Public License (GPL) does govern
25668 all other use of the material that constitutes the Autoconf Macro.
25669
25670 This special exception to the GPL applies to versions of the Autoconf
25671 Macro released by the Autoconf Archive. When you make and distribute a
25672 modified version of the Autoconf Macro, you may extend this special
25673 exception to the GPL to apply to your modified version as well.
25674
25675 
25676 File: autoconf-archive.info, Node: ax_prog_mysqladmin, Next: ax_prog_mysqld, Prev: ax_prog_mysql, Up: The Macros
25677
25678 ax_prog_mysqladmin
25679 ==================
25680
25681 Synopsis
25682 ********
25683
25684 AX_PROG_MYSQLADMIN
25685
25686 Description
25687 ***********
25688
25689 Check for the program 'mysqladmin' let script continue if exists & works
25690 pops up error message if not.
25691
25692 Testing of functionality is by invoking it with root password 'rootpass'
25693 and a 'flush-privileges' command.
25694
25695 Besides checking mysql, this macro also set these environment variables
25696 upon completion:
25697
25698 MYSQLADMIN = which mysqladmin
25699 MYSQL_DATADIR = directory containing mysql database
25700
25701 Source Code
25702 ***********
25703
25704 Download the latest version of 'ax_prog_mysqladmin.m4'
25705 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqladmin.m4)
25706 or browse the macro's revision history
25707 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqladmin.m4).
25708
25709 License
25710 *******
25711
25712 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
25713
25714 This program is free software; you can redistribute it and/or modify it
25715 under the terms of the GNU General Public License as published by the
25716 Free Software Foundation; either version 2 of the License, or (at your
25717 option) any later version.
25718
25719 This program is distributed in the hope that it will be useful, but
25720 WITHOUT ANY WARRANTY; without even the implied warranty of
25721 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25722 Public License for more details.
25723
25724 You should have received a copy of the GNU General Public License along
25725 with this program. If not, see <https://www.gnu.org/licenses/>.
25726
25727 As a special exception, the respective Autoconf Macro's copyright owner
25728 gives unlimited permission to copy, distribute and modify the configure
25729 scripts that are the output of Autoconf when processing the Macro. You
25730 need not follow the terms of the GNU General Public License when using
25731 or distributing such scripts, even though portions of the text of the
25732 Macro appear in them. The GNU General Public License (GPL) does govern
25733 all other use of the material that constitutes the Autoconf Macro.
25734
25735 This special exception to the GPL applies to versions of the Autoconf
25736 Macro released by the Autoconf Archive. When you make and distribute a
25737 modified version of the Autoconf Macro, you may extend this special
25738 exception to the GPL to apply to your modified version as well.
25739
25740 
25741 File: autoconf-archive.info, Node: ax_prog_mysqld, Next: ax_prog_mysqlimport, Prev: ax_prog_mysqladmin, Up: The Macros
25742
25743 ax_prog_mysqld
25744 ==============
25745
25746 Synopsis
25747 ********
25748
25749 AX_PROG_MYSQLD
25750
25751 Description
25752 ***********
25753
25754 Check for the program 'mysqld' let script continue if exists & works
25755 pops up error message if not.
25756
25757 Besides checking existence, this macro also set these environment
25758 variables upon completion:
25759
25760 MYSQLD = which mysqld
25761
25762 Source Code
25763 ***********
25764
25765 Download the latest version of 'ax_prog_mysqld.m4'
25766 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqld.m4)
25767 or browse the macro's revision history
25768 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqld.m4).
25769
25770 License
25771 *******
25772
25773 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
25774
25775 This program is free software; you can redistribute it and/or modify it
25776 under the terms of the GNU General Public License as published by the
25777 Free Software Foundation; either version 2 of the License, or (at your
25778 option) any later version.
25779
25780 This program is distributed in the hope that it will be useful, but
25781 WITHOUT ANY WARRANTY; without even the implied warranty of
25782 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25783 Public License for more details.
25784
25785 You should have received a copy of the GNU General Public License along
25786 with this program. If not, see <https://www.gnu.org/licenses/>.
25787
25788 As a special exception, the respective Autoconf Macro's copyright owner
25789 gives unlimited permission to copy, distribute and modify the configure
25790 scripts that are the output of Autoconf when processing the Macro. You
25791 need not follow the terms of the GNU General Public License when using
25792 or distributing such scripts, even though portions of the text of the
25793 Macro appear in them. The GNU General Public License (GPL) does govern
25794 all other use of the material that constitutes the Autoconf Macro.
25795
25796 This special exception to the GPL applies to versions of the Autoconf
25797 Macro released by the Autoconf Archive. When you make and distribute a
25798 modified version of the Autoconf Macro, you may extend this special
25799 exception to the GPL to apply to your modified version as well.
25800
25801 
25802 File: autoconf-archive.info, Node: ax_prog_mysqlimport, Next: ax_prog_mysqlshow, Prev: ax_prog_mysqld, Up: The Macros
25803
25804 ax_prog_mysqlimport
25805 ===================
25806
25807 Synopsis
25808 ********
25809
25810 AX_PROG_MYSQLIMPORT
25811
25812 Description
25813 ***********
25814
25815 Check for the program 'mysqlimport', let script continue if exists, pops
25816 up error message if not.
25817
25818 Besides checking existence, this macro also set these environment
25819 variables upon completion:
25820
25821 MYSQLIMPORT = which mysqlimport
25822
25823 Source Code
25824 ***********
25825
25826 Download the latest version of 'ax_prog_mysqlimport.m4'
25827 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqlimport.m4)
25828 or browse the macro's revision history
25829 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqlimport.m4).
25830
25831 License
25832 *******
25833
25834 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
25835
25836 This program is free software; you can redistribute it and/or modify it
25837 under the terms of the GNU General Public License as published by the
25838 Free Software Foundation; either version 2 of the License, or (at your
25839 option) any later version.
25840
25841 This program is distributed in the hope that it will be useful, but
25842 WITHOUT ANY WARRANTY; without even the implied warranty of
25843 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25844 Public License for more details.
25845
25846 You should have received a copy of the GNU General Public License along
25847 with this program. If not, see <https://www.gnu.org/licenses/>.
25848
25849 As a special exception, the respective Autoconf Macro's copyright owner
25850 gives unlimited permission to copy, distribute and modify the configure
25851 scripts that are the output of Autoconf when processing the Macro. You
25852 need not follow the terms of the GNU General Public License when using
25853 or distributing such scripts, even though portions of the text of the
25854 Macro appear in them. The GNU General Public License (GPL) does govern
25855 all other use of the material that constitutes the Autoconf Macro.
25856
25857 This special exception to the GPL applies to versions of the Autoconf
25858 Macro released by the Autoconf Archive. When you make and distribute a
25859 modified version of the Autoconf Macro, you may extend this special
25860 exception to the GPL to apply to your modified version as well.
25861
25862 
25863 File: autoconf-archive.info, Node: ax_prog_mysqlshow, Next: ax_prog_nasm, Prev: ax_prog_mysqlimport, Up: The Macros
25864
25865 ax_prog_mysqlshow
25866 =================
25867
25868 Synopsis
25869 ********
25870
25871 AX_PROG_MYSQLSHOW
25872
25873 Description
25874 ***********
25875
25876 Check for the program 'mysqlshow' let script continue if exists & works
25877 pops up error message if not.
25878
25879 Testing of functionality is by invoking it with root password
25880 'rootpass'. If it works, it should show all databases currently in
25881 system.
25882
25883 Besides checking mysql, this macro also set these environment variables
25884 upon completion:
25885
25886 MYSQLSHOW = which mysqlshow
25887
25888 Source Code
25889 ***********
25890
25891 Download the latest version of 'ax_prog_mysqlshow.m4'
25892 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqlshow.m4)
25893 or browse the macro's revision history
25894 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqlshow.m4).
25895
25896 License
25897 *******
25898
25899 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
25900
25901 This program is free software; you can redistribute it and/or modify it
25902 under the terms of the GNU General Public License as published by the
25903 Free Software Foundation; either version 2 of the License, or (at your
25904 option) any later version.
25905
25906 This program is distributed in the hope that it will be useful, but
25907 WITHOUT ANY WARRANTY; without even the implied warranty of
25908 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25909 Public License for more details.
25910
25911 You should have received a copy of the GNU General Public License along
25912 with this program. If not, see <https://www.gnu.org/licenses/>.
25913
25914 As a special exception, the respective Autoconf Macro's copyright owner
25915 gives unlimited permission to copy, distribute and modify the configure
25916 scripts that are the output of Autoconf when processing the Macro. You
25917 need not follow the terms of the GNU General Public License when using
25918 or distributing such scripts, even though portions of the text of the
25919 Macro appear in them. The GNU General Public License (GPL) does govern
25920 all other use of the material that constitutes the Autoconf Macro.
25921
25922 This special exception to the GPL applies to versions of the Autoconf
25923 Macro released by the Autoconf Archive. When you make and distribute a
25924 modified version of the Autoconf Macro, you may extend this special
25925 exception to the GPL to apply to your modified version as well.
25926
25927 
25928 File: autoconf-archive.info, Node: ax_prog_nasm, Next: ax_prog_nasm_opt, Prev: ax_prog_mysqlshow, Up: The Macros
25929
25930 ax_prog_nasm
25931 ============
25932
25933 Synopsis
25934 ********
25935
25936 AX_PROG_NASM([ACTION-IF-NOT-FOUND])
25937
25938 Description
25939 ***********
25940
25941 This macro searches for the NASM assembler and sets the variable "nasm"
25942 to the name of the application or to "no" if not found. If
25943 ACTION-IF-NOT-FOUND is not specified, configure will fail when the
25944 program is not found.
25945
25946 Example:
25947
25948 AX_PROG_NASM()
25949 AX_PROG_NASM([nasm_avail="no"])
25950
25951 Source Code
25952 ***********
25953
25954 Download the latest version of 'ax_prog_nasm.m4'
25955 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_nasm.m4)
25956 or browse the macro's revision history
25957 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_nasm.m4).
25958
25959 License
25960 *******
25961
25962 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
25963
25964 This program is free software: you can redistribute it and/or modify it
25965 under the terms of the GNU Lesser General Public License as published by
25966 the Free Software Foundation, either version 3 of the License, or (at
25967 your option) any later version.
25968
25969 This program is distributed in the hope that it will be useful, but
25970 WITHOUT ANY WARRANTY; without even the implied warranty of
25971 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
25972 General Public License for more details.
25973
25974 You should have received a copy of the GNU Lesser General Public License
25975 along with this program. If not, see <https://www.gnu.org/licenses/>.
25976
25977 As a special exception, the respective Autoconf Macro's copyright owner
25978 gives unlimited permission to copy, distribute and modify the configure
25979 scripts that are the output of Autoconf when processing the Macro. You
25980 need not follow the terms of the GNU General Public License when using
25981 or distributing such scripts, even though portions of the text of the
25982 Macro appear in them. The GNU General Public License (GPL) does govern
25983 all other use of the material that constitutes the Autoconf Macro.
25984
25985 This special exception to the GPL applies to versions of the Autoconf
25986 Macro released by the Autoconf Archive. When you make and distribute a
25987 modified version of the Autoconf Macro, you may extend this special
25988 exception to the GPL to apply to your modified version as well.
25989
25990 
25991 File: autoconf-archive.info, Node: ax_prog_nasm_opt, Next: ax_prog_perl_modules, Prev: ax_prog_nasm, Up: The Macros
25992
25993 ax_prog_nasm_opt
25994 ================
25995
25996 Synopsis
25997 ********
25998
25999 AX_PROG_NASM_OPT(option, var_name)
26000
26001 Description
26002 ***********
26003
26004 This macro checks if the NASM assembler accepts the given option. If
26005 yes, the option is appended to the variable 'var_name', otherwise
26006 'var_name' is unchanged.
26007
26008 Example:
26009
26010 AX_PROG_NASM_OPT([-f obj], [NASM_OPTS])
26011
26012 Source Code
26013 ***********
26014
26015 Download the latest version of 'ax_prog_nasm_opt.m4'
26016 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_nasm_opt.m4)
26017 or browse the macro's revision history
26018 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_nasm_opt.m4).
26019
26020 License
26021 *******
26022
26023 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
26024
26025 This program is free software: you can redistribute it and/or modify it
26026 under the terms of the GNU Lesser General Public License as published by
26027 the Free Software Foundation, either version 3 of the License, or (at
26028 your option) any later version.
26029
26030 This program is distributed in the hope that it will be useful, but
26031 WITHOUT ANY WARRANTY; without even the implied warranty of
26032 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
26033 General Public License for more details.
26034
26035 You should have received a copy of the GNU Lesser General Public License
26036 along with this program. If not, see <https://www.gnu.org/licenses/>.
26037
26038 As a special exception, the respective Autoconf Macro's copyright owner
26039 gives unlimited permission to copy, distribute and modify the configure
26040 scripts that are the output of Autoconf when processing the Macro. You
26041 need not follow the terms of the GNU General Public License when using
26042 or distributing such scripts, even though portions of the text of the
26043 Macro appear in them. The GNU General Public License (GPL) does govern
26044 all other use of the material that constitutes the Autoconf Macro.
26045
26046 This special exception to the GPL applies to versions of the Autoconf
26047 Macro released by the Autoconf Archive. When you make and distribute a
26048 modified version of the Autoconf Macro, you may extend this special
26049 exception to the GPL to apply to your modified version as well.
26050
26051 
26052 File: autoconf-archive.info, Node: ax_prog_perl_modules, Next: ax_prog_perl_version, Prev: ax_prog_nasm_opt, Up: The Macros
26053
26054 ax_prog_perl_modules
26055 ====================
26056
26057 Synopsis
26058 ********
26059
26060 AX_PROG_PERL_MODULES([MODULES], [ACTION-IF-TRUE], [ACTION-IF-FALSE])
26061
26062 Description
26063 ***********
26064
26065 Checks to see if the given perl modules are available. If true the
26066 shell commands in ACTION-IF-TRUE are executed. If not the shell
26067 commands in ACTION-IF-FALSE are run. Note if $PERL is not set (for
26068 example by calling AC_CHECK_PROG, or AC_PATH_PROG), AC_CHECK_PROG(PERL,
26069 perl, perl) will be run.
26070
26071 MODULES is a space separated list of module names. To check for a
26072 minimum version of a module, append the version number to the module
26073 name, separated by an equals sign.
26074
26075 Example:
26076
26077 AX_PROG_PERL_MODULES( Text::Wrap Net::LDAP=1.0.3, ,
26078 AC_MSG_WARN(Need some Perl modules)
26079
26080 Source Code
26081 ***********
26082
26083 Download the latest version of 'ax_prog_perl_modules.m4'
26084 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_perl_modules.m4)
26085 or browse the macro's revision history
26086 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_perl_modules.m4).
26087
26088 License
26089 *******
26090
26091 Copyright (C) 2009 Dean Povey <povey@wedgetail.com>
26092
26093 Copying and distribution of this file, with or without modification, are
26094 permitted in any medium without royalty provided the copyright notice
26095 and this notice are preserved. This file is offered as-is, without any
26096 warranty.
26097
26098 
26099 File: autoconf-archive.info, Node: ax_prog_perl_version, Next: ax_prog_pgclient, Prev: ax_prog_perl_modules, Up: The Macros
26100
26101 ax_prog_perl_version
26102 ====================
26103
26104 Synopsis
26105 ********
26106
26107 AX_PROG_PERL_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
26108
26109 Description
26110 ***********
26111
26112 Makes sure that perl supports the version indicated. If true the shell
26113 commands in ACTION-IF-TRUE are executed. If not the shell commands in
26114 ACTION-IF-FALSE are run. Note if $PERL is not set (for example by
26115 running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
26116
26117 Example:
26118
26119 AC_PATH_PROG([PERL],[perl])
26120 AX_PROG_PERL_VERSION([5.8.0],[ ... ],[ ... ])
26121
26122 This will check to make sure that the perl you have supports at least
26123 version 5.8.0.
26124
26125 NOTE: This macro uses the $PERL variable to perform the check.
26126 AX_WITH_PERL can be used to set that variable prior to running this
26127 macro. The $PERL_VERSION variable will be valorized with the detected
26128 version.
26129
26130 Source Code
26131 ***********
26132
26133 Download the latest version of 'ax_prog_perl_version.m4'
26134 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_perl_version.m4)
26135 or browse the macro's revision history
26136 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_perl_version.m4).
26137
26138 License
26139 *******
26140
26141 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
26142
26143 Copying and distribution of this file, with or without modification, are
26144 permitted in any medium without royalty provided the copyright notice
26145 and this notice are preserved. This file is offered as-is, without any
26146 warranty.
26147
26148 
26149 File: autoconf-archive.info, Node: ax_prog_pgclient, Next: ax_prog_python_version, Prev: ax_prog_perl_version, Up: The Macros
26150
26151 ax_prog_pgclient
26152 ================
26153
26154 Synopsis
26155 ********
26156
26157 AX_PROG_PGCLIENT()
26158
26159 Description
26160 ***********
26161
26162 This macro searches for a program called 'pgclient'. If found the
26163 variable $pgclient is set to its path. Else it is set to 0. An option
26164 is added to the configure script for setting an search path instead of
26165 $PATH ($pgclient_dir). If pgclient is necessary for installing your
26166 program, you can do something like the following to stop configure with
26167 an error if pgclient wasn't found:
26168
26169 if test "x$pgclient" = "x0"; then AC_MSG_ERROR([We need that to setup the database!]); fi
26170
26171 pgclient can be found at http://pgclient.freesources.org
26172
26173 Source Code
26174 ***********
26175
26176 Download the latest version of 'ax_prog_pgclient.m4'
26177 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_pgclient.m4)
26178 or browse the macro's revision history
26179 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_pgclient.m4).
26180
26181 License
26182 *******
26183
26184 Copyright (C) 2008 Moritz Sinn <moritz@freesources.org>
26185
26186 This program is free software; you can redistribute it and/or modify it
26187 under the terms of the GNU General Public License as published by the
26188 Free Software Foundation; either version 2 of the License, or (at your
26189 option) any later version.
26190
26191 This program is distributed in the hope that it will be useful, but
26192 WITHOUT ANY WARRANTY; without even the implied warranty of
26193 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
26194 Public License for more details.
26195
26196 You should have received a copy of the GNU General Public License along
26197 with this program. If not, see <https://www.gnu.org/licenses/>.
26198
26199 As a special exception, the respective Autoconf Macro's copyright owner
26200 gives unlimited permission to copy, distribute and modify the configure
26201 scripts that are the output of Autoconf when processing the Macro. You
26202 need not follow the terms of the GNU General Public License when using
26203 or distributing such scripts, even though portions of the text of the
26204 Macro appear in them. The GNU General Public License (GPL) does govern
26205 all other use of the material that constitutes the Autoconf Macro.
26206
26207 This special exception to the GPL applies to versions of the Autoconf
26208 Macro released by the Autoconf Archive. When you make and distribute a
26209 modified version of the Autoconf Macro, you may extend this special
26210 exception to the GPL to apply to your modified version as well.
26211
26212 
26213 File: autoconf-archive.info, Node: ax_prog_python_version, Next: ax_prog_ruby_version, Prev: ax_prog_pgclient, Up: The Macros
26214
26215 ax_prog_python_version
26216 ======================
26217
26218 Synopsis
26219 ********
26220
26221 AX_PROG_PYTHON_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
26222
26223 Description
26224 ***********
26225
26226 Makes sure that python supports the version indicated. If true the
26227 shell commands in ACTION-IF-TRUE are executed. If not the shell
26228 commands in ACTION-IF-FALSE are run. Note if $PYTHON is not set (for
26229 example by running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
26230
26231 Example:
26232
26233 AC_PATH_PROG([PYTHON],[python])
26234 AX_PROG_PYTHON_VERSION([2.4.4],[ ... ],[ ... ])
26235
26236 This will check to make sure that the python you have supports at least
26237 version 2.4.4.
26238
26239 NOTE: This macro uses the $PYTHON variable to perform the check.
26240 AX_WITH_PYTHON can be used to set that variable prior to running this
26241 macro. The $PYTHON_VERSION variable will be valorized with the detected
26242 version.
26243
26244 Source Code
26245 ***********
26246
26247 Download the latest version of 'ax_prog_python_version.m4'
26248 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_python_version.m4)
26249 or browse the macro's revision history
26250 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_python_version.m4).
26251
26252 License
26253 *******
26254
26255 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
26256
26257 Copying and distribution of this file, with or without modification, are
26258 permitted in any medium without royalty provided the copyright notice
26259 and this notice are preserved. This file is offered as-is, without any
26260 warranty.
26261
26262 
26263 File: autoconf-archive.info, Node: ax_prog_ruby_version, Next: ax_prog_scala, Prev: ax_prog_python_version, Up: The Macros
26264
26265 ax_prog_ruby_version
26266 ====================
26267
26268 Synopsis
26269 ********
26270
26271 AX_PROG_RUBY_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
26272
26273 Description
26274 ***********
26275
26276 Makes sure that ruby supports the version indicated. If true the shell
26277 commands in ACTION-IF-TRUE are executed. If not the shell commands in
26278 ACTION-IF-FALSE are run. Note if $RUBY is not set (for example by
26279 running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
26280
26281 Example:
26282
26283 AC_PATH_PROG([RUBY],[ruby])
26284 AC_PROG_RUBY_VERSION([1.8.0],[ ... ],[ ... ])
26285
26286 This will check to make sure that the ruby you have supports at least
26287 version 1.6.0.
26288
26289 NOTE: This macro uses the $RUBY variable to perform the check.
26290 AX_WITH_PROG([RUBY],[ruby],[VALUE-IF-NOT-FOUND],[PATH]) can be used to
26291 set that variable prior to running this macro. The $RUBY_VERSION
26292 variable will be valorized with the detected version.
26293
26294 Source Code
26295 ***********
26296
26297 Download the latest version of 'ax_prog_ruby_version.m4'
26298 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_ruby_version.m4)
26299 or browse the macro's revision history
26300 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_ruby_version.m4).
26301
26302 License
26303 *******
26304
26305 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
26306
26307 Copying and distribution of this file, with or without modification, are
26308 permitted in any medium without royalty provided the copyright notice
26309 and this notice are preserved. This file is offered as-is, without any
26310 warranty.
26311
26312 
26313 File: autoconf-archive.info, Node: ax_prog_scala, Next: ax_prog_scalac, Prev: ax_prog_ruby_version, Up: The Macros
26314
26315 ax_prog_scala
26316 =============
26317
26318 Synopsis
26319 ********
26320
26321 AX_PROG_SCALA
26322
26323 Description
26324 ***********
26325
26326 AX_PROG_SCALA will check that scala is available. If it is SCALA will
26327 be set to its path and SCALA_VERSION will be set to its version.
26328
26329 Hint: AX_COMPARE_VERSION can be used to check if SCALA_VERSION has an
26330 acceptable value.
26331
26332 Source Code
26333 ***********
26334
26335 Download the latest version of 'ax_prog_scala.m4'
26336 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_scala.m4)
26337 or browse the macro's revision history
26338 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_scala.m4).
26339
26340 License
26341 *******
26342
26343 Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
26344
26345 Copying and distribution of this file, with or without modification, are
26346 permitted in any medium without royalty provided the copyright notice
26347 and this notice are preserved. This file is offered as-is, without any
26348 warranty.
26349
26350 
26351 File: autoconf-archive.info, Node: ax_prog_scalac, Next: ax_prog_scp, Prev: ax_prog_scala, Up: The Macros
26352
26353 ax_prog_scalac
26354 ==============
26355
26356 Synopsis
26357 ********
26358
26359 AX_PROG_SCALAC
26360
26361 Description
26362 ***********
26363
26364 AX_PROG_SCALAC will check that a scala compiler is available, that it
26365 works and set SCALAC for the Makefile.
26366
26367 AX_PROG_SCALAC will search the path for a Scala compiler. To choose
26368 another compiler use the environment variable SCALAC.
26369
26370 Source Code
26371 ***********
26372
26373 Download the latest version of 'ax_prog_scalac.m4'
26374 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_scalac.m4)
26375 or browse the macro's revision history
26376 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_scalac.m4).
26377
26378 License
26379 *******
26380
26381 Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
26382
26383 Copying and distribution of this file, with or without modification, are
26384 permitted in any medium without royalty provided the copyright notice
26385 and this notice are preserved. This file is offered as-is, without any
26386 warranty.
26387
26388 
26389 File: autoconf-archive.info, Node: ax_prog_scp, Next: ax_prog_splint, Prev: ax_prog_scalac, Up: The Macros
26390
26391 ax_prog_scp
26392 ===========
26393
26394 Synopsis
26395 ********
26396
26397 AX_PROG_SCP
26398
26399 Description
26400 ***********
26401
26402 Check for the program 'scp', let script continue if exists, pops up
26403 error message if not.
26404
26405 Besides checking existence, this macro also set these environment
26406 variables upon completion:
26407
26408 SCP = which scp
26409
26410 Source Code
26411 ***********
26412
26413 Download the latest version of 'ax_prog_scp.m4'
26414 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_scp.m4)
26415 or browse the macro's revision history
26416 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_scp.m4).
26417
26418 License
26419 *******
26420
26421 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
26422
26423 This program is free software; you can redistribute it and/or modify it
26424 under the terms of the GNU General Public License as published by the
26425 Free Software Foundation; either version 2 of the License, or (at your
26426 option) any later version.
26427
26428 This program is distributed in the hope that it will be useful, but
26429 WITHOUT ANY WARRANTY; without even the implied warranty of
26430 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
26431 Public License for more details.
26432
26433 You should have received a copy of the GNU General Public License along
26434 with this program. If not, see <https://www.gnu.org/licenses/>.
26435
26436 As a special exception, the respective Autoconf Macro's copyright owner
26437 gives unlimited permission to copy, distribute and modify the configure
26438 scripts that are the output of Autoconf when processing the Macro. You
26439 need not follow the terms of the GNU General Public License when using
26440 or distributing such scripts, even though portions of the text of the
26441 Macro appear in them. The GNU General Public License (GPL) does govern
26442 all other use of the material that constitutes the Autoconf Macro.
26443
26444 This special exception to the GPL applies to versions of the Autoconf
26445 Macro released by the Autoconf Archive. When you make and distribute a
26446 modified version of the Autoconf Macro, you may extend this special
26447 exception to the GPL to apply to your modified version as well.
26448
26449 
26450 File: autoconf-archive.info, Node: ax_prog_splint, Next: ax_prog_ssh, Prev: ax_prog_scp, Up: The Macros
26451
26452 ax_prog_splint
26453 ==============
26454
26455 Synopsis
26456 ********
26457
26458 AX_PROG_SPLINT([AX_SPLINTFLAGS])
26459
26460 Description
26461 ***********
26462
26463 Check for program splint, the static C code checking tool. The splint
26464 URL is given by http://www.splint.org. This macro should be use
26465 together with automake.
26466
26467 Enables following environment variables:
26468
26469 SPLINT
26470 SPLINTFLAGS
26471
26472 and AX_SPLINTFLAGS is given by AC_SUBST. If AX_SPLINTFLAGS is not given
26473 by AX_PROG_SPLINT it defaults to "-weak".
26474
26475 Enables the following make target:
26476
26477 splint-check
26478
26479 which runs splint per PROGRAMS and LIBRARIES. Output from splint run is
26480 collected in file ***_splint.log where *** is given by the PROGRAMS or
26481 LIBRARIES name.
26482
26483 The following line is required in Makefile.am:
26484
26485 include aminclude_static.am
26486
26487 Source Code
26488 ***********
26489
26490 Download the latest version of 'ax_prog_splint.m4'
26491 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_splint.m4)
26492 or browse the macro's revision history
26493 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_splint.m4).
26494
26495 License
26496 *******
26497
26498 Copyright (C) 2011 Henrik Uhrenholt
26499
26500 Copying and distribution of this file, with or without modification, are
26501 permitted in any medium without royalty provided the copyright notice
26502 and this notice are preserved. This file is offered as-is, without any
26503 warranty.
26504
26505 
26506 File: autoconf-archive.info, Node: ax_prog_ssh, Next: ax_prog_tasm, Prev: ax_prog_splint, Up: The Macros
26507
26508 ax_prog_ssh
26509 ===========
26510
26511 Synopsis
26512 ********
26513
26514 AX_PROG_SSH
26515
26516 Description
26517 ***********
26518
26519 Check for the program 'ssh', let script continue if exists, pops up
26520 error message if not.
26521
26522 Besides checking existence, this macro also set these environment
26523 variables upon completion:
26524
26525 SSH = which ssh
26526
26527 Source Code
26528 ***********
26529
26530 Download the latest version of 'ax_prog_ssh.m4'
26531 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_ssh.m4)
26532 or browse the macro's revision history
26533 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_ssh.m4).
26534
26535 License
26536 *******
26537
26538 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
26539
26540 This program is free software; you can redistribute it and/or modify it
26541 under the terms of the GNU General Public License as published by the
26542 Free Software Foundation; either version 2 of the License, or (at your
26543 option) any later version.
26544
26545 This program is distributed in the hope that it will be useful, but
26546 WITHOUT ANY WARRANTY; without even the implied warranty of
26547 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
26548 Public License for more details.
26549
26550 You should have received a copy of the GNU General Public License along
26551 with this program. If not, see <https://www.gnu.org/licenses/>.
26552
26553 As a special exception, the respective Autoconf Macro's copyright owner
26554 gives unlimited permission to copy, distribute and modify the configure
26555 scripts that are the output of Autoconf when processing the Macro. You
26556 need not follow the terms of the GNU General Public License when using
26557 or distributing such scripts, even though portions of the text of the
26558 Macro appear in them. The GNU General Public License (GPL) does govern
26559 all other use of the material that constitutes the Autoconf Macro.
26560
26561 This special exception to the GPL applies to versions of the Autoconf
26562 Macro released by the Autoconf Archive. When you make and distribute a
26563 modified version of the Autoconf Macro, you may extend this special
26564 exception to the GPL to apply to your modified version as well.
26565
26566 
26567 File: autoconf-archive.info, Node: ax_prog_tasm, Next: ax_prog_tasm_opt, Prev: ax_prog_ssh, Up: The Macros
26568
26569 ax_prog_tasm
26570 ============
26571
26572 Synopsis
26573 ********
26574
26575 AX_PROG_TASM([ACTION-IF-NOT-FOUND])
26576
26577 Description
26578 ***********
26579
26580 This macro searches for the TASM assembler and sets the variable "tasm"
26581 to the name of the application or to "no" if not found. If
26582 ACTION-IF-NOT-FOUND is not specified, configure will fail when the
26583 program is not found.
26584
26585 Example:
26586
26587 AX_PROG_TASM()
26588 AX_PROG_TASM([tasm_avail="no"])
26589
26590 Source Code
26591 ***********
26592
26593 Download the latest version of 'ax_prog_tasm.m4'
26594 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_tasm.m4)
26595 or browse the macro's revision history
26596 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_tasm.m4).
26597
26598 License
26599 *******
26600
26601 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
26602
26603 This program is free software: you can redistribute it and/or modify it
26604 under the terms of the GNU Lesser General Public License as published by
26605 the Free Software Foundation, either version 3 of the License, or (at
26606 your option) any later version.
26607
26608 This program is distributed in the hope that it will be useful, but
26609 WITHOUT ANY WARRANTY; without even the implied warranty of
26610 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
26611 General Public License for more details.
26612
26613 You should have received a copy of the GNU Lesser General Public License
26614 along with this program. If not, see <https://www.gnu.org/licenses/>.
26615
26616 As a special exception, the respective Autoconf Macro's copyright owner
26617 gives unlimited permission to copy, distribute and modify the configure
26618 scripts that are the output of Autoconf when processing the Macro. You
26619 need not follow the terms of the GNU General Public License when using
26620 or distributing such scripts, even though portions of the text of the
26621 Macro appear in them. The GNU General Public License (GPL) does govern
26622 all other use of the material that constitutes the Autoconf Macro.
26623
26624 This special exception to the GPL applies to versions of the Autoconf
26625 Macro released by the Autoconf Archive. When you make and distribute a
26626 modified version of the Autoconf Macro, you may extend this special
26627 exception to the GPL to apply to your modified version as well.
26628
26629 
26630 File: autoconf-archive.info, Node: ax_prog_tasm_opt, Next: ax_prog_tcl, Prev: ax_prog_tasm, Up: The Macros
26631
26632 ax_prog_tasm_opt
26633 ================
26634
26635 Synopsis
26636 ********
26637
26638 AX_PROG_TASM_OPT(option, var_name)
26639
26640 Description
26641 ***********
26642
26643 This macro checks if the TASM assembler accepts the given option. If
26644 yes, the option is appended to the variable 'var_name', otherwise
26645 'var_name' is unchanged.
26646
26647 Example:
26648
26649 AX_PROG_TASM_OPT([/z], [TASM_OPTS])
26650
26651 Source Code
26652 ***********
26653
26654 Download the latest version of 'ax_prog_tasm_opt.m4'
26655 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_tasm_opt.m4)
26656 or browse the macro's revision history
26657 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_tasm_opt.m4).
26658
26659 License
26660 *******
26661
26662 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
26663
26664 This program is free software: you can redistribute it and/or modify it
26665 under the terms of the GNU Lesser General Public License as published by
26666 the Free Software Foundation, either version 3 of the License, or (at
26667 your option) any later version.
26668
26669 This program is distributed in the hope that it will be useful, but
26670 WITHOUT ANY WARRANTY; without even the implied warranty of
26671 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
26672 General Public License for more details.
26673
26674 You should have received a copy of the GNU Lesser General Public License
26675 along with this program. If not, see <https://www.gnu.org/licenses/>.
26676
26677 As a special exception, the respective Autoconf Macro's copyright owner
26678 gives unlimited permission to copy, distribute and modify the configure
26679 scripts that are the output of Autoconf when processing the Macro. You
26680 need not follow the terms of the GNU General Public License when using
26681 or distributing such scripts, even though portions of the text of the
26682 Macro appear in them. The GNU General Public License (GPL) does govern
26683 all other use of the material that constitutes the Autoconf Macro.
26684
26685 This special exception to the GPL applies to versions of the Autoconf
26686 Macro released by the Autoconf Archive. When you make and distribute a
26687 modified version of the Autoconf Macro, you may extend this special
26688 exception to the GPL to apply to your modified version as well.
26689
26690 
26691 File: autoconf-archive.info, Node: ax_prog_tcl, Next: ax_prog_xsltproc, Prev: ax_prog_tasm_opt, Up: The Macros
26692
26693 ax_prog_tcl
26694 ===========
26695
26696 Synopsis
26697 ********
26698
26699 AX_PROG_TCL([min-version])
26700
26701 Description
26702 ***********
26703
26704 Searches for tcl (tclsh and wish) in PATH and checks which version is
26705 installed. The macro bails out if either tcl is not found or the
26706 minimum version is not satisfied, unless minimum version is "0".
26707
26708 Example:
26709
26710 AX_PROG_TCL
26711
26712 This checks for tcl and if not found, exits with an error. If found, it
26713 prints tcl path and version number.
26714
26715 AX_PROG_TCL([8.0])
26716
26717 Checks for tcl and exits with an error if its not found or the version
26718 is below 8.0.
26719
26720 Source Code
26721 ***********
26722
26723 Download the latest version of 'ax_prog_tcl.m4'
26724 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_tcl.m4)
26725 or browse the macro's revision history
26726 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_tcl.m4).
26727
26728 License
26729 *******
26730
26731 Copyright (C) 2008 David Cluytens
26732 Copyright (C) 2008 Uwe Mayer <merkosh@hadiko.de>
26733
26734 This program is free software: you can redistribute it and/or modify it
26735 under the terms of the GNU General Public License as published by the
26736 Free Software Foundation, either version 3 of the License, or (at your
26737 option) any later version.
26738
26739 This program is distributed in the hope that it will be useful, but
26740 WITHOUT ANY WARRANTY; without even the implied warranty of
26741 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
26742 Public License for more details.
26743
26744 You should have received a copy of the GNU General Public License along
26745 with this program. If not, see <https://www.gnu.org/licenses/>.
26746
26747 As a special exception, the respective Autoconf Macro's copyright owner
26748 gives unlimited permission to copy, distribute and modify the configure
26749 scripts that are the output of Autoconf when processing the Macro. You
26750 need not follow the terms of the GNU General Public License when using
26751 or distributing such scripts, even though portions of the text of the
26752 Macro appear in them. The GNU General Public License (GPL) does govern
26753 all other use of the material that constitutes the Autoconf Macro.
26754
26755 This special exception to the GPL applies to versions of the Autoconf
26756 Macro released by the Autoconf Archive. When you make and distribute a
26757 modified version of the Autoconf Macro, you may extend this special
26758 exception to the GPL to apply to your modified version as well.
26759
26760 
26761 File: autoconf-archive.info, Node: ax_prog_xsltproc, Next: ax_prog_yasm, Prev: ax_prog_tcl, Up: The Macros
26762
26763 ax_prog_xsltproc
26764 ================
26765
26766 Synopsis
26767 ********
26768
26769 AX_PROG_XSLTPROC([default-flags])
26770
26771 Description
26772 ***********
26773
26774 Find an xsltproc executable.
26775
26776 Input:
26777
26778 "default-flags" is the default $XSLTPROC_FLAGS, which will be overridden
26779 if the user specifies -with-xsltproc-flags.
26780
26781 Output:
26782
26783 $XSLTPROC contains the path to xsltproc, or is empty if none was found
26784 or the user specified -without-xsltproc. $XSLTPROC_FLAGS contains the
26785 flags to use with xsltproc.
26786
26787 Source Code
26788 ***********
26789
26790 Download the latest version of 'ax_prog_xsltproc.m4'
26791 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_xsltproc.m4)
26792 or browse the macro's revision history
26793 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_xsltproc.m4).
26794
26795 License
26796 *******
26797
26798 Copyright (C) 2008,2009 Zmanda Inc. <http://www.zmanda.com/>
26799 Copyright (C) 2008,2009 Dustin J. Mitchell <dustin@zmanda.com>
26800
26801 This program is free software; you can redistribute it and/or modify it
26802 under the terms of the GNU General Public License as published by the
26803 Free Software Foundation; either version 2 of the License, or (at your
26804 option) any later version.
26805
26806 This program is distributed in the hope that it will be useful, but
26807 WITHOUT ANY WARRANTY; without even the implied warranty of
26808 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
26809 Public License for more details.
26810
26811 You should have received a copy of the GNU General Public License along
26812 with this program. If not, see <https://www.gnu.org/licenses/>.
26813
26814 As a special exception, the respective Autoconf Macro's copyright owner
26815 gives unlimited permission to copy, distribute and modify the configure
26816 scripts that are the output of Autoconf when processing the Macro. You
26817 need not follow the terms of the GNU General Public License when using
26818 or distributing such scripts, even though portions of the text of the
26819 Macro appear in them. The GNU General Public License (GPL) does govern
26820 all other use of the material that constitutes the Autoconf Macro.
26821
26822 This special exception to the GPL applies to versions of the Autoconf
26823 Macro released by the Autoconf Archive. When you make and distribute a
26824 modified version of the Autoconf Macro, you may extend this special
26825 exception to the GPL to apply to your modified version as well.
26826
26827 
26828 File: autoconf-archive.info, Node: ax_prog_yasm, Next: ax_prog_yasm_opt, Prev: ax_prog_xsltproc, Up: The Macros
26829
26830 ax_prog_yasm
26831 ============
26832
26833 Synopsis
26834 ********
26835
26836 AX_PROG_YASM([ACTION-IF-NOT-FOUND])
26837
26838 Description
26839 ***********
26840
26841 This macro searches for the YASM assembler and sets the variable "yasm"
26842 to the name of the application or to "no" if not found. If
26843 ACTION-IF-NOT-FOUND is not specified, configure will fail when the
26844 program is not found.
26845
26846 Example:
26847
26848 AX_PROG_YASM()
26849 AX_PROG_YASM([yasm_avail="no"])
26850
26851 Source Code
26852 ***********
26853
26854 Download the latest version of 'ax_prog_yasm.m4'
26855 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_yasm.m4)
26856 or browse the macro's revision history
26857 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_yasm.m4).
26858
26859 License
26860 *******
26861
26862 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
26863
26864 This program is free software: you can redistribute it and/or modify it
26865 under the terms of the GNU Lesser General Public License as published by
26866 the Free Software Foundation, either version 3 of the License, or (at
26867 your option) any later version.
26868
26869 This program is distributed in the hope that it will be useful, but
26870 WITHOUT ANY WARRANTY; without even the implied warranty of
26871 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
26872 General Public License for more details.
26873
26874 You should have received a copy of the GNU Lesser General Public License
26875 along with this program. If not, see <https://www.gnu.org/licenses/>.
26876
26877 As a special exception, the respective Autoconf Macro's copyright owner
26878 gives unlimited permission to copy, distribute and modify the configure
26879 scripts that are the output of Autoconf when processing the Macro. You
26880 need not follow the terms of the GNU General Public License when using
26881 or distributing such scripts, even though portions of the text of the
26882 Macro appear in them. The GNU General Public License (GPL) does govern
26883 all other use of the material that constitutes the Autoconf Macro.
26884
26885 This special exception to the GPL applies to versions of the Autoconf
26886 Macro released by the Autoconf Archive. When you make and distribute a
26887 modified version of the Autoconf Macro, you may extend this special
26888 exception to the GPL to apply to your modified version as well.
26889
26890 
26891 File: autoconf-archive.info, Node: ax_prog_yasm_opt, Next: ax_prototype, Prev: ax_prog_yasm, Up: The Macros
26892
26893 ax_prog_yasm_opt
26894 ================
26895
26896 Synopsis
26897 ********
26898
26899 AX_PROG_YASM_OPT(option, var_name)
26900
26901 Description
26902 ***********
26903
26904 This macro checks if the YASM assembler accepts the given option. If
26905 yes, the option is appended to the variable 'var_name', otherwise
26906 'var_name' is unchanged.
26907
26908 Example:
26909
26910 AX_PROG_YASM_OPT([-f bin], [YASM_OPTS])
26911
26912 Source Code
26913 ***********
26914
26915 Download the latest version of 'ax_prog_yasm_opt.m4'
26916 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_yasm_opt.m4)
26917 or browse the macro's revision history
26918 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_yasm_opt.m4).
26919
26920 License
26921 *******
26922
26923 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
26924
26925 This program is free software: you can redistribute it and/or modify it
26926 under the terms of the GNU Lesser General Public License as published by
26927 the Free Software Foundation, either version 3 of the License, or (at
26928 your option) any later version.
26929
26930 This program is distributed in the hope that it will be useful, but
26931 WITHOUT ANY WARRANTY; without even the implied warranty of
26932 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
26933 General Public License for more details.
26934
26935 You should have received a copy of the GNU Lesser General Public License
26936 along with this program. If not, see <https://www.gnu.org/licenses/>.
26937
26938 As a special exception, the respective Autoconf Macro's copyright owner
26939 gives unlimited permission to copy, distribute and modify the configure
26940 scripts that are the output of Autoconf when processing the Macro. You
26941 need not follow the terms of the GNU General Public License when using
26942 or distributing such scripts, even though portions of the text of the
26943 Macro appear in them. The GNU General Public License (GPL) does govern
26944 all other use of the material that constitutes the Autoconf Macro.
26945
26946 This special exception to the GPL applies to versions of the Autoconf
26947 Macro released by the Autoconf Archive. When you make and distribute a
26948 modified version of the Autoconf Macro, you may extend this special
26949 exception to the GPL to apply to your modified version as well.
26950
26951 
26952 File: autoconf-archive.info, Node: ax_prototype, Next: ax_prototype_accept, Prev: ax_prog_yasm_opt, Up: The Macros
26953
26954 ax_prototype
26955 ============
26956
26957 Synopsis
26958 ********
26959
26960 AX_PROTOTYPE(function, includes, code, TAG1, values1 [, TAG2, values2 [...]])
26961
26962 Description
26963 ***********
26964
26965 Try all the combinations of <TAG1>, <TAG2>... to successfully compile
26966 <code>. <TAG1>, <TAG2>, ... are substituted in <code> and <include>
26967 with values found in <values1>, <values2>, ... respectively.
26968 <values1>, <values2>, ... contain a list of possible values for each
26969 corresponding tag and all combinations are tested. When
26970 AC_TRY_COMPILE(include, code) is successful for a given substitution,
26971 the macro stops and defines the following macros: FUNCTION_TAG1,
26972 FUNCTION_TAG2, ... using AC_DEFINE() with values set to the current
26973 values of <TAG1>, <TAG2>, ... If no combination is successful the
26974 configure script is aborted with a message.
26975
26976 Intended purpose is to find which combination of argument types is
26977 acceptable for a given function <function>. It is recommended to list
26978 the most specific types first. For instance ARG1, [size_t, int] instead
26979 of ARG1, [int, size_t].
26980
26981 Generic usage pattern:
26982
26983 1) add a call in configure.in
26984
26985 AX_PROTOTYPE(...)
26986
26987 2) call autoheader to see which symbols are not covered
26988
26989 3) add the lines in acconfig.h
26990
26991 /* Type of Nth argument of function */
26992 #undef FUNCTION_ARGN
26993
26994 4) Within the code use FUNCTION_ARGN instead of an hardwired type
26995
26996 Complete example:
26997
26998 1) configure.in
26999
27000 AX_PROTOTYPE(getpeername,
27001 [
27002 #include <sys/types.h>
27003 #include <sys/socket.h>
27004 ],
27005 [
27006 int a = 0;
27007 ARG2 * b = 0;
27008 ARG3 * c = 0;
27009 getpeername(a, b, c);
27010 ],
27011 ARG2, [struct sockaddr, void],
27012 ARG3, [socklen_t, size_t, int, unsigned int, long unsigned int])
27013
27014 2) call autoheader
27015
27016 autoheader: Symbol `GETPEERNAME_ARG2' is not covered by ./acconfig.h
27017 autoheader: Symbol `GETPEERNAME_ARG3' is not covered by ./acconfig.h
27018
27019 3) acconfig.h
27020
27021 /* Type of second argument of getpeername */
27022 #undef GETPEERNAME_ARG2
27023
27024 /* Type of third argument of getpeername */
27025 #undef GETPEERNAME_ARG3
27026
27027 4) in the code
27028
27029 ...
27030 GETPEERNAME_ARG2 name;
27031 GETPEERNAME_ARG3 namelen;
27032 ...
27033 ret = getpeername(socket, &name, &namelen);
27034 ...
27035
27036 Implementation notes: generating all possible permutations of the
27037 arguments is not easily done with the usual mixture of shell and m4,
27038 that is why this macro is almost 100% m4 code. It generates long but
27039 simple to read code.
27040
27041 Source Code
27042 ***********
27043
27044 Download the latest version of 'ax_prototype.m4'
27045 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype.m4)
27046 or browse the macro's revision history
27047 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype.m4).
27048
27049 License
27050 *******
27051
27052 Copyright (C) 2009 Loic Dachary <loic@senga.org>
27053
27054 This program is free software; you can redistribute it and/or modify it
27055 under the terms of the GNU General Public License as published by the
27056 Free Software Foundation; either version 2 of the License, or (at your
27057 option) any later version.
27058
27059 This program is distributed in the hope that it will be useful, but
27060 WITHOUT ANY WARRANTY; without even the implied warranty of
27061 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27062 Public License for more details.
27063
27064 You should have received a copy of the GNU General Public License along
27065 with this program. If not, see <https://www.gnu.org/licenses/>.
27066
27067 As a special exception, the respective Autoconf Macro's copyright owner
27068 gives unlimited permission to copy, distribute and modify the configure
27069 scripts that are the output of Autoconf when processing the Macro. You
27070 need not follow the terms of the GNU General Public License when using
27071 or distributing such scripts, even though portions of the text of the
27072 Macro appear in them. The GNU General Public License (GPL) does govern
27073 all other use of the material that constitutes the Autoconf Macro.
27074
27075 This special exception to the GPL applies to versions of the Autoconf
27076 Macro released by the Autoconf Archive. When you make and distribute a
27077 modified version of the Autoconf Macro, you may extend this special
27078 exception to the GPL to apply to your modified version as well.
27079
27080 
27081 File: autoconf-archive.info, Node: ax_prototype_accept, Next: ax_prototype_getsockname, Prev: ax_prototype, Up: The Macros
27082
27083 ax_prototype_accept
27084 ===================
27085
27086 Synopsis
27087 ********
27088
27089 AX_PROTOTYPE_ACCEPT
27090
27091 Description
27092 ***********
27093
27094 Requires the AX_PROTOTYPE macro. FIXME: Put this in the code!
27095
27096 Find the type of argument two and three of accept. User must include
27097 the following in acconfig.h:
27098
27099 /* Type of second argument of accept */
27100 #undef ACCEPT_ARG2
27101
27102 /* Type of third argument of accept */
27103 #undef ACCEPT_ARG3
27104
27105 Source Code
27106 ***********
27107
27108 Download the latest version of 'ax_prototype_accept.m4'
27109 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype_accept.m4)
27110 or browse the macro's revision history
27111 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype_accept.m4).
27112
27113 License
27114 *******
27115
27116 Copyright (C) 2008 Loic Dachary <loic@senga.org>
27117
27118 This program is free software; you can redistribute it and/or modify it
27119 under the terms of the GNU General Public License as published by the
27120 Free Software Foundation; either version 2 of the License, or (at your
27121 option) any later version.
27122
27123 This program is distributed in the hope that it will be useful, but
27124 WITHOUT ANY WARRANTY; without even the implied warranty of
27125 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27126 Public License for more details.
27127
27128 You should have received a copy of the GNU General Public License along
27129 with this program. If not, see <https://www.gnu.org/licenses/>.
27130
27131 As a special exception, the respective Autoconf Macro's copyright owner
27132 gives unlimited permission to copy, distribute and modify the configure
27133 scripts that are the output of Autoconf when processing the Macro. You
27134 need not follow the terms of the GNU General Public License when using
27135 or distributing such scripts, even though portions of the text of the
27136 Macro appear in them. The GNU General Public License (GPL) does govern
27137 all other use of the material that constitutes the Autoconf Macro.
27138
27139 This special exception to the GPL applies to versions of the Autoconf
27140 Macro released by the Autoconf Archive. When you make and distribute a
27141 modified version of the Autoconf Macro, you may extend this special
27142 exception to the GPL to apply to your modified version as well.
27143
27144 
27145 File: autoconf-archive.info, Node: ax_prototype_getsockname, Next: ax_prototype_setsockopt, Prev: ax_prototype_accept, Up: The Macros
27146
27147 ax_prototype_getsockname
27148 ========================
27149
27150 Synopsis
27151 ********
27152
27153 AX_PROTOTYPE_GETSOCKNAME
27154
27155 Description
27156 ***********
27157
27158 Requires the AX_PROTOTYPE macro. FIXME: Put this in the code!
27159
27160 Find the type of argument two and three of getsockname. User must
27161 include the following in acconfig.h:
27162
27163 /* Type of second argument of getsockname */
27164 #undef GETSOCKNAME_ARG2
27165
27166 /* Type of third argument of getsockname */
27167 #undef GETSOCKNAME_ARG3
27168
27169 Source Code
27170 ***********
27171
27172 Download the latest version of 'ax_prototype_getsockname.m4'
27173 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype_getsockname.m4)
27174 or browse the macro's revision history
27175 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype_getsockname.m4).
27176
27177 License
27178 *******
27179
27180 Copyright (C) 2008 Loic Dachary <loic@senga.org>
27181
27182 This program is free software; you can redistribute it and/or modify it
27183 under the terms of the GNU General Public License as published by the
27184 Free Software Foundation; either version 2 of the License, or (at your
27185 option) any later version.
27186
27187 This program is distributed in the hope that it will be useful, but
27188 WITHOUT ANY WARRANTY; without even the implied warranty of
27189 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27190 Public License for more details.
27191
27192 You should have received a copy of the GNU General Public License along
27193 with this program. If not, see <https://www.gnu.org/licenses/>.
27194
27195 As a special exception, the respective Autoconf Macro's copyright owner
27196 gives unlimited permission to copy, distribute and modify the configure
27197 scripts that are the output of Autoconf when processing the Macro. You
27198 need not follow the terms of the GNU General Public License when using
27199 or distributing such scripts, even though portions of the text of the
27200 Macro appear in them. The GNU General Public License (GPL) does govern
27201 all other use of the material that constitutes the Autoconf Macro.
27202
27203 This special exception to the GPL applies to versions of the Autoconf
27204 Macro released by the Autoconf Archive. When you make and distribute a
27205 modified version of the Autoconf Macro, you may extend this special
27206 exception to the GPL to apply to your modified version as well.
27207
27208 
27209 File: autoconf-archive.info, Node: ax_prototype_setsockopt, Next: ax_pthread, Prev: ax_prototype_getsockname, Up: The Macros
27210
27211 ax_prototype_setsockopt
27212 =======================
27213
27214 Synopsis
27215 ********
27216
27217 AX_PROTOTYPE_SETSOCKOPT
27218
27219 Description
27220 ***********
27221
27222 Requires the AX_PROTOTYPE macro. FIXME: Put this in the code!
27223
27224 Find the type of argument three of setsockopt. User must include the
27225 following in acconfig.h:
27226
27227 /* Type of third argument of setsockopt */
27228 #undef SETSOCKOPT_ARG3
27229
27230 Source Code
27231 ***********
27232
27233 Download the latest version of 'ax_prototype_setsockopt.m4'
27234 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype_setsockopt.m4)
27235 or browse the macro's revision history
27236 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype_setsockopt.m4).
27237
27238 License
27239 *******
27240
27241 Copyright (C) 2008 Loic Dachary <loic@senga.org>
27242
27243 This program is free software; you can redistribute it and/or modify it
27244 under the terms of the GNU General Public License as published by the
27245 Free Software Foundation; either version 2 of the License, or (at your
27246 option) any later version.
27247
27248 This program is distributed in the hope that it will be useful, but
27249 WITHOUT ANY WARRANTY; without even the implied warranty of
27250 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27251 Public License for more details.
27252
27253 You should have received a copy of the GNU General Public License along
27254 with this program. If not, see <https://www.gnu.org/licenses/>.
27255
27256 As a special exception, the respective Autoconf Macro's copyright owner
27257 gives unlimited permission to copy, distribute and modify the configure
27258 scripts that are the output of Autoconf when processing the Macro. You
27259 need not follow the terms of the GNU General Public License when using
27260 or distributing such scripts, even though portions of the text of the
27261 Macro appear in them. The GNU General Public License (GPL) does govern
27262 all other use of the material that constitutes the Autoconf Macro.
27263
27264 This special exception to the GPL applies to versions of the Autoconf
27265 Macro released by the Autoconf Archive. When you make and distribute a
27266 modified version of the Autoconf Macro, you may extend this special
27267 exception to the GPL to apply to your modified version as well.
27268
27269 
27270 File: autoconf-archive.info, Node: ax_pthread, Next: ax_python, Prev: ax_prototype_setsockopt, Up: The Macros
27271
27272 ax_pthread
27273 ==========
27274
27275 Synopsis
27276 ********
27277
27278 AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
27279
27280 Description
27281 ***********
27282
27283 This macro figures out how to build C programs using POSIX threads. It
27284 sets the PTHREAD_LIBS output variable to the threads library and linker
27285 flags, and the PTHREAD_CFLAGS output variable to any special C compiler
27286 flags that are needed. (The user can also force certain compiler
27287 flags/libs to be tested by setting these environment variables.)
27288
27289 Also sets PTHREAD_CC to any special C compiler that is needed for
27290 multi-threaded programs (defaults to the value of CC otherwise). (This
27291 is necessary on AIX to use the special cc_r compiler alias.)
27292
27293 NOTE: You are assumed to not only compile your program with these flags,
27294 but also to link with them as well. For example, you might link with
27295 $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
27296
27297 If you are only building threaded programs, you may wish to use these
27298 variables in your default LIBS, CFLAGS, and CC:
27299
27300 LIBS="$PTHREAD_LIBS $LIBS"
27301 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
27302 CC="$PTHREAD_CC"
27303
27304 In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
27305 has a nonstandard name, this macro defines PTHREAD_CREATE_JOINABLE to
27306 that name (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
27307
27308 Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
27309 PTHREAD_PRIO_INHERIT symbol is defined when compiling with
27310 PTHREAD_CFLAGS.
27311
27312 ACTION-IF-FOUND is a list of shell commands to run if a threads library
27313 is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
27314 is not found. If ACTION-IF-FOUND is not specified, the default action
27315 will define HAVE_PTHREAD.
27316
27317 Please let the authors know if this macro fails on any platform, or if
27318 you have any other suggestions or comments. This macro was based on
27319 work by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with
27320 help from M. Frigo), as well as ac_pthread and hb_pthread macros posted
27321 by Alejandro Forero Cuervo to the autoconf macro repository. We are
27322 also grateful for the helpful feedback of numerous users.
27323
27324 Updated for Autoconf 2.68 by Daniel Richard G.
27325
27326 Source Code
27327 ***********
27328
27329 Download the latest version of 'ax_pthread.m4'
27330 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pthread.m4)
27331 or browse the macro's revision history
27332 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pthread.m4).
27333
27334 License
27335 *******
27336
27337 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
27338 Copyright (C) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
27339
27340 This program is free software: you can redistribute it and/or modify it
27341 under the terms of the GNU General Public License as published by the
27342 Free Software Foundation, either version 3 of the License, or (at your
27343 option) any later version.
27344
27345 This program is distributed in the hope that it will be useful, but
27346 WITHOUT ANY WARRANTY; without even the implied warranty of
27347 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27348 Public License for more details.
27349
27350 You should have received a copy of the GNU General Public License along
27351 with this program. If not, see <https://www.gnu.org/licenses/>.
27352
27353 As a special exception, the respective Autoconf Macro's copyright owner
27354 gives unlimited permission to copy, distribute and modify the configure
27355 scripts that are the output of Autoconf when processing the Macro. You
27356 need not follow the terms of the GNU General Public License when using
27357 or distributing such scripts, even though portions of the text of the
27358 Macro appear in them. The GNU General Public License (GPL) does govern
27359 all other use of the material that constitutes the Autoconf Macro.
27360
27361 This special exception to the GPL applies to versions of the Autoconf
27362 Macro released by the Autoconf Archive. When you make and distribute a
27363 modified version of the Autoconf Macro, you may extend this special
27364 exception to the GPL to apply to your modified version as well.
27365
27366 
27367 File: autoconf-archive.info, Node: ax_python, Next: ax_python_config_var, Prev: ax_pthread, Up: The Macros
27368
27369 ax_python
27370 =========
27371
27372 Synopsis
27373 ********
27374
27375 AX_PYTHON
27376
27377 Description
27378 ***********
27379
27380 This macro does a complete Python development environment check.
27381
27382 It checks for all known versions. When it finds an executable, it looks
27383 to find the header files and library.
27384
27385 It sets PYTHON_BIN to the name of the python executable,
27386 PYTHON_INCLUDE_DIR to the directory holding the header files, and
27387 PYTHON_LIB to the name of the Python library.
27388
27389 This macro calls AC_SUBST on PYTHON_BIN (via AC_CHECK_PROG),
27390 PYTHON_INCLUDE_DIR and PYTHON_LIB.
27391
27392 Source Code
27393 ***********
27394
27395 Download the latest version of 'ax_python.m4'
27396 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python.m4)
27397 or browse the macro's revision history
27398 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python.m4).
27399
27400 License
27401 *******
27402
27403 Copyright (C) 2008 Michael Tindal
27404
27405 This program is free software; you can redistribute it and/or modify it
27406 under the terms of the GNU General Public License as published by the
27407 Free Software Foundation; either version 2 of the License, or (at your
27408 option) any later version.
27409
27410 This program is distributed in the hope that it will be useful, but
27411 WITHOUT ANY WARRANTY; without even the implied warranty of
27412 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27413 Public License for more details.
27414
27415 You should have received a copy of the GNU General Public License along
27416 with this program. If not, see <https://www.gnu.org/licenses/>.
27417
27418 As a special exception, the respective Autoconf Macro's copyright owner
27419 gives unlimited permission to copy, distribute and modify the configure
27420 scripts that are the output of Autoconf when processing the Macro. You
27421 need not follow the terms of the GNU General Public License when using
27422 or distributing such scripts, even though portions of the text of the
27423 Macro appear in them. The GNU General Public License (GPL) does govern
27424 all other use of the material that constitutes the Autoconf Macro.
27425
27426 This special exception to the GPL applies to versions of the Autoconf
27427 Macro released by the Autoconf Archive. When you make and distribute a
27428 modified version of the Autoconf Macro, you may extend this special
27429 exception to the GPL to apply to your modified version as well.
27430
27431 
27432 File: autoconf-archive.info, Node: ax_python_config_var, Next: ax_python_devel, Prev: ax_python, Up: The Macros
27433
27434 ax_python_config_var
27435 ====================
27436
27437 Synopsis
27438 ********
27439
27440 AX_PYTHON_CONFIG_VAR(PYTHON_VARIABLE, [SHELL_VARIABLE])
27441 AX_PYTHON_CONFIG_H
27442 AX_PYTHON_MAKEFILE
27443
27444 Description
27445 ***********
27446
27447 AX_PYTHON_CONFIG_VAR:
27448
27449 Using the Python module distutils.sysconfig[1], return a Python
27450 configuration variable. PYTHON_VARIABLE is the name of the variable to
27451 request from Python, and SHELL_VARIABLE is the name of the shell
27452 variable into which the results should be deposited. If SHELL_VARIABLE
27453 is not specified, the macro wil prefix PY_ to the PYTHON_VARIABLE, e.g.,
27454 LIBS -> PY_LIBS.
27455
27456 SHELL_VARIABLE is AC_SUBST'd. No action is taken if an error occurs.
27457 Note if $PYTHON is not set, AC_CHECK_PROG(PYTHON, python, python) will
27458 be run.
27459
27460 Example:
27461
27462 AX_PYTHON_CONFIG_VAR(LINKFORSHARED, PY_LFS)
27463
27464 AX_PYTHON_CONFIG_H:
27465
27466 Using the Python module distutils.sysconfig[1], put the full pathname of
27467 the config.h file used to compile Python into the shell variable
27468 PY_CONFIG_H. PY_CONFIG_H is AC_SUBST'd. Note if $PYTHON is not set,
27469 AC_CHECK_PROG(PYTHON, python, python) will be run.
27470
27471 AX_PYTHON_MAKEFILE:
27472
27473 Using the Python module distutils.sysconfig[1], put the full pathname of
27474 the Makefile file used to compile Python into the shell variable
27475 PY_MAKEFILE. PY_MAKEFILE is AC_SUBST'd. Note if $PYTHON is not set,
27476 AC_CHECK_PROG(PYTHON, python, python) will be run.
27477
27478 [1]
27479 http://www.python.org/doc/current/dist/module-distutils.sysconfig.html
27480
27481 Source Code
27482 ***********
27483
27484 Download the latest version of 'ax_python_config_var.m4'
27485 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_config_var.m4)
27486 or browse the macro's revision history
27487 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_config_var.m4).
27488
27489 License
27490 *******
27491
27492 Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
27493
27494 Copying and distribution of this file, with or without modification, are
27495 permitted in any medium without royalty provided the copyright notice
27496 and this notice are preserved. This file is offered as-is, without any
27497 warranty.
27498
27499 
27500 File: autoconf-archive.info, Node: ax_python_devel, Next: ax_python_embed, Prev: ax_python_config_var, Up: The Macros
27501
27502 ax_python_devel
27503 ===============
27504
27505 Synopsis
27506 ********
27507
27508 AX_PYTHON_DEVEL([version])
27509
27510 Description
27511 ***********
27512
27513 Note: Defines as a precious variable "PYTHON_VERSION". Don't override it
27514 in your configure.ac.
27515
27516 This macro checks for Python and tries to get the include path to
27517 'Python.h'. It provides the $(PYTHON_CPPFLAGS) and $(PYTHON_LIBS)
27518 output variables. It also exports $(PYTHON_EXTRA_LIBS) and
27519 $(PYTHON_EXTRA_LDFLAGS) for embedding Python in your code.
27520
27521 You can search for some particular version of Python by passing a
27522 parameter to this macro, for example ">= '2.3.1'", or "== '2.4'".
27523 Please note that you *have* to pass also an operator along with the
27524 version to match, and pay special attention to the single quotes
27525 surrounding the version number. Don't use "PYTHON_VERSION" for this:
27526 that environment variable is declared as precious and thus reserved for
27527 the end-user.
27528
27529 This macro should work for all versions of Python >= 2.1.0. As an end
27530 user, you can disable the check for the python version by setting the
27531 PYTHON_NOVERSIONCHECK environment variable to something else than the
27532 empty string.
27533
27534 If you need to use this macro for an older Python version, please
27535 contact the authors. We're always open for feedback.
27536
27537 Source Code
27538 ***********
27539
27540 Download the latest version of 'ax_python_devel.m4'
27541 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_devel.m4)
27542 or browse the macro's revision history
27543 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_devel.m4).
27544
27545 License
27546 *******
27547
27548 Copyright (C) 2009 Sebastian Huber <sebastian-huber@web.de>
27549 Copyright (C) 2009 Alan W. Irwin
27550 Copyright (C) 2009 Rafael Laboissiere <rafael@laboissiere.net>
27551 Copyright (C) 2009 Andrew Collier
27552 Copyright (C) 2009 Matteo Settenvini <matteo@member.fsf.org>
27553 Copyright (C) 2009 Horst Knorr <hk_classes@knoda.org>
27554 Copyright (C) 2013 Daniel Mullner <muellner@math.stanford.edu>
27555
27556 This program is free software: you can redistribute it and/or modify it
27557 under the terms of the GNU General Public License as published by the
27558 Free Software Foundation, either version 3 of the License, or (at your
27559 option) any later version.
27560
27561 This program is distributed in the hope that it will be useful, but
27562 WITHOUT ANY WARRANTY; without even the implied warranty of
27563 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27564 Public License for more details.
27565
27566 You should have received a copy of the GNU General Public License along
27567 with this program. If not, see <https://www.gnu.org/licenses/>.
27568
27569 As a special exception, the respective Autoconf Macro's copyright owner
27570 gives unlimited permission to copy, distribute and modify the configure
27571 scripts that are the output of Autoconf when processing the Macro. You
27572 need not follow the terms of the GNU General Public License when using
27573 or distributing such scripts, even though portions of the text of the
27574 Macro appear in them. The GNU General Public License (GPL) does govern
27575 all other use of the material that constitutes the Autoconf Macro.
27576
27577 This special exception to the GPL applies to versions of the Autoconf
27578 Macro released by the Autoconf Archive. When you make and distribute a
27579 modified version of the Autoconf Macro, you may extend this special
27580 exception to the GPL to apply to your modified version as well.
27581
27582 
27583 File: autoconf-archive.info, Node: ax_python_embed, Next: ax_python_module, Prev: ax_python_devel, Up: The Macros
27584
27585 ax_python_embed
27586 ===============
27587
27588 Synopsis
27589 ********
27590
27591 AX_PYTHON_DEFAULT
27592 AX_PYTHON_ENABLE
27593 AX_PYTHON_WITH
27594 AX_PYTHON_PATH
27595 AX_PYTHON_VERSION_ENSURE( [2.2] )
27596 AX_PYTHON_CSPEC
27597 AX_PYTHON_LSPEC
27598
27599 Description
27600 ***********
27601
27602 This file provides autoconf support for those applications that want to
27603 embed python. It supports all pythons >= 2.2 which is the first
27604 official release containing distutils. Version 2.2 of python was
27605 released December 21, 2001. Since it actually executes the python,
27606 cross platform configuration will probably not work. Also, most of the
27607 platforms supported are consistent until you look into Mac OS X. The
27608 python included with it is installed as a framework which is a very
27609 different environment to set up the normal tools such as gcc and libtool
27610 to deal with. Therefore, once we establish which python that we are
27611 going to use, we use its distutils to actually compile and link our
27612 modules or applications.
27613
27614 At this time, it does NOT support linking with Python statically. It
27615 does support dynamic linking.
27616
27617 This set of macros help define $PYTHON, $PYTHON_USE, $PYTHON_CSPEC and
27618 $PYTHON_LSPEC. $PYTHON defines the full executable path for the Python
27619 being linked to and is used within these macros to determine if that has
27620 been specified or found. These macros do execute this python version so
27621 it must be present on the system at configure time.
27622
27623 $PYTHON_USE is an automake variable that defines whether Python support
27624 should be included or not in your application. $PYTHON_CSPEC is a
27625 variable that supplies additional CFLAGS for the compilation of the
27626 application/shared library. $PYTHON_LSPEC is a variable that supplies
27627 additional LDFLAGS for linking the application/shared library.
27628
27629 The following is an example of how to set up for python usage within
27630 your application in your configure.in:
27631
27632 AX_PYTHON_DEFAULT( )
27633 AX_PYTHON_ENABLE( ) # Optional
27634 AX_PYTHON_WITH( ) # Optional
27635 AX_PYTHON_PATH( ) # or AX_PYTHON_INSIST( )
27636 # if $PYTHON is not defined, then the following do nothing.
27637 AX_PYTHON_VERSION_ENSURE( [2.2] )
27638 AX_PYTHON_CSPEC
27639 AX_PYTHON_LSPEC
27640
27641 The AX_PYTHON_DEFAULT sets the $PYTHON_USE to false. Thereby, excluding
27642 it if it was optional.
27643
27644 The AX_PYTHON_ENABLE looks for the optional configure parameters of
27645 -enable-python/-disable-python and establishes the $PYTHON and
27646 $PYTHON_USE variables accordingly.
27647
27648 The AX_PYTHON_WITH looks for the optional configure parameters of
27649 -with-python/-without-python and establishes the $PYTHON and $PYTHON_USE
27650 variables accordingly.
27651
27652 The AX_PYTHON_PATH looks for python assuming that none has been
27653 previously found or defined and issues an error if it does not find it.
27654 If it does find it, it establishes the $PYTHON and $PYTHON_USE variables
27655 accordingly. AX_PYTHON_INSIST could be used here instead if you want to
27656 insist that Python support be included using the -enable-python or
27657 -with-python checks previously done.
27658
27659 The AX_PYTHON_VERSION_ENSURE issues an error if the Python previously
27660 found is not of version 2.2 or greater.
27661
27662 Once that these macros have be run, we can use PYTHON_USE within the
27663 makefile.am file to conditionally add the Python support such as:
27664
27665 Makefile.am example showing optional inclusion of directories:
27666
27667 if PYTHON_USE
27668 plugins = plugins
27669 src = src
27670 else
27671 plugins =
27672 src =
27673 endif
27674
27675 SUBDIRS = . $(plugins) $(src)
27676
27677 Makefile.am example showing optional shared library build:
27678
27679 if PYTHON_USE
27680 lib_LTLIBRARIES = libElemList.la
27681 libElemList_la_SOURCES = libElemList.c
27682 libElemList_la_CFLAGS = @PYTHON_CSPEC@
27683 libElemList_la_LDFLAGS = @PYTHON_LSPEC@
27684 endif
27685
27686 Makefile.am example showing optional program build:
27687
27688 if PYTHON_USE
27689 bin_PROGRAMS = runFunc
27690 runFunc_SOURCES = runFunc.c
27691 runFunc_CFLAGS = @PYTHON_CSPEC@
27692 runFunc_LDFLAGS = @PYTHON_LSPEC@
27693 endif
27694
27695 The above compiles the modules only if PYTHON_USE was specified as true.
27696 Also, the else portion of the if was optional.
27697
27698 Source Code
27699 ***********
27700
27701 Download the latest version of 'ax_python_embed.m4'
27702 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_embed.m4)
27703 or browse the macro's revision history
27704 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_embed.m4).
27705
27706 License
27707 *******
27708
27709 Copyright (C) 2008 Robert White <kranki@mac.com>
27710 Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
27711
27712 Copying and distribution of this file, with or without modification, are
27713 permitted in any medium without royalty provided the copyright notice
27714 and this notice are preserved. This file is offered as-is, without any
27715 warranty.
27716
27717 
27718 File: autoconf-archive.info, Node: ax_python_module, Next: ax_python_module_version, Prev: ax_python_embed, Up: The Macros
27719
27720 ax_python_module
27721 ================
27722
27723 Synopsis
27724 ********
27725
27726 AX_PYTHON_MODULE(modname[, fatal, python])
27727
27728 Description
27729 ***********
27730
27731 Checks for Python module.
27732
27733 If fatal is non-empty then absence of a module will trigger an error.
27734 The third parameter can either be "python" for Python 2 or "python3" for
27735 Python 3; defaults to Python 3.
27736
27737 Source Code
27738 ***********
27739
27740 Download the latest version of 'ax_python_module.m4'
27741 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_module.m4)
27742 or browse the macro's revision history
27743 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_module.m4).
27744
27745 License
27746 *******
27747
27748 Copyright (C) 2008 Andrew Collier
27749
27750 Copying and distribution of this file, with or without modification, are
27751 permitted in any medium without royalty provided the copyright notice
27752 and this notice are preserved. This file is offered as-is, without any
27753 warranty.
27754
27755 
27756 File: autoconf-archive.info, Node: ax_python_module_version, Next: ax_r_package, Prev: ax_python_module, Up: The Macros
27757
27758 ax_python_module_version
27759 ========================
27760
27761 Synopsis
27762 ********
27763
27764 AX_PYTHON_MODULE_VERSION(modname, min_version[, python])
27765
27766 Description
27767 ***********
27768
27769 Checks for Python module with at least the given version.
27770
27771 Triggers an error if module is absent or present but at a lower version.
27772 The third parameter can either be "python" for Python 2 or "python3" for
27773 Python 3; defaults to Python 3.
27774
27775 Source Code
27776 ***********
27777
27778 Download the latest version of 'ax_python_module_version.m4'
27779 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_module_version.m4)
27780 or browse the macro's revision history
27781 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_module_version.m4).
27782
27783 License
27784 *******
27785
27786 Copyright (C) 2015 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com> and Kurt von Laven <kurt@endlessm.com>
27787
27788 Copying and distribution of this file, with or without modification, are
27789 permitted in any medium without royalty provided the copyright notice
27790 and this notice are preserved. This file is offered as-is, without any
27791 warranty.
27792
27793 
27794 File: autoconf-archive.info, Node: ax_r_package, Next: ax_recursive_eval, Prev: ax_python_module_version, Up: The Macros
27795
27796 ax_r_package
27797 ============
27798
27799 Synopsis
27800 ********
27801
27802 AX_R_PACKAGE(pkgname[, version, R])
27803
27804 Description
27805 ***********
27806
27807 Checks for an R package.
27808
27809 Optionally checks for the version when a second argument is given. A
27810 different R can be used by providing a third argument.
27811
27812 Source Code
27813 ***********
27814
27815 Download the latest version of 'ax_r_package.m4'
27816 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_r_package.m4)
27817 or browse the macro's revision history
27818 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_r_package.m4).
27819
27820 License
27821 *******
27822
27823 Copyright (C) 2017 Ricardo Wurmus
27824
27825 Copying and distribution of this file, with or without modification, are
27826 permitted in any medium without royalty provided the copyright notice
27827 and this notice are preserved. This file is offered as-is, without any
27828 warranty.
27829
27830 
27831 File: autoconf-archive.info, Node: ax_recursive_eval, Next: ax_require_defined, Prev: ax_r_package, Up: The Macros
27832
27833 ax_recursive_eval
27834 =================
27835
27836 Synopsis
27837 ********
27838
27839 AX_RECURSIVE_EVAL(VALUE, RESULT)
27840
27841 Description
27842 ***********
27843
27844 Interpolate the VALUE in loop until it doesn't change, and set the
27845 result to $RESULT. WARNING: It's easy to get an infinite loop with some
27846 unsane input.
27847
27848 Source Code
27849 ***********
27850
27851 Download the latest version of 'ax_recursive_eval.m4'
27852 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_recursive_eval.m4)
27853 or browse the macro's revision history
27854 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_recursive_eval.m4).
27855
27856 License
27857 *******
27858
27859 Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
27860
27861 This program is free software; you can redistribute it and/or modify it
27862 under the terms of the GNU General Public License as published by the
27863 Free Software Foundation; either version 2 of the License, or (at your
27864 option) any later version.
27865
27866 This program is distributed in the hope that it will be useful, but
27867 WITHOUT ANY WARRANTY; without even the implied warranty of
27868 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27869 Public License for more details.
27870
27871 You should have received a copy of the GNU General Public License along
27872 with this program. If not, see <https://www.gnu.org/licenses/>.
27873
27874 As a special exception, the respective Autoconf Macro's copyright owner
27875 gives unlimited permission to copy, distribute and modify the configure
27876 scripts that are the output of Autoconf when processing the Macro. You
27877 need not follow the terms of the GNU General Public License when using
27878 or distributing such scripts, even though portions of the text of the
27879 Macro appear in them. The GNU General Public License (GPL) does govern
27880 all other use of the material that constitutes the Autoconf Macro.
27881
27882 This special exception to the GPL applies to versions of the Autoconf
27883 Macro released by the Autoconf Archive. When you make and distribute a
27884 modified version of the Autoconf Macro, you may extend this special
27885 exception to the GPL to apply to your modified version as well.
27886
27887 
27888 File: autoconf-archive.info, Node: ax_require_defined, Next: ax_require_one_func, Prev: ax_recursive_eval, Up: The Macros
27889
27890 ax_require_defined
27891 ==================
27892
27893 Synopsis
27894 ********
27895
27896 AX_REQUIRE_DEFINED(MACRO)
27897
27898 Description
27899 ***********
27900
27901 AX_REQUIRE_DEFINED is a simple helper for making sure other macros have
27902 been defined and thus are available for use. This avoids random issues
27903 where a macro isn't expanded. Instead the configure script emits a
27904 non-fatal:
27905
27906 ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found
27907
27908 It's like AC_REQUIRE except it doesn't expand the required macro.
27909
27910 Here's an example:
27911
27912 AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])
27913
27914 Source Code
27915 ***********
27916
27917 Download the latest version of 'ax_require_defined.m4'
27918 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_require_defined.m4)
27919 or browse the macro's revision history
27920 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_require_defined.m4).
27921
27922 License
27923 *******
27924
27925 Copyright (C) 2014 Mike Frysinger <vapier@gentoo.org>
27926
27927 Copying and distribution of this file, with or without modification, are
27928 permitted in any medium without royalty provided the copyright notice
27929 and this notice are preserved. This file is offered as-is, without any
27930 warranty.
27931
27932 
27933 File: autoconf-archive.info, Node: ax_require_one_func, Next: ax_restore_flags, Prev: ax_require_defined, Up: The Macros
27934
27935 ax_require_one_func
27936 ===================
27937
27938 Synopsis
27939 ********
27940
27941 AX_REQUIRE_ONE_FUNC (FUNCTION..., [ACTION-IF-ANY-FOUND], [ACTION-IF-NONE-FOUND])
27942
27943 Description
27944 ***********
27945
27946 AX_REQUIRE_ONE_FUNC is a simple wrapper for AC_CHECK_FUNCS. It calls
27947 AC_CHECK_FUNCS on the list of functions named in the first argument,
27948 then invokes ACTION-IF-ANY-FOUND if at least one of the functions exists
27949 or ACTION-IF-NONE-FOUND if none of the functions exist.
27950
27951 Here's an example:
27952
27953 AX_REQUIRE_ONE_FUNC([posix_memalign memalign valloc], ,
27954 [AC_MSG_ERROR([unable to allocate page-aligned memory])])
27955
27956 Source Code
27957 ***********
27958
27959 Download the latest version of 'ax_require_one_func.m4'
27960 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_require_one_func.m4)
27961 or browse the macro's revision history
27962 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_require_one_func.m4).
27963
27964 License
27965 *******
27966
27967 Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
27968
27969 Copying and distribution of this file, with or without modification, are
27970 permitted in any medium without royalty provided the copyright notice
27971 and this notice are preserved. This file is offered as-is, without any
27972 warranty.
27973
27974 
27975 File: autoconf-archive.info, Node: ax_restore_flags, Next: ax_restore_flags_with_prefix, Prev: ax_require_one_func, Up: The Macros
27976
27977 ax_restore_flags
27978 ================
27979
27980 Synopsis
27981 ********
27982
27983 AX_RESTORE_FLAGS([namespace])
27984
27985 Description
27986 ***********
27987
27988 Restore common compilation flags from temporary variables.
27989
27990 Compilation flags includes: CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS, LIBS,
27991 OBJCFLAGS.
27992
27993 By default these flags are restored to a global (empty) namespace, but
27994 user could restore from specific NAMESPACE by using
27995 AX_RESTORE_FLAGS(NAMESPACE) macro.
27996
27997 Typical usage is like:
27998
27999 AX_SAVE_FLAGS(mypackage)
28000 CPPFLAGS="-Imypackagespath ${CPPFLAGS}"
28001 dnl ... do some detection ...
28002 AX_RESTORE_FLAGS(mypackage)
28003
28004 Source Code
28005 ***********
28006
28007 Download the latest version of 'ax_restore_flags.m4'
28008 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_restore_flags.m4)
28009 or browse the macro's revision history
28010 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_restore_flags.m4).
28011
28012 License
28013 *******
28014
28015 Copyright (C) 2009 Filippo Giunchedi <filippo@esaurito.net>
28016 Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University
28017
28018 Copyright (C) 2011 Russ Allbery <rra@stanford.edu>
28019 Copyright (C) 2013 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
28020
28021 Copying and distribution of this file, with or without modification, are
28022 permitted in any medium without royalty provided the copyright notice
28023 and this notice are preserved. This file is offered as-is, without any
28024 warranty.
28025
28026 
28027 File: autoconf-archive.info, Node: ax_restore_flags_with_prefix, Next: ax_rpm_init, Prev: ax_restore_flags, Up: The Macros
28028
28029 ax_restore_flags_with_prefix
28030 ============================
28031
28032 Synopsis
28033 ********
28034
28035 AX_RESTORE_FLAGS_WITH_PREFIX(PREFIX, LIST-OF-FLAGS)
28036
28037 Description
28038 ***********
28039
28040 Restore the flags saved by AX_SAVE_FLAGS_WITH_PREFIX.
28041
28042 Expansion example: AX_RESTORE_FLAGS_WITH_PREFIX([GL], [[CFLAGS],[LIBS]])
28043 expands to
28044
28045 CFLAGS="$gl_saved_flag_cflags"
28046 LIBS="$gl_saved_flag_libs"
28047
28048 One common use case is to define a package specific wrapper macro around
28049 this one, and also restore other variables if needed. For example:
28050
28051 AC_DEFUN([_AX_CHECK_GL_RESTORE_FLAGS], [
28052 AX_RESTORE_FLAGS_WITH_PREFIX([GL],[$1])
28053 AC_LANG_POP([C])
28054 ])
28055
28056 # Restores CFLAGS, LIBS and language state
28057 _AX_CHECK_GL_RESTORE_FLAGS([[CFLAGS],[LIBS]])
28058
28059 Source Code
28060 ***********
28061
28062 Download the latest version of 'ax_restore_flags_with_prefix.m4'
28063 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_restore_flags_with_prefix.m4)
28064 or browse the macro's revision history
28065 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_restore_flags_with_prefix.m4).
28066
28067 License
28068 *******
28069
28070 Copyright (C) 2016 Felix Chern <idryman@gmail.com>
28071
28072 This program is free software; you can redistribute it and/or modify it
28073 under the terms of the GNU General Public License as published by the
28074 Free Software Foundation; either version 2 of the License, or (at your
28075 option) any later version.
28076
28077 This program is distributed in the hope that it will be useful, but
28078 WITHOUT ANY WARRANTY; without even the implied warranty of
28079 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
28080 Public License for more details.
28081
28082 You should have received a copy of the GNU General Public License along
28083 with this program. If not, see <https://www.gnu.org/licenses/>.
28084
28085 As a special exception, the respective Autoconf Macro's copyright owner
28086 gives unlimited permission to copy, distribute and modify the configure
28087 scripts that are the output of Autoconf when processing the Macro. You
28088 need not follow the terms of the GNU General Public License when using
28089 or distributing such scripts, even though portions of the text of the
28090 Macro appear in them. The GNU General Public License (GPL) does govern
28091 all other use of the material that constitutes the Autoconf Macro.
28092
28093 This special exception to the GPL applies to versions of the Autoconf
28094 Macro released by the Autoconf Archive. When you make and distribute a
28095 modified version of the Autoconf Macro, you may extend this special
28096 exception to the GPL to apply to your modified version as well.
28097
28098 
28099 File: autoconf-archive.info, Node: ax_rpm_init, Next: ax_ruby_devel, Prev: ax_restore_flags_with_prefix, Up: The Macros
28100
28101 ax_rpm_init
28102 ===========
28103
28104 Synopsis
28105 ********
28106
28107 AX_RPM_INIT
28108
28109 Description
28110 ***********
28111
28112 Setup variables for creation of rpms. It will define several variables
28113 useful for creating rpms on a system where rpms are supported.
28114 Currently, I requires changes to Makefile.am to function properly (see
28115 the example below).
28116
28117 Also note that I do not use any non-UNIX OSs (and for the most part, I
28118 only use RedHat), so this is probably generally not useful for other
28119 systems.
28120
28121 Required setup:
28122
28123 In configure.in:
28124
28125 dnl For my rpm.m4 macros
28126 RPM_RELEASE=1
28127 AC_SUBST(RPM_RELEASE)
28128
28129 AX_RPM_INIT
28130 dnl Enable or disable the rpm making rules in Makefile.am
28131 AM_CONDITIONAL(MAKE_RPMS, test x$make_rpms = xtrue)
28132
28133 Furthermore, the %GNUconfigure rpm macro has a problem in that it does
28134 not define CXXFLAGS for the target system correctly, so for compiling
28135 C++ code, add the following line _before_ calling AC_PROG_CXX:
28136
28137 dnl This is a little hack to make this work with rpm better (see mysql++.spec.in)
28138 test -z "$CXXFLAGS" && CXXFLAGS="${CFLAGS}"
28139
28140 Changes to Makefile.am (I am trying to get rid of this step; suggestions
28141 invited):
28142
28143 if MAKE_RPMS
28144 rpm: @RPM_TARGET@
28145
28146 .PHONY: rpm
28147
28148 $(RPM_TARGET): $(DISTFILES)
28149 ${MAKE} dist
28150 -mkdir -p $(RPM_DIR)/SRPMS
28151 -mkdir -p `dirname $(RPM_TARGET)`
28152 $(RPM_PROG) $(RPM_ARGS) $(RPM_TARBALL)
28153 @echo Congratulations, $(RPM_TARGET) "(and friends)" should now exist.
28154 else
28155 endif
28156
28157 Also, it works best with a XXXX.spec.in file like the following (this is
28158 way down on the wishlist, but a program to generate the skeleton spec.in
28159 much like autoscan would just kick butt!):
28160
28161 ---------- 8< ----------
28162 # -*- Mode:rpm-spec -*-
28163 # mysql++.spec.in
28164 Summary: Your package description goes here
28165 %define rel @RPM_RELEASE@
28166
28167 %define version @VERSION@
28168 %define pkgname @PACKAGE@
28169 %define prefix /usr
28170
28171 %define lt_release @LT_RELEASE@
28172 %define lt_version @LT_CURRENT@.@LT_REVISION@.@LT_AGE@
28173
28174 # This is a hack until I can figure out how to better handle replacing
28175 # autoconf macros... (gotta love autoconf...)
28176 %define __aclocal aclocal || aclocal -I ./macros
28177 %define configure_args @RPM_CONFIGURE_ARGS@
28178
28179 Name: %{pkgname}
28180 Version: %{version}
28181 Release: %{rel}
28182
28183 Copyright: LGPL
28184 Group: # your group name goes here
28185 Source: %{pkgname}-%{version}.tar.gz
28186 Requires: # additional requirements
28187 Buildroot: /tmp/%{pkgname}-root
28188 URL: http://yoururl.go.here
28189 Prefix: %{prefix}
28190 BuildArchitectures: # Target platforms, i.e., i586
28191 Packager: Your Name <youremail@your.address>
28192
28193 %description
28194 Your package description
28195
28196 %changelog
28197
28198 %prep
28199 %setup
28200 #%patch
28201
28202 %build
28203 %GNUconfigure %{configure_args}
28204 # This is why we copy the CFLAGS to the CXXFLAGS in configure.in
28205 # CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{prefix}
28206 make
28207
28208 %install
28209 # To make things work with BUILDROOT
28210 if [ "$RPM_BUILD_ROOT" != "/tmp/%{pkgname}-root" ]
28211 then
28212 echo
28213 echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
28214 echo @ @
28215 echo @ RPM_BUILD_ROOT is not what I expected. Please clean it yourself. @
28216 echo @ @
28217 echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
28218 echo
28219 else
28220 echo Cleaning RPM_BUILD_ROOT: "$RPM_BUILD_ROOT"
28221 rm -rf "$RPM_BUILD_ROOT"
28222 fi
28223 make DESTDIR="$RPM_BUILD_ROOT" install
28224
28225 %clean
28226 # Call me paranoid, but I do not want to be responsible for nuking
28227 # someone's harddrive!
28228 if [ "$RPM_BUILD_ROOT" != "/tmp/%{pkgname}-root" ]
28229 then
28230 echo
28231 echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
28232 echo @ @
28233 echo @ RPM_BUILD_ROOT is not what I expected. Please clean it yourself. @
28234 echo @ @
28235 echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
28236 echo
28237 else
28238 echo Cleaning RPM_BUILD_ROOT: "$RPM_BUILD_ROOT"
28239 rm -rf "$RPM_BUILD_ROOT"
28240 fi
28241
28242 %files
28243 %defattr(-, root, root)
28244 # Your application file list goes here
28245 # %{prefix}/lib/lib*.so*
28246 %doc COPYRIGHT ChangeLog README AUTHORS NEWS
28247 %doc doc/*
28248
28249 # If you install a library
28250 %post -p /sbin/ldconfig
28251
28252 # If you install a library
28253 %postun -p /sbin/ldconfig
28254
28255 %package devel
28256 Summary: Development files for %{pkgname}
28257 Group: Applications/Databases
28258 %description devel
28259 Development files for %{pkgname}.
28260
28261 %files devel
28262 %defattr(-, root, root)
28263 # Your development files go here
28264 # Programmers documentation goes here
28265 %doc doc
28266
28267 # end of file
28268 ---------- >8 ----------
28269
28270 Source Code
28271 ***********
28272
28273 Download the latest version of 'ax_rpm_init.m4'
28274 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_rpm_init.m4)
28275 or browse the macro's revision history
28276 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_rpm_init.m4).
28277
28278 License
28279 *******
28280
28281 Copyright (C) 2008 Dale K. Hawkins <dhawkins@cdrgts.com>
28282
28283 Copying and distribution of this file, with or without modification, are
28284 permitted in any medium without royalty provided the copyright notice
28285 and this notice are preserved. This file is offered as-is, without any
28286 warranty.
28287
28288 
28289 File: autoconf-archive.info, Node: ax_ruby_devel, Next: ax_ruby_ext, Prev: ax_rpm_init, Up: The Macros
28290
28291 ax_ruby_devel
28292 =============
28293
28294 Synopsis
28295 ********
28296
28297 AX_RUBY_DEVEL([version])
28298
28299 Description
28300 ***********
28301
28302 This macro checks for Ruby and tries to get the include path to
28303 'ruby.h'. It provides the $(RUBY_CPPFLAGS) and $(RUBY_LDFLAGS) output
28304 variables. It also exports $(RUBY_EXTRA_LIBS) for embedding Ruby in
28305 your code.
28306
28307 You can search for some particular version of Ruby by passing a
28308 parameter to this macro, for example "2.2.1".
28309
28310 Source Code
28311 ***********
28312
28313 Download the latest version of 'ax_ruby_devel.m4'
28314 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ruby_devel.m4)
28315 or browse the macro's revision history
28316 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ruby_devel.m4).
28317
28318 License
28319 *******
28320
28321 Copyright (C) 2008 Rafal Rzepecki <divided.mind@gmail.com>
28322 Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
28323 Copyright (C) 2008 Alan W. Irwin
28324 Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
28325 Copyright (C) 2008 Andrew Collier
28326 Copyright (C) 2008 Matteo Settenvini <matteo@member.fsf.org>
28327 Copyright (C) 2008 Horst Knorr <hk_classes@knoda.org>
28328
28329 This program is free software: you can redistribute it and/or modify it
28330 under the terms of the GNU General Public License as published by the
28331 Free Software Foundation, either version 3 of the License, or (at your
28332 option) any later version.
28333
28334 This program is distributed in the hope that it will be useful, but
28335 WITHOUT ANY WARRANTY; without even the implied warranty of
28336 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
28337 Public License for more details.
28338
28339 You should have received a copy of the GNU General Public License along
28340 with this program. If not, see <https://www.gnu.org/licenses/>.
28341
28342 As a special exception, the respective Autoconf Macro's copyright owner
28343 gives unlimited permission to copy, distribute and modify the configure
28344 scripts that are the output of Autoconf when processing the Macro. You
28345 need not follow the terms of the GNU General Public License when using
28346 or distributing such scripts, even though portions of the text of the
28347 Macro appear in them. The GNU General Public License (GPL) does govern
28348 all other use of the material that constitutes the Autoconf Macro.
28349
28350 This special exception to the GPL applies to versions of the Autoconf
28351 Macro released by the Autoconf Archive. When you make and distribute a
28352 modified version of the Autoconf Macro, you may extend this special
28353 exception to the GPL to apply to your modified version as well.
28354
28355 
28356 File: autoconf-archive.info, Node: ax_ruby_ext, Next: ax_save_flags, Prev: ax_ruby_devel, Up: The Macros
28357
28358 ax_ruby_ext
28359 ===========
28360
28361 Synopsis
28362 ********
28363
28364 AX_RUBY_EXT
28365
28366 Description
28367 ***********
28368
28369 Fetches the linker flags and C compiler flags for compiling and linking
28370 Ruby binary extensions. The macro substitutes RUBY_VERSION,
28371 RUBY_EXT_INC, RUBY_EXT_LIB, RUBY_EXT_CPPFLAGS, RUBY_EXT_LDFLAGS and
28372 RUBY_EXT_DLEXT variables if Ruby executable has been found. It also
28373 checks the same variables before trying to retrieve them from the Ruby
28374 configuration.
28375
28376 RUBY_VERSION: version of the Ruby interpreter
28377 RUBY_EXT_INC: Ruby include directory
28378 RUBY_EXT_LIB: Ruby extensions destination directory
28379 RUBY_EXT_CPPFLAGS: C preprocessor flags to compile extensions
28380 RUBY_EXT_LDFLAGS: linker flags to build extensions
28381 RUBY_EXT_DLEXT: extensions suffix for ruby modules (e.g. "so")
28382
28383 Examples:
28384
28385 AX_RUBY_EXT
28386 if test x"$RUBY" = x; then
28387 AC_ERROR(["cannot find Ruby"])
28388 fi
28389
28390 Source Code
28391 ***********
28392
28393 Download the latest version of 'ax_ruby_ext.m4'
28394 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ruby_ext.m4)
28395 or browse the macro's revision history
28396 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ruby_ext.m4).
28397
28398 License
28399 *******
28400
28401 Copyright (C) 2011 Stanislav Sedov <stas@FreeBSD.org>
28402
28403 Redistribution and use in source and binary forms, with or without
28404 modification, are permitted provided that the following conditions are
28405 met:
28406
28407 1. Redistributions of source code must retain the above copyright
28408 notice, this list of conditions and the following disclaimer.
28409
28410 2. Redistributions in binary form must reproduce the above copyright
28411 notice, this list of conditions and the following disclaimer in the
28412 documentation and/or other materials provided with the distribution.
28413
28414 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY
28415 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28416 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
28417 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
28418 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28419 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28420 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28421 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28422 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28423 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
28424 THE POSSIBILITY OF SUCH DAMAGE.
28425
28426 
28427 File: autoconf-archive.info, Node: ax_save_flags, Next: ax_save_flags_with_prefix, Prev: ax_ruby_ext, Up: The Macros
28428
28429 ax_save_flags
28430 =============
28431
28432 Synopsis
28433 ********
28434
28435 AX_SAVE_FLAGS([NAMESPACE])
28436
28437 Description
28438 ***********
28439
28440 Save common compilation flags into temporary variables.
28441
28442 Compilation flags includes: CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS, LIBS,
28443 OBJCFLAGS.
28444
28445 By default these flags are saved to a global (empty) namespace, but user
28446 could specify a specific NAMESPACE to AX_SAVE_FLAGS macro and latter
28447 restore it by using AX_RESTORE_FLAGS(NAMESPACE).
28448
28449 AX_SAVE_FLAGS(mypackage)
28450 CPPFLAGS="-Imypackagespath ${CPPFLAGS}"
28451 dnl .. do some detection ...
28452 AX_RESTORE_FLAGS(mypackage)
28453
28454 Source Code
28455 ***********
28456
28457 Download the latest version of 'ax_save_flags.m4'
28458 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_save_flags.m4)
28459 or browse the macro's revision history
28460 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_save_flags.m4).
28461
28462 License
28463 *******
28464
28465 Copyright (C) 2009 Filippo Giunchedi <filippo@esaurito.net>
28466 Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University
28467
28468 Copyright (C) 2011 Russ Allbery <rra@stanford.edu>
28469 Copyright (C) 2013 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
28470
28471 Copying and distribution of this file, with or without modification, are
28472 permitted in any medium without royalty provided the copyright notice
28473 and this notice are preserved. This file is offered as-is, without any
28474 warranty.
28475
28476 
28477 File: autoconf-archive.info, Node: ax_save_flags_with_prefix, Next: ax_set_default_paths_system, Prev: ax_save_flags, Up: The Macros
28478
28479 ax_save_flags_with_prefix
28480 =========================
28481
28482 Synopsis
28483 ********
28484
28485 AX_SAVE_FLAGS_WITH_PREFIX(PREFIX, LIST-OF-FLAGS)
28486
28487 Description
28488 ***********
28489
28490 For each flag in LIST-OF-FLAGS, it expands to lower-cased shell variable
28491 with the prefix holding the flag original value. The saved variables
28492 can be restored by AX_RESTORE_FLAGS_WITH_PREFIX
28493
28494 As an example: AX_SAVE_FLAGS_WITH_PREFIX([GL], [[CFLAGS],[LIBS]])
28495 expands to
28496
28497 gl_saved_flag_cflags="$CFLAGS"
28498 gl_saved_flag_libs="$LIBS"
28499 CFLAGS="$GL_CFLAGS $CFLAGS"
28500 LIBS="$GL_LIBS $LIBS"
28501
28502 One common use case is to define a package specific wrapper macro around
28503 this one, and also setup other variables if needed. For example:
28504
28505 AC_DEFUN([_AX_CHECK_GL_SAVE_FLAGS], [
28506 AX_SAVE_FLAGS_WITH_PREFIX([GL],[$1])
28507 AC_LANG_PUSH([C])
28508 ])
28509
28510 # pushes GL_CFLAGS and GL_LIBS to CFLAGS and LIBS
28511 # also set the current language to test to C
28512 _AX_CHECK_GL_SAVE_FLAGS([[CFLAGS],[LIBS]])
28513
28514 Source Code
28515 ***********
28516
28517 Download the latest version of 'ax_save_flags_with_prefix.m4'
28518 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_save_flags_with_prefix.m4)
28519 or browse the macro's revision history
28520 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_save_flags_with_prefix.m4).
28521
28522 License
28523 *******
28524
28525 Copyright (C) 2016 Felix Chern <idryman@gmail.com>
28526
28527 This program is free software; you can redistribute it and/or modify it
28528 under the terms of the GNU General Public License as published by the
28529 Free Software Foundation; either version 2 of the License, or (at your
28530 option) any later version.
28531
28532 This program is distributed in the hope that it will be useful, but
28533 WITHOUT ANY WARRANTY; without even the implied warranty of
28534 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
28535 Public License for more details.
28536
28537 You should have received a copy of the GNU General Public License along
28538 with this program. If not, see <https://www.gnu.org/licenses/>.
28539
28540 As a special exception, the respective Autoconf Macro's copyright owner
28541 gives unlimited permission to copy, distribute and modify the configure
28542 scripts that are the output of Autoconf when processing the Macro. You
28543 need not follow the terms of the GNU General Public License when using
28544 or distributing such scripts, even though portions of the text of the
28545 Macro appear in them. The GNU General Public License (GPL) does govern
28546 all other use of the material that constitutes the Autoconf Macro.
28547
28548 This special exception to the GPL applies to versions of the Autoconf
28549 Macro released by the Autoconf Archive. When you make and distribute a
28550 modified version of the Autoconf Macro, you may extend this special
28551 exception to the GPL to apply to your modified version as well.
28552
28553 
28554 File: autoconf-archive.info, Node: ax_set_default_paths_system, Next: ax_short_sleep, Prev: ax_save_flags_with_prefix, Up: The Macros
28555
28556 ax_set_default_paths_system
28557 ===========================
28558
28559 Synopsis
28560 ********
28561
28562 AX_SET_DEFAULT_PATHS_SYSTEM
28563
28564 Description
28565 ***********
28566
28567 the most interesting changes go about windows-targets - where the
28568 default_prefix is set to /programs, and quite some directories are
28569 aliased: sbindir := libdir := bindir and the docprefix-defaults are also
28570 a bit different, even on FHS2-compliant systems where the mandir is
28571 going to $prefix/man only if prefix=/usr, otherwise they shall go to
28572 $datadir/man. We use an extra docprefix to express it which is either
28573 defined as being prefix or datadir. not SUBSTed here.
28574
28575 Source Code
28576 ***********
28577
28578 Download the latest version of 'ax_set_default_paths_system.m4'
28579 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_set_default_paths_system.m4)
28580 or browse the macro's revision history
28581 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_set_default_paths_system.m4).
28582
28583 License
28584 *******
28585
28586 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
28587
28588 Copying and distribution of this file, with or without modification, are
28589 permitted in any medium without royalty provided the copyright notice
28590 and this notice are preserved. This file is offered as-is, without any
28591 warranty.
28592
28593 
28594 File: autoconf-archive.info, Node: ax_short_sleep, Next: ax_silent_mode, Prev: ax_set_default_paths_system, Up: The Macros
28595
28596 ax_short_sleep
28597 ==============
28598
28599 Synopsis
28600 ********
28601
28602 AX_SHORT_SLEEP
28603
28604 Description
28605 ***********
28606
28607 This macro searches for a "sleep" function that has 1/1000 of a second
28608 accuracy. On some systems, this is known as nap() and on others
28609 usleep() / 1000. There are probably other functions like this defined
28610 in other system libraries, but we don't know how to search for them yet.
28611 Contributions joyously accepted. :)
28612
28613 Source Code
28614 ***********
28615
28616 Download the latest version of 'ax_short_sleep.m4'
28617 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_short_sleep.m4)
28618 or browse the macro's revision history
28619 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_short_sleep.m4).
28620
28621 License
28622 *******
28623
28624 Copyright (C) 2008 Warren Young <warren@etr-usa.com>
28625
28626 Copying and distribution of this file, with or without modification, are
28627 permitted in any medium without royalty provided the copyright notice
28628 and this notice are preserved. This file is offered as-is, without any
28629 warranty.
28630
28631 
28632 File: autoconf-archive.info, Node: ax_silent_mode, Next: ax_sip_devel, Prev: ax_short_sleep, Up: The Macros
28633
28634 ax_silent_mode
28635 ==============
28636
28637 Synopsis
28638 ********
28639
28640 AX_SILENT_MODE(on|off)
28641
28642 Description
28643 ***********
28644
28645 Temporarily disable console output when running Autoconf macros. For
28646 example:
28647
28648 AX_SILENT_MODE(on) dnl disable console output
28649 AC_PROG_CXX
28650 AX_SILENT_MODE(off) dnl enable console output
28651 AC_PROG_RANLIB
28652
28653 Source Code
28654 ***********
28655
28656 Download the latest version of 'ax_silent_mode.m4'
28657 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_silent_mode.m4)
28658 or browse the macro's revision history
28659 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_silent_mode.m4).
28660
28661 License
28662 *******
28663
28664 Copyright (C) 2008 Peter Simons <simons@cryp.to>
28665 Copyright (C) 2008 Paolo Bonzini <bonzini@gnu.org>
28666
28667 Copying and distribution of this file, with or without modification, are
28668 permitted in any medium without royalty provided the copyright notice
28669 and this notice are preserved. This file is offered as-is, without any
28670 warranty.
28671
28672 
28673 File: autoconf-archive.info, Node: ax_sip_devel, Next: ax_spec_file, Prev: ax_silent_mode, Up: The Macros
28674
28675 ax_sip_devel
28676 ============
28677
28678 Synopsis
28679 ********
28680
28681 AX_SIP_DEVEL([<min_version>])
28682
28683 Description
28684 ***********
28685
28686 Searches for the sip executable and the sip include path. The sip
28687 include path consists of two components, one which contains the file
28688 qt/qtmod.sip and the other one the path to sip.h, which should be found
28689 in the include/pythonX.Y directory.
28690
28691 The macro bails out if the executable or the file cannot be located.
28692 Otherwise it defines:
28693
28694 SIP the path to the sip executable
28695 SIP_CPPFLAGS include path: -I<path-to-qt/qtmod.sip> -I<path-to-sip.h-dir>
28696
28697 Example:
28698
28699 AX_SIP_DEVEL
28700 AX_SIP_DEVEL([4.1])
28701
28702 Requires: perl (for version string comparison)
28703
28704 FIXME: Use AX_COMPARE_VERSION instead.
28705
28706 Source Code
28707 ***********
28708
28709 Download the latest version of 'ax_sip_devel.m4'
28710 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sip_devel.m4)
28711 or browse the macro's revision history
28712 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sip_devel.m4).
28713
28714 License
28715 *******
28716
28717 Copyright (C) 2008 Uwe Mayer <merkosh@hadiko.de>
28718
28719 Copying and distribution of this file, with or without modification, are
28720 permitted in any medium without royalty provided the copyright notice
28721 and this notice are preserved. This file is offered as-is, without any
28722 warranty.
28723
28724 
28725 File: autoconf-archive.info, Node: ax_spec_file, Next: ax_spec_package_version, Prev: ax_sip_devel, Up: The Macros
28726
28727 ax_spec_file
28728 ============
28729
28730 Synopsis
28731 ********
28732
28733 AX_SPEC_FILE [(rpmspecfile [,subdirpath])]
28734
28735 Description
28736 ***********
28737
28738 set the specfile - if no argument has been given then check whether the
28739 ac_unique_file looks like a .spec file and use it. This macro is
28740 ac_REQUIRED by many AX_SPEC_ routines.
28741
28742 the AX_SPEC_EXTRACT macro is a helper used by many AX_SPEC_ routines and
28743 therefore placed here to be automatically included in the macro set of
28744 (older) aclocal/acinclude.
28745
28746 AX_SPEC_EXTRACT(shellvar [,specvar [,defaultvalue]])
28747
28748 Source Code
28749 ***********
28750
28751 Download the latest version of 'ax_spec_file.m4'
28752 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_spec_file.m4)
28753 or browse the macro's revision history
28754 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_spec_file.m4).
28755
28756 License
28757 *******
28758
28759 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
28760
28761 Copying and distribution of this file, with or without modification, are
28762 permitted in any medium without royalty provided the copyright notice
28763 and this notice are preserved. This file is offered as-is, without any
28764 warranty.
28765
28766 
28767 File: autoconf-archive.info, Node: ax_spec_package_version, Next: ax_split_version, Prev: ax_spec_file, Up: The Macros
28768
28769 ax_spec_package_version
28770 =======================
28771
28772 Synopsis
28773 ********
28774
28775 AX_SPEC_PACKAGE_AND_VERSION ([specfile])
28776 AX_SPEC_PACKAGE_NAME ([shellvar],[defaultvalue])
28777 AX_SPEC_PACKAGE_VERSION ([shellvar],[defaultvalue])
28778 AX_SPEC_PACKAGE_SUMMARY ([shellvar],[defaultvalue])
28779 AX_SPEC_PACKAGE_LICENSE ([shellvar],[defaultvalue])
28780 AX_SPEC_PACKAGE_CATEGORY ([shellvar],[defaultvalue])
28781 AX_SPEC_PACKAGE_ICON ([shellvar],[defaultvalue])
28782 AX_SPEC_DEFAULTS([specfile])
28783
28784 Description
28785 ***********
28786
28787 set PACKAGE from the given specfile - default to basename of the
28788 rpmspecfile if no "name:" could be found in the spec file.
28789
28790 set VERSION from the given specfile - default to a date-derived value if
28791 no "version:" could be found in the spec file.
28792
28793 this macro builds on top of AX_SPEC_FILE / AX_SPEC_EXTRACT
28794
28795 more specific: if not "name:" or "%define name" was found in the
28796 myproject.spec file then the PACKAGE var is set to the basename
28797 "myproject". When no spec file was present then it will usually default
28798 to "TODO".
28799
28800 The version spec looks for "version:" or "%define version" in the spec
28801 file. When no such value was seen or no spec file had been present then
28802 the value is set to 'date +0.%y.%W%w'.
28803
28804 the version value itself is sanitized somewhat with making it to always
28805 carry at least three digits (1.2.3) and cleansing superfluous "0" chars
28806 around from generating numbers elsewhere.
28807
28808 additional macros are provided that extract a specific value from the
28809 spec file, among these:
28810
28811 set PACKAGE_SUMMARY from the given specfile - default to package and try
28812 to detect a type suffix if "summary:" was not in the spec file
28813
28814 set PACKAGE_LICENSE from the given specfile - if no "license:" tag was
28815 given in the spec file then various COPYING files are grepped to have a
28816 guess and the final fallback will be GNU GPL (or GNU LGPL).
28817
28818 set PACKAGE_ICON from the given specfile - if no "icon:" tag was given
28819 in the spec file then we default to $PACKAGE-icon.png
28820
28821 the final AX_SPEC_INIT(specfile) will initialize all variables to its
28822 defaults according to the spec file given.
28823
28824 Source Code
28825 ***********
28826
28827 Download the latest version of 'ax_spec_package_version.m4'
28828 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_spec_package_version.m4)
28829 or browse the macro's revision history
28830 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_spec_package_version.m4).
28831
28832 License
28833 *******
28834
28835 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
28836
28837 Copying and distribution of this file, with or without modification, are
28838 permitted in any medium without royalty provided the copyright notice
28839 and this notice are preserved. This file is offered as-is, without any
28840 warranty.
28841
28842 
28843 File: autoconf-archive.info, Node: ax_split_version, Next: ax_string_strcasecmp, Prev: ax_spec_package_version, Up: The Macros
28844
28845 ax_split_version
28846 ================
28847
28848 Synopsis
28849 ********
28850
28851 AX_SPLIT_VERSION
28852
28853 Description
28854 ***********
28855
28856 Splits a version number in the format MAJOR.MINOR.POINT into its
28857 separate components.
28858
28859 Sets the variables.
28860
28861 Source Code
28862 ***********
28863
28864 Download the latest version of 'ax_split_version.m4'
28865 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_split_version.m4)
28866 or browse the macro's revision history
28867 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_split_version.m4).
28868
28869 License
28870 *******
28871
28872 Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
28873
28874 Copying and distribution of this file, with or without modification, are
28875 permitted in any medium without royalty provided the copyright notice
28876 and this notice are preserved. This file is offered as-is, without any
28877 warranty.
28878
28879 
28880 File: autoconf-archive.info, Node: ax_string_strcasecmp, Next: ax_strings_strcasecmp, Prev: ax_split_version, Up: The Macros
28881
28882 ax_string_strcasecmp
28883 ====================
28884
28885 Synopsis
28886 ********
28887
28888 AX_STRING_STRCASECMP
28889
28890 Description
28891 ***********
28892
28893 This macro tries to find strcasecmp() in string.h.
28894
28895 Use this macro in conjunction with AX_STRINGS_STRCASECMP in your
28896 configure.in like so:
28897
28898 AX_STRING_STRCASECMP
28899 if test x"$ac_cv_string_strcasecmp" = "xno" ; then
28900 AX_STRINGS_STRCASECMP
28901 fi
28902
28903 This will cause either HAVE_STRING_STRCASECMP or HAVE_STRINGS_STRCASECMP
28904 to be defined in config.h, which will tell your code what header to
28905 include to get strcasecmp()'s prototype.
28906
28907 Source Code
28908 ***********
28909
28910 Download the latest version of 'ax_string_strcasecmp.m4'
28911 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_string_strcasecmp.m4)
28912 or browse the macro's revision history
28913 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_string_strcasecmp.m4).
28914
28915 License
28916 *******
28917
28918 Copyright (C) 2008 Warren Young <warren@etr-usa.com>
28919
28920 Copying and distribution of this file, with or without modification, are
28921 permitted in any medium without royalty provided the copyright notice
28922 and this notice are preserved. This file is offered as-is, without any
28923 warranty.
28924
28925 
28926 File: autoconf-archive.info, Node: ax_strings_strcasecmp, Next: ax_struct_semun, Prev: ax_string_strcasecmp, Up: The Macros
28927
28928 ax_strings_strcasecmp
28929 =====================
28930
28931 Synopsis
28932 ********
28933
28934 AX_STRINGS_STRCASECMP
28935
28936 Description
28937 ***********
28938
28939 This macro tries to find strcasecmp() in strings.h. See the
28940 AX_STRING_STRCASECMP macro's commentary for usage details.
28941
28942 Source Code
28943 ***********
28944
28945 Download the latest version of 'ax_strings_strcasecmp.m4'
28946 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_strings_strcasecmp.m4)
28947 or browse the macro's revision history
28948 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_strings_strcasecmp.m4).
28949
28950 License
28951 *******
28952
28953 Copyright (C) 2008 Warren Young <warren@etr-usa.com>
28954
28955 Copying and distribution of this file, with or without modification, are
28956 permitted in any medium without royalty provided the copyright notice
28957 and this notice are preserved. This file is offered as-is, without any
28958 warranty.
28959
28960 
28961 File: autoconf-archive.info, Node: ax_struct_semun, Next: ax_subdir_files, Prev: ax_strings_strcasecmp, Up: The Macros
28962
28963 ax_struct_semun
28964 ===============
28965
28966 Synopsis
28967 ********
28968
28969 AX_STRUCT_SEMUN
28970
28971 Description
28972 ***********
28973
28974 This macro checks to see if sys/sem.h defines struct semun. Some
28975 systems do, some systems don't. Your code must be able to deal with
28976 this possibility; if HAVE_STRUCT_SEMUM isn't defined for a given system,
28977 you have to define this structure before you can call functions like
28978 semctl().
28979
28980 You should call AX_SYSV_IPC before this macro, to separate the check for
28981 System V IPC headers from the check for struct semun.
28982
28983 Source Code
28984 ***********
28985
28986 Download the latest version of 'ax_struct_semun.m4'
28987 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_struct_semun.m4)
28988 or browse the macro's revision history
28989 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_struct_semun.m4).
28990
28991 License
28992 *******
28993
28994 Copyright (C) 2008 Warren Young <warren@etr-usa.com>
28995
28996 Copying and distribution of this file, with or without modification, are
28997 permitted in any medium without royalty provided the copyright notice
28998 and this notice are preserved. This file is offered as-is, without any
28999 warranty.
29000
29001 
29002 File: autoconf-archive.info, Node: ax_subdir_files, Next: ax_subdirs_configure, Prev: ax_struct_semun, Up: The Macros
29003
29004 ax_subdir_files
29005 ===============
29006
29007 Synopsis
29008 ********
29009
29010 AX_SUBDIR_FILES [(SUBDIRS [, CASEPATTERN])]
29011
29012 Description
29013 ***********
29014
29015 Look into subdirs and copy the (real) files that match pattern into the
29016 local directory. Preferably we use a symbolic link of course. existing
29017 local files are not overwritten.
29018
29019 The default casepattern is "*.?|*.cc|*.cpp", the default subdir-list
29020 contains all subdirs available.
29021
29022 Source Code
29023 ***********
29024
29025 Download the latest version of 'ax_subdir_files.m4'
29026 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_subdir_files.m4)
29027 or browse the macro's revision history
29028 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_subdir_files.m4).
29029
29030 License
29031 *******
29032
29033 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
29034
29035 Copying and distribution of this file, with or without modification, are
29036 permitted in any medium without royalty provided the copyright notice
29037 and this notice are preserved. This file is offered as-is, without any
29038 warranty.
29039
29040 
29041 File: autoconf-archive.info, Node: ax_subdirs_configure, Next: ax_subst_with, Prev: ax_subdir_files, Up: The Macros
29042
29043 ax_subdirs_configure
29044 ====================
29045
29046 Synopsis
29047 ********
29048
29049 AX_SUBDIRS_CONFIGURE( [subdirs], [mandatory arguments], [possibly merged arguments], [replacement arguments], [forbidden arguments])
29050
29051 Description
29052 ***********
29053
29054 AX_SUBDIRS_CONFIGURE attempts to be the equivalent of AC_CONFIG_SUBDIRS
29055 with customizable options for configure scripts.
29056
29057 Run the configure script for each directory from the comma-separated m4
29058 list 'subdirs'. This macro can be used multiple times. All arguments
29059 of this macro must be comma-separated lists.
29060
29061 All command line arguments from the parent configure script will be
29062 given to the subdirectory configure script after the following
29063 modifications (in that order):
29064
29065 1. The arguments from the 'mandatory arguments' list shall always be
29066 appended to the argument list.
29067
29068 2. The arguments from the 'possibly merged arguments' list shall be
29069 added if not present in the arguments of the parent configure script or
29070 merged with the existing argument otherwise.
29071
29072 3. The arguments from the 'replacement arguments' list shall be added
29073 if not present in the arguments of the parent configure script or
29074 replace the existing argument otherwise.
29075
29076 4. The arguments from the 'forbidden arguments' list shall always be
29077 removed from the argument list.
29078
29079 The lists 'mandatory arguments' and 'forbidden arguments' can hold any
29080 kind of argument. The 'possibly merged arguments' and 'replacement
29081 arguments' expect their arguments to be of the form -option-name=value.
29082
29083 This macro aims to remain as close as possible to the AC_CONFIG_SUBDIRS
29084 macro. It corrects the paths for '-cache-file' and '-srcdir' and adds
29085 '-disable-option-checking' and '-silent' if necessary.
29086
29087 This macro also sets the output variable subdirs_extra to the list of
29088 directories recorded with AX_SUBDIRS_CONFIGURE. This variable can be
29089 used in Makefile rules or substituted in configured files.
29090
29091 This macro shall do nothing more than managing the arguments of the
29092 configure script. Just like when using AC_CONFIG_SUBDIRS, it is up to
29093 the user to check any requirements or define and substitute any required
29094 variable for the remainder of the project.
29095
29096 Configure scripts recorded with AX_SUBDIRS_CONFIGURE may be executed
29097 before configure scripts recorded with AC_CONFIG_SUBDIRS.
29098
29099 Without additional arguments, the behaviour of AX_SUBDIRS_CONFIGURE
29100 should be identical to the behaviour of AC_CONFIG_SUBDIRS, apart from
29101 the contents of the variables subdirs and subdirs_extra (except that
29102 AX_SUBDIRS_CONFIGURE expects a comma-separated m4 list):
29103
29104 AC_CONFIG_SUBDIRS([something])
29105 AX_SUBDIRS_CONFIGURE([something])
29106
29107 This macro may be called multiple times.
29108
29109 Usage example:
29110
29111 Let us assume our project has 4 dependencies, namely A, B, C and D. Here
29112 are some characteristics of our project and its dependencies:
29113
29114 - A does not require any special option.
29115
29116 - we want to build B with an optional feature which can be enabled with
29117 its configure script's option '-enable-special-feature'.
29118
29119 - B's configure script is strange and has an option '-with-B=build'.
29120 After close inspection of its documentation, we don't want B to receive
29121 this option.
29122
29123 - C and D both need B.
29124
29125 - Just like our project, C and D can build B themselves with the option
29126 '-with-B=build'.
29127
29128 - We want C and D to use the B we build instead of building it
29129 themselves.
29130
29131 Our top-level configure script will be called as follows:
29132
29133 $ <path/to/configure> --with-A=build --with-B=build --with-C=build \
29134 --with-D=build --some-option
29135
29136 Thus we have to make sure that:
29137
29138 - neither B, C or D receive the option '-with-B=build'
29139
29140 - C and D know where to find the headers and libraries of B.
29141
29142 Under those conditions, we can use the AC_CONFIG_SUBDIRS macro for A,
29143 but need to use AX_SUBDIRS_CONFIGURE for B, C and D:
29144
29145 - B must receive '-enable-special-feature' but cannot receive
29146 '-with-B=build'
29147
29148 - C and D cannot receive '-with-B=build' (or else it would be built
29149 thrice) and need to be told where to find B (since we are building it,
29150 it would probably not be available in standard paths).
29151
29152 Here is a configure.ac snippet that solves our problem:
29153
29154 AC_CONFIG_SUBDIRS([dependencies/A])
29155 AX_SUBDIRS_CONFIGURE(
29156 [dependencies/B], [--enable-special-feature], [], [],
29157 [--with-B=build])
29158 AX_SUBDIRS_CONFIGURE(
29159 [[dependencies/C],[dependencies/D]],
29160 [],
29161 [[CPPFLAGS=-I${ac_top_srcdir}/dependencies/B -I${ac_top_builddir}/dependencies/B],
29162 [LDFLAGS=-L${ac_abs_top_builddir}/dependencies/B/.libs]],
29163 [--with-B=system],
29164 [])
29165
29166 If using automake, the following can be added to the Makefile.am (we use
29167 both $(subdirs) and $(subdirs_extra) since our example above used both
29168 AC_CONFIG_SUBDIRS and AX_SUBDIRS_CONFIGURE):
29169
29170 SUBDIRS = $(subdirs) $(subdirs_extra)
29171
29172 Source Code
29173 ***********
29174
29175 Download the latest version of 'ax_subdirs_configure.m4'
29176 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_subdirs_configure.m4)
29177 or browse the macro's revision history
29178 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_subdirs_configure.m4).
29179
29180 License
29181 *******
29182
29183 Copyright (C) 2017 Harenome Ranaivoarivony-Razanajato <ranaivoarivony-razanajato@hareno.me>
29184
29185 This program is free software; you can redistribute it and/or modify it
29186 under the terms of the GNU General Public License as published by the
29187 Free Software Foundation; either version 3 of the License, or (at your
29188 option) any later version.
29189
29190 This program is distributed in the hope that it will be useful, but
29191 WITHOUT ANY WARRANTY; without even the implied warranty of
29192 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
29193 Public License for more details.
29194
29195 Under Section 7 of GPL version 3, you are granted additional permissions
29196 described in the Autoconf Configure Script Exception, version 3.0, as
29197 published by the Free Software Foundation.
29198
29199 You should have received a copy of the GNU General Public License along
29200 with this program. If not, see <https://www.gnu.org/licenses/>.
29201
29202 
29203 File: autoconf-archive.info, Node: ax_subst_with, Next: ax_swig_enable_cxx, Prev: ax_subdirs_configure, Up: The Macros
29204
29205 ax_subst_with
29206 =============
29207
29208 Synopsis
29209 ********
29210
29211 AX_SUBST_WITH([varname])
29212
29213 Description
29214 ***********
29215
29216 a very simple macro but also very helpful - the varname is usually the
29217 one from an AC_ARG_ENABLE or AC_ARG_WITH option. it is transliterated
29218 into uppercase and a prefix WITH_ and WITHOUT_ that are both _SUBSTed.
29219
29220 Only one of these is set to "#" while the other is empty. In other
29221 words a call like AC_WITHNONE(enable-call) will create two SUBST-symbols
29222 as WITH_ENABLE_CALL and WITHOUT_ENABLE_CALL. When the varname had been
29223 set to something not "no" or "0" or ":" or "false" then it results in
29224
29225 WITH_ENABLE_CALL="" ; WITHOUT_ENABLE_CALL="#"
29226
29227 which you can use in your Makefile quite easily as if using an
29228 AM_CONDITIONAL but which can be also parsed by normal make
29229
29230 USE = @WITH_ENABLE_CALL@ -Denabled USE = @WITHOUT_ENABLE_CALL@
29231 -Dnot_enabled
29232
29233 Source Code
29234 ***********
29235
29236 Download the latest version of 'ax_subst_with.m4'
29237 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_subst_with.m4)
29238 or browse the macro's revision history
29239 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_subst_with.m4).
29240
29241 License
29242 *******
29243
29244 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
29245
29246 Copying and distribution of this file, with or without modification, are
29247 permitted in any medium without royalty provided the copyright notice
29248 and this notice are preserved. This file is offered as-is, without any
29249 warranty.
29250
29251 
29252 File: autoconf-archive.info, Node: ax_swig_enable_cxx, Next: ax_swig_multi_module_support, Prev: ax_subst_with, Up: The Macros
29253
29254 ax_swig_enable_cxx
29255 ==================
29256
29257 Synopsis
29258 ********
29259
29260 AX_SWIG_ENABLE_CXX
29261
29262 Description
29263 ***********
29264
29265 Enable SWIG C++ support. This affects all invocations of $(SWIG).
29266
29267 Source Code
29268 ***********
29269
29270 Download the latest version of 'ax_swig_enable_cxx.m4'
29271 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_swig_enable_cxx.m4)
29272 or browse the macro's revision history
29273 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_swig_enable_cxx.m4).
29274
29275 License
29276 *******
29277
29278 Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
29279 Copyright (C) 2008 Alan W. Irwin
29280 Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
29281 Copyright (C) 2008 Andrew Collier
29282
29283 This program is free software; you can redistribute it and/or modify it
29284 under the terms of the GNU General Public License as published by the
29285 Free Software Foundation; either version 2 of the License, or (at your
29286 option) any later version.
29287
29288 This program is distributed in the hope that it will be useful, but
29289 WITHOUT ANY WARRANTY; without even the implied warranty of
29290 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
29291 Public License for more details.
29292
29293 You should have received a copy of the GNU General Public License along
29294 with this program. If not, see <https://www.gnu.org/licenses/>.
29295
29296 As a special exception, the respective Autoconf Macro's copyright owner
29297 gives unlimited permission to copy, distribute and modify the configure
29298 scripts that are the output of Autoconf when processing the Macro. You
29299 need not follow the terms of the GNU General Public License when using
29300 or distributing such scripts, even though portions of the text of the
29301 Macro appear in them. The GNU General Public License (GPL) does govern
29302 all other use of the material that constitutes the Autoconf Macro.
29303
29304 This special exception to the GPL applies to versions of the Autoconf
29305 Macro released by the Autoconf Archive. When you make and distribute a
29306 modified version of the Autoconf Macro, you may extend this special
29307 exception to the GPL to apply to your modified version as well.
29308
29309 
29310 File: autoconf-archive.info, Node: ax_swig_multi_module_support, Next: ax_swig_python, Prev: ax_swig_enable_cxx, Up: The Macros
29311
29312 ax_swig_multi_module_support
29313 ============================
29314
29315 Synopsis
29316 ********
29317
29318 AX_SWIG_MULTI_MODULE_SUPPORT
29319
29320 Description
29321 ***********
29322
29323 Enable support for multiple modules. This effects all invocations of
29324 $(SWIG). You have to link all generated modules against the appropriate
29325 SWIG runtime library. If you want to build Python modules for example,
29326 use the AX_SWIG_PYTHON macro and link the modules against
29327 $(AX_SWIG_PYTHON_LIBS).
29328
29329 Source Code
29330 ***********
29331
29332 Download the latest version of 'ax_swig_multi_module_support.m4'
29333 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_swig_multi_module_support.m4)
29334 or browse the macro's revision history
29335 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_swig_multi_module_support.m4).
29336
29337 License
29338 *******
29339
29340 Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
29341 Copyright (C) 2008 Alan W. Irwin
29342 Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
29343 Copyright (C) 2008 Andrew Collier
29344
29345 This program is free software; you can redistribute it and/or modify it
29346 under the terms of the GNU General Public License as published by the
29347 Free Software Foundation; either version 2 of the License, or (at your
29348 option) any later version.
29349
29350 This program is distributed in the hope that it will be useful, but
29351 WITHOUT ANY WARRANTY; without even the implied warranty of
29352 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
29353 Public License for more details.
29354
29355 You should have received a copy of the GNU General Public License along
29356 with this program. If not, see <https://www.gnu.org/licenses/>.
29357
29358 As a special exception, the respective Autoconf Macro's copyright owner
29359 gives unlimited permission to copy, distribute and modify the configure
29360 scripts that are the output of Autoconf when processing the Macro. You
29361 need not follow the terms of the GNU General Public License when using
29362 or distributing such scripts, even though portions of the text of the
29363 Macro appear in them. The GNU General Public License (GPL) does govern
29364 all other use of the material that constitutes the Autoconf Macro.
29365
29366 This special exception to the GPL applies to versions of the Autoconf
29367 Macro released by the Autoconf Archive. When you make and distribute a
29368 modified version of the Autoconf Macro, you may extend this special
29369 exception to the GPL to apply to your modified version as well.
29370
29371 
29372 File: autoconf-archive.info, Node: ax_swig_python, Next: ax_switch_flags, Prev: ax_swig_multi_module_support, Up: The Macros
29373
29374 ax_swig_python
29375 ==============
29376
29377 Synopsis
29378 ********
29379
29380 AX_SWIG_PYTHON([use-shadow-classes = {no, yes}])
29381
29382 Description
29383 ***********
29384
29385 Checks for Python and provides the $(AX_SWIG_PYTHON_CPPFLAGS), and
29386 $(AX_SWIG_PYTHON_OPT) output variables.
29387
29388 $(AX_SWIG_PYTHON_OPT) contains all necessary SWIG options to generate
29389 code for Python. Shadow classes are enabled unless the value of the
29390 optional first argument is exactly 'no'. If you need multi module
29391 support (provided by the AX_SWIG_MULTI_MODULE_SUPPORT macro) use
29392 $(AX_SWIG_PYTHON_LIBS) to link against the appropriate library. It
29393 contains the SWIG Python runtime library that is needed by the type
29394 check system for example.
29395
29396 Source Code
29397 ***********
29398
29399 Download the latest version of 'ax_swig_python.m4'
29400 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_swig_python.m4)
29401 or browse the macro's revision history
29402 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_swig_python.m4).
29403
29404 License
29405 *******
29406
29407 Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
29408 Copyright (C) 2008 Alan W. Irwin
29409 Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
29410 Copyright (C) 2008 Andrew Collier
29411
29412 This program is free software; you can redistribute it and/or modify it
29413 under the terms of the GNU General Public License as published by the
29414 Free Software Foundation; either version 2 of the License, or (at your
29415 option) any later version.
29416
29417 This program is distributed in the hope that it will be useful, but
29418 WITHOUT ANY WARRANTY; without even the implied warranty of
29419 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
29420 Public License for more details.
29421
29422 You should have received a copy of the GNU General Public License along
29423 with this program. If not, see <https://www.gnu.org/licenses/>.
29424
29425 As a special exception, the respective Autoconf Macro's copyright owner
29426 gives unlimited permission to copy, distribute and modify the configure
29427 scripts that are the output of Autoconf when processing the Macro. You
29428 need not follow the terms of the GNU General Public License when using
29429 or distributing such scripts, even though portions of the text of the
29430 Macro appear in them. The GNU General Public License (GPL) does govern
29431 all other use of the material that constitutes the Autoconf Macro.
29432
29433 This special exception to the GPL applies to versions of the Autoconf
29434 Macro released by the Autoconf Archive. When you make and distribute a
29435 modified version of the Autoconf Macro, you may extend this special
29436 exception to the GPL to apply to your modified version as well.
29437
29438 
29439 File: autoconf-archive.info, Node: ax_switch_flags, Next: ax_sys_dev_poll, Prev: ax_swig_python, Up: The Macros
29440
29441 ax_switch_flags
29442 ===============
29443
29444 Synopsis
29445 ********
29446
29447 AX_SWITCH_FLAGS(newnamespace,[oldnamespace])
29448
29449 Description
29450 ***********
29451
29452 Switch common compilation flags from temporary variables between two
29453 compilation namespace.
29454
29455 Compilation flags includes: CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS, LIBS,
29456 OBJCFLAGS.
29457
29458 By default these flags are restored to a global (empty) namespace, but
29459 user could restore from specific NAMESPACE by using
29460 AX_RESTORE_FLAGS(NAMESPACE) macro.
29461
29462 Typical usage is like:
29463
29464 AX_SAVE_FLAGS(beginprogram)
29465 CPPFLAGS="-Imypackagespath ${CPPFLAGS}"
29466 AX_SWITCH_FLAGS(mypackage,beginprogram)
29467
29468 Source Code
29469 ***********
29470
29471 Download the latest version of 'ax_switch_flags.m4'
29472 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_switch_flags.m4)
29473 or browse the macro's revision history
29474 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_switch_flags.m4).
29475
29476 License
29477 *******
29478
29479 Copyright (C) 2009 Filippo Giunchedi <filippo@esaurito.net>
29480 Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University
29481
29482 Copyright (C) 2011 Russ Allbery <rra@stanford.edu>
29483 Copyright (C) 2013 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
29484
29485 Copying and distribution of this file, with or without modification, are
29486 permitted in any medium without royalty provided the copyright notice
29487 and this notice are preserved. This file is offered as-is, without any
29488 warranty.
29489
29490 
29491 File: autoconf-archive.info, Node: ax_sys_dev_poll, Next: ax_sys_largefile_sensitive, Prev: ax_switch_flags, Up: The Macros
29492
29493 ax_sys_dev_poll
29494 ===============
29495
29496 Synopsis
29497 ********
29498
29499 AX_SYS_DEV_POLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
29500
29501 Description
29502 ***********
29503
29504 This macro tests for the presence of /dev/poll support in the build
29505 environment. It checks that the needed structure (dvpoll) is available,
29506 with the standard fields. /dev/poll is most often seen under Solaris.
29507
29508 Note that it does not attempt to actually open /dev/poll - you should
29509 test for errors when you open it and then fall back to poll() if it is
29510 unavailable.
29511
29512 Source Code
29513 ***********
29514
29515 Download the latest version of 'ax_sys_dev_poll.m4'
29516 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_dev_poll.m4)
29517 or browse the macro's revision history
29518 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_dev_poll.m4).
29519
29520 License
29521 *******
29522
29523 Copyright (C) 2008 Dave Benson <daveb@ffem.org>
29524
29525 Copying and distribution of this file, with or without modification, are
29526 permitted in any medium without royalty provided the copyright notice
29527 and this notice are preserved. This file is offered as-is, without any
29528 warranty.
29529
29530 
29531 File: autoconf-archive.info, Node: ax_sys_largefile_sensitive, Next: ax_sys_perlsharpbang, Prev: ax_sys_dev_poll, Up: The Macros
29532
29533 ax_sys_largefile_sensitive
29534 ==========================
29535
29536 Synopsis
29537 ********
29538
29539 AX_SYS_LARGEFILE_SENSITIVE
29540
29541 Description
29542 ***********
29543
29544 Check whether the current system is sensitive to -Ddefines making off_t
29545 having different types/sizes. Automatically define a config.h symbol
29546 LARGEFILE_SENSITIVE if that is the case, otherwise leave everything as
29547 is.
29548
29549 This macro builds on top of AC_SYS_LARGEFILE to detect whether special
29550 options are needed to make the code use 64bit off_t - in many setups
29551 this will also make the code use 64bit off_t immediately.
29552
29553 The common use of a LARGEFILE_SENSITIVE config.h-define is to rename
29554 exported functions, usually adding a 64 to the original function name.
29555 Such renamings are only needed on systems being both (a) 32bit off_t by
29556 default and (b) implementing large.file extensions (as for unix98).
29557
29558 a renaming section could look like this:
29559
29560 #if defined LARGEFILE_SENSITIVE && _FILE_OFFSET_BITS+0 == 64
29561 #define zzip_open zzip_open64
29562 #define zzip_seek zzip_seek64
29563 #endif
29564
29565 for libraries, it is best to take advantage of the prefix-config.h
29566 macro, otherwise you want to export a renamed LARGEFILE_SENSITIVE in an
29567 installed header file. -> see AX_PREFIX_CONFIG_H
29568
29569 Source Code
29570 ***********
29571
29572 Download the latest version of 'ax_sys_largefile_sensitive.m4'
29573 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_largefile_sensitive.m4)
29574 or browse the macro's revision history
29575 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_largefile_sensitive.m4).
29576
29577 License
29578 *******
29579
29580 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
29581
29582 Copying and distribution of this file, with or without modification, are
29583 permitted in any medium without royalty provided the copyright notice
29584 and this notice are preserved. This file is offered as-is, without any
29585 warranty.
29586
29587 
29588 File: autoconf-archive.info, Node: ax_sys_perlsharpbang, Next: ax_sys_weak_alias, Prev: ax_sys_largefile_sensitive, Up: The Macros
29589
29590 ax_sys_perlsharpbang
29591 ====================
29592
29593 Synopsis
29594 ********
29595
29596 AX_SYS_PERLSHARPBANG
29597
29598 Description
29599 ***********
29600
29601 Determine how the perl interpreter is located by the OS kernel and make
29602 substitution variable PERL_SHEBANG available. Does AC_PATH_PROG to find
29603 the path to perl. As a side-effect, that sets PERLINTERP and makes it
29604 available as a substitution variable.
29605
29606 Note: The macro allows for the possibility (expected to be seldom used)
29607 of an explicit user override (the "user" being the operator executing
29608 the final 'configure' script, in this context) by making the option
29609 argument like:
29610
29611 --with-perl-shebang='#! /my/funky/perlpath' # OR
29612 --with-perl-shebang='/my/funky/perlpath' # we just throw away the #! anyway
29613 # bec it must be absent in Makefile
29614
29615 Rationale: The are various ways of starting an interpreter on different
29616 *nix-like systems. Many use the simple
29617
29618 #!/usr/bin/perl
29619
29620 but it could be instead
29621
29622 #!/usr/local/bin/perl
29623
29624 and there is even the possibility that the user wants
29625
29626 #!/usr/bin/env perl
29627
29628 to find whichever perl comes first in the current $PATH. This is
29629 preferred by some of us because we run multiple perl installations on
29630 the same box. Adjusting our $PATH then allows us to set precedence over
29631 other perls, even whatever the "house" version is.
29632
29633 Users on very non-unix systems like MS Windows do not have a kernel that
29634 does this kind of thing from the first line of script files, but instead
29635 the perl on their machine is started and merely notices whatever comes
29636 after the interpreter path on this first line of the script (options
29637 like "-w").
29638
29639 Acknowledgement: this macro was in part inspired by Dean Povey's
29640 AC_PROG_PERL_VERSION.
29641
29642 Source Code
29643 ***********
29644
29645 Download the latest version of 'ax_sys_perlsharpbang.m4'
29646 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_perlsharpbang.m4)
29647 or browse the macro's revision history
29648 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_perlsharpbang.m4).
29649
29650 License
29651 *******
29652
29653 Copyright (C) 2009 Soren Andersen <somian@pobox.com>
29654
29655 Copying and distribution of this file, with or without modification, are
29656 permitted in any medium without royalty provided the copyright notice
29657 and this notice are preserved. This file is offered as-is, without any
29658 warranty.
29659
29660 
29661 File: autoconf-archive.info, Node: ax_sys_weak_alias, Next: ax_sysv_ipc, Prev: ax_sys_perlsharpbang, Up: The Macros
29662
29663 ax_sys_weak_alias
29664 =================
29665
29666 Synopsis
29667 ********
29668
29669 AX_SYS_WEAK_ALIAS
29670
29671 Description
29672 ***********
29673
29674 Determines whether weak aliases are supported on the system, and if so,
29675 what scheme is used to declare them. Also checks to see if aliases can
29676 cross object file boundaries, as some systems don't permit them to.
29677
29678 Most systems permit something called a "weak alias" or "weak symbol."
29679 These aliases permit a library to provide a stub form of a routine
29680 defined in another library, thus allowing the first library to operate
29681 even if the other library is not linked. This macro will check for
29682 support of weak aliases, figure out what schemes are available, and
29683 determine some characteristics of the weak alias support - primarily,
29684 whether a weak alias declared in one object file may be referenced from
29685 another object file.
29686
29687 There are four known schemes of declaring weak symbols; each scheme is
29688 checked in turn, and the first one found is preferred. Note that only
29689 one of the mentioned preprocessor macros will be defined!
29690
29691 1. Function attributes
29692
29693 This scheme was first introduced by the GNU C compiler, and attaches
29694 attributes to particular functions. It is among the easiest to use, and
29695 so is the first one checked. If this scheme is detected, the
29696 preprocessor macro HAVE_SYS_WEAK_ALIAS_ATTRIBUTE will be defined to 1.
29697 This scheme is used as in the following code fragment:
29698
29699 void __weakf(int c)
29700 {
29701 /* Function definition... */
29702 }
29703
29704 void weakf(int c) __attribute__((weak, alias("__weakf")));
29705
29706 2. #pragma weak
29707
29708 This scheme is in use by many compilers other than the GNU C compiler.
29709 It is also particularly easy to use, and fairly portable - well, as
29710 portable as these things get. If this scheme is detected first, the
29711 preprocessor macro HAVE_SYS_WEAK_ALIAS_PRAGMA will be defined to 1.
29712 This scheme is used as in the following code fragment:
29713
29714 extern void weakf(int c);
29715 #pragma weak weakf = __weakf
29716 void __weakf(int c)
29717 {
29718 /* Function definition... */
29719 }
29720
29721 3. #pragma _HP_SECONDARY_DEF
29722
29723 This scheme appears to be in use by the HP compiler. As it is rather
29724 specialized, this is one of the last schemes checked. If it is the
29725 first one detected, the preprocessor macro
29726 HAVE_SYS_WEAK_ALIAS_HPSECONDARY will be defined to 1. This scheme is
29727 used as in the following code fragment:
29728
29729 extern void weakf(int c);
29730 #pragma _HP_SECONDARY_DEF __weakf weakf
29731 void __weakf(int c)
29732 {
29733 /* Function definition... */
29734 }
29735
29736 4. #pragma _CRI duplicate
29737
29738 This scheme appears to be in use by the Cray compiler. As it is rather
29739 specialized, it too is one of the last schemes checked. If it is the
29740 first one detected, the preprocessor macro
29741 HAVE_SYS_WEAK_ALIAS_CRIDUPLICATE will be defined to 1. This scheme is
29742 used as in the following code fragment:
29743
29744 extern void weakf(int c);
29745 #pragma _CRI duplicate weakf as __weakf
29746 void __weakf(int c)
29747 {
29748 /* Function definition... */
29749 }
29750
29751 In addition to the preprocessor macros listed above, if any scheme is
29752 found, the preprocessor macro HAVE_SYS_WEAK_ALIAS will also be defined
29753 to 1.
29754
29755 Once a weak aliasing scheme has been found, a check will be performed to
29756 see if weak aliases are honored across object file boundaries. If they
29757 are, the HAVE_SYS_WEAK_ALIAS_CROSSFILE preprocessor macro is defined to
29758 1.
29759
29760 This Autoconf macro also makes two substitutions. The first,
29761 WEAK_ALIAS, contains the name of the scheme found (one of "attribute",
29762 "pragma", "hpsecondary", or "criduplicate"), or "no" if no weak aliasing
29763 scheme was found. The second, WEAK_ALIAS_CROSSFILE, is set to "yes" or
29764 "no" depending on whether or not weak aliases may cross object file
29765 boundaries.
29766
29767 Source Code
29768 ***********
29769
29770 Download the latest version of 'ax_sys_weak_alias.m4'
29771 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_weak_alias.m4)
29772 or browse the macro's revision history
29773 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_weak_alias.m4).
29774
29775 License
29776 *******
29777
29778 Copyright (C) 2008 Kevin L. Mitchell <klmitch@mit.edu>
29779
29780 Copying and distribution of this file, with or without modification, are
29781 permitted in any medium without royalty provided the copyright notice
29782 and this notice are preserved. This file is offered as-is, without any
29783 warranty.
29784
29785 
29786 File: autoconf-archive.info, Node: ax_sysv_ipc, Next: ax_tls, Prev: ax_sys_weak_alias, Up: The Macros
29787
29788 ax_sysv_ipc
29789 ===========
29790
29791 Synopsis
29792 ********
29793
29794 AX_SYSV_IPC
29795
29796 Description
29797 ***********
29798
29799 This macro checks for the SysV IPC header files. It only checks that
29800 you can compile a program with them, not whether the system actually
29801 implements working SysV IPC.
29802
29803 Source Code
29804 ***********
29805
29806 Download the latest version of 'ax_sysv_ipc.m4'
29807 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sysv_ipc.m4)
29808 or browse the macro's revision history
29809 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sysv_ipc.m4).
29810
29811 License
29812 *******
29813
29814 Copyright (C) 2008 Warren Young <warren@etr-usa.com>
29815
29816 Copying and distribution of this file, with or without modification, are
29817 permitted in any medium without royalty provided the copyright notice
29818 and this notice are preserved. This file is offered as-is, without any
29819 warranty.
29820
29821 
29822 File: autoconf-archive.info, Node: ax_tls, Next: ax_trilinos_amesos, Prev: ax_sysv_ipc, Up: The Macros
29823
29824 ax_tls
29825 ======
29826
29827 Synopsis
29828 ********
29829
29830 AX_TLS([action-if-found], [action-if-not-found])
29831
29832 Description
29833 ***********
29834
29835 Provides a test for the compiler support of thread local storage (TLS)
29836 extensions. Defines TLS if it is found. Currently knows about C++11,
29837 GCC/ICC, and MSVC. I think SunPro uses the same as GCC, and Borland
29838 apparently supports either.
29839
29840 Source Code
29841 ***********
29842
29843 Download the latest version of 'ax_tls.m4'
29844 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_tls.m4)
29845 or browse the macro's revision history
29846 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_tls.m4).
29847
29848 License
29849 *******
29850
29851 Copyright (C) 2008 Alan Woodland <ajw05@aber.ac.uk>
29852 Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
29853
29854 This program is free software: you can redistribute it and/or modify it
29855 under the terms of the GNU General Public License as published by the
29856 Free Software Foundation, either version 3 of the License, or (at your
29857 option) any later version.
29858
29859 This program is distributed in the hope that it will be useful, but
29860 WITHOUT ANY WARRANTY; without even the implied warranty of
29861 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
29862 Public License for more details.
29863
29864 You should have received a copy of the GNU General Public License along
29865 with this program. If not, see <https://www.gnu.org/licenses/>.
29866
29867 As a special exception, the respective Autoconf Macro's copyright owner
29868 gives unlimited permission to copy, distribute and modify the configure
29869 scripts that are the output of Autoconf when processing the Macro. You
29870 need not follow the terms of the GNU General Public License when using
29871 or distributing such scripts, even though portions of the text of the
29872 Macro appear in them. The GNU General Public License (GPL) does govern
29873 all other use of the material that constitutes the Autoconf Macro.
29874
29875 This special exception to the GPL applies to versions of the Autoconf
29876 Macro released by the Autoconf Archive. When you make and distribute a
29877 modified version of the Autoconf Macro, you may extend this special
29878 exception to the GPL to apply to your modified version as well.
29879
29880 
29881 File: autoconf-archive.info, Node: ax_trilinos_amesos, Next: ax_trilinos_base, Prev: ax_tls, Up: The Macros
29882
29883 ax_trilinos_amesos
29884 ==================
29885
29886 Synopsis
29887 ********
29888
29889 AX_TRILINOS_AMESOS([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
29890
29891 Description
29892 ***********
29893
29894 On success, adds "include Makefile.export.amesos" statements to every
29895 Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
29896 configured with the -enable-export-makefiles option. When
29897 ACTION-IF-NOT-FOUND is not specified, the default behavior is for
29898 configure to fail.
29899
29900 Source Code
29901 ***********
29902
29903 Download the latest version of 'ax_trilinos_amesos.m4'
29904 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_amesos.m4)
29905 or browse the macro's revision history
29906 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_amesos.m4).
29907
29908 License
29909 *******
29910
29911 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
29912
29913 Copying and distribution of this file, with or without modification, are
29914 permitted in any medium without royalty provided the copyright notice
29915 and this notice are preserved. This file is offered as-is, without any
29916 warranty.
29917
29918 
29919 File: autoconf-archive.info, Node: ax_trilinos_base, Next: ax_trilinos_epetra, Prev: ax_trilinos_amesos, Up: The Macros
29920
29921 ax_trilinos_base
29922 ================
29923
29924 Synopsis
29925 ********
29926
29927 AX_TRILINOS_BASE([, MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
29928
29929 Description
29930 ***********
29931
29932 Test for the Trilinos (http://trilinos.sandia.gov/) libraries.
29933
29934 Provides a -with-trilinos=DIR option. Searches -with-trilinos,
29935 $TRILINOS_HOME, and the usual places for Trilinos installation headers.
29936
29937 Requires that a development branch or released version greater than
29938 MINIMUM-VERSION be found. If not specified, the default minimum version
29939 is 8.0.0.
29940
29941 Supports separately specifying -with-trilinos-include or
29942 -with-trilinos-libdir to override default locations underneath either
29943 -with-trilinos or $TRILINOS_HOME.
29944
29945 On success, adds -Ipath to CPPFLAGS, -Lpath to LDFLAGS, sets the
29946 variable TRILINOS_INCLUDE based on the discovered location of
29947 Trilinos_version.h, and #defines HAVE_TRILINOS. When ACTION-IF-NOT-FOUND
29948 is not specified, the default behavior is for configure to fail.
29949
29950 Source Code
29951 ***********
29952
29953 Download the latest version of 'ax_trilinos_base.m4'
29954 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_base.m4)
29955 or browse the macro's revision history
29956 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_base.m4).
29957
29958 License
29959 *******
29960
29961 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
29962 Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
29963 Copyright (C) 2009 Caolan McNamara <caolan@skynet.ie>
29964 Copyright (C) 2009 Alexandre Duret-Lutz <adl@gnu.org>
29965 Copyright (C) 2009 Matthew Mueller <donut@azstarnet.com>
29966
29967 Copying and distribution of this file, with or without modification, are
29968 permitted in any medium without royalty provided the copyright notice
29969 and this notice are preserved. This file is offered as-is, without any
29970 warranty.
29971
29972 
29973 File: autoconf-archive.info, Node: ax_trilinos_epetra, Next: ax_trilinos_epetraext, Prev: ax_trilinos_base, Up: The Macros
29974
29975 ax_trilinos_epetra
29976 ==================
29977
29978 Synopsis
29979 ********
29980
29981 AX_TRILINOS_EPETRA([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
29982
29983 Description
29984 ***********
29985
29986 On success, adds "include Makefile.export.epetra" statements to every
29987 Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
29988 configured with the -enable-export-makefiles option. When
29989 ACTION-IF-NOT-FOUND is not specified, the default behavior is for
29990 configure to fail.
29991
29992 Source Code
29993 ***********
29994
29995 Download the latest version of 'ax_trilinos_epetra.m4'
29996 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_epetra.m4)
29997 or browse the macro's revision history
29998 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_epetra.m4).
29999
30000 License
30001 *******
30002
30003 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30004
30005 Copying and distribution of this file, with or without modification, are
30006 permitted in any medium without royalty provided the copyright notice
30007 and this notice are preserved. This file is offered as-is, without any
30008 warranty.
30009
30010 
30011 File: autoconf-archive.info, Node: ax_trilinos_epetraext, Next: ax_trilinos_epetraext_hdf5, Prev: ax_trilinos_epetra, Up: The Macros
30012
30013 ax_trilinos_epetraext
30014 =====================
30015
30016 Synopsis
30017 ********
30018
30019 AX_TRILINOS_EPETRAEXT([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30020
30021 Description
30022 ***********
30023
30024 On success, adds "include Makefile.export.epetraext" statements to every
30025 Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
30026 configured with the -enable-export-makefiles option. When
30027 ACTION-IF-NOT-FOUND is not specified, the default behavior is for
30028 configure to fail.
30029
30030 Source Code
30031 ***********
30032
30033 Download the latest version of 'ax_trilinos_epetraext.m4'
30034 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_epetraext.m4)
30035 or browse the macro's revision history
30036 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_epetraext.m4).
30037
30038 License
30039 *******
30040
30041 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30042
30043 Copying and distribution of this file, with or without modification, are
30044 permitted in any medium without royalty provided the copyright notice
30045 and this notice are preserved. This file is offered as-is, without any
30046 warranty.
30047
30048 
30049 File: autoconf-archive.info, Node: ax_trilinos_epetraext_hdf5, Next: ax_trilinos_rtop, Prev: ax_trilinos_epetraext, Up: The Macros
30050
30051 ax_trilinos_epetraext_hdf5
30052 ==========================
30053
30054 Synopsis
30055 ********
30056
30057 AX_TRILINOS_EPETRAEXT_HDF5([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30058
30059 Description
30060 ***********
30061
30062 Checks if EpetraExt was compiled with HDF5 support
30063 (-enable-epetraext-hdf5) enabled. When ACTION-IF-NOT-FOUND is not
30064 specified, the default behavior is for configure to fail.
30065
30066 Source Code
30067 ***********
30068
30069 Download the latest version of 'ax_trilinos_epetraext_hdf5.m4'
30070 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_epetraext_hdf5.m4)
30071 or browse the macro's revision history
30072 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_epetraext_hdf5.m4).
30073
30074 License
30075 *******
30076
30077 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30078
30079 Copying and distribution of this file, with or without modification, are
30080 permitted in any medium without royalty provided the copyright notice
30081 and this notice are preserved. This file is offered as-is, without any
30082 warranty.
30083
30084 
30085 File: autoconf-archive.info, Node: ax_trilinos_rtop, Next: ax_trilinos_rythmos, Prev: ax_trilinos_epetraext_hdf5, Up: The Macros
30086
30087 ax_trilinos_rtop
30088 ================
30089
30090 Synopsis
30091 ********
30092
30093 AX_TRILINOS_RTOP([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30094
30095 Description
30096 ***********
30097
30098 On success, adds "include Makefile.export.rtop" statements to every
30099 Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
30100 configured with the -enable-export-makefiles option. When
30101 ACTION-IF-NOT-FOUND is not specified, the default behavior is for
30102 configure to fail.
30103
30104 Source Code
30105 ***********
30106
30107 Download the latest version of 'ax_trilinos_rtop.m4'
30108 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_rtop.m4)
30109 or browse the macro's revision history
30110 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_rtop.m4).
30111
30112 License
30113 *******
30114
30115 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30116
30117 Copying and distribution of this file, with or without modification, are
30118 permitted in any medium without royalty provided the copyright notice
30119 and this notice are preserved. This file is offered as-is, without any
30120 warranty.
30121
30122 
30123 File: autoconf-archive.info, Node: ax_trilinos_rythmos, Next: ax_trilinos_teuchos, Prev: ax_trilinos_rtop, Up: The Macros
30124
30125 ax_trilinos_rythmos
30126 ===================
30127
30128 Synopsis
30129 ********
30130
30131 AX_TRILINOS_RYTHMOS([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30132
30133 Description
30134 ***********
30135
30136 On success, adds "include Makefile.export.rythmos" statements to every
30137 Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
30138 configured with the -enable-export-makefiles option. When
30139 ACTION-IF-NOT-FOUND is not specified, the default behavior is for
30140 configure to fail.
30141
30142 Source Code
30143 ***********
30144
30145 Download the latest version of 'ax_trilinos_rythmos.m4'
30146 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_rythmos.m4)
30147 or browse the macro's revision history
30148 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_rythmos.m4).
30149
30150 License
30151 *******
30152
30153 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30154
30155 Copying and distribution of this file, with or without modification, are
30156 permitted in any medium without royalty provided the copyright notice
30157 and this notice are preserved. This file is offered as-is, without any
30158 warranty.
30159
30160 
30161 File: autoconf-archive.info, Node: ax_trilinos_teuchos, Next: ax_trilinos_thyra, Prev: ax_trilinos_rythmos, Up: The Macros
30162
30163 ax_trilinos_teuchos
30164 ===================
30165
30166 Synopsis
30167 ********
30168
30169 AX_TRILINOS_TEUCHOS([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30170
30171 Description
30172 ***********
30173
30174 On success, adds "include Makefile.export.teuchos" statements to every
30175 Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
30176 configured with the -enable-export-makefiles option.
30177
30178 When ACTION-IF-NOT-FOUND is not specified, the default behavior is for
30179 configure to fail.
30180
30181 Source Code
30182 ***********
30183
30184 Download the latest version of 'ax_trilinos_teuchos.m4'
30185 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_teuchos.m4)
30186 or browse the macro's revision history
30187 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_teuchos.m4).
30188
30189 License
30190 *******
30191
30192 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30193
30194 Copying and distribution of this file, with or without modification, are
30195 permitted in any medium without royalty provided the copyright notice
30196 and this notice are preserved. This file is offered as-is, without any
30197 warranty.
30198
30199 
30200 File: autoconf-archive.info, Node: ax_trilinos_thyra, Next: ax_trilinos_thyra_epetra, Prev: ax_trilinos_teuchos, Up: The Macros
30201
30202 ax_trilinos_thyra
30203 =================
30204
30205 Synopsis
30206 ********
30207
30208 AX_TRILINOS_THYRA([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30209
30210 Description
30211 ***********
30212
30213 On success, adds "include Makefile.export.thyra" statements to every
30214 Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
30215 configured with the -enable-export-makefiles option. When
30216 ACTION-IF-NOT-FOUND is not specified, the default behavior is for
30217 configure to fail.
30218
30219 Source Code
30220 ***********
30221
30222 Download the latest version of 'ax_trilinos_thyra.m4'
30223 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_thyra.m4)
30224 or browse the macro's revision history
30225 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_thyra.m4).
30226
30227 License
30228 *******
30229
30230 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30231
30232 Copying and distribution of this file, with or without modification, are
30233 permitted in any medium without royalty provided the copyright notice
30234 and this notice are preserved. This file is offered as-is, without any
30235 warranty.
30236
30237 
30238 File: autoconf-archive.info, Node: ax_trilinos_thyra_epetra, Next: ax_trilinos_thyra_epetraext, Prev: ax_trilinos_thyra, Up: The Macros
30239
30240 ax_trilinos_thyra_epetra
30241 ========================
30242
30243 Synopsis
30244 ********
30245
30246 AX_TRILINOS_THYRA_EPETRA([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30247
30248 Description
30249 ***********
30250
30251 Checks if the Thyra/Epetra adapters were compiled with Trilinos. When
30252 ACTION-IF-NOT-FOUND is not specified, the default behavior is for
30253 configure to fail.
30254
30255 Source Code
30256 ***********
30257
30258 Download the latest version of 'ax_trilinos_thyra_epetra.m4'
30259 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_thyra_epetra.m4)
30260 or browse the macro's revision history
30261 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_thyra_epetra.m4).
30262
30263 License
30264 *******
30265
30266 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30267
30268 Copying and distribution of this file, with or without modification, are
30269 permitted in any medium without royalty provided the copyright notice
30270 and this notice are preserved. This file is offered as-is, without any
30271 warranty.
30272
30273 
30274 File: autoconf-archive.info, Node: ax_trilinos_thyra_epetraext, Next: ax_try_awk_anyout, Prev: ax_trilinos_thyra_epetra, Up: The Macros
30275
30276 ax_trilinos_thyra_epetraext
30277 ===========================
30278
30279 Synopsis
30280 ********
30281
30282 AX_TRILINOS_THYRA_EPETRAEXT([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30283
30284 Description
30285 ***********
30286
30287 Checks if the Thyra/EpetraExt adapters were compiled with Trilinos.
30288 When ACTION-IF-NOT-FOUND is not specified, the default behavior is for
30289 configure to fail.
30290
30291 Source Code
30292 ***********
30293
30294 Download the latest version of 'ax_trilinos_thyra_epetraext.m4'
30295 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_thyra_epetraext.m4)
30296 or browse the macro's revision history
30297 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_thyra_epetraext.m4).
30298
30299 License
30300 *******
30301
30302 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30303
30304 Copying and distribution of this file, with or without modification, are
30305 permitted in any medium without royalty provided the copyright notice
30306 and this notice are preserved. This file is offered as-is, without any
30307 warranty.
30308
30309 
30310 File: autoconf-archive.info, Node: ax_try_awk_anyout, Next: ax_try_awk_expout, Prev: ax_trilinos_thyra_epetraext, Up: The Macros
30311
30312 ax_try_awk_anyout
30313 =================
30314
30315 Synopsis
30316 ********
30317
30318 AX_TRY_AWK_ANYOUT(NAME,TEST-INPUT,TEST-BODY,[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
30319
30320 Description
30321 ***********
30322
30323 Run a test using the awk program found on AWK variable. The test being
30324 run has TEST-BODY as body and is feeded with TEST-INPUT. If successful
30325 execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE
30326
30327 This work is heavily based upon testawk.sh script by Heiner Steven. You
30328 should find his script (and related works) at
30329 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
30330 Alessandro Massignan for his suggestions and extensive nawk tests on
30331 FreeBSD.
30332
30333 Source Code
30334 ***********
30335
30336 Download the latest version of 'ax_try_awk_anyout.m4'
30337 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_awk_anyout.m4)
30338 or browse the macro's revision history
30339 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_awk_anyout.m4).
30340
30341 License
30342 *******
30343
30344 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
30345
30346 Copying and distribution of this file, with or without modification, are
30347 permitted in any medium without royalty provided the copyright notice
30348 and this notice are preserved. This file is offered as-is, without any
30349 warranty.
30350
30351 
30352 File: autoconf-archive.info, Node: ax_try_awk_expout, Next: ax_try_compile_java, Prev: ax_try_awk_anyout, Up: The Macros
30353
30354 ax_try_awk_expout
30355 =================
30356
30357 Synopsis
30358 ********
30359
30360 AX_TRY_AWK_EXPOUT(NAME,TEST-INPUT,TEST-BODY,EXPECTED-OUTPUT,[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
30361
30362 Description
30363 ***********
30364
30365 Run a test using the awk program found on AWK variable. The test being
30366 run has TEST-BODY as body and is feeded with TEST-INPUT. Check if the
30367 test gives the expected output. If successful execute ACTION-IF-SUCCESS
30368 otherwise ACTION-IF-FAILURE.
30369
30370 This work is heavily based upon testawk.sh script by Heiner Steven. You
30371 should find his script (and related works) at
30372 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
30373 Alessandro Massignan for his suggestions and extensive nawk tests on
30374 FreeBSD.
30375
30376 Source Code
30377 ***********
30378
30379 Download the latest version of 'ax_try_awk_expout.m4'
30380 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_awk_expout.m4)
30381 or browse the macro's revision history
30382 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_awk_expout.m4).
30383
30384 License
30385 *******
30386
30387 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
30388
30389 Copying and distribution of this file, with or without modification, are
30390 permitted in any medium without royalty provided the copyright notice
30391 and this notice are preserved. This file is offered as-is, without any
30392 warranty.
30393
30394 
30395 File: autoconf-archive.info, Node: ax_try_compile_java, Next: ax_try_run_java, Prev: ax_try_awk_expout, Up: The Macros
30396
30397 ax_try_compile_java
30398 ===================
30399
30400 Synopsis
30401 ********
30402
30403 AX_TRY_COMPILE_JAVA
30404
30405 Description
30406 ***********
30407
30408 AX_TRY_COMPILE_JAVA attempt to compile user given source.
30409
30410 *Warning*: its success or failure can depend on a proper setting of the
30411 CLASSPATH env. variable.
30412
30413 Note: This is part of the set of autoconf M4 macros for Java programs.
30414 It is VERY IMPORTANT that you download the whole set, some macros depend
30415 on other. Unfortunately, the autoconf archive does not support the
30416 concept of set of macros, so I had to break it for submission. The
30417 general documentation, as well as the sample configure.in, is included
30418 in the AX_PROG_JAVA macro.
30419
30420 Source Code
30421 ***********
30422
30423 Download the latest version of 'ax_try_compile_java.m4'
30424 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_compile_java.m4)
30425 or browse the macro's revision history
30426 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_compile_java.m4).
30427
30428 License
30429 *******
30430
30431 Copyright (C) 2008 Devin Weaver <ktohg@tritarget.com>
30432
30433 Copying and distribution of this file, with or without modification, are
30434 permitted in any medium without royalty provided the copyright notice
30435 and this notice are preserved. This file is offered as-is, without any
30436 warranty.
30437
30438 
30439 File: autoconf-archive.info, Node: ax_try_run_java, Next: ax_type_socklen_t, Prev: ax_try_compile_java, Up: The Macros
30440
30441 ax_try_run_java
30442 ===============
30443
30444 Synopsis
30445 ********
30446
30447 AX_TRY_RUN_JAVA
30448
30449 Description
30450 ***********
30451
30452 AX_TRY_RUN_JAVA attempt to compile and run user given source.
30453
30454 *Warning*: its success or failure can depend on a proper setting of the
30455 CLASSPATH env. variable.
30456
30457 Note: This is part of the set of autoconf M4 macros for Java programs.
30458 It is VERY IMPORTANT that you download the whole set, some macros depend
30459 on other. Unfortunately, the autoconf archive does not support the
30460 concept of set of macros, so I had to break it for submission. The
30461 general documentation, as well as the sample configure.in, is included
30462 in the AX_PROG_JAVA macro.
30463
30464 Source Code
30465 ***********
30466
30467 Download the latest version of 'ax_try_run_java.m4'
30468 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_run_java.m4)
30469 or browse the macro's revision history
30470 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_run_java.m4).
30471
30472 License
30473 *******
30474
30475 Copyright (C) 2008 Devin Weaver <ktohg@tritarget.com>
30476
30477 Copying and distribution of this file, with or without modification, are
30478 permitted in any medium without royalty provided the copyright notice
30479 and this notice are preserved. This file is offered as-is, without any
30480 warranty.
30481
30482 
30483 File: autoconf-archive.info, Node: ax_type_socklen_t, Next: ax_upload, Prev: ax_try_run_java, Up: The Macros
30484
30485 ax_type_socklen_t
30486 =================
30487
30488 Synopsis
30489 ********
30490
30491 AX_TYPE_SOCKLEN_T
30492
30493 Description
30494 ***********
30495
30496 Check whether sys/socket.h defines type socklen_t. Please note that
30497 some systems require sys/types.h to be included before sys/socket.h can
30498 be compiled.
30499
30500 Source Code
30501 ***********
30502
30503 Download the latest version of 'ax_type_socklen_t.m4'
30504 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_type_socklen_t.m4)
30505 or browse the macro's revision history
30506 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_type_socklen_t.m4).
30507
30508 License
30509 *******
30510
30511 Copyright (C) 2008 Lars Brinkhoff <lars@nocrew.org>
30512
30513 This program is free software; you can redistribute it and/or modify it
30514 under the terms of the GNU General Public License as published by the
30515 Free Software Foundation; either version 2 of the License, or (at your
30516 option) any later version.
30517
30518 This program is distributed in the hope that it will be useful, but
30519 WITHOUT ANY WARRANTY; without even the implied warranty of
30520 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
30521 Public License for more details.
30522
30523 You should have received a copy of the GNU General Public License along
30524 with this program. If not, see <https://www.gnu.org/licenses/>.
30525
30526 As a special exception, the respective Autoconf Macro's copyright owner
30527 gives unlimited permission to copy, distribute and modify the configure
30528 scripts that are the output of Autoconf when processing the Macro. You
30529 need not follow the terms of the GNU General Public License when using
30530 or distributing such scripts, even though portions of the text of the
30531 Macro appear in them. The GNU General Public License (GPL) does govern
30532 all other use of the material that constitutes the Autoconf Macro.
30533
30534 This special exception to the GPL applies to versions of the Autoconf
30535 Macro released by the Autoconf Archive. When you make and distribute a
30536 modified version of the Autoconf Macro, you may extend this special
30537 exception to the GPL to apply to your modified version as well.
30538
30539 
30540 File: autoconf-archive.info, Node: ax_upload, Next: ax_valgrind_check, Prev: ax_type_socklen_t, Up: The Macros
30541
30542 ax_upload
30543 =========
30544
30545 Synopsis
30546 ********
30547
30548 AX_UPLOAD([command])
30549
30550 Description
30551 ***********
30552
30553 Adds support for uploading dist files. %%s in the command will be
30554 substituted with the name of the file. e.g:
30555
30556 AX_UPLOAD([ncftpput -v upload.sourceforge.net /incoming %%s])
30557
30558 To add upload support for other custom dists add upload-<TYPE> to
30559 UPLOAD_BIN or UPLOAD_SRC, where <TYPE> is the type of dist that is being
30560 uploaded and add a mapping from <TYPE> to the dist file name in the
30561 format '{<TYPE>=><FILENAME>}' to UPLOAD_TARGETS. For example:
30562
30563 UPLOAD_BIN += upload-foobar
30564 UPLOAD_TARGETS += {foobar=>@PACKAGE@-@VERSION@.fb}
30565
30566 You can then upload of the src distribution files by running:
30567
30568 make upload-src
30569
30570 all the binary distribution files by running:
30571
30572 make upload-bin
30573
30574 or both by running:
30575
30576 make upload
30577
30578 Source Code
30579 ***********
30580
30581 Download the latest version of 'ax_upload.m4'
30582 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_upload.m4)
30583 or browse the macro's revision history
30584 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_upload.m4).
30585
30586 License
30587 *******
30588
30589 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
30590
30591 Copying and distribution of this file, with or without modification, are
30592 permitted in any medium without royalty provided the copyright notice
30593 and this notice are preserved. This file is offered as-is, without any
30594 warranty.
30595
30596 
30597 File: autoconf-archive.info, Node: ax_valgrind_check, Next: ax_var_pop, Prev: ax_upload, Up: The Macros
30598
30599 ax_valgrind_check
30600 =================
30601
30602 Synopsis
30603 ********
30604
30605 AX_VALGRIND_DFLT(memcheck|helgrind|drd|sgcheck, on|off)
30606 AX_VALGRIND_CHECK()
30607
30608 Description
30609 ***********
30610
30611 AX_VALGRIND_CHECK checks whether Valgrind is present and, if so, allows
30612 running 'make check' under a variety of Valgrind tools to check for
30613 memory and threading errors.
30614
30615 Defines VALGRIND_CHECK_RULES which should be substituted in your
30616 Makefile; and $enable_valgrind which can be used in subsequent configure
30617 output. VALGRIND_ENABLED is defined and substituted, and corresponds to
30618 the value of the -enable-valgrind option, which defaults to being
30619 enabled if Valgrind is installed and disabled otherwise. Individual
30620 Valgrind tools can be disabled via -disable-valgrind-<tool>, the default
30621 is configurable via the AX_VALGRIND_DFLT command or is to use all
30622 commands not disabled via AX_VALGRIND_DFLT. All AX_VALGRIND_DFLT calls
30623 must be made before the call to AX_VALGRIND_CHECK.
30624
30625 If unit tests are written using a shell script and automake's
30626 LOG_COMPILER system, the $(VALGRIND) variable can be used within the
30627 shell scripts to enable Valgrind, as described here:
30628
30629 https://www.gnu.org/software/gnulib/manual/html_node/Running-self_002dtests-under-valgrind.html
30630
30631 Usage example:
30632
30633 configure.ac:
30634
30635 AX_VALGRIND_DFLT([sgcheck], [off])
30636 AX_VALGRIND_CHECK
30637
30638 in each Makefile.am with tests:
30639
30640 @VALGRIND_CHECK_RULES@
30641 VALGRIND_SUPPRESSIONS_FILES = my-project.supp
30642 EXTRA_DIST = my-project.supp
30643
30644 This results in a "check-valgrind" rule being added. Running 'make
30645 check-valgrind' in that directory will recursively run the module's test
30646 suite ('make check') once for each of the available Valgrind tools (out
30647 of memcheck, helgrind and drd) while the sgcheck will be skipped unless
30648 enabled again on the commandline with -enable-valgrind-sgcheck. The
30649 results for each check will be output to test-suite-$toolname.log. The
30650 target will succeed if there are zero errors and fail otherwise.
30651
30652 Alternatively, a "check-valgrind-$TOOL" rule will be added, for $TOOL in
30653 memcheck, helgrind, drd and sgcheck. These are useful because often
30654 only some of those tools can be ran cleanly on a codebase.
30655
30656 The macro supports running with and without libtool.
30657
30658 Source Code
30659 ***********
30660
30661 Download the latest version of 'ax_valgrind_check.m4'
30662 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_valgrind_check.m4)
30663 or browse the macro's revision history
30664 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_valgrind_check.m4).
30665
30666 License
30667 *******
30668
30669 Copyright (C) 2014, 2015, 2016 Philip Withnall <philip.withnall@collabora.co.uk>
30670
30671 Copying and distribution of this file, with or without modification, are
30672 permitted in any medium without royalty provided the copyright notice
30673 and this notice are preserved. This file is offered as-is, without any
30674 warranty.
30675
30676 
30677 File: autoconf-archive.info, Node: ax_var_pop, Next: ax_var_push, Prev: ax_valgrind_check, Up: The Macros
30678
30679 ax_var_pop
30680 ==========
30681
30682 Synopsis
30683 ********
30684
30685 AX_VAR_POPVALUE(VARIABLE)
30686
30687 Description
30688 ***********
30689
30690 Restores a variable's previous value. Compile, link and running tests
30691 usually require the programmer to provide additional flags. However, it
30692 is strongly recommended not to override flags defined by the user
30693 through the configure command. AX_VAR_PUSHVALUE and AX_VAR_POPVALUE are
30694 clean way to temporarily store a variable's value and restore it later,
30695 using a stack-like behaviour. This macro supports nesting.
30696
30697 Example:
30698
30699 AX_VAR_PUSHVALUE([CXXFLAGS],["my test flags"])
30700 perform some checks with CXXFLAGS...
30701 CXXFLAGS value will be "my test flags"
30702 AX_VAR_POPVALUE([CXXFLAGS])
30703 CXXFLAGS is restored to its original value
30704
30705 Source Code
30706 ***********
30707
30708 Download the latest version of 'ax_var_pop.m4'
30709 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_var_pop.m4)
30710 or browse the macro's revision history
30711 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_var_pop.m4).
30712
30713 License
30714 *******
30715
30716 Copyright (C) 2015 Jorge Bellon <jbelloncastro@gmail.com>
30717
30718 This program is free software: you can redistribute it and/or modify it
30719 under the terms of the GNU General Public License as published by the
30720 Free Software Foundation, either version 3 of the License, or (at your
30721 option) any later version.
30722
30723 This program is distributed in the hope that it will be useful, but
30724 WITHOUT ANY WARRANTY; without even the implied warranty of
30725 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
30726 Public License for more details.
30727
30728 You should have received a copy of the GNU General Public License along
30729 with this program. If not, see <https://www.gnu.org/licenses/>.
30730
30731 As a special exception, the respective Autoconf Macro's copyright owner
30732 gives unlimited permission to copy, distribute and modify the configure
30733 scripts that are the output of Autoconf when processing the Macro. You
30734 need not follow the terms of the GNU General Public License when using
30735 or distributing such scripts, even though portions of the text of the
30736 Macro appear in them. The GNU General Public License (GPL) does govern
30737 all other use of the material that constitutes the Autoconf Macro.
30738
30739 This special exception to the GPL applies to versions of the Autoconf
30740 Macro released by the Autoconf Archive. When you make and distribute a
30741 modified version of the Autoconf Macro, you may extend this special
30742 exception to the GPL to apply to your modified version as well.
30743
30744 
30745 File: autoconf-archive.info, Node: ax_var_push, Next: ax_var_timezone_externals, Prev: ax_var_pop, Up: The Macros
30746
30747 ax_var_push
30748 ===========
30749
30750 Synopsis
30751 ********
30752
30753 AX_VAR_PUSHVALUE(VARIABLE, [VALUE])
30754
30755 Description
30756 ***********
30757
30758 Stores a copy of variable_name's value and assigns it to 'value' If no
30759 value is given, its original value is kept. Compile, link and running
30760 tests usually require the programmer to provide additional flags.
30761 However, it is strongly recommended not to override flags defined by the
30762 user through the configure command. AX_VAR_PUSHVALUE and
30763 AX_VAR_POPVALUE are clean way to temporarily store a variable's value
30764 and restore it later, using a stack-like behaviour. This macro supports
30765 nesting.
30766
30767 Example:
30768
30769 AX_VAR_PUSHVALUE([CXXFLAGS],["my test flags"])
30770 perform some checks with CXXFLAGS...
30771 CXXFLAGS value will be "my test flags"
30772 AX_VAR_POPVALUE([CXXFLAGS])
30773 CXXFLAGS is restored to its original value
30774
30775 Source Code
30776 ***********
30777
30778 Download the latest version of 'ax_var_push.m4'
30779 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_var_push.m4)
30780 or browse the macro's revision history
30781 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_var_push.m4).
30782
30783 License
30784 *******
30785
30786 Copyright (C) 2015 Jorge Bellon <jbelloncastro@gmail.com>
30787
30788 This program is free software: you can redistribute it and/or modify it
30789 under the terms of the GNU General Public License as published by the
30790 Free Software Foundation, either version 3 of the License, or (at your
30791 option) any later version.
30792
30793 This program is distributed in the hope that it will be useful, but
30794 WITHOUT ANY WARRANTY; without even the implied warranty of
30795 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
30796 Public License for more details.
30797
30798 You should have received a copy of the GNU General Public License along
30799 with this program. If not, see <https://www.gnu.org/licenses/>.
30800
30801 As a special exception, the respective Autoconf Macro's copyright owner
30802 gives unlimited permission to copy, distribute and modify the configure
30803 scripts that are the output of Autoconf when processing the Macro. You
30804 need not follow the terms of the GNU General Public License when using
30805 or distributing such scripts, even though portions of the text of the
30806 Macro appear in them. The GNU General Public License (GPL) does govern
30807 all other use of the material that constitutes the Autoconf Macro.
30808
30809 This special exception to the GPL applies to versions of the Autoconf
30810 Macro released by the Autoconf Archive. When you make and distribute a
30811 modified version of the Autoconf Macro, you may extend this special
30812 exception to the GPL to apply to your modified version as well.
30813
30814 
30815 File: autoconf-archive.info, Node: ax_var_timezone_externals, Next: ax_very_nice, Prev: ax_var_push, Up: The Macros
30816
30817 ax_var_timezone_externals
30818 =========================
30819
30820 Synopsis
30821 ********
30822
30823 AX_VAR_TIMEZONE_EXTERNALS
30824
30825 Description
30826 ***********
30827
30828 Use instead of 'AC_STRUCT_TIMEZONE' to determine whether the external
30829 timezone variables 'timezone', 'altzone' and 'daylight' exist, defining
30830 'HAVE_TIMEZONE', 'HAVE_ALTZONE' and 'HAVE_DAYLIGHT' respectively (as
30831 well as gaining the macros defined by 'AC_STRUCT_TIMEZONE').
30832
30833 Rewritten for Autoconf 2.68, and made robust against BSD's timezone()
30834 function, by Daniel Richard G.
30835
30836 Source Code
30837 ***********
30838
30839 Download the latest version of 'ax_var_timezone_externals.m4'
30840 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_var_timezone_externals.m4)
30841 or browse the macro's revision history
30842 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_var_timezone_externals.m4).
30843
30844 License
30845 *******
30846
30847 Copyright (C) 2008 Mark R. Bannister <markb@freedomware.co.uk>
30848 Copyright (C) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
30849
30850 This program is free software; you can redistribute it and/or modify it
30851 under the terms of the GNU General Public License as published by the
30852 Free Software Foundation; either version 2 of the License, or (at your
30853 option) any later version.
30854
30855 This program is distributed in the hope that it will be useful, but
30856 WITHOUT ANY WARRANTY; without even the implied warranty of
30857 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
30858 Public License for more details.
30859
30860 You should have received a copy of the GNU General Public License along
30861 with this program. If not, see <https://www.gnu.org/licenses/>.
30862
30863 As a special exception, the respective Autoconf Macro's copyright owner
30864 gives unlimited permission to copy, distribute and modify the configure
30865 scripts that are the output of Autoconf when processing the Macro. You
30866 need not follow the terms of the GNU General Public License when using
30867 or distributing such scripts, even though portions of the text of the
30868 Macro appear in them. The GNU General Public License (GPL) does govern
30869 all other use of the material that constitutes the Autoconf Macro.
30870
30871 This special exception to the GPL applies to versions of the Autoconf
30872 Macro released by the Autoconf Archive. When you make and distribute a
30873 modified version of the Autoconf Macro, you may extend this special
30874 exception to the GPL to apply to your modified version as well.
30875
30876 
30877 File: autoconf-archive.info, Node: ax_very_nice, Next: ax_warning_default_aclocaldir, Prev: ax_var_timezone_externals, Up: The Macros
30878
30879 ax_very_nice
30880 ============
30881
30882 Synopsis
30883 ********
30884
30885 AX_VERY_NICE
30886
30887 Description
30888 ***********
30889
30890 A macro to check the options of nice, in order to have a VERY_NICE
30891 variable which runs a program at the lowest priority VERY_NICE is
30892 undefined if we don't find the proper options, so you can safely use:
30893
30894 @VERY_NICE@ mycommand
30895
30896 in a shell script.
30897
30898 The VERY_NICE variable includes the placeholder NICE_VALUE that you have
30899 to instantiate at run-time. If you give a argument to AX_VERY_NICE, it
30900 will be used as an argument of nice for testing and included in
30901 VERY_NICE instead of the above placeholder.
30902
30903 Source Code
30904 ***********
30905
30906 Download the latest version of 'ax_very_nice.m4'
30907 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_very_nice.m4)
30908 or browse the macro's revision history
30909 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_very_nice.m4).
30910
30911 License
30912 *******
30913
30914 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
30915
30916 This program is free software; you can redistribute it and/or modify it
30917 under the terms of the GNU General Public License as published by the
30918 Free Software Foundation; either version 2 of the License, or (at your
30919 option) any later version.
30920
30921 This program is distributed in the hope that it will be useful, but
30922 WITHOUT ANY WARRANTY; without even the implied warranty of
30923 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
30924 Public License for more details.
30925
30926 You should have received a copy of the GNU General Public License along
30927 with this program. If not, see <https://www.gnu.org/licenses/>.
30928
30929 As a special exception, the respective Autoconf Macro's copyright owner
30930 gives unlimited permission to copy, distribute and modify the configure
30931 scripts that are the output of Autoconf when processing the Macro. You
30932 need not follow the terms of the GNU General Public License when using
30933 or distributing such scripts, even though portions of the text of the
30934 Macro appear in them. The GNU General Public License (GPL) does govern
30935 all other use of the material that constitutes the Autoconf Macro.
30936
30937 This special exception to the GPL applies to versions of the Autoconf
30938 Macro released by the Autoconf Archive. When you make and distribute a
30939 modified version of the Autoconf Macro, you may extend this special
30940 exception to the GPL to apply to your modified version as well.
30941
30942 
30943 File: autoconf-archive.info, Node: ax_warning_default_aclocaldir, Next: ax_warning_default_pkgconfig, Prev: ax_very_nice, Up: The Macros
30944
30945 ax_warning_default_aclocaldir
30946 =============================
30947
30948 Synopsis
30949 ********
30950
30951 AX_WARNING_DEFAULT_ACLOCALDIR [(dirvariable [,[defsetting][,[A][,[N/A]]]])]
30952 AX_ENABLE_DEFAULT_ACLOCALDIR [(dirvariable [,defsetting])]
30953
30954 Description
30955 ***********
30956
30957 print a warning message if the $(datadir)/aclocal directory is not in
30958 the dirlist searched by the aclocal tool. This macro is useful if some
30959 'make install' would target $(datadir)/aclocal to install an autoconf m4
30960 file of your project to be picked up by other projects.
30961
30962 default $1 dirvariable = aclocaldir
30963 default $2 defsetting = ${datadir}/aclocal
30964 default $3 action = nothing to do
30965 default $4 action = warn the user about mismatch
30966
30967 In the _WARNING_ variant, the defsetting is not placed in dirvariable
30968 nor is it ac_subst'ed in any way. The default fail-action $4 is to send
30969 a warning message to the user, and the default accept-action $3 is
30970 nothing. It is expected that a Makefile is generated with
30971 aclocaldir=${datadir}/aclocal
30972
30973 The _ENABLE_ variant however will set not only the $aclocaldir shell var
30974 of the script, but it is also AC-SUBST'ed on default - and furthermore a
30975 configure option "-enable-default-aclocaldir" is provided. Only if that
30976 option is set then $2 default is not set to the canonic default in the a
30977 $prefix subpath but instead $2 default is set to the primary path where
30978 'aclocal' looks for macros. The user may also override the default on
30979 the command line.
30980
30981 Source Code
30982 ***********
30983
30984 Download the latest version of 'ax_warning_default_aclocaldir.m4'
30985 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_warning_default_aclocaldir.m4)
30986 or browse the macro's revision history
30987 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_warning_default_aclocaldir.m4).
30988
30989 License
30990 *******
30991
30992 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
30993
30994 Copying and distribution of this file, with or without modification, are
30995 permitted in any medium without royalty provided the copyright notice
30996 and this notice are preserved. This file is offered as-is, without any
30997 warranty.
30998
30999 
31000 File: autoconf-archive.info, Node: ax_warning_default_pkgconfig, Next: ax_wint_t, Prev: ax_warning_default_aclocaldir, Up: The Macros
31001
31002 ax_warning_default_pkgconfig
31003 ============================
31004
31005 Synopsis
31006 ********
31007
31008 AX_WARNING_DEFAULT_PKGCONFIGDIR [(dirvariable [,[defsetting][,[A][,[N/A]]]])]
31009 AX_ENABLE_DEFAULT_PKGCONFIGDIR [(dirvariable [,defsetting])]
31010
31011 Description
31012 ***********
31013
31014 print a warning message if the $(datadir)/aclocal directory is not in
31015 the dirlist searched by the aclocal tool. This macro is useful if some
31016 'make install' would target $(datadir)/aclocal to install an autoconf m4
31017 file of your project to be picked up by other projects.
31018
31019 default $1 dirvariable = pkgconfigdir
31020 default $2 defsetting = ${libdir}/pkgconfig
31021 default $3 action = nothing to do
31022 default $4 action = warn the user about mismatch
31023
31024 In the _WARNING_ variant, the defsetting is not placed in dirvariable
31025 nor is it ac_subst'ed in any way. The default fail-action $4 is to send
31026 a warning message to the user, and the default accept-action $3 is
31027 nothing. It is expected that a Makefile is generated with
31028 pkgconfigdir=${libdir}/pkgconfig
31029
31030 The _ENABLE_ variant however will set not only the $pkgconfigdir shell
31031 var of the script, but it is also AC-SUBST'ed on default - and
31032 furthermore a configure option "-enable-default-pkgconfigdir" is
31033 provided. Only if that option is set then $2 default is not set to the
31034 canonic default in the a $prefix subpath but instead $2 default is set
31035 to the primary path where 'pkg-config' looks for .pc files. The user
31036 may also override the default on the command line.
31037
31038 Source Code
31039 ***********
31040
31041 Download the latest version of 'ax_warning_default_pkgconfig.m4'
31042 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_warning_default_pkgconfig.m4)
31043 or browse the macro's revision history
31044 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_warning_default_pkgconfig.m4).
31045
31046 License
31047 *******
31048
31049 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
31050
31051 Copying and distribution of this file, with or without modification, are
31052 permitted in any medium without royalty provided the copyright notice
31053 and this notice are preserved. This file is offered as-is, without any
31054 warranty.
31055
31056 
31057 File: autoconf-archive.info, Node: ax_wint_t, Next: ax_with_apxs, Prev: ax_warning_default_pkgconfig, Up: The Macros
31058
31059 ax_wint_t
31060 =========
31061
31062 Synopsis
31063 ********
31064
31065 AX_WINT_T
31066
31067 Description
31068 ***********
31069
31070 It turns out that MacOS X doesn't guarantee to provide the "wint_t" type
31071 unless you include the strange header <runetype.h> in addition to
31072 <wchar.h>. Consequently, the "do I have a system wint_t?" probe fails
31073 and an alternate gets used. Unfortunately, by the time the program gets
31074 built, one way or another that funny header winds up getting included
31075 and the "#define wint_t unsigned int" patch-up-hack mutilates the
31076 typedef. This macro will get it right.
31077
31078 Source Code
31079 ***********
31080
31081 Download the latest version of 'ax_wint_t.m4'
31082 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_wint_t.m4)
31083 or browse the macro's revision history
31084 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_wint_t.m4).
31085
31086 License
31087 *******
31088
31089 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
31090
31091 Copying and distribution of this file, with or without modification, are
31092 permitted in any medium without royalty provided the copyright notice
31093 and this notice are preserved. This file is offered as-is, without any
31094 warranty.
31095
31096 
31097 File: autoconf-archive.info, Node: ax_with_apxs, Next: ax_with_build_path, Prev: ax_wint_t, Up: The Macros
31098
31099 ax_with_apxs
31100 ============
31101
31102 Synopsis
31103 ********
31104
31105 AX_WITH_APXS([value-if-not-found], [path])
31106
31107 Description
31108 ***********
31109
31110 Locates an installed apxs binary, placing the result in the precious
31111 variable $APXS. Accepts a preset $APXS, then -with-apxs, and failing
31112 that searches for apxs in the given path (which defaults to the system
31113 path). If apxs is found, $APXS is set to the full path of the binary;
31114 otherwise it is set to VALUE-IF-NOT-FOUND, which defaults to apxs.
31115
31116 Example:
31117
31118 AX_WITH_APXS(missing)
31119
31120 Source Code
31121 ***********
31122
31123 Download the latest version of 'ax_with_apxs.m4'
31124 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_apxs.m4)
31125 or browse the macro's revision history
31126 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_apxs.m4).
31127
31128 License
31129 *******
31130
31131 Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
31132
31133 Copying and distribution of this file, with or without modification, are
31134 permitted in any medium without royalty provided the copyright notice
31135 and this notice are preserved. This file is offered as-is, without any
31136 warranty.
31137
31138 
31139 File: autoconf-archive.info, Node: ax_with_build_path, Next: ax_with_curses, Prev: ax_with_apxs, Up: The Macros
31140
31141 ax_with_build_path
31142 ==================
31143
31144 Synopsis
31145 ********
31146
31147 AX_WITH_BUILD_PATH
31148
31149 Description
31150 ***********
31151
31152 This macro adds a "-with-build-path" option to the configure script.
31153 This configure option provides a convenient way to add "-I" options to
31154 CPPFLAGS and "-L" options to LDFLAGS, at configure time.
31155
31156 Invoking "./configure -with-build-path=DIR" results in "-I DIR/include"
31157 being added to CPPFLAGS if DIR/include exists, and "-L DIR/lib" being
31158 added to LDFLAGS if DIR/lib exists.
31159
31160 Separate multiple directories using colons; e.g.
31161 "-with-build-path=DIR1:DIR2:DIR3".
31162
31163 Source Code
31164 ***********
31165
31166 Download the latest version of 'ax_with_build_path.m4'
31167 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_build_path.m4)
31168 or browse the macro's revision history
31169 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_build_path.m4).
31170
31171 License
31172 *******
31173
31174 Copyright (C) 2008 Steve M. Robbins <smr@debian.org>
31175
31176 Copying and distribution of this file, with or without modification, are
31177 permitted in any medium without royalty provided the copyright notice
31178 and this notice are preserved. This file is offered as-is, without any
31179 warranty.
31180
31181 
31182 File: autoconf-archive.info, Node: ax_with_curses, Next: ax_with_curses_extra, Prev: ax_with_build_path, Up: The Macros
31183
31184 ax_with_curses
31185 ==============
31186
31187 Synopsis
31188 ********
31189
31190 AX_WITH_CURSES
31191
31192 Description
31193 ***********
31194
31195 This macro checks whether a SysV or X/Open-compatible Curses library is
31196 present, along with the associated header file. The NcursesW
31197 (wide-character) library is searched for first, followed by Ncurses,
31198 then the system-default plain Curses. The first library found is the
31199 one returned. Finding libraries will first be attempted by using
31200 pkg-config, and should the pkg-config files not be available, will
31201 fallback to combinations of known flags itself.
31202
31203 The following options are understood: -with-ncursesw, -with-ncurses,
31204 -without-ncursesw, -without-ncurses. The "-with" options force the
31205 macro to use that particular library, terminating with an error if not
31206 found. The "-without" options simply skip the check for that library.
31207 The effect on the search pattern is:
31208
31209 (no options) - NcursesW, Ncurses, Curses
31210 --with-ncurses --with-ncursesw - NcursesW only [*]
31211 --without-ncurses --with-ncursesw - NcursesW only [*]
31212 --with-ncursesw - NcursesW only [*]
31213 --with-ncurses --without-ncursesw - Ncurses only [*]
31214 --with-ncurses - NcursesW, Ncurses [**]
31215 --without-ncurses --without-ncursesw - Curses only
31216 --without-ncursesw - Ncurses, Curses
31217 --without-ncurses - NcursesW, Curses
31218
31219 [*] If the library is not found, abort the configure script.
31220
31221 [**] If the second library (Ncurses) is not found, abort configure.
31222
31223 The following preprocessor symbols may be defined by this macro if the
31224 appropriate conditions are met:
31225
31226 HAVE_CURSES - if any SysV or X/Open Curses library found
31227 HAVE_CURSES_ENHANCED - if library supports X/Open Enhanced functions
31228 HAVE_CURSES_COLOR - if library supports color (enhanced functions)
31229 HAVE_CURSES_OBSOLETE - if library supports certain obsolete features
31230 HAVE_NCURSESW - if NcursesW (wide char) library is to be used
31231 HAVE_NCURSES - if the Ncurses library is to be used
31232
31233 HAVE_CURSES_H - if <curses.h> is present and should be used
31234 HAVE_NCURSESW_H - if <ncursesw.h> should be used
31235 HAVE_NCURSES_H - if <ncurses.h> should be used
31236 HAVE_NCURSESW_CURSES_H - if <ncursesw/curses.h> should be used
31237 HAVE_NCURSES_CURSES_H - if <ncurses/curses.h> should be used
31238
31239 (These preprocessor symbols are discussed later in this document.)
31240
31241 The following output variables are defined by this macro; they are
31242 precious and may be overridden on the ./configure command line:
31243
31244 CURSES_LIBS - library to add to xxx_LDADD
31245 CURSES_CFLAGS - include paths to add to xxx_CPPFLAGS
31246
31247 In previous versions of this macro, the flags CURSES_LIB and
31248 CURSES_CPPFLAGS were defined. These have been renamed, in keeping with
31249 AX_WITH_CURSES's close bigger brother, PKG_CHECK_MODULES, which should
31250 eventually supersede the use of AX_WITH_CURSES. Neither the library
31251 listed in CURSES_LIBS, nor the flags in CURSES_CFLAGS are added to LIBS,
31252 respectively CPPFLAGS, by default. You need to add both to the
31253 appropriate xxx_LDADD/xxx_CPPFLAGS line in your Makefile.am. For
31254 example:
31255
31256 prog_LDADD = @CURSES_LIBS@
31257 prog_CPPFLAGS = @CURSES_CFLAGS@
31258
31259 If CURSES_LIBS is set on the configure command line (such as by running
31260 "./configure CURSES_LIBS=-lmycurses"), then the only header searched for
31261 is <curses.h>. If the user needs to specify an alternative path for a
31262 library (such as for a non-standard NcurseW), the user should use the
31263 LDFLAGS variable.
31264
31265 The following shell variables may be defined by this macro:
31266
31267 ax_cv_curses - set to "yes" if any Curses library found
31268 ax_cv_curses_enhanced - set to "yes" if Enhanced functions present
31269 ax_cv_curses_color - set to "yes" if color functions present
31270 ax_cv_curses_obsolete - set to "yes" if obsolete features present
31271
31272 ax_cv_ncursesw - set to "yes" if NcursesW library found
31273 ax_cv_ncurses - set to "yes" if Ncurses library found
31274 ax_cv_plaincurses - set to "yes" if plain Curses library found
31275 ax_cv_curses_which - set to "ncursesw", "ncurses", "plaincurses" or "no"
31276
31277 These variables can be used in your configure.ac to determine the level
31278 of support you need from the Curses library. For example, if you must
31279 have either Ncurses or NcursesW, you could include:
31280
31281 AX_WITH_CURSES
31282 if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then
31283 AC_MSG_ERROR([requires either NcursesW or Ncurses library])
31284 fi
31285
31286 If any Curses library will do (but one must be present and must support
31287 color), you could use:
31288
31289 AX_WITH_CURSES
31290 if test "x$ax_cv_curses" != xyes || test "x$ax_cv_curses_color" != xyes; then
31291 AC_MSG_ERROR([requires an X/Open-compatible Curses library with color])
31292 fi
31293
31294 Certain preprocessor symbols and shell variables defined by this macro
31295 can be used to determine various features of the Curses library. In
31296 particular, HAVE_CURSES and ax_cv_curses are defined if the Curses
31297 library found conforms to the traditional SysV and/or X/Open Base Curses
31298 definition. Any working Curses library conforms to this level.
31299
31300 HAVE_CURSES_ENHANCED and ax_cv_curses_enhanced are defined if the
31301 library supports the X/Open Enhanced Curses definition. In particular,
31302 the wide-character types attr_t, cchar_t and wint_t, the functions
31303 wattr_set() and wget_wch() and the macros WA_NORMAL and _XOPEN_CURSES
31304 are checked. The Ncurses library does NOT conform to this definition,
31305 although NcursesW does.
31306
31307 HAVE_CURSES_COLOR and ax_cv_curses_color are defined if the library
31308 supports color functions and macros such as COLOR_PAIR, A_COLOR,
31309 COLOR_WHITE, COLOR_RED and init_pair(). These are NOT part of the
31310 X/Open Base Curses definition, but are part of the Enhanced set of
31311 functions. The Ncurses library DOES support these functions, as does
31312 NcursesW.
31313
31314 HAVE_CURSES_OBSOLETE and ax_cv_curses_obsolete are defined if the
31315 library supports certain features present in SysV and BSD Curses but not
31316 defined in the X/Open definition. In particular, the functions
31317 getattrs(), getcurx() and getmaxx() are checked.
31318
31319 To use the HAVE_xxx_H preprocessor symbols, insert the following into
31320 your system.h (or equivalent) header file:
31321
31322 #if defined HAVE_NCURSESW_CURSES_H
31323 # include <ncursesw/curses.h>
31324 #elif defined HAVE_NCURSESW_H
31325 # include <ncursesw.h>
31326 #elif defined HAVE_NCURSES_CURSES_H
31327 # include <ncurses/curses.h>
31328 #elif defined HAVE_NCURSES_H
31329 # include <ncurses.h>
31330 #elif defined HAVE_CURSES_H
31331 # include <curses.h>
31332 #else
31333 # error "SysV or X/Open-compatible Curses header file required"
31334 #endif
31335
31336 For previous users of this macro: you should not need to change anything
31337 in your configure.ac or Makefile.am, as the previous (serial 10)
31338 semantics are still valid. However, you should update your system.h (or
31339 equivalent) header file to the fragment shown above. You are encouraged
31340 also to make use of the extended functionality provided by this version
31341 of AX_WITH_CURSES, as well as in the additional macros
31342 AX_WITH_CURSES_PANEL, AX_WITH_CURSES_MENU and AX_WITH_CURSES_FORM.
31343
31344 Source Code
31345 ***********
31346
31347 Download the latest version of 'ax_with_curses.m4'
31348 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_curses.m4)
31349 or browse the macro's revision history
31350 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_curses.m4).
31351
31352 License
31353 *******
31354
31355 Copyright (C) 2009 Mark Pulford <mark@kyne.com.au>
31356 Copyright (C) 2009 Damian Pietras <daper@daper.net>
31357 Copyright (C) 2012 Reuben Thomas <rrt@sc3d.org>
31358 Copyright (C) 2011 John Zaitseff <J.Zaitseff@zap.org.au>
31359
31360 This program is free software: you can redistribute it and/or modify it
31361 under the terms of the GNU General Public License as published by the
31362 Free Software Foundation, either version 3 of the License, or (at your
31363 option) any later version.
31364
31365 This program is distributed in the hope that it will be useful, but
31366 WITHOUT ANY WARRANTY; without even the implied warranty of
31367 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
31368 Public License for more details.
31369
31370 You should have received a copy of the GNU General Public License along
31371 with this program. If not, see <https://www.gnu.org/licenses/>.
31372
31373 As a special exception, the respective Autoconf Macro's copyright owner
31374 gives unlimited permission to copy, distribute and modify the configure
31375 scripts that are the output of Autoconf when processing the Macro. You
31376 need not follow the terms of the GNU General Public License when using
31377 or distributing such scripts, even though portions of the text of the
31378 Macro appear in them. The GNU General Public License (GPL) does govern
31379 all other use of the material that constitutes the Autoconf Macro.
31380
31381 This special exception to the GPL applies to versions of the Autoconf
31382 Macro released by the Autoconf Archive. When you make and distribute a
31383 modified version of the Autoconf Macro, you may extend this special
31384 exception to the GPL to apply to your modified version as well.
31385
31386 
31387 File: autoconf-archive.info, Node: ax_with_curses_extra, Next: ax_with_dmalloc, Prev: ax_with_curses, Up: The Macros
31388
31389 ax_with_curses_extra
31390 ====================
31391
31392 Synopsis
31393 ********
31394
31395 AX_WITH_CURSES_PANEL
31396 AX_WITH_CURSES_MENU
31397 AX_WITH_CURSES_FORM
31398
31399 Description
31400 ***********
31401
31402 These macros try to find additional libraries that often come with
31403 SysV-compatible Curses. In particular, the Panel, Menu and Form
31404 libraries are searched, along with their header files. These macros
31405 depend on AX_WITH_CURSES.
31406
31407 The following preprocessor symbols may be defined by these macros:
31408
31409 By AX_WITH_CURSES_PANEL:
31410
31411 HAVE_PANEL - if the Panel library is present
31412 HAVE_PANEL_H - if <panel.h> is present and should be used
31413 HAVE_NCURSES_PANEL_H - if <ncurses/panel.h> should be used
31414 HAVE_NCURSESW_PANEL_H - if <ncursesw/panel.h> should be used
31415
31416 By AX_WITH_CURSES_MENU:
31417
31418 HAVE_MENU - if the Menu library is present
31419 HAVE_MENU_H - if <menu.h> is present and should be used
31420 HAVE_NCURSES_MENU_H - if <ncurses/menu.h> should be used
31421 HAVE_NCURSESW_MENU_H - if <ncursesw/menu.h> should be used
31422
31423 By AX_WITH_CURSES_FORM:
31424
31425 HAVE_FORM - if the Form library is present
31426 HAVE_FORM_H - if <form.h> is present and should be used
31427 HAVE_NCURSES_FORM_H - if <ncurses/form.h> should be used
31428 HAVE_NCURSESW_FORM_H - if <ncursesw/form.h> should be used
31429
31430 The following output variables may be defined by these macros; these are
31431 precious and may be overridden on the ./configure command line:
31432
31433 PANEL_LIBS - library to add to xxx_LDADD before CURSES_LIBS
31434 MENU_LIBS - library to add to xxx_LDADD before CURSES_LIBS
31435 FORM_LIBS - library to add to xxx_LDADD before CURSES_LIBS
31436
31437 In previous versions of this macro, the flags PANEL_LIB, MENU_LIB and
31438 FORM_LIB were defined. These have been renamed, in keeping with the
31439 variable scheme of PKG_CHECK_MODULES, which should eventually supersede
31440 the use of AX_WITH_CURSES and AX_WITH_CURSES_* macros. These libraries
31441 are NOT added to LIBS by default. You need to add them to the
31442 appropriate xxx_LDADD line in your Makefile.am in front of the
31443 equivalent CURSES_LIBS incantation. For example:
31444
31445 prog_LDADD = @PANEL_LIBS@ @CURSES_LIBS@
31446
31447 If one of the xxx_LIBS variables is set on the configure command line
31448 (such as by running "./configure PANEL_LIBS=-lmypanel"), then the header
31449 file searched must NOT contain a subpath. In this case, in other words,
31450 only <panel.h> would be searched for. The user may use the CPPFLAGS
31451 precious variable to override the standard #include search path.
31452
31453 The following shell variables may be defined by these macros:
31454
31455 ax_cv_panel - set to "yes" if Panels library is present
31456 ax_cv_menu - set to "yes" if Menu library is present
31457 ax_cv_form - set to "yes" if Form library is present
31458
31459 These variables can be used in your configure.ac to determine whether a
31460 library you require is actually present. For example:
31461
31462 AX_WITH_CURSES
31463 if test "x$ax_cv_curses" != xyes; then
31464 AC_MSG_ERROR([requires a SysV or X/Open-compatible Curses library])
31465 fi
31466 AX_WITH_CURSES_PANEL
31467 if test "x$ax_cv_panel" != xyes; then
31468 AC_MSG_ERROR([requires the Curses Panel library])
31469 fi
31470
31471 To use the HAVE_xxx_H preprocessor symbols, insert the following into
31472 your system.h (or equivalent) header file:
31473
31474 For AX_WITH_CURSES_PANEL:
31475
31476 #if defined HAVE_NCURSESW_PANEL_H
31477 # include <ncursesw/panel.h>
31478 #elif defined HAVE_NCURSES_PANEL_H
31479 # include <ncurses/panel.h>
31480 #elif defined HAVE_PANEL_H
31481 # include <panel.h>
31482 #else
31483 # error "SysV-compatible Curses Panel header file required"
31484 #endif
31485
31486 For AX_WITH_CURSES_MENU:
31487
31488 #if defined HAVE_NCURSESW_MENU_H
31489 # include <ncursesw/menu.h>
31490 #elif defined HAVE_NCURSES_MENU_H
31491 # include <ncurses/menu.h>
31492 #elif defined HAVE_MENU_H
31493 # include <menu.h>
31494 #else
31495 # error "SysV-compatible Curses Menu header file required"
31496 #endif
31497
31498 For AX_WITH_CURSES_FORM:
31499
31500 #if defined HAVE_NCURSESW_FORM_H
31501 # include <ncursesw/form.h>
31502 #elif defined HAVE_NCURSES_FORM_H
31503 # include <ncurses/form.h>
31504 #elif defined HAVE_FORM_H
31505 # include <form.h>
31506 #else
31507 # error "SysV-compatible Curses Form header file required"
31508 #endif
31509
31510 Source Code
31511 ***********
31512
31513 Download the latest version of 'ax_with_curses_extra.m4'
31514 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_curses_extra.m4)
31515 or browse the macro's revision history
31516 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_curses_extra.m4).
31517
31518 License
31519 *******
31520
31521 Copyright (C) 2011 John Zaitseff <J.Zaitseff@zap.org.au>
31522
31523 This program is free software: you can redistribute it and/or modify it
31524 under the terms of the GNU General Public License as published by the
31525 Free Software Foundation, either version 3 of the License, or (at your
31526 option) any later version.
31527
31528 This program is distributed in the hope that it will be useful, but
31529 WITHOUT ANY WARRANTY; without even the implied warranty of
31530 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
31531 Public License for more details.
31532
31533 You should have received a copy of the GNU General Public License along
31534 with this program. If not, see <https://www.gnu.org/licenses/>.
31535
31536 As a special exception, the respective Autoconf Macro's copyright owner
31537 gives unlimited permission to copy, distribute and modify the configure
31538 scripts that are the output of Autoconf when processing the Macro. You
31539 need not follow the terms of the GNU General Public License when using
31540 or distributing such scripts, even though portions of the text of the
31541 Macro appear in them. The GNU General Public License (GPL) does govern
31542 all other use of the material that constitutes the Autoconf Macro.
31543
31544 This special exception to the GPL applies to versions of the Autoconf
31545 Macro released by the Autoconf Archive. When you make and distribute a
31546 modified version of the Autoconf Macro, you may extend this special
31547 exception to the GPL to apply to your modified version as well.
31548
31549 
31550 File: autoconf-archive.info, Node: ax_with_dmalloc, Next: ax_with_mpatrol, Prev: ax_with_curses_extra, Up: The Macros
31551
31552 ax_with_dmalloc
31553 ===============
31554
31555 Synopsis
31556 ********
31557
31558 AX_WITH_DMALLOC
31559
31560 Description
31561 ***********
31562
31563 Let the user enable/disable support for the dmalloc library available
31564 from <http://www.dmalloc.org/>.
31565
31566 The macro adds the command-line flag "-with-dmalloc". Furthermore,
31567 "-IPREFIX/include" will be added to "$CPPFLAGS", "-LPREFIX/lib" to
31568 "$LDFLAGS", and "-DDEBUG_DMALLOC" and "-DDMALLOC_FUNC_CHECK" to
31569 "$CPPFLAGS".
31570
31571 To enable dmalloc support in your code, add the following snippet to
31572 your header files:
31573
31574 #ifdef DEBUG_DMALLOC
31575 # include <dmalloc.h>
31576 #endif
31577
31578 Source Code
31579 ***********
31580
31581 Download the latest version of 'ax_with_dmalloc.m4'
31582 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_dmalloc.m4)
31583 or browse the macro's revision history
31584 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_dmalloc.m4).
31585
31586 License
31587 *******
31588
31589 Copyright (C) 2008 Peter Simons <simons@cryp.to>
31590
31591 Copying and distribution of this file, with or without modification, are
31592 permitted in any medium without royalty provided the copyright notice
31593 and this notice are preserved. This file is offered as-is, without any
31594 warranty.
31595
31596 
31597 File: autoconf-archive.info, Node: ax_with_mpatrol, Next: ax_with_prog, Prev: ax_with_dmalloc, Up: The Macros
31598
31599 ax_with_mpatrol
31600 ===============
31601
31602 Synopsis
31603 ********
31604
31605 AX_WITH_MPATROL(DEFAULT)
31606
31607 Description
31608 ***********
31609
31610 Integrates the mpatrol malloc debugging library into a new or existing
31611 project and also attempts to determine the support libraries that need
31612 to be linked in when libmpatrol is used.
31613
31614 It takes one optional parameter specifying whether mpatrol should be
31615 included in the project ('yes') or not ('no'). This can also be
31616 specified as 'threads' if you wish to use the threadsafe version of the
31617 mpatrol library. You can override the value of the optional parameter
31618 with the '-with-mpatrol' option to the resulting 'configure' shell
31619 script.
31620
31621 Source Code
31622 ***********
31623
31624 Download the latest version of 'ax_with_mpatrol.m4'
31625 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_mpatrol.m4)
31626 or browse the macro's revision history
31627 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_mpatrol.m4).
31628
31629 License
31630 *******
31631
31632 Copyright (C) 2008 Graeme S. Roy <graeme@epc.co.uk>
31633
31634 Copying and distribution of this file, with or without modification, are
31635 permitted in any medium without royalty provided the copyright notice
31636 and this notice are preserved. This file is offered as-is, without any
31637 warranty.
31638
31639 
31640 File: autoconf-archive.info, Node: ax_with_prog, Next: ax_xercesc, Prev: ax_with_mpatrol, Up: The Macros
31641
31642 ax_with_prog
31643 ============
31644
31645 Synopsis
31646 ********
31647
31648 AX_WITH_PROG([VARIABLE],[program],[VALUE-IF-NOT-FOUND],[PATH])
31649
31650 Description
31651 ***********
31652
31653 Locates an installed program binary, placing the result in the precious
31654 variable VARIABLE. Accepts a present VARIABLE, then -with-program, and
31655 failing that searches for program in the given path (which defaults to
31656 the system path). If program is found, VARIABLE is set to the full path
31657 of the binary; if it is not found VARIABLE is set to VALUE-IF-NOT-FOUND
31658 if provided, unchanged otherwise.
31659
31660 A typical example could be the following one:
31661
31662 AX_WITH_PROG(PERL,perl)
31663
31664 NOTE: This macro is based upon the original AX_WITH_PYTHON macro from
31665 Dustin J. Mitchell <dustin@cs.uchicago.edu>.
31666
31667 Source Code
31668 ***********
31669
31670 Download the latest version of 'ax_with_prog.m4'
31671 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_prog.m4)
31672 or browse the macro's revision history
31673 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_prog.m4).
31674
31675 License
31676 *******
31677
31678 Copyright (C) 2008 Francesco Salvestrini <salvestrini@users.sourceforge.net>
31679
31680 Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
31681
31682 Copying and distribution of this file, with or without modification, are
31683 permitted in any medium without royalty provided the copyright notice
31684 and this notice are preserved. This file is offered as-is, without any
31685 warranty.
31686
31687 
31688 File: autoconf-archive.info, Node: ax_xercesc, Next: ax_xsdcxx, Prev: ax_with_prog, Up: The Macros
31689
31690 ax_xercesc
31691 ==========
31692
31693 Synopsis
31694 ********
31695
31696 AX_XERCESC
31697
31698 Description
31699 ***********
31700
31701 Define $HAVE_LIBXERCES_C, $LIBXERCES_C, and $LTLIBXERCES_C to signify
31702 whether Xerces is available.
31703
31704 Source Code
31705 ***********
31706
31707 Download the latest version of 'ax_xercesc.m4'
31708 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_xercesc.m4)
31709 or browse the macro's revision history
31710 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_xercesc.m4).
31711
31712 License
31713 *******
31714
31715 Copyright (C) 2008 Ronald Landheer-Cieslak <blytkerchan@users.sourceforge.net>
31716
31717 This program is free software; you can redistribute it and/or modify it
31718 under the terms of the GNU General Public License as published by the
31719 Free Software Foundation; either version 2 of the License, or (at your
31720 option) any later version.
31721
31722 This program is distributed in the hope that it will be useful, but
31723 WITHOUT ANY WARRANTY; without even the implied warranty of
31724 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
31725 Public License for more details.
31726
31727 You should have received a copy of the GNU General Public License along
31728 with this program. If not, see <https://www.gnu.org/licenses/>.
31729
31730 As a special exception, the respective Autoconf Macro's copyright owner
31731 gives unlimited permission to copy, distribute and modify the configure
31732 scripts that are the output of Autoconf when processing the Macro. You
31733 need not follow the terms of the GNU General Public License when using
31734 or distributing such scripts, even though portions of the text of the
31735 Macro appear in them. The GNU General Public License (GPL) does govern
31736 all other use of the material that constitutes the Autoconf Macro.
31737
31738 This special exception to the GPL applies to versions of the Autoconf
31739 Macro released by the Autoconf Archive. When you make and distribute a
31740 modified version of the Autoconf Macro, you may extend this special
31741 exception to the GPL to apply to your modified version as well.
31742
31743 
31744 File: autoconf-archive.info, Node: ax_xsdcxx, Next: ax_xtra_classpath, Prev: ax_xercesc, Up: The Macros
31745
31746 ax_xsdcxx
31747 =========
31748
31749 Synopsis
31750 ********
31751
31752 AX_XSDCXX
31753
31754 Description
31755 ***********
31756
31757 This macro tries to find the CodeSynthesis XSD executable and the
31758 corresponding headers.
31759
31760 Supported options:
31761
31762 --with-xsdcxx
31763 use CodeSynthesis XSD from given prefix (ARG=path);
31764 check PATH (ARG=yes); disable (ARG=no)
31765
31766 --with-xsdcxx-inc
31767 path to CodeSynthesis XSD headers (ARG=path); use standard prefix
31768 (ARG=yes); disable (ARG=no)
31769
31770 Output variables:
31771
31772 XSDCXX
31773 XSDCXX_CPPFLAGS
31774
31775 Source Code
31776 ***********
31777
31778 Download the latest version of 'ax_xsdcxx.m4'
31779 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_xsdcxx.m4)
31780 or browse the macro's revision history
31781 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_xsdcxx.m4).
31782
31783 License
31784 *******
31785
31786 Copyright (C) 2013 Laszlo Kajan <lkajan@rostlab.org>
31787
31788 Copying and distribution of this file, with or without modification, are
31789 permitted in any medium without royalty provided the copyright notice
31790 and this notice are preserved. This file is offered as-is, without any
31791 warranty.
31792
31793 
31794 File: autoconf-archive.info, Node: ax_xtra_classpath, Next: ax_zmq, Prev: ax_xsdcxx, Up: The Macros
31795
31796 ax_xtra_classpath
31797 =================
31798
31799 Synopsis
31800 ********
31801
31802 AX_XTRA_CLASSPATH(<classpath>,<class>,<jarfile>,<action-if-found>,<action-if-not-found>)
31803
31804 Description
31805 ***********
31806
31807 Set $1 to extra classpath components required for class $2 found in a
31808 jar file in $3. If the class is found do $4 and otherwise do $5. Uses
31809 AX_JAVA_CHECK_CLASS for testing whether a class is available
31810
31811 Source Code
31812 ***********
31813
31814 Download the latest version of 'ax_xtra_classpath.m4'
31815 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_xtra_classpath.m4)
31816 or browse the macro's revision history
31817 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_xtra_classpath.m4).
31818
31819 License
31820 *******
31821
31822 Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
31823
31824 This program is free software; you can redistribute it and/or modify it
31825 under the terms of the GNU General Public License as published by the
31826 Free Software Foundation; either version 2 of the License, or (at your
31827 option) any later version.
31828
31829 This program is distributed in the hope that it will be useful, but
31830 WITHOUT ANY WARRANTY; without even the implied warranty of
31831 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
31832 Public License for more details.
31833
31834 You should have received a copy of the GNU General Public License along
31835 with this program. If not, see <https://www.gnu.org/licenses/>.
31836
31837 As a special exception, the respective Autoconf Macro's copyright owner
31838 gives unlimited permission to copy, distribute and modify the configure
31839 scripts that are the output of Autoconf when processing the Macro. You
31840 need not follow the terms of the GNU General Public License when using
31841 or distributing such scripts, even though portions of the text of the
31842 Macro appear in them. The GNU General Public License (GPL) does govern
31843 all other use of the material that constitutes the Autoconf Macro.
31844
31845 This special exception to the GPL applies to versions of the Autoconf
31846 Macro released by the Autoconf Archive. When you make and distribute a
31847 modified version of the Autoconf Macro, you may extend this special
31848 exception to the GPL to apply to your modified version as well.
31849
31850 
31851 File: autoconf-archive.info, Node: ax_zmq, Next: ax_zoneinfo, Prev: ax_xtra_classpath, Up: The Macros
31852
31853 ax_zmq
31854 ======
31855
31856 Synopsis
31857 ********
31858
31859 AX_ZMQ([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
31860
31861 Description
31862 ***********
31863
31864 Test for the ZMQ libraries of a particular version (or newer). The
31865 default version tested for is 4.0.0.
31866
31867 The macro tests for ZMQ libraries in the library/include path, and, when
31868 provided, also in the path given by -with-zmq.
31869
31870 This macro calls:
31871
31872 AC_SUBST(ZMQ_CPPFLAGS) / AC_SUBST(ZMQ_LDFLAGS) / AC_SUBST(ZMQ_LIBS)
31873
31874 And sets:
31875
31876 HAVE_ZMQ
31877
31878 Source Code
31879 ***********
31880
31881 Download the latest version of 'ax_zmq.m4'
31882 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_zmq.m4)
31883 or browse the macro's revision history
31884 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_zmq.m4).
31885
31886 License
31887 *******
31888
31889 Copyright (C) 2016 Jeroen Meijer <jjgmeijer@gmail.com>
31890
31891 Copying and distribution of this file, with or without modification, are
31892 permitted in any medium without royalty provided the copyright notice
31893 and this notice are preserved. This file is offered as-is, without any
31894 warranty.
31895
31896 
31897 File: autoconf-archive.info, Node: ax_zoneinfo, Prev: ax_zmq, Up: The Macros
31898
31899 ax_zoneinfo
31900 ===========
31901
31902 Synopsis
31903 ********
31904
31905 AX_ZONEINFO([options...])
31906
31907 Description
31908 ***********
31909
31910 This macro finds compiled zoneinfo files. If successful it will define
31911 HAVE_ZONEINFO per:
31912
31913 AC_DEFINE([HAVE_ZONEINFO], [1], [...])
31914
31915 and have the variable TZDIR point to the zoneinfo directory as per
31916
31917 AC_SUBST([TZDIR])
31918 AC_DEFINE_UNQUOTED([TZDIR], [/path/to/zic/files], [...])
31919
31920 Optionally, OPTIONS can be 'right' to trigger further tests that will
31921 determine if leap second fix-ups are available. If so the variables
31922 HAVE_ZONEINFO_RIGHT, ZONEINFO_UTC_RIGHT and TZDIR_RIGHT will be
31923 populated:
31924
31925 AC_DEFINE([HAVE_ZONEINFO_RIGHT], [1], [...])
31926 AC_SUBST([TZDIR_RIGHT])
31927 AC_DEFINE_UNQUOTED([TZDIR_RIGHT], [/path/to/right/zic/files], [...])
31928 AC_SUBST([ZONEINFO_UTC_RIGHT])
31929 AC_DEFINE_UNQUOTED([ZONEINFO_UTC_RIGHT], [$ZONEINFO_UTC_RIGHT], [...])
31930
31931 Source Code
31932 ***********
31933
31934 Download the latest version of 'ax_zoneinfo.m4'
31935 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_zoneinfo.m4)
31936 or browse the macro's revision history
31937 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_zoneinfo.m4).
31938
31939 License
31940 *******
31941
31942 Copyright (C) 2012 Sebastian Freundt <freundt@fresse.org>
31943
31944 Copying and distribution of this file, with or without modification, are
31945 permitted in any medium without royalty provided the copyright notice
31946 and this notice are preserved. This file is offered as-is, without any
31947 warranty.
31948
31949 
31950 File: autoconf-archive.info, Node: GNU Free Documentation License, Prev: The Macros, Up: Top
31951
31952 Appendix A GNU Free Documentation License
31953 *****************************************
31954
31955 Version 1.3, 3 November 2008
31956
31957 Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
31958 <https://fsf.org/>
31959
31960 Everyone is permitted to copy and distribute verbatim copies
31961 of this license document, but changing it is not allowed.
31962
31963 0. PREAMBLE
31964
31965 The purpose of this License is to make a manual, textbook, or other
31966 functional and useful document "free" in the sense of freedom: to
31967 assure everyone the effective freedom to copy and redistribute it,
31968 with or without modifying it, either commercially or
31969 noncommercially. Secondarily, this License preserves for the
31970 author and publisher a way to get credit for their work, while not
31971 being considered responsible for modifications made by others.
31972
31973 This License is a kind of "copyleft", which means that derivative
31974 works of the document must themselves be free in the same sense.
31975 It complements the GNU General Public License, which is a copyleft
31976 license designed for free software.
31977
31978 We have designed this License in order to use it for manuals for
31979 free software, because free software needs free documentation: a
31980 free program should come with manuals providing the same freedoms
31981 that the software does. But this License is not limited to
31982 software manuals; it can be used for any textual work, regardless
31983 of subject matter or whether it is published as a printed book. We
31984 recommend this License principally for works whose purpose is
31985 instruction or reference.
31986
31987 1. APPLICABILITY AND DEFINITIONS
31988
31989 This License applies to any manual or other work, in any medium,
31990 that contains a notice placed by the copyright holder saying it can
31991 be distributed under the terms of this License. Such a notice
31992 grants a world-wide, royalty-free license, unlimited in duration,
31993 to use that work under the conditions stated herein. The
31994 "Document", below, refers to any such manual or work. Any member
31995 of the public is a licensee, and is addressed as "you". You accept
31996 the license if you copy, modify or distribute the work in a way
31997 requiring permission under copyright law.
31998
31999 A "Modified Version" of the Document means any work containing the
32000 Document or a portion of it, either copied verbatim, or with
32001 modifications and/or translated into another language.
32002
32003 A "Secondary Section" is a named appendix or a front-matter section
32004 of the Document that deals exclusively with the relationship of the
32005 publishers or authors of the Document to the Document's overall
32006 subject (or to related matters) and contains nothing that could
32007 fall directly within that overall subject. (Thus, if the Document
32008 is in part a textbook of mathematics, a Secondary Section may not
32009 explain any mathematics.) The relationship could be a matter of
32010 historical connection with the subject or with related matters, or
32011 of legal, commercial, philosophical, ethical or political position
32012 regarding them.
32013
32014 The "Invariant Sections" are certain Secondary Sections whose
32015 titles are designated, as being those of Invariant Sections, in the
32016 notice that says that the Document is released under this License.
32017 If a section does not fit the above definition of Secondary then it
32018 is not allowed to be designated as Invariant. The Document may
32019 contain zero Invariant Sections. If the Document does not identify
32020 any Invariant Sections then there are none.
32021
32022 The "Cover Texts" are certain short passages of text that are
32023 listed, as Front-Cover Texts or Back-Cover Texts, in the notice
32024 that says that the Document is released under this License. A
32025 Front-Cover Text may be at most 5 words, and a Back-Cover Text may
32026 be at most 25 words.
32027
32028 A "Transparent" copy of the Document means a machine-readable copy,
32029 represented in a format whose specification is available to the
32030 general public, that is suitable for revising the document
32031 straightforwardly with generic text editors or (for images composed
32032 of pixels) generic paint programs or (for drawings) some widely
32033 available drawing editor, and that is suitable for input to text
32034 formatters or for automatic translation to a variety of formats
32035 suitable for input to text formatters. A copy made in an otherwise
32036 Transparent file format whose markup, or absence of markup, has
32037 been arranged to thwart or discourage subsequent modification by
32038 readers is not Transparent. An image format is not Transparent if
32039 used for any substantial amount of text. A copy that is not
32040 "Transparent" is called "Opaque".
32041
32042 Examples of suitable formats for Transparent copies include plain
32043 ASCII without markup, Texinfo input format, LaTeX input format,
32044 SGML or XML using a publicly available DTD, and standard-conforming
32045 simple HTML, PostScript or PDF designed for human modification.
32046 Examples of transparent image formats include PNG, XCF and JPG.
32047 Opaque formats include proprietary formats that can be read and
32048 edited only by proprietary word processors, SGML or XML for which
32049 the DTD and/or processing tools are not generally available, and
32050 the machine-generated HTML, PostScript or PDF produced by some word
32051 processors for output purposes only.
32052
32053 The "Title Page" means, for a printed book, the title page itself,
32054 plus such following pages as are needed to hold, legibly, the
32055 material this License requires to appear in the title page. For
32056 works in formats which do not have any title page as such, "Title
32057 Page" means the text near the most prominent appearance of the
32058 work's title, preceding the beginning of the body of the text.
32059
32060 The "publisher" means any person or entity that distributes copies
32061 of the Document to the public.
32062
32063 A section "Entitled XYZ" means a named subunit of the Document
32064 whose title either is precisely XYZ or contains XYZ in parentheses
32065 following text that translates XYZ in another language. (Here XYZ
32066 stands for a specific section name mentioned below, such as
32067 "Acknowledgements", "Dedications", "Endorsements", or "History".)
32068 To "Preserve the Title" of such a section when you modify the
32069 Document means that it remains a section "Entitled XYZ" according
32070 to this definition.
32071
32072 The Document may include Warranty Disclaimers next to the notice
32073 which states that this License applies to the Document. These
32074 Warranty Disclaimers are considered to be included by reference in
32075 this License, but only as regards disclaiming warranties: any other
32076 implication that these Warranty Disclaimers may have is void and
32077 has no effect on the meaning of this License.
32078
32079 2. VERBATIM COPYING
32080
32081 You may copy and distribute the Document in any medium, either
32082 commercially or noncommercially, provided that this License, the
32083 copyright notices, and the license notice saying this License
32084 applies to the Document are reproduced in all copies, and that you
32085 add no other conditions whatsoever to those of this License. You
32086 may not use technical measures to obstruct or control the reading
32087 or further copying of the copies you make or distribute. However,
32088 you may accept compensation in exchange for copies. If you
32089 distribute a large enough number of copies you must also follow the
32090 conditions in section 3.
32091
32092 You may also lend copies, under the same conditions stated above,
32093 and you may publicly display copies.
32094
32095 3. COPYING IN QUANTITY
32096
32097 If you publish printed copies (or copies in media that commonly
32098 have printed covers) of the Document, numbering more than 100, and
32099 the Document's license notice requires Cover Texts, you must
32100 enclose the copies in covers that carry, clearly and legibly, all
32101 these Cover Texts: Front-Cover Texts on the front cover, and
32102 Back-Cover Texts on the back cover. Both covers must also clearly
32103 and legibly identify you as the publisher of these copies. The
32104 front cover must present the full title with all words of the title
32105 equally prominent and visible. You may add other material on the
32106 covers in addition. Copying with changes limited to the covers, as
32107 long as they preserve the title of the Document and satisfy these
32108 conditions, can be treated as verbatim copying in other respects.
32109
32110 If the required texts for either cover are too voluminous to fit
32111 legibly, you should put the first ones listed (as many as fit
32112 reasonably) on the actual cover, and continue the rest onto
32113 adjacent pages.
32114
32115 If you publish or distribute Opaque copies of the Document
32116 numbering more than 100, you must either include a machine-readable
32117 Transparent copy along with each Opaque copy, or state in or with
32118 each Opaque copy a computer-network location from which the general
32119 network-using public has access to download using public-standard
32120 network protocols a complete Transparent copy of the Document, free
32121 of added material. If you use the latter option, you must take
32122 reasonably prudent steps, when you begin distribution of Opaque
32123 copies in quantity, to ensure that this Transparent copy will
32124 remain thus accessible at the stated location until at least one
32125 year after the last time you distribute an Opaque copy (directly or
32126 through your agents or retailers) of that edition to the public.
32127
32128 It is requested, but not required, that you contact the authors of
32129 the Document well before redistributing any large number of copies,
32130 to give them a chance to provide you with an updated version of the
32131 Document.
32132
32133 4. MODIFICATIONS
32134
32135 You may copy and distribute a Modified Version of the Document
32136 under the conditions of sections 2 and 3 above, provided that you
32137 release the Modified Version under precisely this License, with the
32138 Modified Version filling the role of the Document, thus licensing
32139 distribution and modification of the Modified Version to whoever
32140 possesses a copy of it. In addition, you must do these things in
32141 the Modified Version:
32142
32143 A. Use in the Title Page (and on the covers, if any) a title
32144 distinct from that of the Document, and from those of previous
32145 versions (which should, if there were any, be listed in the
32146 History section of the Document). You may use the same title
32147 as a previous version if the original publisher of that
32148 version gives permission.
32149
32150 B. List on the Title Page, as authors, one or more persons or
32151 entities responsible for authorship of the modifications in
32152 the Modified Version, together with at least five of the
32153 principal authors of the Document (all of its principal
32154 authors, if it has fewer than five), unless they release you
32155 from this requirement.
32156
32157 C. State on the Title page the name of the publisher of the
32158 Modified Version, as the publisher.
32159
32160 D. Preserve all the copyright notices of the Document.
32161
32162 E. Add an appropriate copyright notice for your modifications
32163 adjacent to the other copyright notices.
32164
32165 F. Include, immediately after the copyright notices, a license
32166 notice giving the public permission to use the Modified
32167 Version under the terms of this License, in the form shown in
32168 the Addendum below.
32169
32170 G. Preserve in that license notice the full lists of Invariant
32171 Sections and required Cover Texts given in the Document's
32172 license notice.
32173
32174 H. Include an unaltered copy of this License.
32175
32176 I. Preserve the section Entitled "History", Preserve its Title,
32177 and add to it an item stating at least the title, year, new
32178 authors, and publisher of the Modified Version as given on the
32179 Title Page. If there is no section Entitled "History" in the
32180 Document, create one stating the title, year, authors, and
32181 publisher of the Document as given on its Title Page, then add
32182 an item describing the Modified Version as stated in the
32183 previous sentence.
32184
32185 J. Preserve the network location, if any, given in the Document
32186 for public access to a Transparent copy of the Document, and
32187 likewise the network locations given in the Document for
32188 previous versions it was based on. These may be placed in the
32189 "History" section. You may omit a network location for a work
32190 that was published at least four years before the Document
32191 itself, or if the original publisher of the version it refers
32192 to gives permission.
32193
32194 K. For any section Entitled "Acknowledgements" or "Dedications",
32195 Preserve the Title of the section, and preserve in the section
32196 all the substance and tone of each of the contributor
32197 acknowledgements and/or dedications given therein.
32198
32199 L. Preserve all the Invariant Sections of the Document, unaltered
32200 in their text and in their titles. Section numbers or the
32201 equivalent are not considered part of the section titles.
32202
32203 M. Delete any section Entitled "Endorsements". Such a section
32204 may not be included in the Modified Version.
32205
32206 N. Do not retitle any existing section to be Entitled
32207 "Endorsements" or to conflict in title with any Invariant
32208 Section.
32209
32210 O. Preserve any Warranty Disclaimers.
32211
32212 If the Modified Version includes new front-matter sections or
32213 appendices that qualify as Secondary Sections and contain no
32214 material copied from the Document, you may at your option designate
32215 some or all of these sections as invariant. To do this, add their
32216 titles to the list of Invariant Sections in the Modified Version's
32217 license notice. These titles must be distinct from any other
32218 section titles.
32219
32220 You may add a section Entitled "Endorsements", provided it contains
32221 nothing but endorsements of your Modified Version by various
32222 parties--for example, statements of peer review or that the text
32223 has been approved by an organization as the authoritative
32224 definition of a standard.
32225
32226 You may add a passage of up to five words as a Front-Cover Text,
32227 and a passage of up to 25 words as a Back-Cover Text, to the end of
32228 the list of Cover Texts in the Modified Version. Only one passage
32229 of Front-Cover Text and one of Back-Cover Text may be added by (or
32230 through arrangements made by) any one entity. If the Document
32231 already includes a cover text for the same cover, previously added
32232 by you or by arrangement made by the same entity you are acting on
32233 behalf of, you may not add another; but you may replace the old
32234 one, on explicit permission from the previous publisher that added
32235 the old one.
32236
32237 The author(s) and publisher(s) of the Document do not by this
32238 License give permission to use their names for publicity for or to
32239 assert or imply endorsement of any Modified Version.
32240
32241 5. COMBINING DOCUMENTS
32242
32243 You may combine the Document with other documents released under
32244 this License, under the terms defined in section 4 above for
32245 modified versions, provided that you include in the combination all
32246 of the Invariant Sections of all of the original documents,
32247 unmodified, and list them all as Invariant Sections of your
32248 combined work in its license notice, and that you preserve all
32249 their Warranty Disclaimers.
32250
32251 The combined work need only contain one copy of this License, and
32252 multiple identical Invariant Sections may be replaced with a single
32253 copy. If there are multiple Invariant Sections with the same name
32254 but different contents, make the title of each such section unique
32255 by adding at the end of it, in parentheses, the name of the
32256 original author or publisher of that section if known, or else a
32257 unique number. Make the same adjustment to the section titles in
32258 the list of Invariant Sections in the license notice of the
32259 combined work.
32260
32261 In the combination, you must combine any sections Entitled
32262 "History" in the various original documents, forming one section
32263 Entitled "History"; likewise combine any sections Entitled
32264 "Acknowledgements", and any sections Entitled "Dedications". You
32265 must delete all sections Entitled "Endorsements."
32266
32267 6. COLLECTIONS OF DOCUMENTS
32268
32269 You may make a collection consisting of the Document and other
32270 documents released under this License, and replace the individual
32271 copies of this License in the various documents with a single copy
32272 that is included in the collection, provided that you follow the
32273 rules of this License for verbatim copying of each of the documents
32274 in all other respects.
32275
32276 You may extract a single document from such a collection, and
32277 distribute it individually under this License, provided you insert
32278 a copy of this License into the extracted document, and follow this
32279 License in all other respects regarding verbatim copying of that
32280 document.
32281
32282 7. AGGREGATION WITH INDEPENDENT WORKS
32283
32284 A compilation of the Document or its derivatives with other
32285 separate and independent documents or works, in or on a volume of a
32286 storage or distribution medium, is called an "aggregate" if the
32287 copyright resulting from the compilation is not used to limit the
32288 legal rights of the compilation's users beyond what the individual
32289 works permit. When the Document is included in an aggregate, this
32290 License does not apply to the other works in the aggregate which
32291 are not themselves derivative works of the Document.
32292
32293 If the Cover Text requirement of section 3 is applicable to these
32294 copies of the Document, then if the Document is less than one half
32295 of the entire aggregate, the Document's Cover Texts may be placed
32296 on covers that bracket the Document within the aggregate, or the
32297 electronic equivalent of covers if the Document is in electronic
32298 form. Otherwise they must appear on printed covers that bracket
32299 the whole aggregate.
32300
32301 8. TRANSLATION
32302
32303 Translation is considered a kind of modification, so you may
32304 distribute translations of the Document under the terms of section
32305 4. Replacing Invariant Sections with translations requires special
32306 permission from their copyright holders, but you may include
32307 translations of some or all Invariant Sections in addition to the
32308 original versions of these Invariant Sections. You may include a
32309 translation of this License, and all the license notices in the
32310 Document, and any Warranty Disclaimers, provided that you also
32311 include the original English version of this License and the
32312 original versions of those notices and disclaimers. In case of a
32313 disagreement between the translation and the original version of
32314 this License or a notice or disclaimer, the original version will
32315 prevail.
32316
32317 If a section in the Document is Entitled "Acknowledgements",
32318 "Dedications", or "History", the requirement (section 4) to
32319 Preserve its Title (section 1) will typically require changing the
32320 actual title.
32321
32322 9. TERMINATION
32323
32324 You may not copy, modify, sublicense, or distribute the Document
32325 except as expressly provided under this License. Any attempt
32326 otherwise to copy, modify, sublicense, or distribute it is void,
32327 and will automatically terminate your rights under this License.
32328
32329 However, if you cease all violation of this License, then your
32330 license from a particular copyright holder is reinstated (a)
32331 provisionally, unless and until the copyright holder explicitly and
32332 finally terminates your license, and (b) permanently, if the
32333 copyright holder fails to notify you of the violation by some
32334 reasonable means prior to 60 days after the cessation.
32335
32336 Moreover, your license from a particular copyright holder is
32337 reinstated permanently if the copyright holder notifies you of the
32338 violation by some reasonable means, this is the first time you have
32339 received notice of violation of this License (for any work) from
32340 that copyright holder, and you cure the violation prior to 30 days
32341 after your receipt of the notice.
32342
32343 Termination of your rights under this section does not terminate
32344 the licenses of parties who have received copies or rights from you
32345 under this License. If your rights have been terminated and not
32346 permanently reinstated, receipt of a copy of some or all of the
32347 same material does not give you any rights to use it.
32348
32349 10. FUTURE REVISIONS OF THIS LICENSE
32350
32351 The Free Software Foundation may publish new, revised versions of
32352 the GNU Free Documentation License from time to time. Such new
32353 versions will be similar in spirit to the present version, but may
32354 differ in detail to address new problems or concerns. See
32355 <https://www.gnu.org/licenses/>.
32356
32357 Each version of the License is given a distinguishing version
32358 number. If the Document specifies that a particular numbered
32359 version of this License "or any later version" applies to it, you
32360 have the option of following the terms and conditions either of
32361 that specified version or of any later version that has been
32362 published (not as a draft) by the Free Software Foundation. If the
32363 Document does not specify a version number of this License, you may
32364 choose any version ever published (not as a draft) by the Free
32365 Software Foundation. If the Document specifies that a proxy can
32366 decide which future versions of this License can be used, that
32367 proxy's public statement of acceptance of a version permanently
32368 authorizes you to choose that version for the Document.
32369
32370 11. RELICENSING
32371
32372 "Massive Multiauthor Collaboration Site" (or "MMC Site") means any
32373 World Wide Web server that publishes copyrightable works and also
32374 provides prominent facilities for anybody to edit those works. A
32375 public wiki that anybody can edit is an example of such a server.
32376 A "Massive Multiauthor Collaboration" (or "MMC") contained in the
32377 site means any set of copyrightable works thus published on the MMC
32378 site.
32379
32380 "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
32381 license published by Creative Commons Corporation, a not-for-profit
32382 corporation with a principal place of business in San Francisco,
32383 California, as well as future copyleft versions of that license
32384 published by that same organization.
32385
32386 "Incorporate" means to publish or republish a Document, in whole or
32387 in part, as part of another Document.
32388
32389 An MMC is "eligible for relicensing" if it is licensed under this
32390 License, and if all works that were first published under this
32391 License somewhere other than this MMC, and subsequently
32392 incorporated in whole or in part into the MMC, (1) had no cover
32393 texts or invariant sections, and (2) were thus incorporated prior
32394 to November 1, 2008.
32395
32396 The operator of an MMC Site may republish an MMC contained in the
32397 site under CC-BY-SA on the same site at any time before August 1,
32398 2009, provided the MMC is eligible for relicensing.
32399
32400 ADDENDUM: How to use this License for your documents
32401 ====================================================
32402
32403 To use this License in a document you have written, include a copy of
32404 the License in the document and put the following copyright and license
32405 notices just after the title page:
32406
32407 Copyright (C) YEAR YOUR NAME.
32408 Permission is granted to copy, distribute and/or modify this document
32409 under the terms of the GNU Free Documentation License, Version 1.3
32410 or any later version published by the Free Software Foundation;
32411 with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
32412 Texts. A copy of the license is included in the section entitled ``GNU
32413 Free Documentation License''.
32414
32415 If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
32416 replace the "with...Texts." line with this:
32417
32418 with the Invariant Sections being LIST THEIR TITLES, with
32419 the Front-Cover Texts being LIST, and with the Back-Cover Texts
32420 being LIST.
32421
32422 If you have Invariant Sections without Cover Texts, or some other
32423 combination of the three, merge those two alternatives to suit the
32424 situation.
32425
32426 If your document contains nontrivial examples of program code, we
32427 recommend releasing these examples in parallel under your choice of free
32428 software license, such as the GNU General Public License, to permit
32429 their use in free software.
32430
32431
21 Indirect:
22 autoconf-archive.info-1: 823
23 autoconf-archive.info-2: 302249
24 autoconf-archive.info-3: 609615
25 autoconf-archive.info-4: 902257
3243226 
3243327 Tag Table:
28 (Indirect)
3243429 Node: Top823
3243530 Node: Introduction1898
3243631 Node: Downloads3460
3243732 Node: How to contribute4502
3243833 Node: The Macros7600
32439 Node: ax_absolute_header21111
32440 Node: ax_ac_append_to_file22493
32441 Node: ax_ac_print_to_file23529
32442 Node: ax_add_am_macro24562
32443 Node: ax_add_am_macro_static25579
32444 Node: ax_add_am_trilinos_makefile_export26581
32445 Node: ax_add_fortify_source27820
32446 Node: ax_add_recursive_am_macro29257
32447 Node: ax_add_recursive_am_macro_static30411
32448 Node: ax_afs31611
32449 Node: ax_am_jobserver33158
32450 Node: ax_am_macros34656
32451 Node: ax_am_macros_static35648
32452 Node: ax_am_override_var36735
32453 Node: ax_append_compile_flags41077
32454 Node: ax_append_flag42795
32455 Node: ax_append_link_flags44065
32456 Node: ax_append_to_file45709
32457 Node: ax_arg_with_path_style46630
32458 Node: ax_asm_inline49662
32459 Node: ax_at_check_pattern50752
32460 Node: ax_auto_include_headers52432
32461 Node: ax_berkeley_db54580
32462 Node: ax_berkeley_db_cxx56185
32463 Node: ax_blas57906
32464 Node: ax_blas_f77_func61028
32465 Node: ax_boost_asio63770
32466 Node: ax_boost_base64915
32467 Node: ax_boost_chrono66254
32468 Node: ax_boost_context67359
32469 Node: ax_boost_coroutine68584
32470 Node: ax_boost_date_time69830
32471 Node: ax_boost_filesystem71019
32472 Node: ax_boost_iostreams72275
32473 Node: ax_boost_locale73427
32474 Node: ax_boost_log74533
32475 Node: ax_boost_log_setup75718
32476 Node: ax_boost_program_options76965
32477 Node: ax_boost_python78176
32478 Node: ax_boost_regex80783
32479 Node: ax_boost_serialization81932
32480 Node: ax_boost_signals83120
32481 Node: ax_boost_system84289
32482 Node: ax_boost_test_exec_monitor85513
32483 Node: ax_boost_thread86796
32484 Node: ax_boost_unit_test_framework87972
32485 Node: ax_boost_wave89218
32486 Node: ax_boost_wserialization90371
32487 Node: ax_build_date_epoch91570
32488 Node: ax_c99_inline94216
32489 Node: ax_c___attribute__95246
32490 Node: ax_c_arithmetic_rshift97457
32491 Node: ax_c_compile_value98468
32492 Node: ax_c_declare_block101884
32493 Node: ax_c_float_words_bigendian104759
32494 Node: ax_c_long_long106859
32495 Node: ax_c_referenceable_passed_va_list107813
32496 Node: ax_c_var_func110063
32497 Node: ax_cache_size112516
32498 Node: ax_caolan_check_package113608
32499 Node: ax_caolan_search_package115412
32500 Node: ax_cc_for_build117242
32501 Node: ax_cc_maxopt119353
32502 Node: ax_cf_ebcdic122087
32503 Node: ax_cflags_aix_option124265
32504 Node: ax_cflags_force_c89126392
32505 Node: ax_cflags_hpux_option127915
32506 Node: ax_cflags_irix_option130059
32507 Node: ax_cflags_no_writable_strings132219
32508 Node: ax_cflags_strict_prototypes133820
32509 Node: ax_cflags_sun_option135500
32510 Node: ax_cflags_warn_all137639
32511 Node: ax_check_aligned_access_required140594
32512 Node: ax_check_allocated_ctime142416
32513 Node: ax_check_awk__v143377
32514 Node: ax_check_awk__x_escapes144683
32515 Node: ax_check_awk_and146005
32516 Node: ax_check_awk_argind147288
32517 Node: ax_check_awk_array_delete148592
32518 Node: ax_check_awk_array_delete_elem149946
32519 Node: ax_check_awk_array_in151340
32520 Node: ax_check_awk_asort152663
32521 Node: ax_check_awk_asorti153960
32522 Node: ax_check_awk_associative_array155273
32523 Node: ax_check_awk_atan2156652
32524 Node: ax_check_awk_compl157957
32525 Node: ax_check_awk_conditional_expression159267
32526 Node: ax_check_awk_cos160706
32527 Node: ax_check_awk_environ162002
32528 Node: ax_check_awk_errno163307
32529 Node: ax_check_awk_exit164599
32530 Node: ax_check_awk_exp165873
32531 Node: ax_check_awk_gensub167150
32532 Node: ax_check_awk_getline168451
32533 Node: ax_check_awk_gsub169758
32534 Node: ax_check_awk_ignorecase171050
32535 Node: ax_check_awk_index172380
32536 Node: ax_check_awk_int173676
32537 Node: ax_check_awk_length174954
32538 Node: ax_check_awk_log176251
32539 Node: ax_check_awk_lshift177530
32540 Node: ax_check_awk_match_2parms178836
32541 Node: ax_check_awk_match_3parms180215
32542 Node: ax_check_awk_operator_multiply_multiply181619
32543 Node: ax_check_awk_operator_square183077
32544 Node: ax_check_awk_or184458
32545 Node: ax_check_awk_printf185738
32546 Node: ax_check_awk_rand187035
32547 Node: ax_check_awk_rshift188322
32548 Node: ax_check_awk_sin189620
32549 Node: ax_check_awk_split190898
32550 Node: ax_check_awk_sprintf192191
32551 Node: ax_check_awk_sqrt193499
32552 Node: ax_check_awk_srand194786
32553 Node: ax_check_awk_strftime196081
32554 Node: ax_check_awk_strtonum197401
32555 Node: ax_check_awk_sub198719
32556 Node: ax_check_awk_substr200000
32557 Node: ax_check_awk_system201300
32558 Node: ax_check_awk_systime202604
32559 Node: ax_check_awk_tolower203916
32560 Node: ax_check_awk_toupper205229
32561 Node: ax_check_awk_user_defined_functions206557
32562 Node: ax_check_awk_var_regexp207982
32563 Node: ax_check_awk_variable_value_pairs209341
32564 Node: ax_check_awk_xor210772
32565 Node: ax_check_class212060
32566 Node: ax_check_classpath214629
32567 Node: ax_check_compile_flag217112
32568 Node: ax_check_define218776
32569 Node: ax_check_docbook_dtd219930
32570 Node: ax_check_docbook_xslt222544
32571 Node: ax_check_docbook_xslt_min225192
32572 Node: ax_check_dos_filesys227677
32573 Node: ax_check_enable_debug230157
32574 Node: ax_check_func_in232324
32575 Node: ax_check_gd233275
32576 Node: ax_check_gir_symbols_gjs234887
32577 Node: ax_check_girs_gjs236774
32578 Node: ax_check_gl238600
32579 Node: ax_check_glu242825
32580 Node: ax_check_glut246900
32581 Node: ax_check_glx250711
32582 Node: ax_check_gnu_make253523
32583 Node: ax_check_icu256616
32584 Node: ax_check_java_home257532
32585 Node: ax_check_java_plugin259762
32586 Node: ax_check_junit262500
32587 Node: ax_check_library264277
32588 Node: ax_check_link_flag267297
32589 Node: ax_check_mysql268889
32590 Node: ax_check_mysql_db272064
32591 Node: ax_check_mysqlr274387
32592 Node: ax_check_off64_t275516
32593 Node: ax_check_openssl276537
32594 Node: ax_check_page_aligned_malloc277976
32595 Node: ax_check_pathfind279893
32596 Node: ax_check_pathname_style280901
32597 Node: ax_check_pgsql_db283312
32598 Node: ax_check_posix_regcomp286789
32599 Node: ax_check_posix_sysinfo287833
32600 Node: ax_check_postgres_db288817
32601 Node: ax_check_preproc_flag290739
32602 Node: ax_check_rqrd_class292400
32603 Node: ax_check_sign295027
32604 Node: ax_check_strcspn296685
32605 Node: ax_check_strftime298107
32606 Node: ax_check_struct_for299004
32607 Node: ax_check_symbol299956
32608 Node: ax_check_sys_siglist301007
32609 Node: ax_check_typedef301909
32610 Node: ax_check_uname_syscall303233
32611 Node: ax_check_user304163
32612 Node: ax_check_vscript306612
32613 Node: ax_check_x86_features308705
32614 Node: ax_check_zlib311928
32615 Node: ax_code_coverage315101
32616 Node: ax_compare_version318175
32617 Node: ax_compile_check_sizeof321344
32618 Node: ax_compiler_flags324913
32619 Node: ax_compiler_flags_cflags330299
32620 Node: ax_compiler_flags_cxxflags331704
32621 Node: ax_compiler_flags_gir333066
32622 Node: ax_compiler_flags_ldflags334444
32623 Node: ax_compiler_vendor335850
32624 Node: ax_compiler_version338183
32625 Node: ax_compute_relative_paths339701
32626 Node: ax_compute_standard_relative_paths342824
32627 Node: ax_cond_with_level346576
32628 Node: ax_config_feature348323
32629 Node: ax_configure_args352425
32630 Node: ax_count_cpus353973
32631 Node: ax_cpu_freq355398
32632 Node: ax_cpu_vendor356271
32633 Node: ax_create_generic_config357232
32634 Node: ax_create_pkgconfig_info359040
32635 Node: ax_create_stdint_h361976
32636 Node: ax_create_target_h364658
32637 Node: ax_cvs368008
32638 Node: ax_cxx_bool370669
32639 Node: ax_cxx_compile_stdcxx371720
32640 Node: ax_cxx_compile_stdcxx_0x373854
32641 Node: ax_cxx_compile_stdcxx_11374955
32642 Node: ax_cxx_compile_stdcxx_14376734
32643 Node: ax_cxx_compile_stdcxx_17378211
32644 Node: ax_cxx_complex_math_in_namespace_std379754
32645 Node: ax_cxx_const_cast380888
32646 Node: ax_cxx_cppflags_std_lang381859
32647 Node: ax_cxx_cxxflags_std_lang383001
32648 Node: ax_cxx_default_template_parameters384361
32649 Node: ax_cxx_delete_method385467
32650 Node: ax_cxx_dtor_after_atexit386915
32651 Node: ax_cxx_dynamic_cast388616
32652 Node: ax_cxx_enum_computations389593
32653 Node: ax_cxx_enum_computations_with_cast390626
32654 Node: ax_cxx_erase_iterator_type391741
32655 Node: ax_cxx_exceptions392890
32656 Node: ax_cxx_explicit393876
32657 Node: ax_cxx_explicit_instantiations394916
32658 Node: ax_cxx_explicit_template_function_qualification396006
32659 Node: ax_cxx_extern_template397237
32660 Node: ax_cxx_full_specialization_syntax398235
32661 Node: ax_cxx_function_nontype_parameters399350
32662 Node: ax_cxx_function_try_blocks400487
32663 Node: ax_cxx_gcc_abi_demangle402649
32664 Node: ax_cxx_gnucxx_hashmap403732
32665 Node: ax_cxx_have_bad_function_call404691
32666 Node: ax_cxx_have_bind405869
32667 Node: ax_cxx_have_bit_and406928
32668 Node: ax_cxx_have_bit_or408003
32669 Node: ax_cxx_have_bit_xor409072
32670 Node: ax_cxx_have_complex410150
32671 Node: ax_cxx_have_complex_math1411109
32672 Node: ax_cxx_have_complex_math2412188
32673 Node: ax_cxx_have_cref413242
32674 Node: ax_cxx_have_empty_iostream414304
32675 Node: ax_cxx_have_ext_hash_map416462
32676 Node: ax_cxx_have_ext_hash_set418855
32677 Node: ax_cxx_have_ext_slist421177
32678 Node: ax_cxx_have_freeze_sstream423470
32679 Node: ax_cxx_have_function425992
32680 Node: ax_cxx_have_hash427085
32681 Node: ax_cxx_have_ieee_math428137
32682 Node: ax_cxx_have_is_bind_expression429284
32683 Node: ax_cxx_have_is_placeholder430482
32684 Node: ax_cxx_have_koenig_lookup431648
32685 Node: ax_cxx_have_long_long_for_iostream432686
32686 Node: ax_cxx_have_mem_fn435292
32687 Node: ax_cxx_have_numeric_limits436383
32688 Node: ax_cxx_have_placeholders437403
32689 Node: ax_cxx_have_ref438535
32690 Node: ax_cxx_have_reference_wrapper439589
32691 Node: ax_cxx_have_sstream440764
32692 Node: ax_cxx_have_std441709
32693 Node: ax_cxx_have_stl442708
32694 Node: ax_cxx_have_string_push_back443658
32695 Node: ax_cxx_have_system_v_math444706
32696 Node: ax_cxx_have_valarray445818
32697 Node: ax_cxx_have_vector_at446788
32698 Node: ax_cxx_header_pre_stdcxx447783
32699 Node: ax_cxx_header_stdcxx_0x448729
32700 Node: ax_cxx_header_stdcxx_98449680
32701 Node: ax_cxx_header_stdcxx_tr1450647
32702 Node: ax_cxx_header_tr1_unordered_map451610
32703 Node: ax_cxx_header_tr1_unordered_set452674
32704 Node: ax_cxx_header_unordered_map453741
32705 Node: ax_cxx_header_unordered_set454776
32706 Node: ax_cxx_ldflags_std_lang455803
32707 Node: ax_cxx_member_constants457136
32708 Node: ax_cxx_member_templates458145
32709 Node: ax_cxx_member_templates_outside_class459168
32710 Node: ax_cxx_mutable460310
32711 Node: ax_cxx_namespace_std461376
32712 Node: ax_cxx_namespaces462343
32713 Node: ax_cxx_new_for_scoping463393
32714 Node: ax_cxx_old_for_scoping464483
32715 Node: ax_cxx_partial_ordering465718
32716 Node: ax_cxx_partial_specialization466732
32717 Node: ax_cxx_reinterpret_cast467795
32718 Node: ax_cxx_restrict_this468809
32719 Node: ax_cxx_rtti470814
32720 Node: ax_cxx_rvalue_references471774
32721 Node: ax_cxx_static_cast472827
32722 Node: ax_cxx_stlport_hashmap473793
32723 Node: ax_cxx_template_keyword_qualifier474758
32724 Node: ax_cxx_template_qualified_base_class475923
32725 Node: ax_cxx_template_qualified_return_type477084
32726 Node: ax_cxx_template_scoped_argument_matching478250
32727 Node: ax_cxx_templates479458
32728 Node: ax_cxx_templates_as_template_arguments480442
32729 Node: ax_cxx_typename481571
32730 Node: ax_cxx_use_numtrait482533
32731 Node: ax_cxx_var_prettyfunc483509
32732 Node: ax_cxx_verbose_terminate_handler486021
32733 Node: ax_czmq487726
32734 Node: ax_decl_wchar_max488936
32735 Node: ax_define_integer_bits490022
32736 Node: ax_define_sub_path491874
32737 Node: ax_dirname494508
32738 Node: ax_dist_msi495609
32739 Node: ax_dist_rpm496681
32740 Node: ax_dll_string498520
32741 Node: ax_elisp499644
32742 Node: ax_enable_builddir504181
32743 Node: ax_execinfo507943
32744 Node: ax_expand_prefix509392
32745 Node: ax_ext511187
32746 Node: ax_ext_check_header513166
32747 Node: ax_ext_have_lib514509
32748 Node: ax_extend_srcdir516179
32749 Node: ax_extra_dist519195
32750 Node: ax_f77_cmain_fflags520592
32751 Node: ax_f90_header523444
32752 Node: ax_f90_internal_headmod525256
32753 Node: ax_f90_library526307
32754 Node: ax_f90_library_setup528204
32755 Node: ax_f90_module531082
32756 Node: ax_f90_module_extension532933
32757 Node: ax_f90_module_flag534034
32758 Node: ax_fc_check_define535301
32759 Node: ax_file_escapes536515
32760 Node: ax_find_hamcrest537398
32761 Node: ax_find_junit538452
32762 Node: ax_find_scala_stdlib539481
32763 Node: ax_forceinline540569
32764 Node: ax_func_accept_argtypes541640
32765 Node: ax_func_getopt_long544227
32766 Node: ax_func_memmove546623
32767 Node: ax_func_mkdir547605
32768 Node: ax_func_posix_memalign550156
32769 Node: ax_func_snprintf551300
32770 Node: ax_func_which_gethostbyname_r552547
32771 Node: ax_func_which_getservbyname_r555457
32772 Node: ax_gcc_archflag558047
32773 Node: ax_gcc_builtin561391
32774 Node: ax_gcc_const_call564271
32775 Node: ax_gcc_func_attribute565232
32776 Node: ax_gcc_lib567583
32777 Node: ax_gcc_libgcc_eh569831
32778 Node: ax_gcc_libsupcxx571975
32779 Node: ax_gcc_malloc_call574191
32780 Node: ax_gcc_var_attribute575160
32781 Node: ax_gcc_warn_unused_result577100
32782 Node: ax_gcc_x86_avx_xgetbv578123
32783 Node: ax_gcc_x86_cpu_supports580886
32784 Node: ax_gcc_x86_cpuid583914
32785 Node: ax_generate_changelog586871
32786 Node: ax_gnu_autotest588920
32787 Node: ax_have_adns600734
32788 Node: ax_have_epoll601834
32789 Node: ax_have_poll603857
32790 Node: ax_have_qt605400
32791 Node: ax_have_select607345
32792 Node: ax_include_strcasecmp608892
32793 Node: ax_install_files610020
32794 Node: ax_is_release610965
32795 Node: ax_java_check_class613201
32796 Node: ax_java_options615858
32797 Node: ax_jni_include_dir617175
32798 Node: ax_lapack619018
32799 Node: ax_lib_beecrypt622212
32800 Node: ax_lib_cgal_core623573
32801 Node: ax_lib_crypto624904
32802 Node: ax_lib_curl626272
32803 Node: ax_lib_ev627484
32804 Node: ax_lib_expat628607
32805 Node: ax_lib_firebird630214
32806 Node: ax_lib_gcrypt631746
32807 Node: ax_lib_gdal633221
32808 Node: ax_lib_hdf5634593
32809 Node: ax_lib_id3637886
32810 Node: ax_lib_libkml639297
32811 Node: ax_lib_metis640793
32812 Node: ax_lib_mysql642484
32813 Node: ax_lib_mysqlcppconn643998
32814 Node: ax_lib_netcdf4645411
32815 Node: ax_lib_nettle648631
32816 Node: ax_lib_nokalva650022
32817 Node: ax_lib_oracle_occi651512
32818 Node: ax_lib_oracle_oci653350
32819 Node: ax_lib_orbit2655168
32820 Node: ax_lib_postgresql656350
32821 Node: ax_lib_readline658291
32822 Node: ax_lib_samtools660850
32823 Node: ax_lib_socket_nsl664098
32824 Node: ax_lib_sqlite3665442
32825 Node: ax_lib_tabix666791
32826 Node: ax_lib_taglib669984
32827 Node: ax_lib_trace671218
32828 Node: ax_lib_upnp672369
32829 Node: ax_lib_wad673795
32830 Node: ax_lib_xalan675927
32831 Node: ax_lib_xerces677539
32832 Node: ax_lib_xml_security679108
32833 Node: ax_libgcj_jar680882
32834 Node: ax_libtoolize_cflags682948
32835 Node: ax_llvm683988
32836 Node: ax_lua685013
32837 Node: ax_luarocks_rock693647
32838 Node: ax_maintainer_mode_auto_silent694879
32839 Node: ax_missing_prog696311
32840 Node: ax_mpi698781
32841 Node: ax_mpip702033
32842 Node: ax_need_awk704432
32843 Node: ax_normalize_path705582
32844 Node: ax_not_enable_frame_pointer709954
32845 Node: ax_numeric_namedlevel711119
32846 Node: ax_open62541_check_h713626
32847 Node: ax_open62541_check_lib716282
32848 Node: ax_open62541_path718343
32849 Node: ax_openmp720932
32850 Node: ax_patch_libtool_changing_cmds_ifs724117
32851 Node: ax_path_bdb726957
32852 Node: ax_path_generic730279
32853 Node: ax_path_lib_pcre733156
32854 Node: ax_path_milter734359
32855 Node: ax_path_missing738156
32856 Node: ax_perl_ext739655
32857 Node: ax_perl_ext_flags742339
32858 Node: ax_perl_module_version745004
32859 Node: ax_pgsql_priv_root746386
32860 Node: ax_pkg_check_modules750080
32861 Node: ax_pkg_mico752487
32862 Node: ax_pkg_swig754848
32863 Node: ax_prefix_config_h757937
32864 Node: ax_print_to_file762932
32865 Node: ax_printf_size_t763837
32866 Node: ax_prog_apache765626
32867 Node: ax_prog_bison768743
32868 Node: ax_prog_bison_version770945
32869 Node: ax_prog_cc_char_subscripts772521
32870 Node: ax_prog_cc_for_build773859
32871 Node: ax_prog_cc_mpi775490
32872 Node: ax_prog_cp_s779139
32873 Node: ax_prog_crontab781024
32874 Node: ax_prog_cxx_for_build783232
32875 Node: ax_prog_cxx_mpi784726
32876 Node: ax_prog_date788380
32877 Node: ax_prog_dotnetcore_version791648
32878 Node: ax_prog_doxygen793170
32879 Node: ax_prog_emacs797498
32880 Node: ax_prog_f77_mpi800153
32881 Node: ax_prog_fasm803809
32882 Node: ax_prog_fasm_opt806119
32883 Node: ax_prog_fc_mpi808373
32884 Node: ax_prog_fig2dev812023
32885 Node: ax_prog_flex813162
32886 Node: ax_prog_flex_version815357
32887 Node: ax_prog_gjs816905
32888 Node: ax_prog_guile_version818076
32889 Node: ax_prog_haxe_version819693
32890 Node: ax_prog_help2man821141
32891 Node: ax_prog_hla826648
32892 Node: ax_prog_hla_opt828946
32893 Node: ax_prog_httpd831184
32894 Node: ax_prog_jar834106
32895 Node: ax_prog_java835668
32896 Node: ax_prog_java_cc839553
32897 Node: ax_prog_java_works842411
32898 Node: ax_prog_javac844825
32899 Node: ax_prog_javac_works847833
32900 Node: ax_prog_javadoc850254
32901 Node: ax_prog_javah851891
32902 Node: ax_prog_masm852898
32903 Node: ax_prog_masm_opt855206
32904 Node: ax_prog_md5sum857459
32905 Node: ax_prog_modprobe858531
32906 Node: ax_prog_mysql859651
32907 Node: ax_prog_mysqladmin862096
32908 Node: ax_prog_mysqld864502
32909 Node: ax_prog_mysqlimport866715
32910 Node: ax_prog_mysqlshow868966
32911 Node: ax_prog_nasm871338
32912 Node: ax_prog_nasm_opt873650
32913 Node: ax_prog_perl_modules875910
32914 Node: ax_prog_perl_version877431
32915 Node: ax_prog_pgclient879037
32916 Node: ax_prog_python_version881590
32917 Node: ax_prog_ruby_version883228
32918 Node: ax_prog_scala884876
32919 Node: ax_prog_scalac885942
32920 Node: ax_prog_scp887013
32921 Node: ax_prog_splint889181
32922 Node: ax_prog_ssh890647
32923 Node: ax_prog_tasm892813
32924 Node: ax_prog_tasm_opt895119
32925 Node: ax_prog_tcl897366
32926 Node: ax_prog_xsltproc899824
32927 Node: ax_prog_yasm902234
32928 Node: ax_prog_yasm_opt904545
32929 Node: ax_prototype906797
32930 Node: ax_prototype_accept911120
32931 Node: ax_prototype_getsockname913443
32932 Node: ax_prototype_setsockopt915832
32933 Node: ax_pthread918113
32934 Node: ax_python922190
32935 Node: ax_python_config_var924560
32936 Node: ax_python_devel926744
32937 Node: ax_python_embed930179
32938 Node: ax_python_module935068
32939 Node: ax_python_module_version936121
32940 Node: ax_r_package937359
32941 Node: ax_recursive_eval938332
32942 Node: ax_require_defined940502
32943 Node: ax_require_one_func941794
32944 Node: ax_restore_flags943128
32945 Node: ax_restore_flags_with_prefix944687
32946 Node: ax_rpm_init947375
32947 Node: ax_ruby_devel953418
32948 Node: ax_ruby_ext956031
32949 Node: ax_save_flags958646
32950 Node: ax_save_flags_with_prefix960178
32951 Node: ax_set_default_paths_system963101
32952 Node: ax_short_sleep964490
32953 Node: ax_silent_mode965639
32954 Node: ax_sip_devel966743
32955 Node: ax_spec_file968176
32956 Node: ax_spec_package_version969420
32957 Node: ax_split_version972255
32958 Node: ax_string_strcasecmp973212
32959 Node: ax_strings_strcasecmp974534
32960 Node: ax_struct_semun975529
32961 Node: ax_subdir_files976778
32962 Node: ax_subdirs_configure977918
32963 Node: ax_subst_with984082
32964 Node: ax_swig_enable_cxx985664
32965 Node: ax_swig_multi_module_support987887
32966 Node: ax_swig_python990400
32967 Node: ax_switch_flags993105
32968 Node: ax_sys_dev_poll994666
32969 Node: ax_sys_largefile_sensitive995909
32970 Node: ax_sys_perlsharpbang997900
32971 Node: ax_sys_weak_alias1000404
32972 Node: ax_sysv_ipc1004884
32973 Node: ax_tls1005845
32974 Node: ax_trilinos_amesos1008108
32975 Node: ax_trilinos_base1009282
32976 Node: ax_trilinos_epetra1011199
32977 Node: ax_trilinos_epetraext1012388
32978 Node: ax_trilinos_epetraext_hdf51013608
32979 Node: ax_trilinos_rtop1014745
32980 Node: ax_trilinos_rythmos1015926
32981 Node: ax_trilinos_teuchos1017121
32982 Node: ax_trilinos_thyra1018317
32983 Node: ax_trilinos_thyra_epetra1019504
32984 Node: ax_trilinos_thyra_epetraext1020614
32985 Node: ax_try_awk_anyout1021744
32986 Node: ax_try_awk_expout1023151
32987 Node: ax_try_compile_java1024613
32988 Node: ax_try_run_java1026008
32989 Node: ax_type_socklen_t1027383
32990 Node: ax_upload1029531
32991 Node: ax_valgrind_check1031079
32992 Node: ax_var_pop1034067
32993 Node: ax_var_push1036692
32994 Node: ax_var_timezone_externals1039416
32995 Node: ax_very_nice1041906
32996 Node: ax_warning_default_aclocaldir1044413
32997 Node: ax_warning_default_pkgconfig1046671
32998 Node: ax_wint_t1048941
32999 Node: ax_with_apxs1050190
33000 Node: ax_with_build_path1051421
33001 Node: ax_with_curses1052727
33002 Node: ax_with_curses_extra1062152
33003 Node: ax_with_dmalloc1068486
33004 Node: ax_with_mpatrol1069792
33005 Node: ax_with_prog1071161
33006 Node: ax_xercesc1072689
33007 Node: ax_xsdcxx1074757
33008 Node: ax_xtra_classpath1075983
33009 Node: ax_zmq1078250
33010 Node: ax_zoneinfo1079425
33011 Node: GNU Free Documentation License1080998
34 Node: ax_absolute_header21203
35 Node: ax_ac_append_to_file22585
36 Node: ax_ac_print_to_file23621
37 Node: ax_add_am_macro24654
38 Node: ax_add_am_macro_static25671
39 Node: ax_add_am_trilinos_makefile_export26673
40 Node: ax_add_fortify_source27912
41 Node: ax_add_recursive_am_macro29678
42 Node: ax_add_recursive_am_macro_static30832
43 Node: ax_afs32032
44 Node: ax_am_jobserver33579
45 Node: ax_am_macros35077
46 Node: ax_am_macros_static36069
47 Node: ax_am_override_var37156
48 Node: ax_append_compile_flags41498
49 Node: ax_append_flag43216
50 Node: ax_append_link_flags44486
51 Node: ax_append_to_file46130
52 Node: ax_arg_with_path_style47051
53 Node: ax_asm_inline50083
54 Node: ax_at_check_pattern51173
55 Node: ax_auto_include_headers52853
56 Node: ax_berkeley_db55001
57 Node: ax_berkeley_db_cxx56606
58 Node: ax_blas58327
59 Node: ax_blas_f77_func61509
60 Node: ax_boost_asio64251
61 Node: ax_boost_base65396
62 Node: ax_boost_chrono66735
63 Node: ax_boost_context67840
64 Node: ax_boost_coroutine69065
65 Node: ax_boost_date_time70311
66 Node: ax_boost_filesystem71500
67 Node: ax_boost_iostreams72756
68 Node: ax_boost_locale73908
69 Node: ax_boost_log75014
70 Node: ax_boost_log_setup76199
71 Node: ax_boost_process77438
72 Node: ax_boost_program_options78672
73 Node: ax_boost_python79881
74 Node: ax_boost_regex82488
75 Node: ax_boost_serialization83637
76 Node: ax_boost_signals84825
77 Node: ax_boost_system85994
78 Node: ax_boost_test_exec_monitor87218
79 Node: ax_boost_thread88501
80 Node: ax_boost_unit_test_framework89677
81 Node: ax_boost_wave90923
82 Node: ax_boost_wserialization92076
83 Node: ax_build_date_epoch93275
84 Node: ax_c99_inline95921
85 Node: ax_c___attribute__96951
86 Node: ax_c_arithmetic_rshift99162
87 Node: ax_c_compile_value100173
88 Node: ax_c_declare_block103589
89 Node: ax_c_float_words_bigendian106464
90 Node: ax_c_long_long108564
91 Node: ax_c_referenceable_passed_va_list109518
92 Node: ax_c_var_func111768
93 Node: ax_cache_size114221
94 Node: ax_caolan_check_package115313
95 Node: ax_caolan_search_package117117
96 Node: ax_cc_for_build118947
97 Node: ax_cc_maxopt121058
98 Node: ax_cf_ebcdic123792
99 Node: ax_cflags_aix_option125970
100 Node: ax_cflags_force_c89128097
101 Node: ax_cflags_hpux_option129620
102 Node: ax_cflags_irix_option131764
103 Node: ax_cflags_no_writable_strings133924
104 Node: ax_cflags_strict_prototypes135525
105 Node: ax_cflags_sun_option137205
106 Node: ax_cflags_warn_all139344
107 Node: ax_check_aligned_access_required143353
108 Node: ax_check_allocated_ctime145175
109 Node: ax_check_awk__v146136
110 Node: ax_check_awk__x_escapes147442
111 Node: ax_check_awk_and148764
112 Node: ax_check_awk_argind150047
113 Node: ax_check_awk_array_delete151351
114 Node: ax_check_awk_array_delete_elem152705
115 Node: ax_check_awk_array_in154099
116 Node: ax_check_awk_asort155422
117 Node: ax_check_awk_asorti156719
118 Node: ax_check_awk_associative_array158032
119 Node: ax_check_awk_atan2159411
120 Node: ax_check_awk_compl160716
121 Node: ax_check_awk_conditional_expression162026
122 Node: ax_check_awk_cos163465
123 Node: ax_check_awk_environ164761
124 Node: ax_check_awk_errno166066
125 Node: ax_check_awk_exit167358
126 Node: ax_check_awk_exp168632
127 Node: ax_check_awk_gensub169909
128 Node: ax_check_awk_getline171210
129 Node: ax_check_awk_gsub172517
130 Node: ax_check_awk_ignorecase173809
131 Node: ax_check_awk_index175139
132 Node: ax_check_awk_int176435
133 Node: ax_check_awk_length177713
134 Node: ax_check_awk_log179010
135 Node: ax_check_awk_lshift180289
136 Node: ax_check_awk_match_2parms181595
137 Node: ax_check_awk_match_3parms182974
138 Node: ax_check_awk_operator_multiply_multiply184378
139 Node: ax_check_awk_operator_square185836
140 Node: ax_check_awk_or187217
141 Node: ax_check_awk_printf188497
142 Node: ax_check_awk_rand189794
143 Node: ax_check_awk_rshift191081
144 Node: ax_check_awk_sin192379
145 Node: ax_check_awk_split193657
146 Node: ax_check_awk_sprintf194950
147 Node: ax_check_awk_sqrt196258
148 Node: ax_check_awk_srand197545
149 Node: ax_check_awk_strftime198840
150 Node: ax_check_awk_strtonum200160
151 Node: ax_check_awk_sub201478
152 Node: ax_check_awk_substr202759
153 Node: ax_check_awk_system204059
154 Node: ax_check_awk_systime205363
155 Node: ax_check_awk_tolower206675
156 Node: ax_check_awk_toupper207988
157 Node: ax_check_awk_user_defined_functions209316
158 Node: ax_check_awk_var_regexp210741
159 Node: ax_check_awk_variable_value_pairs212100
160 Node: ax_check_awk_xor213531
161 Node: ax_check_class214819
162 Node: ax_check_classpath217388
163 Node: ax_check_compile_flag219871
164 Node: ax_check_define221535
165 Node: ax_check_docbook_dtd222689
166 Node: ax_check_docbook_xslt225303
167 Node: ax_check_docbook_xslt_min227951
168 Node: ax_check_dos_filesys230436
169 Node: ax_check_enable_debug232916
170 Node: ax_check_func_in235083
171 Node: ax_check_gd236034
172 Node: ax_check_gir_symbols_gjs237646
173 Node: ax_check_girs_gjs239533
174 Node: ax_check_gl241359
175 Node: ax_check_glu245584
176 Node: ax_check_glut249659
177 Node: ax_check_glx253470
178 Node: ax_check_gnu_make256282
179 Node: ax_check_icu259375
180 Node: ax_check_java_home260291
181 Node: ax_check_java_plugin262521
182 Node: ax_check_junit265259
183 Node: ax_check_library267036
184 Node: ax_check_link_flag270056
185 Node: ax_check_mysql271648
186 Node: ax_check_mysql_db274823
187 Node: ax_check_mysqlr277146
188 Node: ax_check_off64_t278275
189 Node: ax_check_openssl279296
190 Node: ax_check_page_aligned_malloc280735
191 Node: ax_check_pathfind282652
192 Node: ax_check_pathname_style283660
193 Node: ax_check_pcre2286068
194 Node: ax_check_pgsql_db289721
195 Node: ax_check_posix_regcomp293189
196 Node: ax_check_posix_sysinfo294233
197 Node: ax_check_postgres_db295217
198 Node: ax_check_preproc_flag297139
199 Node: ax_check_rqrd_class298800
200 Node: ax_check_sign302250
201 Node: ax_check_strcspn303908
202 Node: ax_check_strftime305330
203 Node: ax_check_struct_for306227
204 Node: ax_check_symbol307179
205 Node: ax_check_sys_siglist308230
206 Node: ax_check_typedef309132
207 Node: ax_check_uname_syscall310456
208 Node: ax_check_user311386
209 Node: ax_check_vscript313835
210 Node: ax_check_x86_features315928
211 Node: ax_check_zlib319151
212 Node: ax_code_coverage322324
213 Node: ax_compare_version325398
214 Node: ax_compile_check_sizeof328567
215 Node: ax_compiler_flags332136
216 Node: ax_compiler_flags_cflags337522
217 Node: ax_compiler_flags_cxxflags338927
218 Node: ax_compiler_flags_gir340289
219 Node: ax_compiler_flags_ldflags341667
220 Node: ax_compiler_vendor343073
221 Node: ax_compiler_version346008
222 Node: ax_compute_relative_paths347526
223 Node: ax_compute_standard_relative_paths350649
224 Node: ax_cond_with_level354401
225 Node: ax_config_feature356148
226 Node: ax_configure_args360250
227 Node: ax_count_cpus361798
228 Node: ax_cpu_freq363223
229 Node: ax_cpu_vendor364096
230 Node: ax_create_generic_config365060
231 Node: ax_create_pkgconfig_info366868
232 Node: ax_create_stdint_h369804
233 Node: ax_create_target_h372486
234 Node: ax_cvs375836
235 Node: ax_cxx_bool378497
236 Node: ax_cxx_compile_stdcxx379548
237 Node: ax_cxx_compile_stdcxx_0x381819
238 Node: ax_cxx_compile_stdcxx_11382920
239 Node: ax_cxx_compile_stdcxx_14384699
240 Node: ax_cxx_compile_stdcxx_17386176
241 Node: ax_cxx_complex_math_in_namespace_std387719
242 Node: ax_cxx_const_cast388853
243 Node: ax_cxx_cppflags_std_lang389824
244 Node: ax_cxx_cxxflags_std_lang390966
245 Node: ax_cxx_default_template_parameters392326
246 Node: ax_cxx_delete_method393432
247 Node: ax_cxx_dtor_after_atexit394880
248 Node: ax_cxx_dynamic_cast396581
249 Node: ax_cxx_enum_computations397558
250 Node: ax_cxx_enum_computations_with_cast398591
251 Node: ax_cxx_erase_iterator_type399706
252 Node: ax_cxx_exceptions400855
253 Node: ax_cxx_explicit401841
254 Node: ax_cxx_explicit_instantiations402881
255 Node: ax_cxx_explicit_template_function_qualification403971
256 Node: ax_cxx_extern_template405202
257 Node: ax_cxx_full_specialization_syntax406200
258 Node: ax_cxx_function_nontype_parameters407315
259 Node: ax_cxx_function_try_blocks408452
260 Node: ax_cxx_gcc_abi_demangle410614
261 Node: ax_cxx_gnucxx_hashmap411697
262 Node: ax_cxx_have_bad_function_call412656
263 Node: ax_cxx_have_bind413834
264 Node: ax_cxx_have_bit_and414893
265 Node: ax_cxx_have_bit_or415968
266 Node: ax_cxx_have_bit_xor417037
267 Node: ax_cxx_have_complex418115
268 Node: ax_cxx_have_complex_math1419074
269 Node: ax_cxx_have_complex_math2420153
270 Node: ax_cxx_have_cref421207
271 Node: ax_cxx_have_empty_iostream422269
272 Node: ax_cxx_have_ext_hash_map424427
273 Node: ax_cxx_have_ext_hash_set426820
274 Node: ax_cxx_have_ext_slist429142
275 Node: ax_cxx_have_freeze_sstream431435
276 Node: ax_cxx_have_function433957
277 Node: ax_cxx_have_hash435050
278 Node: ax_cxx_have_ieee_math436102
279 Node: ax_cxx_have_is_bind_expression437249
280 Node: ax_cxx_have_is_placeholder438447
281 Node: ax_cxx_have_koenig_lookup439613
282 Node: ax_cxx_have_long_long_for_iostream440651
283 Node: ax_cxx_have_mem_fn443257
284 Node: ax_cxx_have_numeric_limits444348
285 Node: ax_cxx_have_placeholders445368
286 Node: ax_cxx_have_ref446500
287 Node: ax_cxx_have_reference_wrapper447554
288 Node: ax_cxx_have_sstream448729
289 Node: ax_cxx_have_std449674
290 Node: ax_cxx_have_stl450673
291 Node: ax_cxx_have_string_push_back451623
292 Node: ax_cxx_have_system_v_math452671
293 Node: ax_cxx_have_valarray453783
294 Node: ax_cxx_have_vector_at454753
295 Node: ax_cxx_header_pre_stdcxx455748
296 Node: ax_cxx_header_stdcxx_0x456694
297 Node: ax_cxx_header_stdcxx_98457645
298 Node: ax_cxx_header_stdcxx_tr1458612
299 Node: ax_cxx_header_tr1_unordered_map459575
300 Node: ax_cxx_header_tr1_unordered_set460639
301 Node: ax_cxx_header_unordered_map461706
302 Node: ax_cxx_header_unordered_set462741
303 Node: ax_cxx_ldflags_std_lang463768
304 Node: ax_cxx_member_constants465101
305 Node: ax_cxx_member_templates466110
306 Node: ax_cxx_member_templates_outside_class467133
307 Node: ax_cxx_mutable468275
308 Node: ax_cxx_namespace_std469341
309 Node: ax_cxx_namespaces470308
310 Node: ax_cxx_new_for_scoping471358
311 Node: ax_cxx_old_for_scoping472448
312 Node: ax_cxx_partial_ordering473683
313 Node: ax_cxx_partial_specialization474697
314 Node: ax_cxx_reinterpret_cast475760
315 Node: ax_cxx_restrict_this476774
316 Node: ax_cxx_rtti478779
317 Node: ax_cxx_rvalue_references479739
318 Node: ax_cxx_static_cast480792
319 Node: ax_cxx_stlport_hashmap481758
320 Node: ax_cxx_template_keyword_qualifier482723
321 Node: ax_cxx_template_qualified_base_class483888
322 Node: ax_cxx_template_qualified_return_type485049
323 Node: ax_cxx_template_scoped_argument_matching486215
324 Node: ax_cxx_templates487423
325 Node: ax_cxx_templates_as_template_arguments488407
326 Node: ax_cxx_typename489536
327 Node: ax_cxx_use_numtrait490498
328 Node: ax_cxx_var_prettyfunc491474
329 Node: ax_cxx_verbose_terminate_handler493986
330 Node: ax_czmq495691
331 Node: ax_decl_wchar_max496901
332 Node: ax_define_integer_bits497987
333 Node: ax_define_sub_path499839
334 Node: ax_dirname502473
335 Node: ax_dist_msi503574
336 Node: ax_dist_rpm504646
337 Node: ax_dll_string506485
338 Node: ax_elisp507609
339 Node: ax_enable_builddir512146
340 Node: ax_execinfo515908
341 Node: ax_expand_prefix517357
342 Node: ax_ext519152
343 Node: ax_ext_check_header521131
344 Node: ax_ext_have_lib522474
345 Node: ax_extend_srcdir524144
346 Node: ax_extra_dist527160
347 Node: ax_f77_cmain_fflags528557
348 Node: ax_f90_header531409
349 Node: ax_f90_internal_headmod533221
350 Node: ax_f90_library534272
351 Node: ax_f90_library_setup536169
352 Node: ax_f90_module539047
353 Node: ax_f90_module_extension540898
354 Node: ax_f90_module_flag541999
355 Node: ax_fc_check_define543266
356 Node: ax_file_escapes544480
357 Node: ax_find_hamcrest545363
358 Node: ax_find_junit546417
359 Node: ax_find_scala_stdlib547446
360 Node: ax_forceinline548534
361 Node: ax_func_accept_argtypes549605
362 Node: ax_func_getopt_long552192
363 Node: ax_func_memmove554588
364 Node: ax_func_mkdir555570
365 Node: ax_func_posix_memalign558121
366 Node: ax_func_snprintf559265
367 Node: ax_func_which_gethostbyname_r560512
368 Node: ax_func_which_getservbyname_r563422
369 Node: ax_gcc_archflag566012
370 Node: ax_gcc_builtin569356
371 Node: ax_gcc_const_call572313
372 Node: ax_gcc_func_attribute573274
373 Node: ax_gcc_lib575642
374 Node: ax_gcc_libgcc_eh577890
375 Node: ax_gcc_libsupcxx580034
376 Node: ax_gcc_malloc_call582250
377 Node: ax_gcc_var_attribute583219
378 Node: ax_gcc_warn_unused_result585159
379 Node: ax_gcc_x86_avx_xgetbv586182
380 Node: ax_gcc_x86_cpu_supports588945
381 Node: ax_gcc_x86_cpuid591973
382 Node: ax_generate_changelog594930
383 Node: ax_gnu_autotest596979
384 Node: ax_have_adns609616
385 Node: ax_have_epoll610716
386 Node: ax_have_poll612739
387 Node: ax_have_qt614282
388 Node: ax_have_select616241
389 Node: ax_include_strcasecmp617788
390 Node: ax_install_files618916
391 Node: ax_int128619857
392 Node: ax_is_release620796
393 Node: ax_java_check_class623065
394 Node: ax_java_options625722
395 Node: ax_jni_include_dir627039
396 Node: ax_lapack628882
397 Node: ax_lib_beecrypt632136
398 Node: ax_lib_cgal_core633497
399 Node: ax_lib_crypto634828
400 Node: ax_lib_curl636196
401 Node: ax_lib_ev637408
402 Node: ax_lib_expat638531
403 Node: ax_lib_firebird640138
404 Node: ax_lib_gcrypt641670
405 Node: ax_lib_gdal643145
406 Node: ax_lib_hdf5644517
407 Node: ax_lib_id3647810
408 Node: ax_lib_libkml649221
409 Node: ax_lib_metis650717
410 Node: ax_lib_mysql652408
411 Node: ax_lib_mysqlcppconn653922
412 Node: ax_lib_netcdf4655335
413 Node: ax_lib_nettle658555
414 Node: ax_lib_nokalva659946
415 Node: ax_lib_oracle_occi661436
416 Node: ax_lib_oracle_oci663274
417 Node: ax_lib_orbit2665092
418 Node: ax_lib_postgresql666274
419 Node: ax_lib_readline668215
420 Node: ax_lib_samtools670774
421 Node: ax_lib_socket_nsl674022
422 Node: ax_lib_sqlite3675366
423 Node: ax_lib_tabix676715
424 Node: ax_lib_taglib679908
425 Node: ax_lib_trace681142
426 Node: ax_lib_upnp682293
427 Node: ax_lib_wad683719
428 Node: ax_lib_xalan685851
429 Node: ax_lib_xerces687463
430 Node: ax_lib_xml_security689032
431 Node: ax_libgcj_jar690806
432 Node: ax_libtoolize_cflags692872
433 Node: ax_llvm693912
434 Node: ax_lua694937
435 Node: ax_luarocks_rock703571
436 Node: ax_maintainer_mode_auto_silent704803
437 Node: ax_missing_prog706235
438 Node: ax_mpi708705
439 Node: ax_mpip711957
440 Node: ax_need_awk714356
441 Node: ax_normalize_path715506
442 Node: ax_not_enable_frame_pointer719878
443 Node: ax_numeric_namedlevel721043
444 Node: ax_open62541_check_h723550
445 Node: ax_open62541_check_lib726206
446 Node: ax_open62541_path728267
447 Node: ax_openmp730856
448 Node: ax_patch_libtool_changing_cmds_ifs734041
449 Node: ax_path_bdb736881
450 Node: ax_path_generic740203
451 Node: ax_path_lib_pcre743080
452 Node: ax_path_milter744283
453 Node: ax_path_missing748080
454 Node: ax_perl_ext749579
455 Node: ax_perl_ext_flags752263
456 Node: ax_perl_module_version754928
457 Node: ax_pgsql_priv_root756310
458 Node: ax_pkg_check_modules760004
459 Node: ax_pkg_mico762411
460 Node: ax_pkg_swig764772
461 Node: ax_prefix_config_h767861
462 Node: ax_prepend_flag772855
463 Node: ax_print_to_file774184
464 Node: ax_printf_size_t775086
465 Node: ax_prog_apache776875
466 Node: ax_prog_bison779992
467 Node: ax_prog_bison_version782194
468 Node: ax_prog_cc_char_subscripts783770
469 Node: ax_prog_cc_for_build785108
470 Node: ax_prog_cc_mpi786739
471 Node: ax_prog_cp_s790388
472 Node: ax_prog_crontab792273
473 Node: ax_prog_cxx_for_build794481
474 Node: ax_prog_cxx_mpi795975
475 Node: ax_prog_date799629
476 Node: ax_prog_dotnetcore_version802897
477 Node: ax_prog_doxygen804419
478 Node: ax_prog_emacs808747
479 Node: ax_prog_f77_mpi811402
480 Node: ax_prog_fasm815058
481 Node: ax_prog_fasm_opt817368
482 Node: ax_prog_fc_mpi819622
483 Node: ax_prog_fig2dev823272
484 Node: ax_prog_flex824411
485 Node: ax_prog_flex_version826606
486 Node: ax_prog_gjs828154
487 Node: ax_prog_guile_version829325
488 Node: ax_prog_haxe_version830942
489 Node: ax_prog_help2man832390
490 Node: ax_prog_hla837897
491 Node: ax_prog_hla_opt840195
492 Node: ax_prog_httpd842433
493 Node: ax_prog_jar845355
494 Node: ax_prog_java846917
495 Node: ax_prog_java_cc850802
496 Node: ax_prog_java_works853660
497 Node: ax_prog_javac856074
498 Node: ax_prog_javac_works859082
499 Node: ax_prog_javadoc861503
500 Node: ax_prog_javah863140
501 Node: ax_prog_masm864147
502 Node: ax_prog_masm_opt866455
503 Node: ax_prog_md5sum868708
504 Node: ax_prog_modprobe869780
505 Node: ax_prog_mysql870900
506 Node: ax_prog_mysqladmin873345
507 Node: ax_prog_mysqld875751
508 Node: ax_prog_mysqlimport877964
509 Node: ax_prog_mysqlshow880215
510 Node: ax_prog_nasm882587
511 Node: ax_prog_nasm_opt884899
512 Node: ax_prog_perl_modules887159
513 Node: ax_prog_perl_version888680
514 Node: ax_prog_pgclient890286
515 Node: ax_prog_python_version892839
516 Node: ax_prog_robot894470
517 Node: ax_prog_ruby_version895491
518 Node: ax_prog_scala897130
519 Node: ax_prog_scalac898196
520 Node: ax_prog_scp899267
521 Node: ax_prog_splint902258
522 Node: ax_prog_ssh903724
523 Node: ax_prog_tasm905890
524 Node: ax_prog_tasm_opt908196
525 Node: ax_prog_tcl910443
526 Node: ax_prog_xsltproc912901
527 Node: ax_prog_yasm915311
528 Node: ax_prog_yasm_opt917622
529 Node: ax_prototype919874
530 Node: ax_prototype_accept924197
531 Node: ax_prototype_getsockname926520
532 Node: ax_prototype_setsockopt928909
533 Node: ax_pthread931190
534 Node: ax_python935508
535 Node: ax_python_config_var937878
536 Node: ax_python_devel940062
537 Node: ax_python_embed943497
538 Node: ax_python_module948386
539 Node: ax_python_module_version949439
540 Node: ax_r_package950677
541 Node: ax_recursive_eval951650
542 Node: ax_require_defined953820
543 Node: ax_require_one_func955112
544 Node: ax_restore_flags956446
545 Node: ax_restore_flags_with_prefix958005
546 Node: ax_rpm_init960693
547 Node: ax_ruby_devel966736
548 Node: ax_ruby_ext969349
549 Node: ax_save_flags971964
550 Node: ax_save_flags_with_prefix973496
551 Node: ax_set_default_paths_system976419
552 Node: ax_short_sleep977808
553 Node: ax_silent_mode978957
554 Node: ax_sip_devel980061
555 Node: ax_spec_file981494
556 Node: ax_spec_package_version982738
557 Node: ax_split_version985573
558 Node: ax_string_strcasecmp986530
559 Node: ax_strings_strcasecmp987852
560 Node: ax_struct_semun988847
561 Node: ax_subdir_files990096
562 Node: ax_subdirs_configure991236
563 Node: ax_subst_with997628
564 Node: ax_swig_enable_cxx999210
565 Node: ax_swig_multi_module_support1001433
566 Node: ax_swig_python1003946
567 Node: ax_switch_flags1006651
568 Node: ax_sys_dev_poll1008212
569 Node: ax_sys_largefile_sensitive1009455
570 Node: ax_sys_perlsharpbang1011446
571 Node: ax_sys_weak_alias1013950
572 Node: ax_sysv_ipc1018430
573 Node: ax_tls1019391
574 Node: ax_trilinos_amesos1021654
575 Node: ax_trilinos_base1022828
576 Node: ax_trilinos_epetra1024745
577 Node: ax_trilinos_epetraext1025934
578 Node: ax_trilinos_epetraext_hdf51027154
579 Node: ax_trilinos_rtop1028291
580 Node: ax_trilinos_rythmos1029472
581 Node: ax_trilinos_teuchos1030667
582 Node: ax_trilinos_thyra1031863
583 Node: ax_trilinos_thyra_epetra1033050
584 Node: ax_trilinos_thyra_epetraext1034160
585 Node: ax_try_awk_anyout1035290
586 Node: ax_try_awk_expout1036697
587 Node: ax_try_compile_java1038159
588 Node: ax_try_run_java1039554
589 Node: ax_type_socklen_t1040929
590 Node: ax_upload1043077
591 Node: ax_valgrind_check1044625
592 Node: ax_var_pop1047613
593 Node: ax_var_push1050238
594 Node: ax_var_timezone_externals1052962
595 Node: ax_very_nice1055452
596 Node: ax_warning_default_aclocaldir1057959
597 Node: ax_warning_default_pkgconfig1060217
598 Node: ax_wint_t1062487
599 Node: ax_with_apxs1063736
600 Node: ax_with_build_path1064967
601 Node: ax_with_curses1066273
602 Node: ax_with_curses_extra1075698
603 Node: ax_with_dmalloc1082032
604 Node: ax_with_mpatrol1083338
605 Node: ax_with_prog1084707
606 Node: ax_xercesc1086235
607 Node: ax_xsdcxx1088303
608 Node: ax_xtra_classpath1089529
609 Node: ax_zmq1091796
610 Node: ax_zoneinfo1092971
611 Node: GNU Free Documentation License1094544
33012612 
33013613 End Tag Table
614
615 
616 Local Variables:
617 coding: utf-8
618 End:
0 This is autoconf-archive.info, produced by makeinfo version 6.7 from
1 autoconf-archive.texi.
2
3 This manual is for GNU Autoconf Archive version 2021.02.19, a collection
4 of freely re-usable Autoconf macros.
5
6 Copyright (C) 2016 Autoconf Archive Maintainers
7 <autoconf-archive-maintainers@gnu.org>
8
9 Permission is granted to copy, distribute and/or modify this document
10 under the terms of the GNU Free Documentation License, Version 1.3 or
11 any later version published by the Free Software Foundation; with no
12 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
13 copy of the license is included in the section entitled "GNU Free
14 Documentation License".
15 INFO-DIR-SECTION Software development
16 START-INFO-DIR-ENTRY
17 * Autoconf Archive: (autoconf-archive). A collection of re-usable Autoconf macros.
18 END-INFO-DIR-ENTRY
19
20 
21 File: autoconf-archive.info, Node: Top, Next: Introduction, Up: (dir)
22
23 GNU Autoconf Archive
24 ********************
25
26 This manual is for GNU Autoconf Archive version 2021.02.19, a collection
27 of freely re-usable Autoconf macros.
28
29 Copyright (C) 2016 Autoconf Archive Maintainers
30 <autoconf-archive-maintainers@gnu.org>
31
32 Permission is granted to copy, distribute and/or modify this document
33 under the terms of the GNU Free Documentation License, Version 1.3 or
34 any later version published by the Free Software Foundation; with no
35 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
36 copy of the license is included in the section entitled "GNU Free
37 Documentation License".
38
39 * Menu:
40
41 * Introduction:: Project Synopsis, home page links, etc.
42 * Downloads:: How to find git repository and release tarballs.
43 * How to contribute:: Submission Guidelines.
44 * The Macros:: Alphabetic index of all macros.
45 * GNU Free Documentation License:: Copying and sharing this manual.
46
47 
48 File: autoconf-archive.info, Node: Introduction, Next: Downloads, Prev: Top, Up: Top
49
50 1 Introduction
51 **************
52
53 The GNU Autoconf Archive is a collection of more than 500 macros for GNU
54 Autoconf (https://www.gnu.org/software/autoconf) that have been
55 contributed as free software by friendly supporters of the cause from
56 all over the Internet. Every single one of those macros can be re-used
57 without imposing any restrictions whatsoever on the licensing of the
58 generated 'configure' script. In particular, it is possible to use all
59 those macros in 'configure' scripts that are meant for non-free
60 software. This policy is unusual for a Free Software Foundation
61 project. The FSF firmly believes that software ought to be free, and
62 software licenses like the GPL are specifically designed to ensure that
63 derivative work based on free software must be free as well. In case of
64 Autoconf, however, an exception has been made, because Autoconf is at
65 such a pivotal position in the software development tool chain that the
66 benefits from having this tool available as widely as possible outweigh
67 the disadvantage that some authors may choose to use it, too, for
68 proprietary software.
69
70 This official web site of this project is located at
71 <https://www.gnu.org/software/autoconf-archive/>. All available
72 information concerning this project is referenced from there.
73
74 If you have questions, suggestions, are any other feedback that you'd
75 like to share, then please don't hesitate to contact the Archive
76 maintainers at <autoconf-archive-maintainers@gnu.org>.
77
78 
79 File: autoconf-archive.info, Node: Downloads, Next: How to contribute, Prev: Introduction, Up: Top
80
81 2 Downloading the GNU Autoconf Archive
82 **************************************
83
84 The macros distributed by the Archive are maintained in a public Git
85 repository at 'git://git.sv.gnu.org/autoconf-archive.git'. That
86 repository can be cloned anonymously, which is probably the most
87 convenient way to access the Archive. Gitweb offers an RSS feed
88 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=rss) for
89 subscription that informs about changes to the repository. The same
90 information is available via e-mail, too, on the commits mailing list
91 (http://lists.gnu.org/mailman/listinfo/autoconf-archive-commits).
92
93 For the benefit of everyone who doesn't use Git, traditional release
94 archives can be downloaded from any GNU mirror, i.e.
95 <http://ftpmirror.gnu.org/autoconf-archive/>. New release are always
96 announced on the low-traffic announcements mailing list
97 (http://lists.gnu.org/mailman/listinfo/autoconf-archive-announce).
98
99 
100 File: autoconf-archive.info, Node: How to contribute, Next: The Macros, Prev: Downloads, Up: Top
101
102 3 How to contribute to the GNU Autoconf Archive
103 ***********************************************
104
105 3.1 Macro Format
106 ================
107
108 Each macro in the Archive has an all-upper-case name with the prefix
109 'AX_'. The macro is stored in a file with the same name, in lower case,
110 and with the suffix '.m4'. Unless absolutely necessary, the file
111 contents should be in ASCII. For example, use apostrophe (U+27) for
112 quoting identifiers instead of Unicode quotation mark characters U+2018,
113 U+2019.
114
115 The file should begin with a header comment containing three named
116 sections: synopsis, description, and license.
117
118 The synopsis gives a summary of the macro usage and arguments. In this
119 section, square brackets ('[]') are used to indicate optional
120 parameters, and may be nested.
121
122 The description contains a prose description of the macro. It should
123 describe the function of the macro, and the meaning of any arguments
124 given in the synopsis. The description should also identify:
125
126 * any default macro parameter values
127 * any new '--with' or '--enable' options, and their default values
128 * any argument variables consulted ('AC_ARG_VAR')
129 * any substituted variables ('AC_SUBST')
130 * any defined precompiler constants ('AC_DEFINE')
131
132 Macros should be defined with 'AC_DEFUN', using correct quoting.
133 Comments should be used liberally within the macro, with 'dnl' used for
134 comments at the m4sh level and '#' used for comments at the shell level.
135
136 If a macro is renamed, the 'AU_ALIAS' macro should be used to guide
137 users of the old name to the new name:
138
139 AU_ALIAS([OLD_NAME], [AX_NEW_NAME])
140
141 3.2 Submitting Macros
142 =====================
143
144 To submit updates to the Autoconf Archive, please create an issue in the
145 patch tracker
146 (http://savannah.gnu.org/patch/?func=additem&group=autoconf-archive) and
147 attach a (preferably 'git-format-patch(1)'-formatted) patch file. Users
148 of 'github.com' may prefer to create a pull request for the Autoconf
149 Archive Mirror at Github
150 (https://github.com/autoconf-archive/autoconf-archive). Please make
151 sure your submission contains the following items:
152
153 * a synopsis that shows how the macro must be be called,
154
155 * a brief description of the macro's purpose,
156
157 * the list of authors (optionally with e-mail addresses),
158
159 * licensing terms, and
160
161 * the m4 source code.
162
163 Macros can be submitted under any GPL-compatible free software license
164 (https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses).
165 The Free Software Foundation, however, recommends use of the
166 all-permissive license
167 (https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html)
168 for Autoconf macros.
169
170 3.3 Writing Highly Usable Macros
171 ================================
172
173 Autoconf macros are used in a surprising variety of ways, and a
174 well-written macro should be flexible enough to suit all of these uses.
175
176 See the Autotools Mythbuster
177 (http://www.flameeyes.eu/autotools-mythbuster) for suggestions on how to
178 write well-encapsulated, portable macros.
179
180 
181 File: autoconf-archive.info, Node: The Macros, Next: GNU Free Documentation License, Prev: How to contribute, Up: Top
182
183 4 The Macros
184 ************
185
186 * Menu:
187
188 * ax_absolute_header::
189 * ax_ac_append_to_file::
190 * ax_ac_print_to_file::
191 * ax_add_am_macro::
192 * ax_add_am_macro_static::
193 * ax_add_am_trilinos_makefile_export::
194 * ax_add_fortify_source::
195 * ax_add_recursive_am_macro::
196 * ax_add_recursive_am_macro_static::
197 * ax_afs::
198 * ax_am_jobserver::
199 * ax_am_macros::
200 * ax_am_macros_static::
201 * ax_am_override_var::
202 * ax_append_compile_flags::
203 * ax_append_flag::
204 * ax_append_link_flags::
205 * ax_append_to_file::
206 * ax_arg_with_path_style::
207 * ax_asm_inline::
208 * ax_at_check_pattern::
209 * ax_auto_include_headers::
210 * ax_berkeley_db::
211 * ax_berkeley_db_cxx::
212 * ax_blas::
213 * ax_blas_f77_func::
214 * ax_boost_asio::
215 * ax_boost_base::
216 * ax_boost_chrono::
217 * ax_boost_context::
218 * ax_boost_coroutine::
219 * ax_boost_date_time::
220 * ax_boost_filesystem::
221 * ax_boost_iostreams::
222 * ax_boost_locale::
223 * ax_boost_log::
224 * ax_boost_log_setup::
225 * ax_boost_process::
226 * ax_boost_program_options::
227 * ax_boost_python::
228 * ax_boost_regex::
229 * ax_boost_serialization::
230 * ax_boost_signals::
231 * ax_boost_system::
232 * ax_boost_test_exec_monitor::
233 * ax_boost_thread::
234 * ax_boost_unit_test_framework::
235 * ax_boost_wave::
236 * ax_boost_wserialization::
237 * ax_build_date_epoch::
238 * ax_c99_inline::
239 * ax_c___attribute__::
240 * ax_c_arithmetic_rshift::
241 * ax_c_compile_value::
242 * ax_c_declare_block::
243 * ax_c_float_words_bigendian::
244 * ax_c_long_long::
245 * ax_c_referenceable_passed_va_list::
246 * ax_c_var_func::
247 * ax_cache_size::
248 * ax_caolan_check_package::
249 * ax_caolan_search_package::
250 * ax_cc_for_build::
251 * ax_cc_maxopt::
252 * ax_cf_ebcdic::
253 * ax_cflags_aix_option::
254 * ax_cflags_force_c89::
255 * ax_cflags_hpux_option::
256 * ax_cflags_irix_option::
257 * ax_cflags_no_writable_strings::
258 * ax_cflags_strict_prototypes::
259 * ax_cflags_sun_option::
260 * ax_cflags_warn_all::
261 * ax_check_aligned_access_required::
262 * ax_check_allocated_ctime::
263 * ax_check_awk__v::
264 * ax_check_awk__x_escapes::
265 * ax_check_awk_and::
266 * ax_check_awk_argind::
267 * ax_check_awk_array_delete::
268 * ax_check_awk_array_delete_elem::
269 * ax_check_awk_array_in::
270 * ax_check_awk_asort::
271 * ax_check_awk_asorti::
272 * ax_check_awk_associative_array::
273 * ax_check_awk_atan2::
274 * ax_check_awk_compl::
275 * ax_check_awk_conditional_expression::
276 * ax_check_awk_cos::
277 * ax_check_awk_environ::
278 * ax_check_awk_errno::
279 * ax_check_awk_exit::
280 * ax_check_awk_exp::
281 * ax_check_awk_gensub::
282 * ax_check_awk_getline::
283 * ax_check_awk_gsub::
284 * ax_check_awk_ignorecase::
285 * ax_check_awk_index::
286 * ax_check_awk_int::
287 * ax_check_awk_length::
288 * ax_check_awk_log::
289 * ax_check_awk_lshift::
290 * ax_check_awk_match_2parms::
291 * ax_check_awk_match_3parms::
292 * ax_check_awk_operator_multiply_multiply::
293 * ax_check_awk_operator_square::
294 * ax_check_awk_or::
295 * ax_check_awk_printf::
296 * ax_check_awk_rand::
297 * ax_check_awk_rshift::
298 * ax_check_awk_sin::
299 * ax_check_awk_split::
300 * ax_check_awk_sprintf::
301 * ax_check_awk_sqrt::
302 * ax_check_awk_srand::
303 * ax_check_awk_strftime::
304 * ax_check_awk_strtonum::
305 * ax_check_awk_sub::
306 * ax_check_awk_substr::
307 * ax_check_awk_system::
308 * ax_check_awk_systime::
309 * ax_check_awk_tolower::
310 * ax_check_awk_toupper::
311 * ax_check_awk_user_defined_functions::
312 * ax_check_awk_var_regexp::
313 * ax_check_awk_variable_value_pairs::
314 * ax_check_awk_xor::
315 * ax_check_class::
316 * ax_check_classpath::
317 * ax_check_compile_flag::
318 * ax_check_define::
319 * ax_check_docbook_dtd::
320 * ax_check_docbook_xslt::
321 * ax_check_docbook_xslt_min::
322 * ax_check_dos_filesys::
323 * ax_check_enable_debug::
324 * ax_check_func_in::
325 * ax_check_gd::
326 * ax_check_gir_symbols_gjs::
327 * ax_check_girs_gjs::
328 * ax_check_gl::
329 * ax_check_glu::
330 * ax_check_glut::
331 * ax_check_glx::
332 * ax_check_gnu_make::
333 * ax_check_icu::
334 * ax_check_java_home::
335 * ax_check_java_plugin::
336 * ax_check_junit::
337 * ax_check_library::
338 * ax_check_link_flag::
339 * ax_check_mysql::
340 * ax_check_mysql_db::
341 * ax_check_mysqlr::
342 * ax_check_off64_t::
343 * ax_check_openssl::
344 * ax_check_page_aligned_malloc::
345 * ax_check_pathfind::
346 * ax_check_pathname_style::
347 * ax_check_pcre2::
348 * ax_check_pgsql_db::
349 * ax_check_posix_regcomp::
350 * ax_check_posix_sysinfo::
351 * ax_check_postgres_db::
352 * ax_check_preproc_flag::
353 * ax_check_rqrd_class::
354 * ax_check_sign::
355 * ax_check_strcspn::
356 * ax_check_strftime::
357 * ax_check_struct_for::
358 * ax_check_symbol::
359 * ax_check_sys_siglist::
360 * ax_check_typedef::
361 * ax_check_uname_syscall::
362 * ax_check_user::
363 * ax_check_vscript::
364 * ax_check_x86_features::
365 * ax_check_zlib::
366 * ax_code_coverage::
367 * ax_compare_version::
368 * ax_compile_check_sizeof::
369 * ax_compiler_flags::
370 * ax_compiler_flags_cflags::
371 * ax_compiler_flags_cxxflags::
372 * ax_compiler_flags_gir::
373 * ax_compiler_flags_ldflags::
374 * ax_compiler_vendor::
375 * ax_compiler_version::
376 * ax_compute_relative_paths::
377 * ax_compute_standard_relative_paths::
378 * ax_cond_with_level::
379 * ax_config_feature::
380 * ax_configure_args::
381 * ax_count_cpus::
382 * ax_cpu_freq::
383 * ax_cpu_vendor::
384 * ax_create_generic_config::
385 * ax_create_pkgconfig_info::
386 * ax_create_stdint_h::
387 * ax_create_target_h::
388 * ax_cvs::
389 * ax_cxx_bool::
390 * ax_cxx_compile_stdcxx::
391 * ax_cxx_compile_stdcxx_0x::
392 * ax_cxx_compile_stdcxx_11::
393 * ax_cxx_compile_stdcxx_14::
394 * ax_cxx_compile_stdcxx_17::
395 * ax_cxx_complex_math_in_namespace_std::
396 * ax_cxx_const_cast::
397 * ax_cxx_cppflags_std_lang::
398 * ax_cxx_cxxflags_std_lang::
399 * ax_cxx_default_template_parameters::
400 * ax_cxx_delete_method::
401 * ax_cxx_dtor_after_atexit::
402 * ax_cxx_dynamic_cast::
403 * ax_cxx_enum_computations::
404 * ax_cxx_enum_computations_with_cast::
405 * ax_cxx_erase_iterator_type::
406 * ax_cxx_exceptions::
407 * ax_cxx_explicit::
408 * ax_cxx_explicit_instantiations::
409 * ax_cxx_explicit_template_function_qualification::
410 * ax_cxx_extern_template::
411 * ax_cxx_full_specialization_syntax::
412 * ax_cxx_function_nontype_parameters::
413 * ax_cxx_function_try_blocks::
414 * ax_cxx_gcc_abi_demangle::
415 * ax_cxx_gnucxx_hashmap::
416 * ax_cxx_have_bad_function_call::
417 * ax_cxx_have_bind::
418 * ax_cxx_have_bit_and::
419 * ax_cxx_have_bit_or::
420 * ax_cxx_have_bit_xor::
421 * ax_cxx_have_complex::
422 * ax_cxx_have_complex_math1::
423 * ax_cxx_have_complex_math2::
424 * ax_cxx_have_cref::
425 * ax_cxx_have_empty_iostream::
426 * ax_cxx_have_ext_hash_map::
427 * ax_cxx_have_ext_hash_set::
428 * ax_cxx_have_ext_slist::
429 * ax_cxx_have_freeze_sstream::
430 * ax_cxx_have_function::
431 * ax_cxx_have_hash::
432 * ax_cxx_have_ieee_math::
433 * ax_cxx_have_is_bind_expression::
434 * ax_cxx_have_is_placeholder::
435 * ax_cxx_have_koenig_lookup::
436 * ax_cxx_have_long_long_for_iostream::
437 * ax_cxx_have_mem_fn::
438 * ax_cxx_have_numeric_limits::
439 * ax_cxx_have_placeholders::
440 * ax_cxx_have_ref::
441 * ax_cxx_have_reference_wrapper::
442 * ax_cxx_have_sstream::
443 * ax_cxx_have_std::
444 * ax_cxx_have_stl::
445 * ax_cxx_have_string_push_back::
446 * ax_cxx_have_system_v_math::
447 * ax_cxx_have_valarray::
448 * ax_cxx_have_vector_at::
449 * ax_cxx_header_pre_stdcxx::
450 * ax_cxx_header_stdcxx_0x::
451 * ax_cxx_header_stdcxx_98::
452 * ax_cxx_header_stdcxx_tr1::
453 * ax_cxx_header_tr1_unordered_map::
454 * ax_cxx_header_tr1_unordered_set::
455 * ax_cxx_header_unordered_map::
456 * ax_cxx_header_unordered_set::
457 * ax_cxx_ldflags_std_lang::
458 * ax_cxx_member_constants::
459 * ax_cxx_member_templates::
460 * ax_cxx_member_templates_outside_class::
461 * ax_cxx_mutable::
462 * ax_cxx_namespace_std::
463 * ax_cxx_namespaces::
464 * ax_cxx_new_for_scoping::
465 * ax_cxx_old_for_scoping::
466 * ax_cxx_partial_ordering::
467 * ax_cxx_partial_specialization::
468 * ax_cxx_reinterpret_cast::
469 * ax_cxx_restrict_this::
470 * ax_cxx_rtti::
471 * ax_cxx_rvalue_references::
472 * ax_cxx_static_cast::
473 * ax_cxx_stlport_hashmap::
474 * ax_cxx_template_keyword_qualifier::
475 * ax_cxx_template_qualified_base_class::
476 * ax_cxx_template_qualified_return_type::
477 * ax_cxx_template_scoped_argument_matching::
478 * ax_cxx_templates::
479 * ax_cxx_templates_as_template_arguments::
480 * ax_cxx_typename::
481 * ax_cxx_use_numtrait::
482 * ax_cxx_var_prettyfunc::
483 * ax_cxx_verbose_terminate_handler::
484 * ax_czmq::
485 * ax_decl_wchar_max::
486 * ax_define_integer_bits::
487 * ax_define_sub_path::
488 * ax_dirname::
489 * ax_dist_msi::
490 * ax_dist_rpm::
491 * ax_dll_string::
492 * ax_elisp::
493 * ax_enable_builddir::
494 * ax_execinfo::
495 * ax_expand_prefix::
496 * ax_ext::
497 * ax_ext_check_header::
498 * ax_ext_have_lib::
499 * ax_extend_srcdir::
500 * ax_extra_dist::
501 * ax_f77_cmain_fflags::
502 * ax_f90_header::
503 * ax_f90_internal_headmod::
504 * ax_f90_library::
505 * ax_f90_library_setup::
506 * ax_f90_module::
507 * ax_f90_module_extension::
508 * ax_f90_module_flag::
509 * ax_fc_check_define::
510 * ax_file_escapes::
511 * ax_find_hamcrest::
512 * ax_find_junit::
513 * ax_find_scala_stdlib::
514 * ax_forceinline::
515 * ax_func_accept_argtypes::
516 * ax_func_getopt_long::
517 * ax_func_memmove::
518 * ax_func_mkdir::
519 * ax_func_posix_memalign::
520 * ax_func_snprintf::
521 * ax_func_which_gethostbyname_r::
522 * ax_func_which_getservbyname_r::
523 * ax_gcc_archflag::
524 * ax_gcc_builtin::
525 * ax_gcc_const_call::
526 * ax_gcc_func_attribute::
527 * ax_gcc_lib::
528 * ax_gcc_libgcc_eh::
529 * ax_gcc_libsupcxx::
530 * ax_gcc_malloc_call::
531 * ax_gcc_var_attribute::
532 * ax_gcc_warn_unused_result::
533 * ax_gcc_x86_avx_xgetbv::
534 * ax_gcc_x86_cpu_supports::
535 * ax_gcc_x86_cpuid::
536 * ax_generate_changelog::
537 * ax_gnu_autotest::
538 * ax_have_adns::
539 * ax_have_epoll::
540 * ax_have_poll::
541 * ax_have_qt::
542 * ax_have_select::
543 * ax_include_strcasecmp::
544 * ax_install_files::
545 * ax_int128::
546 * ax_is_release::
547 * ax_java_check_class::
548 * ax_java_options::
549 * ax_jni_include_dir::
550 * ax_lapack::
551 * ax_lib_beecrypt::
552 * ax_lib_cgal_core::
553 * ax_lib_crypto::
554 * ax_lib_curl::
555 * ax_lib_ev::
556 * ax_lib_expat::
557 * ax_lib_firebird::
558 * ax_lib_gcrypt::
559 * ax_lib_gdal::
560 * ax_lib_hdf5::
561 * ax_lib_id3::
562 * ax_lib_libkml::
563 * ax_lib_metis::
564 * ax_lib_mysql::
565 * ax_lib_mysqlcppconn::
566 * ax_lib_netcdf4::
567 * ax_lib_nettle::
568 * ax_lib_nokalva::
569 * ax_lib_oracle_occi::
570 * ax_lib_oracle_oci::
571 * ax_lib_orbit2::
572 * ax_lib_postgresql::
573 * ax_lib_readline::
574 * ax_lib_samtools::
575 * ax_lib_socket_nsl::
576 * ax_lib_sqlite3::
577 * ax_lib_tabix::
578 * ax_lib_taglib::
579 * ax_lib_trace::
580 * ax_lib_upnp::
581 * ax_lib_wad::
582 * ax_lib_xalan::
583 * ax_lib_xerces::
584 * ax_lib_xml_security::
585 * ax_libgcj_jar::
586 * ax_libtoolize_cflags::
587 * ax_llvm::
588 * ax_lua::
589 * ax_luarocks_rock::
590 * ax_maintainer_mode_auto_silent::
591 * ax_missing_prog::
592 * ax_mpi::
593 * ax_mpip::
594 * ax_need_awk::
595 * ax_normalize_path::
596 * ax_not_enable_frame_pointer::
597 * ax_numeric_namedlevel::
598 * ax_open62541_check_h::
599 * ax_open62541_check_lib::
600 * ax_open62541_path::
601 * ax_openmp::
602 * ax_patch_libtool_changing_cmds_ifs::
603 * ax_path_bdb::
604 * ax_path_generic::
605 * ax_path_lib_pcre::
606 * ax_path_milter::
607 * ax_path_missing::
608 * ax_perl_ext::
609 * ax_perl_ext_flags::
610 * ax_perl_module_version::
611 * ax_pgsql_priv_root::
612 * ax_pkg_check_modules::
613 * ax_pkg_mico::
614 * ax_pkg_swig::
615 * ax_prefix_config_h::
616 * ax_prepend_flag::
617 * ax_print_to_file::
618 * ax_printf_size_t::
619 * ax_prog_apache::
620 * ax_prog_bison::
621 * ax_prog_bison_version::
622 * ax_prog_cc_char_subscripts::
623 * ax_prog_cc_for_build::
624 * ax_prog_cc_mpi::
625 * ax_prog_cp_s::
626 * ax_prog_crontab::
627 * ax_prog_cxx_for_build::
628 * ax_prog_cxx_mpi::
629 * ax_prog_date::
630 * ax_prog_dotnetcore_version::
631 * ax_prog_doxygen::
632 * ax_prog_emacs::
633 * ax_prog_f77_mpi::
634 * ax_prog_fasm::
635 * ax_prog_fasm_opt::
636 * ax_prog_fc_mpi::
637 * ax_prog_fig2dev::
638 * ax_prog_flex::
639 * ax_prog_flex_version::
640 * ax_prog_gjs::
641 * ax_prog_guile_version::
642 * ax_prog_haxe_version::
643 * ax_prog_help2man::
644 * ax_prog_hla::
645 * ax_prog_hla_opt::
646 * ax_prog_httpd::
647 * ax_prog_jar::
648 * ax_prog_java::
649 * ax_prog_java_cc::
650 * ax_prog_java_works::
651 * ax_prog_javac::
652 * ax_prog_javac_works::
653 * ax_prog_javadoc::
654 * ax_prog_javah::
655 * ax_prog_masm::
656 * ax_prog_masm_opt::
657 * ax_prog_md5sum::
658 * ax_prog_modprobe::
659 * ax_prog_mysql::
660 * ax_prog_mysqladmin::
661 * ax_prog_mysqld::
662 * ax_prog_mysqlimport::
663 * ax_prog_mysqlshow::
664 * ax_prog_nasm::
665 * ax_prog_nasm_opt::
666 * ax_prog_perl_modules::
667 * ax_prog_perl_version::
668 * ax_prog_pgclient::
669 * ax_prog_python_version::
670 * ax_prog_robot::
671 * ax_prog_ruby_version::
672 * ax_prog_scala::
673 * ax_prog_scalac::
674 * ax_prog_scp::
675 * ax_prog_splint::
676 * ax_prog_ssh::
677 * ax_prog_tasm::
678 * ax_prog_tasm_opt::
679 * ax_prog_tcl::
680 * ax_prog_xsltproc::
681 * ax_prog_yasm::
682 * ax_prog_yasm_opt::
683 * ax_prototype::
684 * ax_prototype_accept::
685 * ax_prototype_getsockname::
686 * ax_prototype_setsockopt::
687 * ax_pthread::
688 * ax_python::
689 * ax_python_config_var::
690 * ax_python_devel::
691 * ax_python_embed::
692 * ax_python_module::
693 * ax_python_module_version::
694 * ax_r_package::
695 * ax_recursive_eval::
696 * ax_require_defined::
697 * ax_require_one_func::
698 * ax_restore_flags::
699 * ax_restore_flags_with_prefix::
700 * ax_rpm_init::
701 * ax_ruby_devel::
702 * ax_ruby_ext::
703 * ax_save_flags::
704 * ax_save_flags_with_prefix::
705 * ax_set_default_paths_system::
706 * ax_short_sleep::
707 * ax_silent_mode::
708 * ax_sip_devel::
709 * ax_spec_file::
710 * ax_spec_package_version::
711 * ax_split_version::
712 * ax_string_strcasecmp::
713 * ax_strings_strcasecmp::
714 * ax_struct_semun::
715 * ax_subdir_files::
716 * ax_subdirs_configure::
717 * ax_subst_with::
718 * ax_swig_enable_cxx::
719 * ax_swig_multi_module_support::
720 * ax_swig_python::
721 * ax_switch_flags::
722 * ax_sys_dev_poll::
723 * ax_sys_largefile_sensitive::
724 * ax_sys_perlsharpbang::
725 * ax_sys_weak_alias::
726 * ax_sysv_ipc::
727 * ax_tls::
728 * ax_trilinos_amesos::
729 * ax_trilinos_base::
730 * ax_trilinos_epetra::
731 * ax_trilinos_epetraext::
732 * ax_trilinos_epetraext_hdf5::
733 * ax_trilinos_rtop::
734 * ax_trilinos_rythmos::
735 * ax_trilinos_teuchos::
736 * ax_trilinos_thyra::
737 * ax_trilinos_thyra_epetra::
738 * ax_trilinos_thyra_epetraext::
739 * ax_try_awk_anyout::
740 * ax_try_awk_expout::
741 * ax_try_compile_java::
742 * ax_try_run_java::
743 * ax_type_socklen_t::
744 * ax_upload::
745 * ax_valgrind_check::
746 * ax_var_pop::
747 * ax_var_push::
748 * ax_var_timezone_externals::
749 * ax_very_nice::
750 * ax_warning_default_aclocaldir::
751 * ax_warning_default_pkgconfig::
752 * ax_wint_t::
753 * ax_with_apxs::
754 * ax_with_build_path::
755 * ax_with_curses::
756 * ax_with_curses_extra::
757 * ax_with_dmalloc::
758 * ax_with_mpatrol::
759 * ax_with_prog::
760 * ax_xercesc::
761 * ax_xsdcxx::
762 * ax_xtra_classpath::
763 * ax_zmq::
764 * ax_zoneinfo::
765
766 
767 File: autoconf-archive.info, Node: ax_absolute_header, Next: ax_ac_append_to_file, Up: The Macros
768
769 ax_absolute_header
770 ==================
771
772 Synopsis
773 ********
774
775 AX_ABSOLUTE_HEADER(HEADER1 HEADER2 ...)
776
777 Description
778 ***********
779
780 Find the absolute name of a header file, assuming the header exists. If
781 the header were sys/inttypes.h, this macro would define
782 ABSOLUTE_SYS_INTTYPES_H to the '""' quoted absolute name of
783 sys/inttypes.h in config.h (e.g. '#define ABSOLUTE_SYS_INTTYPES_H
784 "///usr/include/sys/inttypes.h"'). The three "///" are to pacify Sun C
785 5.8, which otherwise would say "warning: #include of /usr/include/...
786 may be non-portable". Use '""', not '<>', so that the /// cannot be
787 confused with a C99 comment.
788
789 Source Code
790 ***********
791
792 Download the latest version of 'ax_absolute_header.m4'
793 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_absolute_header.m4)
794 or browse the macro's revision history
795 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_absolute_header.m4).
796
797 License
798 *******
799
800 Copyright (C) 2009 Derek Price
801 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
802
803 Copying and distribution of this file, with or without modification, are
804 permitted in any medium without royalty provided the copyright notice
805 and this notice are preserved. This file is offered as-is, without any
806 warranty.
807
808 
809 File: autoconf-archive.info, Node: ax_ac_append_to_file, Next: ax_ac_print_to_file, Prev: ax_absolute_header, Up: The Macros
810
811 ax_ac_append_to_file
812 ====================
813
814 Synopsis
815 ********
816
817 AX_AC_APPEND_TO_FILE([FILE],[DATA])
818
819 Description
820 ***********
821
822 Appends the specified data to the specified Autoconf is run. If you
823 want to append to a file when configure is run use AX_APPEND_TO_FILE
824 instead.
825
826 Source Code
827 ***********
828
829 Download the latest version of 'ax_ac_append_to_file.m4'
830 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ac_append_to_file.m4)
831 or browse the macro's revision history
832 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ac_append_to_file.m4).
833
834 License
835 *******
836
837 Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
838
839 Copying and distribution of this file, with or without modification, are
840 permitted in any medium without royalty provided the copyright notice
841 and this notice are preserved. This file is offered as-is, without any
842 warranty.
843
844 
845 File: autoconf-archive.info, Node: ax_ac_print_to_file, Next: ax_add_am_macro, Prev: ax_ac_append_to_file, Up: The Macros
846
847 ax_ac_print_to_file
848 ===================
849
850 Synopsis
851 ********
852
853 AX_AC_PRINT_TO_FILE([FILE],[DATA])
854
855 Description
856 ***********
857
858 Writes the specified data to the specified file when Autoconf is run.
859 If you want to print to a file when configure is run use
860 AX_PRINT_TO_FILE instead.
861
862 Source Code
863 ***********
864
865 Download the latest version of 'ax_ac_print_to_file.m4'
866 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ac_print_to_file.m4)
867 or browse the macro's revision history
868 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ac_print_to_file.m4).
869
870 License
871 *******
872
873 Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
874
875 Copying and distribution of this file, with or without modification, are
876 permitted in any medium without royalty provided the copyright notice
877 and this notice are preserved. This file is offered as-is, without any
878 warranty.
879
880 
881 File: autoconf-archive.info, Node: ax_add_am_macro, Next: ax_add_am_macro_static, Prev: ax_ac_print_to_file, Up: The Macros
882
883 ax_add_am_macro
884 ===============
885
886 Synopsis
887 ********
888
889 AX_ADD_AM_MACRO([RULE])
890
891 Description
892 ***********
893
894 Adds the specified rule to $AMINCLUDE. This macro will only work
895 properly with implementations of Make which allow include statements.
896 See also AX_ADD_AM_MACRO_STATIC.
897
898 Source Code
899 ***********
900
901 Download the latest version of 'ax_add_am_macro.m4'
902 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_am_macro.m4)
903 or browse the macro's revision history
904 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_am_macro.m4).
905
906 License
907 *******
908
909 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
910
911 Copying and distribution of this file, with or without modification, are
912 permitted in any medium without royalty provided the copyright notice
913 and this notice are preserved. This file is offered as-is, without any
914 warranty.
915
916 
917 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
918
919 ax_add_am_macro_static
920 ======================
921
922 Synopsis
923 ********
924
925 AX_ADD_AM_MACRO_STATIC([RULE])
926
927 Description
928 ***********
929
930 Adds the specified rule to $AMINCLUDE.
931
932 Source Code
933 ***********
934
935 Download the latest version of 'ax_add_am_macro_static.m4'
936 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_am_macro_static.m4)
937 or browse the macro's revision history
938 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_am_macro_static.m4).
939
940 License
941 *******
942
943 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
944 Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
945
946 Copying and distribution of this file, with or without modification, are
947 permitted in any medium without royalty provided the copyright notice
948 and this notice are preserved. This file is offered as-is, without any
949 warranty.
950
951 
952 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
953
954 ax_add_am_trilinos_makefile_export
955 ==================================
956
957 Synopsis
958 ********
959
960 AX_ADD_AM_TRILINOS_MAKEFILE_EXPORT(EXPORT_SUFFIX [, ACTION-IF-NOT-FOUND])
961
962 Description
963 ***********
964
965 Checks if a file named <Makefile.export.EXPORT_SUFFIX> appears in the
966 $TRILINOS_INCLUDE directory. If so, adds an include for it using the
967 AX_AM_MACROS framework.
968
969 If ACTION-IF-NOT-FOUND is not provided, configure fails.
970
971 Source Code
972 ***********
973
974 Download the latest version of 'ax_add_am_trilinos_makefile_export.m4'
975 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_am_trilinos_makefile_export.m4)
976 or browse the macro's revision history
977 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_am_trilinos_makefile_export.m4).
978
979 License
980 *******
981
982 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
983
984 Copying and distribution of this file, with or without modification, are
985 permitted in any medium without royalty provided the copyright notice
986 and this notice are preserved. This file is offered as-is, without any
987 warranty.
988
989 
990 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
991
992 ax_add_fortify_source
993 =====================
994
995 Synopsis
996 ********
997
998 AX_ADD_FORTIFY_SOURCE
999
1000 Description
1001 ***********
1002
1003 Check whether -D_FORTIFY_SOURCE=2 can be added to CPPFLAGS without macro
1004 redefinition warnings, other cpp warnings or linker. Some distributions
1005 (such as Gentoo Linux) enable _FORTIFY_SOURCE globally in their
1006 compilers, leading to unnecessary warnings in the form of
1007
1008 <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
1009 <built-in>: note: this is the location of the previous definition
1010
1011 which is a problem if -Werror is enabled. This macro checks whether
1012 _FORTIFY_SOURCE is already defined, and if not, adds -D_FORTIFY_SOURCE=2
1013 to CPPFLAGS.
1014
1015 Newer mingw-w64 msys2 package comes with a bug in
1016 headers-git-7.0.0.5546.d200317d-1. It broke -D_FORTIFY_SOURCE support,
1017 and would need -lssp or -fstack-protector. See
1018 https://github.com/msys2/MINGW-packages/issues/5803. Try to actually
1019 link it.
1020
1021 Source Code
1022 ***********
1023
1024 Download the latest version of 'ax_add_fortify_source.m4'
1025 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_fortify_source.m4)
1026 or browse the macro's revision history
1027 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_fortify_source.m4).
1028
1029 License
1030 *******
1031
1032 Copyright (C) 2017 David Seifert <soap@gentoo.org>
1033 Copyright (C) 2019 Reini Urban <rurban@cpan.org>
1034
1035 Copying and distribution of this file, with or without modification, are
1036 permitted in any medium without royalty provided the copyright notice
1037 and this notice are preserved. This file is offered as-is, without any
1038 warranty.
1039
1040 
1041 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
1042
1043 ax_add_recursive_am_macro
1044 =========================
1045
1046 Synopsis
1047 ********
1048
1049 AX_ADD_RECURSIVE_AM_MACRO([TARGET],[RULE])
1050
1051 Description
1052 ***********
1053
1054 Adds the specified rule to $AMINCLUDE along with a TARGET-recursive rule
1055 that will call TARGET for the current directory and TARGET-am
1056 recursively for each subdirectory. See also
1057 AX_ADD_RECURSIVE_AM_MACRO_STATIC.
1058
1059 Source Code
1060 ***********
1061
1062 Download the latest version of 'ax_add_recursive_am_macro.m4'
1063 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_recursive_am_macro.m4)
1064 or browse the macro's revision history
1065 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_recursive_am_macro.m4).
1066
1067 License
1068 *******
1069
1070 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
1071
1072 Copying and distribution of this file, with or without modification, are
1073 permitted in any medium without royalty provided the copyright notice
1074 and this notice are preserved. This file is offered as-is, without any
1075 warranty.
1076
1077 
1078 File: autoconf-archive.info, Node: ax_add_recursive_am_macro_static, Next: ax_afs, Prev: ax_add_recursive_am_macro, Up: The Macros
1079
1080 ax_add_recursive_am_macro_static
1081 ================================
1082
1083 Synopsis
1084 ********
1085
1086 AX_ADD_RECURSIVE_AM_MACRO_STATIC([TARGET],[RULE])
1087
1088 Description
1089 ***********
1090
1091 Adds the specified rule to AMINCLUDE_STATIC along with a
1092 TARGET-recursive rule that will call TARGET for the current directory
1093 and TARGET-am recursively for each subdirectory.
1094
1095 Source Code
1096 ***********
1097
1098 Download the latest version of 'ax_add_recursive_am_macro_static.m4'
1099 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_recursive_am_macro_static.m4)
1100 or browse the macro's revision history
1101 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_recursive_am_macro_static.m4).
1102
1103 License
1104 *******
1105
1106 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
1107 Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
1108
1109 Copying and distribution of this file, with or without modification, are
1110 permitted in any medium without royalty provided the copyright notice
1111 and this notice are preserved. This file is offered as-is, without any
1112 warranty.
1113
1114 
1115 File: autoconf-archive.info, Node: ax_afs, Next: ax_am_jobserver, Prev: ax_add_recursive_am_macro_static, Up: The Macros
1116
1117 ax_afs
1118 ======
1119
1120 Synopsis
1121 ********
1122
1123 AX_AFS
1124
1125 Description
1126 ***********
1127
1128 This sets up the proper includes and libs needed for building programs
1129 that link with AFS. It adds a -with-afsdir option that lets you specify
1130 where the AFS includes and libs are (defaulting to /usr/afsws).
1131
1132 It also adds the -I and -L options to CPPFLAGS and LDFLAGS
1133
1134 It creates an AC_SUBST(AFSWS) that contains the directory being used.
1135
1136 It checks for -lBSD, -lsocket and -lnsl since AFS needs those if they
1137 exist. It also adds -R/usr/ucblib -L/usr/ucblib -lucb if on Solaris.
1138
1139 It sets VICE_ETC_PATH to be the directory where /usr/vice/etc lives,
1140 since AFS 3.4 uses a different define than AFS 3.5 does for that path.
1141
1142 Finally, it defines AFS_int32 to be the in32 type needed. In older
1143 versions of afs it was 'int32', and in newer versions it's 'afs_int32'.
1144
1145 Source Code
1146 ***********
1147
1148 Download the latest version of 'ax_afs.m4'
1149 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_afs.m4)
1150 or browse the macro's revision history
1151 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_afs.m4).
1152
1153 License
1154 *******
1155
1156 Copyright (C) 2008 Scott Grosch <Scott.Grosch@intel.com>
1157
1158 Copying and distribution of this file, with or without modification, are
1159 permitted in any medium without royalty provided the copyright notice
1160 and this notice are preserved. This file is offered as-is, without any
1161 warranty.
1162
1163 
1164 File: autoconf-archive.info, Node: ax_am_jobserver, Next: ax_am_macros, Prev: ax_afs, Up: The Macros
1165
1166 ax_am_jobserver
1167 ===============
1168
1169 Synopsis
1170 ********
1171
1172 AX_AM_JOBSERVER([default_value])
1173
1174 Description
1175 ***********
1176
1177 Enables the use of make's jobserver for the purpose of parallel building
1178 by passing the -j option to make.
1179
1180 The option -enable-jobserver is added to configure which can accept a
1181 yes, no, or an integer. The integer is the number of separate jobs to
1182 allow. If 'yes' is given, then the is assumed to be one more than the
1183 number of CPUs (determined through AX_COUNT_CPUS). If the value of no is
1184 given, then the jobserver is disabled. The default value is given by
1185 the first argument of the macro, or 'yes' if the argument is omitted.
1186
1187 This macro makes use of AX_AM_MACROS, so you must add the following line
1188
1189 @INC_AMINCLUDE@
1190
1191 to your Makefile.am files.
1192
1193 Source Code
1194 ***********
1195
1196 Download the latest version of 'ax_am_jobserver.m4'
1197 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_jobserver.m4)
1198 or browse the macro's revision history
1199 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_jobserver.m4).
1200
1201 License
1202 *******
1203
1204 Copyright (C) 2008 Michael Paul Bailey <jinxidoru@byu.net>
1205
1206 Copying and distribution of this file, with or without modification, are
1207 permitted in any medium without royalty provided the copyright notice
1208 and this notice are preserved. This file is offered as-is, without any
1209 warranty.
1210
1211 
1212 File: autoconf-archive.info, Node: ax_am_macros, Next: ax_am_macros_static, Prev: ax_am_jobserver, Up: The Macros
1213
1214 ax_am_macros
1215 ============
1216
1217 Synopsis
1218 ********
1219
1220 AX_AM_MACROS
1221
1222 Description
1223 ***********
1224
1225 Adds support for macros that create Make rules. You must manually add
1226 the following line
1227
1228 @INC_AMINCLUDE@
1229
1230 to your Makefile.in (or Makefile.am if you use Automake) files.
1231
1232 Source Code
1233 ***********
1234
1235 Download the latest version of 'ax_am_macros.m4'
1236 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_macros.m4)
1237 or browse the macro's revision history
1238 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_macros.m4).
1239
1240 License
1241 *******
1242
1243 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
1244
1245 Copying and distribution of this file, with or without modification, are
1246 permitted in any medium without royalty provided the copyright notice
1247 and this notice are preserved. This file is offered as-is, without any
1248 warranty.
1249
1250 
1251 File: autoconf-archive.info, Node: ax_am_macros_static, Next: ax_am_override_var, Prev: ax_am_macros, Up: The Macros
1252
1253 ax_am_macros_static
1254 ===================
1255
1256 Synopsis
1257 ********
1258
1259 AX_AM_MACROS_STATIC
1260
1261 Description
1262 ***********
1263
1264 Adds support for macros that create Automake rules. You must manually
1265 add the following line
1266
1267 include $(top_srcdir)/aminclude_static.am
1268
1269 to your Makefile.am files.
1270
1271 Source Code
1272 ***********
1273
1274 Download the latest version of 'ax_am_macros_static.m4'
1275 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_macros_static.m4)
1276 or browse the macro's revision history
1277 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_macros_static.m4).
1278
1279 License
1280 *******
1281
1282 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
1283 Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
1284
1285 Copying and distribution of this file, with or without modification, are
1286 permitted in any medium without royalty provided the copyright notice
1287 and this notice are preserved. This file is offered as-is, without any
1288 warranty.
1289
1290 
1291 File: autoconf-archive.info, Node: ax_am_override_var, Next: ax_append_compile_flags, Prev: ax_am_macros_static, Up: The Macros
1292
1293 ax_am_override_var
1294 ==================
1295
1296 Synopsis
1297 ********
1298
1299 AX_AM_OVERRIDE_VAR([varname1 varname ... ])
1300 AX_AM_OVERRIDE_FINALIZE
1301
1302 Description
1303 ***********
1304
1305 This autoconf macro generalizes the approach given in
1306 <http://lists.gnu.org/archive/html/automake/2005-09/msg00108.html> which
1307 moves user specified values for variable 'varname' given at configure
1308 time into the corresponding AM_${varname} variable and clears out
1309 'varname', allowing further manipulation by the configure script so that
1310 target specific variables can be given specialized versions. 'varname
1311 may still be specified on the make command line and will be appended as
1312 usual.
1313
1314 As an example usage, consider a project which might benefit from
1315 different compiler flags for different components. Typically this is
1316 done via target specific flags, e.g.
1317
1318 libgtest_la_CXXFLAGS = \
1319 -I $(top_srcdir)/tests \
1320 -I $(top_builddir)/tests \
1321 $(GTEST_CXXFLAGS)
1322
1323 automake will automatically append $(CXXFLAGS) - provided by the user -
1324 to the build rule for libgtest_la. That might be problematic, as
1325 CXXFLAGS may contain compiler options which are inappropriate for
1326 libgtest_la.
1327
1328 The approach laid out in the referenced mailing list message is to
1329 supply a base value for a variable during _configure_ time, during which
1330 it is possible to amend it for specific targets. The user may
1331 subsequently specify a value for the variable during _build_ time, which
1332 make will apply (via the standard automake rules) to all appropriate
1333 targets.
1334
1335 For example,
1336
1337 AX_AM_OVERRIDE_VAR([CXXFLAGS])
1338
1339 will store the value of CXXFLAGS specified at configure time into the
1340 AM_CXXFLAGS variable, AC_SUBST it, and clear CXXFLAGS. configure may
1341 then create a target specific set of flags based upon AM_CXXFLAGS, e.g.
1342
1343 # googletest uses variadic macros, which g++ -pedantic-errors
1344 # is very unhappy about
1345 AC_SUBST([GTEST_CXXFLAGS],
1346 [`AS_ECHO_N(["$AM_CXXFLAGS"]) \
1347 | sed s/-pedantic-errors/-pedantic/`
1348 ]
1349 )
1350
1351 which would be used in a Makefile.am as above. Since CXXFLAGS is
1352 cleared, the configure time value will not affect the build for
1353 libgtest_la.
1354
1355 Prior to _any other command_ which may set ${varname}, call
1356
1357 AX_AM_OVERRIDE_VAR([varname])
1358
1359 This will preserve the value (if any) passed to configure in
1360 AM_${varname} and AC_SUBST([AM_${varname}). You may pass a space
1361 separated list of variable names, or may call AX_AM_OVERRIDE_VAR
1362 multiple times for the same effect.
1363
1364 If any subsequent configure commands set ${varname} and you wish to
1365 capture the resultant value into AM_${varname} in the case where
1366 ${varname} was _not_ provided at configure time, call
1367
1368 AX_AM_OVERRIDE_FINALIZE
1369
1370 after _all_ commands which might affect any of the variables specified
1371 in calls to AX_AM_OVERRIDE_VAR. This need be done only once, but
1372 repeated calls will not cause harm.
1373
1374 There is a bit of trickery required to allow further manipulation of the
1375 AM_${varname} in a Makefile.am file. If AM_CFLAGS is used as is in a
1376 Makefile.am, e.g.
1377
1378 libfoo_la_CFLAGS = $(AM_CFLAGS)
1379
1380 then automake will emit code in Makefile.in which sets AM_CFLAGS from
1381 the configure'd value.
1382
1383 If however, AM_CFLAGS is manipulated (i.e. appended to), you will have
1384 to explicitly arrange for the configure'd value to be substituted:
1385
1386 AM_CFLAGS = @AM_CFLAGS@
1387 AM_CFLAGS += -lfoo
1388
1389 or else automake will complain about using += before =.
1390
1391 Source Code
1392 ***********
1393
1394 Download the latest version of 'ax_am_override_var.m4'
1395 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_override_var.m4)
1396 or browse the macro's revision history
1397 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_override_var.m4).
1398
1399 License
1400 *******
1401
1402 Copyright (C) 2013 Smithsonian Astrophysical Observatory
1403 Copyright (C) 2013 Diab Jerius <djerius@cfa.harvard.edu>
1404
1405 Copying and distribution of this file, with or without modification, are
1406 permitted in any medium without royalty provided the copyright notice
1407 and this notice are preserved. This file is offered as-is, without any
1408 warranty.
1409
1410 
1411 File: autoconf-archive.info, Node: ax_append_compile_flags, Next: ax_append_flag, Prev: ax_am_override_var, Up: The Macros
1412
1413 ax_append_compile_flags
1414 =======================
1415
1416 Synopsis
1417 ********
1418
1419 AX_APPEND_COMPILE_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT])
1420
1421 Description
1422 ***********
1423
1424 For every FLAG1, FLAG2 it is checked whether the compiler works with the
1425 flag. If it does, the flag is added FLAGS-VARIABLE
1426
1427 If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
1428 CFLAGS) is used. During the check the flag is always added to the
1429 current language's flags.
1430
1431 If EXTRA-FLAGS is defined, it is added to the current language's default
1432 flags (e.g. CFLAGS) when the check is done. The check is thus made
1433 with the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used
1434 to force the compiler to issue an error when a bad flag is given.
1435
1436 INPUT gives an alternative input source to AC_COMPILE_IFELSE.
1437
1438 NOTE: This macro depends on the AX_APPEND_FLAG and
1439 AX_CHECK_COMPILE_FLAG. Please keep this macro in sync with
1440 AX_APPEND_LINK_FLAGS.
1441
1442 Source Code
1443 ***********
1444
1445 Download the latest version of 'ax_append_compile_flags.m4'
1446 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_compile_flags.m4)
1447 or browse the macro's revision history
1448 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_compile_flags.m4).
1449
1450 License
1451 *******
1452
1453 Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
1454
1455 Copying and distribution of this file, with or without modification, are
1456 permitted in any medium without royalty provided the copyright notice
1457 and this notice are preserved. This file is offered as-is, without any
1458 warranty.
1459
1460 
1461 File: autoconf-archive.info, Node: ax_append_flag, Next: ax_append_link_flags, Prev: ax_append_compile_flags, Up: The Macros
1462
1463 ax_append_flag
1464 ==============
1465
1466 Synopsis
1467 ********
1468
1469 AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE])
1470
1471 Description
1472 ***********
1473
1474 FLAG is appended to the FLAGS-VARIABLE shell variable, with a space
1475 added in between.
1476
1477 If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
1478 CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains
1479 FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly
1480 FLAG.
1481
1482 NOTE: Implementation based on AX_CFLAGS_GCC_OPTION.
1483
1484 Source Code
1485 ***********
1486
1487 Download the latest version of 'ax_append_flag.m4'
1488 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_flag.m4)
1489 or browse the macro's revision history
1490 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_flag.m4).
1491
1492 License
1493 *******
1494
1495 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
1496 Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
1497
1498 Copying and distribution of this file, with or without modification, are
1499 permitted in any medium without royalty provided the copyright notice
1500 and this notice are preserved. This file is offered as-is, without any
1501 warranty.
1502
1503 
1504 File: autoconf-archive.info, Node: ax_append_link_flags, Next: ax_append_to_file, Prev: ax_append_flag, Up: The Macros
1505
1506 ax_append_link_flags
1507 ====================
1508
1509 Synopsis
1510 ********
1511
1512 AX_APPEND_LINK_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT])
1513
1514 Description
1515 ***********
1516
1517 For every FLAG1, FLAG2 it is checked whether the linker works with the
1518 flag. If it does, the flag is added FLAGS-VARIABLE
1519
1520 If FLAGS-VARIABLE is not specified, the linker's flags (LDFLAGS) is
1521 used. During the check the flag is always added to the linker's flags.
1522
1523 If EXTRA-FLAGS is defined, it is added to the linker's default flags
1524 when the check is done. The check is thus made with the flags: "LDFLAGS
1525 EXTRA-FLAGS FLAG". This can for example be used to force the linker to
1526 issue an error when a bad flag is given.
1527
1528 INPUT gives an alternative input source to AC_COMPILE_IFELSE.
1529
1530 NOTE: This macro depends on the AX_APPEND_FLAG and AX_CHECK_LINK_FLAG.
1531 Please keep this macro in sync with AX_APPEND_COMPILE_FLAGS.
1532
1533 Source Code
1534 ***********
1535
1536 Download the latest version of 'ax_append_link_flags.m4'
1537 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_link_flags.m4)
1538 or browse the macro's revision history
1539 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_link_flags.m4).
1540
1541 License
1542 *******
1543
1544 Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
1545
1546 Copying and distribution of this file, with or without modification, are
1547 permitted in any medium without royalty provided the copyright notice
1548 and this notice are preserved. This file is offered as-is, without any
1549 warranty.
1550
1551 
1552 File: autoconf-archive.info, Node: ax_append_to_file, Next: ax_arg_with_path_style, Prev: ax_append_link_flags, Up: The Macros
1553
1554 ax_append_to_file
1555 =================
1556
1557 Synopsis
1558 ********
1559
1560 AX_APPEND_TO_FILE([FILE],[DATA])
1561
1562 Description
1563 ***********
1564
1565 Appends the specified data to the specified file.
1566
1567 Source Code
1568 ***********
1569
1570 Download the latest version of 'ax_append_to_file.m4'
1571 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_to_file.m4)
1572 or browse the macro's revision history
1573 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_to_file.m4).
1574
1575 License
1576 *******
1577
1578 Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
1579
1580 Copying and distribution of this file, with or without modification, are
1581 permitted in any medium without royalty provided the copyright notice
1582 and this notice are preserved. This file is offered as-is, without any
1583 warranty.
1584
1585 
1586 File: autoconf-archive.info, Node: ax_arg_with_path_style, Next: ax_asm_inline, Prev: ax_append_to_file, Up: The Macros
1587
1588 ax_arg_with_path_style
1589 ======================
1590
1591 Synopsis
1592 ********
1593
1594 AX_ARG_WITH_PATH_STYLE
1595
1596 Description
1597 ***********
1598
1599 _AC_DEFINE(PATH_STYLE) describing the filesys interface. The value is
1600 numeric, where the basetype is encoded as 16 = dos/win, 32 = unix, 64 =
1601 url/www, 0 = other
1602
1603 some extra semantics are described in other bits of the value,
1604 especially
1605
1606 1024 accepts "/" as a dir separator
1607 2048 accepts ";" as a path separator
1608 4096 accepts "," as a path separator
1609
1610 the macro provides a configure' -with-path-style option that can be used
1611 with descriptive arg names. If not explicitly given, the $target_os
1612 will be checked to provide a sane default. Additional (lower) bits can
1613 be used by the user for some additional magic, higher bits are reserved
1614 for this macro.
1615
1616 the mnemonic "strict" or "also" is used to instruct the code that
1617 additional separators shall be accepted but converted to the separator
1618 of the underlying pathstyle system. (or-512)
1619
1620 example: --with-path-style=win,slash
1621 to make it accept ";" as pathsep, and
1622 both "/" and "\" as dirseps.
1623
1624 Source Code
1625 ***********
1626
1627 Download the latest version of 'ax_arg_with_path_style.m4'
1628 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_arg_with_path_style.m4)
1629 or browse the macro's revision history
1630 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_arg_with_path_style.m4).
1631
1632 License
1633 *******
1634
1635 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
1636
1637 This program is free software; you can redistribute it and/or modify it
1638 under the terms of the GNU General Public License as published by the
1639 Free Software Foundation; either version 3 of the License, or (at your
1640 option) any later version.
1641
1642 This program is distributed in the hope that it will be useful, but
1643 WITHOUT ANY WARRANTY; without even the implied warranty of
1644 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
1645 Public License for more details.
1646
1647 You should have received a copy of the GNU General Public License along
1648 with this program. If not, see <https://www.gnu.org/licenses/>.
1649
1650 As a special exception, the respective Autoconf Macro's copyright owner
1651 gives unlimited permission to copy, distribute and modify the configure
1652 scripts that are the output of Autoconf when processing the Macro. You
1653 need not follow the terms of the GNU General Public License when using
1654 or distributing such scripts, even though portions of the text of the
1655 Macro appear in them. The GNU General Public License (GPL) does govern
1656 all other use of the material that constitutes the Autoconf Macro.
1657
1658 This special exception to the GPL applies to versions of the Autoconf
1659 Macro released by the Autoconf Archive. When you make and distribute a
1660 modified version of the Autoconf Macro, you may extend this special
1661 exception to the GPL to apply to your modified version as well.
1662
1663 
1664 File: autoconf-archive.info, Node: ax_asm_inline, Next: ax_at_check_pattern, Prev: ax_arg_with_path_style, Up: The Macros
1665
1666 ax_asm_inline
1667 =============
1668
1669 Synopsis
1670 ********
1671
1672 AX_ASM_INLINE()
1673
1674 Description
1675 ***********
1676
1677 Tests for C compiler support of inline assembly instructions. If inline
1678 assembly is supported, this macro #defines ASM_INLINE to be the
1679 appropriate keyword.
1680
1681 Source Code
1682 ***********
1683
1684 Download the latest version of 'ax_asm_inline.m4'
1685 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_asm_inline.m4)
1686 or browse the macro's revision history
1687 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_asm_inline.m4).
1688
1689 License
1690 *******
1691
1692 Copyright (C) 2008 Alan Woodland <ajw05@aber.ac.uk>
1693 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
1694 Copyright (C) 2017 Reini Urban <rurban@cpan.org>
1695
1696 Copying and distribution of this file, with or without modification, are
1697 permitted in any medium without royalty provided the copyright notice
1698 and this notice are preserved. This file is offered as-is, without any
1699 warranty.
1700
1701 
1702 File: autoconf-archive.info, Node: ax_at_check_pattern, Next: ax_auto_include_headers, Prev: ax_asm_inline, Up: The Macros
1703
1704 ax_at_check_pattern
1705 ===================
1706
1707 Synopsis
1708 ********
1709
1710 AX_AT_CHECK_PATTERN(COMMANDS, [STATUS], [STDOUT-RE], [STDERR-RE], [RUN-IF-FAIL], [RUN-IF-PASS])
1711 AX_AT_DIFF_PATTERN(PATTERN-FILE, TEST-FILE, [STATUS=0], [DIFFERENCES])
1712
1713 Description
1714 ***********
1715
1716 AX_AT_CHECK_PATTERN() executes a test similar to AT_CHECK(), except that
1717 stdout and stderr are awk regular expressions (REs).
1718
1719 NOTE: as autoconf uses [] for quoting, the use of [brackets] in the RE
1720 arguments STDOUT-RE and STDERR-RE can be awkward and require careful
1721 extra quoting, or quadrigraphs '@<:@' (for '[') and '@:>@' (for ']').
1722
1723 awk is invoked via $AWK, which defaults to "awk" if unset or empty.
1724
1725 Implemented using AT_CHECK() with a custom value for $at_diff that
1726 invokes diff with an awk post-processor.
1727
1728 AX_AT_DIFF_PATTERN() checks that the PATTERN-FILE applies to TEST-FILE.
1729 If there are differences, STATUS will be 1 and they should be
1730 DIFFERENCES.
1731
1732 Source Code
1733 ***********
1734
1735 Download the latest version of 'ax_at_check_pattern.m4'
1736 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_at_check_pattern.m4)
1737 or browse the macro's revision history
1738 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_at_check_pattern.m4).
1739
1740 License
1741 *******
1742
1743 Copyright (C) 2013-2014 Luke Mewburn <luke@mewburn.net>
1744
1745 Copying and distribution of this file, with or without modification, are
1746 permitted in any medium without royalty provided the copyright notice
1747 and this notice are preserved. This file is offered as-is, without any
1748 warranty.
1749
1750 
1751 File: autoconf-archive.info, Node: ax_auto_include_headers, Next: ax_berkeley_db, Prev: ax_at_check_pattern, Up: The Macros
1752
1753 ax_auto_include_headers
1754 =======================
1755
1756 Synopsis
1757 ********
1758
1759 AX_AUTO_INCLUDE_HEADERS(INCLUDE-FILE ...)
1760
1761 Description
1762 ***********
1763
1764 Given a space-separated list of INCLUDE-FILEs, AX_AUTO_INCLUDE_HEADERS
1765 will output a conditional #include for each INCLUDE-FILE. The following
1766 example demonstrates how AX_AUTO_INCLUDE_HEADERS's might be used in a
1767 configure.ac script:
1768
1769 AH_BOTTOM([
1770 AX_AUTO_INCLUDE_HEADERS([sys/resource.h invent.h sys/sysinfo.h])dnl
1771 ])
1772
1773 The preceding invocation instructs autoheader to put the following code
1774 at the bottom of the config.h file:
1775
1776 #ifdef HAVE_SYS_RESOURCE_H
1777 # include <sys/resource.h>
1778 #endif
1779 #ifdef HAVE_INVENT_H
1780 # include <invent.h>
1781 #endif
1782 #ifdef HAVE_SYS_SYSINFO_H
1783 # include <sys/sysinfo.h>
1784 #endif
1785
1786 Note that AX_AUTO_INCLUDE_HEADERS merely outputs #ifdef/#include/#endif
1787 blocks. The configure.ac script still needs to invoke AC_CHECK_HEADERS
1788 to #define the various HAVE_*_H preprocessor macros.
1789
1790 Here's an easy way to get from config.h a complete list of header files
1791 who existence is tested by the configure script:
1792
1793 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 "$_ "}'
1794
1795 You can then manually edit the resulting list and incorporate it into
1796 one or more calls to AX_AUTO_INCLUDE_HEADERS.
1797
1798 Source Code
1799 ***********
1800
1801 Download the latest version of 'ax_auto_include_headers.m4'
1802 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_auto_include_headers.m4)
1803 or browse the macro's revision history
1804 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_auto_include_headers.m4).
1805
1806 License
1807 *******
1808
1809 Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
1810
1811 Copying and distribution of this file, with or without modification, are
1812 permitted in any medium without royalty provided the copyright notice
1813 and this notice are preserved. This file is offered as-is, without any
1814 warranty.
1815
1816 
1817 File: autoconf-archive.info, Node: ax_berkeley_db, Next: ax_berkeley_db_cxx, Prev: ax_auto_include_headers, Up: The Macros
1818
1819 ax_berkeley_db
1820 ==============
1821
1822 Synopsis
1823 ********
1824
1825 AX_BERKELEY_DB([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
1826
1827 Description
1828 ***********
1829
1830 This macro tries to find Berkeley DB. It honors MINIMUM-VERSION if
1831 given.
1832
1833 If libdb is found, DB_HEADER and DB_LIBS variables are set and
1834 ACTION-IF-FOUND shell code is executed if specified. DB_HEADER is set
1835 to location of db.h header in quotes (e.g. "db3/db.h") and
1836 AC_DEFINE_UNQUOTED is called on it, so that you can type
1837
1838 #include DB_HEADER
1839
1840 in your C/C++ code. DB_LIBS is set to linker flags needed to link
1841 against the library (e.g. -ldb3.1) and AC_SUBST is called on it.
1842
1843 when specified user-selected spot (via -with-libdb) also sets
1844
1845 DB_CPPFLAGS to the include directives required
1846 DB_LDFLAGS to the -L flags required
1847
1848 Source Code
1849 ***********
1850
1851 Download the latest version of 'ax_berkeley_db.m4'
1852 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_berkeley_db.m4)
1853 or browse the macro's revision history
1854 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_berkeley_db.m4).
1855
1856 License
1857 *******
1858
1859 Copyright (C) 2008 Vaclav Slavik <vaclav.slavik@matfyz.cz>
1860 Copyright (C) 2014 Kirill A. Korinskiy <catap@catap.ru>
1861
1862 Copying and distribution of this file, with or without modification, are
1863 permitted in any medium without royalty provided the copyright notice
1864 and this notice are preserved. This file is offered as-is, without any
1865 warranty.
1866
1867 
1868 File: autoconf-archive.info, Node: ax_berkeley_db_cxx, Next: ax_blas, Prev: ax_berkeley_db, Up: The Macros
1869
1870 ax_berkeley_db_cxx
1871 ==================
1872
1873 Synopsis
1874 ********
1875
1876 AX_BERKELEY_DB_CXX([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
1877
1878 Description
1879 ***********
1880
1881 This macro tries to find Berkeley DB C++ support. It honors
1882 MINIMUM-VERSION if given.
1883
1884 If libdb_cxx is found, DB_CXX_HEADER and DB_CXX_LIBS variables are set
1885 and ACTION-IF-FOUND shell code is executed if specified. DB_CXX_HEADER
1886 is set to location of db.h header in quotes (e.g. "db3/db_cxx.h") and
1887 AC_DEFINE_UNQUOTED is called on it, so that you can type
1888
1889 #include DB_CXX_HEADER
1890
1891 in your C/C++ code. DB_CXX_LIBS is set to linker flags needed to link
1892 against the library (e.g. -ldb3.1_cxx) and AC_SUBST is called on it.
1893
1894 when specified user-selected spot (via -with-libdb) also sets
1895
1896 DB_CXX_CPPFLAGS to the include directives required
1897 DB_CXX_LDFLAGS to the -L flags required
1898
1899 Source Code
1900 ***********
1901
1902 Download the latest version of 'ax_berkeley_db_cxx.m4'
1903 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_berkeley_db_cxx.m4)
1904 or browse the macro's revision history
1905 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_berkeley_db_cxx.m4).
1906
1907 License
1908 *******
1909
1910 Copyright (C) 2008 Vaclav Slavik <vaclav.slavik@matfyz.cz>
1911 Copyright (C) 2011 Stephan Suerken <absurd@debian.org>
1912 Copyright (C) 2014 Kirill A. Korinskiy <catap@catap.ru>
1913
1914 Copying and distribution of this file, with or without modification, are
1915 permitted in any medium without royalty provided the copyright notice
1916 and this notice are preserved. This file is offered as-is, without any
1917 warranty.
1918
1919 
1920 File: autoconf-archive.info, Node: ax_blas, Next: ax_blas_f77_func, Prev: ax_berkeley_db_cxx, Up: The Macros
1921
1922 ax_blas
1923 =======
1924
1925 Synopsis
1926 ********
1927
1928 AX_BLAS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
1929
1930 Description
1931 ***********
1932
1933 This macro looks for a library that implements the BLAS linear-algebra
1934 interface (see http://www.netlib.org/blas/). On success, it sets the
1935 BLAS_LIBS output variable to hold the requisite library linkages.
1936
1937 To link with BLAS, you should link with:
1938
1939 $BLAS_LIBS $LIBS $FLIBS
1940
1941 in that order. FLIBS is the output variable of the
1942 AC_F77_LIBRARY_LDFLAGS macro (called if necessary by AX_BLAS), and is
1943 sometimes necessary in order to link with F77 libraries. Users will
1944 also need to use AC_F77_DUMMY_MAIN (see the autoconf manual), for the
1945 same reason.
1946
1947 Many libraries are searched for, from ATLAS to CXML to ESSL. The user
1948 may also use -with-blas=<lib> in order to use some specific BLAS library
1949 <lib>. In order to link successfully, however, be aware that you will
1950 probably need to use the same Fortran compiler (which can be set via the
1951 F77 env. var.) as was used to compile the BLAS library.
1952
1953 ACTION-IF-FOUND is a list of shell commands to run if a BLAS library is
1954 found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
1955 not found. If ACTION-IF-FOUND is not specified, the default action will
1956 define HAVE_BLAS.
1957
1958 Source Code
1959 ***********
1960
1961 Download the latest version of 'ax_blas.m4'
1962 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_blas.m4)
1963 or browse the macro's revision history
1964 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_blas.m4).
1965
1966 License
1967 *******
1968
1969 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
1970 Copyright (C) 2019 Geoffrey M. Oxberry <goxberry@gmail.com>
1971
1972 This program is free software: you can redistribute it and/or modify it
1973 under the terms of the GNU General Public License as published by the
1974 Free Software Foundation, either version 3 of the License, or (at your
1975 option) any later version.
1976
1977 This program is distributed in the hope that it will be useful, but
1978 WITHOUT ANY WARRANTY; without even the implied warranty of
1979 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
1980 Public License for more details.
1981
1982 You should have received a copy of the GNU General Public License along
1983 with this program. If not, see <https://www.gnu.org/licenses/>.
1984
1985 As a special exception, the respective Autoconf Macro's copyright owner
1986 gives unlimited permission to copy, distribute and modify the configure
1987 scripts that are the output of Autoconf when processing the Macro. You
1988 need not follow the terms of the GNU General Public License when using
1989 or distributing such scripts, even though portions of the text of the
1990 Macro appear in them. The GNU General Public License (GPL) does govern
1991 all other use of the material that constitutes the Autoconf Macro.
1992
1993 This special exception to the GPL applies to versions of the Autoconf
1994 Macro released by the Autoconf Archive. When you make and distribute a
1995 modified version of the Autoconf Macro, you may extend this special
1996 exception to the GPL to apply to your modified version as well.
1997
1998 
1999 File: autoconf-archive.info, Node: ax_blas_f77_func, Next: ax_boost_asio, Prev: ax_blas, Up: The Macros
2000
2001 ax_blas_f77_func
2002 ================
2003
2004 Synopsis
2005 ********
2006
2007 AX_BLAS_F77_FUNC([ACTION-IF-PASS[, ACTION-IF-FAIL[, ACTION-IF-CROSS-COMPILING]])
2008 AX_BLAS_WITH_F77_FUNC([ACTION-IF-FOUND-AND-PASS[, ACTION-IF-NOT-FOUND-OR-FAIL]])
2009
2010 Description
2011 ***********
2012
2013 These macros are intended as a supplement to the AX_BLAS macro, to
2014 verify that BLAS functions are properly callable from Fortran. This is
2015 necessary, for example, if you want to build the LAPACK library on top
2016 of the BLAS.
2017
2018 AX_BLAS_F77_FUNC uses the defined BLAS_LIBS and Fortran environment to
2019 check for compatibility, and takes a specific action in case of success,
2020 resp. failure, resp. cross-compilation.
2021
2022 AX_BLAS_WITH_F77_FUNC is a drop-in replacement wrapper for AX_BLAS that
2023 calls AX_BLAS_F77_FUNC after detecting a BLAS library and rejects it on
2024 failure (i.e. pretends that no library was found).
2025
2026 Source Code
2027 ***********
2028
2029 Download the latest version of 'ax_blas_f77_func.m4'
2030 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_blas_f77_func.m4)
2031 or browse the macro's revision history
2032 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_blas_f77_func.m4).
2033
2034 License
2035 *******
2036
2037 Copyright (C) 2008 Jaroslav Hajek <highegg@gmail.com>
2038
2039 This program is free software: you can redistribute it and/or modify it
2040 under the terms of the GNU General Public License as published by the
2041 Free Software Foundation, either version 3 of the License, or (at your
2042 option) any later version.
2043
2044 This program is distributed in the hope that it will be useful, but
2045 WITHOUT ANY WARRANTY; without even the implied warranty of
2046 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2047 Public License for more details.
2048
2049 You should have received a copy of the GNU General Public License along
2050 with this program. If not, see <https://www.gnu.org/licenses/>.
2051
2052 As a special exception, the respective Autoconf Macro's copyright owner
2053 gives unlimited permission to copy, distribute and modify the configure
2054 scripts that are the output of Autoconf when processing the Macro. You
2055 need not follow the terms of the GNU General Public License when using
2056 or distributing such scripts, even though portions of the text of the
2057 Macro appear in them. The GNU General Public License (GPL) does govern
2058 all other use of the material that constitutes the Autoconf Macro.
2059
2060 This special exception to the GPL applies to versions of the Autoconf
2061 Macro released by the Autoconf Archive. When you make and distribute a
2062 modified version of the Autoconf Macro, you may extend this special
2063 exception to the GPL to apply to your modified version as well.
2064
2065 
2066 File: autoconf-archive.info, Node: ax_boost_asio, Next: ax_boost_base, Prev: ax_blas_f77_func, Up: The Macros
2067
2068 ax_boost_asio
2069 =============
2070
2071 Synopsis
2072 ********
2073
2074 AX_BOOST_ASIO
2075
2076 Description
2077 ***********
2078
2079 Test for Asio library from the Boost C++ libraries. The macro requires
2080 a preceding call to AX_BOOST_BASE. Further documentation is available at
2081 <http://randspringer.de/boost/index.html>.
2082
2083 This macro calls:
2084
2085 AC_SUBST(BOOST_ASIO_LIB)
2086
2087 And sets:
2088
2089 HAVE_BOOST_ASIO
2090
2091 Source Code
2092 ***********
2093
2094 Download the latest version of 'ax_boost_asio.m4'
2095 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_asio.m4)
2096 or browse the macro's revision history
2097 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_asio.m4).
2098
2099 License
2100 *******
2101
2102 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2103 Copyright (C) 2008 Pete Greenwell <pete@mu.org>
2104
2105 Copying and distribution of this file, with or without modification, are
2106 permitted in any medium without royalty provided the copyright notice
2107 and this notice are preserved. This file is offered as-is, without any
2108 warranty.
2109
2110 
2111 File: autoconf-archive.info, Node: ax_boost_base, Next: ax_boost_chrono, Prev: ax_boost_asio, Up: The Macros
2112
2113 ax_boost_base
2114 =============
2115
2116 Synopsis
2117 ********
2118
2119 AX_BOOST_BASE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
2120
2121 Description
2122 ***********
2123
2124 Test for the Boost C++ libraries of a particular version (or newer)
2125
2126 If no path to the installed boost library is given the macro searchs
2127 under /usr, /usr/local, /opt and /opt/local and evaluates the
2128 $BOOST_ROOT environment variable. Further documentation is available at
2129 <http://randspringer.de/boost/index.html>.
2130
2131 This macro calls:
2132
2133 AC_SUBST(BOOST_CPPFLAGS) / AC_SUBST(BOOST_LDFLAGS)
2134
2135 And sets:
2136
2137 HAVE_BOOST
2138
2139 Source Code
2140 ***********
2141
2142 Download the latest version of 'ax_boost_base.m4'
2143 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_base.m4)
2144 or browse the macro's revision history
2145 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_base.m4).
2146
2147 License
2148 *******
2149
2150 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2151 Copyright (C) 2009 Peter Adolphs
2152
2153 Copying and distribution of this file, with or without modification, are
2154 permitted in any medium without royalty provided the copyright notice
2155 and this notice are preserved. This file is offered as-is, without any
2156 warranty.
2157
2158 
2159 File: autoconf-archive.info, Node: ax_boost_chrono, Next: ax_boost_context, Prev: ax_boost_base, Up: The Macros
2160
2161 ax_boost_chrono
2162 ===============
2163
2164 Synopsis
2165 ********
2166
2167 AX_BOOST_CHRONO
2168
2169 Description
2170 ***********
2171
2172 Test for Chrono library from the Boost C++ libraries. The macro
2173 requires a preceding call to AX_BOOST_BASE. Further documentation is
2174 available at <http://randspringer.de/boost/index.html>.
2175
2176 This macro calls:
2177
2178 AC_SUBST(BOOST_CHRONO_LIB)
2179
2180 And sets:
2181
2182 HAVE_BOOST_CHRONO
2183
2184 Source Code
2185 ***********
2186
2187 Download the latest version of 'ax_boost_chrono.m4'
2188 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_chrono.m4)
2189 or browse the macro's revision history
2190 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_chrono.m4).
2191
2192 License
2193 *******
2194
2195 Copyright (C) 2012 Xiyue Deng <manphiz@gmail.com>
2196
2197 Copying and distribution of this file, with or without modification, are
2198 permitted in any medium without royalty provided the copyright notice
2199 and this notice are preserved. This file is offered as-is, without any
2200 warranty.
2201
2202 
2203 File: autoconf-archive.info, Node: ax_boost_context, Next: ax_boost_coroutine, Prev: ax_boost_chrono, Up: The Macros
2204
2205 ax_boost_context
2206 ================
2207
2208 Synopsis
2209 ********
2210
2211 AX_BOOST_CONTEXT
2212
2213 Description
2214 ***********
2215
2216 Test for Context library from the Boost C++ libraries. The macro
2217 requires a preceding call to AX_BOOST_BASE. Further documentation is
2218 available at <http://randspringer.de/boost/index.html>.
2219
2220 This macro calls:
2221
2222 AC_SUBST(BOOST_CONTEXT_LIB)
2223
2224 And sets:
2225
2226 HAVE_BOOST_CONTEXT
2227
2228 Source Code
2229 ***********
2230
2231 Download the latest version of 'ax_boost_context.m4'
2232 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_context.m4)
2233 or browse the macro's revision history
2234 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_context.m4).
2235
2236 License
2237 *******
2238
2239 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2240 Copyright (C) 2008 Michael Tindal
2241 Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
2242
2243 Copying and distribution of this file, with or without modification, are
2244 permitted in any medium without royalty provided the copyright notice
2245 and this notice are preserved. This file is offered as-is, without any
2246 warranty.
2247
2248 
2249 File: autoconf-archive.info, Node: ax_boost_coroutine, Next: ax_boost_date_time, Prev: ax_boost_context, Up: The Macros
2250
2251 ax_boost_coroutine
2252 ==================
2253
2254 Synopsis
2255 ********
2256
2257 AX_BOOST_COROUTINE
2258
2259 Description
2260 ***********
2261
2262 Test for Coroutine library from the Boost C++ libraries. The macro
2263 requires a preceding call to AX_BOOST_BASE. Further documentation is
2264 available at <http://randspringer.de/boost/index.html>.
2265
2266 This macro calls:
2267
2268 AC_SUBST(BOOST_COROUTINE_LIB)
2269
2270 And sets:
2271
2272 HAVE_BOOST_COROUTINE
2273
2274 Source Code
2275 ***********
2276
2277 Download the latest version of 'ax_boost_coroutine.m4'
2278 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_coroutine.m4)
2279 or browse the macro's revision history
2280 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_coroutine.m4).
2281
2282 License
2283 *******
2284
2285 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2286 Copyright (C) 2008 Michael Tindal
2287 Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
2288
2289 Copying and distribution of this file, with or without modification, are
2290 permitted in any medium without royalty provided the copyright notice
2291 and this notice are preserved. This file is offered as-is, without any
2292 warranty.
2293
2294 
2295 File: autoconf-archive.info, Node: ax_boost_date_time, Next: ax_boost_filesystem, Prev: ax_boost_coroutine, Up: The Macros
2296
2297 ax_boost_date_time
2298 ==================
2299
2300 Synopsis
2301 ********
2302
2303 AX_BOOST_DATE_TIME
2304
2305 Description
2306 ***********
2307
2308 Test for Date_Time library from the Boost C++ libraries. The macro
2309 requires a preceding call to AX_BOOST_BASE. Further documentation is
2310 available at <http://randspringer.de/boost/index.html>.
2311
2312 This macro calls:
2313
2314 AC_SUBST(BOOST_DATE_TIME_LIB)
2315
2316 And sets:
2317
2318 HAVE_BOOST_DATE_TIME
2319
2320 Source Code
2321 ***********
2322
2323 Download the latest version of 'ax_boost_date_time.m4'
2324 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_date_time.m4)
2325 or browse the macro's revision history
2326 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_date_time.m4).
2327
2328 License
2329 *******
2330
2331 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2332 Copyright (C) 2008 Michael Tindal
2333
2334 Copying and distribution of this file, with or without modification, are
2335 permitted in any medium without royalty provided the copyright notice
2336 and this notice are preserved. This file is offered as-is, without any
2337 warranty.
2338
2339 
2340 File: autoconf-archive.info, Node: ax_boost_filesystem, Next: ax_boost_iostreams, Prev: ax_boost_date_time, Up: The Macros
2341
2342 ax_boost_filesystem
2343 ===================
2344
2345 Synopsis
2346 ********
2347
2348 AX_BOOST_FILESYSTEM
2349
2350 Description
2351 ***********
2352
2353 Test for Filesystem library from the Boost C++ libraries. The macro
2354 requires a preceding call to AX_BOOST_BASE. Further documentation is
2355 available at <http://randspringer.de/boost/index.html>.
2356
2357 This macro calls:
2358
2359 AC_SUBST(BOOST_FILESYSTEM_LIB)
2360
2361 And sets:
2362
2363 HAVE_BOOST_FILESYSTEM
2364
2365 Source Code
2366 ***********
2367
2368 Download the latest version of 'ax_boost_filesystem.m4'
2369 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_filesystem.m4)
2370 or browse the macro's revision history
2371 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_filesystem.m4).
2372
2373 License
2374 *******
2375
2376 Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
2377 Copyright (C) 2009 Michael Tindal
2378 Copyright (C) 2009 Roman Rybalko <libtorrent@romanr.info>
2379
2380 Copying and distribution of this file, with or without modification, are
2381 permitted in any medium without royalty provided the copyright notice
2382 and this notice are preserved. This file is offered as-is, without any
2383 warranty.
2384
2385 
2386 File: autoconf-archive.info, Node: ax_boost_iostreams, Next: ax_boost_locale, Prev: ax_boost_filesystem, Up: The Macros
2387
2388 ax_boost_iostreams
2389 ==================
2390
2391 Synopsis
2392 ********
2393
2394 AX_BOOST_IOSTREAMS
2395
2396 Description
2397 ***********
2398
2399 Test for IOStreams library from the Boost C++ libraries. The macro
2400 requires a preceding call to AX_BOOST_BASE. Further documentation is
2401 available at <http://randspringer.de/boost/index.html>.
2402
2403 This macro calls:
2404
2405 AC_SUBST(BOOST_IOSTREAMS_LIB)
2406
2407 And sets:
2408
2409 HAVE_BOOST_IOSTREAMS
2410
2411 Source Code
2412 ***********
2413
2414 Download the latest version of 'ax_boost_iostreams.m4'
2415 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_iostreams.m4)
2416 or browse the macro's revision history
2417 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_iostreams.m4).
2418
2419 License
2420 *******
2421
2422 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2423
2424 Copying and distribution of this file, with or without modification, are
2425 permitted in any medium without royalty provided the copyright notice
2426 and this notice are preserved. This file is offered as-is, without any
2427 warranty.
2428
2429 
2430 File: autoconf-archive.info, Node: ax_boost_locale, Next: ax_boost_log, Prev: ax_boost_iostreams, Up: The Macros
2431
2432 ax_boost_locale
2433 ===============
2434
2435 Synopsis
2436 ********
2437
2438 AX_BOOST_LOCALE
2439
2440 Description
2441 ***********
2442
2443 Test for System library from the Boost C++ libraries. The macro
2444 requires a preceding call to AX_BOOST_BASE. Further documentation is
2445 available at <http://randspringer.de/boost/index.html>.
2446
2447 This macro calls:
2448
2449 AC_SUBST(BOOST_LOCALE_LIB)
2450
2451 And sets:
2452
2453 HAVE_BOOST_LOCALE
2454
2455 Source Code
2456 ***********
2457
2458 Download the latest version of 'ax_boost_locale.m4'
2459 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_locale.m4)
2460 or browse the macro's revision history
2461 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_locale.m4).
2462
2463 License
2464 *******
2465
2466 Copyright (C) 2012 Xiyue Deng <manphiz@gmail.com>
2467
2468 Copying and distribution of this file, with or without modification, are
2469 permitted in any medium without royalty provided the copyright notice
2470 and this notice are preserved. This file is offered as-is, without any
2471 warranty.
2472
2473 
2474 File: autoconf-archive.info, Node: ax_boost_log, Next: ax_boost_log_setup, Prev: ax_boost_locale, Up: The Macros
2475
2476 ax_boost_log
2477 ============
2478
2479 Synopsis
2480 ********
2481
2482 AX_BOOST_LOG
2483
2484 Description
2485 ***********
2486
2487 Test for Log library from the Boost C++ libraries. The macro requires a
2488 preceding call to AX_BOOST_BASE. Further documentation is available at
2489 <http://randspringer.de/boost/index.html>.
2490
2491 This macro calls:
2492
2493 AC_SUBST(BOOST_LOG_LIB)
2494
2495 And sets:
2496
2497 HAVE_BOOST_LOG
2498
2499 Source Code
2500 ***********
2501
2502 Download the latest version of 'ax_boost_log.m4'
2503 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_log.m4)
2504 or browse the macro's revision history
2505 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_log.m4).
2506
2507 License
2508 *******
2509
2510 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2511 Copyright (C) 2008 Michael Tindal
2512 Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
2513
2514 Copying and distribution of this file, with or without modification, are
2515 permitted in any medium without royalty provided the copyright notice
2516 and this notice are preserved. This file is offered as-is, without any
2517 warranty.
2518
2519 
2520 File: autoconf-archive.info, Node: ax_boost_log_setup, Next: ax_boost_process, Prev: ax_boost_log, Up: The Macros
2521
2522 ax_boost_log_setup
2523 ==================
2524
2525 Synopsis
2526 ********
2527
2528 AX_BOOST_LOG_SETUP
2529
2530 Description
2531 ***********
2532
2533 Test for LogSetup library from the Boost C++ libraries. The macro
2534 requires a preceding call to AX_BOOST_BASE. Further documentation is
2535 available at <http://randspringer.de/boost/index.html>.
2536
2537 This macro calls:
2538
2539 AC_SUBST(BOOST_LOG_SETUP_LIB)
2540
2541 And sets:
2542
2543 HAVE_BOOST_LOG_SETUP
2544
2545 Source Code
2546 ***********
2547
2548 Download the latest version of 'ax_boost_log_setup.m4'
2549 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_log_setup.m4)
2550 or browse the macro's revision history
2551 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_log_setup.m4).
2552
2553 License
2554 *******
2555
2556 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2557 Copyright (C) 2008 Michael Tindal
2558 Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
2559
2560 Copying and distribution of this file, with or without modification, are
2561 permitted in any medium without royalty provided the copyright notice
2562 and this notice are preserved. This file is offered as-is, without any
2563 warranty.
2564
2565 
2566 File: autoconf-archive.info, Node: ax_boost_process, Next: ax_boost_program_options, Prev: ax_boost_log_setup, Up: The Macros
2567
2568 ax_boost_process
2569 ================
2570
2571 Synopsis
2572 ********
2573
2574 AX_BOOST_PROCESS
2575
2576 Description
2577 ***********
2578
2579 Test for Process library from the Boost C++ libraries. The macro
2580 requires a preceding call to AX_BOOST_BASE. Further documentation is
2581 available at <http://randspringer.de/boost/index.html>.
2582
2583 This macro calls:
2584
2585 AC_SUBST(BOOST_PROCESS_LIB)
2586
2587 And sets:
2588
2589 HAVE_BOOST_PROCESS
2590
2591 Source Code
2592 ***********
2593
2594 Download the latest version of 'ax_boost_process.m4'
2595 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_process.m4)
2596 or browse the macro's revision history
2597 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_process.m4).
2598
2599 License
2600 *******
2601
2602 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2603 Copyright (C) 2008 Michael Tindal
2604 Copyright (C) 2008 Daniel Casimiro <dan.casimiro@gmail.com>
2605
2606 Copying and distribution of this file, with or without modification, are
2607 permitted in any medium without royalty provided the copyright notice
2608 and this notice are preserved. This file is offered as-is, without any
2609 warranty.
2610
2611 
2612 File: autoconf-archive.info, Node: ax_boost_program_options, Next: ax_boost_python, Prev: ax_boost_process, Up: The Macros
2613
2614 ax_boost_program_options
2615 ========================
2616
2617 Synopsis
2618 ********
2619
2620 AX_BOOST_PROGRAM_OPTIONS
2621
2622 Description
2623 ***********
2624
2625 Test for program options library from the Boost C++ libraries. The
2626 macro requires a preceding call to AX_BOOST_BASE. Further documentation
2627 is available at <http://randspringer.de/boost/index.html>.
2628
2629 This macro calls:
2630
2631 AC_SUBST(BOOST_PROGRAM_OPTIONS_LIB)
2632
2633 And sets:
2634
2635 HAVE_BOOST_PROGRAM_OPTIONS
2636
2637 Source Code
2638 ***********
2639
2640 Download the latest version of 'ax_boost_program_options.m4'
2641 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_program_options.m4)
2642 or browse the macro's revision history
2643 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_program_options.m4).
2644
2645 License
2646 *******
2647
2648 Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
2649
2650 Copying and distribution of this file, with or without modification, are
2651 permitted in any medium without royalty provided the copyright notice
2652 and this notice are preserved. This file is offered as-is, without any
2653 warranty.
2654
2655 
2656 File: autoconf-archive.info, Node: ax_boost_python, Next: ax_boost_regex, Prev: ax_boost_program_options, Up: The Macros
2657
2658 ax_boost_python
2659 ===============
2660
2661 Synopsis
2662 ********
2663
2664 AX_BOOST_PYTHON
2665
2666 Description
2667 ***********
2668
2669 This macro checks to see if the Boost.Python library is installed. It
2670 also attempts to guess the correct library name using several attempts.
2671 It tries to build the library name using a user supplied name or suffix
2672 and then just the raw library.
2673
2674 If the library is found, HAVE_BOOST_PYTHON is defined and
2675 BOOST_PYTHON_LIB is set to the name of the library.
2676
2677 This macro calls AC_SUBST(BOOST_PYTHON_LIB).
2678
2679 In order to ensure that the Python headers and the Boost libraries are
2680 specified on the include path, this macro requires AX_PYTHON_DEVEL and
2681 AX_BOOST_BASE to be called.
2682
2683 Source Code
2684 ***********
2685
2686 Download the latest version of 'ax_boost_python.m4'
2687 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_python.m4)
2688 or browse the macro's revision history
2689 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_python.m4).
2690
2691 License
2692 *******
2693
2694 Copyright (C) 2008 Michael Tindal
2695 Copyright (C) 2013 Daniel M"ullner <daniel@danifold.net>
2696
2697 This program is free software; you can redistribute it and/or modify it
2698 under the terms of the GNU General Public License as published by the
2699 Free Software Foundation; either version 2 of the License, or (at your
2700 option) any later version.
2701
2702 This program is distributed in the hope that it will be useful, but
2703 WITHOUT ANY WARRANTY; without even the implied warranty of
2704 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2705 Public License for more details.
2706
2707 You should have received a copy of the GNU General Public License along
2708 with this program. If not, see <https://www.gnu.org/licenses/>.
2709
2710 As a special exception, the respective Autoconf Macro's copyright owner
2711 gives unlimited permission to copy, distribute and modify the configure
2712 scripts that are the output of Autoconf when processing the Macro. You
2713 need not follow the terms of the GNU General Public License when using
2714 or distributing such scripts, even though portions of the text of the
2715 Macro appear in them. The GNU General Public License (GPL) does govern
2716 all other use of the material that constitutes the Autoconf Macro.
2717
2718 This special exception to the GPL applies to versions of the Autoconf
2719 Macro released by the Autoconf Archive. When you make and distribute a
2720 modified version of the Autoconf Macro, you may extend this special
2721 exception to the GPL to apply to your modified version as well.
2722
2723 
2724 File: autoconf-archive.info, Node: ax_boost_regex, Next: ax_boost_serialization, Prev: ax_boost_python, Up: The Macros
2725
2726 ax_boost_regex
2727 ==============
2728
2729 Synopsis
2730 ********
2731
2732 AX_BOOST_REGEX
2733
2734 Description
2735 ***********
2736
2737 Test for Regex library from the Boost C++ libraries. The macro requires
2738 a preceding call to AX_BOOST_BASE. Further documentation is available at
2739 <http://randspringer.de/boost/index.html>.
2740
2741 This macro calls:
2742
2743 AC_SUBST(BOOST_REGEX_LIB)
2744
2745 And sets:
2746
2747 HAVE_BOOST_REGEX
2748
2749 Source Code
2750 ***********
2751
2752 Download the latest version of 'ax_boost_regex.m4'
2753 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_regex.m4)
2754 or browse the macro's revision history
2755 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_regex.m4).
2756
2757 License
2758 *******
2759
2760 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2761 Copyright (C) 2008 Michael Tindal
2762
2763 Copying and distribution of this file, with or without modification, are
2764 permitted in any medium without royalty provided the copyright notice
2765 and this notice are preserved. This file is offered as-is, without any
2766 warranty.
2767
2768 
2769 File: autoconf-archive.info, Node: ax_boost_serialization, Next: ax_boost_signals, Prev: ax_boost_regex, Up: The Macros
2770
2771 ax_boost_serialization
2772 ======================
2773
2774 Synopsis
2775 ********
2776
2777 AX_BOOST_SERIALIZATION
2778
2779 Description
2780 ***********
2781
2782 Test for Serialization library from the Boost C++ libraries. The macro
2783 requires a preceding call to AX_BOOST_BASE. Further documentation is
2784 available at <http://randspringer.de/boost/index.html>.
2785
2786 This macro calls:
2787
2788 AC_SUBST(BOOST_SERIALIZATION_LIB)
2789
2790 And sets:
2791
2792 HAVE_BOOST_SERIALIZATION
2793
2794 Source Code
2795 ***********
2796
2797 Download the latest version of 'ax_boost_serialization.m4'
2798 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_serialization.m4)
2799 or browse the macro's revision history
2800 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_serialization.m4).
2801
2802 License
2803 *******
2804
2805 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2806
2807 Copying and distribution of this file, with or without modification, are
2808 permitted in any medium without royalty provided the copyright notice
2809 and this notice are preserved. This file is offered as-is, without any
2810 warranty.
2811
2812 
2813 File: autoconf-archive.info, Node: ax_boost_signals, Next: ax_boost_system, Prev: ax_boost_serialization, Up: The Macros
2814
2815 ax_boost_signals
2816 ================
2817
2818 Synopsis
2819 ********
2820
2821 AX_BOOST_SIGNALS
2822
2823 Description
2824 ***********
2825
2826 Test for Signals library from the Boost C++ libraries. The macro
2827 requires a preceding call to AX_BOOST_BASE. Further documentation is
2828 available at <http://randspringer.de/boost/index.html>.
2829
2830 This macro calls:
2831
2832 AC_SUBST(BOOST_SIGNALS_LIB)
2833
2834 And sets:
2835
2836 HAVE_BOOST_SIGNALS
2837
2838 Source Code
2839 ***********
2840
2841 Download the latest version of 'ax_boost_signals.m4'
2842 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_signals.m4)
2843 or browse the macro's revision history
2844 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_signals.m4).
2845
2846 License
2847 *******
2848
2849 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2850 Copyright (C) 2008 Michael Tindal
2851
2852 Copying and distribution of this file, with or without modification, are
2853 permitted in any medium without royalty provided the copyright notice
2854 and this notice are preserved. This file is offered as-is, without any
2855 warranty.
2856
2857 
2858 File: autoconf-archive.info, Node: ax_boost_system, Next: ax_boost_test_exec_monitor, Prev: ax_boost_signals, Up: The Macros
2859
2860 ax_boost_system
2861 ===============
2862
2863 Synopsis
2864 ********
2865
2866 AX_BOOST_SYSTEM
2867
2868 Description
2869 ***********
2870
2871 Test for System library from the Boost C++ libraries. The macro
2872 requires a preceding call to AX_BOOST_BASE. Further documentation is
2873 available at <http://randspringer.de/boost/index.html>.
2874
2875 This macro calls:
2876
2877 AC_SUBST(BOOST_SYSTEM_LIB)
2878
2879 And sets:
2880
2881 HAVE_BOOST_SYSTEM
2882
2883 Source Code
2884 ***********
2885
2886 Download the latest version of 'ax_boost_system.m4'
2887 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_system.m4)
2888 or browse the macro's revision history
2889 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_system.m4).
2890
2891 License
2892 *******
2893
2894 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2895 Copyright (C) 2008 Michael Tindal
2896 Copyright (C) 2008 Daniel Casimiro <dan.casimiro@gmail.com>
2897
2898 Copying and distribution of this file, with or without modification, are
2899 permitted in any medium without royalty provided the copyright notice
2900 and this notice are preserved. This file is offered as-is, without any
2901 warranty.
2902
2903 
2904 File: autoconf-archive.info, Node: ax_boost_test_exec_monitor, Next: ax_boost_thread, Prev: ax_boost_system, Up: The Macros
2905
2906 ax_boost_test_exec_monitor
2907 ==========================
2908
2909 Synopsis
2910 ********
2911
2912 AX_BOOST_TEST_EXEC_MONITOR
2913
2914 Description
2915 ***********
2916
2917 Test for Test_Exec_Monitor library from the Boost C++ libraries. The
2918 macro requires a preceding call to AX_BOOST_BASE. Further documentation
2919 is available at <http://randspringer.de/boost/index.html>.
2920
2921 This macro calls:
2922
2923 AC_SUBST(BOOST_TEST_EXEC_MONITOR_LIB)
2924
2925 And sets:
2926
2927 HAVE_BOOST_TEST_EXEC_MONITOR
2928
2929 Source Code
2930 ***********
2931
2932 Download the latest version of 'ax_boost_test_exec_monitor.m4'
2933 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_test_exec_monitor.m4)
2934 or browse the macro's revision history
2935 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_test_exec_monitor.m4).
2936
2937 License
2938 *******
2939
2940 Copyright (C) 2008 Dodji Seketeli <dodji@seketeli.org>
2941 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2942
2943 Copying and distribution of this file, with or without modification, are
2944 permitted in any medium without royalty provided the copyright notice
2945 and this notice are preserved. This file is offered as-is, without any
2946 warranty.
2947
2948 
2949 File: autoconf-archive.info, Node: ax_boost_thread, Next: ax_boost_unit_test_framework, Prev: ax_boost_test_exec_monitor, Up: The Macros
2950
2951 ax_boost_thread
2952 ===============
2953
2954 Synopsis
2955 ********
2956
2957 AX_BOOST_THREAD
2958
2959 Description
2960 ***********
2961
2962 Test for Thread library from the Boost C++ libraries. The macro
2963 requires a preceding call to AX_BOOST_BASE. Further documentation is
2964 available at <http://randspringer.de/boost/index.html>.
2965
2966 This macro calls:
2967
2968 AC_SUBST(BOOST_THREAD_LIB)
2969
2970 And sets:
2971
2972 HAVE_BOOST_THREAD
2973
2974 Source Code
2975 ***********
2976
2977 Download the latest version of 'ax_boost_thread.m4'
2978 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_thread.m4)
2979 or browse the macro's revision history
2980 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_thread.m4).
2981
2982 License
2983 *******
2984
2985 Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
2986 Copyright (C) 2009 Michael Tindal
2987
2988 Copying and distribution of this file, with or without modification, are
2989 permitted in any medium without royalty provided the copyright notice
2990 and this notice are preserved. This file is offered as-is, without any
2991 warranty.
2992
2993 
2994 File: autoconf-archive.info, Node: ax_boost_unit_test_framework, Next: ax_boost_wave, Prev: ax_boost_thread, Up: The Macros
2995
2996 ax_boost_unit_test_framework
2997 ============================
2998
2999 Synopsis
3000 ********
3001
3002 AX_BOOST_UNIT_TEST_FRAMEWORK
3003
3004 Description
3005 ***********
3006
3007 Test for Unit_Test_Framework library from the Boost C++ libraries. The
3008 macro requires a preceding call to AX_BOOST_BASE. Further documentation
3009 is available at <http://randspringer.de/boost/index.html>.
3010
3011 This macro calls:
3012
3013 AC_SUBST(BOOST_UNIT_TEST_FRAMEWORK_LIB)
3014
3015 And sets:
3016
3017 HAVE_BOOST_UNIT_TEST_FRAMEWORK
3018
3019 Source Code
3020 ***********
3021
3022 Download the latest version of 'ax_boost_unit_test_framework.m4'
3023 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_unit_test_framework.m4)
3024 or browse the macro's revision history
3025 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_unit_test_framework.m4).
3026
3027 License
3028 *******
3029
3030 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
3031
3032 Copying and distribution of this file, with or without modification, are
3033 permitted in any medium without royalty provided the copyright notice
3034 and this notice are preserved. This file is offered as-is, without any
3035 warranty.
3036
3037 
3038 File: autoconf-archive.info, Node: ax_boost_wave, Next: ax_boost_wserialization, Prev: ax_boost_unit_test_framework, Up: The Macros
3039
3040 ax_boost_wave
3041 =============
3042
3043 Synopsis
3044 ********
3045
3046 AX_BOOST_WAVE
3047
3048 Description
3049 ***********
3050
3051 Test for Wave library from the Boost C++ libraries. The macro requires
3052 a preceding call to AX_BOOST_BASE. Further documentation is available at
3053 <http://randspringer.de/boost/index.html>.
3054
3055 This macro calls:
3056
3057 AC_SUBST(BOOST_WAVE_LIB)
3058
3059 And sets:
3060
3061 HAVE_BOOST_WAVE
3062
3063 Source Code
3064 ***********
3065
3066 Download the latest version of 'ax_boost_wave.m4'
3067 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_wave.m4)
3068 or browse the macro's revision history
3069 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_wave.m4).
3070
3071 License
3072 *******
3073
3074 Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
3075 Copyright (C) 2009 Michael Tindal
3076
3077 Copying and distribution of this file, with or without modification, are
3078 permitted in any medium without royalty provided the copyright notice
3079 and this notice are preserved. This file is offered as-is, without any
3080 warranty.
3081
3082 
3083 File: autoconf-archive.info, Node: ax_boost_wserialization, Next: ax_build_date_epoch, Prev: ax_boost_wave, Up: The Macros
3084
3085 ax_boost_wserialization
3086 =======================
3087
3088 Synopsis
3089 ********
3090
3091 AX_BOOST_WSERIALIZATION
3092
3093 Description
3094 ***********
3095
3096 Test for Serialization library from the Boost C++ libraries. The macro
3097 requires a preceding call to AX_BOOST_BASE. Further documentation is
3098 available at <http://randspringer.de/boost/index.html>.
3099
3100 This macro calls:
3101
3102 AC_SUBST(BOOST_WSERIALIZATION_LIB)
3103
3104 And sets:
3105
3106 HAVE_BOOST_WSERIALIZATION
3107
3108 Source Code
3109 ***********
3110
3111 Download the latest version of 'ax_boost_wserialization.m4'
3112 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_wserialization.m4)
3113 or browse the macro's revision history
3114 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_wserialization.m4).
3115
3116 License
3117 *******
3118
3119 Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
3120
3121 Copying and distribution of this file, with or without modification, are
3122 permitted in any medium without royalty provided the copyright notice
3123 and this notice are preserved. This file is offered as-is, without any
3124 warranty.
3125
3126 
3127 File: autoconf-archive.info, Node: ax_build_date_epoch, Next: ax_c99_inline, Prev: ax_boost_wserialization, Up: The Macros
3128
3129 ax_build_date_epoch
3130 ===================
3131
3132 Synopsis
3133 ********
3134
3135 AX_BUILD_DATE_EPOCH(VARIABLE[, FORMAT[, ACTION-IF-FAIL]])
3136
3137 Description
3138 ***********
3139
3140 Sets VARIABLE to a string representing the current time. It is
3141 formatted according to FORMAT if specified, otherwise it is formatted as
3142 the number of seconds (excluding leap seconds) since the UNIX epoch (01
3143 Jan 1970 00:00:00 UTC).
3144
3145 If the SOURCE_DATE_EPOCH environment variable is set, it uses the value
3146 of that variable instead of the current time. See
3147 https://reproducible-builds.org/specs/source-date-epoch). If
3148 SOURCE_DATE_EPOCH is set but cannot be properly interpreted as a UNIX
3149 timestamp, then execute ACTION-IF-FAIL if specified, otherwise error.
3150
3151 VARIABLE is AC_SUBST-ed.
3152
3153 Source Code
3154 ***********
3155
3156 Download the latest version of 'ax_build_date_epoch.m4'
3157 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_build_date_epoch.m4)
3158 or browse the macro's revision history
3159 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_build_date_epoch.m4).
3160
3161 License
3162 *******
3163
3164 Copyright (C) 2016 Eric Bavier <bavier@member.fsf.org>
3165
3166 This program is free software: you can redistribute it and/or modify it
3167 under the terms of the GNU General Public License as published by the
3168 Free Software Foundation, either version 3 of the License, or (at your
3169 option) any later version.
3170
3171 This program is distributed in the hope that it will be useful, but
3172 WITHOUT ANY WARRANTY; without even the implied warranty of
3173 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3174 Public License for more details.
3175
3176 You should have received a copy of the GNU General Public License along
3177 with this program. If not, see <https://www.gnu.org/licenses/>.
3178
3179 As a special exception, the respective Autoconf Macro's copyright owner
3180 gives unlimited permission to copy, distribute and modify the configure
3181 scripts that are the output of Autoconf when processing the Macro. You
3182 need not follow the terms of the GNU General Public License when using
3183 or distributing such scripts, even though portions of the text of the
3184 Macro appear in them. The GNU General Public License (GPL) does govern
3185 all other use of the material that constitutes the Autoconf Macro.
3186
3187 This special exception to the GPL applies to versions of the Autoconf
3188 Macro released by the Autoconf Archive. When you make and distribute a
3189 modified version of the Autoconf Macro, you may extend this special
3190 exception to the GPL to apply to your modified version as well.
3191
3192 
3193 File: autoconf-archive.info, Node: ax_c99_inline, Next: ax_c___attribute__, Prev: ax_build_date_epoch, Up: The Macros
3194
3195 ax_c99_inline
3196 =============
3197
3198 Synopsis
3199 ********
3200
3201 AX_C99_INLINE
3202
3203 Description
3204 ***********
3205
3206 This macro defines HAVE_C99_INLINE if the C compiler supports "inline"
3207 and "extern inline" correctly. An application may replace "inline" with
3208 "static inline" as a workaround for older compilers.
3209
3210 Source Code
3211 ***********
3212
3213 Download the latest version of 'ax_c99_inline.m4'
3214 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c99_inline.m4)
3215 or browse the macro's revision history
3216 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c99_inline.m4).
3217
3218 License
3219 *******
3220
3221 Copyright (C) 2009 Michael McMaster <email@michaelmcmaster.name>
3222
3223 Copying and distribution of this file, with or without modification, are
3224 permitted in any medium without royalty provided the copyright notice
3225 and this notice are preserved. This file is offered as-is, without any
3226 warranty.
3227
3228 
3229 File: autoconf-archive.info, Node: ax_c___attribute__, Next: ax_c_arithmetic_rshift, Prev: ax_c99_inline, Up: The Macros
3230
3231 ax_c___attribute__
3232 ==================
3233
3234 Synopsis
3235 ********
3236
3237 AX_C___ATTRIBUTE__
3238
3239 Description
3240 ***********
3241
3242 Provides a test for the compiler support of __attribute__ extensions.
3243 Defines HAVE___ATTRIBUTE__ if it is found.
3244
3245 Source Code
3246 ***********
3247
3248 Download the latest version of 'ax_c___attribute__.m4'
3249 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c___attribute__.m4)
3250 or browse the macro's revision history
3251 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c___attribute__.m4).
3252
3253 License
3254 *******
3255
3256 Copyright (C) 2008 Stepan Kasal <skasal@redhat.com>
3257 Copyright (C) 2008 Christian Haggstrom
3258 Copyright (C) 2008 Ryan McCabe <ryan@numb.org>
3259
3260 This program is free software; you can redistribute it and/or modify it
3261 under the terms of the GNU General Public License as published by the
3262 Free Software Foundation; either version 2 of the License, or (at your
3263 option) any later version.
3264
3265 This program is distributed in the hope that it will be useful, but
3266 WITHOUT ANY WARRANTY; without even the implied warranty of
3267 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3268 Public License for more details.
3269
3270 You should have received a copy of the GNU General Public License along
3271 with this program. If not, see <https://www.gnu.org/licenses/>.
3272
3273 As a special exception, the respective Autoconf Macro's copyright owner
3274 gives unlimited permission to copy, distribute and modify the configure
3275 scripts that are the output of Autoconf when processing the Macro. You
3276 need not follow the terms of the GNU General Public License when using
3277 or distributing such scripts, even though portions of the text of the
3278 Macro appear in them. The GNU General Public License (GPL) does govern
3279 all other use of the material that constitutes the Autoconf Macro.
3280
3281 This special exception to the GPL applies to versions of the Autoconf
3282 Macro released by the Autoconf Archive. When you make and distribute a
3283 modified version of the Autoconf Macro, you may extend this special
3284 exception to the GPL to apply to your modified version as well.
3285
3286 
3287 File: autoconf-archive.info, Node: ax_c_arithmetic_rshift, Next: ax_c_compile_value, Prev: ax_c___attribute__, Up: The Macros
3288
3289 ax_c_arithmetic_rshift
3290 ======================
3291
3292 Synopsis
3293 ********
3294
3295 AX_C_ARITHMETIC_RSHIFT
3296
3297 Description
3298 ***********
3299
3300 Checks if the right shift operation is arithmetic.
3301
3302 This macro uses compile-time detection and so is cross-compile ready.
3303
3304 Source Code
3305 ***********
3306
3307 Download the latest version of 'ax_c_arithmetic_rshift.m4'
3308 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_arithmetic_rshift.m4)
3309 or browse the macro's revision history
3310 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_arithmetic_rshift.m4).
3311
3312 License
3313 *******
3314
3315 Copyright (C) 2008 YAMAMOTO Kengo <yamaken@bp.iij4u.or.jp>
3316
3317 Copying and distribution of this file, with or without modification, are
3318 permitted in any medium without royalty provided the copyright notice
3319 and this notice are preserved. This file is offered as-is, without any
3320 warranty.
3321
3322 
3323 File: autoconf-archive.info, Node: ax_c_compile_value, Next: ax_c_declare_block, Prev: ax_c_arithmetic_rshift, Up: The Macros
3324
3325 ax_c_compile_value
3326 ==================
3327
3328 Synopsis
3329 ********
3330
3331 AX_C_COMPILE_VALUE (COMPILE-VALUE, ALIAS, INCLUDES)
3332
3333 Description
3334 ***********
3335
3336 The AX_C_COMPILE_VALUE macro determines a compile time value by
3337 generating the object code and reading the value from the code. Static
3338 data initializers like sizeof(int) are unavailable to preprocessor. The
3339 macro calculates the values known to compiler's static initializer.
3340
3341 Assumptions: The sought value should not exceed 65535. The shell
3342 interpreter and the sed utility are expected to exist and work similarly
3343 across possible build platforms.
3344
3345 Result: The resulting configure script will generate the preprocessor
3346 symbol definition:
3347
3348 #define COMPILE_VALUE_<ALIAS> <NUMBER>
3349
3350 It was important that the value was embedded into the object file in a
3351 predefined byte order during the test. This ensured that the result was
3352 independent from the target platform's byte order.
3353
3354 The existing AC_CHECK_SIZEOF macro also computes the size of the given
3355 type without running the test program. However, the existing macro will
3356 produce a piece of configure script that will take the time proportional
3357 to the logarithm of the sought value.
3358
3359 Example of use in configure.in:
3360
3361 AX_C_COMPILE_VALUE(sizeof(int), sizeof_int)
3362 AX_C_COMPILE_VALUE([sizeof(int[[543]])], sizeof_int543)
3363
3364 As a result of running the generated configure script, the following
3365 definition will appear in config.h:
3366
3367 #define COMPILE_VALUE_SIZEOF_INT 4
3368 #define COMPILE_VALUE_SIZEOF_INT543 2172
3369
3370 Source Code
3371 ***********
3372
3373 Download the latest version of 'ax_c_compile_value.m4'
3374 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_compile_value.m4)
3375 or browse the macro's revision history
3376 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_compile_value.m4).
3377
3378 License
3379 *******
3380
3381 Copyright (C) 2008 Ilguiz Latypov
3382
3383 This program is free software; you can redistribute it and/or modify it
3384 under the terms of the GNU General Public License as published by the
3385 Free Software Foundation; either version 2 of the License, or (at your
3386 option) any later version.
3387
3388 This program is distributed in the hope that it will be useful, but
3389 WITHOUT ANY WARRANTY; without even the implied warranty of
3390 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3391 Public License for more details.
3392
3393 You should have received a copy of the GNU General Public License along
3394 with this program. If not, see <https://www.gnu.org/licenses/>.
3395
3396 As a special exception, the respective Autoconf Macro's copyright owner
3397 gives unlimited permission to copy, distribute and modify the configure
3398 scripts that are the output of Autoconf when processing the Macro. You
3399 need not follow the terms of the GNU General Public License when using
3400 or distributing such scripts, even though portions of the text of the
3401 Macro appear in them. The GNU General Public License (GPL) does govern
3402 all other use of the material that constitutes the Autoconf Macro.
3403
3404 This special exception to the GPL applies to versions of the Autoconf
3405 Macro released by the Autoconf Archive. When you make and distribute a
3406 modified version of the Autoconf Macro, you may extend this special
3407 exception to the GPL to apply to your modified version as well.
3408
3409 
3410 File: autoconf-archive.info, Node: ax_c_declare_block, Next: ax_c_float_words_bigendian, Prev: ax_c_compile_value, Up: The Macros
3411
3412 ax_c_declare_block
3413 ==================
3414
3415 Synopsis
3416 ********
3417
3418 AX_C_DECLARE_BLOCK
3419
3420 Description
3421 ***********
3422
3423 The macro will compile a test program to see whether the compiler does
3424 allow new variable declarations in the middle of a C statement block,
3425 i.e. after some non-declaration line. New compilers will allow that
3426 which makes the behave a bit more like C++ - the gcc did support it for
3427 quite a time already.
3428
3429 #define DECLARE_BLOCK_NEEDED says they need to be at the beginning of of
3430 a statement block. Additionally two defines DECLARE_BLOCK { and
3431 DECLARE_END } are being set. That makes it possible to do the following
3432 in your source code (which this macro is really made up for):
3433
3434 #define ___ DECLARE_BLOCK
3435 #define ____ DECLARE_END
3436
3437 int f() {
3438 char buffer[1024];
3439 fgets(buffer, 1024, stdin);
3440 ___ int i; int ii = strlen(buffer);
3441 for (i=0; i < ii; i++) {
3442 fputc(buffer[i], stdout);
3443 }____;
3444 }
3445
3446 Source Code
3447 ***********
3448
3449 Download the latest version of 'ax_c_declare_block.m4'
3450 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_declare_block.m4)
3451 or browse the macro's revision history
3452 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_declare_block.m4).
3453
3454 License
3455 *******
3456
3457 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
3458
3459 This program is free software; you can redistribute it and/or modify it
3460 under the terms of the GNU General Public License as published by the
3461 Free Software Foundation; either version 3 of the License, or (at your
3462 option) any later version.
3463
3464 This program is distributed in the hope that it will be useful, but
3465 WITHOUT ANY WARRANTY; without even the implied warranty of
3466 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3467 Public License for more details.
3468
3469 You should have received a copy of the GNU General Public License along
3470 with this program. If not, see <https://www.gnu.org/licenses/>.
3471
3472 As a special exception, the respective Autoconf Macro's copyright owner
3473 gives unlimited permission to copy, distribute and modify the configure
3474 scripts that are the output of Autoconf when processing the Macro. You
3475 need not follow the terms of the GNU General Public License when using
3476 or distributing such scripts, even though portions of the text of the
3477 Macro appear in them. The GNU General Public License (GPL) does govern
3478 all other use of the material that constitutes the Autoconf Macro.
3479
3480 This special exception to the GPL applies to versions of the Autoconf
3481 Macro released by the Autoconf Archive. When you make and distribute a
3482 modified version of the Autoconf Macro, you may extend this special
3483 exception to the GPL to apply to your modified version as well.
3484
3485 
3486 File: autoconf-archive.info, Node: ax_c_float_words_bigendian, Next: ax_c_long_long, Prev: ax_c_declare_block, Up: The Macros
3487
3488 ax_c_float_words_bigendian
3489 ==========================
3490
3491 Synopsis
3492 ********
3493
3494 AX_C_FLOAT_WORDS_BIGENDIAN([ACTION-IF-TRUE], [ACTION-IF-FALSE], [ACTION-IF-UNKNOWN])
3495
3496 Description
3497 ***********
3498
3499 Checks the ordering of words within a multi-word float. This check is
3500 necessary because on some systems (e.g. certain ARM systems), the float
3501 word ordering can be different from the byte ordering. In a multi-word
3502 float context, "big-endian" implies that the word containing the sign
3503 bit is found in the memory location with the lowest address. This
3504 implementation was inspired by the AC_C_BIGENDIAN macro in autoconf.
3505
3506 The endianness is detected by first compiling C code that contains a
3507 special double float value, then grepping the resulting object file for
3508 certain strings of ASCII values. The double is specially crafted to
3509 have a binary representation that corresponds with a simple string. In
3510 this implementation, the string "noonsees" was selected because the
3511 individual word values ("noon" and "sees") are palindromes, thus making
3512 this test byte-order agnostic. If grep finds the string "noonsees" in
3513 the object file, the target platform stores float words in big-endian
3514 order. If grep finds "seesnoon", float words are in little-endian
3515 order. If neither value is found, the user is instructed to specify the
3516 ordering.
3517
3518 Source Code
3519 ***********
3520
3521 Download the latest version of 'ax_c_float_words_bigendian.m4'
3522 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_float_words_bigendian.m4)
3523 or browse the macro's revision history
3524 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_float_words_bigendian.m4).
3525
3526 License
3527 *******
3528
3529 Copyright (C) 2008 Daniel Amelang <dan@amelang.net>
3530
3531 Copying and distribution of this file, with or without modification, are
3532 permitted in any medium without royalty provided the copyright notice
3533 and this notice are preserved. This file is offered as-is, without any
3534 warranty.
3535
3536 
3537 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
3538
3539 ax_c_long_long
3540 ==============
3541
3542 Synopsis
3543 ********
3544
3545 AX_C_LONG_LONG
3546
3547 Description
3548 ***********
3549
3550 Provides a test for the existence of the long long int type and defines
3551 HAVE_LONG_LONG if it is found.
3552
3553 Source Code
3554 ***********
3555
3556 Download the latest version of 'ax_c_long_long.m4'
3557 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_long_long.m4)
3558 or browse the macro's revision history
3559 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_long_long.m4).
3560
3561 License
3562 *******
3563
3564 Copyright (C) 2008 Caolan McNamara <caolan@skynet.ie>
3565
3566 Copying and distribution of this file, with or without modification, are
3567 permitted in any medium without royalty provided the copyright notice
3568 and this notice are preserved. This file is offered as-is, without any
3569 warranty.
3570
3571 
3572 File: autoconf-archive.info, Node: ax_c_referenceable_passed_va_list, Next: ax_c_var_func, Prev: ax_c_long_long, Up: The Macros
3573
3574 ax_c_referenceable_passed_va_list
3575 =================================
3576
3577 Synopsis
3578 ********
3579
3580 AX_C_REFERENCEABLE_PASSED_VA_LIST
3581
3582 Description
3583 ***********
3584
3585 Checks whether f(va_list va){ &va; } works as expected.
3586
3587 This macro uses compile-time detection and so is cross-compile ready.
3588
3589 C99 mentioned passing a pointer to va_list to other functions (footnote
3590 212 of "7.15 Variable arguments <stdarg.h>"). However, f(va_list va) {
3591 &va; } produces broken pointer on some environments such as gcc on
3592 x86_64, although { va_list va; &va; } works as expected. See the
3593 detection code of this file and any of pages
3594 https://www.gnu.org/software/autoconf/manual/html_node/Function-Portability.html,
3595 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14557, and
3596 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20951 for further
3597 information.
3598
3599 Although C99 does not define the operations f(va_list va) { &va; } and
3600 &va itself as standard (footnotes are declared as "normative part,
3601 information only"), certain situations need it. This macro provides a
3602 type detection about va_list implementation to deal with the operation.
3603
3604 Following workaround will probably work on such environments although it
3605 does not ensure to be safe and portable. At least it is working on
3606 x86_64-unknown-linux-gnu:
3607
3608 f(va_list va)
3609 {
3610 va_list *vap;
3611
3612 #if HAVE_REFERENCEABLE_PASSED_VA_LIST
3613 vap = &va;
3614 #else
3615 vap = (va_list *)va;
3616 #endif
3617 }
3618
3619 Source Code
3620 ***********
3621
3622 Download the latest version of 'ax_c_referenceable_passed_va_list.m4'
3623 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_referenceable_passed_va_list.m4)
3624 or browse the macro's revision history
3625 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_referenceable_passed_va_list.m4).
3626
3627 License
3628 *******
3629
3630 Copyright (C) 2008 YAMAMOTO Kengo <yamaken@bp.iij4u.or.jp>
3631
3632 Copying and distribution of this file, with or without modification, are
3633 permitted in any medium without royalty provided the copyright notice
3634 and this notice are preserved. This file is offered as-is, without any
3635 warranty.
3636
3637 
3638 File: autoconf-archive.info, Node: ax_c_var_func, Next: ax_cache_size, Prev: ax_c_referenceable_passed_va_list, Up: The Macros
3639
3640 ax_c_var_func
3641 =============
3642
3643 Synopsis
3644 ********
3645
3646 AX_C_VAR_FUNC
3647
3648 Description
3649 ***********
3650
3651 This macro tests if the C compiler supports the C9X standard __func__
3652 identifier.
3653
3654 The new C9X standard for the C language stipulates that the identifier
3655 __func__ shall be implicitly declared by the compiler as if, immediately
3656 following the opening brace of each function definition, the declaration
3657
3658 static const char __func__[] = "function-name";
3659
3660 appeared, where function-name is the name of the function where the
3661 __func__ identifier is used.
3662
3663 Source Code
3664 ***********
3665
3666 Download the latest version of 'ax_c_var_func.m4'
3667 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_var_func.m4)
3668 or browse the macro's revision history
3669 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_var_func.m4).
3670
3671 License
3672 *******
3673
3674 Copyright (C) 2008 Christopher Currie <christopher@currie.com>
3675
3676 This program is free software; you can redistribute it and/or modify it
3677 under the terms of the GNU General Public License as published by the
3678 Free Software Foundation; either version 2 of the License, or (at your
3679 option) any later version.
3680
3681 This program is distributed in the hope that it will be useful, but
3682 WITHOUT ANY WARRANTY; without even the implied warranty of
3683 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3684 Public License for more details.
3685
3686 You should have received a copy of the GNU General Public License along
3687 with this program. If not, see <https://www.gnu.org/licenses/>.
3688
3689 As a special exception, the respective Autoconf Macro's copyright owner
3690 gives unlimited permission to copy, distribute and modify the configure
3691 scripts that are the output of Autoconf when processing the Macro. You
3692 need not follow the terms of the GNU General Public License when using
3693 or distributing such scripts, even though portions of the text of the
3694 Macro appear in them. The GNU General Public License (GPL) does govern
3695 all other use of the material that constitutes the Autoconf Macro.
3696
3697 This special exception to the GPL applies to versions of the Autoconf
3698 Macro released by the Autoconf Archive. When you make and distribute a
3699 modified version of the Autoconf Macro, you may extend this special
3700 exception to the GPL to apply to your modified version as well.
3701
3702 
3703 File: autoconf-archive.info, Node: ax_cache_size, Next: ax_caolan_check_package, Prev: ax_c_var_func, Up: The Macros
3704
3705 ax_cache_size
3706 =============
3707
3708 Synopsis
3709 ********
3710
3711 AX_CACHE_SIZE
3712
3713 Description
3714 ***********
3715
3716 Find L1 and L2 caches size by reading the corresponding file on UNIX or
3717 by requesting cpuid. The results are available in the defines
3718 CPU_L1_CACHE and CPU_L2_CACHE.
3719
3720 This macro depends on AX_GCC_X86_CPUID, AC_PROG_SED, AX_COUNT_CPUS, and
3721 AX_CPU_VENDOR.
3722
3723 Source Code
3724 ***********
3725
3726 Download the latest version of 'ax_cache_size.m4'
3727 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cache_size.m4)
3728 or browse the macro's revision history
3729 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cache_size.m4).
3730
3731 License
3732 *******
3733
3734 Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
3735
3736 Copying and distribution of this file, with or without modification, are
3737 permitted in any medium without royalty provided the copyright notice
3738 and this notice are preserved. This file is offered as-is, without any
3739 warranty.
3740
3741 
3742 File: autoconf-archive.info, Node: ax_caolan_check_package, Next: ax_caolan_search_package, Prev: ax_cache_size, Up: The Macros
3743
3744 ax_caolan_check_package
3745 =======================
3746
3747 Synopsis
3748 ********
3749
3750 AX_caolan_CHECK_PACKAGE(PACKAGE, FUNCTION, LIBRARY , HEADERFILE [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3751
3752 Description
3753 ***********
3754
3755 Provides -with-PACKAGE, -with-PACKAGE-include and -with-PACKAGE-libdir
3756 options to configure. Supports the now standard -with-PACKAGE=DIR
3757 approach where the package's include dir and lib dir are underneath DIR,
3758 but also allows the include and lib directories to be specified
3759 separately
3760
3761 adds the extra -Ipath to CFLAGS if needed adds extra -Lpath to LD_FLAGS
3762 if needed searches for the FUNCTION in the LIBRARY with AC_CHECK_LIBRARY
3763 and thus adds the lib to LIBS
3764
3765 defines HAVE_PKG_PACKAGE if it is found, (where PACKAGE in the
3766 HAVE_PKG_PACKAGE is replaced with the actual first parameter passed)
3767 note that autoheader will complain of not having the HAVE_PKG_PACKAGE
3768 and you will have to add it to acconfig.h manually
3769
3770 Source Code
3771 ***********
3772
3773 Download the latest version of 'ax_caolan_check_package.m4'
3774 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_caolan_check_package.m4)
3775 or browse the macro's revision history
3776 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_caolan_check_package.m4).
3777
3778 License
3779 *******
3780
3781 Copyright (C) 2008 Caolan McNamara <caolan@skynet.ie>
3782 Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
3783 Copyright (C) 2008 Matthew Mueller <donut@azstarnet.com>
3784
3785 Copying and distribution of this file, with or without modification, are
3786 permitted in any medium without royalty provided the copyright notice
3787 and this notice are preserved. This file is offered as-is, without any
3788 warranty.
3789
3790 
3791 File: autoconf-archive.info, Node: ax_caolan_search_package, Next: ax_cc_for_build, Prev: ax_caolan_check_package, Up: The Macros
3792
3793 ax_caolan_search_package
3794 ========================
3795
3796 Synopsis
3797 ********
3798
3799 AX_caolan_SEARCH_PACKAGE(PACKAGE, FUNCTION, LIBRARY LIST, HEADERFILE [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3800
3801 Description
3802 ***********
3803
3804 Provides -with-PACKAGE, -with-PACKAGE-include and -with-PACKAGE-libdir
3805 options to configure. Supports the now standard -with-PACKAGE=DIR
3806 approach where the package's include dir and lib dir are underneath DIR,
3807 but also allows the include and lib directories to be specified
3808 separately
3809
3810 adds the extra -Ipath to CFLAGS if needed adds extra -Lpath to LD_FLAGS
3811 if needed searches for the FUNCTION in each of the LIBRARY LIST with
3812 AC_SEARCH_LIBRARY and thus adds the lib to LIBS
3813
3814 defines HAVE_PKG_PACKAGE if it is found, (where PACKAGE in the
3815 HAVE_PKG_PACKAGE is replaced with the actual first parameter passed)
3816 note that autoheader will complain of not having the HAVE_PKG_PACKAGE
3817 and you will have to add it to acconfig.h manually
3818
3819 Source Code
3820 ***********
3821
3822 Download the latest version of 'ax_caolan_search_package.m4'
3823 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_caolan_search_package.m4)
3824 or browse the macro's revision history
3825 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_caolan_search_package.m4).
3826
3827 License
3828 *******
3829
3830 Copyright (C) 2009 Caolan McNamara <caolan@skynet.ie>
3831 Copyright (C) 2009 Alexandre Duret-Lutz <adl@gnu.org>
3832 Copyright (C) 2009 Matthew Mueller <donut@azstarnet.com>
3833
3834 Copying and distribution of this file, with or without modification, are
3835 permitted in any medium without royalty provided the copyright notice
3836 and this notice are preserved. This file is offered as-is, without any
3837 warranty.
3838
3839 
3840 File: autoconf-archive.info, Node: ax_cc_for_build, Next: ax_cc_maxopt, Prev: ax_caolan_search_package, Up: The Macros
3841
3842 ax_cc_for_build
3843 ===============
3844
3845 Synopsis
3846 ********
3847
3848 AX_CC_FOR_BUILD
3849
3850 Description
3851 ***********
3852
3853 Find a build-time compiler. Sets CC_FOR_BUILD and EXEEXT_FOR_BUILD.
3854
3855 Source Code
3856 ***********
3857
3858 Download the latest version of 'ax_cc_for_build.m4'
3859 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cc_for_build.m4)
3860 or browse the macro's revision history
3861 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cc_for_build.m4).
3862
3863 License
3864 *******
3865
3866 Copyright (C) 2010 Reuben Thomas <rrt@sc3d.org>
3867 Copyright (C) 1999 Richard Henderson <rth@redhat.com>
3868
3869 This program is free software: you can redistribute it and/or modify it
3870 under the terms of the GNU General Public License as published by the
3871 Free Software Foundation, either version 3 of the License, or (at your
3872 option) any later version.
3873
3874 This program is distributed in the hope that it will be useful, but
3875 WITHOUT ANY WARRANTY; without even the implied warranty of
3876 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3877 Public License for more details.
3878
3879 You should have received a copy of the GNU General Public License along
3880 with this program. If not, see <https://www.gnu.org/licenses/>.
3881
3882 As a special exception, the respective Autoconf Macro's copyright owner
3883 gives unlimited permission to copy, distribute and modify the configure
3884 scripts that are the output of Autoconf when processing the Macro. You
3885 need not follow the terms of the GNU General Public License when using
3886 or distributing such scripts, even though portions of the text of the
3887 Macro appear in them. The GNU General Public License (GPL) does govern
3888 all other use of the material that constitutes the Autoconf Macro.
3889
3890 This special exception to the GPL applies to versions of the Autoconf
3891 Macro released by the Autoconf Archive. When you make and distribute a
3892 modified version of the Autoconf Macro, you may extend this special
3893 exception to the GPL to apply to your modified version as well.
3894
3895 
3896 File: autoconf-archive.info, Node: ax_cc_maxopt, Next: ax_cf_ebcdic, Prev: ax_cc_for_build, Up: The Macros
3897
3898 ax_cc_maxopt
3899 ============
3900
3901 Synopsis
3902 ********
3903
3904 AX_CC_MAXOPT
3905
3906 Description
3907 ***********
3908
3909 Try to turn on "good" C optimization flags for various compilers and
3910 architectures, for some definition of "good". (In our case, good for
3911 FFTW and hopefully for other scientific codes. Modify as needed.)
3912
3913 The user can override the flags by setting the CFLAGS environment
3914 variable. The user can also specify -enable-portable-binary in order to
3915 disable any optimization flags that might result in a binary that only
3916 runs on the host architecture.
3917
3918 Note also that the flags assume that ANSI C aliasing rules are followed
3919 by the code (e.g. for gcc's -fstrict-aliasing), and that floating-point
3920 computations can be re-ordered as needed.
3921
3922 Requires macros: AX_CHECK_COMPILE_FLAG, AX_COMPILER_VENDOR,
3923 AX_GCC_ARCHFLAG, AX_GCC_X86_CPUID.
3924
3925 Source Code
3926 ***********
3927
3928 Download the latest version of 'ax_cc_maxopt.m4'
3929 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cc_maxopt.m4)
3930 or browse the macro's revision history
3931 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cc_maxopt.m4).
3932
3933 License
3934 *******
3935
3936 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
3937 Copyright (C) 2008 Matteo Frigo
3938
3939 This program is free software: you can redistribute it and/or modify it
3940 under the terms of the GNU General Public License as published by the
3941 Free Software Foundation, either version 3 of the License, or (at your
3942 option) any later version.
3943
3944 This program is distributed in the hope that it will be useful, but
3945 WITHOUT ANY WARRANTY; without even the implied warranty of
3946 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3947 Public License for more details.
3948
3949 You should have received a copy of the GNU General Public License along
3950 with this program. If not, see <https://www.gnu.org/licenses/>.
3951
3952 As a special exception, the respective Autoconf Macro's copyright owner
3953 gives unlimited permission to copy, distribute and modify the configure
3954 scripts that are the output of Autoconf when processing the Macro. You
3955 need not follow the terms of the GNU General Public License when using
3956 or distributing such scripts, even though portions of the text of the
3957 Macro appear in them. The GNU General Public License (GPL) does govern
3958 all other use of the material that constitutes the Autoconf Macro.
3959
3960 This special exception to the GPL applies to versions of the Autoconf
3961 Macro released by the Autoconf Archive. When you make and distribute a
3962 modified version of the Autoconf Macro, you may extend this special
3963 exception to the GPL to apply to your modified version as well.
3964
3965 
3966 File: autoconf-archive.info, Node: ax_cf_ebcdic, Next: ax_cflags_aix_option, Prev: ax_cc_maxopt, Up: The Macros
3967
3968 ax_cf_ebcdic
3969 ============
3970
3971 Synopsis
3972 ********
3973
3974 AX_CF_EBCDIC
3975
3976 Description
3977 ***********
3978
3979 If the target character set is EBCDIC, defines variables cf_cv_ebcdic,
3980 EBCDIC, and NOT_ASCII.
3981
3982 I originally wrote this and submitted it to the Lynx distribution.
3983 Editorial revisions by Tom Dickey, et. al.
3984
3985 Source Code
3986 ***********
3987
3988 Download the latest version of 'ax_cf_ebcdic.m4'
3989 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cf_ebcdic.m4)
3990 or browse the macro's revision history
3991 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cf_ebcdic.m4).
3992
3993 License
3994 *******
3995
3996 Copyright (C) 2008 Paul Gilmartin <pg@sweng.stortek.com>
3997
3998 This program is free software: you can redistribute it and/or modify it
3999 under the terms of the GNU General Public License as published by the
4000 Free Software Foundation, either version 3 of the License, or (at your
4001 option) any later version.
4002
4003 This program is distributed in the hope that it will be useful, but
4004 WITHOUT ANY WARRANTY; without even the implied warranty of
4005 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
4006 Public License for more details.
4007
4008 You should have received a copy of the GNU General Public License along
4009 with this program. If not, see <https://www.gnu.org/licenses/>.
4010
4011 As a special exception, the respective Autoconf Macro's copyright owner
4012 gives unlimited permission to copy, distribute and modify the configure
4013 scripts that are the output of Autoconf when processing the Macro. You
4014 need not follow the terms of the GNU General Public License when using
4015 or distributing such scripts, even though portions of the text of the
4016 Macro appear in them. The GNU General Public License (GPL) does govern
4017 all other use of the material that constitutes the Autoconf Macro.
4018
4019 This special exception to the GPL applies to versions of the Autoconf
4020 Macro released by the Autoconf Archive. When you make and distribute a
4021 modified version of the Autoconf Macro, you may extend this special
4022 exception to the GPL to apply to your modified version as well.
4023
4024 
4025 File: autoconf-archive.info, Node: ax_cflags_aix_option, Next: ax_cflags_force_c89, Prev: ax_cf_ebcdic, Up: The Macros
4026
4027 ax_cflags_aix_option
4028 ====================
4029
4030 Synopsis
4031 ********
4032
4033 AX_CFLAGS_AIX_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
4034
4035 Description
4036 ***********
4037
4038 AX_CFLAGS_AIX_OPTION(-qubicle) would show a message as like "checking
4039 CFLAGS for aix/cc -qubicle ... yes" and adds the optionflag to CFLAGS
4040 if it is understood. You can override the shellvar-default of CFLAGS of
4041 course. The order of arguments stems from the explicit macros like
4042 AX_CFLAGS_WARN_ALL.
4043
4044 The cousin AX_CXXFLAGS_AIX_OPTION would check for an option to add to
4045 CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
4046 is possible to use different compilers for C and C++).
4047
4048 The macro is a lot simpler than any special AX_CFLAGS_* macro (or
4049 ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
4050 However, if you use this macro in a few places, it would be great if you
4051 would make up a new function-macro and submit it to the ac-archive.
4052
4053 - $1 option-to-check-for : required ("-option" as non-value)
4054 - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
4055 - $3 action-if-found : add value to shellvariable
4056 - $4 action-if-not-found : nothing
4057
4058 note: in earlier versions, $1-$2 were swapped. We try to detect the
4059 situation and accept a $2=~/-/ as being the old option-to-check-for.
4060
4061 see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
4062
4063 Source Code
4064 ***********
4065
4066 Download the latest version of 'ax_cflags_aix_option.m4'
4067 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_aix_option.m4)
4068 or browse the macro's revision history
4069 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_aix_option.m4).
4070
4071 License
4072 *******
4073
4074 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4075
4076 Copying and distribution of this file, with or without modification, are
4077 permitted in any medium without royalty provided the copyright notice
4078 and this notice are preserved. This file is offered as-is, without any
4079 warranty.
4080
4081 
4082 File: autoconf-archive.info, Node: ax_cflags_force_c89, Next: ax_cflags_hpux_option, Prev: ax_cflags_aix_option, Up: The Macros
4083
4084 ax_cflags_force_c89
4085 ===================
4086
4087 Synopsis
4088 ********
4089
4090 AX_CFLAGS_FORCE_C89 [(shellvar [,default, [A/NA]])]
4091
4092 Description
4093 ***********
4094
4095 Try to find a compiler option that enables strict C89 mode.
4096
4097 For the GNU CC compiler it will be -ansi -pedantic. The result is added
4098 to the shellvar being CFLAGS by default.
4099
4100 Currently this macro knows about GCC, Solaris C compiler, Digital Unix C
4101 compiler, C for AIX Compiler, HP-UX C compiler, IRIX C compiler, NEC
4102 SX-5 (Super-UX 10) C compiler, and Cray J90 (Unicos 10.0.0.8) C
4103 compiler.
4104
4105 - $1 shell-variable-to-add-to : CFLAGS
4106 - $2 add-value-if-not-found : nothing
4107 - $3 action-if-found : add value to shellvariable
4108 - $4 action-if-not-found : nothing
4109
4110 NOTE: These macros depend on AX_APPEND_FLAG.
4111
4112 Source Code
4113 ***********
4114
4115 Download the latest version of 'ax_cflags_force_c89.m4'
4116 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_force_c89.m4)
4117 or browse the macro's revision history
4118 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_force_c89.m4).
4119
4120 License
4121 *******
4122
4123 Copyright (C) 2009 Guido U. Draheim <guidod@gmx.de>
4124
4125 Copying and distribution of this file, with or without modification, are
4126 permitted in any medium without royalty provided the copyright notice
4127 and this notice are preserved. This file is offered as-is, without any
4128 warranty.
4129
4130 
4131 File: autoconf-archive.info, Node: ax_cflags_hpux_option, Next: ax_cflags_irix_option, Prev: ax_cflags_force_c89, Up: The Macros
4132
4133 ax_cflags_hpux_option
4134 =====================
4135
4136 Synopsis
4137 ********
4138
4139 AX_CFLAGS_HPUX_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
4140
4141 Description
4142 ***********
4143
4144 AX_CFLAGS_HPUX_OPTION(-Afresh) would show a message as like "checking
4145 CFLAGS for hpux/cc -Afresh ... yes" and adds the optionflag to CFLAGS
4146 if it is understood. You can override the shellvar-default of CFLAGS of
4147 course. The order of arguments stems from the explicit macros like
4148 AX_CFLAGS_WARN_ALL.
4149
4150 The cousin AX_CXXFLAGS_HPUX_OPTION would check for an option to add to
4151 CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
4152 is possible to use different compilers for C and C++).
4153
4154 The macro is a lot simpler than any special AX_CFLAGS_* macro (or
4155 ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
4156 However, if you use this macro in a few places, it would be great if you
4157 would make up a new function-macro and submit it to the ac-archive.
4158
4159 - $1 option-to-check-for : required ("-option" as non-value)
4160 - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
4161 - $3 action-if-found : add value to shellvariable
4162 - $4 action-if-not-found : nothing
4163
4164 note: in earlier versions, $1-$2 were swapped. We try to detect the
4165 situation and accept a $2=~/-/ as being the old option-to-check-for.
4166
4167 see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
4168
4169 Source Code
4170 ***********
4171
4172 Download the latest version of 'ax_cflags_hpux_option.m4'
4173 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_hpux_option.m4)
4174 or browse the macro's revision history
4175 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_hpux_option.m4).
4176
4177 License
4178 *******
4179
4180 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4181
4182 Copying and distribution of this file, with or without modification, are
4183 permitted in any medium without royalty provided the copyright notice
4184 and this notice are preserved. This file is offered as-is, without any
4185 warranty.
4186
4187 
4188 File: autoconf-archive.info, Node: ax_cflags_irix_option, Next: ax_cflags_no_writable_strings, Prev: ax_cflags_hpux_option, Up: The Macros
4189
4190 ax_cflags_irix_option
4191 =====================
4192
4193 Synopsis
4194 ********
4195
4196 AX_CFLAGS_IRIX_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
4197
4198 Description
4199 ***********
4200
4201 AX_CFLAGS_IRIX_OPTION(-go_for_it) would show a message as like "checking
4202 CFLAGS for irix/cc -go_for_it ... yes" and adds the optionflag to
4203 CFLAGS if it is understood. You can override the shellvar-default of
4204 CFLAGS of course. The order of arguments stems from the explicit macros
4205 like AX_CFLAGS_WARN_ALL.
4206
4207 The cousin AX_CXXFLAGS_IRIX_OPTION would check for an option to add to
4208 CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
4209 is possible to use different compilers for C and C++).
4210
4211 The macro is a lot simpler than any special AX_CFLAGS_* macro (or
4212 ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
4213 However, if you use this macro in a few places, it would be great if you
4214 would make up a new function-macro and submit it to the ac-archive.
4215
4216 - $1 option-to-check-for : required ("-option" as non-value)
4217 - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
4218 - $3 action-if-found : add value to shellvariable
4219 - $4 action-if-not-found : nothing
4220
4221 note: in earlier versions, $1-$2 were swapped. We try to detect the
4222 situation and accept a $2=~/-/ as being the old option-to-check-for.
4223
4224 see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
4225
4226 Source Code
4227 ***********
4228
4229 Download the latest version of 'ax_cflags_irix_option.m4'
4230 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_irix_option.m4)
4231 or browse the macro's revision history
4232 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_irix_option.m4).
4233
4234 License
4235 *******
4236
4237 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4238
4239 Copying and distribution of this file, with or without modification, are
4240 permitted in any medium without royalty provided the copyright notice
4241 and this notice are preserved. This file is offered as-is, without any
4242 warranty.
4243
4244 
4245 File: autoconf-archive.info, Node: ax_cflags_no_writable_strings, Next: ax_cflags_strict_prototypes, Prev: ax_cflags_irix_option, Up: The Macros
4246
4247 ax_cflags_no_writable_strings
4248 =============================
4249
4250 Synopsis
4251 ********
4252
4253 AX_CFLAGS_NO_WRITABLE_STRINGS [(shellvar [,default, [A/NA]])]
4254
4255 Description
4256 ***********
4257
4258 Try to find a compiler option that makes all string literals readonly.
4259
4260 The sanity check is done by looking at string.h which has a set of
4261 strcpy definitions that should be defined with const-modifiers to not
4262 emit a warning in all so many places.
4263
4264 For the GNU CC compiler it will be -fno-writable-strings -Wwrite-strings
4265 The result is added to the shellvar being CFLAGS by default.
4266
4267 DEFAULTS:
4268
4269 - $1 shell-variable-to-add-to : CFLAGS
4270 - $2 add-value-if-not-found : nothing
4271 - $3 action-if-found : add value to shellvariable
4272 - $4 action-if-not-found : nothing
4273
4274 NOTE: These macros depend on AX_APPEND_FLAG.
4275
4276 Source Code
4277 ***********
4278
4279 Download the latest version of 'ax_cflags_no_writable_strings.m4'
4280 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_no_writable_strings.m4)
4281 or browse the macro's revision history
4282 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_no_writable_strings.m4).
4283
4284 License
4285 *******
4286
4287 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4288
4289 Copying and distribution of this file, with or without modification, are
4290 permitted in any medium without royalty provided the copyright notice
4291 and this notice are preserved. This file is offered as-is, without any
4292 warranty.
4293
4294 
4295 File: autoconf-archive.info, Node: ax_cflags_strict_prototypes, Next: ax_cflags_sun_option, Prev: ax_cflags_no_writable_strings, Up: The Macros
4296
4297 ax_cflags_strict_prototypes
4298 ===========================
4299
4300 Synopsis
4301 ********
4302
4303 AX_CFLAGS_STRICT_PROTOTYPES [(shellvar [,default, [A/NA]]
4304
4305 Description
4306 ***********
4307
4308 Try to find a compiler option that requires strict prototypes.
4309
4310 The sanity check is done by looking at sys/signal.h which has a set of
4311 macro-definitions SIG_DFL and SIG_IGN that are cast to the local
4312 signal-handler type. If that signal-handler type is not fully qualified
4313 then the system headers are not seen as strictly prototype clean.
4314
4315 For the GNU CC compiler it will be -fstrict-prototypes
4316 -Wstrict-prototypes The result is added to the shellvar being CFLAGS by
4317 default.
4318
4319 DEFAULTS:
4320
4321 - $1 shell-variable-to-add-to : CFLAGS
4322 - $2 add-value-if-not-found : nothing
4323 - $3 action-if-found : add value to shellvariable
4324 - $4 action-if-not-found : nothing
4325
4326 NOTE: These macros depend on AX_APPEND_FLAG.
4327
4328 Source Code
4329 ***********
4330
4331 Download the latest version of 'ax_cflags_strict_prototypes.m4'
4332 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_strict_prototypes.m4)
4333 or browse the macro's revision history
4334 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_strict_prototypes.m4).
4335
4336 License
4337 *******
4338
4339 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4340
4341 Copying and distribution of this file, with or without modification, are
4342 permitted in any medium without royalty provided the copyright notice
4343 and this notice are preserved. This file is offered as-is, without any
4344 warranty.
4345
4346 
4347 File: autoconf-archive.info, Node: ax_cflags_sun_option, Next: ax_cflags_warn_all, Prev: ax_cflags_strict_prototypes, Up: The Macros
4348
4349 ax_cflags_sun_option
4350 ====================
4351
4352 Synopsis
4353 ********
4354
4355 AX_CFLAGS_SUN_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
4356
4357 Description
4358 ***********
4359
4360 AX_CFLAGS_SUN_OPTION(+xtreme) would show a message as like "checking
4361 CFLAGS for sun/cc +xtreme ... yes" and adds the optionflag to CFLAGS if
4362 it is understood. You can override the shellvar-default of CFLAGS of
4363 course. The order of arguments stems from the explicit macros like
4364 AX_CFLAGS_WARN_ALL.
4365
4366 The cousin AX_CXXFLAGS_SUN_OPTION would check for an option to add to
4367 CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
4368 is possible to use different compilers for C and C++).
4369
4370 The macro is a lot simpler than any special AX_CFLAGS_* macro (or
4371 ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
4372 However, if you use this macro in a few places, it would be great if you
4373 would make up a new function-macro and submit it to the ac-archive.
4374
4375 - $1 option-to-check-for : required ("-option" as non-value)
4376 - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
4377 - $3 action-if-found : add value to shellvariable
4378 - $4 action-if-not-found : nothing
4379
4380 note: in earlier versions, $1-$2 were swapped. We try to detect the
4381 situation and accept a $2=~/-/ as being the old option-to-check-for.
4382
4383 see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
4384
4385 Source Code
4386 ***********
4387
4388 Download the latest version of 'ax_cflags_sun_option.m4'
4389 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_sun_option.m4)
4390 or browse the macro's revision history
4391 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_sun_option.m4).
4392
4393 License
4394 *******
4395
4396 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4397
4398 Copying and distribution of this file, with or without modification, are
4399 permitted in any medium without royalty provided the copyright notice
4400 and this notice are preserved. This file is offered as-is, without any
4401 warranty.
4402
4403 
4404 File: autoconf-archive.info, Node: ax_cflags_warn_all, Next: ax_check_aligned_access_required, Prev: ax_cflags_sun_option, Up: The Macros
4405
4406 ax_cflags_warn_all
4407 ==================
4408
4409 Synopsis
4410 ********
4411
4412 AX_CFLAGS_WARN_ALL [(shellvar[, default[, action-if-found[, action-if-not-found]]])]
4413 AX_CXXFLAGS_WARN_ALL [(shellvar[, default[, action-if-found[, action-if-not-found]]])]
4414 AX_FCFLAGS_WARN_ALL [(shellvar[, default[, action-if-found[, action-if-not-found]]])]
4415
4416 Description
4417 ***********
4418
4419 Specify compiler options that enable most reasonable warnings. For the
4420 GNU Compiler Collection (GCC), for example, it will be "-Wall". The
4421 result is added to shellvar, one of CFLAGS, CXXFLAGS or FCFLAGS if the
4422 first parameter is not specified.
4423
4424 Each of these macros accepts the following optional arguments:
4425
4426 - $1 - shellvar
4427 shell variable to use (CFLAGS, CXXFLAGS or FCFLAGS if not
4428 specified, depending on macro)
4429
4430 - $2 - default
4431 value to use for flags if compiler vendor cannot be determined (by
4432 default, "")
4433
4434 - $3 - action-if-found
4435 action to take if the compiler vendor has been successfully
4436 determined (by default, add the appropriate compiler flags to
4437 shellvar)
4438
4439 - $4 - action-if-not-found
4440 action to take if the compiler vendor has not been determined or
4441 is unknown (by default, add the default flags, or "" if not
4442 specified, to shellvar)
4443
4444 These macros use AX_COMPILER_VENDOR to determine which flags should be
4445 returned for a given compiler. Not all compilers currently have flags
4446 defined for them; patches are welcome. If need be, compiler flags may
4447 be made language-dependent: use a construct like the following:
4448
4449 [vendor_name], [m4_if(_AC_LANG_PREFIX,[C], VAR="--relevant-c-flags",dnl
4450 m4_if(_AC_LANG_PREFIX,[CXX], VAR="--relevant-c++-flags",dnl
4451 m4_if(_AC_LANG_PREFIX,[FC], VAR="--relevant-fortran-flags",dnl
4452 VAR="$2"; FOUND="no")))],
4453
4454 Note: These macros also depend on AX_PREPEND_FLAG.
4455
4456 Source Code
4457 ***********
4458
4459 Download the latest version of 'ax_cflags_warn_all.m4'
4460 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_warn_all.m4)
4461 or browse the macro's revision history
4462 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_warn_all.m4).
4463
4464 License
4465 *******
4466
4467 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4468 Copyright (C) 2010 Rhys Ulerich <rhys.ulerich@gmail.com>
4469 Copyright (C) 2018 John Zaitseff <J.Zaitseff@zap.org.au>
4470
4471 This program is free software; you can redistribute it and/or modify it
4472 under the terms of the GNU General Public License as published by the
4473 Free Software Foundation; either version 3 of the License, or (at your
4474 option) any later version.
4475
4476 This program is distributed in the hope that it will be useful, but
4477 WITHOUT ANY WARRANTY; without even the implied warranty of
4478 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
4479 Public License for more details.
4480
4481 You should have received a copy of the GNU General Public License along
4482 with this program. If not, see <https://www.gnu.org/licenses/>.
4483
4484 As a special exception, the respective Autoconf Macro's copyright owner
4485 gives unlimited permission to copy, distribute and modify the configure
4486 scripts that are the output of Autoconf when processing the Macro. You
4487 need not follow the terms of the GNU General Public License when using
4488 or distributing such scripts, even though portions of the text of the
4489 Macro appear in them. The GNU General Public License (GPL) does govern
4490 all other use of the material that constitutes the Autoconf Macro.
4491
4492 This special exception to the GPL applies to versions of the Autoconf
4493 Macro released by the Autoconf Archive. When you make and distribute a
4494 modified version of the Autoconf Macro, you may extend this special
4495 exception to the GPL to apply to your modified version as well.
4496
4497 
4498 File: autoconf-archive.info, Node: ax_check_aligned_access_required, Next: ax_check_allocated_ctime, Prev: ax_cflags_warn_all, Up: The Macros
4499
4500 ax_check_aligned_access_required
4501 ================================
4502
4503 Synopsis
4504 ********
4505
4506 AX_CHECK_ALIGNED_ACCESS_REQUIRED
4507
4508 Description
4509 ***********
4510
4511 While the x86 CPUs allow access to memory objects to be unaligned it
4512 happens that most of the modern designs require objects to be aligned -
4513 or they will fail with a buserror. That mode is quite known by
4514 big-endian machines (sparc, etc) however the alpha cpu is little-
4515 endian.
4516
4517 The following function will test for aligned access to be required and
4518 set a config.h define HAVE_ALIGNED_ACCESS_REQUIRED (name derived by
4519 standard usage). Structures loaded from a file (or mmapped to memory)
4520 should be accessed per-byte in that case to avoid segfault type errors.
4521
4522 The function checks if unaligned access would ignore the lowest bit of
4523 the address. If that happens or if the test binary crashes, aligned
4524 access is required.
4525
4526 If cross-compiling, assume that aligned access is needed to be safe.
4527 Set ax_cv_have_aligned_access_required=no to override that assumption.
4528
4529 Source Code
4530 ***********
4531
4532 Download the latest version of 'ax_check_aligned_access_required.m4'
4533 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_aligned_access_required.m4)
4534 or browse the macro's revision history
4535 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_aligned_access_required.m4).
4536
4537 License
4538 *******
4539
4540 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4541
4542 Copying and distribution of this file, with or without modification, are
4543 permitted in any medium without royalty provided the copyright notice
4544 and this notice are preserved. This file is offered as-is, without any
4545 warranty.
4546
4547 
4548 File: autoconf-archive.info, Node: ax_check_allocated_ctime, Next: ax_check_awk__v, Prev: ax_check_aligned_access_required, Up: The Macros
4549
4550 ax_check_allocated_ctime
4551 ========================
4552
4553 Synopsis
4554 ********
4555
4556 AX_CHECK_ALLOCATED_CTIME
4557
4558 Description
4559 ***********
4560
4561 Check whether we need to free the memory returned by ctime.
4562
4563 Source Code
4564 ***********
4565
4566 Download the latest version of 'ax_check_allocated_ctime.m4'
4567 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_allocated_ctime.m4)
4568 or browse the macro's revision history
4569 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_allocated_ctime.m4).
4570
4571 License
4572 *******
4573
4574 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
4575
4576 Copying and distribution of this file, with or without modification, are
4577 permitted in any medium without royalty provided the copyright notice
4578 and this notice are preserved. This file is offered as-is, without any
4579 warranty.
4580
4581 
4582 File: autoconf-archive.info, Node: ax_check_awk__v, Next: ax_check_awk__x_escapes, Prev: ax_check_allocated_ctime, Up: The Macros
4583
4584 ax_check_awk__v
4585 ===============
4586
4587 Synopsis
4588 ********
4589
4590 AX_CHECK_AWK__V([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4591
4592 Description
4593 ***********
4594
4595 Check if AWK supports -v option ($AWK -v var=val '<PROGRAM>'). If
4596 successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4597
4598 This work is heavily based upon testawk.sh script by Heiner Steven. You
4599 should find his script (and related works) at
4600 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4601 Alessandro Massignan for his suggestions and extensive nawk tests on
4602 FreeBSD.
4603
4604 Source Code
4605 ***********
4606
4607 Download the latest version of 'ax_check_awk__v.m4'
4608 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk__v.m4)
4609 or browse the macro's revision history
4610 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk__v.m4).
4611
4612 License
4613 *******
4614
4615 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4616
4617 Copying and distribution of this file, with or without modification, are
4618 permitted in any medium without royalty provided the copyright notice
4619 and this notice are preserved. This file is offered as-is, without any
4620 warranty.
4621
4622 
4623 File: autoconf-archive.info, Node: ax_check_awk__x_escapes, Next: ax_check_awk_and, Prev: ax_check_awk__v, Up: The Macros
4624
4625 ax_check_awk__x_escapes
4626 =======================
4627
4628 Synopsis
4629 ********
4630
4631 AX_CHECK_AWK__X_ESCAPES([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4632
4633 Description
4634 ***********
4635
4636 Check if AWK supports \x escape codes. If successful execute
4637 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4638
4639 This work is heavily based upon testawk.sh script by Heiner Steven. You
4640 should find his script (and related works) at
4641 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4642 Alessandro Massignan for his suggestions and extensive nawk tests on
4643 FreeBSD.
4644
4645 Source Code
4646 ***********
4647
4648 Download the latest version of 'ax_check_awk__x_escapes.m4'
4649 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk__x_escapes.m4)
4650 or browse the macro's revision history
4651 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk__x_escapes.m4).
4652
4653 License
4654 *******
4655
4656 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4657
4658 Copying and distribution of this file, with or without modification, are
4659 permitted in any medium without royalty provided the copyright notice
4660 and this notice are preserved. This file is offered as-is, without any
4661 warranty.
4662
4663 
4664 File: autoconf-archive.info, Node: ax_check_awk_and, Next: ax_check_awk_argind, Prev: ax_check_awk__x_escapes, Up: The Macros
4665
4666 ax_check_awk_and
4667 ================
4668
4669 Synopsis
4670 ********
4671
4672 AX_CHECK_AWK_AND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4673
4674 Description
4675 ***********
4676
4677 Check if AWK supports and() function. If successful execute
4678 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4679
4680 This work is heavily based upon testawk.sh script by Heiner Steven. You
4681 should find his script (and related works) at
4682 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4683 Alessandro Massignan for his suggestions and extensive nawk tests on
4684 FreeBSD.
4685
4686 Source Code
4687 ***********
4688
4689 Download the latest version of 'ax_check_awk_and.m4'
4690 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_and.m4)
4691 or browse the macro's revision history
4692 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_and.m4).
4693
4694 License
4695 *******
4696
4697 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4698
4699 Copying and distribution of this file, with or without modification, are
4700 permitted in any medium without royalty provided the copyright notice
4701 and this notice are preserved. This file is offered as-is, without any
4702 warranty.
4703
4704 
4705 File: autoconf-archive.info, Node: ax_check_awk_argind, Next: ax_check_awk_array_delete, Prev: ax_check_awk_and, Up: The Macros
4706
4707 ax_check_awk_argind
4708 ===================
4709
4710 Synopsis
4711 ********
4712
4713 AX_CHECK_AWK_ARGIND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4714
4715 Description
4716 ***********
4717
4718 Check if AWK supports ARGIND variable. If successful execute
4719 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4720
4721 This work is heavily based upon testawk.sh script by Heiner Steven. You
4722 should find his script (and related works) at
4723 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4724 Alessandro Massignan for his suggestions and extensive nawk tests on
4725 FreeBSD.
4726
4727 Source Code
4728 ***********
4729
4730 Download the latest version of 'ax_check_awk_argind.m4'
4731 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_argind.m4)
4732 or browse the macro's revision history
4733 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_argind.m4).
4734
4735 License
4736 *******
4737
4738 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4739
4740 Copying and distribution of this file, with or without modification, are
4741 permitted in any medium without royalty provided the copyright notice
4742 and this notice are preserved. This file is offered as-is, without any
4743 warranty.
4744
4745 
4746 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
4747
4748 ax_check_awk_array_delete
4749 =========================
4750
4751 Synopsis
4752 ********
4753
4754 AX_CHECK_AWK_ARRAY_DELETE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4755
4756 Description
4757 ***********
4758
4759 Check if AWK supports delete on array. If successful execute
4760 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4761
4762 This work is heavily based upon testawk.sh script by Heiner Steven. You
4763 should find his script (and related works) at
4764 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4765 Alessandro Massignan for his suggestions and extensive nawk tests on
4766 FreeBSD.
4767
4768 Source Code
4769 ***********
4770
4771 Download the latest version of 'ax_check_awk_array_delete.m4'
4772 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_array_delete.m4)
4773 or browse the macro's revision history
4774 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_array_delete.m4).
4775
4776 License
4777 *******
4778
4779 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4780
4781 Copying and distribution of this file, with or without modification, are
4782 permitted in any medium without royalty provided the copyright notice
4783 and this notice are preserved. This file is offered as-is, without any
4784 warranty.
4785
4786 
4787 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
4788
4789 ax_check_awk_array_delete_elem
4790 ==============================
4791
4792 Synopsis
4793 ********
4794
4795 AX_CHECK_AWK_ARRAY_DELETE_ELEM([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4796
4797 Description
4798 ***********
4799
4800 Check if AWK supports delete on array element. If successful execute
4801 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4802
4803 This work is heavily based upon testawk.sh script by Heiner Steven. You
4804 should find his script (and related works) at
4805 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4806 Alessandro Massignan for his suggestions and extensive nawk tests on
4807 FreeBSD.
4808
4809 Source Code
4810 ***********
4811
4812 Download the latest version of 'ax_check_awk_array_delete_elem.m4'
4813 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_array_delete_elem.m4)
4814 or browse the macro's revision history
4815 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_array_delete_elem.m4).
4816
4817 License
4818 *******
4819
4820 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4821
4822 Copying and distribution of this file, with or without modification, are
4823 permitted in any medium without royalty provided the copyright notice
4824 and this notice are preserved. This file is offered as-is, without any
4825 warranty.
4826
4827 
4828 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
4829
4830 ax_check_awk_array_in
4831 =====================
4832
4833 Synopsis
4834 ********
4835
4836 AX_CHECK_AWK_ARRAY_IN([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4837
4838 Description
4839 ***********
4840
4841 Check if AWK supports 'in' on array. If successful execute
4842 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4843
4844 This work is heavily based upon testawk.sh script by Heiner Steven. You
4845 should find his script (and related works) at
4846 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4847 Alessandro Massignan for his suggestions and extensive nawk tests on
4848 FreeBSD.
4849
4850 Source Code
4851 ***********
4852
4853 Download the latest version of 'ax_check_awk_array_in.m4'
4854 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_array_in.m4)
4855 or browse the macro's revision history
4856 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_array_in.m4).
4857
4858 License
4859 *******
4860
4861 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4862
4863 Copying and distribution of this file, with or without modification, are
4864 permitted in any medium without royalty provided the copyright notice
4865 and this notice are preserved. This file is offered as-is, without any
4866 warranty.
4867
4868 
4869 File: autoconf-archive.info, Node: ax_check_awk_asort, Next: ax_check_awk_asorti, Prev: ax_check_awk_array_in, Up: The Macros
4870
4871 ax_check_awk_asort
4872 ==================
4873
4874 Synopsis
4875 ********
4876
4877 AX_CHECK_AWK_ASORT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4878
4879 Description
4880 ***********
4881
4882 Check if AWK supports asort() function. If successful execute
4883 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4884
4885 This work is heavily based upon testawk.sh script by Heiner Steven. You
4886 should find his script (and related works) at
4887 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4888 Alessandro Massignan for his suggestions and extensive nawk tests on
4889 FreeBSD.
4890
4891 Source Code
4892 ***********
4893
4894 Download the latest version of 'ax_check_awk_asort.m4'
4895 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_asort.m4)
4896 or browse the macro's revision history
4897 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_asort.m4).
4898
4899 License
4900 *******
4901
4902 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4903
4904 Copying and distribution of this file, with or without modification, are
4905 permitted in any medium without royalty provided the copyright notice
4906 and this notice are preserved. This file is offered as-is, without any
4907 warranty.
4908
4909 
4910 File: autoconf-archive.info, Node: ax_check_awk_asorti, Next: ax_check_awk_associative_array, Prev: ax_check_awk_asort, Up: The Macros
4911
4912 ax_check_awk_asorti
4913 ===================
4914
4915 Synopsis
4916 ********
4917
4918 AX_CHECK_AWK_ASORTI([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4919
4920 Description
4921 ***********
4922
4923 Check if AWK supports asorti() function. If successful execute
4924 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4925
4926 This work is heavily based upon testawk.sh script by Heiner Steven. You
4927 should find his script (and related works) at
4928 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4929 Alessandro Massignan for his suggestions and extensive nawk tests on
4930 FreeBSD.
4931
4932 Source Code
4933 ***********
4934
4935 Download the latest version of 'ax_check_awk_asorti.m4'
4936 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_asorti.m4)
4937 or browse the macro's revision history
4938 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_asorti.m4).
4939
4940 License
4941 *******
4942
4943 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4944
4945 Copying and distribution of this file, with or without modification, are
4946 permitted in any medium without royalty provided the copyright notice
4947 and this notice are preserved. This file is offered as-is, without any
4948 warranty.
4949
4950 
4951 File: autoconf-archive.info, Node: ax_check_awk_associative_array, Next: ax_check_awk_atan2, Prev: ax_check_awk_asorti, Up: The Macros
4952
4953 ax_check_awk_associative_array
4954 ==============================
4955
4956 Synopsis
4957 ********
4958
4959 AX_CHECK_AWK_ASSOCIATIVE_ARRAY([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4960
4961 Description
4962 ***********
4963
4964 Check if AWK supports associative array. If successful execute
4965 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4966
4967 This work is heavily based upon testawk.sh script by Heiner Steven. You
4968 should find his script (and related works) at
4969 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
4970 Alessandro Massignan for his suggestions and extensive nawk tests on
4971 FreeBSD.
4972
4973 Source Code
4974 ***********
4975
4976 Download the latest version of 'ax_check_awk_associative_array.m4'
4977 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_associative_array.m4)
4978 or browse the macro's revision history
4979 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_associative_array.m4).
4980
4981 License
4982 *******
4983
4984 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4985
4986 Copying and distribution of this file, with or without modification, are
4987 permitted in any medium without royalty provided the copyright notice
4988 and this notice are preserved. This file is offered as-is, without any
4989 warranty.
4990
4991 
4992 File: autoconf-archive.info, Node: ax_check_awk_atan2, Next: ax_check_awk_compl, Prev: ax_check_awk_associative_array, Up: The Macros
4993
4994 ax_check_awk_atan2
4995 ==================
4996
4997 Synopsis
4998 ********
4999
5000 AX_CHECK_AWK_ATAN2([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5001
5002 Description
5003 ***********
5004
5005 Check if AWK supports atan2() function. If successful execute
5006 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5007
5008 This work is heavily based upon testawk.sh script by Heiner Steven. You
5009 should find his script (and related works) at
5010 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5011 Alessandro Massignan for his suggestions and extensive nawk tests on
5012 FreeBSD.
5013
5014 Source Code
5015 ***********
5016
5017 Download the latest version of 'ax_check_awk_atan2.m4'
5018 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_atan2.m4)
5019 or browse the macro's revision history
5020 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_atan2.m4).
5021
5022 License
5023 *******
5024
5025 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5026
5027 Copying and distribution of this file, with or without modification, are
5028 permitted in any medium without royalty provided the copyright notice
5029 and this notice are preserved. This file is offered as-is, without any
5030 warranty.
5031
5032 
5033 File: autoconf-archive.info, Node: ax_check_awk_compl, Next: ax_check_awk_conditional_expression, Prev: ax_check_awk_atan2, Up: The Macros
5034
5035 ax_check_awk_compl
5036 ==================
5037
5038 Synopsis
5039 ********
5040
5041 AX_CHECK_AWK_COMPL([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5042
5043 Description
5044 ***********
5045
5046 Check if AWK supports compl() function. If successful execute
5047 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5048
5049 This work is heavily based upon testawk.sh script by Heiner Steven. You
5050 should find his script (and related works) at
5051 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5052 Alessandro Massignan for his suggestions and extensive nawk tests on
5053 FreeBSD.
5054
5055 Source Code
5056 ***********
5057
5058 Download the latest version of 'ax_check_awk_compl.m4'
5059 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_compl.m4)
5060 or browse the macro's revision history
5061 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_compl.m4).
5062
5063 License
5064 *******
5065
5066 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5067
5068 Copying and distribution of this file, with or without modification, are
5069 permitted in any medium without royalty provided the copyright notice
5070 and this notice are preserved. This file is offered as-is, without any
5071 warranty.
5072
5073 
5074 File: autoconf-archive.info, Node: ax_check_awk_conditional_expression, Next: ax_check_awk_cos, Prev: ax_check_awk_compl, Up: The Macros
5075
5076 ax_check_awk_conditional_expression
5077 ===================================
5078
5079 Synopsis
5080 ********
5081
5082 AX_CHECK_AWK_CONDITIONAL_EXPRESSION([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5083
5084 Description
5085 ***********
5086
5087 Check if AWK supports conditional expression (e.g. x = y ? 5 : 6). If
5088 successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5089
5090 This work is heavily based upon testawk.sh script by Heiner Steven. You
5091 should find his script (and related works) at
5092 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5093 Alessandro Massignan for his suggestions and extensive nawk tests on
5094 FreeBSD.
5095
5096 Source Code
5097 ***********
5098
5099 Download the latest version of 'ax_check_awk_conditional_expression.m4'
5100 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_conditional_expression.m4)
5101 or browse the macro's revision history
5102 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_conditional_expression.m4).
5103
5104 License
5105 *******
5106
5107 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5108
5109 Copying and distribution of this file, with or without modification, are
5110 permitted in any medium without royalty provided the copyright notice
5111 and this notice are preserved. This file is offered as-is, without any
5112 warranty.
5113
5114 
5115 File: autoconf-archive.info, Node: ax_check_awk_cos, Next: ax_check_awk_environ, Prev: ax_check_awk_conditional_expression, Up: The Macros
5116
5117 ax_check_awk_cos
5118 ================
5119
5120 Synopsis
5121 ********
5122
5123 AX_CHECK_AWK_COS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5124
5125 Description
5126 ***********
5127
5128 Check if AWK supports cos() function. If successful execute
5129 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5130
5131 This work is heavily based upon testawk.sh script by Heiner Steven. You
5132 should find his script (and related works) at
5133 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5134 Alessandro Massignan for his suggestions and extensive nawk tests on
5135 FreeBSD.
5136
5137 Source Code
5138 ***********
5139
5140 Download the latest version of 'ax_check_awk_cos.m4'
5141 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_cos.m4)
5142 or browse the macro's revision history
5143 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_cos.m4).
5144
5145 License
5146 *******
5147
5148 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5149
5150 Copying and distribution of this file, with or without modification, are
5151 permitted in any medium without royalty provided the copyright notice
5152 and this notice are preserved. This file is offered as-is, without any
5153 warranty.
5154
5155 
5156 File: autoconf-archive.info, Node: ax_check_awk_environ, Next: ax_check_awk_errno, Prev: ax_check_awk_cos, Up: The Macros
5157
5158 ax_check_awk_environ
5159 ====================
5160
5161 Synopsis
5162 ********
5163
5164 AX_CHECK_AWK_ENVIRON([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5165
5166 Description
5167 ***********
5168
5169 Check if AWK supports ENVIRON variable. If successful execute
5170 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5171
5172 This work is heavily based upon testawk.sh script by Heiner Steven. You
5173 should find his script (and related works) at
5174 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5175 Alessandro Massignan for his suggestions and extensive nawk tests on
5176 FreeBSD.
5177
5178 Source Code
5179 ***********
5180
5181 Download the latest version of 'ax_check_awk_environ.m4'
5182 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_environ.m4)
5183 or browse the macro's revision history
5184 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_environ.m4).
5185
5186 License
5187 *******
5188
5189 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5190
5191 Copying and distribution of this file, with or without modification, are
5192 permitted in any medium without royalty provided the copyright notice
5193 and this notice are preserved. This file is offered as-is, without any
5194 warranty.
5195
5196 
5197 File: autoconf-archive.info, Node: ax_check_awk_errno, Next: ax_check_awk_exit, Prev: ax_check_awk_environ, Up: The Macros
5198
5199 ax_check_awk_errno
5200 ==================
5201
5202 Synopsis
5203 ********
5204
5205 AX_CHECK_AWK_ERRNO([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5206
5207 Description
5208 ***********
5209
5210 Check if AWK supports ERRNO variable. If successful execute
5211 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5212
5213 This work is heavily based upon testawk.sh script by Heiner Steven. You
5214 should find his script (and related works) at
5215 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5216 Alessandro Massignan for his suggestions and extensive nawk tests on
5217 FreeBSD.
5218
5219 Source Code
5220 ***********
5221
5222 Download the latest version of 'ax_check_awk_errno.m4'
5223 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_errno.m4)
5224 or browse the macro's revision history
5225 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_errno.m4).
5226
5227 License
5228 *******
5229
5230 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5231
5232 Copying and distribution of this file, with or without modification, are
5233 permitted in any medium without royalty provided the copyright notice
5234 and this notice are preserved. This file is offered as-is, without any
5235 warranty.
5236
5237 
5238 File: autoconf-archive.info, Node: ax_check_awk_exit, Next: ax_check_awk_exp, Prev: ax_check_awk_errno, Up: The Macros
5239
5240 ax_check_awk_exit
5241 =================
5242
5243 Synopsis
5244 ********
5245
5246 AX_CHECK_AWK_EXIT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5247
5248 Description
5249 ***********
5250
5251 Check if AWK supports exit(). If successful execute ACTION-IF-SUCCESS
5252 otherwise ACTION-IF-FAILURE.
5253
5254 This work is heavily based upon testawk.sh script by Heiner Steven. You
5255 should find his script (and related works) at
5256 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5257 Alessandro Massignan for his suggestions and extensive nawk tests on
5258 FreeBSD.
5259
5260 Source Code
5261 ***********
5262
5263 Download the latest version of 'ax_check_awk_exit.m4'
5264 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_exit.m4)
5265 or browse the macro's revision history
5266 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_exit.m4).
5267
5268 License
5269 *******
5270
5271 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5272
5273 Copying and distribution of this file, with or without modification, are
5274 permitted in any medium without royalty provided the copyright notice
5275 and this notice are preserved. This file is offered as-is, without any
5276 warranty.
5277
5278 
5279 File: autoconf-archive.info, Node: ax_check_awk_exp, Next: ax_check_awk_gensub, Prev: ax_check_awk_exit, Up: The Macros
5280
5281 ax_check_awk_exp
5282 ================
5283
5284 Synopsis
5285 ********
5286
5287 AX_CHECK_AWK_EXP([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5288
5289 Description
5290 ***********
5291
5292 Check if AWK supports exp() function. If successful execute
5293 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5294
5295 This work is heavily based upon testawk.sh script by Heiner Steven. You
5296 should find his script (and related works) at
5297 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5298 Alessandro Massignan for his suggestions and extensive nawk tests on
5299 FreeBSD.
5300
5301 Source Code
5302 ***********
5303
5304 Download the latest version of 'ax_check_awk_exp.m4'
5305 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_exp.m4)
5306 or browse the macro's revision history
5307 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_exp.m4).
5308
5309 License
5310 *******
5311
5312 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5313
5314 Copying and distribution of this file, with or without modification, are
5315 permitted in any medium without royalty provided the copyright notice
5316 and this notice are preserved. This file is offered as-is, without any
5317 warranty.
5318
5319 
5320 File: autoconf-archive.info, Node: ax_check_awk_gensub, Next: ax_check_awk_getline, Prev: ax_check_awk_exp, Up: The Macros
5321
5322 ax_check_awk_gensub
5323 ===================
5324
5325 Synopsis
5326 ********
5327
5328 AX_CHECK_AWK_GENSUB([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5329
5330 Description
5331 ***********
5332
5333 Check if AWK supports gensub() function. If successful execute
5334 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5335
5336 This work is heavily based upon testawk.sh script by Heiner Steven. You
5337 should find his script (and related works) at
5338 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5339 Alessandro Massignan for his suggestions and extensive nawk tests on
5340 FreeBSD.
5341
5342 Source Code
5343 ***********
5344
5345 Download the latest version of 'ax_check_awk_gensub.m4'
5346 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_gensub.m4)
5347 or browse the macro's revision history
5348 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_gensub.m4).
5349
5350 License
5351 *******
5352
5353 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5354
5355 Copying and distribution of this file, with or without modification, are
5356 permitted in any medium without royalty provided the copyright notice
5357 and this notice are preserved. This file is offered as-is, without any
5358 warranty.
5359
5360 
5361 File: autoconf-archive.info, Node: ax_check_awk_getline, Next: ax_check_awk_gsub, Prev: ax_check_awk_gensub, Up: The Macros
5362
5363 ax_check_awk_getline
5364 ====================
5365
5366 Synopsis
5367 ********
5368
5369 AX_CHECK_AWK_GETLINE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5370
5371 Description
5372 ***********
5373
5374 Check if AWK supports getline function. If successful execute
5375 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5376
5377 This work is heavily based upon testawk.sh script by Heiner Steven. You
5378 should find his script (and related works) at
5379 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5380 Alessandro Massignan for his suggestions and extensive nawk tests on
5381 FreeBSD.
5382
5383 Source Code
5384 ***********
5385
5386 Download the latest version of 'ax_check_awk_getline.m4'
5387 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_getline.m4)
5388 or browse the macro's revision history
5389 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_getline.m4).
5390
5391 License
5392 *******
5393
5394 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5395
5396 Copying and distribution of this file, with or without modification, are
5397 permitted in any medium without royalty provided the copyright notice
5398 and this notice are preserved. This file is offered as-is, without any
5399 warranty.
5400
5401 
5402 File: autoconf-archive.info, Node: ax_check_awk_gsub, Next: ax_check_awk_ignorecase, Prev: ax_check_awk_getline, Up: The Macros
5403
5404 ax_check_awk_gsub
5405 =================
5406
5407 Synopsis
5408 ********
5409
5410 AX_CHECK_AWK_GSUB([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5411
5412 Description
5413 ***********
5414
5415 Check if AWK supports gsub() function. If successful execute
5416 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5417
5418 This work is heavily based upon testawk.sh script by Heiner Steven. You
5419 should find his script (and related works) at
5420 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5421 Alessandro Massignan for his suggestions and extensive nawk tests on
5422 FreeBSD.
5423
5424 Source Code
5425 ***********
5426
5427 Download the latest version of 'ax_check_awk_gsub.m4'
5428 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_gsub.m4)
5429 or browse the macro's revision history
5430 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_gsub.m4).
5431
5432 License
5433 *******
5434
5435 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5436
5437 Copying and distribution of this file, with or without modification, are
5438 permitted in any medium without royalty provided the copyright notice
5439 and this notice are preserved. This file is offered as-is, without any
5440 warranty.
5441
5442 
5443 File: autoconf-archive.info, Node: ax_check_awk_ignorecase, Next: ax_check_awk_index, Prev: ax_check_awk_gsub, Up: The Macros
5444
5445 ax_check_awk_ignorecase
5446 =======================
5447
5448 Synopsis
5449 ********
5450
5451 AX_CHECK_AWK_IGNORECASE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5452
5453 Description
5454 ***********
5455
5456 Check if AWK supports IGNORECASE variable. If successful execute
5457 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5458
5459 This work is heavily based upon testawk.sh script by Heiner Steven. You
5460 should find his script (and related works) at
5461 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5462 Alessandro Massignan for his suggestions and extensive nawk tests on
5463 FreeBSD.
5464
5465 Source Code
5466 ***********
5467
5468 Download the latest version of 'ax_check_awk_ignorecase.m4'
5469 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_ignorecase.m4)
5470 or browse the macro's revision history
5471 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_ignorecase.m4).
5472
5473 License
5474 *******
5475
5476 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5477
5478 Copying and distribution of this file, with or without modification, are
5479 permitted in any medium without royalty provided the copyright notice
5480 and this notice are preserved. This file is offered as-is, without any
5481 warranty.
5482
5483 
5484 File: autoconf-archive.info, Node: ax_check_awk_index, Next: ax_check_awk_int, Prev: ax_check_awk_ignorecase, Up: The Macros
5485
5486 ax_check_awk_index
5487 ==================
5488
5489 Synopsis
5490 ********
5491
5492 AX_CHECK_AWK_INDEX([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5493
5494 Description
5495 ***********
5496
5497 Check if AWK supports index() function. If successful execute
5498 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5499
5500 This work is heavily based upon testawk.sh script by Heiner Steven. You
5501 should find his script (and related works) at
5502 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5503 Alessandro Massignan for his suggestions and extensive nawk tests on
5504 FreeBSD.
5505
5506 Source Code
5507 ***********
5508
5509 Download the latest version of 'ax_check_awk_index.m4'
5510 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_index.m4)
5511 or browse the macro's revision history
5512 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_index.m4).
5513
5514 License
5515 *******
5516
5517 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5518
5519 Copying and distribution of this file, with or without modification, are
5520 permitted in any medium without royalty provided the copyright notice
5521 and this notice are preserved. This file is offered as-is, without any
5522 warranty.
5523
5524 
5525 File: autoconf-archive.info, Node: ax_check_awk_int, Next: ax_check_awk_length, Prev: ax_check_awk_index, Up: The Macros
5526
5527 ax_check_awk_int
5528 ================
5529
5530 Synopsis
5531 ********
5532
5533 AX_CHECK_AWK_INT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5534
5535 Description
5536 ***********
5537
5538 Check if AWK supports int() function. If successful execute
5539 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5540
5541 This work is heavily based upon testawk.sh script by Heiner Steven. You
5542 should find his script (and related works) at
5543 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5544 Alessandro Massignan for his suggestions and extensive nawk tests on
5545 FreeBSD.
5546
5547 Source Code
5548 ***********
5549
5550 Download the latest version of 'ax_check_awk_int.m4'
5551 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_int.m4)
5552 or browse the macro's revision history
5553 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_int.m4).
5554
5555 License
5556 *******
5557
5558 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5559
5560 Copying and distribution of this file, with or without modification, are
5561 permitted in any medium without royalty provided the copyright notice
5562 and this notice are preserved. This file is offered as-is, without any
5563 warranty.
5564
5565 
5566 File: autoconf-archive.info, Node: ax_check_awk_length, Next: ax_check_awk_log, Prev: ax_check_awk_int, Up: The Macros
5567
5568 ax_check_awk_length
5569 ===================
5570
5571 Synopsis
5572 ********
5573
5574 AX_CHECK_AWK_LENGTH([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5575
5576 Description
5577 ***********
5578
5579 Check if AWK supports length() function. If successful execute
5580 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5581
5582 This work is heavily based upon testawk.sh script by Heiner Steven. You
5583 should find his script (and related works) at
5584 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5585 Alessandro Massignan for his suggestions and extensive nawk tests on
5586 FreeBSD.
5587
5588 Source Code
5589 ***********
5590
5591 Download the latest version of 'ax_check_awk_length.m4'
5592 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_length.m4)
5593 or browse the macro's revision history
5594 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_length.m4).
5595
5596 License
5597 *******
5598
5599 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5600
5601 Copying and distribution of this file, with or without modification, are
5602 permitted in any medium without royalty provided the copyright notice
5603 and this notice are preserved. This file is offered as-is, without any
5604 warranty.
5605
5606 
5607 File: autoconf-archive.info, Node: ax_check_awk_log, Next: ax_check_awk_lshift, Prev: ax_check_awk_length, Up: The Macros
5608
5609 ax_check_awk_log
5610 ================
5611
5612 Synopsis
5613 ********
5614
5615 AX_CHECK_AWK_LOG([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5616
5617 Description
5618 ***********
5619
5620 Check if AWK supports log() function. If successful execute
5621 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5622
5623 This work is heavily based upon testawk.sh script by Heiner Steven. You
5624 should find his script (and related works) at
5625 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5626 Alessandro Massignan for his suggestions and extensive nawk tests on
5627 FreeBSD.
5628
5629 Source Code
5630 ***********
5631
5632 Download the latest version of 'ax_check_awk_log.m4'
5633 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_log.m4)
5634 or browse the macro's revision history
5635 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_log.m4).
5636
5637 License
5638 *******
5639
5640 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5641
5642 Copying and distribution of this file, with or without modification, are
5643 permitted in any medium without royalty provided the copyright notice
5644 and this notice are preserved. This file is offered as-is, without any
5645 warranty.
5646
5647 
5648 File: autoconf-archive.info, Node: ax_check_awk_lshift, Next: ax_check_awk_match_2parms, Prev: ax_check_awk_log, Up: The Macros
5649
5650 ax_check_awk_lshift
5651 ===================
5652
5653 Synopsis
5654 ********
5655
5656 AX_CHECK_AWK_LSHIFT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5657
5658 Description
5659 ***********
5660
5661 Check if AWK supports lshift() function. If successful execute
5662 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5663
5664 This work is heavily based upon testawk.sh script by Heiner Steven. You
5665 should find his script (and related works) at
5666 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5667 Alessandro Massignan for his suggestions and extensive nawk tests on
5668 FreeBSD.
5669
5670 Source Code
5671 ***********
5672
5673 Download the latest version of 'ax_check_awk_lshift.m4'
5674 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_lshift.m4)
5675 or browse the macro's revision history
5676 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_lshift.m4).
5677
5678 License
5679 *******
5680
5681 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5682
5683 Copying and distribution of this file, with or without modification, are
5684 permitted in any medium without royalty provided the copyright notice
5685 and this notice are preserved. This file is offered as-is, without any
5686 warranty.
5687
5688 
5689 File: autoconf-archive.info, Node: ax_check_awk_match_2parms, Next: ax_check_awk_match_3parms, Prev: ax_check_awk_lshift, Up: The Macros
5690
5691 ax_check_awk_match_2parms
5692 =========================
5693
5694 Synopsis
5695 ********
5696
5697 AX_CHECK_AWK_MATCH_2PARMS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5698
5699 Description
5700 ***********
5701
5702 Check if AWK supports match() function with 2 parameters (standard). If
5703 successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5704
5705 This work is heavily based upon testawk.sh script by Heiner Steven. You
5706 should find his script (and related works) at
5707 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5708 Alessandro Massignan for his suggestions and extensive nawk tests on
5709 FreeBSD.
5710
5711 Source Code
5712 ***********
5713
5714 Download the latest version of 'ax_check_awk_match_2parms.m4'
5715 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_match_2parms.m4)
5716 or browse the macro's revision history
5717 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_match_2parms.m4).
5718
5719 License
5720 *******
5721
5722 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5723
5724 Copying and distribution of this file, with or without modification, are
5725 permitted in any medium without royalty provided the copyright notice
5726 and this notice are preserved. This file is offered as-is, without any
5727 warranty.
5728
5729 
5730 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
5731
5732 ax_check_awk_match_3parms
5733 =========================
5734
5735 Synopsis
5736 ********
5737
5738 AX_CHECK_AWK_MATCH_3PARMS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5739
5740 Description
5741 ***********
5742
5743 Check if AWK supports match() function with 3 parameters (GNU
5744 extension). If successful execute ACTION-IF-SUCCESS otherwise
5745 ACTION-IF-FAILURE.
5746
5747 This work is heavily based upon testawk.sh script by Heiner Steven. You
5748 should find his script (and related works) at
5749 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5750 Alessandro Massignan for his suggestions and extensive nawk tests on
5751 FreeBSD.
5752
5753 Source Code
5754 ***********
5755
5756 Download the latest version of 'ax_check_awk_match_3parms.m4'
5757 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_match_3parms.m4)
5758 or browse the macro's revision history
5759 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_match_3parms.m4).
5760
5761 License
5762 *******
5763
5764 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5765
5766 Copying and distribution of this file, with or without modification, are
5767 permitted in any medium without royalty provided the copyright notice
5768 and this notice are preserved. This file is offered as-is, without any
5769 warranty.
5770
5771 
5772 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
5773
5774 ax_check_awk_operator_multiply_multiply
5775 =======================================
5776
5777 Synopsis
5778 ********
5779
5780 AX_CHECK_AWK_OPERATOR_MULTIPLY_MULTIPLY([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5781
5782 Description
5783 ***********
5784
5785 Check if AWK supports the '**' operator. If successful execute
5786 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5787
5788 This work is heavily based upon testawk.sh script by Heiner Steven. You
5789 should find his script (and related works) at
5790 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5791 Alessandro Massignan for his suggestions and extensive nawk tests on
5792 FreeBSD.
5793
5794 Source Code
5795 ***********
5796
5797 Download the latest version of
5798 'ax_check_awk_operator_multiply_multiply.m4'
5799 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_operator_multiply_multiply.m4)
5800 or browse the macro's revision history
5801 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_operator_multiply_multiply.m4).
5802
5803 License
5804 *******
5805
5806 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5807
5808 Copying and distribution of this file, with or without modification, are
5809 permitted in any medium without royalty provided the copyright notice
5810 and this notice are preserved. This file is offered as-is, without any
5811 warranty.
5812
5813 
5814 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
5815
5816 ax_check_awk_operator_square
5817 ============================
5818
5819 Synopsis
5820 ********
5821
5822 AX_CHECK_AWK_OPERATOR_SQUARE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5823
5824 Description
5825 ***********
5826
5827 Check if AWK supports the '^' operator. If successful execute
5828 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5829
5830 This work is heavily based upon testawk.sh script by Heiner Steven. You
5831 should find his script (and related works) at
5832 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5833 Alessandro Massignan for his suggestions and extensive nawk tests on
5834 FreeBSD.
5835
5836 Source Code
5837 ***********
5838
5839 Download the latest version of 'ax_check_awk_operator_square.m4'
5840 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_operator_square.m4)
5841 or browse the macro's revision history
5842 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_operator_square.m4).
5843
5844 License
5845 *******
5846
5847 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5848
5849 Copying and distribution of this file, with or without modification, are
5850 permitted in any medium without royalty provided the copyright notice
5851 and this notice are preserved. This file is offered as-is, without any
5852 warranty.
5853
5854 
5855 File: autoconf-archive.info, Node: ax_check_awk_or, Next: ax_check_awk_printf, Prev: ax_check_awk_operator_square, Up: The Macros
5856
5857 ax_check_awk_or
5858 ===============
5859
5860 Synopsis
5861 ********
5862
5863 AX_CHECK_AWK_OR([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5864
5865 Description
5866 ***********
5867
5868 Check if AWK supports or() function. If successful execute
5869 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5870
5871 This work is heavily based upon testawk.sh script by Heiner Steven. You
5872 should find his script (and related works) at
5873 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5874 Alessandro Massignan for his suggestions and extensive nawk tests on
5875 FreeBSD.
5876
5877 Source Code
5878 ***********
5879
5880 Download the latest version of 'ax_check_awk_or.m4'
5881 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_or.m4)
5882 or browse the macro's revision history
5883 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_or.m4).
5884
5885 License
5886 *******
5887
5888 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5889
5890 Copying and distribution of this file, with or without modification, are
5891 permitted in any medium without royalty provided the copyright notice
5892 and this notice are preserved. This file is offered as-is, without any
5893 warranty.
5894
5895 
5896 File: autoconf-archive.info, Node: ax_check_awk_printf, Next: ax_check_awk_rand, Prev: ax_check_awk_or, Up: The Macros
5897
5898 ax_check_awk_printf
5899 ===================
5900
5901 Synopsis
5902 ********
5903
5904 AX_CHECK_AWK_PRINTF([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5905
5906 Description
5907 ***********
5908
5909 Check if AWK supports printf() function. If successful execute
5910 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5911
5912 This work is heavily based upon testawk.sh script by Heiner Steven. You
5913 should find his script (and related works) at
5914 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5915 Alessandro Massignan for his suggestions and extensive nawk tests on
5916 FreeBSD.
5917
5918 Source Code
5919 ***********
5920
5921 Download the latest version of 'ax_check_awk_printf.m4'
5922 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_printf.m4)
5923 or browse the macro's revision history
5924 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_printf.m4).
5925
5926 License
5927 *******
5928
5929 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5930
5931 Copying and distribution of this file, with or without modification, are
5932 permitted in any medium without royalty provided the copyright notice
5933 and this notice are preserved. This file is offered as-is, without any
5934 warranty.
5935
5936 
5937 File: autoconf-archive.info, Node: ax_check_awk_rand, Next: ax_check_awk_rshift, Prev: ax_check_awk_printf, Up: The Macros
5938
5939 ax_check_awk_rand
5940 =================
5941
5942 Synopsis
5943 ********
5944
5945 AX_CHECK_AWK_RAND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5946
5947 Description
5948 ***********
5949
5950 Check if AWK supports rand() function. If successful execute
5951 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5952
5953 This work is heavily based upon testawk.sh script by Heiner Steven. You
5954 should find his script (and related works) at
5955 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5956 Alessandro Massignan for his suggestions and extensive nawk tests on
5957 FreeBSD.
5958
5959 Source Code
5960 ***********
5961
5962 Download the latest version of 'ax_check_awk_rand.m4'
5963 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_rand.m4)
5964 or browse the macro's revision history
5965 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_rand.m4).
5966
5967 License
5968 *******
5969
5970 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5971
5972 Copying and distribution of this file, with or without modification, are
5973 permitted in any medium without royalty provided the copyright notice
5974 and this notice are preserved. This file is offered as-is, without any
5975 warranty.
5976
5977 
5978 File: autoconf-archive.info, Node: ax_check_awk_rshift, Next: ax_check_awk_sin, Prev: ax_check_awk_rand, Up: The Macros
5979
5980 ax_check_awk_rshift
5981 ===================
5982
5983 Synopsis
5984 ********
5985
5986 AX_CHECK_AWK_RSHIFT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5987
5988 Description
5989 ***********
5990
5991 Check if AWK supports rshift() function. If successful execute
5992 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5993
5994 This work is heavily based upon testawk.sh script by Heiner Steven. You
5995 should find his script (and related works) at
5996 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
5997 Alessandro Massignan for his suggestions and extensive nawk tests on
5998 FreeBSD.
5999
6000 Source Code
6001 ***********
6002
6003 Download the latest version of 'ax_check_awk_rshift.m4'
6004 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_rshift.m4)
6005 or browse the macro's revision history
6006 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_rshift.m4).
6007
6008 License
6009 *******
6010
6011 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6012
6013 Copying and distribution of this file, with or without modification, are
6014 permitted in any medium without royalty provided the copyright notice
6015 and this notice are preserved. This file is offered as-is, without any
6016 warranty.
6017
6018 
6019 File: autoconf-archive.info, Node: ax_check_awk_sin, Next: ax_check_awk_split, Prev: ax_check_awk_rshift, Up: The Macros
6020
6021 ax_check_awk_sin
6022 ================
6023
6024 Synopsis
6025 ********
6026
6027 AX_CHECK_AWK_SIN([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6028
6029 Description
6030 ***********
6031
6032 Check if AWK supports sin() function. If successful execute
6033 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6034
6035 This work is heavily based upon testawk.sh script by Heiner Steven. You
6036 should find his script (and related works) at
6037 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6038 Alessandro Massignan for his suggestions and extensive nawk tests on
6039 FreeBSD.
6040
6041 Source Code
6042 ***********
6043
6044 Download the latest version of 'ax_check_awk_sin.m4'
6045 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sin.m4)
6046 or browse the macro's revision history
6047 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sin.m4).
6048
6049 License
6050 *******
6051
6052 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6053
6054 Copying and distribution of this file, with or without modification, are
6055 permitted in any medium without royalty provided the copyright notice
6056 and this notice are preserved. This file is offered as-is, without any
6057 warranty.
6058
6059 
6060 File: autoconf-archive.info, Node: ax_check_awk_split, Next: ax_check_awk_sprintf, Prev: ax_check_awk_sin, Up: The Macros
6061
6062 ax_check_awk_split
6063 ==================
6064
6065 Synopsis
6066 ********
6067
6068 AX_CHECK_AWK_SPLIT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6069
6070 Description
6071 ***********
6072
6073 Check if AWK supports split() function. If successful execute
6074 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6075
6076 This work is heavily based upon testawk.sh script by Heiner Steven. You
6077 should find his script (and related works) at
6078 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6079 Alessandro Massignan for his suggestions and extensive nawk tests on
6080 FreeBSD.
6081
6082 Source Code
6083 ***********
6084
6085 Download the latest version of 'ax_check_awk_split.m4'
6086 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_split.m4)
6087 or browse the macro's revision history
6088 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_split.m4).
6089
6090 License
6091 *******
6092
6093 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6094
6095 Copying and distribution of this file, with or without modification, are
6096 permitted in any medium without royalty provided the copyright notice
6097 and this notice are preserved. This file is offered as-is, without any
6098 warranty.
6099
6100 
6101 File: autoconf-archive.info, Node: ax_check_awk_sprintf, Next: ax_check_awk_sqrt, Prev: ax_check_awk_split, Up: The Macros
6102
6103 ax_check_awk_sprintf
6104 ====================
6105
6106 Synopsis
6107 ********
6108
6109 AX_CHECK_AWK_SPRINTF([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6110
6111 Description
6112 ***********
6113
6114 Check if AWK supports sprintf() function. If successful execute
6115 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6116
6117 This work is heavily based upon testawk.sh script by Heiner Steven. You
6118 should find his script (and related works) at
6119 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6120 Alessandro Massignan for his suggestions and extensive nawk tests on
6121 FreeBSD.
6122
6123 Source Code
6124 ***********
6125
6126 Download the latest version of 'ax_check_awk_sprintf.m4'
6127 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sprintf.m4)
6128 or browse the macro's revision history
6129 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sprintf.m4).
6130
6131 License
6132 *******
6133
6134 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6135
6136 Copying and distribution of this file, with or without modification, are
6137 permitted in any medium without royalty provided the copyright notice
6138 and this notice are preserved. This file is offered as-is, without any
6139 warranty.
6140
6141 
6142 File: autoconf-archive.info, Node: ax_check_awk_sqrt, Next: ax_check_awk_srand, Prev: ax_check_awk_sprintf, Up: The Macros
6143
6144 ax_check_awk_sqrt
6145 =================
6146
6147 Synopsis
6148 ********
6149
6150 AX_CHECK_AWK_SQRT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6151
6152 Description
6153 ***********
6154
6155 Check if AWK supports sqrt() function. If successful execute
6156 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6157
6158 This work is heavily based upon testawk.sh script by Heiner Steven. You
6159 should find his script (and related works) at
6160 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6161 Alessandro Massignan for his suggestions and extensive nawk tests on
6162 FreeBSD.
6163
6164 Source Code
6165 ***********
6166
6167 Download the latest version of 'ax_check_awk_sqrt.m4'
6168 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sqrt.m4)
6169 or browse the macro's revision history
6170 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sqrt.m4).
6171
6172 License
6173 *******
6174
6175 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6176
6177 Copying and distribution of this file, with or without modification, are
6178 permitted in any medium without royalty provided the copyright notice
6179 and this notice are preserved. This file is offered as-is, without any
6180 warranty.
6181
6182 
6183 File: autoconf-archive.info, Node: ax_check_awk_srand, Next: ax_check_awk_strftime, Prev: ax_check_awk_sqrt, Up: The Macros
6184
6185 ax_check_awk_srand
6186 ==================
6187
6188 Synopsis
6189 ********
6190
6191 AX_CHECK_AWK_SRAND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6192
6193 Description
6194 ***********
6195
6196 Check if AWK supports srand() function. If successful execute
6197 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6198
6199 This work is heavily based upon testawk.sh script by Heiner Steven. You
6200 should find his script (and related works) at
6201 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6202 Alessandro Massignan for his suggestions and extensive nawk tests on
6203 FreeBSD.
6204
6205 Source Code
6206 ***********
6207
6208 Download the latest version of 'ax_check_awk_srand.m4'
6209 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_srand.m4)
6210 or browse the macro's revision history
6211 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_srand.m4).
6212
6213 License
6214 *******
6215
6216 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6217
6218 Copying and distribution of this file, with or without modification, are
6219 permitted in any medium without royalty provided the copyright notice
6220 and this notice are preserved. This file is offered as-is, without any
6221 warranty.
6222
6223 
6224 File: autoconf-archive.info, Node: ax_check_awk_strftime, Next: ax_check_awk_strtonum, Prev: ax_check_awk_srand, Up: The Macros
6225
6226 ax_check_awk_strftime
6227 =====================
6228
6229 Synopsis
6230 ********
6231
6232 AX_CHECK_AWK_STRFTIME([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6233
6234 Description
6235 ***********
6236
6237 Check if AWK supports strftime() function. If successful execute
6238 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6239
6240 This work is heavily based upon testawk.sh script by Heiner Steven. You
6241 should find his script (and related works) at
6242 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6243 Alessandro Massignan for his suggestions and extensive nawk tests on
6244 FreeBSD.
6245
6246 Source Code
6247 ***********
6248
6249 Download the latest version of 'ax_check_awk_strftime.m4'
6250 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_strftime.m4)
6251 or browse the macro's revision history
6252 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_strftime.m4).
6253
6254 License
6255 *******
6256
6257 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6258
6259 Copying and distribution of this file, with or without modification, are
6260 permitted in any medium without royalty provided the copyright notice
6261 and this notice are preserved. This file is offered as-is, without any
6262 warranty.
6263
6264 
6265 File: autoconf-archive.info, Node: ax_check_awk_strtonum, Next: ax_check_awk_sub, Prev: ax_check_awk_strftime, Up: The Macros
6266
6267 ax_check_awk_strtonum
6268 =====================
6269
6270 Synopsis
6271 ********
6272
6273 AX_CHECK_AWK_STRTONUM([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6274
6275 Description
6276 ***********
6277
6278 Check if AWK supports strtonum() function. If successful execute
6279 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6280
6281 This work is heavily based upon testawk.sh script by Heiner Steven. You
6282 should find his script (and related works) at
6283 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6284 Alessandro Massignan for his suggestions and extensive nawk tests on
6285 FreeBSD.
6286
6287 Source Code
6288 ***********
6289
6290 Download the latest version of 'ax_check_awk_strtonum.m4'
6291 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_strtonum.m4)
6292 or browse the macro's revision history
6293 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_strtonum.m4).
6294
6295 License
6296 *******
6297
6298 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6299
6300 Copying and distribution of this file, with or without modification, are
6301 permitted in any medium without royalty provided the copyright notice
6302 and this notice are preserved. This file is offered as-is, without any
6303 warranty.
6304
6305 
6306 File: autoconf-archive.info, Node: ax_check_awk_sub, Next: ax_check_awk_substr, Prev: ax_check_awk_strtonum, Up: The Macros
6307
6308 ax_check_awk_sub
6309 ================
6310
6311 Synopsis
6312 ********
6313
6314 AX_CHECK_AWK_SUB([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6315
6316 Description
6317 ***********
6318
6319 Check if AWK supports sub() function. If successful execute
6320 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6321
6322 This work is heavily based upon testawk.sh script by Heiner Steven. You
6323 should find his script (and related works) at
6324 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6325 Alessandro Massignan for his suggestions and extensive nawk tests on
6326 FreeBSD.
6327
6328 Source Code
6329 ***********
6330
6331 Download the latest version of 'ax_check_awk_sub.m4'
6332 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sub.m4)
6333 or browse the macro's revision history
6334 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sub.m4).
6335
6336 License
6337 *******
6338
6339 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6340
6341 Copying and distribution of this file, with or without modification, are
6342 permitted in any medium without royalty provided the copyright notice
6343 and this notice are preserved. This file is offered as-is, without any
6344 warranty.
6345
6346 
6347 File: autoconf-archive.info, Node: ax_check_awk_substr, Next: ax_check_awk_system, Prev: ax_check_awk_sub, Up: The Macros
6348
6349 ax_check_awk_substr
6350 ===================
6351
6352 Synopsis
6353 ********
6354
6355 AX_CHECK_AWK_SUBSTR([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6356
6357 Description
6358 ***********
6359
6360 Check if AWK supports substr() function. If successful execute
6361 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6362
6363 This work is heavily based upon testawk.sh script by Heiner Steven. You
6364 should find his script (and related works) at
6365 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6366 Alessandro Massignan for his suggestions and extensive nawk tests on
6367 FreeBSD.
6368
6369 Source Code
6370 ***********
6371
6372 Download the latest version of 'ax_check_awk_substr.m4'
6373 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_substr.m4)
6374 or browse the macro's revision history
6375 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_substr.m4).
6376
6377 License
6378 *******
6379
6380 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6381
6382 Copying and distribution of this file, with or without modification, are
6383 permitted in any medium without royalty provided the copyright notice
6384 and this notice are preserved. This file is offered as-is, without any
6385 warranty.
6386
6387 
6388 File: autoconf-archive.info, Node: ax_check_awk_system, Next: ax_check_awk_systime, Prev: ax_check_awk_substr, Up: The Macros
6389
6390 ax_check_awk_system
6391 ===================
6392
6393 Synopsis
6394 ********
6395
6396 AX_CHECK_AWK_SYSTEM([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6397
6398 Description
6399 ***********
6400
6401 Check if AWK supports system() function. If successful execute
6402 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6403
6404 This work is heavily based upon testawk.sh script by Heiner Steven. You
6405 should find his script (and related works) at
6406 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6407 Alessandro Massignan for his suggestions and extensive nawk tests on
6408 FreeBSD.
6409
6410 Source Code
6411 ***********
6412
6413 Download the latest version of 'ax_check_awk_system.m4'
6414 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_system.m4)
6415 or browse the macro's revision history
6416 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_system.m4).
6417
6418 License
6419 *******
6420
6421 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6422
6423 Copying and distribution of this file, with or without modification, are
6424 permitted in any medium without royalty provided the copyright notice
6425 and this notice are preserved. This file is offered as-is, without any
6426 warranty.
6427
6428 
6429 File: autoconf-archive.info, Node: ax_check_awk_systime, Next: ax_check_awk_tolower, Prev: ax_check_awk_system, Up: The Macros
6430
6431 ax_check_awk_systime
6432 ====================
6433
6434 Synopsis
6435 ********
6436
6437 AX_CHECK_AWK_SYSTIME([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6438
6439 Description
6440 ***********
6441
6442 Check if AWK supports systime() function. If successful execute
6443 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6444
6445 This work is heavily based upon testawk.sh script by Heiner Steven. You
6446 should find his script (and related works) at
6447 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6448 Alessandro Massignan for his suggestions and extensive nawk tests on
6449 FreeBSD.
6450
6451 Source Code
6452 ***********
6453
6454 Download the latest version of 'ax_check_awk_systime.m4'
6455 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_systime.m4)
6456 or browse the macro's revision history
6457 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_systime.m4).
6458
6459 License
6460 *******
6461
6462 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6463
6464 Copying and distribution of this file, with or without modification, are
6465 permitted in any medium without royalty provided the copyright notice
6466 and this notice are preserved. This file is offered as-is, without any
6467 warranty.
6468
6469 
6470 File: autoconf-archive.info, Node: ax_check_awk_tolower, Next: ax_check_awk_toupper, Prev: ax_check_awk_systime, Up: The Macros
6471
6472 ax_check_awk_tolower
6473 ====================
6474
6475 Synopsis
6476 ********
6477
6478 AX_CHECK_AWK_TOLOWER([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6479
6480 Description
6481 ***********
6482
6483 Check if AWK supports tolower() function. If successful execute
6484 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6485
6486 This work is heavily based upon testawk.sh script by Heiner Steven. You
6487 should find his script (and related works) at
6488 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6489 Alessandro Massignan for his suggestions and extensive nawk tests on
6490 FreeBSD.
6491
6492 Source Code
6493 ***********
6494
6495 Download the latest version of 'ax_check_awk_tolower.m4'
6496 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_tolower.m4)
6497 or browse the macro's revision history
6498 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_tolower.m4).
6499
6500 License
6501 *******
6502
6503 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6504
6505 Copying and distribution of this file, with or without modification, are
6506 permitted in any medium without royalty provided the copyright notice
6507 and this notice are preserved. This file is offered as-is, without any
6508 warranty.
6509
6510 
6511 File: autoconf-archive.info, Node: ax_check_awk_toupper, Next: ax_check_awk_user_defined_functions, Prev: ax_check_awk_tolower, Up: The Macros
6512
6513 ax_check_awk_toupper
6514 ====================
6515
6516 Synopsis
6517 ********
6518
6519 AX_CHECK_AWK_TOUPPER([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6520
6521 Description
6522 ***********
6523
6524 Check if AWK supports toupper() function. If successful execute
6525 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6526
6527 This work is heavily based upon testawk.sh script by Heiner Steven. You
6528 should find his script (and related works) at
6529 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6530 Alessandro Massignan for his suggestions and extensive nawk tests on
6531 FreeBSD.
6532
6533 Source Code
6534 ***********
6535
6536 Download the latest version of 'ax_check_awk_toupper.m4'
6537 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_toupper.m4)
6538 or browse the macro's revision history
6539 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_toupper.m4).
6540
6541 License
6542 *******
6543
6544 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6545
6546 Copying and distribution of this file, with or without modification, are
6547 permitted in any medium without royalty provided the copyright notice
6548 and this notice are preserved. This file is offered as-is, without any
6549 warranty.
6550
6551 
6552 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
6553
6554 ax_check_awk_user_defined_functions
6555 ===================================
6556
6557 Synopsis
6558 ********
6559
6560 AX_CHECK_AWK_USER_DEFINED_FUNCTIONS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6561
6562 Description
6563 ***********
6564
6565 Check if AWK supports user defined functions. If successful execute
6566 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6567
6568 This work is heavily based upon testawk.sh script by Heiner Steven. You
6569 should find his script (and related works) at
6570 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6571 Alessandro Massignan for his suggestions and extensive nawk tests on
6572 FreeBSD.
6573
6574 Source Code
6575 ***********
6576
6577 Download the latest version of 'ax_check_awk_user_defined_functions.m4'
6578 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_user_defined_functions.m4)
6579 or browse the macro's revision history
6580 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_user_defined_functions.m4).
6581
6582 License
6583 *******
6584
6585 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6586
6587 Copying and distribution of this file, with or without modification, are
6588 permitted in any medium without royalty provided the copyright notice
6589 and this notice are preserved. This file is offered as-is, without any
6590 warranty.
6591
6592 
6593 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
6594
6595 ax_check_awk_var_regexp
6596 =======================
6597
6598 Synopsis
6599 ********
6600
6601 AX_CHECK_AWK_VAR_REGEXP([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6602
6603 Description
6604 ***********
6605
6606 Check if AWK supports variable regexp. If successful execute
6607 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6608
6609 This work is heavily based upon testawk.sh script by Heiner Steven. You
6610 should find his script (and related works) at
6611 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6612 Alessandro Massignan for his suggestions and extensive nawk tests on
6613 FreeBSD.
6614
6615 Source Code
6616 ***********
6617
6618 Download the latest version of 'ax_check_awk_var_regexp.m4'
6619 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_var_regexp.m4)
6620 or browse the macro's revision history
6621 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_var_regexp.m4).
6622
6623 License
6624 *******
6625
6626 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6627
6628 Copying and distribution of this file, with or without modification, are
6629 permitted in any medium without royalty provided the copyright notice
6630 and this notice are preserved. This file is offered as-is, without any
6631 warranty.
6632
6633 
6634 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
6635
6636 ax_check_awk_variable_value_pairs
6637 =================================
6638
6639 Synopsis
6640 ********
6641
6642 AX_CHECK_AWK_VARIABLE_VALUE_PAIRS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6643
6644 Description
6645 ***********
6646
6647 Check if AWK supports variable=value pairs ($AWK '<PROGRAM>' var=val).
6648 If successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6649
6650 This work is heavily based upon testawk.sh script by Heiner Steven. You
6651 should find his script (and related works) at
6652 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6653 Alessandro Massignan for his suggestions and extensive nawk tests on
6654 FreeBSD.
6655
6656 Source Code
6657 ***********
6658
6659 Download the latest version of 'ax_check_awk_variable_value_pairs.m4'
6660 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_variable_value_pairs.m4)
6661 or browse the macro's revision history
6662 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_variable_value_pairs.m4).
6663
6664 License
6665 *******
6666
6667 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6668
6669 Copying and distribution of this file, with or without modification, are
6670 permitted in any medium without royalty provided the copyright notice
6671 and this notice are preserved. This file is offered as-is, without any
6672 warranty.
6673
6674 
6675 File: autoconf-archive.info, Node: ax_check_awk_xor, Next: ax_check_class, Prev: ax_check_awk_variable_value_pairs, Up: The Macros
6676
6677 ax_check_awk_xor
6678 ================
6679
6680 Synopsis
6681 ********
6682
6683 AX_CHECK_AWK_XOR([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6684
6685 Description
6686 ***********
6687
6688 Check if AWK supports xor() function. If successful execute
6689 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6690
6691 This work is heavily based upon testawk.sh script by Heiner Steven. You
6692 should find his script (and related works) at
6693 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
6694 Alessandro Massignan for his suggestions and extensive nawk tests on
6695 FreeBSD.
6696
6697 Source Code
6698 ***********
6699
6700 Download the latest version of 'ax_check_awk_xor.m4'
6701 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_xor.m4)
6702 or browse the macro's revision history
6703 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_xor.m4).
6704
6705 License
6706 *******
6707
6708 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6709
6710 Copying and distribution of this file, with or without modification, are
6711 permitted in any medium without royalty provided the copyright notice
6712 and this notice are preserved. This file is offered as-is, without any
6713 warranty.
6714
6715 
6716 File: autoconf-archive.info, Node: ax_check_class, Next: ax_check_classpath, Prev: ax_check_awk_xor, Up: The Macros
6717
6718 ax_check_class
6719 ==============
6720
6721 Synopsis
6722 ********
6723
6724 AX_CHECK_CLASS
6725
6726 Description
6727 ***********
6728
6729 AX_CHECK_CLASS tests the existence of a given Java class, either in a
6730 jar or in a '.class' file.
6731
6732 *Warning*: its success or failure can depend on a proper setting of the
6733 CLASSPATH env. variable.
6734
6735 Note: This is part of the set of autoconf M4 macros for Java programs.
6736 It is VERY IMPORTANT that you download the whole set, some macros depend
6737 on other. Unfortunately, the autoconf archive does not support the
6738 concept of set of macros, so I had to break it for submission. The
6739 general documentation, as well as the sample configure.in, is included
6740 in the AX_PROG_JAVA macro.
6741
6742 Source Code
6743 ***********
6744
6745 Download the latest version of 'ax_check_class.m4'
6746 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_class.m4)
6747 or browse the macro's revision history
6748 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_class.m4).
6749
6750 License
6751 *******
6752
6753 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
6754
6755 This program is free software; you can redistribute it and/or modify it
6756 under the terms of the GNU General Public License as published by the
6757 Free Software Foundation; either version 2 of the License, or (at your
6758 option) any later version.
6759
6760 This program is distributed in the hope that it will be useful, but
6761 WITHOUT ANY WARRANTY; without even the implied warranty of
6762 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6763 Public License for more details.
6764
6765 You should have received a copy of the GNU General Public License along
6766 with this program. If not, see <https://www.gnu.org/licenses/>.
6767
6768 As a special exception, the respective Autoconf Macro's copyright owner
6769 gives unlimited permission to copy, distribute and modify the configure
6770 scripts that are the output of Autoconf when processing the Macro. You
6771 need not follow the terms of the GNU General Public License when using
6772 or distributing such scripts, even though portions of the text of the
6773 Macro appear in them. The GNU General Public License (GPL) does govern
6774 all other use of the material that constitutes the Autoconf Macro.
6775
6776 This special exception to the GPL applies to versions of the Autoconf
6777 Macro released by the Autoconf Archive. When you make and distribute a
6778 modified version of the Autoconf Macro, you may extend this special
6779 exception to the GPL to apply to your modified version as well.
6780
6781 
6782 File: autoconf-archive.info, Node: ax_check_classpath, Next: ax_check_compile_flag, Prev: ax_check_class, Up: The Macros
6783
6784 ax_check_classpath
6785 ==================
6786
6787 Synopsis
6788 ********
6789
6790 AX_CHECK_CLASSPATH
6791
6792 Description
6793 ***********
6794
6795 AX_CHECK_CLASSPATH just displays the CLASSPATH, for the edification of
6796 the user.
6797
6798 Note: This is part of the set of autoconf M4 macros for Java programs.
6799 It is VERY IMPORTANT that you download the whole set, some macros depend
6800 on other. Unfortunately, the autoconf archive does not support the
6801 concept of set of macros, so I had to break it for submission. The
6802 general documentation, as well as the sample configure.in, is included
6803 in the AX_PROG_JAVA macro.
6804
6805 Source Code
6806 ***********
6807
6808 Download the latest version of 'ax_check_classpath.m4'
6809 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_classpath.m4)
6810 or browse the macro's revision history
6811 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_classpath.m4).
6812
6813 License
6814 *******
6815
6816 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
6817
6818 This program is free software; you can redistribute it and/or modify it
6819 under the terms of the GNU General Public License as published by the
6820 Free Software Foundation; either version 2 of the License, or (at your
6821 option) any later version.
6822
6823 This program is distributed in the hope that it will be useful, but
6824 WITHOUT ANY WARRANTY; without even the implied warranty of
6825 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6826 Public License for more details.
6827
6828 You should have received a copy of the GNU General Public License along
6829 with this program. If not, see <https://www.gnu.org/licenses/>.
6830
6831 As a special exception, the respective Autoconf Macro's copyright owner
6832 gives unlimited permission to copy, distribute and modify the configure
6833 scripts that are the output of Autoconf when processing the Macro. You
6834 need not follow the terms of the GNU General Public License when using
6835 or distributing such scripts, even though portions of the text of the
6836 Macro appear in them. The GNU General Public License (GPL) does govern
6837 all other use of the material that constitutes the Autoconf Macro.
6838
6839 This special exception to the GPL applies to versions of the Autoconf
6840 Macro released by the Autoconf Archive. When you make and distribute a
6841 modified version of the Autoconf Macro, you may extend this special
6842 exception to the GPL to apply to your modified version as well.
6843
6844 
6845 File: autoconf-archive.info, Node: ax_check_compile_flag, Next: ax_check_define, Prev: ax_check_classpath, Up: The Macros
6846
6847 ax_check_compile_flag
6848 =====================
6849
6850 Synopsis
6851 ********
6852
6853 AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
6854
6855 Description
6856 ***********
6857
6858 Check whether the given FLAG works with the current language's compiler
6859 or gives an error. (Warnings, however, are ignored)
6860
6861 ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
6862 success/failure.
6863
6864 If EXTRA-FLAGS is defined, it is added to the current language's default
6865 flags (e.g. CFLAGS) when the check is done. The check is thus made
6866 with the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used
6867 to force the compiler to issue an error when a bad flag is given.
6868
6869 INPUT gives an alternative input source to AC_COMPILE_IFELSE.
6870
6871 NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
6872 macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG.
6873
6874 Source Code
6875 ***********
6876
6877 Download the latest version of 'ax_check_compile_flag.m4'
6878 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_compile_flag.m4)
6879 or browse the macro's revision history
6880 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_compile_flag.m4).
6881
6882 License
6883 *******
6884
6885 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
6886 Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
6887
6888 Copying and distribution of this file, with or without modification, are
6889 permitted in any medium without royalty provided the copyright notice
6890 and this notice are preserved. This file is offered as-is, without any
6891 warranty.
6892
6893 
6894 File: autoconf-archive.info, Node: ax_check_define, Next: ax_check_docbook_dtd, Prev: ax_check_compile_flag, Up: The Macros
6895
6896 ax_check_define
6897 ===============
6898
6899 Synopsis
6900 ********
6901
6902 AC_CHECK_DEFINE([symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])
6903 AX_CHECK_DEFINE([includes],[symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])
6904
6905 Description
6906 ***********
6907
6908 Complements AC_CHECK_FUNC but it does not check for a function but for a
6909 define to exist. Consider a usage like:
6910
6911 AC_CHECK_DEFINE(__STRICT_ANSI__, CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500")
6912
6913 Source Code
6914 ***********
6915
6916 Download the latest version of 'ax_check_define.m4'
6917 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_define.m4)
6918 or browse the macro's revision history
6919 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_define.m4).
6920
6921 License
6922 *******
6923
6924 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
6925
6926 Copying and distribution of this file, with or without modification, are
6927 permitted in any medium without royalty provided the copyright notice
6928 and this notice are preserved. This file is offered as-is, without any
6929 warranty.
6930
6931 
6932 File: autoconf-archive.info, Node: ax_check_docbook_dtd, Next: ax_check_docbook_xslt, Prev: ax_check_define, Up: The Macros
6933
6934 ax_check_docbook_dtd
6935 ====================
6936
6937 Synopsis
6938 ********
6939
6940 AX_CHECK_DOCBOOK_DTD([dtd-version])
6941
6942 Description
6943 ***********
6944
6945 Check for access to a docbook DTD of a particular revision. This macro
6946 can be used for multiple versions within the same script.
6947
6948 Input:
6949
6950 $1 is the version of docbook to search for; default 'current'.
6951
6952 Output:
6953
6954 $HAVE_DOCBOOK_DTD_VERS will be set to 'yes' or 'no' depending on the
6955 results of the test, where VERS is $1, with '_' substituted for '.'
6956 $HAVE_DOCBOOK_DTD will also be set to the same value.
6957
6958 Example:
6959
6960 AX_CHECK_DOCBOOK_DTD(4.3)
6961 if test "x$HAVE_DOCBOOK_DTD_4_3" = "xyes"; then
6962 ...
6963
6964 Source Code
6965 ***********
6966
6967 Download the latest version of 'ax_check_docbook_dtd.m4'
6968 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_docbook_dtd.m4)
6969 or browse the macro's revision history
6970 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_docbook_dtd.m4).
6971
6972 License
6973 *******
6974
6975 Copyright (C) 2008 Zmanda Inc. <http://www.zmanda.com/>
6976 Copyright (C) 2008 Dustin J. Mitchell <dustin@zmanda.com>
6977
6978 This program is free software; you can redistribute it and/or modify it
6979 under the terms of the GNU General Public License as published by the
6980 Free Software Foundation; either version 2 of the License, or (at your
6981 option) any later version.
6982
6983 This program is distributed in the hope that it will be useful, but
6984 WITHOUT ANY WARRANTY; without even the implied warranty of
6985 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6986 Public License for more details.
6987
6988 You should have received a copy of the GNU General Public License along
6989 with this program. If not, see <https://www.gnu.org/licenses/>.
6990
6991 As a special exception, the respective Autoconf Macro's copyright owner
6992 gives unlimited permission to copy, distribute and modify the configure
6993 scripts that are the output of Autoconf when processing the Macro. You
6994 need not follow the terms of the GNU General Public License when using
6995 or distributing such scripts, even though portions of the text of the
6996 Macro appear in them. The GNU General Public License (GPL) does govern
6997 all other use of the material that constitutes the Autoconf Macro.
6998
6999 This special exception to the GPL applies to versions of the Autoconf
7000 Macro released by the Autoconf Archive. When you make and distribute a
7001 modified version of the Autoconf Macro, you may extend this special
7002 exception to the GPL to apply to your modified version as well.
7003
7004 
7005 File: autoconf-archive.info, Node: ax_check_docbook_xslt, Next: ax_check_docbook_xslt_min, Prev: ax_check_docbook_dtd, Up: The Macros
7006
7007 ax_check_docbook_xslt
7008 =====================
7009
7010 Synopsis
7011 ********
7012
7013 AX_CHECK_DOCBOOK_XSLT([xslt-version])
7014
7015 Description
7016 ***********
7017
7018 Check for access to docbook stylesheets of a particular revision. This
7019 macro can be used for multiple versions within the same script.
7020
7021 Input:
7022
7023 $1 is the version of docbook to search for; default 'current'.
7024
7025 Output:
7026
7027 $HAVE_DOCBOOK_XSLT_VERS will be set to 'yes' or 'no' depending on the
7028 results of the test, where VERS is $1, with '_' substituted for '.'.
7029 $HAVE_DOCBOOK_XSLT will also be set to the same value.
7030
7031 Example:
7032
7033 AX_CHECK_DOCBOOK_XSLT(1.72.0)
7034 if test "x$HAVE_DOCBOOK_XSLT_1_72_0" = "xyes"; then
7035 ...
7036
7037 Source Code
7038 ***********
7039
7040 Download the latest version of 'ax_check_docbook_xslt.m4'
7041 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_docbook_xslt.m4)
7042 or browse the macro's revision history
7043 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_docbook_xslt.m4).
7044
7045 License
7046 *******
7047
7048 Copyright (C) 2008 Zmanda Inc. <http://www.zmanda.com/>
7049 Copyright (C) 2008 Dustin J. Mitchell <dustin@zmanda.com>
7050
7051 This program is free software; you can redistribute it and/or modify it
7052 under the terms of the GNU General Public License as published by the
7053 Free Software Foundation; either version 2 of the License, or (at your
7054 option) any later version.
7055
7056 This program is distributed in the hope that it will be useful, but
7057 WITHOUT ANY WARRANTY; without even the implied warranty of
7058 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7059 Public License for more details.
7060
7061 You should have received a copy of the GNU General Public License along
7062 with this program. If not, see <https://www.gnu.org/licenses/>.
7063
7064 As a special exception, the respective Autoconf Macro's copyright owner
7065 gives unlimited permission to copy, distribute and modify the configure
7066 scripts that are the output of Autoconf when processing the Macro. You
7067 need not follow the terms of the GNU General Public License when using
7068 or distributing such scripts, even though portions of the text of the
7069 Macro appear in them. The GNU General Public License (GPL) does govern
7070 all other use of the material that constitutes the Autoconf Macro.
7071
7072 This special exception to the GPL applies to versions of the Autoconf
7073 Macro released by the Autoconf Archive. When you make and distribute a
7074 modified version of the Autoconf Macro, you may extend this special
7075 exception to the GPL to apply to your modified version as well.
7076
7077 
7078 File: autoconf-archive.info, Node: ax_check_docbook_xslt_min, Next: ax_check_dos_filesys, Prev: ax_check_docbook_xslt, Up: The Macros
7079
7080 ax_check_docbook_xslt_min
7081 =========================
7082
7083 Synopsis
7084 ********
7085
7086 AX_CHECK_DOCBOOK_XSLT_MIN(min-xslt-version)
7087
7088 Description
7089 ***********
7090
7091 Check that the 'current' version of docbook is at least version
7092 min-xslt-version. If the test is successful,
7093 $DOCBOOK_XSLT_CURRENT_VERSION will be set to the current docbook
7094 version; if not, it will be set to 'no'.
7095
7096 Example:
7097
7098 AX_CHECK_DOCBOOK_XSLT_MIN(1.72.0)
7099 if test "x$DOCBOOK_XSLT_CURRENT_VERSION" = "xno"; then
7100 ...
7101
7102 Source Code
7103 ***********
7104
7105 Download the latest version of 'ax_check_docbook_xslt_min.m4'
7106 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_docbook_xslt_min.m4)
7107 or browse the macro's revision history
7108 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_docbook_xslt_min.m4).
7109
7110 License
7111 *******
7112
7113 Copyright (C) 2008 Zmanda Inc. <http://www.zmanda.com/>
7114 Copyright (C) 2008 Dustin J. Mitchell <dustin@zmanda.com>
7115
7116 This program is free software; you can redistribute it and/or modify it
7117 under the terms of the GNU General Public License as published by the
7118 Free Software Foundation; either version 2 of the License, or (at your
7119 option) any later version.
7120
7121 This program is distributed in the hope that it will be useful, but
7122 WITHOUT ANY WARRANTY; without even the implied warranty of
7123 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7124 Public License for more details.
7125
7126 You should have received a copy of the GNU General Public License along
7127 with this program. If not, see <https://www.gnu.org/licenses/>.
7128
7129 As a special exception, the respective Autoconf Macro's copyright owner
7130 gives unlimited permission to copy, distribute and modify the configure
7131 scripts that are the output of Autoconf when processing the Macro. You
7132 need not follow the terms of the GNU General Public License when using
7133 or distributing such scripts, even though portions of the text of the
7134 Macro appear in them. The GNU General Public License (GPL) does govern
7135 all other use of the material that constitutes the Autoconf Macro.
7136
7137 This special exception to the GPL applies to versions of the Autoconf
7138 Macro released by the Autoconf Archive. When you make and distribute a
7139 modified version of the Autoconf Macro, you may extend this special
7140 exception to the GPL to apply to your modified version as well.
7141
7142 
7143 File: autoconf-archive.info, Node: ax_check_dos_filesys, Next: ax_check_enable_debug, Prev: ax_check_docbook_xslt_min, Up: The Macros
7144
7145 ax_check_dos_filesys
7146 ====================
7147
7148 Synopsis
7149 ********
7150
7151 AX_CHECK_DOS_FILESYS_LIMITATIONS
7152
7153 Description
7154 ***********
7155
7156 Check if the target is running on DOS. DOS doesn't allow a dot as the
7157 first character, more than one dot, more than eight characters before a
7158 dot, and just three letters after the dot. A DOS VM running under
7159 Windows 9X does not have these restrictions. A DOS program can be
7160 running in either environment, so its important to code accordingly.
7161 Defines HAVE_DOS_FILESYS_LIMITATIONS if under DOS.
7162
7163 Use in conjunction with AX_CHECK_PATHNAME_STYLE_DOS.
7164
7165 Source Code
7166 ***********
7167
7168 Download the latest version of 'ax_check_dos_filesys.m4'
7169 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_dos_filesys.m4)
7170 or browse the macro's revision history
7171 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_dos_filesys.m4).
7172
7173 License
7174 *******
7175
7176 Copyright (C) 2008 Mark Elbrecht
7177
7178 This program is free software; you can redistribute it and/or modify it
7179 under the terms of the GNU General Public License as published by the
7180 Free Software Foundation; either version 2 of the License, or (at your
7181 option) any later version.
7182
7183 This program is distributed in the hope that it will be useful, but
7184 WITHOUT ANY WARRANTY; without even the implied warranty of
7185 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7186 Public License for more details.
7187
7188 You should have received a copy of the GNU General Public License along
7189 with this program. If not, see <https://www.gnu.org/licenses/>.
7190
7191 As a special exception, the respective Autoconf Macro's copyright owner
7192 gives unlimited permission to copy, distribute and modify the configure
7193 scripts that are the output of Autoconf when processing the Macro. You
7194 need not follow the terms of the GNU General Public License when using
7195 or distributing such scripts, even though portions of the text of the
7196 Macro appear in them. The GNU General Public License (GPL) does govern
7197 all other use of the material that constitutes the Autoconf Macro.
7198
7199 This special exception to the GPL applies to versions of the Autoconf
7200 Macro released by the Autoconf Archive. When you make and distribute a
7201 modified version of the Autoconf Macro, you may extend this special
7202 exception to the GPL to apply to your modified version as well.
7203
7204 
7205 File: autoconf-archive.info, Node: ax_check_enable_debug, Next: ax_check_func_in, Prev: ax_check_dos_filesys, Up: The Macros
7206
7207 ax_check_enable_debug
7208 =====================
7209
7210 Synopsis
7211 ********
7212
7213 AX_CHECK_ENABLE_DEBUG([enable by default=yes/info/profile/no], [ENABLE DEBUG VARIABLES ...], [DISABLE DEBUG VARIABLES NDEBUG ...], [IS-RELEASE])
7214
7215 Description
7216 ***********
7217
7218 Check for the presence of an -enable-debug option to configure, with the
7219 specified default value used when the option is not present. Return the
7220 value in the variable $ax_enable_debug.
7221
7222 Specifying 'yes' adds '-g -O0' to the compilation flags for all
7223 languages. Specifying 'info' adds '-g' to the compilation flags.
7224 Specifying 'profile' adds '-g -pg' to the compilation flags and '-pg' to
7225 the linking flags. Otherwise, nothing is added.
7226
7227 Define the variables listed in the second argument if debug is enabled,
7228 defaulting to no variables. Defines the variables listed in the third
7229 argument if debug is disabled, defaulting to NDEBUG. All lists of
7230 variables should be space-separated.
7231
7232 If debug is not enabled, ensure AC_PROG_* will not add debugging flags.
7233 Should be invoked prior to any AC_PROG_* compiler checks.
7234
7235 IS-RELEASE can be used to change the default to 'no' when making a
7236 release. Set IS-RELEASE to 'yes' or 'no' as appropriate. By default,
7237 it uses the value of $ax_is_release, so if you are using the
7238 AX_IS_RELEASE macro, there is no need to pass this parameter.
7239
7240 AX_IS_RELEASE([git-directory])
7241 AX_CHECK_ENABLE_DEBUG()
7242
7243 Source Code
7244 ***********
7245
7246 Download the latest version of 'ax_check_enable_debug.m4'
7247 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_enable_debug.m4)
7248 or browse the macro's revision history
7249 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_enable_debug.m4).
7250
7251 License
7252 *******
7253
7254 Copyright (C) 2011 Rhys Ulerich <rhys.ulerich@gmail.com>
7255 Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
7256
7257 Copying and distribution of this file, with or without modification, are
7258 permitted in any medium without royalty provided the copyright notice
7259 and this notice are preserved.
7260
7261 
7262 File: autoconf-archive.info, Node: ax_check_func_in, Next: ax_check_gd, Prev: ax_check_enable_debug, Up: The Macros
7263
7264 ax_check_func_in
7265 ================
7266
7267 Synopsis
7268 ********
7269
7270 AX_CHECK_FUNC_IN(HEADER, FUNCTION [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]])
7271
7272 Description
7273 ***********
7274
7275 Checking for library functions in a given header file.
7276
7277 Source Code
7278 ***********
7279
7280 Download the latest version of 'ax_check_func_in.m4'
7281 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_func_in.m4)
7282 or browse the macro's revision history
7283 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_func_in.m4).
7284
7285 License
7286 *******
7287
7288 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
7289
7290 Copying and distribution of this file, with or without modification, are
7291 permitted in any medium without royalty provided the copyright notice
7292 and this notice are preserved. This file is offered as-is, without any
7293 warranty.
7294
7295 
7296 File: autoconf-archive.info, Node: ax_check_gd, Next: ax_check_gir_symbols_gjs, Prev: ax_check_func_in, Up: The Macros
7297
7298 ax_check_gd
7299 ===========
7300
7301 Synopsis
7302 ********
7303
7304 AX_CHECK_GD
7305
7306 Description
7307 ***********
7308
7309 Check for the gd library. (See http://www.boutell.com/gd/) If gd is
7310 found, the output variables GD_CFLAGS, GD_LDFLAGS and GD_LIBS will
7311 contain the compiler flags, linker flags and libraries necessary to use
7312 gd; otherwise, those variables will be empty. In addition, the symbol
7313 HAVE_GD is defined if the library is found, and the symbols HAVE_GD_GIF,
7314 HAVE_GD_JPEG and HAVE_GD_PNG are defined if the library supports
7315 creating images in gif, jpeg and png formats, respectively.
7316
7317 The user may use -with-gd=no or -without-gd to skip checking for the
7318 library. (The default is -with-gd=yes.) If the library is installed in
7319 an unusual location, -with-gd=DIR will cause the macro to look for
7320 gdlib-config in DIR/bin or, failing that, for the headers and libraries
7321 in DIR/include and DIR/lib.
7322
7323 Feedback welcome!
7324
7325 Source Code
7326 ***********
7327
7328 Download the latest version of 'ax_check_gd.m4'
7329 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gd.m4)
7330 or browse the macro's revision history
7331 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gd.m4).
7332
7333 License
7334 *******
7335
7336 Copyright (C) 2008 Nick Markham <markhn@rpi.edu>
7337
7338 Copying and distribution of this file, with or without modification, are
7339 permitted in any medium without royalty provided the copyright notice
7340 and this notice are preserved. This file is offered as-is, without any
7341 warranty.
7342
7343 
7344 File: autoconf-archive.info, Node: ax_check_gir_symbols_gjs, Next: ax_check_girs_gjs, Prev: ax_check_gd, Up: The Macros
7345
7346 ax_check_gir_symbols_gjs
7347 ========================
7348
7349 Synopsis
7350 ********
7351
7352 AX_CHECK_GIR_SYMBOLS_GJS(MODULE, APIVERSION, SYMBOLS)
7353
7354 Description
7355 ***********
7356
7357 Check that each symbol from the whitespace-separated list of $SYMBOLS is
7358 defined inside the GObject Introspection module $MODULE with API version
7359 $APIVERSION, and is importable in GJS, GNOME's JavaScript engine
7360 (https://wiki.gnome.org/Projects/Gjs).
7361
7362 GObject Introspection
7363 (https://wiki.gnome.org/Projects/GObjectIntrospection) is a tool for
7364 generating bindings from C libraries to higher-level languages. The
7365 bindings live in a GObject Introspection repository (GIR) file, which is
7366 what this macro checks.
7367
7368 Note that for the purposes of GObject Introspection, the API version is
7369 different from the release version. For example, GTK currently has API
7370 version 3.0, but that could mean any release from the 3.0, 3.2, 3.4,...
7371 series.
7372
7373 Example:
7374
7375 AX_CHECK_GIR_SYMBOLS_GJS([Gtk], [3.0], [ListBox FlowBox
7376 Widget.get_action_group])
7377
7378 NOTE: This macro depends on AX_PROG_GJS.
7379
7380 Source Code
7381 ***********
7382
7383 Download the latest version of 'ax_check_gir_symbols_gjs.m4'
7384 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gir_symbols_gjs.m4)
7385 or browse the macro's revision history
7386 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gir_symbols_gjs.m4).
7387
7388 License
7389 *******
7390
7391 Copyright (C) 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com>
7392
7393 Copying and distribution of this file, with or without modification, are
7394 permitted in any medium without royalty provided the copyright notice
7395 and this notice are preserved. This file is offered as-is, without any
7396 warranty.
7397
7398 
7399 File: autoconf-archive.info, Node: ax_check_girs_gjs, Next: ax_check_gl, Prev: ax_check_gir_symbols_gjs, Up: The Macros
7400
7401 ax_check_girs_gjs
7402 =================
7403
7404 Synopsis
7405 ********
7406
7407 AX_CHECK_GIRS_GJS(MODULE, API_VERSION [, MODULE, API_VERSION...])
7408
7409 Description
7410 ***********
7411
7412 Check that the GObject Introspection module $MODULE is importable in GJS
7413 (GNOME's JavaScript engine, https://wiki.gnome.org/Projects/Gjs). The
7414 API version must be $API_VERSION.
7415
7416 GObject Introspection
7417 (https://wiki.gnome.org/Projects/GObjectIntrospection) is a tool for
7418 generating bindings from C libraries to higher-level languages. The
7419 bindings live in a GObject Introspection repository (GIR) file, which is
7420 what this macro checks.
7421
7422 Note that for the purposes of GObject Introspection, the API version is
7423 different from the release version. For example, GTK currently has API
7424 version 3.0, but that could mean any release from the 3.0, 3.2, 3.4,...
7425 series. To check for specific API that was added in a later version,
7426 use AX_CHECK_GIR_SYMBOLS_GJS.
7427
7428 Example:
7429
7430 AX_CHECK_GIRS_GJS([Gdk], [3.0],
7431 [Gtk], [3.0])
7432
7433 NOTE: This macro depends on AX_PROG_GJS.
7434
7435 Source Code
7436 ***********
7437
7438 Download the latest version of 'ax_check_girs_gjs.m4'
7439 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_girs_gjs.m4)
7440 or browse the macro's revision history
7441 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_girs_gjs.m4).
7442
7443 License
7444 *******
7445
7446 Copyright (C) 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com>
7447
7448 Copying and distribution of this file, with or without modification, are
7449 permitted in any medium without royalty provided the copyright notice
7450 and this notice are preserved. This file is offered as-is, without any
7451 warranty.
7452
7453 
7454 File: autoconf-archive.info, Node: ax_check_gl, Next: ax_check_glu, Prev: ax_check_girs_gjs, Up: The Macros
7455
7456 ax_check_gl
7457 ===========
7458
7459 Synopsis
7460 ********
7461
7462 AX_CHECK_GL([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
7463
7464 Description
7465 ***********
7466
7467 Checks for an OpenGL implementation. If a valid OpenGL implementation
7468 is found, this macro would set C preprocessor symbol HAVE_GL to 1.
7469
7470 If either a valid OpenGL header or library was not found, by default the
7471 configuration would exits on error. This behavior can be overwritten by
7472 providing a custom "ACTION-IF-NOT-FOUND" hook.
7473
7474 If the header, library was found, and been tested for compiling and
7475 linking the configuration would export the required compiler flags to
7476 "GL_CFLAGS" and "GL_LIBS". These two variables can also be overwritten
7477 by user from the command line if they want to link against the library
7478 they specified instead of having the configuration script to detect the
7479 flags automatically. Note that having "GL_CFLAGS" or "GL_LIBS" set
7480 doesn't mean it can compile or link with the flags, since it could be
7481 overwritten by user. However the "HAVE_GL" symbol and "ACTION-IF-FOUND"
7482 hook is always guaranteed to reflect a valid OpenGL implementation.
7483
7484 If user didn't specify the "ACTION-IF-FOUND" hook, the configuration
7485 would prepend "GL_CFLAGS" and "GL_LIBS" to "CFLAGS" and "LIBS", like
7486 many other autoconf macros do.
7487
7488 OpenGL is one of the libraries that has different header names on
7489 different platforms. This macro does the header detection, and will
7490 export the following symbol: "HAVE_GL_GL_H" for having "GL/gl.h" or
7491 "HAVE_OPENGL_GL_H" for having "OpenGL/gl.h". To write a portable OpenGL
7492 code, you should include OpenGL header like so:
7493
7494 #if defined(HAVE_WINDOWS_H) && defined(_WIN32)
7495 # include <windows.h>
7496 #endif
7497 #ifdef HAVE_GL_GL_H
7498 # include <GL/gl.h>
7499 #elif defined(HAVE_OPENGL_GL_H)
7500 # include <OpenGL/gl.h>
7501 #else
7502 # error no gl.h
7503 #endif
7504
7505 On the OSX platform, there's two possible OpenGL implementation. One is
7506 the OpenGL that ships with OSX, the other comes with X11/XQuartz
7507 (http://www.xquartz.org). To use the xquartz variant, user can use the
7508 option -with-xquartz-gl[=path to xquartz root]. By default the
7509 configuration will check "/opt/X11", which is the default X11 install
7510 location on OSX.
7511
7512 Source Code
7513 ***********
7514
7515 Download the latest version of 'ax_check_gl.m4'
7516 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gl.m4)
7517 or browse the macro's revision history
7518 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gl.m4).
7519
7520 License
7521 *******
7522
7523 Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
7524 Copyright (C) 2012 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
7525
7526 Copyright (C) 2016 Felix Chern <idryman@gmail.com>
7527
7528 This program is free software; you can redistribute it and/or modify it
7529 under the terms of the GNU General Public License as published by the
7530 Free Software Foundation; either version 2 of the License, or (at your
7531 option) any later version.
7532
7533 This program is distributed in the hope that it will be useful, but
7534 WITHOUT ANY WARRANTY; without even the implied warranty of
7535 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7536 Public License for more details.
7537
7538 You should have received a copy of the GNU General Public License along
7539 with this program. If not, see <https://www.gnu.org/licenses/>.
7540
7541 As a special exception, the respective Autoconf Macro's copyright owner
7542 gives unlimited permission to copy, distribute and modify the configure
7543 scripts that are the output of Autoconf when processing the Macro. You
7544 need not follow the terms of the GNU General Public License when using
7545 or distributing such scripts, even though portions of the text of the
7546 Macro appear in them. The GNU General Public License (GPL) does govern
7547 all other use of the material that constitutes the Autoconf Macro.
7548
7549 This special exception to the GPL applies to versions of the Autoconf
7550 Macro released by the Autoconf Archive. When you make and distribute a
7551 modified version of the Autoconf Macro, you may extend this special
7552 exception to the GPL to apply to your modified version as well.
7553
7554 
7555 File: autoconf-archive.info, Node: ax_check_glu, Next: ax_check_glut, Prev: ax_check_gl, Up: The Macros
7556
7557 ax_check_glu
7558 ============
7559
7560 Synopsis
7561 ********
7562
7563 AX_CHECK_GLU([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
7564
7565 Description
7566 ***********
7567
7568 Checks for GLUT. If a valid GLU implementation is found, the configure
7569 script would export the C preprocessor symbol "HAVE_GLU=1".
7570
7571 If either a valid GLU header or library was not found, by default the
7572 configure script would exit on error. This behavior can be overwritten
7573 by providing a custom "ACTION-IF-NOT-FOUND" hook.
7574
7575 If the header, library was found, and been tested for compiling and
7576 linking the configuration would export the required compiler flags to
7577 "GLU_CFLAGS" and "GLU_LIBS" environment variables. These two variables
7578 can also be overwritten by defining the environment variables before
7579 executing the configure program. If it was predefined, configure would
7580 not try to overwrite it, but it would still perform the compile and link
7581 test. Only when the tests succeeded does the configure script to export
7582 "HAVE_GLU=1" and to run "ACTION-IF-FOUND" hook.
7583
7584 If user didn't specify the "ACTION-IF-FOUND" hook, the configuration
7585 would prepend "GLU_CFLAGS" and "GLU_LIBS" to "CFLAGS" and "LIBS", like
7586 many other autoconf macros do.
7587
7588 If the header "GL/glu.h" is found, "HAVE_GL_GLU_H" is defined. If the
7589 header "OpenGL/glu.h" is found, HAVE_OPENGL_GLU_H is defined.
7590
7591 You should use something like this in your headers:
7592
7593 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
7594 # include <windows.h>
7595 # endif
7596 # if defined(HAVE_GL_GLU_H)
7597 # include <GL/glu.h>
7598 # elif defined(HAVE_OPENGL_GLU_H)
7599 # include <OpenGL/glu.h>
7600 # else
7601 # error no glu.h
7602 # endif
7603
7604 On the OSX platform, you can use the option -with-xquartz-gl to use
7605 X11/Xquartz GLU implementation instead of the system built in GLU
7606 framework.
7607
7608 Some implementations (in particular, some versions of Mac OS X) are
7609 known to treat the GLU tesselator callback function type as "GLvoid
7610 (*)(...)" rather than the standard "GLvoid (*)()". If the former
7611 condition is detected, this macro defines "HAVE_VARARGS_GLU_TESSCB".
7612
7613 Source Code
7614 ***********
7615
7616 Download the latest version of 'ax_check_glu.m4'
7617 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_glu.m4)
7618 or browse the macro's revision history
7619 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_glu.m4).
7620
7621 License
7622 *******
7623
7624 Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
7625 Copyright (C) 2013 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
7626
7627 Copyright (C) 2016 Felix Chern <idryman@gmail.com>
7628
7629 This program is free software; you can redistribute it and/or modify it
7630 under the terms of the GNU General Public License as published by the
7631 Free Software Foundation; either version 2 of the License, or (at your
7632 option) any later version.
7633
7634 This program is distributed in the hope that it will be useful, but
7635 WITHOUT ANY WARRANTY; without even the implied warranty of
7636 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7637 Public License for more details.
7638
7639 You should have received a copy of the GNU General Public License along
7640 with this program. If not, see <https://www.gnu.org/licenses/>.
7641
7642 As a special exception, the respective Autoconf Macro's copyright owner
7643 gives unlimited permission to copy, distribute and modify the configure
7644 scripts that are the output of Autoconf when processing the Macro. You
7645 need not follow the terms of the GNU General Public License when using
7646 or distributing such scripts, even though portions of the text of the
7647 Macro appear in them. The GNU General Public License (GPL) does govern
7648 all other use of the material that constitutes the Autoconf Macro.
7649
7650 This special exception to the GPL applies to versions of the Autoconf
7651 Macro released by the Autoconf Archive. When you make and distribute a
7652 modified version of the Autoconf Macro, you may extend this special
7653 exception to the GPL to apply to your modified version as well.
7654
7655 
7656 File: autoconf-archive.info, Node: ax_check_glut, Next: ax_check_glx, Prev: ax_check_glu, Up: The Macros
7657
7658 ax_check_glut
7659 =============
7660
7661 Synopsis
7662 ********
7663
7664 AX_CHECK_GLUT([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
7665
7666 Description
7667 ***********
7668
7669 Checks for GLUT. If a valid GLUT implementation is found, the configure
7670 script would export the C preprocessor symbol "HAVE_GLUT=1".
7671
7672 If either a valid GLUT header or library was not found, by default the
7673 configure script would exit on error. This behavior can be overwritten
7674 by providing a custom "ACTION-IF-NOT-FOUND" hook.
7675
7676 If the header, library was found, and been tested for compiling and
7677 linking the configuration would export the required compiler flags to
7678 "GLUT_CFLAGS" and "GLUT_LIBS" environment variables. These two
7679 variables can also be overwritten by defining the environment variables
7680 before executing the configure program. If it was predefined, configure
7681 would not try to overwrite it, but it would still perform the compile
7682 and link test. Only when the tests succeeded does the configure script
7683 to export "HAVE_GLUT=1" and to run "ACTION-IF-FOUND" hook.
7684
7685 If user didn't specify the "ACTION-IF-FOUND" hook, the configuration
7686 would prepend "GLUT_CFLAGS" and "GLUT_LIBS" to "CFLAGS" and "LIBS", like
7687 many other autoconf macros do.
7688
7689 If the header "GL/glut.h" is found, "HAVE_GL_GLUT_H" is defined. If the
7690 header "GLUT/glut.h" is found, HAVE_GLUT_GLUT_H is defined.
7691
7692 You should use something like this in your headers:
7693
7694 # if HAVE_WINDOWS_H && defined(_WIN32)
7695 # include <windows.h>
7696 # endif
7697 # if defined(HAVE_GL_GLUT_H)
7698 # include <GL/glut.h>
7699 # elif defined(HAVE_GLUT_GLUT_H)
7700 # include <GLUT/glut.h>
7701 # else
7702 # error no glut.h
7703 # endif
7704
7705 On the OSX platform, you can use the option -with-xquartz-gl to use
7706 X11/Xquartz GLUT implementation instead of the system built in GLUT
7707 framework.
7708
7709 Source Code
7710 ***********
7711
7712 Download the latest version of 'ax_check_glut.m4'
7713 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_glut.m4)
7714 or browse the macro's revision history
7715 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_glut.m4).
7716
7717 License
7718 *******
7719
7720 Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
7721 Copyright (C) 2013 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
7722
7723 Copyright (C) 2016 Felix Chern <idryman@gmail.com>
7724
7725 This program is free software; you can redistribute it and/or modify it
7726 under the terms of the GNU General Public License as published by the
7727 Free Software Foundation; either version 2 of the License, or (at your
7728 option) any later version.
7729
7730 This program is distributed in the hope that it will be useful, but
7731 WITHOUT ANY WARRANTY; without even the implied warranty of
7732 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7733 Public License for more details.
7734
7735 You should have received a copy of the GNU General Public License along
7736 with this program. If not, see <https://www.gnu.org/licenses/>.
7737
7738 As a special exception, the respective Autoconf Macro's copyright owner
7739 gives unlimited permission to copy, distribute and modify the configure
7740 scripts that are the output of Autoconf when processing the Macro. You
7741 need not follow the terms of the GNU General Public License when using
7742 or distributing such scripts, even though portions of the text of the
7743 Macro appear in them. The GNU General Public License (GPL) does govern
7744 all other use of the material that constitutes the Autoconf Macro.
7745
7746 This special exception to the GPL applies to versions of the Autoconf
7747 Macro released by the Autoconf Archive. When you make and distribute a
7748 modified version of the Autoconf Macro, you may extend this special
7749 exception to the GPL to apply to your modified version as well.
7750
7751 
7752 File: autoconf-archive.info, Node: ax_check_glx, Next: ax_check_gnu_make, Prev: ax_check_glut, Up: The Macros
7753
7754 ax_check_glx
7755 ============
7756
7757 Synopsis
7758 ********
7759
7760 AX_CHECK_GLX
7761
7762 Description
7763 ***********
7764
7765 Check for GLX. If GLX is found, the required preprocessor and linker
7766 flags are included in the output variables "GLX_CFLAGS" and "GLX_LIBS",
7767 respectively. If no GLX implementation is found, "no_glx" is set to
7768 "yes".
7769
7770 If the header "GL/glx.h" is found, "HAVE_GL_GLX_H" is defined. If the
7771 header "OpenGL/glx.h" is found, HAVE_OPENGL_GLX_H is defined. These
7772 preprocessor definitions may not be mutually exclusive.
7773
7774 You should use something like this in your headers:
7775
7776 # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
7777 # include <windows.h>
7778 # endif
7779 # if defined(HAVE_GL_GLX_H)
7780 # include <GL/glx.h>
7781 # elif defined(HAVE_OPENGL_GLX_H)
7782 # include <OpenGL/glx.h>
7783 # else
7784 # error no glx.h
7785 # endif
7786
7787 Source Code
7788 ***********
7789
7790 Download the latest version of 'ax_check_glx.m4'
7791 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_glx.m4)
7792 or browse the macro's revision history
7793 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_glx.m4).
7794
7795 License
7796 *******
7797
7798 Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
7799 Copyright (C) 2013-2014 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
7800
7801 This program is free software; you can redistribute it and/or modify it
7802 under the terms of the GNU General Public License as published by the
7803 Free Software Foundation; either version 2 of the License, or (at your
7804 option) any later version.
7805
7806 This program is distributed in the hope that it will be useful, but
7807 WITHOUT ANY WARRANTY; without even the implied warranty of
7808 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7809 Public License for more details.
7810
7811 You should have received a copy of the GNU General Public License along
7812 with this program. If not, see <https://www.gnu.org/licenses/>.
7813
7814 As a special exception, the respective Autoconf Macro's copyright owner
7815 gives unlimited permission to copy, distribute and modify the configure
7816 scripts that are the output of Autoconf when processing the Macro. You
7817 need not follow the terms of the GNU General Public License when using
7818 or distributing such scripts, even though portions of the text of the
7819 Macro appear in them. The GNU General Public License (GPL) does govern
7820 all other use of the material that constitutes the Autoconf Macro.
7821
7822 This special exception to the GPL applies to versions of the Autoconf
7823 Macro released by the Autoconf Archive. When you make and distribute a
7824 modified version of the Autoconf Macro, you may extend this special
7825 exception to the GPL to apply to your modified version as well.
7826
7827 
7828 File: autoconf-archive.info, Node: ax_check_gnu_make, Next: ax_check_icu, Prev: ax_check_glx, Up: The Macros
7829
7830 ax_check_gnu_make
7831 =================
7832
7833 Synopsis
7834 ********
7835
7836 AX_CHECK_GNU_MAKE([run-if-true],[run-if-false])
7837
7838 Description
7839 ***********
7840
7841 This macro searches for a GNU version of make. If a match is found:
7842
7843 * The makefile variable `ifGNUmake' is set to the empty string, otherwise
7844 it is set to "#". This is useful for including a special features in a
7845 Makefile, which cannot be handled by other versions of make.
7846 * The makefile variable `ifnGNUmake' is set to #, otherwise
7847 it is set to the empty string. This is useful for including a special
7848 features in a Makefile, which can be handled
7849 by other versions of make or to specify else like clause.
7850 * The variable `_cv_gnu_make_command` is set to the command to invoke
7851 GNU make if it exists, the empty string otherwise.
7852 * The variable `ax_cv_gnu_make_command` is set to the command to invoke
7853 GNU make by copying `_cv_gnu_make_command`, otherwise it is unset.
7854 * If GNU Make is found, its version is extracted from the output of
7855 `make --version` as the last field of a record of space-separated
7856 columns and saved into the variable `ax_check_gnu_make_version`.
7857 * Additionally if GNU Make is found, run shell code run-if-true
7858 else run shell code run-if-false.
7859
7860 Here is an example of its use:
7861
7862 Makefile.in might contain:
7863
7864 # A failsafe way of putting a dependency rule into a makefile
7865 $(DEPEND):
7866 $(CC) -MM $(srcdir)/*.c > $(DEPEND)
7867
7868 @ifGNUmake@ ifeq ($(DEPEND),$(wildcard $(DEPEND)))
7869 @ifGNUmake@ include $(DEPEND)
7870 @ifGNUmake@ else
7871 fallback code
7872 @ifGNUmake@ endif
7873
7874 Then configure.in would normally contain:
7875
7876 AX_CHECK_GNU_MAKE()
7877 AC_OUTPUT(Makefile)
7878
7879 Then perhaps to cause gnu make to override any other make, we could do
7880 something like this (note that GNU make always looks for GNUmakefile
7881 first):
7882
7883 if ! test x$_cv_gnu_make_command = x ; then
7884 mv Makefile GNUmakefile
7885 echo .DEFAULT: > Makefile ;
7886 echo \ $_cv_gnu_make_command \$@ >> Makefile;
7887 fi
7888
7889 Then, if any (well almost any) other make is called, and GNU make also
7890 exists, then the other make wraps the GNU make.
7891
7892 Source Code
7893 ***********
7894
7895 Download the latest version of 'ax_check_gnu_make.m4'
7896 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gnu_make.m4)
7897 or browse the macro's revision history
7898 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gnu_make.m4).
7899
7900 License
7901 *******
7902
7903 Copyright (C) 2008 John Darrington <j.darrington@elvis.murdoch.edu.au>
7904 Copyright (C) 2015 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
7905
7906 Copying and distribution of this file, with or without modification, are
7907 permitted in any medium without royalty provided the copyright notice
7908 and this notice are preserved. This file is offered as-is, without any
7909 warranty.
7910
7911 
7912 File: autoconf-archive.info, Node: ax_check_icu, Next: ax_check_java_home, Prev: ax_check_gnu_make, Up: The Macros
7913
7914 ax_check_icu
7915 ============
7916
7917 Synopsis
7918 ********
7919
7920 AX_CHECK_ICU(version, action-if, action-if-not)
7921
7922 Description
7923 ***********
7924
7925 Defines ICU_LIBS, ICU_CFLAGS, ICU_CXXFLAGS. See icu-config(1) man page.
7926
7927 Source Code
7928 ***********
7929
7930 Download the latest version of 'ax_check_icu.m4'
7931 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_icu.m4)
7932 or browse the macro's revision history
7933 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_icu.m4).
7934
7935 License
7936 *******
7937
7938 Copyright (C) 2008 Akos Maroy <darkeye@tyrell.hu>
7939
7940 Copying and distribution of this file, with or without modification, are
7941 permitted in any medium without royalty provided the copyright notice
7942 and this notice are preserved. This file is offered as-is, without any
7943 warranty.
7944
7945 
7946 File: autoconf-archive.info, Node: ax_check_java_home, Next: ax_check_java_plugin, Prev: ax_check_icu, Up: The Macros
7947
7948 ax_check_java_home
7949 ==================
7950
7951 Synopsis
7952 ********
7953
7954 AX_CHECK_JAVA_HOME
7955
7956 Description
7957 ***********
7958
7959 Check for Sun Java (JDK / JRE) installation, where the 'java' VM is in.
7960 If found, set environment variable JAVA_HOME = Java installation home,
7961 else left JAVA_HOME untouch, which in most case means JAVA_HOME is
7962 empty.
7963
7964 Source Code
7965 ***********
7966
7967 Download the latest version of 'ax_check_java_home.m4'
7968 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_java_home.m4)
7969 or browse the macro's revision history
7970 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_java_home.m4).
7971
7972 License
7973 *******
7974
7975 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
7976
7977 This program is free software; you can redistribute it and/or modify it
7978 under the terms of the GNU General Public License as published by the
7979 Free Software Foundation; either version 2 of the License, or (at your
7980 option) any later version.
7981
7982 This program is distributed in the hope that it will be useful, but
7983 WITHOUT ANY WARRANTY; without even the implied warranty of
7984 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7985 Public License for more details.
7986
7987 You should have received a copy of the GNU General Public License along
7988 with this program. If not, see <https://www.gnu.org/licenses/>.
7989
7990 As a special exception, the respective Autoconf Macro's copyright owner
7991 gives unlimited permission to copy, distribute and modify the configure
7992 scripts that are the output of Autoconf when processing the Macro. You
7993 need not follow the terms of the GNU General Public License when using
7994 or distributing such scripts, even though portions of the text of the
7995 Macro appear in them. The GNU General Public License (GPL) does govern
7996 all other use of the material that constitutes the Autoconf Macro.
7997
7998 This special exception to the GPL applies to versions of the Autoconf
7999 Macro released by the Autoconf Archive. When you make and distribute a
8000 modified version of the Autoconf Macro, you may extend this special
8001 exception to the GPL to apply to your modified version as well.
8002
8003 
8004 File: autoconf-archive.info, Node: ax_check_java_plugin, Next: ax_check_junit, Prev: ax_check_java_home, Up: The Macros
8005
8006 ax_check_java_plugin
8007 ====================
8008
8009 Synopsis
8010 ********
8011
8012 AX_CHECK_JAVA_PLUGIN(<shell-variable>)
8013
8014 Description
8015 ***********
8016
8017 This macro sets <shell-variable> to empty on failure and to a compatible
8018 version of plugin.jar otherwise. Directories searched are /usr/java/*
8019 and /usr/local/java/*, which are assumed to be j{dk,re} installations.
8020 Apply the shell variable as you see fit. If sun changes things so
8021 <jre>/lib/plugin.jar is not the magic file it will stop working.
8022
8023 This macro assumes that unzip, zipinfo or pkzipc is available (and can
8024 list the contents of the jar archive). The first two are assumed to
8025 work similarly enough to the infozip versions. The pkzipc version is
8026 assumed to work if I understand the documentation on pkware's site but
8027 YMMV. I do not have access to pwkware's version to test it.
8028
8029 Source Code
8030 ***********
8031
8032 Download the latest version of 'ax_check_java_plugin.m4'
8033 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_java_plugin.m4)
8034 or browse the macro's revision history
8035 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_java_plugin.m4).
8036
8037 License
8038 *******
8039
8040 Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
8041
8042 This program is free software; you can redistribute it and/or modify it
8043 under the terms of the GNU General Public License as published by the
8044 Free Software Foundation; either version 2 of the License, or (at your
8045 option) any later version.
8046
8047 This program is distributed in the hope that it will be useful, but
8048 WITHOUT ANY WARRANTY; without even the implied warranty of
8049 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8050 Public License for more details.
8051
8052 You should have received a copy of the GNU General Public License along
8053 with this program. If not, see <https://www.gnu.org/licenses/>.
8054
8055 As a special exception, the respective Autoconf Macro's copyright owner
8056 gives unlimited permission to copy, distribute and modify the configure
8057 scripts that are the output of Autoconf when processing the Macro. You
8058 need not follow the terms of the GNU General Public License when using
8059 or distributing such scripts, even though portions of the text of the
8060 Macro appear in them. The GNU General Public License (GPL) does govern
8061 all other use of the material that constitutes the Autoconf Macro.
8062
8063 This special exception to the GPL applies to versions of the Autoconf
8064 Macro released by the Autoconf Archive. When you make and distribute a
8065 modified version of the Autoconf Macro, you may extend this special
8066 exception to the GPL to apply to your modified version as well.
8067
8068 
8069 File: autoconf-archive.info, Node: ax_check_junit, Next: ax_check_library, Prev: ax_check_java_plugin, Up: The Macros
8070
8071 ax_check_junit
8072 ==============
8073
8074 Synopsis
8075 ********
8076
8077 AX_CHECK_JUNIT
8078
8079 Description
8080 ***********
8081
8082 AX_CHECK_JUNIT tests the availability of the Junit testing framework,
8083 and set some variables for conditional compilation of the test suite by
8084 automake.
8085
8086 If available, JUNIT is set to a command launching the text based user
8087 interface of Junit, @JAVA_JUNIT@ is set to $JAVA_JUNIT and @TESTS_JUNIT@
8088 is set to $TESTS_JUNIT, otherwise they are set to empty values.
8089
8090 You can use these variables in your Makefile.am file like this :
8091
8092 # Some of the following classes are built only if junit is available
8093 JAVA_JUNIT = Class1Test.java Class2Test.java AllJunitTests.java
8094
8095 noinst_JAVA = Example1.java Example2.java @JAVA_JUNIT@
8096
8097 EXTRA_JAVA = $(JAVA_JUNIT)
8098
8099 TESTS_JUNIT = AllJunitTests
8100
8101 TESTS = StandaloneTest1 StandaloneTest2 @TESTS_JUNIT@
8102
8103 EXTRA_TESTS = $(TESTS_JUNIT)
8104
8105 AllJunitTests :
8106 echo "#! /bin/sh" > $@
8107 echo "exec @JUNIT@ my.package.name.AllJunitTests" >> $@
8108 chmod +x $@
8109
8110 Source Code
8111 ***********
8112
8113 Download the latest version of 'ax_check_junit.m4'
8114 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_junit.m4)
8115 or browse the macro's revision history
8116 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_junit.m4).
8117
8118 License
8119 *******
8120
8121 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
8122
8123 Copying and distribution of this file, with or without modification, are
8124 permitted in any medium without royalty provided the copyright notice
8125 and this notice are preserved. This file is offered as-is, without any
8126 warranty.
8127
8128 
8129 File: autoconf-archive.info, Node: ax_check_library, Next: ax_check_link_flag, Prev: ax_check_junit, Up: The Macros
8130
8131 ax_check_library
8132 ================
8133
8134 Synopsis
8135 ********
8136
8137 AX_CHECK_LIBRARY(VARIABLE-PREFIX, HEADER-FILE, LIBRARY-FILE,
8138 [ACTION-IF-FOUND], [ACTION-IF-NOT_FOUND])
8139
8140 Description
8141 ***********
8142
8143 Provides a generic test for a given library, similar in concept to the
8144 PKG_CHECK_MODULES macro used by pkg-config.
8145
8146 Most simplest libraries can be checked against simply through the
8147 presence of a header file and a library to link to. This macro allows
8148 to wrap around the test so that it doesn't have to be recreated each
8149 time.
8150
8151 Rather than define -with-$LIBRARY arguments, it uses variables in the
8152 same way that PKG_CHECK_MODULES does. It doesn't, though, use the same
8153 names, since you shouldn't provide a value for LIBS or CFLAGS but rather
8154 for LDFLAGS and CPPFLAGS, to tell the linker and compiler where to find
8155 libraries and headers respectively.
8156
8157 If the library is find, HAVE_PREFIX is defined, and in all cases
8158 PREFIX_LDFLAGS and PREFIX_CPPFLAGS are substituted.
8159
8160 Example:
8161
8162 AX_CHECK_LIBRARY([LIBEVENT], [event.h], [event], [],
8163 [AC_MSG_ERROR([Unable to find libevent])])
8164
8165 Source Code
8166 ***********
8167
8168 Download the latest version of 'ax_check_library.m4'
8169 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_library.m4)
8170 or browse the macro's revision history
8171 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_library.m4).
8172
8173 License
8174 *******
8175
8176 Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
8177
8178 This program is free software: you can redistribute it and/or modify it
8179 under the terms of the GNU General Public License as published by the
8180 Free Software Foundation, either version 3 of the License, or (at your
8181 option) any later version.
8182
8183 This program is distributed in the hope that it will be useful, but
8184 WITHOUT ANY WARRANTY; without even the implied warranty of
8185 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8186 Public License for more details.
8187
8188 You should have received a copy of the GNU General Public License along
8189 with this program. If not, see <https://www.gnu.org/licenses/>.
8190
8191 As a special exception, the respective Autoconf Macro's copyright owner
8192 gives unlimited permission to copy, distribute and modify the configure
8193 scripts that are the output of Autoconf when processing the Macro. You
8194 need not follow the terms of the GNU General Public License when using
8195 or distributing such scripts, even though portions of the text of the
8196 Macro appear in them. The GNU General Public License (GPL) does govern
8197 all other use of the material that constitutes the Autoconf Macro.
8198
8199 This special exception to the GPL applies to versions of the Autoconf
8200 Macro released by the Autoconf Archive. When you make and distribute a
8201 modified version of the Autoconf Macro, you may extend this special
8202 exception to the GPL to apply to your modified version as well.
8203
8204 
8205 File: autoconf-archive.info, Node: ax_check_link_flag, Next: ax_check_mysql, Prev: ax_check_library, Up: The Macros
8206
8207 ax_check_link_flag
8208 ==================
8209
8210 Synopsis
8211 ********
8212
8213 AX_CHECK_LINK_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
8214
8215 Description
8216 ***********
8217
8218 Check whether the given FLAG works with the linker or gives an error.
8219 (Warnings, however, are ignored)
8220
8221 ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
8222 success/failure.
8223
8224 If EXTRA-FLAGS is defined, it is added to the linker's default flags
8225 when the check is done. The check is thus made with the flags: "LDFLAGS
8226 EXTRA-FLAGS FLAG". This can for example be used to force the linker to
8227 issue an error when a bad flag is given.
8228
8229 INPUT gives an alternative input source to AC_LINK_IFELSE.
8230
8231 NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
8232 macro in sync with AX_CHECK_{PREPROC,COMPILE}_FLAG.
8233
8234 Source Code
8235 ***********
8236
8237 Download the latest version of 'ax_check_link_flag.m4'
8238 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_link_flag.m4)
8239 or browse the macro's revision history
8240 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_link_flag.m4).
8241
8242 License
8243 *******
8244
8245 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
8246 Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
8247
8248 Copying and distribution of this file, with or without modification, are
8249 permitted in any medium without royalty provided the copyright notice
8250 and this notice are preserved. This file is offered as-is, without any
8251 warranty.
8252
8253 
8254 File: autoconf-archive.info, Node: ax_check_mysql, Next: ax_check_mysql_db, Prev: ax_check_link_flag, Up: The Macros
8255
8256 ax_check_mysql
8257 ==============
8258
8259 Synopsis
8260 ********
8261
8262 AX_CHECK_MYSQL([MYSQL-PLUGIN-NEEDED],[MYSQL-REQUIRED],[MINIMUM-VERSION],[INCLUDES-REQUIRED])
8263 AX_SOURCE_MYSQL()
8264 AX_CHECK_MYSQL_INSTALL([ROOT-DIR],[IF-FOUND],[IF-NOT-FOUND])
8265
8266 Description
8267 ***********
8268
8269 Looks for a MySQL installation in typical locations, or can take in a
8270 flag designating where a MySQL installation is found. Sets the
8271 variables stated to various attributes of the desired MySQL
8272 installation.
8273
8274 In detail, AX_CHECK_MYSQL will automatically look for a MySQL
8275 installation in the directories that a mysql source or binary install
8276 typically install to. AX_CHECK_MYSQL will throw an error if it cannot
8277 find one, and it is required.
8278
8279 AX_CHECK_MYSQL can also check for specific variables passed regarding a
8280 location of a MySQL installation.
8281
8282 If a MySQL installation is found, AX_CHECK_MYSQL sets variables
8283 regarding the version of MySQL, its architecture (32 or 64 bit), and
8284 whether the version supports Plugins.
8285
8286 AX_CHECK_MYSQL_INSTALL will check a designated root directory for a
8287 command, plugin, and include directory. If a mysql binary is not found
8288 or not found, the IF-FOUND and IF-NOT-FOUND directive will be executed,
8289 respectively.
8290
8291 AX_CHECK_MYSQL adds the following flags:
8292
8293 --with-mysql, for the root of a desired MySQL installation
8294 --with-mysql-plugin, for the path to the plugin directory of the MySQL installation
8295 --with-mysql-include, for the path to the include directory of the MySQL installation
8296 --with-mysql-command, for the path to the binary directory of the MySQL installation
8297 --with-mysql-source, for the path to a directory containing the source of the MySQL installation
8298
8299 AX_CHECK_MYSQL sets:
8300
8301 MYSQL to indicate whether MySQL was found or not
8302 MYSQL_INCLUDES to the include directory (if one exists)
8303 MYSQL_PLUGINS to the plugin directory
8304 MYSQL_COMMANDS to the mysql executable directory
8305 MYSQL_ARCHITECTURE to whether MySQL is 32 or 64 bit (32 if 32, 64 if 64)
8306 MYSQL_VERSION to what the MySQL version is (5.1,5.5, etc)
8307 MYSQL_PLUGIN_OK to whether MySQL version supports plugins (5.1 or greater)
8308 MYSQL_55 to whether the version of MySQL is 5.5 or greater
8309 MYSQL_SOURCE to the source directory passed by --with-mysql-source
8310
8311 Source Code
8312 ***********
8313
8314 Download the latest version of 'ax_check_mysql.m4'
8315 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_mysql.m4)
8316 or browse the macro's revision history
8317 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_mysql.m4).
8318
8319 License
8320 *******
8321
8322 Copyright (C) 2011 University of Washington
8323 Copyright (C) 2011 Yusuke Tsutsumi <tsutsumi.yusuke@gmail.com>
8324 Copyright (C) 2011 Craig Stimmel <cstimmel@uw.edu>
8325 Copyright (C) 2011 Eric Wu
8326
8327 Copying and distribution of this file, with or without modification, are
8328 permitted in any medium without royalty provided the copyright notice
8329 and this notice are preserved. This file is offered as-is, without any
8330 warranty.
8331
8332 
8333 File: autoconf-archive.info, Node: ax_check_mysql_db, Next: ax_check_mysqlr, Prev: ax_check_mysql, Up: The Macros
8334
8335 ax_check_mysql_db
8336 =================
8337
8338 Synopsis
8339 ********
8340
8341 AX_CHECK_MYSQL_DB
8342
8343 Description
8344 ***********
8345
8346 Check if the specified MySQL database exists, if yes set your
8347 environment variable to that database name else unset your environment
8348 variable
8349
8350 Example:
8351
8352 AX_CHECK_MYSQL_DB(DBNAME, [fishmarket])
8353 if test x$DBNAME = xfishmarket; then
8354 bla..bla..bla..
8355 else
8356 bla..bla..bla..
8357 fi
8358
8359 Source Code
8360 ***********
8361
8362 Download the latest version of 'ax_check_mysql_db.m4'
8363 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_mysql_db.m4)
8364 or browse the macro's revision history
8365 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_mysql_db.m4).
8366
8367 License
8368 *******
8369
8370 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
8371
8372 This program is free software; you can redistribute it and/or modify it
8373 under the terms of the GNU General Public License as published by the
8374 Free Software Foundation; either version 2 of the License, or (at your
8375 option) any later version.
8376
8377 This program is distributed in the hope that it will be useful, but
8378 WITHOUT ANY WARRANTY; without even the implied warranty of
8379 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8380 Public License for more details.
8381
8382 You should have received a copy of the GNU General Public License along
8383 with this program. If not, see <https://www.gnu.org/licenses/>.
8384
8385 As a special exception, the respective Autoconf Macro's copyright owner
8386 gives unlimited permission to copy, distribute and modify the configure
8387 scripts that are the output of Autoconf when processing the Macro. You
8388 need not follow the terms of the GNU General Public License when using
8389 or distributing such scripts, even though portions of the text of the
8390 Macro appear in them. The GNU General Public License (GPL) does govern
8391 all other use of the material that constitutes the Autoconf Macro.
8392
8393 This special exception to the GPL applies to versions of the Autoconf
8394 Macro released by the Autoconf Archive. When you make and distribute a
8395 modified version of the Autoconf Macro, you may extend this special
8396 exception to the GPL to apply to your modified version as well.
8397
8398 
8399 File: autoconf-archive.info, Node: ax_check_mysqlr, Next: ax_check_off64_t, Prev: ax_check_mysql_db, Up: The Macros
8400
8401 ax_check_mysqlr
8402 ===============
8403
8404 Synopsis
8405 ********
8406
8407 AX_CHECK_MYSQLR
8408
8409 Description
8410 ***********
8411
8412 First check if mysqlconfig exists. It fails if mysqlconfig is not in
8413 path. Then it checks for the libraries and replaces -lmysqlclient
8414 statement with -lmysqlclient_r statement, to enable threaded client
8415 library.
8416
8417 The following are exported environment variables:
8418
8419 MYSQL_LIBS
8420 MYSQL_CFLAGS
8421
8422 Source Code
8423 ***********
8424
8425 Download the latest version of 'ax_check_mysqlr.m4'
8426 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_mysqlr.m4)
8427 or browse the macro's revision history
8428 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_mysqlr.m4).
8429
8430 License
8431 *******
8432
8433 Copyright (C) 2008 Can Bican <bican@yahoo.com>
8434
8435 Copying and distribution of this file, with or without modification, are
8436 permitted in any medium without royalty provided the copyright notice
8437 and this notice are preserved. This file is offered as-is, without any
8438 warranty.
8439
8440 
8441 File: autoconf-archive.info, Node: ax_check_off64_t, Next: ax_check_openssl, Prev: ax_check_mysqlr, Up: The Macros
8442
8443 ax_check_off64_t
8444 ================
8445
8446 Synopsis
8447 ********
8448
8449 AX_CHECK_OFF64_T
8450
8451 Description
8452 ***********
8453
8454 Check if off64_t is defined. On true define HAVE_OFF64_T, also define
8455 __LARGEFILE64_SOURCE where one is needed. (Note that an appropriative
8456 entry must be in config.h.in.)
8457
8458 Source Code
8459 ***********
8460
8461 Download the latest version of 'ax_check_off64_t.m4'
8462 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_off64_t.m4)
8463 or browse the macro's revision history
8464 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_off64_t.m4).
8465
8466 License
8467 *******
8468
8469 Copyright (C) 2008 Ruslan Shevchenko <Ruslan@Shevchenko.Kiev.UA>
8470
8471 Copying and distribution of this file, with or without modification, are
8472 permitted in any medium without royalty provided the copyright notice
8473 and this notice are preserved. This file is offered as-is, without any
8474 warranty.
8475
8476 
8477 File: autoconf-archive.info, Node: ax_check_openssl, Next: ax_check_page_aligned_malloc, Prev: ax_check_off64_t, Up: The Macros
8478
8479 ax_check_openssl
8480 ================
8481
8482 Synopsis
8483 ********
8484
8485 AX_CHECK_OPENSSL([action-if-found[, action-if-not-found]])
8486
8487 Description
8488 ***********
8489
8490 Look for OpenSSL in a number of default spots, or in a user-selected
8491 spot (via -with-openssl). Sets
8492
8493 OPENSSL_INCLUDES to the include directives required
8494 OPENSSL_LIBS to the -l directives required
8495 OPENSSL_LDFLAGS to the -L or -R flags required
8496
8497 and calls ACTION-IF-FOUND or ACTION-IF-NOT-FOUND appropriately
8498
8499 This macro sets OPENSSL_INCLUDES such that source files should use the
8500 openssl/ directory in include directives:
8501
8502 #include <openssl/hmac.h>
8503
8504 Source Code
8505 ***********
8506
8507 Download the latest version of 'ax_check_openssl.m4'
8508 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_openssl.m4)
8509 or browse the macro's revision history
8510 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_openssl.m4).
8511
8512 License
8513 *******
8514
8515 Copyright (C) 2009,2010 Zmanda Inc. <http://www.zmanda.com/>
8516 Copyright (C) 2009,2010 Dustin J. Mitchell <dustin@zmanda.com>
8517
8518 Copying and distribution of this file, with or without modification, are
8519 permitted in any medium without royalty provided the copyright notice
8520 and this notice are preserved. This file is offered as-is, without any
8521 warranty.
8522
8523 
8524 File: autoconf-archive.info, Node: ax_check_page_aligned_malloc, Next: ax_check_pathfind, Prev: ax_check_openssl, Up: The Macros
8525
8526 ax_check_page_aligned_malloc
8527 ============================
8528
8529 Synopsis
8530 ********
8531
8532 AX_CHECK_PAGE_ALIGNED_MALLOC
8533
8534 Description
8535 ***********
8536
8537 Some operating systems (generally, BSD Unix variants) lack a
8538 posix_memalign function, a memalign function, and a working (meaning,
8539 the memory can be freed) valloc function. To make up for it, the malloc
8540 function promises to return page-aligned addresses if more than one
8541 page's worth of memory is allocated. AX_CHECK_PAGE_ALIGNED_MALLOC
8542 checks for this condition and defines HAVE_PAGE_ALIGNED_MALLOC if the
8543 condition holds.
8544
8545 As an aside, note that valloc'd memory cannot safely be freed on all
8546 operating systems. (Again, some flavors of BSD are the troublemakers.)
8547 It's best to avoid using valloc in favor of posix_memalign, memalign, or
8548 an aligned malloc as detected by AX_CHECK_PAGE_ALIGNED_MALLOC.
8549
8550 Caveat: AX_CHECK_PAGE_ALIGNED_MALLOC takes a probabilistic approach. If
8551 100 calls to malloc all return page-aligned addresses, it assumes that
8552 all calls will behave likewise. It is therefore possible - albeit
8553 extremely unlikely - that AX_CHECK_PAGE_ALIGNED_MALLOC can return a
8554 false positive.
8555
8556 Source Code
8557 ***********
8558
8559 Download the latest version of 'ax_check_page_aligned_malloc.m4'
8560 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_page_aligned_malloc.m4)
8561 or browse the macro's revision history
8562 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_page_aligned_malloc.m4).
8563
8564 License
8565 *******
8566
8567 Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
8568
8569 Copying and distribution of this file, with or without modification, are
8570 permitted in any medium without royalty provided the copyright notice
8571 and this notice are preserved. This file is offered as-is, without any
8572 warranty.
8573
8574 
8575 File: autoconf-archive.info, Node: ax_check_pathfind, Next: ax_check_pathname_style, Prev: ax_check_page_aligned_malloc, Up: The Macros
8576
8577 ax_check_pathfind
8578 =================
8579
8580 Synopsis
8581 ********
8582
8583 AX_CHECK_PATHFIND
8584
8585 Description
8586 ***********
8587
8588 Not all systems have pathfind(3). See if we need to substitute. To
8589 make this work, you have to do horrible things. See the doc for
8590 AX_CHECK_STRCSPN.
8591
8592 Source Code
8593 ***********
8594
8595 Download the latest version of 'ax_check_pathfind.m4'
8596 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pathfind.m4)
8597 or browse the macro's revision history
8598 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pathfind.m4).
8599
8600 License
8601 *******
8602
8603 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
8604
8605 Copying and distribution of this file, with or without modification, are
8606 permitted in any medium without royalty provided the copyright notice
8607 and this notice are preserved. This file is offered as-is, without any
8608 warranty.
8609
8610 
8611 File: autoconf-archive.info, Node: ax_check_pathname_style, Next: ax_check_pcre2, Prev: ax_check_pathfind, Up: The Macros
8612
8613 ax_check_pathname_style
8614 =======================
8615
8616 Synopsis
8617 ********
8618
8619 AX_CHECK_PATHNAME_STYLE_DOS
8620
8621 Description
8622 ***********
8623
8624 Check if host OS uses DOS-style pathnames. This includes the use of
8625 drive letters and backslashes. Under DOS, Windows, and OS/2, defines
8626 HAVE_PATHNAME_STYLE_DOS and PATH_SEPARATOR to ';'. Otherwise, defines
8627 PATH_SEPARATOR to ':'.
8628
8629 This macro depends on the AC_CANONICAL_HOST.
8630
8631 Use for enabling code to handle drive letters, backslashes in filenames
8632 and semicolons in the PATH.
8633
8634 Source Code
8635 ***********
8636
8637 Download the latest version of 'ax_check_pathname_style.m4'
8638 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pathname_style.m4)
8639 or browse the macro's revision history
8640 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pathname_style.m4).
8641
8642 License
8643 *******
8644
8645 Copyright (C) 2008 Mark Elbrecht
8646
8647 This program is free software; you can redistribute it and/or modify it
8648 under the terms of the GNU General Public License as published by the
8649 Free Software Foundation; either version 2 of the License, or (at your
8650 option) any later version.
8651
8652 This program is distributed in the hope that it will be useful, but
8653 WITHOUT ANY WARRANTY; without even the implied warranty of
8654 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8655 Public License for more details.
8656
8657 You should have received a copy of the GNU General Public License along
8658 with this program. If not, see <https://www.gnu.org/licenses/>.
8659
8660 As a special exception, the respective Autoconf Macro's copyright owner
8661 gives unlimited permission to copy, distribute and modify the configure
8662 scripts that are the output of Autoconf when processing the Macro. You
8663 need not follow the terms of the GNU General Public License when using
8664 or distributing such scripts, even though portions of the text of the
8665 Macro appear in them. The GNU General Public License (GPL) does govern
8666 all other use of the material that constitutes the Autoconf Macro.
8667
8668 This special exception to the GPL applies to versions of the Autoconf
8669 Macro released by the Autoconf Archive. When you make and distribute a
8670 modified version of the Autoconf Macro, you may extend this special
8671 exception to the GPL to apply to your modified version as well.
8672
8673 
8674 File: autoconf-archive.info, Node: ax_check_pcre2, Next: ax_check_pgsql_db, Prev: ax_check_pathname_style, Up: The Macros
8675
8676 ax_check_pcre2
8677 ==============
8678
8679 Synopsis
8680 ********
8681
8682 AX_CHECK_PCRE2([bits], [action-if-found], [action-if-not-found])
8683
8684 Description
8685 ***********
8686
8687 Search for an installed libpcre2-8 library. If nothing was specified
8688 when calling configure, it searches first in /usr/local and then in
8689 /usr, /opt/local and /sw. If the -with-pcre2=DIR is specified, it will
8690 try to find it in DIR/include/pcre2.h and DIR/lib/libpcre2-8. If
8691 -without-pcre2 is specified, the library is not searched at all.
8692
8693 If 'bits' is empty or '8', PCRE2 8-bit character support is checked
8694 only. If 'bits' contains '16', PCRE2 8-bit and 16-bit character support
8695 are checked. If 'bits' contains '32', PCRE2 8-bit and 32-bit character
8696 support are checked. When 'bits' contains both '16' and '32', PCRE2
8697 8-bit, 16-bit, and 32-bit character support is checked.
8698
8699 If either the header file (pcre2.h), or the library (libpcre2-8) is not
8700 found, or the specified PCRE2 character bit width is not supported,
8701 shell commands 'action-if-not-found' is run. If 'action-if-not-found'
8702 is not specified, the configuration exits on error, asking for a valid
8703 PCRE2 installation directory or -without-pcre2.
8704
8705 If both header file and library are found, and the specified PCRE2 bit
8706 widths are supported, shell commands 'action-if-found' is run. If
8707 'action-if-found' is not specified, the default action appends
8708 '-I${PCRE2_HOME}/include' to CPFLAGS, appends '-L$PCRE2_HOME}/lib' to
8709 LDFLAGS, prepends '-lpcre2-8' to LIBS, and calls AC_DEFINE(HAVE_PCRE2).
8710 You should use autoheader to include a definition for this symbol in a
8711 config.h file. Sample usage in a C/C++ source is as follows:
8712
8713 #ifdef HAVE_PCRE2
8714 #define PCRE2_CODE_UNIT_WIDTH 8
8715 #include <pcre2.h>
8716 #endif /* HAVE_PCRE2 */
8717
8718 Source Code
8719 ***********
8720
8721 Download the latest version of 'ax_check_pcre2.m4'
8722 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pcre2.m4)
8723 or browse the macro's revision history
8724 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pcre2.m4).
8725
8726 License
8727 *******
8728
8729 Copyright (C) 2020 Robert van Engelen <engelen@acm.org>
8730
8731 This program is free software; you can redistribute it and/or modify it
8732 under the terms of the GNU General Public License as published by the
8733 Free Software Foundation; either version 2 of the License, or (at your
8734 option) any later version.
8735
8736 This program is distributed in the hope that it will be useful, but
8737 WITHOUT ANY WARRANTY; without even the implied warranty of
8738 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8739 Public License for more details.
8740
8741 You should have received a copy of the GNU General Public License along
8742 with this program. If not, see <https://www.gnu.org/licenses/>.
8743
8744 As a special exception, the respective Autoconf Macro's copyright owner
8745 gives unlimited permission to copy, distribute and modify the configure
8746 scripts that are the output of Autoconf when processing the Macro. You
8747 need not follow the terms of the GNU General Public License when using
8748 or distributing such scripts, even though portions of the text of the
8749 Macro appear in them. The GNU General Public License (GPL) does govern
8750 all other use of the material that constitutes the Autoconf Macro.
8751
8752 This special exception to the GPL applies to versions of the Autoconf
8753 Macro released by the Autoconf Archive. When you make and distribute a
8754 modified version of the Autoconf Macro, you may extend this special
8755 exception to the GPL to apply to your modified version as well.
8756
8757 
8758 File: autoconf-archive.info, Node: ax_check_pgsql_db, Next: ax_check_posix_regcomp, Prev: ax_check_pcre2, Up: The Macros
8759
8760 ax_check_pgsql_db
8761 =================
8762
8763 Synopsis
8764 ********
8765
8766 AX_CHECK_PGSQL_DB([DB], [USER], [HOST], [PASSWORD], [ACTION_IF_FAILED], [ACTION_IF_OK])
8767
8768 Description
8769 ***********
8770
8771 This macro checks whether we can connect to a PostgreSQL server with the
8772 given data. The macro AX_PROG_PGCLIENT is required by this one. The
8773 variable $pgclient_call is set for later use in Makefiles, if you'd like
8774 to make use of this, you must do
8775
8776 AC_SUBST(pgclient_call)
8777
8778 after having called AX_CHECK_PGSQL_DB. You can then do something like
8779 the following in your Makefile.am:
8780
8781 @pgclient_call@ -f file.sql
8782
8783 If you want the user to set the data, you should support something like
8784 these configure options:
8785
8786 AC_ARG_WITH(pgsql-host,
8787 [ --with-pgsql-host=HOST server is running on HOST @<:@local socket@:>@],
8788 [pg_host=$withval], [pg_host=])
8789
8790 AC_ARG_WITH(pgsql-db,
8791 [ --with-pgsql-db=DATABASE use DATABASE @<:@tarantoola@:>@],
8792 [pg_db=$withval], [pg_db=tarantoola])
8793
8794 AC_ARG_WITH(pgsql-user,
8795 [ --with-pgsql-user=USER use USER @<:@postgres@:>@],
8796 [pg_user=$withval], [pg_user=postgres])
8797
8798 AC_ARG_WITH(pgsql-password,
8799 [ --with-pgsql-password=PASSWORD use PASSWORD @<:@none@:>@],
8800 [pg_password=$withval], [pg_password=""])
8801
8802 You can then call the macro like this:
8803
8804 AX_CHECK_PGSQL_DB([$pg_db], [$pg_user], [$pg_host], [$pg_password], [AC_MSG_ERROR([We need a database connection!])])
8805
8806 Source Code
8807 ***********
8808
8809 Download the latest version of 'ax_check_pgsql_db.m4'
8810 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pgsql_db.m4)
8811 or browse the macro's revision history
8812 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pgsql_db.m4).
8813
8814 License
8815 *******
8816
8817 Copyright (C) 2008 Moritz Sinn <moritz@freesources.org>
8818
8819 This program is free software; you can redistribute it and/or modify it
8820 under the terms of the GNU General Public License as published by the
8821 Free Software Foundation; either version 2 of the License, or (at your
8822 option) any later version.
8823
8824 This program is distributed in the hope that it will be useful, but
8825 WITHOUT ANY WARRANTY; without even the implied warranty of
8826 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8827 Public License for more details.
8828
8829 You should have received a copy of the GNU General Public License along
8830 with this program. If not, see <https://www.gnu.org/licenses/>.
8831
8832 As a special exception, the respective Autoconf Macro's copyright owner
8833 gives unlimited permission to copy, distribute and modify the configure
8834 scripts that are the output of Autoconf when processing the Macro. You
8835 need not follow the terms of the GNU General Public License when using
8836 or distributing such scripts, even though portions of the text of the
8837 Macro appear in them. The GNU General Public License (GPL) does govern
8838 all other use of the material that constitutes the Autoconf Macro.
8839
8840 This special exception to the GPL applies to versions of the Autoconf
8841 Macro released by the Autoconf Archive. When you make and distribute a
8842 modified version of the Autoconf Macro, you may extend this special
8843 exception to the GPL to apply to your modified version as well.
8844
8845 
8846 File: autoconf-archive.info, Node: ax_check_posix_regcomp, Next: ax_check_posix_sysinfo, Prev: ax_check_pgsql_db, Up: The Macros
8847
8848 ax_check_posix_regcomp
8849 ======================
8850
8851 Synopsis
8852 ********
8853
8854 AX_CHECK_POSIX_REGCOMP
8855
8856 Description
8857 ***********
8858
8859 Check that the POSIX compliant regular expression compiler is available
8860 in the POSIX specified manner, and it works. If it fails, we have a
8861 backup - use gnu-regex.
8862
8863 Source Code
8864 ***********
8865
8866 Download the latest version of 'ax_check_posix_regcomp.m4'
8867 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_posix_regcomp.m4)
8868 or browse the macro's revision history
8869 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_posix_regcomp.m4).
8870
8871 License
8872 *******
8873
8874 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
8875
8876 Copying and distribution of this file, with or without modification, are
8877 permitted in any medium without royalty provided the copyright notice
8878 and this notice are preserved. This file is offered as-is, without any
8879 warranty.
8880
8881 
8882 File: autoconf-archive.info, Node: ax_check_posix_sysinfo, Next: ax_check_postgres_db, Prev: ax_check_posix_regcomp, Up: The Macros
8883
8884 ax_check_posix_sysinfo
8885 ======================
8886
8887 Synopsis
8888 ********
8889
8890 AX_CHECK_POSIX_SYSINFO
8891
8892 Description
8893 ***********
8894
8895 Check that the POSIX compliant sysinfo(2) call works properly. Linux
8896 has its own weirdo alternative.
8897
8898 Source Code
8899 ***********
8900
8901 Download the latest version of 'ax_check_posix_sysinfo.m4'
8902 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_posix_sysinfo.m4)
8903 or browse the macro's revision history
8904 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_posix_sysinfo.m4).
8905
8906 License
8907 *******
8908
8909 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
8910
8911 Copying and distribution of this file, with or without modification, are
8912 permitted in any medium without royalty provided the copyright notice
8913 and this notice are preserved. This file is offered as-is, without any
8914 warranty.
8915
8916 
8917 File: autoconf-archive.info, Node: ax_check_postgres_db, Next: ax_check_preproc_flag, Prev: ax_check_posix_sysinfo, Up: The Macros
8918
8919 ax_check_postgres_db
8920 ====================
8921
8922 Synopsis
8923 ********
8924
8925 AX_CHECK_POSTGRES_DB([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
8926
8927 Description
8928 ***********
8929
8930 This macro tries to find the headers and libraries for the PostgreSQL
8931 database to build client applications.
8932
8933 If includes are found, the variable PQINCPATH will be set, and
8934 have_pqinc will be 'yes'. If libraries are found, the variable
8935 PQLIBPATH will be set, and have_pqlib will be 'yes'. If both PQINCPATH
8936 and PQLIBPATH are found, HAVE_LIBPQ will be set to 'yes' (and
8937 AC_DEFINEd), and -lpq will be added to the beginning of LIBS. If their
8938 respective conditions are not met, have_pqinc, have_pqlib, HAVE_LIBPQ,
8939 will be 'no'.
8940
8941 This macro does fails if either the headers or the library are not
8942 found, unless ACTION-IF-NOT-FOUND is not empty. When both are found,
8943 ACTION-IF-FOUND, if defined, is executed after the variables have been
8944 defined. If -with-pgsql=no (or equivalents) is given, nothing happens.
8945
8946 An automake conditional can be subsequently defined as
8947
8948 AM_CONDITIONAL([HAVE_LIBPQ], [test x$HAVE_LIBPQ = x$yes])
8949
8950 in configure.ac.
8951
8952 Source Code
8953 ***********
8954
8955 Download the latest version of 'ax_check_postgres_db.m4'
8956 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_postgres_db.m4)
8957 or browse the macro's revision history
8958 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_postgres_db.m4).
8959
8960 License
8961 *******
8962
8963 Copyright (C) 2008 Christian Toepp <c.toepp@gmail.com>
8964 Copyright (C) 2012 Olivier Mehani <shtrom-ax@ssji.net>
8965
8966 Copying and distribution of this file, with or without modification, are
8967 permitted in any medium without royalty provided the copyright notice
8968 and this notice are preserved. This file is offered as-is, without any
8969 warranty.
8970
8971 
8972 File: autoconf-archive.info, Node: ax_check_preproc_flag, Next: ax_check_rqrd_class, Prev: ax_check_postgres_db, Up: The Macros
8973
8974 ax_check_preproc_flag
8975 =====================
8976
8977 Synopsis
8978 ********
8979
8980 AX_CHECK_PREPROC_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
8981
8982 Description
8983 ***********
8984
8985 Check whether the given FLAG works with the current language's
8986 preprocessor or gives an error. (Warnings, however, are ignored)
8987
8988 ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
8989 success/failure.
8990
8991 If EXTRA-FLAGS is defined, it is added to the preprocessor's default
8992 flags when the check is done. The check is thus made with the flags:
8993 "CPPFLAGS EXTRA-FLAGS FLAG". This can for example be used to force the
8994 preprocessor to issue an error when a bad flag is given.
8995
8996 INPUT gives an alternative input source to AC_PREPROC_IFELSE.
8997
8998 NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
8999 macro in sync with AX_CHECK_{COMPILE,LINK}_FLAG.
9000
9001 Source Code
9002 ***********
9003
9004 Download the latest version of 'ax_check_preproc_flag.m4'
9005 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_preproc_flag.m4)
9006 or browse the macro's revision history
9007 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_preproc_flag.m4).
9008
9009 License
9010 *******
9011
9012 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
9013 Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
9014
9015 Copying and distribution of this file, with or without modification, are
9016 permitted in any medium without royalty provided the copyright notice
9017 and this notice are preserved. This file is offered as-is, without any
9018 warranty.
9019
9020 
9021 File: autoconf-archive.info, Node: ax_check_rqrd_class, Next: ax_check_sign, Prev: ax_check_preproc_flag, Up: The Macros
9022
9023 ax_check_rqrd_class
9024 ===================
9025
9026 Synopsis
9027 ********
9028
9029 AX_CHECK_RQRD_CLASS
9030
9031 Description
9032 ***********
9033
9034 AX_CHECK_RQRD_CLASS tests the existence of a given Java class, either in
9035 a jar or in a '.class' file and fails if it doesn't exist. Its success
9036 or failure can depend on a proper setting of the CLASSPATH env.
9037 variable.
9038
9039 Note: This is part of the set of autoconf M4 macros for Java programs.
9040 It is VERY IMPORTANT that you download the whole set, some macros depend
9041 on other. Unfortunately, the autoconf archive does not support the
9042 concept of set of macros, so I had to break it for submission. The
9043 general documentation, as well as the sample configure.in, is included
9044 in the AX_PROG_JAVA macro.
9045
9046 Source Code
9047 ***********
9048
9049 Download the latest version of 'ax_check_rqrd_class.m4'
9050 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_rqrd_class.m4)
9051 or browse the macro's revision history
9052 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_rqrd_class.m4).
9053
9054 License
9055 *******
9056
9057 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
9058
9059 This program is free software; you can redistribute it and/or modify it
9060 under the terms of the GNU General Public License as published by the
9061 Free Software Foundation; either version 2 of the License, or (at your
9062 option) any later version.
9063
9064 This program is distributed in the hope that it will be useful, but
9065 WITHOUT ANY WARRANTY; without even the implied warranty of
9066 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
9067 Public License for more details.
9068
9069 You should have received a copy of the GNU General Public License along
9070 with this program. If not, see <https://www.gnu.org/licenses/>.
9071
9072 As a special exception, the respective Autoconf Macro's copyright owner
9073 gives unlimited permission to copy, distribute and modify the configure
9074 scripts that are the output of Autoconf when processing the Macro. You
9075 need not follow the terms of the GNU General Public License when using
9076 or distributing such scripts, even though portions of the text of the
9077 Macro appear in them. The GNU General Public License (GPL) does govern
9078 all other use of the material that constitutes the Autoconf Macro.
9079
9080 This special exception to the GPL applies to versions of the Autoconf
9081 Macro released by the Autoconf Archive. When you make and distribute a
9082 modified version of the Autoconf Macro, you may extend this special
9083 exception to the GPL to apply to your modified version as well.
0 This is autoconf-archive.info, produced by makeinfo version 6.7 from
1 autoconf-archive.texi.
2
3 This manual is for GNU Autoconf Archive version 2021.02.19, a collection
4 of freely re-usable Autoconf macros.
5
6 Copyright (C) 2016 Autoconf Archive Maintainers
7 <autoconf-archive-maintainers@gnu.org>
8
9 Permission is granted to copy, distribute and/or modify this document
10 under the terms of the GNU Free Documentation License, Version 1.3 or
11 any later version published by the Free Software Foundation; with no
12 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
13 copy of the license is included in the section entitled "GNU Free
14 Documentation License".
15 INFO-DIR-SECTION Software development
16 START-INFO-DIR-ENTRY
17 * Autoconf Archive: (autoconf-archive). A collection of re-usable Autoconf macros.
18 END-INFO-DIR-ENTRY
19
20
21 
22 File: autoconf-archive.info, Node: ax_check_sign, Next: ax_check_strcspn, Prev: ax_check_rqrd_class, Up: The Macros
23
24 ax_check_sign
25 =============
26
27 Synopsis
28 ********
29
30 AX_CHECK_SIGN (TYPE, [ACTION-IF-SIGNED], [ACTION-IF-UNSIGNED], [INCLUDES])
31
32 Description
33 ***********
34
35 Checks whether TYPE is signed or not. If no INCLUDES are specified, the
36 default includes are used. If ACTION-IF-SIGNED is given, it is
37 additional shell code to execute when the type is signed. If
38 ACTION-IF-UNSIGNED is given, it is executed when the type is unsigned.
39
40 This macro assumes that the type exists. Therefore the existence of the
41 type should be checked before calling this macro. For example:
42
43 AC_CHECK_HEADERS([wchar.h])
44 AC_CHECK_TYPE([wchar_t],,[ AC_MSG_ERROR([Type wchar_t not found.]) ])
45 AX_CHECK_SIGN([wchar_t],
46 [ AC_DEFINE(WCHAR_T_SIGNED, 1, [Define if wchar_t is signed]) ],
47 [ AC_DEFINE(WCHAR_T_UNSIGNED, 1, [Define if wchar_t is unsigned]) ], [
48 #ifdef HAVE_WCHAR_H
49 #include <wchar.h>
50 #endif
51 ])
52
53 Source Code
54 ***********
55
56 Download the latest version of 'ax_check_sign.m4'
57 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_sign.m4)
58 or browse the macro's revision history
59 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_sign.m4).
60
61 License
62 *******
63
64 Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
65
66 Copying and distribution of this file, with or without modification, are
67 permitted in any medium without royalty provided the copyright notice
68 and this notice are preserved. This file is offered as-is, without any
69 warranty.
70
71 
72 File: autoconf-archive.info, Node: ax_check_strcspn, Next: ax_check_strftime, Prev: ax_check_sign, Up: The Macros
73
74 ax_check_strcspn
75 ================
76
77 Synopsis
78 ********
79
80 AX_CHECK_STRCSPN
81
82 Description
83 ***********
84
85 Not all systems have strcspn(3). See if we need to substitute. To make
86 this work, you have to do horrible things. In one of your Makefile.am
87 files, you must make an explicit rule to make this object. It should
88 look like this:
89
90 strcspn.lo : $(top_srcdir)/compat/strcspn.c
91 $(LTCOMPILE) -o $@ -c $(top_srcdir)/compat/strcspn.c
92
93 and you must include "@COMPATOBJ@" in a LIBADD somewhere and, finally,
94 you must add another artificial dependency, something like:
95
96 makeshell.lo : genshell.c @COMPATOBJ@
97
98 It is all pretty horrific, but I have found nothing else that works.
99
100 Source Code
101 ***********
102
103 Download the latest version of 'ax_check_strcspn.m4'
104 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_strcspn.m4)
105 or browse the macro's revision history
106 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_strcspn.m4).
107
108 License
109 *******
110
111 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
112
113 Copying and distribution of this file, with or without modification, are
114 permitted in any medium without royalty provided the copyright notice
115 and this notice are preserved. This file is offered as-is, without any
116 warranty.
117
118 
119 File: autoconf-archive.info, Node: ax_check_strftime, Next: ax_check_struct_for, Prev: ax_check_strcspn, Up: The Macros
120
121 ax_check_strftime
122 =================
123
124 Synopsis
125 ********
126
127 AX_CHECK_STRFTIME
128
129 Description
130 ***********
131
132 Check for existence and functioning of strftime routine.
133
134 Source Code
135 ***********
136
137 Download the latest version of 'ax_check_strftime.m4'
138 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_strftime.m4)
139 or browse the macro's revision history
140 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_strftime.m4).
141
142 License
143 *******
144
145 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
146
147 Copying and distribution of this file, with or without modification, are
148 permitted in any medium without royalty provided the copyright notice
149 and this notice are preserved. This file is offered as-is, without any
150 warranty.
151
152 
153 File: autoconf-archive.info, Node: ax_check_struct_for, Next: ax_check_symbol, Prev: ax_check_strftime, Up: The Macros
154
155 ax_check_struct_for
156 ===================
157
158 Synopsis
159 ********
160
161 AX_CHECK_STRUCT_FOR(INCLUDES,STRUCT,MEMBER,DEFINE,[no])
162
163 Description
164 ***********
165
166 Checks STRUCT for MEMBER and defines DEFINE if found.
167
168 Source Code
169 ***********
170
171 Download the latest version of 'ax_check_struct_for.m4'
172 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_struct_for.m4)
173 or browse the macro's revision history
174 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_struct_for.m4).
175
176 License
177 *******
178
179 Copyright (C) 2008 Wes Hardaker <wjhardaker@ucdavis.edu>
180
181 Copying and distribution of this file, with or without modification, are
182 permitted in any medium without royalty provided the copyright notice
183 and this notice are preserved. This file is offered as-is, without any
184 warranty.
185
186 
187 File: autoconf-archive.info, Node: ax_check_symbol, Next: ax_check_sys_siglist, Prev: ax_check_struct_for, Up: The Macros
188
189 ax_check_symbol
190 ===============
191
192 Synopsis
193 ********
194
195 AX_CHECK_SYMBOL(SYMBOL, HEADER... [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]])
196
197 Description
198 ***********
199
200 A wrapper around AC_EGREP_HEADER. The shellvar $ac_found will hold the
201 HEADER-name that had been containing the symbol. This value is shown to
202 the user.
203
204 Source Code
205 ***********
206
207 Download the latest version of 'ax_check_symbol.m4'
208 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_symbol.m4)
209 or browse the macro's revision history
210 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_symbol.m4).
211
212 License
213 *******
214
215 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
216
217 Copying and distribution of this file, with or without modification, are
218 permitted in any medium without royalty provided the copyright notice
219 and this notice are preserved. This file is offered as-is, without any
220 warranty.
221
222 
223 File: autoconf-archive.info, Node: ax_check_sys_siglist, Next: ax_check_typedef, Prev: ax_check_symbol, Up: The Macros
224
225 ax_check_sys_siglist
226 ====================
227
228 Synopsis
229 ********
230
231 AX_CHECK_SYS_SIGLIST
232
233 Description
234 ***********
235
236 Check for existence of global sys_siglist[].
237
238 Source Code
239 ***********
240
241 Download the latest version of 'ax_check_sys_siglist.m4'
242 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_sys_siglist.m4)
243 or browse the macro's revision history
244 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_sys_siglist.m4).
245
246 License
247 *******
248
249 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
250
251 Copying and distribution of this file, with or without modification, are
252 permitted in any medium without royalty provided the copyright notice
253 and this notice are preserved. This file is offered as-is, without any
254 warranty.
255
256 
257 File: autoconf-archive.info, Node: ax_check_typedef, Next: ax_check_uname_syscall, Prev: ax_check_sys_siglist, Up: The Macros
258
259 ax_check_typedef
260 ================
261
262 Synopsis
263 ********
264
265 AX_CHECK_TYPEDEF(TYPEDEF, HEADER [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]])
266
267 Description
268 ***********
269
270 Check if the given typedef-name is recognized as a type. The trick is
271 to use a sizeof(TYPEDEF) and see if the compiler is happy with that.
272
273 This can be thought of as a mixture of AC_CHECK_TYPE(TYPEDEF,DEFAULT)
274 and AC_CHECK_LIB(LIBRARY,FUNCTION,ACTION-IF-FOUND,ACTION-IF-NOT-FOUND).
275
276 A convenience macro AX_CHECK_TYPEDEF_ is provided that will not emit any
277 message to the user - it just executes one of the actions.
278
279 Source Code
280 ***********
281
282 Download the latest version of 'ax_check_typedef.m4'
283 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_typedef.m4)
284 or browse the macro's revision history
285 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_typedef.m4).
286
287 License
288 *******
289
290 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
291
292 Copying and distribution of this file, with or without modification, are
293 permitted in any medium without royalty provided the copyright notice
294 and this notice are preserved. This file is offered as-is, without any
295 warranty.
296
297 
298 File: autoconf-archive.info, Node: ax_check_uname_syscall, Next: ax_check_user, Prev: ax_check_typedef, Up: The Macros
299
300 ax_check_uname_syscall
301 ======================
302
303 Synopsis
304 ********
305
306 AX_CHECK_UNAME_SYSCALL
307
308 Description
309 ***********
310
311 Check that the POSIX compliant uname(2) call works properly.
312
313 Source Code
314 ***********
315
316 Download the latest version of 'ax_check_uname_syscall.m4'
317 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_uname_syscall.m4)
318 or browse the macro's revision history
319 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_uname_syscall.m4).
320
321 License
322 *******
323
324 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
325
326 Copying and distribution of this file, with or without modification, are
327 permitted in any medium without royalty provided the copyright notice
328 and this notice are preserved. This file is offered as-is, without any
329 warranty.
330
331 
332 File: autoconf-archive.info, Node: ax_check_user, Next: ax_check_vscript, Prev: ax_check_uname_syscall, Up: The Macros
333
334 ax_check_user
335 =============
336
337 Synopsis
338 ********
339
340 AX_CHECK_USER
341
342 Description
343 ***********
344
345 Check if the specified UNIX user exists, if yes set your environment
346 variable to that username else unset your environment variable
347
348 Example:
349
350 AX_CHECK_USER(USER, [gleensalmon])
351 if test x$USER = xgleensalmon; then
352 bla..bla..bla..
353 else
354 bla..bla..bla..
355 fi
356
357 Besides checking existence, this macro also set these environment
358 variables upon completion:
359
360 USER_HOME = home directory of user, written in /etc/passwd
361
362 Source Code
363 ***********
364
365 Download the latest version of 'ax_check_user.m4'
366 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_user.m4)
367 or browse the macro's revision history
368 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_user.m4).
369
370 License
371 *******
372
373 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
374
375 This program is free software; you can redistribute it and/or modify it
376 under the terms of the GNU General Public License as published by the
377 Free Software Foundation; either version 2 of the License, or (at your
378 option) any later version.
379
380 This program is distributed in the hope that it will be useful, but
381 WITHOUT ANY WARRANTY; without even the implied warranty of
382 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
383 Public License for more details.
384
385 You should have received a copy of the GNU General Public License along
386 with this program. If not, see <https://www.gnu.org/licenses/>.
387
388 As a special exception, the respective Autoconf Macro's copyright owner
389 gives unlimited permission to copy, distribute and modify the configure
390 scripts that are the output of Autoconf when processing the Macro. You
391 need not follow the terms of the GNU General Public License when using
392 or distributing such scripts, even though portions of the text of the
393 Macro appear in them. The GNU General Public License (GPL) does govern
394 all other use of the material that constitutes the Autoconf Macro.
395
396 This special exception to the GPL applies to versions of the Autoconf
397 Macro released by the Autoconf Archive. When you make and distribute a
398 modified version of the Autoconf Macro, you may extend this special
399 exception to the GPL to apply to your modified version as well.
400
401 
402 File: autoconf-archive.info, Node: ax_check_vscript, Next: ax_check_x86_features, Prev: ax_check_user, Up: The Macros
403
404 ax_check_vscript
405 ================
406
407 Synopsis
408 ********
409
410 AX_CHECK_VSCRIPT
411
412 Description
413 ***********
414
415 Check whether the linker supports version scripts. Version scripts are
416 used when building shared libraries to bind symbols to version nodes
417 (helping to detect incompatibilities) or to limit the visibility of
418 non-public symbols.
419
420 Output:
421
422 If version scripts are supported, VSCRIPT_LDFLAGS will contain the
423 appropriate flag to pass to the linker. On GNU systems this would
424 typically be "-Wl,-version-script", and on Solaris it would typically be
425 "-Wl,-M".
426
427 Two Automake conditionals are also set:
428
429 HAVE_VSCRIPT is true if the linker supports version scripts with
430 entries that use simple wildcards, like "local: *".
431
432 HAVE_VSCRIPT_COMPLEX is true if the linker supports version scripts with
433 pattern matching wildcards, like "global: Java_*".
434
435 On systems that do not support symbol versioning, such as Mac OS X, both
436 conditionals will be false. They will also be false if the user passes
437 "-disable-symvers" on the configure command line.
438
439 Example:
440
441 configure.ac:
442
443 AX_CHECK_VSCRIPT
444
445 Makefile.am:
446
447 if HAVE_VSCRIPT
448 libfoo_la_LDFLAGS += $(VSCRIPT_LDFLAGS),@srcdir@/libfoo.map
449 endif
450
451 if HAVE_VSCRIPT_COMPLEX
452 libbar_la_LDFLAGS += $(VSCRIPT_LDFLAGS),@srcdir@/libbar.map
453 endif
454
455 Source Code
456 ***********
457
458 Download the latest version of 'ax_check_vscript.m4'
459 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_vscript.m4)
460 or browse the macro's revision history
461 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_vscript.m4).
462
463 License
464 *******
465
466 Copyright (C) 2014 Kevin Cernekee <cernekee@gmail.com>
467
468 Copying and distribution of this file, with or without modification, are
469 permitted in any medium without royalty provided the copyright notice
470 and this notice are preserved. This file is offered as-is, without any
471 warranty.
472
473 
474 File: autoconf-archive.info, Node: ax_check_x86_features, Next: ax_check_zlib, Prev: ax_check_vscript, Up: The Macros
475
476 ax_check_x86_features
477 =====================
478
479 Synopsis
480 ********
481
482 AX_CHECK_X86_FEATURES([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
483
484 Description
485 ***********
486
487 Checks if the host cpu supports various x86 instruction set, the
488 instructions that will get tested are "mmx, popcnt, sse, sse2, sse3,
489 sse4.1, sse4.2, sse4a, avx, avx2, avx512f, fma, fma4, bmi, bmi2". If
490 the instruction set is supported by the host cpu, the C preprocessor
491 macro HAVE_XXX_INSTRUCTIONS is set to 1. The XXX is up-cased
492 instruction case with dot replaced by underscore. For example, the test
493 for "sse4.2" would export HAVE_SSE4_2_INSTRUCTIONS=1. Also the compiler
494 flag "-msse4.2" would be added to X86_FEATURE_CFLAGS variable, that can
495 be obtained in Makefile.am using @X86_FEATURE_CFLAGS@.
496
497 If any of the test for the instruction set were succeeded, the configure
498 script would run ACTION-IF-FOUND if it is specified, or append
499 X86_FEATURE_CFLAGS to CFLAGS. If none of the instruction were found,
500 ACTION-IF-NOT-FOUND hook is triggered.
501
502 This macro requires gcc extended builtin function "__builtin_cpu_init"
503 and "__builtin_cpu_supports" to detect the cpu features. It will error
504 out if the compiler doesn't has these builtins.
505
506 See also AX_GCC_X86_CPU_SUPPORTS, which is the actual macro that perform
507 the checks for the instruction sets.
508
509 Source Code
510 ***********
511
512 Download the latest version of 'ax_check_x86_features.m4'
513 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_x86_features.m4)
514 or browse the macro's revision history
515 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_x86_features.m4).
516
517 License
518 *******
519
520 Copyright (C) 2016 Felix Chern <idryman@gmail.com>
521
522 This program is free software; you can redistribute it and/or modify it
523 under the terms of the GNU General Public License as published by the
524 Free Software Foundation; either version 2 of the License, or (at your
525 option) any later version.
526
527 This program is distributed in the hope that it will be useful, but
528 WITHOUT ANY WARRANTY; without even the implied warranty of
529 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
530 Public License for more details.
531
532 You should have received a copy of the GNU General Public License along
533 with this program. If not, see <https://www.gnu.org/licenses/>.
534
535 As a special exception, the respective Autoconf Macro's copyright owner
536 gives unlimited permission to copy, distribute and modify the configure
537 scripts that are the output of Autoconf when processing the Macro. You
538 need not follow the terms of the GNU General Public License when using
539 or distributing such scripts, even though portions of the text of the
540 Macro appear in them. The GNU General Public License (GPL) does govern
541 all other use of the material that constitutes the Autoconf Macro.
542
543 This special exception to the GPL applies to versions of the Autoconf
544 Macro released by the Autoconf Archive. When you make and distribute a
545 modified version of the Autoconf Macro, you may extend this special
546 exception to the GPL to apply to your modified version as well.
547
548 
549 File: autoconf-archive.info, Node: ax_check_zlib, Next: ax_code_coverage, Prev: ax_check_x86_features, Up: The Macros
550
551 ax_check_zlib
552 =============
553
554 Synopsis
555 ********
556
557 AX_CHECK_ZLIB([action-if-found], [action-if-not-found])
558
559 Description
560 ***********
561
562 This macro searches for an installed zlib library. If nothing was
563 specified when calling configure, it searches first in /usr/local and
564 then in /usr, /opt/local and /sw. If the -with-zlib=DIR is specified,
565 it will try to find it in DIR/include/zlib.h and DIR/lib/libz.a. If
566 -without-zlib is specified, the library is not searched at all.
567
568 If either the header file (zlib.h) or the library (libz) is not found,
569 shell commands 'action-if-not-found' is run. If 'action-if-not-found'
570 is not specified, the configuration exits on error, asking for a valid
571 zlib installation directory or -without-zlib.
572
573 If both header file and library are found, shell commands
574 'action-if-found' is run. If 'action-if-found' is not specified, the
575 default action appends '-I${ZLIB_HOME}/include' to CPFLAGS, appends
576 '-L$ZLIB_HOME}/lib' to LDFLAGS, prepends '-lz' to LIBS, and calls
577 AC_DEFINE(HAVE_LIBZ). You should use autoheader to include a definition
578 for this symbol in a config.h file. Sample usage in a C/C++ source is
579 as follows:
580
581 #ifdef HAVE_LIBZ
582 #include <zlib.h>
583 #endif /* HAVE_LIBZ */
584
585 Source Code
586 ***********
587
588 Download the latest version of 'ax_check_zlib.m4'
589 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_zlib.m4)
590 or browse the macro's revision history
591 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_zlib.m4).
592
593 License
594 *******
595
596 Copyright (C) 2008 Loic Dachary <loic@senga.org>
597 Copyright (C) 2010 Bastien Chevreux <bach@chevreux.org>
598
599 This program is free software; you can redistribute it and/or modify it
600 under the terms of the GNU General Public License as published by the
601 Free Software Foundation; either version 2 of the License, or (at your
602 option) any later version.
603
604 This program is distributed in the hope that it will be useful, but
605 WITHOUT ANY WARRANTY; without even the implied warranty of
606 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
607 Public License for more details.
608
609 You should have received a copy of the GNU General Public License along
610 with this program. If not, see <https://www.gnu.org/licenses/>.
611
612 As a special exception, the respective Autoconf Macro's copyright owner
613 gives unlimited permission to copy, distribute and modify the configure
614 scripts that are the output of Autoconf when processing the Macro. You
615 need not follow the terms of the GNU General Public License when using
616 or distributing such scripts, even though portions of the text of the
617 Macro appear in them. The GNU General Public License (GPL) does govern
618 all other use of the material that constitutes the Autoconf Macro.
619
620 This special exception to the GPL applies to versions of the Autoconf
621 Macro released by the Autoconf Archive. When you make and distribute a
622 modified version of the Autoconf Macro, you may extend this special
623 exception to the GPL to apply to your modified version as well.
624
625 
626 File: autoconf-archive.info, Node: ax_code_coverage, Next: ax_compare_version, Prev: ax_check_zlib, Up: The Macros
627
628 ax_code_coverage
629 ================
630
631 Synopsis
632 ********
633
634 AX_CODE_COVERAGE()
635
636 Description
637 ***********
638
639 Defines CODE_COVERAGE_CPPFLAGS, CODE_COVERAGE_CFLAGS,
640 CODE_COVERAGE_CXXFLAGS and CODE_COVERAGE_LIBS which should be included
641 in the CPPFLAGS, CFLAGS CXXFLAGS and LIBS/LIBADD variables of every
642 build target (program or library) which should be built with code
643 coverage support. Also add rules using AX_ADD_AM_MACRO_STATIC; and
644 $enable_code_coverage which can be used in subsequent configure output.
645 CODE_COVERAGE_ENABLED is defined and substituted, and corresponds to the
646 value of the -enable-code-coverage option, which defaults to being
647 disabled.
648
649 Test also for gcov program and create GCOV variable that could be
650 substituted.
651
652 Note that all optimization flags in CFLAGS must be disabled when code
653 coverage is enabled.
654
655 Usage example:
656
657 configure.ac:
658
659 AX_CODE_COVERAGE
660
661 Makefile.am:
662
663 include $(top_srcdir)/aminclude_static.am
664
665 my_program_LIBS = ... $(CODE_COVERAGE_LIBS) ...
666 my_program_CPPFLAGS = ... $(CODE_COVERAGE_CPPFLAGS) ...
667 my_program_CFLAGS = ... $(CODE_COVERAGE_CFLAGS) ...
668 my_program_CXXFLAGS = ... $(CODE_COVERAGE_CXXFLAGS) ...
669
670 clean-local: code-coverage-clean
671 distclean-local: code-coverage-dist-clean
672
673 This results in a "check-code-coverage" rule being added to any
674 Makefile.am which do "include $(top_srcdir)/aminclude_static.am"
675 (assuming the module has been configured with -enable-code-coverage).
676 Running 'make check-code-coverage' in that directory will run the
677 module's test suite ('make check') and build a code coverage report
678 detailing the code which was touched, then print the URI for the report.
679
680 This code was derived from Makefile.decl in GLib, originally licensed
681 under LGPLv2.1+.
682
683 Source Code
684 ***********
685
686 Download the latest version of 'ax_code_coverage.m4'
687 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_code_coverage.m4)
688 or browse the macro's revision history
689 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_code_coverage.m4).
690
691 License
692 *******
693
694 Copyright (C) 2012, 2016 Philip Withnall
695 Copyright (C) 2012 Xan Lopez
696 Copyright (C) 2012 Christian Persch
697 Copyright (C) 2012 Paolo Borelli
698 Copyright (C) 2012 Dan Winship
699 Copyright (C) 2015,2018 Bastien ROUCARIES
700
701 This library is free software; you can redistribute it and/or modify it
702 under the terms of the GNU Lesser General Public License as published by
703 the Free Software Foundation; either version 2.1 of the License, or (at
704 your option) any later version.
705
706 This library is distributed in the hope that it will be useful, but
707 WITHOUT ANY WARRANTY; without even the implied warranty of
708 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
709 General Public License for more details.
710
711 You should have received a copy of the GNU Lesser General Public License
712 along with this program. If not, see <https://www.gnu.org/licenses/>.
713
714 
715 File: autoconf-archive.info, Node: ax_compare_version, Next: ax_compile_check_sizeof, Prev: ax_code_coverage, Up: The Macros
716
717 ax_compare_version
718 ==================
719
720 Synopsis
721 ********
722
723 AX_COMPARE_VERSION(VERSION_A, OP, VERSION_B, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
724
725 Description
726 ***********
727
728 This macro compares two version strings. Due to the various number of
729 minor-version numbers that can exist, and the fact that string
730 comparisons are not compatible with numeric comparisons, this is not
731 necessarily trivial to do in a autoconf script. This macro makes doing
732 these comparisons easy.
733
734 The six basic comparisons are available, as well as checking equality
735 limited to a certain number of minor-version levels.
736
737 The operator OP determines what type of comparison to do, and can be one
738 of:
739
740 eq - equal (test A == B)
741 ne - not equal (test A != B)
742 le - less than or equal (test A <= B)
743 ge - greater than or equal (test A >= B)
744 lt - less than (test A < B)
745 gt - greater than (test A > B)
746
747 Additionally, the eq and ne operator can have a number after it to limit
748 the test to that number of minor versions.
749
750 eq0 - equal up to the length of the shorter version
751 ne0 - not equal up to the length of the shorter version
752 eqN - equal up to N sub-version levels
753 neN - not equal up to N sub-version levels
754
755 When the condition is true, shell commands ACTION-IF-TRUE are run,
756 otherwise shell commands ACTION-IF-FALSE are run. The environment
757 variable 'ax_compare_version' is always set to either 'true' or 'false'
758 as well.
759
760 Examples:
761
762 AX_COMPARE_VERSION([3.15.7],[lt],[3.15.8])
763 AX_COMPARE_VERSION([3.15],[lt],[3.15.8])
764
765 would both be true.
766
767 AX_COMPARE_VERSION([3.15.7],[eq],[3.15.8])
768 AX_COMPARE_VERSION([3.15],[gt],[3.15.8])
769
770 would both be false.
771
772 AX_COMPARE_VERSION([3.15.7],[eq2],[3.15.8])
773
774 would be true because it is only comparing two minor versions.
775
776 AX_COMPARE_VERSION([3.15.7],[eq0],[3.15])
777
778 would be true because it is only comparing the lesser number of minor
779 versions of the two values.
780
781 Note: The characters that separate the version numbers do not matter.
782 An empty string is the same as version 0. OP is evaluated by autoconf,
783 not configure, so must be a string, not a variable.
784
785 The author would like to acknowledge Guido Draheim whose advice about
786 the m4_case and m4_ifvaln functions make this macro only include the
787 portions necessary to perform the specific comparison specified by the
788 OP argument in the final configure script.
789
790 Source Code
791 ***********
792
793 Download the latest version of 'ax_compare_version.m4'
794 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compare_version.m4)
795 or browse the macro's revision history
796 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compare_version.m4).
797
798 License
799 *******
800
801 Copyright (C) 2008 Tim Toolan <toolan@ele.uri.edu>
802
803 Copying and distribution of this file, with or without modification, are
804 permitted in any medium without royalty provided the copyright notice
805 and this notice are preserved. This file is offered as-is, without any
806 warranty.
807
808 
809 File: autoconf-archive.info, Node: ax_compile_check_sizeof, Next: ax_compiler_flags, Prev: ax_compare_version, Up: The Macros
810
811 ax_compile_check_sizeof
812 =======================
813
814 Synopsis
815 ********
816
817 AX_COMPILE_CHECK_SIZEOF(TYPE [, HEADERS [, EXTRA_SIZES...]])
818
819 Description
820 ***********
821
822 This macro checks for the size of TYPE using compile checks, not run
823 checks. You can supply extra HEADERS to look into. the check will
824 cycle through 1 2 4 8 16 and any EXTRA_SIZES the user supplies. If a
825 match is found, it will #define SIZEOF_'TYPE' to that value. Otherwise
826 it will emit a configure time error indicating the size of the type
827 could not be determined.
828
829 The trick is that C will not allow duplicate case labels. While this is
830 valid C code:
831
832 switch (0) case 0: case 1:;
833
834 The following is not:
835
836 switch (0) case 0: case 0:;
837
838 Thus, the AC_COMPILE_IFELSE will fail if the currently tried size does
839 not match.
840
841 Here is an example skeleton configure.in script, demonstrating the
842 macro's usage:
843
844 AC_PROG_CC
845 AC_CHECK_HEADERS(stddef.h unistd.h)
846 AC_TYPE_SIZE_T
847 AC_CHECK_TYPE(ssize_t, int)
848
849 headers='#ifdef HAVE_STDDEF_H
850 #include <stddef.h>
851 #endif
852 #ifdef HAVE_UNISTD_H
853 #include <unistd.h>
854 #endif
855 '
856
857 AX_COMPILE_CHECK_SIZEOF(char)
858 AX_COMPILE_CHECK_SIZEOF(short)
859 AX_COMPILE_CHECK_SIZEOF(int)
860 AX_COMPILE_CHECK_SIZEOF(long)
861 AX_COMPILE_CHECK_SIZEOF(unsigned char *)
862 AX_COMPILE_CHECK_SIZEOF(void *)
863 AX_COMPILE_CHECK_SIZEOF(size_t, $headers)
864 AX_COMPILE_CHECK_SIZEOF(ssize_t, $headers)
865 AX_COMPILE_CHECK_SIZEOF(ptrdiff_t, $headers)
866 AX_COMPILE_CHECK_SIZEOF(off_t, $headers)
867
868 Source Code
869 ***********
870
871 Download the latest version of 'ax_compile_check_sizeof.m4'
872 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compile_check_sizeof.m4)
873 or browse the macro's revision history
874 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compile_check_sizeof.m4).
875
876 License
877 *******
878
879 Copyright (C) 2008 Kaveh Ghazi <ghazi@caip.rutgers.edu>
880 Copyright (C) 2017 Reini Urban <rurban@cpan.org>
881
882 This program is free software: you can redistribute it and/or modify it
883 under the terms of the GNU General Public License as published by the
884 Free Software Foundation, either version 3 of the License, or (at your
885 option) any later version.
886
887 This program is distributed in the hope that it will be useful, but
888 WITHOUT ANY WARRANTY; without even the implied warranty of
889 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
890 Public License for more details.
891
892 You should have received a copy of the GNU General Public License along
893 with this program. If not, see <https://www.gnu.org/licenses/>.
894
895 As a special exception, the respective Autoconf Macro's copyright owner
896 gives unlimited permission to copy, distribute and modify the configure
897 scripts that are the output of Autoconf when processing the Macro. You
898 need not follow the terms of the GNU General Public License when using
899 or distributing such scripts, even though portions of the text of the
900 Macro appear in them. The GNU General Public License (GPL) does govern
901 all other use of the material that constitutes the Autoconf Macro.
902
903 This special exception to the GPL applies to versions of the Autoconf
904 Macro released by the Autoconf Archive. When you make and distribute a
905 modified version of the Autoconf Macro, you may extend this special
906 exception to the GPL to apply to your modified version as well.
907
908 
909 File: autoconf-archive.info, Node: ax_compiler_flags, Next: ax_compiler_flags_cflags, Prev: ax_compile_check_sizeof, Up: The Macros
910
911 ax_compiler_flags
912 =================
913
914 Synopsis
915 ********
916
917 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])
918
919 Description
920 ***********
921
922 Check for the presence of an -enable-compile-warnings option to
923 configure, defaulting to "error" in normal operation, or "yes" if
924 IS-RELEASE is equal to "yes". Return the value in the variable
925 $ax_enable_compile_warnings.
926
927 Depending on the value of -enable-compile-warnings, different compiler
928 warnings are checked to see if they work with the current compiler and,
929 if so, are appended to CFLAGS-VARIABLE and LDFLAGS-VARIABLE. This allows
930 a consistent set of baseline compiler warnings to be used across a code
931 base, irrespective of any warnings enabled locally by individual
932 developers. By standardising the warnings used by all developers of a
933 project, the project can commit to a zero-warnings policy, using -Werror
934 to prevent compilation if new warnings are introduced. This makes
935 catching bugs which are flagged by warnings a lot easier.
936
937 By providing a consistent -enable-compile-warnings argument across all
938 projects using this macro, continuous integration systems can easily be
939 configured the same for all projects. Automated systems or build
940 systems aimed at beginners may want to pass the -disable-Werror argument
941 to unconditionally prevent warnings being fatal.
942
943 -enable-compile-warnings can take the values:
944
945 * no: Base compiler warnings only; not even -Wall.
946 * yes: The above, plus a broad range of useful warnings.
947 * error: The above, plus -Werror so that all warnings are fatal.
948 Use --disable-Werror to override this and disable fatal
949 warnings.
950
951 The set of base and enabled flags can be augmented using the
952 EXTRA-*-CFLAGS and EXTRA-*-LDFLAGS variables, which are tested and
953 appended to the output variable if -enable-compile-warnings is not "no".
954 Flags should not be disabled using these arguments, as the entire point
955 of AX_COMPILER_FLAGS is to enforce a consistent set of useful compiler
956 warnings on code, using warnings which have been chosen for low false
957 positive rates. If a compiler emits false positives for a warning, a
958 #pragma should be used in the code to disable the warning locally. See:
959
960 https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas
961
962 The EXTRA-* variables should only be used to supply extra warning flags,
963 and not general purpose compiler flags, as they are controlled by
964 configure options such as -disable-Werror.
965
966 IS-RELEASE can be used to disable -Werror when making a release, which
967 is useful for those hairy moments when you just want to get the release
968 done as quickly as possible. Set it to "yes" to disable -Werror. By
969 default, it uses the value of $ax_is_release, so if you are using the
970 AX_IS_RELEASE macro, there is no need to pass this parameter. For
971 example:
972
973 AX_IS_RELEASE([git-directory])
974 AX_COMPILER_FLAGS()
975
976 CFLAGS-VARIABLE defaults to WARN_CFLAGS, and LDFLAGS-VARIABLE defaults
977 to WARN_LDFLAGS. Both variables are AC_SUBST-ed by this macro, but must
978 be manually added to the CFLAGS and LDFLAGS variables for each target in
979 the code base.
980
981 If C++ language support is enabled with AC_PROG_CXX, which must occur
982 before this macro in configure.ac, warning flags for the C++ compiler
983 are AC_SUBST-ed as WARN_CXXFLAGS, and must be manually added to the
984 CXXFLAGS variables for each target in the code base. EXTRA-*-CFLAGS can
985 be used to augment the base and enabled flags.
986
987 Warning flags for g-ir-scanner (from GObject Introspection) are
988 AC_SUBST-ed as WARN_SCANNERFLAGS. This variable must be manually added
989 to the SCANNERFLAGS variable for each GIR target in the code base. If
990 extra g-ir-scanner flags need to be enabled, the AX_COMPILER_FLAGS_GIR
991 macro must be invoked manually.
992
993 AX_COMPILER_FLAGS may add support for other tools in future, in addition
994 to the compiler and linker. No extra EXTRA-* variables will be added
995 for those tools, and all extra support will still use the single
996 -enable-compile-warnings configure option. For finer grained control
997 over the flags for individual tools, use AX_COMPILER_FLAGS_CFLAGS,
998 AX_COMPILER_FLAGS_LDFLAGS and AX_COMPILER_FLAGS_* for new tools.
999
1000 The UNUSED variables date from a previous version of this macro, and are
1001 automatically appended to the preceding non-UNUSED variable. They
1002 should be left empty in new uses of the macro.
1003
1004 Source Code
1005 ***********
1006
1007 Download the latest version of 'ax_compiler_flags.m4'
1008 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags.m4)
1009 or browse the macro's revision history
1010 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags.m4).
1011
1012 License
1013 *******
1014
1015 Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
1016 Copyright (C) 2015 David King <amigadave@amigadave.com>
1017
1018 Copying and distribution of this file, with or without modification, are
1019 permitted in any medium without royalty provided the copyright notice
1020 and this notice are preserved. This file is offered as-is, without any
1021 warranty.
1022
1023 
1024 File: autoconf-archive.info, Node: ax_compiler_flags_cflags, Next: ax_compiler_flags_cxxflags, Prev: ax_compiler_flags, Up: The Macros
1025
1026 ax_compiler_flags_cflags
1027 ========================
1028
1029 Synopsis
1030 ********
1031
1032 AX_COMPILER_FLAGS_CFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
1033
1034 Description
1035 ***********
1036
1037 Add warning flags for the C compiler to VARIABLE, which defaults to
1038 WARN_CFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be manually
1039 added to the CFLAGS variable for each target in the code base.
1040
1041 This macro depends on the environment set up by AX_COMPILER_FLAGS.
1042 Specifically, it uses the value of $ax_enable_compile_warnings to decide
1043 which flags to enable.
1044
1045 Source Code
1046 ***********
1047
1048 Download the latest version of 'ax_compiler_flags_cflags.m4'
1049 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_cflags.m4)
1050 or browse the macro's revision history
1051 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_cflags.m4).
1052
1053 License
1054 *******
1055
1056 Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
1057 Copyright (C) 2017, 2018 Reini Urban <rurban@cpan.org>
1058
1059 Copying and distribution of this file, with or without modification, are
1060 permitted in any medium without royalty provided the copyright notice
1061 and this notice are preserved. This file is offered as-is, without any
1062 warranty.
1063
1064 
1065 File: autoconf-archive.info, Node: ax_compiler_flags_cxxflags, Next: ax_compiler_flags_gir, Prev: ax_compiler_flags_cflags, Up: The Macros
1066
1067 ax_compiler_flags_cxxflags
1068 ==========================
1069
1070 Synopsis
1071 ********
1072
1073 AX_COMPILER_FLAGS_CXXFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
1074
1075 Description
1076 ***********
1077
1078 Add warning flags for the C++ compiler to VARIABLE, which defaults to
1079 WARN_CXXFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be
1080 manually added to the CXXFLAGS variable for each target in the code
1081 base.
1082
1083 This macro depends on the environment set up by AX_COMPILER_FLAGS.
1084 Specifically, it uses the value of $ax_enable_compile_warnings to decide
1085 which flags to enable.
1086
1087 Source Code
1088 ***********
1089
1090 Download the latest version of 'ax_compiler_flags_cxxflags.m4'
1091 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_cxxflags.m4)
1092 or browse the macro's revision history
1093 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_cxxflags.m4).
1094
1095 License
1096 *******
1097
1098 Copyright (C) 2015 David King <amigadave@amigadave.com>
1099
1100 Copying and distribution of this file, with or without modification, are
1101 permitted in any medium without royalty provided the copyright notice
1102 and this notice are preserved. This file is offered as-is, without any
1103 warranty.
1104
1105 
1106 File: autoconf-archive.info, Node: ax_compiler_flags_gir, Next: ax_compiler_flags_ldflags, Prev: ax_compiler_flags_cxxflags, Up: The Macros
1107
1108 ax_compiler_flags_gir
1109 =====================
1110
1111 Synopsis
1112 ********
1113
1114 AX_COMPILER_FLAGS_GIR([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
1115
1116 Description
1117 ***********
1118
1119 Add warning flags for the g-ir-scanner (from GObject Introspection) to
1120 VARIABLE, which defaults to WARN_SCANNERFLAGS. VARIABLE is AC_SUBST-ed
1121 by this macro, but must be manually added to the SCANNERFLAGS variable
1122 for each GIR target in the code base.
1123
1124 This macro depends on the environment set up by AX_COMPILER_FLAGS.
1125 Specifically, it uses the value of $ax_enable_compile_warnings to decide
1126 which flags to enable.
1127
1128 Source Code
1129 ***********
1130
1131 Download the latest version of 'ax_compiler_flags_gir.m4'
1132 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_gir.m4)
1133 or browse the macro's revision history
1134 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_gir.m4).
1135
1136 License
1137 *******
1138
1139 Copyright (C) 2015 Philip Withnall <philip@tecnocode.co.uk>
1140
1141 Copying and distribution of this file, with or without modification, are
1142 permitted in any medium without royalty provided the copyright notice
1143 and this notice are preserved. This file is offered as-is, without any
1144 warranty.
1145
1146 
1147 File: autoconf-archive.info, Node: ax_compiler_flags_ldflags, Next: ax_compiler_vendor, Prev: ax_compiler_flags_gir, Up: The Macros
1148
1149 ax_compiler_flags_ldflags
1150 =========================
1151
1152 Synopsis
1153 ********
1154
1155 AX_COMPILER_FLAGS_LDFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
1156
1157 Description
1158 ***********
1159
1160 Add warning flags for the linker to VARIABLE, which defaults to
1161 WARN_LDFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be
1162 manually added to the LDFLAGS variable for each target in the code base.
1163
1164 This macro depends on the environment set up by AX_COMPILER_FLAGS.
1165 Specifically, it uses the value of $ax_enable_compile_warnings to decide
1166 which flags to enable.
1167
1168 Source Code
1169 ***********
1170
1171 Download the latest version of 'ax_compiler_flags_ldflags.m4'
1172 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_ldflags.m4)
1173 or browse the macro's revision history
1174 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_ldflags.m4).
1175
1176 License
1177 *******
1178
1179 Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
1180 Copyright (C) 2017, 2018 Reini Urban <rurban@cpan.org>
1181
1182 Copying and distribution of this file, with or without modification, are
1183 permitted in any medium without royalty provided the copyright notice
1184 and this notice are preserved. This file is offered as-is, without any
1185 warranty.
1186
1187 
1188 File: autoconf-archive.info, Node: ax_compiler_vendor, Next: ax_compiler_version, Prev: ax_compiler_flags_ldflags, Up: The Macros
1189
1190 ax_compiler_vendor
1191 ==================
1192
1193 Synopsis
1194 ********
1195
1196 AX_COMPILER_VENDOR
1197
1198 Description
1199 ***********
1200
1201 Determine the vendor of the C, C++ or Fortran compiler. The vendor is
1202 returned in the cache variable $ax_cv_c_compiler_vendor for C,
1203 $ax_cv_cxx_compiler_vendor for C++ or $ax_cv_fc_compiler_vendor for
1204 (modern) Fortran. The value is one of "intel", "ibm", "pathscale",
1205 "clang" (LLVM), "cray", "fujitsu", "sdcc", "sx", "portland" (PGI), "gnu"
1206 (GCC), "sun" (Oracle Developer Studio), "hp", "dec", "borland",
1207 "comeau", "kai", "lcc", "sgi", "microsoft", "metrowerks", "watcom",
1208 "tcc" (Tiny CC) or "unknown" (if the compiler cannot be determined).
1209
1210 To check for a Fortran compiler, you must first call AC_FC_PP_SRCEXT
1211 with an appropriate preprocessor-enabled extension. For example:
1212
1213 AC_LANG_PUSH([Fortran])
1214 AC_PROG_FC
1215 AC_FC_PP_SRCEXT([F])
1216 AX_COMPILER_VENDOR
1217 AC_LANG_POP([Fortran])
1218
1219 Source Code
1220 ***********
1221
1222 Download the latest version of 'ax_compiler_vendor.m4'
1223 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_vendor.m4)
1224 or browse the macro's revision history
1225 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_vendor.m4).
1226
1227 License
1228 *******
1229
1230 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
1231 Copyright (C) 2008 Matteo Frigo
1232 Copyright (C) 2018-19 John Zaitseff <J.Zaitseff@zap.org.au>
1233
1234 This program is free software: you can redistribute it and/or modify it
1235 under the terms of the GNU General Public License as published by the
1236 Free Software Foundation, either version 3 of the License, or (at your
1237 option) any later version.
1238
1239 This program is distributed in the hope that it will be useful, but
1240 WITHOUT ANY WARRANTY; without even the implied warranty of
1241 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
1242 Public License for more details.
1243
1244 You should have received a copy of the GNU General Public License along
1245 with this program. If not, see <https://www.gnu.org/licenses/>.
1246
1247 As a special exception, the respective Autoconf Macro's copyright owner
1248 gives unlimited permission to copy, distribute and modify the configure
1249 scripts that are the output of Autoconf when processing the Macro. You
1250 need not follow the terms of the GNU General Public License when using
1251 or distributing such scripts, even though portions of the text of the
1252 Macro appear in them. The GNU General Public License (GPL) does govern
1253 all other use of the material that constitutes the Autoconf Macro.
1254
1255 This special exception to the GPL applies to versions of the Autoconf
1256 Macro released by the Autoconf Archive. When you make and distribute a
1257 modified version of the Autoconf Macro, you may extend this special
1258 exception to the GPL to apply to your modified version as well.
1259
1260 
1261 File: autoconf-archive.info, Node: ax_compiler_version, Next: ax_compute_relative_paths, Prev: ax_compiler_vendor, Up: The Macros
1262
1263 ax_compiler_version
1264 ===================
1265
1266 Synopsis
1267 ********
1268
1269 AX_COMPILER_VERSION
1270
1271 Description
1272 ***********
1273
1274 This macro retrieves the compiler version and returns it in the cache
1275 variable $ax_cv_c_compiler_version for C and $ax_cv_cxx_compiler_version
1276 for C++.
1277
1278 Version is returned as epoch:major.minor.patchversion
1279
1280 Epoch is used in order to have an increasing version number in case of
1281 marketing change.
1282
1283 Epoch use: * borland compiler use chronologically 0turboc for turboc
1284 era,
1285
1286 1borlanc BORLANDC++ before 5, 2cppbuilder for cppbuilder era,
1287 3borlancpp for return of BORLANDC++ (after version 5.5),
1288 4cppbuilder for cppbuilder with year version,
1289 and 5xe for XE era.
1290
1291 An empty string is returned otherwise.
1292
1293 Source Code
1294 ***********
1295
1296 Download the latest version of 'ax_compiler_version.m4'
1297 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_version.m4)
1298 or browse the macro's revision history
1299 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_version.m4).
1300
1301 License
1302 *******
1303
1304 Copyright (C) 2014 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
1305
1306 Copying and distribution of this file, with or without modification, are
1307 permitted in any medium without royalty provided the copyright notice
1308 and this notice are preserved. This file is offered as-is, without any
1309 warranty.
1310
1311 
1312 File: autoconf-archive.info, Node: ax_compute_relative_paths, Next: ax_compute_standard_relative_paths, Prev: ax_compiler_version, Up: The Macros
1313
1314 ax_compute_relative_paths
1315 =========================
1316
1317 Synopsis
1318 ********
1319
1320 AX_COMPUTE_RELATIVE_PATHS(PATH_LIST)
1321
1322 Description
1323 ***********
1324
1325 PATH_LIST is a space-separated list of colon-separated triplets of the
1326 form 'FROM:TO:RESULT'. This function iterates over these triplets and
1327 set $RESULT to the relative path from $FROM to $TO. Note that $FROM and
1328 $TO needs to be absolute filenames for this macro to success.
1329
1330 For instance,
1331
1332 first=/usr/local/bin
1333 second=/usr/local/share
1334 AX_COMPUTE_RELATIVE_PATHS([first:second:fs second:first:sf])
1335 # $fs is set to ../share
1336 # $sf is set to ../bin
1337
1338 $FROM and $TO are both eval'ed recursively and normalized, this means
1339 that you can call this macro with autoconf's dirnames like 'prefix' or
1340 'datadir'. For example:
1341
1342 AX_COMPUTE_RELATIVE_PATHS([bindir:datadir:bin_to_data])
1343
1344 AX_COMPUTE_RELATIVE_PATHS should also works with DOS filenames.
1345
1346 You may want to use this macro in order to make your package
1347 relocatable. Instead of hardcoding $datadir into your programs just
1348 encode $bin_to_data and try to determine $bindir at run-time.
1349
1350 This macro requires AX_NORMALIZE_PATH and AX_RECURSIVE_EVAL.
1351
1352 Source Code
1353 ***********
1354
1355 Download the latest version of 'ax_compute_relative_paths.m4'
1356 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compute_relative_paths.m4)
1357 or browse the macro's revision history
1358 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compute_relative_paths.m4).
1359
1360 License
1361 *******
1362
1363 Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
1364
1365 This program is free software; you can redistribute it and/or modify it
1366 under the terms of the GNU General Public License as published by the
1367 Free Software Foundation; either version 2 of the License, or (at your
1368 option) any later version.
1369
1370 This program is distributed in the hope that it will be useful, but
1371 WITHOUT ANY WARRANTY; without even the implied warranty of
1372 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
1373 Public License for more details.
1374
1375 You should have received a copy of the GNU General Public License along
1376 with this program. If not, see <https://www.gnu.org/licenses/>.
1377
1378 As a special exception, the respective Autoconf Macro's copyright owner
1379 gives unlimited permission to copy, distribute and modify the configure
1380 scripts that are the output of Autoconf when processing the Macro. You
1381 need not follow the terms of the GNU General Public License when using
1382 or distributing such scripts, even though portions of the text of the
1383 Macro appear in them. The GNU General Public License (GPL) does govern
1384 all other use of the material that constitutes the Autoconf Macro.
1385
1386 This special exception to the GPL applies to versions of the Autoconf
1387 Macro released by the Autoconf Archive. When you make and distribute a
1388 modified version of the Autoconf Macro, you may extend this special
1389 exception to the GPL to apply to your modified version as well.
1390
1391 
1392 File: autoconf-archive.info, Node: ax_compute_standard_relative_paths, Next: ax_cond_with_level, Prev: ax_compute_relative_paths, Up: The Macros
1393
1394 ax_compute_standard_relative_paths
1395 ==================================
1396
1397 Synopsis
1398 ********
1399
1400 AX_COMPUTE_STANDARD_RELATIVE_PATHS
1401
1402 Description
1403 ***********
1404
1405 Here is the standard hierarchy of paths, as defined by the GNU Coding
1406 Standards:
1407
1408 prefix
1409 exec_prefix
1410 bindir
1411 libdir
1412 libexecdir
1413 sbindir
1414 datarootdir
1415 docdir
1416 infodir
1417 htmldir
1418 dvidir
1419 psdir
1420 pdfdir
1421 localedir
1422 datadir (only for autoconf >= 2.59c)
1423 infodir (only for autoconf >= 2.59c)
1424 mandir (only for autoconf >= 2.59c)
1425 lispdir (only for autoconf >= 2.59c)
1426 datadir (only for autoconf < 2.59c)
1427 infodir (only for autoconf < 2.59c)
1428 mandir (only for autoconf < 2.59c)
1429 lispdir (only for autoconf < 2.59c)
1430 sysconfdir
1431 sharedstatedir
1432 localstatedir
1433 runstatedir (only for autoconf >= 2.70)
1434 includedir
1435 oldincludedir
1436
1437 This macro will setup a set of variables of the form
1438 'xxx_forward_relative_path' and 'xxx_backward_relative_path' where xxx
1439 is one of the above directories. The latter variable is set to the
1440 relative path to go from xxx to its parent directory, while the former
1441 hold the other way.
1442
1443 For instance 'bindir_relative_path' will contains the value to add to
1444 $exec_prefix to reach the $bindir directory (usually 'bin'), and
1445 'bindir_backward_relative_path' the value to append to $bindir to reach
1446 the $exec_prefix directory (usually '..').
1447
1448 This macro requires AX_COMPUTE_RELATIVE_PATHS which itself requires
1449 AX_NORMALIZE_PATH.
1450
1451 Source Code
1452 ***********
1453
1454 Download the latest version of 'ax_compute_standard_relative_paths.m4'
1455 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compute_standard_relative_paths.m4)
1456 or browse the macro's revision history
1457 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compute_standard_relative_paths.m4).
1458
1459 License
1460 *******
1461
1462 Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
1463 Copyright (C) 2015 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
1464
1465 This program is free software; you can redistribute it and/or modify it
1466 under the terms of the GNU General Public License as published by the
1467 Free Software Foundation; either version 2 of the License, or (at your
1468 option) any later version.
1469
1470 This program is distributed in the hope that it will be useful, but
1471 WITHOUT ANY WARRANTY; without even the implied warranty of
1472 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
1473 Public License for more details.
1474
1475 You should have received a copy of the GNU General Public License along
1476 with this program. If not, see <https://www.gnu.org/licenses/>.
1477
1478 As a special exception, the respective Autoconf Macro's copyright owner
1479 gives unlimited permission to copy, distribute and modify the configure
1480 scripts that are the output of Autoconf when processing the Macro. You
1481 need not follow the terms of the GNU General Public License when using
1482 or distributing such scripts, even though portions of the text of the
1483 Macro appear in them. The GNU General Public License (GPL) does govern
1484 all other use of the material that constitutes the Autoconf Macro.
1485
1486 This special exception to the GPL applies to versions of the Autoconf
1487 Macro released by the Autoconf Archive. When you make and distribute a
1488 modified version of the Autoconf Macro, you may extend this special
1489 exception to the GPL to apply to your modified version as well.
1490
1491 
1492 File: autoconf-archive.info, Node: ax_cond_with_level, Next: ax_config_feature, Prev: ax_compute_standard_relative_paths, Up: The Macros
1493
1494 ax_cond_with_level
1495 ==================
1496
1497 Synopsis
1498 ********
1499
1500 AX_COND_WITH_LEVEL(PACKAGE [,DEFAULT [,YESLEVEL]])
1501
1502 Description
1503 ***********
1504
1505 Actually used after an AC_ARG_WITH(PKG,...) option-directive, where
1506 AC_ARG_WITH is a part of the standard autoconf to define a 'configure'
1507 -with-PKG option.
1508
1509 This macros works almost like AC_COND_WITH(PACKAGE [,DEFAULT]), but the
1510 definition is set to a numeric value. The level of a simple "yes" is
1511 given (or assumed "2" if absent), otherwise the level can be given in
1512 mnemonic names, being:
1513
1514 1 = some
1515 2 = many
1516 3 = all
1517 4 = extra
1518 5 = extrasome more
1519 6 = extramany muchmore much
1520 7 = super everything
1521 8 = ultra experimental
1522 9 = insane
1523
1524 this macro is most handily it making Makefile.in/Makefile.am that have a
1525 set of with-level declarations, especially optimization-levels
1526
1527 the $withval shell-variable is set for further examination (it carries
1528 the numeric value of the various mnemonics above)
1529
1530 Source Code
1531 ***********
1532
1533 Download the latest version of 'ax_cond_with_level.m4'
1534 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cond_with_level.m4)
1535 or browse the macro's revision history
1536 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cond_with_level.m4).
1537
1538 License
1539 *******
1540
1541 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
1542
1543 Copying and distribution of this file, with or without modification, are
1544 permitted in any medium without royalty provided the copyright notice
1545 and this notice are preserved. This file is offered as-is, without any
1546 warranty.
1547
1548 
1549 File: autoconf-archive.info, Node: ax_config_feature, Next: ax_configure_args, Prev: ax_cond_with_level, Up: The Macros
1550
1551 ax_config_feature
1552 =================
1553
1554 Synopsis
1555 ********
1556
1557 AX_CONFIG_FEATURE(FEATURE-NAME, FEATURE-DESCRIPTION, DEFINE, DEFINE-DESCRIPTION, [ACTION-IF-ENABLED [, ACTION-IF-NOT-ENABLED]])
1558
1559 Description
1560 ***********
1561
1562 AX_CONFIG_FEATURE is a simple wrapper for AC_ARG_ENABLE, it enables the
1563 feature FEATURE-NAME and AC_DEFINEs the passed DEFINE, depending on the
1564 user choice. DESCRIPTION will be used for AC_DEFINEs.
1565 ACTION-IF-ENABLED and ACTION-IF-NOT-ENABLED are the actions that will be
1566 run. A feature is enabled by default, in order to change this behaviour
1567 use the AX_CONFIG_FEATURE_DEFAULT_ENABLED and
1568 AX_CONFIG_FEATURE_DEFAULT_DISABLED macros.
1569
1570 A simple example:
1571
1572 AX_CONFIG_FEATURE_DEFAULT_ENABLED
1573 AX_CONFIG_FEATURE(feature_xxxxx, [turns on/off XXXXX support],
1574 HAVE_XXXXX, [Define if you want XXXXX support])
1575
1576 ...
1577
1578 AX_CONFIG_FEATURE_DEFAULT_DISABLED
1579 AX_CONFIG_FEATURE(feature_yyyyy, [turns on/off YYYYY support],
1580 HAVE_YYYYY, [Define if you want YYYYY support],
1581 [enable_yyyyy="yes"], [enable_yyyyy="no"])
1582 AM_CONDITIONAL(YYYYY, [test "$enable_yyyyy" = "yes"])
1583
1584 AX_CONFIG_FEATURE_DEFAULT_ENABLED
1585 AX_CONFIG_FEATURE(...)
1586
1587 ...
1588
1589 If you have lot of features and you want a verbose dumping of each user
1590 selection use AX_CONFIG_FEATURE_VERBOSE. Use AX_CONFIG_FEATURE_SILENT in
1591 order to remove a previously AX_CONFIG_FEATURE_VERBOSE. By default
1592 features are silent.
1593
1594 Use AX_CONFIG_FEATURE_ENABLE or AX_CONFIG_FEATURE_DISABLE in order to
1595 enable or disable a specific feature.
1596
1597 Another simple example:
1598
1599 AS_IF([some_test_here],[AX_CONFIG_FEATURE_ENABLE(feature_xxxxx)],[])
1600
1601 AX_CONFIG_FEATURE(feature_xxxxx, [turns on/off XXXXX support],
1602 HAVE_XXXXX, [Define if you want XXXXX support])
1603 AX_CONFIG_FEATURE(feature_yyyyy, [turns on/off YYYYY support],
1604 HAVE_YYYYY, [Define if you want YYYYY support],
1605 [enable_yyyyy="yes"], [enable_yyyyy="no"])
1606
1607 ...
1608
1609 NOTE: AX_CONFIG_FEATURE_ENABLE() must be placed first of the relative
1610 AX_CONFIG_FEATURE() macro ...
1611
1612 Source Code
1613 ***********
1614
1615 Download the latest version of 'ax_config_feature.m4'
1616 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_config_feature.m4)
1617 or browse the macro's revision history
1618 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_config_feature.m4).
1619
1620 License
1621 *******
1622
1623 Copyright (C) 2008 Francesco Salvestrini <salvestrini@users.sourceforge.net>
1624
1625 This program is free software; you can redistribute it and/or modify it
1626 under the terms of the GNU General Public License as published by the
1627 Free Software Foundation; either version 2 of the License, or (at your
1628 option) any later version.
1629
1630 This program is distributed in the hope that it will be useful, but
1631 WITHOUT ANY WARRANTY; without even the implied warranty of
1632 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
1633 Public License for more details.
1634
1635 You should have received a copy of the GNU General Public License along
1636 with this program. If not, see <https://www.gnu.org/licenses/>.
1637
1638 As a special exception, the respective Autoconf Macro's copyright owner
1639 gives unlimited permission to copy, distribute and modify the configure
1640 scripts that are the output of Autoconf when processing the Macro. You
1641 need not follow the terms of the GNU General Public License when using
1642 or distributing such scripts, even though portions of the text of the
1643 Macro appear in them. The GNU General Public License (GPL) does govern
1644 all other use of the material that constitutes the Autoconf Macro.
1645
1646 This special exception to the GPL applies to versions of the Autoconf
1647 Macro released by the Autoconf Archive. When you make and distribute a
1648 modified version of the Autoconf Macro, you may extend this special
1649 exception to the GPL to apply to your modified version as well.
1650
1651 
1652 File: autoconf-archive.info, Node: ax_configure_args, Next: ax_count_cpus, Prev: ax_config_feature, Up: The Macros
1653
1654 ax_configure_args
1655 =================
1656
1657 Synopsis
1658 ********
1659
1660 AX_CONFIGURE_ARGS
1661
1662 Description
1663 ***********
1664
1665 Helper macro for AX_ENABLE_BUILDDIR.
1666
1667 The traditional way of starting a subdir-configure is running the script
1668 with ${1+"$@"} but since autoconf 2.60 this is broken. Instead we have
1669 to rely on eval'ing $ac_configure_args however some old autoconf
1670 versions do not provide that. To ensure maximum portability of autoconf
1671 extension macros this helper can be AC_REQUIRE'd so that
1672 $ac_configure_args will always be present.
1673
1674 Sadly, the traditional "exec $SHELL" of the enable_builddir macros is
1675 spoiled now and must be replaced by "eval + exit $?".
1676
1677 Example:
1678
1679 AC_DEFUN([AX_ENABLE_SUBDIR],[dnl
1680 AC_REQUIRE([AX_CONFIGURE_ARGS])dnl
1681 eval $SHELL $ac_configure_args || exit $?
1682 ...])
1683
1684 Source Code
1685 ***********
1686
1687 Download the latest version of 'ax_configure_args.m4'
1688 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_configure_args.m4)
1689 or browse the macro's revision history
1690 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_configure_args.m4).
1691
1692 License
1693 *******
1694
1695 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
1696
1697 Copying and distribution of this file, with or without modification, are
1698 permitted in any medium without royalty provided the copyright notice
1699 and this notice are preserved. This file is offered as-is, without any
1700 warranty.
1701
1702 
1703 File: autoconf-archive.info, Node: ax_count_cpus, Next: ax_cpu_freq, Prev: ax_configure_args, Up: The Macros
1704
1705 ax_count_cpus
1706 =============
1707
1708 Synopsis
1709 ********
1710
1711 AX_COUNT_CPUS([ACTION-IF-DETECTED],[ACTION-IF-NOT-DETECTED])
1712
1713 Description
1714 ***********
1715
1716 Attempt to count the number of logical processor cores (including
1717 virtual and HT cores) currently available to use on the machine and
1718 place detected value in CPU_COUNT variable.
1719
1720 On successful detection, ACTION-IF-DETECTED is executed if present. If
1721 the detection fails, then ACTION-IF-NOT-DETECTED is triggered. The
1722 default ACTION-IF-NOT-DETECTED is to set CPU_COUNT to 1.
1723
1724 Source Code
1725 ***********
1726
1727 Download the latest version of 'ax_count_cpus.m4'
1728 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_count_cpus.m4)
1729 or browse the macro's revision history
1730 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_count_cpus.m4).
1731
1732 License
1733 *******
1734
1735 Copyright (C) 2014,2016 Karlson2k (Evgeny Grin) <k2k@narod.ru>
1736 Copyright (C) 2012 Brian Aker <brian@tangent.org>
1737 Copyright (C) 2008 Michael Paul Bailey <jinxidoru@byu.net>
1738 Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
1739
1740 Copying and distribution of this file, with or without modification, are
1741 permitted in any medium without royalty provided the copyright notice
1742 and this notice are preserved. This file is offered as-is, without any
1743 warranty.
1744
1745 
1746 File: autoconf-archive.info, Node: ax_cpu_freq, Next: ax_cpu_vendor, Prev: ax_count_cpus, Up: The Macros
1747
1748 ax_cpu_freq
1749 ===========
1750
1751 Synopsis
1752 ********
1753
1754 AX_CPU_FREQ
1755
1756 Description
1757 ***********
1758
1759 Compute the CPU frequency and define CPU_FREQ accordingly.
1760
1761 Source Code
1762 ***********
1763
1764 Download the latest version of 'ax_cpu_freq.m4'
1765 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cpu_freq.m4)
1766 or browse the macro's revision history
1767 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cpu_freq.m4).
1768
1769 License
1770 *******
1771
1772 Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
1773
1774 Copying and distribution of this file, with or without modification, are
1775 permitted in any medium without royalty provided the copyright notice
1776 and this notice are preserved. This file is offered as-is, without any
1777 warranty.
1778
1779 
1780 File: autoconf-archive.info, Node: ax_cpu_vendor, Next: ax_create_generic_config, Prev: ax_cpu_freq, Up: The Macros
1781
1782 ax_cpu_vendor
1783 =============
1784
1785 Synopsis
1786 ********
1787
1788 AX_CPU_VENDOR
1789
1790 Description
1791 ***********
1792
1793 Find your CPU's vendor by requesting cpuid and define "ax_cv_cpu_vendor"
1794 accordingly. This macro depends on AX_GCC_X86_CPUID.
1795
1796 Source Code
1797 ***********
1798
1799 Download the latest version of 'ax_cpu_vendor.m4'
1800 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cpu_vendor.m4)
1801 or browse the macro's revision history
1802 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cpu_vendor.m4).
1803
1804 License
1805 *******
1806
1807 Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
1808
1809 Copying and distribution of this file, with or without modification, are
1810 permitted in any medium without royalty provided the copyright notice
1811 and this notice are preserved. This file is offered as-is, without any
1812 warranty.
1813
1814 
1815 File: autoconf-archive.info, Node: ax_create_generic_config, Next: ax_create_pkgconfig_info, Prev: ax_cpu_vendor, Up: The Macros
1816
1817 ax_create_generic_config
1818 ========================
1819
1820 Synopsis
1821 ********
1822
1823 AX_CREATE_GENERIC_CONFIG [(PACKAGEnlibs [, VERSION])]
1824
1825 Description
1826 ***********
1827
1828 Creates a generic PACKAGE-config file that has all the things that you
1829 want, hmm, well, at least it has -cflags, -version, -libs. Ahhm, did
1830 you see ax_path_generic in the autoconf-archive? ;-)
1831
1832 this macros saves you all the typing for a pkg-config.in script, you
1833 don't even need to distribute one along. Place this macro in your
1834 configure.ac, et voila, you got one that you want to install.
1835
1836 oh, btw, if the first arg looks like "mylib -lwhat' then it will go to
1837 be added to the -libs, and mylib is extracted.
1838
1839 the defaults: $1 = $PACKAGE $LIBS $2 = $VERSION there is also an
1840 AC_SUBST(GENERIC_CONFIG) that will be set to the name of the file that
1841 we did output in this macro. Use as:
1842
1843 install-exec-local: install-generic-config
1844
1845 install-generic-config:
1846 $(mkinstalldirs) $(DESTDIR)$(bindir)
1847 $(INSTALL_SCRIPT) @GENERIC_CONFIG@ $(DESTDIR)$(bindir)
1848
1849 Source Code
1850 ***********
1851
1852 Download the latest version of 'ax_create_generic_config.m4'
1853 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_generic_config.m4)
1854 or browse the macro's revision history
1855 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_generic_config.m4).
1856
1857 License
1858 *******
1859
1860 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
1861
1862 Copying and distribution of this file, with or without modification, are
1863 permitted in any medium without royalty provided the copyright notice
1864 and this notice are preserved. This file is offered as-is, without any
1865 warranty.
1866
1867 
1868 File: autoconf-archive.info, Node: ax_create_pkgconfig_info, Next: ax_create_stdint_h, Prev: ax_create_generic_config, Up: The Macros
1869
1870 ax_create_pkgconfig_info
1871 ========================
1872
1873 Synopsis
1874 ********
1875
1876 AX_CREATE_PKGCONFIG_INFO [(outputfile, [requires [,libs [,summary [,cflags [, ldflags]]]]])]
1877
1878 Description
1879 ***********
1880
1881 Defaults:
1882
1883 $1 = $PACKAGE_NAME.pc
1884 $2 = (empty)
1885 $3 = $PACKAGE_LIBS $LIBS (as set at that point in configure.ac)
1886 $4 = $PACKAGE_SUMMARY (or $1 Library)
1887 $5 = $PACKAGE_CFLAGS (as set at the point in configure.ac)
1888 $6 = $PACKAGE_LDFLAGS (as set at the point in configure.ac)
1889
1890 PACKAGE_NAME defaults to $PACKAGE if not set.
1891 PACKAGE_LIBS defaults to -l$PACKAGE_NAME if not set.
1892
1893 The resulting file is called $PACKAGE.pc.in / $PACKAGE.pc
1894
1895 You will find this macro most useful in conjunction with
1896 ax_spec_defaults that can read good initializers from the .spec file.
1897 In consequence, most of the generatable installable stuff can be made
1898 from information being updated in a single place for the whole project.
1899
1900 Source Code
1901 ***********
1902
1903 Download the latest version of 'ax_create_pkgconfig_info.m4'
1904 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_pkgconfig_info.m4)
1905 or browse the macro's revision history
1906 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_pkgconfig_info.m4).
1907
1908 License
1909 *******
1910
1911 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
1912 Copyright (C) 2008 Sven Verdoolaege <skimo@kotnet.org>
1913
1914 This program is free software; you can redistribute it and/or modify it
1915 under the terms of the GNU General Public License as published by the
1916 Free Software Foundation; either version 3 of the License, or (at your
1917 option) any later version.
1918
1919 This program is distributed in the hope that it will be useful, but
1920 WITHOUT ANY WARRANTY; without even the implied warranty of
1921 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
1922 Public License for more details.
1923
1924 You should have received a copy of the GNU General Public License along
1925 with this program. If not, see <https://www.gnu.org/licenses/>.
1926
1927 As a special exception, the respective Autoconf Macro's copyright owner
1928 gives unlimited permission to copy, distribute and modify the configure
1929 scripts that are the output of Autoconf when processing the Macro. You
1930 need not follow the terms of the GNU General Public License when using
1931 or distributing such scripts, even though portions of the text of the
1932 Macro appear in them. The GNU General Public License (GPL) does govern
1933 all other use of the material that constitutes the Autoconf Macro.
1934
1935 This special exception to the GPL applies to versions of the Autoconf
1936 Macro released by the Autoconf Archive. When you make and distribute a
1937 modified version of the Autoconf Macro, you may extend this special
1938 exception to the GPL to apply to your modified version as well.
1939
1940 
1941 File: autoconf-archive.info, Node: ax_create_stdint_h, Next: ax_create_target_h, Prev: ax_create_pkgconfig_info, Up: The Macros
1942
1943 ax_create_stdint_h
1944 ==================
1945
1946 Synopsis
1947 ********
1948
1949 AX_CREATE_STDINT_H [( HEADER-TO-GENERATE [, HEDERS-TO-CHECK])]
1950
1951 Description
1952 ***********
1953
1954 the "ISO C9X: 7.18 Integer types <stdint.h>" section requires the
1955 existence of an include file <stdint.h> that defines a set of typedefs,
1956 especially uint8_t,int32_t,uintptr_t. Many older installations will not
1957 provide this file, but some will have the very same definitions in
1958 <inttypes.h>. In other environments we can use the inet-types in
1959 <sys/types.h> which would define the typedefs int8_t and u_int8_t
1960 respectively.
1961
1962 This macros will create a local "_stdint.h" or the headerfile given as
1963 an argument. In many cases that file will just "#include <stdint.h>" or
1964 "#include <inttypes.h>", while in other environments it will provide the
1965 set of basic 'stdint's definitions/typedefs:
1966
1967 int8_t,uint8_t,int16_t,uint16_t,int32_t,uint32_t,intptr_t,uintptr_t
1968 int_least32_t.. int_fast32_t.. intmax_t
1969
1970 which may or may not rely on the definitions of other files, or using
1971 the AC_CHECK_SIZEOF macro to determine the actual sizeof each type.
1972
1973 if your header files require the stdint-types you will want to create an
1974 installable file mylib-int.h that all your other installable header may
1975 include. So if you have a library package named "mylib", just use
1976
1977 AX_CREATE_STDINT_H(mylib-int.h)
1978
1979 in configure.ac and go to install that very header file in Makefile.am
1980 along with the other headers (mylib.h) - and the mylib-specific headers
1981 can simply use "#include <mylib-int.h>" to obtain the stdint-types.
1982
1983 Remember, if the system already had a valid <stdint.h>, the generated
1984 file will include it directly. No need for fuzzy HAVE_STDINT_H
1985 things... (oops, GCC 4.2.x has deliberately disabled its stdint.h for
1986 non-c99 compilation and the c99-mode is not the default. Therefore this
1987 macro will not use the compiler's stdint.h - please complain to the GCC
1988 developers).
1989
1990 Source Code
1991 ***********
1992
1993 Download the latest version of 'ax_create_stdint_h.m4'
1994 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_stdint_h.m4)
1995 or browse the macro's revision history
1996 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_stdint_h.m4).
1997
1998 License
1999 *******
2000
2001 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
2002
2003 Copying and distribution of this file, with or without modification, are
2004 permitted in any medium without royalty provided the copyright notice
2005 and this notice are preserved. This file is offered as-is, without any
2006 warranty.
2007
2008 
2009 File: autoconf-archive.info, Node: ax_create_target_h, Next: ax_cvs, Prev: ax_create_stdint_h, Up: The Macros
2010
2011 ax_create_target_h
2012 ==================
2013
2014 Synopsis
2015 ********
2016
2017 AX_CREATE_TARGET_H [(HEADER-FILE [,PREFIX)]
2018
2019 Description
2020 ***********
2021
2022 Create the header-file and let it contain '#defines' for the target
2023 platform. This macro is used for libraries that have platform-specific
2024 quirks. Instead of inventing a target-specific target.h.in files, just
2025 let it create a header file from the definitions of AC_CANONICAL_SYSTEM
2026 and put only ifdef's in the installed header-files.
2027
2028 if the HEADER-FILE is absent, [target.h] is used.
2029 if the PREFIX is absent, [TARGET] is used.
2030 the prefix can be the packagename. (y:a-z-:A-Z_:)
2031
2032 The defines look like...
2033
2034 #ifndef TARGET_CPU_M68K
2035 #define TARGET_CPU_M68K "m68k"
2036 #endif
2037
2038 #ifndef TARGET_OS_LINUX
2039 #define TARGET_OS_LINUX "linux-gnu"
2040 #endif
2041
2042 #ifndef TARGET_OS_TYPE /* the string itself */
2043 #define TARGET_OS_TYPE "linux-gnu"
2044 #endif
2045
2046 Detail: in the case of hppa1.1, the three idents "hppa1_1" "hppa1" and
2047 "hppa" are derived, for an m68k it just two, "m68k" and "m".
2048
2049 The CREATE_TARGET_H__ variant is almost the same function, but
2050 everything is lowercased instead of uppercased, and there is a "__" in
2051 front of each prefix, so it looks like...
2052
2053 #ifndef __target_os_linux
2054 #define __target_os_linux "linux-gnulibc2"
2055 #endif
2056
2057 #ifndef __target_os__ /* the string itself */
2058 #define __target_os__ "linux-gnulibc2"
2059 #endif
2060
2061 #ifndef __target_cpu_i586
2062 #define __target_cpu_i586 "i586"
2063 #endif
2064
2065 #ifndef __target_arch_i386
2066 #define __target_arch_i386 "i386"
2067 #endif
2068
2069 #ifndef __target_arch__ /* cpu family arch */
2070 #define __target_arch__ "i386"
2071 #endif
2072
2073 Other differences: the default string-define is "__" instead of "_TYPE".
2074
2075 Personally, I prefer the second variant (which had been the first in the
2076 devprocess of this file but I assume people will often fallback to the
2077 primary variant presented herein).
2078
2079 NOTE: CREATE_TARGET_H does also fill HOST_OS-defines Functionality has
2080 been split over functions called CREATE_TARGET_H_UPPER,
2081 CREATE_TARGET_H_LOWER, CREATE_TARGET_HOST_UPPER, and
2082 CREATE_TARGET_HOST_LOWER.
2083
2084 CREATE_TARGET_H uses CREATE_TARGET_H_UPPER CREATE_TARGET_HOST_UPPER
2085 CREATE_TARGET_H_ uses CREATE_TARGET_H_LOWER CREATE_TARGET_HOST_LOWER
2086
2087 There is now a CREATE_PREFIX_TARGET_H in this file as a shorthand for
2088 PREFIX_CONFIG_H from a target.h file, however w/o the target.h ever
2089 created (the prefix is a bit different, since we add an extra -target-
2090 and -host-).
2091
2092 Source Code
2093 ***********
2094
2095 Download the latest version of 'ax_create_target_h.m4'
2096 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_target_h.m4)
2097 or browse the macro's revision history
2098 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_target_h.m4).
2099
2100 License
2101 *******
2102
2103 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
2104
2105 Copying and distribution of this file, with or without modification, are
2106 permitted in any medium without royalty provided the copyright notice
2107 and this notice are preserved. This file is offered as-is, without any
2108 warranty.
2109
2110 
2111 File: autoconf-archive.info, Node: ax_cvs, Next: ax_cxx_bool, Prev: ax_create_target_h, Up: The Macros
2112
2113 ax_cvs
2114 ======
2115
2116 Synopsis
2117 ********
2118
2119 AX_CVS([ANON_CVSROOT])
2120
2121 Description
2122 ***********
2123
2124 Adds support cvs targets within your Makefile.
2125
2126 Branching and releasing relies on you using the following version
2127 format:
2128
2129 MAJOR.MINOR.POINT
2130
2131 where MAJOR is the major version number, MINOR is the minor version
2132 number and POINT is the point release number.
2133
2134 make update
2135
2136 performs a cvs update
2137
2138 make commitlog
2139
2140 Generates a ChangeLog template with the modified, added
2141 and removed files and opens it up for editing. This is
2142 not normally used directly, but is instead called by
2143 commit. It is useful however if you want to document
2144 the work you have done, but don't want to commit just
2145 yet.
2146
2147 make commit
2148
2149 performs a cvs commit after first performing a cvs
2150 update and generating a commit log.
2151
2152 make cvs-rm FILES="file1 file2 ..."
2153
2154 removes a file or files specified by the FILES
2155 variable from the file system and from cvs. It will
2156 interactively ask you to confirm the file removal,
2157 unless the file does not exist on the file system.
2158
2159 make cvs-add FILES="file1 file2 ..."
2160
2161 adds a file or files specified by the FILES variable
2162 to cvs.
2163
2164 make branch-major
2165
2166 creates a branch based on the major version number,
2167 increments the major version number, sets the minor
2168 and point versions to zero and checks out the branch
2169 into a new directory.
2170
2171 make branch-minor
2172
2173 creates a branch based on the minor version number,
2174 increments the minor version, sets the point version
2175 to zero number and checks out the branch into a new
2176 directory.
2177
2178 make release
2179
2180 performs a cvs update, followed by a distcheck, then
2181 creates a release for the current version, increments
2182 the point release number and checks out the release
2183 into a new directory
2184
2185 make quick-release
2186
2187 same as release, but distcheck is not performed
2188
2189 Source Code
2190 ***********
2191
2192 Download the latest version of 'ax_cvs.m4'
2193 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cvs.m4)
2194 or browse the macro's revision history
2195 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cvs.m4).
2196
2197 License
2198 *******
2199
2200 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
2201
2202 Copying and distribution of this file, with or without modification, are
2203 permitted in any medium without royalty provided the copyright notice
2204 and this notice are preserved. This file is offered as-is, without any
2205 warranty.
2206
2207 
2208 File: autoconf-archive.info, Node: ax_cxx_bool, Next: ax_cxx_compile_stdcxx, Prev: ax_cvs, Up: The Macros
2209
2210 ax_cxx_bool
2211 ===========
2212
2213 Synopsis
2214 ********
2215
2216 AX_CXX_BOOL
2217
2218 Description
2219 ***********
2220
2221 If the compiler recognizes bool as a separate built-in type, define
2222 HAVE_BOOL. Note that a typedef is not a separate type since you cannot
2223 overload a function such that it accepts either the basic type or the
2224 typedef.
2225
2226 Source Code
2227 ***********
2228
2229 Download the latest version of 'ax_cxx_bool.m4'
2230 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_bool.m4)
2231 or browse the macro's revision history
2232 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_bool.m4).
2233
2234 License
2235 *******
2236
2237 Copyright (C) 2008 Todd Veldhuizen
2238 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
2239
2240 Copying and distribution of this file, with or without modification, are
2241 permitted in any medium without royalty provided the copyright notice
2242 and this notice are preserved. This file is offered as-is, without any
2243 warranty.
2244
2245 
2246 File: autoconf-archive.info, Node: ax_cxx_compile_stdcxx, Next: ax_cxx_compile_stdcxx_0x, Prev: ax_cxx_bool, Up: The Macros
2247
2248 ax_cxx_compile_stdcxx
2249 =====================
2250
2251 Synopsis
2252 ********
2253
2254 AX_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional])
2255
2256 Description
2257 ***********
2258
2259 Check for baseline language coverage in the compiler for the specified
2260 version of the C++ standard. If necessary, add switches to CXX and
2261 CXXCPP to enable support. VERSION may be '11' (for the C++11 standard)
2262 or '14' (for the C++14 standard).
2263
2264 The second argument, if specified, indicates whether you insist on an
2265 extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
2266 -std=c++11). If neither is specified, you get whatever works, with
2267 preference for no added switch, and then for an extended mode.
2268
2269 The third argument, if specified 'mandatory' or if left unspecified,
2270 indicates that baseline support for the specified C++ standard is
2271 required and that the macro should error out if no mode with that
2272 support is found. If specified 'optional', then configuration proceeds
2273 regardless, after defining HAVE_CXX${VERSION} if and only if a
2274 supporting mode is found.
2275
2276 Source Code
2277 ***********
2278
2279 Download the latest version of 'ax_cxx_compile_stdcxx.m4'
2280 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx.m4)
2281 or browse the macro's revision history
2282 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx.m4).
2283
2284 License
2285 *******
2286
2287 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
2288 Copyright (C) 2012 Zack Weinberg <zackw@panix.com>
2289 Copyright (C) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
2290 Copyright (C) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
2291
2292 Copyright (C) 2015 Paul Norman <penorman@mac.com>
2293 Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
2294 Copyright (C) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
2295 Copyright (C) 2019 Enji Cooper <yaneurabeya@gmail.com>
2296 Copyright (C) 2020 Jason Merrill <jason@redhat.com>
2297
2298 Copying and distribution of this file, with or without modification, are
2299 permitted in any medium without royalty provided the copyright notice
2300 and this notice are preserved. This file is offered as-is, without any
2301 warranty.
2302
2303 
2304 File: autoconf-archive.info, Node: ax_cxx_compile_stdcxx_0x, Next: ax_cxx_compile_stdcxx_11, Prev: ax_cxx_compile_stdcxx, Up: The Macros
2305
2306 ax_cxx_compile_stdcxx_0x
2307 ========================
2308
2309 Synopsis
2310 ********
2311
2312 AX_CXX_COMPILE_STDCXX_0X
2313
2314 Description
2315 ***********
2316
2317 Check for baseline language coverage in the compiler for the C++0x
2318 standard.
2319
2320 This macro is deprecated and has been superseded by the
2321 AX_CXX_COMPILE_STDCXX_11 macro which should be used instead.
2322
2323 Source Code
2324 ***********
2325
2326 Download the latest version of 'ax_cxx_compile_stdcxx_0x.m4'
2327 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_0x.m4)
2328 or browse the macro's revision history
2329 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_0x.m4).
2330
2331 License
2332 *******
2333
2334 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
2335
2336 Copying and distribution of this file, with or without modification, are
2337 permitted in any medium without royalty provided the copyright notice
2338 and this notice are preserved. This file is offered as-is, without any
2339 warranty.
2340
2341 
2342 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
2343
2344 ax_cxx_compile_stdcxx_11
2345 ========================
2346
2347 Synopsis
2348 ********
2349
2350 AX_CXX_COMPILE_STDCXX_11([ext|noext], [mandatory|optional])
2351
2352 Description
2353 ***********
2354
2355 Check for baseline language coverage in the compiler for the C++11
2356 standard; if necessary, add switches to CXX and CXXCPP to enable
2357 support.
2358
2359 This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
2360 macro with the version set to C++11. The two optional arguments are
2361 forwarded literally as the second and third argument respectively.
2362 Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
2363 more information. If you want to use this macro, you also need to
2364 download the ax_cxx_compile_stdcxx.m4 file.
2365
2366 Source Code
2367 ***********
2368
2369 Download the latest version of 'ax_cxx_compile_stdcxx_11.m4'
2370 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_11.m4)
2371 or browse the macro's revision history
2372 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_11.m4).
2373
2374 License
2375 *******
2376
2377 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
2378 Copyright (C) 2012 Zack Weinberg <zackw@panix.com>
2379 Copyright (C) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
2380 Copyright (C) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
2381
2382 Copyright (C) 2015 Paul Norman <penorman@mac.com>
2383 Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
2384
2385 Copying and distribution of this file, with or without modification, are
2386 permitted in any medium without royalty provided the copyright notice
2387 and this notice are preserved. This file is offered as-is, without any
2388 warranty.
2389
2390 
2391 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
2392
2393 ax_cxx_compile_stdcxx_14
2394 ========================
2395
2396 Synopsis
2397 ********
2398
2399 AX_CXX_COMPILE_STDCXX_14([ext|noext], [mandatory|optional])
2400
2401 Description
2402 ***********
2403
2404 Check for baseline language coverage in the compiler for the C++14
2405 standard; if necessary, add switches to CXX and CXXCPP to enable
2406 support.
2407
2408 This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
2409 macro with the version set to C++14. The two optional arguments are
2410 forwarded literally as the second and third argument respectively.
2411 Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
2412 more information. If you want to use this macro, you also need to
2413 download the ax_cxx_compile_stdcxx.m4 file.
2414
2415 Source Code
2416 ***********
2417
2418 Download the latest version of 'ax_cxx_compile_stdcxx_14.m4'
2419 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_14.m4)
2420 or browse the macro's revision history
2421 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_14.m4).
2422
2423 License
2424 *******
2425
2426 Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
2427
2428 Copying and distribution of this file, with or without modification, are
2429 permitted in any medium without royalty provided the copyright notice
2430 and this notice are preserved. This file is offered as-is, without any
2431 warranty.
2432
2433 
2434 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
2435
2436 ax_cxx_compile_stdcxx_17
2437 ========================
2438
2439 Synopsis
2440 ********
2441
2442 AX_CXX_COMPILE_STDCXX_17([ext|noext], [mandatory|optional])
2443
2444 Description
2445 ***********
2446
2447 Check for baseline language coverage in the compiler for the C++17
2448 standard; if necessary, add switches to CXX and CXXCPP to enable
2449 support.
2450
2451 This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
2452 macro with the version set to C++17. The two optional arguments are
2453 forwarded literally as the second and third argument respectively.
2454 Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
2455 more information. If you want to use this macro, you also need to
2456 download the ax_cxx_compile_stdcxx.m4 file.
2457
2458 Source Code
2459 ***********
2460
2461 Download the latest version of 'ax_cxx_compile_stdcxx_17.m4'
2462 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_17.m4)
2463 or browse the macro's revision history
2464 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_17.m4).
2465
2466 License
2467 *******
2468
2469 Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
2470 Copyright (C) 2016 Krzesimir Nowak <qdlacz@gmail.com>
2471
2472 Copying and distribution of this file, with or without modification, are
2473 permitted in any medium without royalty provided the copyright notice
2474 and this notice are preserved. This file is offered as-is, without any
2475 warranty.
2476
2477 
2478 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
2479
2480 ax_cxx_complex_math_in_namespace_std
2481 ====================================
2482
2483 Synopsis
2484 ********
2485
2486 AX_CXX_COMPLEX_MATH_IN_NAMESPACE_STD
2487
2488 Description
2489 ***********
2490
2491 If the C math functions are in the cmath header file and std::
2492 namespace, define HAVE_MATH_FN_IN_NAMESPACE_STD.
2493
2494 Source Code
2495 ***********
2496
2497 Download the latest version of 'ax_cxx_complex_math_in_namespace_std.m4'
2498 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_complex_math_in_namespace_std.m4)
2499 or browse the macro's revision history
2500 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_complex_math_in_namespace_std.m4).
2501
2502 License
2503 *******
2504
2505 Copyright (C) 2008 Todd Veldhuizen
2506 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
2507
2508 Copying and distribution of this file, with or without modification, are
2509 permitted in any medium without royalty provided the copyright notice
2510 and this notice are preserved. This file is offered as-is, without any
2511 warranty.
2512
2513 
2514 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
2515
2516 ax_cxx_const_cast
2517 =================
2518
2519 Synopsis
2520 ********
2521
2522 AX_CXX_CONST_CAST
2523
2524 Description
2525 ***********
2526
2527 If the compiler supports const_cast<>, define HAVE_CONST_CAST.
2528
2529 Source Code
2530 ***********
2531
2532 Download the latest version of 'ax_cxx_const_cast.m4'
2533 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_const_cast.m4)
2534 or browse the macro's revision history
2535 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_const_cast.m4).
2536
2537 License
2538 *******
2539
2540 Copyright (C) 2008 Todd Veldhuizen
2541 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
2542
2543 Copying and distribution of this file, with or without modification, are
2544 permitted in any medium without royalty provided the copyright notice
2545 and this notice are preserved. This file is offered as-is, without any
2546 warranty.
2547
2548 
2549 File: autoconf-archive.info, Node: ax_cxx_cppflags_std_lang, Next: ax_cxx_cxxflags_std_lang, Prev: ax_cxx_const_cast, Up: The Macros
2550
2551 ax_cxx_cppflags_std_lang
2552 ========================
2553
2554 Synopsis
2555 ********
2556
2557 AX_CXX_CPPFLAGS_STD_LANG(CPP-FLAGS)
2558
2559 Description
2560 ***********
2561
2562 Append to CPP-FLAGS the set of flags that should be passed to the C++
2563 preprocessor in order to enable use of C++ features as defined in the
2564 ANSI C++ standard (eg. use of standard iostream classes in the 'std'
2565 namespace, etc.).
2566
2567 Source Code
2568 ***********
2569
2570 Download the latest version of 'ax_cxx_cppflags_std_lang.m4'
2571 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_cppflags_std_lang.m4)
2572 or browse the macro's revision history
2573 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_cppflags_std_lang.m4).
2574
2575 License
2576 *******
2577
2578 Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
2579
2580 Copying and distribution of this file, with or without modification, are
2581 permitted in any medium without royalty provided the copyright notice
2582 and this notice are preserved. This file is offered as-is, without any
2583 warranty.
2584
2585 
2586 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
2587
2588 ax_cxx_cxxflags_std_lang
2589 ========================
2590
2591 Synopsis
2592 ********
2593
2594 AX_CXX_CXXFLAGS_STD_LANG(CXX-FLAGS)
2595
2596 Description
2597 ***********
2598
2599 Append to variable CXX-FLAGS the set of compile-time flags that should
2600 be passed to the C++ compiler in order to enable use of C++ features as
2601 defined in the ANSI C++ standard (eg. use of standard iostream classes
2602 in the 'std' namespace, etc.). Note that if you use GNU Libtool you may
2603 need to prefix each of those flags with '-Xcompiler' so that Libtool
2604 doesn't discard them (see Libtool's manual and 'AC_LIBTOOLIZE_CFLAGS').
2605
2606 Source Code
2607 ***********
2608
2609 Download the latest version of 'ax_cxx_cxxflags_std_lang.m4'
2610 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_cxxflags_std_lang.m4)
2611 or browse the macro's revision history
2612 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_cxxflags_std_lang.m4).
2613
2614 License
2615 *******
2616
2617 Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
2618
2619 Copying and distribution of this file, with or without modification, are
2620 permitted in any medium without royalty provided the copyright notice
2621 and this notice are preserved. This file is offered as-is, without any
2622 warranty.
2623
2624 
2625 File: autoconf-archive.info, Node: ax_cxx_default_template_parameters, Next: ax_cxx_delete_method, Prev: ax_cxx_cxxflags_std_lang, Up: The Macros
2626
2627 ax_cxx_default_template_parameters
2628 ==================================
2629
2630 Synopsis
2631 ********
2632
2633 AX_CXX_DEFAULT_TEMPLATE_PARAMETERS
2634
2635 Description
2636 ***********
2637
2638 If the compiler supports default template parameters, define
2639 HAVE_DEFAULT_TEMPLATE_PARAMETERS.
2640
2641 Source Code
2642 ***********
2643
2644 Download the latest version of 'ax_cxx_default_template_parameters.m4'
2645 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_default_template_parameters.m4)
2646 or browse the macro's revision history
2647 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_default_template_parameters.m4).
2648
2649 License
2650 *******
2651
2652 Copyright (C) 2008 Todd Veldhuizen
2653 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
2654
2655 Copying and distribution of this file, with or without modification, are
2656 permitted in any medium without royalty provided the copyright notice
2657 and this notice are preserved. This file is offered as-is, without any
2658 warranty.
2659
2660 
2661 File: autoconf-archive.info, Node: ax_cxx_delete_method, Next: ax_cxx_dtor_after_atexit, Prev: ax_cxx_default_template_parameters, Up: The Macros
2662
2663 ax_cxx_delete_method
2664 ====================
2665
2666 Synopsis
2667 ********
2668
2669 AX_CXX_DELETE_METHOD
2670
2671 Description
2672 ***********
2673
2674 Check whether the C++11 '= delete' syntax, for suppressing undesired
2675 implicit methods, is supported. If it is, the macro DELETE_METHOD is
2676 defined to '= delete'; otherwise it is defined to nothing. Thus, you
2677 can write
2678
2679 class foo {
2680 ...
2681 private:
2682 foo(foo const&) DELETE_METHOD;
2683 };
2684
2685 to delete the 'foo' copy constructor or fall back to the idiom of a
2686 private undefined method if the compiler doesn't support this.
2687
2688 Does not test '= delete' on a template specialization. Does not ensure
2689 that the compiler is in C++11 mode.
2690
2691 Source Code
2692 ***********
2693
2694 Download the latest version of 'ax_cxx_delete_method.m4'
2695 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_delete_method.m4)
2696 or browse the macro's revision history
2697 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_delete_method.m4).
2698
2699 License
2700 *******
2701
2702 Copyright (C) 2012 Zack Weinberg <zackw@panix.com>
2703
2704 Copying and distribution of this file, with or without modification, are
2705 permitted in any medium without royalty provided the copyright notice
2706 and this notice are preserved. This file is offered as-is, without any
2707 warranty.
2708
2709 
2710 File: autoconf-archive.info, Node: ax_cxx_dtor_after_atexit, Next: ax_cxx_dynamic_cast, Prev: ax_cxx_delete_method, Up: The Macros
2711
2712 ax_cxx_dtor_after_atexit
2713 ========================
2714
2715 Synopsis
2716 ********
2717
2718 AX_CXX_DTOR_AFTER_ATEXIT
2719
2720 Description
2721 ***********
2722
2723 If the C++ compiler calls global destructors after atexit functions,
2724 define HAVE_DTOR_AFTER_ATEXIT.
2725
2726 Conformant behavior is to have global destructors after atexit
2727
2728 Per Paragraph 3.6.3/1 of the C++11 Standard:
2729
2730 Destructors (12.4) for initialized objects [..] with static storage
2731 duration are called as a result of returning from main and as a result
2732 of calling std::exit (18.5).
2733
2734 And per Paragraph 3.6.3/3:
2735
2736 If the completion of the initialization of an object with static storage
2737 duration is sequenced before a call to std::atexit [..], the call to the
2738 function passed to std::atexit is sequenced before the call to the
2739 destructor for the object.
2740
2741 WARNING: If cross-compiling, the test cannot be performed, the default
2742 action is to define HAVE_DTOR_AFTER_ATEXIT.
2743
2744 Source Code
2745 ***********
2746
2747 Download the latest version of 'ax_cxx_dtor_after_atexit.m4'
2748 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_dtor_after_atexit.m4)
2749 or browse the macro's revision history
2750 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_dtor_after_atexit.m4).
2751
2752 License
2753 *******
2754
2755 Copyright (C) 2008 Todd Veldhuizen
2756 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
2757
2758 Copying and distribution of this file, with or without modification, are
2759 permitted in any medium without royalty provided the copyright notice
2760 and this notice are preserved. This file is offered as-is, without any
2761 warranty.
2762
2763 
2764 File: autoconf-archive.info, Node: ax_cxx_dynamic_cast, Next: ax_cxx_enum_computations, Prev: ax_cxx_dtor_after_atexit, Up: The Macros
2765
2766 ax_cxx_dynamic_cast
2767 ===================
2768
2769 Synopsis
2770 ********
2771
2772 AX_CXX_DYNAMIC_CAST
2773
2774 Description
2775 ***********
2776
2777 If the compiler supports dynamic_cast<>, define HAVE_DYNAMIC_CAST.
2778
2779 Source Code
2780 ***********
2781
2782 Download the latest version of 'ax_cxx_dynamic_cast.m4'
2783 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_dynamic_cast.m4)
2784 or browse the macro's revision history
2785 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_dynamic_cast.m4).
2786
2787 License
2788 *******
2789
2790 Copyright (C) 2008 Todd Veldhuizen
2791 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
2792
2793 Copying and distribution of this file, with or without modification, are
2794 permitted in any medium without royalty provided the copyright notice
2795 and this notice are preserved. This file is offered as-is, without any
2796 warranty.
2797
2798 
2799 File: autoconf-archive.info, Node: ax_cxx_enum_computations, Next: ax_cxx_enum_computations_with_cast, Prev: ax_cxx_dynamic_cast, Up: The Macros
2800
2801 ax_cxx_enum_computations
2802 ========================
2803
2804 Synopsis
2805 ********
2806
2807 AX_CXX_ENUM_COMPUTATIONS
2808
2809 Description
2810 ***********
2811
2812 If the compiler handle computations inside an enum, define
2813 HAVE_ENUM_COMPUTATIONS.
2814
2815 Source Code
2816 ***********
2817
2818 Download the latest version of 'ax_cxx_enum_computations.m4'
2819 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_enum_computations.m4)
2820 or browse the macro's revision history
2821 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_enum_computations.m4).
2822
2823 License
2824 *******
2825
2826 Copyright (C) 2008 Todd Veldhuizen
2827 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
2828
2829 Copying and distribution of this file, with or without modification, are
2830 permitted in any medium without royalty provided the copyright notice
2831 and this notice are preserved. This file is offered as-is, without any
2832 warranty.
2833
2834 
2835 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
2836
2837 ax_cxx_enum_computations_with_cast
2838 ==================================
2839
2840 Synopsis
2841 ********
2842
2843 AX_CXX_ENUM_COMPUTATIONS_WITH_CAST
2844
2845 Description
2846 ***********
2847
2848 If the compiler handle (int) casts in enum computations, define
2849 HAVE_ENUM_COMPUTATIONS_WITH_CAST.
2850
2851 Source Code
2852 ***********
2853
2854 Download the latest version of 'ax_cxx_enum_computations_with_cast.m4'
2855 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_enum_computations_with_cast.m4)
2856 or browse the macro's revision history
2857 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_enum_computations_with_cast.m4).
2858
2859 License
2860 *******
2861
2862 Copyright (C) 2008 Todd Veldhuizen
2863 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
2864
2865 Copying and distribution of this file, with or without modification, are
2866 permitted in any medium without royalty provided the copyright notice
2867 and this notice are preserved. This file is offered as-is, without any
2868 warranty.
2869
2870 
2871 File: autoconf-archive.info, Node: ax_cxx_erase_iterator_type, Next: ax_cxx_exceptions, Prev: ax_cxx_enum_computations_with_cast, Up: The Macros
2872
2873 ax_cxx_erase_iterator_type
2874 ==========================
2875
2876 Synopsis
2877 ********
2878
2879 AX_CXX_ERASE_ITERATOR_TYPE
2880
2881 Description
2882 ***********
2883
2884 If the compiler supports define erase with constant iterator or with
2885 classical iterator.
2886
2887 Define autoconfigured_erase_iterator to const_iterator if supported and
2888 iterator if not supported.
2889
2890 Define HAVE_ERASE_CONSTANT_ITERATOR if supported
2891
2892 Source Code
2893 ***********
2894
2895 Download the latest version of 'ax_cxx_erase_iterator_type.m4'
2896 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_erase_iterator_type.m4)
2897 or browse the macro's revision history
2898 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_erase_iterator_type.m4).
2899
2900 License
2901 *******
2902
2903 Copyright (C) 2015 Bastien ROUCARIES
2904
2905 Copying and distribution of this file, with or without modification, are
2906 permitted in any medium without royalty provided the copyright notice
2907 and this notice are preserved. This file is offered as-is, without any
2908 warranty.
2909
2910 
2911 File: autoconf-archive.info, Node: ax_cxx_exceptions, Next: ax_cxx_explicit, Prev: ax_cxx_erase_iterator_type, Up: The Macros
2912
2913 ax_cxx_exceptions
2914 =================
2915
2916 Synopsis
2917 ********
2918
2919 AX_CXX_EXCEPTIONS
2920
2921 Description
2922 ***********
2923
2924 If the C++ compiler supports exceptions handling (try, throw and catch),
2925 define HAVE_EXCEPTIONS.
2926
2927 Source Code
2928 ***********
2929
2930 Download the latest version of 'ax_cxx_exceptions.m4'
2931 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_exceptions.m4)
2932 or browse the macro's revision history
2933 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_exceptions.m4).
2934
2935 License
2936 *******
2937
2938 Copyright (C) 2008 Todd Veldhuizen
2939 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
2940
2941 Copying and distribution of this file, with or without modification, are
2942 permitted in any medium without royalty provided the copyright notice
2943 and this notice are preserved. This file is offered as-is, without any
2944 warranty.
2945
2946 
2947 File: autoconf-archive.info, Node: ax_cxx_explicit, Next: ax_cxx_explicit_instantiations, Prev: ax_cxx_exceptions, Up: The Macros
2948
2949 ax_cxx_explicit
2950 ===============
2951
2952 Synopsis
2953 ********
2954
2955 AX_CXX_EXPLICIT
2956
2957 Description
2958 ***********
2959
2960 If the compiler can be asked to prevent using implicitly one argument
2961 constructors as converting constructors with the explicit keyword,
2962 define HAVE_EXPLICIT.
2963
2964 Source Code
2965 ***********
2966
2967 Download the latest version of 'ax_cxx_explicit.m4'
2968 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_explicit.m4)
2969 or browse the macro's revision history
2970 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_explicit.m4).
2971
2972 License
2973 *******
2974
2975 Copyright (C) 2008 Todd Veldhuizen
2976 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
2977
2978 Copying and distribution of this file, with or without modification, are
2979 permitted in any medium without royalty provided the copyright notice
2980 and this notice are preserved. This file is offered as-is, without any
2981 warranty.
2982
2983 
2984 File: autoconf-archive.info, Node: ax_cxx_explicit_instantiations, Next: ax_cxx_explicit_template_function_qualification, Prev: ax_cxx_explicit, Up: The Macros
2985
2986 ax_cxx_explicit_instantiations
2987 ==============================
2988
2989 Synopsis
2990 ********
2991
2992 AX_CXX_EXPLICIT_INSTANTIATIONS
2993
2994 Description
2995 ***********
2996
2997 If the C++ compiler supports explicit instantiations syntax, define
2998 HAVE_INSTANTIATIONS.
2999
3000 Source Code
3001 ***********
3002
3003 Download the latest version of 'ax_cxx_explicit_instantiations.m4'
3004 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_explicit_instantiations.m4)
3005 or browse the macro's revision history
3006 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_explicit_instantiations.m4).
3007
3008 License
3009 *******
3010
3011 Copyright (C) 2008 Todd Veldhuizen
3012 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
3013
3014 Copying and distribution of this file, with or without modification, are
3015 permitted in any medium without royalty provided the copyright notice
3016 and this notice are preserved. This file is offered as-is, without any
3017 warranty.
3018
3019 
3020 File: autoconf-archive.info, Node: ax_cxx_explicit_template_function_qualification, Next: ax_cxx_extern_template, Prev: ax_cxx_explicit_instantiations, Up: The Macros
3021
3022 ax_cxx_explicit_template_function_qualification
3023 ===============================================
3024
3025 Synopsis
3026 ********
3027
3028 AX_CXX_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION
3029
3030 Description
3031 ***********
3032
3033 If the compiler supports explicit template function qualification,
3034 define HAVE_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION.
3035
3036 Source Code
3037 ***********
3038
3039 Download the latest version of
3040 'ax_cxx_explicit_template_function_qualification.m4'
3041 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_explicit_template_function_qualification.m4)
3042 or browse the macro's revision history
3043 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_explicit_template_function_qualification.m4).
3044
3045 License
3046 *******
3047
3048 Copyright (C) 2008 Todd Veldhuizen
3049 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
3050
3051 Copying and distribution of this file, with or without modification, are
3052 permitted in any medium without royalty provided the copyright notice
3053 and this notice are preserved. This file is offered as-is, without any
3054 warranty.
3055
3056 
3057 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
3058
3059 ax_cxx_extern_template
3060 ======================
3061
3062 Synopsis
3063 ********
3064
3065 AX_CXX_EXTERN_TEMPLATE
3066
3067 Description
3068 ***********
3069
3070 Test whether the C++ compiler supports "extern template".
3071
3072 Source Code
3073 ***********
3074
3075 Download the latest version of 'ax_cxx_extern_template.m4'
3076 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_extern_template.m4)
3077 or browse the macro's revision history
3078 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_extern_template.m4).
3079
3080 License
3081 *******
3082
3083 Copyright (C) 2008 Patrick Mauritz <oxygene@studentenbude.ath.cx>
3084
3085 Copying and distribution of this file, with or without modification, are
3086 permitted in any medium without royalty provided the copyright notice
3087 and this notice are preserved. This file is offered as-is, without any
3088 warranty.
3089
3090 
3091 File: autoconf-archive.info, Node: ax_cxx_full_specialization_syntax, Next: ax_cxx_function_nontype_parameters, Prev: ax_cxx_extern_template, Up: The Macros
3092
3093 ax_cxx_full_specialization_syntax
3094 =================================
3095
3096 Synopsis
3097 ********
3098
3099 AX_CXX_FULL_SPECIALIZATION_SYNTAX
3100
3101 Description
3102 ***********
3103
3104 If the compiler recognizes the full specialization syntax, define
3105 HAVE_FULL_SPECIALIZATION_SYNTAX.
3106
3107 Source Code
3108 ***********
3109
3110 Download the latest version of 'ax_cxx_full_specialization_syntax.m4'
3111 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_full_specialization_syntax.m4)
3112 or browse the macro's revision history
3113 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_full_specialization_syntax.m4).
3114
3115 License
3116 *******
3117
3118 Copyright (C) 2008 Todd Veldhuizen
3119 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
3120
3121 Copying and distribution of this file, with or without modification, are
3122 permitted in any medium without royalty provided the copyright notice
3123 and this notice are preserved. This file is offered as-is, without any
3124 warranty.
3125
3126 
3127 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
3128
3129 ax_cxx_function_nontype_parameters
3130 ==================================
3131
3132 Synopsis
3133 ********
3134
3135 AX_CXX_FUNCTION_NONTYPE_PARAMETERS
3136
3137 Description
3138 ***********
3139
3140 If the compiler supports function templates with non-type parameters,
3141 define HAVE_FUNCTION_NONTYPE_PARAMETERS.
3142
3143 Source Code
3144 ***********
3145
3146 Download the latest version of 'ax_cxx_function_nontype_parameters.m4'
3147 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_function_nontype_parameters.m4)
3148 or browse the macro's revision history
3149 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_function_nontype_parameters.m4).
3150
3151 License
3152 *******
3153
3154 Copyright (C) 2008 Todd Veldhuizen
3155 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
3156
3157 Copying and distribution of this file, with or without modification, are
3158 permitted in any medium without royalty provided the copyright notice
3159 and this notice are preserved. This file is offered as-is, without any
3160 warranty.
3161
3162 
3163 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
3164
3165 ax_cxx_function_try_blocks
3166 ==========================
3167
3168 Synopsis
3169 ********
3170
3171 AX_CXX_FUNCTION_TRY_BLOCKS
3172
3173 Description
3174 ***********
3175
3176 If the C++ compiler supports function try blocks, define
3177 'HAVE_FUNCTION_TRY_BLOCKS'.
3178
3179 Source Code
3180 ***********
3181
3182 Download the latest version of 'ax_cxx_function_try_blocks.m4'
3183 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_function_try_blocks.m4)
3184 or browse the macro's revision history
3185 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_function_try_blocks.m4).
3186
3187 License
3188 *******
3189
3190 Copyright (C) 2008 Matthew D. Langston
3191
3192 This program is free software; you can redistribute it and/or modify it
3193 under the terms of the GNU General Public License as published by the
3194 Free Software Foundation; either version 2 of the License, or (at your
3195 option) any later version.
3196
3197 This program is distributed in the hope that it will be useful, but
3198 WITHOUT ANY WARRANTY; without even the implied warranty of
3199 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3200 Public License for more details.
3201
3202 You should have received a copy of the GNU General Public License along
3203 with this program. If not, see <https://www.gnu.org/licenses/>.
3204
3205 As a special exception, the respective Autoconf Macro's copyright owner
3206 gives unlimited permission to copy, distribute and modify the configure
3207 scripts that are the output of Autoconf when processing the Macro. You
3208 need not follow the terms of the GNU General Public License when using
3209 or distributing such scripts, even though portions of the text of the
3210 Macro appear in them. The GNU General Public License (GPL) does govern
3211 all other use of the material that constitutes the Autoconf Macro.
3212
3213 This special exception to the GPL applies to versions of the Autoconf
3214 Macro released by the Autoconf Archive. When you make and distribute a
3215 modified version of the Autoconf Macro, you may extend this special
3216 exception to the GPL to apply to your modified version as well.
3217
3218 
3219 File: autoconf-archive.info, Node: ax_cxx_gcc_abi_demangle, Next: ax_cxx_gnucxx_hashmap, Prev: ax_cxx_function_try_blocks, Up: The Macros
3220
3221 ax_cxx_gcc_abi_demangle
3222 =======================
3223
3224 Synopsis
3225 ********
3226
3227 AX_CXX_GCC_ABI_DEMANGLE
3228
3229 Description
3230 ***********
3231
3232 If the compiler supports GCC C++ ABI name demangling (has header
3233 cxxabi.h and abi::__cxa_demangle() function), define
3234 HAVE_GCC_ABI_DEMANGLE
3235
3236 Adapted from AX_CXX_RTTI by Luc Maisonobe
3237
3238 Source Code
3239 ***********
3240
3241 Download the latest version of 'ax_cxx_gcc_abi_demangle.m4'
3242 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_gcc_abi_demangle.m4)
3243 or browse the macro's revision history
3244 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_gcc_abi_demangle.m4).
3245
3246 License
3247 *******
3248
3249 Copyright (C) 2008 Neil Ferguson <nferguso@eso.org>
3250
3251 Copying and distribution of this file, with or without modification, are
3252 permitted in any medium without royalty provided the copyright notice
3253 and this notice are preserved. This file is offered as-is, without any
3254 warranty.
3255
3256 
3257 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
3258
3259 ax_cxx_gnucxx_hashmap
3260 =====================
3261
3262 Synopsis
3263 ********
3264
3265 AX_CXX_GNUCXX_HASHMAP
3266
3267 Description
3268 ***********
3269
3270 Test for the presence of GCC's hashmap STL extension.
3271
3272 Source Code
3273 ***********
3274
3275 Download the latest version of 'ax_cxx_gnucxx_hashmap.m4'
3276 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_gnucxx_hashmap.m4)
3277 or browse the macro's revision history
3278 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_gnucxx_hashmap.m4).
3279
3280 License
3281 *******
3282
3283 Copyright (C) 2008 Patrick Mauritz <oxygene@studentenbude.ath.cx>
3284
3285 Copying and distribution of this file, with or without modification, are
3286 permitted in any medium without royalty provided the copyright notice
3287 and this notice are preserved. This file is offered as-is, without any
3288 warranty.
3289
3290 
3291 File: autoconf-archive.info, Node: ax_cxx_have_bad_function_call, Next: ax_cxx_have_bind, Prev: ax_cxx_gnucxx_hashmap, Up: The Macros
3292
3293 ax_cxx_have_bad_function_call
3294 =============================
3295
3296 Synopsis
3297 ********
3298
3299 AX_CXX_HAVE_BAD_FUNCTION_CALL()
3300
3301 Description
3302 ***********
3303
3304 This macro checks if std::bad_function_call, added in C++11, is defined
3305 in the <functional> header.
3306
3307 If it is, define the ax_cv_cxx_have_bad_function_call environment
3308 variable to "yes" and define HAVE_CXX_BAD_FUNCTION_CALL.
3309
3310 Source Code
3311 ***********
3312
3313 Download the latest version of 'ax_cxx_have_bad_function_call.m4'
3314 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bad_function_call.m4)
3315 or browse the macro's revision history
3316 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bad_function_call.m4).
3317
3318 License
3319 *******
3320
3321 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
3322
3323 Copying and distribution of this file, with or without modification, are
3324 permitted in any medium without royalty provided the copyright notice
3325 and this notice are preserved. This file is offered as-is, without any
3326 warranty.
3327
3328 
3329 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
3330
3331 ax_cxx_have_bind
3332 ================
3333
3334 Synopsis
3335 ********
3336
3337 AX_CXX_HAVE_BIND()
3338
3339 Description
3340 ***********
3341
3342 This macro checks if std::bind, added in C++11, is defined in the
3343 <functional> header.
3344
3345 If it is, define the ax_cv_cxx_have_bind environment variable to "yes"
3346 and define HAVE_CXX_BIND.
3347
3348 Source Code
3349 ***********
3350
3351 Download the latest version of 'ax_cxx_have_bind.m4'
3352 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bind.m4)
3353 or browse the macro's revision history
3354 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bind.m4).
3355
3356 License
3357 *******
3358
3359 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
3360
3361 Copying and distribution of this file, with or without modification, are
3362 permitted in any medium without royalty provided the copyright notice
3363 and this notice are preserved. This file is offered as-is, without any
3364 warranty.
3365
3366 
3367 File: autoconf-archive.info, Node: ax_cxx_have_bit_and, Next: ax_cxx_have_bit_or, Prev: ax_cxx_have_bind, Up: The Macros
3368
3369 ax_cxx_have_bit_and
3370 ===================
3371
3372 Synopsis
3373 ********
3374
3375 AX_CXX_HAVE_BIT_AND()
3376
3377 Description
3378 ***********
3379
3380 This macro checks if std::bit_and, added in C++11, is defined in the
3381 <functional> header.
3382
3383 If it is, define the ax_cv_cxx_have_bit_and environment variable to
3384 "yes" and define HAVE_CXX_BIT_AND.
3385
3386 Source Code
3387 ***********
3388
3389 Download the latest version of 'ax_cxx_have_bit_and.m4'
3390 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bit_and.m4)
3391 or browse the macro's revision history
3392 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bit_and.m4).
3393
3394 License
3395 *******
3396
3397 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
3398
3399 Copying and distribution of this file, with or without modification, are
3400 permitted in any medium without royalty provided the copyright notice
3401 and this notice are preserved. This file is offered as-is, without any
3402 warranty.
3403
3404 
3405 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
3406
3407 ax_cxx_have_bit_or
3408 ==================
3409
3410 Synopsis
3411 ********
3412
3413 AX_CXX_HAVE_BIT_OR()
3414
3415 Description
3416 ***********
3417
3418 This macro checks if std::bit_or, added in C++11, is defined in the
3419 <functional> header.
3420
3421 If it is, define the ax_cv_cxx_have_bit_or environment variable to "yes"
3422 and define HAVE_CXX_BIT_OR.
3423
3424 Source Code
3425 ***********
3426
3427 Download the latest version of 'ax_cxx_have_bit_or.m4'
3428 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bit_or.m4)
3429 or browse the macro's revision history
3430 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bit_or.m4).
3431
3432 License
3433 *******
3434
3435 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
3436
3437 Copying and distribution of this file, with or without modification, are
3438 permitted in any medium without royalty provided the copyright notice
3439 and this notice are preserved. This file is offered as-is, without any
3440 warranty.
3441
3442 
3443 File: autoconf-archive.info, Node: ax_cxx_have_bit_xor, Next: ax_cxx_have_complex, Prev: ax_cxx_have_bit_or, Up: The Macros
3444
3445 ax_cxx_have_bit_xor
3446 ===================
3447
3448 Synopsis
3449 ********
3450
3451 AX_CXX_HAVE_BIT_XOR()
3452
3453 Description
3454 ***********
3455
3456 This macro checks if std::bit_xor, added in C++11, is defined in the
3457 <functional> header.
3458
3459 If it is, define the ax_cv_cxx_have_bit_xor environment variable to
3460 "yes" and define HAVE_CXX_BIT_XOR.
3461
3462 Source Code
3463 ***********
3464
3465 Download the latest version of 'ax_cxx_have_bit_xor.m4'
3466 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bit_xor.m4)
3467 or browse the macro's revision history
3468 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bit_xor.m4).
3469
3470 License
3471 *******
3472
3473 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
3474
3475 Copying and distribution of this file, with or without modification, are
3476 permitted in any medium without royalty provided the copyright notice
3477 and this notice are preserved. This file is offered as-is, without any
3478 warranty.
3479
3480 
3481 File: autoconf-archive.info, Node: ax_cxx_have_complex, Next: ax_cxx_have_complex_math1, Prev: ax_cxx_have_bit_xor, Up: The Macros
3482
3483 ax_cxx_have_complex
3484 ===================
3485
3486 Synopsis
3487 ********
3488
3489 AX_CXX_HAVE_COMPLEX
3490
3491 Description
3492 ***********
3493
3494 If the compiler has complex<T>, define HAVE_COMPLEX.
3495
3496 Source Code
3497 ***********
3498
3499 Download the latest version of 'ax_cxx_have_complex.m4'
3500 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_complex.m4)
3501 or browse the macro's revision history
3502 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_complex.m4).
3503
3504 License
3505 *******
3506
3507 Copyright (C) 2008 Todd Veldhuizen
3508 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
3509
3510 Copying and distribution of this file, with or without modification, are
3511 permitted in any medium without royalty provided the copyright notice
3512 and this notice are preserved. This file is offered as-is, without any
3513 warranty.
3514
3515 
3516 File: autoconf-archive.info, Node: ax_cxx_have_complex_math1, Next: ax_cxx_have_complex_math2, Prev: ax_cxx_have_complex, Up: The Macros
3517
3518 ax_cxx_have_complex_math1
3519 =========================
3520
3521 Synopsis
3522 ********
3523
3524 AX_CXX_HAVE_COMPLEX_MATH1
3525
3526 Description
3527 ***********
3528
3529 If the compiler has the complex math functions cos, cosh, exp, log, pow,
3530 sin, sinh, sqrt, tan and tanh, define HAVE_COMPLEX_MATH1.
3531
3532 Source Code
3533 ***********
3534
3535 Download the latest version of 'ax_cxx_have_complex_math1.m4'
3536 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_complex_math1.m4)
3537 or browse the macro's revision history
3538 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_complex_math1.m4).
3539
3540 License
3541 *******
3542
3543 Copyright (C) 2008 Todd Veldhuizen
3544 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
3545
3546 Copying and distribution of this file, with or without modification, are
3547 permitted in any medium without royalty provided the copyright notice
3548 and this notice are preserved. This file is offered as-is, without any
3549 warranty.
3550
3551 
3552 File: autoconf-archive.info, Node: ax_cxx_have_complex_math2, Next: ax_cxx_have_cref, Prev: ax_cxx_have_complex_math1, Up: The Macros
3553
3554 ax_cxx_have_complex_math2
3555 =========================
3556
3557 Synopsis
3558 ********
3559
3560 AX_CXX_HAVE_COMPLEX_MATH2
3561
3562 Description
3563 ***********
3564
3565 If the compiler has the complex math functions acos, asin, atan, atan2
3566 and log10, define HAVE_COMPLEX_MATH2.
3567
3568 Source Code
3569 ***********
3570
3571 Download the latest version of 'ax_cxx_have_complex_math2.m4'
3572 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_complex_math2.m4)
3573 or browse the macro's revision history
3574 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_complex_math2.m4).
3575
3576 License
3577 *******
3578
3579 Copyright (C) 2008 Todd Veldhuizen
3580 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
3581
3582 Copying and distribution of this file, with or without modification, are
3583 permitted in any medium without royalty provided the copyright notice
3584 and this notice are preserved. This file is offered as-is, without any
3585 warranty.
3586
3587 
3588 File: autoconf-archive.info, Node: ax_cxx_have_cref, Next: ax_cxx_have_empty_iostream, Prev: ax_cxx_have_complex_math2, Up: The Macros
3589
3590 ax_cxx_have_cref
3591 ================
3592
3593 Synopsis
3594 ********
3595
3596 AX_CXX_HAVE_CREF()
3597
3598 Description
3599 ***********
3600
3601 This macro checks if std::cref, added in C++11, is defined in the
3602 <functional> header.
3603
3604 If it is, define the ax_cv_cxx_have_cref environment variable to "yes"
3605 and define HAVE_CXX_CREF.
3606
3607 Source Code
3608 ***********
3609
3610 Download the latest version of 'ax_cxx_have_cref.m4'
3611 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_cref.m4)
3612 or browse the macro's revision history
3613 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_cref.m4).
3614
3615 License
3616 *******
3617
3618 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
3619
3620 Copying and distribution of this file, with or without modification, are
3621 permitted in any medium without royalty provided the copyright notice
3622 and this notice are preserved. This file is offered as-is, without any
3623 warranty.
3624
3625 
3626 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
3627
3628 ax_cxx_have_empty_iostream
3629 ==========================
3630
3631 Synopsis
3632 ********
3633
3634 AX_CXX_HAVE_EMPTY_IOSTREAM
3635
3636 Description
3637 ***********
3638
3639 Check if the compiler allow the empty iostream constructor. Ok before
3640 gcc3, not after.
3641
3642 Source Code
3643 ***********
3644
3645 Download the latest version of 'ax_cxx_have_empty_iostream.m4'
3646 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_empty_iostream.m4)
3647 or browse the macro's revision history
3648 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_empty_iostream.m4).
3649
3650 License
3651 *******
3652
3653 Copyright (C) 2008 Alain BARBET <alian@cpan.org>
3654
3655 This program is free software; you can redistribute it and/or modify it
3656 under the terms of the GNU General Public License as published by the
3657 Free Software Foundation; either version 2 of the License, or (at your
3658 option) any later version.
3659
3660 This program is distributed in the hope that it will be useful, but
3661 WITHOUT ANY WARRANTY; without even the implied warranty of
3662 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3663 Public License for more details.
3664
3665 You should have received a copy of the GNU General Public License along
3666 with this program. If not, see <https://www.gnu.org/licenses/>.
3667
3668 As a special exception, the respective Autoconf Macro's copyright owner
3669 gives unlimited permission to copy, distribute and modify the configure
3670 scripts that are the output of Autoconf when processing the Macro. You
3671 need not follow the terms of the GNU General Public License when using
3672 or distributing such scripts, even though portions of the text of the
3673 Macro appear in them. The GNU General Public License (GPL) does govern
3674 all other use of the material that constitutes the Autoconf Macro.
3675
3676 This special exception to the GPL applies to versions of the Autoconf
3677 Macro released by the Autoconf Archive. When you make and distribute a
3678 modified version of the Autoconf Macro, you may extend this special
3679 exception to the GPL to apply to your modified version as well.
3680
3681 
3682 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
3683
3684 ax_cxx_have_ext_hash_map
3685 ========================
3686
3687 Synopsis
3688 ********
3689
3690 AX_CXX_HAVE_EXT_HASH_MAP
3691
3692 Description
3693 ***********
3694
3695 Check if the compiler has ext/hash_map Eg:
3696
3697 #if defined(HAVE_EXT_HASH_MAP)
3698 #include <ext/hash_map>
3699 #else
3700 #if defined(HAVE_STL)
3701 #include <hash_map>
3702 #else
3703 # Can't find hash_map header !
3704 #endif
3705 #endif
3706
3707 This file is Alain BARBET's AC_CXX_HAVE_EXT_HASH_SET 1.1 with
3708 s/set/map/g :)
3709
3710 Source Code
3711 ***********
3712
3713 Download the latest version of 'ax_cxx_have_ext_hash_map.m4'
3714 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ext_hash_map.m4)
3715 or browse the macro's revision history
3716 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ext_hash_map.m4).
3717
3718 License
3719 *******
3720
3721 Copyright (C) 2008 Perceval ANICHINI
3722
3723 This program is free software; you can redistribute it and/or modify it
3724 under the terms of the GNU General Public License as published by the
3725 Free Software Foundation; either version 2 of the License, or (at your
3726 option) any later version.
3727
3728 This program is distributed in the hope that it will be useful, but
3729 WITHOUT ANY WARRANTY; without even the implied warranty of
3730 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3731 Public License for more details.
3732
3733 You should have received a copy of the GNU General Public License along
3734 with this program. If not, see <https://www.gnu.org/licenses/>.
3735
3736 As a special exception, the respective Autoconf Macro's copyright owner
3737 gives unlimited permission to copy, distribute and modify the configure
3738 scripts that are the output of Autoconf when processing the Macro. You
3739 need not follow the terms of the GNU General Public License when using
3740 or distributing such scripts, even though portions of the text of the
3741 Macro appear in them. The GNU General Public License (GPL) does govern
3742 all other use of the material that constitutes the Autoconf Macro.
3743
3744 This special exception to the GPL applies to versions of the Autoconf
3745 Macro released by the Autoconf Archive. When you make and distribute a
3746 modified version of the Autoconf Macro, you may extend this special
3747 exception to the GPL to apply to your modified version as well.
3748
3749 
3750 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
3751
3752 ax_cxx_have_ext_hash_set
3753 ========================
3754
3755 Synopsis
3756 ********
3757
3758 AX_CXX_HAVE_EXT_HASH_SET
3759
3760 Description
3761 ***********
3762
3763 Check if the compiler has ext/hash_set Eg:
3764
3765 #if defined(HAVE_EXT_HASH_SET)
3766 #include <ext/hash_set>
3767 #else
3768 #if defined(HAVE_STL)
3769 #include <hash_set>
3770 #else
3771 # Can't find hash_set header !
3772 #endif
3773 #endif
3774
3775 Source Code
3776 ***********
3777
3778 Download the latest version of 'ax_cxx_have_ext_hash_set.m4'
3779 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ext_hash_set.m4)
3780 or browse the macro's revision history
3781 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ext_hash_set.m4).
3782
3783 License
3784 *******
3785
3786 Copyright (C) 2008 Alain BARBET <alian@cpan.org>
3787
3788 This program is free software; you can redistribute it and/or modify it
3789 under the terms of the GNU General Public License as published by the
3790 Free Software Foundation; either version 2 of the License, or (at your
3791 option) any later version.
3792
3793 This program is distributed in the hope that it will be useful, but
3794 WITHOUT ANY WARRANTY; without even the implied warranty of
3795 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3796 Public License for more details.
3797
3798 You should have received a copy of the GNU General Public License along
3799 with this program. If not, see <https://www.gnu.org/licenses/>.
3800
3801 As a special exception, the respective Autoconf Macro's copyright owner
3802 gives unlimited permission to copy, distribute and modify the configure
3803 scripts that are the output of Autoconf when processing the Macro. You
3804 need not follow the terms of the GNU General Public License when using
3805 or distributing such scripts, even though portions of the text of the
3806 Macro appear in them. The GNU General Public License (GPL) does govern
3807 all other use of the material that constitutes the Autoconf Macro.
3808
3809 This special exception to the GPL applies to versions of the Autoconf
3810 Macro released by the Autoconf Archive. When you make and distribute a
3811 modified version of the Autoconf Macro, you may extend this special
3812 exception to the GPL to apply to your modified version as well.
3813
3814 
3815 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
3816
3817 ax_cxx_have_ext_slist
3818 =====================
3819
3820 Synopsis
3821 ********
3822
3823 AX_CXX_HAVE_EXT_SLIST
3824
3825 Description
3826 ***********
3827
3828 Check if the compiler has ext/slist. Eg:
3829
3830 #if defined(HAVE_EXT_SLIST)
3831 #include <ext/slist>
3832 #else
3833 #if defined(HAVE_STL)
3834 #include <slist>
3835 #else
3836 # Can't find slist header !
3837 #endif
3838 #endif
3839
3840 Source Code
3841 ***********
3842
3843 Download the latest version of 'ax_cxx_have_ext_slist.m4'
3844 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ext_slist.m4)
3845 or browse the macro's revision history
3846 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ext_slist.m4).
3847
3848 License
3849 *******
3850
3851 Copyright (C) 2008 Alain BARBET <alian@cpan.org>
3852
3853 This program is free software; you can redistribute it and/or modify it
3854 under the terms of the GNU General Public License as published by the
3855 Free Software Foundation; either version 2 of the License, or (at your
3856 option) any later version.
3857
3858 This program is distributed in the hope that it will be useful, but
3859 WITHOUT ANY WARRANTY; without even the implied warranty of
3860 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3861 Public License for more details.
3862
3863 You should have received a copy of the GNU General Public License along
3864 with this program. If not, see <https://www.gnu.org/licenses/>.
3865
3866 As a special exception, the respective Autoconf Macro's copyright owner
3867 gives unlimited permission to copy, distribute and modify the configure
3868 scripts that are the output of Autoconf when processing the Macro. You
3869 need not follow the terms of the GNU General Public License when using
3870 or distributing such scripts, even though portions of the text of the
3871 Macro appear in them. The GNU General Public License (GPL) does govern
3872 all other use of the material that constitutes the Autoconf Macro.
3873
3874 This special exception to the GPL applies to versions of the Autoconf
3875 Macro released by the Autoconf Archive. When you make and distribute a
3876 modified version of the Autoconf Macro, you may extend this special
3877 exception to the GPL to apply to your modified version as well.
3878
3879 
3880 File: autoconf-archive.info, Node: ax_cxx_have_freeze_sstream, Next: ax_cxx_have_function, Prev: ax_cxx_have_ext_slist, Up: The Macros
3881
3882 ax_cxx_have_freeze_sstream
3883 ==========================
3884
3885 Synopsis
3886 ********
3887
3888 AX_CXX_HAVE_FREEZE_SSTREAM
3889
3890 Description
3891 ***********
3892
3893 Check if the compiler has (need) freeze method call in stringstream/
3894 strstream. Seems that Win32 and STLPort have it, libstdc++ not ...
3895
3896 Eg:
3897
3898 #include <sstream>
3899 #ifdef HAVE_NAMESPACES
3900 using namespace std;
3901 #endif
3902 #ifdef HAVE_SSTREAM
3903 stringstream message;
3904 #else
3905 strstream message;
3906 #endif
3907 message << "Hello";
3908 #ifdef HAVE_FREEZE_SSTREAM
3909 message.freeze(0);
3910 #endif
3911
3912 Source Code
3913 ***********
3914
3915 Download the latest version of 'ax_cxx_have_freeze_sstream.m4'
3916 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_freeze_sstream.m4)
3917 or browse the macro's revision history
3918 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_freeze_sstream.m4).
3919
3920 License
3921 *******
3922
3923 Copyright (C) 2008 Alain BARBET <alian@cpan.org>
3924
3925 This program is free software; you can redistribute it and/or modify it
3926 under the terms of the GNU General Public License as published by the
3927 Free Software Foundation; either version 2 of the License, or (at your
3928 option) any later version.
3929
3930 This program is distributed in the hope that it will be useful, but
3931 WITHOUT ANY WARRANTY; without even the implied warranty of
3932 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3933 Public License for more details.
3934
3935 You should have received a copy of the GNU General Public License along
3936 with this program. If not, see <https://www.gnu.org/licenses/>.
3937
3938 As a special exception, the respective Autoconf Macro's copyright owner
3939 gives unlimited permission to copy, distribute and modify the configure
3940 scripts that are the output of Autoconf when processing the Macro. You
3941 need not follow the terms of the GNU General Public License when using
3942 or distributing such scripts, even though portions of the text of the
3943 Macro appear in them. The GNU General Public License (GPL) does govern
3944 all other use of the material that constitutes the Autoconf Macro.
3945
3946 This special exception to the GPL applies to versions of the Autoconf
3947 Macro released by the Autoconf Archive. When you make and distribute a
3948 modified version of the Autoconf Macro, you may extend this special
3949 exception to the GPL to apply to your modified version as well.
3950
3951 
3952 File: autoconf-archive.info, Node: ax_cxx_have_function, Next: ax_cxx_have_hash, Prev: ax_cxx_have_freeze_sstream, Up: The Macros
3953
3954 ax_cxx_have_function
3955 ====================
3956
3957 Synopsis
3958 ********
3959
3960 AX_CXX_HAVE_FUNCTION()
3961
3962 Description
3963 ***********
3964
3965 This macro checks if std::function, added in C++11, is defined in the
3966 <functional> header.
3967
3968 If it is, define the ax_cv_cxx_have_function environment variable to
3969 "yes" and define HAVE_CXX_FUNCTION.
3970
3971 Source Code
3972 ***********
3973
3974 Download the latest version of 'ax_cxx_have_function.m4'
3975 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_function.m4)
3976 or browse the macro's revision history
3977 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_function.m4).
3978
3979 License
3980 *******
3981
3982 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
3983
3984 Copying and distribution of this file, with or without modification, are
3985 permitted in any medium without royalty provided the copyright notice
3986 and this notice are preserved. This file is offered as-is, without any
3987 warranty.
3988
3989 
3990 File: autoconf-archive.info, Node: ax_cxx_have_hash, Next: ax_cxx_have_ieee_math, Prev: ax_cxx_have_function, Up: The Macros
3991
3992 ax_cxx_have_hash
3993 ================
3994
3995 Synopsis
3996 ********
3997
3998 AX_CXX_HAVE_HASH()
3999
4000 Description
4001 ***********
4002
4003 This macro checks if std::hash, added in C++11, is defined in the
4004 <functional> header.
4005
4006 If it is, define the ax_cv_cxx_have_hash environment variable to "yes"
4007 and define HAVE_CXX_HASH.
4008
4009 Source Code
4010 ***********
4011
4012 Download the latest version of 'ax_cxx_have_hash.m4'
4013 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_hash.m4)
4014 or browse the macro's revision history
4015 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_hash.m4).
4016
4017 License
4018 *******
4019
4020 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
4021
4022 Copying and distribution of this file, with or without modification, are
4023 permitted in any medium without royalty provided the copyright notice
4024 and this notice are preserved. This file is offered as-is, without any
4025 warranty.
4026
4027 
4028 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
4029
4030 ax_cxx_have_ieee_math
4031 =====================
4032
4033 Synopsis
4034 ********
4035
4036 AX_CXX_HAVE_IEEE_MATH
4037
4038 Description
4039 ***********
4040
4041 If the compiler has the double math functions acosh, asinh, atanh, cbrt,
4042 expm1, erf, erfc, isnan, j0, j1, jn, gamma, lgamma, ilogb, logb, log1p,
4043 rint, y0, y1, yn, hypot, nextafter, remainder and scalb, define
4044 HAVE_IEEE_MATH.
4045
4046 Source Code
4047 ***********
4048
4049 Download the latest version of 'ax_cxx_have_ieee_math.m4'
4050 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ieee_math.m4)
4051 or browse the macro's revision history
4052 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ieee_math.m4).
4053
4054 License
4055 *******
4056
4057 Copyright (C) 2008 Todd Veldhuizen
4058 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
4059
4060 Copying and distribution of this file, with or without modification, are
4061 permitted in any medium without royalty provided the copyright notice
4062 and this notice are preserved. This file is offered as-is, without any
4063 warranty.
4064
4065 
4066 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
4067
4068 ax_cxx_have_is_bind_expression
4069 ==============================
4070
4071 Synopsis
4072 ********
4073
4074 AX_CXX_HAVE_IS_BIND_EXPRESSION()
4075
4076 Description
4077 ***********
4078
4079 This macro checks if std::is_bind_expression, added in C++11, is defined
4080 in the <functional> header.
4081
4082 If it is, define the ax_cv_cxx_have_is_bind_expression environment
4083 variable to "yes" and define HAVE_CXX_IS_BIND_EXPRESSION.
4084
4085 Source Code
4086 ***********
4087
4088 Download the latest version of 'ax_cxx_have_is_bind_expression.m4'
4089 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_is_bind_expression.m4)
4090 or browse the macro's revision history
4091 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_is_bind_expression.m4).
4092
4093 License
4094 *******
4095
4096 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
4097
4098 Copying and distribution of this file, with or without modification, are
4099 permitted in any medium without royalty provided the copyright notice
4100 and this notice are preserved. This file is offered as-is, without any
4101 warranty.
4102
4103 
4104 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
4105
4106 ax_cxx_have_is_placeholder
4107 ==========================
4108
4109 Synopsis
4110 ********
4111
4112 AX_CXX_HAVE_IS_PLACEHOLDER()
4113
4114 Description
4115 ***********
4116
4117 This macro checks if std::is_placeholder, added in C++11, is defined in
4118 the <functional> header.
4119
4120 If it is, define the ax_cv_cxx_have_is_placeholder environment variable
4121 to "yes" and define HAVE_CXX_IS_PLACEHOLDER.
4122
4123 Source Code
4124 ***********
4125
4126 Download the latest version of 'ax_cxx_have_is_placeholder.m4'
4127 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_is_placeholder.m4)
4128 or browse the macro's revision history
4129 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_is_placeholder.m4).
4130
4131 License
4132 *******
4133
4134 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
4135
4136 Copying and distribution of this file, with or without modification, are
4137 permitted in any medium without royalty provided the copyright notice
4138 and this notice are preserved. This file is offered as-is, without any
4139 warranty.
4140
4141 
4142 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
4143
4144 ax_cxx_have_koenig_lookup
4145 =========================
4146
4147 Synopsis
4148 ********
4149
4150 AX_CXX_HAVE_KOENIG_LOOKUP
4151
4152 Description
4153 ***********
4154
4155 Define CXX_HAVE_KOENIG_LOOKUP if the C++ compiler has argument-dependent
4156 name lookup (a.k.a. Koenig lookup).
4157
4158 Source Code
4159 ***********
4160
4161 Download the latest version of 'ax_cxx_have_koenig_lookup.m4'
4162 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_koenig_lookup.m4)
4163 or browse the macro's revision history
4164 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_koenig_lookup.m4).
4165
4166 License
4167 *******
4168
4169 Copyright (C) 2008 Steve M. Robbins <smr@debian.org>
4170
4171 Copying and distribution of this file, with or without modification, are
4172 permitted in any medium without royalty provided the copyright notice
4173 and this notice are preserved. This file is offered as-is, without any
4174 warranty.
4175
4176 
4177 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
4178
4179 ax_cxx_have_long_long_for_iostream
4180 ==================================
4181
4182 Synopsis
4183 ********
4184
4185 AX_CXX_HAVE_LONG_LONG_FOR_IOSTREAM
4186
4187 Description
4188 ***********
4189
4190 Check if the compiler allow long long for [i|o]stream Seems that OpenBSD
4191 / gcc-3 don't have it.
4192
4193 Eg:
4194
4195 #include <iostream>
4196 #ifdef HAVE_SSTREAM
4197 #include <strstream>
4198 #else
4199 #include <sstream>
4200 #endif
4201 #ifdef HAVE_NAMESPACES
4202 using namespace std;
4203 #endif
4204 ostream str((streambuf *)0);
4205 long long lo=1;
4206 str <<
4207 #ifdef HAVE_LONG_LONG_FOR_IOSTREAM
4208 (long int)
4209 #endif
4210 lo;
4211
4212 Source Code
4213 ***********
4214
4215 Download the latest version of 'ax_cxx_have_long_long_for_iostream.m4'
4216 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_long_long_for_iostream.m4)
4217 or browse the macro's revision history
4218 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_long_long_for_iostream.m4).
4219
4220 License
4221 *******
4222
4223 Copyright (C) 2008 Alain BARBET <alian@cpan.org>
4224
4225 This program is free software; you can redistribute it and/or modify it
4226 under the terms of the GNU General Public License as published by the
4227 Free Software Foundation; either version 2 of the License, or (at your
4228 option) any later version.
4229
4230 This program is distributed in the hope that it will be useful, but
4231 WITHOUT ANY WARRANTY; without even the implied warranty of
4232 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
4233 Public License for more details.
4234
4235 You should have received a copy of the GNU General Public License along
4236 with this program. If not, see <https://www.gnu.org/licenses/>.
4237
4238 As a special exception, the respective Autoconf Macro's copyright owner
4239 gives unlimited permission to copy, distribute and modify the configure
4240 scripts that are the output of Autoconf when processing the Macro. You
4241 need not follow the terms of the GNU General Public License when using
4242 or distributing such scripts, even though portions of the text of the
4243 Macro appear in them. The GNU General Public License (GPL) does govern
4244 all other use of the material that constitutes the Autoconf Macro.
4245
4246 This special exception to the GPL applies to versions of the Autoconf
4247 Macro released by the Autoconf Archive. When you make and distribute a
4248 modified version of the Autoconf Macro, you may extend this special
4249 exception to the GPL to apply to your modified version as well.
4250
4251 
4252 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
4253
4254 ax_cxx_have_mem_fn
4255 ==================
4256
4257 Synopsis
4258 ********
4259
4260 AX_CXX_HAVE_MEM_FN()
4261
4262 Description
4263 ***********
4264
4265 This macro checks if std::mem_fn, added in C++11, is defined in the
4266 <functional> header.
4267
4268 If it is, define the ax_cv_cxx_have_mem_fn environment variable to "yes"
4269 and define HAVE_CXX_MEM_FN.
4270
4271 Source Code
4272 ***********
4273
4274 Download the latest version of 'ax_cxx_have_mem_fn.m4'
4275 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_mem_fn.m4)
4276 or browse the macro's revision history
4277 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_mem_fn.m4).
4278
4279 License
4280 *******
4281
4282 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
4283
4284 Copying and distribution of this file, with or without modification, are
4285 permitted in any medium without royalty provided the copyright notice
4286 and this notice are preserved. This file is offered as-is, without any
4287 warranty.
4288
4289 
4290 File: autoconf-archive.info, Node: ax_cxx_have_numeric_limits, Next: ax_cxx_have_placeholders, Prev: ax_cxx_have_mem_fn, Up: The Macros
4291
4292 ax_cxx_have_numeric_limits
4293 ==========================
4294
4295 Synopsis
4296 ********
4297
4298 AX_CXX_HAVE_NUMERIC_LIMITS
4299
4300 Description
4301 ***********
4302
4303 If the compiler has numeric_limits<T>, define HAVE_NUMERIC_LIMITS.
4304
4305 Source Code
4306 ***********
4307
4308 Download the latest version of 'ax_cxx_have_numeric_limits.m4'
4309 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_numeric_limits.m4)
4310 or browse the macro's revision history
4311 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_numeric_limits.m4).
4312
4313 License
4314 *******
4315
4316 Copyright (C) 2008 Todd Veldhuizen
4317 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
4318
4319 Copying and distribution of this file, with or without modification, are
4320 permitted in any medium without royalty provided the copyright notice
4321 and this notice are preserved. This file is offered as-is, without any
4322 warranty.
4323
4324 
4325 File: autoconf-archive.info, Node: ax_cxx_have_placeholders, Next: ax_cxx_have_ref, Prev: ax_cxx_have_numeric_limits, Up: The Macros
4326
4327 ax_cxx_have_placeholders
4328 ========================
4329
4330 Synopsis
4331 ********
4332
4333 AX_CXX_HAVE_PLACEHOLDERS()
4334
4335 Description
4336 ***********
4337
4338 This macro checks if std::placeholders, added in C++11, is defined in
4339 the <functional> header.
4340
4341 If it is, define the ax_cv_cxx_have_placeholders environment variable to
4342 "yes" and define HAVE_CXX_PLACEHOLDERS.
4343
4344 Source Code
4345 ***********
4346
4347 Download the latest version of 'ax_cxx_have_placeholders.m4'
4348 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_placeholders.m4)
4349 or browse the macro's revision history
4350 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_placeholders.m4).
4351
4352 License
4353 *******
4354
4355 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
4356
4357 Copying and distribution of this file, with or without modification, are
4358 permitted in any medium without royalty provided the copyright notice
4359 and this notice are preserved. This file is offered as-is, without any
4360 warranty.
4361
4362 
4363 File: autoconf-archive.info, Node: ax_cxx_have_ref, Next: ax_cxx_have_reference_wrapper, Prev: ax_cxx_have_placeholders, Up: The Macros
4364
4365 ax_cxx_have_ref
4366 ===============
4367
4368 Synopsis
4369 ********
4370
4371 AX_CXX_HAVE_REF()
4372
4373 Description
4374 ***********
4375
4376 This macro checks if std::ref, added in C++11, is defined in the
4377 <functional> header.
4378
4379 If it is, define the ax_cv_cxx_have_ref environment variable to "yes"
4380 and define HAVE_CXX_REF.
4381
4382 Source Code
4383 ***********
4384
4385 Download the latest version of 'ax_cxx_have_ref.m4'
4386 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ref.m4)
4387 or browse the macro's revision history
4388 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ref.m4).
4389
4390 License
4391 *******
4392
4393 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
4394
4395 Copying and distribution of this file, with or without modification, are
4396 permitted in any medium without royalty provided the copyright notice
4397 and this notice are preserved. This file is offered as-is, without any
4398 warranty.
4399
4400 
4401 File: autoconf-archive.info, Node: ax_cxx_have_reference_wrapper, Next: ax_cxx_have_sstream, Prev: ax_cxx_have_ref, Up: The Macros
4402
4403 ax_cxx_have_reference_wrapper
4404 =============================
4405
4406 Synopsis
4407 ********
4408
4409 AX_CXX_HAVE_REFERENCE_WRAPPER()
4410
4411 Description
4412 ***********
4413
4414 This macro checks if std::reference_wrapper, added in C++11, is defined
4415 in the <functional> header.
4416
4417 If it is, define the ax_cv_cxx_have_reference_wrapper environment
4418 variable to "yes" and define HAVE_CXX_REFERENCE_WRAPPER.
4419
4420 Source Code
4421 ***********
4422
4423 Download the latest version of 'ax_cxx_have_reference_wrapper.m4'
4424 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_reference_wrapper.m4)
4425 or browse the macro's revision history
4426 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_reference_wrapper.m4).
4427
4428 License
4429 *******
4430
4431 Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
4432
4433 Copying and distribution of this file, with or without modification, are
4434 permitted in any medium without royalty provided the copyright notice
4435 and this notice are preserved. This file is offered as-is, without any
4436 warranty.
4437
4438 
4439 File: autoconf-archive.info, Node: ax_cxx_have_sstream, Next: ax_cxx_have_std, Prev: ax_cxx_have_reference_wrapper, Up: The Macros
4440
4441 ax_cxx_have_sstream
4442 ===================
4443
4444 Synopsis
4445 ********
4446
4447 AX_CXX_HAVE_SSTREAM
4448
4449 Description
4450 ***********
4451
4452 If the C++ library has a working stringstream, define HAVE_SSTREAM.
4453
4454 Source Code
4455 ***********
4456
4457 Download the latest version of 'ax_cxx_have_sstream.m4'
4458 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_sstream.m4)
4459 or browse the macro's revision history
4460 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_sstream.m4).
4461
4462 License
4463 *******
4464
4465 Copyright (C) 2008 Ben Stanley <Ben.Stanley@exemail.com.au>
4466
4467 Copying and distribution of this file, with or without modification, are
4468 permitted in any medium without royalty provided the copyright notice
4469 and this notice are preserved. This file is offered as-is, without any
4470 warranty.
4471
4472 
4473 File: autoconf-archive.info, Node: ax_cxx_have_std, Next: ax_cxx_have_stl, Prev: ax_cxx_have_sstream, Up: The Macros
4474
4475 ax_cxx_have_std
4476 ===============
4477
4478 Synopsis
4479 ********
4480
4481 AX_CXX_HAVE_STD
4482
4483 Description
4484 ***********
4485
4486 If the compiler supports ISO C++ standard library (i.e., can include the
4487 files iostream, map, iomanip and cmath), define HAVE_STD.
4488
4489 Source Code
4490 ***********
4491
4492 Download the latest version of 'ax_cxx_have_std.m4'
4493 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_std.m4)
4494 or browse the macro's revision history
4495 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_std.m4).
4496
4497 License
4498 *******
4499
4500 Copyright (C) 2008 Todd Veldhuizen
4501 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
4502
4503 Copying and distribution of this file, with or without modification, are
4504 permitted in any medium without royalty provided the copyright notice
4505 and this notice are preserved. This file is offered as-is, without any
4506 warranty.
4507
4508 
4509 File: autoconf-archive.info, Node: ax_cxx_have_stl, Next: ax_cxx_have_string_push_back, Prev: ax_cxx_have_std, Up: The Macros
4510
4511 ax_cxx_have_stl
4512 ===============
4513
4514 Synopsis
4515 ********
4516
4517 AX_CXX_HAVE_STL
4518
4519 Description
4520 ***********
4521
4522 If the compiler supports the Standard Template Library, define HAVE_STL.
4523
4524 Source Code
4525 ***********
4526
4527 Download the latest version of 'ax_cxx_have_stl.m4'
4528 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_stl.m4)
4529 or browse the macro's revision history
4530 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_stl.m4).
4531
4532 License
4533 *******
4534
4535 Copyright (C) 2008 Todd Veldhuizen
4536 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
4537
4538 Copying and distribution of this file, with or without modification, are
4539 permitted in any medium without royalty provided the copyright notice
4540 and this notice are preserved. This file is offered as-is, without any
4541 warranty.
4542
4543 
4544 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
4545
4546 ax_cxx_have_string_push_back
4547 ============================
4548
4549 Synopsis
4550 ********
4551
4552 AX_CXX_HAVE_STRING_PUSH_BACK
4553
4554 Description
4555 ***********
4556
4557 If the implementation of the C++ library provides the method
4558 std::string::push_back (char), define HAVE_STRING_PUSH_BACK.
4559
4560 Source Code
4561 ***********
4562
4563 Download the latest version of 'ax_cxx_have_string_push_back.m4'
4564 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_string_push_back.m4)
4565 or browse the macro's revision history
4566 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_string_push_back.m4).
4567
4568 License
4569 *******
4570
4571 Copyright (C) 2008 Jan Langer <jan@langernetz.de>
4572
4573 Copying and distribution of this file, with or without modification, are
4574 permitted in any medium without royalty provided the copyright notice
4575 and this notice are preserved. This file is offered as-is, without any
4576 warranty.
4577
4578 
4579 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
4580
4581 ax_cxx_have_system_v_math
4582 =========================
4583
4584 Synopsis
4585 ********
4586
4587 AX_CXX_HAVE_SYSTEM_V_MATH
4588
4589 Description
4590 ***********
4591
4592 If the compiler has the double math functions _class, trunc, itrunc,
4593 nearest, rsqrt, uitrunc, copysign, drem, finite, and unordered, define
4594 HAVE_SYSTEM_V_MATH.
4595
4596 Source Code
4597 ***********
4598
4599 Download the latest version of 'ax_cxx_have_system_v_math.m4'
4600 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_system_v_math.m4)
4601 or browse the macro's revision history
4602 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_system_v_math.m4).
4603
4604 License
4605 *******
4606
4607 Copyright (C) 2008 Todd Veldhuizen
4608 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
4609
4610 Copying and distribution of this file, with or without modification, are
4611 permitted in any medium without royalty provided the copyright notice
4612 and this notice are preserved. This file is offered as-is, without any
4613 warranty.
4614
4615 
4616 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
4617
4618 ax_cxx_have_valarray
4619 ====================
4620
4621 Synopsis
4622 ********
4623
4624 AX_CXX_HAVE_VALARRAY
4625
4626 Description
4627 ***********
4628
4629 If the compiler has valarray<T>, define HAVE_VALARRAY.
4630
4631 Source Code
4632 ***********
4633
4634 Download the latest version of 'ax_cxx_have_valarray.m4'
4635 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_valarray.m4)
4636 or browse the macro's revision history
4637 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_valarray.m4).
4638
4639 License
4640 *******
4641
4642 Copyright (C) 2008 Todd Veldhuizen
4643 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
4644
4645 Copying and distribution of this file, with or without modification, are
4646 permitted in any medium without royalty provided the copyright notice
4647 and this notice are preserved. This file is offered as-is, without any
4648 warranty.
4649
4650 
4651 File: autoconf-archive.info, Node: ax_cxx_have_vector_at, Next: ax_cxx_header_pre_stdcxx, Prev: ax_cxx_have_valarray, Up: The Macros
4652
4653 ax_cxx_have_vector_at
4654 =====================
4655
4656 Synopsis
4657 ********
4658
4659 AX_CXX_HAVE_VECTOR_AT
4660
4661 Description
4662 ***********
4663
4664 If the implementation of the C++ library provides the method
4665 std::vector::at(std::size_t), define HAVE_VECTOR_AT.
4666
4667 Source Code
4668 ***********
4669
4670 Download the latest version of 'ax_cxx_have_vector_at.m4'
4671 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_vector_at.m4)
4672 or browse the macro's revision history
4673 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_vector_at.m4).
4674
4675 License
4676 *******
4677
4678 Copyright (C) 2008 Jan Langer <jan@langernetz.de>
4679
4680 Copying and distribution of this file, with or without modification, are
4681 permitted in any medium without royalty provided the copyright notice
4682 and this notice are preserved. This file is offered as-is, without any
4683 warranty.
4684
4685 
4686 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
4687
4688 ax_cxx_header_pre_stdcxx
4689 ========================
4690
4691 Synopsis
4692 ********
4693
4694 AX_CXX_HEADER_PRE_STDCXX
4695
4696 Description
4697 ***********
4698
4699 Check whether pre-ISO-C++ headers exist.
4700
4701 Source Code
4702 ***********
4703
4704 Download the latest version of 'ax_cxx_header_pre_stdcxx.m4'
4705 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_pre_stdcxx.m4)
4706 or browse the macro's revision history
4707 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_pre_stdcxx.m4).
4708
4709 License
4710 *******
4711
4712 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
4713
4714 Copying and distribution of this file, with or without modification, are
4715 permitted in any medium without royalty provided the copyright notice
4716 and this notice are preserved. This file is offered as-is, without any
4717 warranty.
4718
4719 
4720 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
4721
4722 ax_cxx_header_stdcxx_0x
4723 =======================
4724
4725 Synopsis
4726 ********
4727
4728 AX_CXX_HEADER_STDCXX_0X
4729
4730 Description
4731 ***********
4732
4733 Check for library coverage of the C++0x standard.
4734
4735 Source Code
4736 ***********
4737
4738 Download the latest version of 'ax_cxx_header_stdcxx_0x.m4'
4739 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_stdcxx_0x.m4)
4740 or browse the macro's revision history
4741 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_stdcxx_0x.m4).
4742
4743 License
4744 *******
4745
4746 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
4747
4748 Copying and distribution of this file, with or without modification, are
4749 permitted in any medium without royalty provided the copyright notice
4750 and this notice are preserved. This file is offered as-is, without any
4751 warranty.
4752
4753 
4754 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
4755
4756 ax_cxx_header_stdcxx_98
4757 =======================
4758
4759 Synopsis
4760 ********
4761
4762 AX_CXX_HEADER_STDCXX_98
4763
4764 Description
4765 ***********
4766
4767 Check for complete library coverage of the C++1998/2003 standard.
4768
4769 Source Code
4770 ***********
4771
4772 Download the latest version of 'ax_cxx_header_stdcxx_98.m4'
4773 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_stdcxx_98.m4)
4774 or browse the macro's revision history
4775 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_stdcxx_98.m4).
4776
4777 License
4778 *******
4779
4780 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
4781
4782 Copying and distribution of this file, with or without modification, are
4783 permitted in any medium without royalty provided the copyright notice
4784 and this notice are preserved. This file is offered as-is, without any
4785 warranty.
4786
4787 
4788 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
4789
4790 ax_cxx_header_stdcxx_tr1
4791 ========================
4792
4793 Synopsis
4794 ********
4795
4796 AX_CXX_HEADER_STDCXX_TR1
4797
4798 Description
4799 ***********
4800
4801 Check for library coverage of the TR1 standard.
4802
4803 Source Code
4804 ***********
4805
4806 Download the latest version of 'ax_cxx_header_stdcxx_tr1.m4'
4807 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_stdcxx_tr1.m4)
4808 or browse the macro's revision history
4809 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_stdcxx_tr1.m4).
4810
4811 License
4812 *******
4813
4814 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
4815
4816 Copying and distribution of this file, with or without modification, are
4817 permitted in any medium without royalty provided the copyright notice
4818 and this notice are preserved. This file is offered as-is, without any
4819 warranty.
4820
4821 
4822 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
4823
4824 ax_cxx_header_tr1_unordered_map
4825 ===============================
4826
4827 Synopsis
4828 ********
4829
4830 AX_CXX_HEADER_TR1_UNORDERED_MAP
4831
4832 Description
4833 ***********
4834
4835 Check whether the TR1 include <unordered_map> exists and define
4836 HAVE_TR1_UNORDERED_MAP if it does.
4837
4838 Source Code
4839 ***********
4840
4841 Download the latest version of 'ax_cxx_header_tr1_unordered_map.m4'
4842 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_tr1_unordered_map.m4)
4843 or browse the macro's revision history
4844 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_tr1_unordered_map.m4).
4845
4846 License
4847 *******
4848
4849 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
4850
4851 Copying and distribution of this file, with or without modification, are
4852 permitted in any medium without royalty provided the copyright notice
4853 and this notice are preserved. This file is offered as-is, without any
4854 warranty.
4855
4856 
4857 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
4858
4859 ax_cxx_header_tr1_unordered_set
4860 ===============================
4861
4862 Synopsis
4863 ********
4864
4865 AX_CXX_HEADER_TR1_UNORDERED_SET
4866
4867 Description
4868 ***********
4869
4870 Check whether the TR1 include <unordered_set> exists and define
4871 HAVE_TR1_UNORDERED_SET if it does.
4872
4873 Source Code
4874 ***********
4875
4876 Download the latest version of 'ax_cxx_header_tr1_unordered_set.m4'
4877 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_tr1_unordered_set.m4)
4878 or browse the macro's revision history
4879 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_tr1_unordered_set.m4).
4880
4881 License
4882 *******
4883
4884 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
4885
4886 Copying and distribution of this file, with or without modification, are
4887 permitted in any medium without royalty provided the copyright notice
4888 and this notice are preserved. This file is offered as-is, without any
4889 warranty.
4890
4891 
4892 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
4893
4894 ax_cxx_header_unordered_map
4895 ===========================
4896
4897 Synopsis
4898 ********
4899
4900 AX_CXX_HEADER_UNORDERED_MAP
4901
4902 Description
4903 ***********
4904
4905 Check whether the C++ include <unordered_map> exists and define
4906 HAVE_UNORDERED_MAP if it does.
4907
4908 Source Code
4909 ***********
4910
4911 Download the latest version of 'ax_cxx_header_unordered_map.m4'
4912 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_unordered_map.m4)
4913 or browse the macro's revision history
4914 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_unordered_map.m4).
4915
4916 License
4917 *******
4918
4919 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
4920
4921 Copying and distribution of this file, with or without modification, are
4922 permitted in any medium without royalty provided the copyright notice
4923 and this notice are preserved. This file is offered as-is, without any
4924 warranty.
4925
4926 
4927 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
4928
4929 ax_cxx_header_unordered_set
4930 ===========================
4931
4932 Synopsis
4933 ********
4934
4935 AX_CXX_HEADER_UNORDERED_SET
4936
4937 Description
4938 ***********
4939
4940 Check whether the C++ include <unordered_set> exists and define
4941 HAVE_UNORDERED_SET if it does.
4942
4943 Source Code
4944 ***********
4945
4946 Download the latest version of 'ax_cxx_header_unordered_set.m4'
4947 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_unordered_set.m4)
4948 or browse the macro's revision history
4949 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_unordered_set.m4).
4950
4951 License
4952 *******
4953
4954 Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
4955
4956 Copying and distribution of this file, with or without modification, are
4957 permitted in any medium without royalty provided the copyright notice
4958 and this notice are preserved. This file is offered as-is, without any
4959 warranty.
4960
4961 
4962 File: autoconf-archive.info, Node: ax_cxx_ldflags_std_lang, Next: ax_cxx_member_constants, Prev: ax_cxx_header_unordered_set, Up: The Macros
4963
4964 ax_cxx_ldflags_std_lang
4965 =======================
4966
4967 Synopsis
4968 ********
4969
4970 AX_CXX_LDFLAGS_STD_LANG(LD-FLAGS)
4971
4972 Description
4973 ***********
4974
4975 Append to LD-FLAGS the set of link-time flags that should be passed to
4976 the C++ compiler in order to enable use of C++ features as defined in
4977 the ANSI C++ standard (eg. use of standard iostream classes in the
4978 'std' namespace, etc.). Note that if you use GNU Libtool you may need
4979 to prefix each of those switches with '-Xlinker' so that Libtool doesn't
4980 discard them (see Libtool's manual and 'AC_LIBTOOLIZE_LDFLAGS').
4981
4982 Source Code
4983 ***********
4984
4985 Download the latest version of 'ax_cxx_ldflags_std_lang.m4'
4986 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_ldflags_std_lang.m4)
4987 or browse the macro's revision history
4988 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_ldflags_std_lang.m4).
4989
4990 License
4991 *******
4992
4993 Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
4994
4995 Copying and distribution of this file, with or without modification, are
4996 permitted in any medium without royalty provided the copyright notice
4997 and this notice are preserved. This file is offered as-is, without any
4998 warranty.
4999
5000 
5001 File: autoconf-archive.info, Node: ax_cxx_member_constants, Next: ax_cxx_member_templates, Prev: ax_cxx_ldflags_std_lang, Up: The Macros
5002
5003 ax_cxx_member_constants
5004 =======================
5005
5006 Synopsis
5007 ********
5008
5009 AX_CXX_MEMBER_CONSTANTS
5010
5011 Description
5012 ***********
5013
5014 If the compiler supports member constants, define HAVE_MEMBER_CONSTANTS.
5015
5016 Source Code
5017 ***********
5018
5019 Download the latest version of 'ax_cxx_member_constants.m4'
5020 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_member_constants.m4)
5021 or browse the macro's revision history
5022 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_member_constants.m4).
5023
5024 License
5025 *******
5026
5027 Copyright (C) 2008 Todd Veldhuizen
5028 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5029
5030 Copying and distribution of this file, with or without modification, are
5031 permitted in any medium without royalty provided the copyright notice
5032 and this notice are preserved. This file is offered as-is, without any
5033 warranty.
5034
5035 
5036 File: autoconf-archive.info, Node: ax_cxx_member_templates, Next: ax_cxx_member_templates_outside_class, Prev: ax_cxx_member_constants, Up: The Macros
5037
5038 ax_cxx_member_templates
5039 =======================
5040
5041 Synopsis
5042 ********
5043
5044 AX_CXX_MEMBER_TEMPLATES
5045
5046 Description
5047 ***********
5048
5049 If the compiler supports member templates, define HAVE_MEMBER_TEMPLATES.
5050
5051 Source Code
5052 ***********
5053
5054 Download the latest version of 'ax_cxx_member_templates.m4'
5055 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_member_templates.m4)
5056 or browse the macro's revision history
5057 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_member_templates.m4).
5058
5059 License
5060 *******
5061
5062 Copyright (C) 2008 Todd Veldhuizen
5063 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5064
5065 Copying and distribution of this file, with or without modification, are
5066 permitted in any medium without royalty provided the copyright notice
5067 and this notice are preserved. This file is offered as-is, without any
5068 warranty.
5069
5070 
5071 File: autoconf-archive.info, Node: ax_cxx_member_templates_outside_class, Next: ax_cxx_mutable, Prev: ax_cxx_member_templates, Up: The Macros
5072
5073 ax_cxx_member_templates_outside_class
5074 =====================================
5075
5076 Synopsis
5077 ********
5078
5079 AX_CXX_MEMBER_TEMPLATES_OUTSIDE_CLASS
5080
5081 Description
5082 ***********
5083
5084 If the compiler supports member templates outside the class declaration,
5085 define HAVE_MEMBER_TEMPLATES_OUTSIDE_CLASS.
5086
5087 Source Code
5088 ***********
5089
5090 Download the latest version of
5091 'ax_cxx_member_templates_outside_class.m4'
5092 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_member_templates_outside_class.m4)
5093 or browse the macro's revision history
5094 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_member_templates_outside_class.m4).
5095
5096 License
5097 *******
5098
5099 Copyright (C) 2008 Todd Veldhuizen
5100 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5101
5102 Copying and distribution of this file, with or without modification, are
5103 permitted in any medium without royalty provided the copyright notice
5104 and this notice are preserved. This file is offered as-is, without any
5105 warranty.
5106
5107 
5108 File: autoconf-archive.info, Node: ax_cxx_mutable, Next: ax_cxx_namespace_std, Prev: ax_cxx_member_templates_outside_class, Up: The Macros
5109
5110 ax_cxx_mutable
5111 ==============
5112
5113 Synopsis
5114 ********
5115
5116 AX_CXX_MUTABLE
5117
5118 Description
5119 ***********
5120
5121 If the compiler allows modifying class data members flagged with the
5122 mutable keyword even in const objects (for example in the body of a
5123 const member function), define HAVE_MUTABLE.
5124
5125 Source Code
5126 ***********
5127
5128 Download the latest version of 'ax_cxx_mutable.m4'
5129 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_mutable.m4)
5130 or browse the macro's revision history
5131 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_mutable.m4).
5132
5133 License
5134 *******
5135
5136 Copyright (C) 2008 Todd Veldhuizen
5137 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5138
5139 Copying and distribution of this file, with or without modification, are
5140 permitted in any medium without royalty provided the copyright notice
5141 and this notice are preserved. This file is offered as-is, without any
5142 warranty.
5143
5144 
5145 File: autoconf-archive.info, Node: ax_cxx_namespace_std, Next: ax_cxx_namespaces, Prev: ax_cxx_mutable, Up: The Macros
5146
5147 ax_cxx_namespace_std
5148 ====================
5149
5150 Synopsis
5151 ********
5152
5153 AX_CXX_NAMESPACE_STD
5154
5155 Description
5156 ***********
5157
5158 If the compiler supports namespace std, define HAVE_NAMESPACE_STD.
5159
5160 Source Code
5161 ***********
5162
5163 Download the latest version of 'ax_cxx_namespace_std.m4'
5164 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_namespace_std.m4)
5165 or browse the macro's revision history
5166 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_namespace_std.m4).
5167
5168 License
5169 *******
5170
5171 Copyright (C) 2009 Todd Veldhuizen
5172 Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
5173
5174 Copying and distribution of this file, with or without modification, are
5175 permitted in any medium without royalty provided the copyright notice
5176 and this notice are preserved. This file is offered as-is, without any
5177 warranty.
5178
5179 
5180 File: autoconf-archive.info, Node: ax_cxx_namespaces, Next: ax_cxx_new_for_scoping, Prev: ax_cxx_namespace_std, Up: The Macros
5181
5182 ax_cxx_namespaces
5183 =================
5184
5185 Synopsis
5186 ********
5187
5188 AX_CXX_NAMESPACES
5189
5190 Description
5191 ***********
5192
5193 If the compiler can prevent names clashes using namespaces, define
5194 HAVE_NAMESPACES.
5195
5196 Source Code
5197 ***********
5198
5199 Download the latest version of 'ax_cxx_namespaces.m4'
5200 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_namespaces.m4)
5201 or browse the macro's revision history
5202 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_namespaces.m4).
5203
5204 License
5205 *******
5206
5207 Copyright (C) 2008 Todd Veldhuizen
5208 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5209 Copyright (C) 2013 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
5210
5211 Copying and distribution of this file, with or without modification, are
5212 permitted in any medium without royalty provided the copyright notice
5213 and this notice are preserved. This file is offered as-is, without any
5214 warranty.
5215
5216 
5217 File: autoconf-archive.info, Node: ax_cxx_new_for_scoping, Next: ax_cxx_old_for_scoping, Prev: ax_cxx_namespaces, Up: The Macros
5218
5219 ax_cxx_new_for_scoping
5220 ======================
5221
5222 Synopsis
5223 ********
5224
5225 AX_CXX_NEW_FOR_SCOPING
5226
5227 Description
5228 ***********
5229
5230 If the compiler accepts the new for scoping rules (the scope of a
5231 variable declared inside the parentheses is restricted to the for-body),
5232 define HAVE_NEW_FOR_SCOPING.
5233
5234 Source Code
5235 ***********
5236
5237 Download the latest version of 'ax_cxx_new_for_scoping.m4'
5238 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_new_for_scoping.m4)
5239 or browse the macro's revision history
5240 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_new_for_scoping.m4).
5241
5242 License
5243 *******
5244
5245 Copyright (C) 2008 Todd Veldhuizen
5246 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5247
5248 Copying and distribution of this file, with or without modification, are
5249 permitted in any medium without royalty provided the copyright notice
5250 and this notice are preserved. This file is offered as-is, without any
5251 warranty.
5252
5253 
5254 File: autoconf-archive.info, Node: ax_cxx_old_for_scoping, Next: ax_cxx_partial_ordering, Prev: ax_cxx_new_for_scoping, Up: The Macros
5255
5256 ax_cxx_old_for_scoping
5257 ======================
5258
5259 Synopsis
5260 ********
5261
5262 AX_CXX_OLD_FOR_SCOPING
5263
5264 Description
5265 ***********
5266
5267 If the compiler accepts the old for scoping rules (the scope of a
5268 variable declared inside the parentheses extends outside the for-body),
5269 define HAVE_OLD_FOR_SCOPING. Note that some compilers (notably g++ and
5270 egcs) support both new and old rules since they accept the old rules and
5271 only generate a warning.
5272
5273 Source Code
5274 ***********
5275
5276 Download the latest version of 'ax_cxx_old_for_scoping.m4'
5277 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_old_for_scoping.m4)
5278 or browse the macro's revision history
5279 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_old_for_scoping.m4).
5280
5281 License
5282 *******
5283
5284 Copyright (C) 2008 Todd Veldhuizen
5285 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5286
5287 Copying and distribution of this file, with or without modification, are
5288 permitted in any medium without royalty provided the copyright notice
5289 and this notice are preserved. This file is offered as-is, without any
5290 warranty.
5291
5292 
5293 File: autoconf-archive.info, Node: ax_cxx_partial_ordering, Next: ax_cxx_partial_specialization, Prev: ax_cxx_old_for_scoping, Up: The Macros
5294
5295 ax_cxx_partial_ordering
5296 =======================
5297
5298 Synopsis
5299 ********
5300
5301 AX_CXX_PARTIAL_ORDERING
5302
5303 Description
5304 ***********
5305
5306 If the compiler supports partial ordering, define HAVE_PARTIAL_ORDERING.
5307
5308 Source Code
5309 ***********
5310
5311 Download the latest version of 'ax_cxx_partial_ordering.m4'
5312 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_partial_ordering.m4)
5313 or browse the macro's revision history
5314 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_partial_ordering.m4).
5315
5316 License
5317 *******
5318
5319 Copyright (C) 2008 Todd Veldhuizen
5320 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5321
5322 Copying and distribution of this file, with or without modification, are
5323 permitted in any medium without royalty provided the copyright notice
5324 and this notice are preserved. This file is offered as-is, without any
5325 warranty.
5326
5327 
5328 File: autoconf-archive.info, Node: ax_cxx_partial_specialization, Next: ax_cxx_reinterpret_cast, Prev: ax_cxx_partial_ordering, Up: The Macros
5329
5330 ax_cxx_partial_specialization
5331 =============================
5332
5333 Synopsis
5334 ********
5335
5336 AX_CXX_PARTIAL_SPECIALIZATION
5337
5338 Description
5339 ***********
5340
5341 If the compiler supports partial specialization, define
5342 HAVE_PARTIAL_SPECIALIZATION.
5343
5344 Source Code
5345 ***********
5346
5347 Download the latest version of 'ax_cxx_partial_specialization.m4'
5348 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_partial_specialization.m4)
5349 or browse the macro's revision history
5350 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_partial_specialization.m4).
5351
5352 License
5353 *******
5354
5355 Copyright (C) 2008 Todd Veldhuizen
5356 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5357
5358 Copying and distribution of this file, with or without modification, are
5359 permitted in any medium without royalty provided the copyright notice
5360 and this notice are preserved. This file is offered as-is, without any
5361 warranty.
5362
5363 
5364 File: autoconf-archive.info, Node: ax_cxx_reinterpret_cast, Next: ax_cxx_restrict_this, Prev: ax_cxx_partial_specialization, Up: The Macros
5365
5366 ax_cxx_reinterpret_cast
5367 =======================
5368
5369 Synopsis
5370 ********
5371
5372 AX_CXX_REINTERPRET_CAST
5373
5374 Description
5375 ***********
5376
5377 If the compiler supports reinterpret_cast<>, define
5378 HAVE_REINTERPRET_CAST.
5379
5380 Source Code
5381 ***********
5382
5383 Download the latest version of 'ax_cxx_reinterpret_cast.m4'
5384 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_reinterpret_cast.m4)
5385 or browse the macro's revision history
5386 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_reinterpret_cast.m4).
5387
5388 License
5389 *******
5390
5391 Copyright (C) 2008 Todd Veldhuizen
5392 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5393
5394 Copying and distribution of this file, with or without modification, are
5395 permitted in any medium without royalty provided the copyright notice
5396 and this notice are preserved. This file is offered as-is, without any
5397 warranty.
5398
5399 
5400 File: autoconf-archive.info, Node: ax_cxx_restrict_this, Next: ax_cxx_rtti, Prev: ax_cxx_reinterpret_cast, Up: The Macros
5401
5402 ax_cxx_restrict_this
5403 ====================
5404
5405 Synopsis
5406 ********
5407
5408 AX_CXX_RESTRICT_THIS
5409
5410 Description
5411 ***********
5412
5413 Determine whether the C++ compiler supports qualifying a member function
5414 with a restricted "this" pointer. Define "restrict_this" to the correct
5415 spelling; use like this:
5416
5417 T::fn() restrict_this { /* code */ }
5418
5419 Otherwise, define "restrict_this" to be empty.
5420
5421 Note: the syntax above is a GCC extension. If your C++ compiler has a
5422 different way of applying the 'restricted' qualifier to the "this"
5423 pointer, please consider reporting it.
5424
5425 Source Code
5426 ***********
5427
5428 Download the latest version of 'ax_cxx_restrict_this.m4'
5429 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_restrict_this.m4)
5430 or browse the macro's revision history
5431 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_restrict_this.m4).
5432
5433 License
5434 *******
5435
5436 Copyright (C) 2010 Riccardo Murri <riccardo.murri@gmail.com>
5437
5438 This program is free software; you can redistribute it and/or modify it
5439 under the terms of the GNU General Public License as published by the
5440 Free Software Foundation, either version 3 of the License, or (at your
5441 option) any later version.
5442
5443 This program is distributed in the hope that it will be useful, but
5444 WITHOUT ANY WARRANTY; without even the implied warranty of
5445 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
5446 Public License for more details.
5447
5448 Under Section 7 of GPL version 3, you are granted additional permissions
5449 described in the Autoconf Configure Script Exception, version 3.0, as
5450 published by the Free Software Foundation.
5451
5452 You should have received a copy of the GNU General Public License and a
5453 copy of the Autoconf Configure Script Exception along with this program;
5454 see the files COPYINGv3 and COPYING.EXCEPTION respectively. If not, see
5455 <https://www.gnu.org/licenses/>.
5456
5457 
5458 File: autoconf-archive.info, Node: ax_cxx_rtti, Next: ax_cxx_rvalue_references, Prev: ax_cxx_restrict_this, Up: The Macros
5459
5460 ax_cxx_rtti
5461 ===========
5462
5463 Synopsis
5464 ********
5465
5466 AX_CXX_RTTI
5467
5468 Description
5469 ***********
5470
5471 If the compiler supports Run-Time Type Identification (typeinfo header
5472 and typeid keyword), define HAVE_RTTI.
5473
5474 Source Code
5475 ***********
5476
5477 Download the latest version of 'ax_cxx_rtti.m4'
5478 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_rtti.m4)
5479 or browse the macro's revision history
5480 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_rtti.m4).
5481
5482 License
5483 *******
5484
5485 Copyright (C) 2008 Todd Veldhuizen
5486 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5487
5488 Copying and distribution of this file, with or without modification, are
5489 permitted in any medium without royalty provided the copyright notice
5490 and this notice are preserved. This file is offered as-is, without any
5491 warranty.
5492
5493 
5494 File: autoconf-archive.info, Node: ax_cxx_rvalue_references, Next: ax_cxx_static_cast, Prev: ax_cxx_rtti, Up: The Macros
5495
5496 ax_cxx_rvalue_references
5497 ========================
5498
5499 Synopsis
5500 ********
5501
5502 AX_CXX_RVALUE_REFERENCES
5503
5504 Description
5505 ***********
5506
5507 Check whether C++11 rvalue references are supported. If they are, the
5508 macro HAVE_RVALUE_REFERENCES is defined.
5509
5510 Does not ensure that the compiler is in C++11 mode.
5511
5512 Source Code
5513 ***********
5514
5515 Download the latest version of 'ax_cxx_rvalue_references.m4'
5516 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_rvalue_references.m4)
5517 or browse the macro's revision history
5518 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_rvalue_references.m4).
5519
5520 License
5521 *******
5522
5523 Copyright (C) 2012 Tudor Bosman <tudorb@gmail.com>
5524
5525 Copying and distribution of this file, with or without modification, are
5526 permitted in any medium without royalty provided the copyright notice
5527 and this notice are preserved. This file is offered as-is, without any
5528 warranty.
5529
5530 
5531 File: autoconf-archive.info, Node: ax_cxx_static_cast, Next: ax_cxx_stlport_hashmap, Prev: ax_cxx_rvalue_references, Up: The Macros
5532
5533 ax_cxx_static_cast
5534 ==================
5535
5536 Synopsis
5537 ********
5538
5539 AX_CXX_STATIC_CAST
5540
5541 Description
5542 ***********
5543
5544 If the compiler supports static_cast<>, define HAVE_STATIC_CAST.
5545
5546 Source Code
5547 ***********
5548
5549 Download the latest version of 'ax_cxx_static_cast.m4'
5550 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_static_cast.m4)
5551 or browse the macro's revision history
5552 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_static_cast.m4).
5553
5554 License
5555 *******
5556
5557 Copyright (C) 2008 Todd Veldhuizen
5558 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5559
5560 Copying and distribution of this file, with or without modification, are
5561 permitted in any medium without royalty provided the copyright notice
5562 and this notice are preserved. This file is offered as-is, without any
5563 warranty.
5564
5565 
5566 File: autoconf-archive.info, Node: ax_cxx_stlport_hashmap, Next: ax_cxx_template_keyword_qualifier, Prev: ax_cxx_static_cast, Up: The Macros
5567
5568 ax_cxx_stlport_hashmap
5569 ======================
5570
5571 Synopsis
5572 ********
5573
5574 AX_CXX_STLPORT_HASHMAP
5575
5576 Description
5577 ***********
5578
5579 Test for the presence of STLport's hashmap extension.
5580
5581 Source Code
5582 ***********
5583
5584 Download the latest version of 'ax_cxx_stlport_hashmap.m4'
5585 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_stlport_hashmap.m4)
5586 or browse the macro's revision history
5587 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_stlport_hashmap.m4).
5588
5589 License
5590 *******
5591
5592 Copyright (C) 2008 Patrick Mauritz <oxygene@studentenbude.ath.cx>
5593
5594 Copying and distribution of this file, with or without modification, are
5595 permitted in any medium without royalty provided the copyright notice
5596 and this notice are preserved. This file is offered as-is, without any
5597 warranty.
5598
5599 
5600 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
5601
5602 ax_cxx_template_keyword_qualifier
5603 =================================
5604
5605 Synopsis
5606 ********
5607
5608 AX_CXX_TEMPLATE_KEYWORD_QUALIFIER
5609
5610 Description
5611 ***********
5612
5613 If the compiler supports use of the template keyword as a qualifier,
5614 define HAVE_TEMPLATE_KEYWORD_QUALIFIER.
5615
5616 Source Code
5617 ***********
5618
5619 Download the latest version of 'ax_cxx_template_keyword_qualifier.m4'
5620 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_keyword_qualifier.m4)
5621 or browse the macro's revision history
5622 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_keyword_qualifier.m4).
5623
5624 License
5625 *******
5626
5627 Copyright (C) 2008 Todd Veldhuizen
5628 Copyright (C) 2008 Bernardo Innocenti
5629 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5630
5631 Copying and distribution of this file, with or without modification, are
5632 permitted in any medium without royalty provided the copyright notice
5633 and this notice are preserved. This file is offered as-is, without any
5634 warranty.
5635
5636 
5637 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
5638
5639 ax_cxx_template_qualified_base_class
5640 ====================================
5641
5642 Synopsis
5643 ********
5644
5645 AX_CXX_TEMPLATE_QUALIFIED_BASE_CLASS
5646
5647 Description
5648 ***********
5649
5650 If the compiler supports template-qualified base class specifiers,
5651 define HAVE_TEMPLATE_QUALIFIED_BASE_CLASS.
5652
5653 Source Code
5654 ***********
5655
5656 Download the latest version of 'ax_cxx_template_qualified_base_class.m4'
5657 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_qualified_base_class.m4)
5658 or browse the macro's revision history
5659 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_qualified_base_class.m4).
5660
5661 License
5662 *******
5663
5664 Copyright (C) 2008 Todd Veldhuizen
5665 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5666
5667 Copying and distribution of this file, with or without modification, are
5668 permitted in any medium without royalty provided the copyright notice
5669 and this notice are preserved. This file is offered as-is, without any
5670 warranty.
5671
5672 
5673 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
5674
5675 ax_cxx_template_qualified_return_type
5676 =====================================
5677
5678 Synopsis
5679 ********
5680
5681 AX_CXX_TEMPLATE_QUALIFIED_RETURN_TYPE
5682
5683 Description
5684 ***********
5685
5686 If the compiler supports template-qualified return types, define
5687 HAVE_TEMPLATE_QUALIFIED_RETURN_TYPE.
5688
5689 Source Code
5690 ***********
5691
5692 Download the latest version of
5693 'ax_cxx_template_qualified_return_type.m4'
5694 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_qualified_return_type.m4)
5695 or browse the macro's revision history
5696 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_qualified_return_type.m4).
5697
5698 License
5699 *******
5700
5701 Copyright (C) 2008 Todd Veldhuizen
5702 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5703
5704 Copying and distribution of this file, with or without modification, are
5705 permitted in any medium without royalty provided the copyright notice
5706 and this notice are preserved. This file is offered as-is, without any
5707 warranty.
5708
5709 
5710 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
5711
5712 ax_cxx_template_scoped_argument_matching
5713 ========================================
5714
5715 Synopsis
5716 ********
5717
5718 AX_CXX_TEMPLATE_SCOPED_ARGUMENT_MATCHING
5719
5720 Description
5721 ***********
5722
5723 If the compiler supports function matching with argument types which are
5724 template scope-qualified, define HAVE_TEMPLATE_SCOPED_ARGUMENT_MATCHING.
5725
5726 Source Code
5727 ***********
5728
5729 Download the latest version of
5730 'ax_cxx_template_scoped_argument_matching.m4'
5731 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_scoped_argument_matching.m4)
5732 or browse the macro's revision history
5733 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_scoped_argument_matching.m4).
5734
5735 License
5736 *******
5737
5738 Copyright (C) 2008 Todd Veldhuizen
5739 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5740
5741 Copying and distribution of this file, with or without modification, are
5742 permitted in any medium without royalty provided the copyright notice
5743 and this notice are preserved. This file is offered as-is, without any
5744 warranty.
5745
5746 
5747 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
5748
5749 ax_cxx_templates
5750 ================
5751
5752 Synopsis
5753 ********
5754
5755 AX_CXX_TEMPLATES
5756
5757 Description
5758 ***********
5759
5760 If the compiler supports basic templates, define HAVE_TEMPLATES.
5761
5762 Source Code
5763 ***********
5764
5765 Download the latest version of 'ax_cxx_templates.m4'
5766 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_templates.m4)
5767 or browse the macro's revision history
5768 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_templates.m4).
5769
5770 License
5771 *******
5772
5773 Copyright (C) 2008 Todd Veldhuizen
5774 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5775
5776 Copying and distribution of this file, with or without modification, are
5777 permitted in any medium without royalty provided the copyright notice
5778 and this notice are preserved. This file is offered as-is, without any
5779 warranty.
5780
5781 
5782 File: autoconf-archive.info, Node: ax_cxx_templates_as_template_arguments, Next: ax_cxx_typename, Prev: ax_cxx_templates, Up: The Macros
5783
5784 ax_cxx_templates_as_template_arguments
5785 ======================================
5786
5787 Synopsis
5788 ********
5789
5790 AX_CXX_TEMPLATES_AS_TEMPLATE_ARGUMENTS
5791
5792 Description
5793 ***********
5794
5795 If the compiler supports templates as template arguments, define
5796 HAVE_TEMPLATES_AS_TEMPLATE_ARGUMENTS.
5797
5798 Source Code
5799 ***********
5800
5801 Download the latest version of
5802 'ax_cxx_templates_as_template_arguments.m4'
5803 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_templates_as_template_arguments.m4)
5804 or browse the macro's revision history
5805 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_templates_as_template_arguments.m4).
5806
5807 License
5808 *******
5809
5810 Copyright (C) 2008 Todd Veldhuizen
5811 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5812
5813 Copying and distribution of this file, with or without modification, are
5814 permitted in any medium without royalty provided the copyright notice
5815 and this notice are preserved. This file is offered as-is, without any
5816 warranty.
5817
5818 
5819 File: autoconf-archive.info, Node: ax_cxx_typename, Next: ax_cxx_use_numtrait, Prev: ax_cxx_templates_as_template_arguments, Up: The Macros
5820
5821 ax_cxx_typename
5822 ===============
5823
5824 Synopsis
5825 ********
5826
5827 AX_CXX_TYPENAME
5828
5829 Description
5830 ***********
5831
5832 If the compiler recognizes the typename keyword, define HAVE_TYPENAME.
5833
5834 Source Code
5835 ***********
5836
5837 Download the latest version of 'ax_cxx_typename.m4'
5838 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_typename.m4)
5839 or browse the macro's revision history
5840 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_typename.m4).
5841
5842 License
5843 *******
5844
5845 Copyright (C) 2008 Todd Veldhuizen
5846 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5847
5848 Copying and distribution of this file, with or without modification, are
5849 permitted in any medium without royalty provided the copyright notice
5850 and this notice are preserved. This file is offered as-is, without any
5851 warranty.
5852
5853 
5854 File: autoconf-archive.info, Node: ax_cxx_use_numtrait, Next: ax_cxx_var_prettyfunc, Prev: ax_cxx_typename, Up: The Macros
5855
5856 ax_cxx_use_numtrait
5857 ===================
5858
5859 Synopsis
5860 ********
5861
5862 AX_CXX_USE_NUMTRAIT
5863
5864 Description
5865 ***********
5866
5867 If the compiler supports numeric traits promotions, define
5868 HAVE_USE_NUMTRAIT.
5869
5870 Source Code
5871 ***********
5872
5873 Download the latest version of 'ax_cxx_use_numtrait.m4'
5874 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_use_numtrait.m4)
5875 or browse the macro's revision history
5876 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_use_numtrait.m4).
5877
5878 License
5879 *******
5880
5881 Copyright (C) 2008 Todd Veldhuizen
5882 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
5883
5884 Copying and distribution of this file, with or without modification, are
5885 permitted in any medium without royalty provided the copyright notice
5886 and this notice are preserved. This file is offered as-is, without any
5887 warranty.
5888
5889 
5890 File: autoconf-archive.info, Node: ax_cxx_var_prettyfunc, Next: ax_cxx_verbose_terminate_handler, Prev: ax_cxx_use_numtrait, Up: The Macros
5891
5892 ax_cxx_var_prettyfunc
5893 =====================
5894
5895 Synopsis
5896 ********
5897
5898 AX_CXX_VAR_PRETTYFUNC
5899
5900 Description
5901 ***********
5902
5903 This function tries to determine the best C++ macro/identifier that
5904 contains the current function name. Depending on the compiler, this may
5905 be __PRETTY_FUNCTION__ (GCC), __FUNCSIG__ (MSVC), __func__ (C++
5906 standard), __FUNCTION__ (fallback).
5907
5908 The function will define HAVE_PRETTYFUNC if a macro exists, and define
5909 __PRETTYFUNC__ to the best possible macro. When HAVE_PRETTYFUNC is not
5910 defined, __PRETTYFUNC__ will contain the constant string "<<unknown>>".
5911
5912 Source Code
5913 ***********
5914
5915 Download the latest version of 'ax_cxx_var_prettyfunc.m4'
5916 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_var_prettyfunc.m4)
5917 or browse the macro's revision history
5918 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_var_prettyfunc.m4).
5919
5920 License
5921 *******
5922
5923 Copyright (C) 2014 Olaf Lenz <olenz@icp.uni-stuttgart.de>
5924
5925 This program is free software: you can redistribute it and/or modify it
5926 under the terms of the GNU General Public License as published by the
5927 Free Software Foundation, either version 3 of the License, or (at your
5928 option) any later version.
5929
5930 This program is distributed in the hope that it will be useful, but
5931 WITHOUT ANY WARRANTY; without even the implied warranty of
5932 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
5933 Public License for more details.
5934
5935 You should have received a copy of the GNU General Public License along
5936 with this program. If not, see <https://www.gnu.org/licenses/>.
5937
5938 As a special exception, the respective Autoconf Macro's copyright owner
5939 gives unlimited permission to copy, distribute and modify the configure
5940 scripts that are the output of Autoconf when processing the Macro. You
5941 need not follow the terms of the GNU General Public License when using
5942 or distributing such scripts, even though portions of the text of the
5943 Macro appear in them. The GNU General Public License (GPL) does govern
5944 all other use of the material that constitutes the Autoconf Macro.
5945
5946 This special exception to the GPL applies to versions of the Autoconf
5947 Macro released by the Autoconf Archive. When you make and distribute a
5948 modified version of the Autoconf Macro, you may extend this special
5949 exception to the GPL to apply to your modified version as well.
5950
5951 
5952 File: autoconf-archive.info, Node: ax_cxx_verbose_terminate_handler, Next: ax_czmq, Prev: ax_cxx_var_prettyfunc, Up: The Macros
5953
5954 ax_cxx_verbose_terminate_handler
5955 ================================
5956
5957 Synopsis
5958 ********
5959
5960 AX_CXX_VERBOSE_TERMINATE_HANDLER
5961
5962 Description
5963 ***********
5964
5965 Check if the terminate handler for the current compiler/standard library
5966 prints useful information to stdout/stderr (i.e. the type of the
5967 uncaught exception and/or the what() string).
5968
5969 The intended use case for this check is to help program authors decide
5970 if they need to add a top-level try-catch or custom terminate handler to
5971 print useful information if an uncaught exception occurs, or if this
5972 task can be left to the standard library implementation. Alternatively,
5973 it can be used to detect if such output needs to be silenced with a
5974 custom terminate handler.
5975
5976 Output:
5977
5978 Define HAVE_VERBOSE_TERMINATE_HANDLER if useful information is printed.
5979
5980 Source Code
5981 ***********
5982
5983 Download the latest version of 'ax_cxx_verbose_terminate_handler.m4'
5984 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_verbose_terminate_handler.m4)
5985 or browse the macro's revision history
5986 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_verbose_terminate_handler.m4).
5987
5988 License
5989 *******
5990
5991 Copyright (C) 2009 Kevin Locke <klocke@digitalenginesoftware.com>
5992 Copyright (C) 2008 Lapo Luchini <lapo@lapo.it>
5993
5994 Copying and distribution of this file, with or without modification, is
5995 permitted in any medium, without royalty, provided the copyright notice
5996 and this notice are preserved. This file is offered as-is, without any
5997 warranty. This file is offered as-is, without any warranty.
5998
5999 
6000 File: autoconf-archive.info, Node: ax_czmq, Next: ax_decl_wchar_max, Prev: ax_cxx_verbose_terminate_handler, Up: The Macros
6001
6002 ax_czmq
6003 =======
6004
6005 Synopsis
6006 ********
6007
6008 AX_CZMQ([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
6009
6010 Description
6011 ***********
6012
6013 Test for the CZMQ libraries of a particular version (or newer). The
6014 default version tested for is 3.0.0.
6015
6016 The macro tests for CZMQ libraries in the library/include path, and,
6017 when provided, also in the path given by -with-czmq.
6018
6019 This macro calls:
6020
6021 AC_SUBST(CZMQ_CPPFLAGS) / AC_SUBST(CZMQ_LDFLAGS) / AC_SUBST(CZMQ_LIBS)
6022
6023 And sets:
6024
6025 HAVE_CZMQ
6026
6027 Source Code
6028 ***********
6029
6030 Download the latest version of 'ax_czmq.m4'
6031 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_czmq.m4)
6032 or browse the macro's revision history
6033 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_czmq.m4).
6034
6035 License
6036 *******
6037
6038 Copyright (C) 2016 Jeroen Meijer <jjgmeijer@gmail.com>
6039
6040 Copying and distribution of this file, with or without modification, are
6041 permitted in any medium without royalty provided the copyright notice
6042 and this notice are preserved. This file is offered as-is, without any
6043 warranty.
6044
6045 
6046 File: autoconf-archive.info, Node: ax_decl_wchar_max, Next: ax_define_integer_bits, Prev: ax_czmq, Up: The Macros
6047
6048 ax_decl_wchar_max
6049 =================
6050
6051 Synopsis
6052 ********
6053
6054 AX_DECL_WCHAR_MAX
6055
6056 Description
6057 ***********
6058
6059 Checks whether the system headers define WCHAR_MAX or not. If it is
6060 already defined, does nothing. Otherwise checks the size and signedness
6061 of 'wchar_t', and defines WCHAR_MAX to the maximum value that can be
6062 stored in a variable of type 'wchar_t'.
6063
6064 Source Code
6065 ***********
6066
6067 Download the latest version of 'ax_decl_wchar_max.m4'
6068 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_decl_wchar_max.m4)
6069 or browse the macro's revision history
6070 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_decl_wchar_max.m4).
6071
6072 License
6073 *******
6074
6075 Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
6076
6077 Copying and distribution of this file, with or without modification, are
6078 permitted in any medium without royalty provided the copyright notice
6079 and this notice are preserved. This file is offered as-is, without any
6080 warranty.
6081
6082 
6083 File: autoconf-archive.info, Node: ax_define_integer_bits, Next: ax_define_sub_path, Prev: ax_decl_wchar_max, Up: The Macros
6084
6085 ax_define_integer_bits
6086 ======================
6087
6088 Synopsis
6089 ********
6090
6091 AX_DEFINE_INTEGER_BITS (TYPE [, CANDIDATE-TYPE]...)
6092
6093 Description
6094 ***********
6095
6096 Given a TYPE of the form "int##_t" or "uint##_t", see if the datatype
6097 TYPE is predefined. If not, then define TYPE - both with AC_DEFINE and
6098 as a shell variable - to the first datatype of exactly ## bits in a list
6099 of CANDIDATE-TYPEs. If none of the CANDIDATE-TYPEs contains exactly ##
6100 bits, then set the TYPE shell variable to "no".
6101
6102 For example, the following ensures that uint64_t is defined as a 64-bit
6103 datatype:
6104
6105 AX_DEFINE_INTEGER_BITS(uint64_t, unsigned long long, unsigned __int64, long)
6106 if test "$uint64_t" = no; then
6107 AC_MSG_ERROR([unable to continue without a 64-bit datatype])
6108 fi
6109
6110 You should then put the following in your C code to ensure that all
6111 datatypes defined by AX_DEFINE_INTEGER_BITS are visible to your program:
6112
6113 #include "config.h"
6114
6115 #if HAVE_INTTYPES_H
6116 # include <inttypes.h>
6117 #else
6118 # if HAVE_STDINT_H
6119 # include <stdint.h>
6120 # endif
6121 #endif
6122
6123 Source Code
6124 ***********
6125
6126 Download the latest version of 'ax_define_integer_bits.m4'
6127 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_define_integer_bits.m4)
6128 or browse the macro's revision history
6129 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_define_integer_bits.m4).
6130
6131 License
6132 *******
6133
6134 Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
6135
6136 Copying and distribution of this file, with or without modification, are
6137 permitted in any medium without royalty provided the copyright notice
6138 and this notice are preserved. This file is offered as-is, without any
6139 warranty.
6140
6141 
6142 File: autoconf-archive.info, Node: ax_define_sub_path, Next: ax_dirname, Prev: ax_define_integer_bits, Up: The Macros
6143
6144 ax_define_sub_path
6145 ==================
6146
6147 Synopsis
6148 ********
6149
6150 AX_DEFINE_SUB_PATH(DEFNAME, varname, description)
6151
6152 Description
6153 ***********
6154
6155 Look at varname and detect the subpath that it contains relative to
6156 $prefix/$exec_prefix. If the path is indeed relative to
6157 $prefix/$exec_prefix, then a single "./" (dotslash) is prepended,
6158 otherwise it can be seen as an absolute path that cannot be moved, which
6159 you possibly do for "/etc" files, or even those ending up in
6160 "/lib/modules" or "/winnt/system".
6161
6162 This macro is not very intelligent, it's just a first try in this
6163 direction. It does currently just look into the current patterns, and
6164 replaces a ${prefix} with a simple dot. Amazingly, it works quite well
6165 for most packages.
6166
6167 Example (configure.ac):
6168
6169 AX_DEFINE_DIR([EPREFIX], [exec_prefix], [--exec-prefix or default])
6170 AX_DEFINE_SUB_PATH([PATH_LIBDIR], [libdir], [--bindir subdir])
6171 AC_DEFINE_UNQUOTED([PACKAGE],"$PACKAGE", [Name of package])
6172
6173 Example (in C):
6174
6175 static const char _libdir[] = PATH_LIBDIR; /* configure default */
6176 char* libdir;
6177 char* eprefix = getenv (PACKAGE "DIR");
6178 if (! eprefix) eprefix = EPREFIX; /* default */
6179 if (*_libdir != '.') libdir = strdup(_libdir);
6180 else {
6181 libdir = malloc(strlen(eprefix) + strlen(_libdir) + 2);
6182 strcpy(libdir, eprefix);
6183 strcat(libdir, PATH_DELIMITER_STRING);
6184 strcat(libdir, _libdir);
6185 }
6186 ...
6187 free (libdir);
6188
6189 The AX_DEFINE_SUB_PATHS(varnames) macro looks for the given various
6190 install-paths that largely depend on either ${prefix} or ${exec_prefix}.
6191 Just cut out the prefix and ac_define the value. The value is
6192 uppercased and PATH_ prepended ie. ax_define_sub_paths(bindir libdir
6193 pkgdatadir) will create the defines PATH_BINDIR PATH_LIBDIR
6194 PATH_PKGDATADIR - see posix' include/paths.h that creates _PATH_DEV and
6195 friends.
6196
6197 Source Code
6198 ***********
6199
6200 Download the latest version of 'ax_define_sub_path.m4'
6201 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_define_sub_path.m4)
6202 or browse the macro's revision history
6203 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_define_sub_path.m4).
6204
6205 License
6206 *******
6207
6208 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
6209
6210 Copying and distribution of this file, with or without modification, are
6211 permitted in any medium without royalty provided the copyright notice
6212 and this notice are preserved. This file is offered as-is, without any
6213 warranty.
6214
6215 
6216 File: autoconf-archive.info, Node: ax_dirname, Next: ax_dist_msi, Prev: ax_define_sub_path, Up: The Macros
6217
6218 ax_dirname
6219 ==========
6220
6221 Synopsis
6222 ********
6223
6224 AX_DIRNAME(PATHNAME)
6225
6226 Description
6227 ***********
6228
6229 Parts of the implementation have been taken from AS_DIRNAME from the
6230 main autoconf package in generation 2.5x. However, we do only use "sed"
6231 to cut out the dirname, and we do additionally clean up some dir/..
6232 parts in the resulting pattern.
6233
6234 this macro may be used in autoconf 2.13 scripts as well.
6235
6236 Source Code
6237 ***********
6238
6239 Download the latest version of 'ax_dirname.m4'
6240 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dirname.m4)
6241 or browse the macro's revision history
6242 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dirname.m4).
6243
6244 License
6245 *******
6246
6247 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
6248
6249 Copying and distribution of this file, with or without modification, are
6250 permitted in any medium without royalty provided the copyright notice
6251 and this notice are preserved. This file is offered as-is, without any
6252 warranty.
6253
6254 
6255 File: autoconf-archive.info, Node: ax_dist_msi, Next: ax_dist_rpm, Prev: ax_dirname, Up: The Macros
6256
6257 ax_dist_msi
6258 ===========
6259
6260 Synopsis
6261 ********
6262
6263 AX_DIST_MSI([File])
6264
6265 Description
6266 ***********
6267
6268 Adds support for a msi (Microsoft Installer) dist target.
6269
6270 You must manually build the msi file yourself (probably from another
6271 computer). But it will be added to the list of extra bin dists and
6272 flagged for uploading (see ax_extra_dist.m4 and ax_upload.m4 for
6273 details).
6274
6275 Source Code
6276 ***********
6277
6278 Download the latest version of 'ax_dist_msi.m4'
6279 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dist_msi.m4)
6280 or browse the macro's revision history
6281 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dist_msi.m4).
6282
6283 License
6284 *******
6285
6286 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
6287
6288 Copying and distribution of this file, with or without modification, are
6289 permitted in any medium without royalty provided the copyright notice
6290 and this notice are preserved. This file is offered as-is, without any
6291 warranty.
6292
6293 
6294 File: autoconf-archive.info, Node: ax_dist_rpm, Next: ax_dll_string, Prev: ax_dist_msi, Up: The Macros
6295
6296 ax_dist_rpm
6297 ===========
6298
6299 Synopsis
6300 ********
6301
6302 AX_DIST_RPM([SPEC])
6303
6304 Description
6305 ***********
6306
6307 Adds support for a rpm dist target.
6308
6309 You will need to create a spec template with everything except the files
6310 and the Changelog. Use @PACKAGE@ and @VERSION@ to refer to the package
6311 name and version respectively. The files and ChangeLog will be filled
6312 in automatically. For instance:
6313
6314 Summary: Foobar
6315 Name: @PACKAGE@
6316 Version: @VERSION@
6317 Release: 0
6318 License: GPL
6319 Group: Productivity/Networking
6320 Source0: http://somewhere/Foobar/%{name}-%{version}.tar.gz
6321 URL: http://somewhere
6322 BuildRoot: %{_tmppath}/%{name}-root
6323 Prefix: %{_prefix}
6324
6325 %description
6326 Foobar does something
6327
6328 %prep
6329 %setup
6330
6331 %build
6332 %configure
6333 make
6334
6335 %install
6336 %makeinstall
6337
6338 %clean
6339 rm -rf $RPM_BUILD_ROOT
6340
6341 %files
6342 %defattr(-,root,root)
6343
6344 %doc AUTHORS BUGS COPYING INSTALL NEWS README
6345
6346 %changelog
6347
6348 Make sure ax_upload.am is added to aminclude_static.am and you have
6349 'include aminclude_static.am' in Makefile.am
6350
6351 Source Code
6352 ***********
6353
6354 Download the latest version of 'ax_dist_rpm.m4'
6355 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dist_rpm.m4)
6356 or browse the macro's revision history
6357 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dist_rpm.m4).
6358
6359 License
6360 *******
6361
6362 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
6363
6364 Copying and distribution of this file, with or without modification, are
6365 permitted in any medium without royalty provided the copyright notice
6366 and this notice are preserved. This file is offered as-is, without any
6367 warranty.
6368
6369 
6370 File: autoconf-archive.info, Node: ax_dll_string, Next: ax_elisp, Prev: ax_dist_rpm, Up: The Macros
6371
6372 ax_dll_string
6373 =============
6374
6375 Synopsis
6376 ********
6377
6378 AX_DLL_STRING
6379
6380 Description
6381 ***********
6382
6383 Tests for a bug currently in g++ 3.4.4 on Cygwin (maybe other targets
6384 with statically linked libstdc++?) where passing an empty std::string
6385 to a dll will cause a crash on destruction due to incorrect memory
6386 handling. See bug 24196 in gcc's bugzilla for more details:
6387 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196
6388
6389 Source Code
6390 ***********
6391
6392 Download the latest version of 'ax_dll_string.m4'
6393 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dll_string.m4)
6394 or browse the macro's revision history
6395 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dll_string.m4).
6396
6397 License
6398 *******
6399
6400 Copyright (C) 2008 Steven Brown <swbrown@variadic.org>
6401
6402 Copying and distribution of this file, with or without modification, are
6403 permitted in any medium without royalty provided the copyright notice
6404 and this notice are preserved. This file is offered as-is, without any
6405 warranty.
6406
6407 
6408 File: autoconf-archive.info, Node: ax_elisp, Next: ax_enable_builddir, Prev: ax_dll_string, Up: The Macros
6409
6410 ax_elisp
6411 ========
6412
6413 Synopsis
6414 ********
6415
6416 AX_ELISP_CONFIG_FILE(FILENAME)
6417 AX_ELISP_CHECK(SYMBOL,DESCRIPTION,BODY,SUCCESS-EXPR)
6418 AX_ELISP_CHECK_FEATURE(SYMBOL)
6419 AX_ELISP_CHECK_FBOUNDP(SYMBOL,[FEATURE [...]])
6420 AX_ELISP_CHECK_BOUNDP(SYMBOL,[FEATURE [...]])
6421
6422 Description
6423 ***********
6424
6425 This is a simple library to check the Emacs reality by way of Emacs Lisp
6426 forms evaluated under $EMACS -batch -Q. This means you MUST have the
6427 shell variable EMACS set to a valid Emacs executable prior to the first
6428 call to any of the AX_ELISP_CHECK et al macros. Those work by saving
6429 their results to the file defined by calling AX_ELISP_CONFIG_FILE so you
6430 MUST call that prior, too. For example:
6431
6432 dnl Arrange to save config answers in $top_builddir/lisp/config.el.
6433 AX_ELISP_CONFIG_FILE([lisp/config.el])
6434
6435 dnl Set shell variable EMACS and AC_SUBST it, too.
6436 dnl (NB: This is a separate Autoconf Archive macro.)
6437 AX_PROG_EMACS
6438
6439 In the following detailed descriptions, SYMBOL stands for an Emacs Lisp
6440 symbol, which may contain hyphens, e.g., 'define-error' or 'org-src'.
6441 Likewise, FEATURE is an Emacs Lisp symbol (naming a feature). BODY and
6442 SUCCESS-EXPR are Emacs Lisp forms, zero or more for BODY and exactly one
6443 for SUCCESS-EXPR. In these forms you must take care to avoid apostrophe
6444 (U+27). Instead of 'foo, write (quote foo).
6445
6446 * AX_ELISP_CONFIG_FILE(FILENAME)
6447
6448 This arranges for future AX_ELISP_CHECK (et al) calls to save their
6449 results in FILENAME. May be called multiple times. FILENAME should be
6450 relative to the top build dir.
6451
6452 * AX_ELISP_CHECK(SYMBOL,DESCRIPTION,BODY,SUCCESS-EXPR)
6453
6454 This is the general macro that the other AX_ELISP_CHECK* macros use. It
6455 constructs a short Emacs Lisp file comprising BODY and evaluates it via
6456 $EMACS -batch -Q. The exit value of this script depends on the result of
6457 evaluating SUCCESS-EXPR: non-nil is success and nil is failure. On
6458 success, append SYMBOL on a line of its own to the config file. This
6459 macro uses AC_CACHE_CHECK and passes DESCRIPTION to it.
6460
6461 * AX_ELISP_CHECK_FEATURE(FEATURE)
6462
6463 This checks if (require (quote FEATURE)) is successful. If so, add
6464 featurep-FEATURE to the config file (NB the "featurep-" prefix).
6465
6466 * AX_ELISP_CHECK_FBOUNDP(SYMBOL,[FEATURE [...]])
6467
6468 This checks if (fboundp (quote SYMBOL)) is successful. If so, append
6469 SYMBOL to the config file. Optional 2nd arg is a space-separated list
6470 of features to require prior to the fboundp check.
6471
6472 * AX_ELISP_CHECK_BOUNDP(SYMBOL,[FEATURE [...]])
6473
6474 This checks if (boundp (quote SYMBOL)) is successful. If so, append
6475 SYMBOL to the config file. Optional 2nd arg is a space-separated list
6476 of features to require prior to the boundp check.
6477
6478 Source Code
6479 ***********
6480
6481 Download the latest version of 'ax_elisp.m4'
6482 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_elisp.m4)
6483 or browse the macro's revision history
6484 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_elisp.m4).
6485
6486 License
6487 *******
6488
6489 Copyright (C) 2016-2017 Thien-Thi Nguyen
6490
6491 This program is free software; you can redistribute it and/or modify it
6492 under the terms of the GNU General Public License as published by the
6493 Free Software Foundation; either version 3 of the License, or (at your
6494 option) any later version.
6495
6496 This program is distributed in the hope that it will be useful, but
6497 WITHOUT ANY WARRANTY; without even the implied warranty of
6498 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6499 Public License for more details.
6500
6501 You should have received a copy of the GNU General Public License along
6502 with this program. If not, see <https://www.gnu.org/licenses/>.
6503
6504 As a special exception, the respective Autoconf Macro's copyright owner
6505 gives unlimited permission to copy, distribute and modify the configure
6506 scripts that are the output of Autoconf when processing the Macro. You
6507 need not follow the terms of the GNU General Public License when using
6508 or distributing such scripts, even though portions of the text of the
6509 Macro appear in them. The GNU General Public License (GPL) does govern
6510 all other use of the material that constitutes the Autoconf Macro.
6511
6512 This special exception to the GPL applies to versions of the Autoconf
6513 Macro released by the Autoconf Archive. When you make and distribute a
6514 modified version of the Autoconf Macro, you may extend this special
6515 exception to the GPL to apply to your modified version as well.
6516
6517 
6518 File: autoconf-archive.info, Node: ax_enable_builddir, Next: ax_execinfo, Prev: ax_elisp, Up: The Macros
6519
6520 ax_enable_builddir
6521 ==================
6522
6523 Synopsis
6524 ********
6525
6526 AX_ENABLE_BUILDDIR [(dirstring-or-command [,Makefile.mk [,-all]])]
6527
6528 Description
6529 ***********
6530
6531 If the current configure was run within the srcdir then we move all
6532 configure-files into a subdir and let the configure steps continue
6533 there. We provide an option -disable-builddir to suppress the move into
6534 a separate builddir.
6535
6536 Defaults:
6537
6538 $1 = $host (overridden with $HOST)
6539 $2 = Makefile.mk
6540 $3 = -all
6541
6542 This macro must be called before AM_INIT_AUTOMAKE. It creates a default
6543 toplevel srcdir Makefile from the information found in the created
6544 toplevel builddir Makefile. It just copies the variables and
6545 rule-targets, each extended with a default rule-execution that recurses
6546 into the build directory of the current "HOST". You can override the
6547 auto-detection through 'config.guess' and build-time of course, as in
6548
6549 make HOST=i386-mingw-cross
6550
6551 which can of course set at configure time as well using
6552
6553 configure --host=i386-mingw-cross
6554
6555 After the default has been created, additional rules can be appended
6556 that will not just recurse into the subdirectories and only ever exist
6557 in the srcdir toplevel makefile - these parts are read from the $2 =
6558 Makefile.mk file
6559
6560 The automatic rules are usually scanning the toplevel Makefile for lines
6561 like '#### $host |$builddir' to recognize the place where to recurse
6562 into. Usually, the last one is the only one used. However, almost all
6563 targets have an additional "*-all" rule which makes the script to
6564 recurse into _all_ variants of the current HOST (!!) setting. The
6565 "-all" suffix can be overridden for the macro as well.
6566
6567 a special rule is only given for things like "dist" that will copy the
6568 tarball from the builddir to the sourcedir (or $(PUB)) for reason of
6569 convenience.
6570
6571 Source Code
6572 ***********
6573
6574 Download the latest version of 'ax_enable_builddir.m4'
6575 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_enable_builddir.m4)
6576 or browse the macro's revision history
6577 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_enable_builddir.m4).
6578
6579 License
6580 *******
6581
6582 Copyright (C) 2009 Guido U. Draheim <guidod@gmx.de>
6583 Copyright (C) 2009 Alan Jenkins <alan-jenkins@tuffmail.co.uk>
6584
6585 This program is free software; you can redistribute it and/or modify it
6586 under the terms of the GNU General Public License as published by the
6587 Free Software Foundation; either version 3 of the License, or (at your
6588 option) any later version.
6589
6590 This program is distributed in the hope that it will be useful, but
6591 WITHOUT ANY WARRANTY; without even the implied warranty of
6592 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6593 Public License for more details.
6594
6595 You should have received a copy of the GNU General Public License along
6596 with this program. If not, see <https://www.gnu.org/licenses/>.
6597
6598 As a special exception, the respective Autoconf Macro's copyright owner
6599 gives unlimited permission to copy, distribute and modify the configure
6600 scripts that are the output of Autoconf when processing the Macro. You
6601 need not follow the terms of the GNU General Public License when using
6602 or distributing such scripts, even though portions of the text of the
6603 Macro appear in them. The GNU General Public License (GPL) does govern
6604 all other use of the material that constitutes the Autoconf Macro.
6605
6606 This special exception to the GPL applies to versions of the Autoconf
6607 Macro released by the Autoconf Archive. When you make and distribute a
6608 modified version of the Autoconf Macro, you may extend this special
6609 exception to the GPL to apply to your modified version as well.
6610
6611 
6612 File: autoconf-archive.info, Node: ax_execinfo, Next: ax_expand_prefix, Prev: ax_enable_builddir, Up: The Macros
6613
6614 ax_execinfo
6615 ===========
6616
6617 Synopsis
6618 ********
6619
6620 AX_EXECINFO([ACTION-IF-EXECINFO-H-IS-FOUND], [ACTION-IF-EXECINFO-H-IS-NOT-FOUND], [ADDITIONAL-TYPES-LIST])
6621
6622 Description
6623 ***********
6624
6625 Checks for execinfo.h header and if the len parameter/return type can be
6626 found from a list, also define backtrace_size_t to that type.
6627
6628 By default the list of types to try contains int and size_t, but should
6629 some yet undiscovered system use e.g. unsigned, the 3rd argument can be
6630 used for extensions. I'd like to hear of further suggestions.
6631
6632 Executes ACTION-IF-EXECINFO-H-IS-FOUND when present and the execinfo.h
6633 header is found or ACTION-IF-EXECINFO-H-IS-NOT-FOUND in case the header
6634 seems unavailable.
6635
6636 Also adds -lexecinfo to LIBS on BSD if needed.
6637
6638 Source Code
6639 ***********
6640
6641 Download the latest version of 'ax_execinfo.m4'
6642 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_execinfo.m4)
6643 or browse the macro's revision history
6644 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_execinfo.m4).
6645
6646 License
6647 *******
6648
6649 Copyright (C) 2014 Thomas Jahns <jahns@dkrz.de>
6650
6651 Copying and distribution of this file, with or without modification, are
6652 permitted in any medium without royalty provided the copyright notice
6653 and this notice are preserved. This file is offered as-is, without any
6654 warranty.
6655
6656 
6657 File: autoconf-archive.info, Node: ax_expand_prefix, Next: ax_ext, Prev: ax_execinfo, Up: The Macros
6658
6659 ax_expand_prefix
6660 ================
6661
6662 Synopsis
6663 ********
6664
6665 AX_EXPAND_PREFIX
6666
6667 Description
6668 ***********
6669
6670 When $prefix and $exec_prefix are still set to NONE then set them to the
6671 usual default values - being based on $ac_default_prefix. - this macro
6672 can be AC_REQUIREd by other macros that need to compute values for
6673 installation directories. It has been observed that it was done wrong
6674 over and over again, so this is a bit more safe to do.
6675
6676 remember - setting exec_prefix='${prefix}' needs you interpolate
6677 directories multiple times, it is not sufficient to just say
6678 MYVAR="${datadir}/putter" but you do have to run 'eval' a few times,
6679 sth. like MYVAR='eval "echo \"$MYVAR\""' done at least two times.
6680
6681 The implementation of this macro simply picks up the lines that would be
6682 run at the start of AC_OUTPUT anyway to set the prefix/exec_prefix
6683 defaults. Between AC_INIT and the first command to AC_REQUIRE this
6684 macro you can set the two variables to something explicit instead.
6685 Probably, any command to compute installation directories should be run
6686 _after_ AM_INIT_AUTOMAKE
6687
6688 Source Code
6689 ***********
6690
6691 Download the latest version of 'ax_expand_prefix.m4'
6692 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_expand_prefix.m4)
6693 or browse the macro's revision history
6694 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_expand_prefix.m4).
6695
6696 License
6697 *******
6698
6699 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
6700
6701 Copying and distribution of this file, with or without modification, are
6702 permitted in any medium without royalty provided the copyright notice
6703 and this notice are preserved. This file is offered as-is, without any
6704 warranty.
6705
6706 
6707 File: autoconf-archive.info, Node: ax_ext, Next: ax_ext_check_header, Prev: ax_expand_prefix, Up: The Macros
6708
6709 ax_ext
6710 ======
6711
6712 Synopsis
6713 ********
6714
6715 AX_EXT
6716
6717 Description
6718 ***********
6719
6720 Find supported SIMD extensions by requesting cpuid. When a SIMD
6721 extension is found, the -m"simdextensionname" is added to SIMD_FLAGS if
6722 compiler supports it. For example, if "sse2" is available then "-msse2"
6723 is added to SIMD_FLAGS.
6724
6725 Find other supported CPU extensions by requesting cpuid. When a
6726 processor extension is found, the -m"extensionname" is added to
6727 CPUEXT_FLAGS if compiler supports it. For example, if "bmi2" is
6728 available then "-mbmi2" is added to CPUEXT_FLAGS.
6729
6730 This macro calls:
6731
6732 AC_SUBST(SIMD_FLAGS)
6733 AC_SUBST(CPUEXT_FLAGS)
6734
6735 And defines:
6736
6737 HAVE_RDRND / HAVE_BMI1 / HAVE_BMI2 / HAVE_ADX / HAVE_MPX
6738 HAVE_PREFETCHWT1 / HAVE_ABM / HAVE_MMX / HAVE_SSE / HAVE_SSE2
6739 HAVE_SSE3 / HAVE_SSSE3 / HAVE_SSE4_1 / HAVE_SSE4_2 / HAVE_SSE4a
6740 HAVE_SHA / HAVE_AES / HAVE_AVX / HAVE_FMA3 / HAVE_FMA4 / HAVE_XOP
6741 HAVE_AVX2 / HAVE_AVX512_F / HAVE_AVX512_CD / HAVE_AVX512_PF
6742 HAVE_AVX512_ER / HAVE_AVX512_VL / HAVE_AVX512_BW / HAVE_AVX512_DQ
6743 HAVE_AVX512_IFMA / HAVE_AVX512_VBMI / HAVE_ALTIVEC / HAVE_VSX
6744
6745 Source Code
6746 ***********
6747
6748 Download the latest version of 'ax_ext.m4'
6749 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ext.m4)
6750 or browse the macro's revision history
6751 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ext.m4).
6752
6753 License
6754 *******
6755
6756 Copyright (C) 2007 Christophe Tournayre <turn3r@users.sourceforge.net>
6757 Copyright (C) 2013,2015 Michael Petch <mpetch@capp-sysware.com>
6758 Copyright (C) 2017 Rafael de Lucena Valle <rafaeldelucena@gmail.com>
6759
6760 Copying and distribution of this file, with or without modification, are
6761 permitted in any medium without royalty provided the copyright notice
6762 and this notice are preserved. This file is offered as-is, without any
6763 warranty.
6764
6765 
6766 File: autoconf-archive.info, Node: ax_ext_check_header, Next: ax_ext_have_lib, Prev: ax_ext, Up: The Macros
6767
6768 ax_ext_check_header
6769 ===================
6770
6771 Synopsis
6772 ********
6773
6774 AX_EXT_CHECK_HEADER(<header>, <paths>).
6775
6776 Description
6777 ***********
6778
6779 Check for <header> with -I<path> for each path in <paths> if need be.
6780 The first sucecssful path is chosen (eg if you say
6781 AX_EXT_CHECK_HEADER(foo.h, bar baz qux) and -Ibaz works then -Iqux will
6782 not be tested.
6783
6784 Any -I flags that locate a header are added to CFLAGS and CPPFLAGS. AS
6785 with AC_CHECK_HEADERS it causes HAVE_<header>_H to be defined as 1.
6786
6787 Example:
6788
6789 AX_EXT_HAVE_HEADER(openssl/rsa.h, /usr/local/include /usr/local/ssl/include /usr/local/openssl/include)
6790
6791 Source Code
6792 ***********
6793
6794 Download the latest version of 'ax_ext_check_header.m4'
6795 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ext_check_header.m4)
6796 or browse the macro's revision history
6797 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ext_check_header.m4).
6798
6799 License
6800 *******
6801
6802 Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
6803
6804 Copying and distribution of this file, with or without modification, are
6805 permitted in any medium without royalty provided the copyright notice
6806 and this notice are preserved. This file is offered as-is, without any
6807 warranty.
6808
6809 
6810 File: autoconf-archive.info, Node: ax_ext_have_lib, Next: ax_extend_srcdir, Prev: ax_ext_check_header, Up: The Macros
6811
6812 ax_ext_have_lib
6813 ===============
6814
6815 Synopsis
6816 ********
6817
6818 AX_EXT_HAVE_LIB(<directories>, <library>, <function>, <extra libraries>)
6819
6820 Description
6821 ***********
6822
6823 AX_EXT_HAVE_LIB is identical to AC_SEARCH_LIBS with the exception that
6824 will add -L<directory> when looking, and use a different variable for
6825 each directory.
6826
6827 Any required -L<directory> flags are added to LDFLAGS and located
6828 libraies are added to LIBS
6829
6830 Some libraries are unlinkable without other extra libraries, which can
6831 be specified in the 4th argument. The mysql client library needs -lz,
6832 for example.
6833
6834 Example:
6835
6836 AX_EXT_HAVE_LIB(/lib /usr/lib /usr/local/lib /usr/lib/mysql /usr/local/mysql/lib, mysqlclient, mysql_init, [-lz])
6837
6838 which finds the mysql client library if succeeds system when it tries
6839 with -L/usr/lib/mysql then it adds -lmysqlclient to LIBS and
6840 -L/usr/lib/mysql to LDFLAGS.
6841
6842 The test itself is based on the autoconf 2.53 version of AC_SEARCH_LIBS.
6843
6844 Source Code
6845 ***********
6846
6847 Download the latest version of 'ax_ext_have_lib.m4'
6848 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ext_have_lib.m4)
6849 or browse the macro's revision history
6850 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ext_have_lib.m4).
6851
6852 License
6853 *******
6854
6855 Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
6856
6857 Copying and distribution of this file, with or without modification, are
6858 permitted in any medium without royalty provided the copyright notice
6859 and this notice are preserved. This file is offered as-is, without any
6860 warranty.
6861
6862 
6863 File: autoconf-archive.info, Node: ax_extend_srcdir, Next: ax_extra_dist, Prev: ax_ext_have_lib, Up: The Macros
6864
6865 ax_extend_srcdir
6866 ================
6867
6868 Synopsis
6869 ********
6870
6871 AX_EXTEND_SRCDIR
6872
6873 Description
6874 ***********
6875
6876 The AX_EXTEND_SRCDIR macro extends $srcdir by one path component.
6877
6878 As an example, when working in /home/michael/i3-4.12/build and calling
6879 ../configure, your $srcdir is "..". After calling AX_EXTEND_SRCDIR,
6880 $srcdir will be set to "../../i3-4.12".
6881
6882 The result of extending $srcdir is that filenames (e.g. in the output
6883 of the "backtrace" gdb command) will include one more path component of
6884 the absolute source path. The additional path component makes it easy
6885 for users to recognize which files belong to the PACKAGE, and - provided
6886 a dist tarball was unpacked - which version of PACKAGE was used.
6887
6888 As an example, in "backtrace", you will see:
6889
6890 #0 main (argc=1, argv=0x7fffffff1fc8) at ../../i3-4.12/src/main.c:187
6891
6892 instead of:
6893
6894 #0 main (argc=1, argv=0x7fffffff1fc8) at ../src/main.c:187
6895
6896 In case your code uses the __FILE__ preprocessor directive to refer to
6897 the filename of the current source file (e.g. in debug messages), using
6898 the extended path might be undesirable. For this purpose,
6899 AX_EXTEND_SRCDIR defines the output variable AX_EXTEND_SRCDIR_CPPFLAGS,
6900 which can be added to AM_CPPFLAGS in Makefile.am in order to define the
6901 preprocessor directive STRIPPED__FILE__. As an example, when compiling
6902 the file "../../i3-4.12/src/main.c", STRIPPED__FILE__ evaluates to
6903 "main.c".
6904
6905 There are some caveats: When $srcdir is "." (i.e. when ./configure was
6906 called instead of ../configure in a separate build directory),
6907 AX_EXTEND_SRCDIR will still extend $srcdir, but the intended effect will
6908 not be achieved because of the way automake specifies file paths:
6909 automake defines COMPILE to use "'test -f '$source' || echo
6910 '\$(srcdir)/''$source" in order to prefer files in the current directory
6911 over specifying $srcdir explicitly.
6912
6913 The AX_EXTEND_SRCDIR author is not aware of any way to influence this
6914 automake behavior. Patches very welcome.
6915
6916 To work around this issue, you can use AX_ENABLE_BUILDDIR i.e. by
6917 adding the following code to configure.ac:
6918
6919 AX_ENABLE_BUILDDIR
6920 dnl ...
6921 AX_EXTEND_SRCDIR
6922
6923 Then also add this bit to Makefile.am (if you wish to use
6924 STRIPPED__FILE__ in your code):
6925
6926 AM_CPPFLAGS = @AX_EXTEND_SRCDIR_CPPFLAGS@
6927
6928 Source Code
6929 ***********
6930
6931 Download the latest version of 'ax_extend_srcdir.m4'
6932 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_extend_srcdir.m4)
6933 or browse the macro's revision history
6934 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_extend_srcdir.m4).
6935
6936 License
6937 *******
6938
6939 Copyright (C) 2016 Michael Stapelberg <michael@i3wm.org>
6940
6941 Copying and distribution of this file, with or without modification, are
6942 permitted in any medium without royalty provided the copyright notice
6943 and this notice are preserved. This file is offered as-is, without any
6944 warranty.
6945
6946 
6947 File: autoconf-archive.info, Node: ax_extra_dist, Next: ax_f77_cmain_fflags, Prev: ax_extend_srcdir, Up: The Macros
6948
6949 ax_extra_dist
6950 =============
6951
6952 Synopsis
6953 ********
6954
6955 AX_EXTRA_DIST
6956
6957 Description
6958 ***********
6959
6960 Allow support for custom dist targets.
6961
6962 To add custom dist targets, you must create a dist-<TYPE> target within
6963 your Makefile.am, where <TYPE> is the name of the dist and then add
6964 <TYPE> to EXTRA_SRC_DISTS or EXTRA_BIN_DISTS. For example:
6965
6966 dist-foobar:
6967 <rules for making the foobar dist>
6968
6969 EXTRA_BIN_DISTS += foobar
6970
6971 You can then build all the src dist targets by running:
6972
6973 make dist-src
6974
6975 You can build all the binary dist targets by running:
6976
6977 make dist-bin
6978
6979 and you can build both the src and dist targets by running:
6980
6981 make all-dist
6982
6983 Source Code
6984 ***********
6985
6986 Download the latest version of 'ax_extra_dist.m4'
6987 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_extra_dist.m4)
6988 or browse the macro's revision history
6989 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_extra_dist.m4).
6990
6991 License
6992 *******
6993
6994 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
6995
6996 Copying and distribution of this file, with or without modification, are
6997 permitted in any medium without royalty provided the copyright notice
6998 and this notice are preserved. This file is offered as-is, without any
6999 warranty.
7000
7001 
7002 File: autoconf-archive.info, Node: ax_f77_cmain_fflags, Next: ax_f90_header, Prev: ax_extra_dist, Up: The Macros
7003
7004 ax_f77_cmain_fflags
7005 ===================
7006
7007 Synopsis
7008 ********
7009
7010 AX_F77_CMAIN_FFLAGS([ACTION-IF-SUCCEED], [ACTION-IF-FAIL])
7011
7012 Description
7013 ***********
7014
7015 This macro figures out if extra Fortran compiler flags are required in
7016 order to use the Fortran linker to link programs where the main()
7017 function is defined via C (or other language). On some systems, notably
7018 the Alpha with Compaq compilers, the Fortran libraries have their own
7019 main() function which must be disabled.
7020
7021 Runs ACTION-IF-SUCCEED if successful, and ACTION-IF-FAIL if not.
7022 Defines the output variable F77_CMAIN_FFLAGS to any discovered flags.
7023 (If ACTION-IF-FAIL is not specified, defaults to halting with an error.)
7024
7025 This macro is especially useful in conjunction with automake, since by
7026 default automake uses $F77 to link programs mixing C and Fortran,
7027 leading to a link error on some systems. In this case, you should set
7028 the FFLAGS for that program to include F77_CMAIN_FFLAGS.
7029
7030 Source Code
7031 ***********
7032
7033 Download the latest version of 'ax_f77_cmain_fflags.m4'
7034 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f77_cmain_fflags.m4)
7035 or browse the macro's revision history
7036 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f77_cmain_fflags.m4).
7037
7038 License
7039 *******
7040
7041 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
7042
7043 This program is free software: you can redistribute it and/or modify it
7044 under the terms of the GNU General Public License as published by the
7045 Free Software Foundation, either version 3 of the License, or (at your
7046 option) any later version.
7047
7048 This program is distributed in the hope that it will be useful, but
7049 WITHOUT ANY WARRANTY; without even the implied warranty of
7050 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7051 Public License for more details.
7052
7053 You should have received a copy of the GNU General Public License along
7054 with this program. If not, see <https://www.gnu.org/licenses/>.
7055
7056 As a special exception, the respective Autoconf Macro's copyright owner
7057 gives unlimited permission to copy, distribute and modify the configure
7058 scripts that are the output of Autoconf when processing the Macro. You
7059 need not follow the terms of the GNU General Public License when using
7060 or distributing such scripts, even though portions of the text of the
7061 Macro appear in them. The GNU General Public License (GPL) does govern
7062 all other use of the material that constitutes the Autoconf Macro.
7063
7064 This special exception to the GPL applies to versions of the Autoconf
7065 Macro released by the Autoconf Archive. When you make and distribute a
7066 modified version of the Autoconf Macro, you may extend this special
7067 exception to the GPL to apply to your modified version as well.
7068
7069 
7070 File: autoconf-archive.info, Node: ax_f90_header, Next: ax_f90_internal_headmod, Prev: ax_f77_cmain_fflags, Up: The Macros
7071
7072 ax_f90_header
7073 =============
7074
7075 Synopsis
7076 ********
7077
7078 AX_F90_HEADER(HEADER, HEADER-REGEXP, FUNCTION-BODY [, SEARCH-PATH [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
7079
7080 Description
7081 ***********
7082
7083 Set up the compiler flags to use a given fortran 90 header. HEADER is
7084 the name of the header. HEADER-REGEXP is a regular expression (used by
7085 find) matched by the filename of the header. FUNCTION-BODY is the body
7086 of a function (including the 'use' statement and the call to a function
7087 defined by the module) SEARCH-PATH is a colon-separated list of
7088 directories that will be recursively searched for header files. If
7089 empty, the search path will be composed of $prefix, $ac_default_prefix,
7090 and all directories exactly one level *above* the directories in
7091 $LD_LIBRARY_PATH (the rationale is that when libraries are put in
7092 /some/path/lib, the headers are often put in a directory like
7093 /some/path/include). An output variable named F90_HEADER_xxx will be
7094 set up with the proper flag for substitution in Makefiles (xxx is built
7095 from the first argument, with autoconf traditional escapes).
7096
7097 Source Code
7098 ***********
7099
7100 Download the latest version of 'ax_f90_header.m4'
7101 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_header.m4)
7102 or browse the macro's revision history
7103 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_header.m4).
7104
7105 License
7106 *******
7107
7108 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
7109
7110 Copying and distribution of this file, with or without modification, are
7111 permitted in any medium without royalty provided the copyright notice
7112 and this notice are preserved. This file is offered as-is, without any
7113 warranty.
7114
7115 
7116 File: autoconf-archive.info, Node: ax_f90_internal_headmod, Next: ax_f90_library, Prev: ax_f90_header, Up: The Macros
7117
7118 ax_f90_internal_headmod
7119 =======================
7120
7121 Synopsis
7122 ********
7123
7124 AX_F90_INTERNAL_HEADMOD(MESSAGE, FILE-REGEXP, FLAG, FUNCTION-BODY, OUTPUT-VAR[, SEARCH-PATH [, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
7125
7126 Description
7127 ***********
7128
7129 Internal macro used by AX_F90_HEADER and AX_F90_MODULE.
7130
7131 Source Code
7132 ***********
7133
7134 Download the latest version of 'ax_f90_internal_headmod.m4'
7135 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_internal_headmod.m4)
7136 or browse the macro's revision history
7137 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_internal_headmod.m4).
7138
7139 License
7140 *******
7141
7142 Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
7143
7144 Copying and distribution of this file, with or without modification, are
7145 permitted in any medium without royalty provided the copyright notice
7146 and this notice are preserved. This file is offered as-is, without any
7147 warranty.
7148
7149 
7150 File: autoconf-archive.info, Node: ax_f90_library, Next: ax_f90_library_setup, Prev: ax_f90_internal_headmod, Up: The Macros
7151
7152 ax_f90_library
7153 ==============
7154
7155 Synopsis
7156 ********
7157
7158 AX_F90_LIBRARY(LIBRARY, LIB-REGEXP, FUNCTION-BODY [, SEARCH-PATH [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
7159
7160 Description
7161 ***********
7162
7163 Set up the compiler flags to link a given fortran 90 library LIBRARY is
7164 the name of the library. LIB-REGEXP is a regular expression (used by
7165 find) matched by the filename of the library, this is useful either if
7166 the library filename does not follow the traditional libxxx.a or
7167 libxxx.so pattern, or if some specific information is embedded into the
7168 name, like compiler used, debugging status ...). FUNCTION-BODY is the
7169 body of a function (including the 'use' statements and the call to a
7170 function defined by the library) SEARCH-PATH is a colon-separated list
7171 of directories that will be used as the base directories for 'find' to
7172 look for the library file. If empty, the search path will be composed
7173 of $prefix/lib, $ac_default_prefix/lib, and $LD_LIBRARY_PATH. Two output
7174 variables named F90_LDFLAGS_xxx and F90_LIBS_xxx will be set up with the
7175 proper flag for substitution in Makefiles (xxx is built from the first
7176 argument, with autoconf traditional escapes).
7177
7178 Source Code
7179 ***********
7180
7181 Download the latest version of 'ax_f90_library.m4'
7182 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_library.m4)
7183 or browse the macro's revision history
7184 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_library.m4).
7185
7186 License
7187 *******
7188
7189 Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
7190
7191 Copying and distribution of this file, with or without modification, are
7192 permitted in any medium without royalty provided the copyright notice
7193 and this notice are preserved. This file is offered as-is, without any
7194 warranty.
7195
7196 
7197 File: autoconf-archive.info, Node: ax_f90_library_setup, Next: ax_f90_module, Prev: ax_f90_library, Up: The Macros
7198
7199 ax_f90_library_setup
7200 ====================
7201
7202 Synopsis
7203 ********
7204
7205 AX_F90_LIBRARY_SETUP(LIBRARY, HEADER-REGEXP, MODULE-REGEXP, LIB-REGEXP, FUNCTION-BODY)
7206
7207 Description
7208 ***********
7209
7210 Convenience macro to set up a fortran 90 library in a simplified way.
7211 LIBRARY is the name of the library. HEADER-REGEXP is a regular
7212 expression (used by find) matched by the header file to look for (may be
7213 empty). MODULE-REGEXP is a regular expression (used by find) matched by
7214 the filename of the module (may be empty). LIB-REGEXP is a regular
7215 expression (used by find) matched by the filename of the library, this
7216 is useful either if the library filename does not follow the traditional
7217 libxxx.a or libxxx.so pattern, or if some specific information is
7218 embedded into the name, like compiler used, debugging status ...).
7219 FUNCTION-BODY is the body of a function (including the 'use' statements
7220 and the call to a function defined by the library).
7221
7222 This macro is a simple wrapper around AX_F90_MODULE and AX_F90_LIBRARY
7223 that uses the parameters provided by the end user through a -with-xxx
7224 option to set up the search path. Both a module and a library will be
7225 tested, the same path will be used for both tests, so the path must be
7226 set up with a common parent directory of both the library file and the
7227 module file. The macro also automatically updates the FCFLAGS, LDFLAGS
7228 and LIBS variables in addition to providing the F90_HEADER_xxx,
7229 F90_MODULE_xxx, F90_LDFLAGS_xxx and F90_LIBS_xxx output variables.
7230
7231 Example: suppose you have /home/nostradamus/esoteric/lib/libalchemy.a
7232 and /home/nostradamus/esoteric/mod/alchemy.mod which provides a function
7233 transmute_into_gold, you can use the following in you configure.ac:
7234
7235 AX_F90_MODULE_EXTENSION
7236 if test x$ax_cv_f90_modext = xunknown ; then
7237 AC_MSG_ERROR([unable to find f90 modules extension])
7238 fi
7239 AX_F90_LIBRARY_SETUP(alchemy,[],alchemy.$ax_cv_f90_modext,libalchemy*,[
7240 use alchemy
7241 call transmute_into_gold('lead')
7242 ])
7243
7244 and the user could configure your package using a command like this:
7245
7246 ./configure --with-alchemy=$HOME/esoteric
7247
7248 Source Code
7249 ***********
7250
7251 Download the latest version of 'ax_f90_library_setup.m4'
7252 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_library_setup.m4)
7253 or browse the macro's revision history
7254 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_library_setup.m4).
7255
7256 License
7257 *******
7258
7259 Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
7260
7261 Copying and distribution of this file, with or without modification, are
7262 permitted in any medium without royalty provided the copyright notice
7263 and this notice are preserved. This file is offered as-is, without any
7264 warranty.
7265
7266 
7267 File: autoconf-archive.info, Node: ax_f90_module, Next: ax_f90_module_extension, Prev: ax_f90_library_setup, Up: The Macros
7268
7269 ax_f90_module
7270 =============
7271
7272 Synopsis
7273 ********
7274
7275 AX_F90_MODULE(MODULE, MODULE-REGEXP, FUNCTION-BODY [, SEARCH-PATH [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
7276
7277 Description
7278 ***********
7279
7280 Set up the compiler flags to use a given fortran 90 module MODULE is the
7281 name of the module. MODULE-REGEXP is a regular expression (used by
7282 find) matched by the filename of the module. FUNCTION-BODY is the body
7283 of a function (including the 'use' statement and the call to a function
7284 defined by the module) SEARCH-PATH is a colon-separated list of
7285 directories that will be recursively searched for modules files. If
7286 empty, the search path will be composed of $prefix, $ac_default_prefix,
7287 and all directories exactly one level *above* the directories in
7288 $LD_LIBRARY_PATH (the rationale is that when libraries are put in
7289 /some/path/lib, the modules are often put in a directory like
7290 /some/path/include or /some/path/mod or something similar). An output
7291 variable named F90_MODULE_xxx will be set up with the proper flag for
7292 substitution in Makefiles (xxx is built from the first argument, with
7293 autoconf traditional escapes).
7294
7295 Source Code
7296 ***********
7297
7298 Download the latest version of 'ax_f90_module.m4'
7299 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_module.m4)
7300 or browse the macro's revision history
7301 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_module.m4).
7302
7303 License
7304 *******
7305
7306 Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
7307
7308 Copying and distribution of this file, with or without modification, are
7309 permitted in any medium without royalty provided the copyright notice
7310 and this notice are preserved. This file is offered as-is, without any
7311 warranty.
7312
7313 
7314 File: autoconf-archive.info, Node: ax_f90_module_extension, Next: ax_f90_module_flag, Prev: ax_f90_module, Up: The Macros
7315
7316 ax_f90_module_extension
7317 =======================
7318
7319 Synopsis
7320 ********
7321
7322 AX_F90_MODULE_EXTENSION
7323
7324 Description
7325 ***********
7326
7327 Find Fortran 90 modules file extension. The module extension is stored
7328 in the cached variable ax_f90_modext, or "unknown" if the extension
7329 cannot be found.
7330
7331 Source Code
7332 ***********
7333
7334 Download the latest version of 'ax_f90_module_extension.m4'
7335 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_module_extension.m4)
7336 or browse the macro's revision history
7337 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_module_extension.m4).
7338
7339 License
7340 *******
7341
7342 Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
7343 Copyright (C) 2009 Alexander Pletzer <pletzer@txcorp.com>
7344
7345 Copying and distribution of this file, with or without modification, are
7346 permitted in any medium without royalty provided the copyright notice
7347 and this notice are preserved. This file is offered as-is, without any
7348 warranty.
7349
7350 
7351 File: autoconf-archive.info, Node: ax_f90_module_flag, Next: ax_fc_check_define, Prev: ax_f90_module_extension, Up: The Macros
7352
7353 ax_f90_module_flag
7354 ==================
7355
7356 Synopsis
7357 ********
7358
7359 AX_F90_MODULE_FLAG
7360
7361 Description
7362 ***********
7363
7364 Find Fortran 90 modules inclusion flag. The module inclusion flag is
7365 stored in the cached variable ax_f90_modflag. An error is triggered if
7366 the flag cannot be found. Supported are the -I GNU compilers flag, the
7367 -M SUN compilers flag, and the -p Absoft Pro Fortran compiler flag.
7368
7369 Source Code
7370 ***********
7371
7372 Download the latest version of 'ax_f90_module_flag.m4'
7373 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_module_flag.m4)
7374 or browse the macro's revision history
7375 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_module_flag.m4).
7376
7377 License
7378 *******
7379
7380 Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
7381 Copyright (C) 2009 Julian C. Cummings <cummings@cacr.caltech.edu>
7382 Copyright (C) 2009 Alexander Pletzer <pletzer@txcorp.com>
7383
7384 Copying and distribution of this file, with or without modification, are
7385 permitted in any medium without royalty provided the copyright notice
7386 and this notice are preserved. This file is offered as-is, without any
7387 warranty.
7388
7389 
7390 File: autoconf-archive.info, Node: ax_fc_check_define, Next: ax_file_escapes, Prev: ax_f90_module_flag, Up: The Macros
7391
7392 ax_fc_check_define
7393 ==================
7394
7395 Synopsis
7396 ********
7397
7398 AX_FC_CHECK_DEFINE([symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])
7399
7400 Description
7401 ***********
7402
7403 This macro checks to see if the Fortran pre-processor has a symbol
7404 defined.
7405
7406 Consider a usage like:
7407
7408 AC_FC_PP_DEFINE()
7409 AX_FC_CHECK_DEFINE(__BIGGEST_ALIGNMENT__, [],
7410 AX_APPEND_FLAG([${FC_DEFINE}__BIGGEST_ALIGNMENT__=64],
7411 [FCFLAGS]))
7412
7413 Source Code
7414 ***********
7415
7416 Download the latest version of 'ax_fc_check_define.m4'
7417 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_fc_check_define.m4)
7418 or browse the macro's revision history
7419 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_fc_check_define.m4).
7420
7421 License
7422 *******
7423
7424 Copyright (C) 2016 Timothy Brown <tbrown@freeshell.org>
7425
7426 Copying and distribution of this file, with or without modification, are
7427 permitted in any medium without royalty provided the copyright notice
7428 and this notice are preserved. This file is offered as-is, without any
7429 warranty.
7430
7431 
7432 File: autoconf-archive.info, Node: ax_file_escapes, Next: ax_find_hamcrest, Prev: ax_fc_check_define, Up: The Macros
7433
7434 ax_file_escapes
7435 ===============
7436
7437 Synopsis
7438 ********
7439
7440 AX_FILE_ESCAPES
7441
7442 Description
7443 ***********
7444
7445 Writes the specified data to the specified file.
7446
7447 Source Code
7448 ***********
7449
7450 Download the latest version of 'ax_file_escapes.m4'
7451 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_file_escapes.m4)
7452 or browse the macro's revision history
7453 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_file_escapes.m4).
7454
7455 License
7456 *******
7457
7458 Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
7459
7460 Copying and distribution of this file, with or without modification, are
7461 permitted in any medium without royalty provided the copyright notice
7462 and this notice are preserved. This file is offered as-is, without any
7463 warranty.
7464
7465 
7466 File: autoconf-archive.info, Node: ax_find_hamcrest, Next: ax_find_junit, Prev: ax_file_escapes, Up: The Macros
7467
7468 ax_find_hamcrest
7469 ================
7470
7471 Synopsis
7472 ********
7473
7474 AX_FIND_HAMCREST
7475
7476 Description
7477 ***********
7478
7479 AX_FIND_HAMCREST will look for the Hamcrest java library. When found
7480 its path will be put in HAMCREST_CPF as a classpath fragment.
7481
7482 To override the location define HAMCREST_JAR to the wanted path.
7483
7484 Source Code
7485 ***********
7486
7487 Download the latest version of 'ax_find_hamcrest.m4'
7488 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_find_hamcrest.m4)
7489 or browse the macro's revision history
7490 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_find_hamcrest.m4).
7491
7492 License
7493 *******
7494
7495 Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
7496
7497 Copying and distribution of this file, with or without modification, are
7498 permitted in any medium without royalty provided the copyright notice
7499 and this notice are preserved. This file is offered as-is, without any
7500 warranty.
7501
7502 
7503 File: autoconf-archive.info, Node: ax_find_junit, Next: ax_find_scala_stdlib, Prev: ax_find_hamcrest, Up: The Macros
7504
7505 ax_find_junit
7506 =============
7507
7508 Synopsis
7509 ********
7510
7511 AX_FIND_JUNIT
7512
7513 Description
7514 ***********
7515
7516 AX_FIND_JUNIT will look for the JUnit java library. When found its path
7517 will be put in JUNIT_CPF as a classpath fragment.
7518
7519 To override the location define JUNIT_JAR to the wanted path.
7520
7521 Source Code
7522 ***********
7523
7524 Download the latest version of 'ax_find_junit.m4'
7525 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_find_junit.m4)
7526 or browse the macro's revision history
7527 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_find_junit.m4).
7528
7529 License
7530 *******
7531
7532 Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
7533
7534 Copying and distribution of this file, with or without modification, are
7535 permitted in any medium without royalty provided the copyright notice
7536 and this notice are preserved. This file is offered as-is, without any
7537 warranty.
7538
7539 
7540 File: autoconf-archive.info, Node: ax_find_scala_stdlib, Next: ax_forceinline, Prev: ax_find_junit, Up: The Macros
7541
7542 ax_find_scala_stdlib
7543 ====================
7544
7545 Synopsis
7546 ********
7547
7548 AX_FIND_SCALA_STDLIB
7549
7550 Description
7551 ***********
7552
7553 AX_FIND_SCALA_STDLIB will look for the Scala Standard Library. When
7554 found its path will be put in SCALA_STDLIB_CPF as a classpath fragment.
7555
7556 To override the location define SCALA_STDLIB to the wanted path
7557
7558 Source Code
7559 ***********
7560
7561 Download the latest version of 'ax_find_scala_stdlib.m4'
7562 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_find_scala_stdlib.m4)
7563 or browse the macro's revision history
7564 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_find_scala_stdlib.m4).
7565
7566 License
7567 *******
7568
7569 Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
7570
7571 Copying and distribution of this file, with or without modification,are
7572 permitted in any medium without royalty provided the copyright notice
7573 and this notice are preserved. This file is offered as-is, without any
7574 warranty.
7575
7576 
7577 File: autoconf-archive.info, Node: ax_forceinline, Next: ax_func_accept_argtypes, Prev: ax_find_scala_stdlib, Up: The Macros
7578
7579 ax_forceinline
7580 ==============
7581
7582 Synopsis
7583 ********
7584
7585 AX_FORCEINLINE()
7586
7587 Description
7588 ***********
7589
7590 Provides a test for C compiler support of forced inlining. If usable,
7591 #define FORCEINLINE to the appropriate force inline keyword. Otherwise
7592 #define FORCEINLINE to be 'inline'.
7593
7594 Source Code
7595 ***********
7596
7597 Download the latest version of 'ax_forceinline.m4'
7598 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_forceinline.m4)
7599 or browse the macro's revision history
7600 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_forceinline.m4).
7601
7602 License
7603 *******
7604
7605 Copyright (C) 2008 Alan Woodland <ajw05@aber.ac.uk>
7606 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
7607
7608 Copying and distribution of this file, with or without modification, are
7609 permitted in any medium without royalty provided the copyright notice
7610 and this notice are preserved. This file is offered as-is, without any
7611 warranty.
7612
7613 
7614 File: autoconf-archive.info, Node: ax_func_accept_argtypes, Next: ax_func_getopt_long, Prev: ax_forceinline, Up: The Macros
7615
7616 ax_func_accept_argtypes
7617 =======================
7618
7619 Synopsis
7620 ********
7621
7622 AX_FUNC_ACCEPT_ARGTYPES
7623
7624 Description
7625 ***********
7626
7627 Checks the data types of the three arguments to accept(). Results are
7628 placed into the symbols ACCEPT_TYPE_ARG[123], consistent with the
7629 following example:
7630
7631 #define ACCEPT_TYPE_ARG1 int
7632 #define ACCEPT_TYPE_ARG2 struct sockaddr *
7633 #define ACCEPT_TYPE_ARG3 socklen_t *
7634
7635 This macro requires AC_CHECK_HEADERS to have already verified the
7636 presence or absence of sys/types.h and sys/socket.h.
7637
7638 NOTE: This is just a modified version of the AC_FUNC_SELECT_ARGTYPES
7639 macro. Credit for that one goes to David MacKenzie et. al.
7640
7641 Source Code
7642 ***********
7643
7644 Download the latest version of 'ax_func_accept_argtypes.m4'
7645 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_accept_argtypes.m4)
7646 or browse the macro's revision history
7647 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_accept_argtypes.m4).
7648
7649 License
7650 *******
7651
7652 Copyright (C) 2008 Daniel Richard G. <skunk@iskunk.org>
7653
7654 This program is free software; you can redistribute it and/or modify it
7655 under the terms of the GNU General Public License as published by the
7656 Free Software Foundation; either version 2 of the License, or (at your
7657 option) any later version.
7658
7659 This program is distributed in the hope that it will be useful, but
7660 WITHOUT ANY WARRANTY; without even the implied warranty of
7661 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7662 Public License for more details.
7663
7664 You should have received a copy of the GNU General Public License along
7665 with this program. If not, see <https://www.gnu.org/licenses/>.
7666
7667 As a special exception, the respective Autoconf Macro's copyright owner
7668 gives unlimited permission to copy, distribute and modify the configure
7669 scripts that are the output of Autoconf when processing the Macro. You
7670 need not follow the terms of the GNU General Public License when using
7671 or distributing such scripts, even though portions of the text of the
7672 Macro appear in them. The GNU General Public License (GPL) does govern
7673 all other use of the material that constitutes the Autoconf Macro.
7674
7675 This special exception to the GPL applies to versions of the Autoconf
7676 Macro released by the Autoconf Archive. When you make and distribute a
7677 modified version of the Autoconf Macro, you may extend this special
7678 exception to the GPL to apply to your modified version as well.
7679
7680 
7681 File: autoconf-archive.info, Node: ax_func_getopt_long, Next: ax_func_memmove, Prev: ax_func_accept_argtypes, Up: The Macros
7682
7683 ax_func_getopt_long
7684 ===================
7685
7686 Synopsis
7687 ********
7688
7689 AX_FUNC_GETOPT_LONG
7690
7691 Description
7692 ***********
7693
7694 Check for getopt_long support.
7695
7696 This assume that the standard getopt.h file (from GNU libc) is available
7697 as lib/gnugetopt.h. If needed, this file will be linked as getopt.h,
7698 but we want to default to the system's getopt.h file. (See
7699 http://sources.redhat.com/ml/automake/2000-09/msg00041.html for an
7700 explanation about why using the system's getopt.h file is important.)
7701
7702 Source Code
7703 ***********
7704
7705 Download the latest version of 'ax_func_getopt_long.m4'
7706 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_getopt_long.m4)
7707 or browse the macro's revision history
7708 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_getopt_long.m4).
7709
7710 License
7711 *******
7712
7713 Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
7714
7715 This program is free software; you can redistribute it and/or modify it
7716 under the terms of the GNU General Public License as published by the
7717 Free Software Foundation; either version 2 of the License, or (at your
7718 option) any later version.
7719
7720 This program is distributed in the hope that it will be useful, but
7721 WITHOUT ANY WARRANTY; without even the implied warranty of
7722 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7723 Public License for more details.
7724
7725 You should have received a copy of the GNU General Public License along
7726 with this program. If not, see <https://www.gnu.org/licenses/>.
7727
7728 As a special exception, the respective Autoconf Macro's copyright owner
7729 gives unlimited permission to copy, distribute and modify the configure
7730 scripts that are the output of Autoconf when processing the Macro. You
7731 need not follow the terms of the GNU General Public License when using
7732 or distributing such scripts, even though portions of the text of the
7733 Macro appear in them. The GNU General Public License (GPL) does govern
7734 all other use of the material that constitutes the Autoconf Macro.
7735
7736 This special exception to the GPL applies to versions of the Autoconf
7737 Macro released by the Autoconf Archive. When you make and distribute a
7738 modified version of the Autoconf Macro, you may extend this special
7739 exception to the GPL to apply to your modified version as well.
7740
7741 
7742 File: autoconf-archive.info, Node: ax_func_memmove, Next: ax_func_mkdir, Prev: ax_func_getopt_long, Up: The Macros
7743
7744 ax_func_memmove
7745 ===============
7746
7747 Synopsis
7748 ********
7749
7750 AX_FUNC_MEMMOVE
7751
7752 Description
7753 ***********
7754
7755 Checks for a memmove that can handle overlaps correctly. If no working
7756 memmove is found, request a replacement and warn the user about it.
7757
7758 Source Code
7759 ***********
7760
7761 Download the latest version of 'ax_func_memmove.m4'
7762 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_memmove.m4)
7763 or browse the macro's revision history
7764 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_memmove.m4).
7765
7766 License
7767 *******
7768
7769 Copyright (C) 2008 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
7770
7771 Copying and distribution of this file, with or without modification, are
7772 permitted in any medium without royalty provided the copyright notice
7773 and this notice are preserved. This file is offered as-is, without any
7774 warranty.
7775
7776 
7777 File: autoconf-archive.info, Node: ax_func_mkdir, Next: ax_func_posix_memalign, Prev: ax_func_memmove, Up: The Macros
7778
7779 ax_func_mkdir
7780 =============
7781
7782 Synopsis
7783 ********
7784
7785 AX_FUNC_MKDIR
7786
7787 Description
7788 ***********
7789
7790 Check whether mkdir() is mkdir or _mkdir, and whether it takes one or
7791 two arguments.
7792
7793 This macro can define HAVE_MKDIR, HAVE__MKDIR, and MKDIR_TAKES_ONE_ARG,
7794 which are expected to be used as follows:
7795
7796 #if HAVE_MKDIR
7797 # if MKDIR_TAKES_ONE_ARG
7798 /* MinGW32 */
7799 # define mkdir(a, b) mkdir(a)
7800 # endif
7801 #else
7802 # if HAVE__MKDIR
7803 /* plain Windows 32 */
7804 # define mkdir(a, b) _mkdir(a)
7805 # else
7806 # error "Don't know how to create a directory on this system."
7807 # endif
7808 #endif
7809
7810 Source Code
7811 ***********
7812
7813 Download the latest version of 'ax_func_mkdir.m4'
7814 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_mkdir.m4)
7815 or browse the macro's revision history
7816 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_mkdir.m4).
7817
7818 License
7819 *******
7820
7821 Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
7822
7823 This program is free software; you can redistribute it and/or modify it
7824 under the terms of the GNU General Public License as published by the
7825 Free Software Foundation; either version 2 of the License, or (at your
7826 option) any later version.
7827
7828 This program is distributed in the hope that it will be useful, but
7829 WITHOUT ANY WARRANTY; without even the implied warranty of
7830 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7831 Public License for more details.
7832
7833 You should have received a copy of the GNU General Public License along
7834 with this program. If not, see <https://www.gnu.org/licenses/>.
7835
7836 As a special exception, the respective Autoconf Macro's copyright owner
7837 gives unlimited permission to copy, distribute and modify the configure
7838 scripts that are the output of Autoconf when processing the Macro. You
7839 need not follow the terms of the GNU General Public License when using
7840 or distributing such scripts, even though portions of the text of the
7841 Macro appear in them. The GNU General Public License (GPL) does govern
7842 all other use of the material that constitutes the Autoconf Macro.
7843
7844 This special exception to the GPL applies to versions of the Autoconf
7845 Macro released by the Autoconf Archive. When you make and distribute a
7846 modified version of the Autoconf Macro, you may extend this special
7847 exception to the GPL to apply to your modified version as well.
7848
7849 
7850 File: autoconf-archive.info, Node: ax_func_posix_memalign, Next: ax_func_snprintf, Prev: ax_func_mkdir, Up: The Macros
7851
7852 ax_func_posix_memalign
7853 ======================
7854
7855 Synopsis
7856 ********
7857
7858 AX_FUNC_POSIX_MEMALIGN
7859
7860 Description
7861 ***********
7862
7863 Some versions of posix_memalign (notably glibc 2.2.5) incorrectly apply
7864 their power-of-two check to the size argument, not the alignment
7865 argument. AX_FUNC_POSIX_MEMALIGN defines HAVE_POSIX_MEMALIGN if the
7866 power-of-two check is correctly applied to the alignment argument.
7867
7868 Source Code
7869 ***********
7870
7871 Download the latest version of 'ax_func_posix_memalign.m4'
7872 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_posix_memalign.m4)
7873 or browse the macro's revision history
7874 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_posix_memalign.m4).
7875
7876 License
7877 *******
7878
7879 Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
7880
7881 Copying and distribution of this file, with or without modification, are
7882 permitted in any medium without royalty provided the copyright notice
7883 and this notice are preserved. This file is offered as-is, without any
7884 warranty.
7885
7886 
7887 File: autoconf-archive.info, Node: ax_func_snprintf, Next: ax_func_which_gethostbyname_r, Prev: ax_func_posix_memalign, Up: The Macros
7888
7889 ax_func_snprintf
7890 ================
7891
7892 Synopsis
7893 ********
7894
7895 AX_FUNC_SNPRINTF
7896
7897 Description
7898 ***********
7899
7900 Checks for a fully C99 compliant snprintf, in particular checks whether
7901 it does bounds checking and returns the correct string length; does the
7902 same check for vsnprintf. If no working snprintf or vsnprintf is found,
7903 request a replacement and warn the user about it. Note: the mentioned
7904 replacement is freely available and may be used in any project
7905 regardless of it's license.
7906
7907 Source Code
7908 ***********
7909
7910 Download the latest version of 'ax_func_snprintf.m4'
7911 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_snprintf.m4)
7912 or browse the macro's revision history
7913 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_snprintf.m4).
7914
7915 License
7916 *******
7917
7918 Copyright (C) 2008 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
7919
7920 Copying and distribution of this file, with or without modification, are
7921 permitted in any medium without royalty provided the copyright notice
7922 and this notice are preserved. This file is offered as-is, without any
7923 warranty.
7924
7925 
7926 File: autoconf-archive.info, Node: ax_func_which_gethostbyname_r, Next: ax_func_which_getservbyname_r, Prev: ax_func_snprintf, Up: The Macros
7927
7928 ax_func_which_gethostbyname_r
7929 =============================
7930
7931 Synopsis
7932 ********
7933
7934 AX_FUNC_WHICH_GETHOSTBYNAME_R
7935
7936 Description
7937 ***********
7938
7939 Determines which historical variant of the gethostbyname_r() call
7940 (taking three, five, or six arguments) is available on the system and
7941 defines one of the following macros accordingly:
7942
7943 HAVE_FUNC_GETHOSTBYNAME_R_6
7944 HAVE_FUNC_GETHOSTBYNAME_R_5
7945 HAVE_FUNC_GETHOSTBYNAME_R_3
7946
7947 as well as
7948
7949 HAVE_GETHOSTBYNAME_R
7950
7951 If used in conjunction with gethostname.c, the API demonstrated in
7952 test.c can be used regardless of which gethostbyname_r() is available.
7953 These example files can be found at
7954 http://www.csn.ul.ie/~caolan/publink/gethostbyname_r
7955
7956 based on David Arnold's autoconf suggestion in the threads faq
7957
7958 Originally named "AC_caolan_FUNC_WHICH_GETHOSTBYNAME_R". Rewritten for
7959 Autoconf 2.5x, and updated for 2.68 by Daniel Richard G.
7960
7961 Source Code
7962 ***********
7963
7964 Download the latest version of 'ax_func_which_gethostbyname_r.m4'
7965 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_which_gethostbyname_r.m4)
7966 or browse the macro's revision history
7967 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_which_gethostbyname_r.m4).
7968
7969 License
7970 *******
7971
7972 Copyright (C) 2008 Caolan McNamara <caolan@skynet.ie>
7973 Copyright (C) 2008 Daniel Richard G. <skunk@iskunk.org>
7974
7975 This program is free software; you can redistribute it and/or modify it
7976 under the terms of the GNU General Public License as published by the
7977 Free Software Foundation; either version 2 of the License, or (at your
7978 option) any later version.
7979
7980 This program is distributed in the hope that it will be useful, but
7981 WITHOUT ANY WARRANTY; without even the implied warranty of
7982 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7983 Public License for more details.
7984
7985 You should have received a copy of the GNU General Public License along
7986 with this program. If not, see <https://www.gnu.org/licenses/>.
7987
7988 As a special exception, the respective Autoconf Macro's copyright owner
7989 gives unlimited permission to copy, distribute and modify the configure
7990 scripts that are the output of Autoconf when processing the Macro. You
7991 need not follow the terms of the GNU General Public License when using
7992 or distributing such scripts, even though portions of the text of the
7993 Macro appear in them. The GNU General Public License (GPL) does govern
7994 all other use of the material that constitutes the Autoconf Macro.
7995
7996 This special exception to the GPL applies to versions of the Autoconf
7997 Macro released by the Autoconf Archive. When you make and distribute a
7998 modified version of the Autoconf Macro, you may extend this special
7999 exception to the GPL to apply to your modified version as well.
8000
8001 
8002 File: autoconf-archive.info, Node: ax_func_which_getservbyname_r, Next: ax_gcc_archflag, Prev: ax_func_which_gethostbyname_r, Up: The Macros
8003
8004 ax_func_which_getservbyname_r
8005 =============================
8006
8007 Synopsis
8008 ********
8009
8010 AX_FUNC_WHICH_GETSERVBYNAME_R
8011
8012 Description
8013 ***********
8014
8015 Provides a test to determine the correct way to call getservbyname_r:
8016
8017 - defines HAVE_FUNC_GETSERVBYNAME_R_6 if it needs 6 arguments (e.g linux)
8018 - defines HAVE_FUNC_GETSERVBYNAME_R_5 if it needs 5 arguments (e.g. solaris)
8019 - defines HAVE_FUNC_GETSERVBYNAME_R_4 if it needs 4 arguments (e.g. osf/1)
8020
8021 An example use can be found at
8022 http://raf.org/autoconf/net_getservbyname.c
8023
8024 Based on Caolan McNamara's gethostbyname_r macro. Based on David
8025 Arnold's autoconf suggestion in the threads faq.
8026
8027 Source Code
8028 ***********
8029
8030 Download the latest version of 'ax_func_which_getservbyname_r.m4'
8031 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_which_getservbyname_r.m4)
8032 or browse the macro's revision history
8033 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_which_getservbyname_r.m4).
8034
8035 License
8036 *******
8037
8038 Copyright (C) 2008 raf <raf@raf.org>
8039
8040 This program is free software: you can redistribute it and/or modify it
8041 under the terms of the GNU General Public License as published by the
8042 Free Software Foundation, either version 3 of the License, or (at your
8043 option) any later version.
8044
8045 This program is distributed in the hope that it will be useful, but
8046 WITHOUT ANY WARRANTY; without even the implied warranty of
8047 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8048 Public License for more details.
8049
8050 You should have received a copy of the GNU General Public License along
8051 with this program. If not, see <https://www.gnu.org/licenses/>.
8052
8053 As a special exception, the respective Autoconf Macro's copyright owner
8054 gives unlimited permission to copy, distribute and modify the configure
8055 scripts that are the output of Autoconf when processing the Macro. You
8056 need not follow the terms of the GNU General Public License when using
8057 or distributing such scripts, even though portions of the text of the
8058 Macro appear in them. The GNU General Public License (GPL) does govern
8059 all other use of the material that constitutes the Autoconf Macro.
8060
8061 This special exception to the GPL applies to versions of the Autoconf
8062 Macro released by the Autoconf Archive. When you make and distribute a
8063 modified version of the Autoconf Macro, you may extend this special
8064 exception to the GPL to apply to your modified version as well.
8065
8066 
8067 File: autoconf-archive.info, Node: ax_gcc_archflag, Next: ax_gcc_builtin, Prev: ax_func_which_getservbyname_r, Up: The Macros
8068
8069 ax_gcc_archflag
8070 ===============
8071
8072 Synopsis
8073 ********
8074
8075 AX_GCC_ARCHFLAG([PORTABLE?], [ACTION-SUCCESS], [ACTION-FAILURE])
8076
8077 Description
8078 ***********
8079
8080 This macro tries to guess the "native" arch corresponding to the target
8081 architecture for use with gcc's -march=arch or -mtune=arch flags. If
8082 found, the cache variable $ax_cv_gcc_archflag is set to this flag and
8083 ACTION-SUCCESS is executed; otherwise $ax_cv_gcc_archflag is set to
8084 "unknown" and ACTION-FAILURE is executed. The default ACTION-SUCCESS is
8085 to add $ax_cv_gcc_archflag to the end of $CFLAGS.
8086
8087 PORTABLE? should be either [yes] (default) or [no]. In the former case,
8088 the flag is set to -mtune (or equivalent) so that the architecture is
8089 only used for tuning, but the instruction set used is still portable.
8090 In the latter case, the flag is set to -march (or equivalent) so that
8091 architecture-specific instructions are enabled.
8092
8093 The user can specify -with-gcc-arch=<arch> in order to override the
8094 macro's choice of architecture, or -without-gcc-arch to disable this.
8095
8096 When cross-compiling, or if $CC is not gcc, then ACTION-FAILURE is
8097 called unless the user specified -with-gcc-arch manually.
8098
8099 Requires macros: AX_CHECK_COMPILE_FLAG, AX_GCC_X86_CPUID
8100
8101 (The main emphasis here is on recent CPUs, on the principle that doing
8102 high-performance computing on old hardware is uncommon.)
8103
8104 Source Code
8105 ***********
8106
8107 Download the latest version of 'ax_gcc_archflag.m4'
8108 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_archflag.m4)
8109 or browse the macro's revision history
8110 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_archflag.m4).
8111
8112 License
8113 *******
8114
8115 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
8116 Copyright (C) 2008 Matteo Frigo
8117 Copyright (C) 2014 Tsukasa Oi
8118 Copyright (C) 2017-2018 Alexey Kopytov
8119
8120 This program is free software: you can redistribute it and/or modify it
8121 under the terms of the GNU General Public License as published by the
8122 Free Software Foundation, either version 3 of the License, or (at your
8123 option) any later version.
8124
8125 This program is distributed in the hope that it will be useful, but
8126 WITHOUT ANY WARRANTY; without even the implied warranty of
8127 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8128 Public License for more details.
8129
8130 You should have received a copy of the GNU General Public License along
8131 with this program. If not, see <https://www.gnu.org/licenses/>.
8132
8133 As a special exception, the respective Autoconf Macro's copyright owner
8134 gives unlimited permission to copy, distribute and modify the configure
8135 scripts that are the output of Autoconf when processing the Macro. You
8136 need not follow the terms of the GNU General Public License when using
8137 or distributing such scripts, even though portions of the text of the
8138 Macro appear in them. The GNU General Public License (GPL) does govern
8139 all other use of the material that constitutes the Autoconf Macro.
8140
8141 This special exception to the GPL applies to versions of the Autoconf
8142 Macro released by the Autoconf Archive. When you make and distribute a
8143 modified version of the Autoconf Macro, you may extend this special
8144 exception to the GPL to apply to your modified version as well.
8145
8146 
8147 File: autoconf-archive.info, Node: ax_gcc_builtin, Next: ax_gcc_const_call, Prev: ax_gcc_archflag, Up: The Macros
8148
8149 ax_gcc_builtin
8150 ==============
8151
8152 Synopsis
8153 ********
8154
8155 AX_GCC_BUILTIN(BUILTIN)
8156
8157 Description
8158 ***********
8159
8160 This macro checks if the compiler supports one of GCC's built-in
8161 functions; many other compilers also provide those same built-ins.
8162
8163 The BUILTIN parameter is the name of the built-in function.
8164
8165 If BUILTIN is supported define HAVE_<BUILTIN>. Keep in mind that since
8166 builtins usually start with two underscores they will be copied over
8167 into the HAVE_<BUILTIN> definition (e.g. HAVE___BUILTIN_EXPECT for
8168 __builtin_expect()).
8169
8170 The macro caches its result in the ax_cv_have_<BUILTIN> variable (e.g.
8171 ax_cv_have___builtin_expect).
8172
8173 The macro currently supports the following built-in functions:
8174
8175 __builtin_assume_aligned
8176 __builtin_bswap16
8177 __builtin_bswap32
8178 __builtin_bswap64
8179 __builtin_choose_expr
8180 __builtin___clear_cache
8181 __builtin_clrsb
8182 __builtin_clrsbl
8183 __builtin_clrsbll
8184 __builtin_clz
8185 __builtin_clzl
8186 __builtin_clzll
8187 __builtin_complex
8188 __builtin_constant_p
8189 __builtin_cpu_init
8190 __builtin_cpu_is
8191 __builtin_cpu_supports
8192 __builtin_ctz
8193 __builtin_ctzl
8194 __builtin_ctzll
8195 __builtin_expect
8196 __builtin_ffs
8197 __builtin_ffsl
8198 __builtin_ffsll
8199 __builtin_fpclassify
8200 __builtin_huge_val
8201 __builtin_huge_valf
8202 __builtin_huge_vall
8203 __builtin_inf
8204 __builtin_infd128
8205 __builtin_infd32
8206 __builtin_infd64
8207 __builtin_inff
8208 __builtin_infl
8209 __builtin_isinf_sign
8210 __builtin_nan
8211 __builtin_nand128
8212 __builtin_nand32
8213 __builtin_nand64
8214 __builtin_nanf
8215 __builtin_nanl
8216 __builtin_nans
8217 __builtin_nansf
8218 __builtin_nansl
8219 __builtin_object_size
8220 __builtin_parity
8221 __builtin_parityl
8222 __builtin_parityll
8223 __builtin_popcount
8224 __builtin_popcountl
8225 __builtin_popcountll
8226 __builtin_powi
8227 __builtin_powif
8228 __builtin_powil
8229 __builtin_prefetch
8230 __builtin_trap
8231 __builtin_types_compatible_p
8232 __builtin_unreachable
8233
8234 Unsupported built-ins will be tested with an empty parameter set and the
8235 result of the check might be wrong or meaningless so use with care.
8236
8237 Source Code
8238 ***********
8239
8240 Download the latest version of 'ax_gcc_builtin.m4'
8241 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_builtin.m4)
8242 or browse the macro's revision history
8243 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_builtin.m4).
8244
8245 License
8246 *******
8247
8248 Copyright (C) 2013 Gabriele Svelto <gabriele.svelto@gmail.com>
8249
8250 Copying and distribution of this file, with or without modification, are
8251 permitted in any medium without royalty provided the copyright notice
8252 and this notice are preserved. This file is offered as-is, without any
8253 warranty.
8254
8255 
8256 File: autoconf-archive.info, Node: ax_gcc_const_call, Next: ax_gcc_func_attribute, Prev: ax_gcc_builtin, Up: The Macros
8257
8258 ax_gcc_const_call
8259 =================
8260
8261 Synopsis
8262 ********
8263
8264 AX_GCC_CONST_CALL
8265
8266 Description
8267 ***********
8268
8269 The macro will compile a test program to see whether the compiler does
8270 understand the per-function postfix pragma.
8271
8272 Source Code
8273 ***********
8274
8275 Download the latest version of 'ax_gcc_const_call.m4'
8276 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_const_call.m4)
8277 or browse the macro's revision history
8278 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_const_call.m4).
8279
8280 License
8281 *******
8282
8283 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
8284
8285 Copying and distribution of this file, with or without modification, are
8286 permitted in any medium without royalty provided the copyright notice
8287 and this notice are preserved. This file is offered as-is, without any
8288 warranty.
8289
8290 
8291 File: autoconf-archive.info, Node: ax_gcc_func_attribute, Next: ax_gcc_lib, Prev: ax_gcc_const_call, Up: The Macros
8292
8293 ax_gcc_func_attribute
8294 =====================
8295
8296 Synopsis
8297 ********
8298
8299 AX_GCC_FUNC_ATTRIBUTE(ATTRIBUTE)
8300
8301 Description
8302 ***********
8303
8304 This macro checks if the compiler supports one of GCC's function
8305 attributes; many other compilers also provide function attributes with
8306 the same syntax. Compiler warnings are used to detect supported
8307 attributes as unsupported ones are ignored by default so quieting
8308 warnings when using this macro will yield false positives.
8309
8310 The ATTRIBUTE parameter holds the name of the attribute to be checked.
8311
8312 If ATTRIBUTE is supported define HAVE_FUNC_ATTRIBUTE_<ATTRIBUTE>.
8313
8314 The macro caches its result in the ax_cv_have_func_attribute_<attribute>
8315 variable.
8316
8317 The macro currently supports the following function attributes:
8318
8319 alias
8320 aligned
8321 alloc_size
8322 always_inline
8323 artificial
8324 cold
8325 const
8326 constructor
8327 constructor_priority for constructor attribute with priority
8328 deprecated
8329 destructor
8330 dllexport
8331 dllimport
8332 error
8333 externally_visible
8334 fallthrough
8335 flatten
8336 format
8337 format_arg
8338 gnu_format
8339 gnu_inline
8340 hot
8341 ifunc
8342 leaf
8343 malloc
8344 noclone
8345 noinline
8346 nonnull
8347 noreturn
8348 nothrow
8349 optimize
8350 pure
8351 sentinel
8352 sentinel_position
8353 unused
8354 used
8355 visibility
8356 warning
8357 warn_unused_result
8358 weak
8359 weakref
8360
8361 Unsupported function attributes will be tested with a prototype
8362 returning an int and not accepting any arguments and the result of the
8363 check might be wrong or meaningless so use with care.
8364
8365 Source Code
8366 ***********
8367
8368 Download the latest version of 'ax_gcc_func_attribute.m4'
8369 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_func_attribute.m4)
8370 or browse the macro's revision history
8371 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_func_attribute.m4).
8372
8373 License
8374 *******
8375
8376 Copyright (C) 2013 Gabriele Svelto <gabriele.svelto@gmail.com>
8377
8378 Copying and distribution of this file, with or without modification, are
8379 permitted in any medium without royalty provided the copyright notice
8380 and this notice are preserved. This file is offered as-is, without any
8381 warranty.
8382
8383 
8384 File: autoconf-archive.info, Node: ax_gcc_lib, Next: ax_gcc_libgcc_eh, Prev: ax_gcc_func_attribute, Up: The Macros
8385
8386 ax_gcc_lib
8387 ==========
8388
8389 Synopsis
8390 ********
8391
8392 AX_GCC_LIB(LIBRARY,[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
8393
8394 Description
8395 ***********
8396
8397 AX_GCC_LIB looks for LIBRARY inside gcc install directory, performs
8398 ACTION-IF-FOUND if the library is available, ACTION-IF-NOT-FOUND
8399 otherwise. The gcc install directory is retrieved using
8400 AX_GCC_INSTALL_DIR macro.
8401
8402 Source Code
8403 ***********
8404
8405 Download the latest version of 'ax_gcc_lib.m4'
8406 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_lib.m4)
8407 or browse the macro's revision history
8408 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_lib.m4).
8409
8410 License
8411 *******
8412
8413 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
8414
8415 This program is free software; you can redistribute it and/or modify it
8416 under the terms of the GNU General Public License as published by the
8417 Free Software Foundation; either version 2 of the License, or (at your
8418 option) any later version.
8419
8420 This program is distributed in the hope that it will be useful, but
8421 WITHOUT ANY WARRANTY; without even the implied warranty of
8422 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8423 Public License for more details.
8424
8425 You should have received a copy of the GNU General Public License along
8426 with this program. If not, see <https://www.gnu.org/licenses/>.
8427
8428 As a special exception, the respective Autoconf Macro's copyright owner
8429 gives unlimited permission to copy, distribute and modify the configure
8430 scripts that are the output of Autoconf when processing the Macro. You
8431 need not follow the terms of the GNU General Public License when using
8432 or distributing such scripts, even though portions of the text of the
8433 Macro appear in them. The GNU General Public License (GPL) does govern
8434 all other use of the material that constitutes the Autoconf Macro.
8435
8436 This special exception to the GPL applies to versions of the Autoconf
8437 Macro released by the Autoconf Archive. When you make and distribute a
8438 modified version of the Autoconf Macro, you may extend this special
8439 exception to the GPL to apply to your modified version as well.
8440
8441 
8442 File: autoconf-archive.info, Node: ax_gcc_libgcc_eh, Next: ax_gcc_libsupcxx, Prev: ax_gcc_lib, Up: The Macros
8443
8444 ax_gcc_libgcc_eh
8445 ================
8446
8447 Synopsis
8448 ********
8449
8450 AX_GCC_LIBGCC_EH(VARIABLE)
8451
8452 Description
8453 ***********
8454
8455 AX_GCC_LIBGCC_EH defines VARIABLE as the absolute path to libgcc_eh.a if
8456 it is available on the system, empty otherwise
8457
8458 Source Code
8459 ***********
8460
8461 Download the latest version of 'ax_gcc_libgcc_eh.m4'
8462 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_libgcc_eh.m4)
8463 or browse the macro's revision history
8464 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_libgcc_eh.m4).
8465
8466 License
8467 *******
8468
8469 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
8470
8471 This program is free software; you can redistribute it and/or modify it
8472 under the terms of the GNU General Public License as published by the
8473 Free Software Foundation; either version 2 of the License, or (at your
8474 option) any later version.
8475
8476 This program is distributed in the hope that it will be useful, but
8477 WITHOUT ANY WARRANTY; without even the implied warranty of
8478 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8479 Public License for more details.
8480
8481 You should have received a copy of the GNU General Public License along
8482 with this program. If not, see <https://www.gnu.org/licenses/>.
8483
8484 As a special exception, the respective Autoconf Macro's copyright owner
8485 gives unlimited permission to copy, distribute and modify the configure
8486 scripts that are the output of Autoconf when processing the Macro. You
8487 need not follow the terms of the GNU General Public License when using
8488 or distributing such scripts, even though portions of the text of the
8489 Macro appear in them. The GNU General Public License (GPL) does govern
8490 all other use of the material that constitutes the Autoconf Macro.
8491
8492 This special exception to the GPL applies to versions of the Autoconf
8493 Macro released by the Autoconf Archive. When you make and distribute a
8494 modified version of the Autoconf Macro, you may extend this special
8495 exception to the GPL to apply to your modified version as well.
8496
8497 
8498 File: autoconf-archive.info, Node: ax_gcc_libsupcxx, Next: ax_gcc_malloc_call, Prev: ax_gcc_libgcc_eh, Up: The Macros
8499
8500 ax_gcc_libsupcxx
8501 ================
8502
8503 Synopsis
8504 ********
8505
8506 AX_GCC_LIBSUPCXX(VARIABLE)
8507
8508 Description
8509 ***********
8510
8511 AX_GCC_LIBSUPCXX defines VARIABLE as the absolute path to libsupc++.a if
8512 it is available on the system, empty otherwise.
8513
8514 Source Code
8515 ***********
8516
8517 Download the latest version of 'ax_gcc_libsupcxx.m4'
8518 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_libsupcxx.m4)
8519 or browse the macro's revision history
8520 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_libsupcxx.m4).
8521
8522 License
8523 *******
8524
8525 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
8526
8527 Copyright (C) 2009 Alessandro Massignan <ff0000.it@gmail.com>
8528
8529 This program is free software; you can redistribute it and/or modify it
8530 under the terms of the GNU General Public License as published by the
8531 Free Software Foundation; either version 2 of the License, or (at your
8532 option) any later version.
8533
8534 This program is distributed in the hope that it will be useful, but
8535 WITHOUT ANY WARRANTY; without even the implied warranty of
8536 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8537 Public License for more details.
8538
8539 You should have received a copy of the GNU General Public License along
8540 with this program. If not, see <https://www.gnu.org/licenses/>.
8541
8542 As a special exception, the respective Autoconf Macro's copyright owner
8543 gives unlimited permission to copy, distribute and modify the configure
8544 scripts that are the output of Autoconf when processing the Macro. You
8545 need not follow the terms of the GNU General Public License when using
8546 or distributing such scripts, even though portions of the text of the
8547 Macro appear in them. The GNU General Public License (GPL) does govern
8548 all other use of the material that constitutes the Autoconf Macro.
8549
8550 This special exception to the GPL applies to versions of the Autoconf
8551 Macro released by the Autoconf Archive. When you make and distribute a
8552 modified version of the Autoconf Macro, you may extend this special
8553 exception to the GPL to apply to your modified version as well.
8554
8555 
8556 File: autoconf-archive.info, Node: ax_gcc_malloc_call, Next: ax_gcc_var_attribute, Prev: ax_gcc_libsupcxx, Up: The Macros
8557
8558 ax_gcc_malloc_call
8559 ==================
8560
8561 Synopsis
8562 ********
8563
8564 AX_GCC_MALLOC_CALL
8565
8566 Description
8567 ***********
8568
8569 The macro will compile a test program to see whether the compiler does
8570 understand the per-function postfix pragma.
8571
8572 Source Code
8573 ***********
8574
8575 Download the latest version of 'ax_gcc_malloc_call.m4'
8576 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_malloc_call.m4)
8577 or browse the macro's revision history
8578 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_malloc_call.m4).
8579
8580 License
8581 *******
8582
8583 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
8584
8585 Copying and distribution of this file, with or without modification, are
8586 permitted in any medium without royalty provided the copyright notice
8587 and this notice are preserved. This file is offered as-is, without any
8588 warranty.
8589
8590 
8591 File: autoconf-archive.info, Node: ax_gcc_var_attribute, Next: ax_gcc_warn_unused_result, Prev: ax_gcc_malloc_call, Up: The Macros
8592
8593 ax_gcc_var_attribute
8594 ====================
8595
8596 Synopsis
8597 ********
8598
8599 AX_GCC_VAR_ATTRIBUTE(ATTRIBUTE)
8600
8601 Description
8602 ***********
8603
8604 This macro checks if the compiler supports one of GCC's variable
8605 attributes; many other compilers also provide variable attributes with
8606 the same syntax. Compiler warnings are used to detect supported
8607 attributes as unsupported ones are ignored by default so quieting
8608 warnings when using this macro will yield false positives.
8609
8610 The ATTRIBUTE parameter holds the name of the attribute to be checked.
8611
8612 If ATTRIBUTE is supported define HAVE_VAR_ATTRIBUTE_<ATTRIBUTE>.
8613
8614 The macro caches its result in the ax_cv_have_var_attribute_<attribute>
8615 variable.
8616
8617 The macro currently supports the following variable attributes:
8618
8619 aligned
8620 cleanup
8621 common
8622 nocommon
8623 deprecated
8624 mode
8625 packed
8626 tls_model
8627 unused
8628 used
8629 vector_size
8630 weak
8631 dllimport
8632 dllexport
8633 init_priority
8634
8635 Unsupported variable attributes will be tested against a global integer
8636 variable and without any arguments given to the attribute itself; the
8637 result of this check might be wrong or meaningless so use with care.
8638
8639 Source Code
8640 ***********
8641
8642 Download the latest version of 'ax_gcc_var_attribute.m4'
8643 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_var_attribute.m4)
8644 or browse the macro's revision history
8645 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_var_attribute.m4).
8646
8647 License
8648 *******
8649
8650 Copyright (C) 2013 Gabriele Svelto <gabriele.svelto@gmail.com>
8651
8652 Copying and distribution of this file, with or without modification, are
8653 permitted in any medium without royalty provided the copyright notice
8654 and this notice are preserved. This file is offered as-is, without any
8655 warranty.
8656
8657 
8658 File: autoconf-archive.info, Node: ax_gcc_warn_unused_result, Next: ax_gcc_x86_avx_xgetbv, Prev: ax_gcc_var_attribute, Up: The Macros
8659
8660 ax_gcc_warn_unused_result
8661 =========================
8662
8663 Synopsis
8664 ********
8665
8666 AX_GCC_WARN_UNUSED_RESULT
8667
8668 Description
8669 ***********
8670
8671 The macro will compile a test program to see whether the compiler does
8672 understand the per-function postfix pragma.
8673
8674 Source Code
8675 ***********
8676
8677 Download the latest version of 'ax_gcc_warn_unused_result.m4'
8678 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_warn_unused_result.m4)
8679 or browse the macro's revision history
8680 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_warn_unused_result.m4).
8681
8682 License
8683 *******
8684
8685 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
8686
8687 Copying and distribution of this file, with or without modification, are
8688 permitted in any medium without royalty provided the copyright notice
8689 and this notice are preserved. This file is offered as-is, without any
8690 warranty.
8691
8692 
8693 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
8694
8695 ax_gcc_x86_avx_xgetbv
8696 =====================
8697
8698 Synopsis
8699 ********
8700
8701 AX_GCC_X86_AVX_XGETBV
8702
8703 Description
8704 ***********
8705
8706 On later x86 processors with AVX SIMD support, with gcc or a compiler
8707 that has a compatible syntax for inline assembly instructions, run a
8708 small program that executes the xgetbv instruction with input OP. This
8709 can be used to detect if the OS supports AVX instruction usage.
8710
8711 On output, the values of the eax and edx registers are stored as
8712 hexadecimal strings as "eax:edx" in the cache variable
8713 ax_cv_gcc_x86_avx_xgetbv.
8714
8715 If the xgetbv instruction fails (because you are running a
8716 cross-compiler, or because you are not using gcc, or because you are on
8717 a processor that doesn't have this instruction),
8718 ax_cv_gcc_x86_avx_xgetbv_OP is set to the string "unknown".
8719
8720 This macro mainly exists to be used in AX_EXT.
8721
8722 Source Code
8723 ***********
8724
8725 Download the latest version of 'ax_gcc_x86_avx_xgetbv.m4'
8726 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_x86_avx_xgetbv.m4)
8727 or browse the macro's revision history
8728 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_x86_avx_xgetbv.m4).
8729
8730 License
8731 *******
8732
8733 Copyright (C) 2013 Michael Petch <mpetch@capp-sysware.com>
8734
8735 This program is free software: you can redistribute it and/or modify it
8736 under the terms of the GNU General Public License as published by the
8737 Free Software Foundation, either version 3 of the License, or (at your
8738 option) any later version.
8739
8740 This program is distributed in the hope that it will be useful, but
8741 WITHOUT ANY WARRANTY; without even the implied warranty of
8742 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8743 Public License for more details.
8744
8745 You should have received a copy of the GNU General Public License along
8746 with this program. If not, see <https://www.gnu.org/licenses/>.
8747
8748 As a special exception, the respective Autoconf Macro's copyright owner
8749 gives unlimited permission to copy, distribute and modify the configure
8750 scripts that are the output of Autoconf when processing the Macro. You
8751 need not follow the terms of the GNU General Public License when using
8752 or distributing such scripts, even though portions of the text of the
8753 Macro appear in them. The GNU General Public License (GPL) does govern
8754 all other use of the material that constitutes the Autoconf Macro.
8755
8756 This special exception to the GPL applies to versions of the Autoconf
8757 Macro released by the Autoconf Archive. When you make and distribute a
8758 modified version of the Autoconf Macro, you may extend this special
8759 exception to the GPL to apply to your modified version as well.
8760
8761 
8762 File: autoconf-archive.info, Node: ax_gcc_x86_cpu_supports, Next: ax_gcc_x86_cpuid, Prev: ax_gcc_x86_avx_xgetbv, Up: The Macros
8763
8764 ax_gcc_x86_cpu_supports
8765 =======================
8766
8767 Synopsis
8768 ********
8769
8770 AX_GCC_X86_CPU_SUPPORTS(X86-INSTRUCTION-SET,
8771 [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
8772
8773 Description
8774 ***********
8775
8776 Checks if the host cpu supports X86-INSTRUCTION-SET. The instruction set
8777 that can be tested are "mmx, popcnt, sse, sse2, sse3, sse4.1, sse4.2,
8778 sse4a, avx, avx2, avx512f, fma, fma4, bmi, bmi2". If the instruction
8779 set is supported by the host cpu, the C preprocessor macro
8780 HAVE_XXX_INSTRUCTIONS is set to 1. The XXX is up-cased instruction case
8781 with dot replaced by underscore. For example, the test for "sse4.2"
8782 would export HAVE_SSE4_2_INSTRUCTIONS=1. This macro requires gcc
8783 extended builtin function "__builtin_cpu_init" and
8784 "__builtin_cpu_supports" to detect the cpu features. It will error out
8785 if the compiler doesn't has these builtins.
8786
8787 If the test for the instruction set succeeded, the hook ACTION-IF-FOUND
8788 would run. Otherwise the hook ACTION-IF-NOT-FOUND would run if
8789 specified.
8790
8791 See also AX_CHECK_X86_FEATURES, which checks all the possible
8792 instruction set and export the corresponding CFLAGS.
8793
8794 Source Code
8795 ***********
8796
8797 Download the latest version of 'ax_gcc_x86_cpu_supports.m4'
8798 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_x86_cpu_supports.m4)
8799 or browse the macro's revision history
8800 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_x86_cpu_supports.m4).
8801
8802 License
8803 *******
8804
8805 Copyright (C) 2016 Felix Chern <idryman@gmail.com>
8806
8807 This program is free software; you can redistribute it and/or modify it
8808 under the terms of the GNU General Public License as published by the
8809 Free Software Foundation; either version 2 of the License, or (at your
8810 option) any later version.
8811
8812 This program is distributed in the hope that it will be useful, but
8813 WITHOUT ANY WARRANTY; without even the implied warranty of
8814 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8815 Public License for more details.
8816
8817 You should have received a copy of the GNU General Public License along
8818 with this program. If not, see <https://www.gnu.org/licenses/>.
8819
8820 As a special exception, the respective Autoconf Macro's copyright owner
8821 gives unlimited permission to copy, distribute and modify the configure
8822 scripts that are the output of Autoconf when processing the Macro. You
8823 need not follow the terms of the GNU General Public License when using
8824 or distributing such scripts, even though portions of the text of the
8825 Macro appear in them. The GNU General Public License (GPL) does govern
8826 all other use of the material that constitutes the Autoconf Macro.
8827
8828 This special exception to the GPL applies to versions of the Autoconf
8829 Macro released by the Autoconf Archive. When you make and distribute a
8830 modified version of the Autoconf Macro, you may extend this special
8831 exception to the GPL to apply to your modified version as well.
8832
8833 
8834 File: autoconf-archive.info, Node: ax_gcc_x86_cpuid, Next: ax_generate_changelog, Prev: ax_gcc_x86_cpu_supports, Up: The Macros
8835
8836 ax_gcc_x86_cpuid
8837 ================
8838
8839 Synopsis
8840 ********
8841
8842 AX_GCC_X86_CPUID(OP)
8843 AX_GCC_X86_CPUID_COUNT(OP, COUNT)
8844
8845 Description
8846 ***********
8847
8848 On Pentium and later x86 processors, with gcc or a compiler that has a
8849 compatible syntax for inline assembly instructions, run a small program
8850 that executes the cpuid instruction with input OP. This can be used to
8851 detect the CPU type. AX_GCC_X86_CPUID_COUNT takes an additional COUNT
8852 parameter that gets passed into register ECX before calling cpuid.
8853
8854 On output, the values of the eax, ebx, ecx, and edx registers are stored
8855 as hexadecimal strings as "eax:ebx:ecx:edx" in the cache variable
8856 ax_cv_gcc_x86_cpuid_OP.
8857
8858 If the cpuid instruction fails (because you are running a
8859 cross-compiler, or because you are not using gcc, or because you are on
8860 a processor that doesn't have this instruction), ax_cv_gcc_x86_cpuid_OP
8861 is set to the string "unknown".
8862
8863 This macro mainly exists to be used in AX_GCC_ARCHFLAG.
8864
8865 Source Code
8866 ***********
8867
8868 Download the latest version of 'ax_gcc_x86_cpuid.m4'
8869 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_x86_cpuid.m4)
8870 or browse the macro's revision history
8871 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_x86_cpuid.m4).
8872
8873 License
8874 *******
8875
8876 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
8877 Copyright (C) 2008 Matteo Frigo
8878 Copyright (C) 2015 Michael Petch <mpetch@capp-sysware.com>
8879
8880 This program is free software: you can redistribute it and/or modify it
8881 under the terms of the GNU General Public License as published by the
8882 Free Software Foundation, either version 3 of the License, or (at your
8883 option) any later version.
8884
8885 This program is distributed in the hope that it will be useful, but
8886 WITHOUT ANY WARRANTY; without even the implied warranty of
8887 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8888 Public License for more details.
8889
8890 You should have received a copy of the GNU General Public License along
8891 with this program. If not, see <https://www.gnu.org/licenses/>.
8892
8893 As a special exception, the respective Autoconf Macro's copyright owner
8894 gives unlimited permission to copy, distribute and modify the configure
8895 scripts that are the output of Autoconf when processing the Macro. You
8896 need not follow the terms of the GNU General Public License when using
8897 or distributing such scripts, even though portions of the text of the
8898 Macro appear in them. The GNU General Public License (GPL) does govern
8899 all other use of the material that constitutes the Autoconf Macro.
8900
8901 This special exception to the GPL applies to versions of the Autoconf
8902 Macro released by the Autoconf Archive. When you make and distribute a
8903 modified version of the Autoconf Macro, you may extend this special
8904 exception to the GPL to apply to your modified version as well.
8905
8906 
8907 File: autoconf-archive.info, Node: ax_generate_changelog, Next: ax_gnu_autotest, Prev: ax_gcc_x86_cpuid, Up: The Macros
8908
8909 ax_generate_changelog
8910 =====================
8911
8912 Synopsis
8913 ********
8914
8915 AX_GENERATE_CHANGELOG()
8916
8917 Description
8918 ***********
8919
8920 Builds a rule for generating a ChangeLog file from version control
8921 system commit messages. Currently, the only supported VCS is git, but
8922 support for others could be added in future.
8923
8924 Defines GENERATE_CHANGELOG_RULES which should be substituted in your
8925 Makefile.
8926
8927 Usage example:
8928
8929 configure.ac:
8930
8931 AX_GENERATE_CHANGELOG
8932
8933 Makefile.am:
8934
8935 @GENERATE_CHANGELOG_RULES@
8936 CHANGELOG_START = 0.2.3^
8937 dist-hook: dist-ChangeLog
8938
8939 ChangeLog (stub committed to VCS):
8940
8941 The ChangeLog is auto-generated when releasing.
8942 If you are seeing this, use 'git log' for a detailed list of changes.
8943
8944 This results in a "dist-ChangeLog" rule being added to the Makefile.
8945 When run, "dist-ChangeLog" will generate a ChangeLog in the
8946 $(top_distdir), using $(CHANGELOG_GIT_FLAGS) to format the output from
8947 "git log" being run in $(CHANGELOG_GIT_DIR).
8948
8949 Unless Automake is initialised with the 'foreign' option, a dummy
8950 ChangeLog file must be committed to VCS in $(top_srcdir), containing the
8951 text above (for example). It will be substituted by the automatically
8952 generated ChangeLog during "make dist".
8953
8954 Source Code
8955 ***********
8956
8957 Download the latest version of 'ax_generate_changelog.m4'
8958 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_generate_changelog.m4)
8959 or browse the macro's revision history
8960 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_generate_changelog.m4).
8961
8962 License
8963 *******
8964
8965 Copyright (C) 2015 David King <amigadave@amigadave.com>
8966 Copyright (C) 2015 Philip Withnall <philip.withnall@collabora.co.uk>
8967
8968 Copying and distribution of this file, with or without modification, are
8969 permitted in any medium without royalty provided the copyright notice
8970 and this notice are preserved. This file is offered as-is, without any
8971 warranty.
8972
8973 
8974 File: autoconf-archive.info, Node: ax_gnu_autotest, Next: ax_have_adns, Prev: ax_generate_changelog, Up: The Macros
8975
8976 ax_gnu_autotest
8977 ===============
8978
8979 Synopsis
8980 ********
8981
8982 AX_GNU_AUTOTEST([testdir = `tests'], [testsuites = `testsuite'],
8983 [atlocal-sources = `'], [gen-package = `yes'],
8984 [force = `no'])
8985
8986 Description
8987 ***********
8988
8989 Sets up one or multiple GNU Autotest test suites [1].
8990
8991 TL;DR:
8992
8993 * Write tests/testsuite.at as normal
8994 * Add to configure.ac: AX_GNU_AUTOTEST
8995 * Add to Makefile.am or Makefile.in in top_srcdir:
8996 @AX_GNU_AUTOTEST_DEFAULT@
8997 * autoreconf && ./configure && make check
8998
8999 GNU Autotest is a very powerful testing framework to script executing
9000 binaries, observing their output and logging failures, all in the same
9001 portable manner as configure itself. But the only help given the
9002 developer in setting up the framework is the AC_CONFIG_TESTDIR()
9003 command, which leaves several additional steps up to the developer
9004 copying examples from the manual:
9005
9006 * generating the "package.m4" file used in generating the "testsuite"
9007 * generating the "testsuite" executable by calling autom4te
9008 * adding Makefile rules to keep both "package.m4" and "testsuite"
9009 current
9010 * figuring out how to do all the above if the Makefile does not reside
9011 in the testdir
9012
9013 This command takes care of all of the above. It is designed to be
9014 called multiple times for different testdir directories, to have
9015 multiple testsuites scripts per directory and to handle the optional
9016 "package.m4" and "atlocal" (re)generation.
9017
9018 The various actions taken by this command happen in different phases of
9019 the build process:
9020
9021 1) During the autoconf execution, generate the testsuites and any
9022 "package.m4" files. So these are already available before configure
9023 ran. The reasoning for deviating from the examples in [1] is that
9024 these files are distributed and must be placed in the srcdir: it
9025 seems cleaner to not generate anything in srcdir during any of the
9026 later phases.
9027 2) During the config.status execution (following the configure
9028 execution), generate "atconfig" and any "atlocal" files in the
9029 buildir. The "atconfig" generation is handled by calling
9030 AC_CONFIG_TESTDIR() so the developer does not have to do so
9031 themselves.
9032 3) During the execution of make, several additional rules and file
9033 lists are made available via AC_SUBST(). The rules are intended
9034 to be called where appropriate (e.g. make check can depend on
9035 check-autotest) and the file lists are intended to be added
9036 to the appropriate lists (i.e. to DISTCLEANFILES and EXTRA_DIST).
9037
9038 Description of AX_GNU_AUTOTEST() arguments:
9039
9040 * testdir: directory-name containing the testsuites. AX_GNU_AUTOTEST()
9041 must be called exactly once for each directory containing testsuites.
9042 If empty, defaults to "tests".
9043 * testsuites: space-separated list of words, where each word is the
9044 name of a test suite script optionally followed by a colon and the
9045 name of the scripts source file. If the source file is not given,
9046 it defaults to the script name suffixed by ".at". So these words
9047 are all equivalent: "foo", "foo:" and "foo:foo.at". If the argument
9048 is empty, it defaults to "testsuite". The script filenames must not
9049 contain any path, but that is allowed for the source filenames.
9050 * atlocal-sources: space- or colon-separated list of filenames, which
9051 are registered with AC_CONFIG_FILES() as the sources of atlocal.
9052 If empty, no atlocal file is generated.
9053 * gen-package: boolean ("yes" or "no") indicating whether "package.m4"
9054 should be generated. If empty, defaults to "yes".
9055 * force: boolean ("yes" or "no") whether to treat errors in arguments
9056 as errors and abort (for "no") or whether to ignore any such errors
9057 (for "yes"). If empty, defaults to "no".
9058
9059 All filenames above must be relative. The testdir name is interpreted
9060 relative to top_srcdir. All other names are interpreted relative to the
9061 testdir. The boolean values are interpreted as "yes" for any non-empty
9062 value except "0", "n", "no" and their mixed-case variants.
9063
9064 Description of Makefile.am / Makefile.in substitutions:
9065
9066 * AX_GNU_AUTOTEST_RULES: the make rules provided here. Substitute this
9067 in a separate line.
9068 * AX_GNU_AUTOTEST_DCLEAN: the list of files to be added to
9069 DISTCLEANFILES.
9070 * AX_GNU_AUTOTEST_DIST: the list of files to be added to EXTRA_DIST.
9071 * AX_GNU_AUTOTEST_DEFAULT: includes all other substitutions and uses
9072 them in a "default" way.
9073
9074 All must be used as a substitution (@...@) instead of as a variable
9075 ($(...) or ${...}). These substitutions are generated multiple times,
9076 once for each directory where an affected Makefile may be located. All
9077 substitutions start with the base as given above but may have suffixes
9078 for the directories. Assuming this example in configure.ac:
9079
9080 AX_GNU_AUTOTEST([foo/bar])
9081 AX_GNU_AUTOTEST([baz])
9082
9083 Then the following substitutions are available (where <base> stands for
9084 one of the above prefixes):
9085
9086 * <base> : for use in top_srcdir/Makefile
9087 * <base>_foo : for use in top_srcdir/foo/Makefile
9088 * <base>_foo_bar : for use in top_srcdir/foo/bar/Makefile
9089 * <base>_baz : for use in top_srcdir/baz/Makefile
9090
9091 The <base> substitutions cover both foo/bar and baz, so none of the
9092 other substitutions should be used. Indeed, no Makefiles are needed in
9093 the other directories. But if sub-directory Makefiles are used, then
9094 both <base>_baz and either of <base>_foo or <base>_foo_bar must be used
9095 in their respective Makefiles.
9096
9097 Description of Makefile targets defined by AX_GNU_AUTOTEST_RULES*:
9098
9099 * check-autotest: The equivalent of check.
9100 * installcheck-autotest: The equivalent of installcheck.
9101 * clean-autotest: The equivalent of clean.
9102
9103 The developer can either define the above targets as dependencies of
9104 their appropriate equivalent rule or of their *-local equivalent rule
9105 for automake or they can define a rule with a sub-make call as they
9106 wish.
9107
9108 All rules are dependent on like-named rules for each sub-directory and
9109 for each testsuite. Only the testsuite rules actually do any work, the
9110 rest are just collectors and convenience names. Assuming this example
9111 in configure.ac:
9112
9113 AX_GNU_AUTOTEST([foo], [testsuite bar])
9114 AX_GNU_AUTOTEST([baz])
9115
9116 Then AX_GNU_AUTOTEST_RULES defines these check rules (likewise for
9117 installcheck and clean):
9118
9119 check-autotest: check-autotest-foo check-autotest-baz
9120 check-autotest-foo: check-autotest-foo-testsuite check-autotest-foo-bar
9121 check-autotest-baz: check-autotest-baz-testsuite
9122 check-autotest-foo-testsuite # Executes foo/testsuite -C foo
9123 check-autotest-foo-bar # Executes foo/bar -C foo
9124 check-autotest-baz-testsuite # Executes baz/testsuite -C baz
9125
9126 And AX_GNU_AUTOTEST_RULES_baz defines these check rules:
9127
9128 check-autotest: check-autotest-testsuite
9129 check-autotest-testsuite # Executes testsuite (which is baz/testsuite)
9130
9131 Note how the rule names only contain the directory and testsuite paths
9132 relative to the Makefile location. Also note how each testsuite is
9133 executed in its respective testdir.
9134
9135 In addition to the above, AX_GNU_AUTOTEST_RULES* also contains the rules
9136 to keep the testsuites, "package.m4" and "atconfig" updated. The
9137 matching rules to keep "atlocal" updated are generated by automake if
9138 that is used or are the responsibility of the developer.
9139
9140 All testsuite executions (except for clean) use variables
9141 AX_GNU_AUTOTEST_FLAGS, AX_GNU_AUTOTEST_CHECK_FLAGS,
9142 AX_GNU_AUTOTEST_INSTALLCHECK_FLAGS and more path-and-script-specific
9143 variants for additional command line options. These variables can be
9144 defined by the developer to pass options to the testsuite. In the
9145 example above, the rule check-autotest-foo-bar would look like this:
9146
9147 check-autotest-foo-bar:
9148 foo/bar -C foo $(AX_GNU_AUTOTEST_FLAGS) \
9149 $(AX_GNU_AUTOTEST_CHECK_FLAGS) \
9150 $(AX_GNU_AUTOTEST_FLAGS_foo) \
9151 $(AX_GNU_AUTOTEST_CHECK_FLAGS_foo) \
9152 $(AX_GNU_AUTOTEST_FLAGS_foo_bar) \
9153 $(AX_GNU_AUTOTEST_CHECK_FLAGS_foo_bar)
9154
9155 Description of Makefile file lists:
9156
9157 These lists are intended to be added to DISTCLEANFILES and EXTRA_DIST.
9158 The *_DCLEAN list contains all "atconfig" files and the *_DIST list
9159 contains all testsuites and "package.m4" files. The lists are again
9160 generated per directory: so AX_GNU_AUTOTEST_DCLEAN contains all
9161 "atconfig" files while e.g. AX_GNU_AUTOTEST_DIST_foo contains only
9162 files below the "foo" directory. These file lists are prevented from
9163 becoming Makefile variables by calling AM_SUBST_NOTMAKE(): that way,
9164 only the single version used by the Makefile is substituted, not all
9165 lists for all other paths as well. So use either like this:
9166
9167 DISTCLEANFILES = @AX_GNU_AUTOTEST_DCLEAN@
9168 EXTRA_DIST = @AX_GNU_AUTOTEST_DIST_foo@
9169
9170 Or like this:
9171
9172 AX_GNU_AUTOTEST_DCLEAN_foo = @AX_GNU_AUTOTEST_DCLEAN_foo@
9173 AX_GNU_AUTOTEST_DIST_foo = @AX_GNU_AUTOTEST_DIST_foo@
9174 DISTCLEANFILES = ${AX_GNU_AUTOTEST_DCLEAN_foo}
9175 EXTRA_DIST = ${AX_GNU_AUTOTEST_DIST_foo}
9176
9177 Description of shorthand default Makefile contents defined by
9178 AX_GNU_AUTOTEST_DEFAULT*:
9179
9180 This shorthand defines the appropriate rules, adds the file lists to the
9181 proper variables and makes the new targets dependencies of the standard
9182 "check", "installcheck" and "clean" targets. AX_GNU_AUTOTEST_DEFAULT is
9183 for example equivalent to:
9184
9185 @AX_GNU_AUTOTEST_RULES@
9186 check: check-autotest
9187 installcheck: installcheck-autotest
9188 clean: clean-autotest
9189 distclean: distclean-autotest
9190 distclean-autotest: clean-autotest
9191 -rm -f @AX_GNU_AUTOTEST_DCLEAN@
9192 .PHONY: distclean-autotest
9193 EXTRA_DIST += @AX_GNU_AUTOTEST_DIST@
9194
9195 Note that this is copied verbatim into the Makefile (after expansion of
9196 the contained @...@ substitutions): it does not shadow the default
9197 targets as would happen if the same lines were written in a Makefile.am
9198 file. And also note the use of the += operator: this will not be
9199 compatible with all versions of Make. Finally, the DISTCLEANFILES list
9200 is not used because automake only uses that list if it saw the variable
9201 in the Makefile.am file: in a substitution, it gets ignored unless the
9202 user already used the list.
9203
9204 Alternative standard GNU test suites not supported here:
9205
9206 * Automake test suites configured by the TESTS variable [2]
9207 * DejaGnu test suites [3,4]
9208
9209 [1]:
9210 <https://www.gnu.org/software/autoconf/manual/html_node/Using-Autotest.html>
9211
9212 [2]: <https://www.gnu.org/software/automake/manual/html_node/Tests.html>
9213
9214 [3]: <https://www.gnu.org/software/dejagnu/>
9215
9216 [4]:
9217 <https://www.gnu.org/software/automake/manual/html_node/DejaGnu-Tests.html>
9218
9219 Source Code
9220 ***********
9221
9222 Download the latest version of 'ax_gnu_autotest.m4'
9223 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gnu_autotest.m4)
9224 or browse the macro's revision history
9225 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gnu_autotest.m4).
9226
9227 License
9228 *******
9229
9230 Copyright (C) 2015 Olaf Mandel <olaf@mandel.name>
9231
9232 Copying and distribution of this file, with or without modification, are
9233 permitted in any medium without royalty provided the copyright notice
9234 and this notice are preserved. This file is offered as-is, without any
9235 warranty.
0 This is autoconf-archive.info, produced by makeinfo version 6.7 from
1 autoconf-archive.texi.
2
3 This manual is for GNU Autoconf Archive version 2021.02.19, a collection
4 of freely re-usable Autoconf macros.
5
6 Copyright (C) 2016 Autoconf Archive Maintainers
7 <autoconf-archive-maintainers@gnu.org>
8
9 Permission is granted to copy, distribute and/or modify this document
10 under the terms of the GNU Free Documentation License, Version 1.3 or
11 any later version published by the Free Software Foundation; with no
12 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
13 copy of the license is included in the section entitled "GNU Free
14 Documentation License".
15 INFO-DIR-SECTION Software development
16 START-INFO-DIR-ENTRY
17 * Autoconf Archive: (autoconf-archive). A collection of re-usable Autoconf macros.
18 END-INFO-DIR-ENTRY
19
20
21 
22 File: autoconf-archive.info, Node: ax_have_adns, Next: ax_have_epoll, Prev: ax_gnu_autotest, Up: The Macros
23
24 ax_have_adns
25 ============
26
27 Synopsis
28 ********
29
30 AX_HAVE_ADNS([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
31
32 Description
33 ***********
34
35 Check whether the GNU ADNS library available from
36 http://www.chiark.greenend.org.uk/~ian/adns/ is installed on this
37 system. The test is known to work with version 1.4 (or later). If the
38 library is found, the flags necessary to link it are added to $LIBS.
39
40 Source Code
41 ***********
42
43 Download the latest version of 'ax_have_adns.m4'
44 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_adns.m4)
45 or browse the macro's revision history
46 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_adns.m4).
47
48 License
49 *******
50
51 Copyright (C) 2008 Peter Simons <simons@cryp.to>
52
53 Copying and distribution of this file, with or without modification, are
54 permitted in any medium without royalty provided the copyright notice
55 and this notice are preserved. This file is offered as-is, without any
56 warranty.
57
58 
59 File: autoconf-archive.info, Node: ax_have_epoll, Next: ax_have_poll, Prev: ax_have_adns, Up: The Macros
60
61 ax_have_epoll
62 =============
63
64 Synopsis
65 ********
66
67 AX_HAVE_EPOLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
68 AX_HAVE_EPOLL_PWAIT([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
69
70 Description
71 ***********
72
73 This macro determines whether the system supports the epoll I/O event
74 interface. A neat usage example would be:
75
76 AX_HAVE_EPOLL(
77 [AX_CONFIG_FEATURE_ENABLE(epoll)],
78 [AX_CONFIG_FEATURE_DISABLE(epoll)])
79 AX_CONFIG_FEATURE(
80 [epoll], [This platform supports epoll(7)],
81 [HAVE_EPOLL], [This platform supports epoll(7).])
82
83 The epoll interface was added to the Linux kernel in version 2.5.45, and
84 the macro verifies that a kernel newer than this is installed. This
85 check is somewhat unreliable if <linux/version.h> doesn't match the
86 running kernel, but it is necessary regardless, because glibc comes with
87 stubs for the epoll_create(), epoll_wait(), etc. that allow programs to
88 compile and link even if the kernel is too old; the problem would then
89 be detected only at runtime.
90
91 Linux kernel version 2.6.19 adds the epoll_pwait() call in addition to
92 epoll_wait(). The availability of that function can be tested with the
93 second macro. Generally speaking, it is safe to assume that
94 AX_HAVE_EPOLL would succeed if AX_HAVE_EPOLL_PWAIT has, but not the
95 other way round.
96
97 Source Code
98 ***********
99
100 Download the latest version of 'ax_have_epoll.m4'
101 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_epoll.m4)
102 or browse the macro's revision history
103 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_epoll.m4).
104
105 License
106 *******
107
108 Copyright (C) 2008 Peter Simons <simons@cryp.to>
109
110 Copying and distribution of this file, with or without modification, are
111 permitted in any medium without royalty provided the copyright notice
112 and this notice are preserved. This file is offered as-is, without any
113 warranty.
114
115 
116 File: autoconf-archive.info, Node: ax_have_poll, Next: ax_have_qt, Prev: ax_have_epoll, Up: The Macros
117
118 ax_have_poll
119 ============
120
121 Synopsis
122 ********
123
124 AX_HAVE_POLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
125 AX_HAVE_PPOLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
126
127 Description
128 ***********
129
130 This macro determines whether the system supports the poll I/O event
131 interface. A neat usage example would be:
132
133 AX_HAVE_POLL(
134 [AX_CONFIG_FEATURE_ENABLE(poll)],
135 [AX_CONFIG_FEATURE_DISABLE(poll)])
136 AX_CONFIG_FEATURE(
137 [poll], [This platform supports poll(7)],
138 [HAVE_POLL], [This platform supports poll(7).])
139
140 Some systems - most notably Linux kernel 2.6.16 and later - also have
141 the variant ppoll(). The availability of that function can be tested
142 with the second macro. Generally speaking, it is safe to assume that
143 AX_HAVE_POLL would succeed if AX_HAVE_PPOLL has, but not the other way
144 round.
145
146 Source Code
147 ***********
148
149 Download the latest version of 'ax_have_poll.m4'
150 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_poll.m4)
151 or browse the macro's revision history
152 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_poll.m4).
153
154 License
155 *******
156
157 Copyright (C) 2009 Peter Simons <simons@cryp.to>
158
159 Copying and distribution of this file, with or without modification, are
160 permitted in any medium without royalty provided the copyright notice
161 and this notice are preserved. This file is offered as-is, without any
162 warranty.
163
164 
165 File: autoconf-archive.info, Node: ax_have_qt, Next: ax_have_select, Prev: ax_have_poll, Up: The Macros
166
167 ax_have_qt
168 ==========
169
170 Synopsis
171 ********
172
173 AX_HAVE_QT
174
175 Description
176 ***********
177
178 Searches $PATH and queries qmake for Qt include files, libraries and Qt
179 binary utilities. The macro only supports Qt5 or later.
180
181 The following shell variable is set to either "yes" or "no":
182
183 have_qt
184
185 Additionally, the following variables are exported:
186
187 QT_CXXFLAGS
188 QT_LIBS
189 QT_MOC
190 QT_UIC
191 QT_RCC
192 QT_LRELEASE
193 QT_LUPDATE
194 QT_DIR
195
196 which respectively contain an "-I" flag pointing to the Qt include
197 directory, link flags necessary to link with Qt and X, the full path to
198 the meta object compiler and the user interface compiler both, and
199 finally the variable QTDIR as Qt likes to see it defined.
200
201 Example lines for Makefile.in:
202
203 CXXFLAGS = @QT_CXXFLAGS@
204 MOC = @QT_MOC@
205
206 After the variables have been set, a trial compile and link is performed
207 to check the correct functioning of the meta object compiler. This test
208 may fail when the different detected elements stem from different
209 releases of the Qt framework. In that case, an error message is emitted
210 and configure stops.
211
212 No common variables such as $LIBS or $CFLAGS are polluted.
213
214 Source Code
215 ***********
216
217 Download the latest version of 'ax_have_qt.m4'
218 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_qt.m4)
219 or browse the macro's revision history
220 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_qt.m4).
221
222 License
223 *******
224
225 Copyright (C) 2008 Bastiaan Veelo <Bastiaan@Veelo.net>
226 Copyright (C) 2014 Alex Henrie <alexhenrie24@gmail.com>
227
228 Copying and distribution of this file, with or without modification, are
229 permitted in any medium without royalty provided the copyright notice
230 and this notice are preserved. This file is offered as-is, without any
231 warranty.
232
233 
234 File: autoconf-archive.info, Node: ax_have_select, Next: ax_include_strcasecmp, Prev: ax_have_qt, Up: The Macros
235
236 ax_have_select
237 ==============
238
239 Synopsis
240 ********
241
242 AX_HAVE_SELECT([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
243 AX_HAVE_PSELECT([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
244
245 Description
246 ***********
247
248 This macro determines whether the system supports the select I/O event
249 interface. A neat usage example would be:
250
251 AX_HAVE_SELECT(
252 [AX_CONFIG_FEATURE_ENABLE(select)],
253 [AX_CONFIG_FEATURE_DISABLE(select)])
254 AX_CONFIG_FEATURE(
255 [select], [This platform supports select(7)],
256 [HAVE_SELECT], [This platform supports select(7).])
257
258 Some systems also have the variant pselect(). The availability of that
259 function can be tested with the second macro. Generally speaking, it is
260 safe to assume that AX_HAVE_SELECT would succeed if AX_HAVE_SELECT_PWAIT
261 has, but not the other way round.
262
263 Source Code
264 ***********
265
266 Download the latest version of 'ax_have_select.m4'
267 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_select.m4)
268 or browse the macro's revision history
269 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_select.m4).
270
271 License
272 *******
273
274 Copyright (C) 2009 Peter Simons <simons@cryp.to>
275
276 Copying and distribution of this file, with or without modification, are
277 permitted in any medium without royalty provided the copyright notice
278 and this notice are preserved. This file is offered as-is, without any
279 warranty.
280
281 
282 File: autoconf-archive.info, Node: ax_include_strcasecmp, Next: ax_install_files, Prev: ax_have_select, Up: The Macros
283
284 ax_include_strcasecmp
285 =====================
286
287 Synopsis
288 ********
289
290 AX_INCLUDE_STRCASECMP
291
292 Description
293 ***********
294
295 This macro tries to find a header for strcasecmp() in strings.h, then
296 string.h, and AC_DEFINEs AX_STRCASECMP_HEADER to the value it found.
297 Use it in your source like so:
298
299 #ifdef AX_STRCASECMP_HEADER
300 #include AX_STRCASECMP_HEADER
301 #endif
302
303 Source Code
304 ***********
305
306 Download the latest version of 'ax_include_strcasecmp.m4'
307 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_include_strcasecmp.m4)
308 or browse the macro's revision history
309 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_include_strcasecmp.m4).
310
311 License
312 *******
313
314 Copyright (C) 2012 Leo Davis <ldavis@speechfxinc.com>
315
316 Copying and distribution of this file, with or without modification, are
317 permitted in any medium without royalty provided the copyright notice
318 and this notice are preserved. This file is offered as-is, without any
319 warranty.
320
321 
322 File: autoconf-archive.info, Node: ax_install_files, Next: ax_int128, Prev: ax_include_strcasecmp, Up: The Macros
323
324 ax_install_files
325 ================
326
327 Synopsis
328 ********
329
330 AX_INSTALL_FILES
331
332 Description
333 ***********
334
335 Adds target for creating a install_files file, which contains the list
336 of files that will be installed.
337
338 Source Code
339 ***********
340
341 Download the latest version of 'ax_install_files.m4'
342 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_install_files.m4)
343 or browse the macro's revision history
344 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_install_files.m4).
345
346 License
347 *******
348
349 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
350
351 Copying and distribution of this file, with or without modification, are
352 permitted in any medium without royalty provided the copyright notice
353 and this notice are preserved. This file is offered as-is, without any
354 warranty.
355
356 
357 File: autoconf-archive.info, Node: ax_int128, Next: ax_is_release, Prev: ax_install_files, Up: The Macros
358
359 ax_int128
360 =========
361
362 Synopsis
363 ********
364
365 AX_HAVE_INT128
366
367 Description
368 ***********
369
370 Check whether the compiler provides __int128. If so, define
371 HAVE_INT128.
372
373 Works with GCC >= 4.6.
374
375 TODO: Provide int128[u]_t & work with other compilers.
376
377 Source Code
378 ***********
379
380 Download the latest version of 'ax_int128.m4'
381 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_int128.m4)
382 or browse the macro's revision history
383 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_int128.m4).
384
385 License
386 *******
387
388 Copyright (C) 2019 Reuben Thomas <rrt@sc3d.org>
389
390 Copying and distribution of this file, with or without modification, are
391 permitted in any medium without royalty provided the copyright notice
392 and this notice are preserved. This file is offered as-is, without any
393 warranty.
394
395 
396 File: autoconf-archive.info, Node: ax_is_release, Next: ax_java_check_class, Prev: ax_int128, Up: The Macros
397
398 ax_is_release
399 =============
400
401 Synopsis
402 ********
403
404 AX_IS_RELEASE(POLICY)
405
406 Description
407 ***********
408
409 Determine whether the code is being configured as a release, or from
410 git. Set the ax_is_release variable to 'yes' or 'no'.
411
412 If building a release version, it is recommended that the configure
413 script disable compiler errors and debug features, by conditionalising
414 them on the ax_is_release variable. If building from git, these
415 features should be enabled.
416
417 The POLICY parameter specifies how ax_is_release is determined. It can
418 take the following values:
419
420 * git-directory: ax_is_release will be 'no' if a '.git'
421 directory or git worktree exists
422 * minor-version: ax_is_release will be 'no' if the minor version number
423 in $PACKAGE_VERSION is odd; this assumes
424 $PACKAGE_VERSION follows the 'major.minor.micro' scheme
425 * micro-version: ax_is_release will be 'no' if the micro version number
426 in $PACKAGE_VERSION is odd; this assumes
427 $PACKAGE_VERSION follows the 'major.minor.micro' scheme
428 * dash-version: ax_is_release will be 'no' if there is a dash '-'
429 in $PACKAGE_VERSION, for example 1.2-pre3, 1.2.42-a8b9
430 or 2.0-dirty (in particular this is suitable for use
431 with git-version-gen)
432 * always: ax_is_release will always be 'yes'
433 * never: ax_is_release will always be 'no'
434
435 Other policies may be added in future.
436
437 Source Code
438 ***********
439
440 Download the latest version of 'ax_is_release.m4'
441 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_is_release.m4)
442 or browse the macro's revision history
443 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_is_release.m4).
444
445 License
446 *******
447
448 Copyright (C) 2015 Philip Withnall <philip@tecnocode.co.uk>
449 Copyright (C) 2016 Collabora Ltd.
450
451 Copying and distribution of this file, with or without modification, are
452 permitted in any medium without royalty provided the copyright notice
453 and this notice are preserved.
454
455 
456 File: autoconf-archive.info, Node: ax_java_check_class, Next: ax_java_options, Prev: ax_is_release, Up: The Macros
457
458 ax_java_check_class
459 ===================
460
461 Synopsis
462 ********
463
464 AX_JAVA_CHECK_CLASS(<class>,<action-if-found>,<action-if-not-found>)
465
466 Description
467 ***********
468
469 Test if a Java class is available. Based on AX_PROG_JAVAC_WORKS. This
470 version uses a cache variable which is both compiler, options and
471 classpath dependent (so if you switch from javac to gcj it correctly
472 notices and redoes the test).
473
474 The macro tries to compile a minimal program importing <class>. Some
475 newer compilers moan about the failure to use this but fail or produce a
476 class file anyway. All moaning is sunk to /dev/null since I only wanted
477 to know if the class could be imported. This is a recommended followup
478 to AX_CHECK_JAVA_PLUGIN with classpath appropriately adjusted.
479
480 Source Code
481 ***********
482
483 Download the latest version of 'ax_java_check_class.m4'
484 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_java_check_class.m4)
485 or browse the macro's revision history
486 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_java_check_class.m4).
487
488 License
489 *******
490
491 Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
492
493 This program is free software; you can redistribute it and/or modify it
494 under the terms of the GNU General Public License as published by the
495 Free Software Foundation; either version 2 of the License, or (at your
496 option) any later version.
497
498 This program is distributed in the hope that it will be useful, but
499 WITHOUT ANY WARRANTY; without even the implied warranty of
500 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
501 Public License for more details.
502
503 You should have received a copy of the GNU General Public License along
504 with this program. If not, see <https://www.gnu.org/licenses/>.
505
506 As a special exception, the respective Autoconf Macro's copyright owner
507 gives unlimited permission to copy, distribute and modify the configure
508 scripts that are the output of Autoconf when processing the Macro. You
509 need not follow the terms of the GNU General Public License when using
510 or distributing such scripts, even though portions of the text of the
511 Macro appear in them. The GNU General Public License (GPL) does govern
512 all other use of the material that constitutes the Autoconf Macro.
513
514 This special exception to the GPL applies to versions of the Autoconf
515 Macro released by the Autoconf Archive. When you make and distribute a
516 modified version of the Autoconf Macro, you may extend this special
517 exception to the GPL to apply to your modified version as well.
518
519 
520 File: autoconf-archive.info, Node: ax_java_options, Next: ax_jni_include_dir, Prev: ax_java_check_class, Up: The Macros
521
522 ax_java_options
523 ===============
524
525 Synopsis
526 ********
527
528 AX_JAVA_OPTIONS
529
530 Description
531 ***********
532
533 AX_JAVA_OPTIONS adds configure command line options used for Java m4
534 macros. This Macro is optional.
535
536 Note: This is part of the set of autoconf M4 macros for Java programs.
537 It is VERY IMPORTANT that you download the whole set, some macros depend
538 on other. Unfortunately, the autoconf archive does not support the
539 concept of set of macros, so I had to break it for submission. The
540 general documentation, as well as the sample configure.in, is included
541 in the AX_PROG_JAVA macro.
542
543 Source Code
544 ***********
545
546 Download the latest version of 'ax_java_options.m4'
547 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_java_options.m4)
548 or browse the macro's revision history
549 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_java_options.m4).
550
551 License
552 *******
553
554 Copyright (C) 2008 Devin Weaver <ktohg@tritarget.com>
555
556 Copying and distribution of this file, with or without modification, are
557 permitted in any medium without royalty provided the copyright notice
558 and this notice are preserved. This file is offered as-is, without any
559 warranty.
560
561 
562 File: autoconf-archive.info, Node: ax_jni_include_dir, Next: ax_lapack, Prev: ax_java_options, Up: The Macros
563
564 ax_jni_include_dir
565 ==================
566
567 Synopsis
568 ********
569
570 AX_JNI_INCLUDE_DIR
571
572 Description
573 ***********
574
575 AX_JNI_INCLUDE_DIR finds include directories needed for compiling
576 programs using the JNI interface.
577
578 JNI include directories are usually in the Java distribution. This is
579 deduced from the value of $JAVA_HOME, $JAVAC, or the path to "javac", in
580 that order. When this macro completes, a list of directories is left in
581 the variable JNI_INCLUDE_DIRS.
582
583 Example usage follows:
584
585 AX_JNI_INCLUDE_DIR
586
587 for JNI_INCLUDE_DIR in $JNI_INCLUDE_DIRS
588 do
589 CPPFLAGS="$CPPFLAGS -I$JNI_INCLUDE_DIR"
590 done
591
592 If you want to force a specific compiler:
593
594 - at the configure.in level, set JAVAC=yourcompiler before calling
595 AX_JNI_INCLUDE_DIR
596
597 - at the configure level, setenv JAVAC
598
599 This macro depends on AC_CANONICAL_HOST which requires that config.guess
600 and config.sub be distributed along with the source code. See autoconf
601 manual for details.
602
603 Note: This macro can work with the autoconf M4 macros for Java programs.
604 This particular macro is not part of the original set of macros.
605
606 Source Code
607 ***********
608
609 Download the latest version of 'ax_jni_include_dir.m4'
610 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_jni_include_dir.m4)
611 or browse the macro's revision history
612 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_jni_include_dir.m4).
613
614 License
615 *******
616
617 Copyright (C) 2008 Don Anderson <dda@sleepycat.com>
618
619 Copying and distribution of this file, with or without modification, are
620 permitted in any medium without royalty provided the copyright notice
621 and this notice are preserved. This file is offered as-is, without any
622 warranty.
623
624 
625 File: autoconf-archive.info, Node: ax_lapack, Next: ax_lib_beecrypt, Prev: ax_jni_include_dir, Up: The Macros
626
627 ax_lapack
628 =========
629
630 Synopsis
631 ********
632
633 AX_LAPACK([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
634
635 Description
636 ***********
637
638 This macro looks for a library that implements the LAPACK linear-algebra
639 interface (see http://www.netlib.org/lapack/). On success, it sets the
640 LAPACK_LIBS output variable to hold the requisite library linkages.
641
642 To link with LAPACK, you should link with:
643
644 $LAPACK_LIBS $BLAS_LIBS $LIBS $FLIBS
645
646 in that order. BLAS_LIBS is the output variable of the AX_BLAS macro,
647 called automatically. FLIBS is the output variable of the
648 AC_F77_LIBRARY_LDFLAGS macro (called if necessary by AX_BLAS), and is
649 sometimes necessary in order to link with F77 libraries. Users will
650 also need to use AC_F77_DUMMY_MAIN (see the autoconf manual), for the
651 same reason.
652
653 The user may also use -with-lapack=<lib> in order to use some specific
654 LAPACK library <lib>. In order to link successfully, however, be aware
655 that you will probably need to use the same Fortran compiler (which can
656 be set via the F77 env. var.) as was used to compile the LAPACK and
657 BLAS libraries.
658
659 ACTION-IF-FOUND is a list of shell commands to run if a LAPACK library
660 is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
661 is not found. If ACTION-IF-FOUND is not specified, the default action
662 will define HAVE_LAPACK.
663
664 Source Code
665 ***********
666
667 Download the latest version of 'ax_lapack.m4'
668 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lapack.m4)
669 or browse the macro's revision history
670 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lapack.m4).
671
672 License
673 *******
674
675 Copyright (C) 2009 Steven G. Johnson <stevenj@alum.mit.edu>
676 Copyright (C) 2019 Geoffrey M. Oxberry <goxberry@gmail.com>
677
678 This program is free software: you can redistribute it and/or modify it
679 under the terms of the GNU General Public License as published by the
680 Free Software Foundation, either version 3 of the License, or (at your
681 option) any later version.
682
683 This program is distributed in the hope that it will be useful, but
684 WITHOUT ANY WARRANTY; without even the implied warranty of
685 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
686 Public License for more details.
687
688 You should have received a copy of the GNU General Public License along
689 with this program. If not, see <https://www.gnu.org/licenses/>.
690
691 As a special exception, the respective Autoconf Macro's copyright owner
692 gives unlimited permission to copy, distribute and modify the configure
693 scripts that are the output of Autoconf when processing the Macro. You
694 need not follow the terms of the GNU General Public License when using
695 or distributing such scripts, even though portions of the text of the
696 Macro appear in them. The GNU General Public License (GPL) does govern
697 all other use of the material that constitutes the Autoconf Macro.
698
699 This special exception to the GPL applies to versions of the Autoconf
700 Macro released by the Autoconf Archive. When you make and distribute a
701 modified version of the Autoconf Macro, you may extend this special
702 exception to the GPL to apply to your modified version as well.
703
704 
705 File: autoconf-archive.info, Node: ax_lib_beecrypt, Next: ax_lib_cgal_core, Prev: ax_lapack, Up: The Macros
706
707 ax_lib_beecrypt
708 ===============
709
710 Synopsis
711 ********
712
713 AX_LIB_BEECRYPT([yes|no|auto])
714
715 Description
716 ***********
717
718 Searches for the 'beecrypt' library with the -with... option.
719
720 If found, define HAVE_BEECRYPT and macro BEECRYPT_LIBS. Also defines
721 BEECRYPT_WITH_<algo> for the algorithms found available. Possible
722 algorithms: BASE64 AES BF MD5 SHA1 SHA256 SHA384 SHA512.
723
724 The argument is used if no -with...-beecrypt option is set. Value "yes"
725 requires the configuration by default. Value "no" does not require it
726 by default. Value "auto" configures the library only if available.
727
728 See also AX_LIB_CRYPTO and AX_LIB_GCRYPT.
729
730 Source Code
731 ***********
732
733 Download the latest version of 'ax_lib_beecrypt.m4'
734 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_beecrypt.m4)
735 or browse the macro's revision history
736 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_beecrypt.m4).
737
738 License
739 *******
740
741 Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
742
743 Copying and distribution of this file, with or without modification, are
744 permitted in any medium without royalty provided the copyright notice
745 and this notice are preserved. This file is offered as-is, without any
746 warranty.
747
748 
749 File: autoconf-archive.info, Node: ax_lib_cgal_core, Next: ax_lib_crypto, Prev: ax_lib_beecrypt, Up: The Macros
750
751 ax_lib_cgal_core
752 ================
753
754 Synopsis
755 ********
756
757 AX_LIB_CGAL_CORE([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
758
759 Description
760 ***********
761
762 Test for the CGAL_Core library.
763
764 By using the "-with-cgal=" option, define a special installation
765 directory. If CGAL is not found there, the script will fail
766 immediately. Otherwise, $CGAL_HOME is searched, then standard system
767 locations.
768
769 NOTE: This script depends on BOOST_CPPFLAGS, so be sure to run
770 AX_BOOST_BASE in advance.
771
772 This macro calls:
773
774 AC_SUBST(CGAL_CPPFLAGS)
775 AC_SUBST(CGAL_LDFLAGS)
776
777 And sets:
778
779 HAVE_CGAL
780
781 Source Code
782 ***********
783
784 Download the latest version of 'ax_lib_cgal_core.m4'
785 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_cgal_core.m4)
786 or browse the macro's revision history
787 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_cgal_core.m4).
788
789 License
790 *******
791
792 Copyright (C) 2010 Sebastian Hegler <sebastian.hegler@tu-dresden.de>
793
794 Copying and distribution of this file, with or without modification, are
795 permitted in any medium without royalty provided the copyright notice
796 and this notice are preserved. This file is offered as-is, without any
797 warranty.
798
799 
800 File: autoconf-archive.info, Node: ax_lib_crypto, Next: ax_lib_curl, Prev: ax_lib_cgal_core, Up: The Macros
801
802 ax_lib_crypto
803 =============
804
805 Synopsis
806 ********
807
808 AX_LIB_CRYPTO([yes|no|auto])
809
810 Description
811 ***********
812
813 Searches for the 'crypto' library with the -with... option.
814
815 If found, define HAVE_CRYPTO and macro CRYPTO_LIBS. Also defines
816 CRYPTO_WITH_<algo> for the algorithms found available. Possible
817 algorithms: AES BF CAMELLIA CAST DES IDEA RC2 RC5 MD2 MD4 MD5 SHA RIPEMD
818 RSA DSA DH
819
820 The argument is used if no -with...-crypto option is set. Value "yes"
821 requires the configuration by default. Value "no" does not require it
822 by default. Value "auto" configures the library only if available.
823
824 See also AX_LIB_BEECRYPT and AX_LIB_GCRYPT.
825
826 Source Code
827 ***********
828
829 Download the latest version of 'ax_lib_crypto.m4'
830 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_crypto.m4)
831 or browse the macro's revision history
832 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_crypto.m4).
833
834 License
835 *******
836
837 Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
838
839 Copying and distribution of this file, with or without modification, are
840 permitted in any medium without royalty provided the copyright notice
841 and this notice are preserved. This file is offered as-is, without any
842 warranty.
843
844 
845 File: autoconf-archive.info, Node: ax_lib_curl, Next: ax_lib_ev, Prev: ax_lib_crypto, Up: The Macros
846
847 ax_lib_curl
848 ===========
849
850 Synopsis
851 ********
852
853 AX_LIB_CURL([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
854
855 Description
856 ***********
857
858 Checks for minimum curl library version VERSION. If successful executes
859 ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
860
861 Defines CURL_LIBS and CURL_CFLAGS.
862
863 A simple example:
864
865 AX_LIB_CURL([7.19.4],,[
866 AC_MSG_ERROR([Your system lacks libcurl >= 7.19.4])
867 ])
868
869 This macro is a rearranged version of AC_LIB_CURL from Akos Maroy.
870
871 Source Code
872 ***********
873
874 Download the latest version of 'ax_lib_curl.m4'
875 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_curl.m4)
876 or browse the macro's revision history
877 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_curl.m4).
878
879 License
880 *******
881
882 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
883
884 Copying and distribution of this file, with or without modification, are
885 permitted in any medium without royalty provided the copyright notice
886 and this notice are preserved. This file is offered as-is, without any
887 warranty.
888
889 
890 File: autoconf-archive.info, Node: ax_lib_ev, Next: ax_lib_expat, Prev: ax_lib_curl, Up: The Macros
891
892 ax_lib_ev
893 =========
894
895 Synopsis
896 ********
897
898 AX_LIB_EV([VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
899
900 Description
901 ***********
902
903 Checks for libev mimicking pkg-config's way of doing things for as long
904 as upstream doesn't provide a .pc file. If successful and provided
905 expand ACTION-IF-FOUND, otherwise expand ACTION-IF-NOT-FOUND, or, if
906 omitted, error out like pkg-config does.
907
908 Defines libev_LIBS and libev_CFLAGS.
909
910 Source Code
911 ***********
912
913 Download the latest version of 'ax_lib_ev.m4'
914 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_ev.m4)
915 or browse the macro's revision history
916 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_ev.m4).
917
918 License
919 *******
920
921 Copyright (C) 2012 Sebastian Freundt <freundt@fresse.org>
922
923 Copying and distribution of this file, with or without modification, are
924 permitted in any medium without royalty provided the copyright notice
925 and this notice are preserved. This file is offered as-is, without any
926 warranty.
927
928 
929 File: autoconf-archive.info, Node: ax_lib_expat, Next: ax_lib_firebird, Prev: ax_lib_ev, Up: The Macros
930
931 ax_lib_expat
932 ============
933
934 Synopsis
935 ********
936
937 AX_LIB_EXPAT([MINIMUM-VERSION])
938
939 Description
940 ***********
941
942 This macro provides tests of availability of Expat XML Parser of
943 particular version or newer. This macro checks for Expat XML Parser
944 headers and libraries and defines compilation flags
945
946 Macro supports following options and their values:
947
948 1) Single-option usage:
949
950 --with-expat -- yes, no, or path to Expat XML Parser
951 installation prefix
952
953 2) Three-options usage (all options are required):
954
955 --with-expat=yes
956 --with-expat-inc -- path to base directory with Expat headers
957 --with-expat-lib -- linker flags for Expat
958
959 This macro calls:
960
961 AC_SUBST(EXPAT_CFLAGS)
962 AC_SUBST(EXPAT_LIBS)
963 AC_SUBST(EXPAT_LDFLAGS)
964 AC_SUBST(EXPAT_VERSION) -- only if version requirement is used
965
966 And sets:
967
968 HAVE_EXPAT
969
970 Source Code
971 ***********
972
973 Download the latest version of 'ax_lib_expat.m4'
974 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_expat.m4)
975 or browse the macro's revision history
976 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_expat.m4).
977
978 License
979 *******
980
981 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
982
983 Copying and distribution of this file, with or without modification, are
984 permitted in any medium without royalty provided the copyright notice
985 and this notice are preserved. This file is offered as-is, without any
986 warranty.
987
988 
989 File: autoconf-archive.info, Node: ax_lib_firebird, Next: ax_lib_gcrypt, Prev: ax_lib_expat, Up: The Macros
990
991 ax_lib_firebird
992 ===============
993
994 Synopsis
995 ********
996
997 AX_LIB_FIREBIRD([MINIMUM-VERSION])
998
999 Description
1000 ***********
1001
1002 Test for the Firebird client library of a particular version (or newer).
1003 This macro takes only one optional argument, the required version of
1004 Firebird library. If required version is not passed, then 1.5.0 is used
1005 in test of existence of Firebird client library.
1006
1007 For more information about Firebird API versioning check: API Identifies
1008 Client Version http://www.firebirdsql.org/rlsnotes20/rnfbtwo-apiods.html
1009
1010 If no installation prefix to the installed Firebird library is given the
1011 macro searches under /usr, /usr/local, and /opt.
1012
1013 This macro calls:
1014
1015 AC_SUBST(FIREBIRD_CFLAGS)
1016 AC_SUBST(FIREBIRD_LDFLAGS)
1017 AC_SUBST(FIREBIRD_VERSION)
1018
1019 And sets:
1020
1021 HAVE_FIREBIRD
1022
1023 Source Code
1024 ***********
1025
1026 Download the latest version of 'ax_lib_firebird.m4'
1027 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_firebird.m4)
1028 or browse the macro's revision history
1029 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_firebird.m4).
1030
1031 License
1032 *******
1033
1034 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
1035
1036 Copying and distribution of this file, with or without modification, are
1037 permitted in any medium without royalty provided the copyright notice
1038 and this notice are preserved. This file is offered as-is, without any
1039 warranty.
1040
1041 
1042 File: autoconf-archive.info, Node: ax_lib_gcrypt, Next: ax_lib_gdal, Prev: ax_lib_firebird, Up: The Macros
1043
1044 ax_lib_gcrypt
1045 =============
1046
1047 Synopsis
1048 ********
1049
1050 AX_LIB_GCRYPT([yes|no|auto])
1051
1052 Description
1053 ***********
1054
1055 Searches for the 'gcrypt' library with the -with... option.
1056
1057 If found, define HAVE_GCRYPT and macro GCRYPT_LIBS and GCRYPT_CFLAGS.
1058 Also defines GCRYPT_WITH_<algo> for the algorithms found available.
1059 Possible algorithms are: AES ARCFOUR BLOWFISH CAST5 DES IDEA RFC2268
1060 SERPENT TWOFISH CRC HAVAL MD2 MD4 MD5 RMD160 SHA0 SHA1 SHA224 SHA256
1061 SHA384 SHA512 TIGER WHIRLPOOL DSA ELGAMAL RSA
1062
1063 The argument is used if no -with...-gcrypt option is set. Value "yes"
1064 requires the configuration by default. Value "no" does not require it
1065 by default. Value "auto" configures the library only if available.
1066
1067 See also AX_LIB_BEECRYPT and AX_LIB_CRYPTO.
1068
1069 Source Code
1070 ***********
1071
1072 Download the latest version of 'ax_lib_gcrypt.m4'
1073 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_gcrypt.m4)
1074 or browse the macro's revision history
1075 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_gcrypt.m4).
1076
1077 License
1078 *******
1079
1080 Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
1081
1082 Copying and distribution of this file, with or without modification, are
1083 permitted in any medium without royalty provided the copyright notice
1084 and this notice are preserved. This file is offered as-is, without any
1085 warranty.
1086
1087 
1088 File: autoconf-archive.info, Node: ax_lib_gdal, Next: ax_lib_hdf5, Prev: ax_lib_gcrypt, Up: The Macros
1089
1090 ax_lib_gdal
1091 ===========
1092
1093 Synopsis
1094 ********
1095
1096 AX_LIB_GDAL([MINIMUM-VERSION])
1097
1098 Description
1099 ***********
1100
1101 This macro provides tests of availability of GDAL/OGR library of
1102 particular version or newer.
1103
1104 AX_LIB_GDAL macro takes only one argument which is optional. If there
1105 is no required version passed, then macro does not run version test.
1106
1107 The -with-gdal option takes complete path to gdal-config utility,
1108
1109 This macro calls AC_SUBST for:
1110
1111 GDAL_VERSION
1112 GDAL_CFLAGS
1113 GDAL_LDFLAGS
1114 GDAL_DEP_LDFLAGS
1115 GDAL_OGR_ENABLED
1116
1117 and AC_DEFINE for:
1118
1119 HAVE_GDAL
1120 HAVE_GDAL_OGR
1121
1122 Source Code
1123 ***********
1124
1125 Download the latest version of 'ax_lib_gdal.m4'
1126 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_gdal.m4)
1127 or browse the macro's revision history
1128 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_gdal.m4).
1129
1130 License
1131 *******
1132
1133 Copyright (C) 2011 Mateusz Loskot <mateusz@loskot.net>
1134 Copyright (C) 2011 Alessandro Candini <candini@meeo.it>
1135
1136 Copying and distribution of this file, with or without modification, are
1137 permitted in any medium without royalty provided the copyright notice
1138 and this notice are preserved. This file is offered as-is, without any
1139 warranty.
1140
1141 
1142 File: autoconf-archive.info, Node: ax_lib_hdf5, Next: ax_lib_id3, Prev: ax_lib_gdal, Up: The Macros
1143
1144 ax_lib_hdf5
1145 ===========
1146
1147 Synopsis
1148 ********
1149
1150 AX_LIB_HDF5([serial/parallel])
1151
1152 Description
1153 ***********
1154
1155 This macro provides tests of the availability of HDF5 library.
1156
1157 The optional macro argument should be either 'serial' or 'parallel'.
1158 The former only looks for serial HDF5 installations via h5cc. The
1159 latter only looks for parallel HDF5 installations via h5pcc. If the
1160 optional argument is omitted, serial installations will be preferred
1161 over parallel ones.
1162
1163 The macro adds a -with-hdf5 option accepting one of three values:
1164
1165 no - do not check for the HDF5 library.
1166 yes - do check for HDF5 library in standard locations.
1167 path - complete path to the HDF5 helper script h5cc or h5pcc.
1168
1169 If HDF5 is successfully found, this macro calls
1170
1171 AC_SUBST(HDF5_VERSION)
1172 AC_SUBST(HDF5_CC)
1173 AC_SUBST(HDF5_CFLAGS)
1174 AC_SUBST(HDF5_CPPFLAGS)
1175 AC_SUBST(HDF5_LDFLAGS)
1176 AC_SUBST(HDF5_LIBS)
1177 AC_SUBST(HDF5_FC)
1178 AC_SUBST(HDF5_FFLAGS)
1179 AC_SUBST(HDF5_FLIBS)
1180 AC_SUBST(HDF5_TYPE)
1181 AC_DEFINE(HAVE_HDF5)
1182
1183 and sets with_hdf5="yes". Additionally, the macro sets
1184 with_hdf5_fortran="yes" if a matching Fortran wrapper script is found.
1185 Note that Autoconf's Fortran support is not used to perform this check.
1186 H5CC and H5FC will contain the appropriate serial or parallel HDF5
1187 wrapper script locations.
1188
1189 If HDF5 is disabled or not found, this macros sets with_hdf5="no" and
1190 with_hdf5_fortran="no".
1191
1192 Your configuration script can test $with_hdf to take any further
1193 actions. HDF5_{C,CPP,LD}FLAGS may be used when building with C or C++.
1194 HDF5_F{FLAGS,LIBS} should be used when building Fortran applications.
1195
1196 To use the macro, one would code one of the following in "configure.ac"
1197 before AC_OUTPUT:
1198
1199 1) dnl Check for HDF5 support
1200 AX_LIB_HDF5()
1201
1202 2) dnl Check for serial HDF5 support
1203 AX_LIB_HDF5([serial])
1204
1205 3) dnl Check for parallel HDF5 support
1206 AX_LIB_HDF5([parallel])
1207
1208 One could test $with_hdf5 for the outcome or display it as follows
1209
1210 echo "HDF5 support: $with_hdf5"
1211
1212 You could also for example, override the default CC in "configure.ac" to
1213 enforce compilation with the compiler that HDF5 uses:
1214
1215 AX_LIB_HDF5([parallel])
1216 if test "$with_hdf5" = "yes"; then
1217 CC="$HDF5_CC"
1218 else
1219 AC_MSG_ERROR([Unable to find HDF5, we need parallel HDF5.])
1220 fi
1221
1222 The HDF5_TYPE environment variable returns "parallel" or "serial",
1223 depending on which type of library is found.
1224
1225 Source Code
1226 ***********
1227
1228 Download the latest version of 'ax_lib_hdf5.m4'
1229 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_hdf5.m4)
1230 or browse the macro's revision history
1231 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_hdf5.m4).
1232
1233 License
1234 *******
1235
1236 Copyright (C) 2009 Timothy Brown <tbrown@freeshell.org>
1237 Copyright (C) 2010 Rhys Ulerich <rhys.ulerich@gmail.com>
1238
1239 Copying and distribution of this file, with or without modification, are
1240 permitted in any medium without royalty provided the copyright notice
1241 and this notice are preserved. This file is offered as-is, without any
1242 warranty.
1243
1244 
1245 File: autoconf-archive.info, Node: ax_lib_id3, Next: ax_lib_libkml, Prev: ax_lib_hdf5, Up: The Macros
1246
1247 ax_lib_id3
1248 ==========
1249
1250 Synopsis
1251 ********
1252
1253 AX_LIB_ID3([ACTION-IF-TRUE], [ACTION-IF-FALSE])
1254
1255 Description
1256 ***********
1257
1258 This macro will check for the existence of id3lib
1259 (http://id3lib.sourceforge.net/). It does this by checking for the
1260 header file id3.h and the id3 library object file. A -with-id3lib
1261 option is supported as well. The following output variables are set
1262 with AC_SUBST:
1263
1264 ID3_CPPFLAGS
1265 ID3_LDFLAGS
1266 ID3_LIBS
1267
1268 You can use them like this in Makefile.am:
1269
1270 AM_CPPFLAGS = $(ID3_CPPFLAGS)
1271 AM_LDFLAGS = $(ID3_LDFLAGS)
1272 program_LDADD = $(ID3_LIBS)
1273
1274 Additionally, the C preprocessor symbol HAVE_ID3LIB will be defined with
1275 AC_DEFINE if id3lib is available.
1276
1277 Source Code
1278 ***********
1279
1280 Download the latest version of 'ax_lib_id3.m4'
1281 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_id3.m4)
1282 or browse the macro's revision history
1283 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_id3.m4).
1284
1285 License
1286 *******
1287
1288 Copyright (C) 2009 Oskar Liljeblad <oskar@osk.mine.nu>
1289
1290 Copying and distribution of this file, with or without modification, are
1291 permitted in any medium without royalty provided the copyright notice
1292 and this notice are preserved. This file is offered as-is, without any
1293 warranty.
1294
1295 
1296 File: autoconf-archive.info, Node: ax_lib_libkml, Next: ax_lib_metis, Prev: ax_lib_id3, Up: The Macros
1297
1298 ax_lib_libkml
1299 =============
1300
1301 Synopsis
1302 ********
1303
1304 AX_LIB_LIBKML([MINIMUM-VERSION])
1305
1306 Description
1307 ***********
1308
1309 This macro tests whether Google's libkml library
1310 <http://code.google.com/p/libkml/> is available in particular version or
1311 newer. The generated configure script will support the following
1312 options:
1313
1314 1) Single-option usage:
1315
1316 --with-libkml - yes, no or path to Google libkml installation prefix
1317
1318 2) Three-options usage (all options are required):
1319
1320 --with-libkml=yes
1321 --with-libkml-inc - path to base directory with headers
1322 --with-libkml-lib - linker flags for
1323
1324 This macro calls:
1325
1326 AC_SUBST(LIBKML_CFLAGS)
1327 AC_SUBST(LIBKML_LDFLAGS)
1328 AC_SUBST(LIBKML_VERSION) - only if version requirement is used
1329
1330 And sets:
1331
1332 HAVE_LIBKML
1333
1334 Source Code
1335 ***********
1336
1337 Download the latest version of 'ax_lib_libkml.m4'
1338 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_libkml.m4)
1339 or browse the macro's revision history
1340 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_libkml.m4).
1341
1342 License
1343 *******
1344
1345 Copyright (C) 2010 Mateusz Loskot <mateusz@loskot.net>
1346
1347 Copying and distribution of this file, with or without modification, are
1348 permitted in any medium without royalty provided the copyright notice
1349 and this notice are preserved. This file is offered as-is, without any
1350 warranty.
1351
1352 
1353 File: autoconf-archive.info, Node: ax_lib_metis, Next: ax_lib_mysql, Prev: ax_lib_libkml, Up: The Macros
1354
1355 ax_lib_metis
1356 ============
1357
1358 Synopsis
1359 ********
1360
1361 AX_LIB_METIS([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1362
1363 Description
1364 ***********
1365
1366 This macro searches for the METIS library in the user specified
1367 location. The user may specify the location either by defining the
1368 environment variable METIS or by using the -with-metis option to
1369 configure. If the environment variable is defined it has precedent over
1370 everything else. If no location was specified then it searches in
1371 /usr/lib and /usr/local/lib for the library and in /usr/include and
1372 /usr/local/include for the header files. Upon successful completion the
1373 variables METIS_LIB and METIS_INCLUDE are set.
1374
1375 ACTION-IF-FOUND is a list of shell commands to run if a METIS library is
1376 found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
1377 not found. If ACTION-IF-FOUND is not specified, the default action will
1378 define HAVE_METIS. If ACTION-IF-NOT-FOUND is not specified then an error
1379 will be generated halting configure.
1380
1381 Source Code
1382 ***********
1383
1384 Download the latest version of 'ax_lib_metis.m4'
1385 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_metis.m4)
1386 or browse the macro's revision history
1387 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_metis.m4).
1388
1389 License
1390 *******
1391
1392 Copyright (C) 2008 Ben Bergen <ben@cs.fau.de>
1393
1394 Copying and distribution of this file, with or without modification, are
1395 permitted in any medium without royalty provided the copyright notice
1396 and this notice are preserved. This file is offered as-is, without any
1397 warranty.
1398
1399 
1400 File: autoconf-archive.info, Node: ax_lib_mysql, Next: ax_lib_mysqlcppconn, Prev: ax_lib_metis, Up: The Macros
1401
1402 ax_lib_mysql
1403 ============
1404
1405 Synopsis
1406 ********
1407
1408 AX_LIB_MYSQL([MINIMUM-VERSION])
1409
1410 Description
1411 ***********
1412
1413 This macro provides tests of availability of MySQL client library of
1414 particular version or newer.
1415
1416 AX_LIB_MYSQL macro takes only one argument which is optional. If there
1417 is no required version passed, then macro does not run version test.
1418
1419 The -with-mysql option takes one of three possible values:
1420
1421 no - do not check for MySQL client library
1422
1423 yes - do check for MySQL library in standard locations (mysql_config
1424 should be in the PATH)
1425
1426 path - complete path to mysql_config utility, use this option if
1427 mysql_config can't be found in the PATH
1428
1429 This macro calls:
1430
1431 AC_SUBST(MYSQL_CFLAGS)
1432 AC_SUBST(MYSQL_LDFLAGS)
1433 AC_SUBST(MYSQL_VERSION)
1434
1435 And sets:
1436
1437 HAVE_MYSQL
1438
1439 Source Code
1440 ***********
1441
1442 Download the latest version of 'ax_lib_mysql.m4'
1443 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_mysql.m4)
1444 or browse the macro's revision history
1445 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_mysql.m4).
1446
1447 License
1448 *******
1449
1450 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
1451
1452 Copying and distribution of this file, with or without modification, are
1453 permitted in any medium without royalty provided the copyright notice
1454 and this notice are preserved. This file is offered as-is, without any
1455 warranty.
1456
1457 
1458 File: autoconf-archive.info, Node: ax_lib_mysqlcppconn, Next: ax_lib_netcdf4, Prev: ax_lib_mysql, Up: The Macros
1459
1460 ax_lib_mysqlcppconn
1461 ===================
1462
1463 Synopsis
1464 ********
1465
1466 AX_LIB_MYSQLCPPCONN([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
1467
1468 Description
1469 ***********
1470
1471 Test for the MySQL Connector/C++ libraries
1472
1473 If no path to the installed library is given the macro searches under
1474 /usr, /usr/local, /opt and /opt/local.
1475
1476 This macro calls:
1477
1478 AC_SUBST(LIBMYSQLCPPCONN_CXXFLAGS) / AC_SUBST(LIBMYSQLCPPCONN_LDFLAGS)
1479
1480 And sets:
1481
1482 HAVE_LIBMYSQLCPPCONN
1483
1484 Note that this library needs to link with either MySQL client library or
1485 MySQL Connector/C to work. The macros defined here don't take care of
1486 external dependencies so you have to do it on your own. See also
1487 AX_LIB_MYSQL macro.
1488
1489 Source Code
1490 ***********
1491
1492 Download the latest version of 'ax_lib_mysqlcppconn.m4'
1493 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_mysqlcppconn.m4)
1494 or browse the macro's revision history
1495 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_mysqlcppconn.m4).
1496
1497 License
1498 *******
1499
1500 Copyright (C) 2011 Xiyue Deng <manphiz@gmail.com>
1501
1502 Copying and distribution of this file, with or without modification, are
1503 permitted in any medium without royalty provided the copyright notice
1504 and this notice are preserved. This file is offered as-is, without any
1505 warranty.
1506
1507 
1508 File: autoconf-archive.info, Node: ax_lib_netcdf4, Next: ax_lib_nettle, Prev: ax_lib_mysqlcppconn, Up: The Macros
1509
1510 ax_lib_netcdf4
1511 ==============
1512
1513 Synopsis
1514 ********
1515
1516 AX_LIB_NETCDF4([serial/parallel])
1517
1518 Description
1519 ***********
1520
1521 This macro provides tests of the availability of the NetCDF v4 library.
1522
1523 The optional macro argument should be either 'serial' or 'parallel'.
1524 The macro will call nc-config to check the output of the '-has-pnetcdf'
1525 option and error out if the requested parallel isn't supported.
1526
1527 If the optional argument is omitted, no check is made to see if NetCDF
1528 has parallel support.
1529
1530 The macro adds a -with-netcdf4 option accepting one of three values:
1531
1532 no - do not check for the NetCDF4 library.
1533 yes - do check for NetCDF4 library in standard locations.
1534 path - installation prefix for NetCDF version 4.
1535
1536 If NetCDF4 is successfully found, this macro calls
1537
1538 AC_SUBST(NETCDF4_VERSION)
1539 AC_SUBST(NETCDF4_CC)
1540 AC_SUBST(NETCDF4_CFLAGS)
1541 AC_SUBST(NETCDF4_CPPFLAGS)
1542 AC_SUBST(NETCDF4_LDFLAGS)
1543 AC_SUBST(NETCDF4_LIBS)
1544 AC_SUBST(NETCDF4_FC)
1545 AC_SUBST(NETCDF4_FFLAGS)
1546 AC_SUBST(NETCDF4_FLIBS)
1547 AC_DEFINE(HAVE_NETCDF4)
1548
1549 It also sets
1550
1551 with_netcdf4="yes"
1552 with_netcdf4_fortran="yes" (if NetCDF has Fortran support)
1553 with_netcdf4_parallel="yes" (if NetCDF has MPI support)
1554
1555 If NetCDF4 is disabled or not found, this macros sets
1556
1557 with_netcdf4="no"
1558 with_netcdf4_fortran="no"
1559
1560 Note it does not set with_netcdf4_parallel in this case.
1561
1562 Your configuration script can test $with_netcdf4 to take any further
1563 actions. NETCDF4_{C,CPP,LD}FLAGS may be used when building with C or
1564 C++. NETCDF4_F{FLAGS,LIBS} and NETCDF4_LDFLAGS should be used when
1565 building Fortran applications.
1566
1567 To use the macro, one would code one of the following in "configure.ac"
1568 before AC_OUTPUT:
1569
1570 1) dnl Check for NetCDF4 support
1571 AX_LIB_NETCDF4()
1572
1573 2) dnl Check for serial NetCDF4 support
1574 AX_LIB_NETCDF4([serial])
1575
1576 3) dnl Check for parallel NetCDF4 support
1577 AX_LIB_NETCDF4([parallel])
1578
1579 One could test $with_netcdf4 for the outcome or display it as follows
1580
1581 echo "NetCDF v4 support: $with_netcdf4"
1582
1583 One could also for example, override the default CC in "configure.ac" to
1584 enforce compilation with the compiler that NetCDF v4 was built with:
1585
1586 AX_LIB_NETCDF4([parallel])
1587 if test "$with_netcdf4" = "yes"; then
1588 CC="$NETCDF4_CC"
1589 else
1590 AC_MSG_ERROR([Unable to find NetCDF4, we need parallel NetCDF4.])
1591 fi
1592
1593 Source Code
1594 ***********
1595
1596 Download the latest version of 'ax_lib_netcdf4.m4'
1597 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_netcdf4.m4)
1598 or browse the macro's revision history
1599 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_netcdf4.m4).
1600
1601 License
1602 *******
1603
1604 Copyright (C) 2016 Timothy Brown <tbrown@freeshell.org>
1605
1606 Copying and distribution of this file, with or without modification, are
1607 permitted in any medium without royalty provided the copyright notice
1608 and this notice are preserved. This file is offered as-is, without any
1609 warranty.
1610
1611 
1612 File: autoconf-archive.info, Node: ax_lib_nettle, Next: ax_lib_nokalva, Prev: ax_lib_netcdf4, Up: The Macros
1613
1614 ax_lib_nettle
1615 =============
1616
1617 Synopsis
1618 ********
1619
1620 AX_LIB_NETTLE([yes|no|auto])
1621
1622 Description
1623 ***********
1624
1625 Searches for the 'nettle' library with the -with... option.
1626
1627 If found, define HAVE_NETTLE and macro NETTLE_LIBS. Also defines
1628 NETTLE_WITH_<algo> for the algorithms found available. Possible
1629 algorithms: AES ARCTWO BLOWFISH CAST128 DES DES3 SERPENT TWOFISH MD2 MD4
1630 MD5 SHA1 SHA256.
1631
1632 The argument is used if no -with...-nettle option is set. Value "yes"
1633 requires the configuration by default. Value "no" does not require it
1634 by default. Value "auto" configures the library only if available.
1635
1636 See also AX_LIB_BEECRYPT, AX_LIB_CRYPTO, and AX_LIB_GCRYPT.
1637
1638 Source Code
1639 ***********
1640
1641 Download the latest version of 'ax_lib_nettle.m4'
1642 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_nettle.m4)
1643 or browse the macro's revision history
1644 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_nettle.m4).
1645
1646 License
1647 *******
1648
1649 Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
1650
1651 Copying and distribution of this file, with or without modification, are
1652 permitted in any medium without royalty provided the copyright notice
1653 and this notice are preserved. This file is offered as-is, without any
1654 warranty.
1655
1656 
1657 File: autoconf-archive.info, Node: ax_lib_nokalva, Next: ax_lib_oracle_occi, Prev: ax_lib_nettle, Up: The Macros
1658
1659 ax_lib_nokalva
1660 ==============
1661
1662 Synopsis
1663 ********
1664
1665 AX_LIB_NOKALVA([ACTION-IF-TRUE], [ACTION-IF-FALSE])
1666
1667 Description
1668 ***********
1669
1670 This macro will check for the existence of OSS Nokalva
1671 (http://www.oss.com/products/). It does this by checking for the header
1672 file asn1.h and the cppsoed library object file. A -with-nokalva option
1673 is supported as well. The following output variables are set with
1674 AC_SUBST:
1675
1676 NOKALVA_CPPFLAGS
1677 NOKALVA_LDFLAGS
1678 NOKALVA_LIBS
1679
1680 You can use them like this in Makefile.am:
1681
1682 AM_CPPFLAGS = $(NOKALVA_CPPFLAGS)
1683 AM_LDFLAGS = $(NOKALVA_LDFLAGS)
1684 program_LDADD = $(NOKALVA_LIBS)
1685
1686 Additionally, the C preprocessor symbol HAVE_NOKALVA will be defined
1687 with AC_DEFINE if Nokalva is available.
1688
1689 Source Code
1690 ***********
1691
1692 Download the latest version of 'ax_lib_nokalva.m4'
1693 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_nokalva.m4)
1694 or browse the macro's revision history
1695 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_nokalva.m4).
1696
1697 License
1698 *******
1699
1700 Copyright (C) 2009 Krzysztof Burghardt <krzysztof@burghardt.pl>
1701
1702 Copying and distribution of this file, with or without modification, are
1703 permitted in any medium without royalty provided the copyright notice
1704 and this notice are preserved. This file is offered as-is, without any
1705 warranty.
1706
1707 
1708 File: autoconf-archive.info, Node: ax_lib_oracle_occi, Next: ax_lib_oracle_oci, Prev: ax_lib_nokalva, Up: The Macros
1709
1710 ax_lib_oracle_occi
1711 ==================
1712
1713 Synopsis
1714 ********
1715
1716 AX_LIB_ORACLE_OCCI([MINIMUM-VERSION])
1717
1718 Description
1719 ***********
1720
1721 This macro provides tests of availability of Oracle OCCI API of
1722 particular version or newer. This macros checks for Oracle OCCI headers
1723 and libraries and defines compilation flags.
1724
1725 Macro supports following options and their values:
1726
1727 1) Single-option usage:
1728
1729 --with-occi -- path to ORACLE_HOME directory
1730
1731 2) Two-options usage (both options are required):
1732
1733 --with-occi-include -- path to directory with OCCI headers
1734 --with-occi-lib -- path to directory with OCCI libraries
1735
1736 NOTE: These options described above do not take yes|no values. If 'yes'
1737 value is passed, then WARNING message will be displayed, 'no' value, as
1738 well as the -without-occi-* variations will cause the macro to not check
1739 anything.
1740
1741 This macro calls:
1742
1743 AC_SUBST(ORACLE_OCCI_CPPFLAGS)
1744 AC_SUBST(ORACLE_OCCI_LDFLAGS)
1745 AC_SUBST(ORACLE_OCCI_VERSION)
1746
1747 And sets:
1748
1749 HAVE_ORACLE_OCCI
1750
1751 Source Code
1752 ***********
1753
1754 Download the latest version of 'ax_lib_oracle_occi.m4'
1755 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_oracle_occi.m4)
1756 or browse the macro's revision history
1757 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_oracle_occi.m4).
1758
1759 License
1760 *******
1761
1762 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
1763 Copyright (C) 2012 Krzysztof Burghardt <krzysztof@burghardt.pl>
1764
1765 Copying and distribution of this file, with or without modification, are
1766 permitted in any medium without royalty provided the copyright notice
1767 and this notice are preserved. This file is offered as-is, without any
1768 warranty.
1769
1770 
1771 File: autoconf-archive.info, Node: ax_lib_oracle_oci, Next: ax_lib_orbit2, Prev: ax_lib_oracle_occi, Up: The Macros
1772
1773 ax_lib_oracle_oci
1774 =================
1775
1776 Synopsis
1777 ********
1778
1779 AX_LIB_ORACLE_OCI([MINIMUM-VERSION])
1780
1781 Description
1782 ***********
1783
1784 This macro provides tests of availability of Oracle OCI API of
1785 particular version or newer. This macros checks for Oracle OCI headers
1786 and libraries and defines compilation flags.
1787
1788 Macro supports following options and their values:
1789
1790 1) Single-option usage:
1791
1792 --with-oci -- path to ORACLE_HOME directory
1793
1794 2) Two-options usage (both options are required):
1795
1796 --with-oci-include -- path to directory with OCI headers
1797 --with-oci-lib -- path to directory with OCI libraries
1798
1799 NOTE: These options described above do not take yes|no values. If 'yes'
1800 value is passed, then WARNING message will be displayed, 'no' value, as
1801 well as the -without-oci-* variations will cause the macro to not check
1802 anything.
1803
1804 This macro calls:
1805
1806 AC_SUBST(ORACLE_OCI_CFLAGS)
1807 AC_SUBST(ORACLE_OCI_LDFLAGS)
1808 AC_SUBST(ORACLE_OCI_VERSION)
1809
1810 And sets:
1811
1812 HAVE_ORACLE_OCI
1813
1814 Source Code
1815 ***********
1816
1817 Download the latest version of 'ax_lib_oracle_oci.m4'
1818 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_oracle_oci.m4)
1819 or browse the macro's revision history
1820 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_oracle_oci.m4).
1821
1822 License
1823 *******
1824
1825 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
1826 Copyright (C) 2015 Joost van Baal-Ilic <joostvb+autoconf@uvt.nl>
1827
1828 Copying and distribution of this file, with or without modification, are
1829 permitted in any medium without royalty provided the copyright notice
1830 and this notice are preserved. This file is offered as-is, without any
1831 warranty.
1832
1833 
1834 File: autoconf-archive.info, Node: ax_lib_orbit2, Next: ax_lib_postgresql, Prev: ax_lib_oracle_oci, Up: The Macros
1835
1836 ax_lib_orbit2
1837 =============
1838
1839 Synopsis
1840 ********
1841
1842 AX_LIB_ORBIT2([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
1843
1844 Description
1845 ***********
1846
1847 Checks for minimum Orbit2 library version VERSION. If successful
1848 executes ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
1849
1850 Defines ORBIT2_LIBS and ORBIT2_CFLAGS.
1851
1852 A simple example:
1853
1854 AX_LIB_ORBIT2([2.14.16],,[
1855 AC_MSG_ERROR([Your system lacks of orbit2 >= 2.14.16])
1856 ])
1857
1858 Source Code
1859 ***********
1860
1861 Download the latest version of 'ax_lib_orbit2.m4'
1862 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_orbit2.m4)
1863 or browse the macro's revision history
1864 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_orbit2.m4).
1865
1866 License
1867 *******
1868
1869 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
1870
1871 Copying and distribution of this file, with or without modification, are
1872 permitted in any medium without royalty provided the copyright notice
1873 and this notice are preserved. This file is offered as-is, without any
1874 warranty.
1875
1876 
1877 File: autoconf-archive.info, Node: ax_lib_postgresql, Next: ax_lib_readline, Prev: ax_lib_orbit2, Up: The Macros
1878
1879 ax_lib_postgresql
1880 =================
1881
1882 Synopsis
1883 ********
1884
1885 AX_LIB_POSTGRESQL([MINIMUM-VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
1886
1887 Description
1888 ***********
1889
1890 This macro provides tests of availability of PostgreSQL 'libpq' library
1891 of particular version or newer.
1892
1893 AX_LIB_POSTGRESQL macro takes only one argument which is optional. If
1894 there is no required version passed, then macro does not run version
1895 test.
1896
1897 The -with-postgresql option takes one of three possible values:
1898
1899 no - do not check for PostgreSQL client library
1900
1901 yes - do check for PostgreSQL library in standard locations (pg_config
1902 should be in the PATH)
1903
1904 path - complete path to pg_config utility, use this option if pg_config
1905 can't be found in the PATH (You could set also PG_CONFIG variable)
1906
1907 This macro calls:
1908
1909 AC_SUBST(POSTGRESQL_CPPFLAGS)
1910 AC_SUBST(POSTGRESQL_LDFLAGS)
1911 AC_SUBST(POSTGRESQL_LIBS)
1912 AC_SUBST(POSTGRESQL_VERSION)
1913
1914 And sets:
1915
1916 HAVE_POSTGRESQL
1917
1918 It execute if found ACTION-IF-FOUND (empty by default) and
1919 ACTION-IF-NOT-FOUND (AC_MSG_FAILURE by default) if not found.
1920
1921 Source Code
1922 ***********
1923
1924 Download the latest version of 'ax_lib_postgresql.m4'
1925 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_postgresql.m4)
1926 or browse the macro's revision history
1927 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_postgresql.m4).
1928
1929 License
1930 *******
1931
1932 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
1933 Copyright (C) 2014 Sree Harsha Totakura <sreeharsha@totakura.in>
1934 Copyright (C) 2018 Bastien Roucaries <rouca@debian.org>
1935
1936 Copying and distribution of this file, with or without modification, are
1937 permitted in any medium without royalty provided the copyright notice
1938 and this notice are preserved. This file is offered as-is, without any
1939 warranty.
1940
1941 
1942 File: autoconf-archive.info, Node: ax_lib_readline, Next: ax_lib_samtools, Prev: ax_lib_postgresql, Up: The Macros
1943
1944 ax_lib_readline
1945 ===============
1946
1947 Synopsis
1948 ********
1949
1950 AX_LIB_READLINE
1951
1952 Description
1953 ***********
1954
1955 Searches for a readline compatible library. If found, defines
1956 'HAVE_LIBREADLINE'. If the found library has the 'add_history' function,
1957 sets also 'HAVE_READLINE_HISTORY'. Also checks for the locations of the
1958 necessary include files and sets 'HAVE_READLINE_H' or
1959 'HAVE_READLINE_READLINE_H' and 'HAVE_READLINE_HISTORY_H' or
1960 'HAVE_HISTORY_H' if the corresponding include files exists.
1961
1962 The libraries that may be readline compatible are 'libedit',
1963 'libeditline' and 'libreadline'. Sometimes we need to link a termcap
1964 library for readline to work, this macro tests these cases too by trying
1965 to link with 'libtermcap', 'libcurses' or 'libncurses' before giving up.
1966
1967 Here is an example of how to use the information provided by this macro
1968 to perform the necessary includes or declarations in a C file:
1969
1970 #ifdef HAVE_LIBREADLINE
1971 # if defined(HAVE_READLINE_READLINE_H)
1972 # include <readline/readline.h>
1973 # elif defined(HAVE_READLINE_H)
1974 # include <readline.h>
1975 # else /* !defined(HAVE_READLINE_H) */
1976 extern char *readline ();
1977 # endif /* !defined(HAVE_READLINE_H) */
1978 char *cmdline = NULL;
1979 #else /* !defined(HAVE_READLINE_READLINE_H) */
1980 /* no readline */
1981 #endif /* HAVE_LIBREADLINE */
1982
1983 #ifdef HAVE_READLINE_HISTORY
1984 # if defined(HAVE_READLINE_HISTORY_H)
1985 # include <readline/history.h>
1986 # elif defined(HAVE_HISTORY_H)
1987 # include <history.h>
1988 # else /* !defined(HAVE_HISTORY_H) */
1989 extern void add_history ();
1990 extern int write_history ();
1991 extern int read_history ();
1992 # endif /* defined(HAVE_READLINE_HISTORY_H) */
1993 /* no history */
1994 #endif /* HAVE_READLINE_HISTORY */
1995
1996 Source Code
1997 ***********
1998
1999 Download the latest version of 'ax_lib_readline.m4'
2000 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_readline.m4)
2001 or browse the macro's revision history
2002 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_readline.m4).
2003
2004 License
2005 *******
2006
2007 Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
2008
2009 Copying and distribution of this file, with or without modification, are
2010 permitted in any medium without royalty provided the copyright notice
2011 and this notice are preserved. This file is offered as-is, without any
2012 warranty.
2013
2014 
2015 File: autoconf-archive.info, Node: ax_lib_samtools, Next: ax_lib_socket_nsl, Prev: ax_lib_readline, Up: The Macros
2016
2017 ax_lib_samtools
2018 ===============
2019
2020 Synopsis
2021 ********
2022
2023 AX_LIB_SAMTOOLS()
2024
2025 Description
2026 ***********
2027
2028 This macro searches for an installed samtools library. If nothing was
2029 specified when calling configure, it searches first in /usr/local and
2030 then tries with ld's default library search path. If the
2031 -with-samtools=DIR is specified, it will try to find it in
2032 DIR/include/bam/sam.h and DIR/lib/libbam.a. As a final try it will look
2033 in DIR/sam.h and DIR/libbam.a as the samtools library does not contain
2034 an install rule.
2035
2036 If -without-samtools is specified, the library is not searched at all.
2037
2038 If either the header file (sam.h) or the library (libbam) is not found,
2039 the configuration exits on error, asking for a valid samtools
2040 installation directory or -without-samtools.
2041
2042 The macro defines the symbol HAVE_SAMTOOLS if the library is found. You
2043 should use autoheader to include a definition for this symbol in a
2044 config.h file. Sample usage in a C/C++ source is as follows:
2045
2046 #ifdef HAVE_SAMTOOLS
2047 #include <sam.h>
2048 #endif /* HAVE_SAMTOOLS */
2049
2050 The following output variables are set with AC_SUBST:
2051
2052 SAMTOOLS_CPPFLAGS
2053 SAMTOOLS_LDFLAGS
2054 SAMTOOLS_LIBS
2055
2056 You can use them like this in Makefile.am:
2057
2058 AM_CPPFLAGS = $(SAMTOOLS_CPPFLAGS)
2059 AM_LDFLAGS = $(SAMTOOLS_LDFLAGS)
2060 program_LDADD = $(SAMTOOLS_LIBS)
2061
2062 Source Code
2063 ***********
2064
2065 Download the latest version of 'ax_lib_samtools.m4'
2066 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_samtools.m4)
2067 or browse the macro's revision history
2068 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_samtools.m4).
2069
2070 License
2071 *******
2072
2073 Copyright (C) 2013 Timothy Brown <tbrown@freeshell.org>
2074
2075 This program is free software; you can redistribute it and/or modify it
2076 under the terms of the GNU General Public License as published by the
2077 Free Software Foundation; either version 3 of the License, or (at your
2078 option) any later version.
2079
2080 This program is distributed in the hope that it will be useful, but
2081 WITHOUT ANY WARRANTY; without even the implied warranty of
2082 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2083 Public License for more details.
2084
2085 You should have received a copy of the GNU General Public License along
2086 with this program. If not, see <https://www.gnu.org/licenses/>.
2087
2088 As a special exception, the respective Autoconf Macro's copyright owner
2089 gives unlimited permission to copy, distribute and modify the configure
2090 scripts that are the output of Autoconf when processing the Macro. You
2091 need not follow the terms of the GNU General Public License when using
2092 or distributing such scripts, even though portions of the text of the
2093 Macro appear in them. The GNU General Public License (GPL) does govern
2094 all other use of the material that constitutes the Autoconf Macro.
2095
2096 This special exception to the GPL applies to versions of the Autoconf
2097 Macro released by the Autoconf Archive. When you make and distribute a
2098 modified version of the Autoconf Macro, you may extend this special
2099 exception to the GPL to apply to your modified version as well.
2100
2101 
2102 File: autoconf-archive.info, Node: ax_lib_socket_nsl, Next: ax_lib_sqlite3, Prev: ax_lib_samtools, Up: The Macros
2103
2104 ax_lib_socket_nsl
2105 =================
2106
2107 Synopsis
2108 ********
2109
2110 AX_LIB_SOCKET_NSL
2111
2112 Description
2113 ***********
2114
2115 This macro figures out what libraries are required on this platform to
2116 link sockets programs.
2117
2118 The common cases are not to need any extra libraries, or to need
2119 -lsocket and -lnsl. We need to avoid linking with libnsl unless we need
2120 it, though, since on some OSes where it isn't necessary it will totally
2121 break networking. Unisys also includes gethostbyname() in libsocket but
2122 needs libnsl for socket().
2123
2124 Source Code
2125 ***********
2126
2127 Download the latest version of 'ax_lib_socket_nsl.m4'
2128 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_socket_nsl.m4)
2129 or browse the macro's revision history
2130 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_socket_nsl.m4).
2131
2132 License
2133 *******
2134
2135 Copyright (C) 2008 Russ Allbery <rra@stanford.edu>
2136 Copyright (C) 2008 Stepan Kasal <kasal@ucw.cz>
2137 Copyright (C) 2008 Warren Young <warren@etr-usa.com>
2138
2139 Copying and distribution of this file, with or without modification, are
2140 permitted in any medium without royalty provided the copyright notice
2141 and this notice are preserved. This file is offered as-is, without any
2142 warranty.
2143
2144 
2145 File: autoconf-archive.info, Node: ax_lib_sqlite3, Next: ax_lib_tabix, Prev: ax_lib_socket_nsl, Up: The Macros
2146
2147 ax_lib_sqlite3
2148 ==============
2149
2150 Synopsis
2151 ********
2152
2153 AX_LIB_SQLITE3([MINIMUM-VERSION])
2154
2155 Description
2156 ***********
2157
2158 Test for the SQLite 3 library of a particular version (or newer)
2159
2160 This macro takes only one optional argument, required version of SQLite
2161 3 library. If required version is not passed, 3.0.0 is used in the test
2162 of existence of SQLite 3.
2163
2164 If no installation prefix to the installed SQLite library is given the
2165 macro searches under /usr, /usr/local, and /opt.
2166
2167 This macro calls:
2168
2169 AC_SUBST(SQLITE3_CFLAGS)
2170 AC_SUBST(SQLITE3_LDFLAGS)
2171 AC_SUBST(SQLITE3_VERSION)
2172
2173 And sets:
2174
2175 HAVE_SQLITE3
2176
2177 Source Code
2178 ***********
2179
2180 Download the latest version of 'ax_lib_sqlite3.m4'
2181 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_sqlite3.m4)
2182 or browse the macro's revision history
2183 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_sqlite3.m4).
2184
2185 License
2186 *******
2187
2188 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
2189
2190 Copying and distribution of this file, with or without modification, are
2191 permitted in any medium without royalty provided the copyright notice
2192 and this notice are preserved. This file is offered as-is, without any
2193 warranty.
2194
2195 
2196 File: autoconf-archive.info, Node: ax_lib_tabix, Next: ax_lib_taglib, Prev: ax_lib_sqlite3, Up: The Macros
2197
2198 ax_lib_tabix
2199 ============
2200
2201 Synopsis
2202 ********
2203
2204 AX_LIB_TABIX()
2205
2206 Description
2207 ***********
2208
2209 This macro searches for an installed tabix library. If nothing was
2210 specified when calling configure, it searches first in /usr/local and
2211 then tries with ld's default library search path. If the
2212 -with-tabix=DIR is specified, it will try to find it in
2213 DIR/include/tabix/tabix.h and DIR/lib/libtabix.a. As a final try it
2214 will look in DIR/tabix.h and DIR/libtabix.a as the tabix library does
2215 not contain an install rule.
2216
2217 If -without-tabix is specified, the library is not searched at all.
2218
2219 If either the header file (tabix.h) or the library (libtabix) is not
2220 found, the configuration exits on error, asking for a valid tabix
2221 installation directory or -without-tabix.
2222
2223 The macro defines the symbol HAVE_TABIX if the library is found. You
2224 should use autoheader to include a definition for this symbol in a
2225 config.h file. Sample usage in a C/C++ source is as follows:
2226
2227 #ifdef HAVE_TABIX
2228 #include <tabix.h>
2229 #endif /* HAVE_TABIX */
2230
2231 The following output variables are set with AC_SUBST:
2232
2233 TABIX_CPPFLAGS
2234 TABIX_LDFLAGS
2235 TABIX_LIBS
2236
2237 You can use them like this in Makefile.am:
2238
2239 AM_CPPFLAGS = $(TABIX_CPPFLAGS)
2240 AM_LDFLAGS = $(TABIX_LDFLAGS)
2241 program_LDADD = $(TABIX_LIBS)
2242
2243 Source Code
2244 ***********
2245
2246 Download the latest version of 'ax_lib_tabix.m4'
2247 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_tabix.m4)
2248 or browse the macro's revision history
2249 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_tabix.m4).
2250
2251 License
2252 *******
2253
2254 Copyright (C) 2013 Timothy Brown <tbrown@freeshell.org>
2255
2256 This program is free software; you can redistribute it and/or modify it
2257 under the terms of the GNU General Public License as published by the
2258 Free Software Foundation; either version 3 of the License, or (at your
2259 option) any later version.
2260
2261 This program is distributed in the hope that it will be useful, but
2262 WITHOUT ANY WARRANTY; without even the implied warranty of
2263 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2264 Public License for more details.
2265
2266 You should have received a copy of the GNU General Public License along
2267 with this program. If not, see <https://www.gnu.org/licenses/>.
2268
2269 As a special exception, the respective Autoconf Macro's copyright owner
2270 gives unlimited permission to copy, distribute and modify the configure
2271 scripts that are the output of Autoconf when processing the Macro. You
2272 need not follow the terms of the GNU General Public License when using
2273 or distributing such scripts, even though portions of the text of the
2274 Macro appear in them. The GNU General Public License (GPL) does govern
2275 all other use of the material that constitutes the Autoconf Macro.
2276
2277 This special exception to the GPL applies to versions of the Autoconf
2278 Macro released by the Autoconf Archive. When you make and distribute a
2279 modified version of the Autoconf Macro, you may extend this special
2280 exception to the GPL to apply to your modified version as well.
2281
2282 
2283 File: autoconf-archive.info, Node: ax_lib_taglib, Next: ax_lib_trace, Prev: ax_lib_tabix, Up: The Macros
2284
2285 ax_lib_taglib
2286 =============
2287
2288 Synopsis
2289 ********
2290
2291 AX_LIB_TAGLIB([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
2292
2293 Description
2294 ***********
2295
2296 Checks for minimum taglib library version VERSION. If successful
2297 executes ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
2298
2299 Defines TAGLIB_LIBS and TAGLIB_CFLAGS.
2300
2301 A simple example:
2302
2303 AX_LIB_TAGLIB([1.5],,[
2304 AC_MSG_ERROR([Your system lacks of taglib >= 1.5])
2305 ])
2306
2307 This macro is a rearranged version of AC_LIB_TAGLIB from Akos Maroy.
2308
2309 Source Code
2310 ***********
2311
2312 Download the latest version of 'ax_lib_taglib.m4'
2313 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_taglib.m4)
2314 or browse the macro's revision history
2315 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_taglib.m4).
2316
2317 License
2318 *******
2319
2320 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
2321
2322 Copying and distribution of this file, with or without modification, are
2323 permitted in any medium without royalty provided the copyright notice
2324 and this notice are preserved. This file is offered as-is, without any
2325 warranty.
2326
2327 
2328 File: autoconf-archive.info, Node: ax_lib_trace, Next: ax_lib_upnp, Prev: ax_lib_taglib, Up: The Macros
2329
2330 ax_lib_trace
2331 ============
2332
2333 Synopsis
2334 ********
2335
2336 AX_LIB_TRACE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
2337
2338 Description
2339 ***********
2340
2341 Test for the libtrace libraries of a particular version (or newer)
2342
2343 If no path to the installed library is given the macro searches under
2344 /usr, /usr/local, /opt and /opt/local.
2345
2346 This macro calls:
2347
2348 AC_SUBST(LIBTRACE_CFLAGS) / AC_SUBST(LIBTRACE_LDFLAGS)
2349
2350 And sets:
2351
2352 HAVE_LIBTRACE
2353
2354 Source Code
2355 ***********
2356
2357 Download the latest version of 'ax_lib_trace.m4'
2358 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_trace.m4)
2359 or browse the macro's revision history
2360 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_trace.m4).
2361
2362 License
2363 *******
2364
2365 Copyright (C) 2011 Xiyue Deng <manphiz@gmail.com>
2366
2367 Copying and distribution of this file, with or without modification, are
2368 permitted in any medium without royalty provided the copyright notice
2369 and this notice are preserved. This file is offered as-is, without any
2370 warranty.
2371
2372 
2373 File: autoconf-archive.info, Node: ax_lib_upnp, Next: ax_lib_wad, Prev: ax_lib_trace, Up: The Macros
2374
2375 ax_lib_upnp
2376 ===========
2377
2378 Synopsis
2379 ********
2380
2381 AX_LIB_UPNP([ACTION-IF-TRUE], [ACTION-IF-FALSE])
2382
2383 Description
2384 ***********
2385
2386 This macro will check for the existence of libupnp
2387 (http://upnp.sourceforge.net/). It does this by checking for the header
2388 file upnp.h and the upnp library object file. A -with-libupnp option is
2389 supported as well. The following output variables are set with
2390 AC_SUBST:
2391
2392 UPNP_CPPFLAGS
2393 UPNP_LDFLAGS
2394 UPNP_LIBS
2395
2396 You can use them like this in Makefile.am:
2397
2398 AM_CPPFLAGS = $(UPNP_CPPFLAGS)
2399 AM_LDFLAGS = $(UPNP_LDFLAGS)
2400 program_LDADD = $(UPNP_LIBS)
2401
2402 Additionally, the C preprocessor symbol HAVE_LIBUPNP will be defined
2403 with AC_DEFINE if libupnp is available.
2404
2405 Source Code
2406 ***********
2407
2408 Download the latest version of 'ax_lib_upnp.m4'
2409 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_upnp.m4)
2410 or browse the macro's revision history
2411 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_upnp.m4).
2412
2413 License
2414 *******
2415
2416 Copyright (C) 2009 Oskar Liljeblad <oskar@osk.mine.nu>
2417
2418 Copying and distribution of this file, with or without modification, are
2419 permitted in any medium without royalty provided the copyright notice
2420 and this notice are preserved. This file is offered as-is, without any
2421 warranty.
2422
2423 
2424 File: autoconf-archive.info, Node: ax_lib_wad, Next: ax_lib_xalan, Prev: ax_lib_upnp, Up: The Macros
2425
2426 ax_lib_wad
2427 ==========
2428
2429 Synopsis
2430 ********
2431
2432 AX_LIB_WAD
2433
2434 Description
2435 ***********
2436
2437 This macro searches for an installed WAD library.
2438
2439 Source Code
2440 ***********
2441
2442 Download the latest version of 'ax_lib_wad.m4'
2443 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_wad.m4)
2444 or browse the macro's revision history
2445 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_wad.m4).
2446
2447 License
2448 *******
2449
2450 Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
2451 Copyright (C) 2008 Alan W. Irwin
2452 Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
2453 Copyright (C) 2008 Andrew Collier
2454
2455 This program is free software; you can redistribute it and/or modify it
2456 under the terms of the GNU General Public License as published by the
2457 Free Software Foundation; either version 2 of the License, or (at your
2458 option) any later version.
2459
2460 This program is distributed in the hope that it will be useful, but
2461 WITHOUT ANY WARRANTY; without even the implied warranty of
2462 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2463 Public License for more details.
2464
2465 You should have received a copy of the GNU General Public License along
2466 with this program. If not, see <https://www.gnu.org/licenses/>.
2467
2468 As a special exception, the respective Autoconf Macro's copyright owner
2469 gives unlimited permission to copy, distribute and modify the configure
2470 scripts that are the output of Autoconf when processing the Macro. You
2471 need not follow the terms of the GNU General Public License when using
2472 or distributing such scripts, even though portions of the text of the
2473 Macro appear in them. The GNU General Public License (GPL) does govern
2474 all other use of the material that constitutes the Autoconf Macro.
2475
2476 This special exception to the GPL applies to versions of the Autoconf
2477 Macro released by the Autoconf Archive. When you make and distribute a
2478 modified version of the Autoconf Macro, you may extend this special
2479 exception to the GPL to apply to your modified version as well.
2480
2481 
2482 File: autoconf-archive.info, Node: ax_lib_xalan, Next: ax_lib_xerces, Prev: ax_lib_wad, Up: The Macros
2483
2484 ax_lib_xalan
2485 ============
2486
2487 Synopsis
2488 ********
2489
2490 AX_LIB_XALAN([MINIMUM-VERSION])
2491
2492 Description
2493 ***********
2494
2495 This macro provides tests of availability of Apache Xalan C++ XSLT
2496 processor of a particular version or newer. This macros checks for
2497 Apache Xalan C++ XSLT processor headers and libraries and defines
2498 compilation flags
2499
2500 Macro supports following options and their values:
2501
2502 1) Single-option usage:
2503
2504 --with-xalan - yes, no or path to Xalan installation prefix
2505
2506 2) Three-options usage (all options are required):
2507
2508 --with-xalan=yes
2509 --with-xalan-inc - path to base directory with Xalan headers
2510 --with-xalan-lib - linker flags for Xalan
2511
2512 This macro calls:
2513
2514 AC_SUBST(XALAN_CPPFLAGS)
2515 AC_SUBST(XALAN_LDFLAGS)
2516 AC_SUBST(XALAN_VERSION) - only if version requirement is used
2517
2518 And sets:
2519
2520 HAVE_XALAN
2521
2522 Source Code
2523 ***********
2524
2525 Download the latest version of 'ax_lib_xalan.m4'
2526 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xalan.m4)
2527 or browse the macro's revision history
2528 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xalan.m4).
2529
2530 License
2531 *******
2532
2533 Copyright (C) 2009 Mateusz Loskot <mateusz@loskot.net>
2534 Copyright (C) 2009 Bill Blough <bblough@gmail.com>
2535
2536 Copying and distribution of this file, with or without modification, are
2537 permitted in any medium without royalty provided the copyright notice
2538 and this notice are preserved. This file is offered as-is, without any
2539 warranty.
2540
2541 
2542 File: autoconf-archive.info, Node: ax_lib_xerces, Next: ax_lib_xml_security, Prev: ax_lib_xalan, Up: The Macros
2543
2544 ax_lib_xerces
2545 =============
2546
2547 Synopsis
2548 ********
2549
2550 AX_LIB_XERCES([MINIMUM-VERSION])
2551
2552 Description
2553 ***********
2554
2555 This macro provides tests of availability of Apache Xerces C++ Parser of
2556 particular version or newer. This macros checks for Apache Xerces C++
2557 Parser headers and libraries and defines compilation flags
2558
2559 Macro supports following options and their values:
2560
2561 1) Single-option usage:
2562
2563 --with-xerces - yes, no or path to Xerces installation prefix
2564
2565 2) Three-options usage (all options are required):
2566
2567 --with-xerces=yes
2568 --with-xerces-inc - path to base directory with Xerces headers
2569 --with-xerces-lib - linker flags for Xerces
2570
2571 This macro calls:
2572
2573 AC_SUBST(XERCES_CFLAGS)
2574 AC_SUBST(XERCES_LDFLAGS)
2575 AC_SUBST(XERCES_VERSION) - only if version requirement is used
2576
2577 And sets:
2578
2579 HAVE_XERCES
2580
2581 Source Code
2582 ***********
2583
2584 Download the latest version of 'ax_lib_xerces.m4'
2585 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xerces.m4)
2586 or browse the macro's revision history
2587 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xerces.m4).
2588
2589 License
2590 *******
2591
2592 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
2593
2594 Copying and distribution of this file, with or without modification, are
2595 permitted in any medium without royalty provided the copyright notice
2596 and this notice are preserved. This file is offered as-is, without any
2597 warranty.
2598
2599 
2600 File: autoconf-archive.info, Node: ax_lib_xml_security, Next: ax_libgcj_jar, Prev: ax_lib_xerces, Up: The Macros
2601
2602 ax_lib_xml_security
2603 ===================
2604
2605 Synopsis
2606 ********
2607
2608 AX_LIB_XML_SECURITY([MINIMUM-VERSION])
2609
2610 Description
2611 ***********
2612
2613 This macro provides tests of availability of Apache Xml-Security C++
2614 library <http://santuario.apache.org/index.html> of particular version
2615 or newer. This macros checks for Apache Xml-Security C++ headers and
2616 libraries and defines compilation flags
2617
2618 Macro supports following options and their values:
2619
2620 1) Single-option usage:
2621
2622 --with-xml-security - yes, no or path to Xml-Security installation prefix
2623
2624 2) Three-options usage (all options are required):
2625
2626 --with-xml-security=yes
2627 --with-xml-security-inc - path to base directory with Xml-Security headers
2628 --with-xml-security-lib - linker flags for Xml-Security
2629
2630 This macro calls:
2631
2632 AC_SUBST(XML_SECURITY_CFLAGS)
2633 AC_SUBST(XML_SECURITY_LDFLAGS)
2634 AC_SUBST(XML_SECURITY_VERSION) - only if version requirement is used
2635
2636 And sets:
2637
2638 HAVE_XML_SECURITY
2639
2640 Source Code
2641 ***********
2642
2643 Download the latest version of 'ax_lib_xml_security.m4'
2644 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xml_security.m4)
2645 or browse the macro's revision history
2646 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xml_security.m4).
2647
2648 License
2649 *******
2650
2651 Copyright (C) 2008 Alexander Petry <petry@itwm.fhg.de>
2652 Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
2653
2654 Copying and distribution of this file, with or without modification, are
2655 permitted in any medium without royalty provided the copyright notice
2656 and this notice are preserved. This file is offered as-is, without any
2657 warranty.
2658
2659 
2660 File: autoconf-archive.info, Node: ax_libgcj_jar, Next: ax_libtoolize_cflags, Prev: ax_lib_xml_security, Up: The Macros
2661
2662 ax_libgcj_jar
2663 =============
2664
2665 Synopsis
2666 ********
2667
2668 AX_LIBGCJ_JAR
2669
2670 Description
2671 ***********
2672
2673 Locate libgcj.jar so you can place it before everything else when using
2674 gcj.
2675
2676 Source Code
2677 ***********
2678
2679 Download the latest version of 'ax_libgcj_jar.m4'
2680 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_libgcj_jar.m4)
2681 or browse the macro's revision history
2682 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_libgcj_jar.m4).
2683
2684 License
2685 *******
2686
2687 Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
2688
2689 This program is free software; you can redistribute it and/or modify it
2690 under the terms of the GNU General Public License as published by the
2691 Free Software Foundation; either version 2 of the License, or (at your
2692 option) any later version.
2693
2694 This program is distributed in the hope that it will be useful, but
2695 WITHOUT ANY WARRANTY; without even the implied warranty of
2696 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2697 Public License for more details.
2698
2699 You should have received a copy of the GNU General Public License along
2700 with this program. If not, see <https://www.gnu.org/licenses/>.
2701
2702 As a special exception, the respective Autoconf Macro's copyright owner
2703 gives unlimited permission to copy, distribute and modify the configure
2704 scripts that are the output of Autoconf when processing the Macro. You
2705 need not follow the terms of the GNU General Public License when using
2706 or distributing such scripts, even though portions of the text of the
2707 Macro appear in them. The GNU General Public License (GPL) does govern
2708 all other use of the material that constitutes the Autoconf Macro.
2709
2710 This special exception to the GPL applies to versions of the Autoconf
2711 Macro released by the Autoconf Archive. When you make and distribute a
2712 modified version of the Autoconf Macro, you may extend this special
2713 exception to the GPL to apply to your modified version as well.
2714
2715 
2716 File: autoconf-archive.info, Node: ax_libtoolize_cflags, Next: ax_llvm, Prev: ax_libgcj_jar, Up: The Macros
2717
2718 ax_libtoolize_cflags
2719 ====================
2720
2721 Synopsis
2722 ********
2723
2724 AX_LIBTOOLIZE_CFLAGS(COMPILER-FLAGS-VAR)
2725
2726 Description
2727 ***********
2728
2729 Change the contents of variable COMPILER-FLAGS-VAR so that they are
2730 Libtool friendly, ie. prefix each of them with '-Xcompiler' so that
2731 Libtool doesn't remove them.
2732
2733 Source Code
2734 ***********
2735
2736 Download the latest version of 'ax_libtoolize_cflags.m4'
2737 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_libtoolize_cflags.m4)
2738 or browse the macro's revision history
2739 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_libtoolize_cflags.m4).
2740
2741 License
2742 *******
2743
2744 Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
2745
2746 Copying and distribution of this file, with or without modification, are
2747 permitted in any medium without royalty provided the copyright notice
2748 and this notice are preserved. This file is offered as-is, without any
2749 warranty.
2750
2751 
2752 File: autoconf-archive.info, Node: ax_llvm, Next: ax_lua, Prev: ax_libtoolize_cflags, Up: The Macros
2753
2754 ax_llvm
2755 =======
2756
2757 Synopsis
2758 ********
2759
2760 AX_LLVM([llvm-libs])
2761
2762 Description
2763 ***********
2764
2765 Test for the existence of llvm, and make sure that it can be linked with
2766 the llvm-libs argument that is passed on to llvm-config i.e.:
2767
2768 llvm --libs <llvm-libs>
2769
2770 llvm-config will also include any libraries that are depended upon.
2771
2772 Source Code
2773 ***********
2774
2775 Download the latest version of 'ax_llvm.m4'
2776 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_llvm.m4)
2777 or browse the macro's revision history
2778 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_llvm.m4).
2779
2780 License
2781 *******
2782
2783 Copyright (C) 2008 Andy Kitchen <agimbleinthewabe@gmail.com>
2784
2785 Copying and distribution of this file, with or without modification, are
2786 permitted in any medium without royalty provided the copyright notice
2787 and this notice are preserved. This file is offered as-is, without any
2788 warranty.
2789
2790 
2791 File: autoconf-archive.info, Node: ax_lua, Next: ax_luarocks_rock, Prev: ax_llvm, Up: The Macros
2792
2793 ax_lua
2794 ======
2795
2796 Synopsis
2797 ********
2798
2799 AX_PROG_LUA[([MINIMUM-VERSION], [TOO-BIG-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
2800 AX_LUA_HEADERS[([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
2801 AX_LUA_LIBS[([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
2802 AX_LUA_READLINE[([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
2803
2804 Description
2805 ***********
2806
2807 Detect a Lua interpreter, optionally specifying a minimum and maximum
2808 version number. Set up important Lua paths, such as the directories in
2809 which to install scripts and modules (shared libraries).
2810
2811 Also detect Lua headers and libraries. The Lua version contained in the
2812 header is checked to match the Lua interpreter version exactly. When
2813 searching for Lua libraries, the version number is used as a suffix.
2814 This is done with the goal of supporting multiple Lua installs (5.1,
2815 5.2, and 5.3 side-by-side).
2816
2817 A note on compatibility with previous versions: This file has been
2818 mostly rewritten for serial 18. Most developers should be able to use
2819 these macros without needing to modify configure.ac. Care has been
2820 taken to preserve each macro's behavior, but there are some differences:
2821
2822 1) AX_WITH_LUA is deprecated; it now expands to the exact same thing as
2823 AX_PROG_LUA with no arguments.
2824
2825 2) AX_LUA_HEADERS now checks that the version number defined in lua.h
2826 matches the interpreter version. AX_LUA_HEADERS_VERSION is therefore
2827 unnecessary, so it is deprecated and does not expand to anything.
2828
2829 3) The configure flag -with-lua-suffix no longer exists; the user should
2830 instead specify the LUA precious variable on the command line. See the
2831 AX_PROG_LUA description for details.
2832
2833 Please read the macro descriptions below for more information.
2834
2835 This file was inspired by Andrew Dalke's and James Henstridge's
2836 python.m4 and Tom Payne's, Matthieu Moy's, and Reuben Thomas's ax_lua.m4
2837 (serial 17). Basically, this file is a mash-up of those two files. I
2838 like to think it combines the best of the two!
2839
2840 AX_PROG_LUA: Search for the Lua interpreter, and set up important Lua
2841 paths. Adds precious variable LUA, which may contain the path of the
2842 Lua interpreter. If LUA is blank, the user's path is searched for an
2843 suitable interpreter.
2844
2845 If MINIMUM-VERSION is supplied, then only Lua interpreters with a
2846 version number greater or equal to MINIMUM-VERSION will be accepted. If
2847 TOO-BIG-VERSION is also supplied, then only Lua interpreters with a
2848 version number greater or equal to MINIMUM-VERSION and less than
2849 TOO-BIG-VERSION will be accepted.
2850
2851 The Lua version number, LUA_VERSION, is found from the interpreter, and
2852 substituted. LUA_PLATFORM is also found, but not currently supported
2853 (no standard representation).
2854
2855 Finally, the macro finds four paths:
2856
2857 luadir Directory to install Lua scripts.
2858 pkgluadir $luadir/$PACKAGE
2859 luaexecdir Directory to install Lua modules.
2860 pkgluaexecdir $luaexecdir/$PACKAGE
2861
2862 These paths are found based on $prefix, $exec_prefix, Lua's
2863 package.path, and package.cpath. The first path of package.path
2864 beginning with $prefix is selected as luadir. The first path of
2865 package.cpath beginning with $exec_prefix is used as luaexecdir. This
2866 should work on all reasonable Lua installations. If a path cannot be
2867 determined, a default path is used. Of course, the user can override
2868 these later when invoking make.
2869
2870 luadir Default: $prefix/share/lua/$LUA_VERSION
2871 luaexecdir Default: $exec_prefix/lib/lua/$LUA_VERSION
2872
2873 These directories can be used by Automake as install destinations. The
2874 variable name minus 'dir' needs to be used as a prefix to the
2875 appropriate Automake primary, e.g. lua_SCRIPS or luaexec_LIBRARIES.
2876
2877 If an acceptable Lua interpreter is found, then ACTION-IF-FOUND is
2878 performed, otherwise ACTION-IF-NOT-FOUND is preformed. If
2879 ACTION-IF-NOT- FOUND is blank, then it will default to printing an
2880 error. To prevent the default behavior, give ':' as an action.
2881
2882 AX_LUA_HEADERS: Search for Lua headers. Requires that AX_PROG_LUA be
2883 expanded before this macro. Adds precious variable LUA_INCLUDE, which
2884 may contain Lua specific include flags, e.g. -I/usr/include/lua5.1. If
2885 LUA_INCLUDE is blank, then this macro will attempt to find suitable
2886 flags.
2887
2888 LUA_INCLUDE can be used by Automake to compile Lua modules or
2889 executables with embedded interpreters. The *_CPPFLAGS variables should
2890 be used for this purpose, e.g. myprog_CPPFLAGS = $(LUA_INCLUDE).
2891
2892 This macro searches for the header lua.h (and others). The search is
2893 performed with a combination of CPPFLAGS, CPATH, etc, and LUA_INCLUDE.
2894 If the search is unsuccessful, then some common directories are tried.
2895 If the headers are then found, then LUA_INCLUDE is set accordingly.
2896
2897 The paths automatically searched are:
2898
2899 * /usr/include/luaX.Y
2900 * /usr/include/lua/X.Y
2901 * /usr/include/luaXY
2902 * /usr/local/include/luaX.Y
2903 * /usr/local/include/lua-X.Y
2904 * /usr/local/include/lua/X.Y
2905 * /usr/local/include/luaXY
2906
2907 (Where X.Y is the Lua version number, e.g. 5.1.)
2908
2909 The Lua version number found in the headers is always checked to match
2910 the Lua interpreter's version number. Lua headers with mismatched
2911 version numbers are not accepted.
2912
2913 If headers are found, then ACTION-IF-FOUND is performed, otherwise
2914 ACTION-IF-NOT-FOUND is performed. If ACTION-IF-NOT-FOUND is blank, then
2915 it will default to printing an error. To prevent the default behavior,
2916 set the action to ':'.
2917
2918 AX_LUA_LIBS: Search for Lua libraries. Requires that AX_PROG_LUA be
2919 expanded before this macro. Adds precious variable LUA_LIB, which may
2920 contain Lua specific linker flags, e.g. -llua5.1. If LUA_LIB is blank,
2921 then this macro will attempt to find suitable flags.
2922
2923 LUA_LIB can be used by Automake to link Lua modules or executables with
2924 embedded interpreters. The *_LIBADD and *_LDADD variables should be
2925 used for this purpose, e.g. mymod_LIBADD = $(LUA_LIB).
2926
2927 This macro searches for the Lua library. More technically, it searches
2928 for a library containing the function lua_load. The search is performed
2929 with a combination of LIBS, LIBRARY_PATH, and LUA_LIB.
2930
2931 If the search determines that some linker flags are missing, then those
2932 flags will be added to LUA_LIB.
2933
2934 If libraries are found, then ACTION-IF-FOUND is performed, otherwise
2935 ACTION-IF-NOT-FOUND is performed. If ACTION-IF-NOT-FOUND is blank, then
2936 it will default to printing an error. To prevent the default behavior,
2937 set the action to ':'.
2938
2939 AX_LUA_READLINE: Search for readline headers and libraries. Requires
2940 the AX_LIB_READLINE macro, which is provided by ax_lib_readline.m4 from
2941 the Autoconf Archive.
2942
2943 If a readline compatible library is found, then ACTION-IF-FOUND is
2944 performed, otherwise ACTION-IF-NOT-FOUND is performed.
2945
2946 Source Code
2947 ***********
2948
2949 Download the latest version of 'ax_lua.m4'
2950 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lua.m4)
2951 or browse the macro's revision history
2952 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lua.m4).
2953
2954 License
2955 *******
2956
2957 Copyright (C) 2015 Reuben Thomas <rrt@sc3d.org>
2958 Copyright (C) 2014 Tim Perkins <tprk77@gmail.com>
2959
2960 This program is free software: you can redistribute it and/or modify it
2961 under the terms of the GNU General Public License as published by the
2962 Free Software Foundation, either version 3 of the License, or (at your
2963 option) any later version.
2964
2965 This program is distributed in the hope that it will be useful, but
2966 WITHOUT ANY WARRANTY; without even the implied warranty of
2967 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2968 Public License for more details.
2969
2970 You should have received a copy of the GNU General Public License along
2971 with this program. If not, see <https://www.gnu.org/licenses/>.
2972
2973 As a special exception, the respective Autoconf Macro's copyright owner
2974 gives unlimited permission to copy, distribute and modify the configure
2975 scripts that are the output of Autoconf when processing the Macro. You
2976 need not follow the terms of the GNU General Public License when using
2977 or distributing such scripts, even though portions of the text of the
2978 Macro appear in them. The GNU General Public License (GPL) does govern
2979 all other use of the material that constitutes the Autoconf Macro.
2980
2981 This special exception to the GPL applies to versions of the Autoconf
2982 Macro released by the Autoconf Archive. When you make and distribute a
2983 modified version of the Autoconf Macro, you may extend this special
2984 exception to the GPL to apply to your modified version as well.
2985
2986 
2987 File: autoconf-archive.info, Node: ax_luarocks_rock, Next: ax_maintainer_mode_auto_silent, Prev: ax_lua, Up: The Macros
2988
2989 ax_luarocks_rock
2990 ================
2991
2992 Synopsis
2993 ********
2994
2995 AX_LUAROCKS_ROCK([ROCK])
2996
2997 Description
2998 ***********
2999
3000 Checks for a rock, and fails if it is not installed.
3001
3002 Example usage:
3003
3004 AX_LUAROCKS_ROCK(stdlib)
3005
3006 Note: use of this macro is not normally recommended. Normally, LuaRocks
3007 should be used to drive the build system, and it takes care of rock
3008 dependencies. Use this macro only if LuaRocks cannot be used at the top
3009 level, for example, in a build system that uses Lua only incidentally.
3010
3011 Source Code
3012 ***********
3013
3014 Download the latest version of 'ax_luarocks_rock.m4'
3015 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_luarocks_rock.m4)
3016 or browse the macro's revision history
3017 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_luarocks_rock.m4).
3018
3019 License
3020 *******
3021
3022 Copyright (C) 2016 Reuben Thomas <rrt@sc3d.org>
3023
3024 Copying and distribution of this file, with or without modification, are
3025 permitted in any medium without royalty provided the copyright notice
3026 and this notice are preserved. This file is offered as-is, without any
3027 warranty.
3028
3029 
3030 File: autoconf-archive.info, Node: ax_maintainer_mode_auto_silent, Next: ax_missing_prog, Prev: ax_luarocks_rock, Up: The Macros
3031
3032 ax_maintainer_mode_auto_silent
3033 ==============================
3034
3035 Synopsis
3036 ********
3037
3038 AX_MAINTAINER_MODE_AUTO_SILENT
3039
3040 Description
3041 ***********
3042
3043 Set autotools to error/sleep settings so that they are not run when
3044 being erroneously triggered. Likewise make libtool-silent when libtool
3045 has been used.
3046
3047 I use the macro quite a lot since some automake versions have the
3048 tendency to try to rerun some autotools on a mere make even when not
3049 quite in -maintainer-mode. That is very annoying. Likewise, a user who
3050 installs from source does not want to see doubled compiler messages.
3051
3052 I did not put an AC_REQUIRE(MAINTAINER_MODE) in here - should I?
3053
3054 Source Code
3055 ***********
3056
3057 Download the latest version of 'ax_maintainer_mode_auto_silent.m4'
3058 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_maintainer_mode_auto_silent.m4)
3059 or browse the macro's revision history
3060 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_maintainer_mode_auto_silent.m4).
3061
3062 License
3063 *******
3064
3065 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
3066
3067 Copying and distribution of this file, with or without modification, are
3068 permitted in any medium without royalty provided the copyright notice
3069 and this notice are preserved. This file is offered as-is, without any
3070 warranty.
3071
3072 
3073 File: autoconf-archive.info, Node: ax_missing_prog, Next: ax_mpi, Prev: ax_maintainer_mode_auto_silent, Up: The Macros
3074
3075 ax_missing_prog
3076 ===============
3077
3078 Synopsis
3079 ********
3080
3081 AX_MISSING_PROG(VARIABLE,PROGRAM,[MESSAGE])
3082
3083 Description
3084 ***********
3085
3086 Simple wrapper for the AM_MISSING_PROG which displays a warning MESSAGE
3087 if provided. A typical use is the following:
3088
3089 AC_PROG_AWK
3090 AS_IF([test -z "$AWK"],[
3091 AX_MISSING_PROG(AWK,[awk],[awk seems missing ...])
3092 ])
3093
3094 Programs wrapped with AX_MISSING_PROG should be used only in the package
3095 building phase (because they will be wrapped with the automake 'missing'
3096 script, which will not be installed).
3097
3098 Source Code
3099 ***********
3100
3101 Download the latest version of 'ax_missing_prog.m4'
3102 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_missing_prog.m4)
3103 or browse the macro's revision history
3104 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_missing_prog.m4).
3105
3106 License
3107 *******
3108
3109 Copyright (C) 2008 Francesco Salvestrini <salvestrini@users.sourceforge.net>
3110
3111 This program is free software; you can redistribute it and/or modify it
3112 under the terms of the GNU General Public License as published by the
3113 Free Software Foundation; either version 2 of the License, or (at your
3114 option) any later version.
3115
3116 This program is distributed in the hope that it will be useful, but
3117 WITHOUT ANY WARRANTY; without even the implied warranty of
3118 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3119 Public License for more details.
3120
3121 You should have received a copy of the GNU General Public License along
3122 with this program. If not, see <https://www.gnu.org/licenses/>.
3123
3124 As a special exception, the respective Autoconf Macro's copyright owner
3125 gives unlimited permission to copy, distribute and modify the configure
3126 scripts that are the output of Autoconf when processing the Macro. You
3127 need not follow the terms of the GNU General Public License when using
3128 or distributing such scripts, even though portions of the text of the
3129 Macro appear in them. The GNU General Public License (GPL) does govern
3130 all other use of the material that constitutes the Autoconf Macro.
3131
3132 This special exception to the GPL applies to versions of the Autoconf
3133 Macro released by the Autoconf Archive. When you make and distribute a
3134 modified version of the Autoconf Macro, you may extend this special
3135 exception to the GPL to apply to your modified version as well.
3136
3137 
3138 File: autoconf-archive.info, Node: ax_mpi, Next: ax_mpip, Prev: ax_missing_prog, Up: The Macros
3139
3140 ax_mpi
3141 ======
3142
3143 Synopsis
3144 ********
3145
3146 AX_MPI([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
3147
3148 Description
3149 ***********
3150
3151 This macro tries to find out how to compile programs that use MPI
3152 (Message Passing Interface), a standard API for parallel process
3153 communication (see http://www-unix.mcs.anl.gov/mpi/)
3154
3155 On success, it sets the MPICC, MPICXX, MPIF77, or MPIFC output variable
3156 to the name of the MPI compiler, depending upon the current language.
3157 (This may just be $CC/$CXX/$F77/$FC, but is more often something like
3158 mpicc/mpiCC/mpif77/mpif90.) It also sets MPILIBS to any libraries that
3159 are needed for linking MPI (e.g. -lmpi or -lfmpi, if a special
3160 MPICC/MPICXX/MPIF77/MPIFC was not found).
3161
3162 Note that this macro should be used only if you just have a few source
3163 files that need to be compiled using MPI. In particular, you should
3164 neither overwrite CC/CXX/F77/FC with the values of
3165 MPICC/MPICXX/MPIF77/MPIFC, nor assume that you can use the same flags
3166 etc. as the standard compilers. If you want to compile a whole program
3167 using the MPI compiler commands, use one of the macros
3168 AX_PROG_{CC,CXX,FC}_MPI.
3169
3170 ACTION-IF-FOUND is a list of shell commands to run if an MPI library is
3171 found, and ACTION-IF-NOT-FOUND is a list of commands to run if it is not
3172 found. If ACTION-IF-FOUND is not specified, the default action will
3173 define HAVE_MPI.
3174
3175 Source Code
3176 ***********
3177
3178 Download the latest version of 'ax_mpi.m4'
3179 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_mpi.m4)
3180 or browse the macro's revision history
3181 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_mpi.m4).
3182
3183 License
3184 *******
3185
3186 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
3187 Copyright (C) 2008 Julian C. Cummings <cummings@cacr.caltech.edu>
3188
3189 This program is free software: you can redistribute it and/or modify it
3190 under the terms of the GNU General Public License as published by the
3191 Free Software Foundation, either version 3 of the License, or (at your
3192 option) any later version.
3193
3194 This program is distributed in the hope that it will be useful, but
3195 WITHOUT ANY WARRANTY; without even the implied warranty of
3196 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3197 Public License for more details.
3198
3199 You should have received a copy of the GNU General Public License along
3200 with this program. If not, see <https://www.gnu.org/licenses/>.
3201
3202 As a special exception, the respective Autoconf Macro's copyright owner
3203 gives unlimited permission to copy, distribute and modify the configure
3204 scripts that are the output of Autoconf when processing the Macro. You
3205 need not follow the terms of the GNU General Public License when using
3206 or distributing such scripts, even though portions of the text of the
3207 Macro appear in them. The GNU General Public License (GPL) does govern
3208 all other use of the material that constitutes the Autoconf Macro.
3209
3210 This special exception to the GPL applies to versions of the Autoconf
3211 Macro released by the Autoconf Archive. When you make and distribute a
3212 modified version of the Autoconf Macro, you may extend this special
3213 exception to the GPL to apply to your modified version as well.
3214
3215 
3216 File: autoconf-archive.info, Node: ax_mpip, Next: ax_need_awk, Prev: ax_mpi, Up: The Macros
3217
3218 ax_mpip
3219 =======
3220
3221 Synopsis
3222 ********
3223
3224 AX_MPIP([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
3225
3226 Description
3227 ***********
3228
3229 Test for mpiP: Lightweight, Scalable MPI Profiling
3230 (http://mpip.sourceforge.net/)
3231
3232 Provides a -with-mpiP=DIR option. Searches -with-mpiP location and the
3233 usual places for mpiP and required libraries. Marks MPIP as a precious
3234 environment variable.
3235
3236 On success, sets MPIP_LDFLAGS, MPIP_LIBS, #defines HAVE_MPIP, and calls
3237 ACTION-IF-FOUND. When ACTION-IF-NOT-FOUND is not specified, the default
3238 behavior is for configure to fail.
3239
3240 Source Code
3241 ***********
3242
3243 Download the latest version of 'ax_mpip.m4'
3244 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_mpip.m4)
3245 or browse the macro's revision history
3246 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_mpip.m4).
3247
3248 License
3249 *******
3250
3251 Copyright (C) 2010 Rhys Ulerich <rhys.ulerich@gmail.com>
3252
3253 This program is free software: you can redistribute it and/or modify it
3254 under the terms of the GNU General Public License as published by the
3255 Free Software Foundation, either version 3 of the License, or (at your
3256 option) any later version.
3257
3258 This program is distributed in the hope that it will be useful, but
3259 WITHOUT ANY WARRANTY; without even the implied warranty of
3260 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3261 Public License for more details.
3262
3263 You should have received a copy of the GNU General Public License along
3264 with this program. If not, see <https://www.gnu.org/licenses/>.
3265
3266 As a special exception, the respective Autoconf Macro's copyright owner
3267 gives unlimited permission to copy, distribute and modify the configure
3268 scripts that are the output of Autoconf when processing the Macro. You
3269 need not follow the terms of the GNU General Public License when using
3270 or distributing such scripts, even though portions of the text of the
3271 Macro appear in them. The GNU General Public License (GPL) does govern
3272 all other use of the material that constitutes the Autoconf Macro.
3273
3274 This special exception to the GPL applies to versions of the Autoconf
3275 Macro released by the Autoconf Macro Archive. When you make and
3276 distribute a modified version of the Autoconf Macro, you may extend this
3277 special exception to the GPL to apply to your modified version as well.
3278
3279 
3280 File: autoconf-archive.info, Node: ax_need_awk, Next: ax_normalize_path, Prev: ax_mpip, Up: The Macros
3281
3282 ax_need_awk
3283 ===========
3284
3285 Synopsis
3286 ********
3287
3288 AX_NEED_AWK
3289
3290 Description
3291 ***********
3292
3293 Check if an awk implementation is available. Bail-out if not found.
3294
3295 This work is heavily based upon testawk.sh script by Heiner Steven. You
3296 should find his script (and related works) at
3297 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
3298 Alessandro Massignan for his suggestions and extensive nawk tests on
3299 FreeBSD.
3300
3301 Source Code
3302 ***********
3303
3304 Download the latest version of 'ax_need_awk.m4'
3305 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_need_awk.m4)
3306 or browse the macro's revision history
3307 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_need_awk.m4).
3308
3309 License
3310 *******
3311
3312 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
3313
3314 Copying and distribution of this file, with or without modification, are
3315 permitted in any medium without royalty provided the copyright notice
3316 and this notice are preserved. This file is offered as-is, without any
3317 warranty.
3318
3319 
3320 File: autoconf-archive.info, Node: ax_normalize_path, Next: ax_not_enable_frame_pointer, Prev: ax_need_awk, Up: The Macros
3321
3322 ax_normalize_path
3323 =================
3324
3325 Synopsis
3326 ********
3327
3328 AX_NORMALIZE_PATH(VARNAME, [REFERENCE_STRING])
3329
3330 Description
3331 ***********
3332
3333 Perform some cleanups on the value of $VARNAME (interpreted as a path):
3334
3335 - empty paths are changed to '.'
3336 - trailing slashes are removed
3337 - repeated slashes are squeezed except a leading doubled slash '//'
3338 (which might indicate a networked disk on some OS).
3339
3340 REFERENCE_STRING is used to turn '/' into '\' and vice-versa: if
3341 REFERENCE_STRING contains some backslashes, all slashes and backslashes
3342 are turned into backslashes, otherwise they are all turned into slashes.
3343
3344 This makes processing of DOS filenames quite easier, because you can
3345 turn a filename to the Unix notation, make your processing, and turn it
3346 back to original notation.
3347
3348 filename='A:\FOO\\BAR\'
3349 old_filename="$filename"
3350 # Switch to the unix notation
3351 AX_NORMALIZE_PATH([filename], ["/"])
3352 # now we have $filename = 'A:/FOO/BAR' and we can process it as if
3353 # it was a Unix path. For instance let's say that you want
3354 # to append '/subpath':
3355 filename="$filename/subpath"
3356 # finally switch back to the original notation
3357 AX_NORMALIZE_PATH([filename], ["$old_filename"])
3358 # now $filename equals to 'A:\FOO\BAR\subpath'
3359
3360 One good reason to make all path processing with the unix convention is
3361 that backslashes have a special meaning in many cases. For instance
3362
3363 expr 'A:\FOO' : 'A:\Foo'
3364
3365 will return 0 because the second argument is a regex in which
3366 backslashes have to be backslashed. In other words, to have the two
3367 strings to match you should write this instead:
3368
3369 expr 'A:\Foo' : 'A:\\Foo'
3370
3371 Such behavior makes DOS filenames extremely unpleasant to work with. So
3372 temporary turn your paths to the Unix notation, and revert them to the
3373 original notation after the processing. See the macro
3374 AX_COMPUTE_RELATIVE_PATHS for a concrete example of this.
3375
3376 REFERENCE_STRING defaults to $VARIABLE, this means that slashes will be
3377 converted to backslashes if $VARIABLE already contains some backslashes
3378 (see $thirddir below).
3379
3380 firstdir='/usr/local//share'
3381 seconddir='C:\Program Files\\'
3382 thirddir='C:\home/usr/'
3383 AX_NORMALIZE_PATH([firstdir])
3384 AX_NORMALIZE_PATH([seconddir])
3385 AX_NORMALIZE_PATH([thirddir])
3386 # $firstdir = '/usr/local/share'
3387 # $seconddir = 'C:\Program Files'
3388 # $thirddir = 'C:\home\usr'
3389
3390 Source Code
3391 ***********
3392
3393 Download the latest version of 'ax_normalize_path.m4'
3394 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_normalize_path.m4)
3395 or browse the macro's revision history
3396 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_normalize_path.m4).
3397
3398 License
3399 *******
3400
3401 Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
3402
3403 This program is free software; you can redistribute it and/or modify it
3404 under the terms of the GNU General Public License as published by the
3405 Free Software Foundation; either version 2 of the License, or (at your
3406 option) any later version.
3407
3408 This program is distributed in the hope that it will be useful, but
3409 WITHOUT ANY WARRANTY; without even the implied warranty of
3410 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3411 Public License for more details.
3412
3413 You should have received a copy of the GNU General Public License along
3414 with this program. If not, see <https://www.gnu.org/licenses/>.
3415
3416 As a special exception, the respective Autoconf Macro's copyright owner
3417 gives unlimited permission to copy, distribute and modify the configure
3418 scripts that are the output of Autoconf when processing the Macro. You
3419 need not follow the terms of the GNU General Public License when using
3420 or distributing such scripts, even though portions of the text of the
3421 Macro appear in them. The GNU General Public License (GPL) does govern
3422 all other use of the material that constitutes the Autoconf Macro.
3423
3424 This special exception to the GPL applies to versions of the Autoconf
3425 Macro released by the Autoconf Archive. When you make and distribute a
3426 modified version of the Autoconf Macro, you may extend this special
3427 exception to the GPL to apply to your modified version as well.
3428
3429 
3430 File: autoconf-archive.info, Node: ax_not_enable_frame_pointer, Next: ax_numeric_namedlevel, Prev: ax_normalize_path, Up: The Macros
3431
3432 ax_not_enable_frame_pointer
3433 ===========================
3434
3435 Synopsis
3436 ********
3437
3438 AX_NOT_ENABLE_FRAME_POINTER ([shellvar])
3439
3440 Description
3441 ***********
3442
3443 add -enable-frame-pointer option, the default will add the gcc
3444 -fomit-frame-pointer option to the shellvar (per default CFLAGS) and
3445 remove the " -g " debuginfo option from it. In other words, the default
3446 is "-disable-frame-pointer"
3447
3448 Source Code
3449 ***********
3450
3451 Download the latest version of 'ax_not_enable_frame_pointer.m4'
3452 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_not_enable_frame_pointer.m4)
3453 or browse the macro's revision history
3454 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_not_enable_frame_pointer.m4).
3455
3456 License
3457 *******
3458
3459 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
3460
3461 Copying and distribution of this file, with or without modification, are
3462 permitted in any medium without royalty provided the copyright notice
3463 and this notice are preserved. This file is offered as-is, without any
3464 warranty.
3465
3466 
3467 File: autoconf-archive.info, Node: ax_numeric_namedlevel, Next: ax_open62541_check_h, Prev: ax_not_enable_frame_pointer, Up: The Macros
3468
3469 ax_numeric_namedlevel
3470 =====================
3471
3472 Synopsis
3473 ********
3474
3475 AX_NUMERIC_NAMEDLEVEL(VARNAME [,FROMVAR [,DEFAULT [,YESLEVEL]]])
3476
3477 Description
3478 ***********
3479
3480 The levelstring FROMVAR is expanded and checked for verbal names that
3481 will map on to eight different levels - the VARNAME will receive this
3482 numeric level where "all" maps to 7 (lower three bits set) higher levels
3483 for 8 and 9 exist too. This macro is a nice helper to convert user
3484 input of a -with-opt=level into a numeric form that can be simply pushed
3485 as a #define like with AC_DEFINE:
3486
3487 default YESLEVEL = 2 /* including unknown levelspec */
3488 default DEFAULT = 0 /* when named level is empty */
3489 default FROMVAR = VARNAME
3490
3491 The DEFAULT value is used if the NAMED levelstring has become empty and
3492 it is copied without further conversion - a default of "0" is used if
3493 absent - identical to "no". A "yes" will be set to the YESLEVEL - and
3494 note that "yes" has "2" as its default value not "1". (which comes from
3495 its original use to set a "gcc -O2").
3496
3497 the mnemonic names are:
3498
3499 9| insane |ultrasome|experimentalplus
3500 8| ultra |ultra|experimental)
3501 7| all |muchmore|somemanymore|manymoreplus
3502 6| most |manymore|most)
3503 5| strict |somemore|almost
3504 4| more |more
3505 3| extra |manyplus|plusmuch|somemany|plusmany
3506 2| many |many|much|(yes)
3507 1| some |some|plus
3508
3509 note that a level can be constructed of (some|plus) = bit-0, (many|much)
3510 = bit-1, (more) = bit-2, (ultra|experimental) = bit-3 at least in a
3511 left-to-right order, ie. plusmanymore=7
3512
3513 Example usage:
3514
3515 AX_NUMERIC_NAMEDLEVEL(OPTLEVEL,with_optlevel,1,3)
3516 AC_DEFINE(OPTLEVEL)
3517 test "$GCC" = "yes" && CFLAGS="$CFLAGS -O$OPTLEVEL)
3518
3519 Source Code
3520 ***********
3521
3522 Download the latest version of 'ax_numeric_namedlevel.m4'
3523 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_numeric_namedlevel.m4)
3524 or browse the macro's revision history
3525 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_numeric_namedlevel.m4).
3526
3527 License
3528 *******
3529
3530 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
3531
3532 Copying and distribution of this file, with or without modification, are
3533 permitted in any medium without royalty provided the copyright notice
3534 and this notice are preserved. This file is offered as-is, without any
3535 warranty.
3536
3537 
3538 File: autoconf-archive.info, Node: ax_open62541_check_h, Next: ax_open62541_check_lib, Prev: ax_numeric_namedlevel, Up: The Macros
3539
3540 ax_open62541_check_h
3541 ====================
3542
3543 Synopsis
3544 ********
3545
3546 AX_OPEN62541_CHECK_H([HEADERS = `...see_below...'], [ACTION-IF-FOUND],
3547 [ACTION-IF-NOT-FOUND])
3548
3549 Description
3550 ***********
3551
3552 Searches for the header file(s) of the open62541 library [1].
3553
3554 The open62541 library is a cmake-based project, that provides its header
3555 files in one of two layouts:
3556
3557 1) As individual files, e.g. ua_config.h, ua_server.h, ua_types.h, ...
3558 2) As a single amalgamation file open62541.h
3559
3560 The second case is enabled when configuring open62541 with the options
3561 "-D UA_ENABLE_AMALGAMATION=true to" cmake, which seems to be preferred.
3562 Code using the library can distinguish which layout is used by checking
3563 for the macro "UA_NO_AMALGAMATION": if it is defined, the first layout
3564 is used.
3565
3566 The AX_OPEN62541_CHECK_H macro checks first for the amalgamation and, if
3567 that is not found, for the individual headers. It defines
3568 "UA_NO_AMALGAMATION" if necessary.
3569
3570 The individual headers to check for if no amalgamation is found can be
3571 provided as a space-separated list in the first argument. If that is
3572 empty, it defaults to all files known to be contained in the
3573 amalgamation as of v0.2.0 of the library:
3574
3575 * ms_stdint.h
3576 * ua_client.h
3577 * ua_client_highlevel.h
3578 * ua_config.h
3579 * ua_config_standard.h
3580 * ua_connection.h
3581 * ua_constants.h
3582 * ua_job.h
3583 * ua_log.h
3584 * ua_log_stdout.h
3585 * ua_network_tcp.h
3586 * ua_nodeids.h
3587 * ua_server.h
3588 * ua_server_external_ns.h
3589 * ua_types.h
3590 * ua_types_generated.h
3591 * ua_types_generated_handling.h
3592
3593 If the with_open62541 shell variable is set to "no" (e.g. from running
3594 the AX_OPEN62541_PATH macro and the user giving configure the option
3595 "-without-open62541"), then expands ACTION-IF-NOT-FOUND without any
3596 checks.
3597
3598 [1]: <http://open62541.org/>
3599
3600 Source Code
3601 ***********
3602
3603 Download the latest version of 'ax_open62541_check_h.m4'
3604 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_open62541_check_h.m4)
3605 or browse the macro's revision history
3606 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_open62541_check_h.m4).
3607
3608 License
3609 *******
3610
3611 Copyright (C) 2016,2017 Olaf Mandel <olaf@mandel.name>
3612
3613 Copying and distribution of this file, with or without modification, are
3614 permitted in any medium without royalty provided the copyright notice
3615 and this notice are preserved. This file is offered as-is, without any
3616 warranty.
3617
3618 
3619 File: autoconf-archive.info, Node: ax_open62541_check_lib, Next: ax_open62541_path, Prev: ax_open62541_check_h, Up: The Macros
3620
3621 ax_open62541_check_lib
3622 ======================
3623
3624 Synopsis
3625 ********
3626
3627 AX_OPEN62541_CHECK_LIB([STATIC-FIRST = `no'], [ACTION-IF-FOUND],
3628 [ACTION-IF-NOT-FOUND])
3629
3630 Description
3631 ***********
3632
3633 Searches for the library file of the open62541 library [1].
3634
3635 The open62541 library is a cmake-based project, that supplies both a
3636 shared and a static library (with different names). The
3637 AX_OPEN62541_CHECK_LIB macro can search for both and adds the first one
3638 found to the LIBS Makefile variable. The search can be in either order
3639 (shared first or static first), which is selectable on macro invocation
3640 with the STATIC-FIRST parameter. The user can change this default by
3641 invoking configure with either the -with-open62541-shared or
3642 -with-open62541-static option (the named one is checked first).
3643
3644 Either shared or static library can be excluded from checking completely
3645 with the options -without-open62541-shared and
3646 -without-open62541-static.
3647
3648 If the with_open62541 shell variable is set to "no" (e.g. from running
3649 the AX_OPEN62541_PATH macro and the user giving configure the option
3650 "-without-open62541"), then expands ACTION-IF-NOT-FOUND without any
3651 checks. The same is true if both -without-open62541-shared and
3652 -without-open62541-static are given.
3653
3654 [1]: <http://open62541.org/>
3655
3656 Source Code
3657 ***********
3658
3659 Download the latest version of 'ax_open62541_check_lib.m4'
3660 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_open62541_check_lib.m4)
3661 or browse the macro's revision history
3662 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_open62541_check_lib.m4).
3663
3664 License
3665 *******
3666
3667 Copyright (C) 2016 Olaf Mandel <olaf@mandel.name>
3668
3669 Copying and distribution of this file, with or without modification, are
3670 permitted in any medium without royalty provided the copyright notice
3671 and this notice are preserved. This file is offered as-is, without any
3672 warranty.
3673
3674 
3675 File: autoconf-archive.info, Node: ax_open62541_path, Next: ax_openmp, Prev: ax_open62541_check_lib, Up: The Macros
3676
3677 ax_open62541_path
3678 =================
3679
3680 Synopsis
3681 ********
3682
3683 AX_OPEN62541_PATH()
3684
3685 Description
3686 ***********
3687
3688 Sets pre-processor and linker search paths for the open62541 library
3689 [1].
3690
3691 The open62541 library is a cmake-based project, that is not always
3692 installed to the system: it does not even provide an install target by
3693 default. In that case, the location of several directories need to be
3694 added to the pre-processor and linker search paths:
3695
3696 * -I<src>/deps
3697 * -I<src>/include
3698 * -I<src>/plugins
3699 * -I<build>/src_generated
3700 * -I<build>
3701 * -L<build>
3702
3703 Here "src" indicates the location of the library source directory and
3704 "build" the location of the out-of-source build.
3705
3706 This macro provides the configure options -with-open62541=dir and
3707 -with-open62541-build=dir to set the two directories. This macro will
3708 append to CPPFLAGS and LDFLAGS if a dir is supplied. It will also
3709 export LD_LIBRARY_PATH with the absolute path of the build dir for the
3710 rest of the configure script to use and define a Makefile variable
3711 OPEN62541_LDPATH, which contains
3712 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<abs_path_to_build> : this is intended
3713 to be used for all commands that need to execute a program using the
3714 library (e.g. make check). If paths are set, they are forwarded to
3715 distcheck.
3716
3717 For -with-open62541, the dir is optional: if either the values "no"
3718 (from -without-open62541) or "yes" (for no argument) are specified, this
3719 macro does nothing but these values may be used by other code. If
3720 -with-open62541 is not specified, the variable with_open62541 is not
3721 set.
3722
3723 For -with-open62541-build, the dir is compulsory. -with-open62541-build
3724 must not be given without also specifying -with-open62541. If
3725 -with-open62541 is given but -with-open62541-build is not, the default
3726 value is "<src>/build".
3727
3728 [1]: <http://open62541.org/>
3729
3730 Source Code
3731 ***********
3732
3733 Download the latest version of 'ax_open62541_path.m4'
3734 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_open62541_path.m4)
3735 or browse the macro's revision history
3736 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_open62541_path.m4).
3737
3738 License
3739 *******
3740
3741 Copyright (C) 2016,2017 Olaf Mandel <olaf@mandel.name>
3742
3743 Copying and distribution of this file, with or without modification, are
3744 permitted in any medium without royalty provided the copyright notice
3745 and this notice are preserved. This file is offered as-is, without any
3746 warranty.
3747
3748 
3749 File: autoconf-archive.info, Node: ax_openmp, Next: ax_patch_libtool_changing_cmds_ifs, Prev: ax_open62541_path, Up: The Macros
3750
3751 ax_openmp
3752 =========
3753
3754 Synopsis
3755 ********
3756
3757 AX_OPENMP([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
3758
3759 Description
3760 ***********
3761
3762 This macro tries to find out how to compile programs that use OpenMP a
3763 standard API and set of compiler directives for parallel programming
3764 (see http://www-unix.mcs/)
3765
3766 On success, it sets the OPENMP_CFLAGS/OPENMP_CXXFLAGS/OPENMP_F77FLAGS
3767 output variable to the flag (e.g. -omp) used both to compile *and* link
3768 OpenMP programs in the current language.
3769
3770 NOTE: You are assumed to not only compile your program with these flags,
3771 but also link it with them as well.
3772
3773 If you want to compile everything with OpenMP, you should set:
3774
3775 CFLAGS="$CFLAGS $OPENMP_CFLAGS"
3776 #OR# CXXFLAGS="$CXXFLAGS $OPENMP_CXXFLAGS"
3777 #OR# FFLAGS="$FFLAGS $OPENMP_FFLAGS"
3778
3779 (depending on the selected language).
3780
3781 The user can override the default choice by setting the corresponding
3782 environment variable (e.g. OPENMP_CFLAGS).
3783
3784 ACTION-IF-FOUND is a list of shell commands to run if an OpenMP flag is
3785 found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
3786 not found. If ACTION-IF-FOUND is not specified, the default action will
3787 define HAVE_OPENMP.
3788
3789 Source Code
3790 ***********
3791
3792 Download the latest version of 'ax_openmp.m4'
3793 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_openmp.m4)
3794 or browse the macro's revision history
3795 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_openmp.m4).
3796
3797 License
3798 *******
3799
3800 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
3801 Copyright (C) 2015 John W. Peterson <jwpeterson@gmail.com>
3802 Copyright (C) 2016 Nick R. Papior <nickpapior@gmail.com>
3803
3804 This program is free software: you can redistribute it and/or modify it
3805 under the terms of the GNU General Public License as published by the
3806 Free Software Foundation, either version 3 of the License, or (at your
3807 option) any later version.
3808
3809 This program is distributed in the hope that it will be useful, but
3810 WITHOUT ANY WARRANTY; without even the implied warranty of
3811 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3812 Public License for more details.
3813
3814 You should have received a copy of the GNU General Public License along
3815 with this program. If not, see <https://www.gnu.org/licenses/>.
3816
3817 As a special exception, the respective Autoconf Macro's copyright owner
3818 gives unlimited permission to copy, distribute and modify the configure
3819 scripts that are the output of Autoconf when processing the Macro. You
3820 need not follow the terms of the GNU General Public License when using
3821 or distributing such scripts, even though portions of the text of the
3822 Macro appear in them. The GNU General Public License (GPL) does govern
3823 all other use of the material that constitutes the Autoconf Macro.
3824
3825 This special exception to the GPL applies to versions of the Autoconf
3826 Macro released by the Autoconf Archive. When you make and distribute a
3827 modified version of the Autoconf Macro, you may extend this special
3828 exception to the GPL to apply to your modified version as well.
3829
3830 
3831 File: autoconf-archive.info, Node: ax_patch_libtool_changing_cmds_ifs, Next: ax_path_bdb, Prev: ax_openmp, Up: The Macros
3832
3833 ax_patch_libtool_changing_cmds_ifs
3834 ==================================
3835
3836 Synopsis
3837 ********
3838
3839 AX_PATCH_LIBTOOL_CHANGING_CMDS_IFS
3840
3841 Description
3842 ***********
3843
3844 Do a 'grep "^[a-z]*_cmds=" libtool' - these are "subroutines" encoded by
3845 libtool.m4 into the generated libtool script. Since libtool assumes
3846 that there is no subroutine-facility in the shell invoked, these are not
3847 actually subroutines, but actually a "list of commands". This looks
3848 correct, but the command separator is not ";" - it is "~", the tilde
3849 character.
3850
3851 Now, grep again, look for 'grep 'IFS="~"' libtool' and see that libtool
3852 scripting uses a for-loop on the command-list, i.e for cmd in
3853 $some_cmds. This works correctly when the IFS was modified, where IFS
3854 stands for "input field separator" which is whitespace characters by
3855 default.
3856
3857 The problem: I have some real-world filesystems where there are
3858 directories using "~" inside of them, to be more to the point, it is a
3859 change control management software that uses source repositories of the
3860 form "path/master/project~version/src" and libtool has the tendency to
3861 resolve any symlinks so that it will paste such path into the $_cmds
3862 script when it gets evaluated a number of times.
3863
3864 This script is a workaround: I do not know why the ";" was not chosen as
3865 the IFS, perhaps it has some weird interactions in some shells since it
3866 is also the default record separator being one time bigger in context
3867 than the argument separator. I have made good success however with
3868 using "?" as the IFS, since there is no path-name that uses a question
3869 mark, and there is no _cmds ever around that uses "?" for some thing.
3870
3871 Oh yes, there are some usages of "*" to match shell-wise at the output
3872 file of some tool, so that might have triggered the choice to not use
3873 "?" in the first place - but in real life it never occurred that a
3874 _cmds script was created that has gone to use "?". And so, this
3875 ac-macro exchanges the s/~/?/g in configured _cmds variables and
3876 replaces all occurrences of s/IFS="~"/IFS="?"/ - and it all works smooth
3877 now.
3878
3879 Source Code
3880 ***********
3881
3882 Download the latest version of 'ax_patch_libtool_changing_cmds_ifs.m4'
3883 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_patch_libtool_changing_cmds_ifs.m4)
3884 or browse the macro's revision history
3885 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_patch_libtool_changing_cmds_ifs.m4).
3886
3887 License
3888 *******
3889
3890 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
3891
3892 Copying and distribution of this file, with or without modification, are
3893 permitted in any medium without royalty provided the copyright notice
3894 and this notice are preserved. This file is offered as-is, without any
3895 warranty.
3896
3897 
3898 File: autoconf-archive.info, Node: ax_path_bdb, Next: ax_path_generic, Prev: ax_patch_libtool_changing_cmds_ifs, Up: The Macros
3899
3900 ax_path_bdb
3901 ===========
3902
3903 Synopsis
3904 ********
3905
3906 AX_PATH_BDB([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
3907
3908 Description
3909 ***********
3910
3911 This macro finds the latest version of Berkeley DB on the system, and
3912 ensures that the header file and library versions match. If
3913 MINIMUM-VERSION is specified, it will ensure that the library found is
3914 at least that version.
3915
3916 It determines the name of the library as well as the path to the header
3917 file and library. It will check both the default environment as well as
3918 the default Berkeley DB install location. When found, it sets BDB_LIBS,
3919 BDB_CPPFLAGS, and BDB_LDFLAGS to the necessary values to add to LIBS,
3920 CPPFLAGS, and LDFLAGS, as well as setting BDB_VERSION to the version
3921 found. HAVE_DB_H is defined also.
3922
3923 The option -with-bdb-dir=DIR can be used to specify a specific Berkeley
3924 DB installation to use.
3925
3926 An example of it's use is:
3927
3928 AX_PATH_BDB([3],[
3929 LIBS="$BDB_LIBS $LIBS"
3930 LDFLAGS="$BDB_LDFLAGS $LDFLAGS"
3931 CPPFLAGS="$CPPFLAGS $BDB_CPPFLAGS"
3932 ])
3933
3934 which will locate the latest version of Berkeley DB on the system, and
3935 ensure that it is version 3.0 or higher.
3936
3937 Details: This macro does not use either AC_CHECK_HEADERS or AC_CHECK_LIB
3938 because, first, the functions inside the library are sometimes renamed
3939 to contain a version code that is only available from the db.h on the
3940 system, and second, because it is common to have multiple db.h and libdb
3941 files on a system it is important to make sure the ones being used
3942 correspond to the same version. Additionally, there are many different
3943 possible names for libdb when installed by an OS distribution, and these
3944 need to be checked if db.h does not correspond to libdb.
3945
3946 When cross compiling, only header versions are verified since it would
3947 be difficult to check the library version. Additionally the default
3948 Berkeley DB installation locations /usr/local/BerkeleyDB* are not
3949 searched for higher versions of the library.
3950
3951 The format for the list of library names to search came from the Cyrus
3952 IMAP distribution, although they are generated dynamically here, and
3953 only for the version found in db.h.
3954
3955 The macro AX_COMPARE_VERSION is required to use this macro, and should
3956 be available from the Autoconf Macro Archive.
3957
3958 The author would like to acknowledge the generous and valuable feedback
3959 from Guido Draheim, without which this macro would be far less robust,
3960 and have poor and inconsistent cross compilation support.
3961
3962 Changes:
3963
3964 1/5/05 applied patch from Rafal Rzepecki to eliminate compiler
3965 warning about unused variable, argv
3966
3967 Source Code
3968 ***********
3969
3970 Download the latest version of 'ax_path_bdb.m4'
3971 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_bdb.m4)
3972 or browse the macro's revision history
3973 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_bdb.m4).
3974
3975 License
3976 *******
3977
3978 Copyright (C) 2008 Tim Toolan <toolan@ele.uri.edu>
3979
3980 Copying and distribution of this file, with or without modification, are
3981 permitted in any medium without royalty provided the copyright notice
3982 and this notice are preserved. This file is offered as-is, without any
3983 warranty.
3984
3985 
3986 File: autoconf-archive.info, Node: ax_path_generic, Next: ax_path_lib_pcre, Prev: ax_path_bdb, Up: The Macros
3987
3988 ax_path_generic
3989 ===============
3990
3991 Synopsis
3992 ********
3993
3994 AX_PATH_GENERIC(LIBRARY,[MINIMUM-VERSION,[SED-EXPR-EXTRACTOR]],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND],[CONFIG-SCRIPTS],[CFLAGS-ARG],[LIBS-ARG])
3995
3996 Description
3997 ***********
3998
3999 Runs the LIBRARY-config script and defines LIBRARY_CFLAGS and
4000 LIBRARY_LIBS unless the user had predefined them in the environment.
4001
4002 The script must support '-cflags' and '-libs' args. If MINIMUM-VERSION
4003 is specified, the script must also support the '-version' arg. If the
4004 '-with-library-[exec-]prefix' arguments to ./configure are given, it
4005 must also support '-prefix' and '-exec-prefix'. Preferably use
4006 CONFIG-SCRIPTS as config script, CFLAGS-ARG instead of '-cflags' and
4007 LIBS-ARG instead of '-libs', if given.
4008
4009 The SED-EXPR-EXTRACTOR parameter represents the expression used in sed
4010 to extract the version number. Use it if your 'foo-config -version'
4011 dumps something like 'Foo library v1.0.0 (alfa)' instead of '1.0.0'.
4012
4013 The macro respects LIBRARY_CONFIG, LIBRARY_CFLAGS and LIBRARY_LIBS
4014 variables. If the first one is defined, it specifies the name of the
4015 config script to use. If the latter two are defined, the script is not
4016 ran at all and their values are used instead (if only one of them is
4017 defined, the empty value of the remaining one is still used).
4018
4019 Example:
4020
4021 AX_PATH_GENERIC(Foo, 1.0.0)
4022
4023 would run 'foo-config -version' and check that it is at least 1.0.0, if
4024 successful the following variables would be defined and substituted:
4025
4026 FOO_CFLAGS to `foo-config --cflags`
4027 FOO_LIBS to `foo-config --libs`
4028
4029 Example:
4030
4031 AX_PATH_GENERIC([Bar],,,[
4032 AC_MSG_ERROR([Cannot find Bar library])
4033 ])
4034
4035 would check for bar-config program, defining and substituting the
4036 following variables:
4037
4038 BAR_CFLAGS to `bar-config --cflags`
4039 BAR_LIBS to `bar-config --libs`
4040
4041 Example:
4042
4043 ./configure BAZ_LIBS=/usr/lib/libbaz.a
4044
4045 would link with a static version of baz library even if 'baz-config
4046 -libs' returns just "-lbaz" that would normally result in using the
4047 shared library.
4048
4049 This macro is a rearranged version of AC_PATH_GENERIC from Angus Lees.
4050
4051 Source Code
4052 ***********
4053
4054 Download the latest version of 'ax_path_generic.m4'
4055 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_generic.m4)
4056 or browse the macro's revision history
4057 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_generic.m4).
4058
4059 License
4060 *******
4061
4062 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4063
4064 Copying and distribution of this file, with or without modification, are
4065 permitted in any medium without royalty provided the copyright notice
4066 and this notice are preserved. This file is offered as-is, without any
4067 warranty.
4068
4069 
4070 File: autoconf-archive.info, Node: ax_path_lib_pcre, Next: ax_path_milter, Prev: ax_path_generic, Up: The Macros
4071
4072 ax_path_lib_pcre
4073 ================
4074
4075 Synopsis
4076 ********
4077
4078 AX_PATH_LIB_PCRE [(A/NA)]
4079
4080 Description
4081 ***********
4082
4083 check for pcre lib and set PCRE_LIBS and PCRE_CFLAGS accordingly.
4084
4085 also provide -with-pcre option that may point to the $prefix of the pcre
4086 installation - the macro will check $pcre/include and $pcre/lib to
4087 contain the necessary files.
4088
4089 the usual two ACTION-IF-FOUND / ACTION-IF-NOT-FOUND are supported and
4090 they can take advantage of the LIBS/CFLAGS additions.
4091
4092 Source Code
4093 ***********
4094
4095 Download the latest version of 'ax_path_lib_pcre.m4'
4096 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_lib_pcre.m4)
4097 or browse the macro's revision history
4098 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_lib_pcre.m4).
4099
4100 License
4101 *******
4102
4103 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4104
4105 Copying and distribution of this file, with or without modification, are
4106 permitted in any medium without royalty provided the copyright notice
4107 and this notice are preserved. This file is offered as-is, without any
4108 warranty.
4109
4110 
4111 File: autoconf-archive.info, Node: ax_path_milter, Next: ax_path_missing, Prev: ax_path_lib_pcre, Up: The Macros
4112
4113 ax_path_milter
4114 ==============
4115
4116 Synopsis
4117 ********
4118
4119 AX_PATH_MILTER([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
4120
4121 Description
4122 ***********
4123
4124 This macro tries to automatically find the library libmilter.a and the
4125 header file "libmilter/mfapi.h", which are required when compiling a
4126 milter for Sendmail. When successful, it sets the output variable
4127 MILTER_LIBS to "-lmilter", MILTER_LDFLAGS to contain an -Lpathtolib
4128 option, and MILTER_CPPFLAGS to contain an -Ipathtoinclude option, if
4129 they are necessary.
4130
4131 The easiest way to use this macro is something like:
4132
4133 AX_PATH_MILTER([8.12],[
4134 LIBS="$MILTER_LIBS $LIBS"
4135 LDFLAGS="$MILTER_LDFLAGS $LDFLAGS"
4136 CPPFLAGS="$CPPFLAGS $MILTER_CPPFLAGS"
4137 ],[
4138 AC_MSG_ERROR([required milter library and header not found])
4139 ])
4140
4141 If the macro is successful, it just adds any flags to the necessary
4142 environment. If it is not successful, it would likely be a fatal error,
4143 because if an application is linking with libmilter.a, it is probably
4144 because it is a milter.
4145
4146 There are two optional "-with" options for configure which are added.
4147 If they are specified, they override any searching that is done. They
4148 are:
4149
4150 --with-sendmail-base=<DIR> This option is used to explicitly
4151 specify the base of the sendmail distribution.
4152
4153 --with-sendmail-obj=<DIR> The option is used to explicitly specify
4154 the "obj.*" subdirectory in the sendmail distribution
4155 that should be used.
4156
4157 When sendmail-base is not specified, the current environment is first
4158 tested to see if the header and library are available, and if so
4159 MILTER_LDFLAGS and MILTER_CPPFLAGS are left empty.
4160
4161 There are two places that are searched for the sendmail base directory.
4162 The first location is one directory down from the current directory. It
4163 checks if there is a directory of the form sendmail-8.1*, limited to
4164 version 8.12.x or higher, then chooses the directory with the highest
4165 version number. If that method does not succeed, it then looks in the
4166 file /etc/mail/sendmail.cf for the directory it was built from, and uses
4167 the base of that distribution. If neither of these methods work, then
4168 it fails.
4169
4170 There are two methods for finding the "obj.*" directory when it is not
4171 specified. The first is to try to run sendmail's Build program with the
4172 -M option which will print out the name of the obj. directory for the
4173 tool in the directory where it is run from. If this does not work, is
4174 looks for the newest directory of the form "obj.*" in the sendmail base
4175 directory.
4176
4177 Two addition output variables that are defined, whether or not the files
4178 are found are SENDMAIL_BASE_DIR and SENDMAIL_OBJ_DIR, which are the
4179 suspected location of the sendmail base directory and obj.*
4180 subdirectory.
4181
4182 NOTE: POSIX threads MUST be configured BEFORE this function is called or
4183 it will not find libmilter.a even if it exists. The easiest way is to
4184 use the AX_PTHREAD macro by Steven G. Johnson and Alejandro Forero
4185 Cuervo which is available from the Autoconf Macro Archive.
4186
4187 Source Code
4188 ***********
4189
4190 Download the latest version of 'ax_path_milter.m4'
4191 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_milter.m4)
4192 or browse the macro's revision history
4193 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_milter.m4).
4194
4195 License
4196 *******
4197
4198 Copyright (C) 2008 Tim Toolan <toolan@ele.uri.edu>
4199
4200 Copying and distribution of this file, with or without modification, are
4201 permitted in any medium without royalty provided the copyright notice
4202 and this notice are preserved. This file is offered as-is, without any
4203 warranty.
4204
4205 
4206 File: autoconf-archive.info, Node: ax_path_missing, Next: ax_perl_ext, Prev: ax_path_milter, Up: The Macros
4207
4208 ax_path_missing
4209 ===============
4210
4211 Synopsis
4212 ********
4213
4214 AX_PATH_MISSING(VARIABLE, PROG-TO-CHECK-FOR, WARNING-IF-NOT-FOUND, PATH)
4215
4216 Description
4217 ***********
4218
4219 Check whether program PROG-TO-CHECK-FOR exists in path. If it is found,
4220 set VARIABLE to the full path of PROG-TO-CHECK-FOR, otherwise warn using
4221 the string WARNING-IF-NOT-FOUND and set VARIABLE to the full path of the
4222 Automake missing script with PROG-TO-CHECK-FOR as the command to run.
4223
4224 A typical use is the following:
4225
4226 AX_PATH_MISSING([AUTOGEN],[autogen],[autogen seems missing ...])
4227
4228 This macro is the combination of AC_PATH_PROG and AX_MISSING_PROG. If
4229 you do not want to run AC_PATH_PROG, simply use AX_MISSING_PROG or
4230 AM_MISSING.
4231
4232 Source Code
4233 ***********
4234
4235 Download the latest version of 'ax_path_missing.m4'
4236 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_missing.m4)
4237 or browse the macro's revision history
4238 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_missing.m4).
4239
4240 License
4241 *******
4242
4243 Copyright (C) 2008 Noah Slater <nslater@bytesexual.org>
4244 Copyright (C) 2008 Francesco Salvestrini <salvestrini@sourceforge.net>
4245
4246 Copying and distribution of this file, with or without modification, are
4247 permitted in any medium without royalty provided the copyright notice
4248 and this notice are preserved. This file is offered as-is, without any
4249 warranty.
4250
4251 
4252 File: autoconf-archive.info, Node: ax_perl_ext, Next: ax_perl_ext_flags, Prev: ax_path_missing, Up: The Macros
4253
4254 ax_perl_ext
4255 ===========
4256
4257 Synopsis
4258 ********
4259
4260 AX_PERL_EXT
4261
4262 Description
4263 ***********
4264
4265 Fetches the linker flags and C compiler flags for compiling and linking
4266 Perl binary extensions. The macro substitutes PERL_EXT_PREFIX,
4267 PERL_EXT_INC, PERL_EXT_LIB, PERL_EXT_CPPFLAGS, PERL_EXT_LDFLAGS and
4268 PERL_EXT_DLEXT variables if Perl executable was found. It also checks
4269 the same variables before trying to retrieve them from the Perl
4270 configuration.
4271
4272 PERL_EXT_PREFIX: top-level perl installation path (--prefix)
4273 PERL_EXT_INC: XS include directory
4274 PERL_EXT_LIB: Perl extensions destination directory
4275 PERL_EXT_CPPFLAGS: C preprocessor flags to compile extensions
4276 PERL_EXT_LDFLAGS: linker flags to build extensions
4277 PERL_EXT_DLEXT: extensions suffix for perl modules (e.g. ".so")
4278
4279 Examples:
4280
4281 AX_PERL_EXT
4282 if test x"$PERL" = x; then
4283 AC_ERROR(["cannot find Perl"])
4284 fi
4285
4286 Source Code
4287 ***********
4288
4289 Download the latest version of 'ax_perl_ext.m4'
4290 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_perl_ext.m4)
4291 or browse the macro's revision history
4292 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_perl_ext.m4).
4293
4294 License
4295 *******
4296
4297 Copyright (C) 2011 Stanislav Sedov <stas@FreeBSD.org>
4298 Copyright (C) 2014 Thomas Klausner <tk@giga.or.at>
4299
4300 Redistribution and use in source and binary forms, with or without
4301 modification, are permitted provided that the following conditions are
4302 met:
4303
4304 1. Redistributions of source code must retain the above copyright
4305 notice, this list of conditions and the following disclaimer.
4306
4307 2. Redistributions in binary form must reproduce the above copyright
4308 notice, this list of conditions and the following disclaimer in the
4309 documentation and/or other materials provided with the distribution.
4310
4311 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY
4312 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
4313 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
4314 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
4315 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
4316 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
4317 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
4318 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
4319 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
4320 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
4321 THE POSSIBILITY OF SUCH DAMAGE.
4322
4323 
4324 File: autoconf-archive.info, Node: ax_perl_ext_flags, Next: ax_perl_module_version, Prev: ax_perl_ext, Up: The Macros
4325
4326 ax_perl_ext_flags
4327 =================
4328
4329 Synopsis
4330 ********
4331
4332 AX_PERL_EXT_FLAGS([CFLAGS-VARIABLE], [LDFLAGS-VARIABLE], [EXTRA-MODULES])
4333 AX_PERL_EXT_CFLAGS([CFLAGS-VARIABLE])
4334 AX_PERL_EXT_LDFLAGS([LDFLAGS-VARIABLE], [EXTRA-MODULES])
4335
4336 Description
4337 ***********
4338
4339 Fetches the linker flags and C compiler flags for compiling and linking
4340 programs that embed a Perl interpreter. If the EXTRA-MODULES argument
4341 is submitted, it is a space separated list of extra modules to link.
4342 The flags will be stored in the provided variables.
4343
4344 Examples:
4345
4346 AX_PERL_EXT_FLAGS([PERLXS_CFLAGS], [PERLXS_LDFLAGS])
4347 AC_SUBST([PERLXS_CFLAGS])
4348 AC_SUBST([PERLXS_LDFLAGS])
4349
4350 AX_PERL_EXT_CFLAGS([PERLXS_CFLAGS])
4351 AC_SUBST([PERLXS_CFLAGS])
4352
4353 AX_PERL_EXT_LDFLAGS([PERLXS_LDFLAGS], [-std Socket])
4354
4355 Source Code
4356 ***********
4357
4358 Download the latest version of 'ax_perl_ext_flags.m4'
4359 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_perl_ext_flags.m4)
4360 or browse the macro's revision history
4361 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_perl_ext_flags.m4).
4362
4363 License
4364 *******
4365
4366 Copyright (C) 2009 Mats Kindahl of Sun Microsystems <mats@sun.com>
4367
4368 Redistribution and use in source and binary forms, with or without
4369 modification, are permitted provided that the following conditions are
4370 met:
4371
4372 1. Redistributions of source code must retain the above copyright
4373 notice, this list of conditions and the following disclaimer.
4374
4375 2. Redistributions in binary form must reproduce the above copyright
4376 notice, this list of conditions and the following disclaimer in the
4377 documentation and/or other materials provided with the distribution.
4378
4379 3. The name of the author may not be used to endorse or promote
4380 products derived from this software without specific prior written
4381 permission.
4382
4383 THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
4384 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
4385 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
4386 DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
4387 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
4388 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
4389 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
4390 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
4391 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
4392 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
4393 POSSIBILITY OF SUCH DAMAGE.
4394
4395 
4396 File: autoconf-archive.info, Node: ax_perl_module_version, Next: ax_pgsql_priv_root, Prev: ax_perl_ext_flags, Up: The Macros
4397
4398 ax_perl_module_version
4399 ======================
4400
4401 Synopsis
4402 ********
4403
4404 AX_PERL_MODULE_VERSION([MODULE VERSION], [ACTION-IF-TRUE], [ACTION-IF-FALSE])
4405
4406 Description
4407 ***********
4408
4409 Checks to see if the list of 'Module Version' are available in the
4410 system. If all the modules in the list are available ACTION-IF-TRUE is
4411 executed. Case one module is not available ACTION-IF-FALSE is executed
4412 and the macro execution is aborted. NOTE: Perl is needed.
4413
4414 Example:
4415
4416 AX_PERL_MODULE_VERSION(CGI::Test 0.104 CGI::Ajax 0.694, ,
4417 AC_MSG_ERROR(Need some Perl modules))
4418
4419 Source Code
4420 ***********
4421
4422 Download the latest version of 'ax_perl_module_version.m4'
4423 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_perl_module_version.m4)
4424 or browse the macro's revision history
4425 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_perl_module_version.m4).
4426
4427 License
4428 *******
4429
4430 Copyright (C) 2009 Marco Gomes <mpglesi@gmail.com>
4431 Copyright (C) 2009 Ruben Fonseca <fonseka@gmail.com>
4432
4433 Copying and distribution of this file, with or without modification, are
4434 permitted in any medium without royalty provided the copyright notice
4435 and this notice are preserved. This file is offered as-is, without any
4436 warranty.
4437
4438 
4439 File: autoconf-archive.info, Node: ax_pgsql_priv_root, Next: ax_pkg_check_modules, Prev: ax_perl_module_version, Up: The Macros
4440
4441 ax_pgsql_priv_root
4442 ==================
4443
4444 Synopsis
4445 ********
4446
4447 AX_PGSQL_PRIV_ROOT(DB, USER, [HOST], [PASSWORD], [ACTION_IF_FAILED], [ACTION_IF_OK])
4448
4449 Description
4450 ***********
4451
4452 This macro checks whether the given PostgreSQL user has root privileges
4453 (can create and drop databases) It is recommended to first call
4454 AX_CHECK_PGSQL_DB, this makes it easier to locate the cause of error.
4455 The macro AX_PROG_PGCLIENT is required by this one.
4456
4457 The variable $pgclient_root_call is set for later use in Makefiles, if
4458 you'd like to make use of this, you must do
4459
4460 AC_SUBST(pgclient_root_call)
4461
4462 after having called AX_CHECK_PGSQL_PRIV_ROOT. You can then do something
4463 like the following in your Makefile.am:
4464
4465 @pgclient_root_call@ -f file.sql
4466
4467 If you want the user to set the data, you should support something like
4468 these configure options:
4469
4470 AC_ARG_WITH(pgsql-host,
4471 [ --with-pgsql-host=HOST server is running on HOST @<:@local socket@:>@],
4472 [pg_host=$withval], [pg_host=])
4473
4474 AC_ARG_WITH(pgsql-db,
4475 [ --with-pgsql-db=DBNAME use database DBNAME @<:@test@:>@],
4476 [pg_db=$withval], [pg_db=test])
4477
4478 AC_ARG_WITH(pgsql-root-user,
4479 [ --with-pgsql-root-user=USER use user USER, must have root (all) privileges @<:@postgres@:>@],
4480 [pg_root_user=$withval], [pg_root_user=postgres])
4481
4482 AC_ARG_WITH(pgsql-password,
4483 [ --with-pgsql-password=PASSWORD use password PASSWORD @<:@none@:>@],
4484 [pg_password=$withval], [pg_password=""])
4485
4486 You can then call the macro like this:
4487
4488 AX_CHECK_PGSQL_PRIV_ROOT([$pg_db], [$pg_root_user], [$pg_host], [$pg_password], [AC_MSG_ERROR([We need root privileges on database!])])
4489
4490 Source Code
4491 ***********
4492
4493 Download the latest version of 'ax_pgsql_priv_root.m4'
4494 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pgsql_priv_root.m4)
4495 or browse the macro's revision history
4496 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pgsql_priv_root.m4).
4497
4498 License
4499 *******
4500
4501 Copyright (C) 2008 Moritz Sinn <moritz@freesources.org>
4502
4503 This program is free software; you can redistribute it and/or modify it
4504 under the terms of the GNU General Public License as published by the
4505 Free Software Foundation; either version 2 of the License, or (at your
4506 option) any later version.
4507
4508 This program is distributed in the hope that it will be useful, but
4509 WITHOUT ANY WARRANTY; without even the implied warranty of
4510 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
4511 Public License for more details.
4512
4513 You should have received a copy of the GNU General Public License along
4514 with this program. If not, see <https://www.gnu.org/licenses/>.
4515
4516 As a special exception, the respective Autoconf Macro's copyright owner
4517 gives unlimited permission to copy, distribute and modify the configure
4518 scripts that are the output of Autoconf when processing the Macro. You
4519 need not follow the terms of the GNU General Public License when using
4520 or distributing such scripts, even though portions of the text of the
4521 Macro appear in them. The GNU General Public License (GPL) does govern
4522 all other use of the material that constitutes the Autoconf Macro.
4523
4524 This special exception to the GPL applies to versions of the Autoconf
4525 Macro released by the Autoconf Archive. When you make and distribute a
4526 modified version of the Autoconf Macro, you may extend this special
4527 exception to the GPL to apply to your modified version as well.
4528
4529 
4530 File: autoconf-archive.info, Node: ax_pkg_check_modules, Next: ax_pkg_mico, Prev: ax_pgsql_priv_root, Up: The Macros
4531
4532 ax_pkg_check_modules
4533 ====================
4534
4535 Synopsis
4536 ********
4537
4538 AX_PKG_CHECK_MODULES(PREFIX, PUBLIC-MODULES, PRIVATE-MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [PUBLIC-VARIABLE], [PRIVATE-VARIABLE])
4539
4540 Description
4541 ***********
4542
4543 A wrapper around PKG_CHECK_MODULES which splits the list of modules into
4544 public and private dependencies, and produces two variables listing the
4545 dependencies across all invocations of AX_PKG_CHECK_MODULES. These two
4546 variables are exposed via AC_SUBST, and should be used in a pkg-config
4547 file as the substituted values for Requires and Requires.private.
4548
4549 The PREFIX, PUBLIC-MODULES and PRIVATE-MODULES arguments should be
4550 specified as for PKG_CHECK_MODULES, with the concatenation of
4551 PUBLIC-MODULES and PRIVATE-MODULES equaling the LIST-OF-MODULES from
4552 PKG_CHECK_MODULES. The ACTION-IF-FOUND and ACTION-IF-NOT-FOUND arguments
4553 are optional, and should also be specified as for PKG_CHECK_MODULES.
4554 ACTION-IF-FOUND is evaluated if the full LIST-OF-MODULES is found;
4555 ACTION-IF-NOT-FOUND similarly.
4556
4557 PUBLIC-VARIABLE defaults to AX_PACKAGE_REQUIRES, and PRIVATE-VARIABLE
4558 defaults to AX_PACKAGE_REQUIRES_PRIVATE. Both variables are AC_SUBST-ed
4559 by this macro.
4560
4561 For example:
4562
4563 AX_PKG_CHECK_MODULES([GLIB],[glib-2.0 gio-2.0],[gthread-2.0])
4564 AX_PKG_CHECK_MODULES([DBUS],[],[dbus-glib-1 >= 0.98 dbus-1])
4565
4566 results in the substitutions:
4567
4568 AX_PACKAGE_REQUIRES="glib-2.0 gio-2.0"
4569 AX_PACKAGE_REQUIRES_PRIVATE="gthread-2.0 dbus-glib-1 >= 0.98 dbus-1"
4570
4571 and can be used with a template pkg-config file (.pc.in) using:
4572
4573 Requires: @AX_PACKAGE_REQUIRES@
4574 Requires.private: @AX_PACKAGE_REQUIRES_PRIVATE@
4575
4576 Source Code
4577 ***********
4578
4579 Download the latest version of 'ax_pkg_check_modules.m4'
4580 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pkg_check_modules.m4)
4581 or browse the macro's revision history
4582 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pkg_check_modules.m4).
4583
4584 License
4585 *******
4586
4587 Copyright (C) 2014 Philip Withnall <philip@tecnocode.co.uk>
4588
4589 Copying and distribution of this file, with or without modification, are
4590 permitted in any medium without royalty provided the copyright notice
4591 and this notice are preserved. This file is offered as-is, without any
4592 warranty.
4593
4594 
4595 File: autoconf-archive.info, Node: ax_pkg_mico, Next: ax_pkg_swig, Prev: ax_pkg_check_modules, Up: The Macros
4596
4597 ax_pkg_mico
4598 ===========
4599
4600 Synopsis
4601 ********
4602
4603 AX_PKG_MICO([X.X.X optional required])
4604
4605 Description
4606 ***********
4607
4608 This macro searches for a MICO installation on your system. MICO (Mico
4609 Is COrba) installs the file 'mico-setup.sh' under MICO_INSTALL_BASE/lib,
4610 where MICO_INSTALL_BASE is probably /usr/local or /usr. If nothing was
4611 specified when calling configure or just -with-mico, it searches in
4612 $prefix/lib:/usr/local/lib:/usr/lib The argument of s-with-mico
4613 specifies the full pathname of the mico-setup.sh file. For instance
4614 -with-mico=/usr/local/mico-2.2.6/lib/mico-setup.sh.
4615
4616 If the version argument is given (e.g. 2.2.6), AX_PKG_MICO checks that
4617 the mico package is this version number or higher.
4618
4619 The other optional argument to AX_PKG_MICO are 'optional' and
4620 'required'. by default, placing AX_PKG_MICO in your configure.in does
4621 not enforce using mico, if it is not found on the system. If MICO
4622 existence is critical for the building of your package, then you
4623 probably want to specify something like "AX_PKG_MICO(2.2.6 required)".
4624 Then, even if the -with-mico was not specified on the command line of
4625 the configure script, an error will be raised if mico was not found.
4626
4627 If the mico package is not found, abort configuration with error
4628 message.
4629
4630 It defines the symbol MICOSETUP, MICOVERSION, MICOSHAREDDIR
4631 MICO_INCLUDE, MICO_LIB and MICO_CXX if mico is found. In addition, the
4632 mico script mico-c++ (set in (MICO_CXX) is scaned for a string match
4633 "-I.*ministl" and if foundMICO_USE_MINISTL is set to 1, otherwise to 0.
4634
4635 Example of use of these variables in your Makefile.in:
4636
4637 INCLUDES += @MICO_INCLUDE@
4638 LDFLAGS += @MICO_LIB@
4639
4640 Source Code
4641 ***********
4642
4643 Download the latest version of 'ax_pkg_mico.m4'
4644 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pkg_mico.m4)
4645 or browse the macro's revision history
4646 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pkg_mico.m4).
4647
4648 License
4649 *******
4650
4651 Copyright (C) 2008 Tal Shalif <tal@shalif.com>
4652
4653 Copying and distribution of this file, with or without modification, are
4654 permitted in any medium without royalty provided the copyright notice
4655 and this notice are preserved. This file is offered as-is, without any
4656 warranty.
4657
4658 
4659 File: autoconf-archive.info, Node: ax_pkg_swig, Next: ax_prefix_config_h, Prev: ax_pkg_mico, Up: The Macros
4660
4661 ax_pkg_swig
4662 ===========
4663
4664 Synopsis
4665 ********
4666
4667 AX_PKG_SWIG([major.minor.micro], [action-if-found], [action-if-not-found])
4668
4669 Description
4670 ***********
4671
4672 This macro searches for a SWIG installation on your system. If found,
4673 then SWIG is AC_SUBST'd; if not found, then $SWIG is empty. If SWIG is
4674 found, then SWIG_LIB is set to the SWIG library path, and AC_SUBST'd.
4675
4676 You can use the optional first argument to check if the version of the
4677 available SWIG is greater than or equal to the value of the argument.
4678 It should have the format: N[.N[.N]] (N is a number between 0 and 999.
4679 Only the first N is mandatory.) If the version argument is given (e.g.
4680 1.3.17), AX_PKG_SWIG checks that the swig package is this version number
4681 or higher.
4682
4683 As usual, action-if-found is executed if SWIG is found, otherwise
4684 action-if-not-found is executed.
4685
4686 In configure.in, use as:
4687
4688 AX_PKG_SWIG(1.3.17, [], [ AC_MSG_ERROR([SWIG is required to build..]) ])
4689 AX_SWIG_ENABLE_CXX
4690 AX_SWIG_MULTI_MODULE_SUPPORT
4691 AX_SWIG_PYTHON
4692
4693 Source Code
4694 ***********
4695
4696 Download the latest version of 'ax_pkg_swig.m4'
4697 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pkg_swig.m4)
4698 or browse the macro's revision history
4699 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pkg_swig.m4).
4700
4701 License
4702 *******
4703
4704 Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
4705 Copyright (C) 2008 Alan W. Irwin
4706 Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
4707 Copyright (C) 2008 Andrew Collier
4708 Copyright (C) 2011 Murray Cumming <murrayc@openismus.com>
4709
4710 This program is free software; you can redistribute it and/or modify it
4711 under the terms of the GNU General Public License as published by the
4712 Free Software Foundation; either version 2 of the License, or (at your
4713 option) any later version.
4714
4715 This program is distributed in the hope that it will be useful, but
4716 WITHOUT ANY WARRANTY; without even the implied warranty of
4717 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
4718 Public License for more details.
4719
4720 You should have received a copy of the GNU General Public License along
4721 with this program. If not, see <https://www.gnu.org/licenses/>.
4722
4723 As a special exception, the respective Autoconf Macro's copyright owner
4724 gives unlimited permission to copy, distribute and modify the configure
4725 scripts that are the output of Autoconf when processing the Macro. You
4726 need not follow the terms of the GNU General Public License when using
4727 or distributing such scripts, even though portions of the text of the
4728 Macro appear in them. The GNU General Public License (GPL) does govern
4729 all other use of the material that constitutes the Autoconf Macro.
4730
4731 This special exception to the GPL applies to versions of the Autoconf
4732 Macro released by the Autoconf Archive. When you make and distribute a
4733 modified version of the Autoconf Macro, you may extend this special
4734 exception to the GPL to apply to your modified version as well.
4735
4736 
4737 File: autoconf-archive.info, Node: ax_prefix_config_h, Next: ax_prepend_flag, Prev: ax_pkg_swig, Up: The Macros
4738
4739 ax_prefix_config_h
4740 ==================
4741
4742 Synopsis
4743 ********
4744
4745 AX_PREFIX_CONFIG_H [(OUTPUT-HEADER [,PREFIX [,ORIG-HEADER]])]
4746
4747 Description
4748 ***********
4749
4750 Generate an installable config.h.
4751
4752 A package should not normally install its config.h as a system header,
4753 but if it must, this macro can be used to avoid namespace pollution by
4754 making a copy of config.h with a prefix added to all the macro names.
4755
4756 Each "#define SOMEDEF" line of the configuration header has the given
4757 prefix added, in the same case as the first character of the macro name.
4758
4759 Defaults:
4760
4761 OUTPUT-HEADER = $PACKAGE-config.h
4762 PREFIX = $PACKAGE
4763 ORIG-HEADER, from AM_CONFIG_HEADER(config.h)
4764
4765 Your configure.ac script should contain both macros in this order.
4766
4767 Example:
4768
4769 AC_INIT(config.h.in) # config.h.in as created by "autoheader"
4770 AM_INIT_AUTOMAKE(testpkg, 0.1.1) # makes #undef VERSION and PACKAGE
4771 AM_CONFIG_HEADER(config.h) # prep config.h from config.h.in
4772 AX_PREFIX_CONFIG_H(mylib/_config.h) # prep mylib/_config.h from it..
4773 AC_MEMORY_H # makes "#undef NEED_MEMORY_H"
4774 AC_C_CONST_H # makes "#undef const"
4775 AC_OUTPUT(Makefile) # creates the "config.h" now
4776 # and also mylib/_config.h
4777
4778 If the argument to AX_PREFIX_CONFIG_H would have been omitted then the
4779 default output file would have been called simply "testpkg-config.h",
4780 but even under the name "mylib/_config.h" it contains prefix-defines
4781 like
4782
4783 #ifndef TESTPKG_VERSION
4784 #define TESTPKG_VERSION "0.1.1"
4785 #endif
4786 #ifndef TESTPKG_NEED_MEMORY_H
4787 #define TESTPKG_NEED_MEMORY_H 1
4788 #endif
4789 #ifndef _testpkg_const
4790 #define _testpkg_const _const
4791 #endif
4792
4793 and this "mylib/_config.h" can be installed along with other header
4794 files, which is most convenient when creating a shared library (that has
4795 some headers) whose functionality depends on features detected at
4796 compile-time. No need to invent some "mylib-confdefs.h.in" manually.
4797
4798 Note that some AC_DEFINEs that end up in the config.h file are actually
4799 self-referential - e.g. AC_C_INLINE, AC_C_CONST, and the AC_TYPE_OFF_T
4800 say that they "will define inline|const|off_t if the system does not do
4801 it by itself". You might want to clean up about these - consider an
4802 extra mylib/conf.h that reads something like:
4803
4804 #include <mylib/_config.h>
4805 #ifndef _testpkg_const
4806 #define _testpkg_const const
4807 #endif
4808
4809 and then start using _testpkg_const in the header files. That is also a
4810 good thing to differentiate whether some library-user has starting to
4811 take up with a different compiler, so perhaps it could read something
4812 like this:
4813
4814 #ifdef _MSC_VER
4815 #include <mylib/_msvc.h>
4816 #else
4817 #include <mylib/_config.h>
4818 #endif
4819 #ifndef _testpkg_const
4820 #define _testpkg_const const
4821 #endif
4822
4823 Source Code
4824 ***********
4825
4826 Download the latest version of 'ax_prefix_config_h.m4'
4827 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prefix_config_h.m4)
4828 or browse the macro's revision history
4829 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prefix_config_h.m4).
4830
4831 License
4832 *******
4833
4834 Copyright (C) 2014 Reuben Thomas <rrt@sc3d.org>
4835 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4836 Copyright (C) 2008 Marten Svantesson
4837 Copyright (C) 2008 Gerald Point <Gerald.Point@labri.fr>
4838
4839 This program is free software; you can redistribute it and/or modify it
4840 under the terms of the GNU General Public License as published by the
4841 Free Software Foundation; either version 3 of the License, or (at your
4842 option) any later version.
4843
4844 This program is distributed in the hope that it will be useful, but
4845 WITHOUT ANY WARRANTY; without even the implied warranty of
4846 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
4847 Public License for more details.
4848
4849 You should have received a copy of the GNU General Public License along
4850 with this program. If not, see <https://www.gnu.org/licenses/>.
4851
4852 As a special exception, the respective Autoconf Macro's copyright owner
4853 gives unlimited permission to copy, distribute and modify the configure
4854 scripts that are the output of Autoconf when processing the Macro. You
4855 need not follow the terms of the GNU General Public License when using
4856 or distributing such scripts, even though portions of the text of the
4857 Macro appear in them. The GNU General Public License (GPL) does govern
4858 all other use of the material that constitutes the Autoconf Macro.
4859
4860 This special exception to the GPL applies to versions of the Autoconf
4861 Macro released by the Autoconf Archive. When you make and distribute a
4862 modified version of the Autoconf Macro, you may extend this special
4863 exception to the GPL to apply to your modified version as well.
4864
4865 
4866 File: autoconf-archive.info, Node: ax_prepend_flag, Next: ax_print_to_file, Prev: ax_prefix_config_h, Up: The Macros
4867
4868 ax_prepend_flag
4869 ===============
4870
4871 Synopsis
4872 ********
4873
4874 AX_PREPEND_FLAG(FLAG, [FLAGS-VARIABLE])
4875
4876 Description
4877 ***********
4878
4879 FLAG is added to the front of the FLAGS-VARIABLE shell variable, with a
4880 space added in between.
4881
4882 If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
4883 CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains
4884 FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly
4885 FLAG.
4886
4887 NOTE: Implementation based on AX_APPEND_FLAG.
4888
4889 Source Code
4890 ***********
4891
4892 Download the latest version of 'ax_prepend_flag.m4'
4893 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prepend_flag.m4)
4894 or browse the macro's revision history
4895 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prepend_flag.m4).
4896
4897 License
4898 *******
4899
4900 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4901 Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
4902 Copyright (C) 2018 John Zaitseff <J.Zaitseff@zap.org.au>
4903
4904 Copying and distribution of this file, with or without modification, are
4905 permitted in any medium without royalty provided the copyright notice
4906 and this notice are preserved. This file is offered as-is, without any
4907 warranty.
4908
4909 
4910 File: autoconf-archive.info, Node: ax_print_to_file, Next: ax_printf_size_t, Prev: ax_prepend_flag, Up: The Macros
4911
4912 ax_print_to_file
4913 ================
4914
4915 Synopsis
4916 ********
4917
4918 AX_PRINT_TO_FILE([FILE],[DATA])
4919
4920 Description
4921 ***********
4922
4923 Writes the specified data to the specified file.
4924
4925 Source Code
4926 ***********
4927
4928 Download the latest version of 'ax_print_to_file.m4'
4929 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_print_to_file.m4)
4930 or browse the macro's revision history
4931 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_print_to_file.m4).
4932
4933 License
4934 *******
4935
4936 Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
4937
4938 Copying and distribution of this file, with or without modification, are
4939 permitted in any medium without royalty provided the copyright notice
4940 and this notice are preserved. This file is offered as-is, without any
4941 warranty.
4942
4943 
4944 File: autoconf-archive.info, Node: ax_printf_size_t, Next: ax_prog_apache, Prev: ax_print_to_file, Up: The Macros
4945
4946 ax_printf_size_t
4947 ================
4948
4949 Synopsis
4950 ********
4951
4952 AX_PRINTF_SIZE_T
4953
4954 Description
4955 ***********
4956
4957 Check for the appropriate printf() format string modifier to use with a
4958 size_t argument. If a suitable modifier is found, it is AC_DEFINE'd as
4959 PRI_SIZE_T_MODIFIER, and can be used in C code as e.g.
4960
4961 printf("Size = %" PRI_SIZE_T_MODIFIER "u bytes.\n", sizeof(foo));
4962
4963 If you use the PRIxNN macros from ISO C99's <inttypes.h>, you may wish
4964 to define a supplemental set of macros along similar lines:
4965
4966 #define PRIdSIZE PRI_SIZE_T_MODIFIER "d"
4967 #define PRIiSIZE PRI_SIZE_T_MODIFIER "i"
4968 #define PRIoSIZE PRI_SIZE_T_MODIFIER "o"
4969 #define PRIuSIZE PRI_SIZE_T_MODIFIER "u"
4970 #define PRIxSIZE PRI_SIZE_T_MODIFIER "x"
4971 #define PRIXSIZE PRI_SIZE_T_MODIFIER "X"
4972
4973 Note: This macro invokes a test program to check whether a given format
4974 modifier is understood by the system's sprintf() function. If the user
4975 is cross-compiling, then this check cannot be performed, and thereby
4976 PRI_SIZE_T_MODIFIER will remain undefined.
4977
4978 Source Code
4979 ***********
4980
4981 Download the latest version of 'ax_printf_size_t.m4'
4982 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_printf_size_t.m4)
4983 or browse the macro's revision history
4984 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_printf_size_t.m4).
4985
4986 License
4987 *******
4988
4989 Copyright (C) 2012 Daniel Richard G. <skunk@iSKUNK.ORG>
4990
4991 Copying and distribution of this file, with or without modification, are
4992 permitted in any medium without royalty provided the copyright notice
4993 and this notice are preserved. This file is offered as-is, without any
4994 warranty.
4995
4996 
4997 File: autoconf-archive.info, Node: ax_prog_apache, Next: ax_prog_bison, Prev: ax_printf_size_t, Up: The Macros
4998
4999 ax_prog_apache
5000 ==============
5001
5002 Synopsis
5003 ********
5004
5005 AX_PROG_APACHE([version])
5006
5007 Description
5008 ***********
5009
5010 This macro searches for an installed apache server. If nothing was
5011 specified when calling configure or just -with-apache, it searches in
5012 /usr/local/apache/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
5013 The argument of -with-apache specifies the full pathname of the httpd
5014 argument. For instance -with-apache=/usr/sbin/httpd.
5015
5016 If the version argument is given, AX_PROG_APACHE checks that the apache
5017 server is this version number or higher.
5018
5019 If the apache server is not found, abort configuration with error
5020 message.
5021
5022 It defines the symbol APACHE if the server is found.
5023
5024 Files using apache should do the following:
5025
5026 @APACHE@ -d /etc/httpd
5027
5028 It defines the symbol APACHE_MODULES if a directory containing mod_env.*
5029 is found in the default server root directory (obtained with httpd -V).
5030
5031 The httpd.conf file listing modules to be loaded dynamically can use
5032 @APACHE_MODULES@ to grab them in the appropriate sub directory. For
5033 instance:
5034
5035 ...
5036 <IfModule mod_so.c>
5037 LoadModule env_module @APACHE_MODULES@/mod_env.so
5038 LoadModule config_log_module @APACHE_MODULES@/mod_log_config.so
5039 ...
5040
5041 Source Code
5042 ***********
5043
5044 Download the latest version of 'ax_prog_apache.m4'
5045 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_apache.m4)
5046 or browse the macro's revision history
5047 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_apache.m4).
5048
5049 License
5050 *******
5051
5052 Copyright (C) 2008 Loic Dachary <loic@senga.org>
5053
5054 This program is free software; you can redistribute it and/or modify it
5055 under the terms of the GNU General Public License as published by the
5056 Free Software Foundation; either version 2 of the License, or (at your
5057 option) any later version.
5058
5059 This program is distributed in the hope that it will be useful, but
5060 WITHOUT ANY WARRANTY; without even the implied warranty of
5061 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
5062 Public License for more details.
5063
5064 You should have received a copy of the GNU General Public License along
5065 with this program. If not, see <https://www.gnu.org/licenses/>.
5066
5067 As a special exception, the respective Autoconf Macro's copyright owner
5068 gives unlimited permission to copy, distribute and modify the configure
5069 scripts that are the output of Autoconf when processing the Macro. You
5070 need not follow the terms of the GNU General Public License when using
5071 or distributing such scripts, even though portions of the text of the
5072 Macro appear in them. The GNU General Public License (GPL) does govern
5073 all other use of the material that constitutes the Autoconf Macro.
5074
5075 This special exception to the GPL applies to versions of the Autoconf
5076 Macro released by the Autoconf Archive. When you make and distribute a
5077 modified version of the Autoconf Macro, you may extend this special
5078 exception to the GPL to apply to your modified version as well.
5079
5080 
5081 File: autoconf-archive.info, Node: ax_prog_bison, Next: ax_prog_bison_version, Prev: ax_prog_apache, Up: The Macros
5082
5083 ax_prog_bison
5084 =============
5085
5086 Synopsis
5087 ********
5088
5089 AX_PROG_BISON(ACTION-IF-TRUE,ACTION-IF-FALSE)
5090
5091 Description
5092 ***********
5093
5094 Check whether bison is the parser generator. Run ACTION-IF-TRUE if
5095 successful, ACTION-IF-FALSE otherwise
5096
5097 Source Code
5098 ***********
5099
5100 Download the latest version of 'ax_prog_bison.m4'
5101 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_bison.m4)
5102 or browse the macro's revision history
5103 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_bison.m4).
5104
5105 License
5106 *******
5107
5108 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5109
5110 Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
5111
5112 This program is free software; you can redistribute it and/or modify it
5113 under the terms of the GNU General Public License as published by the
5114 Free Software Foundation; either version 2 of the License, or (at your
5115 option) any later version.
5116
5117 This program is distributed in the hope that it will be useful, but
5118 WITHOUT ANY WARRANTY; without even the implied warranty of
5119 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
5120 Public License for more details.
5121
5122 You should have received a copy of the GNU General Public License along
5123 with this program. If not, see <https://www.gnu.org/licenses/>.
5124
5125 As a special exception, the respective Autoconf Macro's copyright owner
5126 gives unlimited permission to copy, distribute and modify the configure
5127 scripts that are the output of Autoconf when processing the Macro. You
5128 need not follow the terms of the GNU General Public License when using
5129 or distributing such scripts, even though portions of the text of the
5130 Macro appear in them. The GNU General Public License (GPL) does govern
5131 all other use of the material that constitutes the Autoconf Macro.
5132
5133 This special exception to the GPL applies to versions of the Autoconf
5134 Macro released by the Autoconf Archive. When you make and distribute a
5135 modified version of the Autoconf Macro, you may extend this special
5136 exception to the GPL to apply to your modified version as well.
5137
5138 
5139 File: autoconf-archive.info, Node: ax_prog_bison_version, Next: ax_prog_cc_char_subscripts, Prev: ax_prog_bison, Up: The Macros
5140
5141 ax_prog_bison_version
5142 =====================
5143
5144 Synopsis
5145 ********
5146
5147 AX_PROG_BISON_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
5148
5149 Description
5150 ***********
5151
5152 Makes sure that bison version is greater or equal to the version
5153 indicated. If true the shell commands in ACTION-IF-TRUE are executed.
5154 If not the shell commands in commands in ACTION-IF-TRUE are executed.
5155 If not the shell commands in ACTION-IF-FALSE are run. Note if $BISON is
5156 not set (for example by running AC_CHECK_PROG or AC_PATH_PROG) the macro
5157 will fail.
5158
5159 Example:
5160
5161 AC_PATH_PROG([BISON],[bison])
5162 AX_PROG_BISON_VERSION([3.0.2],[ ... ],[ ... ])
5163
5164 This will check to make sure that the bison you have is at least version
5165 3.0.2 or greater.
5166
5167 NOTE: This macro uses the $BISON variable to perform the check.
5168
5169 Source Code
5170 ***********
5171
5172 Download the latest version of 'ax_prog_bison_version.m4'
5173 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_bison_version.m4)
5174 or browse the macro's revision history
5175 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_bison_version.m4).
5176
5177 License
5178 *******
5179
5180 Copyright (C) 2015 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
5181
5182 Copying and distribution of this file, with or without modification, are
5183 permitted in any medium without royalty provided the copyright notice
5184 and this notice are preserved. This file is offered as-is, without any
5185 warranty.
5186
5187 
5188 File: autoconf-archive.info, Node: ax_prog_cc_char_subscripts, Next: ax_prog_cc_for_build, Prev: ax_prog_bison_version, Up: The Macros
5189
5190 ax_prog_cc_char_subscripts
5191 ==========================
5192
5193 Synopsis
5194 ********
5195
5196 AX_PROG_CC_CHAR_SUBSCRIPTS(substvar [,hard])
5197
5198 Description
5199 ***********
5200
5201 Try to find a compiler option that enables usage of char-type to index a
5202 value-field. This one needs unsigned-chars and it must suppress
5203 warnings about usage of chars for subscripting. for gcc -funsigned-char
5204 -Wno-char-subscripts
5205
5206 Currently this macro knows about GCC. hopefully will evolve to use:
5207 Solaris C compiler, Digital Unix C compiler, C for AIX Compiler, HP-UX C
5208 compiler, and IRIX C compiler.
5209
5210 Source Code
5211 ***********
5212
5213 Download the latest version of 'ax_prog_cc_char_subscripts.m4'
5214 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_char_subscripts.m4)
5215 or browse the macro's revision history
5216 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cc_char_subscripts.m4).
5217
5218 License
5219 *******
5220
5221 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
5222
5223 Copying and distribution of this file, with or without modification, are
5224 permitted in any medium without royalty provided the copyright notice
5225 and this notice are preserved. This file is offered as-is, without any
5226 warranty.
5227
5228 
5229 File: autoconf-archive.info, Node: ax_prog_cc_for_build, Next: ax_prog_cc_mpi, Prev: ax_prog_cc_char_subscripts, Up: The Macros
5230
5231 ax_prog_cc_for_build
5232 ====================
5233
5234 Synopsis
5235 ********
5236
5237 AX_PROG_CC_FOR_BUILD
5238
5239 Description
5240 ***********
5241
5242 This macro searches for a C compiler that generates native executables,
5243 that is a C compiler that surely is not a cross-compiler. This can be
5244 useful if you have to generate source code at compile-time like for
5245 example GCC does.
5246
5247 The macro sets the CC_FOR_BUILD and CPP_FOR_BUILD macros to anything
5248 needed to compile or link (CC_FOR_BUILD) and preprocess (CPP_FOR_BUILD).
5249 The value of these variables can be overridden by the user by specifying
5250 a compiler with an environment variable (like you do for standard CC).
5251
5252 It also sets BUILD_EXEEXT and BUILD_OBJEXT to the executable and object
5253 file extensions for the build platform, and GCC_FOR_BUILD to 'yes' if
5254 the compiler we found is GCC. All these variables but GCC_FOR_BUILD are
5255 substituted in the Makefile.
5256
5257 Source Code
5258 ***********
5259
5260 Download the latest version of 'ax_prog_cc_for_build.m4'
5261 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_for_build.m4)
5262 or browse the macro's revision history
5263 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cc_for_build.m4).
5264
5265 License
5266 *******
5267
5268 Copyright (C) 2008 Paolo Bonzini <bonzini@gnu.org>
5269
5270 Copying and distribution of this file, with or without modification, are
5271 permitted in any medium without royalty provided the copyright notice
5272 and this notice are preserved. This file is offered as-is, without any
5273 warranty.
5274
5275 
5276 File: autoconf-archive.info, Node: ax_prog_cc_mpi, Next: ax_prog_cp_s, Prev: ax_prog_cc_for_build, Up: The Macros
5277
5278 ax_prog_cc_mpi
5279 ==============
5280
5281 Synopsis
5282 ********
5283
5284 AX_PROG_CC_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
5285
5286 Description
5287 ***********
5288
5289 This macro tries to find out how to compile C programs that use MPI
5290 (Message Passing Interface), a standard API for parallel process
5291 communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
5292 be used instead of the standard macro AC_PROG_CC and will replace the
5293 standard variable CC with the found compiler.
5294
5295 MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
5296 user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
5297 try to find out how to use MPI, if it fails, the macro will call
5298 AC_PROG_CC to find a standard C compiler instead.
5299
5300 When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
5301 (or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
5302 ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
5303
5304 The following example demonstrates usage of the macro:
5305
5306 # If --with-mpi=auto is used, try to find MPI, but use standard C compiler if it is not found.
5307 # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
5308 # If --with-mpi=no is used, use a standard C compiler instead.
5309 AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
5310 [compile with MPI (parallelization) support. If none is found,
5311 MPI is not used. Default: auto])
5312 ],,[with_mpi=auto])
5313 #
5314 AX_PROG_CC_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
5315 use_mpi=no
5316 if test x"$with_mpi" = xyes; then
5317 AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
5318 else
5319 AC_MSG_WARN([No MPI compiler found, won't use MPI.])
5320 fi
5321 ])
5322
5323 Source Code
5324 ***********
5325
5326 Download the latest version of 'ax_prog_cc_mpi.m4'
5327 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_mpi.m4)
5328 or browse the macro's revision history
5329 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cc_mpi.m4).
5330
5331 License
5332 *******
5333
5334 Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
5335
5336 This program is free software: you can redistribute it and/or modify it
5337 under the terms of the GNU General Public License as published by the
5338 Free Software Foundation, either version 3 of the License, or (at your
5339 option) any later version.
5340
5341 This program is distributed in the hope that it will be useful, but
5342 WITHOUT ANY WARRANTY; without even the implied warranty of
5343 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
5344 Public License for more details.
5345
5346 You should have received a copy of the GNU General Public License along
5347 with this program. If not, see <https://www.gnu.org/licenses/>.
5348
5349 As a special exception, the respective Autoconf Macro's copyright owner
5350 gives unlimited permission to copy, distribute and modify the configure
5351 scripts that are the output of Autoconf when processing the Macro. You
5352 need not follow the terms of the GNU General Public License when using
5353 or distributing such scripts, even though portions of the text of the
5354 Macro appear in them. The GNU General Public License (GPL) does govern
5355 all other use of the material that constitutes the Autoconf Macro.
5356
5357 This special exception to the GPL applies to versions of the Autoconf
5358 Macro released by the Autoconf Archive. When you make and distribute a
5359 modified version of the Autoconf Macro, you may extend this special
5360 exception to the GPL to apply to your modified version as well.
5361
5362 
5363 File: autoconf-archive.info, Node: ax_prog_cp_s, Next: ax_prog_crontab, Prev: ax_prog_cc_mpi, Up: The Macros
5364
5365 ax_prog_cp_s
5366 ============
5367
5368 Synopsis
5369 ********
5370
5371 AX_PROG_CP_S
5372
5373 Description
5374 ***********
5375
5376 Check how to make a copy by creating a symbolic link to the original -
5377 it defines the variable CP_S for further use, which you should in fact
5378 treat like it used to be with be LN_S. The actual value is assured to be
5379 either LN_S (if the filesystem supports symbolic links) or CP (if the
5380 filesystem does not know about symbolic links and you need a copy of
5381 original file to have the same text in both places). In a gnu
5382 environment it will simply set CP_S="cp -s" since the gnu "cp"-command
5383 has the "-s" flag. You shall not try to use this command on directories
5384 since it would require a "-r" in the case of a copy that is not
5385 supported explicitly here. (I'm not sure if some "cp"-commands out
5386 there would barf at usage of "-r" on a normal file).
5387
5388 Use CP_S to create a copy of read-only data - if your filesystem
5389 supports it then a symbolic link is created - a process that is quicker
5390 and space-saving. However, if the target fs does not support symbolic
5391 links, just copy the data. Unlike ac_prog_ln_s this macro will never
5392 fail to set the CP_S ac_subst to something that works.
5393
5394 Source Code
5395 ***********
5396
5397 Download the latest version of 'ax_prog_cp_s.m4'
5398 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cp_s.m4)
5399 or browse the macro's revision history
5400 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cp_s.m4).
5401
5402 License
5403 *******
5404
5405 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
5406
5407 Copying and distribution of this file, with or without modification, are
5408 permitted in any medium without royalty provided the copyright notice
5409 and this notice are preserved. This file is offered as-is, without any
5410 warranty.
5411
5412 
5413 File: autoconf-archive.info, Node: ax_prog_crontab, Next: ax_prog_cxx_for_build, Prev: ax_prog_cp_s, Up: The Macros
5414
5415 ax_prog_crontab
5416 ===============
5417
5418 Synopsis
5419 ********
5420
5421 AX_PROG_CRONTAB
5422
5423 Description
5424 ***********
5425
5426 Check for the program crontab, if exists let script continue, else pops
5427 an error message
5428
5429 Besides checking existence, this macro also set these environment
5430 variables upon completion:
5431
5432 CRONTAB = which crontab
5433
5434 Source Code
5435 ***********
5436
5437 Download the latest version of 'ax_prog_crontab.m4'
5438 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_crontab.m4)
5439 or browse the macro's revision history
5440 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_crontab.m4).
5441
5442 License
5443 *******
5444
5445 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
5446
5447 This program is free software; you can redistribute it and/or modify it
5448 under the terms of the GNU General Public License as published by the
5449 Free Software Foundation; either version 2 of the License, or (at your
5450 option) any later version.
5451
5452 This program is distributed in the hope that it will be useful, but
5453 WITHOUT ANY WARRANTY; without even the implied warranty of
5454 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
5455 Public License for more details.
5456
5457 You should have received a copy of the GNU General Public License along
5458 with this program. If not, see <https://www.gnu.org/licenses/>.
5459
5460 As a special exception, the respective Autoconf Macro's copyright owner
5461 gives unlimited permission to copy, distribute and modify the configure
5462 scripts that are the output of Autoconf when processing the Macro. You
5463 need not follow the terms of the GNU General Public License when using
5464 or distributing such scripts, even though portions of the text of the
5465 Macro appear in them. The GNU General Public License (GPL) does govern
5466 all other use of the material that constitutes the Autoconf Macro.
5467
5468 This special exception to the GPL applies to versions of the Autoconf
5469 Macro released by the Autoconf Archive. When you make and distribute a
5470 modified version of the Autoconf Macro, you may extend this special
5471 exception to the GPL to apply to your modified version as well.
5472
5473 
5474 File: autoconf-archive.info, Node: ax_prog_cxx_for_build, Next: ax_prog_cxx_mpi, Prev: ax_prog_crontab, Up: The Macros
5475
5476 ax_prog_cxx_for_build
5477 =====================
5478
5479 Synopsis
5480 ********
5481
5482 AX_PROG_CXX_FOR_BUILD
5483
5484 Description
5485 ***********
5486
5487 This macro searches for a C++ compiler that generates native
5488 executables, that is a C++ compiler that surely is not a cross-compiler.
5489 This can be useful if you have to generate source code at compile-time
5490 like for example GCC does.
5491
5492 The macro sets the CXX_FOR_BUILD and CXXCPP_FOR_BUILD macros to anything
5493 needed to compile or link (CXX_FOR_BUILD) and preprocess
5494 (CXXCPP_FOR_BUILD). The value of these variables can be overridden by
5495 the user by specifying a compiler with an environment variable (like you
5496 do for standard CXX).
5497
5498 Source Code
5499 ***********
5500
5501 Download the latest version of 'ax_prog_cxx_for_build.m4'
5502 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cxx_for_build.m4)
5503 or browse the macro's revision history
5504 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cxx_for_build.m4).
5505
5506 License
5507 *******
5508
5509 Copyright (C) 2008 Paolo Bonzini <bonzini@gnu.org>
5510 Copyright (C) 2012 Avionic Design GmbH
5511
5512 Based on the AX_PROG_CC_FOR_BUILD macro by Paolo Bonzini.
5513
5514 Copying and distribution of this file, with or without modification, are
5515 permitted in any medium without royalty provided the copyright notice
5516 and this notice are preserved. This file is offered as-is, without any
5517 warranty.
5518
5519 
5520 File: autoconf-archive.info, Node: ax_prog_cxx_mpi, Next: ax_prog_date, Prev: ax_prog_cxx_for_build, Up: The Macros
5521
5522 ax_prog_cxx_mpi
5523 ===============
5524
5525 Synopsis
5526 ********
5527
5528 AX_PROG_CXX_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
5529
5530 Description
5531 ***********
5532
5533 This macro tries to find out how to compile C++ programs that use MPI
5534 (Message Passing Interface), a standard API for parallel process
5535 communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
5536 be used instead of the standard macro AC_PROG_CXX and will replace the
5537 standard variable CXX with the found compiler.
5538
5539 MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
5540 user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
5541 try to find out how to use MPI, if it fails, the macro will call
5542 AC_PROG_CC to find a standard C compiler instead.
5543
5544 When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
5545 (or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
5546 ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
5547
5548 The following example demonstrates usage of the macro:
5549
5550 # If --with-mpi=auto is used, try to find MPI, but use standard C compiler if it is not found.
5551 # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
5552 # If --with-mpi=no is used, use a standard C compiler instead.
5553 AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
5554 [compile with MPI (parallelization) support. If none is found,
5555 MPI is not used. Default: auto])
5556 ],,[with_mpi=auto])
5557
5558 AX_PROG_CXX_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
5559 use_mpi=no
5560 if test x"$with_mpi" = xyes; then
5561 AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
5562 else
5563 AC_MSG_WARN([No MPI compiler found, won't use MPI.])
5564 fi
5565 ])
5566
5567 Source Code
5568 ***********
5569
5570 Download the latest version of 'ax_prog_cxx_mpi.m4'
5571 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cxx_mpi.m4)
5572 or browse the macro's revision history
5573 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cxx_mpi.m4).
5574
5575 License
5576 *******
5577
5578 Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
5579
5580 This program is free software: you can redistribute it and/or modify it
5581 under the terms of the GNU General Public License as published by the
5582 Free Software Foundation, either version 3 of the License, or (at your
5583 option) any later version.
5584
5585 This program is distributed in the hope that it will be useful, but
5586 WITHOUT ANY WARRANTY; without even the implied warranty of
5587 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
5588 Public License for more details.
5589
5590 You should have received a copy of the GNU General Public License along
5591 with this program. If not, see <https://www.gnu.org/licenses/>.
5592
5593 As a special exception, the respective Autoconf Macro's copyright owner
5594 gives unlimited permission to copy, distribute and modify the configure
5595 scripts that are the output of Autoconf when processing the Macro. You
5596 need not follow the terms of the GNU General Public License when using
5597 or distributing such scripts, even though portions of the text of the
5598 Macro appear in them. The GNU General Public License (GPL) does govern
5599 all other use of the material that constitutes the Autoconf Macro.
5600
5601 This special exception to the GPL applies to versions of the Autoconf
5602 Macro released by the Autoconf Archive. When you make and distribute a
5603 modified version of the Autoconf Macro, you may extend this special
5604 exception to the GPL to apply to your modified version as well.
5605
5606 
5607 File: autoconf-archive.info, Node: ax_prog_date, Next: ax_prog_dotnetcore_version, Prev: ax_prog_cxx_mpi, Up: The Macros
5608
5609 ax_prog_date
5610 ============
5611
5612 Synopsis
5613 ********
5614
5615 AX_PROG_DATE()
5616
5617 Description
5618 ***********
5619
5620 This macro tries to determine the type of the date (1) command and some
5621 of its non-standard capabilities.
5622
5623 The type is determined as follow:
5624
5625 * If the version string contains "GNU", then:
5626 - The variable ax_cv_prog_date_gnu is set to "yes".
5627 - The variable ax_cv_prog_date_type is set to "gnu".
5628
5629 * If date supports the "-v 1d" option, then:
5630 - The variable ax_cv_prog_date_bsd is set to "yes".
5631 - The variable ax_cv_prog_date_type is set to "bsd".
5632
5633 * If both previous checks fail, then:
5634 - The variable ax_cv_prog_date_type is set to "unknown".
5635
5636 The following capabilities of GNU date are checked:
5637
5638 * If date supports the --date arg option, then:
5639 - The variable ax_cv_prog_date_gnu_date is set to "yes".
5640
5641 * If date supports the --utc arg option, then:
5642 - The variable ax_cv_prog_date_gnu_utc is set to "yes".
5643
5644 The following capabilities of BSD date are checked:
5645
5646 * If date supports the -v 1d option, then:
5647 - The variable ax_cv_prog_date_bsd_adjust is set to "yes".
5648
5649 * If date supports the -r arg option, then:
5650 - The variable ax_cv_prog_date_bsd_date is set to "yes".
5651
5652 All the aforementioned variables are set to "no" before a check is
5653 performed.
5654
5655 Source Code
5656 ***********
5657
5658 Download the latest version of 'ax_prog_date.m4'
5659 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_date.m4)
5660 or browse the macro's revision history
5661 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_date.m4).
5662
5663 License
5664 *******
5665
5666 Copyright (C) 2017 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
5667
5668 This program is free software: you can redistribute it and/or modify it
5669 under the terms of the GNU General Public License as published by the
5670 Free Software Foundation, either version 3 of the License, or (at your
5671 option) any later version.
5672
5673 This program is distributed in the hope that it will be useful, but
5674 WITHOUT ANY WARRANTY; without even the implied warranty of
5675 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
5676 Public License for more details.
5677
5678 You should have received a copy of the GNU General Public License along
5679 with this program. If not, see <http://www.gnu.org/licenses/>.
5680
5681 As a special exception, the respective Autoconf Macro's copyright owner
5682 gives unlimited permission to copy, distribute and modify the configure
5683 scripts that are the output of Autoconf when processing the Macro. You
5684 need not follow the terms of the GNU General Public License when using
5685 or distributing such scripts, even though portions of the text of the
5686 Macro appear in them. The GNU General Public License (GPL) does govern
5687 all other use of the material that constitutes the Autoconf Macro.
5688
5689 This special exception to the GPL applies to versions of the Autoconf
5690 Macro released by the Autoconf Archive. When you make and distribute a
5691 modified version of the Autoconf Macro, you may extend this special
5692 exception to the GPL to apply to your modified version as well.
5693
5694 
5695 File: autoconf-archive.info, Node: ax_prog_dotnetcore_version, Next: ax_prog_doxygen, Prev: ax_prog_date, Up: The Macros
5696
5697 ax_prog_dotnetcore_version
5698 ==========================
5699
5700 Synopsis
5701 ********
5702
5703 AX_PROG_DOTNETCORE_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
5704
5705 Description
5706 ***********
5707
5708 Makes sure that .NET Core supports the version indicated. If true the
5709 shell commands in ACTION-IF-TRUE are executed. If not the shell
5710 commands in ACTION-IF-FALSE are run. The $dotnetcore_version variable
5711 will be filled with the detected version.
5712
5713 This macro uses the $DOTNETCORE variable to perform the check. If
5714 $DOTNETCORE is not set prior to calling this macro, the macro will fail.
5715
5716 Example:
5717
5718 AC_PATH_PROG([DOTNETCORE],[dotnet])
5719 AC_PROG_DOTNETCORE_VERSION([1.0.2],[ ... ],[ ... ])
5720
5721 Searches for .NET Core, then checks if at least version 1.0.2 is
5722 present.
5723
5724 Source Code
5725 ***********
5726
5727 Download the latest version of 'ax_prog_dotnetcore_version.m4'
5728 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_dotnetcore_version.m4)
5729 or browse the macro's revision history
5730 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_dotnetcore_version.m4).
5731
5732 License
5733 *******
5734
5735 Copyright (C) 2016 Jens Geyer <jensg@apache.org>
5736
5737 Copying and distribution of this file, with or without modification, are
5738 permitted in any medium without royalty provided the copyright notice
5739 and this notice are preserved. This file is offered as-is, without any
5740 warranty.
5741
5742 
5743 File: autoconf-archive.info, Node: ax_prog_doxygen, Next: ax_prog_emacs, Prev: ax_prog_dotnetcore_version, Up: The Macros
5744
5745 ax_prog_doxygen
5746 ===============
5747
5748 Synopsis
5749 ********
5750
5751 DX_INIT_DOXYGEN(PROJECT-NAME, [DOXYFILE-PATH], [OUTPUT-DIR], ...)
5752 DX_DOXYGEN_FEATURE(ON|OFF)
5753 DX_DOT_FEATURE(ON|OFF)
5754 DX_HTML_FEATURE(ON|OFF)
5755 DX_CHM_FEATURE(ON|OFF)
5756 DX_CHI_FEATURE(ON|OFF)
5757 DX_MAN_FEATURE(ON|OFF)
5758 DX_RTF_FEATURE(ON|OFF)
5759 DX_XML_FEATURE(ON|OFF)
5760 DX_PDF_FEATURE(ON|OFF)
5761 DX_PS_FEATURE(ON|OFF)
5762
5763 Description
5764 ***********
5765
5766 The DX_*_FEATURE macros control the default setting for the given
5767 Doxygen feature. Supported features are 'DOXYGEN' itself, 'DOT' for
5768 generating graphics, 'HTML' for plain HTML, 'CHM' for compressed HTML
5769 help (for MS users), 'CHI' for generating a separate .chi file by the
5770 .chm file, and 'MAN', 'RTF', 'XML', 'PDF' and 'PS' for the appropriate
5771 output formats. The environment variable DOXYGEN_PAPER_SIZE may be
5772 specified to override the default 'a4wide' paper size.
5773
5774 By default, HTML, PDF and PS documentation is generated as this seems to
5775 be the most popular and portable combination. MAN pages created by
5776 Doxygen are usually problematic, though by picking an appropriate subset
5777 and doing some massaging they might be better than nothing. CHM and RTF
5778 are specific for MS (note that you can't generate both HTML and CHM at
5779 the same time). The XML is rather useless unless you apply specialized
5780 post-processing to it.
5781
5782 The macros mainly control the default state of the feature. The use can
5783 override the default by specifying -enable or -disable. The macros
5784 ensure that contradictory flags are not given (e.g.,
5785 -enable-doxygen-html and -enable-doxygen-chm, -enable-doxygen-anything
5786 with -disable-doxygen, etc.) Finally, each feature will be
5787 automatically disabled (with a warning) if the required programs are
5788 missing.
5789
5790 Once all the feature defaults have been specified, call DX_INIT_DOXYGEN
5791 with the following parameters: a one-word name for the project for use
5792 as a filename base etc., an optional configuration file name (the
5793 default is '$(srcdir)/Doxyfile', the same as Doxygen's default), and an
5794 optional output directory name (the default is 'doxygen-doc'). To run
5795 doxygen multiple times for different configuration files and output
5796 directories provide more parameters: the second, forth, sixth, etc
5797 parameter are configuration file names and the third, fifth, seventh,
5798 etc parameter are output directories. No checking is done to catch
5799 duplicates.
5800
5801 Automake Support
5802
5803 The DX_RULES substitution can be used to add all needed rules to the
5804 Makefile. Note that this is a substitution without being a variable:
5805 only the @DX_RULES@ syntax will work.
5806
5807 The provided targets are:
5808
5809 doxygen-doc: Generate all doxygen documentation.
5810
5811 doxygen-run: Run doxygen, which will generate some of the
5812 documentation (HTML, CHM, CHI, MAN, RTF, XML)
5813 but will not do the post processing required
5814 for the rest of it (PS, PDF).
5815
5816 doxygen-ps: Generate doxygen PostScript documentation.
5817
5818 doxygen-pdf: Generate doxygen PDF documentation.
5819
5820 Note that by default these are not integrated into the automake targets.
5821 If doxygen is used to generate man pages, you can achieve this
5822 integration by setting man3_MANS to the list of man pages generated and
5823 then adding the dependency:
5824
5825 $(man3_MANS): doxygen-doc
5826
5827 This will cause make to run doxygen and generate all the documentation.
5828
5829 The following variable is intended for use in Makefile.am:
5830
5831 DX_CLEANFILES = everything to clean.
5832
5833 Then add this variable to MOSTLYCLEANFILES.
5834
5835 Source Code
5836 ***********
5837
5838 Download the latest version of 'ax_prog_doxygen.m4'
5839 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_doxygen.m4)
5840 or browse the macro's revision history
5841 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_doxygen.m4).
5842
5843 License
5844 *******
5845
5846 Copyright (C) 2009 Oren Ben-Kiki <oren@ben-kiki.org>
5847 Copyright (C) 2015 Olaf Mandel <olaf@mandel.name>
5848
5849 Copying and distribution of this file, with or without modification, are
5850 permitted in any medium without royalty provided the copyright notice
5851 and this notice are preserved. This file is offered as-is, without any
5852 warranty.
5853
5854 
5855 File: autoconf-archive.info, Node: ax_prog_emacs, Next: ax_prog_f77_mpi, Prev: ax_prog_doxygen, Up: The Macros
5856
5857 ax_prog_emacs
5858 =============
5859
5860 Synopsis
5861 ********
5862
5863 AX_PROG_EMACS
5864
5865 Description
5866 ***********
5867
5868 This macro allows the end user to specify a particular Emacs executable
5869 via a configure script command-line arg. For example:
5870
5871 ./configure EMACS=$HOME/build/GNU/emacs/src/emacs
5872
5873 It also arranges to mention env var EMACS in the './configure -help'
5874 output. See info node "(autoconf) Generic Programs" for details.
5875
5876 More precisely...
5877
5878 If env var EMACS is set, try to use its value directly, but avoid
5879 getting fooled by value 't' (set by older Emacsen for subprocesses). If
5880 no joy from the environment, search for "emacs" via AC_CHECK_PROG. If
5881 still no joy, display "Emacs not found; required!" and make configure
5882 exit failurefully. Otherwise, set shell var EMACS and AC_SUBST it, too.
5883
5884 Source Code
5885 ***********
5886
5887 Download the latest version of 'ax_prog_emacs.m4'
5888 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_emacs.m4)
5889 or browse the macro's revision history
5890 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_emacs.m4).
5891
5892 License
5893 *******
5894
5895 Copyright (C) 2016-2017 Thien-Thi Nguyen
5896
5897 This program is free software; you can redistribute it and/or modify it
5898 under the terms of the GNU General Public License as published by the
5899 Free Software Foundation; either version 3 of the License, or (at your
5900 option) any later version.
5901
5902 This program is distributed in the hope that it will be useful, but
5903 WITHOUT ANY WARRANTY; without even the implied warranty of
5904 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
5905 Public License for more details.
5906
5907 You should have received a copy of the GNU General Public License along
5908 with this program. If not, see <https://www.gnu.org/licenses/>.
5909
5910 As a special exception, the respective Autoconf Macro's copyright owner
5911 gives unlimited permission to copy, distribute and modify the configure
5912 scripts that are the output of Autoconf when processing the Macro. You
5913 need not follow the terms of the GNU General Public License when using
5914 or distributing such scripts, even though portions of the text of the
5915 Macro appear in them. The GNU General Public License (GPL) does govern
5916 all other use of the material that constitutes the Autoconf Macro.
5917
5918 This special exception to the GPL applies to versions of the Autoconf
5919 Macro released by the Autoconf Archive. When you make and distribute a
5920 modified version of the Autoconf Macro, you may extend this special
5921 exception to the GPL to apply to your modified version as well.
5922
5923 
5924 File: autoconf-archive.info, Node: ax_prog_f77_mpi, Next: ax_prog_fasm, Prev: ax_prog_emacs, Up: The Macros
5925
5926 ax_prog_f77_mpi
5927 ===============
5928
5929 Synopsis
5930 ********
5931
5932 AX_PROG_F77_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
5933
5934 Description
5935 ***********
5936
5937 This macro tries to find out how to compile Fortran77 programs that use
5938 MPI (Message Passing Interface), a standard API for parallel process
5939 communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
5940 be used instead of the standard macro AC_PROG_F77 and will replace the
5941 standard variable F77 with the found compiler.
5942
5943 MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
5944 user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
5945 try to find out how to use MPI, if it fails, the macro will call
5946 AC_PROG_CC to find a standard C compiler instead.
5947
5948 When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
5949 (or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
5950 ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
5951
5952 The following example demonstrates usage of the macro:
5953
5954 # If --with-mpi=auto is used, try to find MPI, but use standard F77 compiler if it is not found.
5955 # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
5956 # If --with-mpi=no is used, use a standard F77 compiler instead.
5957 AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
5958 [compile with MPI (parallelization) support. If none is found,
5959 MPI is not used. Default: auto])
5960 ],,[with_mpi=auto])
5961
5962 AX_PROG_F77_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
5963 use_mpi=no
5964 if test x"$with_mpi" = xyes; then
5965 AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
5966 else
5967 AC_MSG_WARN([No MPI compiler found, won't use MPI.])
5968 fi
5969 ])
5970
5971 Source Code
5972 ***********
5973
5974 Download the latest version of 'ax_prog_f77_mpi.m4'
5975 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_f77_mpi.m4)
5976 or browse the macro's revision history
5977 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_f77_mpi.m4).
5978
5979 License
5980 *******
5981
5982 Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
5983
5984 This program is free software: you can redistribute it and/or modify it
5985 under the terms of the GNU General Public License as published by the
5986 Free Software Foundation, either version 3 of the License, or (at your
5987 option) any later version.
5988
5989 This program is distributed in the hope that it will be useful, but
5990 WITHOUT ANY WARRANTY; without even the implied warranty of
5991 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
5992 Public License for more details.
5993
5994 You should have received a copy of the GNU General Public License along
5995 with this program. If not, see <https://www.gnu.org/licenses/>.
5996
5997 As a special exception, the respective Autoconf Macro's copyright owner
5998 gives unlimited permission to copy, distribute and modify the configure
5999 scripts that are the output of Autoconf when processing the Macro. You
6000 need not follow the terms of the GNU General Public License when using
6001 or distributing such scripts, even though portions of the text of the
6002 Macro appear in them. The GNU General Public License (GPL) does govern
6003 all other use of the material that constitutes the Autoconf Macro.
6004
6005 This special exception to the GPL applies to versions of the Autoconf
6006 Macro released by the Autoconf Archive. When you make and distribute a
6007 modified version of the Autoconf Macro, you may extend this special
6008 exception to the GPL to apply to your modified version as well.
6009
6010 
6011 File: autoconf-archive.info, Node: ax_prog_fasm, Next: ax_prog_fasm_opt, Prev: ax_prog_f77_mpi, Up: The Macros
6012
6013 ax_prog_fasm
6014 ============
6015
6016 Synopsis
6017 ********
6018
6019 AX_PROG_FASM([ACTION-IF-NOT-FOUND])
6020
6021 Description
6022 ***********
6023
6024 This macro searches for the FASM assembler and sets the variable "fasm"
6025 to the name of the application or to "no" if not found. If
6026 ACTION-IF-NOT-FOUND is not specified, configure will fail when the
6027 program is not found.
6028
6029 Example:
6030
6031 AX_PROG_FASM()
6032 AX_PROG_FASM([fasm_avail="no"])
6033
6034 Source Code
6035 ***********
6036
6037 Download the latest version of 'ax_prog_fasm.m4'
6038 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fasm.m4)
6039 or browse the macro's revision history
6040 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fasm.m4).
6041
6042 License
6043 *******
6044
6045 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
6046
6047 This program is free software: you can redistribute it and/or modify it
6048 under the terms of the GNU Lesser General Public License as published by
6049 the Free Software Foundation, either version 3 of the License, or (at
6050 your option) any later version.
6051
6052 This program is distributed in the hope that it will be useful, but
6053 WITHOUT ANY WARRANTY; without even the implied warranty of
6054 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
6055 General Public License for more details.
6056
6057 You should have received a copy of the GNU Lesser General Public License
6058 along with this program. If not, see <https://www.gnu.org/licenses/>.
6059
6060 As a special exception, the respective Autoconf Macro's copyright owner
6061 gives unlimited permission to copy, distribute and modify the configure
6062 scripts that are the output of Autoconf when processing the Macro. You
6063 need not follow the terms of the GNU General Public License when using
6064 or distributing such scripts, even though portions of the text of the
6065 Macro appear in them. The GNU General Public License (GPL) does govern
6066 all other use of the material that constitutes the Autoconf Macro.
6067
6068 This special exception to the GPL applies to versions of the Autoconf
6069 Macro released by the Autoconf Archive. When you make and distribute a
6070 modified version of the Autoconf Macro, you may extend this special
6071 exception to the GPL to apply to your modified version as well.
6072
6073 
6074 File: autoconf-archive.info, Node: ax_prog_fasm_opt, Next: ax_prog_fc_mpi, Prev: ax_prog_fasm, Up: The Macros
6075
6076 ax_prog_fasm_opt
6077 ================
6078
6079 Synopsis
6080 ********
6081
6082 AX_PROG_FASM_OPT(option, var_name)
6083
6084 Description
6085 ***********
6086
6087 This macro checks if the FASM assembler accepts the given option. If
6088 yes, the option is appended to the variable 'var_name', otherwise
6089 'var_name' is unchanged.
6090
6091 Example:
6092
6093 AX_PROG_FASM_OPT([-m 256], [FASM_OPTS])
6094
6095 Source Code
6096 ***********
6097
6098 Download the latest version of 'ax_prog_fasm_opt.m4'
6099 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fasm_opt.m4)
6100 or browse the macro's revision history
6101 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fasm_opt.m4).
6102
6103 License
6104 *******
6105
6106 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
6107
6108 This program is free software: you can redistribute it and/or modify it
6109 under the terms of the GNU Lesser General Public License as published by
6110 the Free Software Foundation, either version 3 of the License, or (at
6111 your option) any later version.
6112
6113 This program is distributed in the hope that it will be useful, but
6114 WITHOUT ANY WARRANTY; without even the implied warranty of
6115 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
6116 General Public License for more details.
6117
6118 You should have received a copy of the GNU Lesser General Public License
6119 along with this program. If not, see <https://www.gnu.org/licenses/>.
6120
6121 As a special exception, the respective Autoconf Macro's copyright owner
6122 gives unlimited permission to copy, distribute and modify the configure
6123 scripts that are the output of Autoconf when processing the Macro. You
6124 need not follow the terms of the GNU General Public License when using
6125 or distributing such scripts, even though portions of the text of the
6126 Macro appear in them. The GNU General Public License (GPL) does govern
6127 all other use of the material that constitutes the Autoconf Macro.
6128
6129 This special exception to the GPL applies to versions of the Autoconf
6130 Macro released by the Autoconf Archive. When you make and distribute a
6131 modified version of the Autoconf Macro, you may extend this special
6132 exception to the GPL to apply to your modified version as well.
6133
6134 
6135 File: autoconf-archive.info, Node: ax_prog_fc_mpi, Next: ax_prog_fig2dev, Prev: ax_prog_fasm_opt, Up: The Macros
6136
6137 ax_prog_fc_mpi
6138 ==============
6139
6140 Synopsis
6141 ********
6142
6143 AX_PROG_FC_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
6144
6145 Description
6146 ***********
6147
6148 This macro tries to find out how to compile Fortran77 programs that use
6149 MPI (Message Passing Interface), a standard API for parallel process
6150 communication (see http://www-unix.mcs.anl.gov/mpi/). The macro has to
6151 be used instead of the standard macro AC_PROG_FC and will replace the
6152 standard variable FC with the found compiler.
6153
6154 MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
6155 user. If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
6156 try to find out how to use MPI, if it fails, the macro will call
6157 AC_PROG_CC to find a standard C compiler instead.
6158
6159 When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
6160 (or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed. If
6161 ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
6162
6163 The following example demonstrates usage of the macro:
6164
6165 # If --with-mpi=auto is used, try to find MPI, but use standard FC compiler if it is not found.
6166 # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
6167 # If --with-mpi=no is used, use a standard FC compiler instead.
6168 AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
6169 [compile with MPI (parallelization) support. If none is found,
6170 MPI is not used. Default: auto])
6171 ],,[with_mpi=auto])
6172
6173 AX_PROG_FC_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
6174 use_mpi=no
6175 if test x"$with_mpi" = xyes; then
6176 AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
6177 else
6178 AC_MSG_WARN([No MPI compiler found, won't use MPI.])
6179 fi
6180 ])
6181
6182 Source Code
6183 ***********
6184
6185 Download the latest version of 'ax_prog_fc_mpi.m4'
6186 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fc_mpi.m4)
6187 or browse the macro's revision history
6188 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fc_mpi.m4).
6189
6190 License
6191 *******
6192
6193 Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
6194
6195 This program is free software: you can redistribute it and/or modify it
6196 under the terms of the GNU General Public License as published by the
6197 Free Software Foundation, either version 3 of the License, or (at your
6198 option) any later version.
6199
6200 This program is distributed in the hope that it will be useful, but
6201 WITHOUT ANY WARRANTY; without even the implied warranty of
6202 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6203 Public License for more details.
6204
6205 You should have received a copy of the GNU General Public License along
6206 with this program. If not, see <https://www.gnu.org/licenses/>.
6207
6208 As a special exception, the respective Autoconf Macro's copyright owner
6209 gives unlimited permission to copy, distribute and modify the configure
6210 scripts that are the output of Autoconf when processing the Macro. You
6211 need not follow the terms of the GNU General Public License when using
6212 or distributing such scripts, even though portions of the text of the
6213 Macro appear in them. The GNU General Public License (GPL) does govern
6214 all other use of the material that constitutes the Autoconf Macro.
6215
6216 This special exception to the GPL applies to versions of the Autoconf
6217 Macro released by the Autoconf Archive. When you make and distribute a
6218 modified version of the Autoconf Macro, you may extend this special
6219 exception to the GPL to apply to your modified version as well.
6220
6221 
6222 File: autoconf-archive.info, Node: ax_prog_fig2dev, Next: ax_prog_flex, Prev: ax_prog_fc_mpi, Up: The Macros
6223
6224 ax_prog_fig2dev
6225 ===============
6226
6227 Synopsis
6228 ********
6229
6230 AX_PROG_FIG2DEV
6231
6232 Description
6233 ***********
6234
6235 If 'fig2dev' is found, sets the output variable 'FIG2DEV' to 'fig2dev',
6236 and 'FIG2DEV_ESPLANG' to the graphics language which can be used to
6237 produce Encapsulated PostScript. Older versions of 'fig2dev' produce
6238 EPS with '-Lps' and new versions with '-Leps', this macro finds out the
6239 correct language option automatically.
6240
6241 Source Code
6242 ***********
6243
6244 Download the latest version of 'ax_prog_fig2dev.m4'
6245 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fig2dev.m4)
6246 or browse the macro's revision history
6247 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fig2dev.m4).
6248
6249 License
6250 *******
6251
6252 Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
6253
6254 Copying and distribution of this file, with or without modification, are
6255 permitted in any medium without royalty provided the copyright notice
6256 and this notice are preserved. This file is offered as-is, without any
6257 warranty.
6258
6259 
6260 File: autoconf-archive.info, Node: ax_prog_flex, Next: ax_prog_flex_version, Prev: ax_prog_fig2dev, Up: The Macros
6261
6262 ax_prog_flex
6263 ============
6264
6265 Synopsis
6266 ********
6267
6268 AX_PROG_FLEX(ACTION-IF-TRUE,ACTION-IF-FALSE)
6269
6270 Description
6271 ***********
6272
6273 Check whether flex is the scanner generator. Run ACTION-IF-TRUE if
6274 successful, ACTION-IF-FALSE otherwise
6275
6276 Source Code
6277 ***********
6278
6279 Download the latest version of 'ax_prog_flex.m4'
6280 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_flex.m4)
6281 or browse the macro's revision history
6282 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_flex.m4).
6283
6284 License
6285 *******
6286
6287 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6288
6289 Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
6290
6291 This program is free software; you can redistribute it and/or modify it
6292 under the terms of the GNU General Public License as published by the
6293 Free Software Foundation; either version 2 of the License, or (at your
6294 option) any later version.
6295
6296 This program is distributed in the hope that it will be useful, but
6297 WITHOUT ANY WARRANTY; without even the implied warranty of
6298 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6299 Public License for more details.
6300
6301 You should have received a copy of the GNU General Public License along
6302 with this program. If not, see <https://www.gnu.org/licenses/>.
6303
6304 As a special exception, the respective Autoconf Macro's copyright owner
6305 gives unlimited permission to copy, distribute and modify the configure
6306 scripts that are the output of Autoconf when processing the Macro. You
6307 need not follow the terms of the GNU General Public License when using
6308 or distributing such scripts, even though portions of the text of the
6309 Macro appear in them. The GNU General Public License (GPL) does govern
6310 all other use of the material that constitutes the Autoconf Macro.
6311
6312 This special exception to the GPL applies to versions of the Autoconf
6313 Macro released by the Autoconf Archive. When you make and distribute a
6314 modified version of the Autoconf Macro, you may extend this special
6315 exception to the GPL to apply to your modified version as well.
6316
6317 
6318 File: autoconf-archive.info, Node: ax_prog_flex_version, Next: ax_prog_gjs, Prev: ax_prog_flex, Up: The Macros
6319
6320 ax_prog_flex_version
6321 ====================
6322
6323 Synopsis
6324 ********
6325
6326 AX_PROG_FLEX_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
6327
6328 Description
6329 ***********
6330
6331 Makes sure that flex version is greater or equal to the version
6332 indicated. If true the shell commands in ACTION-IF-TRUE are executed.
6333 If not the shell commands in commands in ACTION-IF-TRUE are executed.
6334 If not the shell commands in ACTION-IF-FALSE are run. Note if $FLEX is
6335 not set (for example by running AC_CHECK_PROG or AC_PATH_PROG) the macro
6336 will fail.
6337
6338 Example:
6339
6340 AC_PATH_PROG([FLEX],[flex])
6341 AX_PROG_FLEX_VERSION([2.5.39],[ ... ],[ ... ])
6342
6343 This will check to make sure that the flex you have is at least version
6344 2.5.39 or greater.
6345
6346 NOTE: This macro uses the $FLEX variable to perform the check.
6347
6348 Source Code
6349 ***********
6350
6351 Download the latest version of 'ax_prog_flex_version.m4'
6352 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_flex_version.m4)
6353 or browse the macro's revision history
6354 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_flex_version.m4).
6355
6356 License
6357 *******
6358
6359 Copyright (C) 2015 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
6360
6361 Copying and distribution of this file, with or without modification, are
6362 permitted in any medium without royalty provided the copyright notice
6363 and this notice are preserved. This file is offered as-is, without any
6364 warranty.
6365
6366 
6367 File: autoconf-archive.info, Node: ax_prog_gjs, Next: ax_prog_guile_version, Prev: ax_prog_flex_version, Up: The Macros
6368
6369 ax_prog_gjs
6370 ===========
6371
6372 Synopsis
6373 ********
6374
6375 AX_PROG_GJS
6376
6377 Description
6378 ***********
6379
6380 AX_PROG_GJS checks for the presence of the JavaScript interpreter GJS
6381 (https://wiki.gnome.org/Projects/Gjs) in pkg-config or in the path. If
6382 it is not found, an error is issued and configure is halted. If it is
6383 found, the path of the interpreter is placed into a variable named GJS,
6384 which is declared precious.
6385
6386 Source Code
6387 ***********
6388
6389 Download the latest version of 'ax_prog_gjs.m4'
6390 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_gjs.m4)
6391 or browse the macro's revision history
6392 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_gjs.m4).
6393
6394 License
6395 *******
6396
6397 Copyright (C) 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com>
6398
6399 Copying and distribution of this file, with or without modification, are
6400 permitted in any medium without royalty provided the copyright notice
6401 and this notice are preserved. This file is offered as-is, without any
6402 warranty.
6403
6404 
6405 File: autoconf-archive.info, Node: ax_prog_guile_version, Next: ax_prog_haxe_version, Prev: ax_prog_gjs, Up: The Macros
6406
6407 ax_prog_guile_version
6408 =====================
6409
6410 Synopsis
6411 ********
6412
6413 AX_PROG_GUILE_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
6414
6415 Description
6416 ***********
6417
6418 Makes sure that guile supports the version indicated. If true the shell
6419 commands in ACTION-IF-TRUE are executed. If not the shell commands in
6420 ACTION-IF-FALSE are run. Note if $GUILE is not set (for example by
6421 running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
6422
6423 Example:
6424
6425 AC_PATH_PROG([GUILE],[guile])
6426 AC_PROG_GUILE_VERSION([1.6.0],[ ... ],[ ... ])
6427
6428 This will check to make sure that the guile you have supports at least
6429 version 1.6.0.
6430
6431 NOTE: This macro uses the $GUILE variable to perform the check.
6432 AX_WITH_GUILE can be used to set that variable prior to running this
6433 macro. The $GUILE_VERSION variable will be valorized with the detected
6434 version.
6435
6436 Source Code
6437 ***********
6438
6439 Download the latest version of 'ax_prog_guile_version.m4'
6440 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_guile_version.m4)
6441 or browse the macro's revision history
6442 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_guile_version.m4).
6443
6444 License
6445 *******
6446
6447 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6448
6449 Copying and distribution of this file, with or without modification, are
6450 permitted in any medium without royalty provided the copyright notice
6451 and this notice are preserved. This file is offered as-is, without any
6452 warranty.
6453
6454 
6455 File: autoconf-archive.info, Node: ax_prog_haxe_version, Next: ax_prog_help2man, Prev: ax_prog_guile_version, Up: The Macros
6456
6457 ax_prog_haxe_version
6458 ====================
6459
6460 Synopsis
6461 ********
6462
6463 AX_PROG_HAXE_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
6464
6465 Description
6466 ***********
6467
6468 Makes sure that haxe supports the version indicated. If true the shell
6469 commands in ACTION-IF-TRUE are executed. If not the shell commands in
6470 ACTION-IF-FALSE are run. The $HAXE_VERSION variable will be filled with
6471 the detected version.
6472
6473 This macro uses the $HAXE variable to perform the check. If $HAXE is
6474 not set prior to calling this macro, the macro will fail.
6475
6476 Example:
6477
6478 AC_PATH_PROG([HAXE],[haxe])
6479 AC_PROG_HAXE_VERSION([3.1.3],[ ... ],[ ... ])
6480
6481 Searches for Haxe, then checks if at least version 3.1.3 is present.
6482
6483 Source Code
6484 ***********
6485
6486 Download the latest version of 'ax_prog_haxe_version.m4'
6487 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_haxe_version.m4)
6488 or browse the macro's revision history
6489 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_haxe_version.m4).
6490
6491 License
6492 *******
6493
6494 Copyright (C) 2015 Jens Geyer <jensg@apache.org>
6495
6496 Copying and distribution of this file, with or without modification, are
6497 permitted in any medium without royalty provided the copyright notice
6498 and this notice are preserved. This file is offered as-is, without any
6499 warranty.
6500
6501 
6502 File: autoconf-archive.info, Node: ax_prog_help2man, Next: ax_prog_hla, Prev: ax_prog_haxe_version, Up: The Macros
6503
6504 ax_prog_help2man
6505 ================
6506
6507 Synopsis
6508 ********
6509
6510 AX_PROG_HELP2MAN([program list], [man directory prefix], [binary prefix])
6511
6512 Description
6513 ***********
6514
6515 AX_PROG_HELP2MAN is a macro designed to facilitate usage of help2man.
6516 It may take three optional arguments:
6517
6518 1. <program list>: comma-separated m4 list of input programs
6519
6520 Specifies the list of input programs which shall be used to produce man
6521 pages using help2man. If no value is specified, the macro assumes that
6522 the sole target will be named $(PACKAGE_NAME). Thus, the two following
6523 lines are equivalent:
6524
6525 AX_PROG_HELP2MAN
6526 AX_PROG_HELP2MAN([\$(PACKAGE_NAME)])
6527
6528 2. <man directory prefix>: directory prefix of the man pages directory
6529
6530 Sets AX_HELP2MAN_PREFIX_MANS to <man directory prefix>. Defaults to
6531 'doc/man/man1' if no value is provided. Note that
6532 AX_HELP2MAN_PREFIX_MANS will always be a subdirectory of the build
6533 directory.
6534
6535 3. <binary prefix>:
6536
6537 Sets AX_HELP2MAN_PREFIX_BIN to <binary prefix>. Defaults to
6538 '$(top_builddir)' if no value is provided. The two following lines are
6539 equivalent:
6540
6541 AX_PROG_HELP2MAN([subdir/program1, subdir/program2])
6542 AX_PROG_HELP2MAN([program1, program2], [], [\$(top_builddir)/subdir])
6543
6544 The macro:
6545
6546 - checks that help2man is available on the system.
6547
6548 - provides the configure option -disable-help2man.
6549
6550 - sets the output variable ax_help2man_MANS to the list of man pages
6551 that shall be generated.
6552
6553 - sets the automake conditional HAVE_HELP2MAN
6554
6555 - sets the substitution variable AX_HELP2MAN_RULES to the required make
6556 rules, targets and recipes.
6557
6558 Further detail on the macro can be found after the minimal working
6559 example. Here is a minimal working example:
6560
6561 # configure.ac:
6562 AX_PROG_HELP2MAN
6563
6564 # Makefile.am:
6565 if HAVE_HELP2MAN
6566 man1_MANS = $(ax_help2man_MANS)
6567 @AX_HELP2MAN_RULES@
6568 endif
6569
6570 This minimal working example shall work under the following assumptions:
6571
6572 1. the aforementioned binary has the same name as the project
6573
6574 2. the project produces a single binary at the root of the build
6575 directory
6576
6577 3. the man page shall be generated into the doc/man/man1 directory
6578
6579 Note that adding ax_help2man_MANS to man1_MANS is not needed if the man
6580 page generation is not mandatory.
6581
6582 The AX_HELP2MAN_RULES substitution variable shall contain:
6583
6584 - a recipe to create, if necessary, the destination directory.
6585
6586 - a generic rule to produce the manpages.
6587
6588 This rule targets the contents of the variable ax_help2man_MANS and its
6589 recipe shall be akin to the following:
6590
6591 $(HELP2MAN) -l -N --output="$@" --name="$(shell basename $<)" "$(shell dirname $<)/$(shell basename $<)"
6592
6593 Errors from this rule are ignored.
6594
6595 - rules for each input program and target man page.
6596
6597 For each input program, a rule akin to the following shall be available:
6598
6599 $(AX_HELP2MAN_PREFIX_MANS)/program.1: $(AX_HELP2MAN_PREFIX_BIN)/path/to/program
6600
6601 The macro assumes that all man pages shall be generated into the same
6602 directory (AX_HELP2MAN_PREFIX_MANS) and that all input programs can be
6603 found in the same directory (AX_HELP2MAN_PREFIX_BIN). If a subset of the
6604 inputs or outputs have different paths (for instance one of the inputs
6605 is a script available in $(top_srcdir) whereas the other inputs are
6606 programs compiled at build time), it can be customized in the
6607 Makefile.am: the target man page must be added to ax_help2man_MANS, so
6608 that it becomes a target of the generic rule for man pages and a rule
6609 must be added to specify its prerequisite:
6610
6611 ax_help2man_MANS += path/to/output/man/page.1
6612 path/to/output/man/page.1: path/to/input/program.1
6613
6614 Here is a full example for a project where binaries 'program1' and
6615 'program2' are compiled at build time whereas 'script' is available in
6616 the source tree:
6617
6618 # configure.ac:
6619 AX_PROG_HELP2MAN([program1, program2])
6620
6621 # Makefile.am:
6622 if HAVE_HELP2MAN
6623 man1_MANS = $(ax_help2man_MANS)
6624 @AX_HELP2MAN_RULES@
6625 ax_help2man_MANS += $(AX_HELP2MAN_PREFIX_MANS)/script.1
6626 $(AX_HELP2MAN_PREFIX_MANS)/script.1: $(top_srcdir)/script
6627 endif
6628
6629 Note that this macro should not be called more than once.
6630
6631 Source Code
6632 ***********
6633
6634 Download the latest version of 'ax_prog_help2man.m4'
6635 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_help2man.m4)
6636 or browse the macro's revision history
6637 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_help2man.m4).
6638
6639 License
6640 *******
6641
6642 Copyright (C) 2017 Harenome Ranaivoarivony-Razanajato <ranaivoarivony-razanajato@hareno.me>
6643
6644 This program is free software; you can redistribute it and/or modify it
6645 under the terms of the GNU General Public License as published by the
6646 Free Software Foundation; either version 3 of the License, or (at your
6647 option) any later version.
6648
6649 This program is distributed in the hope that it will be useful, but
6650 WITHOUT ANY WARRANTY; without even the implied warranty of
6651 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6652 Public License for more details.
6653
6654 Under Section 7 of GPL version 3, you are granted additional permissions
6655 described in the Autoconf Configure Script Exception, version 3.0, as
6656 published by the Free Software Foundation.
6657
6658 You should have received a copy of the GNU General Public License along
6659 with this program. If not, see <https://www.gnu.org/licenses/>.
6660
6661 
6662 File: autoconf-archive.info, Node: ax_prog_hla, Next: ax_prog_hla_opt, Prev: ax_prog_help2man, Up: The Macros
6663
6664 ax_prog_hla
6665 ===========
6666
6667 Synopsis
6668 ********
6669
6670 AX_PROG_HLA([ACTION-IF-NOT-FOUND])
6671
6672 Description
6673 ***********
6674
6675 This macro searches for the HLA assembler and sets the variable "hla" to
6676 the name of the application or to "no" if not found. If
6677 ACTION-IF-NOT-FOUND is not specified, configure will fail when the
6678 program is not found.
6679
6680 Example:
6681
6682 AX_PROG_HLA()
6683 AX_PROG_HLA([hla_avail="no"])
6684
6685 Source Code
6686 ***********
6687
6688 Download the latest version of 'ax_prog_hla.m4'
6689 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_hla.m4)
6690 or browse the macro's revision history
6691 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_hla.m4).
6692
6693 License
6694 *******
6695
6696 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
6697
6698 This program is free software: you can redistribute it and/or modify it
6699 under the terms of the GNU Lesser General Public License as published by
6700 the Free Software Foundation, either version 3 of the License, or (at
6701 your option) any later version.
6702
6703 This program is distributed in the hope that it will be useful, but
6704 WITHOUT ANY WARRANTY; without even the implied warranty of
6705 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
6706 General Public License for more details.
6707
6708 You should have received a copy of the GNU Lesser General Public License
6709 along with this program. If not, see <https://www.gnu.org/licenses/>.
6710
6711 As a special exception, the respective Autoconf Macro's copyright owner
6712 gives unlimited permission to copy, distribute and modify the configure
6713 scripts that are the output of Autoconf when processing the Macro. You
6714 need not follow the terms of the GNU General Public License when using
6715 or distributing such scripts, even though portions of the text of the
6716 Macro appear in them. The GNU General Public License (GPL) does govern
6717 all other use of the material that constitutes the Autoconf Macro.
6718
6719 This special exception to the GPL applies to versions of the Autoconf
6720 Macro released by the Autoconf Archive. When you make and distribute a
6721 modified version of the Autoconf Macro, you may extend this special
6722 exception to the GPL to apply to your modified version as well.
6723
6724 
6725 File: autoconf-archive.info, Node: ax_prog_hla_opt, Next: ax_prog_httpd, Prev: ax_prog_hla, Up: The Macros
6726
6727 ax_prog_hla_opt
6728 ===============
6729
6730 Synopsis
6731 ********
6732
6733 AX_PROG_HLA_OPT(option, var_name)
6734
6735 Description
6736 ***********
6737
6738 This macro checks if the HLA assembler accepts the given option. If
6739 yes, the option is appended to the variable 'var_name', otherwise
6740 'var_name' is unchanged.
6741
6742 Example:
6743
6744 AX_PROG_HLA_OPT([-v], [HLA_OPTS])
6745
6746 Source Code
6747 ***********
6748
6749 Download the latest version of 'ax_prog_hla_opt.m4'
6750 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_hla_opt.m4)
6751 or browse the macro's revision history
6752 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_hla_opt.m4).
6753
6754 License
6755 *******
6756
6757 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
6758
6759 This program is free software: you can redistribute it and/or modify it
6760 under the terms of the GNU Lesser General Public License as published by
6761 the Free Software Foundation, either version 3 of the License, or (at
6762 your option) any later version.
6763
6764 This program is distributed in the hope that it will be useful, but
6765 WITHOUT ANY WARRANTY; without even the implied warranty of
6766 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
6767 General Public License for more details.
6768
6769 You should have received a copy of the GNU Lesser General Public License
6770 along with this program. If not, see <https://www.gnu.org/licenses/>.
6771
6772 As a special exception, the respective Autoconf Macro's copyright owner
6773 gives unlimited permission to copy, distribute and modify the configure
6774 scripts that are the output of Autoconf when processing the Macro. You
6775 need not follow the terms of the GNU General Public License when using
6776 or distributing such scripts, even though portions of the text of the
6777 Macro appear in them. The GNU General Public License (GPL) does govern
6778 all other use of the material that constitutes the Autoconf Macro.
6779
6780 This special exception to the GPL applies to versions of the Autoconf
6781 Macro released by the Autoconf Archive. When you make and distribute a
6782 modified version of the Autoconf Macro, you may extend this special
6783 exception to the GPL to apply to your modified version as well.
6784
6785 
6786 File: autoconf-archive.info, Node: ax_prog_httpd, Next: ax_prog_jar, Prev: ax_prog_hla_opt, Up: The Macros
6787
6788 ax_prog_httpd
6789 =============
6790
6791 Synopsis
6792 ********
6793
6794 AX_PROG_HTTPD
6795
6796 Description
6797 ***********
6798
6799 Check for Apache's 'httpd', let script continue if exists & works, pops
6800 up error message if not.
6801
6802 Testing of functionality is by checking its compile settings
6803
6804 Besides checking existence, this macro also set these environment
6805 variables upon completion:
6806
6807 HTTPD = which httpd
6808 HTTPD_ROOT = Apache's root directory, specified when compiled / run with -d option
6809 HTTPD_SERVER_ROOT = Directory for Apache's essential files, e.g. access logs / error logs / modules / scripts.
6810 HTTPD_SERVER_CONFIG_FILE = Full-path of the 'httpd.conf' file
6811 HTTPD_USER = Which user that httpd runs as
6812 HTTPD_GROUP = Which group that httpd runs as
6813 HTTPD_DOC_HOME = Document directory, taken as the first DocumentRoot path found in httpd.conf
6814 HTTPD_SCRIPT_HOME = CGI script directory, taken as the first ScriptAlias path found in httpd.conf
6815
6816 Source Code
6817 ***********
6818
6819 Download the latest version of 'ax_prog_httpd.m4'
6820 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_httpd.m4)
6821 or browse the macro's revision history
6822 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_httpd.m4).
6823
6824 License
6825 *******
6826
6827 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
6828
6829 This program is free software; you can redistribute it and/or modify it
6830 under the terms of the GNU General Public License as published by the
6831 Free Software Foundation; either version 2 of the License, or (at your
6832 option) any later version.
6833
6834 This program is distributed in the hope that it will be useful, but
6835 WITHOUT ANY WARRANTY; without even the implied warranty of
6836 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6837 Public License for more details.
6838
6839 You should have received a copy of the GNU General Public License along
6840 with this program. If not, see <https://www.gnu.org/licenses/>.
6841
6842 As a special exception, the respective Autoconf Macro's copyright owner
6843 gives unlimited permission to copy, distribute and modify the configure
6844 scripts that are the output of Autoconf when processing the Macro. You
6845 need not follow the terms of the GNU General Public License when using
6846 or distributing such scripts, even though portions of the text of the
6847 Macro appear in them. The GNU General Public License (GPL) does govern
6848 all other use of the material that constitutes the Autoconf Macro.
6849
6850 This special exception to the GPL applies to versions of the Autoconf
6851 Macro released by the Autoconf Archive. When you make and distribute a
6852 modified version of the Autoconf Macro, you may extend this special
6853 exception to the GPL to apply to your modified version as well.
6854
6855 
6856 File: autoconf-archive.info, Node: ax_prog_jar, Next: ax_prog_java, Prev: ax_prog_httpd, Up: The Macros
6857
6858 ax_prog_jar
6859 ===========
6860
6861 Synopsis
6862 ********
6863
6864 AX_PROG_JAR
6865
6866 Description
6867 ***********
6868
6869 AX_PROG_JAR tests for an existing jar program. It uses the environment
6870 variable JAR then tests in sequence various common jar programs.
6871
6872 If you want to force a specific compiler:
6873
6874 - at the configure.in level, set JAR=yourcompiler before calling
6875 AX_PROG_JAR
6876
6877 - at the configure level, setenv JAR
6878
6879 You can use the JAR variable in your Makefile.in, with @JAR@.
6880
6881 Note: This macro depends on the autoconf M4 macros for Java programs.
6882 It is VERY IMPORTANT that you download that whole set, some macros
6883 depend on other. Unfortunately, the autoconf archive does not support
6884 the concept of set of macros, so I had to break it for submission.
6885
6886 The general documentation of those macros, as well as the sample
6887 configure.in, is included in the AX_PROG_JAVA macro.
6888
6889 Source Code
6890 ***********
6891
6892 Download the latest version of 'ax_prog_jar.m4'
6893 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_jar.m4)
6894 or browse the macro's revision history
6895 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_jar.m4).
6896
6897 License
6898 *******
6899
6900 Copyright (C) 2008 Egon Willighagen <e.willighagen@science.ru.nl>
6901
6902 Copying and distribution of this file, with or without modification, are
6903 permitted in any medium without royalty provided the copyright notice
6904 and this notice are preserved. This file is offered as-is, without any
6905 warranty.
6906
6907 
6908 File: autoconf-archive.info, Node: ax_prog_java, Next: ax_prog_java_cc, Prev: ax_prog_jar, Up: The Macros
6909
6910 ax_prog_java
6911 ============
6912
6913 Synopsis
6914 ********
6915
6916 AX_PROG_JAVA
6917
6918 Description
6919 ***********
6920
6921 Here is a summary of the main macros:
6922
6923 AX_PROG_JAVAC: finds a Java compiler.
6924
6925 AX_PROG_JAVA: finds a Java virtual machine.
6926
6927 AX_CHECK_CLASS: finds if we have the given class (beware of CLASSPATH!).
6928
6929 AX_CHECK_RQRD_CLASS: finds if we have the given class and stops
6930 otherwise.
6931
6932 AX_TRY_COMPILE_JAVA: attempt to compile user given source.
6933
6934 AX_TRY_RUN_JAVA: attempt to compile and run user given source.
6935
6936 AX_JAVA_OPTIONS: adds Java configure options.
6937
6938 AX_PROG_JAVA tests an existing Java virtual machine. It uses the
6939 environment variable JAVA then tests in sequence various common Java
6940 virtual machines. For political reasons, it starts with the free ones.
6941 You *must* call [AX_PROG_JAVAC] before.
6942
6943 If you want to force a specific VM:
6944
6945 - at the configure.in level, set JAVA=yourvm before calling AX_PROG_JAVA
6946
6947 (but after AC_INIT)
6948
6949 - at the configure level, setenv JAVA
6950
6951 You can use the JAVA variable in your Makefile.in, with @JAVA@.
6952
6953 *Warning*: its success or failure can depend on a proper setting of the
6954 CLASSPATH env. variable.
6955
6956 TODO: allow to exclude virtual machines (rationale: most Java programs
6957 cannot run with some VM like kaffe).
6958
6959 Note: This is part of the set of autoconf M4 macros for Java programs.
6960 It is VERY IMPORTANT that you download the whole set, some macros depend
6961 on other. Unfortunately, the autoconf archive does not support the
6962 concept of set of macros, so I had to break it for submission.
6963
6964 A Web page, with a link to the latest CVS snapshot is at
6965 <http://www.internatif.org/bortzmeyer/autoconf-Java/>.
6966
6967 This is a sample configure.in Process this file with autoconf to produce
6968 a configure script.
6969
6970 AC_INIT(UnTag.java)
6971
6972 dnl Checks for programs.
6973 AC_CHECK_CLASSPATH
6974 AX_PROG_JAVAC
6975 AX_PROG_JAVA
6976
6977 dnl Checks for classes
6978 AX_CHECK_RQRD_CLASS(org.xml.sax.Parser)
6979 AX_CHECK_RQRD_CLASS(com.jclark.xml.sax.Driver)
6980
6981 AC_OUTPUT(Makefile)
6982
6983 Source Code
6984 ***********
6985
6986 Download the latest version of 'ax_prog_java.m4'
6987 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_java.m4)
6988 or browse the macro's revision history
6989 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_java.m4).
6990
6991 License
6992 *******
6993
6994 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
6995
6996 This program is free software; you can redistribute it and/or modify it
6997 under the terms of the GNU General Public License as published by the
6998 Free Software Foundation; either version 2 of the License, or (at your
6999 option) any later version.
7000
7001 This program is distributed in the hope that it will be useful, but
7002 WITHOUT ANY WARRANTY; without even the implied warranty of
7003 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7004 Public License for more details.
7005
7006 You should have received a copy of the GNU General Public License along
7007 with this program. If not, see <https://www.gnu.org/licenses/>.
7008
7009 As a special exception, the respective Autoconf Macro's copyright owner
7010 gives unlimited permission to copy, distribute and modify the configure
7011 scripts that are the output of Autoconf when processing the Macro. You
7012 need not follow the terms of the GNU General Public License when using
7013 or distributing such scripts, even though portions of the text of the
7014 Macro appear in them. The GNU General Public License (GPL) does govern
7015 all other use of the material that constitutes the Autoconf Macro.
7016
7017 This special exception to the GPL applies to versions of the Autoconf
7018 Macro released by the Autoconf Archive. When you make and distribute a
7019 modified version of the Autoconf Macro, you may extend this special
7020 exception to the GPL to apply to your modified version as well.
7021
7022 
7023 File: autoconf-archive.info, Node: ax_prog_java_cc, Next: ax_prog_java_works, Prev: ax_prog_java, Up: The Macros
7024
7025 ax_prog_java_cc
7026 ===============
7027
7028 Synopsis
7029 ********
7030
7031 AX_PROG_JAVA_CC
7032
7033 Description
7034 ***********
7035
7036 Finds the appropriate java compiler on your path. By preference the
7037 java compiler is gcj, then jikes then javac.
7038
7039 The macro can take one argument specifying a space separated list of
7040 java compiler names.
7041
7042 For example:
7043
7044 AX_PROG_JAVA_CC(javac, gcj)
7045
7046 The macro also sets the compiler options variable: JAVA_CC_OPTS to
7047 something sensible:
7048
7049 - for GCJ it sets it to: @GCJ_OPTS@
7050 (if GCJ_OPTS is not yet defined then it is set to "-C")
7051
7052 - no other compiler has applicable options yet
7053
7054 Here's an example configure.in:
7055
7056 AC_INIT(Makefile.in)
7057 AX_PROG_JAVA_CC()
7058 AC_OUTPUT(Makefile)
7059 dnl End.
7060
7061 And here's the start of the Makefile.in:
7062
7063 PROJECT_ROOT := @srcdir@
7064 # Tool definitions.
7065 JAVAC := @JAVA_CC@
7066 JAVAC_OPTS := @JAVA_CC_OPTS@
7067 JAR_TOOL := @jar_tool@
7068
7069 Source Code
7070 ***********
7071
7072 Download the latest version of 'ax_prog_java_cc.m4'
7073 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_java_cc.m4)
7074 or browse the macro's revision history
7075 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_java_cc.m4).
7076
7077 License
7078 *******
7079
7080 Copyright (C) 2008 Nic Ferrier <nferrier@tapsellferrier.co.uk>
7081
7082 This program is free software; you can redistribute it and/or modify it
7083 under the terms of the GNU General Public License as published by the
7084 Free Software Foundation; either version 2 of the License, or (at your
7085 option) any later version.
7086
7087 This program is distributed in the hope that it will be useful, but
7088 WITHOUT ANY WARRANTY; without even the implied warranty of
7089 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7090 Public License for more details.
7091
7092 You should have received a copy of the GNU General Public License along
7093 with this program. If not, see <https://www.gnu.org/licenses/>.
7094
7095 As a special exception, the respective Autoconf Macro's copyright owner
7096 gives unlimited permission to copy, distribute and modify the configure
7097 scripts that are the output of Autoconf when processing the Macro. You
7098 need not follow the terms of the GNU General Public License when using
7099 or distributing such scripts, even though portions of the text of the
7100 Macro appear in them. The GNU General Public License (GPL) does govern
7101 all other use of the material that constitutes the Autoconf Macro.
7102
7103 This special exception to the GPL applies to versions of the Autoconf
7104 Macro released by the Autoconf Archive. When you make and distribute a
7105 modified version of the Autoconf Macro, you may extend this special
7106 exception to the GPL to apply to your modified version as well.
7107
7108 
7109 File: autoconf-archive.info, Node: ax_prog_java_works, Next: ax_prog_javac, Prev: ax_prog_java_cc, Up: The Macros
7110
7111 ax_prog_java_works
7112 ==================
7113
7114 Synopsis
7115 ********
7116
7117 AX_PROG_JAVA_WORKS
7118
7119 Description
7120 ***********
7121
7122 Internal use ONLY.
7123
7124 Note: This is part of the set of autoconf M4 macros for Java programs.
7125 It is VERY IMPORTANT that you download the whole set, some macros depend
7126 on other. Unfortunately, the autoconf archive does not support the
7127 concept of set of macros, so I had to break it for submission. The
7128 general documentation, as well as the sample configure.in, is included
7129 in the AX_PROG_JAVA macro.
7130
7131 Source Code
7132 ***********
7133
7134 Download the latest version of 'ax_prog_java_works.m4'
7135 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_java_works.m4)
7136 or browse the macro's revision history
7137 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_java_works.m4).
7138
7139 License
7140 *******
7141
7142 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
7143
7144 This program is free software; you can redistribute it and/or modify it
7145 under the terms of the GNU General Public License as published by the
7146 Free Software Foundation; either version 2 of the License, or (at your
7147 option) any later version.
7148
7149 This program is distributed in the hope that it will be useful, but
7150 WITHOUT ANY WARRANTY; without even the implied warranty of
7151 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7152 Public License for more details.
7153
7154 You should have received a copy of the GNU General Public License along
7155 with this program. If not, see <https://www.gnu.org/licenses/>.
7156
7157 As a special exception, the respective Autoconf Macro's copyright owner
7158 gives unlimited permission to copy, distribute and modify the configure
7159 scripts that are the output of Autoconf when processing the Macro. You
7160 need not follow the terms of the GNU General Public License when using
7161 or distributing such scripts, even though portions of the text of the
7162 Macro appear in them. The GNU General Public License (GPL) does govern
7163 all other use of the material that constitutes the Autoconf Macro.
7164
7165 This special exception to the GPL applies to versions of the Autoconf
7166 Macro released by the Autoconf Archive. When you make and distribute a
7167 modified version of the Autoconf Macro, you may extend this special
7168 exception to the GPL to apply to your modified version as well.
7169
7170 
7171 File: autoconf-archive.info, Node: ax_prog_javac, Next: ax_prog_javac_works, Prev: ax_prog_java_works, Up: The Macros
7172
7173 ax_prog_javac
7174 =============
7175
7176 Synopsis
7177 ********
7178
7179 AX_PROG_JAVAC
7180
7181 Description
7182 ***********
7183
7184 AX_PROG_JAVAC tests an existing Java compiler. It uses the environment
7185 variable JAVAC then tests in sequence various common Java compilers.
7186 For political reasons, it starts with the free ones.
7187
7188 If you want to force a specific compiler:
7189
7190 - at the configure.in level, set JAVAC=yourcompiler before calling
7191 AX_PROG_JAVAC
7192
7193 - at the configure level, setenv JAVAC
7194
7195 You can use the JAVAC variable in your Makefile.in, with @JAVAC@.
7196
7197 *Warning*: its success or failure can depend on a proper setting of the
7198 CLASSPATH env. variable.
7199
7200 TODO: allow to exclude compilers (rationale: most Java programs cannot
7201 compile with some compilers like guavac).
7202
7203 Note: This is part of the set of autoconf M4 macros for Java programs.
7204 It is VERY IMPORTANT that you download the whole set, some macros depend
7205 on other. Unfortunately, the autoconf archive does not support the
7206 concept of set of macros, so I had to break it for submission. The
7207 general documentation, as well as the sample configure.in, is included
7208 in the AX_PROG_JAVA macro.
7209
7210 Source Code
7211 ***********
7212
7213 Download the latest version of 'ax_prog_javac.m4'
7214 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javac.m4)
7215 or browse the macro's revision history
7216 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javac.m4).
7217
7218 License
7219 *******
7220
7221 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
7222
7223 This program is free software; you can redistribute it and/or modify it
7224 under the terms of the GNU General Public License as published by the
7225 Free Software Foundation; either version 2 of the License, or (at your
7226 option) any later version.
7227
7228 This program is distributed in the hope that it will be useful, but
7229 WITHOUT ANY WARRANTY; without even the implied warranty of
7230 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7231 Public License for more details.
7232
7233 You should have received a copy of the GNU General Public License along
7234 with this program. If not, see <https://www.gnu.org/licenses/>.
7235
7236 As a special exception, the respective Autoconf Macro's copyright owner
7237 gives unlimited permission to copy, distribute and modify the configure
7238 scripts that are the output of Autoconf when processing the Macro. You
7239 need not follow the terms of the GNU General Public License when using
7240 or distributing such scripts, even though portions of the text of the
7241 Macro appear in them. The GNU General Public License (GPL) does govern
7242 all other use of the material that constitutes the Autoconf Macro.
7243
7244 This special exception to the GPL applies to versions of the Autoconf
7245 Macro released by the Autoconf Archive. When you make and distribute a
7246 modified version of the Autoconf Macro, you may extend this special
7247 exception to the GPL to apply to your modified version as well.
7248
7249 
7250 File: autoconf-archive.info, Node: ax_prog_javac_works, Next: ax_prog_javadoc, Prev: ax_prog_javac, Up: The Macros
7251
7252 ax_prog_javac_works
7253 ===================
7254
7255 Synopsis
7256 ********
7257
7258 AX_PROG_JAVAC_WORKS
7259
7260 Description
7261 ***********
7262
7263 Internal use ONLY.
7264
7265 Note: This is part of the set of autoconf M4 macros for Java programs.
7266 It is VERY IMPORTANT that you download the whole set, some macros depend
7267 on other. Unfortunately, the autoconf archive does not support the
7268 concept of set of macros, so I had to break it for submission. The
7269 general documentation, as well as the sample configure.in, is included
7270 in the AX_PROG_JAVA macro.
7271
7272 Source Code
7273 ***********
7274
7275 Download the latest version of 'ax_prog_javac_works.m4'
7276 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javac_works.m4)
7277 or browse the macro's revision history
7278 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javac_works.m4).
7279
7280 License
7281 *******
7282
7283 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
7284
7285 This program is free software; you can redistribute it and/or modify it
7286 under the terms of the GNU General Public License as published by the
7287 Free Software Foundation; either version 2 of the License, or (at your
7288 option) any later version.
7289
7290 This program is distributed in the hope that it will be useful, but
7291 WITHOUT ANY WARRANTY; without even the implied warranty of
7292 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7293 Public License for more details.
7294
7295 You should have received a copy of the GNU General Public License along
7296 with this program. If not, see <https://www.gnu.org/licenses/>.
7297
7298 As a special exception, the respective Autoconf Macro's copyright owner
7299 gives unlimited permission to copy, distribute and modify the configure
7300 scripts that are the output of Autoconf when processing the Macro. You
7301 need not follow the terms of the GNU General Public License when using
7302 or distributing such scripts, even though portions of the text of the
7303 Macro appear in them. The GNU General Public License (GPL) does govern
7304 all other use of the material that constitutes the Autoconf Macro.
7305
7306 This special exception to the GPL applies to versions of the Autoconf
7307 Macro released by the Autoconf Archive. When you make and distribute a
7308 modified version of the Autoconf Macro, you may extend this special
7309 exception to the GPL to apply to your modified version as well.
7310
7311 
7312 File: autoconf-archive.info, Node: ax_prog_javadoc, Next: ax_prog_javah, Prev: ax_prog_javac_works, Up: The Macros
7313
7314 ax_prog_javadoc
7315 ===============
7316
7317 Synopsis
7318 ********
7319
7320 AX_PROG_JAVADOC
7321
7322 Description
7323 ***********
7324
7325 AX_PROG_JAVADOC tests for an existing javadoc generator. It uses the
7326 environment variable JAVADOC then tests in sequence various common
7327 javadoc generator.
7328
7329 If you want to force a specific compiler:
7330
7331 - at the configure.in level, set JAVADOC=yourgenerator before calling
7332 AX_PROG_JAVADOC
7333
7334 - at the configure level, setenv JAVADOC
7335
7336 You can use the JAVADOC variable in your Makefile.in, with @JAVADOC@.
7337
7338 Note: This macro depends on the autoconf M4 macros for Java programs.
7339 It is VERY IMPORTANT that you download that whole set, some macros
7340 depend on other. Unfortunately, the autoconf archive does not support
7341 the concept of set of macros, so I had to break it for submission.
7342
7343 The general documentation of those macros, as well as the sample
7344 configure.in, is included in the AX_PROG_JAVA macro.
7345
7346 Source Code
7347 ***********
7348
7349 Download the latest version of 'ax_prog_javadoc.m4'
7350 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javadoc.m4)
7351 or browse the macro's revision history
7352 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javadoc.m4).
7353
7354 License
7355 *******
7356
7357 Copyright (C) 2008 Egon Willighagen <e.willighagen@science.ru.nl>
7358
7359 Copying and distribution of this file, with or without modification, are
7360 permitted in any medium without royalty provided the copyright notice
7361 and this notice are preserved. This file is offered as-is, without any
7362 warranty.
7363
7364 
7365 File: autoconf-archive.info, Node: ax_prog_javah, Next: ax_prog_masm, Prev: ax_prog_javadoc, Up: The Macros
7366
7367 ax_prog_javah
7368 =============
7369
7370 Synopsis
7371 ********
7372
7373 AX_PROG_JAVAH
7374
7375 Description
7376 ***********
7377
7378 AX_PROG_JAVAH tests the availability of the javah header generator and
7379 looks for the jni.h header file. If available, JAVAH is set to the full
7380 path of javah and CPPFLAGS is updated accordingly.
7381
7382 Source Code
7383 ***********
7384
7385 Download the latest version of 'ax_prog_javah.m4'
7386 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javah.m4)
7387 or browse the macro's revision history
7388 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javah.m4).
7389
7390 License
7391 *******
7392
7393 Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
7394
7395 Copying and distribution of this file, with or without modification, are
7396 permitted in any medium without royalty provided the copyright notice
7397 and this notice are preserved. This file is offered as-is, without any
7398 warranty.
7399
7400 
7401 File: autoconf-archive.info, Node: ax_prog_masm, Next: ax_prog_masm_opt, Prev: ax_prog_javah, Up: The Macros
7402
7403 ax_prog_masm
7404 ============
7405
7406 Synopsis
7407 ********
7408
7409 AX_PROG_MASM([ACTION-IF-NOT-FOUND])
7410
7411 Description
7412 ***********
7413
7414 This macro searches for the MASM assembler and sets the variable "masm"
7415 to the name of the application or to "no" if not found. If
7416 ACTION-IF-NOT-FOUND is not specified, configure will fail when the
7417 program is not found.
7418
7419 Example:
7420
7421 AX_PROG_MASM()
7422 AX_PROG_MASM([masm_avail="no"])
7423
7424 Source Code
7425 ***********
7426
7427 Download the latest version of 'ax_prog_masm.m4'
7428 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_masm.m4)
7429 or browse the macro's revision history
7430 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_masm.m4).
7431
7432 License
7433 *******
7434
7435 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
7436
7437 This program is free software: you can redistribute it and/or modify it
7438 under the terms of the GNU Lesser General Public License as published by
7439 the Free Software Foundation, either version 3 of the License, or (at
7440 your option) any later version.
7441
7442 This program is distributed in the hope that it will be useful, but
7443 WITHOUT ANY WARRANTY; without even the implied warranty of
7444 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
7445 General Public License for more details.
7446
7447 You should have received a copy of the GNU Lesser General Public License
7448 along with this program. If not, see <https://www.gnu.org/licenses/>.
7449
7450 As a special exception, the respective Autoconf Macro's copyright owner
7451 gives unlimited permission to copy, distribute and modify the configure
7452 scripts that are the output of Autoconf when processing the Macro. You
7453 need not follow the terms of the GNU General Public License when using
7454 or distributing such scripts, even though portions of the text of the
7455 Macro appear in them. The GNU General Public License (GPL) does govern
7456 all other use of the material that constitutes the Autoconf Macro.
7457
7458 This special exception to the GPL applies to versions of the Autoconf
7459 Macro released by the Autoconf Archive. When you make and distribute a
7460 modified version of the Autoconf Macro, you may extend this special
7461 exception to the GPL to apply to your modified version as well.
7462
7463 
7464 File: autoconf-archive.info, Node: ax_prog_masm_opt, Next: ax_prog_md5sum, Prev: ax_prog_masm, Up: The Macros
7465
7466 ax_prog_masm_opt
7467 ================
7468
7469 Synopsis
7470 ********
7471
7472 AX_PROG_MASM_OPT(option, var_name)
7473
7474 Description
7475 ***********
7476
7477 This macro checks if the MASM assembler accepts the given option. If
7478 yes, the option is appended to the variable 'var_name', otherwise
7479 'var_name' is unchanged.
7480
7481 Example:
7482
7483 AX_PROG_MASM_OPT([/coff], [MASM_OPTS])
7484
7485 Source Code
7486 ***********
7487
7488 Download the latest version of 'ax_prog_masm_opt.m4'
7489 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_masm_opt.m4)
7490 or browse the macro's revision history
7491 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_masm_opt.m4).
7492
7493 License
7494 *******
7495
7496 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
7497
7498 This program is free software: you can redistribute it and/or modify it
7499 under the terms of the GNU Lesser General Public License as published by
7500 the Free Software Foundation, either version 3 of the License, or (at
7501 your option) any later version.
7502
7503 This program is distributed in the hope that it will be useful, but
7504 WITHOUT ANY WARRANTY; without even the implied warranty of
7505 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
7506 General Public License for more details.
7507
7508 You should have received a copy of the GNU Lesser General Public License
7509 along with this program. If not, see <https://www.gnu.org/licenses/>.
7510
7511 As a special exception, the respective Autoconf Macro's copyright owner
7512 gives unlimited permission to copy, distribute and modify the configure
7513 scripts that are the output of Autoconf when processing the Macro. You
7514 need not follow the terms of the GNU General Public License when using
7515 or distributing such scripts, even though portions of the text of the
7516 Macro appear in them. The GNU General Public License (GPL) does govern
7517 all other use of the material that constitutes the Autoconf Macro.
7518
7519 This special exception to the GPL applies to versions of the Autoconf
7520 Macro released by the Autoconf Archive. When you make and distribute a
7521 modified version of the Autoconf Macro, you may extend this special
7522 exception to the GPL to apply to your modified version as well.
7523
7524 
7525 File: autoconf-archive.info, Node: ax_prog_md5sum, Next: ax_prog_modprobe, Prev: ax_prog_masm_opt, Up: The Macros
7526
7527 ax_prog_md5sum
7528 ==============
7529
7530 Synopsis
7531 ********
7532
7533 AX_PROG_MD5SUM([ACTION-IF-NOT-FOUND])
7534
7535 Description
7536 ***********
7537
7538 This macro find a md5sum application and set the variable md5sum to the
7539 name of the application or to no if not found if ACTION-IF-NOT-FOUND is
7540 not specified, configure fail when then application is not found.
7541
7542 Source Code
7543 ***********
7544
7545 Download the latest version of 'ax_prog_md5sum.m4'
7546 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_md5sum.m4)
7547 or browse the macro's revision history
7548 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_md5sum.m4).
7549
7550 License
7551 *******
7552
7553 Copyright (C) 2009 Gabriele Bartolini <gabriele.bartolini@devise.it>
7554
7555 Copying and distribution of this file, with or without modification, are
7556 permitted in any medium without royalty provided the copyright notice
7557 and this notice are preserved. This file is offered as-is, without any
7558 warranty.
7559
7560 
7561 File: autoconf-archive.info, Node: ax_prog_modprobe, Next: ax_prog_mysql, Prev: ax_prog_md5sum, Up: The Macros
7562
7563 ax_prog_modprobe
7564 ================
7565
7566 Synopsis
7567 ********
7568
7569 AX_PROG_MODPROBE
7570
7571 Description
7572 ***********
7573
7574 This macro searches for a modprobe command, such as can be found on
7575 Linux systems with loadable kernel module support. PATH is checked
7576 first, then the default location(s).
7577
7578 This is one of several autoconf macros intended to assist in configuring
7579 and installing loadable kernel modules.
7580
7581 Source Code
7582 ***********
7583
7584 Download the latest version of 'ax_prog_modprobe.m4'
7585 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_modprobe.m4)
7586 or browse the macro's revision history
7587 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_modprobe.m4).
7588
7589 License
7590 *******
7591
7592 Copyright (C) 2008 Kaelin Colclasure <kaelin@acm.org>
7593
7594 Copying and distribution of this file, with or without modification, are
7595 permitted in any medium without royalty provided the copyright notice
7596 and this notice are preserved. This file is offered as-is, without any
7597 warranty.
7598
7599 
7600 File: autoconf-archive.info, Node: ax_prog_mysql, Next: ax_prog_mysqladmin, Prev: ax_prog_modprobe, Up: The Macros
7601
7602 ax_prog_mysql
7603 =============
7604
7605 Synopsis
7606 ********
7607
7608 AX_PROG_MYSQL
7609
7610 Description
7611 ***********
7612
7613 Check for the program 'mysql' let script continue if exists & works pops
7614 up error message if not.
7615
7616 Testing of functionality is by invoking it with root password 'rootpass'
7617 and a 'SELECT * FROM user' SQL statement. That SQL statement will
7618 select all user information from the 'user' privileges table, and should
7619 work on every proper MySQL server.
7620
7621 Besides checking mysql, this macro also set these environment variables
7622 upon completion:
7623
7624 MYSQL = which mysql
7625
7626 Source Code
7627 ***********
7628
7629 Download the latest version of 'ax_prog_mysql.m4'
7630 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysql.m4)
7631 or browse the macro's revision history
7632 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysql.m4).
7633
7634 License
7635 *******
7636
7637 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
7638
7639 This program is free software; you can redistribute it and/or modify it
7640 under the terms of the GNU General Public License as published by the
7641 Free Software Foundation; either version 2 of the License, or (at your
7642 option) any later version.
7643
7644 This program is distributed in the hope that it will be useful, but
7645 WITHOUT ANY WARRANTY; without even the implied warranty of
7646 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7647 Public License for more details.
7648
7649 You should have received a copy of the GNU General Public License along
7650 with this program. If not, see <https://www.gnu.org/licenses/>.
7651
7652 As a special exception, the respective Autoconf Macro's copyright owner
7653 gives unlimited permission to copy, distribute and modify the configure
7654 scripts that are the output of Autoconf when processing the Macro. You
7655 need not follow the terms of the GNU General Public License when using
7656 or distributing such scripts, even though portions of the text of the
7657 Macro appear in them. The GNU General Public License (GPL) does govern
7658 all other use of the material that constitutes the Autoconf Macro.
7659
7660 This special exception to the GPL applies to versions of the Autoconf
7661 Macro released by the Autoconf Archive. When you make and distribute a
7662 modified version of the Autoconf Macro, you may extend this special
7663 exception to the GPL to apply to your modified version as well.
7664
7665 
7666 File: autoconf-archive.info, Node: ax_prog_mysqladmin, Next: ax_prog_mysqld, Prev: ax_prog_mysql, Up: The Macros
7667
7668 ax_prog_mysqladmin
7669 ==================
7670
7671 Synopsis
7672 ********
7673
7674 AX_PROG_MYSQLADMIN
7675
7676 Description
7677 ***********
7678
7679 Check for the program 'mysqladmin' let script continue if exists & works
7680 pops up error message if not.
7681
7682 Testing of functionality is by invoking it with root password 'rootpass'
7683 and a 'flush-privileges' command.
7684
7685 Besides checking mysql, this macro also set these environment variables
7686 upon completion:
7687
7688 MYSQLADMIN = which mysqladmin
7689 MYSQL_DATADIR = directory containing mysql database
7690
7691 Source Code
7692 ***********
7693
7694 Download the latest version of 'ax_prog_mysqladmin.m4'
7695 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqladmin.m4)
7696 or browse the macro's revision history
7697 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqladmin.m4).
7698
7699 License
7700 *******
7701
7702 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
7703
7704 This program is free software; you can redistribute it and/or modify it
7705 under the terms of the GNU General Public License as published by the
7706 Free Software Foundation; either version 2 of the License, or (at your
7707 option) any later version.
7708
7709 This program is distributed in the hope that it will be useful, but
7710 WITHOUT ANY WARRANTY; without even the implied warranty of
7711 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7712 Public License for more details.
7713
7714 You should have received a copy of the GNU General Public License along
7715 with this program. If not, see <https://www.gnu.org/licenses/>.
7716
7717 As a special exception, the respective Autoconf Macro's copyright owner
7718 gives unlimited permission to copy, distribute and modify the configure
7719 scripts that are the output of Autoconf when processing the Macro. You
7720 need not follow the terms of the GNU General Public License when using
7721 or distributing such scripts, even though portions of the text of the
7722 Macro appear in them. The GNU General Public License (GPL) does govern
7723 all other use of the material that constitutes the Autoconf Macro.
7724
7725 This special exception to the GPL applies to versions of the Autoconf
7726 Macro released by the Autoconf Archive. When you make and distribute a
7727 modified version of the Autoconf Macro, you may extend this special
7728 exception to the GPL to apply to your modified version as well.
7729
7730 
7731 File: autoconf-archive.info, Node: ax_prog_mysqld, Next: ax_prog_mysqlimport, Prev: ax_prog_mysqladmin, Up: The Macros
7732
7733 ax_prog_mysqld
7734 ==============
7735
7736 Synopsis
7737 ********
7738
7739 AX_PROG_MYSQLD
7740
7741 Description
7742 ***********
7743
7744 Check for the program 'mysqld' let script continue if exists & works
7745 pops up error message if not.
7746
7747 Besides checking existence, this macro also set these environment
7748 variables upon completion:
7749
7750 MYSQLD = which mysqld
7751
7752 Source Code
7753 ***********
7754
7755 Download the latest version of 'ax_prog_mysqld.m4'
7756 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqld.m4)
7757 or browse the macro's revision history
7758 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqld.m4).
7759
7760 License
7761 *******
7762
7763 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
7764
7765 This program is free software; you can redistribute it and/or modify it
7766 under the terms of the GNU General Public License as published by the
7767 Free Software Foundation; either version 2 of the License, or (at your
7768 option) any later version.
7769
7770 This program is distributed in the hope that it will be useful, but
7771 WITHOUT ANY WARRANTY; without even the implied warranty of
7772 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7773 Public License for more details.
7774
7775 You should have received a copy of the GNU General Public License along
7776 with this program. If not, see <https://www.gnu.org/licenses/>.
7777
7778 As a special exception, the respective Autoconf Macro's copyright owner
7779 gives unlimited permission to copy, distribute and modify the configure
7780 scripts that are the output of Autoconf when processing the Macro. You
7781 need not follow the terms of the GNU General Public License when using
7782 or distributing such scripts, even though portions of the text of the
7783 Macro appear in them. The GNU General Public License (GPL) does govern
7784 all other use of the material that constitutes the Autoconf Macro.
7785
7786 This special exception to the GPL applies to versions of the Autoconf
7787 Macro released by the Autoconf Archive. When you make and distribute a
7788 modified version of the Autoconf Macro, you may extend this special
7789 exception to the GPL to apply to your modified version as well.
7790
7791 
7792 File: autoconf-archive.info, Node: ax_prog_mysqlimport, Next: ax_prog_mysqlshow, Prev: ax_prog_mysqld, Up: The Macros
7793
7794 ax_prog_mysqlimport
7795 ===================
7796
7797 Synopsis
7798 ********
7799
7800 AX_PROG_MYSQLIMPORT
7801
7802 Description
7803 ***********
7804
7805 Check for the program 'mysqlimport', let script continue if exists, pops
7806 up error message if not.
7807
7808 Besides checking existence, this macro also set these environment
7809 variables upon completion:
7810
7811 MYSQLIMPORT = which mysqlimport
7812
7813 Source Code
7814 ***********
7815
7816 Download the latest version of 'ax_prog_mysqlimport.m4'
7817 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqlimport.m4)
7818 or browse the macro's revision history
7819 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqlimport.m4).
7820
7821 License
7822 *******
7823
7824 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
7825
7826 This program is free software; you can redistribute it and/or modify it
7827 under the terms of the GNU General Public License as published by the
7828 Free Software Foundation; either version 2 of the License, or (at your
7829 option) any later version.
7830
7831 This program is distributed in the hope that it will be useful, but
7832 WITHOUT ANY WARRANTY; without even the implied warranty of
7833 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7834 Public License for more details.
7835
7836 You should have received a copy of the GNU General Public License along
7837 with this program. If not, see <https://www.gnu.org/licenses/>.
7838
7839 As a special exception, the respective Autoconf Macro's copyright owner
7840 gives unlimited permission to copy, distribute and modify the configure
7841 scripts that are the output of Autoconf when processing the Macro. You
7842 need not follow the terms of the GNU General Public License when using
7843 or distributing such scripts, even though portions of the text of the
7844 Macro appear in them. The GNU General Public License (GPL) does govern
7845 all other use of the material that constitutes the Autoconf Macro.
7846
7847 This special exception to the GPL applies to versions of the Autoconf
7848 Macro released by the Autoconf Archive. When you make and distribute a
7849 modified version of the Autoconf Macro, you may extend this special
7850 exception to the GPL to apply to your modified version as well.
7851
7852 
7853 File: autoconf-archive.info, Node: ax_prog_mysqlshow, Next: ax_prog_nasm, Prev: ax_prog_mysqlimport, Up: The Macros
7854
7855 ax_prog_mysqlshow
7856 =================
7857
7858 Synopsis
7859 ********
7860
7861 AX_PROG_MYSQLSHOW
7862
7863 Description
7864 ***********
7865
7866 Check for the program 'mysqlshow' let script continue if exists & works
7867 pops up error message if not.
7868
7869 Testing of functionality is by invoking it with root password
7870 'rootpass'. If it works, it should show all databases currently in
7871 system.
7872
7873 Besides checking mysql, this macro also set these environment variables
7874 upon completion:
7875
7876 MYSQLSHOW = which mysqlshow
7877
7878 Source Code
7879 ***********
7880
7881 Download the latest version of 'ax_prog_mysqlshow.m4'
7882 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqlshow.m4)
7883 or browse the macro's revision history
7884 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqlshow.m4).
7885
7886 License
7887 *******
7888
7889 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
7890
7891 This program is free software; you can redistribute it and/or modify it
7892 under the terms of the GNU General Public License as published by the
7893 Free Software Foundation; either version 2 of the License, or (at your
7894 option) any later version.
7895
7896 This program is distributed in the hope that it will be useful, but
7897 WITHOUT ANY WARRANTY; without even the implied warranty of
7898 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7899 Public License for more details.
7900
7901 You should have received a copy of the GNU General Public License along
7902 with this program. If not, see <https://www.gnu.org/licenses/>.
7903
7904 As a special exception, the respective Autoconf Macro's copyright owner
7905 gives unlimited permission to copy, distribute and modify the configure
7906 scripts that are the output of Autoconf when processing the Macro. You
7907 need not follow the terms of the GNU General Public License when using
7908 or distributing such scripts, even though portions of the text of the
7909 Macro appear in them. The GNU General Public License (GPL) does govern
7910 all other use of the material that constitutes the Autoconf Macro.
7911
7912 This special exception to the GPL applies to versions of the Autoconf
7913 Macro released by the Autoconf Archive. When you make and distribute a
7914 modified version of the Autoconf Macro, you may extend this special
7915 exception to the GPL to apply to your modified version as well.
7916
7917 
7918 File: autoconf-archive.info, Node: ax_prog_nasm, Next: ax_prog_nasm_opt, Prev: ax_prog_mysqlshow, Up: The Macros
7919
7920 ax_prog_nasm
7921 ============
7922
7923 Synopsis
7924 ********
7925
7926 AX_PROG_NASM([ACTION-IF-NOT-FOUND])
7927
7928 Description
7929 ***********
7930
7931 This macro searches for the NASM assembler and sets the variable "nasm"
7932 to the name of the application or to "no" if not found. If
7933 ACTION-IF-NOT-FOUND is not specified, configure will fail when the
7934 program is not found.
7935
7936 Example:
7937
7938 AX_PROG_NASM()
7939 AX_PROG_NASM([nasm_avail="no"])
7940
7941 Source Code
7942 ***********
7943
7944 Download the latest version of 'ax_prog_nasm.m4'
7945 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_nasm.m4)
7946 or browse the macro's revision history
7947 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_nasm.m4).
7948
7949 License
7950 *******
7951
7952 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
7953
7954 This program is free software: you can redistribute it and/or modify it
7955 under the terms of the GNU Lesser General Public License as published by
7956 the Free Software Foundation, either version 3 of the License, or (at
7957 your option) any later version.
7958
7959 This program is distributed in the hope that it will be useful, but
7960 WITHOUT ANY WARRANTY; without even the implied warranty of
7961 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
7962 General Public License for more details.
7963
7964 You should have received a copy of the GNU Lesser General Public License
7965 along with this program. If not, see <https://www.gnu.org/licenses/>.
7966
7967 As a special exception, the respective Autoconf Macro's copyright owner
7968 gives unlimited permission to copy, distribute and modify the configure
7969 scripts that are the output of Autoconf when processing the Macro. You
7970 need not follow the terms of the GNU General Public License when using
7971 or distributing such scripts, even though portions of the text of the
7972 Macro appear in them. The GNU General Public License (GPL) does govern
7973 all other use of the material that constitutes the Autoconf Macro.
7974
7975 This special exception to the GPL applies to versions of the Autoconf
7976 Macro released by the Autoconf Archive. When you make and distribute a
7977 modified version of the Autoconf Macro, you may extend this special
7978 exception to the GPL to apply to your modified version as well.
7979
7980 
7981 File: autoconf-archive.info, Node: ax_prog_nasm_opt, Next: ax_prog_perl_modules, Prev: ax_prog_nasm, Up: The Macros
7982
7983 ax_prog_nasm_opt
7984 ================
7985
7986 Synopsis
7987 ********
7988
7989 AX_PROG_NASM_OPT(option, var_name)
7990
7991 Description
7992 ***********
7993
7994 This macro checks if the NASM assembler accepts the given option. If
7995 yes, the option is appended to the variable 'var_name', otherwise
7996 'var_name' is unchanged.
7997
7998 Example:
7999
8000 AX_PROG_NASM_OPT([-f obj], [NASM_OPTS])
8001
8002 Source Code
8003 ***********
8004
8005 Download the latest version of 'ax_prog_nasm_opt.m4'
8006 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_nasm_opt.m4)
8007 or browse the macro's revision history
8008 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_nasm_opt.m4).
8009
8010 License
8011 *******
8012
8013 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
8014
8015 This program is free software: you can redistribute it and/or modify it
8016 under the terms of the GNU Lesser General Public License as published by
8017 the Free Software Foundation, either version 3 of the License, or (at
8018 your option) any later version.
8019
8020 This program is distributed in the hope that it will be useful, but
8021 WITHOUT ANY WARRANTY; without even the implied warranty of
8022 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
8023 General Public License for more details.
8024
8025 You should have received a copy of the GNU Lesser General Public License
8026 along with this program. If not, see <https://www.gnu.org/licenses/>.
8027
8028 As a special exception, the respective Autoconf Macro's copyright owner
8029 gives unlimited permission to copy, distribute and modify the configure
8030 scripts that are the output of Autoconf when processing the Macro. You
8031 need not follow the terms of the GNU General Public License when using
8032 or distributing such scripts, even though portions of the text of the
8033 Macro appear in them. The GNU General Public License (GPL) does govern
8034 all other use of the material that constitutes the Autoconf Macro.
8035
8036 This special exception to the GPL applies to versions of the Autoconf
8037 Macro released by the Autoconf Archive. When you make and distribute a
8038 modified version of the Autoconf Macro, you may extend this special
8039 exception to the GPL to apply to your modified version as well.
8040
8041 
8042 File: autoconf-archive.info, Node: ax_prog_perl_modules, Next: ax_prog_perl_version, Prev: ax_prog_nasm_opt, Up: The Macros
8043
8044 ax_prog_perl_modules
8045 ====================
8046
8047 Synopsis
8048 ********
8049
8050 AX_PROG_PERL_MODULES([MODULES], [ACTION-IF-TRUE], [ACTION-IF-FALSE])
8051
8052 Description
8053 ***********
8054
8055 Checks to see if the given perl modules are available. If true the
8056 shell commands in ACTION-IF-TRUE are executed. If not the shell
8057 commands in ACTION-IF-FALSE are run. Note if $PERL is not set (for
8058 example by calling AC_CHECK_PROG, or AC_PATH_PROG), AC_CHECK_PROG(PERL,
8059 perl, perl) will be run.
8060
8061 MODULES is a space separated list of module names. To check for a
8062 minimum version of a module, append the version number to the module
8063 name, separated by an equals sign.
8064
8065 Example:
8066
8067 AX_PROG_PERL_MODULES( Text::Wrap Net::LDAP=1.0.3, ,
8068 AC_MSG_WARN(Need some Perl modules)
8069
8070 Source Code
8071 ***********
8072
8073 Download the latest version of 'ax_prog_perl_modules.m4'
8074 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_perl_modules.m4)
8075 or browse the macro's revision history
8076 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_perl_modules.m4).
8077
8078 License
8079 *******
8080
8081 Copyright (C) 2009 Dean Povey <povey@wedgetail.com>
8082
8083 Copying and distribution of this file, with or without modification, are
8084 permitted in any medium without royalty provided the copyright notice
8085 and this notice are preserved. This file is offered as-is, without any
8086 warranty.
8087
8088 
8089 File: autoconf-archive.info, Node: ax_prog_perl_version, Next: ax_prog_pgclient, Prev: ax_prog_perl_modules, Up: The Macros
8090
8091 ax_prog_perl_version
8092 ====================
8093
8094 Synopsis
8095 ********
8096
8097 AX_PROG_PERL_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
8098
8099 Description
8100 ***********
8101
8102 Makes sure that perl supports the version indicated. If true the shell
8103 commands in ACTION-IF-TRUE are executed. If not the shell commands in
8104 ACTION-IF-FALSE are run. Note if $PERL is not set (for example by
8105 running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
8106
8107 Example:
8108
8109 AC_PATH_PROG([PERL],[perl])
8110 AX_PROG_PERL_VERSION([5.8.0],[ ... ],[ ... ])
8111
8112 This will check to make sure that the perl you have supports at least
8113 version 5.8.0.
8114
8115 NOTE: This macro uses the $PERL variable to perform the check.
8116 AX_WITH_PERL can be used to set that variable prior to running this
8117 macro. The $PERL_VERSION variable will be valorized with the detected
8118 version.
8119
8120 Source Code
8121 ***********
8122
8123 Download the latest version of 'ax_prog_perl_version.m4'
8124 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_perl_version.m4)
8125 or browse the macro's revision history
8126 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_perl_version.m4).
8127
8128 License
8129 *******
8130
8131 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
8132
8133 Copying and distribution of this file, with or without modification, are
8134 permitted in any medium without royalty provided the copyright notice
8135 and this notice are preserved. This file is offered as-is, without any
8136 warranty.
8137
8138 
8139 File: autoconf-archive.info, Node: ax_prog_pgclient, Next: ax_prog_python_version, Prev: ax_prog_perl_version, Up: The Macros
8140
8141 ax_prog_pgclient
8142 ================
8143
8144 Synopsis
8145 ********
8146
8147 AX_PROG_PGCLIENT()
8148
8149 Description
8150 ***********
8151
8152 This macro searches for a program called 'pgclient'. If found the
8153 variable $pgclient is set to its path. Else it is set to 0. An option
8154 is added to the configure script for setting an search path instead of
8155 $PATH ($pgclient_dir). If pgclient is necessary for installing your
8156 program, you can do something like the following to stop configure with
8157 an error if pgclient wasn't found:
8158
8159 if test "x$pgclient" = "x0"; then AC_MSG_ERROR([We need that to setup the database!]); fi
8160
8161 pgclient can be found at http://pgclient.freesources.org
8162
8163 Source Code
8164 ***********
8165
8166 Download the latest version of 'ax_prog_pgclient.m4'
8167 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_pgclient.m4)
8168 or browse the macro's revision history
8169 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_pgclient.m4).
8170
8171 License
8172 *******
8173
8174 Copyright (C) 2008 Moritz Sinn <moritz@freesources.org>
8175
8176 This program is free software; you can redistribute it and/or modify it
8177 under the terms of the GNU General Public License as published by the
8178 Free Software Foundation; either version 2 of the License, or (at your
8179 option) any later version.
8180
8181 This program is distributed in the hope that it will be useful, but
8182 WITHOUT ANY WARRANTY; without even the implied warranty of
8183 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8184 Public License for more details.
8185
8186 You should have received a copy of the GNU General Public License along
8187 with this program. If not, see <https://www.gnu.org/licenses/>.
8188
8189 As a special exception, the respective Autoconf Macro's copyright owner
8190 gives unlimited permission to copy, distribute and modify the configure
8191 scripts that are the output of Autoconf when processing the Macro. You
8192 need not follow the terms of the GNU General Public License when using
8193 or distributing such scripts, even though portions of the text of the
8194 Macro appear in them. The GNU General Public License (GPL) does govern
8195 all other use of the material that constitutes the Autoconf Macro.
8196
8197 This special exception to the GPL applies to versions of the Autoconf
8198 Macro released by the Autoconf Archive. When you make and distribute a
8199 modified version of the Autoconf Macro, you may extend this special
8200 exception to the GPL to apply to your modified version as well.
8201
8202 
8203 File: autoconf-archive.info, Node: ax_prog_python_version, Next: ax_prog_robot, Prev: ax_prog_pgclient, Up: The Macros
8204
8205 ax_prog_python_version
8206 ======================
8207
8208 Synopsis
8209 ********
8210
8211 AX_PROG_PYTHON_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
8212
8213 Description
8214 ***********
8215
8216 Makes sure that python supports the version indicated. If true the
8217 shell commands in ACTION-IF-TRUE are executed. If not the shell
8218 commands in ACTION-IF-FALSE are run. Note if $PYTHON is not set (for
8219 example by running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
8220
8221 Example:
8222
8223 AC_PATH_PROG([PYTHON],[python])
8224 AX_PROG_PYTHON_VERSION([2.4.4],[ ... ],[ ... ])
8225
8226 This will check to make sure that the python you have supports at least
8227 version 2.4.4.
8228
8229 NOTE: This macro uses the $PYTHON variable to perform the check.
8230 AX_WITH_PYTHON can be used to set that variable prior to running this
8231 macro. The $PYTHON_VERSION variable will be valorized with the detected
8232 version.
8233
8234 Source Code
8235 ***********
8236
8237 Download the latest version of 'ax_prog_python_version.m4'
8238 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_python_version.m4)
8239 or browse the macro's revision history
8240 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_python_version.m4).
8241
8242 License
8243 *******
8244
8245 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
8246
8247 Copying and distribution of this file, with or without modification, are
8248 permitted in any medium without royalty provided the copyright notice
8249 and this notice are preserved. This file is offered as-is, without any
8250 warranty.
8251
8252 
8253 File: autoconf-archive.info, Node: ax_prog_robot, Next: ax_prog_ruby_version, Prev: ax_prog_python_version, Up: The Macros
8254
8255 ax_prog_robot
8256 =============
8257
8258 Synopsis
8259 ********
8260
8261 AX_PROG_ROBOT([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
8262
8263 Description
8264 ***********
8265
8266 This macro searches for the "robot" command from the Robot Framework and
8267 sets the variable "ROBOT" to the name of the application and the
8268 "ROBOT_VERSION" variable to the version of the Robot Framework. When
8269 robot is found sets the "HAS_ROBOT" to "yes", otherwise to "no".
8270
8271 Example:
8272
8273 AX_PROG_ROBOT([3.1.0], [], [])
8274
8275 Source Code
8276 ***********
8277
8278 Download the latest version of 'ax_prog_robot.m4'
8279 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_robot.m4)
8280 or browse the macro's revision history
8281 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_robot.m4).
8282
8283 License
8284 *******
8285
8286 Copyright (C) 2020, Adam Chyla <adam@chyla.org>
8287
8288 Distributed under the terms of the BSD 3-Clause License.
8289
8290 
8291 File: autoconf-archive.info, Node: ax_prog_ruby_version, Next: ax_prog_scala, Prev: ax_prog_robot, Up: The Macros
8292
8293 ax_prog_ruby_version
8294 ====================
8295
8296 Synopsis
8297 ********
8298
8299 AX_PROG_RUBY_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
8300
8301 Description
8302 ***********
8303
8304 Makes sure that ruby supports the version indicated. If true the shell
8305 commands in ACTION-IF-TRUE are executed. If not the shell commands in
8306 ACTION-IF-FALSE are run. Note if $RUBY is not set (for example by
8307 running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
8308
8309 Example:
8310
8311 AC_PATH_PROG([RUBY],[ruby])
8312 AC_PROG_RUBY_VERSION([1.8.0],[ ... ],[ ... ])
8313
8314 This will check to make sure that the ruby you have supports at least
8315 version 1.6.0.
8316
8317 NOTE: This macro uses the $RUBY variable to perform the check.
8318 AX_WITH_PROG([RUBY],[ruby],[VALUE-IF-NOT-FOUND],[PATH]) can be used to
8319 set that variable prior to running this macro. The $RUBY_VERSION
8320 variable will be valorized with the detected version.
8321
8322 Source Code
8323 ***********
8324
8325 Download the latest version of 'ax_prog_ruby_version.m4'
8326 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_ruby_version.m4)
8327 or browse the macro's revision history
8328 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_ruby_version.m4).
8329
8330 License
8331 *******
8332
8333 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
8334
8335 Copying and distribution of this file, with or without modification, are
8336 permitted in any medium without royalty provided the copyright notice
8337 and this notice are preserved. This file is offered as-is, without any
8338 warranty.
8339
8340 
8341 File: autoconf-archive.info, Node: ax_prog_scala, Next: ax_prog_scalac, Prev: ax_prog_ruby_version, Up: The Macros
8342
8343 ax_prog_scala
8344 =============
8345
8346 Synopsis
8347 ********
8348
8349 AX_PROG_SCALA
8350
8351 Description
8352 ***********
8353
8354 AX_PROG_SCALA will check that scala is available. If it is SCALA will
8355 be set to its path and SCALA_VERSION will be set to its version.
8356
8357 Hint: AX_COMPARE_VERSION can be used to check if SCALA_VERSION has an
8358 acceptable value.
8359
8360 Source Code
8361 ***********
8362
8363 Download the latest version of 'ax_prog_scala.m4'
8364 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_scala.m4)
8365 or browse the macro's revision history
8366 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_scala.m4).
8367
8368 License
8369 *******
8370
8371 Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
8372
8373 Copying and distribution of this file, with or without modification, are
8374 permitted in any medium without royalty provided the copyright notice
8375 and this notice are preserved. This file is offered as-is, without any
8376 warranty.
8377
8378 
8379 File: autoconf-archive.info, Node: ax_prog_scalac, Next: ax_prog_scp, Prev: ax_prog_scala, Up: The Macros
8380
8381 ax_prog_scalac
8382 ==============
8383
8384 Synopsis
8385 ********
8386
8387 AX_PROG_SCALAC
8388
8389 Description
8390 ***********
8391
8392 AX_PROG_SCALAC will check that a scala compiler is available, that it
8393 works and set SCALAC for the Makefile.
8394
8395 AX_PROG_SCALAC will search the path for a Scala compiler. To choose
8396 another compiler use the environment variable SCALAC.
8397
8398 Source Code
8399 ***********
8400
8401 Download the latest version of 'ax_prog_scalac.m4'
8402 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_scalac.m4)
8403 or browse the macro's revision history
8404 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_scalac.m4).
8405
8406 License
8407 *******
8408
8409 Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
8410
8411 Copying and distribution of this file, with or without modification, are
8412 permitted in any medium without royalty provided the copyright notice
8413 and this notice are preserved. This file is offered as-is, without any
8414 warranty.
8415
8416 
8417 File: autoconf-archive.info, Node: ax_prog_scp, Next: ax_prog_splint, Prev: ax_prog_scalac, Up: The Macros
8418
8419 ax_prog_scp
8420 ===========
8421
8422 Synopsis
8423 ********
8424
8425 AX_PROG_SCP
8426
8427 Description
8428 ***********
8429
8430 Check for the program 'scp', let script continue if exists, pops up
8431 error message if not.
8432
8433 Besides checking existence, this macro also set these environment
8434 variables upon completion:
8435
8436 SCP = which scp
8437
8438 Source Code
8439 ***********
8440
8441 Download the latest version of 'ax_prog_scp.m4'
8442 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_scp.m4)
8443 or browse the macro's revision history
8444 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_scp.m4).
8445
8446 License
8447 *******
8448
8449 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
8450
8451 This program is free software; you can redistribute it and/or modify it
8452 under the terms of the GNU General Public License as published by the
8453 Free Software Foundation; either version 2 of the License, or (at your
8454 option) any later version.
8455
8456 This program is distributed in the hope that it will be useful, but
8457 WITHOUT ANY WARRANTY; without even the implied warranty of
8458 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8459 Public License for more details.
8460
8461 You should have received a copy of the GNU General Public License along
8462 with this program. If not, see <https://www.gnu.org/licenses/>.
8463
8464 As a special exception, the respective Autoconf Macro's copyright owner
8465 gives unlimited permission to copy, distribute and modify the configure
8466 scripts that are the output of Autoconf when processing the Macro. You
8467 need not follow the terms of the GNU General Public License when using
8468 or distributing such scripts, even though portions of the text of the
8469 Macro appear in them. The GNU General Public License (GPL) does govern
8470 all other use of the material that constitutes the Autoconf Macro.
8471
8472 This special exception to the GPL applies to versions of the Autoconf
8473 Macro released by the Autoconf Archive. When you make and distribute a
8474 modified version of the Autoconf Macro, you may extend this special
8475 exception to the GPL to apply to your modified version as well.
0 This is autoconf-archive.info, produced by makeinfo version 6.7 from
1 autoconf-archive.texi.
2
3 This manual is for GNU Autoconf Archive version 2021.02.19, a collection
4 of freely re-usable Autoconf macros.
5
6 Copyright (C) 2016 Autoconf Archive Maintainers
7 <autoconf-archive-maintainers@gnu.org>
8
9 Permission is granted to copy, distribute and/or modify this document
10 under the terms of the GNU Free Documentation License, Version 1.3 or
11 any later version published by the Free Software Foundation; with no
12 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
13 copy of the license is included in the section entitled "GNU Free
14 Documentation License".
15 INFO-DIR-SECTION Software development
16 START-INFO-DIR-ENTRY
17 * Autoconf Archive: (autoconf-archive). A collection of re-usable Autoconf macros.
18 END-INFO-DIR-ENTRY
19
20
21 
22 File: autoconf-archive.info, Node: ax_prog_splint, Next: ax_prog_ssh, Prev: ax_prog_scp, Up: The Macros
23
24 ax_prog_splint
25 ==============
26
27 Synopsis
28 ********
29
30 AX_PROG_SPLINT([AX_SPLINTFLAGS])
31
32 Description
33 ***********
34
35 Check for program splint, the static C code checking tool. The splint
36 URL is given by http://www.splint.org. This macro should be use
37 together with automake.
38
39 Enables following environment variables:
40
41 SPLINT
42 SPLINTFLAGS
43
44 and AX_SPLINTFLAGS is given by AC_SUBST. If AX_SPLINTFLAGS is not given
45 by AX_PROG_SPLINT it defaults to "-weak".
46
47 Enables the following make target:
48
49 splint-check
50
51 which runs splint per PROGRAMS and LIBRARIES. Output from splint run is
52 collected in file ***_splint.log where *** is given by the PROGRAMS or
53 LIBRARIES name.
54
55 The following line is required in Makefile.am:
56
57 include aminclude_static.am
58
59 Source Code
60 ***********
61
62 Download the latest version of 'ax_prog_splint.m4'
63 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_splint.m4)
64 or browse the macro's revision history
65 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_splint.m4).
66
67 License
68 *******
69
70 Copyright (C) 2011 Henrik Uhrenholt
71
72 Copying and distribution of this file, with or without modification, are
73 permitted in any medium without royalty provided the copyright notice
74 and this notice are preserved. This file is offered as-is, without any
75 warranty.
76
77 
78 File: autoconf-archive.info, Node: ax_prog_ssh, Next: ax_prog_tasm, Prev: ax_prog_splint, Up: The Macros
79
80 ax_prog_ssh
81 ===========
82
83 Synopsis
84 ********
85
86 AX_PROG_SSH
87
88 Description
89 ***********
90
91 Check for the program 'ssh', let script continue if exists, pops up
92 error message if not.
93
94 Besides checking existence, this macro also set these environment
95 variables upon completion:
96
97 SSH = which ssh
98
99 Source Code
100 ***********
101
102 Download the latest version of 'ax_prog_ssh.m4'
103 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_ssh.m4)
104 or browse the macro's revision history
105 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_ssh.m4).
106
107 License
108 *******
109
110 Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
111
112 This program is free software; you can redistribute it and/or modify it
113 under the terms of the GNU General Public License as published by the
114 Free Software Foundation; either version 2 of the License, or (at your
115 option) any later version.
116
117 This program is distributed in the hope that it will be useful, but
118 WITHOUT ANY WARRANTY; without even the implied warranty of
119 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
120 Public License for more details.
121
122 You should have received a copy of the GNU General Public License along
123 with this program. If not, see <https://www.gnu.org/licenses/>.
124
125 As a special exception, the respective Autoconf Macro's copyright owner
126 gives unlimited permission to copy, distribute and modify the configure
127 scripts that are the output of Autoconf when processing the Macro. You
128 need not follow the terms of the GNU General Public License when using
129 or distributing such scripts, even though portions of the text of the
130 Macro appear in them. The GNU General Public License (GPL) does govern
131 all other use of the material that constitutes the Autoconf Macro.
132
133 This special exception to the GPL applies to versions of the Autoconf
134 Macro released by the Autoconf Archive. When you make and distribute a
135 modified version of the Autoconf Macro, you may extend this special
136 exception to the GPL to apply to your modified version as well.
137
138 
139 File: autoconf-archive.info, Node: ax_prog_tasm, Next: ax_prog_tasm_opt, Prev: ax_prog_ssh, Up: The Macros
140
141 ax_prog_tasm
142 ============
143
144 Synopsis
145 ********
146
147 AX_PROG_TASM([ACTION-IF-NOT-FOUND])
148
149 Description
150 ***********
151
152 This macro searches for the TASM assembler and sets the variable "tasm"
153 to the name of the application or to "no" if not found. If
154 ACTION-IF-NOT-FOUND is not specified, configure will fail when the
155 program is not found.
156
157 Example:
158
159 AX_PROG_TASM()
160 AX_PROG_TASM([tasm_avail="no"])
161
162 Source Code
163 ***********
164
165 Download the latest version of 'ax_prog_tasm.m4'
166 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_tasm.m4)
167 or browse the macro's revision history
168 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_tasm.m4).
169
170 License
171 *******
172
173 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
174
175 This program is free software: you can redistribute it and/or modify it
176 under the terms of the GNU Lesser General Public License as published by
177 the Free Software Foundation, either version 3 of the License, or (at
178 your option) any later version.
179
180 This program is distributed in the hope that it will be useful, but
181 WITHOUT ANY WARRANTY; without even the implied warranty of
182 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
183 General Public License for more details.
184
185 You should have received a copy of the GNU Lesser General Public License
186 along with this program. If not, see <https://www.gnu.org/licenses/>.
187
188 As a special exception, the respective Autoconf Macro's copyright owner
189 gives unlimited permission to copy, distribute and modify the configure
190 scripts that are the output of Autoconf when processing the Macro. You
191 need not follow the terms of the GNU General Public License when using
192 or distributing such scripts, even though portions of the text of the
193 Macro appear in them. The GNU General Public License (GPL) does govern
194 all other use of the material that constitutes the Autoconf Macro.
195
196 This special exception to the GPL applies to versions of the Autoconf
197 Macro released by the Autoconf Archive. When you make and distribute a
198 modified version of the Autoconf Macro, you may extend this special
199 exception to the GPL to apply to your modified version as well.
200
201 
202 File: autoconf-archive.info, Node: ax_prog_tasm_opt, Next: ax_prog_tcl, Prev: ax_prog_tasm, Up: The Macros
203
204 ax_prog_tasm_opt
205 ================
206
207 Synopsis
208 ********
209
210 AX_PROG_TASM_OPT(option, var_name)
211
212 Description
213 ***********
214
215 This macro checks if the TASM assembler accepts the given option. If
216 yes, the option is appended to the variable 'var_name', otherwise
217 'var_name' is unchanged.
218
219 Example:
220
221 AX_PROG_TASM_OPT([/z], [TASM_OPTS])
222
223 Source Code
224 ***********
225
226 Download the latest version of 'ax_prog_tasm_opt.m4'
227 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_tasm_opt.m4)
228 or browse the macro's revision history
229 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_tasm_opt.m4).
230
231 License
232 *******
233
234 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
235
236 This program is free software: you can redistribute it and/or modify it
237 under the terms of the GNU Lesser General Public License as published by
238 the Free Software Foundation, either version 3 of the License, or (at
239 your option) any later version.
240
241 This program is distributed in the hope that it will be useful, but
242 WITHOUT ANY WARRANTY; without even the implied warranty of
243 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
244 General Public License for more details.
245
246 You should have received a copy of the GNU Lesser General Public License
247 along with this program. If not, see <https://www.gnu.org/licenses/>.
248
249 As a special exception, the respective Autoconf Macro's copyright owner
250 gives unlimited permission to copy, distribute and modify the configure
251 scripts that are the output of Autoconf when processing the Macro. You
252 need not follow the terms of the GNU General Public License when using
253 or distributing such scripts, even though portions of the text of the
254 Macro appear in them. The GNU General Public License (GPL) does govern
255 all other use of the material that constitutes the Autoconf Macro.
256
257 This special exception to the GPL applies to versions of the Autoconf
258 Macro released by the Autoconf Archive. When you make and distribute a
259 modified version of the Autoconf Macro, you may extend this special
260 exception to the GPL to apply to your modified version as well.
261
262 
263 File: autoconf-archive.info, Node: ax_prog_tcl, Next: ax_prog_xsltproc, Prev: ax_prog_tasm_opt, Up: The Macros
264
265 ax_prog_tcl
266 ===========
267
268 Synopsis
269 ********
270
271 AX_PROG_TCL([min-version])
272
273 Description
274 ***********
275
276 Searches for tcl (tclsh and wish) in PATH and checks which version is
277 installed. The macro bails out if either tcl is not found or the
278 minimum version is not satisfied, unless minimum version is "0".
279
280 Example:
281
282 AX_PROG_TCL
283
284 This checks for tcl and if not found, exits with an error. If found, it
285 prints tcl path and version number.
286
287 AX_PROG_TCL([8.0])
288
289 Checks for tcl and exits with an error if its not found or the version
290 is below 8.0.
291
292 Source Code
293 ***********
294
295 Download the latest version of 'ax_prog_tcl.m4'
296 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_tcl.m4)
297 or browse the macro's revision history
298 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_tcl.m4).
299
300 License
301 *******
302
303 Copyright (C) 2008 David Cluytens
304 Copyright (C) 2008 Uwe Mayer <merkosh@hadiko.de>
305
306 This program is free software: you can redistribute it and/or modify it
307 under the terms of the GNU General Public License as published by the
308 Free Software Foundation, either version 3 of the License, or (at your
309 option) any later version.
310
311 This program is distributed in the hope that it will be useful, but
312 WITHOUT ANY WARRANTY; without even the implied warranty of
313 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
314 Public License for more details.
315
316 You should have received a copy of the GNU General Public License along
317 with this program. If not, see <https://www.gnu.org/licenses/>.
318
319 As a special exception, the respective Autoconf Macro's copyright owner
320 gives unlimited permission to copy, distribute and modify the configure
321 scripts that are the output of Autoconf when processing the Macro. You
322 need not follow the terms of the GNU General Public License when using
323 or distributing such scripts, even though portions of the text of the
324 Macro appear in them. The GNU General Public License (GPL) does govern
325 all other use of the material that constitutes the Autoconf Macro.
326
327 This special exception to the GPL applies to versions of the Autoconf
328 Macro released by the Autoconf Archive. When you make and distribute a
329 modified version of the Autoconf Macro, you may extend this special
330 exception to the GPL to apply to your modified version as well.
331
332 
333 File: autoconf-archive.info, Node: ax_prog_xsltproc, Next: ax_prog_yasm, Prev: ax_prog_tcl, Up: The Macros
334
335 ax_prog_xsltproc
336 ================
337
338 Synopsis
339 ********
340
341 AX_PROG_XSLTPROC([default-flags])
342
343 Description
344 ***********
345
346 Find an xsltproc executable.
347
348 Input:
349
350 "default-flags" is the default $XSLTPROC_FLAGS, which will be overridden
351 if the user specifies -with-xsltproc-flags.
352
353 Output:
354
355 $XSLTPROC contains the path to xsltproc, or is empty if none was found
356 or the user specified -without-xsltproc. $XSLTPROC_FLAGS contains the
357 flags to use with xsltproc.
358
359 Source Code
360 ***********
361
362 Download the latest version of 'ax_prog_xsltproc.m4'
363 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_xsltproc.m4)
364 or browse the macro's revision history
365 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_xsltproc.m4).
366
367 License
368 *******
369
370 Copyright (C) 2008,2009 Zmanda Inc. <http://www.zmanda.com/>
371 Copyright (C) 2008,2009 Dustin J. Mitchell <dustin@zmanda.com>
372
373 This program is free software; you can redistribute it and/or modify it
374 under the terms of the GNU General Public License as published by the
375 Free Software Foundation; either version 2 of the License, or (at your
376 option) any later version.
377
378 This program is distributed in the hope that it will be useful, but
379 WITHOUT ANY WARRANTY; without even the implied warranty of
380 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
381 Public License for more details.
382
383 You should have received a copy of the GNU General Public License along
384 with this program. If not, see <https://www.gnu.org/licenses/>.
385
386 As a special exception, the respective Autoconf Macro's copyright owner
387 gives unlimited permission to copy, distribute and modify the configure
388 scripts that are the output of Autoconf when processing the Macro. You
389 need not follow the terms of the GNU General Public License when using
390 or distributing such scripts, even though portions of the text of the
391 Macro appear in them. The GNU General Public License (GPL) does govern
392 all other use of the material that constitutes the Autoconf Macro.
393
394 This special exception to the GPL applies to versions of the Autoconf
395 Macro released by the Autoconf Archive. When you make and distribute a
396 modified version of the Autoconf Macro, you may extend this special
397 exception to the GPL to apply to your modified version as well.
398
399 
400 File: autoconf-archive.info, Node: ax_prog_yasm, Next: ax_prog_yasm_opt, Prev: ax_prog_xsltproc, Up: The Macros
401
402 ax_prog_yasm
403 ============
404
405 Synopsis
406 ********
407
408 AX_PROG_YASM([ACTION-IF-NOT-FOUND])
409
410 Description
411 ***********
412
413 This macro searches for the YASM assembler and sets the variable "yasm"
414 to the name of the application or to "no" if not found. If
415 ACTION-IF-NOT-FOUND is not specified, configure will fail when the
416 program is not found.
417
418 Example:
419
420 AX_PROG_YASM()
421 AX_PROG_YASM([yasm_avail="no"])
422
423 Source Code
424 ***********
425
426 Download the latest version of 'ax_prog_yasm.m4'
427 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_yasm.m4)
428 or browse the macro's revision history
429 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_yasm.m4).
430
431 License
432 *******
433
434 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
435
436 This program is free software: you can redistribute it and/or modify it
437 under the terms of the GNU Lesser General Public License as published by
438 the Free Software Foundation, either version 3 of the License, or (at
439 your option) any later version.
440
441 This program is distributed in the hope that it will be useful, but
442 WITHOUT ANY WARRANTY; without even the implied warranty of
443 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
444 General Public License for more details.
445
446 You should have received a copy of the GNU Lesser General Public License
447 along with this program. If not, see <https://www.gnu.org/licenses/>.
448
449 As a special exception, the respective Autoconf Macro's copyright owner
450 gives unlimited permission to copy, distribute and modify the configure
451 scripts that are the output of Autoconf when processing the Macro. You
452 need not follow the terms of the GNU General Public License when using
453 or distributing such scripts, even though portions of the text of the
454 Macro appear in them. The GNU General Public License (GPL) does govern
455 all other use of the material that constitutes the Autoconf Macro.
456
457 This special exception to the GPL applies to versions of the Autoconf
458 Macro released by the Autoconf Archive. When you make and distribute a
459 modified version of the Autoconf Macro, you may extend this special
460 exception to the GPL to apply to your modified version as well.
461
462 
463 File: autoconf-archive.info, Node: ax_prog_yasm_opt, Next: ax_prototype, Prev: ax_prog_yasm, Up: The Macros
464
465 ax_prog_yasm_opt
466 ================
467
468 Synopsis
469 ********
470
471 AX_PROG_YASM_OPT(option, var_name)
472
473 Description
474 ***********
475
476 This macro checks if the YASM assembler accepts the given option. If
477 yes, the option is appended to the variable 'var_name', otherwise
478 'var_name' is unchanged.
479
480 Example:
481
482 AX_PROG_YASM_OPT([-f bin], [YASM_OPTS])
483
484 Source Code
485 ***********
486
487 Download the latest version of 'ax_prog_yasm_opt.m4'
488 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_yasm_opt.m4)
489 or browse the macro's revision history
490 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_yasm_opt.m4).
491
492 License
493 *******
494
495 Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
496
497 This program is free software: you can redistribute it and/or modify it
498 under the terms of the GNU Lesser General Public License as published by
499 the Free Software Foundation, either version 3 of the License, or (at
500 your option) any later version.
501
502 This program is distributed in the hope that it will be useful, but
503 WITHOUT ANY WARRANTY; without even the implied warranty of
504 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
505 General Public License for more details.
506
507 You should have received a copy of the GNU Lesser General Public License
508 along with this program. If not, see <https://www.gnu.org/licenses/>.
509
510 As a special exception, the respective Autoconf Macro's copyright owner
511 gives unlimited permission to copy, distribute and modify the configure
512 scripts that are the output of Autoconf when processing the Macro. You
513 need not follow the terms of the GNU General Public License when using
514 or distributing such scripts, even though portions of the text of the
515 Macro appear in them. The GNU General Public License (GPL) does govern
516 all other use of the material that constitutes the Autoconf Macro.
517
518 This special exception to the GPL applies to versions of the Autoconf
519 Macro released by the Autoconf Archive. When you make and distribute a
520 modified version of the Autoconf Macro, you may extend this special
521 exception to the GPL to apply to your modified version as well.
522
523 
524 File: autoconf-archive.info, Node: ax_prototype, Next: ax_prototype_accept, Prev: ax_prog_yasm_opt, Up: The Macros
525
526 ax_prototype
527 ============
528
529 Synopsis
530 ********
531
532 AX_PROTOTYPE(function, includes, code, TAG1, values1 [, TAG2, values2 [...]])
533
534 Description
535 ***********
536
537 Try all the combinations of <TAG1>, <TAG2>... to successfully compile
538 <code>. <TAG1>, <TAG2>, ... are substituted in <code> and <include>
539 with values found in <values1>, <values2>, ... respectively.
540 <values1>, <values2>, ... contain a list of possible values for each
541 corresponding tag and all combinations are tested. When
542 AC_TRY_COMPILE(include, code) is successful for a given substitution,
543 the macro stops and defines the following macros: FUNCTION_TAG1,
544 FUNCTION_TAG2, ... using AC_DEFINE() with values set to the current
545 values of <TAG1>, <TAG2>, ... If no combination is successful the
546 configure script is aborted with a message.
547
548 Intended purpose is to find which combination of argument types is
549 acceptable for a given function <function>. It is recommended to list
550 the most specific types first. For instance ARG1, [size_t, int] instead
551 of ARG1, [int, size_t].
552
553 Generic usage pattern:
554
555 1) add a call in configure.in
556
557 AX_PROTOTYPE(...)
558
559 2) call autoheader to see which symbols are not covered
560
561 3) add the lines in acconfig.h
562
563 /* Type of Nth argument of function */
564 #undef FUNCTION_ARGN
565
566 4) Within the code use FUNCTION_ARGN instead of an hardwired type
567
568 Complete example:
569
570 1) configure.in
571
572 AX_PROTOTYPE(getpeername,
573 [
574 #include <sys/types.h>
575 #include <sys/socket.h>
576 ],
577 [
578 int a = 0;
579 ARG2 * b = 0;
580 ARG3 * c = 0;
581 getpeername(a, b, c);
582 ],
583 ARG2, [struct sockaddr, void],
584 ARG3, [socklen_t, size_t, int, unsigned int, long unsigned int])
585
586 2) call autoheader
587
588 autoheader: Symbol `GETPEERNAME_ARG2' is not covered by ./acconfig.h
589 autoheader: Symbol `GETPEERNAME_ARG3' is not covered by ./acconfig.h
590
591 3) acconfig.h
592
593 /* Type of second argument of getpeername */
594 #undef GETPEERNAME_ARG2
595
596 /* Type of third argument of getpeername */
597 #undef GETPEERNAME_ARG3
598
599 4) in the code
600
601 ...
602 GETPEERNAME_ARG2 name;
603 GETPEERNAME_ARG3 namelen;
604 ...
605 ret = getpeername(socket, &name, &namelen);
606 ...
607
608 Implementation notes: generating all possible permutations of the
609 arguments is not easily done with the usual mixture of shell and m4,
610 that is why this macro is almost 100% m4 code. It generates long but
611 simple to read code.
612
613 Source Code
614 ***********
615
616 Download the latest version of 'ax_prototype.m4'
617 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype.m4)
618 or browse the macro's revision history
619 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype.m4).
620
621 License
622 *******
623
624 Copyright (C) 2009 Loic Dachary <loic@senga.org>
625
626 This program is free software; you can redistribute it and/or modify it
627 under the terms of the GNU General Public License as published by the
628 Free Software Foundation; either version 2 of the License, or (at your
629 option) any later version.
630
631 This program is distributed in the hope that it will be useful, but
632 WITHOUT ANY WARRANTY; without even the implied warranty of
633 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
634 Public License for more details.
635
636 You should have received a copy of the GNU General Public License along
637 with this program. If not, see <https://www.gnu.org/licenses/>.
638
639 As a special exception, the respective Autoconf Macro's copyright owner
640 gives unlimited permission to copy, distribute and modify the configure
641 scripts that are the output of Autoconf when processing the Macro. You
642 need not follow the terms of the GNU General Public License when using
643 or distributing such scripts, even though portions of the text of the
644 Macro appear in them. The GNU General Public License (GPL) does govern
645 all other use of the material that constitutes the Autoconf Macro.
646
647 This special exception to the GPL applies to versions of the Autoconf
648 Macro released by the Autoconf Archive. When you make and distribute a
649 modified version of the Autoconf Macro, you may extend this special
650 exception to the GPL to apply to your modified version as well.
651
652 
653 File: autoconf-archive.info, Node: ax_prototype_accept, Next: ax_prototype_getsockname, Prev: ax_prototype, Up: The Macros
654
655 ax_prototype_accept
656 ===================
657
658 Synopsis
659 ********
660
661 AX_PROTOTYPE_ACCEPT
662
663 Description
664 ***********
665
666 Requires the AX_PROTOTYPE macro. FIXME: Put this in the code!
667
668 Find the type of argument two and three of accept. User must include
669 the following in acconfig.h:
670
671 /* Type of second argument of accept */
672 #undef ACCEPT_ARG2
673
674 /* Type of third argument of accept */
675 #undef ACCEPT_ARG3
676
677 Source Code
678 ***********
679
680 Download the latest version of 'ax_prototype_accept.m4'
681 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype_accept.m4)
682 or browse the macro's revision history
683 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype_accept.m4).
684
685 License
686 *******
687
688 Copyright (C) 2008 Loic Dachary <loic@senga.org>
689
690 This program is free software; you can redistribute it and/or modify it
691 under the terms of the GNU General Public License as published by the
692 Free Software Foundation; either version 2 of the License, or (at your
693 option) any later version.
694
695 This program is distributed in the hope that it will be useful, but
696 WITHOUT ANY WARRANTY; without even the implied warranty of
697 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
698 Public License for more details.
699
700 You should have received a copy of the GNU General Public License along
701 with this program. If not, see <https://www.gnu.org/licenses/>.
702
703 As a special exception, the respective Autoconf Macro's copyright owner
704 gives unlimited permission to copy, distribute and modify the configure
705 scripts that are the output of Autoconf when processing the Macro. You
706 need not follow the terms of the GNU General Public License when using
707 or distributing such scripts, even though portions of the text of the
708 Macro appear in them. The GNU General Public License (GPL) does govern
709 all other use of the material that constitutes the Autoconf Macro.
710
711 This special exception to the GPL applies to versions of the Autoconf
712 Macro released by the Autoconf Archive. When you make and distribute a
713 modified version of the Autoconf Macro, you may extend this special
714 exception to the GPL to apply to your modified version as well.
715
716 
717 File: autoconf-archive.info, Node: ax_prototype_getsockname, Next: ax_prototype_setsockopt, Prev: ax_prototype_accept, Up: The Macros
718
719 ax_prototype_getsockname
720 ========================
721
722 Synopsis
723 ********
724
725 AX_PROTOTYPE_GETSOCKNAME
726
727 Description
728 ***********
729
730 Requires the AX_PROTOTYPE macro. FIXME: Put this in the code!
731
732 Find the type of argument two and three of getsockname. User must
733 include the following in acconfig.h:
734
735 /* Type of second argument of getsockname */
736 #undef GETSOCKNAME_ARG2
737
738 /* Type of third argument of getsockname */
739 #undef GETSOCKNAME_ARG3
740
741 Source Code
742 ***********
743
744 Download the latest version of 'ax_prototype_getsockname.m4'
745 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype_getsockname.m4)
746 or browse the macro's revision history
747 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype_getsockname.m4).
748
749 License
750 *******
751
752 Copyright (C) 2008 Loic Dachary <loic@senga.org>
753
754 This program is free software; you can redistribute it and/or modify it
755 under the terms of the GNU General Public License as published by the
756 Free Software Foundation; either version 2 of the License, or (at your
757 option) any later version.
758
759 This program is distributed in the hope that it will be useful, but
760 WITHOUT ANY WARRANTY; without even the implied warranty of
761 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
762 Public License for more details.
763
764 You should have received a copy of the GNU General Public License along
765 with this program. If not, see <https://www.gnu.org/licenses/>.
766
767 As a special exception, the respective Autoconf Macro's copyright owner
768 gives unlimited permission to copy, distribute and modify the configure
769 scripts that are the output of Autoconf when processing the Macro. You
770 need not follow the terms of the GNU General Public License when using
771 or distributing such scripts, even though portions of the text of the
772 Macro appear in them. The GNU General Public License (GPL) does govern
773 all other use of the material that constitutes the Autoconf Macro.
774
775 This special exception to the GPL applies to versions of the Autoconf
776 Macro released by the Autoconf Archive. When you make and distribute a
777 modified version of the Autoconf Macro, you may extend this special
778 exception to the GPL to apply to your modified version as well.
779
780 
781 File: autoconf-archive.info, Node: ax_prototype_setsockopt, Next: ax_pthread, Prev: ax_prototype_getsockname, Up: The Macros
782
783 ax_prototype_setsockopt
784 =======================
785
786 Synopsis
787 ********
788
789 AX_PROTOTYPE_SETSOCKOPT
790
791 Description
792 ***********
793
794 Requires the AX_PROTOTYPE macro. FIXME: Put this in the code!
795
796 Find the type of argument three of setsockopt. User must include the
797 following in acconfig.h:
798
799 /* Type of third argument of setsockopt */
800 #undef SETSOCKOPT_ARG3
801
802 Source Code
803 ***********
804
805 Download the latest version of 'ax_prototype_setsockopt.m4'
806 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype_setsockopt.m4)
807 or browse the macro's revision history
808 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype_setsockopt.m4).
809
810 License
811 *******
812
813 Copyright (C) 2008 Loic Dachary <loic@senga.org>
814
815 This program is free software; you can redistribute it and/or modify it
816 under the terms of the GNU General Public License as published by the
817 Free Software Foundation; either version 2 of the License, or (at your
818 option) any later version.
819
820 This program is distributed in the hope that it will be useful, but
821 WITHOUT ANY WARRANTY; without even the implied warranty of
822 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
823 Public License for more details.
824
825 You should have received a copy of the GNU General Public License along
826 with this program. If not, see <https://www.gnu.org/licenses/>.
827
828 As a special exception, the respective Autoconf Macro's copyright owner
829 gives unlimited permission to copy, distribute and modify the configure
830 scripts that are the output of Autoconf when processing the Macro. You
831 need not follow the terms of the GNU General Public License when using
832 or distributing such scripts, even though portions of the text of the
833 Macro appear in them. The GNU General Public License (GPL) does govern
834 all other use of the material that constitutes the Autoconf Macro.
835
836 This special exception to the GPL applies to versions of the Autoconf
837 Macro released by the Autoconf Archive. When you make and distribute a
838 modified version of the Autoconf Macro, you may extend this special
839 exception to the GPL to apply to your modified version as well.
840
841 
842 File: autoconf-archive.info, Node: ax_pthread, Next: ax_python, Prev: ax_prototype_setsockopt, Up: The Macros
843
844 ax_pthread
845 ==========
846
847 Synopsis
848 ********
849
850 AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
851
852 Description
853 ***********
854
855 This macro figures out how to build C programs using POSIX threads. It
856 sets the PTHREAD_LIBS output variable to the threads library and linker
857 flags, and the PTHREAD_CFLAGS output variable to any special C compiler
858 flags that are needed. (The user can also force certain compiler
859 flags/libs to be tested by setting these environment variables.)
860
861 Also sets PTHREAD_CC and PTHREAD_CXX to any special C compiler that is
862 needed for multi-threaded programs (defaults to the value of CC
863 respectively CXX otherwise). (This is necessary on e.g. AIX to use the
864 special cc_r/CC_r compiler alias.)
865
866 NOTE: You are assumed to not only compile your program with these flags,
867 but also to link with them as well. For example, you might link with
868 $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
869 $PTHREAD_CXX $CXXFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
870
871 If you are only building threaded programs, you may wish to use these
872 variables in your default LIBS, CFLAGS, and CC:
873
874 LIBS="$PTHREAD_LIBS $LIBS"
875 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
876 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
877 CC="$PTHREAD_CC"
878 CXX="$PTHREAD_CXX"
879
880 In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
881 has a nonstandard name, this macro defines PTHREAD_CREATE_JOINABLE to
882 that name (e.g. PTHREAD_CREATE_UNDETACHED on AIX).
883
884 Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
885 PTHREAD_PRIO_INHERIT symbol is defined when compiling with
886 PTHREAD_CFLAGS.
887
888 ACTION-IF-FOUND is a list of shell commands to run if a threads library
889 is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
890 is not found. If ACTION-IF-FOUND is not specified, the default action
891 will define HAVE_PTHREAD.
892
893 Please let the authors know if this macro fails on any platform, or if
894 you have any other suggestions or comments. This macro was based on
895 work by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with
896 help from M. Frigo), as well as ac_pthread and hb_pthread macros posted
897 by Alejandro Forero Cuervo to the autoconf macro repository. We are
898 also grateful for the helpful feedback of numerous users.
899
900 Updated for Autoconf 2.68 by Daniel Richard G.
901
902 Source Code
903 ***********
904
905 Download the latest version of 'ax_pthread.m4'
906 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pthread.m4)
907 or browse the macro's revision history
908 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pthread.m4).
909
910 License
911 *******
912
913 Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
914 Copyright (C) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
915 Copyright (C) 2019 Marc Stevens <marc.stevens@cwi.nl>
916
917 This program is free software: you can redistribute it and/or modify it
918 under the terms of the GNU General Public License as published by the
919 Free Software Foundation, either version 3 of the License, or (at your
920 option) any later version.
921
922 This program is distributed in the hope that it will be useful, but
923 WITHOUT ANY WARRANTY; without even the implied warranty of
924 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
925 Public License for more details.
926
927 You should have received a copy of the GNU General Public License along
928 with this program. If not, see <https://www.gnu.org/licenses/>.
929
930 As a special exception, the respective Autoconf Macro's copyright owner
931 gives unlimited permission to copy, distribute and modify the configure
932 scripts that are the output of Autoconf when processing the Macro. You
933 need not follow the terms of the GNU General Public License when using
934 or distributing such scripts, even though portions of the text of the
935 Macro appear in them. The GNU General Public License (GPL) does govern
936 all other use of the material that constitutes the Autoconf Macro.
937
938 This special exception to the GPL applies to versions of the Autoconf
939 Macro released by the Autoconf Archive. When you make and distribute a
940 modified version of the Autoconf Macro, you may extend this special
941 exception to the GPL to apply to your modified version as well.
942
943 
944 File: autoconf-archive.info, Node: ax_python, Next: ax_python_config_var, Prev: ax_pthread, Up: The Macros
945
946 ax_python
947 =========
948
949 Synopsis
950 ********
951
952 AX_PYTHON
953
954 Description
955 ***********
956
957 This macro does a complete Python development environment check.
958
959 It checks for all known versions. When it finds an executable, it looks
960 to find the header files and library.
961
962 It sets PYTHON_BIN to the name of the python executable,
963 PYTHON_INCLUDE_DIR to the directory holding the header files, and
964 PYTHON_LIB to the name of the Python library.
965
966 This macro calls AC_SUBST on PYTHON_BIN (via AC_CHECK_PROG),
967 PYTHON_INCLUDE_DIR and PYTHON_LIB.
968
969 Source Code
970 ***********
971
972 Download the latest version of 'ax_python.m4'
973 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python.m4)
974 or browse the macro's revision history
975 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python.m4).
976
977 License
978 *******
979
980 Copyright (C) 2008 Michael Tindal
981
982 This program is free software; you can redistribute it and/or modify it
983 under the terms of the GNU General Public License as published by the
984 Free Software Foundation; either version 2 of the License, or (at your
985 option) any later version.
986
987 This program is distributed in the hope that it will be useful, but
988 WITHOUT ANY WARRANTY; without even the implied warranty of
989 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
990 Public License for more details.
991
992 You should have received a copy of the GNU General Public License along
993 with this program. If not, see <https://www.gnu.org/licenses/>.
994
995 As a special exception, the respective Autoconf Macro's copyright owner
996 gives unlimited permission to copy, distribute and modify the configure
997 scripts that are the output of Autoconf when processing the Macro. You
998 need not follow the terms of the GNU General Public License when using
999 or distributing such scripts, even though portions of the text of the
1000 Macro appear in them. The GNU General Public License (GPL) does govern
1001 all other use of the material that constitutes the Autoconf Macro.
1002
1003 This special exception to the GPL applies to versions of the Autoconf
1004 Macro released by the Autoconf Archive. When you make and distribute a
1005 modified version of the Autoconf Macro, you may extend this special
1006 exception to the GPL to apply to your modified version as well.
1007
1008 
1009 File: autoconf-archive.info, Node: ax_python_config_var, Next: ax_python_devel, Prev: ax_python, Up: The Macros
1010
1011 ax_python_config_var
1012 ====================
1013
1014 Synopsis
1015 ********
1016
1017 AX_PYTHON_CONFIG_VAR(PYTHON_VARIABLE, [SHELL_VARIABLE])
1018 AX_PYTHON_CONFIG_H
1019 AX_PYTHON_MAKEFILE
1020
1021 Description
1022 ***********
1023
1024 AX_PYTHON_CONFIG_VAR:
1025
1026 Using the Python module distutils.sysconfig[1], return a Python
1027 configuration variable. PYTHON_VARIABLE is the name of the variable to
1028 request from Python, and SHELL_VARIABLE is the name of the shell
1029 variable into which the results should be deposited. If SHELL_VARIABLE
1030 is not specified, the macro wil prefix PY_ to the PYTHON_VARIABLE, e.g.,
1031 LIBS -> PY_LIBS.
1032
1033 SHELL_VARIABLE is AC_SUBST'd. No action is taken if an error occurs.
1034 Note if $PYTHON is not set, AC_CHECK_PROG(PYTHON, python, python) will
1035 be run.
1036
1037 Example:
1038
1039 AX_PYTHON_CONFIG_VAR(LINKFORSHARED, PY_LFS)
1040
1041 AX_PYTHON_CONFIG_H:
1042
1043 Using the Python module distutils.sysconfig[1], put the full pathname of
1044 the config.h file used to compile Python into the shell variable
1045 PY_CONFIG_H. PY_CONFIG_H is AC_SUBST'd. Note if $PYTHON is not set,
1046 AC_CHECK_PROG(PYTHON, python, python) will be run.
1047
1048 AX_PYTHON_MAKEFILE:
1049
1050 Using the Python module distutils.sysconfig[1], put the full pathname of
1051 the Makefile file used to compile Python into the shell variable
1052 PY_MAKEFILE. PY_MAKEFILE is AC_SUBST'd. Note if $PYTHON is not set,
1053 AC_CHECK_PROG(PYTHON, python, python) will be run.
1054
1055 [1]
1056 http://www.python.org/doc/current/dist/module-distutils.sysconfig.html
1057
1058 Source Code
1059 ***********
1060
1061 Download the latest version of 'ax_python_config_var.m4'
1062 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_config_var.m4)
1063 or browse the macro's revision history
1064 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_config_var.m4).
1065
1066 License
1067 *******
1068
1069 Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
1070
1071 Copying and distribution of this file, with or without modification, are
1072 permitted in any medium without royalty provided the copyright notice
1073 and this notice are preserved. This file is offered as-is, without any
1074 warranty.
1075
1076 
1077 File: autoconf-archive.info, Node: ax_python_devel, Next: ax_python_embed, Prev: ax_python_config_var, Up: The Macros
1078
1079 ax_python_devel
1080 ===============
1081
1082 Synopsis
1083 ********
1084
1085 AX_PYTHON_DEVEL([version])
1086
1087 Description
1088 ***********
1089
1090 Note: Defines as a precious variable "PYTHON_VERSION". Don't override it
1091 in your configure.ac.
1092
1093 This macro checks for Python and tries to get the include path to
1094 'Python.h'. It provides the $(PYTHON_CPPFLAGS) and $(PYTHON_LIBS)
1095 output variables. It also exports $(PYTHON_EXTRA_LIBS) and
1096 $(PYTHON_EXTRA_LDFLAGS) for embedding Python in your code.
1097
1098 You can search for some particular version of Python by passing a
1099 parameter to this macro, for example ">= '2.3.1'", or "== '2.4'".
1100 Please note that you *have* to pass also an operator along with the
1101 version to match, and pay special attention to the single quotes
1102 surrounding the version number. Don't use "PYTHON_VERSION" for this:
1103 that environment variable is declared as precious and thus reserved for
1104 the end-user.
1105
1106 This macro should work for all versions of Python >= 2.1.0. As an end
1107 user, you can disable the check for the python version by setting the
1108 PYTHON_NOVERSIONCHECK environment variable to something else than the
1109 empty string.
1110
1111 If you need to use this macro for an older Python version, please
1112 contact the authors. We're always open for feedback.
1113
1114 Source Code
1115 ***********
1116
1117 Download the latest version of 'ax_python_devel.m4'
1118 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_devel.m4)
1119 or browse the macro's revision history
1120 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_devel.m4).
1121
1122 License
1123 *******
1124
1125 Copyright (C) 2009 Sebastian Huber <sebastian-huber@web.de>
1126 Copyright (C) 2009 Alan W. Irwin
1127 Copyright (C) 2009 Rafael Laboissiere <rafael@laboissiere.net>
1128 Copyright (C) 2009 Andrew Collier
1129 Copyright (C) 2009 Matteo Settenvini <matteo@member.fsf.org>
1130 Copyright (C) 2009 Horst Knorr <hk_classes@knoda.org>
1131 Copyright (C) 2013 Daniel Mullner <muellner@math.stanford.edu>
1132
1133 This program is free software: you can redistribute it and/or modify it
1134 under the terms of the GNU General Public License as published by the
1135 Free Software Foundation, either version 3 of the License, or (at your
1136 option) any later version.
1137
1138 This program is distributed in the hope that it will be useful, but
1139 WITHOUT ANY WARRANTY; without even the implied warranty of
1140 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
1141 Public License for more details.
1142
1143 You should have received a copy of the GNU General Public License along
1144 with this program. If not, see <https://www.gnu.org/licenses/>.
1145
1146 As a special exception, the respective Autoconf Macro's copyright owner
1147 gives unlimited permission to copy, distribute and modify the configure
1148 scripts that are the output of Autoconf when processing the Macro. You
1149 need not follow the terms of the GNU General Public License when using
1150 or distributing such scripts, even though portions of the text of the
1151 Macro appear in them. The GNU General Public License (GPL) does govern
1152 all other use of the material that constitutes the Autoconf Macro.
1153
1154 This special exception to the GPL applies to versions of the Autoconf
1155 Macro released by the Autoconf Archive. When you make and distribute a
1156 modified version of the Autoconf Macro, you may extend this special
1157 exception to the GPL to apply to your modified version as well.
1158
1159 
1160 File: autoconf-archive.info, Node: ax_python_embed, Next: ax_python_module, Prev: ax_python_devel, Up: The Macros
1161
1162 ax_python_embed
1163 ===============
1164
1165 Synopsis
1166 ********
1167
1168 AX_PYTHON_DEFAULT
1169 AX_PYTHON_ENABLE
1170 AX_PYTHON_WITH
1171 AX_PYTHON_PATH
1172 AX_PYTHON_VERSION_ENSURE( [2.2] )
1173 AX_PYTHON_CSPEC
1174 AX_PYTHON_LSPEC
1175
1176 Description
1177 ***********
1178
1179 This file provides autoconf support for those applications that want to
1180 embed python. It supports all pythons >= 2.2 which is the first
1181 official release containing distutils. Version 2.2 of python was
1182 released December 21, 2001. Since it actually executes the python,
1183 cross platform configuration will probably not work. Also, most of the
1184 platforms supported are consistent until you look into Mac OS X. The
1185 python included with it is installed as a framework which is a very
1186 different environment to set up the normal tools such as gcc and libtool
1187 to deal with. Therefore, once we establish which python that we are
1188 going to use, we use its distutils to actually compile and link our
1189 modules or applications.
1190
1191 At this time, it does NOT support linking with Python statically. It
1192 does support dynamic linking.
1193
1194 This set of macros help define $PYTHON, $PYTHON_USE, $PYTHON_CSPEC and
1195 $PYTHON_LSPEC. $PYTHON defines the full executable path for the Python
1196 being linked to and is used within these macros to determine if that has
1197 been specified or found. These macros do execute this python version so
1198 it must be present on the system at configure time.
1199
1200 $PYTHON_USE is an automake variable that defines whether Python support
1201 should be included or not in your application. $PYTHON_CSPEC is a
1202 variable that supplies additional CFLAGS for the compilation of the
1203 application/shared library. $PYTHON_LSPEC is a variable that supplies
1204 additional LDFLAGS for linking the application/shared library.
1205
1206 The following is an example of how to set up for python usage within
1207 your application in your configure.in:
1208
1209 AX_PYTHON_DEFAULT( )
1210 AX_PYTHON_ENABLE( ) # Optional
1211 AX_PYTHON_WITH( ) # Optional
1212 AX_PYTHON_PATH( ) # or AX_PYTHON_INSIST( )
1213 # if $PYTHON is not defined, then the following do nothing.
1214 AX_PYTHON_VERSION_ENSURE( [2.2] )
1215 AX_PYTHON_CSPEC
1216 AX_PYTHON_LSPEC
1217
1218 The AX_PYTHON_DEFAULT sets the $PYTHON_USE to false. Thereby, excluding
1219 it if it was optional.
1220
1221 The AX_PYTHON_ENABLE looks for the optional configure parameters of
1222 -enable-python/-disable-python and establishes the $PYTHON and
1223 $PYTHON_USE variables accordingly.
1224
1225 The AX_PYTHON_WITH looks for the optional configure parameters of
1226 -with-python/-without-python and establishes the $PYTHON and $PYTHON_USE
1227 variables accordingly.
1228
1229 The AX_PYTHON_PATH looks for python assuming that none has been
1230 previously found or defined and issues an error if it does not find it.
1231 If it does find it, it establishes the $PYTHON and $PYTHON_USE variables
1232 accordingly. AX_PYTHON_INSIST could be used here instead if you want to
1233 insist that Python support be included using the -enable-python or
1234 -with-python checks previously done.
1235
1236 The AX_PYTHON_VERSION_ENSURE issues an error if the Python previously
1237 found is not of version 2.2 or greater.
1238
1239 Once that these macros have be run, we can use PYTHON_USE within the
1240 makefile.am file to conditionally add the Python support such as:
1241
1242 Makefile.am example showing optional inclusion of directories:
1243
1244 if PYTHON_USE
1245 plugins = plugins
1246 src = src
1247 else
1248 plugins =
1249 src =
1250 endif
1251
1252 SUBDIRS = . $(plugins) $(src)
1253
1254 Makefile.am example showing optional shared library build:
1255
1256 if PYTHON_USE
1257 lib_LTLIBRARIES = libElemList.la
1258 libElemList_la_SOURCES = libElemList.c
1259 libElemList_la_CFLAGS = @PYTHON_CSPEC@
1260 libElemList_la_LDFLAGS = @PYTHON_LSPEC@
1261 endif
1262
1263 Makefile.am example showing optional program build:
1264
1265 if PYTHON_USE
1266 bin_PROGRAMS = runFunc
1267 runFunc_SOURCES = runFunc.c
1268 runFunc_CFLAGS = @PYTHON_CSPEC@
1269 runFunc_LDFLAGS = @PYTHON_LSPEC@
1270 endif
1271
1272 The above compiles the modules only if PYTHON_USE was specified as true.
1273 Also, the else portion of the if was optional.
1274
1275 Source Code
1276 ***********
1277
1278 Download the latest version of 'ax_python_embed.m4'
1279 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_embed.m4)
1280 or browse the macro's revision history
1281 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_embed.m4).
1282
1283 License
1284 *******
1285
1286 Copyright (C) 2008 Robert White <kranki@mac.com>
1287 Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
1288
1289 Copying and distribution of this file, with or without modification, are
1290 permitted in any medium without royalty provided the copyright notice
1291 and this notice are preserved. This file is offered as-is, without any
1292 warranty.
1293
1294 
1295 File: autoconf-archive.info, Node: ax_python_module, Next: ax_python_module_version, Prev: ax_python_embed, Up: The Macros
1296
1297 ax_python_module
1298 ================
1299
1300 Synopsis
1301 ********
1302
1303 AX_PYTHON_MODULE(modname[, fatal, python])
1304
1305 Description
1306 ***********
1307
1308 Checks for Python module.
1309
1310 If fatal is non-empty then absence of a module will trigger an error.
1311 The third parameter can either be "python" for Python 2 or "python3" for
1312 Python 3; defaults to Python 3.
1313
1314 Source Code
1315 ***********
1316
1317 Download the latest version of 'ax_python_module.m4'
1318 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_module.m4)
1319 or browse the macro's revision history
1320 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_module.m4).
1321
1322 License
1323 *******
1324
1325 Copyright (C) 2008 Andrew Collier
1326
1327 Copying and distribution of this file, with or without modification, are
1328 permitted in any medium without royalty provided the copyright notice
1329 and this notice are preserved. This file is offered as-is, without any
1330 warranty.
1331
1332 
1333 File: autoconf-archive.info, Node: ax_python_module_version, Next: ax_r_package, Prev: ax_python_module, Up: The Macros
1334
1335 ax_python_module_version
1336 ========================
1337
1338 Synopsis
1339 ********
1340
1341 AX_PYTHON_MODULE_VERSION(modname, min_version[, python])
1342
1343 Description
1344 ***********
1345
1346 Checks for Python module with at least the given version.
1347
1348 Triggers an error if module is absent or present but at a lower version.
1349 The third parameter can either be "python" for Python 2 or "python3" for
1350 Python 3; defaults to Python 3.
1351
1352 Source Code
1353 ***********
1354
1355 Download the latest version of 'ax_python_module_version.m4'
1356 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_module_version.m4)
1357 or browse the macro's revision history
1358 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_module_version.m4).
1359
1360 License
1361 *******
1362
1363 Copyright (C) 2015 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com> and Kurt von Laven <kurt@endlessm.com>
1364
1365 Copying and distribution of this file, with or without modification, are
1366 permitted in any medium without royalty provided the copyright notice
1367 and this notice are preserved. This file is offered as-is, without any
1368 warranty.
1369
1370 
1371 File: autoconf-archive.info, Node: ax_r_package, Next: ax_recursive_eval, Prev: ax_python_module_version, Up: The Macros
1372
1373 ax_r_package
1374 ============
1375
1376 Synopsis
1377 ********
1378
1379 AX_R_PACKAGE(pkgname[, version, R])
1380
1381 Description
1382 ***********
1383
1384 Checks for an R package.
1385
1386 Optionally checks for the version when a second argument is given. A
1387 different R can be used by providing a third argument.
1388
1389 Source Code
1390 ***********
1391
1392 Download the latest version of 'ax_r_package.m4'
1393 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_r_package.m4)
1394 or browse the macro's revision history
1395 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_r_package.m4).
1396
1397 License
1398 *******
1399
1400 Copyright (C) 2017 Ricardo Wurmus
1401
1402 Copying and distribution of this file, with or without modification, are
1403 permitted in any medium without royalty provided the copyright notice
1404 and this notice are preserved. This file is offered as-is, without any
1405 warranty.
1406
1407 
1408 File: autoconf-archive.info, Node: ax_recursive_eval, Next: ax_require_defined, Prev: ax_r_package, Up: The Macros
1409
1410 ax_recursive_eval
1411 =================
1412
1413 Synopsis
1414 ********
1415
1416 AX_RECURSIVE_EVAL(VALUE, RESULT)
1417
1418 Description
1419 ***********
1420
1421 Interpolate the VALUE in loop until it doesn't change, and set the
1422 result to $RESULT. WARNING: It's easy to get an infinite loop with some
1423 unsane input.
1424
1425 Source Code
1426 ***********
1427
1428 Download the latest version of 'ax_recursive_eval.m4'
1429 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_recursive_eval.m4)
1430 or browse the macro's revision history
1431 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_recursive_eval.m4).
1432
1433 License
1434 *******
1435
1436 Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
1437
1438 This program is free software; you can redistribute it and/or modify it
1439 under the terms of the GNU General Public License as published by the
1440 Free Software Foundation; either version 2 of the License, or (at your
1441 option) any later version.
1442
1443 This program is distributed in the hope that it will be useful, but
1444 WITHOUT ANY WARRANTY; without even the implied warranty of
1445 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
1446 Public License for more details.
1447
1448 You should have received a copy of the GNU General Public License along
1449 with this program. If not, see <https://www.gnu.org/licenses/>.
1450
1451 As a special exception, the respective Autoconf Macro's copyright owner
1452 gives unlimited permission to copy, distribute and modify the configure
1453 scripts that are the output of Autoconf when processing the Macro. You
1454 need not follow the terms of the GNU General Public License when using
1455 or distributing such scripts, even though portions of the text of the
1456 Macro appear in them. The GNU General Public License (GPL) does govern
1457 all other use of the material that constitutes the Autoconf Macro.
1458
1459 This special exception to the GPL applies to versions of the Autoconf
1460 Macro released by the Autoconf Archive. When you make and distribute a
1461 modified version of the Autoconf Macro, you may extend this special
1462 exception to the GPL to apply to your modified version as well.
1463
1464 
1465 File: autoconf-archive.info, Node: ax_require_defined, Next: ax_require_one_func, Prev: ax_recursive_eval, Up: The Macros
1466
1467 ax_require_defined
1468 ==================
1469
1470 Synopsis
1471 ********
1472
1473 AX_REQUIRE_DEFINED(MACRO)
1474
1475 Description
1476 ***********
1477
1478 AX_REQUIRE_DEFINED is a simple helper for making sure other macros have
1479 been defined and thus are available for use. This avoids random issues
1480 where a macro isn't expanded. Instead the configure script emits a
1481 non-fatal:
1482
1483 ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found
1484
1485 It's like AC_REQUIRE except it doesn't expand the required macro.
1486
1487 Here's an example:
1488
1489 AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])
1490
1491 Source Code
1492 ***********
1493
1494 Download the latest version of 'ax_require_defined.m4'
1495 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_require_defined.m4)
1496 or browse the macro's revision history
1497 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_require_defined.m4).
1498
1499 License
1500 *******
1501
1502 Copyright (C) 2014 Mike Frysinger <vapier@gentoo.org>
1503
1504 Copying and distribution of this file, with or without modification, are
1505 permitted in any medium without royalty provided the copyright notice
1506 and this notice are preserved. This file is offered as-is, without any
1507 warranty.
1508
1509 
1510 File: autoconf-archive.info, Node: ax_require_one_func, Next: ax_restore_flags, Prev: ax_require_defined, Up: The Macros
1511
1512 ax_require_one_func
1513 ===================
1514
1515 Synopsis
1516 ********
1517
1518 AX_REQUIRE_ONE_FUNC (FUNCTION..., [ACTION-IF-ANY-FOUND], [ACTION-IF-NONE-FOUND])
1519
1520 Description
1521 ***********
1522
1523 AX_REQUIRE_ONE_FUNC is a simple wrapper for AC_CHECK_FUNCS. It calls
1524 AC_CHECK_FUNCS on the list of functions named in the first argument,
1525 then invokes ACTION-IF-ANY-FOUND if at least one of the functions exists
1526 or ACTION-IF-NONE-FOUND if none of the functions exist.
1527
1528 Here's an example:
1529
1530 AX_REQUIRE_ONE_FUNC([posix_memalign memalign valloc], ,
1531 [AC_MSG_ERROR([unable to allocate page-aligned memory])])
1532
1533 Source Code
1534 ***********
1535
1536 Download the latest version of 'ax_require_one_func.m4'
1537 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_require_one_func.m4)
1538 or browse the macro's revision history
1539 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_require_one_func.m4).
1540
1541 License
1542 *******
1543
1544 Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
1545
1546 Copying and distribution of this file, with or without modification, are
1547 permitted in any medium without royalty provided the copyright notice
1548 and this notice are preserved. This file is offered as-is, without any
1549 warranty.
1550
1551 
1552 File: autoconf-archive.info, Node: ax_restore_flags, Next: ax_restore_flags_with_prefix, Prev: ax_require_one_func, Up: The Macros
1553
1554 ax_restore_flags
1555 ================
1556
1557 Synopsis
1558 ********
1559
1560 AX_RESTORE_FLAGS([namespace])
1561
1562 Description
1563 ***********
1564
1565 Restore common compilation flags from temporary variables.
1566
1567 Compilation flags includes: CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS, LIBS,
1568 OBJCFLAGS.
1569
1570 By default these flags are restored to a global (empty) namespace, but
1571 user could restore from specific NAMESPACE by using
1572 AX_RESTORE_FLAGS(NAMESPACE) macro.
1573
1574 Typical usage is like:
1575
1576 AX_SAVE_FLAGS(mypackage)
1577 CPPFLAGS="-Imypackagespath ${CPPFLAGS}"
1578 dnl ... do some detection ...
1579 AX_RESTORE_FLAGS(mypackage)
1580
1581 Source Code
1582 ***********
1583
1584 Download the latest version of 'ax_restore_flags.m4'
1585 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_restore_flags.m4)
1586 or browse the macro's revision history
1587 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_restore_flags.m4).
1588
1589 License
1590 *******
1591
1592 Copyright (C) 2009 Filippo Giunchedi <filippo@esaurito.net>
1593 Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University
1594
1595 Copyright (C) 2011 Russ Allbery <rra@stanford.edu>
1596 Copyright (C) 2013 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
1597
1598 Copying and distribution of this file, with or without modification, are
1599 permitted in any medium without royalty provided the copyright notice
1600 and this notice are preserved. This file is offered as-is, without any
1601 warranty.
1602
1603 
1604 File: autoconf-archive.info, Node: ax_restore_flags_with_prefix, Next: ax_rpm_init, Prev: ax_restore_flags, Up: The Macros
1605
1606 ax_restore_flags_with_prefix
1607 ============================
1608
1609 Synopsis
1610 ********
1611
1612 AX_RESTORE_FLAGS_WITH_PREFIX(PREFIX, LIST-OF-FLAGS)
1613
1614 Description
1615 ***********
1616
1617 Restore the flags saved by AX_SAVE_FLAGS_WITH_PREFIX.
1618
1619 Expansion example: AX_RESTORE_FLAGS_WITH_PREFIX([GL], [[CFLAGS],[LIBS]])
1620 expands to
1621
1622 CFLAGS="$gl_saved_flag_cflags"
1623 LIBS="$gl_saved_flag_libs"
1624
1625 One common use case is to define a package specific wrapper macro around
1626 this one, and also restore other variables if needed. For example:
1627
1628 AC_DEFUN([_AX_CHECK_GL_RESTORE_FLAGS], [
1629 AX_RESTORE_FLAGS_WITH_PREFIX([GL],[$1])
1630 AC_LANG_POP([C])
1631 ])
1632
1633 # Restores CFLAGS, LIBS and language state
1634 _AX_CHECK_GL_RESTORE_FLAGS([[CFLAGS],[LIBS]])
1635
1636 Source Code
1637 ***********
1638
1639 Download the latest version of 'ax_restore_flags_with_prefix.m4'
1640 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_restore_flags_with_prefix.m4)
1641 or browse the macro's revision history
1642 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_restore_flags_with_prefix.m4).
1643
1644 License
1645 *******
1646
1647 Copyright (C) 2016 Felix Chern <idryman@gmail.com>
1648
1649 This program is free software; you can redistribute it and/or modify it
1650 under the terms of the GNU General Public License as published by the
1651 Free Software Foundation; either version 2 of the License, or (at your
1652 option) any later version.
1653
1654 This program is distributed in the hope that it will be useful, but
1655 WITHOUT ANY WARRANTY; without even the implied warranty of
1656 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
1657 Public License for more details.
1658
1659 You should have received a copy of the GNU General Public License along
1660 with this program. If not, see <https://www.gnu.org/licenses/>.
1661
1662 As a special exception, the respective Autoconf Macro's copyright owner
1663 gives unlimited permission to copy, distribute and modify the configure
1664 scripts that are the output of Autoconf when processing the Macro. You
1665 need not follow the terms of the GNU General Public License when using
1666 or distributing such scripts, even though portions of the text of the
1667 Macro appear in them. The GNU General Public License (GPL) does govern
1668 all other use of the material that constitutes the Autoconf Macro.
1669
1670 This special exception to the GPL applies to versions of the Autoconf
1671 Macro released by the Autoconf Archive. When you make and distribute a
1672 modified version of the Autoconf Macro, you may extend this special
1673 exception to the GPL to apply to your modified version as well.
1674
1675 
1676 File: autoconf-archive.info, Node: ax_rpm_init, Next: ax_ruby_devel, Prev: ax_restore_flags_with_prefix, Up: The Macros
1677
1678 ax_rpm_init
1679 ===========
1680
1681 Synopsis
1682 ********
1683
1684 AX_RPM_INIT
1685
1686 Description
1687 ***********
1688
1689 Setup variables for creation of rpms. It will define several variables
1690 useful for creating rpms on a system where rpms are supported.
1691 Currently, I requires changes to Makefile.am to function properly (see
1692 the example below).
1693
1694 Also note that I do not use any non-UNIX OSs (and for the most part, I
1695 only use RedHat), so this is probably generally not useful for other
1696 systems.
1697
1698 Required setup:
1699
1700 In configure.in:
1701
1702 dnl For my rpm.m4 macros
1703 RPM_RELEASE=1
1704 AC_SUBST(RPM_RELEASE)
1705
1706 AX_RPM_INIT
1707 dnl Enable or disable the rpm making rules in Makefile.am
1708 AM_CONDITIONAL(MAKE_RPMS, test x$make_rpms = xtrue)
1709
1710 Furthermore, the %GNUconfigure rpm macro has a problem in that it does
1711 not define CXXFLAGS for the target system correctly, so for compiling
1712 C++ code, add the following line _before_ calling AC_PROG_CXX:
1713
1714 dnl This is a little hack to make this work with rpm better (see mysql++.spec.in)
1715 test -z "$CXXFLAGS" && CXXFLAGS="${CFLAGS}"
1716
1717 Changes to Makefile.am (I am trying to get rid of this step; suggestions
1718 invited):
1719
1720 if MAKE_RPMS
1721 rpm: @RPM_TARGET@
1722
1723 .PHONY: rpm
1724
1725 $(RPM_TARGET): $(DISTFILES)
1726 ${MAKE} dist
1727 -mkdir -p $(RPM_DIR)/SRPMS
1728 -mkdir -p `dirname $(RPM_TARGET)`
1729 $(RPM_PROG) $(RPM_ARGS) $(RPM_TARBALL)
1730 @echo Congratulations, $(RPM_TARGET) "(and friends)" should now exist.
1731 else
1732 endif
1733
1734 Also, it works best with a XXXX.spec.in file like the following (this is
1735 way down on the wishlist, but a program to generate the skeleton spec.in
1736 much like autoscan would just kick butt!):
1737
1738 ---------- 8< ----------
1739 # -*- Mode:rpm-spec -*-
1740 # mysql++.spec.in
1741 Summary: Your package description goes here
1742 %define rel @RPM_RELEASE@
1743
1744 %define version @VERSION@
1745 %define pkgname @PACKAGE@
1746 %define prefix /usr
1747
1748 %define lt_release @LT_RELEASE@
1749 %define lt_version @LT_CURRENT@.@LT_REVISION@.@LT_AGE@
1750
1751 # This is a hack until I can figure out how to better handle replacing
1752 # autoconf macros... (gotta love autoconf...)
1753 %define __aclocal aclocal || aclocal -I ./macros
1754 %define configure_args @RPM_CONFIGURE_ARGS@
1755
1756 Name: %{pkgname}
1757 Version: %{version}
1758 Release: %{rel}
1759
1760 Copyright: LGPL
1761 Group: # your group name goes here
1762 Source: %{pkgname}-%{version}.tar.gz
1763 Requires: # additional requirements
1764 Buildroot: /tmp/%{pkgname}-root
1765 URL: http://yoururl.go.here
1766 Prefix: %{prefix}
1767 BuildArchitectures: # Target platforms, i.e., i586
1768 Packager: Your Name <youremail@your.address>
1769
1770 %description
1771 Your package description
1772
1773 %changelog
1774
1775 %prep
1776 %setup
1777 #%patch
1778
1779 %build
1780 %GNUconfigure %{configure_args}
1781 # This is why we copy the CFLAGS to the CXXFLAGS in configure.in
1782 # CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{prefix}
1783 make
1784
1785 %install
1786 # To make things work with BUILDROOT
1787 if [ "$RPM_BUILD_ROOT" != "/tmp/%{pkgname}-root" ]
1788 then
1789 echo
1790 echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
1791 echo @ @
1792 echo @ RPM_BUILD_ROOT is not what I expected. Please clean it yourself. @
1793 echo @ @
1794 echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
1795 echo
1796 else
1797 echo Cleaning RPM_BUILD_ROOT: "$RPM_BUILD_ROOT"
1798 rm -rf "$RPM_BUILD_ROOT"
1799 fi
1800 make DESTDIR="$RPM_BUILD_ROOT" install
1801
1802 %clean
1803 # Call me paranoid, but I do not want to be responsible for nuking
1804 # someone's harddrive!
1805 if [ "$RPM_BUILD_ROOT" != "/tmp/%{pkgname}-root" ]
1806 then
1807 echo
1808 echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
1809 echo @ @
1810 echo @ RPM_BUILD_ROOT is not what I expected. Please clean it yourself. @
1811 echo @ @
1812 echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
1813 echo
1814 else
1815 echo Cleaning RPM_BUILD_ROOT: "$RPM_BUILD_ROOT"
1816 rm -rf "$RPM_BUILD_ROOT"
1817 fi
1818
1819 %files
1820 %defattr(-, root, root)
1821 # Your application file list goes here
1822 # %{prefix}/lib/lib*.so*
1823 %doc COPYRIGHT ChangeLog README AUTHORS NEWS
1824 %doc doc/*
1825
1826 # If you install a library
1827 %post -p /sbin/ldconfig
1828
1829 # If you install a library
1830 %postun -p /sbin/ldconfig
1831
1832 %package devel
1833 Summary: Development files for %{pkgname}
1834 Group: Applications/Databases
1835 %description devel
1836 Development files for %{pkgname}.
1837
1838 %files devel
1839 %defattr(-, root, root)
1840 # Your development files go here
1841 # Programmers documentation goes here
1842 %doc doc
1843
1844 # end of file
1845 ---------- >8 ----------
1846
1847 Source Code
1848 ***********
1849
1850 Download the latest version of 'ax_rpm_init.m4'
1851 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_rpm_init.m4)
1852 or browse the macro's revision history
1853 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_rpm_init.m4).
1854
1855 License
1856 *******
1857
1858 Copyright (C) 2008 Dale K. Hawkins <dhawkins@cdrgts.com>
1859
1860 Copying and distribution of this file, with or without modification, are
1861 permitted in any medium without royalty provided the copyright notice
1862 and this notice are preserved. This file is offered as-is, without any
1863 warranty.
1864
1865 
1866 File: autoconf-archive.info, Node: ax_ruby_devel, Next: ax_ruby_ext, Prev: ax_rpm_init, Up: The Macros
1867
1868 ax_ruby_devel
1869 =============
1870
1871 Synopsis
1872 ********
1873
1874 AX_RUBY_DEVEL([version])
1875
1876 Description
1877 ***********
1878
1879 This macro checks for Ruby and tries to get the include path to
1880 'ruby.h'. It provides the $(RUBY_CPPFLAGS) and $(RUBY_LDFLAGS) output
1881 variables. It also exports $(RUBY_EXTRA_LIBS) for embedding Ruby in
1882 your code.
1883
1884 You can search for some particular version of Ruby by passing a
1885 parameter to this macro, for example "2.2.1".
1886
1887 Source Code
1888 ***********
1889
1890 Download the latest version of 'ax_ruby_devel.m4'
1891 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ruby_devel.m4)
1892 or browse the macro's revision history
1893 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ruby_devel.m4).
1894
1895 License
1896 *******
1897
1898 Copyright (C) 2008 Rafal Rzepecki <divided.mind@gmail.com>
1899 Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
1900 Copyright (C) 2008 Alan W. Irwin
1901 Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
1902 Copyright (C) 2008 Andrew Collier
1903 Copyright (C) 2008 Matteo Settenvini <matteo@member.fsf.org>
1904 Copyright (C) 2008 Horst Knorr <hk_classes@knoda.org>
1905
1906 This program is free software: you can redistribute it and/or modify it
1907 under the terms of the GNU General Public License as published by the
1908 Free Software Foundation, either version 3 of the License, or (at your
1909 option) any later version.
1910
1911 This program is distributed in the hope that it will be useful, but
1912 WITHOUT ANY WARRANTY; without even the implied warranty of
1913 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
1914 Public License for more details.
1915
1916 You should have received a copy of the GNU General Public License along
1917 with this program. If not, see <https://www.gnu.org/licenses/>.
1918
1919 As a special exception, the respective Autoconf Macro's copyright owner
1920 gives unlimited permission to copy, distribute and modify the configure
1921 scripts that are the output of Autoconf when processing the Macro. You
1922 need not follow the terms of the GNU General Public License when using
1923 or distributing such scripts, even though portions of the text of the
1924 Macro appear in them. The GNU General Public License (GPL) does govern
1925 all other use of the material that constitutes the Autoconf Macro.
1926
1927 This special exception to the GPL applies to versions of the Autoconf
1928 Macro released by the Autoconf Archive. When you make and distribute a
1929 modified version of the Autoconf Macro, you may extend this special
1930 exception to the GPL to apply to your modified version as well.
1931
1932 
1933 File: autoconf-archive.info, Node: ax_ruby_ext, Next: ax_save_flags, Prev: ax_ruby_devel, Up: The Macros
1934
1935 ax_ruby_ext
1936 ===========
1937
1938 Synopsis
1939 ********
1940
1941 AX_RUBY_EXT
1942
1943 Description
1944 ***********
1945
1946 Fetches the linker flags and C compiler flags for compiling and linking
1947 Ruby binary extensions. The macro substitutes RUBY_VERSION,
1948 RUBY_EXT_INC, RUBY_EXT_LIB, RUBY_EXT_CPPFLAGS, RUBY_EXT_LDFLAGS and
1949 RUBY_EXT_DLEXT variables if Ruby executable has been found. It also
1950 checks the same variables before trying to retrieve them from the Ruby
1951 configuration.
1952
1953 RUBY_VERSION: version of the Ruby interpreter
1954 RUBY_EXT_INC: Ruby include directory
1955 RUBY_EXT_LIB: Ruby extensions destination directory
1956 RUBY_EXT_CPPFLAGS: C preprocessor flags to compile extensions
1957 RUBY_EXT_LDFLAGS: linker flags to build extensions
1958 RUBY_EXT_DLEXT: extensions suffix for ruby modules (e.g. "so")
1959
1960 Examples:
1961
1962 AX_RUBY_EXT
1963 if test x"$RUBY" = x; then
1964 AC_ERROR(["cannot find Ruby"])
1965 fi
1966
1967 Source Code
1968 ***********
1969
1970 Download the latest version of 'ax_ruby_ext.m4'
1971 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ruby_ext.m4)
1972 or browse the macro's revision history
1973 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ruby_ext.m4).
1974
1975 License
1976 *******
1977
1978 Copyright (C) 2011 Stanislav Sedov <stas@FreeBSD.org>
1979
1980 Redistribution and use in source and binary forms, with or without
1981 modification, are permitted provided that the following conditions are
1982 met:
1983
1984 1. Redistributions of source code must retain the above copyright
1985 notice, this list of conditions and the following disclaimer.
1986
1987 2. Redistributions in binary form must reproduce the above copyright
1988 notice, this list of conditions and the following disclaimer in the
1989 documentation and/or other materials provided with the distribution.
1990
1991 THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY
1992 EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1993 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1994 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
1995 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1996 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1997 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1998 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1999 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2000 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
2001 THE POSSIBILITY OF SUCH DAMAGE.
2002
2003 
2004 File: autoconf-archive.info, Node: ax_save_flags, Next: ax_save_flags_with_prefix, Prev: ax_ruby_ext, Up: The Macros
2005
2006 ax_save_flags
2007 =============
2008
2009 Synopsis
2010 ********
2011
2012 AX_SAVE_FLAGS([NAMESPACE])
2013
2014 Description
2015 ***********
2016
2017 Save common compilation flags into temporary variables.
2018
2019 Compilation flags includes: CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS, LIBS,
2020 OBJCFLAGS.
2021
2022 By default these flags are saved to a global (empty) namespace, but user
2023 could specify a specific NAMESPACE to AX_SAVE_FLAGS macro and latter
2024 restore it by using AX_RESTORE_FLAGS(NAMESPACE).
2025
2026 AX_SAVE_FLAGS(mypackage)
2027 CPPFLAGS="-Imypackagespath ${CPPFLAGS}"
2028 dnl .. do some detection ...
2029 AX_RESTORE_FLAGS(mypackage)
2030
2031 Source Code
2032 ***********
2033
2034 Download the latest version of 'ax_save_flags.m4'
2035 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_save_flags.m4)
2036 or browse the macro's revision history
2037 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_save_flags.m4).
2038
2039 License
2040 *******
2041
2042 Copyright (C) 2009 Filippo Giunchedi <filippo@esaurito.net>
2043 Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University
2044
2045 Copyright (C) 2011 Russ Allbery <rra@stanford.edu>
2046 Copyright (C) 2013 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
2047
2048 Copying and distribution of this file, with or without modification, are
2049 permitted in any medium without royalty provided the copyright notice
2050 and this notice are preserved. This file is offered as-is, without any
2051 warranty.
2052
2053 
2054 File: autoconf-archive.info, Node: ax_save_flags_with_prefix, Next: ax_set_default_paths_system, Prev: ax_save_flags, Up: The Macros
2055
2056 ax_save_flags_with_prefix
2057 =========================
2058
2059 Synopsis
2060 ********
2061
2062 AX_SAVE_FLAGS_WITH_PREFIX(PREFIX, LIST-OF-FLAGS)
2063
2064 Description
2065 ***********
2066
2067 For each flag in LIST-OF-FLAGS, it expands to lower-cased shell variable
2068 with the prefix holding the flag original value. The saved variables
2069 can be restored by AX_RESTORE_FLAGS_WITH_PREFIX
2070
2071 As an example: AX_SAVE_FLAGS_WITH_PREFIX([GL], [[CFLAGS],[LIBS]])
2072 expands to
2073
2074 gl_saved_flag_cflags="$CFLAGS"
2075 gl_saved_flag_libs="$LIBS"
2076 CFLAGS="$GL_CFLAGS $CFLAGS"
2077 LIBS="$GL_LIBS $LIBS"
2078
2079 One common use case is to define a package specific wrapper macro around
2080 this one, and also setup other variables if needed. For example:
2081
2082 AC_DEFUN([_AX_CHECK_GL_SAVE_FLAGS], [
2083 AX_SAVE_FLAGS_WITH_PREFIX([GL],[$1])
2084 AC_LANG_PUSH([C])
2085 ])
2086
2087 # pushes GL_CFLAGS and GL_LIBS to CFLAGS and LIBS
2088 # also set the current language to test to C
2089 _AX_CHECK_GL_SAVE_FLAGS([[CFLAGS],[LIBS]])
2090
2091 Source Code
2092 ***********
2093
2094 Download the latest version of 'ax_save_flags_with_prefix.m4'
2095 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_save_flags_with_prefix.m4)
2096 or browse the macro's revision history
2097 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_save_flags_with_prefix.m4).
2098
2099 License
2100 *******
2101
2102 Copyright (C) 2016 Felix Chern <idryman@gmail.com>
2103
2104 This program is free software; you can redistribute it and/or modify it
2105 under the terms of the GNU General Public License as published by the
2106 Free Software Foundation; either version 2 of the License, or (at your
2107 option) any later version.
2108
2109 This program is distributed in the hope that it will be useful, but
2110 WITHOUT ANY WARRANTY; without even the implied warranty of
2111 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2112 Public License for more details.
2113
2114 You should have received a copy of the GNU General Public License along
2115 with this program. If not, see <https://www.gnu.org/licenses/>.
2116
2117 As a special exception, the respective Autoconf Macro's copyright owner
2118 gives unlimited permission to copy, distribute and modify the configure
2119 scripts that are the output of Autoconf when processing the Macro. You
2120 need not follow the terms of the GNU General Public License when using
2121 or distributing such scripts, even though portions of the text of the
2122 Macro appear in them. The GNU General Public License (GPL) does govern
2123 all other use of the material that constitutes the Autoconf Macro.
2124
2125 This special exception to the GPL applies to versions of the Autoconf
2126 Macro released by the Autoconf Archive. When you make and distribute a
2127 modified version of the Autoconf Macro, you may extend this special
2128 exception to the GPL to apply to your modified version as well.
2129
2130 
2131 File: autoconf-archive.info, Node: ax_set_default_paths_system, Next: ax_short_sleep, Prev: ax_save_flags_with_prefix, Up: The Macros
2132
2133 ax_set_default_paths_system
2134 ===========================
2135
2136 Synopsis
2137 ********
2138
2139 AX_SET_DEFAULT_PATHS_SYSTEM
2140
2141 Description
2142 ***********
2143
2144 the most interesting changes go about windows-targets - where the
2145 default_prefix is set to /programs, and quite some directories are
2146 aliased: sbindir := libdir := bindir and the docprefix-defaults are also
2147 a bit different, even on FHS2-compliant systems where the mandir is
2148 going to $prefix/man only if prefix=/usr, otherwise they shall go to
2149 $datadir/man. We use an extra docprefix to express it which is either
2150 defined as being prefix or datadir. not SUBSTed here.
2151
2152 Source Code
2153 ***********
2154
2155 Download the latest version of 'ax_set_default_paths_system.m4'
2156 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_set_default_paths_system.m4)
2157 or browse the macro's revision history
2158 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_set_default_paths_system.m4).
2159
2160 License
2161 *******
2162
2163 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
2164
2165 Copying and distribution of this file, with or without modification, are
2166 permitted in any medium without royalty provided the copyright notice
2167 and this notice are preserved. This file is offered as-is, without any
2168 warranty.
2169
2170 
2171 File: autoconf-archive.info, Node: ax_short_sleep, Next: ax_silent_mode, Prev: ax_set_default_paths_system, Up: The Macros
2172
2173 ax_short_sleep
2174 ==============
2175
2176 Synopsis
2177 ********
2178
2179 AX_SHORT_SLEEP
2180
2181 Description
2182 ***********
2183
2184 This macro searches for a "sleep" function that has 1/1000 of a second
2185 accuracy. On some systems, this is known as nap() and on others
2186 usleep() / 1000. There are probably other functions like this defined
2187 in other system libraries, but we don't know how to search for them yet.
2188 Contributions joyously accepted. :)
2189
2190 Source Code
2191 ***********
2192
2193 Download the latest version of 'ax_short_sleep.m4'
2194 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_short_sleep.m4)
2195 or browse the macro's revision history
2196 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_short_sleep.m4).
2197
2198 License
2199 *******
2200
2201 Copyright (C) 2008 Warren Young <warren@etr-usa.com>
2202
2203 Copying and distribution of this file, with or without modification, are
2204 permitted in any medium without royalty provided the copyright notice
2205 and this notice are preserved. This file is offered as-is, without any
2206 warranty.
2207
2208 
2209 File: autoconf-archive.info, Node: ax_silent_mode, Next: ax_sip_devel, Prev: ax_short_sleep, Up: The Macros
2210
2211 ax_silent_mode
2212 ==============
2213
2214 Synopsis
2215 ********
2216
2217 AX_SILENT_MODE(on|off)
2218
2219 Description
2220 ***********
2221
2222 Temporarily disable console output when running Autoconf macros. For
2223 example:
2224
2225 AX_SILENT_MODE(on) dnl disable console output
2226 AC_PROG_CXX
2227 AX_SILENT_MODE(off) dnl enable console output
2228 AC_PROG_RANLIB
2229
2230 Source Code
2231 ***********
2232
2233 Download the latest version of 'ax_silent_mode.m4'
2234 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_silent_mode.m4)
2235 or browse the macro's revision history
2236 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_silent_mode.m4).
2237
2238 License
2239 *******
2240
2241 Copyright (C) 2008 Peter Simons <simons@cryp.to>
2242 Copyright (C) 2008 Paolo Bonzini <bonzini@gnu.org>
2243
2244 Copying and distribution of this file, with or without modification, are
2245 permitted in any medium without royalty provided the copyright notice
2246 and this notice are preserved. This file is offered as-is, without any
2247 warranty.
2248
2249 
2250 File: autoconf-archive.info, Node: ax_sip_devel, Next: ax_spec_file, Prev: ax_silent_mode, Up: The Macros
2251
2252 ax_sip_devel
2253 ============
2254
2255 Synopsis
2256 ********
2257
2258 AX_SIP_DEVEL([<min_version>])
2259
2260 Description
2261 ***********
2262
2263 Searches for the sip executable and the sip include path. The sip
2264 include path consists of two components, one which contains the file
2265 qt/qtmod.sip and the other one the path to sip.h, which should be found
2266 in the include/pythonX.Y directory.
2267
2268 The macro bails out if the executable or the file cannot be located.
2269 Otherwise it defines:
2270
2271 SIP the path to the sip executable
2272 SIP_CPPFLAGS include path: -I<path-to-qt/qtmod.sip> -I<path-to-sip.h-dir>
2273
2274 Example:
2275
2276 AX_SIP_DEVEL
2277 AX_SIP_DEVEL([4.1])
2278
2279 Requires: perl (for version string comparison)
2280
2281 FIXME: Use AX_COMPARE_VERSION instead.
2282
2283 Source Code
2284 ***********
2285
2286 Download the latest version of 'ax_sip_devel.m4'
2287 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sip_devel.m4)
2288 or browse the macro's revision history
2289 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sip_devel.m4).
2290
2291 License
2292 *******
2293
2294 Copyright (C) 2008 Uwe Mayer <merkosh@hadiko.de>
2295
2296 Copying and distribution of this file, with or without modification, are
2297 permitted in any medium without royalty provided the copyright notice
2298 and this notice are preserved. This file is offered as-is, without any
2299 warranty.
2300
2301 
2302 File: autoconf-archive.info, Node: ax_spec_file, Next: ax_spec_package_version, Prev: ax_sip_devel, Up: The Macros
2303
2304 ax_spec_file
2305 ============
2306
2307 Synopsis
2308 ********
2309
2310 AX_SPEC_FILE [(rpmspecfile [,subdirpath])]
2311
2312 Description
2313 ***********
2314
2315 set the specfile - if no argument has been given then check whether the
2316 ac_unique_file looks like a .spec file and use it. This macro is
2317 ac_REQUIRED by many AX_SPEC_ routines.
2318
2319 the AX_SPEC_EXTRACT macro is a helper used by many AX_SPEC_ routines and
2320 therefore placed here to be automatically included in the macro set of
2321 (older) aclocal/acinclude.
2322
2323 AX_SPEC_EXTRACT(shellvar [,specvar [,defaultvalue]])
2324
2325 Source Code
2326 ***********
2327
2328 Download the latest version of 'ax_spec_file.m4'
2329 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_spec_file.m4)
2330 or browse the macro's revision history
2331 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_spec_file.m4).
2332
2333 License
2334 *******
2335
2336 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
2337
2338 Copying and distribution of this file, with or without modification, are
2339 permitted in any medium without royalty provided the copyright notice
2340 and this notice are preserved. This file is offered as-is, without any
2341 warranty.
2342
2343 
2344 File: autoconf-archive.info, Node: ax_spec_package_version, Next: ax_split_version, Prev: ax_spec_file, Up: The Macros
2345
2346 ax_spec_package_version
2347 =======================
2348
2349 Synopsis
2350 ********
2351
2352 AX_SPEC_PACKAGE_AND_VERSION ([specfile])
2353 AX_SPEC_PACKAGE_NAME ([shellvar],[defaultvalue])
2354 AX_SPEC_PACKAGE_VERSION ([shellvar],[defaultvalue])
2355 AX_SPEC_PACKAGE_SUMMARY ([shellvar],[defaultvalue])
2356 AX_SPEC_PACKAGE_LICENSE ([shellvar],[defaultvalue])
2357 AX_SPEC_PACKAGE_CATEGORY ([shellvar],[defaultvalue])
2358 AX_SPEC_PACKAGE_ICON ([shellvar],[defaultvalue])
2359 AX_SPEC_DEFAULTS([specfile])
2360
2361 Description
2362 ***********
2363
2364 set PACKAGE from the given specfile - default to basename of the
2365 rpmspecfile if no "name:" could be found in the spec file.
2366
2367 set VERSION from the given specfile - default to a date-derived value if
2368 no "version:" could be found in the spec file.
2369
2370 this macro builds on top of AX_SPEC_FILE / AX_SPEC_EXTRACT
2371
2372 more specific: if not "name:" or "%define name" was found in the
2373 myproject.spec file then the PACKAGE var is set to the basename
2374 "myproject". When no spec file was present then it will usually default
2375 to "TODO".
2376
2377 The version spec looks for "version:" or "%define version" in the spec
2378 file. When no such value was seen or no spec file had been present then
2379 the value is set to 'date +0.%y.%W%w'.
2380
2381 the version value itself is sanitized somewhat with making it to always
2382 carry at least three digits (1.2.3) and cleansing superfluous "0" chars
2383 around from generating numbers elsewhere.
2384
2385 additional macros are provided that extract a specific value from the
2386 spec file, among these:
2387
2388 set PACKAGE_SUMMARY from the given specfile - default to package and try
2389 to detect a type suffix if "summary:" was not in the spec file
2390
2391 set PACKAGE_LICENSE from the given specfile - if no "license:" tag was
2392 given in the spec file then various COPYING files are grepped to have a
2393 guess and the final fallback will be GNU GPL (or GNU LGPL).
2394
2395 set PACKAGE_ICON from the given specfile - if no "icon:" tag was given
2396 in the spec file then we default to $PACKAGE-icon.png
2397
2398 the final AX_SPEC_INIT(specfile) will initialize all variables to its
2399 defaults according to the spec file given.
2400
2401 Source Code
2402 ***********
2403
2404 Download the latest version of 'ax_spec_package_version.m4'
2405 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_spec_package_version.m4)
2406 or browse the macro's revision history
2407 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_spec_package_version.m4).
2408
2409 License
2410 *******
2411
2412 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
2413
2414 Copying and distribution of this file, with or without modification, are
2415 permitted in any medium without royalty provided the copyright notice
2416 and this notice are preserved. This file is offered as-is, without any
2417 warranty.
2418
2419 
2420 File: autoconf-archive.info, Node: ax_split_version, Next: ax_string_strcasecmp, Prev: ax_spec_package_version, Up: The Macros
2421
2422 ax_split_version
2423 ================
2424
2425 Synopsis
2426 ********
2427
2428 AX_SPLIT_VERSION
2429
2430 Description
2431 ***********
2432
2433 Splits a version number in the format MAJOR.MINOR.POINT into its
2434 separate components.
2435
2436 Sets the variables.
2437
2438 Source Code
2439 ***********
2440
2441 Download the latest version of 'ax_split_version.m4'
2442 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_split_version.m4)
2443 or browse the macro's revision history
2444 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_split_version.m4).
2445
2446 License
2447 *******
2448
2449 Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
2450
2451 Copying and distribution of this file, with or without modification, are
2452 permitted in any medium without royalty provided the copyright notice
2453 and this notice are preserved. This file is offered as-is, without any
2454 warranty.
2455
2456 
2457 File: autoconf-archive.info, Node: ax_string_strcasecmp, Next: ax_strings_strcasecmp, Prev: ax_split_version, Up: The Macros
2458
2459 ax_string_strcasecmp
2460 ====================
2461
2462 Synopsis
2463 ********
2464
2465 AX_STRING_STRCASECMP
2466
2467 Description
2468 ***********
2469
2470 This macro tries to find strcasecmp() in string.h.
2471
2472 Use this macro in conjunction with AX_STRINGS_STRCASECMP in your
2473 configure.in like so:
2474
2475 AX_STRING_STRCASECMP
2476 if test x"$ac_cv_string_strcasecmp" = "xno" ; then
2477 AX_STRINGS_STRCASECMP
2478 fi
2479
2480 This will cause either HAVE_STRING_STRCASECMP or HAVE_STRINGS_STRCASECMP
2481 to be defined in config.h, which will tell your code what header to
2482 include to get strcasecmp()'s prototype.
2483
2484 Source Code
2485 ***********
2486
2487 Download the latest version of 'ax_string_strcasecmp.m4'
2488 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_string_strcasecmp.m4)
2489 or browse the macro's revision history
2490 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_string_strcasecmp.m4).
2491
2492 License
2493 *******
2494
2495 Copyright (C) 2008 Warren Young <warren@etr-usa.com>
2496
2497 Copying and distribution of this file, with or without modification, are
2498 permitted in any medium without royalty provided the copyright notice
2499 and this notice are preserved. This file is offered as-is, without any
2500 warranty.
2501
2502 
2503 File: autoconf-archive.info, Node: ax_strings_strcasecmp, Next: ax_struct_semun, Prev: ax_string_strcasecmp, Up: The Macros
2504
2505 ax_strings_strcasecmp
2506 =====================
2507
2508 Synopsis
2509 ********
2510
2511 AX_STRINGS_STRCASECMP
2512
2513 Description
2514 ***********
2515
2516 This macro tries to find strcasecmp() in strings.h. See the
2517 AX_STRING_STRCASECMP macro's commentary for usage details.
2518
2519 Source Code
2520 ***********
2521
2522 Download the latest version of 'ax_strings_strcasecmp.m4'
2523 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_strings_strcasecmp.m4)
2524 or browse the macro's revision history
2525 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_strings_strcasecmp.m4).
2526
2527 License
2528 *******
2529
2530 Copyright (C) 2008 Warren Young <warren@etr-usa.com>
2531
2532 Copying and distribution of this file, with or without modification, are
2533 permitted in any medium without royalty provided the copyright notice
2534 and this notice are preserved. This file is offered as-is, without any
2535 warranty.
2536
2537 
2538 File: autoconf-archive.info, Node: ax_struct_semun, Next: ax_subdir_files, Prev: ax_strings_strcasecmp, Up: The Macros
2539
2540 ax_struct_semun
2541 ===============
2542
2543 Synopsis
2544 ********
2545
2546 AX_STRUCT_SEMUN
2547
2548 Description
2549 ***********
2550
2551 This macro checks to see if sys/sem.h defines struct semun. Some
2552 systems do, some systems don't. Your code must be able to deal with
2553 this possibility; if HAVE_STRUCT_SEMUM isn't defined for a given system,
2554 you have to define this structure before you can call functions like
2555 semctl().
2556
2557 You should call AX_SYSV_IPC before this macro, to separate the check for
2558 System V IPC headers from the check for struct semun.
2559
2560 Source Code
2561 ***********
2562
2563 Download the latest version of 'ax_struct_semun.m4'
2564 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_struct_semun.m4)
2565 or browse the macro's revision history
2566 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_struct_semun.m4).
2567
2568 License
2569 *******
2570
2571 Copyright (C) 2008 Warren Young <warren@etr-usa.com>
2572
2573 Copying and distribution of this file, with or without modification, are
2574 permitted in any medium without royalty provided the copyright notice
2575 and this notice are preserved. This file is offered as-is, without any
2576 warranty.
2577
2578 
2579 File: autoconf-archive.info, Node: ax_subdir_files, Next: ax_subdirs_configure, Prev: ax_struct_semun, Up: The Macros
2580
2581 ax_subdir_files
2582 ===============
2583
2584 Synopsis
2585 ********
2586
2587 AX_SUBDIR_FILES [(SUBDIRS [, CASEPATTERN])]
2588
2589 Description
2590 ***********
2591
2592 Look into subdirs and copy the (real) files that match pattern into the
2593 local directory. Preferably we use a symbolic link of course. existing
2594 local files are not overwritten.
2595
2596 The default casepattern is "*.?|*.cc|*.cpp", the default subdir-list
2597 contains all subdirs available.
2598
2599 Source Code
2600 ***********
2601
2602 Download the latest version of 'ax_subdir_files.m4'
2603 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_subdir_files.m4)
2604 or browse the macro's revision history
2605 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_subdir_files.m4).
2606
2607 License
2608 *******
2609
2610 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
2611
2612 Copying and distribution of this file, with or without modification, are
2613 permitted in any medium without royalty provided the copyright notice
2614 and this notice are preserved. This file is offered as-is, without any
2615 warranty.
2616
2617 
2618 File: autoconf-archive.info, Node: ax_subdirs_configure, Next: ax_subst_with, Prev: ax_subdir_files, Up: The Macros
2619
2620 ax_subdirs_configure
2621 ====================
2622
2623 Synopsis
2624 ********
2625
2626 AX_SUBDIRS_CONFIGURE( [subdirs], [mandatory arguments], [possibly merged arguments], [replacement arguments], [forbidden arguments])
2627
2628 Description
2629 ***********
2630
2631 AX_SUBDIRS_CONFIGURE attempts to be the equivalent of AC_CONFIG_SUBDIRS
2632 with customizable options for configure scripts.
2633
2634 Run the configure script for each directory from the comma-separated m4
2635 list 'subdirs'. This macro can be used multiple times. All arguments
2636 of this macro must be comma-separated lists.
2637
2638 All command line arguments from the parent configure script will be
2639 given to the subdirectory configure script after the following
2640 modifications (in that order):
2641
2642 1. The arguments from the 'mandatory arguments' list shall always be
2643 appended to the argument list.
2644
2645 2. The arguments from the 'possibly merged arguments' list shall be
2646 added if not present in the arguments of the parent configure script or
2647 merged with the existing argument otherwise.
2648
2649 3. The arguments from the 'replacement arguments' list shall be added
2650 if not present in the arguments of the parent configure script or
2651 replace the existing argument otherwise.
2652
2653 4. The arguments from the 'forbidden arguments' list shall always be
2654 removed from the argument list.
2655
2656 The lists 'mandatory arguments' and 'forbidden arguments' can hold any
2657 kind of argument. The 'possibly merged arguments' and 'replacement
2658 arguments' expect their arguments to be of the form -option-name=value.
2659
2660 This macro aims to remain as close as possible to the AC_CONFIG_SUBDIRS
2661 macro. It corrects the paths for '-srcdir' and adds
2662 '-disable-option-checking' and '-silent' if necessary. However, it does
2663 not change the '-cache-file' argument: typically, configure scripts run
2664 with different arguments will not be able to share the same cache. If
2665 you wish to share a single cache, you should give an absolute path to
2666 '-cache-file'.
2667
2668 This macro also sets the output variable subdirs_extra to the list of
2669 directories recorded with AX_SUBDIRS_CONFIGURE. This variable can be
2670 used in Makefile rules or substituted in configured files.
2671
2672 This macro shall do nothing more than managing the arguments of the
2673 configure script. Just like when using AC_CONFIG_SUBDIRS, it is up to
2674 the user to check any requirements or define and substitute any required
2675 variable for the remainder of the project.
2676
2677 Configure scripts recorded with AX_SUBDIRS_CONFIGURE may be executed
2678 before configure scripts recorded with AC_CONFIG_SUBDIRS.
2679
2680 Without additional arguments, the behaviour of AX_SUBDIRS_CONFIGURE
2681 should be identical to the behaviour of AC_CONFIG_SUBDIRS, apart from
2682 the contents of the variables subdirs and subdirs_extra (except that
2683 AX_SUBDIRS_CONFIGURE expects a comma-separated m4 list):
2684
2685 AC_CONFIG_SUBDIRS([something])
2686 AX_SUBDIRS_CONFIGURE([something])
2687
2688 This macro may be called multiple times.
2689
2690 Usage example:
2691
2692 Let us assume our project has 4 dependencies, namely A, B, C and D. Here
2693 are some characteristics of our project and its dependencies:
2694
2695 - A does not require any special option.
2696
2697 - we want to build B with an optional feature which can be enabled with
2698 its configure script's option '-enable-special-feature'.
2699
2700 - B's configure script is strange and has an option '-with-B=build'.
2701 After close inspection of its documentation, we don't want B to receive
2702 this option.
2703
2704 - C and D both need B.
2705
2706 - Just like our project, C and D can build B themselves with the option
2707 '-with-B=build'.
2708
2709 - We want C and D to use the B we build instead of building it
2710 themselves.
2711
2712 Our top-level configure script will be called as follows:
2713
2714 $ <path/to/configure> --with-A=build --with-B=build --with-C=build \
2715 --with-D=build --some-option
2716
2717 Thus we have to make sure that:
2718
2719 - neither B, C or D receive the option '-with-B=build'
2720
2721 - C and D know where to find the headers and libraries of B.
2722
2723 Under those conditions, we can use the AC_CONFIG_SUBDIRS macro for A,
2724 but need to use AX_SUBDIRS_CONFIGURE for B, C and D:
2725
2726 - B must receive '-enable-special-feature' but cannot receive
2727 '-with-B=build'
2728
2729 - C and D cannot receive '-with-B=build' (or else it would be built
2730 thrice) and need to be told where to find B (since we are building it,
2731 it would probably not be available in standard paths).
2732
2733 Here is a configure.ac snippet that solves our problem:
2734
2735 AC_CONFIG_SUBDIRS([dependencies/A])
2736 AX_SUBDIRS_CONFIGURE(
2737 [dependencies/B], [--enable-special-feature], [], [],
2738 [--with-B=build])
2739 AX_SUBDIRS_CONFIGURE(
2740 [[dependencies/C],[dependencies/D]],
2741 [],
2742 [[CPPFLAGS=-I${ac_top_srcdir}/dependencies/B -I${ac_top_builddir}/dependencies/B],
2743 [LDFLAGS=-L${ac_abs_top_builddir}/dependencies/B/.libs]],
2744 [--with-B=system],
2745 [])
2746
2747 If using automake, the following can be added to the Makefile.am (we use
2748 both $(subdirs) and $(subdirs_extra) since our example above used both
2749 AC_CONFIG_SUBDIRS and AX_SUBDIRS_CONFIGURE):
2750
2751 SUBDIRS = $(subdirs) $(subdirs_extra)
2752
2753 Source Code
2754 ***********
2755
2756 Download the latest version of 'ax_subdirs_configure.m4'
2757 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_subdirs_configure.m4)
2758 or browse the macro's revision history
2759 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_subdirs_configure.m4).
2760
2761 License
2762 *******
2763
2764 Copyright (C) 2017 Harenome Ranaivoarivony-Razanajato <ranaivoarivony-razanajato@hareno.me>
2765
2766 This program is free software; you can redistribute it and/or modify it
2767 under the terms of the GNU General Public License as published by the
2768 Free Software Foundation; either version 3 of the License, or (at your
2769 option) any later version.
2770
2771 This program is distributed in the hope that it will be useful, but
2772 WITHOUT ANY WARRANTY; without even the implied warranty of
2773 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2774 Public License for more details.
2775
2776 Under Section 7 of GPL version 3, you are granted additional permissions
2777 described in the Autoconf Configure Script Exception, version 3.0, as
2778 published by the Free Software Foundation.
2779
2780 You should have received a copy of the GNU General Public License along
2781 with this program. If not, see <https://www.gnu.org/licenses/>.
2782
2783 
2784 File: autoconf-archive.info, Node: ax_subst_with, Next: ax_swig_enable_cxx, Prev: ax_subdirs_configure, Up: The Macros
2785
2786 ax_subst_with
2787 =============
2788
2789 Synopsis
2790 ********
2791
2792 AX_SUBST_WITH([varname])
2793
2794 Description
2795 ***********
2796
2797 a very simple macro but also very helpful - the varname is usually the
2798 one from an AC_ARG_ENABLE or AC_ARG_WITH option. it is transliterated
2799 into uppercase and a prefix WITH_ and WITHOUT_ that are both _SUBSTed.
2800
2801 Only one of these is set to "#" while the other is empty. In other
2802 words a call like AC_WITHNONE(enable-call) will create two SUBST-symbols
2803 as WITH_ENABLE_CALL and WITHOUT_ENABLE_CALL. When the varname had been
2804 set to something not "no" or "0" or ":" or "false" then it results in
2805
2806 WITH_ENABLE_CALL="" ; WITHOUT_ENABLE_CALL="#"
2807
2808 which you can use in your Makefile quite easily as if using an
2809 AM_CONDITIONAL but which can be also parsed by normal make
2810
2811 USE = @WITH_ENABLE_CALL@ -Denabled USE = @WITHOUT_ENABLE_CALL@
2812 -Dnot_enabled
2813
2814 Source Code
2815 ***********
2816
2817 Download the latest version of 'ax_subst_with.m4'
2818 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_subst_with.m4)
2819 or browse the macro's revision history
2820 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_subst_with.m4).
2821
2822 License
2823 *******
2824
2825 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
2826
2827 Copying and distribution of this file, with or without modification, are
2828 permitted in any medium without royalty provided the copyright notice
2829 and this notice are preserved. This file is offered as-is, without any
2830 warranty.
2831
2832 
2833 File: autoconf-archive.info, Node: ax_swig_enable_cxx, Next: ax_swig_multi_module_support, Prev: ax_subst_with, Up: The Macros
2834
2835 ax_swig_enable_cxx
2836 ==================
2837
2838 Synopsis
2839 ********
2840
2841 AX_SWIG_ENABLE_CXX
2842
2843 Description
2844 ***********
2845
2846 Enable SWIG C++ support. This affects all invocations of $(SWIG).
2847
2848 Source Code
2849 ***********
2850
2851 Download the latest version of 'ax_swig_enable_cxx.m4'
2852 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_swig_enable_cxx.m4)
2853 or browse the macro's revision history
2854 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_swig_enable_cxx.m4).
2855
2856 License
2857 *******
2858
2859 Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
2860 Copyright (C) 2008 Alan W. Irwin
2861 Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
2862 Copyright (C) 2008 Andrew Collier
2863
2864 This program is free software; you can redistribute it and/or modify it
2865 under the terms of the GNU General Public License as published by the
2866 Free Software Foundation; either version 2 of the License, or (at your
2867 option) any later version.
2868
2869 This program is distributed in the hope that it will be useful, but
2870 WITHOUT ANY WARRANTY; without even the implied warranty of
2871 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2872 Public License for more details.
2873
2874 You should have received a copy of the GNU General Public License along
2875 with this program. If not, see <https://www.gnu.org/licenses/>.
2876
2877 As a special exception, the respective Autoconf Macro's copyright owner
2878 gives unlimited permission to copy, distribute and modify the configure
2879 scripts that are the output of Autoconf when processing the Macro. You
2880 need not follow the terms of the GNU General Public License when using
2881 or distributing such scripts, even though portions of the text of the
2882 Macro appear in them. The GNU General Public License (GPL) does govern
2883 all other use of the material that constitutes the Autoconf Macro.
2884
2885 This special exception to the GPL applies to versions of the Autoconf
2886 Macro released by the Autoconf Archive. When you make and distribute a
2887 modified version of the Autoconf Macro, you may extend this special
2888 exception to the GPL to apply to your modified version as well.
2889
2890 
2891 File: autoconf-archive.info, Node: ax_swig_multi_module_support, Next: ax_swig_python, Prev: ax_swig_enable_cxx, Up: The Macros
2892
2893 ax_swig_multi_module_support
2894 ============================
2895
2896 Synopsis
2897 ********
2898
2899 AX_SWIG_MULTI_MODULE_SUPPORT
2900
2901 Description
2902 ***********
2903
2904 Enable support for multiple modules. This effects all invocations of
2905 $(SWIG). You have to link all generated modules against the appropriate
2906 SWIG runtime library. If you want to build Python modules for example,
2907 use the AX_SWIG_PYTHON macro and link the modules against
2908 $(AX_SWIG_PYTHON_LIBS).
2909
2910 Source Code
2911 ***********
2912
2913 Download the latest version of 'ax_swig_multi_module_support.m4'
2914 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_swig_multi_module_support.m4)
2915 or browse the macro's revision history
2916 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_swig_multi_module_support.m4).
2917
2918 License
2919 *******
2920
2921 Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
2922 Copyright (C) 2008 Alan W. Irwin
2923 Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
2924 Copyright (C) 2008 Andrew Collier
2925
2926 This program is free software; you can redistribute it and/or modify it
2927 under the terms of the GNU General Public License as published by the
2928 Free Software Foundation; either version 2 of the License, or (at your
2929 option) any later version.
2930
2931 This program is distributed in the hope that it will be useful, but
2932 WITHOUT ANY WARRANTY; without even the implied warranty of
2933 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2934 Public License for more details.
2935
2936 You should have received a copy of the GNU General Public License along
2937 with this program. If not, see <https://www.gnu.org/licenses/>.
2938
2939 As a special exception, the respective Autoconf Macro's copyright owner
2940 gives unlimited permission to copy, distribute and modify the configure
2941 scripts that are the output of Autoconf when processing the Macro. You
2942 need not follow the terms of the GNU General Public License when using
2943 or distributing such scripts, even though portions of the text of the
2944 Macro appear in them. The GNU General Public License (GPL) does govern
2945 all other use of the material that constitutes the Autoconf Macro.
2946
2947 This special exception to the GPL applies to versions of the Autoconf
2948 Macro released by the Autoconf Archive. When you make and distribute a
2949 modified version of the Autoconf Macro, you may extend this special
2950 exception to the GPL to apply to your modified version as well.
2951
2952 
2953 File: autoconf-archive.info, Node: ax_swig_python, Next: ax_switch_flags, Prev: ax_swig_multi_module_support, Up: The Macros
2954
2955 ax_swig_python
2956 ==============
2957
2958 Synopsis
2959 ********
2960
2961 AX_SWIG_PYTHON([use-shadow-classes = {no, yes}])
2962
2963 Description
2964 ***********
2965
2966 Checks for Python and provides the $(AX_SWIG_PYTHON_CPPFLAGS), and
2967 $(AX_SWIG_PYTHON_OPT) output variables.
2968
2969 $(AX_SWIG_PYTHON_OPT) contains all necessary SWIG options to generate
2970 code for Python. Shadow classes are enabled unless the value of the
2971 optional first argument is exactly 'no'. If you need multi module
2972 support (provided by the AX_SWIG_MULTI_MODULE_SUPPORT macro) use
2973 $(AX_SWIG_PYTHON_LIBS) to link against the appropriate library. It
2974 contains the SWIG Python runtime library that is needed by the type
2975 check system for example.
2976
2977 Source Code
2978 ***********
2979
2980 Download the latest version of 'ax_swig_python.m4'
2981 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_swig_python.m4)
2982 or browse the macro's revision history
2983 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_swig_python.m4).
2984
2985 License
2986 *******
2987
2988 Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
2989 Copyright (C) 2008 Alan W. Irwin
2990 Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
2991 Copyright (C) 2008 Andrew Collier
2992
2993 This program is free software; you can redistribute it and/or modify it
2994 under the terms of the GNU General Public License as published by the
2995 Free Software Foundation; either version 2 of the License, or (at your
2996 option) any later version.
2997
2998 This program is distributed in the hope that it will be useful, but
2999 WITHOUT ANY WARRANTY; without even the implied warranty of
3000 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3001 Public License for more details.
3002
3003 You should have received a copy of the GNU General Public License along
3004 with this program. If not, see <https://www.gnu.org/licenses/>.
3005
3006 As a special exception, the respective Autoconf Macro's copyright owner
3007 gives unlimited permission to copy, distribute and modify the configure
3008 scripts that are the output of Autoconf when processing the Macro. You
3009 need not follow the terms of the GNU General Public License when using
3010 or distributing such scripts, even though portions of the text of the
3011 Macro appear in them. The GNU General Public License (GPL) does govern
3012 all other use of the material that constitutes the Autoconf Macro.
3013
3014 This special exception to the GPL applies to versions of the Autoconf
3015 Macro released by the Autoconf Archive. When you make and distribute a
3016 modified version of the Autoconf Macro, you may extend this special
3017 exception to the GPL to apply to your modified version as well.
3018
3019 
3020 File: autoconf-archive.info, Node: ax_switch_flags, Next: ax_sys_dev_poll, Prev: ax_swig_python, Up: The Macros
3021
3022 ax_switch_flags
3023 ===============
3024
3025 Synopsis
3026 ********
3027
3028 AX_SWITCH_FLAGS(newnamespace,[oldnamespace])
3029
3030 Description
3031 ***********
3032
3033 Switch common compilation flags from temporary variables between two
3034 compilation namespace.
3035
3036 Compilation flags includes: CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS, LIBS,
3037 OBJCFLAGS.
3038
3039 By default these flags are restored to a global (empty) namespace, but
3040 user could restore from specific NAMESPACE by using
3041 AX_RESTORE_FLAGS(NAMESPACE) macro.
3042
3043 Typical usage is like:
3044
3045 AX_SAVE_FLAGS(beginprogram)
3046 CPPFLAGS="-Imypackagespath ${CPPFLAGS}"
3047 AX_SWITCH_FLAGS(mypackage,beginprogram)
3048
3049 Source Code
3050 ***********
3051
3052 Download the latest version of 'ax_switch_flags.m4'
3053 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_switch_flags.m4)
3054 or browse the macro's revision history
3055 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_switch_flags.m4).
3056
3057 License
3058 *******
3059
3060 Copyright (C) 2009 Filippo Giunchedi <filippo@esaurito.net>
3061 Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University
3062
3063 Copyright (C) 2011 Russ Allbery <rra@stanford.edu>
3064 Copyright (C) 2013 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
3065
3066 Copying and distribution of this file, with or without modification, are
3067 permitted in any medium without royalty provided the copyright notice
3068 and this notice are preserved. This file is offered as-is, without any
3069 warranty.
3070
3071 
3072 File: autoconf-archive.info, Node: ax_sys_dev_poll, Next: ax_sys_largefile_sensitive, Prev: ax_switch_flags, Up: The Macros
3073
3074 ax_sys_dev_poll
3075 ===============
3076
3077 Synopsis
3078 ********
3079
3080 AX_SYS_DEV_POLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
3081
3082 Description
3083 ***********
3084
3085 This macro tests for the presence of /dev/poll support in the build
3086 environment. It checks that the needed structure (dvpoll) is available,
3087 with the standard fields. /dev/poll is most often seen under Solaris.
3088
3089 Note that it does not attempt to actually open /dev/poll - you should
3090 test for errors when you open it and then fall back to poll() if it is
3091 unavailable.
3092
3093 Source Code
3094 ***********
3095
3096 Download the latest version of 'ax_sys_dev_poll.m4'
3097 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_dev_poll.m4)
3098 or browse the macro's revision history
3099 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_dev_poll.m4).
3100
3101 License
3102 *******
3103
3104 Copyright (C) 2008 Dave Benson <daveb@ffem.org>
3105
3106 Copying and distribution of this file, with or without modification, are
3107 permitted in any medium without royalty provided the copyright notice
3108 and this notice are preserved. This file is offered as-is, without any
3109 warranty.
3110
3111 
3112 File: autoconf-archive.info, Node: ax_sys_largefile_sensitive, Next: ax_sys_perlsharpbang, Prev: ax_sys_dev_poll, Up: The Macros
3113
3114 ax_sys_largefile_sensitive
3115 ==========================
3116
3117 Synopsis
3118 ********
3119
3120 AX_SYS_LARGEFILE_SENSITIVE
3121
3122 Description
3123 ***********
3124
3125 Check whether the current system is sensitive to -Ddefines making off_t
3126 having different types/sizes. Automatically define a config.h symbol
3127 LARGEFILE_SENSITIVE if that is the case, otherwise leave everything as
3128 is.
3129
3130 This macro builds on top of AC_SYS_LARGEFILE to detect whether special
3131 options are needed to make the code use 64bit off_t - in many setups
3132 this will also make the code use 64bit off_t immediately.
3133
3134 The common use of a LARGEFILE_SENSITIVE config.h-define is to rename
3135 exported functions, usually adding a 64 to the original function name.
3136 Such renamings are only needed on systems being both (a) 32bit off_t by
3137 default and (b) implementing large.file extensions (as for unix98).
3138
3139 a renaming section could look like this:
3140
3141 #if defined LARGEFILE_SENSITIVE && _FILE_OFFSET_BITS+0 == 64
3142 #define zzip_open zzip_open64
3143 #define zzip_seek zzip_seek64
3144 #endif
3145
3146 for libraries, it is best to take advantage of the prefix-config.h
3147 macro, otherwise you want to export a renamed LARGEFILE_SENSITIVE in an
3148 installed header file. -> see AX_PREFIX_CONFIG_H
3149
3150 Source Code
3151 ***********
3152
3153 Download the latest version of 'ax_sys_largefile_sensitive.m4'
3154 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_largefile_sensitive.m4)
3155 or browse the macro's revision history
3156 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_largefile_sensitive.m4).
3157
3158 License
3159 *******
3160
3161 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
3162
3163 Copying and distribution of this file, with or without modification, are
3164 permitted in any medium without royalty provided the copyright notice
3165 and this notice are preserved. This file is offered as-is, without any
3166 warranty.
3167
3168 
3169 File: autoconf-archive.info, Node: ax_sys_perlsharpbang, Next: ax_sys_weak_alias, Prev: ax_sys_largefile_sensitive, Up: The Macros
3170
3171 ax_sys_perlsharpbang
3172 ====================
3173
3174 Synopsis
3175 ********
3176
3177 AX_SYS_PERLSHARPBANG
3178
3179 Description
3180 ***********
3181
3182 Determine how the perl interpreter is located by the OS kernel and make
3183 substitution variable PERL_SHEBANG available. Does AC_PATH_PROG to find
3184 the path to perl. As a side-effect, that sets PERLINTERP and makes it
3185 available as a substitution variable.
3186
3187 Note: The macro allows for the possibility (expected to be seldom used)
3188 of an explicit user override (the "user" being the operator executing
3189 the final 'configure' script, in this context) by making the option
3190 argument like:
3191
3192 --with-perl-shebang='#! /my/funky/perlpath' # OR
3193 --with-perl-shebang='/my/funky/perlpath' # we just throw away the #! anyway
3194 # bec it must be absent in Makefile
3195
3196 Rationale: The are various ways of starting an interpreter on different
3197 *nix-like systems. Many use the simple
3198
3199 #!/usr/bin/perl
3200
3201 but it could be instead
3202
3203 #!/usr/local/bin/perl
3204
3205 and there is even the possibility that the user wants
3206
3207 #!/usr/bin/env perl
3208
3209 to find whichever perl comes first in the current $PATH. This is
3210 preferred by some of us because we run multiple perl installations on
3211 the same box. Adjusting our $PATH then allows us to set precedence over
3212 other perls, even whatever the "house" version is.
3213
3214 Users on very non-unix systems like MS Windows do not have a kernel that
3215 does this kind of thing from the first line of script files, but instead
3216 the perl on their machine is started and merely notices whatever comes
3217 after the interpreter path on this first line of the script (options
3218 like "-w").
3219
3220 Acknowledgement: this macro was in part inspired by Dean Povey's
3221 AC_PROG_PERL_VERSION.
3222
3223 Source Code
3224 ***********
3225
3226 Download the latest version of 'ax_sys_perlsharpbang.m4'
3227 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_perlsharpbang.m4)
3228 or browse the macro's revision history
3229 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_perlsharpbang.m4).
3230
3231 License
3232 *******
3233
3234 Copyright (C) 2009 Soren Andersen <somian@pobox.com>
3235
3236 Copying and distribution of this file, with or without modification, are
3237 permitted in any medium without royalty provided the copyright notice
3238 and this notice are preserved. This file is offered as-is, without any
3239 warranty.
3240
3241 
3242 File: autoconf-archive.info, Node: ax_sys_weak_alias, Next: ax_sysv_ipc, Prev: ax_sys_perlsharpbang, Up: The Macros
3243
3244 ax_sys_weak_alias
3245 =================
3246
3247 Synopsis
3248 ********
3249
3250 AX_SYS_WEAK_ALIAS
3251
3252 Description
3253 ***********
3254
3255 Determines whether weak aliases are supported on the system, and if so,
3256 what scheme is used to declare them. Also checks to see if aliases can
3257 cross object file boundaries, as some systems don't permit them to.
3258
3259 Most systems permit something called a "weak alias" or "weak symbol."
3260 These aliases permit a library to provide a stub form of a routine
3261 defined in another library, thus allowing the first library to operate
3262 even if the other library is not linked. This macro will check for
3263 support of weak aliases, figure out what schemes are available, and
3264 determine some characteristics of the weak alias support - primarily,
3265 whether a weak alias declared in one object file may be referenced from
3266 another object file.
3267
3268 There are four known schemes of declaring weak symbols; each scheme is
3269 checked in turn, and the first one found is preferred. Note that only
3270 one of the mentioned preprocessor macros will be defined!
3271
3272 1. Function attributes
3273
3274 This scheme was first introduced by the GNU C compiler, and attaches
3275 attributes to particular functions. It is among the easiest to use, and
3276 so is the first one checked. If this scheme is detected, the
3277 preprocessor macro HAVE_SYS_WEAK_ALIAS_ATTRIBUTE will be defined to 1.
3278 This scheme is used as in the following code fragment:
3279
3280 void __weakf(int c)
3281 {
3282 /* Function definition... */
3283 }
3284
3285 void weakf(int c) __attribute__((weak, alias("__weakf")));
3286
3287 2. #pragma weak
3288
3289 This scheme is in use by many compilers other than the GNU C compiler.
3290 It is also particularly easy to use, and fairly portable - well, as
3291 portable as these things get. If this scheme is detected first, the
3292 preprocessor macro HAVE_SYS_WEAK_ALIAS_PRAGMA will be defined to 1.
3293 This scheme is used as in the following code fragment:
3294
3295 extern void weakf(int c);
3296 #pragma weak weakf = __weakf
3297 void __weakf(int c)
3298 {
3299 /* Function definition... */
3300 }
3301
3302 3. #pragma _HP_SECONDARY_DEF
3303
3304 This scheme appears to be in use by the HP compiler. As it is rather
3305 specialized, this is one of the last schemes checked. If it is the
3306 first one detected, the preprocessor macro
3307 HAVE_SYS_WEAK_ALIAS_HPSECONDARY will be defined to 1. This scheme is
3308 used as in the following code fragment:
3309
3310 extern void weakf(int c);
3311 #pragma _HP_SECONDARY_DEF __weakf weakf
3312 void __weakf(int c)
3313 {
3314 /* Function definition... */
3315 }
3316
3317 4. #pragma _CRI duplicate
3318
3319 This scheme appears to be in use by the Cray compiler. As it is rather
3320 specialized, it too is one of the last schemes checked. If it is the
3321 first one detected, the preprocessor macro
3322 HAVE_SYS_WEAK_ALIAS_CRIDUPLICATE will be defined to 1. This scheme is
3323 used as in the following code fragment:
3324
3325 extern void weakf(int c);
3326 #pragma _CRI duplicate weakf as __weakf
3327 void __weakf(int c)
3328 {
3329 /* Function definition... */
3330 }
3331
3332 In addition to the preprocessor macros listed above, if any scheme is
3333 found, the preprocessor macro HAVE_SYS_WEAK_ALIAS will also be defined
3334 to 1.
3335
3336 Once a weak aliasing scheme has been found, a check will be performed to
3337 see if weak aliases are honored across object file boundaries. If they
3338 are, the HAVE_SYS_WEAK_ALIAS_CROSSFILE preprocessor macro is defined to
3339 1.
3340
3341 This Autoconf macro also makes two substitutions. The first,
3342 WEAK_ALIAS, contains the name of the scheme found (one of "attribute",
3343 "pragma", "hpsecondary", or "criduplicate"), or "no" if no weak aliasing
3344 scheme was found. The second, WEAK_ALIAS_CROSSFILE, is set to "yes" or
3345 "no" depending on whether or not weak aliases may cross object file
3346 boundaries.
3347
3348 Source Code
3349 ***********
3350
3351 Download the latest version of 'ax_sys_weak_alias.m4'
3352 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_weak_alias.m4)
3353 or browse the macro's revision history
3354 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_weak_alias.m4).
3355
3356 License
3357 *******
3358
3359 Copyright (C) 2008 Kevin L. Mitchell <klmitch@mit.edu>
3360
3361 Copying and distribution of this file, with or without modification, are
3362 permitted in any medium without royalty provided the copyright notice
3363 and this notice are preserved. This file is offered as-is, without any
3364 warranty.
3365
3366 
3367 File: autoconf-archive.info, Node: ax_sysv_ipc, Next: ax_tls, Prev: ax_sys_weak_alias, Up: The Macros
3368
3369 ax_sysv_ipc
3370 ===========
3371
3372 Synopsis
3373 ********
3374
3375 AX_SYSV_IPC
3376
3377 Description
3378 ***********
3379
3380 This macro checks for the SysV IPC header files. It only checks that
3381 you can compile a program with them, not whether the system actually
3382 implements working SysV IPC.
3383
3384 Source Code
3385 ***********
3386
3387 Download the latest version of 'ax_sysv_ipc.m4'
3388 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sysv_ipc.m4)
3389 or browse the macro's revision history
3390 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sysv_ipc.m4).
3391
3392 License
3393 *******
3394
3395 Copyright (C) 2008 Warren Young <warren@etr-usa.com>
3396
3397 Copying and distribution of this file, with or without modification, are
3398 permitted in any medium without royalty provided the copyright notice
3399 and this notice are preserved. This file is offered as-is, without any
3400 warranty.
3401
3402 
3403 File: autoconf-archive.info, Node: ax_tls, Next: ax_trilinos_amesos, Prev: ax_sysv_ipc, Up: The Macros
3404
3405 ax_tls
3406 ======
3407
3408 Synopsis
3409 ********
3410
3411 AX_TLS([action-if-found], [action-if-not-found])
3412
3413 Description
3414 ***********
3415
3416 Provides a test for the compiler support of thread local storage (TLS)
3417 extensions. Defines TLS if it is found. Currently knows about C++11,
3418 GCC/ICC, and MSVC. I think SunPro uses the same as GCC, and Borland
3419 apparently supports either.
3420
3421 Source Code
3422 ***********
3423
3424 Download the latest version of 'ax_tls.m4'
3425 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_tls.m4)
3426 or browse the macro's revision history
3427 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_tls.m4).
3428
3429 License
3430 *******
3431
3432 Copyright (C) 2008 Alan Woodland <ajw05@aber.ac.uk>
3433 Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
3434
3435 This program is free software: you can redistribute it and/or modify it
3436 under the terms of the GNU General Public License as published by the
3437 Free Software Foundation, either version 3 of the License, or (at your
3438 option) any later version.
3439
3440 This program is distributed in the hope that it will be useful, but
3441 WITHOUT ANY WARRANTY; without even the implied warranty of
3442 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3443 Public License for more details.
3444
3445 You should have received a copy of the GNU General Public License along
3446 with this program. If not, see <https://www.gnu.org/licenses/>.
3447
3448 As a special exception, the respective Autoconf Macro's copyright owner
3449 gives unlimited permission to copy, distribute and modify the configure
3450 scripts that are the output of Autoconf when processing the Macro. You
3451 need not follow the terms of the GNU General Public License when using
3452 or distributing such scripts, even though portions of the text of the
3453 Macro appear in them. The GNU General Public License (GPL) does govern
3454 all other use of the material that constitutes the Autoconf Macro.
3455
3456 This special exception to the GPL applies to versions of the Autoconf
3457 Macro released by the Autoconf Archive. When you make and distribute a
3458 modified version of the Autoconf Macro, you may extend this special
3459 exception to the GPL to apply to your modified version as well.
3460
3461 
3462 File: autoconf-archive.info, Node: ax_trilinos_amesos, Next: ax_trilinos_base, Prev: ax_tls, Up: The Macros
3463
3464 ax_trilinos_amesos
3465 ==================
3466
3467 Synopsis
3468 ********
3469
3470 AX_TRILINOS_AMESOS([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3471
3472 Description
3473 ***********
3474
3475 On success, adds "include Makefile.export.amesos" statements to every
3476 Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
3477 configured with the -enable-export-makefiles option. When
3478 ACTION-IF-NOT-FOUND is not specified, the default behavior is for
3479 configure to fail.
3480
3481 Source Code
3482 ***********
3483
3484 Download the latest version of 'ax_trilinos_amesos.m4'
3485 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_amesos.m4)
3486 or browse the macro's revision history
3487 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_amesos.m4).
3488
3489 License
3490 *******
3491
3492 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
3493
3494 Copying and distribution of this file, with or without modification, are
3495 permitted in any medium without royalty provided the copyright notice
3496 and this notice are preserved. This file is offered as-is, without any
3497 warranty.
3498
3499 
3500 File: autoconf-archive.info, Node: ax_trilinos_base, Next: ax_trilinos_epetra, Prev: ax_trilinos_amesos, Up: The Macros
3501
3502 ax_trilinos_base
3503 ================
3504
3505 Synopsis
3506 ********
3507
3508 AX_TRILINOS_BASE([, MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
3509
3510 Description
3511 ***********
3512
3513 Test for the Trilinos (http://trilinos.sandia.gov/) libraries.
3514
3515 Provides a -with-trilinos=DIR option. Searches -with-trilinos,
3516 $TRILINOS_HOME, and the usual places for Trilinos installation headers.
3517
3518 Requires that a development branch or released version greater than
3519 MINIMUM-VERSION be found. If not specified, the default minimum version
3520 is 8.0.0.
3521
3522 Supports separately specifying -with-trilinos-include or
3523 -with-trilinos-libdir to override default locations underneath either
3524 -with-trilinos or $TRILINOS_HOME.
3525
3526 On success, adds -Ipath to CPPFLAGS, -Lpath to LDFLAGS, sets the
3527 variable TRILINOS_INCLUDE based on the discovered location of
3528 Trilinos_version.h, and #defines HAVE_TRILINOS. When ACTION-IF-NOT-FOUND
3529 is not specified, the default behavior is for configure to fail.
3530
3531 Source Code
3532 ***********
3533
3534 Download the latest version of 'ax_trilinos_base.m4'
3535 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_base.m4)
3536 or browse the macro's revision history
3537 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_base.m4).
3538
3539 License
3540 *******
3541
3542 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
3543 Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
3544 Copyright (C) 2009 Caolan McNamara <caolan@skynet.ie>
3545 Copyright (C) 2009 Alexandre Duret-Lutz <adl@gnu.org>
3546 Copyright (C) 2009 Matthew Mueller <donut@azstarnet.com>
3547
3548 Copying and distribution of this file, with or without modification, are
3549 permitted in any medium without royalty provided the copyright notice
3550 and this notice are preserved. This file is offered as-is, without any
3551 warranty.
3552
3553 
3554 File: autoconf-archive.info, Node: ax_trilinos_epetra, Next: ax_trilinos_epetraext, Prev: ax_trilinos_base, Up: The Macros
3555
3556 ax_trilinos_epetra
3557 ==================
3558
3559 Synopsis
3560 ********
3561
3562 AX_TRILINOS_EPETRA([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3563
3564 Description
3565 ***********
3566
3567 On success, adds "include Makefile.export.epetra" statements to every
3568 Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
3569 configured with the -enable-export-makefiles option. When
3570 ACTION-IF-NOT-FOUND is not specified, the default behavior is for
3571 configure to fail.
3572
3573 Source Code
3574 ***********
3575
3576 Download the latest version of 'ax_trilinos_epetra.m4'
3577 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_epetra.m4)
3578 or browse the macro's revision history
3579 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_epetra.m4).
3580
3581 License
3582 *******
3583
3584 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
3585
3586 Copying and distribution of this file, with or without modification, are
3587 permitted in any medium without royalty provided the copyright notice
3588 and this notice are preserved. This file is offered as-is, without any
3589 warranty.
3590
3591 
3592 File: autoconf-archive.info, Node: ax_trilinos_epetraext, Next: ax_trilinos_epetraext_hdf5, Prev: ax_trilinos_epetra, Up: The Macros
3593
3594 ax_trilinos_epetraext
3595 =====================
3596
3597 Synopsis
3598 ********
3599
3600 AX_TRILINOS_EPETRAEXT([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3601
3602 Description
3603 ***********
3604
3605 On success, adds "include Makefile.export.epetraext" statements to every
3606 Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
3607 configured with the -enable-export-makefiles option. When
3608 ACTION-IF-NOT-FOUND is not specified, the default behavior is for
3609 configure to fail.
3610
3611 Source Code
3612 ***********
3613
3614 Download the latest version of 'ax_trilinos_epetraext.m4'
3615 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_epetraext.m4)
3616 or browse the macro's revision history
3617 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_epetraext.m4).
3618
3619 License
3620 *******
3621
3622 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
3623
3624 Copying and distribution of this file, with or without modification, are
3625 permitted in any medium without royalty provided the copyright notice
3626 and this notice are preserved. This file is offered as-is, without any
3627 warranty.
3628
3629 
3630 File: autoconf-archive.info, Node: ax_trilinos_epetraext_hdf5, Next: ax_trilinos_rtop, Prev: ax_trilinos_epetraext, Up: The Macros
3631
3632 ax_trilinos_epetraext_hdf5
3633 ==========================
3634
3635 Synopsis
3636 ********
3637
3638 AX_TRILINOS_EPETRAEXT_HDF5([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3639
3640 Description
3641 ***********
3642
3643 Checks if EpetraExt was compiled with HDF5 support
3644 (-enable-epetraext-hdf5) enabled. When ACTION-IF-NOT-FOUND is not
3645 specified, the default behavior is for configure to fail.
3646
3647 Source Code
3648 ***********
3649
3650 Download the latest version of 'ax_trilinos_epetraext_hdf5.m4'
3651 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_epetraext_hdf5.m4)
3652 or browse the macro's revision history
3653 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_epetraext_hdf5.m4).
3654
3655 License
3656 *******
3657
3658 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
3659
3660 Copying and distribution of this file, with or without modification, are
3661 permitted in any medium without royalty provided the copyright notice
3662 and this notice are preserved. This file is offered as-is, without any
3663 warranty.
3664
3665 
3666 File: autoconf-archive.info, Node: ax_trilinos_rtop, Next: ax_trilinos_rythmos, Prev: ax_trilinos_epetraext_hdf5, Up: The Macros
3667
3668 ax_trilinos_rtop
3669 ================
3670
3671 Synopsis
3672 ********
3673
3674 AX_TRILINOS_RTOP([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3675
3676 Description
3677 ***********
3678
3679 On success, adds "include Makefile.export.rtop" statements to every
3680 Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
3681 configured with the -enable-export-makefiles option. When
3682 ACTION-IF-NOT-FOUND is not specified, the default behavior is for
3683 configure to fail.
3684
3685 Source Code
3686 ***********
3687
3688 Download the latest version of 'ax_trilinos_rtop.m4'
3689 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_rtop.m4)
3690 or browse the macro's revision history
3691 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_rtop.m4).
3692
3693 License
3694 *******
3695
3696 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
3697
3698 Copying and distribution of this file, with or without modification, are
3699 permitted in any medium without royalty provided the copyright notice
3700 and this notice are preserved. This file is offered as-is, without any
3701 warranty.
3702
3703 
3704 File: autoconf-archive.info, Node: ax_trilinos_rythmos, Next: ax_trilinos_teuchos, Prev: ax_trilinos_rtop, Up: The Macros
3705
3706 ax_trilinos_rythmos
3707 ===================
3708
3709 Synopsis
3710 ********
3711
3712 AX_TRILINOS_RYTHMOS([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3713
3714 Description
3715 ***********
3716
3717 On success, adds "include Makefile.export.rythmos" statements to every
3718 Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
3719 configured with the -enable-export-makefiles option. When
3720 ACTION-IF-NOT-FOUND is not specified, the default behavior is for
3721 configure to fail.
3722
3723 Source Code
3724 ***********
3725
3726 Download the latest version of 'ax_trilinos_rythmos.m4'
3727 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_rythmos.m4)
3728 or browse the macro's revision history
3729 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_rythmos.m4).
3730
3731 License
3732 *******
3733
3734 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
3735
3736 Copying and distribution of this file, with or without modification, are
3737 permitted in any medium without royalty provided the copyright notice
3738 and this notice are preserved. This file is offered as-is, without any
3739 warranty.
3740
3741 
3742 File: autoconf-archive.info, Node: ax_trilinos_teuchos, Next: ax_trilinos_thyra, Prev: ax_trilinos_rythmos, Up: The Macros
3743
3744 ax_trilinos_teuchos
3745 ===================
3746
3747 Synopsis
3748 ********
3749
3750 AX_TRILINOS_TEUCHOS([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3751
3752 Description
3753 ***********
3754
3755 On success, adds "include Makefile.export.teuchos" statements to every
3756 Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
3757 configured with the -enable-export-makefiles option.
3758
3759 When ACTION-IF-NOT-FOUND is not specified, the default behavior is for
3760 configure to fail.
3761
3762 Source Code
3763 ***********
3764
3765 Download the latest version of 'ax_trilinos_teuchos.m4'
3766 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_teuchos.m4)
3767 or browse the macro's revision history
3768 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_teuchos.m4).
3769
3770 License
3771 *******
3772
3773 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
3774
3775 Copying and distribution of this file, with or without modification, are
3776 permitted in any medium without royalty provided the copyright notice
3777 and this notice are preserved. This file is offered as-is, without any
3778 warranty.
3779
3780 
3781 File: autoconf-archive.info, Node: ax_trilinos_thyra, Next: ax_trilinos_thyra_epetra, Prev: ax_trilinos_teuchos, Up: The Macros
3782
3783 ax_trilinos_thyra
3784 =================
3785
3786 Synopsis
3787 ********
3788
3789 AX_TRILINOS_THYRA([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3790
3791 Description
3792 ***********
3793
3794 On success, adds "include Makefile.export.thyra" statements to every
3795 Automake file containing @INC_AMINCLUDE@. Requires that Trilinos was
3796 configured with the -enable-export-makefiles option. When
3797 ACTION-IF-NOT-FOUND is not specified, the default behavior is for
3798 configure to fail.
3799
3800 Source Code
3801 ***********
3802
3803 Download the latest version of 'ax_trilinos_thyra.m4'
3804 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_thyra.m4)
3805 or browse the macro's revision history
3806 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_thyra.m4).
3807
3808 License
3809 *******
3810
3811 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
3812
3813 Copying and distribution of this file, with or without modification, are
3814 permitted in any medium without royalty provided the copyright notice
3815 and this notice are preserved. This file is offered as-is, without any
3816 warranty.
3817
3818 
3819 File: autoconf-archive.info, Node: ax_trilinos_thyra_epetra, Next: ax_trilinos_thyra_epetraext, Prev: ax_trilinos_thyra, Up: The Macros
3820
3821 ax_trilinos_thyra_epetra
3822 ========================
3823
3824 Synopsis
3825 ********
3826
3827 AX_TRILINOS_THYRA_EPETRA([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3828
3829 Description
3830 ***********
3831
3832 Checks if the Thyra/Epetra adapters were compiled with Trilinos. When
3833 ACTION-IF-NOT-FOUND is not specified, the default behavior is for
3834 configure to fail.
3835
3836 Source Code
3837 ***********
3838
3839 Download the latest version of 'ax_trilinos_thyra_epetra.m4'
3840 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_thyra_epetra.m4)
3841 or browse the macro's revision history
3842 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_thyra_epetra.m4).
3843
3844 License
3845 *******
3846
3847 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
3848
3849 Copying and distribution of this file, with or without modification, are
3850 permitted in any medium without royalty provided the copyright notice
3851 and this notice are preserved. This file is offered as-is, without any
3852 warranty.
3853
3854 
3855 File: autoconf-archive.info, Node: ax_trilinos_thyra_epetraext, Next: ax_try_awk_anyout, Prev: ax_trilinos_thyra_epetra, Up: The Macros
3856
3857 ax_trilinos_thyra_epetraext
3858 ===========================
3859
3860 Synopsis
3861 ********
3862
3863 AX_TRILINOS_THYRA_EPETRAEXT([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3864
3865 Description
3866 ***********
3867
3868 Checks if the Thyra/EpetraExt adapters were compiled with Trilinos.
3869 When ACTION-IF-NOT-FOUND is not specified, the default behavior is for
3870 configure to fail.
3871
3872 Source Code
3873 ***********
3874
3875 Download the latest version of 'ax_trilinos_thyra_epetraext.m4'
3876 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_thyra_epetraext.m4)
3877 or browse the macro's revision history
3878 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_thyra_epetraext.m4).
3879
3880 License
3881 *******
3882
3883 Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
3884
3885 Copying and distribution of this file, with or without modification, are
3886 permitted in any medium without royalty provided the copyright notice
3887 and this notice are preserved. This file is offered as-is, without any
3888 warranty.
3889
3890 
3891 File: autoconf-archive.info, Node: ax_try_awk_anyout, Next: ax_try_awk_expout, Prev: ax_trilinos_thyra_epetraext, Up: The Macros
3892
3893 ax_try_awk_anyout
3894 =================
3895
3896 Synopsis
3897 ********
3898
3899 AX_TRY_AWK_ANYOUT(NAME,TEST-INPUT,TEST-BODY,[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
3900
3901 Description
3902 ***********
3903
3904 Run a test using the awk program found on AWK variable. The test being
3905 run has TEST-BODY as body and is feeded with TEST-INPUT. If successful
3906 execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE
3907
3908 This work is heavily based upon testawk.sh script by Heiner Steven. You
3909 should find his script (and related works) at
3910 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
3911 Alessandro Massignan for his suggestions and extensive nawk tests on
3912 FreeBSD.
3913
3914 Source Code
3915 ***********
3916
3917 Download the latest version of 'ax_try_awk_anyout.m4'
3918 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_awk_anyout.m4)
3919 or browse the macro's revision history
3920 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_awk_anyout.m4).
3921
3922 License
3923 *******
3924
3925 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
3926
3927 Copying and distribution of this file, with or without modification, are
3928 permitted in any medium without royalty provided the copyright notice
3929 and this notice are preserved. This file is offered as-is, without any
3930 warranty.
3931
3932 
3933 File: autoconf-archive.info, Node: ax_try_awk_expout, Next: ax_try_compile_java, Prev: ax_try_awk_anyout, Up: The Macros
3934
3935 ax_try_awk_expout
3936 =================
3937
3938 Synopsis
3939 ********
3940
3941 AX_TRY_AWK_EXPOUT(NAME,TEST-INPUT,TEST-BODY,EXPECTED-OUTPUT,[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
3942
3943 Description
3944 ***********
3945
3946 Run a test using the awk program found on AWK variable. The test being
3947 run has TEST-BODY as body and is feeded with TEST-INPUT. Check if the
3948 test gives the expected output. If successful execute ACTION-IF-SUCCESS
3949 otherwise ACTION-IF-FAILURE.
3950
3951 This work is heavily based upon testawk.sh script by Heiner Steven. You
3952 should find his script (and related works) at
3953 <http://www.shelldorado.com/articles/awkcompat.html>. Thanks to
3954 Alessandro Massignan for his suggestions and extensive nawk tests on
3955 FreeBSD.
3956
3957 Source Code
3958 ***********
3959
3960 Download the latest version of 'ax_try_awk_expout.m4'
3961 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_awk_expout.m4)
3962 or browse the macro's revision history
3963 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_awk_expout.m4).
3964
3965 License
3966 *******
3967
3968 Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
3969
3970 Copying and distribution of this file, with or without modification, are
3971 permitted in any medium without royalty provided the copyright notice
3972 and this notice are preserved. This file is offered as-is, without any
3973 warranty.
3974
3975 
3976 File: autoconf-archive.info, Node: ax_try_compile_java, Next: ax_try_run_java, Prev: ax_try_awk_expout, Up: The Macros
3977
3978 ax_try_compile_java
3979 ===================
3980
3981 Synopsis
3982 ********
3983
3984 AX_TRY_COMPILE_JAVA
3985
3986 Description
3987 ***********
3988
3989 AX_TRY_COMPILE_JAVA attempt to compile user given source.
3990
3991 *Warning*: its success or failure can depend on a proper setting of the
3992 CLASSPATH env. variable.
3993
3994 Note: This is part of the set of autoconf M4 macros for Java programs.
3995 It is VERY IMPORTANT that you download the whole set, some macros depend
3996 on other. Unfortunately, the autoconf archive does not support the
3997 concept of set of macros, so I had to break it for submission. The
3998 general documentation, as well as the sample configure.in, is included
3999 in the AX_PROG_JAVA macro.
4000
4001 Source Code
4002 ***********
4003
4004 Download the latest version of 'ax_try_compile_java.m4'
4005 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_compile_java.m4)
4006 or browse the macro's revision history
4007 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_compile_java.m4).
4008
4009 License
4010 *******
4011
4012 Copyright (C) 2008 Devin Weaver <ktohg@tritarget.com>
4013
4014 Copying and distribution of this file, with or without modification, are
4015 permitted in any medium without royalty provided the copyright notice
4016 and this notice are preserved. This file is offered as-is, without any
4017 warranty.
4018
4019 
4020 File: autoconf-archive.info, Node: ax_try_run_java, Next: ax_type_socklen_t, Prev: ax_try_compile_java, Up: The Macros
4021
4022 ax_try_run_java
4023 ===============
4024
4025 Synopsis
4026 ********
4027
4028 AX_TRY_RUN_JAVA
4029
4030 Description
4031 ***********
4032
4033 AX_TRY_RUN_JAVA attempt to compile and run user given source.
4034
4035 *Warning*: its success or failure can depend on a proper setting of the
4036 CLASSPATH env. variable.
4037
4038 Note: This is part of the set of autoconf M4 macros for Java programs.
4039 It is VERY IMPORTANT that you download the whole set, some macros depend
4040 on other. Unfortunately, the autoconf archive does not support the
4041 concept of set of macros, so I had to break it for submission. The
4042 general documentation, as well as the sample configure.in, is included
4043 in the AX_PROG_JAVA macro.
4044
4045 Source Code
4046 ***********
4047
4048 Download the latest version of 'ax_try_run_java.m4'
4049 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_run_java.m4)
4050 or browse the macro's revision history
4051 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_run_java.m4).
4052
4053 License
4054 *******
4055
4056 Copyright (C) 2008 Devin Weaver <ktohg@tritarget.com>
4057
4058 Copying and distribution of this file, with or without modification, are
4059 permitted in any medium without royalty provided the copyright notice
4060 and this notice are preserved. This file is offered as-is, without any
4061 warranty.
4062
4063 
4064 File: autoconf-archive.info, Node: ax_type_socklen_t, Next: ax_upload, Prev: ax_try_run_java, Up: The Macros
4065
4066 ax_type_socklen_t
4067 =================
4068
4069 Synopsis
4070 ********
4071
4072 AX_TYPE_SOCKLEN_T
4073
4074 Description
4075 ***********
4076
4077 Check whether sys/socket.h defines type socklen_t. Please note that
4078 some systems require sys/types.h to be included before sys/socket.h can
4079 be compiled.
4080
4081 Source Code
4082 ***********
4083
4084 Download the latest version of 'ax_type_socklen_t.m4'
4085 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_type_socklen_t.m4)
4086 or browse the macro's revision history
4087 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_type_socklen_t.m4).
4088
4089 License
4090 *******
4091
4092 Copyright (C) 2008 Lars Brinkhoff <lars@nocrew.org>
4093
4094 This program is free software; you can redistribute it and/or modify it
4095 under the terms of the GNU General Public License as published by the
4096 Free Software Foundation; either version 2 of the License, or (at your
4097 option) any later version.
4098
4099 This program is distributed in the hope that it will be useful, but
4100 WITHOUT ANY WARRANTY; without even the implied warranty of
4101 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
4102 Public License for more details.
4103
4104 You should have received a copy of the GNU General Public License along
4105 with this program. If not, see <https://www.gnu.org/licenses/>.
4106
4107 As a special exception, the respective Autoconf Macro's copyright owner
4108 gives unlimited permission to copy, distribute and modify the configure
4109 scripts that are the output of Autoconf when processing the Macro. You
4110 need not follow the terms of the GNU General Public License when using
4111 or distributing such scripts, even though portions of the text of the
4112 Macro appear in them. The GNU General Public License (GPL) does govern
4113 all other use of the material that constitutes the Autoconf Macro.
4114
4115 This special exception to the GPL applies to versions of the Autoconf
4116 Macro released by the Autoconf Archive. When you make and distribute a
4117 modified version of the Autoconf Macro, you may extend this special
4118 exception to the GPL to apply to your modified version as well.
4119
4120 
4121 File: autoconf-archive.info, Node: ax_upload, Next: ax_valgrind_check, Prev: ax_type_socklen_t, Up: The Macros
4122
4123 ax_upload
4124 =========
4125
4126 Synopsis
4127 ********
4128
4129 AX_UPLOAD([command])
4130
4131 Description
4132 ***********
4133
4134 Adds support for uploading dist files. %%s in the command will be
4135 substituted with the name of the file. e.g:
4136
4137 AX_UPLOAD([ncftpput -v upload.sourceforge.net /incoming %%s])
4138
4139 To add upload support for other custom dists add upload-<TYPE> to
4140 UPLOAD_BIN or UPLOAD_SRC, where <TYPE> is the type of dist that is being
4141 uploaded and add a mapping from <TYPE> to the dist file name in the
4142 format '{<TYPE>=><FILENAME>}' to UPLOAD_TARGETS. For example:
4143
4144 UPLOAD_BIN += upload-foobar
4145 UPLOAD_TARGETS += {foobar=>@PACKAGE@-@VERSION@.fb}
4146
4147 You can then upload of the src distribution files by running:
4148
4149 make upload-src
4150
4151 all the binary distribution files by running:
4152
4153 make upload-bin
4154
4155 or both by running:
4156
4157 make upload
4158
4159 Source Code
4160 ***********
4161
4162 Download the latest version of 'ax_upload.m4'
4163 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_upload.m4)
4164 or browse the macro's revision history
4165 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_upload.m4).
4166
4167 License
4168 *******
4169
4170 Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
4171
4172 Copying and distribution of this file, with or without modification, are
4173 permitted in any medium without royalty provided the copyright notice
4174 and this notice are preserved. This file is offered as-is, without any
4175 warranty.
4176
4177 
4178 File: autoconf-archive.info, Node: ax_valgrind_check, Next: ax_var_pop, Prev: ax_upload, Up: The Macros
4179
4180 ax_valgrind_check
4181 =================
4182
4183 Synopsis
4184 ********
4185
4186 AX_VALGRIND_DFLT(memcheck|helgrind|drd|sgcheck, on|off)
4187 AX_VALGRIND_CHECK()
4188
4189 Description
4190 ***********
4191
4192 AX_VALGRIND_CHECK checks whether Valgrind is present and, if so, allows
4193 running 'make check' under a variety of Valgrind tools to check for
4194 memory and threading errors.
4195
4196 Defines VALGRIND_CHECK_RULES which should be substituted in your
4197 Makefile; and $enable_valgrind which can be used in subsequent configure
4198 output. VALGRIND_ENABLED is defined and substituted, and corresponds to
4199 the value of the -enable-valgrind option, which defaults to being
4200 enabled if Valgrind is installed and disabled otherwise. Individual
4201 Valgrind tools can be disabled via -disable-valgrind-<tool>, the default
4202 is configurable via the AX_VALGRIND_DFLT command or is to use all
4203 commands not disabled via AX_VALGRIND_DFLT. All AX_VALGRIND_DFLT calls
4204 must be made before the call to AX_VALGRIND_CHECK.
4205
4206 If unit tests are written using a shell script and automake's
4207 LOG_COMPILER system, the $(VALGRIND) variable can be used within the
4208 shell scripts to enable Valgrind, as described here:
4209
4210 https://www.gnu.org/software/gnulib/manual/html_node/Running-self_002dtests-under-valgrind.html
4211
4212 Usage example:
4213
4214 configure.ac:
4215
4216 AX_VALGRIND_DFLT([sgcheck], [off])
4217 AX_VALGRIND_CHECK
4218
4219 in each Makefile.am with tests:
4220
4221 @VALGRIND_CHECK_RULES@
4222 VALGRIND_SUPPRESSIONS_FILES = my-project.supp
4223 EXTRA_DIST = my-project.supp
4224
4225 This results in a "check-valgrind" rule being added. Running 'make
4226 check-valgrind' in that directory will recursively run the module's test
4227 suite ('make check') once for each of the available Valgrind tools (out
4228 of memcheck, helgrind and drd) while the sgcheck will be skipped unless
4229 enabled again on the commandline with -enable-valgrind-sgcheck. The
4230 results for each check will be output to test-suite-$toolname.log. The
4231 target will succeed if there are zero errors and fail otherwise.
4232
4233 Alternatively, a "check-valgrind-$TOOL" rule will be added, for $TOOL in
4234 memcheck, helgrind, drd and sgcheck. These are useful because often
4235 only some of those tools can be ran cleanly on a codebase.
4236
4237 The macro supports running with and without libtool.
4238
4239 Source Code
4240 ***********
4241
4242 Download the latest version of 'ax_valgrind_check.m4'
4243 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_valgrind_check.m4)
4244 or browse the macro's revision history
4245 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_valgrind_check.m4).
4246
4247 License
4248 *******
4249
4250 Copyright (C) 2014, 2015, 2016 Philip Withnall <philip.withnall@collabora.co.uk>
4251
4252 Copying and distribution of this file, with or without modification, are
4253 permitted in any medium without royalty provided the copyright notice
4254 and this notice are preserved. This file is offered as-is, without any
4255 warranty.
4256
4257 
4258 File: autoconf-archive.info, Node: ax_var_pop, Next: ax_var_push, Prev: ax_valgrind_check, Up: The Macros
4259
4260 ax_var_pop
4261 ==========
4262
4263 Synopsis
4264 ********
4265
4266 AX_VAR_POPVALUE(VARIABLE)
4267
4268 Description
4269 ***********
4270
4271 Restores a variable's previous value. Compile, link and running tests
4272 usually require the programmer to provide additional flags. However, it
4273 is strongly recommended not to override flags defined by the user
4274 through the configure command. AX_VAR_PUSHVALUE and AX_VAR_POPVALUE are
4275 clean way to temporarily store a variable's value and restore it later,
4276 using a stack-like behaviour. This macro supports nesting.
4277
4278 Example:
4279
4280 AX_VAR_PUSHVALUE([CXXFLAGS],["my test flags"])
4281 perform some checks with CXXFLAGS...
4282 CXXFLAGS value will be "my test flags"
4283 AX_VAR_POPVALUE([CXXFLAGS])
4284 CXXFLAGS is restored to its original value
4285
4286 Source Code
4287 ***********
4288
4289 Download the latest version of 'ax_var_pop.m4'
4290 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_var_pop.m4)
4291 or browse the macro's revision history
4292 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_var_pop.m4).
4293
4294 License
4295 *******
4296
4297 Copyright (C) 2015 Jorge Bellon <jbelloncastro@gmail.com>
4298
4299 This program is free software: you can redistribute it and/or modify it
4300 under the terms of the GNU General Public License as published by the
4301 Free Software Foundation, either version 3 of the License, or (at your
4302 option) any later version.
4303
4304 This program is distributed in the hope that it will be useful, but
4305 WITHOUT ANY WARRANTY; without even the implied warranty of
4306 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
4307 Public License for more details.
4308
4309 You should have received a copy of the GNU General Public License along
4310 with this program. If not, see <https://www.gnu.org/licenses/>.
4311
4312 As a special exception, the respective Autoconf Macro's copyright owner
4313 gives unlimited permission to copy, distribute and modify the configure
4314 scripts that are the output of Autoconf when processing the Macro. You
4315 need not follow the terms of the GNU General Public License when using
4316 or distributing such scripts, even though portions of the text of the
4317 Macro appear in them. The GNU General Public License (GPL) does govern
4318 all other use of the material that constitutes the Autoconf Macro.
4319
4320 This special exception to the GPL applies to versions of the Autoconf
4321 Macro released by the Autoconf Archive. When you make and distribute a
4322 modified version of the Autoconf Macro, you may extend this special
4323 exception to the GPL to apply to your modified version as well.
4324
4325 
4326 File: autoconf-archive.info, Node: ax_var_push, Next: ax_var_timezone_externals, Prev: ax_var_pop, Up: The Macros
4327
4328 ax_var_push
4329 ===========
4330
4331 Synopsis
4332 ********
4333
4334 AX_VAR_PUSHVALUE(VARIABLE, [VALUE])
4335
4336 Description
4337 ***********
4338
4339 Stores a copy of variable_name's value and assigns it to 'value' If no
4340 value is given, its original value is kept. Compile, link and running
4341 tests usually require the programmer to provide additional flags.
4342 However, it is strongly recommended not to override flags defined by the
4343 user through the configure command. AX_VAR_PUSHVALUE and
4344 AX_VAR_POPVALUE are clean way to temporarily store a variable's value
4345 and restore it later, using a stack-like behaviour. This macro supports
4346 nesting.
4347
4348 Example:
4349
4350 AX_VAR_PUSHVALUE([CXXFLAGS],["my test flags"])
4351 perform some checks with CXXFLAGS...
4352 CXXFLAGS value will be "my test flags"
4353 AX_VAR_POPVALUE([CXXFLAGS])
4354 CXXFLAGS is restored to its original value
4355
4356 Source Code
4357 ***********
4358
4359 Download the latest version of 'ax_var_push.m4'
4360 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_var_push.m4)
4361 or browse the macro's revision history
4362 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_var_push.m4).
4363
4364 License
4365 *******
4366
4367 Copyright (C) 2015 Jorge Bellon <jbelloncastro@gmail.com>
4368
4369 This program is free software: you can redistribute it and/or modify it
4370 under the terms of the GNU General Public License as published by the
4371 Free Software Foundation, either version 3 of the License, or (at your
4372 option) any later version.
4373
4374 This program is distributed in the hope that it will be useful, but
4375 WITHOUT ANY WARRANTY; without even the implied warranty of
4376 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
4377 Public License for more details.
4378
4379 You should have received a copy of the GNU General Public License along
4380 with this program. If not, see <https://www.gnu.org/licenses/>.
4381
4382 As a special exception, the respective Autoconf Macro's copyright owner
4383 gives unlimited permission to copy, distribute and modify the configure
4384 scripts that are the output of Autoconf when processing the Macro. You
4385 need not follow the terms of the GNU General Public License when using
4386 or distributing such scripts, even though portions of the text of the
4387 Macro appear in them. The GNU General Public License (GPL) does govern
4388 all other use of the material that constitutes the Autoconf Macro.
4389
4390 This special exception to the GPL applies to versions of the Autoconf
4391 Macro released by the Autoconf Archive. When you make and distribute a
4392 modified version of the Autoconf Macro, you may extend this special
4393 exception to the GPL to apply to your modified version as well.
4394
4395 
4396 File: autoconf-archive.info, Node: ax_var_timezone_externals, Next: ax_very_nice, Prev: ax_var_push, Up: The Macros
4397
4398 ax_var_timezone_externals
4399 =========================
4400
4401 Synopsis
4402 ********
4403
4404 AX_VAR_TIMEZONE_EXTERNALS
4405
4406 Description
4407 ***********
4408
4409 Use instead of 'AC_STRUCT_TIMEZONE' to determine whether the external
4410 timezone variables 'timezone', 'altzone' and 'daylight' exist, defining
4411 'HAVE_TIMEZONE', 'HAVE_ALTZONE' and 'HAVE_DAYLIGHT' respectively (as
4412 well as gaining the macros defined by 'AC_STRUCT_TIMEZONE').
4413
4414 Rewritten for Autoconf 2.68, and made robust against BSD's timezone()
4415 function, by Daniel Richard G.
4416
4417 Source Code
4418 ***********
4419
4420 Download the latest version of 'ax_var_timezone_externals.m4'
4421 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_var_timezone_externals.m4)
4422 or browse the macro's revision history
4423 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_var_timezone_externals.m4).
4424
4425 License
4426 *******
4427
4428 Copyright (C) 2008 Mark R. Bannister <markb@freedomware.co.uk>
4429 Copyright (C) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
4430
4431 This program is free software; you can redistribute it and/or modify it
4432 under the terms of the GNU General Public License as published by the
4433 Free Software Foundation; either version 2 of the License, or (at your
4434 option) any later version.
4435
4436 This program is distributed in the hope that it will be useful, but
4437 WITHOUT ANY WARRANTY; without even the implied warranty of
4438 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
4439 Public License for more details.
4440
4441 You should have received a copy of the GNU General Public License along
4442 with this program. If not, see <https://www.gnu.org/licenses/>.
4443
4444 As a special exception, the respective Autoconf Macro's copyright owner
4445 gives unlimited permission to copy, distribute and modify the configure
4446 scripts that are the output of Autoconf when processing the Macro. You
4447 need not follow the terms of the GNU General Public License when using
4448 or distributing such scripts, even though portions of the text of the
4449 Macro appear in them. The GNU General Public License (GPL) does govern
4450 all other use of the material that constitutes the Autoconf Macro.
4451
4452 This special exception to the GPL applies to versions of the Autoconf
4453 Macro released by the Autoconf Archive. When you make and distribute a
4454 modified version of the Autoconf Macro, you may extend this special
4455 exception to the GPL to apply to your modified version as well.
4456
4457 
4458 File: autoconf-archive.info, Node: ax_very_nice, Next: ax_warning_default_aclocaldir, Prev: ax_var_timezone_externals, Up: The Macros
4459
4460 ax_very_nice
4461 ============
4462
4463 Synopsis
4464 ********
4465
4466 AX_VERY_NICE
4467
4468 Description
4469 ***********
4470
4471 A macro to check the options of nice, in order to have a VERY_NICE
4472 variable which runs a program at the lowest priority VERY_NICE is
4473 undefined if we don't find the proper options, so you can safely use:
4474
4475 @VERY_NICE@ mycommand
4476
4477 in a shell script.
4478
4479 The VERY_NICE variable includes the placeholder NICE_VALUE that you have
4480 to instantiate at run-time. If you give a argument to AX_VERY_NICE, it
4481 will be used as an argument of nice for testing and included in
4482 VERY_NICE instead of the above placeholder.
4483
4484 Source Code
4485 ***********
4486
4487 Download the latest version of 'ax_very_nice.m4'
4488 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_very_nice.m4)
4489 or browse the macro's revision history
4490 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_very_nice.m4).
4491
4492 License
4493 *******
4494
4495 Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
4496
4497 This program is free software; you can redistribute it and/or modify it
4498 under the terms of the GNU General Public License as published by the
4499 Free Software Foundation; either version 2 of the License, or (at your
4500 option) any later version.
4501
4502 This program is distributed in the hope that it will be useful, but
4503 WITHOUT ANY WARRANTY; without even the implied warranty of
4504 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
4505 Public License for more details.
4506
4507 You should have received a copy of the GNU General Public License along
4508 with this program. If not, see <https://www.gnu.org/licenses/>.
4509
4510 As a special exception, the respective Autoconf Macro's copyright owner
4511 gives unlimited permission to copy, distribute and modify the configure
4512 scripts that are the output of Autoconf when processing the Macro. You
4513 need not follow the terms of the GNU General Public License when using
4514 or distributing such scripts, even though portions of the text of the
4515 Macro appear in them. The GNU General Public License (GPL) does govern
4516 all other use of the material that constitutes the Autoconf Macro.
4517
4518 This special exception to the GPL applies to versions of the Autoconf
4519 Macro released by the Autoconf Archive. When you make and distribute a
4520 modified version of the Autoconf Macro, you may extend this special
4521 exception to the GPL to apply to your modified version as well.
4522
4523 
4524 File: autoconf-archive.info, Node: ax_warning_default_aclocaldir, Next: ax_warning_default_pkgconfig, Prev: ax_very_nice, Up: The Macros
4525
4526 ax_warning_default_aclocaldir
4527 =============================
4528
4529 Synopsis
4530 ********
4531
4532 AX_WARNING_DEFAULT_ACLOCALDIR [(dirvariable [,[defsetting][,[A][,[N/A]]]])]
4533 AX_ENABLE_DEFAULT_ACLOCALDIR [(dirvariable [,defsetting])]
4534
4535 Description
4536 ***********
4537
4538 print a warning message if the $(datadir)/aclocal directory is not in
4539 the dirlist searched by the aclocal tool. This macro is useful if some
4540 'make install' would target $(datadir)/aclocal to install an autoconf m4
4541 file of your project to be picked up by other projects.
4542
4543 default $1 dirvariable = aclocaldir
4544 default $2 defsetting = ${datadir}/aclocal
4545 default $3 action = nothing to do
4546 default $4 action = warn the user about mismatch
4547
4548 In the _WARNING_ variant, the defsetting is not placed in dirvariable
4549 nor is it ac_subst'ed in any way. The default fail-action $4 is to send
4550 a warning message to the user, and the default accept-action $3 is
4551 nothing. It is expected that a Makefile is generated with
4552 aclocaldir=${datadir}/aclocal
4553
4554 The _ENABLE_ variant however will set not only the $aclocaldir shell var
4555 of the script, but it is also AC-SUBST'ed on default - and furthermore a
4556 configure option "-enable-default-aclocaldir" is provided. Only if that
4557 option is set then $2 default is not set to the canonic default in the a
4558 $prefix subpath but instead $2 default is set to the primary path where
4559 'aclocal' looks for macros. The user may also override the default on
4560 the command line.
4561
4562 Source Code
4563 ***********
4564
4565 Download the latest version of 'ax_warning_default_aclocaldir.m4'
4566 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_warning_default_aclocaldir.m4)
4567 or browse the macro's revision history
4568 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_warning_default_aclocaldir.m4).
4569
4570 License
4571 *******
4572
4573 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4574
4575 Copying and distribution of this file, with or without modification, are
4576 permitted in any medium without royalty provided the copyright notice
4577 and this notice are preserved. This file is offered as-is, without any
4578 warranty.
4579
4580 
4581 File: autoconf-archive.info, Node: ax_warning_default_pkgconfig, Next: ax_wint_t, Prev: ax_warning_default_aclocaldir, Up: The Macros
4582
4583 ax_warning_default_pkgconfig
4584 ============================
4585
4586 Synopsis
4587 ********
4588
4589 AX_WARNING_DEFAULT_PKGCONFIGDIR [(dirvariable [,[defsetting][,[A][,[N/A]]]])]
4590 AX_ENABLE_DEFAULT_PKGCONFIGDIR [(dirvariable [,defsetting])]
4591
4592 Description
4593 ***********
4594
4595 print a warning message if the $(datadir)/aclocal directory is not in
4596 the dirlist searched by the aclocal tool. This macro is useful if some
4597 'make install' would target $(datadir)/aclocal to install an autoconf m4
4598 file of your project to be picked up by other projects.
4599
4600 default $1 dirvariable = pkgconfigdir
4601 default $2 defsetting = ${libdir}/pkgconfig
4602 default $3 action = nothing to do
4603 default $4 action = warn the user about mismatch
4604
4605 In the _WARNING_ variant, the defsetting is not placed in dirvariable
4606 nor is it ac_subst'ed in any way. The default fail-action $4 is to send
4607 a warning message to the user, and the default accept-action $3 is
4608 nothing. It is expected that a Makefile is generated with
4609 pkgconfigdir=${libdir}/pkgconfig
4610
4611 The _ENABLE_ variant however will set not only the $pkgconfigdir shell
4612 var of the script, but it is also AC-SUBST'ed on default - and
4613 furthermore a configure option "-enable-default-pkgconfigdir" is
4614 provided. Only if that option is set then $2 default is not set to the
4615 canonic default in the a $prefix subpath but instead $2 default is set
4616 to the primary path where 'pkg-config' looks for .pc files. The user
4617 may also override the default on the command line.
4618
4619 Source Code
4620 ***********
4621
4622 Download the latest version of 'ax_warning_default_pkgconfig.m4'
4623 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_warning_default_pkgconfig.m4)
4624 or browse the macro's revision history
4625 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_warning_default_pkgconfig.m4).
4626
4627 License
4628 *******
4629
4630 Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4631
4632 Copying and distribution of this file, with or without modification, are
4633 permitted in any medium without royalty provided the copyright notice
4634 and this notice are preserved. This file is offered as-is, without any
4635 warranty.
4636
4637 
4638 File: autoconf-archive.info, Node: ax_wint_t, Next: ax_with_apxs, Prev: ax_warning_default_pkgconfig, Up: The Macros
4639
4640 ax_wint_t
4641 =========
4642
4643 Synopsis
4644 ********
4645
4646 AX_WINT_T
4647
4648 Description
4649 ***********
4650
4651 It turns out that MacOS X doesn't guarantee to provide the "wint_t" type
4652 unless you include the strange header <runetype.h> in addition to
4653 <wchar.h>. Consequently, the "do I have a system wint_t?" probe fails
4654 and an alternate gets used. Unfortunately, by the time the program gets
4655 built, one way or another that funny header winds up getting included
4656 and the "#define wint_t unsigned int" patch-up-hack mutilates the
4657 typedef. This macro will get it right.
4658
4659 Source Code
4660 ***********
4661
4662 Download the latest version of 'ax_wint_t.m4'
4663 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_wint_t.m4)
4664 or browse the macro's revision history
4665 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_wint_t.m4).
4666
4667 License
4668 *******
4669
4670 Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
4671
4672 Copying and distribution of this file, with or without modification, are
4673 permitted in any medium without royalty provided the copyright notice
4674 and this notice are preserved. This file is offered as-is, without any
4675 warranty.
4676
4677 
4678 File: autoconf-archive.info, Node: ax_with_apxs, Next: ax_with_build_path, Prev: ax_wint_t, Up: The Macros
4679
4680 ax_with_apxs
4681 ============
4682
4683 Synopsis
4684 ********
4685
4686 AX_WITH_APXS([value-if-not-found], [path])
4687
4688 Description
4689 ***********
4690
4691 Locates an installed apxs binary, placing the result in the precious
4692 variable $APXS. Accepts a preset $APXS, then -with-apxs, and failing
4693 that searches for apxs in the given path (which defaults to the system
4694 path). If apxs is found, $APXS is set to the full path of the binary;
4695 otherwise it is set to VALUE-IF-NOT-FOUND, which defaults to apxs.
4696
4697 Example:
4698
4699 AX_WITH_APXS(missing)
4700
4701 Source Code
4702 ***********
4703
4704 Download the latest version of 'ax_with_apxs.m4'
4705 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_apxs.m4)
4706 or browse the macro's revision history
4707 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_apxs.m4).
4708
4709 License
4710 *******
4711
4712 Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
4713
4714 Copying and distribution of this file, with or without modification, are
4715 permitted in any medium without royalty provided the copyright notice
4716 and this notice are preserved. This file is offered as-is, without any
4717 warranty.
4718
4719 
4720 File: autoconf-archive.info, Node: ax_with_build_path, Next: ax_with_curses, Prev: ax_with_apxs, Up: The Macros
4721
4722 ax_with_build_path
4723 ==================
4724
4725 Synopsis
4726 ********
4727
4728 AX_WITH_BUILD_PATH
4729
4730 Description
4731 ***********
4732
4733 This macro adds a "-with-build-path" option to the configure script.
4734 This configure option provides a convenient way to add "-I" options to
4735 CPPFLAGS and "-L" options to LDFLAGS, at configure time.
4736
4737 Invoking "./configure -with-build-path=DIR" results in "-I DIR/include"
4738 being added to CPPFLAGS if DIR/include exists, and "-L DIR/lib" being
4739 added to LDFLAGS if DIR/lib exists.
4740
4741 Separate multiple directories using colons; e.g.
4742 "-with-build-path=DIR1:DIR2:DIR3".
4743
4744 Source Code
4745 ***********
4746
4747 Download the latest version of 'ax_with_build_path.m4'
4748 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_build_path.m4)
4749 or browse the macro's revision history
4750 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_build_path.m4).
4751
4752 License
4753 *******
4754
4755 Copyright (C) 2008 Steve M. Robbins <smr@debian.org>
4756
4757 Copying and distribution of this file, with or without modification, are
4758 permitted in any medium without royalty provided the copyright notice
4759 and this notice are preserved. This file is offered as-is, without any
4760 warranty.
4761
4762 
4763 File: autoconf-archive.info, Node: ax_with_curses, Next: ax_with_curses_extra, Prev: ax_with_build_path, Up: The Macros
4764
4765 ax_with_curses
4766 ==============
4767
4768 Synopsis
4769 ********
4770
4771 AX_WITH_CURSES
4772
4773 Description
4774 ***********
4775
4776 This macro checks whether a SysV or X/Open-compatible Curses library is
4777 present, along with the associated header file. The NcursesW
4778 (wide-character) library is searched for first, followed by Ncurses,
4779 then the system-default plain Curses. The first library found is the
4780 one returned. Finding libraries will first be attempted by using
4781 pkg-config, and should the pkg-config files not be available, will
4782 fallback to combinations of known flags itself.
4783
4784 The following options are understood: -with-ncursesw, -with-ncurses,
4785 -without-ncursesw, -without-ncurses. The "-with" options force the
4786 macro to use that particular library, terminating with an error if not
4787 found. The "-without" options simply skip the check for that library.
4788 The effect on the search pattern is:
4789
4790 (no options) - NcursesW, Ncurses, Curses
4791 --with-ncurses --with-ncursesw - NcursesW only [*]
4792 --without-ncurses --with-ncursesw - NcursesW only [*]
4793 --with-ncursesw - NcursesW only [*]
4794 --with-ncurses --without-ncursesw - Ncurses only [*]
4795 --with-ncurses - NcursesW, Ncurses [**]
4796 --without-ncurses --without-ncursesw - Curses only
4797 --without-ncursesw - Ncurses, Curses
4798 --without-ncurses - NcursesW, Curses
4799
4800 [*] If the library is not found, abort the configure script.
4801
4802 [**] If the second library (Ncurses) is not found, abort configure.
4803
4804 The following preprocessor symbols may be defined by this macro if the
4805 appropriate conditions are met:
4806
4807 HAVE_CURSES - if any SysV or X/Open Curses library found
4808 HAVE_CURSES_ENHANCED - if library supports X/Open Enhanced functions
4809 HAVE_CURSES_COLOR - if library supports color (enhanced functions)
4810 HAVE_CURSES_OBSOLETE - if library supports certain obsolete features
4811 HAVE_NCURSESW - if NcursesW (wide char) library is to be used
4812 HAVE_NCURSES - if the Ncurses library is to be used
4813
4814 HAVE_CURSES_H - if <curses.h> is present and should be used
4815 HAVE_NCURSESW_H - if <ncursesw.h> should be used
4816 HAVE_NCURSES_H - if <ncurses.h> should be used
4817 HAVE_NCURSESW_CURSES_H - if <ncursesw/curses.h> should be used
4818 HAVE_NCURSES_CURSES_H - if <ncurses/curses.h> should be used
4819
4820 (These preprocessor symbols are discussed later in this document.)
4821
4822 The following output variables are defined by this macro; they are
4823 precious and may be overridden on the ./configure command line:
4824
4825 CURSES_LIBS - library to add to xxx_LDADD
4826 CURSES_CFLAGS - include paths to add to xxx_CPPFLAGS
4827
4828 In previous versions of this macro, the flags CURSES_LIB and
4829 CURSES_CPPFLAGS were defined. These have been renamed, in keeping with
4830 AX_WITH_CURSES's close bigger brother, PKG_CHECK_MODULES, which should
4831 eventually supersede the use of AX_WITH_CURSES. Neither the library
4832 listed in CURSES_LIBS, nor the flags in CURSES_CFLAGS are added to LIBS,
4833 respectively CPPFLAGS, by default. You need to add both to the
4834 appropriate xxx_LDADD/xxx_CPPFLAGS line in your Makefile.am. For
4835 example:
4836
4837 prog_LDADD = @CURSES_LIBS@
4838 prog_CPPFLAGS = @CURSES_CFLAGS@
4839
4840 If CURSES_LIBS is set on the configure command line (such as by running
4841 "./configure CURSES_LIBS=-lmycurses"), then the only header searched for
4842 is <curses.h>. If the user needs to specify an alternative path for a
4843 library (such as for a non-standard NcurseW), the user should use the
4844 LDFLAGS variable.
4845
4846 The following shell variables may be defined by this macro:
4847
4848 ax_cv_curses - set to "yes" if any Curses library found
4849 ax_cv_curses_enhanced - set to "yes" if Enhanced functions present
4850 ax_cv_curses_color - set to "yes" if color functions present
4851 ax_cv_curses_obsolete - set to "yes" if obsolete features present
4852
4853 ax_cv_ncursesw - set to "yes" if NcursesW library found
4854 ax_cv_ncurses - set to "yes" if Ncurses library found
4855 ax_cv_plaincurses - set to "yes" if plain Curses library found
4856 ax_cv_curses_which - set to "ncursesw", "ncurses", "plaincurses" or "no"
4857
4858 These variables can be used in your configure.ac to determine the level
4859 of support you need from the Curses library. For example, if you must
4860 have either Ncurses or NcursesW, you could include:
4861
4862 AX_WITH_CURSES
4863 if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then
4864 AC_MSG_ERROR([requires either NcursesW or Ncurses library])
4865 fi
4866
4867 If any Curses library will do (but one must be present and must support
4868 color), you could use:
4869
4870 AX_WITH_CURSES
4871 if test "x$ax_cv_curses" != xyes || test "x$ax_cv_curses_color" != xyes; then
4872 AC_MSG_ERROR([requires an X/Open-compatible Curses library with color])
4873 fi
4874
4875 Certain preprocessor symbols and shell variables defined by this macro
4876 can be used to determine various features of the Curses library. In
4877 particular, HAVE_CURSES and ax_cv_curses are defined if the Curses
4878 library found conforms to the traditional SysV and/or X/Open Base Curses
4879 definition. Any working Curses library conforms to this level.
4880
4881 HAVE_CURSES_ENHANCED and ax_cv_curses_enhanced are defined if the
4882 library supports the X/Open Enhanced Curses definition. In particular,
4883 the wide-character types attr_t, cchar_t and wint_t, the functions
4884 wattr_set() and wget_wch() and the macros WA_NORMAL and _XOPEN_CURSES
4885 are checked. The Ncurses library does NOT conform to this definition,
4886 although NcursesW does.
4887
4888 HAVE_CURSES_COLOR and ax_cv_curses_color are defined if the library
4889 supports color functions and macros such as COLOR_PAIR, A_COLOR,
4890 COLOR_WHITE, COLOR_RED and init_pair(). These are NOT part of the
4891 X/Open Base Curses definition, but are part of the Enhanced set of
4892 functions. The Ncurses library DOES support these functions, as does
4893 NcursesW.
4894
4895 HAVE_CURSES_OBSOLETE and ax_cv_curses_obsolete are defined if the
4896 library supports certain features present in SysV and BSD Curses but not
4897 defined in the X/Open definition. In particular, the functions
4898 getattrs(), getcurx() and getmaxx() are checked.
4899
4900 To use the HAVE_xxx_H preprocessor symbols, insert the following into
4901 your system.h (or equivalent) header file:
4902
4903 #if defined HAVE_NCURSESW_CURSES_H
4904 # include <ncursesw/curses.h>
4905 #elif defined HAVE_NCURSESW_H
4906 # include <ncursesw.h>
4907 #elif defined HAVE_NCURSES_CURSES_H
4908 # include <ncurses/curses.h>
4909 #elif defined HAVE_NCURSES_H
4910 # include <ncurses.h>
4911 #elif defined HAVE_CURSES_H
4912 # include <curses.h>
4913 #else
4914 # error "SysV or X/Open-compatible Curses header file required"
4915 #endif
4916
4917 For previous users of this macro: you should not need to change anything
4918 in your configure.ac or Makefile.am, as the previous (serial 10)
4919 semantics are still valid. However, you should update your system.h (or
4920 equivalent) header file to the fragment shown above. You are encouraged
4921 also to make use of the extended functionality provided by this version
4922 of AX_WITH_CURSES, as well as in the additional macros
4923 AX_WITH_CURSES_PANEL, AX_WITH_CURSES_MENU and AX_WITH_CURSES_FORM.
4924
4925 Source Code
4926 ***********
4927
4928 Download the latest version of 'ax_with_curses.m4'
4929 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_curses.m4)
4930 or browse the macro's revision history
4931 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_curses.m4).
4932
4933 License
4934 *******
4935
4936 Copyright (C) 2009 Mark Pulford <mark@kyne.com.au>
4937 Copyright (C) 2009 Damian Pietras <daper@daper.net>
4938 Copyright (C) 2012 Reuben Thomas <rrt@sc3d.org>
4939 Copyright (C) 2011 John Zaitseff <J.Zaitseff@zap.org.au>
4940
4941 This program is free software: you can redistribute it and/or modify it
4942 under the terms of the GNU General Public License as published by the
4943 Free Software Foundation, either version 3 of the License, or (at your
4944 option) any later version.
4945
4946 This program is distributed in the hope that it will be useful, but
4947 WITHOUT ANY WARRANTY; without even the implied warranty of
4948 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
4949 Public License for more details.
4950
4951 You should have received a copy of the GNU General Public License along
4952 with this program. If not, see <https://www.gnu.org/licenses/>.
4953
4954 As a special exception, the respective Autoconf Macro's copyright owner
4955 gives unlimited permission to copy, distribute and modify the configure
4956 scripts that are the output of Autoconf when processing the Macro. You
4957 need not follow the terms of the GNU General Public License when using
4958 or distributing such scripts, even though portions of the text of the
4959 Macro appear in them. The GNU General Public License (GPL) does govern
4960 all other use of the material that constitutes the Autoconf Macro.
4961
4962 This special exception to the GPL applies to versions of the Autoconf
4963 Macro released by the Autoconf Archive. When you make and distribute a
4964 modified version of the Autoconf Macro, you may extend this special
4965 exception to the GPL to apply to your modified version as well.
4966
4967 
4968 File: autoconf-archive.info, Node: ax_with_curses_extra, Next: ax_with_dmalloc, Prev: ax_with_curses, Up: The Macros
4969
4970 ax_with_curses_extra
4971 ====================
4972
4973 Synopsis
4974 ********
4975
4976 AX_WITH_CURSES_PANEL
4977 AX_WITH_CURSES_MENU
4978 AX_WITH_CURSES_FORM
4979
4980 Description
4981 ***********
4982
4983 These macros try to find additional libraries that often come with
4984 SysV-compatible Curses. In particular, the Panel, Menu and Form
4985 libraries are searched, along with their header files. These macros
4986 depend on AX_WITH_CURSES.
4987
4988 The following preprocessor symbols may be defined by these macros:
4989
4990 By AX_WITH_CURSES_PANEL:
4991
4992 HAVE_PANEL - if the Panel library is present
4993 HAVE_PANEL_H - if <panel.h> is present and should be used
4994 HAVE_NCURSES_PANEL_H - if <ncurses/panel.h> should be used
4995 HAVE_NCURSESW_PANEL_H - if <ncursesw/panel.h> should be used
4996
4997 By AX_WITH_CURSES_MENU:
4998
4999 HAVE_MENU - if the Menu library is present
5000 HAVE_MENU_H - if <menu.h> is present and should be used
5001 HAVE_NCURSES_MENU_H - if <ncurses/menu.h> should be used
5002 HAVE_NCURSESW_MENU_H - if <ncursesw/menu.h> should be used
5003
5004 By AX_WITH_CURSES_FORM:
5005
5006 HAVE_FORM - if the Form library is present
5007 HAVE_FORM_H - if <form.h> is present and should be used
5008 HAVE_NCURSES_FORM_H - if <ncurses/form.h> should be used
5009 HAVE_NCURSESW_FORM_H - if <ncursesw/form.h> should be used
5010
5011 The following output variables may be defined by these macros; these are
5012 precious and may be overridden on the ./configure command line:
5013
5014 PANEL_LIBS - library to add to xxx_LDADD before CURSES_LIBS
5015 MENU_LIBS - library to add to xxx_LDADD before CURSES_LIBS
5016 FORM_LIBS - library to add to xxx_LDADD before CURSES_LIBS
5017
5018 In previous versions of this macro, the flags PANEL_LIB, MENU_LIB and
5019 FORM_LIB were defined. These have been renamed, in keeping with the
5020 variable scheme of PKG_CHECK_MODULES, which should eventually supersede
5021 the use of AX_WITH_CURSES and AX_WITH_CURSES_* macros. These libraries
5022 are NOT added to LIBS by default. You need to add them to the
5023 appropriate xxx_LDADD line in your Makefile.am in front of the
5024 equivalent CURSES_LIBS incantation. For example:
5025
5026 prog_LDADD = @PANEL_LIBS@ @CURSES_LIBS@
5027
5028 If one of the xxx_LIBS variables is set on the configure command line
5029 (such as by running "./configure PANEL_LIBS=-lmypanel"), then the header
5030 file searched must NOT contain a subpath. In this case, in other words,
5031 only <panel.h> would be searched for. The user may use the CPPFLAGS
5032 precious variable to override the standard #include search path.
5033
5034 The following shell variables may be defined by these macros:
5035
5036 ax_cv_panel - set to "yes" if Panels library is present
5037 ax_cv_menu - set to "yes" if Menu library is present
5038 ax_cv_form - set to "yes" if Form library is present
5039
5040 These variables can be used in your configure.ac to determine whether a
5041 library you require is actually present. For example:
5042
5043 AX_WITH_CURSES
5044 if test "x$ax_cv_curses" != xyes; then
5045 AC_MSG_ERROR([requires a SysV or X/Open-compatible Curses library])
5046 fi
5047 AX_WITH_CURSES_PANEL
5048 if test "x$ax_cv_panel" != xyes; then
5049 AC_MSG_ERROR([requires the Curses Panel library])
5050 fi
5051
5052 To use the HAVE_xxx_H preprocessor symbols, insert the following into
5053 your system.h (or equivalent) header file:
5054
5055 For AX_WITH_CURSES_PANEL:
5056
5057 #if defined HAVE_NCURSESW_PANEL_H
5058 # include <ncursesw/panel.h>
5059 #elif defined HAVE_NCURSES_PANEL_H
5060 # include <ncurses/panel.h>
5061 #elif defined HAVE_PANEL_H
5062 # include <panel.h>
5063 #else
5064 # error "SysV-compatible Curses Panel header file required"
5065 #endif
5066
5067 For AX_WITH_CURSES_MENU:
5068
5069 #if defined HAVE_NCURSESW_MENU_H
5070 # include <ncursesw/menu.h>
5071 #elif defined HAVE_NCURSES_MENU_H
5072 # include <ncurses/menu.h>
5073 #elif defined HAVE_MENU_H
5074 # include <menu.h>
5075 #else
5076 # error "SysV-compatible Curses Menu header file required"
5077 #endif
5078
5079 For AX_WITH_CURSES_FORM:
5080
5081 #if defined HAVE_NCURSESW_FORM_H
5082 # include <ncursesw/form.h>
5083 #elif defined HAVE_NCURSES_FORM_H
5084 # include <ncurses/form.h>
5085 #elif defined HAVE_FORM_H
5086 # include <form.h>
5087 #else
5088 # error "SysV-compatible Curses Form header file required"
5089 #endif
5090
5091 Source Code
5092 ***********
5093
5094 Download the latest version of 'ax_with_curses_extra.m4'
5095 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_curses_extra.m4)
5096 or browse the macro's revision history
5097 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_curses_extra.m4).
5098
5099 License
5100 *******
5101
5102 Copyright (C) 2011 John Zaitseff <J.Zaitseff@zap.org.au>
5103
5104 This program is free software: you can redistribute it and/or modify it
5105 under the terms of the GNU General Public License as published by the
5106 Free Software Foundation, either version 3 of the License, or (at your
5107 option) any later version.
5108
5109 This program is distributed in the hope that it will be useful, but
5110 WITHOUT ANY WARRANTY; without even the implied warranty of
5111 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
5112 Public License for more details.
5113
5114 You should have received a copy of the GNU General Public License along
5115 with this program. If not, see <https://www.gnu.org/licenses/>.
5116
5117 As a special exception, the respective Autoconf Macro's copyright owner
5118 gives unlimited permission to copy, distribute and modify the configure
5119 scripts that are the output of Autoconf when processing the Macro. You
5120 need not follow the terms of the GNU General Public License when using
5121 or distributing such scripts, even though portions of the text of the
5122 Macro appear in them. The GNU General Public License (GPL) does govern
5123 all other use of the material that constitutes the Autoconf Macro.
5124
5125 This special exception to the GPL applies to versions of the Autoconf
5126 Macro released by the Autoconf Archive. When you make and distribute a
5127 modified version of the Autoconf Macro, you may extend this special
5128 exception to the GPL to apply to your modified version as well.
5129
5130 
5131 File: autoconf-archive.info, Node: ax_with_dmalloc, Next: ax_with_mpatrol, Prev: ax_with_curses_extra, Up: The Macros
5132
5133 ax_with_dmalloc
5134 ===============
5135
5136 Synopsis
5137 ********
5138
5139 AX_WITH_DMALLOC
5140
5141 Description
5142 ***********
5143
5144 Let the user enable/disable support for the dmalloc library available
5145 from <http://www.dmalloc.org/>.
5146
5147 The macro adds the command-line flag "-with-dmalloc". Furthermore,
5148 "-IPREFIX/include" will be added to "$CPPFLAGS", "-LPREFIX/lib" to
5149 "$LDFLAGS", and "-DDEBUG_DMALLOC" and "-DDMALLOC_FUNC_CHECK" to
5150 "$CPPFLAGS".
5151
5152 To enable dmalloc support in your code, add the following snippet to
5153 your header files:
5154
5155 #ifdef DEBUG_DMALLOC
5156 # include <dmalloc.h>
5157 #endif
5158
5159 Source Code
5160 ***********
5161
5162 Download the latest version of 'ax_with_dmalloc.m4'
5163 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_dmalloc.m4)
5164 or browse the macro's revision history
5165 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_dmalloc.m4).
5166
5167 License
5168 *******
5169
5170 Copyright (C) 2008 Peter Simons <simons@cryp.to>
5171
5172 Copying and distribution of this file, with or without modification, are
5173 permitted in any medium without royalty provided the copyright notice
5174 and this notice are preserved. This file is offered as-is, without any
5175 warranty.
5176
5177 
5178 File: autoconf-archive.info, Node: ax_with_mpatrol, Next: ax_with_prog, Prev: ax_with_dmalloc, Up: The Macros
5179
5180 ax_with_mpatrol
5181 ===============
5182
5183 Synopsis
5184 ********
5185
5186 AX_WITH_MPATROL(DEFAULT)
5187
5188 Description
5189 ***********
5190
5191 Integrates the mpatrol malloc debugging library into a new or existing
5192 project and also attempts to determine the support libraries that need
5193 to be linked in when libmpatrol is used.
5194
5195 It takes one optional parameter specifying whether mpatrol should be
5196 included in the project ('yes') or not ('no'). This can also be
5197 specified as 'threads' if you wish to use the threadsafe version of the
5198 mpatrol library. You can override the value of the optional parameter
5199 with the '-with-mpatrol' option to the resulting 'configure' shell
5200 script.
5201
5202 Source Code
5203 ***********
5204
5205 Download the latest version of 'ax_with_mpatrol.m4'
5206 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_mpatrol.m4)
5207 or browse the macro's revision history
5208 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_mpatrol.m4).
5209
5210 License
5211 *******
5212
5213 Copyright (C) 2008 Graeme S. Roy <graeme@epc.co.uk>
5214
5215 Copying and distribution of this file, with or without modification, are
5216 permitted in any medium without royalty provided the copyright notice
5217 and this notice are preserved. This file is offered as-is, without any
5218 warranty.
5219
5220 
5221 File: autoconf-archive.info, Node: ax_with_prog, Next: ax_xercesc, Prev: ax_with_mpatrol, Up: The Macros
5222
5223 ax_with_prog
5224 ============
5225
5226 Synopsis
5227 ********
5228
5229 AX_WITH_PROG([VARIABLE],[program],[VALUE-IF-NOT-FOUND],[PATH])
5230
5231 Description
5232 ***********
5233
5234 Locates an installed program binary, placing the result in the precious
5235 variable VARIABLE. Accepts a present VARIABLE, then -with-program, and
5236 failing that searches for program in the given path (which defaults to
5237 the system path). If program is found, VARIABLE is set to the full path
5238 of the binary; if it is not found VARIABLE is set to VALUE-IF-NOT-FOUND
5239 if provided, unchanged otherwise.
5240
5241 A typical example could be the following one:
5242
5243 AX_WITH_PROG(PERL,perl)
5244
5245 NOTE: This macro is based upon the original AX_WITH_PYTHON macro from
5246 Dustin J. Mitchell <dustin@cs.uchicago.edu>.
5247
5248 Source Code
5249 ***********
5250
5251 Download the latest version of 'ax_with_prog.m4'
5252 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_prog.m4)
5253 or browse the macro's revision history
5254 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_prog.m4).
5255
5256 License
5257 *******
5258
5259 Copyright (C) 2008 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5260
5261 Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
5262
5263 Copying and distribution of this file, with or without modification, are
5264 permitted in any medium without royalty provided the copyright notice
5265 and this notice are preserved. This file is offered as-is, without any
5266 warranty.
5267
5268 
5269 File: autoconf-archive.info, Node: ax_xercesc, Next: ax_xsdcxx, Prev: ax_with_prog, Up: The Macros
5270
5271 ax_xercesc
5272 ==========
5273
5274 Synopsis
5275 ********
5276
5277 AX_XERCESC
5278
5279 Description
5280 ***********
5281
5282 Define $HAVE_LIBXERCES_C, $LIBXERCES_C, and $LTLIBXERCES_C to signify
5283 whether Xerces is available.
5284
5285 Source Code
5286 ***********
5287
5288 Download the latest version of 'ax_xercesc.m4'
5289 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_xercesc.m4)
5290 or browse the macro's revision history
5291 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_xercesc.m4).
5292
5293 License
5294 *******
5295
5296 Copyright (C) 2008 Ronald Landheer-Cieslak <blytkerchan@users.sourceforge.net>
5297
5298 This program is free software; you can redistribute it and/or modify it
5299 under the terms of the GNU General Public License as published by the
5300 Free Software Foundation; either version 2 of the License, or (at your
5301 option) any later version.
5302
5303 This program is distributed in the hope that it will be useful, but
5304 WITHOUT ANY WARRANTY; without even the implied warranty of
5305 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
5306 Public License for more details.
5307
5308 You should have received a copy of the GNU General Public License along
5309 with this program. If not, see <https://www.gnu.org/licenses/>.
5310
5311 As a special exception, the respective Autoconf Macro's copyright owner
5312 gives unlimited permission to copy, distribute and modify the configure
5313 scripts that are the output of Autoconf when processing the Macro. You
5314 need not follow the terms of the GNU General Public License when using
5315 or distributing such scripts, even though portions of the text of the
5316 Macro appear in them. The GNU General Public License (GPL) does govern
5317 all other use of the material that constitutes the Autoconf Macro.
5318
5319 This special exception to the GPL applies to versions of the Autoconf
5320 Macro released by the Autoconf Archive. When you make and distribute a
5321 modified version of the Autoconf Macro, you may extend this special
5322 exception to the GPL to apply to your modified version as well.
5323
5324 
5325 File: autoconf-archive.info, Node: ax_xsdcxx, Next: ax_xtra_classpath, Prev: ax_xercesc, Up: The Macros
5326
5327 ax_xsdcxx
5328 =========
5329
5330 Synopsis
5331 ********
5332
5333 AX_XSDCXX
5334
5335 Description
5336 ***********
5337
5338 This macro tries to find the CodeSynthesis XSD executable and the
5339 corresponding headers.
5340
5341 Supported options:
5342
5343 --with-xsdcxx
5344 use CodeSynthesis XSD from given prefix (ARG=path);
5345 check PATH (ARG=yes); disable (ARG=no)
5346
5347 --with-xsdcxx-inc
5348 path to CodeSynthesis XSD headers (ARG=path); use standard prefix
5349 (ARG=yes); disable (ARG=no)
5350
5351 Output variables:
5352
5353 XSDCXX
5354 XSDCXX_CPPFLAGS
5355
5356 Source Code
5357 ***********
5358
5359 Download the latest version of 'ax_xsdcxx.m4'
5360 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_xsdcxx.m4)
5361 or browse the macro's revision history
5362 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_xsdcxx.m4).
5363
5364 License
5365 *******
5366
5367 Copyright (C) 2013 Laszlo Kajan <lkajan@rostlab.org>
5368
5369 Copying and distribution of this file, with or without modification, are
5370 permitted in any medium without royalty provided the copyright notice
5371 and this notice are preserved. This file is offered as-is, without any
5372 warranty.
5373
5374 
5375 File: autoconf-archive.info, Node: ax_xtra_classpath, Next: ax_zmq, Prev: ax_xsdcxx, Up: The Macros
5376
5377 ax_xtra_classpath
5378 =================
5379
5380 Synopsis
5381 ********
5382
5383 AX_XTRA_CLASSPATH(<classpath>,<class>,<jarfile>,<action-if-found>,<action-if-not-found>)
5384
5385 Description
5386 ***********
5387
5388 Set $1 to extra classpath components required for class $2 found in a
5389 jar file in $3. If the class is found do $4 and otherwise do $5. Uses
5390 AX_JAVA_CHECK_CLASS for testing whether a class is available
5391
5392 Source Code
5393 ***********
5394
5395 Download the latest version of 'ax_xtra_classpath.m4'
5396 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_xtra_classpath.m4)
5397 or browse the macro's revision history
5398 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_xtra_classpath.m4).
5399
5400 License
5401 *******
5402
5403 Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
5404
5405 This program is free software; you can redistribute it and/or modify it
5406 under the terms of the GNU General Public License as published by the
5407 Free Software Foundation; either version 2 of the License, or (at your
5408 option) any later version.
5409
5410 This program is distributed in the hope that it will be useful, but
5411 WITHOUT ANY WARRANTY; without even the implied warranty of
5412 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
5413 Public License for more details.
5414
5415 You should have received a copy of the GNU General Public License along
5416 with this program. If not, see <https://www.gnu.org/licenses/>.
5417
5418 As a special exception, the respective Autoconf Macro's copyright owner
5419 gives unlimited permission to copy, distribute and modify the configure
5420 scripts that are the output of Autoconf when processing the Macro. You
5421 need not follow the terms of the GNU General Public License when using
5422 or distributing such scripts, even though portions of the text of the
5423 Macro appear in them. The GNU General Public License (GPL) does govern
5424 all other use of the material that constitutes the Autoconf Macro.
5425
5426 This special exception to the GPL applies to versions of the Autoconf
5427 Macro released by the Autoconf Archive. When you make and distribute a
5428 modified version of the Autoconf Macro, you may extend this special
5429 exception to the GPL to apply to your modified version as well.
5430
5431 
5432 File: autoconf-archive.info, Node: ax_zmq, Next: ax_zoneinfo, Prev: ax_xtra_classpath, Up: The Macros
5433
5434 ax_zmq
5435 ======
5436
5437 Synopsis
5438 ********
5439
5440 AX_ZMQ([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
5441
5442 Description
5443 ***********
5444
5445 Test for the ZMQ libraries of a particular version (or newer). The
5446 default version tested for is 4.0.0.
5447
5448 The macro tests for ZMQ libraries in the library/include path, and, when
5449 provided, also in the path given by -with-zmq.
5450
5451 This macro calls:
5452
5453 AC_SUBST(ZMQ_CPPFLAGS) / AC_SUBST(ZMQ_LDFLAGS) / AC_SUBST(ZMQ_LIBS)
5454
5455 And sets:
5456
5457 HAVE_ZMQ
5458
5459 Source Code
5460 ***********
5461
5462 Download the latest version of 'ax_zmq.m4'
5463 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_zmq.m4)
5464 or browse the macro's revision history
5465 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_zmq.m4).
5466
5467 License
5468 *******
5469
5470 Copyright (C) 2016 Jeroen Meijer <jjgmeijer@gmail.com>
5471
5472 Copying and distribution of this file, with or without modification, are
5473 permitted in any medium without royalty provided the copyright notice
5474 and this notice are preserved. This file is offered as-is, without any
5475 warranty.
5476
5477 
5478 File: autoconf-archive.info, Node: ax_zoneinfo, Prev: ax_zmq, Up: The Macros
5479
5480 ax_zoneinfo
5481 ===========
5482
5483 Synopsis
5484 ********
5485
5486 AX_ZONEINFO([options...])
5487
5488 Description
5489 ***********
5490
5491 This macro finds compiled zoneinfo files. If successful it will define
5492 HAVE_ZONEINFO per:
5493
5494 AC_DEFINE([HAVE_ZONEINFO], [1], [...])
5495
5496 and have the variable TZDIR point to the zoneinfo directory as per
5497
5498 AC_SUBST([TZDIR])
5499 AC_DEFINE_UNQUOTED([TZDIR], [/path/to/zic/files], [...])
5500
5501 Optionally, OPTIONS can be 'right' to trigger further tests that will
5502 determine if leap second fix-ups are available. If so the variables
5503 HAVE_ZONEINFO_RIGHT, ZONEINFO_UTC_RIGHT and TZDIR_RIGHT will be
5504 populated:
5505
5506 AC_DEFINE([HAVE_ZONEINFO_RIGHT], [1], [...])
5507 AC_SUBST([TZDIR_RIGHT])
5508 AC_DEFINE_UNQUOTED([TZDIR_RIGHT], [/path/to/right/zic/files], [...])
5509 AC_SUBST([ZONEINFO_UTC_RIGHT])
5510 AC_DEFINE_UNQUOTED([ZONEINFO_UTC_RIGHT], [$ZONEINFO_UTC_RIGHT], [...])
5511
5512 Source Code
5513 ***********
5514
5515 Download the latest version of 'ax_zoneinfo.m4'
5516 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_zoneinfo.m4)
5517 or browse the macro's revision history
5518 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_zoneinfo.m4).
5519
5520 License
5521 *******
5522
5523 Copyright (C) 2012 Sebastian Freundt <freundt@fresse.org>
5524
5525 Copying and distribution of this file, with or without modification, are
5526 permitted in any medium without royalty provided the copyright notice
5527 and this notice are preserved. This file is offered as-is, without any
5528 warranty.
5529
5530 
5531 File: autoconf-archive.info, Node: GNU Free Documentation License, Prev: The Macros, Up: Top
5532
5533 Appendix A GNU Free Documentation License
5534 *****************************************
5535
5536 Version 1.3, 3 November 2008
5537
5538 Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
5539 <https://fsf.org/>
5540
5541 Everyone is permitted to copy and distribute verbatim copies
5542 of this license document, but changing it is not allowed.
5543
5544 0. PREAMBLE
5545
5546 The purpose of this License is to make a manual, textbook, or other
5547 functional and useful document "free" in the sense of freedom: to
5548 assure everyone the effective freedom to copy and redistribute it,
5549 with or without modifying it, either commercially or
5550 noncommercially. Secondarily, this License preserves for the
5551 author and publisher a way to get credit for their work, while not
5552 being considered responsible for modifications made by others.
5553
5554 This License is a kind of "copyleft", which means that derivative
5555 works of the document must themselves be free in the same sense.
5556 It complements the GNU General Public License, which is a copyleft
5557 license designed for free software.
5558
5559 We have designed this License in order to use it for manuals for
5560 free software, because free software needs free documentation: a
5561 free program should come with manuals providing the same freedoms
5562 that the software does. But this License is not limited to
5563 software manuals; it can be used for any textual work, regardless
5564 of subject matter or whether it is published as a printed book. We
5565 recommend this License principally for works whose purpose is
5566 instruction or reference.
5567
5568 1. APPLICABILITY AND DEFINITIONS
5569
5570 This License applies to any manual or other work, in any medium,
5571 that contains a notice placed by the copyright holder saying it can
5572 be distributed under the terms of this License. Such a notice
5573 grants a world-wide, royalty-free license, unlimited in duration,
5574 to use that work under the conditions stated herein. The
5575 "Document", below, refers to any such manual or work. Any member
5576 of the public is a licensee, and is addressed as "you". You accept
5577 the license if you copy, modify or distribute the work in a way
5578 requiring permission under copyright law.
5579
5580 A "Modified Version" of the Document means any work containing the
5581 Document or a portion of it, either copied verbatim, or with
5582 modifications and/or translated into another language.
5583
5584 A "Secondary Section" is a named appendix or a front-matter section
5585 of the Document that deals exclusively with the relationship of the
5586 publishers or authors of the Document to the Document's overall
5587 subject (or to related matters) and contains nothing that could
5588 fall directly within that overall subject. (Thus, if the Document
5589 is in part a textbook of mathematics, a Secondary Section may not
5590 explain any mathematics.) The relationship could be a matter of
5591 historical connection with the subject or with related matters, or
5592 of legal, commercial, philosophical, ethical or political position
5593 regarding them.
5594
5595 The "Invariant Sections" are certain Secondary Sections whose
5596 titles are designated, as being those of Invariant Sections, in the
5597 notice that says that the Document is released under this License.
5598 If a section does not fit the above definition of Secondary then it
5599 is not allowed to be designated as Invariant. The Document may
5600 contain zero Invariant Sections. If the Document does not identify
5601 any Invariant Sections then there are none.
5602
5603 The "Cover Texts" are certain short passages of text that are
5604 listed, as Front-Cover Texts or Back-Cover Texts, in the notice
5605 that says that the Document is released under this License. A
5606 Front-Cover Text may be at most 5 words, and a Back-Cover Text may
5607 be at most 25 words.
5608
5609 A "Transparent" copy of the Document means a machine-readable copy,
5610 represented in a format whose specification is available to the
5611 general public, that is suitable for revising the document
5612 straightforwardly with generic text editors or (for images composed
5613 of pixels) generic paint programs or (for drawings) some widely
5614 available drawing editor, and that is suitable for input to text
5615 formatters or for automatic translation to a variety of formats
5616 suitable for input to text formatters. A copy made in an otherwise
5617 Transparent file format whose markup, or absence of markup, has
5618 been arranged to thwart or discourage subsequent modification by
5619 readers is not Transparent. An image format is not Transparent if
5620 used for any substantial amount of text. A copy that is not
5621 "Transparent" is called "Opaque".
5622
5623 Examples of suitable formats for Transparent copies include plain
5624 ASCII without markup, Texinfo input format, LaTeX input format,
5625 SGML or XML using a publicly available DTD, and standard-conforming
5626 simple HTML, PostScript or PDF designed for human modification.
5627 Examples of transparent image formats include PNG, XCF and JPG.
5628 Opaque formats include proprietary formats that can be read and
5629 edited only by proprietary word processors, SGML or XML for which
5630 the DTD and/or processing tools are not generally available, and
5631 the machine-generated HTML, PostScript or PDF produced by some word
5632 processors for output purposes only.
5633
5634 The "Title Page" means, for a printed book, the title page itself,
5635 plus such following pages as are needed to hold, legibly, the
5636 material this License requires to appear in the title page. For
5637 works in formats which do not have any title page as such, "Title
5638 Page" means the text near the most prominent appearance of the
5639 work's title, preceding the beginning of the body of the text.
5640
5641 The "publisher" means any person or entity that distributes copies
5642 of the Document to the public.
5643
5644 A section "Entitled XYZ" means a named subunit of the Document
5645 whose title either is precisely XYZ or contains XYZ in parentheses
5646 following text that translates XYZ in another language. (Here XYZ
5647 stands for a specific section name mentioned below, such as
5648 "Acknowledgements", "Dedications", "Endorsements", or "History".)
5649 To "Preserve the Title" of such a section when you modify the
5650 Document means that it remains a section "Entitled XYZ" according
5651 to this definition.
5652
5653 The Document may include Warranty Disclaimers next to the notice
5654 which states that this License applies to the Document. These
5655 Warranty Disclaimers are considered to be included by reference in
5656 this License, but only as regards disclaiming warranties: any other
5657 implication that these Warranty Disclaimers may have is void and
5658 has no effect on the meaning of this License.
5659
5660 2. VERBATIM COPYING
5661
5662 You may copy and distribute the Document in any medium, either
5663 commercially or noncommercially, provided that this License, the
5664 copyright notices, and the license notice saying this License
5665 applies to the Document are reproduced in all copies, and that you
5666 add no other conditions whatsoever to those of this License. You
5667 may not use technical measures to obstruct or control the reading
5668 or further copying of the copies you make or distribute. However,
5669 you may accept compensation in exchange for copies. If you
5670 distribute a large enough number of copies you must also follow the
5671 conditions in section 3.
5672
5673 You may also lend copies, under the same conditions stated above,
5674 and you may publicly display copies.
5675
5676 3. COPYING IN QUANTITY
5677
5678 If you publish printed copies (or copies in media that commonly
5679 have printed covers) of the Document, numbering more than 100, and
5680 the Document's license notice requires Cover Texts, you must
5681 enclose the copies in covers that carry, clearly and legibly, all
5682 these Cover Texts: Front-Cover Texts on the front cover, and
5683 Back-Cover Texts on the back cover. Both covers must also clearly
5684 and legibly identify you as the publisher of these copies. The
5685 front cover must present the full title with all words of the title
5686 equally prominent and visible. You may add other material on the
5687 covers in addition. Copying with changes limited to the covers, as
5688 long as they preserve the title of the Document and satisfy these
5689 conditions, can be treated as verbatim copying in other respects.
5690
5691 If the required texts for either cover are too voluminous to fit
5692 legibly, you should put the first ones listed (as many as fit
5693 reasonably) on the actual cover, and continue the rest onto
5694 adjacent pages.
5695
5696 If you publish or distribute Opaque copies of the Document
5697 numbering more than 100, you must either include a machine-readable
5698 Transparent copy along with each Opaque copy, or state in or with
5699 each Opaque copy a computer-network location from which the general
5700 network-using public has access to download using public-standard
5701 network protocols a complete Transparent copy of the Document, free
5702 of added material. If you use the latter option, you must take
5703 reasonably prudent steps, when you begin distribution of Opaque
5704 copies in quantity, to ensure that this Transparent copy will
5705 remain thus accessible at the stated location until at least one
5706 year after the last time you distribute an Opaque copy (directly or
5707 through your agents or retailers) of that edition to the public.
5708
5709 It is requested, but not required, that you contact the authors of
5710 the Document well before redistributing any large number of copies,
5711 to give them a chance to provide you with an updated version of the
5712 Document.
5713
5714 4. MODIFICATIONS
5715
5716 You may copy and distribute a Modified Version of the Document
5717 under the conditions of sections 2 and 3 above, provided that you
5718 release the Modified Version under precisely this License, with the
5719 Modified Version filling the role of the Document, thus licensing
5720 distribution and modification of the Modified Version to whoever
5721 possesses a copy of it. In addition, you must do these things in
5722 the Modified Version:
5723
5724 A. Use in the Title Page (and on the covers, if any) a title
5725 distinct from that of the Document, and from those of previous
5726 versions (which should, if there were any, be listed in the
5727 History section of the Document). You may use the same title
5728 as a previous version if the original publisher of that
5729 version gives permission.
5730
5731 B. List on the Title Page, as authors, one or more persons or
5732 entities responsible for authorship of the modifications in
5733 the Modified Version, together with at least five of the
5734 principal authors of the Document (all of its principal
5735 authors, if it has fewer than five), unless they release you
5736 from this requirement.
5737
5738 C. State on the Title page the name of the publisher of the
5739 Modified Version, as the publisher.
5740
5741 D. Preserve all the copyright notices of the Document.
5742
5743 E. Add an appropriate copyright notice for your modifications
5744 adjacent to the other copyright notices.
5745
5746 F. Include, immediately after the copyright notices, a license
5747 notice giving the public permission to use the Modified
5748 Version under the terms of this License, in the form shown in
5749 the Addendum below.
5750
5751 G. Preserve in that license notice the full lists of Invariant
5752 Sections and required Cover Texts given in the Document's
5753 license notice.
5754
5755 H. Include an unaltered copy of this License.
5756
5757 I. Preserve the section Entitled "History", Preserve its Title,
5758 and add to it an item stating at least the title, year, new
5759 authors, and publisher of the Modified Version as given on the
5760 Title Page. If there is no section Entitled "History" in the
5761 Document, create one stating the title, year, authors, and
5762 publisher of the Document as given on its Title Page, then add
5763 an item describing the Modified Version as stated in the
5764 previous sentence.
5765
5766 J. Preserve the network location, if any, given in the Document
5767 for public access to a Transparent copy of the Document, and
5768 likewise the network locations given in the Document for
5769 previous versions it was based on. These may be placed in the
5770 "History" section. You may omit a network location for a work
5771 that was published at least four years before the Document
5772 itself, or if the original publisher of the version it refers
5773 to gives permission.
5774
5775 K. For any section Entitled "Acknowledgements" or "Dedications",
5776 Preserve the Title of the section, and preserve in the section
5777 all the substance and tone of each of the contributor
5778 acknowledgements and/or dedications given therein.
5779
5780 L. Preserve all the Invariant Sections of the Document, unaltered
5781 in their text and in their titles. Section numbers or the
5782 equivalent are not considered part of the section titles.
5783
5784 M. Delete any section Entitled "Endorsements". Such a section
5785 may not be included in the Modified Version.
5786
5787 N. Do not retitle any existing section to be Entitled
5788 "Endorsements" or to conflict in title with any Invariant
5789 Section.
5790
5791 O. Preserve any Warranty Disclaimers.
5792
5793 If the Modified Version includes new front-matter sections or
5794 appendices that qualify as Secondary Sections and contain no
5795 material copied from the Document, you may at your option designate
5796 some or all of these sections as invariant. To do this, add their
5797 titles to the list of Invariant Sections in the Modified Version's
5798 license notice. These titles must be distinct from any other
5799 section titles.
5800
5801 You may add a section Entitled "Endorsements", provided it contains
5802 nothing but endorsements of your Modified Version by various
5803 parties--for example, statements of peer review or that the text
5804 has been approved by an organization as the authoritative
5805 definition of a standard.
5806
5807 You may add a passage of up to five words as a Front-Cover Text,
5808 and a passage of up to 25 words as a Back-Cover Text, to the end of
5809 the list of Cover Texts in the Modified Version. Only one passage
5810 of Front-Cover Text and one of Back-Cover Text may be added by (or
5811 through arrangements made by) any one entity. If the Document
5812 already includes a cover text for the same cover, previously added
5813 by you or by arrangement made by the same entity you are acting on
5814 behalf of, you may not add another; but you may replace the old
5815 one, on explicit permission from the previous publisher that added
5816 the old one.
5817
5818 The author(s) and publisher(s) of the Document do not by this
5819 License give permission to use their names for publicity for or to
5820 assert or imply endorsement of any Modified Version.
5821
5822 5. COMBINING DOCUMENTS
5823
5824 You may combine the Document with other documents released under
5825 this License, under the terms defined in section 4 above for
5826 modified versions, provided that you include in the combination all
5827 of the Invariant Sections of all of the original documents,
5828 unmodified, and list them all as Invariant Sections of your
5829 combined work in its license notice, and that you preserve all
5830 their Warranty Disclaimers.
5831
5832 The combined work need only contain one copy of this License, and
5833 multiple identical Invariant Sections may be replaced with a single
5834 copy. If there are multiple Invariant Sections with the same name
5835 but different contents, make the title of each such section unique
5836 by adding at the end of it, in parentheses, the name of the
5837 original author or publisher of that section if known, or else a
5838 unique number. Make the same adjustment to the section titles in
5839 the list of Invariant Sections in the license notice of the
5840 combined work.
5841
5842 In the combination, you must combine any sections Entitled
5843 "History" in the various original documents, forming one section
5844 Entitled "History"; likewise combine any sections Entitled
5845 "Acknowledgements", and any sections Entitled "Dedications". You
5846 must delete all sections Entitled "Endorsements."
5847
5848 6. COLLECTIONS OF DOCUMENTS
5849
5850 You may make a collection consisting of the Document and other
5851 documents released under this License, and replace the individual
5852 copies of this License in the various documents with a single copy
5853 that is included in the collection, provided that you follow the
5854 rules of this License for verbatim copying of each of the documents
5855 in all other respects.
5856
5857 You may extract a single document from such a collection, and
5858 distribute it individually under this License, provided you insert
5859 a copy of this License into the extracted document, and follow this
5860 License in all other respects regarding verbatim copying of that
5861 document.
5862
5863 7. AGGREGATION WITH INDEPENDENT WORKS
5864
5865 A compilation of the Document or its derivatives with other
5866 separate and independent documents or works, in or on a volume of a
5867 storage or distribution medium, is called an "aggregate" if the
5868 copyright resulting from the compilation is not used to limit the
5869 legal rights of the compilation's users beyond what the individual
5870 works permit. When the Document is included in an aggregate, this
5871 License does not apply to the other works in the aggregate which
5872 are not themselves derivative works of the Document.
5873
5874 If the Cover Text requirement of section 3 is applicable to these
5875 copies of the Document, then if the Document is less than one half
5876 of the entire aggregate, the Document's Cover Texts may be placed
5877 on covers that bracket the Document within the aggregate, or the
5878 electronic equivalent of covers if the Document is in electronic
5879 form. Otherwise they must appear on printed covers that bracket
5880 the whole aggregate.
5881
5882 8. TRANSLATION
5883
5884 Translation is considered a kind of modification, so you may
5885 distribute translations of the Document under the terms of section
5886 4. Replacing Invariant Sections with translations requires special
5887 permission from their copyright holders, but you may include
5888 translations of some or all Invariant Sections in addition to the
5889 original versions of these Invariant Sections. You may include a
5890 translation of this License, and all the license notices in the
5891 Document, and any Warranty Disclaimers, provided that you also
5892 include the original English version of this License and the
5893 original versions of those notices and disclaimers. In case of a
5894 disagreement between the translation and the original version of
5895 this License or a notice or disclaimer, the original version will
5896 prevail.
5897
5898 If a section in the Document is Entitled "Acknowledgements",
5899 "Dedications", or "History", the requirement (section 4) to
5900 Preserve its Title (section 1) will typically require changing the
5901 actual title.
5902
5903 9. TERMINATION
5904
5905 You may not copy, modify, sublicense, or distribute the Document
5906 except as expressly provided under this License. Any attempt
5907 otherwise to copy, modify, sublicense, or distribute it is void,
5908 and will automatically terminate your rights under this License.
5909
5910 However, if you cease all violation of this License, then your
5911 license from a particular copyright holder is reinstated (a)
5912 provisionally, unless and until the copyright holder explicitly and
5913 finally terminates your license, and (b) permanently, if the
5914 copyright holder fails to notify you of the violation by some
5915 reasonable means prior to 60 days after the cessation.
5916
5917 Moreover, your license from a particular copyright holder is
5918 reinstated permanently if the copyright holder notifies you of the
5919 violation by some reasonable means, this is the first time you have
5920 received notice of violation of this License (for any work) from
5921 that copyright holder, and you cure the violation prior to 30 days
5922 after your receipt of the notice.
5923
5924 Termination of your rights under this section does not terminate
5925 the licenses of parties who have received copies or rights from you
5926 under this License. If your rights have been terminated and not
5927 permanently reinstated, receipt of a copy of some or all of the
5928 same material does not give you any rights to use it.
5929
5930 10. FUTURE REVISIONS OF THIS LICENSE
5931
5932 The Free Software Foundation may publish new, revised versions of
5933 the GNU Free Documentation License from time to time. Such new
5934 versions will be similar in spirit to the present version, but may
5935 differ in detail to address new problems or concerns. See
5936 <https://www.gnu.org/licenses/>.
5937
5938 Each version of the License is given a distinguishing version
5939 number. If the Document specifies that a particular numbered
5940 version of this License "or any later version" applies to it, you
5941 have the option of following the terms and conditions either of
5942 that specified version or of any later version that has been
5943 published (not as a draft) by the Free Software Foundation. If the
5944 Document does not specify a version number of this License, you may
5945 choose any version ever published (not as a draft) by the Free
5946 Software Foundation. If the Document specifies that a proxy can
5947 decide which future versions of this License can be used, that
5948 proxy's public statement of acceptance of a version permanently
5949 authorizes you to choose that version for the Document.
5950
5951 11. RELICENSING
5952
5953 "Massive Multiauthor Collaboration Site" (or "MMC Site") means any
5954 World Wide Web server that publishes copyrightable works and also
5955 provides prominent facilities for anybody to edit those works. A
5956 public wiki that anybody can edit is an example of such a server.
5957 A "Massive Multiauthor Collaboration" (or "MMC") contained in the
5958 site means any set of copyrightable works thus published on the MMC
5959 site.
5960
5961 "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
5962 license published by Creative Commons Corporation, a not-for-profit
5963 corporation with a principal place of business in San Francisco,
5964 California, as well as future copyleft versions of that license
5965 published by that same organization.
5966
5967 "Incorporate" means to publish or republish a Document, in whole or
5968 in part, as part of another Document.
5969
5970 An MMC is "eligible for relicensing" if it is licensed under this
5971 License, and if all works that were first published under this
5972 License somewhere other than this MMC, and subsequently
5973 incorporated in whole or in part into the MMC, (1) had no cover
5974 texts or invariant sections, and (2) were thus incorporated prior
5975 to November 1, 2008.
5976
5977 The operator of an MMC Site may republish an MMC contained in the
5978 site under CC-BY-SA on the same site at any time before August 1,
5979 2009, provided the MMC is eligible for relicensing.
5980
5981 ADDENDUM: How to use this License for your documents
5982 ====================================================
5983
5984 To use this License in a document you have written, include a copy of
5985 the License in the document and put the following copyright and license
5986 notices just after the title page:
5987
5988 Copyright (C) YEAR YOUR NAME.
5989 Permission is granted to copy, distribute and/or modify this document
5990 under the terms of the GNU Free Documentation License, Version 1.3
5991 or any later version published by the Free Software Foundation;
5992 with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
5993 Texts. A copy of the license is included in the section entitled ``GNU
5994 Free Documentation License''.
5995
5996 If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
5997 replace the "with...Texts." line with this:
5998
5999 with the Invariant Sections being LIST THEIR TITLES, with
6000 the Front-Cover Texts being LIST, and with the Back-Cover Texts
6001 being LIST.
6002
6003 If you have Invariant Sections without Cover Texts, or some other
6004 combination of the three, merge those two alternatives to suit the
6005 situation.
6006
6007 If your document contains nontrivial examples of program code, we
6008 recommend releasing these examples in parallel under your choice of free
6009 software license, such as the GNU General Public License, to permit
6010 their use in free software.
6011
99 @majorheading Description
1010
1111 Check whether -D_FORTIFY_SOURCE=2 can be added to CPPFLAGS without macro
12 redefinition warnings. Some distributions (such as Gentoo Linux) enable
13 _FORTIFY_SOURCE globally in their compilers, leading to unnecessary
14 warnings in the form of
12 redefinition warnings, other cpp warnings or linker. Some distributions
13 (such as Gentoo Linux) enable _FORTIFY_SOURCE globally in their
14 compilers, leading to unnecessary warnings in the form of
1515
1616 @smallexample
1717 <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
2121 which is a problem if -Werror is enabled. This macro checks whether
2222 _FORTIFY_SOURCE is already defined, and if not, adds -D_FORTIFY_SOURCE=2
2323 to CPPFLAGS.
24
25 Newer mingw-w64 msys2 package comes with a bug in
26 headers-git-7.0.0.5546.d200317d-1. It broke -D_FORTIFY_SOURCE support,
27 and would need -lssp or -fstack-protector. See
28 https://github.com/msys2/MINGW-packages/issues/5803. Try to actually
29 link it.
2430
2531 @majorheading Source Code
2632
3238
3339 @majorheading License
3440
35 @w{Copyright @copyright{} 2017 David Seifert @email{soap@@gentoo.org}}
41 @w{Copyright @copyright{} 2017 David Seifert @email{soap@@gentoo.org}} @* @w{Copyright @copyright{} 2019 Reini Urban @email{rurban@@cpan.org}}
3642
3743 Copying and distribution of this file, with or without modification, are
3844 permitted in any medium without royalty provided the copyright notice
4545
4646 @majorheading License
4747
48 @w{Copyright @copyright{} 2008 Steven G. Johnson @email{stevenj@@alum.mit.edu}}
48 @w{Copyright @copyright{} 2008 Steven G. Johnson @email{stevenj@@alum.mit.edu}} @* @w{Copyright @copyright{} 2019 Geoffrey M. Oxberry @email{goxberry@@gmail.com}}
4949
5050 This program is free software: you can redistribute it and/or modify it
5151 under the terms of the GNU General Public License as published by the
0 @node ax_boost_process
1 @unnumberedsec ax_boost_process
2
3 @majorheading Synopsis
4
5 @smallexample
6 AX_BOOST_PROCESS
7 @end smallexample
8
9 @majorheading Description
10
11 Test for Process library from the Boost C++ libraries. The macro
12 requires a preceding call to AX_BOOST_BASE. Further documentation is
13 available at <http://randspringer.de/boost/index.html>.
14
15 This macro calls:
16
17 @smallexample
18 AC_SUBST(BOOST_PROCESS_LIB)
19 @end smallexample
20
21 And sets:
22
23 @smallexample
24 HAVE_BOOST_PROCESS
25 @end smallexample
26
27 @majorheading Source Code
28
29 Download the
30 @uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_process.m4,latest
31 version of @file{ax_boost_process.m4}} or browse
32 @uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_process.m4,the
33 macro's revision history}.
34
35 @majorheading License
36
37 @w{Copyright @copyright{} 2008 Thomas Porschberg @email{thomas@@randspringer.de}} @* @w{Copyright @copyright{} 2008 Michael Tindal} @* @w{Copyright @copyright{} 2008 Daniel Casimiro @email{dan.casimiro@@gmail.com}}
38
39 Copying and distribution of this file, with or without modification, are
40 permitted in any medium without royalty provided the copyright notice
41 and this notice are preserved. This file is offered as-is, without any
42 warranty.
33 @majorheading Synopsis
44
55 @smallexample
6 AX_CFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])]
7 AX_CXXFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])]
8 AX_FCFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])]
6 AX_CFLAGS_WARN_ALL [(shellvar[, default[, action-if-found[, action-if-not-found]]])]
7 AX_CXXFLAGS_WARN_ALL [(shellvar[, default[, action-if-found[, action-if-not-found]]])]
8 AX_FCFLAGS_WARN_ALL [(shellvar[, default[, action-if-found[, action-if-not-found]]])]
99 @end smallexample
1010
1111 @majorheading Description
1212
13 Try to find a compiler option that enables most reasonable warnings.
13 Specify compiler options that enable most reasonable warnings. For the
14 GNU Compiler Collection (GCC), for example, it will be "-Wall". The
15 result is added to shellvar, one of CFLAGS, CXXFLAGS or FCFLAGS if the
16 first parameter is not specified.
1417
15 For the GNU compiler it will be -Wall (and -ansi -pedantic) The result
16 is added to the shellvar being CFLAGS, CXXFLAGS, or FCFLAGS by default.
17
18 Currently this macro knows about the GCC, Solaris, Digital Unix, AIX,
19 HP-UX, IRIX, NEC SX-5 (Super-UX 10), Cray J90 (Unicos 10.0.0.8), and
20 Intel compilers. For a given compiler, the Fortran flags are much more
21 experimental than their C equivalents.
18 Each of these macros accepts the following optional arguments:
2219
2320 @smallexample
24 - $1 shell-variable-to-add-to : CFLAGS, CXXFLAGS, or FCFLAGS
25 - $2 add-value-if-not-found : nothing
26 - $3 action-if-found : add value to shellvariable
27 - $4 action-if-not-found : nothing
21 - $1 - shellvar
22 shell variable to use (CFLAGS, CXXFLAGS or FCFLAGS if not
23 specified, depending on macro)
2824 @end smallexample
2925
30 NOTE: These macros depend on AX_APPEND_FLAG.
26 @smallexample
27 - $2 - default
28 value to use for flags if compiler vendor cannot be determined (by
29 default, "")
30 @end smallexample
31
32 @smallexample
33 - $3 - action-if-found
34 action to take if the compiler vendor has been successfully
35 determined (by default, add the appropriate compiler flags to
36 shellvar)
37 @end smallexample
38
39 @smallexample
40 - $4 - action-if-not-found
41 action to take if the compiler vendor has not been determined or
42 is unknown (by default, add the default flags, or "" if not
43 specified, to shellvar)
44 @end smallexample
45
46 These macros use AX_COMPILER_VENDOR to determine which flags should be
47 returned for a given compiler. Not all compilers currently have flags
48 defined for them; patches are welcome. If need be, compiler flags may
49 be made language-dependent: use a construct like the following:
50
51 @smallexample
52 [vendor_name], [m4_if(_AC_LANG_PREFIX,[C], VAR="--relevant-c-flags",dnl
53 m4_if(_AC_LANG_PREFIX,[CXX], VAR="--relevant-c++-flags",dnl
54 m4_if(_AC_LANG_PREFIX,[FC], VAR="--relevant-fortran-flags",dnl
55 VAR="$2"; FOUND="no")))],
56 @end smallexample
57
58 Note: These macros also depend on AX_PREPEND_FLAG.
3159
3260 @majorheading Source Code
3361
3967
4068 @majorheading License
4169
42 @w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}} @* @w{Copyright @copyright{} 2010 Rhys Ulerich @email{rhys.ulerich@@gmail.com}}
70 @w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}} @* @w{Copyright @copyright{} 2010 Rhys Ulerich @email{rhys.ulerich@@gmail.com}} @* @w{Copyright @copyright{} 2018 John Zaitseff @email{J.Zaitseff@@zap.org.au}}
4371
4472 This program is free software; you can redistribute it and/or modify it
4573 under the terms of the GNU General Public License as published by the
0 @node ax_check_pcre2
1 @unnumberedsec ax_check_pcre2
2
3 @majorheading Synopsis
4
5 @smallexample
6 AX_CHECK_PCRE2([bits], [action-if-found], [action-if-not-found])
7 @end smallexample
8
9 @majorheading Description
10
11 Search for an installed libpcre2-8 library. If nothing was specified
12 when calling configure, it searches first in /usr/local and then in
13 /usr, /opt/local and /sw. If the --with-pcre2=DIR is specified, it will
14 try to find it in DIR/include/pcre2.h and DIR/lib/libpcre2-8. If
15 --without-pcre2 is specified, the library is not searched at all.
16
17 If 'bits' is empty or '8', PCRE2 8-bit character support is checked
18 only. If 'bits' contains '16', PCRE2 8-bit and 16-bit character support
19 are checked. If 'bits' contains '32', PCRE2 8-bit and 32-bit character
20 support are checked. When 'bits' contains both '16' and '32', PCRE2
21 8-bit, 16-bit, and 32-bit character support is checked.
22
23 If either the header file (pcre2.h), or the library (libpcre2-8) is not
24 found, or the specified PCRE2 character bit width is not supported,
25 shell commands 'action-if-not-found' is run. If 'action-if-not-found' is
26 not specified, the configuration exits on error, asking for a valid
27 PCRE2 installation directory or --without-pcre2.
28
29 If both header file and library are found, and the specified PCRE2 bit
30 widths are supported, shell commands 'action-if-found' is run. If
31 'action-if-found' is not specified, the default action appends
32 '-I$@{PCRE2_HOME@}/include' to CPFLAGS, appends '-L$PCRE2_HOME@}/lib' to
33 LDFLAGS, prepends '-lpcre2-8' to LIBS, and calls AC_DEFINE(HAVE_PCRE2).
34 You should use autoheader to include a definition for this symbol in a
35 config.h file. Sample usage in a C/C++ source is as follows:
36
37 @smallexample
38 #ifdef HAVE_PCRE2
39 #define PCRE2_CODE_UNIT_WIDTH 8
40 #include <pcre2.h>
41 #endif /* HAVE_PCRE2 */
42 @end smallexample
43
44 @majorheading Source Code
45
46 Download the
47 @uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pcre2.m4,latest
48 version of @file{ax_check_pcre2.m4}} or browse
49 @uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pcre2.m4,the
50 macro's revision history}.
51
52 @majorheading License
53
54 @w{Copyright @copyright{} 2020 Robert van Engelen @email{engelen@@acm.org}}
55
56 This program is free software; you can redistribute it and/or modify it
57 under the terms of the GNU General Public License as published by the
58 Free Software Foundation; either version 2 of the License, or (at your
59 option) any later version.
60
61 This program is distributed in the hope that it will be useful, but
62 WITHOUT ANY WARRANTY; without even the implied warranty of
63 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
64 Public License for more details.
65
66 You should have received a copy of the GNU General Public License along
67 with this program. If not, see <https://www.gnu.org/licenses/>.
68
69 As a special exception, the respective Autoconf Macro's copyright owner
70 gives unlimited permission to copy, distribute and modify the configure
71 scripts that are the output of Autoconf when processing the Macro. You
72 need not follow the terms of the GNU General Public License when using
73 or distributing such scripts, even though portions of the text of the
74 Macro appear in them. The GNU General Public License (GPL) does govern
75 all other use of the material that constitutes the Autoconf Macro.
76
77 This special exception to the GPL applies to versions of the Autoconf
78 Macro released by the Autoconf Archive. When you make and distribute a
79 modified version of the Autoconf Macro, you may extend this special
80 exception to the GPL to apply to your modified version as well.
88
99 @majorheading Description
1010
11 Determine the vendor of the C/C++ compiler, e.g., gnu, intel, ibm, sun,
12 hp, borland, comeau, dec, cray, kai, lcc, metrowerks, sgi, microsoft,
13 watcom, etc. The vendor is returned in the cache variable
14 $ax_cv_c_compiler_vendor for C and $ax_cv_cxx_compiler_vendor for C++.
11 Determine the vendor of the C, C++ or Fortran compiler. The vendor is
12 returned in the cache variable $ax_cv_c_compiler_vendor for C,
13 $ax_cv_cxx_compiler_vendor for C++ or $ax_cv_fc_compiler_vendor for
14 (modern) Fortran. The value is one of "intel", "ibm", "pathscale",
15 "clang" (LLVM), "cray", "fujitsu", "sdcc", "sx", "portland" (PGI), "gnu"
16 (GCC), "sun" (Oracle Developer Studio), "hp", "dec", "borland",
17 "comeau", "kai", "lcc", "sgi", "microsoft", "metrowerks", "watcom",
18 "tcc" (Tiny CC) or "unknown" (if the compiler cannot be determined).
19
20 To check for a Fortran compiler, you must first call AC_FC_PP_SRCEXT
21 with an appropriate preprocessor-enabled extension. For example:
22
23 @smallexample
24 AC_LANG_PUSH([Fortran])
25 AC_PROG_FC
26 AC_FC_PP_SRCEXT([F])
27 AX_COMPILER_VENDOR
28 AC_LANG_POP([Fortran])
29 @end smallexample
1530
1631 @majorheading Source Code
1732
2338
2439 @majorheading License
2540
26 @w{Copyright @copyright{} 2008 Steven G. Johnson @email{stevenj@@alum.mit.edu}} @* @w{Copyright @copyright{} 2008 Matteo Frigo}
41 @w{Copyright @copyright{} 2008 Steven G. Johnson @email{stevenj@@alum.mit.edu}} @* @w{Copyright @copyright{} 2008 Matteo Frigo} @* @w{Copyright @copyright{} 2018-19 John Zaitseff @email{J.Zaitseff@@zap.org.au}}
2742
2843 This program is free software: you can redistribute it and/or modify it
2944 under the terms of the GNU General Public License as published by the
88
99 @majorheading Description
1010
11 Find your CPU's vendor by requesting cpuid and define "ax_cpu_vendor"
11 Find your CPU's vendor by requesting cpuid and define "ax_cv_cpu_vendor"
1212 accordingly. This macro depends on AX_GCC_X86_CPUID.
1313
1414 @majorheading Source Code
1616 The second argument, if specified, indicates whether you insist on an
1717 extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
1818 -std=c++11). If neither is specified, you get whatever works, with
19 preference for an extended mode.
19 preference for no added switch, and then for an extended mode.
2020
2121 The third argument, if specified 'mandatory' or if left unspecified,
2222 indicates that baseline support for the specified C++ standard is
3535
3636 @majorheading License
3737
38 @w{Copyright @copyright{} 2008 Benjamin Kosnik @email{bkoz@@redhat.com}} @* @w{Copyright @copyright{} 2012 Zack Weinberg @email{zackw@@panix.com}} @* @w{Copyright @copyright{} 2013 Roy Stogner @email{roystgnr@@ices.utexas.edu}} @* @w{Copyright @copyright{} 2014, 2015 Google Inc.; contributed by Alexey Sokolov @email{sokolov@@google.com}} @* @w{Copyright @copyright{} 2015 Paul Norman @email{penorman@@mac.com}} @* @w{Copyright @copyright{} 2015 Moritz Klammler @email{moritz@@klammler.eu}} @* @w{Copyright @copyright{} 2016, 2018 Krzesimir Nowak @email{qdlacz@@gmail.com}}
38 @w{Copyright @copyright{} 2008 Benjamin Kosnik @email{bkoz@@redhat.com}} @* @w{Copyright @copyright{} 2012 Zack Weinberg @email{zackw@@panix.com}} @* @w{Copyright @copyright{} 2013 Roy Stogner @email{roystgnr@@ices.utexas.edu}} @* @w{Copyright @copyright{} 2014, 2015 Google Inc.; contributed by Alexey Sokolov @email{sokolov@@google.com}} @* @w{Copyright @copyright{} 2015 Paul Norman @email{penorman@@mac.com}} @* @w{Copyright @copyright{} 2015 Moritz Klammler @email{moritz@@klammler.eu}} @* @w{Copyright @copyright{} 2016, 2018 Krzesimir Nowak @email{qdlacz@@gmail.com}} @* @w{Copyright @copyright{} 2019 Enji Cooper @email{yaneurabeya@@gmail.com}} @* @w{Copyright @copyright{} 2020 Jason Merrill @email{jason@@redhat.com}}
3939
4040 Copying and distribution of this file, with or without modification, are
4141 permitted in any medium without royalty provided the copyright notice
3838 __builtin_clzll
3939 __builtin_complex
4040 __builtin_constant_p
41 __builtin_cpu_init
42 __builtin_cpu_is
43 __builtin_cpu_supports
4144 __builtin_ctz
4245 __builtin_ctzl
4346 __builtin_ctzll
4343 flatten
4444 format
4545 format_arg
46 gnu_format
4647 gnu_inline
4748 hot
4849 ifunc
2424 QT_LIBS
2525 QT_MOC
2626 QT_UIC
27 QT_RCC
2728 QT_LRELEASE
2829 QT_LUPDATE
2930 QT_DIR
0 @node ax_int128
1 @unnumberedsec ax_int128
2
3 @majorheading Synopsis
4
5 @smallexample
6 AX_HAVE_INT128
7 @end smallexample
8
9 @majorheading Description
10
11 Check whether the compiler provides __int128. If so, define HAVE_INT128.
12
13 Works with GCC >= 4.6.
14
15 TODO: Provide int128[u]_t & work with other compilers.
16
17 @majorheading Source Code
18
19 Download the
20 @uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_int128.m4,latest
21 version of @file{ax_int128.m4}} or browse
22 @uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_int128.m4,the
23 macro's revision history}.
24
25 @majorheading License
26
27 @w{Copyright @copyright{} 2019 Reuben Thomas @email{rrt@@sc3d.org}}
28
29 Copying and distribution of this file, with or without modification, are
30 permitted in any medium without royalty provided the copyright notice
31 and this notice are preserved. This file is offered as-is, without any
32 warranty.
2020 take the following values:
2121
2222 @smallexample
23 * git-directory: ax_is_release will be 'no' if a '.git' directory exists
23 * git-directory: ax_is_release will be 'no' if a '.git'
24 directory or git worktree exists
2425 * minor-version: ax_is_release will be 'no' if the minor version number
2526 in $PACKAGE_VERSION is odd; this assumes
2627 $PACKAGE_VERSION follows the 'major.minor.micro' scheme
4646
4747 @majorheading License
4848
49 @w{Copyright @copyright{} 2009 Steven G. Johnson @email{stevenj@@alum.mit.edu}}
49 @w{Copyright @copyright{} 2009 Steven G. Johnson @email{stevenj@@alum.mit.edu}} @* @w{Copyright @copyright{} 2019 Geoffrey M. Oxberry @email{goxberry@@gmail.com}}
5050
5151 This program is free software: you can redistribute it and/or modify it
5252 under the terms of the GNU General Public License as published by the
0 @node ax_prepend_flag
1 @unnumberedsec ax_prepend_flag
2
3 @majorheading Synopsis
4
5 @smallexample
6 AX_PREPEND_FLAG(FLAG, [FLAGS-VARIABLE])
7 @end smallexample
8
9 @majorheading Description
10
11 FLAG is added to the front of the FLAGS-VARIABLE shell variable, with a
12 space added in between.
13
14 If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
15 CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains
16 FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly
17 FLAG.
18
19 NOTE: Implementation based on AX_APPEND_FLAG.
20
21 @majorheading Source Code
22
23 Download the
24 @uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prepend_flag.m4,latest
25 version of @file{ax_prepend_flag.m4}} or browse
26 @uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prepend_flag.m4,the
27 macro's revision history}.
28
29 @majorheading License
30
31 @w{Copyright @copyright{} 2008 Guido U. Draheim @email{guidod@@gmx.de}} @* @w{Copyright @copyright{} 2011 Maarten Bosmans @email{mkbosmans@@gmail.com}} @* @w{Copyright @copyright{} 2018 John Zaitseff @email{J.Zaitseff@@zap.org.au}}
32
33 Copying and distribution of this file, with or without modification, are
34 permitted in any medium without royalty provided the copyright notice
35 and this notice are preserved. This file is offered as-is, without any
36 warranty.
0 @node ax_prog_robot
1 @unnumberedsec ax_prog_robot
2
3 @majorheading Synopsis
4
5 @smallexample
6 AX_PROG_ROBOT([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
7 @end smallexample
8
9 @majorheading Description
10
11 This macro searches for the "robot" command from the Robot Framework and
12 sets the variable "ROBOT" to the name of the application and the
13 "ROBOT_VERSION" variable to the version of the Robot Framework. When
14 robot is found sets the "HAS_ROBOT" to "yes", otherwise to "no".
15
16 Example:
17
18 @smallexample
19 AX_PROG_ROBOT([3.1.0], [], [])
20 @end smallexample
21
22 @majorheading Source Code
23
24 Download the
25 @uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_robot.m4,latest
26 version of @file{ax_prog_robot.m4}} or browse
27 @uref{http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_robot.m4,the
28 macro's revision history}.
29
30 @majorheading License
31
32 @w{Copyright @copyright{} 2020, Adam Chyla @email{adam@@chyla.org}}
33
34 Distributed under the terms of the BSD 3-Clause License.
1414 flags that are needed. (The user can also force certain compiler
1515 flags/libs to be tested by setting these environment variables.)
1616
17 Also sets PTHREAD_CC to any special C compiler that is needed for
18 multi-threaded programs (defaults to the value of CC otherwise). (This
19 is necessary on AIX to use the special cc_r compiler alias.)
17 Also sets PTHREAD_CC and PTHREAD_CXX to any special C compiler that is
18 needed for multi-threaded programs (defaults to the value of CC
19 respectively CXX otherwise). (This is necessary on e.g. AIX to use the
20 special cc_r/CC_r compiler alias.)
2021
2122 NOTE: You are assumed to not only compile your program with these flags,
2223 but also to link with them as well. For example, you might link with
2324 $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
25 $PTHREAD_CXX $CXXFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
2426
2527 If you are only building threaded programs, you may wish to use these
2628 variables in your default LIBS, CFLAGS, and CC:
2830 @smallexample
2931 LIBS="$PTHREAD_LIBS $LIBS"
3032 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
33 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
3134 CC="$PTHREAD_CC"
35 CXX="$PTHREAD_CXX"
3236 @end smallexample
3337
3438 In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
6367
6468 @majorheading License
6569
66 @w{Copyright @copyright{} 2008 Steven G. Johnson @email{stevenj@@alum.mit.edu}} @* @w{Copyright @copyright{} 2011 Daniel Richard G. @email{skunk@@iSKUNK.ORG}}
70 @w{Copyright @copyright{} 2008 Steven G. Johnson @email{stevenj@@alum.mit.edu}} @* @w{Copyright @copyright{} 2011 Daniel Richard G. @email{skunk@@iSKUNK.ORG}} @* @w{Copyright @copyright{} 2019 Marc Stevens @email{marc.stevens@@cwi.nl}}
6771
6872 This program is free software: you can redistribute it and/or modify it
6973 under the terms of the GNU General Public License as published by the
3838 arguments' expect their arguments to be of the form --option-name=value.
3939
4040 This macro aims to remain as close as possible to the AC_CONFIG_SUBDIRS
41 macro. It corrects the paths for '--cache-file' and '--srcdir' and adds
42 '--disable-option-checking' and '--silent' if necessary.
41 macro. It corrects the paths for '--srcdir' and adds
42 '--disable-option-checking' and '--silent' if necessary. However, it
43 does not change the '--cache-file' argument: typically, configure
44 scripts run with different arguments will not be able to share the same
45 cache. If you wish to share a single cache, you should give an absolute
46 path to '--cache-file'.
4347
4448 This macro also sets the output variable subdirs_extra to the list of
4549 directories recorded with AX_SUBDIRS_CONFIGURE. This variable can be
0 @set UPDATED 20 March 2016
1 @set UPDATED-MONTH March 2016
2 @set EDITION 2019.01.06
3 @set VERSION 2019.01.06
0 @set UPDATED 19 February 2021
1 @set UPDATED-MONTH February 2021
2 @set EDITION 2021.02.19
3 @set VERSION 2021.02.19
0 @set UPDATED 20 March 2016
1 @set UPDATED-MONTH March 2016
2 @set EDITION 2019.01.06
3 @set VERSION 2019.01.06
0 @set UPDATED 19 February 2021
1 @set UPDATED-MONTH February 2021
2 @set EDITION 2021.02.19
3 @set VERSION 2021.02.19
2626 # and this notice are preserved. This file is offered as-is, without any
2727 # warranty.
2828
29 #serial 7
29 #serial 8
3030
3131 dnl Copyright (C) 2006, 2007 Free Software Foundation, Inc.
3232 dnl This file is free software; the Free Software Foundation
3939 AU_ALIAS([GL_TRILINOS_ABSOLUTE_HEADER], [AX_ABSOLUTE_HEADER])
4040 AC_DEFUN([AX_ABSOLUTE_HEADER],
4141 [AC_LANG_PREPROC_REQUIRE()dnl
42 AC_FOREACH([gl_HEADER_NAME], [$1],
42 m4_foreach_w([gl_HEADER_NAME], [$1],
4343 [AS_VAR_PUSHDEF([gl_absolute_header],
4444 [gl_cv_absolute_]m4_quote(m4_defn([gl_HEADER_NAME])))dnl
4545 AC_CACHE_CHECK([absolute name of <]m4_quote(m4_defn([gl_HEADER_NAME]))[>],
88 # DESCRIPTION
99 #
1010 # Check whether -D_FORTIFY_SOURCE=2 can be added to CPPFLAGS without macro
11 # redefinition warnings. Some distributions (such as Gentoo Linux) enable
12 # _FORTIFY_SOURCE globally in their compilers, leading to unnecessary
13 # warnings in the form of
11 # redefinition warnings, other cpp warnings or linker. Some distributions
12 # (such as Gentoo Linux) enable _FORTIFY_SOURCE globally in their
13 # compilers, leading to unnecessary warnings in the form of
1414 #
1515 # <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
1616 # <built-in>: note: this is the location of the previous definition
1919 # _FORTIFY_SOURCE is already defined, and if not, adds -D_FORTIFY_SOURCE=2
2020 # to CPPFLAGS.
2121 #
22 # Newer mingw-w64 msys2 package comes with a bug in
23 # headers-git-7.0.0.5546.d200317d-1. It broke -D_FORTIFY_SOURCE support,
24 # and would need -lssp or -fstack-protector. See
25 # https://github.com/msys2/MINGW-packages/issues/5803. Try to actually
26 # link it.
27 #
2228 # LICENSE
2329 #
2430 # Copyright (c) 2017 David Seifert <soap@gentoo.org>
31 # Copyright (c) 2019 Reini Urban <rurban@cpan.org>
2532 #
2633 # Copying and distribution of this file, with or without modification, are
2734 # permitted in any medium without royalty provided the copyright notice
2835 # and this notice are preserved. This file is offered as-is, without any
2936 # warranty.
3037
31 #serial 2
38 #serial 4
3239
3340 AC_DEFUN([AX_ADD_FORTIFY_SOURCE],[
41 ac_save_cflags=$CFLAGS
42 ac_cwerror_flag=yes
43 AX_CHECK_COMPILE_FLAG([-Werror],[CFLAGS="$CFLAGS -Werror"])
3444 AC_MSG_CHECKING([whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS])
3545 AC_LINK_IFELSE([
36 AC_LANG_SOURCE(
46 AC_LANG_PROGRAM([],
3747 [[
38 int main() {
3948 #ifndef _FORTIFY_SOURCE
4049 return 0;
4150 #else
4251 this_is_an_error;
4352 #endif
53 ]]
54 )],
55 AC_LINK_IFELSE([
56 AC_LANG_SOURCE([[
57 #define _FORTIFY_SOURCE 2
58 #include <string.h>
59 int main() {
60 char *s = " ";
61 strcpy(s, "x");
62 return strlen(s)-1;
4463 }
45 ]]
46 )], [
47 AC_MSG_RESULT([yes])
48 CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
49 ], [
50 AC_MSG_RESULT([no])
51 ])
64 ]]
65 )],
66 [
67 AC_MSG_RESULT([yes])
68 CFLAGS=$ac_save_cflags
69 CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
70 ], [
71 AC_MSG_RESULT([no])
72 CFLAGS=$ac_save_cflags
73 ],
74 ),
75 [
76 AC_MSG_RESULT([no])
77 CFLAGS=$ac_save_cflags
78 ])
5279 ])
3535 # LICENSE
3636 #
3737 # Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
38 # Copyright (c) 2019 Geoffrey M. Oxberry <goxberry@gmail.com>
3839 #
3940 # This program is free software: you can redistribute it and/or modify it
4041 # under the terms of the GNU General Public License as published by the
6263 # modified version of the Autoconf Macro, you may extend this special
6364 # exception to the GPL to apply to your modified version as well.
6465
65 #serial 16
66 #serial 17
6667
6768 AU_ALIAS([ACX_BLAS], [AX_BLAS])
6869 AC_DEFUN([AX_BLAS], [
7677 case $with_blas in
7778 yes | "") ;;
7879 no) ax_blas_ok=disable ;;
79 -* | */* | *.a | *.so | *.so.* | *.o) BLAS_LIBS="$with_blas" ;;
80 -* | */* | *.a | *.so | *.so.* | *.dylib | *.dylib.* | *.o)
81 BLAS_LIBS="$with_blas"
82 ;;
8083 *) BLAS_LIBS="-l$with_blas" ;;
8184 esac
8285
2929 # and this notice are preserved. This file is offered as-is, without any
3030 # warranty.
3131
32 #serial 17
32 #serial 18
3333
3434 AC_DEFUN([AX_BOOST_ASIO],
3535 [
9696
9797 fi
9898 if test "x$ax_lib" = "x"; then
99 AC_MSG_ERROR(Could not find a version of the library!)
99 AC_MSG_ERROR(Could not find a version of the Boost::Asio library!)
100100 fi
101101 if test "x$link_asio" = "xno"; then
102102 AC_MSG_ERROR(Could not link against $ax_lib !)
3232 # and this notice are preserved. This file is offered as-is, without any
3333 # warranty.
3434
35 #serial 45
35 #serial 49
3636
3737 # example boost program (need to pass version)
3838 m4_define([_AX_BOOST_BASE_PROGRAM],
112112 dnl are found, e.g. when only header-only libraries are installed!
113113 AS_CASE([${host_cpu}],
114114 [x86_64],[libsubdirs="lib64 libx32 lib lib64"],
115 [ppc64|powerpc64|s390x|sparc64|aarch64|ppc64le|powerpc64le|riscv64],[libsubdirs="lib64 lib lib64"],
115 [mips*64*],[libsubdirs="lib64 lib32 lib lib64"],
116 [ppc64|powerpc64|s390x|sparc64|aarch64|ppc64le|powerpc64le|riscv64|e2k],[libsubdirs="lib64 lib lib64"],
116117 [libsubdirs="lib"]
117118 )
118119
121122 dnl are almost assuredly the ones desired.
122123 AS_CASE([${host_cpu}],
123124 [i?86],[multiarch_libsubdir="lib/i386-${host_os}"],
125 [armv7l],[multiarch_libsubdir="lib/arm-${host_os}"],
124126 [multiarch_libsubdir="lib/${host_cpu}-${host_os}"]
125127 )
126128
2828 # and this notice are preserved. This file is offered as-is, without any
2929 # warranty.
3030
31 #serial 4
31 #serial 5
3232
3333 AC_DEFUN([AX_BOOST_CHRONO],
3434 [
104104
105105 fi
106106 if test "x$ax_lib" = "x"; then
107 AC_MSG_ERROR(Could not find a version of the library!)
107 AC_MSG_ERROR(Could not find a version of the Boost::Chrono library!)
108108 fi
109109 if test "x$link_chrono" = "xno"; then
110110 AC_MSG_ERROR(Could not link against $ax_lib !)
3030 # and this notice are preserved. This file is offered as-is, without any
3131 # warranty.
3232
33 #serial 2
33 #serial 3
3434
3535 AC_DEFUN([AX_BOOST_CONTEXT],
3636 [
107107 fi
108108
109109 if test "x$ax_lib" = "x"; then
110 AC_MSG_ERROR(Could not find a version of the library!)
110 AC_MSG_ERROR(Could not find a version of the Boost::Context library!)
111111 fi
112112
113113 if test "x$link_context" = "xno"; then
3030 # and this notice are preserved. This file is offered as-is, without any
3131 # warranty.
3232
33 #serial 2
33 #serial 3
3434
3535 AC_DEFUN([AX_BOOST_COROUTINE],
3636 [
107107 fi
108108
109109 if test "x$ax_lib" = "x"; then
110 AC_MSG_ERROR(Could not find a version of the library!)
110 AC_MSG_ERROR(Could not find a version of the Boost::Coroutine library!)
111111 fi
112112
113113 if test "x$link_coroutine" = "xno"; then
2929 # and this notice are preserved. This file is offered as-is, without any
3030 # warranty.
3131
32 #serial 22
32 #serial 23
3333
3434 AC_DEFUN([AX_BOOST_DATE_TIME],
3535 [
9999
100100 fi
101101 if test "x$ax_lib" = "x"; then
102 AC_MSG_ERROR(Could not find a version of the library!)
102 AC_MSG_ERROR(Could not find a version of the Boost::Date_Time library!)
103103 fi
104104 if test "x$link_date_time" != "xyes"; then
105105 AC_MSG_ERROR(Could not link against $ax_lib !)
3030 # and this notice are preserved. This file is offered as-is, without any
3131 # warranty.
3232
33 #serial 27
33 #serial 28
3434
3535 AC_DEFUN([AX_BOOST_FILESYSTEM],
3636 [
103103
104104 fi
105105 if test "x$ax_lib" = "x"; then
106 AC_MSG_ERROR(Could not find a version of the library!)
106 AC_MSG_ERROR(Could not find a version of the Boost::Filesystem library!)
107107 fi
108108 if test "x$link_filesystem" != "xyes"; then
109109 AC_MSG_ERROR(Could not link against $ax_lib !)
2828 # and this notice are preserved. This file is offered as-is, without any
2929 # warranty.
3030
31 #serial 21
31 #serial 22
3232
3333 AC_DEFUN([AX_BOOST_IOSTREAMS],
3434 [
102102
103103 fi
104104 if test "x$ax_lib" = "x"; then
105 AC_MSG_ERROR(Could not find a version of the library!)
105 AC_MSG_ERROR(Could not find a version of the Boost::IOStreams library!)
106106 fi
107107 if test "x$link_iostreams" != "xyes"; then
108108 AC_MSG_ERROR(Could not link against $ax_lib !)
2828 # and this notice are preserved. This file is offered as-is, without any
2929 # warranty.
3030
31 #serial 2
31 #serial 3
3232
3333 AC_DEFUN([AX_BOOST_LOCALE],
3434 [
105105
106106 fi
107107 if test "x$ax_lib" = "x"; then
108 AC_MSG_ERROR(Could not find a version of the library!)
108 AC_MSG_ERROR(Could not find a version of the Boost::Locale library!)
109109 fi
110110 if test "x$link_locale" = "xno"; then
111111 AC_MSG_ERROR(Could not link against $ax_lib !)
3030 # and this notice are preserved. This file is offered as-is, without any
3131 # warranty.
3232
33 #serial 2
33 #serial 3
3434
3535 AC_DEFUN([AX_BOOST_LOG],
3636 [
107107 fi
108108
109109 if test "x$ax_lib" = "x"; then
110 AC_MSG_ERROR(Could not find a version of the library!)
110 AC_MSG_ERROR(Could not find a version of the Boost::Log library!)
111111 fi
112112
113113 if test "x$link_log" = "xno"; then
3030 # and this notice are preserved. This file is offered as-is, without any
3131 # warranty.
3232
33 #serial 2
33 #serial 3
3434
3535 AC_DEFUN([AX_BOOST_LOG_SETUP],
3636 [
9999 fi
100100
101101 if test "x$ax_lib" = "x"; then
102 AC_MSG_ERROR(Could not find a version of the library!)
102 AC_MSG_ERROR(Could not find a version of the Boost::Log_Setup library!)
103103 fi
104104
105105 if test "x$link_log_setup" = "xno"; then
0 # ===========================================================================
1 # https://www.gnu.org/software/autoconf-archive/ax_boost_process.html
2 # ===========================================================================
3 #
4 # SYNOPSIS
5 #
6 # AX_BOOST_PROCESS
7 #
8 # DESCRIPTION
9 #
10 # Test for Process library from the Boost C++ libraries. The macro
11 # requires a preceding call to AX_BOOST_BASE. Further documentation is
12 # available at <http://randspringer.de/boost/index.html>.
13 #
14 # This macro calls:
15 #
16 # AC_SUBST(BOOST_PROCESS_LIB)
17 #
18 # And sets:
19 #
20 # HAVE_BOOST_PROCESS
21 #
22 # LICENSE
23 #
24 # Copyright (c) 2008 Thomas Porschberg <thomas@randspringer.de>
25 # Copyright (c) 2008 Michael Tindal
26 # Copyright (c) 2008 Daniel Casimiro <dan.casimiro@gmail.com>
27 #
28 # Copying and distribution of this file, with or without modification, are
29 # permitted in any medium without royalty provided the copyright notice
30 # and this notice are preserved. This file is offered as-is, without any
31 # warranty.
32
33 #serial 2
34
35 AC_DEFUN([AX_BOOST_PROCESS],
36 [
37 AC_ARG_WITH([boost-process],
38 AS_HELP_STRING([--with-boost-process@<:@=special-lib@:>@],
39 [use the Process library from boost - it is possible to specify a certain library for the linker
40 e.g. --with-boost-process=boost_process-gcc-mt ]),
41 [
42 if test "$withval" = "no"; then
43 want_boost_process="no"
44 elif test "$withval" = "yes"; then
45 want_boost_process="yes"
46 ax_boost_user_process_lib=""
47 else
48 want_boost_process="yes"
49 ax_boost_user_process_lib="$withval"
50 fi
51 ],
52 [want_boost_process="yes"]
53 )
54
55 if test "x$want_boost_process" = "xyes"; then
56 AC_REQUIRE([AC_PROG_CC])
57 AC_REQUIRE([AC_CANONICAL_BUILD])
58 CPPFLAGS_SAVED="$CPPFLAGS"
59 CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
60 export CPPFLAGS
61
62 LDFLAGS_SAVED="$LDFLAGS"
63 LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
64 export LDFLAGS
65
66 AC_CACHE_CHECK(whether the Boost::Process library is available,
67 ax_cv_boost_process,
68 [AC_LANG_PUSH([C++])
69 CXXFLAGS_SAVE=$CXXFLAGS
70 CXXFLAGS=
71
72 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <boost/process.hpp>]],
73 [[boost::process::child* child = new boost::process::child; delete child;]])],
74 ax_cv_boost_process=yes, ax_cv_boost_process=no)
75 CXXFLAGS=$CXXFLAGS_SAVE
76 AC_LANG_POP([C++])
77 ])
78 if test "x$ax_cv_boost_process" = "xyes"; then
79 AC_SUBST(BOOST_CPPFLAGS)
80
81 AC_DEFINE(HAVE_BOOST_PROCESS,,[define if the Boost::Process library is available])
82 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
83
84 LDFLAGS_SAVE=$LDFLAGS
85 if test "x$ax_boost_user_process_lib" = "x"; then
86 for libextension in `ls -r $BOOSTLIBDIR/libboost_process* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do
87 ax_lib=${libextension}
88 AC_CHECK_LIB($ax_lib, exit,
89 [BOOST_PROCESS_LIB="-l$ax_lib"; AC_SUBST(BOOST_PROCESS_LIB) link_process="yes"; break],
90 [link_process="no"])
91 done
92 if test "x$link_process" != "xyes"; then
93 for libextension in `ls -r $BOOSTLIBDIR/boost_process* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do
94 ax_lib=${libextension}
95 AC_CHECK_LIB($ax_lib, exit,
96 [BOOST_PROCESS_LIB="-l$ax_lib"; AC_SUBST(BOOST_PROCESS_LIB) link_process="yes"; break],
97 [link_process="no"])
98 done
99 fi
100
101 else
102 for ax_lib in $ax_boost_user_process_lib boost_process-$ax_boost_user_process_lib; do
103 AC_CHECK_LIB($ax_lib, exit,
104 [BOOST_PROCESS_LIB="-l$ax_lib"; AC_SUBST(BOOST_PROCESS_LIB) link_process="yes"; break],
105 [link_process="no"])
106 done
107
108 fi
109 if test "x$ax_lib" = "x"; then
110 AC_MSG_ERROR(Could not find a version of the Boost::Process library!)
111 fi
112 if test "x$link_process" = "xno"; then
113 AC_MSG_ERROR(Could not link against $ax_lib !)
114 fi
115 fi
116
117 CPPFLAGS="$CPPFLAGS_SAVED"
118 LDFLAGS="$LDFLAGS_SAVED"
119 fi
120 ])
2828 # and this notice are preserved. This file is offered as-is, without any
2929 # warranty.
3030
31 #serial 25
31 #serial 26
3232
3333 AC_DEFUN([AX_BOOST_PROGRAM_OPTIONS],
3434 [
9595 done
9696 fi
9797 if test "x$ax_lib" = "x"; then
98 AC_MSG_ERROR(Could not find a version of the library!)
98 AC_MSG_ERROR(Could not find a version of the Boost::Program_Options library!)
9999 fi
100100 if test "x$link_program_options" != "xyes"; then
101101 AC_MSG_ERROR([Could not link against [$ax_lib] !])
5252 # modified version of the Autoconf Macro, you may extend this special
5353 # exception to the GPL to apply to your modified version as well.
5454
55 #serial 22
55 #serial 23
5656
5757 AC_DEFUN([AX_BOOST_PYTHON],
5858 [AC_REQUIRE([AX_PYTHON_DEVEL])dnl
108108 BOOST_PYTHON_MODULE(test) { throw "Boost::Python test."; }]], [])],
109109 [AS_VAR_SET([ax_Lib], [yes])],
110110 [AS_VAR_SET([ax_Lib], [no])])])
111 AS_VAR_IF([ax_Lib], [yes], [BOOST_PYTHON_LIB=$ax_lib break], [])
111 AS_VAR_IF([ax_Lib], [yes], [BOOST_PYTHON_LIB=-l$ax_lib break], [])
112112 AS_VAR_POPDEF([ax_Lib])dnl
113113 done
114114 AC_SUBST(BOOST_PYTHON_LIB)
2828 # and this notice are preserved. This file is offered as-is, without any
2929 # warranty.
3030
31 #serial 22
31 #serial 24
3232
3333 AC_DEFUN([AX_BOOST_SERIALIZATION],
3434 [
7878 if test "x$ax_cv_boost_serialization" = "xyes"; then
7979 AC_DEFINE(HAVE_BOOST_SERIALIZATION,,[define if the Boost::Serialization library is available])
8080 BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
81 ax_lib=
8182 if test "x$ax_boost_user_serialization_lib" = "x"; then
8283 for libextension in `ls $BOOSTLIBDIR/libboost_serialization*.so* $BOOSTLIBDIR/libboost_serialization*.dylib* $BOOSTLIBDIR/libboost_serialization*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_serialization.*\)\.so.*$;\1;' -e 's;^lib\(boost_serialization.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_serialization.*\)\.a*$;\1;'` ; do
8384 ax_lib=${libextension}
103104
104105 fi
105106 if test "x$ax_lib" = "x"; then
106 AC_MSG_ERROR(Could not find a version of the library!)
107 AC_MSG_ERROR(Could not find a version of the Boost::Serialization library!)
107108 fi
108109 if test "x$link_serialization" != "xyes"; then
109110 AC_MSG_ERROR(Could not link against $ax_lib !)
2929 # and this notice are preserved. This file is offered as-is, without any
3030 # warranty.
3131
32 #serial 22
32 #serial 23
3333
3434 AC_DEFUN([AX_BOOST_SIGNALS],
3535 [
100100
101101 fi
102102 if test "x$ax_lib" = "x"; then
103 AC_MSG_ERROR(Could not find a version of the library!)
103 AC_MSG_ERROR(Could not find a version of the Boost::Signals library!)
104104 fi
105105 if test "x$link_signals" != "xyes"; then
106106 AC_MSG_ERROR(Could not link against $ax_lib !)
3030 # and this notice are preserved. This file is offered as-is, without any
3131 # warranty.
3232
33 #serial 19
33 #serial 20
3434
3535 AC_DEFUN([AX_BOOST_SYSTEM],
3636 [
107107
108108 fi
109109 if test "x$ax_lib" = "x"; then
110 AC_MSG_ERROR(Could not find a version of the library!)
110 AC_MSG_ERROR(Could not find a version of the Boost::System library!)
111111 fi
112112 if test "x$link_system" = "xno"; then
113113 AC_MSG_ERROR(Could not link against $ax_lib !)
2929 # and this notice are preserved. This file is offered as-is, without any
3030 # warranty.
3131
32 #serial 21
32 #serial 22
3333
3434 AC_DEFUN([AX_BOOST_TEST_EXEC_MONITOR],
3535 [
125125 done
126126 fi
127127 if test "x$ax_lib" = "x"; then
128 AC_MSG_ERROR(Could not find a version of the library!)
128 AC_MSG_ERROR(Could not find a version of the Boost::Test_Exec_Monitor library!)
129129 fi
130130 if test "x$link_test_exec_monitor" != "xyes"; then
131131 AC_MSG_ERROR(Could not link against $ax_lib !)
2929 # and this notice are preserved. This file is offered as-is, without any
3030 # warranty.
3131
32 #serial 31
32 #serial 33
3333
3434 AC_DEFUN([AX_BOOST_THREAD],
3535 [
6666 [AC_LANG_PUSH([C++])
6767 CXXFLAGS_SAVE=$CXXFLAGS
6868
69 if test "x$host_os" = "xsolaris" ; then
70 CXXFLAGS="-pthreads $CXXFLAGS"
71 elif test "x$host_os" = "xmingw32" ; then
72 CXXFLAGS="-mthreads $CXXFLAGS"
73 else
74 CXXFLAGS="-pthread $CXXFLAGS"
75 fi
69 case "x$host_os" in
70 xsolaris )
71 CXXFLAGS="-pthreads $CXXFLAGS"
72 break;
73 ;;
74 xmingw32 )
75 CXXFLAGS="-mthreads $CXXFLAGS"
76 break;
77 ;;
78 *android* )
79 break;
80 ;;
81 * )
82 CXXFLAGS="-pthread $CXXFLAGS"
83 break;
84 ;;
85 esac
86
7687 AC_COMPILE_IFELSE([
7788 AC_LANG_PROGRAM(
7889 [[@%:@include <boost/thread/thread.hpp>]],
8394 AC_LANG_POP([C++])
8495 ])
8596 if test "x$ax_cv_boost_thread" = "xyes"; then
86 if test "x$host_os" = "xsolaris" ; then
87 BOOST_CPPFLAGS="-pthreads $BOOST_CPPFLAGS"
88 elif test "x$host_os" = "xmingw32" ; then
89 BOOST_CPPFLAGS="-mthreads $BOOST_CPPFLAGS"
90 else
91 BOOST_CPPFLAGS="-pthread $BOOST_CPPFLAGS"
92 fi
97 case "x$host_os" in
98 xsolaris )
99 BOOST_CPPFLAGS="-pthreads $BOOST_CPPFLAGS"
100 break;
101 ;;
102 xmingw32 )
103 BOOST_CPPFLAGS="-mthreads $BOOST_CPPFLAGS"
104 break;
105 ;;
106 *android* )
107 break;
108 ;;
109 * )
110 BOOST_CPPFLAGS="-pthread $BOOST_CPPFLAGS"
111 break;
112 ;;
113 esac
93114
94115 AC_SUBST(BOOST_CPPFLAGS)
95116
129150
130151 fi
131152 if test "x$ax_lib" = "x"; then
132 AC_MSG_ERROR(Could not find a version of the library!)
153 AC_MSG_ERROR(Could not find a version of the Boost::Thread library!)
133154 fi
134155 if test "x$link_thread" = "xno"; then
135156 AC_MSG_ERROR(Could not link against $ax_lib !)
147168 xmingw32 )
148169 break;
149170 ;;
171 *android* )
172 break;
173 ;;
150174 * )
151175 BOOST_THREAD_LIB="$BOOST_THREAD_LIB -lpthread"
152176 break;
2828 # and this notice are preserved. This file is offered as-is, without any
2929 # warranty.
3030
31 #serial 21
31 #serial 22
3232
3333 AC_DEFUN([AX_BOOST_UNIT_TEST_FRAMEWORK],
3434 [
123123 done
124124 fi
125125 if test "x$ax_lib" = "x"; then
126 AC_MSG_ERROR(Could not find a version of the library!)
126 AC_MSG_ERROR(Could not find a version of the Boost::Unit_Test_Framework library!)
127127 fi
128128 if test "x$link_unit_test_framework" != "xyes"; then
129129 AC_MSG_ERROR(Could not link against $ax_lib !)
2929 # and this notice are preserved. This file is offered as-is, without any
3030 # warranty.
3131
32 #serial 16
32 #serial 17
3333
3434 AC_DEFUN([AX_BOOST_WAVE],
3535 [
103103 done
104104 fi
105105 if test "x$ax_lib" = "x"; then
106 AC_MSG_ERROR(Could not find a version of the library!)
106 AC_MSG_ERROR(Could not find a version of the Boost::Wave library!)
107107 fi
108108 if test "x$link_wave" != "xyes"; then
109109 AC_MSG_ERROR(Could not link against $ax_lib !)
2828 # and this notice are preserved. This file is offered as-is, without any
2929 # warranty.
3030
31 #serial 21
31 #serial 22
3232
3333 AC_DEFUN([AX_BOOST_WSERIALIZATION],
3434 [
102102
103103 fi
104104 if test "x$ax_lib" = "x"; then
105 AC_MSG_ERROR(Could not find a version of the library!)
105 AC_MSG_ERROR(Could not find a version of the Boost::WSerialization library!)
106106 fi
107107 if test "x$link_wserialization" != "xyes"; then
108108 AC_MSG_ERROR(Could not link against $ax_lib !)
2020 # and this notice are preserved. This file is offered as-is, without any
2121 # warranty.
2222
23 #serial 9
23 #serial 10
2424
2525 AC_DEFUN([AX_C_ARITHMETIC_RSHIFT], [
2626 AC_CACHE_CHECK([whether right shift operation is arithmetic],
2727 [ax_cv_c_arithmetic_rshift],
28 [AC_COMPILE_IFELSE([[int dummy[((-1 >> 1) < 0) ? 1 : -1];]],
28 [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int dummy[((-1 >> 1) < 0) ? 1 : -1];]])],
2929 [ax_cv_c_arithmetic_rshift=yes],
3030 [ax_cv_c_arithmetic_rshift=no])])
3131 if test "x$ax_cv_c_arithmetic_rshift" = xyes; then
5454 # modified version of the Autoconf Macro, you may extend this special
5555 # exception to the GPL to apply to your modified version as well.
5656
57 #serial 17
57 #serial 18
5858
5959 AC_DEFUN([AX_CC_MAXOPT],
6060 [
6767
6868 # Try to determine "good" native compiler flags if none specified via CFLAGS
6969 if test "$ac_test_CFLAGS" != "set"; then
70 CFLAGS=""
7170 case $ax_cv_c_compiler_vendor in
72 dec) CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host"
71 dec) CFLAGS="$CFLAGS -newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host"
7372 if test "x$acx_maxopt_portable" = xno; then
7473 CFLAGS="$CFLAGS -arch host"
7574 fi;;
7675
77 sun) CFLAGS="-native -fast -xO5 -dalign"
76 sun) CFLAGS="$CFLAGS -native -fast -xO5 -dalign"
7877 if test "x$acx_maxopt_portable" = xyes; then
7978 CFLAGS="$CFLAGS -xarch=generic"
8079 fi;;
8180
82 hp) CFLAGS="+Oall +Optrs_ansi +DSnative"
81 hp) CFLAGS="$CFLAGS +Oall +Optrs_ansi +DSnative"
8382 if test "x$acx_maxopt_portable" = xyes; then
8483 CFLAGS="$CFLAGS +DAportable"
8584 fi;;
9089 xlc_opt="-qtune=auto"
9190 fi
9291 AX_CHECK_COMPILE_FLAG($xlc_opt,
93 CFLAGS="-O3 -qansialias -w $xlc_opt",
94 [CFLAGS="-O3 -qansialias -w"
92 CFLAGS="$CFLAGS -O3 -qansialias -w $xlc_opt",
93 [CFLAGS="$CFLAGS -O3 -qansialias -w"
9594 echo "******************************************************"
9695 echo "* You seem to have the IBM C compiler. It is *"
9796 echo "* recommended for best performance that you use: *"
104103 echo "******************************************************"])
105104 ;;
106105
107 intel) CFLAGS="-O3 -ansi_alias"
106 intel) CFLAGS="$CFLAGS -O3 -ansi_alias"
108107 if test "x$acx_maxopt_portable" = xno; then
109108 icc_archflag=unknown
110109 icc_flags=""
145144
146145 gnu)
147146 # default optimization flags for gcc on all systems
148 CFLAGS="-O3 -fomit-frame-pointer"
147 CFLAGS="$CFLAGS -O3 -fomit-frame-pointer"
149148
150149 # -malign-double for x86 systems
151150 AX_CHECK_COMPILE_FLAG(-malign-double, CFLAGS="$CFLAGS -malign-double")
162161
163162 microsoft)
164163 # default optimization flags for MSVC opt builds
165 CFLAGS="-O2"
164 CFLAGS="$CFLAGS -O2"
166165 ;;
167166 esac
168167
174173 echo "* (otherwise, a default of CFLAGS=-O3 will be used) *"
175174 echo "********************************************************"
176175 echo ""
177 CFLAGS="-O3"
176 CFLAGS="$CFLAGS -O3"
178177 fi
179178
180179 AX_CHECK_COMPILE_FLAG($CFLAGS, [], [
185184 echo "* Use ./configure CFLAGS=... to specify your own flags *"
186185 echo "********************************************************"
187186 echo ""
188 CFLAGS=""
189187 ])
190188
191189 fi
33 #
44 # SYNOPSIS
55 #
6 # AX_CFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])]
7 # AX_CXXFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])]
8 # AX_FCFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])]
6 # AX_CFLAGS_WARN_ALL [(shellvar[, default[, action-if-found[, action-if-not-found]]])]
7 # AX_CXXFLAGS_WARN_ALL [(shellvar[, default[, action-if-found[, action-if-not-found]]])]
8 # AX_FCFLAGS_WARN_ALL [(shellvar[, default[, action-if-found[, action-if-not-found]]])]
99 #
1010 # DESCRIPTION
1111 #
12 # Try to find a compiler option that enables most reasonable warnings.
12 # Specify compiler options that enable most reasonable warnings. For the
13 # GNU Compiler Collection (GCC), for example, it will be "-Wall". The
14 # result is added to shellvar, one of CFLAGS, CXXFLAGS or FCFLAGS if the
15 # first parameter is not specified.
1316 #
14 # For the GNU compiler it will be -Wall (and -ansi -pedantic) The result
15 # is added to the shellvar being CFLAGS, CXXFLAGS, or FCFLAGS by default.
17 # Each of these macros accepts the following optional arguments:
1618 #
17 # Currently this macro knows about the GCC, Solaris, Digital Unix, AIX,
18 # HP-UX, IRIX, NEC SX-5 (Super-UX 10), Cray J90 (Unicos 10.0.0.8), and
19 # Intel compilers. For a given compiler, the Fortran flags are much more
20 # experimental than their C equivalents.
19 # - $1 - shellvar
20 # shell variable to use (CFLAGS, CXXFLAGS or FCFLAGS if not
21 # specified, depending on macro)
2122 #
22 # - $1 shell-variable-to-add-to : CFLAGS, CXXFLAGS, or FCFLAGS
23 # - $2 add-value-if-not-found : nothing
24 # - $3 action-if-found : add value to shellvariable
25 # - $4 action-if-not-found : nothing
23 # - $2 - default
24 # value to use for flags if compiler vendor cannot be determined (by
25 # default, "")
2626 #
27 # NOTE: These macros depend on AX_APPEND_FLAG.
27 # - $3 - action-if-found
28 # action to take if the compiler vendor has been successfully
29 # determined (by default, add the appropriate compiler flags to
30 # shellvar)
31 #
32 # - $4 - action-if-not-found
33 # action to take if the compiler vendor has not been determined or
34 # is unknown (by default, add the default flags, or "" if not
35 # specified, to shellvar)
36 #
37 # These macros use AX_COMPILER_VENDOR to determine which flags should be
38 # returned for a given compiler. Not all compilers currently have flags
39 # defined for them; patches are welcome. If need be, compiler flags may
40 # be made language-dependent: use a construct like the following:
41 #
42 # [vendor_name], [m4_if(_AC_LANG_PREFIX,[C], VAR="--relevant-c-flags",dnl
43 # m4_if(_AC_LANG_PREFIX,[CXX], VAR="--relevant-c++-flags",dnl
44 # m4_if(_AC_LANG_PREFIX,[FC], VAR="--relevant-fortran-flags",dnl
45 # VAR="$2"; FOUND="no")))],
46 #
47 # Note: These macros also depend on AX_PREPEND_FLAG.
2848 #
2949 # LICENSE
3050 #
3151 # Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
3252 # Copyright (c) 2010 Rhys Ulerich <rhys.ulerich@gmail.com>
53 # Copyright (c) 2018 John Zaitseff <J.Zaitseff@zap.org.au>
3354 #
3455 # This program is free software; you can redistribute it and/or modify it
3556 # under the terms of the GNU General Public License as published by the
5778 # modified version of the Autoconf Macro, you may extend this special
5879 # exception to the GPL to apply to your modified version as well.
5980
60 #serial 16
81 #serial 25
6182
62 AC_DEFUN([AX_FLAGS_WARN_ALL],[dnl
63 AS_VAR_PUSHDEF([FLAGS],[_AC_LANG_PREFIX[]FLAGS])dnl
64 AS_VAR_PUSHDEF([VAR],[ac_cv_[]_AC_LANG_ABBREV[]flags_warn_all])dnl
65 AC_CACHE_CHECK([m4_ifval($1,$1,FLAGS) for maximum warnings],
66 VAR,[VAR="no, unknown"
67 ac_save_[]FLAGS="$[]FLAGS"
68 for ac_arg dnl
69 in "-warn all % -warn all" dnl Intel
70 "-pedantic % -Wall" dnl GCC
71 "-xstrconst % -v" dnl Solaris C
72 "-std1 % -verbose -w0 -warnprotos" dnl Digital Unix
73 "-qlanglvl=ansi % -qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd" dnl AIX
74 "-ansi -ansiE % -fullwarn" dnl IRIX
75 "+ESlit % +w1" dnl HP-UX C
76 "-Xc % -pvctl[,]fullmsg" dnl NEC SX-5 (Super-UX 10)
77 "-h conform % -h msglevel 2" dnl Cray C (Unicos)
78 #
79 do FLAGS="$ac_save_[]FLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
80 AC_COMPILE_IFELSE([AC_LANG_PROGRAM],
81 [VAR=`echo $ac_arg | sed -e 's,.*% *,,'` ; break])
82 done
83 FLAGS="$ac_save_[]FLAGS"
84 ])
85 AS_VAR_POPDEF([FLAGS])dnl
86 AX_REQUIRE_DEFINED([AX_APPEND_FLAG])
87 case ".$VAR" in
88 .ok|.ok,*) m4_ifvaln($3,$3) ;;
89 .|.no|.no,*) m4_default($4,[m4_ifval($2,[AX_APPEND_FLAG([$2], [$1])])]) ;;
90 *) m4_default($3,[AX_APPEND_FLAG([$VAR], [$1])]) ;;
91 esac
92 AS_VAR_POPDEF([VAR])dnl
83 AC_DEFUN([AX_FLAGS_WARN_ALL], [
84 AX_REQUIRE_DEFINED([AX_PREPEND_FLAG])dnl
85 AC_REQUIRE([AX_COMPILER_VENDOR])dnl
86
87 AS_VAR_PUSHDEF([FLAGS], [m4_default($1,_AC_LANG_PREFIX[]FLAGS)])dnl
88 AS_VAR_PUSHDEF([VAR], [ac_cv_[]_AC_LANG_ABBREV[]flags_warn_all])dnl
89 AS_VAR_PUSHDEF([FOUND], [ac_save_[]_AC_LANG_ABBREV[]flags_warn_all_found])dnl
90
91 AC_CACHE_CHECK([FLAGS for most reasonable warnings], VAR, [
92 VAR=""
93 FOUND="yes"
94 dnl Cases are listed in the order found in ax_compiler_vendor.m4
95 AS_CASE("$ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor",
96 [intel], [VAR="-w2"],
97 [ibm], [VAR="-qsrcmsg -qinfo=all:noppt:noppc:noobs:nocnd"],
98 [pathscale], [],
99 [clang], [VAR="-Wall"],
100 [cray], [VAR="-h msglevel 2"],
101 [fujitsu], [],
102 [sdcc], [],
103 [sx], [VAR="-pvctl[,]fullmsg"],
104 [portland], [],
105 [gnu], [VAR="-Wall"],
106 [sun], [VAR="-v"],
107 [hp], [VAR="+w1"],
108 [dec], [VAR="-verbose -w0 -warnprotos"],
109 [borland], [],
110 [comeau], [],
111 [kai], [],
112 [lcc], [],
113 [sgi], [VAR="-fullwarn"],
114 [microsoft], [],
115 [metrowerks], [],
116 [watcom], [],
117 [tcc], [],
118 [unknown], [
119 VAR="$2"
120 FOUND="no"
121 ],
122 [
123 AC_MSG_WARN([Unknown compiler vendor returned by [AX_COMPILER_VENDOR]])
124 VAR="$2"
125 FOUND="no"
126 ]
127 )
128
129 AS_IF([test "x$FOUND" = "xyes"], [dnl
130 m4_default($3, [AS_IF([test "x$VAR" != "x"], [AX_PREPEND_FLAG([$VAR], [FLAGS])])])
131 ], [dnl
132 m4_default($4, [m4_ifval($2, [AX_PREPEND_FLAG([$VAR], [FLAGS])], [true])])
133 ])dnl
134 ])dnl
135
136 AS_VAR_POPDEF([FOUND])dnl
137 AS_VAR_POPDEF([VAR])dnl
138 AS_VAR_POPDEF([FLAGS])dnl
93139 ])dnl AX_FLAGS_WARN_ALL
94 dnl implementation tactics:
95 dnl the for-argument contains a list of options. The first part of
96 dnl these does only exist to detect the compiler - usually it is
97 dnl a global option to enable -ansi or -extrawarnings. All other
98 dnl compilers will fail about it. That was needed since a lot of
99 dnl compilers will give false positives for some option-syntax
100 dnl like -Woption or -Xoption as they think of it is a pass-through
101 dnl to later compile stages or something. The "%" is used as a
102 dnl delimiter. A non-option comment can be given after "%%" marks
103 dnl which will be shown but not added to the respective C/CXXFLAGS.
104140
105 AC_DEFUN([AX_CFLAGS_WARN_ALL],[dnl
106 AC_LANG_PUSH([C])
107 AX_FLAGS_WARN_ALL([$1], [$2], [$3], [$4])
108 AC_LANG_POP([C])
109 ])
141 AC_DEFUN([AX_CFLAGS_WARN_ALL], [dnl
142 AC_LANG_PUSH([C])
143 AX_FLAGS_WARN_ALL([$1], [$2], [$3], [$4])
144 AC_LANG_POP([C])
145 ])dnl
110146
111 AC_DEFUN([AX_CXXFLAGS_WARN_ALL],[dnl
112 AC_LANG_PUSH([C++])
113 AX_FLAGS_WARN_ALL([$1], [$2], [$3], [$4])
114 AC_LANG_POP([C++])
115 ])
147 AC_DEFUN([AX_CXXFLAGS_WARN_ALL], [dnl
148 AC_LANG_PUSH([C++])
149 AX_FLAGS_WARN_ALL([$1], [$2], [$3], [$4])
150 AC_LANG_POP([C++])
151 ])dnl
116152
117 AC_DEFUN([AX_FCFLAGS_WARN_ALL],[dnl
118 AC_LANG_PUSH([Fortran])
119 AX_FLAGS_WARN_ALL([$1], [$2], [$3], [$4])
120 AC_LANG_POP([Fortran])
121 ])
153 AC_DEFUN([AX_FCFLAGS_WARN_ALL], [dnl
154 AC_LANG_PUSH([Fortran])
155 AX_FLAGS_WARN_ALL([$1], [$2], [$3], [$4])
156 AC_LANG_POP([Fortran])
157 ])dnl
6868 # and this notice are preserved. This file is offered as-is, without any
6969 # warranty.
7070
71 #serial 11
71 #serial 12
7272
7373 AC_DEFUN([AX_CHECK_GNU_MAKE],dnl
7474 [AC_PROG_AWK
8686 done ;])
8787 dnl If there was a GNU version, then set @ifGNUmake@ to the empty string, '#' otherwise
8888 AS_VAR_IF([_cv_gnu_make_command], [""], [AS_VAR_SET([ifGNUmake], ["#"])], [AS_VAR_SET([ifGNUmake], [""])])
89 AS_VAR_IF([_cv_gnu_make_command], [""], [AS_VAR_SET([ifnGNUmake], [""])], [AS_VAR_SET([ifGNUmake], ["#"])])
89 AS_VAR_IF([_cv_gnu_make_command], [""], [AS_VAR_SET([ifnGNUmake], [""])], [AS_VAR_SET([ifnGNUmake], ["#"])])
9090 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}])])
9191 AS_VAR_IF([_cv_gnu_make_command], [""],[$2],[$1])
9292 AC_SUBST([ifGNUmake])
3131 # and this notice are preserved. This file is offered as-is, without any
3232 # warranty.
3333
34 #serial 10
34 #serial 11
3535
3636 AU_ALIAS([CHECK_SSL], [AX_CHECK_OPENSSL])
3737 AC_DEFUN([AX_CHECK_OPENSSL], [
7474 if ! $found; then
7575 OPENSSL_INCLUDES=
7676 for ssldir in $ssldirs; do
77 AC_MSG_CHECKING([for openssl/ssl.h in $ssldir])
77 AC_MSG_CHECKING([for include/openssl/ssl.h in $ssldir])
7878 if test -f "$ssldir/include/openssl/ssl.h"; then
7979 OPENSSL_INCLUDES="-I$ssldir/include"
8080 OPENSSL_LDFLAGS="-L$ssldir/lib"
0 # ===========================================================================
1 # https://www.gnu.org/software/autoconf-archive/ax_check_pcre2.html
2 # ===========================================================================
3 #
4 # SYNOPSIS
5 #
6 # AX_CHECK_PCRE2([bits], [action-if-found], [action-if-not-found])
7 #
8 # DESCRIPTION
9 #
10 # Search for an installed libpcre2-8 library. If nothing was specified
11 # when calling configure, it searches first in /usr/local and then in
12 # /usr, /opt/local and /sw. If the --with-pcre2=DIR is specified, it will
13 # try to find it in DIR/include/pcre2.h and DIR/lib/libpcre2-8. If
14 # --without-pcre2 is specified, the library is not searched at all.
15 #
16 # If 'bits' is empty or '8', PCRE2 8-bit character support is checked
17 # only. If 'bits' contains '16', PCRE2 8-bit and 16-bit character support
18 # are checked. If 'bits' contains '32', PCRE2 8-bit and 32-bit character
19 # support are checked. When 'bits' contains both '16' and '32', PCRE2
20 # 8-bit, 16-bit, and 32-bit character support is checked.
21 #
22 # If either the header file (pcre2.h), or the library (libpcre2-8) is not
23 # found, or the specified PCRE2 character bit width is not supported,
24 # shell commands 'action-if-not-found' is run. If 'action-if-not-found' is
25 # not specified, the configuration exits on error, asking for a valid
26 # PCRE2 installation directory or --without-pcre2.
27 #
28 # If both header file and library are found, and the specified PCRE2 bit
29 # widths are supported, shell commands 'action-if-found' is run. If
30 # 'action-if-found' is not specified, the default action appends
31 # '-I${PCRE2_HOME}/include' to CPFLAGS, appends '-L$PCRE2_HOME}/lib' to
32 # LDFLAGS, prepends '-lpcre2-8' to LIBS, and calls AC_DEFINE(HAVE_PCRE2).
33 # You should use autoheader to include a definition for this symbol in a
34 # config.h file. Sample usage in a C/C++ source is as follows:
35 #
36 # #ifdef HAVE_PCRE2
37 # #define PCRE2_CODE_UNIT_WIDTH 8
38 # #include <pcre2.h>
39 # #endif /* HAVE_PCRE2 */
40 #
41 # LICENSE
42 #
43 # Copyright (c) 2020 Robert van Engelen <engelen@acm.org>
44 #
45 # This program is free software; you can redistribute it and/or modify it
46 # under the terms of the GNU General Public License as published by the
47 # Free Software Foundation; either version 2 of the License, or (at your
48 # option) any later version.
49 #
50 # This program is distributed in the hope that it will be useful, but
51 # WITHOUT ANY WARRANTY; without even the implied warranty of
52 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
53 # Public License for more details.
54 #
55 # You should have received a copy of the GNU General Public License along
56 # with this program. If not, see <https://www.gnu.org/licenses/>.
57 #
58 # As a special exception, the respective Autoconf Macro's copyright owner
59 # gives unlimited permission to copy, distribute and modify the configure
60 # scripts that are the output of Autoconf when processing the Macro. You
61 # need not follow the terms of the GNU General Public License when using
62 # or distributing such scripts, even though portions of the text of the
63 # Macro appear in them. The GNU General Public License (GPL) does govern
64 # all other use of the material that constitutes the Autoconf Macro.
65 #
66 # This special exception to the GPL applies to versions of the Autoconf
67 # Macro released by the Autoconf Archive. When you make and distribute a
68 # modified version of the Autoconf Macro, you may extend this special
69 # exception to the GPL to apply to your modified version as well.
70
71 #serial 2
72
73 AC_DEFUN([AX_CHECK_PCRE2],
74 #
75 # Handle user hints
76 #
77 [AC_MSG_CHECKING(if PCRE2 is wanted)
78 pcre2_places="/usr/local /usr /opt/local /sw"
79 AC_ARG_WITH([pcre2],
80 [ --with-pcre2=DIR root directory path of PCRE2 installation @<:@defaults to
81 /usr/local or /usr if not found in /usr/local@:>@
82 --without-pcre2 to disable PCRE2 usage completely],
83 [if test "$withval" != "no" ; then
84 AC_MSG_RESULT(yes)
85 if test -d "$withval"
86 then
87 pcre2_places="$withval $pcre2_places"
88 else
89 AC_MSG_WARN([Sorry, $withval does not exist, checking usual places])
90 fi
91 else
92 pcre2_places=""
93 AC_MSG_RESULT(no)
94 fi],
95 [AC_MSG_RESULT(yes)])
96 #
97 # Locate PCRE2, if wanted
98 #
99 if test -n "${pcre2_places}"
100 then
101 # check the user supplied or any other more or less 'standard' place:
102 # Most UNIX systems : /usr/local and /usr
103 # MacPorts / Fink on OSX : /opt/local respectively /sw
104 for PCRE2_HOME in ${pcre2_places} ; do
105 if test -f "${PCRE2_HOME}/include/pcre2.h"; then break; fi
106 PCRE2_HOME=""
107 done
108
109 PCRE2_OLD_LDFLAGS=$LDFLAGS
110 PCRE2_OLD_CPPFLAGS=$CPPFLAGS
111 if test -n "${PCRE2_HOME}"; then
112 LDFLAGS="$LDFLAGS -L${PCRE2_HOME}/lib"
113 CPPFLAGS="$CPPFLAGS -I${PCRE2_HOME}/include"
114 fi
115 AC_LANG_PUSH([C])
116 AC_CHECK_LIB([pcre2-8], [pcre2_compile_8], [pcre2_cv_libpcre2=yes], [pcre2_cv_libpcre2=no])
117 AC_CHECK_HEADER([pcre2.h], [pcre2_cv_pcre2_h=yes], [pcre2_cv_pcre2_h=no], [#define PCRE2_CODE_UNIT_WIDTH 8])
118 case "$1" in
119 *16*)
120 AC_CHECK_LIB([pcre2-16], [pcre2_compile_16], [pcre2_cv_libpcre2_16=yes], [pcre2_cv_libpcre2_16=no])
121 AC_CHECK_HEADER([pcre2.h], [pcre2_cv_pcre2_16_h=yes], [pcre2_cv_pcre2_16_h=no], [#define PCRE2_CODE_UNIT_WIDTH 16])
122 if test "$pcre2_cv_libpcre2_16" = "no" || test "$pcre2_cv_pcre2_16_h" = "no"; then
123 pcre2_cv_libpcre2=no
124 fi
125 ;;
126 esac
127 case "$1" in
128 *32*)
129 AC_CHECK_LIB([pcre2-32], [pcre2_compile_32], [pcre2_cv_libpcre2_32=yes], [pcre2_cv_libpcre2_32=no])
130 AC_CHECK_HEADER([pcre2.h], [pcre2_cv_pcre2_32_h=yes], [pcre2_cv_pcre2_32_h=no], [#define PCRE2_CODE_UNIT_WIDTH 32])
131 if test "$pcre2_cv_libpcre2_32" = "no" || test "$pcre2_cv_pcre2_32_h" = "no"; then
132 pcre2_cv_libpcre2=no
133 fi
134 esac
135 AC_LANG_POP([C])
136 if test "$pcre2_cv_libpcre2" = "yes" && test "$pcre2_cv_pcre2_h" = "yes"
137 then
138 #
139 # If both library and header were found, action-if-found
140 #
141 m4_ifblank([$2],[
142 CPPFLAGS="$CPPFLAGS -I${PCRE2_HOME}/include"
143 LDFLAGS="$LDFLAGS -L${PCRE2_HOME}/lib"
144 LIBS="-lpcre2-8 $LIBS"
145 AC_DEFINE([HAVE_PCRE2], [1],
146 [Define to 1 if you have `PCRE2' library (-lpcre2-$1)])
147 ],[
148 # Restore variables
149 LDFLAGS="$PCRE2_OLD_LDFLAGS"
150 CPPFLAGS="$PCRE2_OLD_CPPFLAGS"
151 $2
152 ])
153 else
154 #
155 # If either header or library was not found, action-if-not-found
156 #
157 m4_default([$3],[
158 AC_MSG_ERROR([either specify a valid PCRE2 installation with --with-pcre2=DIR or disable PCRE2 usage with --without-pcre2])
159 ])
160 fi
161 fi
162 ])
7373 # You should have received a copy of the GNU Lesser General Public License
7474 # along with this program. If not, see <https://www.gnu.org/licenses/>.
7575
76 #serial 32
76 #serial 34
7777
7878 m4_define(_AX_CODE_COVERAGE_RULES,[
7979 AX_ADD_AM_MACRO_STATIC([
137137 CODE_COVERAGE_GENHTML_OPTIONS ?= \$(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
138138 CODE_COVERAGE_IGNORE_PATTERN ?=
139139
140 GITIGNOREFILES = \$(GITIGNOREFILES) \$(CODE_COVERAGE_OUTPUT_FILE) \$(CODE_COVERAGE_OUTPUT_DIRECTORY)
140 GITIGNOREFILES := \$(GITIGNOREFILES) \$(CODE_COVERAGE_OUTPUT_FILE) \$(CODE_COVERAGE_OUTPUT_DIRECTORY)
141141 code_coverage_v_lcov_cap = \$(code_coverage_v_lcov_cap_\$(V))
142142 code_coverage_v_lcov_cap_ = \$(code_coverage_v_lcov_cap_\$(AM_DEFAULT_VERBOSITY))
143143 code_coverage_v_lcov_cap_0 = @echo \" LCOV --capture\" \$(CODE_COVERAGE_OUTPUT_FILE);
174174
175175 code-coverage-dist-clean:
176176
177 A][M_DISTCHECK_CONFIGURE_FLAGS = \$(A][M_DISTCHECK_CONFIGURE_FLAGS) --disable-code-coverage
177 A][M_DISTCHECK_CONFIGURE_FLAGS := \$(A][M_DISTCHECK_CONFIGURE_FLAGS) --disable-code-coverage
178178 else # ifneq (\$(abs_builddir), \$(abs_top_builddir))
179179 check-code-coverage:
180180
77 #
88 # DESCRIPTION
99 #
10 # Determine the vendor of the C/C++ compiler, e.g., gnu, intel, ibm, sun,
11 # hp, borland, comeau, dec, cray, kai, lcc, metrowerks, sgi, microsoft,
12 # watcom, etc. The vendor is returned in the cache variable
13 # $ax_cv_c_compiler_vendor for C and $ax_cv_cxx_compiler_vendor for C++.
10 # Determine the vendor of the C, C++ or Fortran compiler. The vendor is
11 # returned in the cache variable $ax_cv_c_compiler_vendor for C,
12 # $ax_cv_cxx_compiler_vendor for C++ or $ax_cv_fc_compiler_vendor for
13 # (modern) Fortran. The value is one of "intel", "ibm", "pathscale",
14 # "clang" (LLVM), "cray", "fujitsu", "sdcc", "sx", "portland" (PGI), "gnu"
15 # (GCC), "sun" (Oracle Developer Studio), "hp", "dec", "borland",
16 # "comeau", "kai", "lcc", "sgi", "microsoft", "metrowerks", "watcom",
17 # "tcc" (Tiny CC) or "unknown" (if the compiler cannot be determined).
18 #
19 # To check for a Fortran compiler, you must first call AC_FC_PP_SRCEXT
20 # with an appropriate preprocessor-enabled extension. For example:
21 #
22 # AC_LANG_PUSH([Fortran])
23 # AC_PROG_FC
24 # AC_FC_PP_SRCEXT([F])
25 # AX_COMPILER_VENDOR
26 # AC_LANG_POP([Fortran])
1427 #
1528 # LICENSE
1629 #
1730 # Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
1831 # Copyright (c) 2008 Matteo Frigo
32 # Copyright (c) 2018-19 John Zaitseff <J.Zaitseff@zap.org.au>
1933 #
2034 # This program is free software: you can redistribute it and/or modify it
2135 # under the terms of the GNU General Public License as published by the
4357 # modified version of the Autoconf Macro, you may extend this special
4458 # exception to the GPL to apply to your modified version as well.
4559
46 #serial 17
60 #serial 30
4761
48 AC_DEFUN([AX_COMPILER_VENDOR],
49 [AC_CACHE_CHECK([for _AC_LANG compiler vendor], ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor,
50 dnl Please add if possible support to ax_compiler_version.m4
51 [# note: don't check for gcc first since some other compilers define __GNUC__
52 vendors="intel: __ICC,__ECC,__INTEL_COMPILER
53 ibm: __xlc__,__xlC__,__IBMC__,__IBMCPP__
54 pathscale: __PATHCC__,__PATHSCALE__
55 clang: __clang__
56 cray: _CRAYC
57 fujitsu: __FUJITSU
58 sdcc: SDCC, __SDCC
59 gnu: __GNUC__
60 sun: __SUNPRO_C,__SUNPRO_CC
61 hp: __HP_cc,__HP_aCC
62 dec: __DECC,__DECCXX,__DECC_VER,__DECCXX_VER
63 borland: __BORLANDC__,__CODEGEARC__,__TURBOC__
64 comeau: __COMO__
65 kai: __KCC
66 lcc: __LCC__
67 sgi: __sgi,sgi
68 microsoft: _MSC_VER
69 metrowerks: __MWERKS__
70 watcom: __WATCOMC__
71 portland: __PGI
72 tcc: __TINYC__
73 unknown: UNKNOWN"
74 for ventest in $vendors; do
75 case $ventest in
76 *:) vendor=$ventest; continue ;;
77 *) vencpp="defined("`echo $ventest | sed 's/,/) || defined(/g'`")" ;;
78 esac
79 AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,[
80 #if !($vencpp)
81 thisisanerror;
82 #endif
83 ])], [break])
84 done
85 ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor=`echo $vendor | cut -d: -f1`
86 ])
87 ])
62 AC_DEFUN([AX_COMPILER_VENDOR], [dnl
63 AC_CACHE_CHECK([for _AC_LANG compiler vendor], ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor, [dnl
64 dnl If you modify this list of vendors, please add similar support
65 dnl to ax_compiler_version.m4 if at all possible.
66 dnl
67 dnl Note: Do NOT check for GCC first since some other compilers
68 dnl define __GNUC__ to remain compatible with it. Compilers that
69 dnl are very slow to start (such as Intel) are listed first.
70
71 vendors="
72 intel: __ICC,__ECC,__INTEL_COMPILER
73 ibm: __xlc__,__xlC__,__IBMC__,__IBMCPP__,__ibmxl__
74 pathscale: __PATHCC__,__PATHSCALE__
75 clang: __clang__
76 cray: _CRAYC
77 fujitsu: __FUJITSU
78 sdcc: SDCC,__SDCC
79 sx: _SX
80 portland: __PGI
81 gnu: __GNUC__
82 sun: __SUNPRO_C,__SUNPRO_CC,__SUNPRO_F90,__SUNPRO_F95
83 hp: __HP_cc,__HP_aCC
84 dec: __DECC,__DECCXX,__DECC_VER,__DECCXX_VER
85 borland: __BORLANDC__,__CODEGEARC__,__TURBOC__
86 comeau: __COMO__
87 kai: __KCC
88 lcc: __LCC__
89 sgi: __sgi,sgi
90 microsoft: _MSC_VER
91 metrowerks: __MWERKS__
92 watcom: __WATCOMC__
93 tcc: __TINYC__
94 unknown: UNKNOWN
95 "
96 for ventest in $vendors; do
97 case $ventest in
98 *:)
99 vendor=$ventest
100 continue
101 ;;
102 *)
103 vencpp="defined("`echo $ventest | sed 's/,/) || defined(/g'`")"
104 ;;
105 esac
106
107 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([], [[
108 #if !($vencpp)
109 thisisanerror;
110 #endif
111 ]])], [break])
112 done
113
114 ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor=`echo $vendor | cut -d: -f1`
115 ])
116 ])dnl
77 #
88 # DESCRIPTION
99 #
10 # Find your CPU's vendor by requesting cpuid and define "ax_cpu_vendor"
10 # Find your CPU's vendor by requesting cpuid and define "ax_cv_cpu_vendor"
1111 # accordingly. This macro depends on AX_GCC_X86_CPUID.
1212 #
1313 # LICENSE
1919 # and this notice are preserved. This file is offered as-is, without any
2020 # warranty.
2121
22 #serial 8
22 #serial 9
2323
2424 AC_DEFUN([AX_CPU_VENDOR],
2525 [
2626 AC_REQUIRE([AX_GCC_X86_CPUID])
2727 AX_GCC_X86_CPUID(0x0)
2828
29 AC_CACHE_CHECK(for the processor vendor, ax_cpu_vendor,
29 AC_CACHE_CHECK(for the processor vendor, ax_cv_cpu_vendor,
3030 [
3131 vendor=`echo $ax_cv_gcc_x86_cpuid_0x0 | cut -d ":" -f 2`
3232
3333 case $vendor in
3434 756e6547*)
35 ax_cpu_vendor="Intel"
35 ax_cv_cpu_vendor="Intel"
3636 ;;
3737 68747541*)
38 ax_cpu_vendor="AMD"
38 ax_cv_cpu_vendor="AMD"
3939 ;;
4040 69727943*)
41 ax_cpu_vendor="Cyrix"
41 ax_cv_cpu_vendor="Cyrix"
4242 ;;
4343 746e6543*)
44 ax_cpu_vendor="IDT"
44 ax_cv_cpu_vendor="IDT"
4545 ;;
4646 646f6547*)
47 ax_cpu_vendor="Natsemi Geode"
47 ax_cv_cpu_vendor="Natsemi Geode"
4848 ;;
4949 52697365*)
50 ax_cpu_vendor="Rise"
50 ax_cv_cpu_vendor="Rise"
5151 ;;
5252 65736952*)
53 ax_cpu_vendor="Rise"
53 ax_cv_cpu_vendor="Rise"
5454 ;;
5555 20536953*)
56 ax_cpu_vendor="SiS"
56 ax_cv_cpu_vendor="SiS"
5757 ;;
5858 *)
59 ax_cpu_vendor="Unknown"
59 ax_cv_cpu_vendor="Unknown"
6060 ;;
6161 esac
6262 ])
1515 # The second argument, if specified, indicates whether you insist on an
1616 # extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
1717 # -std=c++11). If neither is specified, you get whatever works, with
18 # preference for an extended mode.
18 # preference for no added switch, and then for an extended mode.
1919 #
2020 # The third argument, if specified 'mandatory' or if left unspecified,
2121 # indicates that baseline support for the specified C++ standard is
3333 # Copyright (c) 2015 Paul Norman <penorman@mac.com>
3434 # Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
3535 # Copyright (c) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
36 # Copyright (c) 2019 Enji Cooper <yaneurabeya@gmail.com>
37 # Copyright (c) 2020 Jason Merrill <jason@redhat.com>
3638 #
3739 # Copying and distribution of this file, with or without modification, are
3840 # permitted in any medium without royalty provided the copyright notice
3941 # and this notice are preserved. This file is offered as-is, without any
4042 # warranty.
4143
42 #serial 10
44 #serial 12
4345
4446 dnl This macro is based on the code from the AX_CXX_COMPILE_STDCXX_11 macro
4547 dnl (serial version number 13).
5961 [m4_fatal([invalid third argument `$3' to AX_CXX_COMPILE_STDCXX])])
6062 AC_LANG_PUSH([C++])dnl
6163 ac_success=no
64
65 m4_if([$2], [], [dnl
66 AC_CACHE_CHECK(whether $CXX supports C++$1 features by default,
67 ax_cv_cxx_compile_cxx$1,
68 [AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])],
69 [ax_cv_cxx_compile_cxx$1=yes],
70 [ax_cv_cxx_compile_cxx$1=no])])
71 if test x$ax_cv_cxx_compile_cxx$1 = xyes; then
72 ac_success=yes
73 fi])
6274
6375 m4_if([$2], [noext], [], [dnl
6476 if test x$ac_success = xno; then
188200
189201 struct Base
190202 {
203 virtual ~Base() {}
191204 virtual void f() {}
192205 };
193206
194207 struct Derived : public Base
195208 {
209 virtual ~Derived() override {}
196210 virtual void f() override {}
197211 };
198212
3636 # __builtin_clzll
3737 # __builtin_complex
3838 # __builtin_constant_p
39 # __builtin_cpu_init
40 # __builtin_cpu_is
41 # __builtin_cpu_supports
3942 # __builtin_ctz
4043 # __builtin_ctzl
4144 # __builtin_ctzll
9093 # and this notice are preserved. This file is offered as-is, without any
9194 # warranty.
9295
93 #serial 6
96 #serial 7
9497
9598 AC_DEFUN([AX_GCC_BUILTIN], [
9699 AS_VAR_PUSHDEF([ac_var], [ax_cv_have_$1])
112115 [__builtin_clzll], [$1(0)],
113116 [__builtin_complex], [$1(0.0, 0.0)],
114117 [__builtin_constant_p], [$1(0)],
118 [__builtin_cpu_init], [$1()],
119 [__builtin_cpu_is], [$1("intel")],
120 [__builtin_cpu_supports], [$1("sse")],
115121 [__builtin_ctz], [$1(0)],
116122 [__builtin_ctzl], [$1(0)],
117123 [__builtin_ctzll], [$1(0)],
4141 # flatten
4242 # format
4343 # format_arg
44 # gnu_format
4445 # gnu_inline
4546 # hot
4647 # ifunc
7677 # and this notice are preserved. This file is offered as-is, without any
7778 # warranty.
7879
79 #serial 9
80 #serial 13
8081
8182 AC_DEFUN([AX_GCC_FUNC_ATTRIBUTE], [
8283 AS_VAR_PUSHDEF([ac_var], [ax_cv_have_func_attribute_$1])
131132 int foo( void ) __attribute__(($1));
132133 ],
133134 [fallthrough], [
134 int foo( void ) {switch (0) { case 1: __attribute__(($1)); case 2: break ; }};
135 void foo( int x ) {switch (x) { case 1: __attribute__(($1)); case 2: break ; }};
135136 ],
136137 [flatten], [
137138 int foo( void ) __attribute__(($1));
138139 ],
139140 [format], [
140141 int foo(const char *p, ...) __attribute__(($1(printf, 1, 2)));
142 ],
143 [gnu_format], [
144 int foo(const char *p, ...) __attribute__((format(gnu_printf, 1, 2)));
141145 ],
142146 [format_arg], [
143147 char *foo(const char *p) __attribute__(($1(1)));
223227 dnl GCC doesn't exit with an error if an unknown attribute is
224228 dnl provided but only outputs a warning, so accept the attribute
225229 dnl only if no warning were issued.
226 [AS_IF([test -s conftest.err],
230 [AS_IF([grep -- -Wattributes conftest.err],
227231 [AS_VAR_SET([ac_var], [no])],
228232 [AS_VAR_SET([ac_var], [yes])])],
229233 [AS_VAR_SET([ac_var], [no])])
4141 # and this notice are preserved. This file is offered as-is, without any
4242 # warranty.
4343
44 #serial 11
44 #serial 12
4545
4646 AC_DEFUN([AX_HAVE_EPOLL], [dnl
4747 ax_have_epoll_cppflags="${CPPFLAGS}"
5858 # endif
5959 #endif
6060 ], [dnl
61 int fd, rc;
61 int fd;
6262 struct epoll_event ev;
6363 fd = epoll_create(128);
64 rc = epoll_wait(fd, &ev, 1, 0);])],
64 epoll_wait(fd, &ev, 1, 0);])],
6565 [ax_cv_have_epoll=yes],
6666 [ax_cv_have_epoll=no])])
6767 CPPFLAGS="${ax_have_epoll_cppflags}"
8888 #include <sys/epoll.h>
8989 #include <signal.h>
9090 ], [dnl
91 int fd, rc;
91 int fd;
9292 struct epoll_event ev;
9393 fd = epoll_create(128);
94 rc = epoll_wait(fd, &ev, 1, 0);
95 rc = epoll_pwait(fd, &ev, 1, 0, (sigset_t const *)(0));])],
94 epoll_wait(fd, &ev, 1, 0);
95 epoll_pwait(fd, &ev, 1, 0, (sigset_t const *)(0));])],
9696 [ax_cv_have_epoll_pwait=yes],
9797 [ax_cv_have_epoll_pwait=no])])
9898 CPPFLAGS="${ax_have_epoll_cppflags}"
2020 # QT_LIBS
2121 # QT_MOC
2222 # QT_UIC
23 # QT_RCC
2324 # QT_LRELEASE
2425 # QT_LUPDATE
2526 # QT_DIR
5253 # and this notice are preserved. This file is offered as-is, without any
5354 # warranty.
5455
55 #serial 14
56 #serial 17
5657
5758 AU_ALIAS([BNV_HAVE_QT], [AX_HAVE_QT])
5859 AC_DEFUN([AX_HAVE_QT],
6768 if test "$ver" ">" "Qt version 4"; then
6869 have_qt=yes
6970 # This pro file dumps qmake's variables, but it only works on Qt 5 or later
70 am_have_qt_pro=`mktemp`
71 am_have_qt_makefile=`mktemp`
71 am_have_qt_dir=`mktemp -d`
72 am_have_qt_pro="$am_have_qt_dir/test.pro"
73 am_have_qt_makefile="$am_have_qt_dir/Makefile"
7274 # http://qt-project.org/doc/qt-5/qmake-variable-reference.html#qt
7375 cat > $am_have_qt_pro << EOF
76 win32 {
77 CONFIG -= debug_and_release
78 CONFIG += release
79 }
7480 qtHaveModule(axcontainer): QT += axcontainer
7581 qtHaveModule(axserver): QT += axserver
7682 qtHaveModule(concurrent): QT += concurrent
105111 QMAKE_EXTRA_TARGETS += percent
106112 EOF
107113 qmake $am_have_qt_pro -o $am_have_qt_makefile
108 QT_CXXFLAGS=`make -s -f $am_have_qt_makefile CXXFLAGS INCPATH`
109 QT_LIBS=`make -s -f $am_have_qt_makefile LIBS`
114 QT_CXXFLAGS=`cd $am_have_qt_dir; make -s -f $am_have_qt_makefile CXXFLAGS INCPATH`
115 QT_LIBS=`cd $am_have_qt_dir; make -s -f $am_have_qt_makefile LIBS`
110116 rm $am_have_qt_pro $am_have_qt_makefile
117 rmdir $am_have_qt_dir
111118
112119 # Look for specific tools in $PATH
113120 QT_MOC=`which moc`
114121 QT_UIC=`which uic`
122 QT_RCC=`which rcc`
115123 QT_LRELEASE=`which lrelease`
116124 QT_LUPDATE=`which lupdate`
117125
125133 QT_LIBS=$QT_LIBS
126134 QT_UIC=$QT_UIC
127135 QT_MOC=$QT_MOC
136 QT_RCC=$QT_RCC
128137 QT_LRELEASE=$QT_LRELEASE
129138 QT_LUPDATE=$QT_LUPDATE])
130139 else
135144 QT_LIBS=
136145 QT_UIC=
137146 QT_MOC=
147 QT_RCC=
138148 QT_LRELEASE=
139149 QT_LUPDATE=
140150 AC_MSG_RESULT($have_qt)
144154 AC_SUBST(QT_LIBS)
145155 AC_SUBST(QT_UIC)
146156 AC_SUBST(QT_MOC)
157 AC_SUBST(QT_RCC)
147158 AC_SUBST(QT_LRELEASE)
148159 AC_SUBST(QT_LUPDATE)
149160
0 # ===========================================================================
1 # https://www.gnu.org/software/autoconf-archive/ax_int128.html
2 # ===========================================================================
3 #
4 # SYNOPSIS
5 #
6 # AX_HAVE_INT128
7 #
8 # DESCRIPTION
9 #
10 # Check whether the compiler provides __int128. If so, define HAVE_INT128.
11 #
12 # Works with GCC >= 4.6.
13 #
14 # TODO: Provide int128[u]_t & work with other compilers.
15 #
16 # LICENSE
17 #
18 # Copyright (c) 2019 Reuben Thomas <rrt@sc3d.org>
19 #
20 # Copying and distribution of this file, with or without modification, are
21 # permitted in any medium without royalty provided the copyright notice
22 # and this notice are preserved. This file is offered as-is, without any
23 # warranty.
24
25 #serial 2
26
27 AC_DEFUN([AX_HAVE_INT128],
28 [
29 dnl First test whether we already found it.
30 AC_CACHE_CHECK([for __int128], [ax_cv_int128], [
31 ax_cv_int128=
32 AC_EGREP_CPP([Found it], [
33 #ifdef __SIZEOF_INT128__
34 Found it
35 #endif
36 ], [ax_cv_int128=yes])
37 ])
38 if test "$ax_cv_int128" = yes; then
39 AC_DEFINE([HAVE_INT128], [1],
40 [Define to 1 if you have the type __int128.])
41 fi
42 ])
1818 # The POLICY parameter specifies how ax_is_release is determined. It can
1919 # take the following values:
2020 #
21 # * git-directory: ax_is_release will be 'no' if a '.git' directory exists
21 # * git-directory: ax_is_release will be 'no' if a '.git'
22 # directory or git worktree exists
2223 # * minor-version: ax_is_release will be 'no' if the minor version number
2324 # in $PACKAGE_VERSION is odd; this assumes
2425 # $PACKAGE_VERSION follows the 'major.minor.micro' scheme
4344 # permitted in any medium without royalty provided the copyright notice
4445 # and this notice are preserved.
4546
46 #serial 7
47 #serial 8
4748
4849 AC_DEFUN([AX_IS_RELEASE],[
4950 AC_BEFORE([AC_INIT],[$0])
5152 m4_case([$1],
5253 [git-directory],[
5354 # $is_release = (.git directory does not exist)
54 AS_IF([test -d ${srcdir}/.git],[ax_is_release=no],[ax_is_release=yes])
55 AS_IF([test -d ${srcdir}/.git || (test -f ${srcdir}/.git && grep \.git/worktrees ${srcdir}/.git)],[ax_is_release=no],[ax_is_release=yes])
5556 ],
5657 [minor-version],[
5758 # $is_release = ($minor_version is even)
3636 # LICENSE
3737 #
3838 # Copyright (c) 2009 Steven G. Johnson <stevenj@alum.mit.edu>
39 # Copyright (c) 2019 Geoffrey M. Oxberry <goxberry@gmail.com>
3940 #
4041 # This program is free software: you can redistribute it and/or modify it
4142 # under the terms of the GNU General Public License as published by the
6364 # modified version of the Autoconf Macro, you may extend this special
6465 # exception to the GPL to apply to your modified version as well.
6566
66 #serial 9
67 #serial 10
6768
6869 AU_ALIAS([ACX_LAPACK], [AX_LAPACK])
6970 AC_DEFUN([AX_LAPACK], [
7576 case $with_lapack in
7677 yes | "") ;;
7778 no) ax_lapack_ok=disable ;;
78 -* | */* | *.a | *.so | *.so.* | *.o) LAPACK_LIBS="$with_lapack" ;;
79 -* | */* | *.a | *.so | *.so.* | *.dylib | *.dylib.* | *.o)
80 LAPACK_LIBS="$with_lapack"
81 ;;
7982 *) LAPACK_LIBS="-l$with_lapack" ;;
8083 esac
8184
8787 # and this notice are preserved. This file is offered as-is, without any
8888 # warranty.
8989
90 #serial 19
90 #serial 20
9191
9292 AC_DEFUN([AX_LIB_HDF5], [
9393
187187 HDF5_SHOW=$(eval $H5CC -show)
188188
189189 dnl Get the actual compiler used
190 HDF5_CC=$(eval $H5CC -show | $AWK '{print $[]1}')
190 HDF5_CC=$(eval $H5CC -show | head -n 1 | $AWK '{print $[]1}')
191191 if test "$HDF5_CC" = "ccache"; then
192 HDF5_CC=$(eval $H5CC -show | $AWK '{print $[]2}')
192 HDF5_CC=$(eval $H5CC -show | head -n 1 | $AWK '{print $[]2}')
193193 fi
194194
195195 dnl h5cc provides both AM_ and non-AM_ options
3535 # and this notice are preserved. This file is offered as-is, without any
3636 # warranty.
3737
38 #serial 18
38 #serial 19
3939
4040 AC_DEFUN([AX_LIB_SQLITE3],
4141 [
8181
8282 AC_MSG_CHECKING([for SQLite3 library >= $sqlite3_version_req])
8383
84 if test "$ac_sqlite3_path" != ""; then
84 if test "x$ac_sqlite3_path" != "x"; then
8585 ac_sqlite3_ldflags="-L$ac_sqlite3_path/lib"
8686 ac_sqlite3_cppflags="-I$ac_sqlite3_path/include"
8787 else
139139 ac_sqlite3_version=`cat $ac_sqlite3_header_path \
140140 | grep '#define.*SQLITE_VERSION.*\"' | sed -e 's/.* "//' \
141141 | sed -e 's/"//'`
142 if test $ac_sqlite3_version != ""; then
142 if test "x$ac_sqlite3_version" != "x"; then
143143 SQLITE3_VERSION=$ac_sqlite3_version
144144 else
145145 AC_MSG_WARN([Cannot find SQLITE_VERSION macro in sqlite3.h header to retrieve SQLite version!])
0 # ===========================================================================
1 # https://www.gnu.org/software/autoconf-archive/ax_prepend_flag.html
2 # ===========================================================================
3 #
4 # SYNOPSIS
5 #
6 # AX_PREPEND_FLAG(FLAG, [FLAGS-VARIABLE])
7 #
8 # DESCRIPTION
9 #
10 # FLAG is added to the front of the FLAGS-VARIABLE shell variable, with a
11 # space added in between.
12 #
13 # If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
14 # CFLAGS) is used. FLAGS-VARIABLE is not changed if it already contains
15 # FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly
16 # FLAG.
17 #
18 # NOTE: Implementation based on AX_APPEND_FLAG.
19 #
20 # LICENSE
21 #
22 # Copyright (c) 2008 Guido U. Draheim <guidod@gmx.de>
23 # Copyright (c) 2011 Maarten Bosmans <mkbosmans@gmail.com>
24 # Copyright (c) 2018 John Zaitseff <J.Zaitseff@zap.org.au>
25 #
26 # Copying and distribution of this file, with or without modification, are
27 # permitted in any medium without royalty provided the copyright notice
28 # and this notice are preserved. This file is offered as-is, without any
29 # warranty.
30
31 #serial 2
32
33 AC_DEFUN([AX_PREPEND_FLAG],
34 [dnl
35 AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_SET_IF
36 AS_VAR_PUSHDEF([FLAGS], [m4_default($2,_AC_LANG_PREFIX[FLAGS])])
37 AS_VAR_SET_IF(FLAGS,[
38 AS_CASE([" AS_VAR_GET(FLAGS) "],
39 [*" $1 "*], [AC_RUN_LOG([: FLAGS already contains $1])],
40 [
41 FLAGS="$1 $FLAGS"
42 AC_RUN_LOG([: FLAGS="$FLAGS"])
43 ])
44 ],
45 [
46 AS_VAR_SET(FLAGS,[$1])
47 AC_RUN_LOG([: FLAGS="$FLAGS"])
48 ])
49 AS_VAR_POPDEF([FLAGS])dnl
50 ])dnl AX_PREPEND_FLAG
3131 # and this notice are preserved. This file is offered as-is, without any
3232 # warranty.
3333
34 #serial 9
34 #serial 18
3535
3636 AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD])
3737 AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl
3838 AC_REQUIRE([AC_PROG_CC])dnl
3939 AC_REQUIRE([AC_PROG_CPP])dnl
40 AC_REQUIRE([AC_EXEEXT])dnl
41 AC_REQUIRE([AC_CANONICAL_HOST])dnl
40 AC_REQUIRE([AC_CANONICAL_BUILD])dnl
4241
4342 dnl Use the standard macros, but make them use other variable names
4443 dnl
4544 pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl
45 pushdef([ac_cv_prog_cc_c89], ac_cv_build_prog_cc_c89)dnl
4646 pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl
4747 pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl
4848 pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl
4949 pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl
50 pushdef([ac_cv_c_compiler_gnu], ac_cv_build_c_compiler_gnu)dnl
5051 pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl
5152 pushdef([ac_cv_objext], ac_cv_build_objext)dnl
5253 pushdef([ac_exeext], ac_build_exeext)dnl
5354 pushdef([ac_objext], ac_build_objext)dnl
5455 pushdef([CC], CC_FOR_BUILD)dnl
5556 pushdef([CPP], CPP_FOR_BUILD)dnl
57 pushdef([GCC], GCC_FOR_BUILD)dnl
5658 pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl
5759 pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
60 pushdef([EXEEXT], BUILD_EXEEXT)dnl
5861 pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl
62 pushdef([OBJEXT], BUILD_OBJEXT)dnl
5963 pushdef([host], build)dnl
6064 pushdef([host_alias], build_alias)dnl
6165 pushdef([host_cpu], build_cpu)dnl
6670 pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
6771 pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
6872 pushdef([ac_cv_host_os], ac_cv_build_os)dnl
69 pushdef([ac_cpp], ac_build_cpp)dnl
70 pushdef([ac_compile], ac_build_compile)dnl
71 pushdef([ac_link], ac_build_link)dnl
73 pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
74 pushdef([am_cv_CC_dependencies_compiler_type], am_cv_build_CC_dependencies_compiler_type)dnl
75 pushdef([am_cv_prog_cc_c_o], am_cv_build_prog_cc_c_o)dnl
76 pushdef([cross_compiling], cross_compiling_build)dnl
7277
73 save_cross_compiling=$cross_compiling
74 save_ac_tool_prefix=$ac_tool_prefix
75 cross_compiling=no
76 ac_tool_prefix=
78 cross_compiling_build=no
7779
80 ac_build_tool_prefix=
81 AS_IF([test -n "$build"], [ac_build_tool_prefix="$build-"],
82 [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
83
84 AC_LANG_PUSH([C])
7885 AC_PROG_CC
86 _AC_COMPILER_EXEEXT
87 _AC_COMPILER_OBJEXT
7988 AC_PROG_CPP
80 AC_EXEEXT
81
82 ac_tool_prefix=$save_ac_tool_prefix
83 cross_compiling=$save_cross_compiling
8489
8590 dnl Restore the old definitions
8691 dnl
87 popdef([ac_link])dnl
88 popdef([ac_compile])dnl
89 popdef([ac_cpp])dnl
92 popdef([cross_compiling])dnl
93 popdef([am_cv_prog_cc_c_o])dnl
94 popdef([am_cv_CC_dependencies_compiler_type])dnl
95 popdef([ac_tool_prefix])dnl
9096 popdef([ac_cv_host_os])dnl
9197 popdef([ac_cv_host_vendor])dnl
9298 popdef([ac_cv_host_cpu])dnl
97103 popdef([host_cpu])dnl
98104 popdef([host_alias])dnl
99105 popdef([host])dnl
106 popdef([OBJEXT])dnl
100107 popdef([LDFLAGS])dnl
108 popdef([EXEEXT])dnl
101109 popdef([CPPFLAGS])dnl
102110 popdef([CFLAGS])dnl
111 popdef([GCC])dnl
103112 popdef([CPP])dnl
104113 popdef([CC])dnl
105114 popdef([ac_objext])dnl
106115 popdef([ac_exeext])dnl
107116 popdef([ac_cv_objext])dnl
108117 popdef([ac_cv_exeext])dnl
118 popdef([ac_cv_c_compiler_gnu])dnl
109119 popdef([ac_cv_prog_cc_g])dnl
110120 popdef([ac_cv_prog_cc_cross])dnl
111121 popdef([ac_cv_prog_cc_works])dnl
122 popdef([ac_cv_prog_cc_c89])dnl
112123 popdef([ac_cv_prog_gcc])dnl
113124 popdef([ac_cv_prog_CPP])dnl
114125
126 dnl restore global variables ac_ext, ac_cpp, ac_compile,
127 dnl ac_link, ac_compiler_gnu (dependant on the current
128 dnl language after popping):
129 AC_LANG_POP([C])
130
115131 dnl Finally, set Makefile variables
116132 dnl
117 BUILD_EXEEXT=$ac_build_exeext
118 BUILD_OBJEXT=$ac_build_objext
119133 AC_SUBST(BUILD_EXEEXT)dnl
120134 AC_SUBST(BUILD_OBJEXT)dnl
121135 AC_SUBST([CFLAGS_FOR_BUILD])dnl
3030 # and this notice are preserved. This file is offered as-is, without any
3131 # warranty.
3232
33 #serial 3
33 #serial 4
3434
3535 AU_ALIAS([AC_PROG_CXX_FOR_BUILD], [AX_PROG_CXX_FOR_BUILD])
3636 AC_DEFUN([AX_PROG_CXX_FOR_BUILD], [dnl
4848 pushdef([ac_cv_prog_cxx_g], ac_cv_build_prog_cxx_g)dnl
4949 pushdef([CXX], CXX_FOR_BUILD)dnl
5050 pushdef([CXXCPP], CXXCPP_FOR_BUILD)dnl
51 pushdef([GXX], GXX_FOR_BUILD)dnl
5152 pushdef([CXXFLAGS], CXXFLAGS_FOR_BUILD)dnl
5253 pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl
5354 pushdef([CXXCPPFLAGS], CXXCPPFLAGS_FOR_BUILD)dnl
6162 pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl
6263 pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl
6364 pushdef([ac_cv_host_os], ac_cv_build_os)dnl
64 pushdef([ac_cxxcpp], ac_build_cxxcpp)dnl
65 pushdef([ac_compile], ac_build_compile)dnl
66 pushdef([ac_link], ac_build_link)dnl
65 pushdef([ac_tool_prefix], ac_build_tool_prefix)dnl
66 pushdef([am_cv_CXX_dependencies_compiler_type], am_cv_build_CXX_dependencies_compiler_type)dnl
67 pushdef([cross_compiling], cross_compiling_build)dnl
6768
68 save_cross_compiling=$cross_compiling
69 save_ac_tool_prefix=$ac_tool_prefix
70 cross_compiling=no
71 ac_tool_prefix=
69 cross_compiling_build=no
7270
71 ac_build_tool_prefix=
72 AS_IF([test -n "$build"], [ac_build_tool_prefix="$build-"],
73 [test -n "$build_alias"],[ac_build_tool_prefix="$build_alias-"])
74
75 AC_LANG_PUSH([C++])
7376 AC_PROG_CXX
7477 AC_PROG_CXXCPP
7578
76 ac_tool_prefix=$save_ac_tool_prefix
77 cross_compiling=$save_cross_compiling
78
7979 dnl Restore the old definitions
8080 dnl
81 popdef([ac_link])dnl
82 popdef([ac_compile])dnl
83 popdef([ac_cxxcpp])dnl
81 popdef([cross_compiling])dnl
82 popdef([am_cv_CXX_dependencies_compiler_type])dnl
83 popdef([ac_tool_prefix])dnl
8484 popdef([ac_cv_host_os])dnl
8585 popdef([ac_cv_host_vendor])dnl
8686 popdef([ac_cv_host_cpu])dnl
102102 popdef([ac_cv_prog_gxx])dnl
103103 popdef([ac_cv_prog_CXXCPP])dnl
104104
105 dnl restore global variables (dependant on the current
106 dnl language after popping):
107 AC_LANG_POP([C++])
108
105109 dnl Finally, set Makefile variables
106110 dnl
107111 AC_SUBST([CXXFLAGS_FOR_BUILD])dnl
0 # ===========================================================================
1 # https://www.gnu.org/software/autoconf-archive/ax_prog_robot.html
2 # ===========================================================================
3 #
4 # SYNOPSIS
5 #
6 # AX_PROG_ROBOT([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
7 #
8 # DESCRIPTION
9 #
10 # This macro searches for the "robot" command from the Robot Framework and
11 # sets the variable "ROBOT" to the name of the application and the
12 # "ROBOT_VERSION" variable to the version of the Robot Framework. When
13 # robot is found sets the "HAS_ROBOT" to "yes", otherwise to "no".
14 #
15 # Example:
16 #
17 # AX_PROG_ROBOT([3.1.0], [], [])
18 #
19 # LICENSE
20 #
21 # Copyright (c) 2020, Adam Chyla <adam@chyla.org>
22 #
23 # Distributed under the terms of the BSD 3-Clause License.
24
25 #serial 4
26
27 AC_DEFUN([AX_PROG_ROBOT],
28 [
29 AC_REQUIRE([AC_PROG_SED])
30
31 ax_robot_version="$1"
32
33 AC_CHECK_PROGS(ROBOT,[robot])
34 AS_IF([test "x$ROBOT" = "x"],
35 [
36 AC_SUBST([HAS_ROBOT],[no])
37 AC_SUBST([ROBOT_VERSION],[])
38 $3
39 ],
40 [
41 AC_MSG_CHECKING([for robot version])
42 changequote(<<,>>)
43 robot_version=`$ROBOT --version | $SED -e 's/^[^0-9]* \([0-9]*\.[0-9]*\.[0-9]*\) .*/\1/'`
44 changequote([,])
45 AC_MSG_RESULT($robot_version)
46
47 AX_COMPARE_VERSION([$ax_robot_version],[le],[$robot_version],
48 [
49 AC_SUBST([HAS_ROBOT],[yes])
50 AC_SUBST([ROBOT_VERSION],[$robot_version])
51 $2
52 ],
53 [
54 AC_SUBST([HAS_ROBOT],[no])
55 AC_SUBST([ROBOT],[])
56 AC_SUBST([ROBOT_VERSION],[])
57 $3
58 ]
59 )
60 ]
61 )
62 ])
1313 # flags that are needed. (The user can also force certain compiler
1414 # flags/libs to be tested by setting these environment variables.)
1515 #
16 # Also sets PTHREAD_CC to any special C compiler that is needed for
17 # multi-threaded programs (defaults to the value of CC otherwise). (This
18 # is necessary on AIX to use the special cc_r compiler alias.)
16 # Also sets PTHREAD_CC and PTHREAD_CXX to any special C compiler that is
17 # needed for multi-threaded programs (defaults to the value of CC
18 # respectively CXX otherwise). (This is necessary on e.g. AIX to use the
19 # special cc_r/CC_r compiler alias.)
1920 #
2021 # NOTE: You are assumed to not only compile your program with these flags,
2122 # but also to link with them as well. For example, you might link with
2223 # $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
24 # $PTHREAD_CXX $CXXFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS
2325 #
2426 # If you are only building threaded programs, you may wish to use these
2527 # variables in your default LIBS, CFLAGS, and CC:
2628 #
2729 # LIBS="$PTHREAD_LIBS $LIBS"
2830 # CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
31 # CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS"
2932 # CC="$PTHREAD_CC"
33 # CXX="$PTHREAD_CXX"
3034 #
3135 # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
3236 # has a nonstandard name, this macro defines PTHREAD_CREATE_JOINABLE to
5458 #
5559 # Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
5660 # Copyright (c) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
61 # Copyright (c) 2019 Marc Stevens <marc.stevens@cwi.nl>
5762 #
5863 # This program is free software: you can redistribute it and/or modify it
5964 # under the terms of the GNU General Public License as published by the
8186 # modified version of the Autoconf Macro, you may extend this special
8287 # exception to the GPL to apply to your modified version as well.
8388
84 #serial 24
89 #serial 30
8590
8691 AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
8792 AC_DEFUN([AX_PTHREAD], [
88 AC_REQUIRE([AC_CANONICAL_HOST])
93 AC_REQUIRE([AC_CANONICAL_TARGET])
8994 AC_REQUIRE([AC_PROG_CC])
9095 AC_REQUIRE([AC_PROG_SED])
9196 AC_LANG_PUSH([C])
103108 ax_pthread_save_CFLAGS="$CFLAGS"
104109 ax_pthread_save_LIBS="$LIBS"
105110 AS_IF([test "x$PTHREAD_CC" != "x"], [CC="$PTHREAD_CC"])
111 AS_IF([test "x$PTHREAD_CXX" != "x"], [CXX="$PTHREAD_CXX"])
106112 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
107113 LIBS="$PTHREAD_LIBS $LIBS"
108114 AC_MSG_CHECKING([for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS])
122128 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
123129 # libraries is broken (non-POSIX).
124130
125 # Create a list of thread flags to try. Items starting with a "-" are
126 # C compiler flags, and other items are library names, except for "none"
127 # which indicates that we try without any flags at all, and "pthread-config"
128 # which is a program returning the flags for the Pth emulation library.
131 # Create a list of thread flags to try. Items with a "," contain both
132 # C compiler flags (before ",") and linker flags (after ","). Other items
133 # starting with a "-" are C compiler flags, and remaining items are
134 # library names, except for "none" which indicates that we try without
135 # any flags at all, and "pthread-config" which is a program returning
136 # the flags for the Pth emulation library.
129137
130138 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
131139
149157 # --thread-safe: KAI C++
150158 # pthread-config: use pthread-config program (for GNU Pth library)
151159
152 case $host_os in
160 case $target_os in
153161
154162 freebsd*)
155163
193201 # that too in a future libc.) So we'll check first for the
194202 # standard Solaris way of linking pthreads (-mt -lpthread).
195203
196 ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags"
204 ax_pthread_flags="-mt,-lpthread pthread $ax_pthread_flags"
197205 ;;
198206 esac
199
200 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
201
202 AS_IF([test "x$GCC" = "xyes"],
203 [ax_pthread_flags="-pthread -pthreads $ax_pthread_flags"])
204
205 # The presence of a feature test macro requesting re-entrant function
206 # definitions is, on some systems, a strong hint that pthreads support is
207 # correctly enabled
208
209 case $host_os in
210 darwin* | hpux* | linux* | osf* | solaris*)
211 ax_pthread_check_macro="_REENTRANT"
212 ;;
213
214 aix*)
215 ax_pthread_check_macro="_THREAD_SAFE"
216 ;;
217
218 *)
219 ax_pthread_check_macro="--"
220 ;;
221 esac
222 AS_IF([test "x$ax_pthread_check_macro" = "x--"],
223 [ax_pthread_check_cond=0],
224 [ax_pthread_check_cond="!defined($ax_pthread_check_macro)"])
225207
226208 # Are we compiling with Clang?
227209
241223 ])
242224 ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
243225
244 ax_pthread_clang_warning=no
226
227 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
228
229 # Note that for GCC and Clang -pthread generally implies -lpthread,
230 # except when -nostdlib is passed.
231 # This is problematic using libtool to build C++ shared libraries with pthread:
232 # [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25460
233 # [2] https://bugzilla.redhat.com/show_bug.cgi?id=661333
234 # [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468555
235 # To solve this, first try -pthread together with -lpthread for GCC
236
237 AS_IF([test "x$GCC" = "xyes"],
238 [ax_pthread_flags="-pthread,-lpthread -pthread -pthreads $ax_pthread_flags"])
239
240 # Clang takes -pthread (never supported any other flag), but we'll try with -lpthread first
241
242 AS_IF([test "x$ax_pthread_clang" = "xyes"],
243 [ax_pthread_flags="-pthread,-lpthread -pthread"])
244
245
246 # The presence of a feature test macro requesting re-entrant function
247 # definitions is, on some systems, a strong hint that pthreads support is
248 # correctly enabled
249
250 case $target_os in
251 darwin* | hpux* | linux* | osf* | solaris*)
252 ax_pthread_check_macro="_REENTRANT"
253 ;;
254
255 aix*)
256 ax_pthread_check_macro="_THREAD_SAFE"
257 ;;
258
259 *)
260 ax_pthread_check_macro="--"
261 ;;
262 esac
263 AS_IF([test "x$ax_pthread_check_macro" = "x--"],
264 [ax_pthread_check_cond=0],
265 [ax_pthread_check_cond="!defined($ax_pthread_check_macro)"])
266
267
268 if test "x$ax_pthread_ok" = "xno"; then
269 for ax_pthread_try_flag in $ax_pthread_flags; do
270
271 case $ax_pthread_try_flag in
272 none)
273 AC_MSG_CHECKING([whether pthreads work without any flags])
274 ;;
275
276 *,*)
277 PTHREAD_CFLAGS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\1/"`
278 PTHREAD_LIBS=`echo $ax_pthread_try_flag | sed "s/^\(.*\),\(.*\)$/\2/"`
279 AC_MSG_CHECKING([whether pthreads work with "$PTHREAD_CFLAGS" and "$PTHREAD_LIBS"])
280 ;;
281
282 -*)
283 AC_MSG_CHECKING([whether pthreads work with $ax_pthread_try_flag])
284 PTHREAD_CFLAGS="$ax_pthread_try_flag"
285 ;;
286
287 pthread-config)
288 AC_CHECK_PROG([ax_pthread_config], [pthread-config], [yes], [no])
289 AS_IF([test "x$ax_pthread_config" = "xno"], [continue])
290 PTHREAD_CFLAGS="`pthread-config --cflags`"
291 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
292 ;;
293
294 *)
295 AC_MSG_CHECKING([for the pthreads library -l$ax_pthread_try_flag])
296 PTHREAD_LIBS="-l$ax_pthread_try_flag"
297 ;;
298 esac
299
300 ax_pthread_save_CFLAGS="$CFLAGS"
301 ax_pthread_save_LIBS="$LIBS"
302 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
303 LIBS="$PTHREAD_LIBS $LIBS"
304
305 # Check for various functions. We must include pthread.h,
306 # since some functions may be macros. (On the Sequent, we
307 # need a special flag -Kthread to make this header compile.)
308 # We check for pthread_join because it is in -lpthread on IRIX
309 # while pthread_create is in libc. We check for pthread_attr_init
310 # due to DEC craziness with -lpthreads. We check for
311 # pthread_cleanup_push because it is one of the few pthread
312 # functions on Solaris that doesn't have a non-functional libc stub.
313 # We try pthread_create on general principles.
314
315 AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>
316 # if $ax_pthread_check_cond
317 # error "$ax_pthread_check_macro must be defined"
318 # endif
319 static void *some_global = NULL;
320 static void routine(void *a)
321 {
322 /* To avoid any unused-parameter or
323 unused-but-set-parameter warning. */
324 some_global = a;
325 }
326 static void *start_routine(void *a) { return a; }],
327 [pthread_t th; pthread_attr_t attr;
328 pthread_create(&th, 0, start_routine, 0);
329 pthread_join(th, 0);
330 pthread_attr_init(&attr);
331 pthread_cleanup_push(routine, 0);
332 pthread_cleanup_pop(0) /* ; */])],
333 [ax_pthread_ok=yes],
334 [])
335
336 CFLAGS="$ax_pthread_save_CFLAGS"
337 LIBS="$ax_pthread_save_LIBS"
338
339 AC_MSG_RESULT([$ax_pthread_ok])
340 AS_IF([test "x$ax_pthread_ok" = "xyes"], [break])
341
342 PTHREAD_LIBS=""
343 PTHREAD_CFLAGS=""
344 done
345 fi
346
245347
246348 # Clang needs special handling, because older versions handle the -pthread
247349 # option in a rather... idiosyncratic way
259361 # active. We could reasonably leave PTHREAD_CFLAGS empty. But
260362 # -pthread does define _REENTRANT, and while the Darwin headers
261363 # ignore this macro, third-party headers might not.)
262
263 PTHREAD_CFLAGS="-pthread"
264 PTHREAD_LIBS=
265
266 ax_pthread_ok=yes
267364
268365 # However, older versions of Clang make a point of warning the user
269366 # that, in an invocation where only linking and no compilation is
293390 # step
294391 ax_pthread_save_ac_link="$ac_link"
295392 ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
296 ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
393 ax_pthread_link_step=`AS_ECHO(["$ac_link"]) | sed "$ax_pthread_sed"`
297394 ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
298395 ax_pthread_save_CFLAGS="$CFLAGS"
299396 for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
319416
320417 fi # $ax_pthread_clang = yes
321418
322 if test "x$ax_pthread_ok" = "xno"; then
323 for ax_pthread_try_flag in $ax_pthread_flags; do
324
325 case $ax_pthread_try_flag in
326 none)
327 AC_MSG_CHECKING([whether pthreads work without any flags])
328 ;;
329
330 -mt,pthread)
331 AC_MSG_CHECKING([whether pthreads work with -mt -lpthread])
332 PTHREAD_CFLAGS="-mt"
333 PTHREAD_LIBS="-lpthread"
334 ;;
335
336 -*)
337 AC_MSG_CHECKING([whether pthreads work with $ax_pthread_try_flag])
338 PTHREAD_CFLAGS="$ax_pthread_try_flag"
339 ;;
340
341 pthread-config)
342 AC_CHECK_PROG([ax_pthread_config], [pthread-config], [yes], [no])
343 AS_IF([test "x$ax_pthread_config" = "xno"], [continue])
344 PTHREAD_CFLAGS="`pthread-config --cflags`"
345 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
346 ;;
347
348 *)
349 AC_MSG_CHECKING([for the pthreads library -l$ax_pthread_try_flag])
350 PTHREAD_LIBS="-l$ax_pthread_try_flag"
351 ;;
352 esac
353
354 ax_pthread_save_CFLAGS="$CFLAGS"
355 ax_pthread_save_LIBS="$LIBS"
356 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
357 LIBS="$PTHREAD_LIBS $LIBS"
358
359 # Check for various functions. We must include pthread.h,
360 # since some functions may be macros. (On the Sequent, we
361 # need a special flag -Kthread to make this header compile.)
362 # We check for pthread_join because it is in -lpthread on IRIX
363 # while pthread_create is in libc. We check for pthread_attr_init
364 # due to DEC craziness with -lpthreads. We check for
365 # pthread_cleanup_push because it is one of the few pthread
366 # functions on Solaris that doesn't have a non-functional libc stub.
367 # We try pthread_create on general principles.
368
369 AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>
370 # if $ax_pthread_check_cond
371 # error "$ax_pthread_check_macro must be defined"
372 # endif
373 static void routine(void *a) { a = 0; }
374 static void *start_routine(void *a) { return a; }],
375 [pthread_t th; pthread_attr_t attr;
376 pthread_create(&th, 0, start_routine, 0);
377 pthread_join(th, 0);
378 pthread_attr_init(&attr);
379 pthread_cleanup_push(routine, 0);
380 pthread_cleanup_pop(0) /* ; */])],
381 [ax_pthread_ok=yes],
382 [])
383
384 CFLAGS="$ax_pthread_save_CFLAGS"
385 LIBS="$ax_pthread_save_LIBS"
386
387 AC_MSG_RESULT([$ax_pthread_ok])
388 AS_IF([test "x$ax_pthread_ok" = "xyes"], [break])
389
390 PTHREAD_LIBS=""
391 PTHREAD_CFLAGS=""
392 done
393 fi
419
394420
395421 # Various other checks:
396422 if test "x$ax_pthread_ok" = "xyes"; then
423449 AC_CACHE_CHECK([whether more special flags are required for pthreads],
424450 [ax_cv_PTHREAD_SPECIAL_FLAGS],
425451 [ax_cv_PTHREAD_SPECIAL_FLAGS=no
426 case $host_os in
452 case $target_os in
427453 solaris*)
428454 ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
429455 ;;
437463 AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT],
438464 [ax_cv_PTHREAD_PRIO_INHERIT],
439465 [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>]],
440 [[int i = PTHREAD_PRIO_INHERIT;]])],
466 [[int i = PTHREAD_PRIO_INHERIT;
467 return i;]])],
441468 [ax_cv_PTHREAD_PRIO_INHERIT=yes],
442469 [ax_cv_PTHREAD_PRIO_INHERIT=no])
443470 ])
452479
453480 # More AIX lossage: compile with *_r variant
454481 if test "x$GCC" != "xyes"; then
455 case $host_os in
482 case $target_os in
456483 aix*)
457484 AS_CASE(["x/$CC"],
458485 [x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6],
459486 [#handle absolute path differently from PATH based program lookup
460487 AS_CASE(["x$CC"],
461488 [x/*],
462 [AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])],
463 [AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])])])
489 [
490 AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])
491 AS_IF([test "x${CXX}" != "x"], [AS_IF([AS_EXECUTABLE_P([${CXX}_r])],[PTHREAD_CXX="${CXX}_r"])])
492 ],
493 [
494 AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])
495 AS_IF([test "x${CXX}" != "x"], [AC_CHECK_PROGS([PTHREAD_CXX],[${CXX}_r],[$CXX])])
496 ]
497 )
498 ])
464499 ;;
465500 esac
466501 fi
467502 fi
468503
469504 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
505 test -n "$PTHREAD_CXX" || PTHREAD_CXX="$CXX"
470506
471507 AC_SUBST([PTHREAD_LIBS])
472508 AC_SUBST([PTHREAD_CFLAGS])
473509 AC_SUBST([PTHREAD_CC])
510 AC_SUBST([PTHREAD_CXX])
474511
475512 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
476513 if test "x$ax_pthread_ok" = "xyes"; then
4949 # modified version of the Autoconf Macro, you may extend this special
5050 # exception to the GPL to apply to your modified version as well.
5151
52 #serial 18
52 #serial 19
5353
5454 AC_DEFUN([AX_PYTHON],
5555 [AC_MSG_CHECKING(for python build information)
5656 AC_MSG_RESULT([])
57 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
57 for python in python3.9 python3.8 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
5858 AC_CHECK_PROGS(PYTHON_BIN, [$python])
5959 ax_python_bin=$PYTHON_BIN
6060 if test x$ax_python_bin != x; then
2121 # and this notice are preserved. This file is offered as-is, without any
2222 # warranty.
2323
24 #serial 1
24 #serial 2
2525
2626 AC_DEFUN([AX_R_PACKAGE], [
2727 pushdef([PKG],$1)
3939
4040 AC_MSG_CHECKING([R package PKG VERSION])
4141
42 TEST=$( $R --silent --vanilla -e 'if(is.na(packageDescription("PKG"))) stop("not found")' 2>/dev/null )
42 TEST=$( $R --silent --vanilla -e 'if(system.file(package="PKG") == "") stop("not found")' 2>/dev/null )
4343 AS_IF([test $? -eq 0], [], [
4444 AC_MSG_RESULT([no])
4545 AC_MSG_ERROR([R package PKG not found.])
3737 # arguments' expect their arguments to be of the form --option-name=value.
3838 #
3939 # This macro aims to remain as close as possible to the AC_CONFIG_SUBDIRS
40 # macro. It corrects the paths for '--cache-file' and '--srcdir' and adds
41 # '--disable-option-checking' and '--silent' if necessary.
40 # macro. It corrects the paths for '--srcdir' and adds
41 # '--disable-option-checking' and '--silent' if necessary. However, it
42 # does not change the '--cache-file' argument: typically, configure
43 # scripts run with different arguments will not be able to share the same
44 # cache. If you wish to share a single cache, you should give an absolute
45 # path to '--cache-file'.
4246 #
4347 # This macro also sets the output variable subdirs_extra to the list of
4448 # directories recorded with AX_SUBDIRS_CONFIGURE. This variable can be
146150 # You should have received a copy of the GNU General Public License along
147151 # with this program. If not, see <https://www.gnu.org/licenses/>.
148152
149 #serial 5
153 #serial 6
150154
151155 AC_DEFUN([AX_SUBDIRS_CONFIGURE],
152156 [
316320 if test "$silent" = yes; then
317321 ax_sub_configure_args="--silent $ax_sub_configure_args"
318322 fi
319 # Make the cache file name correct relative to the subdirectory.
320 case $cache_file in
321 [[\\/]]* | ?:[[\\/]]* )
322 ax_sub_cache_file=$cache_file ;;
323 *) # Relative name.
324 ax_sub_cache_file=$ac_top_build_prefix$cache_file ;;
325 esac
326
327 AC_MSG_NOTICE([running $SHELL $ax_sub_configure $ax_sub_configure_args --cache-file=$ac_sub_cache_file])
328 eval "\$SHELL \"$ax_sub_configure\" $ax_sub_configure_args --cache-file=\"$ax_sub_cache_file\"" \
323
324 AC_MSG_NOTICE([running $SHELL $ax_sub_configure $ax_sub_configure_args --cache-file=$cache_file])
325 eval "\$SHELL \"$ax_sub_configure\" $ax_sub_configure_args --cache-file=\"$cache_file\"" \
329326 || AC_MSG_ERROR([$ax_sub_configure failed for $ax_dir])
330327 fi
331328
4343 # modified version of the Autoconf Macro, you may extend this special
4444 # exception to the GPL to apply to your modified version as well.
4545
46 #serial 14
46 #serial 15
4747
4848 AC_DEFUN([AX_TLS], [
4949 AC_MSG_CHECKING([for thread local storage (TLS) class])
5151 [for ax_tls_keyword in thread_local _Thread_local __thread '__declspec(thread)' none; do
5252 AS_CASE([$ax_tls_keyword],
5353 [none], [ac_cv_tls=none ; break],
54 [AC_TRY_COMPILE(
55 [#include <stdlib.h>
56 static void
57 foo(void) {
58 static ] $ax_tls_keyword [ int bar;
59 exit(1);
60 }],
61 [],
62 [ac_cv_tls=$ax_tls_keyword ; break],
63 ac_cv_tls=none
64 )])
65 done
66 ])
54 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
55 [#include <stdlib.h>],
56 [static $ax_tls_keyword int bar;]
57 )],
58 [ac_cv_tls=$ax_tls_keyword ; break],
59 [ac_cv_tls=none]
60 )]
61 )
62 done ]
63 )
6764 AC_MSG_RESULT([$ac_cv_tls])
6865
6966 AS_IF([test "$ac_cv_tls" != "none"],
70 [AC_DEFINE_UNQUOTED([TLS],[$ac_cv_tls],[If the compiler supports a TLS storage class define it to that here])
71 m4_ifnblank([$1],[$1])],
72 [m4_ifnblank([$2],[$2])])
67 [AC_DEFINE_UNQUOTED([TLS],[$ac_cv_tls],[If the compiler supports a TLS storage class, define it to that here])
68 m4_ifnblank([$1],[$1],[[:]])],
69 [m4_ifnblank([$2],[$2],[[:]])])
7370 ])