1This is autoconf-archive.info, produced by makeinfo version 6.5 from
2autoconf-archive.texi.
3
4This manual is for GNU Autoconf Archive version 2019.01.06, a collection
5of freely re-usable Autoconf macros.
6
7Copyright (C) 2016 Autoconf Archive Maintainers
8<autoconf-archive-maintainers@gnu.org>
9
10Permission is granted to copy, distribute and/or modify this document
11under the terms of the GNU Free Documentation License, Version 1.3 or
12any later version published by the Free Software Foundation; with no
13Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.  A
14copy of the license is included in the section entitled "GNU Free
15Documentation License".
16INFO-DIR-SECTION Software development
17START-INFO-DIR-ENTRY
18* Autoconf Archive: (autoconf-archive). A collection of re-usable Autoconf macros.
19END-INFO-DIR-ENTRY
20
21
22File: autoconf-archive.info,  Node: Top,  Next: Introduction,  Up: (dir)
23
24GNU Autoconf Archive
25********************
26
27This manual is for GNU Autoconf Archive version 2019.01.06, a collection
28of freely re-usable Autoconf macros.
29
30Copyright (C) 2016 Autoconf Archive Maintainers
31<autoconf-archive-maintainers@gnu.org>
32
33Permission is granted to copy, distribute and/or modify this document
34under the terms of the GNU Free Documentation License, Version 1.3 or
35any later version published by the Free Software Foundation; with no
36Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.  A
37copy of the license is included in the section entitled "GNU Free
38Documentation License".
39
40* Menu:
41
42* Introduction::                        Project Synopsis, home page links, etc.
43* Downloads::                           How to find git repository and release tarballs.
44* How to contribute::                   Submission Guidelines.
45* The Macros::                          Alphabetic index of all macros.
46* GNU Free Documentation License::      Copying and sharing this manual.
47
48
49File: autoconf-archive.info,  Node: Introduction,  Next: Downloads,  Prev: Top,  Up: Top
50
511 Introduction
52**************
53
54The GNU Autoconf Archive is a collection of more than 500 macros for GNU
55Autoconf (https://www.gnu.org/software/autoconf) that have been
56contributed as free software by friendly supporters of the cause from
57all over the Internet.  Every single one of those macros can be re-used
58without imposing any restrictions whatsoever on the licensing of the
59generated 'configure' script.  In particular, it is possible to use all
60those macros in 'configure' scripts that are meant for non-free
61software.  This policy is unusual for a Free Software Foundation
62project.  The FSF firmly believes that software ought to be free, and
63software licenses like the GPL are specifically designed to ensure that
64derivative work based on free software must be free as well.  In case of
65Autoconf, however, an exception has been made, because Autoconf is at
66such a pivotal position in the software development tool chain that the
67benefits from having this tool available as widely as possible outweigh
68the disadvantage that some authors may choose to use it, too, for
69proprietary software.
70
71This official web site of this project is located at
72<https://www.gnu.org/software/autoconf-archive/>.  All available
73information concerning this project is referenced from there.
74
75If you have questions, suggestions, are any other feedback that you'd
76like to share, then please don't hesitate to contact the Archive
77maintainers at <autoconf-archive-maintainers@gnu.org>.
78
79
80File: autoconf-archive.info,  Node: Downloads,  Next: How to contribute,  Prev: Introduction,  Up: Top
81
822 Downloading the GNU Autoconf Archive
83**************************************
84
85The macros distributed by the Archive are maintained in a public Git
86repository at 'git://git.sv.gnu.org/autoconf-archive.git'.  That
87repository can be cloned anonymously, which is probably the most
88convenient way to access the Archive.  Gitweb offers an RSS feed
89(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=rss) for
90subscription that informs about changes to the repository.  The same
91information is available via e-mail, too, on the commits mailing list
92(http://lists.gnu.org/mailman/listinfo/autoconf-archive-commits).
93
94For the benefit of everyone who doesn't use Git, traditional release
95archives can be downloaded from any GNU mirror, i.e.
96<http://ftpmirror.gnu.org/autoconf-archive/>.  New release are always
97announced on the low-traffic announcements mailing list
98(http://lists.gnu.org/mailman/listinfo/autoconf-archive-announce).
99
100
101File: autoconf-archive.info,  Node: How to contribute,  Next: The Macros,  Prev: Downloads,  Up: Top
102
1033 How to contribute to the GNU Autoconf Archive
104***********************************************
105
1063.1 Macro Format
107================
108
109Each macro in the Archive has an all-upper-case name with the prefix
110'AX_'.  The macro is stored in a file with the same name, in lower case,
111and with the suffix '.m4'.  Unless absolutely necessary, the file
112contents should be in ASCII. For example, use apostrophe (U+27) for
113quoting identifiers instead of Unicode quotation mark characters U+2018,
114U+2019.
115
116The file should begin with a header comment containing three named
117sections: synopsis, description, and license.
118
119The synopsis gives a summary of the macro usage and arguments.  In this
120section, square brackets ('[]') are used to indicate optional
121parameters, and may be nested.
122
123The description contains a prose description of the macro.  It should
124describe the function of the macro, and the meaning of any arguments
125given in the synopsis.  The description should also identify:
126
127   * any default macro parameter values
128   * any new '--with' or '--enable' options, and their default values
129   * any argument variables consulted ('AC_ARG_VAR')
130   * any substituted variables ('AC_SUBST')
131   * any defined precompiler constants ('AC_DEFINE')
132
133Macros should be defined with 'AC_DEFUN', using correct quoting.
134Comments should be used liberally within the macro, with 'dnl' used for
135comments at the m4sh level and '#' used for comments at the shell level.
136
137If a macro is renamed, the 'AU_ALIAS' macro should be used to guide
138users of the old name to the new name:
139
140     AU_ALIAS([OLD_NAME], [AX_NEW_NAME])
141
1423.2 Submitting Macros
143=====================
144
145To submit updates to the Autoconf Archive, please create an issue in the
146patch tracker
147(http://savannah.gnu.org/patch/?func=additem&group=autoconf-archive) and
148attach a (preferably 'git-format-patch(1)'-formatted) patch file.  Users
149of 'github.com' may prefer to create a pull request for the Autoconf
150Archive Mirror at Github
151(https://github.com/autoconf-archive/autoconf-archive).  Please make
152sure your submission contains the following items:
153
154   * a synopsis that shows how the macro must be be called,
155
156   * a brief description of the macro's purpose,
157
158   * the list of authors (optionally with e-mail addresses),
159
160   * licensing terms, and
161
162   * the m4 source code.
163
164Macros can be submitted under any GPL-compatible free software license
165(https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses).
166The Free Software Foundation, however, recommends use of the
167all-permissive license
168(https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html)
169for Autoconf macros.
170
1713.3 Writing Highly Usable Macros
172================================
173
174Autoconf macros are used in a surprising variety of ways, and a
175well-written macro should be flexible enough to suit all of these uses.
176
177See the Autotools Mythbuster
178(http://www.flameeyes.eu/autotools-mythbuster) for suggestions on how to
179write well-encapsulated, portable macros.
180
181
182File: autoconf-archive.info,  Node: The Macros,  Next: GNU Free Documentation License,  Prev: How to contribute,  Up: Top
183
1844 The Macros
185************
186
187* Menu:
188
189* ax_absolute_header::
190* ax_ac_append_to_file::
191* ax_ac_print_to_file::
192* ax_add_am_macro::
193* ax_add_am_macro_static::
194* ax_add_am_trilinos_makefile_export::
195* ax_add_fortify_source::
196* ax_add_recursive_am_macro::
197* ax_add_recursive_am_macro_static::
198* ax_afs::
199* ax_am_jobserver::
200* ax_am_macros::
201* ax_am_macros_static::
202* ax_am_override_var::
203* ax_append_compile_flags::
204* ax_append_flag::
205* ax_append_link_flags::
206* ax_append_to_file::
207* ax_arg_with_path_style::
208* ax_asm_inline::
209* ax_at_check_pattern::
210* ax_auto_include_headers::
211* ax_berkeley_db::
212* ax_berkeley_db_cxx::
213* ax_blas::
214* ax_blas_f77_func::
215* ax_boost_asio::
216* ax_boost_base::
217* ax_boost_chrono::
218* ax_boost_context::
219* ax_boost_coroutine::
220* ax_boost_date_time::
221* ax_boost_filesystem::
222* ax_boost_iostreams::
223* ax_boost_locale::
224* ax_boost_log::
225* ax_boost_log_setup::
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_pgsql_db::
348* ax_check_posix_regcomp::
349* ax_check_posix_sysinfo::
350* ax_check_postgres_db::
351* ax_check_preproc_flag::
352* ax_check_rqrd_class::
353* ax_check_sign::
354* ax_check_strcspn::
355* ax_check_strftime::
356* ax_check_struct_for::
357* ax_check_symbol::
358* ax_check_sys_siglist::
359* ax_check_typedef::
360* ax_check_uname_syscall::
361* ax_check_user::
362* ax_check_vscript::
363* ax_check_x86_features::
364* ax_check_zlib::
365* ax_code_coverage::
366* ax_compare_version::
367* ax_compile_check_sizeof::
368* ax_compiler_flags::
369* ax_compiler_flags_cflags::
370* ax_compiler_flags_cxxflags::
371* ax_compiler_flags_gir::
372* ax_compiler_flags_ldflags::
373* ax_compiler_vendor::
374* ax_compiler_version::
375* ax_compute_relative_paths::
376* ax_compute_standard_relative_paths::
377* ax_cond_with_level::
378* ax_config_feature::
379* ax_configure_args::
380* ax_count_cpus::
381* ax_cpu_freq::
382* ax_cpu_vendor::
383* ax_create_generic_config::
384* ax_create_pkgconfig_info::
385* ax_create_stdint_h::
386* ax_create_target_h::
387* ax_cvs::
388* ax_cxx_bool::
389* ax_cxx_compile_stdcxx::
390* ax_cxx_compile_stdcxx_0x::
391* ax_cxx_compile_stdcxx_11::
392* ax_cxx_compile_stdcxx_14::
393* ax_cxx_compile_stdcxx_17::
394* ax_cxx_complex_math_in_namespace_std::
395* ax_cxx_const_cast::
396* ax_cxx_cppflags_std_lang::
397* ax_cxx_cxxflags_std_lang::
398* ax_cxx_default_template_parameters::
399* ax_cxx_delete_method::
400* ax_cxx_dtor_after_atexit::
401* ax_cxx_dynamic_cast::
402* ax_cxx_enum_computations::
403* ax_cxx_enum_computations_with_cast::
404* ax_cxx_erase_iterator_type::
405* ax_cxx_exceptions::
406* ax_cxx_explicit::
407* ax_cxx_explicit_instantiations::
408* ax_cxx_explicit_template_function_qualification::
409* ax_cxx_extern_template::
410* ax_cxx_full_specialization_syntax::
411* ax_cxx_function_nontype_parameters::
412* ax_cxx_function_try_blocks::
413* ax_cxx_gcc_abi_demangle::
414* ax_cxx_gnucxx_hashmap::
415* ax_cxx_have_bad_function_call::
416* ax_cxx_have_bind::
417* ax_cxx_have_bit_and::
418* ax_cxx_have_bit_or::
419* ax_cxx_have_bit_xor::
420* ax_cxx_have_complex::
421* ax_cxx_have_complex_math1::
422* ax_cxx_have_complex_math2::
423* ax_cxx_have_cref::
424* ax_cxx_have_empty_iostream::
425* ax_cxx_have_ext_hash_map::
426* ax_cxx_have_ext_hash_set::
427* ax_cxx_have_ext_slist::
428* ax_cxx_have_freeze_sstream::
429* ax_cxx_have_function::
430* ax_cxx_have_hash::
431* ax_cxx_have_ieee_math::
432* ax_cxx_have_is_bind_expression::
433* ax_cxx_have_is_placeholder::
434* ax_cxx_have_koenig_lookup::
435* ax_cxx_have_long_long_for_iostream::
436* ax_cxx_have_mem_fn::
437* ax_cxx_have_numeric_limits::
438* ax_cxx_have_placeholders::
439* ax_cxx_have_ref::
440* ax_cxx_have_reference_wrapper::
441* ax_cxx_have_sstream::
442* ax_cxx_have_std::
443* ax_cxx_have_stl::
444* ax_cxx_have_string_push_back::
445* ax_cxx_have_system_v_math::
446* ax_cxx_have_valarray::
447* ax_cxx_have_vector_at::
448* ax_cxx_header_pre_stdcxx::
449* ax_cxx_header_stdcxx_0x::
450* ax_cxx_header_stdcxx_98::
451* ax_cxx_header_stdcxx_tr1::
452* ax_cxx_header_tr1_unordered_map::
453* ax_cxx_header_tr1_unordered_set::
454* ax_cxx_header_unordered_map::
455* ax_cxx_header_unordered_set::
456* ax_cxx_ldflags_std_lang::
457* ax_cxx_member_constants::
458* ax_cxx_member_templates::
459* ax_cxx_member_templates_outside_class::
460* ax_cxx_mutable::
461* ax_cxx_namespace_std::
462* ax_cxx_namespaces::
463* ax_cxx_new_for_scoping::
464* ax_cxx_old_for_scoping::
465* ax_cxx_partial_ordering::
466* ax_cxx_partial_specialization::
467* ax_cxx_reinterpret_cast::
468* ax_cxx_restrict_this::
469* ax_cxx_rtti::
470* ax_cxx_rvalue_references::
471* ax_cxx_static_cast::
472* ax_cxx_stlport_hashmap::
473* ax_cxx_template_keyword_qualifier::
474* ax_cxx_template_qualified_base_class::
475* ax_cxx_template_qualified_return_type::
476* ax_cxx_template_scoped_argument_matching::
477* ax_cxx_templates::
478* ax_cxx_templates_as_template_arguments::
479* ax_cxx_typename::
480* ax_cxx_use_numtrait::
481* ax_cxx_var_prettyfunc::
482* ax_cxx_verbose_terminate_handler::
483* ax_czmq::
484* ax_decl_wchar_max::
485* ax_define_integer_bits::
486* ax_define_sub_path::
487* ax_dirname::
488* ax_dist_msi::
489* ax_dist_rpm::
490* ax_dll_string::
491* ax_elisp::
492* ax_enable_builddir::
493* ax_execinfo::
494* ax_expand_prefix::
495* ax_ext::
496* ax_ext_check_header::
497* ax_ext_have_lib::
498* ax_extend_srcdir::
499* ax_extra_dist::
500* ax_f77_cmain_fflags::
501* ax_f90_header::
502* ax_f90_internal_headmod::
503* ax_f90_library::
504* ax_f90_library_setup::
505* ax_f90_module::
506* ax_f90_module_extension::
507* ax_f90_module_flag::
508* ax_fc_check_define::
509* ax_file_escapes::
510* ax_find_hamcrest::
511* ax_find_junit::
512* ax_find_scala_stdlib::
513* ax_forceinline::
514* ax_func_accept_argtypes::
515* ax_func_getopt_long::
516* ax_func_memmove::
517* ax_func_mkdir::
518* ax_func_posix_memalign::
519* ax_func_snprintf::
520* ax_func_which_gethostbyname_r::
521* ax_func_which_getservbyname_r::
522* ax_gcc_archflag::
523* ax_gcc_builtin::
524* ax_gcc_const_call::
525* ax_gcc_func_attribute::
526* ax_gcc_lib::
527* ax_gcc_libgcc_eh::
528* ax_gcc_libsupcxx::
529* ax_gcc_malloc_call::
530* ax_gcc_var_attribute::
531* ax_gcc_warn_unused_result::
532* ax_gcc_x86_avx_xgetbv::
533* ax_gcc_x86_cpu_supports::
534* ax_gcc_x86_cpuid::
535* ax_generate_changelog::
536* ax_gnu_autotest::
537* ax_have_adns::
538* ax_have_epoll::
539* ax_have_poll::
540* ax_have_qt::
541* ax_have_select::
542* ax_include_strcasecmp::
543* ax_install_files::
544* ax_is_release::
545* ax_java_check_class::
546* ax_java_options::
547* ax_jni_include_dir::
548* ax_lapack::
549* ax_lib_beecrypt::
550* ax_lib_cgal_core::
551* ax_lib_crypto::
552* ax_lib_curl::
553* ax_lib_ev::
554* ax_lib_expat::
555* ax_lib_firebird::
556* ax_lib_gcrypt::
557* ax_lib_gdal::
558* ax_lib_hdf5::
559* ax_lib_id3::
560* ax_lib_libkml::
561* ax_lib_metis::
562* ax_lib_mysql::
563* ax_lib_mysqlcppconn::
564* ax_lib_netcdf4::
565* ax_lib_nettle::
566* ax_lib_nokalva::
567* ax_lib_oracle_occi::
568* ax_lib_oracle_oci::
569* ax_lib_orbit2::
570* ax_lib_postgresql::
571* ax_lib_readline::
572* ax_lib_samtools::
573* ax_lib_socket_nsl::
574* ax_lib_sqlite3::
575* ax_lib_tabix::
576* ax_lib_taglib::
577* ax_lib_trace::
578* ax_lib_upnp::
579* ax_lib_wad::
580* ax_lib_xalan::
581* ax_lib_xerces::
582* ax_lib_xml_security::
583* ax_libgcj_jar::
584* ax_libtoolize_cflags::
585* ax_llvm::
586* ax_lua::
587* ax_luarocks_rock::
588* ax_maintainer_mode_auto_silent::
589* ax_missing_prog::
590* ax_mpi::
591* ax_mpip::
592* ax_need_awk::
593* ax_normalize_path::
594* ax_not_enable_frame_pointer::
595* ax_numeric_namedlevel::
596* ax_open62541_check_h::
597* ax_open62541_check_lib::
598* ax_open62541_path::
599* ax_openmp::
600* ax_patch_libtool_changing_cmds_ifs::
601* ax_path_bdb::
602* ax_path_generic::
603* ax_path_lib_pcre::
604* ax_path_milter::
605* ax_path_missing::
606* ax_perl_ext::
607* ax_perl_ext_flags::
608* ax_perl_module_version::
609* ax_pgsql_priv_root::
610* ax_pkg_check_modules::
611* ax_pkg_mico::
612* ax_pkg_swig::
613* ax_prefix_config_h::
614* ax_print_to_file::
615* ax_printf_size_t::
616* ax_prog_apache::
617* ax_prog_bison::
618* ax_prog_bison_version::
619* ax_prog_cc_char_subscripts::
620* ax_prog_cc_for_build::
621* ax_prog_cc_mpi::
622* ax_prog_cp_s::
623* ax_prog_crontab::
624* ax_prog_cxx_for_build::
625* ax_prog_cxx_mpi::
626* ax_prog_date::
627* ax_prog_dotnetcore_version::
628* ax_prog_doxygen::
629* ax_prog_emacs::
630* ax_prog_f77_mpi::
631* ax_prog_fasm::
632* ax_prog_fasm_opt::
633* ax_prog_fc_mpi::
634* ax_prog_fig2dev::
635* ax_prog_flex::
636* ax_prog_flex_version::
637* ax_prog_gjs::
638* ax_prog_guile_version::
639* ax_prog_haxe_version::
640* ax_prog_help2man::
641* ax_prog_hla::
642* ax_prog_hla_opt::
643* ax_prog_httpd::
644* ax_prog_jar::
645* ax_prog_java::
646* ax_prog_java_cc::
647* ax_prog_java_works::
648* ax_prog_javac::
649* ax_prog_javac_works::
650* ax_prog_javadoc::
651* ax_prog_javah::
652* ax_prog_masm::
653* ax_prog_masm_opt::
654* ax_prog_md5sum::
655* ax_prog_modprobe::
656* ax_prog_mysql::
657* ax_prog_mysqladmin::
658* ax_prog_mysqld::
659* ax_prog_mysqlimport::
660* ax_prog_mysqlshow::
661* ax_prog_nasm::
662* ax_prog_nasm_opt::
663* ax_prog_perl_modules::
664* ax_prog_perl_version::
665* ax_prog_pgclient::
666* ax_prog_python_version::
667* ax_prog_ruby_version::
668* ax_prog_scala::
669* ax_prog_scalac::
670* ax_prog_scp::
671* ax_prog_splint::
672* ax_prog_ssh::
673* ax_prog_tasm::
674* ax_prog_tasm_opt::
675* ax_prog_tcl::
676* ax_prog_xsltproc::
677* ax_prog_yasm::
678* ax_prog_yasm_opt::
679* ax_prototype::
680* ax_prototype_accept::
681* ax_prototype_getsockname::
682* ax_prototype_setsockopt::
683* ax_pthread::
684* ax_python::
685* ax_python_config_var::
686* ax_python_devel::
687* ax_python_embed::
688* ax_python_module::
689* ax_python_module_version::
690* ax_r_package::
691* ax_recursive_eval::
692* ax_require_defined::
693* ax_require_one_func::
694* ax_restore_flags::
695* ax_restore_flags_with_prefix::
696* ax_rpm_init::
697* ax_ruby_devel::
698* ax_ruby_ext::
699* ax_save_flags::
700* ax_save_flags_with_prefix::
701* ax_set_default_paths_system::
702* ax_short_sleep::
703* ax_silent_mode::
704* ax_sip_devel::
705* ax_spec_file::
706* ax_spec_package_version::
707* ax_split_version::
708* ax_string_strcasecmp::
709* ax_strings_strcasecmp::
710* ax_struct_semun::
711* ax_subdir_files::
712* ax_subdirs_configure::
713* ax_subst_with::
714* ax_swig_enable_cxx::
715* ax_swig_multi_module_support::
716* ax_swig_python::
717* ax_switch_flags::
718* ax_sys_dev_poll::
719* ax_sys_largefile_sensitive::
720* ax_sys_perlsharpbang::
721* ax_sys_weak_alias::
722* ax_sysv_ipc::
723* ax_tls::
724* ax_trilinos_amesos::
725* ax_trilinos_base::
726* ax_trilinos_epetra::
727* ax_trilinos_epetraext::
728* ax_trilinos_epetraext_hdf5::
729* ax_trilinos_rtop::
730* ax_trilinos_rythmos::
731* ax_trilinos_teuchos::
732* ax_trilinos_thyra::
733* ax_trilinos_thyra_epetra::
734* ax_trilinos_thyra_epetraext::
735* ax_try_awk_anyout::
736* ax_try_awk_expout::
737* ax_try_compile_java::
738* ax_try_run_java::
739* ax_type_socklen_t::
740* ax_upload::
741* ax_valgrind_check::
742* ax_var_pop::
743* ax_var_push::
744* ax_var_timezone_externals::
745* ax_very_nice::
746* ax_warning_default_aclocaldir::
747* ax_warning_default_pkgconfig::
748* ax_wint_t::
749* ax_with_apxs::
750* ax_with_build_path::
751* ax_with_curses::
752* ax_with_curses_extra::
753* ax_with_dmalloc::
754* ax_with_mpatrol::
755* ax_with_prog::
756* ax_xercesc::
757* ax_xsdcxx::
758* ax_xtra_classpath::
759* ax_zmq::
760* ax_zoneinfo::
761
762
763File: autoconf-archive.info,  Node: ax_absolute_header,  Next: ax_ac_append_to_file,  Up: The Macros
764
765ax_absolute_header
766==================
767
768Synopsis
769********
770
771     AX_ABSOLUTE_HEADER(HEADER1 HEADER2 ...)
772
773Description
774***********
775
776Find the absolute name of a header file, assuming the header exists.  If
777the header were sys/inttypes.h, this macro would define
778ABSOLUTE_SYS_INTTYPES_H to the '""' quoted absolute name of
779sys/inttypes.h in config.h (e.g.  '#define ABSOLUTE_SYS_INTTYPES_H
780"///usr/include/sys/inttypes.h"').  The three "///" are to pacify Sun C
7815.8, which otherwise would say "warning: #include of /usr/include/...
782may be non-portable".  Use '""', not '<>', so that the /// cannot be
783confused with a C99 comment.
784
785Source Code
786***********
787
788Download the latest version of 'ax_absolute_header.m4'
789(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_absolute_header.m4)
790or browse the macro's revision history
791(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_absolute_header.m4).
792
793License
794*******
795
796Copyright (C) 2009 Derek Price
797Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
798
799Copying and distribution of this file, with or without modification, are
800permitted in any medium without royalty provided the copyright notice
801and this notice are preserved.  This file is offered as-is, without any
802warranty.
803
804
805File: autoconf-archive.info,  Node: ax_ac_append_to_file,  Next: ax_ac_print_to_file,  Prev: ax_absolute_header,  Up: The Macros
806
807ax_ac_append_to_file
808====================
809
810Synopsis
811********
812
813     AX_AC_APPEND_TO_FILE([FILE],[DATA])
814
815Description
816***********
817
818Appends the specified data to the specified Autoconf is run.  If you
819want to append to a file when configure is run use AX_APPEND_TO_FILE
820instead.
821
822Source Code
823***********
824
825Download the latest version of 'ax_ac_append_to_file.m4'
826(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ac_append_to_file.m4)
827or browse the macro's revision history
828(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ac_append_to_file.m4).
829
830License
831*******
832
833Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
834
835Copying and distribution of this file, with or without modification, are
836permitted in any medium without royalty provided the copyright notice
837and this notice are preserved.  This file is offered as-is, without any
838warranty.
839
840
841File: autoconf-archive.info,  Node: ax_ac_print_to_file,  Next: ax_add_am_macro,  Prev: ax_ac_append_to_file,  Up: The Macros
842
843ax_ac_print_to_file
844===================
845
846Synopsis
847********
848
849     AX_AC_PRINT_TO_FILE([FILE],[DATA])
850
851Description
852***********
853
854Writes the specified data to the specified file when Autoconf is run.
855If you want to print to a file when configure is run use
856AX_PRINT_TO_FILE instead.
857
858Source Code
859***********
860
861Download the latest version of 'ax_ac_print_to_file.m4'
862(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ac_print_to_file.m4)
863or browse the macro's revision history
864(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ac_print_to_file.m4).
865
866License
867*******
868
869Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
870
871Copying and distribution of this file, with or without modification, are
872permitted in any medium without royalty provided the copyright notice
873and this notice are preserved.  This file is offered as-is, without any
874warranty.
875
876
877File: autoconf-archive.info,  Node: ax_add_am_macro,  Next: ax_add_am_macro_static,  Prev: ax_ac_print_to_file,  Up: The Macros
878
879ax_add_am_macro
880===============
881
882Synopsis
883********
884
885     AX_ADD_AM_MACRO([RULE])
886
887Description
888***********
889
890Adds the specified rule to $AMINCLUDE. This macro will only work
891properly with implementations of Make which allow include statements.
892See also AX_ADD_AM_MACRO_STATIC.
893
894Source Code
895***********
896
897Download the latest version of 'ax_add_am_macro.m4'
898(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_am_macro.m4)
899or browse the macro's revision history
900(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_am_macro.m4).
901
902License
903*******
904
905Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
906
907Copying and distribution of this file, with or without modification, are
908permitted in any medium without royalty provided the copyright notice
909and this notice are preserved.  This file is offered as-is, without any
910warranty.
911
912
913File: autoconf-archive.info,  Node: ax_add_am_macro_static,  Next: ax_add_am_trilinos_makefile_export,  Prev: ax_add_am_macro,  Up: The Macros
914
915ax_add_am_macro_static
916======================
917
918Synopsis
919********
920
921     AX_ADD_AM_MACRO_STATIC([RULE])
922
923Description
924***********
925
926Adds the specified rule to $AMINCLUDE.
927
928Source Code
929***********
930
931Download the latest version of 'ax_add_am_macro_static.m4'
932(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_am_macro_static.m4)
933or browse the macro's revision history
934(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_am_macro_static.m4).
935
936License
937*******
938
939Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
940Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
941
942Copying and distribution of this file, with or without modification, are
943permitted in any medium without royalty provided the copyright notice
944and this notice are preserved.  This file is offered as-is, without any
945warranty.
946
947
948File: autoconf-archive.info,  Node: ax_add_am_trilinos_makefile_export,  Next: ax_add_fortify_source,  Prev: ax_add_am_macro_static,  Up: The Macros
949
950ax_add_am_trilinos_makefile_export
951==================================
952
953Synopsis
954********
955
956     AX_ADD_AM_TRILINOS_MAKEFILE_EXPORT(EXPORT_SUFFIX [, ACTION-IF-NOT-FOUND])
957
958Description
959***********
960
961Checks if a file named <Makefile.export.EXPORT_SUFFIX> appears in the
962$TRILINOS_INCLUDE directory.  If so, adds an include for it using the
963AX_AM_MACROS framework.
964
965If ACTION-IF-NOT-FOUND is not provided, configure fails.
966
967Source Code
968***********
969
970Download the latest version of 'ax_add_am_trilinos_makefile_export.m4'
971(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_am_trilinos_makefile_export.m4)
972or browse the macro's revision history
973(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_am_trilinos_makefile_export.m4).
974
975License
976*******
977
978Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
979
980Copying and distribution of this file, with or without modification, are
981permitted in any medium without royalty provided the copyright notice
982and this notice are preserved.  This file is offered as-is, without any
983warranty.
984
985
986File: autoconf-archive.info,  Node: ax_add_fortify_source,  Next: ax_add_recursive_am_macro,  Prev: ax_add_am_trilinos_makefile_export,  Up: The Macros
987
988ax_add_fortify_source
989=====================
990
991Synopsis
992********
993
994     AX_ADD_FORTIFY_SOURCE
995
996Description
997***********
998
999Check whether -D_FORTIFY_SOURCE=2 can be added to CPPFLAGS without macro
1000redefinition warnings.  Some distributions (such as Gentoo Linux) enable
1001_FORTIFY_SOURCE globally in their compilers, leading to unnecessary
1002warnings in the form of
1003
1004       <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
1005       <built-in>: note: this is the location of the previous definition
1006
1007which is a problem if -Werror is enabled.  This macro checks whether
1008_FORTIFY_SOURCE is already defined, and if not, adds -D_FORTIFY_SOURCE=2
1009to CPPFLAGS.
1010
1011Source Code
1012***********
1013
1014Download the latest version of 'ax_add_fortify_source.m4'
1015(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_fortify_source.m4)
1016or browse the macro's revision history
1017(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_fortify_source.m4).
1018
1019License
1020*******
1021
1022Copyright (C) 2017 David Seifert <soap@gentoo.org>
1023
1024Copying and distribution of this file, with or without modification, are
1025permitted in any medium without royalty provided the copyright notice
1026and this notice are preserved.  This file is offered as-is, without any
1027warranty.
1028
1029
1030File: autoconf-archive.info,  Node: ax_add_recursive_am_macro,  Next: ax_add_recursive_am_macro_static,  Prev: ax_add_fortify_source,  Up: The Macros
1031
1032ax_add_recursive_am_macro
1033=========================
1034
1035Synopsis
1036********
1037
1038     AX_ADD_RECURSIVE_AM_MACRO([TARGET],[RULE])
1039
1040Description
1041***********
1042
1043Adds the specified rule to $AMINCLUDE along with a TARGET-recursive rule
1044that will call TARGET for the current directory and TARGET-am
1045recursively for each subdirectory.  See also
1046AX_ADD_RECURSIVE_AM_MACRO_STATIC.
1047
1048Source Code
1049***********
1050
1051Download the latest version of 'ax_add_recursive_am_macro.m4'
1052(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_recursive_am_macro.m4)
1053or browse the macro's revision history
1054(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_recursive_am_macro.m4).
1055
1056License
1057*******
1058
1059Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
1060
1061Copying and distribution of this file, with or without modification, are
1062permitted in any medium without royalty provided the copyright notice
1063and this notice are preserved.  This file is offered as-is, without any
1064warranty.
1065
1066
1067File: autoconf-archive.info,  Node: ax_add_recursive_am_macro_static,  Next: ax_afs,  Prev: ax_add_recursive_am_macro,  Up: The Macros
1068
1069ax_add_recursive_am_macro_static
1070================================
1071
1072Synopsis
1073********
1074
1075     AX_ADD_RECURSIVE_AM_MACRO_STATIC([TARGET],[RULE])
1076
1077Description
1078***********
1079
1080Adds the specified rule to AMINCLUDE_STATIC along with a
1081TARGET-recursive rule that will call TARGET for the current directory
1082and TARGET-am recursively for each subdirectory.
1083
1084Source Code
1085***********
1086
1087Download the latest version of 'ax_add_recursive_am_macro_static.m4'
1088(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_add_recursive_am_macro_static.m4)
1089or browse the macro's revision history
1090(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_add_recursive_am_macro_static.m4).
1091
1092License
1093*******
1094
1095Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
1096Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
1097
1098Copying and distribution of this file, with or without modification, are
1099permitted in any medium without royalty provided the copyright notice
1100and this notice are preserved.  This file is offered as-is, without any
1101warranty.
1102
1103
1104File: autoconf-archive.info,  Node: ax_afs,  Next: ax_am_jobserver,  Prev: ax_add_recursive_am_macro_static,  Up: The Macros
1105
1106ax_afs
1107======
1108
1109Synopsis
1110********
1111
1112     AX_AFS
1113
1114Description
1115***********
1116
1117This sets up the proper includes and libs needed for building programs
1118that link with AFS. It adds a -with-afsdir option that lets you specify
1119where the AFS includes and libs are (defaulting to /usr/afsws).
1120
1121It also adds the -I and -L options to CPPFLAGS and LDFLAGS
1122
1123It creates an AC_SUBST(AFSWS) that contains the directory being used.
1124
1125It checks for -lBSD, -lsocket and -lnsl since AFS needs those if they
1126exist.  It also adds -R/usr/ucblib -L/usr/ucblib -lucb if on Solaris.
1127
1128It sets VICE_ETC_PATH to be the directory where /usr/vice/etc lives,
1129since AFS 3.4 uses a different define than AFS 3.5 does for that path.
1130
1131Finally, it defines AFS_int32 to be the in32 type needed.  In older
1132versions of afs it was 'int32', and in newer versions it's 'afs_int32'.
1133
1134Source Code
1135***********
1136
1137Download the latest version of 'ax_afs.m4'
1138(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_afs.m4)
1139or browse the macro's revision history
1140(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_afs.m4).
1141
1142License
1143*******
1144
1145Copyright (C) 2008 Scott Grosch <Scott.Grosch@intel.com>
1146
1147Copying and distribution of this file, with or without modification, are
1148permitted in any medium without royalty provided the copyright notice
1149and this notice are preserved.  This file is offered as-is, without any
1150warranty.
1151
1152
1153File: autoconf-archive.info,  Node: ax_am_jobserver,  Next: ax_am_macros,  Prev: ax_afs,  Up: The Macros
1154
1155ax_am_jobserver
1156===============
1157
1158Synopsis
1159********
1160
1161     AX_AM_JOBSERVER([default_value])
1162
1163Description
1164***********
1165
1166Enables the use of make's jobserver for the purpose of parallel building
1167by passing the -j option to make.
1168
1169The option -enable-jobserver is added to configure which can accept a
1170yes, no, or an integer.  The integer is the number of separate jobs to
1171allow.  If 'yes' is given, then the is assumed to be one more than the
1172number of CPUs (determined through AX_COUNT_CPUS). If the value of no is
1173given, then the jobserver is disabled.  The default value is given by
1174the first argument of the macro, or 'yes' if the argument is omitted.
1175
1176This macro makes use of AX_AM_MACROS, so you must add the following line
1177
1178       @INC_AMINCLUDE@
1179
1180to your Makefile.am files.
1181
1182Source Code
1183***********
1184
1185Download the latest version of 'ax_am_jobserver.m4'
1186(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_jobserver.m4)
1187or browse the macro's revision history
1188(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_jobserver.m4).
1189
1190License
1191*******
1192
1193Copyright (C) 2008 Michael Paul Bailey <jinxidoru@byu.net>
1194
1195Copying and distribution of this file, with or without modification, are
1196permitted in any medium without royalty provided the copyright notice
1197and this notice are preserved.  This file is offered as-is, without any
1198warranty.
1199
1200
1201File: autoconf-archive.info,  Node: ax_am_macros,  Next: ax_am_macros_static,  Prev: ax_am_jobserver,  Up: The Macros
1202
1203ax_am_macros
1204============
1205
1206Synopsis
1207********
1208
1209     AX_AM_MACROS
1210
1211Description
1212***********
1213
1214Adds support for macros that create Make rules.  You must manually add
1215the following line
1216
1217       @INC_AMINCLUDE@
1218
1219to your Makefile.in (or Makefile.am if you use Automake) files.
1220
1221Source Code
1222***********
1223
1224Download the latest version of 'ax_am_macros.m4'
1225(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_macros.m4)
1226or browse the macro's revision history
1227(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_macros.m4).
1228
1229License
1230*******
1231
1232Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
1233
1234Copying and distribution of this file, with or without modification, are
1235permitted in any medium without royalty provided the copyright notice
1236and this notice are preserved.  This file is offered as-is, without any
1237warranty.
1238
1239
1240File: autoconf-archive.info,  Node: ax_am_macros_static,  Next: ax_am_override_var,  Prev: ax_am_macros,  Up: The Macros
1241
1242ax_am_macros_static
1243===================
1244
1245Synopsis
1246********
1247
1248     AX_AM_MACROS_STATIC
1249
1250Description
1251***********
1252
1253Adds support for macros that create Automake rules.  You must manually
1254add the following line
1255
1256       include $(top_srcdir)/aminclude_static.am
1257
1258to your Makefile.am files.
1259
1260Source Code
1261***********
1262
1263Download the latest version of 'ax_am_macros_static.m4'
1264(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_macros_static.m4)
1265or browse the macro's revision history
1266(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_macros_static.m4).
1267
1268License
1269*******
1270
1271Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
1272Copyright (C) 2009 Allan Caffee <allan.caffee@gmail.com>
1273
1274Copying and distribution of this file, with or without modification, are
1275permitted in any medium without royalty provided the copyright notice
1276and this notice are preserved.  This file is offered as-is, without any
1277warranty.
1278
1279
1280File: autoconf-archive.info,  Node: ax_am_override_var,  Next: ax_append_compile_flags,  Prev: ax_am_macros_static,  Up: The Macros
1281
1282ax_am_override_var
1283==================
1284
1285Synopsis
1286********
1287
1288     AX_AM_OVERRIDE_VAR([varname1 varname ... ])
1289     AX_AM_OVERRIDE_FINALIZE
1290
1291Description
1292***********
1293
1294This autoconf macro generalizes the approach given in
1295<http://lists.gnu.org/archive/html/automake/2005-09/msg00108.html> which
1296moves user specified values for variable 'varname' given at configure
1297time into the corresponding AM_${varname} variable and clears out
1298'varname', allowing further manipulation by the configure script so that
1299target specific variables can be given specialized versions.  'varname
1300may still be specified on the make command line and will be appended as
1301usual.
1302
1303As an example usage, consider a project which might benefit from
1304different compiler flags for different components.  Typically this is
1305done via target specific flags, e.g.
1306
1307      libgtest_la_CXXFLAGS    =                        \
1308                       -I $(top_srcdir)/tests          \
1309                       -I $(top_builddir)/tests        \
1310                       $(GTEST_CXXFLAGS)
1311
1312automake will automatically append $(CXXFLAGS) - provided by the user -
1313to the build rule for libgtest_la.  That might be problematic, as
1314CXXFLAGS may contain compiler options which are inappropriate for
1315libgtest_la.
1316
1317The approach laid out in the referenced mailing list message is to
1318supply a base value for a variable during _configure_ time, during which
1319it is possible to amend it for specific targets.  The user may
1320subsequently specify a value for the variable during _build_ time, which
1321make will apply (via the standard automake rules) to all appropriate
1322targets.
1323
1324For example,
1325
1326      AX_AM_OVERRIDE_VAR([CXXFLAGS])
1327
1328will store the value of CXXFLAGS specified at configure time into the
1329AM_CXXFLAGS variable, AC_SUBST it, and clear CXXFLAGS. configure may
1330then create a target specific set of flags based upon AM_CXXFLAGS, e.g.
1331
1332      # googletest uses variadic macros, which g++ -pedantic-errors
1333      # is very unhappy about
1334      AC_SUBST([GTEST_CXXFLAGS],
1335         [`AS_ECHO_N(["$AM_CXXFLAGS"]) \
1336               | sed s/-pedantic-errors/-pedantic/`
1337          ]
1338       )
1339
1340which would be used in a Makefile.am as above.  Since CXXFLAGS is
1341cleared, the configure time value will not affect the build for
1342libgtest_la.
1343
1344Prior to _any other command_ which may set ${varname}, call
1345
1346      AX_AM_OVERRIDE_VAR([varname])
1347
1348This will preserve the value (if any) passed to configure in
1349AM_${varname} and AC_SUBST([AM_${varname}).  You may pass a space
1350separated list of variable names, or may call AX_AM_OVERRIDE_VAR
1351multiple times for the same effect.
1352
1353If any subsequent configure commands set ${varname} and you wish to
1354capture the resultant value into AM_${varname} in the case where
1355${varname} was _not_ provided at configure time, call
1356
1357      AX_AM_OVERRIDE_FINALIZE
1358
1359after _all_ commands which might affect any of the variables specified
1360in calls to AX_AM_OVERRIDE_VAR. This need be done only once, but
1361repeated calls will not cause harm.
1362
1363There is a bit of trickery required to allow further manipulation of the
1364AM_${varname} in a Makefile.am file.  If AM_CFLAGS is used as is in a
1365Makefile.am, e.g.
1366
1367      libfoo_la_CFLAGS = $(AM_CFLAGS)
1368
1369then automake will emit code in Makefile.in which sets AM_CFLAGS from
1370the configure'd value.
1371
1372If however, AM_CFLAGS is manipulated (i.e.  appended to), you will have
1373to explicitly arrange for the configure'd value to be substituted:
1374
1375      AM_CFLAGS = @AM_CFLAGS@
1376      AM_CFLAGS += -lfoo
1377
1378or else automake will complain about using += before =.
1379
1380Source Code
1381***********
1382
1383Download the latest version of 'ax_am_override_var.m4'
1384(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_am_override_var.m4)
1385or browse the macro's revision history
1386(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_am_override_var.m4).
1387
1388License
1389*******
1390
1391Copyright (C) 2013 Smithsonian Astrophysical Observatory
1392Copyright (C) 2013 Diab Jerius <djerius@cfa.harvard.edu>
1393
1394Copying and distribution of this file, with or without modification, are
1395permitted in any medium without royalty provided the copyright notice
1396and this notice are preserved.  This file is offered as-is, without any
1397warranty.
1398
1399
1400File: autoconf-archive.info,  Node: ax_append_compile_flags,  Next: ax_append_flag,  Prev: ax_am_override_var,  Up: The Macros
1401
1402ax_append_compile_flags
1403=======================
1404
1405Synopsis
1406********
1407
1408     AX_APPEND_COMPILE_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT])
1409
1410Description
1411***********
1412
1413For every FLAG1, FLAG2 it is checked whether the compiler works with the
1414flag.  If it does, the flag is added FLAGS-VARIABLE
1415
1416If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
1417CFLAGS) is used.  During the check the flag is always added to the
1418current language's flags.
1419
1420If EXTRA-FLAGS is defined, it is added to the current language's default
1421flags (e.g.  CFLAGS) when the check is done.  The check is thus made
1422with the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used
1423to force the compiler to issue an error when a bad flag is given.
1424
1425INPUT gives an alternative input source to AC_COMPILE_IFELSE.
1426
1427NOTE: This macro depends on the AX_APPEND_FLAG and
1428AX_CHECK_COMPILE_FLAG. Please keep this macro in sync with
1429AX_APPEND_LINK_FLAGS.
1430
1431Source Code
1432***********
1433
1434Download the latest version of 'ax_append_compile_flags.m4'
1435(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_compile_flags.m4)
1436or browse the macro's revision history
1437(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_compile_flags.m4).
1438
1439License
1440*******
1441
1442Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
1443
1444Copying and distribution of this file, with or without modification, are
1445permitted in any medium without royalty provided the copyright notice
1446and this notice are preserved.  This file is offered as-is, without any
1447warranty.
1448
1449
1450File: autoconf-archive.info,  Node: ax_append_flag,  Next: ax_append_link_flags,  Prev: ax_append_compile_flags,  Up: The Macros
1451
1452ax_append_flag
1453==============
1454
1455Synopsis
1456********
1457
1458     AX_APPEND_FLAG(FLAG, [FLAGS-VARIABLE])
1459
1460Description
1461***********
1462
1463FLAG is appended to the FLAGS-VARIABLE shell variable, with a space
1464added in between.
1465
1466If FLAGS-VARIABLE is not specified, the current language's flags (e.g.
1467CFLAGS) is used.  FLAGS-VARIABLE is not changed if it already contains
1468FLAG. If FLAGS-VARIABLE is unset in the shell, it is set to exactly
1469FLAG.
1470
1471NOTE: Implementation based on AX_CFLAGS_GCC_OPTION.
1472
1473Source Code
1474***********
1475
1476Download the latest version of 'ax_append_flag.m4'
1477(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_flag.m4)
1478or browse the macro's revision history
1479(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_flag.m4).
1480
1481License
1482*******
1483
1484Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
1485Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
1486
1487Copying and distribution of this file, with or without modification, are
1488permitted in any medium without royalty provided the copyright notice
1489and this notice are preserved.  This file is offered as-is, without any
1490warranty.
1491
1492
1493File: autoconf-archive.info,  Node: ax_append_link_flags,  Next: ax_append_to_file,  Prev: ax_append_flag,  Up: The Macros
1494
1495ax_append_link_flags
1496====================
1497
1498Synopsis
1499********
1500
1501     AX_APPEND_LINK_FLAGS([FLAG1 FLAG2 ...], [FLAGS-VARIABLE], [EXTRA-FLAGS], [INPUT])
1502
1503Description
1504***********
1505
1506For every FLAG1, FLAG2 it is checked whether the linker works with the
1507flag.  If it does, the flag is added FLAGS-VARIABLE
1508
1509If FLAGS-VARIABLE is not specified, the linker's flags (LDFLAGS) is
1510used.  During the check the flag is always added to the linker's flags.
1511
1512If EXTRA-FLAGS is defined, it is added to the linker's default flags
1513when the check is done.  The check is thus made with the flags: "LDFLAGS
1514EXTRA-FLAGS FLAG". This can for example be used to force the linker to
1515issue an error when a bad flag is given.
1516
1517INPUT gives an alternative input source to AC_COMPILE_IFELSE.
1518
1519NOTE: This macro depends on the AX_APPEND_FLAG and AX_CHECK_LINK_FLAG.
1520Please keep this macro in sync with AX_APPEND_COMPILE_FLAGS.
1521
1522Source Code
1523***********
1524
1525Download the latest version of 'ax_append_link_flags.m4'
1526(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_link_flags.m4)
1527or browse the macro's revision history
1528(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_link_flags.m4).
1529
1530License
1531*******
1532
1533Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
1534
1535Copying and distribution of this file, with or without modification, are
1536permitted in any medium without royalty provided the copyright notice
1537and this notice are preserved.  This file is offered as-is, without any
1538warranty.
1539
1540
1541File: autoconf-archive.info,  Node: ax_append_to_file,  Next: ax_arg_with_path_style,  Prev: ax_append_link_flags,  Up: The Macros
1542
1543ax_append_to_file
1544=================
1545
1546Synopsis
1547********
1548
1549     AX_APPEND_TO_FILE([FILE],[DATA])
1550
1551Description
1552***********
1553
1554Appends the specified data to the specified file.
1555
1556Source Code
1557***********
1558
1559Download the latest version of 'ax_append_to_file.m4'
1560(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_append_to_file.m4)
1561or browse the macro's revision history
1562(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_append_to_file.m4).
1563
1564License
1565*******
1566
1567Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
1568
1569Copying and distribution of this file, with or without modification, are
1570permitted in any medium without royalty provided the copyright notice
1571and this notice are preserved.  This file is offered as-is, without any
1572warranty.
1573
1574
1575File: autoconf-archive.info,  Node: ax_arg_with_path_style,  Next: ax_asm_inline,  Prev: ax_append_to_file,  Up: The Macros
1576
1577ax_arg_with_path_style
1578======================
1579
1580Synopsis
1581********
1582
1583     AX_ARG_WITH_PATH_STYLE
1584
1585Description
1586***********
1587
1588_AC_DEFINE(PATH_STYLE) describing the filesys interface.  The value is
1589numeric, where the basetype is encoded as 16 = dos/win, 32 = unix, 64 =
1590url/www, 0 = other
1591
1592some extra semantics are described in other bits of the value,
1593especially
1594
1595      1024  accepts "/" as a dir separator
1596      2048  accepts ";" as a path separator
1597      4096  accepts "," as a path separator
1598
1599the macro provides a configure' -with-path-style option that can be used
1600with descriptive arg names.  If not explicitly given, the $target_os
1601will be checked to provide a sane default.  Additional (lower) bits can
1602be used by the user for some additional magic, higher bits are reserved
1603for this macro.
1604
1605the mnemonic "strict" or "also" is used to instruct the code that
1606additional separators shall be accepted but converted to the separator
1607of the underlying pathstyle system.  (or-512)
1608
1609      example: --with-path-style=win,slash
1610               to make it accept ";" as pathsep, and
1611               both "/" and "\" as dirseps.
1612
1613Source Code
1614***********
1615
1616Download the latest version of 'ax_arg_with_path_style.m4'
1617(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_arg_with_path_style.m4)
1618or browse the macro's revision history
1619(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_arg_with_path_style.m4).
1620
1621License
1622*******
1623
1624Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
1625
1626This program is free software; you can redistribute it and/or modify it
1627under the terms of the GNU General Public License as published by the
1628Free Software Foundation; either version 3 of the License, or (at your
1629option) any later version.
1630
1631This program is distributed in the hope that it will be useful, but
1632WITHOUT ANY WARRANTY; without even the implied warranty of
1633MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
1634Public License for more details.
1635
1636You should have received a copy of the GNU General Public License along
1637with this program.  If not, see <https://www.gnu.org/licenses/>.
1638
1639As a special exception, the respective Autoconf Macro's copyright owner
1640gives unlimited permission to copy, distribute and modify the configure
1641scripts that are the output of Autoconf when processing the Macro.  You
1642need not follow the terms of the GNU General Public License when using
1643or distributing such scripts, even though portions of the text of the
1644Macro appear in them.  The GNU General Public License (GPL) does govern
1645all other use of the material that constitutes the Autoconf Macro.
1646
1647This special exception to the GPL applies to versions of the Autoconf
1648Macro released by the Autoconf Archive.  When you make and distribute a
1649modified version of the Autoconf Macro, you may extend this special
1650exception to the GPL to apply to your modified version as well.
1651
1652
1653File: autoconf-archive.info,  Node: ax_asm_inline,  Next: ax_at_check_pattern,  Prev: ax_arg_with_path_style,  Up: The Macros
1654
1655ax_asm_inline
1656=============
1657
1658Synopsis
1659********
1660
1661     AX_ASM_INLINE()
1662
1663Description
1664***********
1665
1666Tests for C compiler support of inline assembly instructions.  If inline
1667assembly is supported, this macro #defines ASM_INLINE to be the
1668appropriate keyword.
1669
1670Source Code
1671***********
1672
1673Download the latest version of 'ax_asm_inline.m4'
1674(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_asm_inline.m4)
1675or browse the macro's revision history
1676(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_asm_inline.m4).
1677
1678License
1679*******
1680
1681Copyright (C) 2008 Alan Woodland <ajw05@aber.ac.uk>
1682Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
1683Copyright (C) 2017 Reini Urban <rurban@cpan.org>
1684
1685Copying and distribution of this file, with or without modification, are
1686permitted in any medium without royalty provided the copyright notice
1687and this notice are preserved.  This file is offered as-is, without any
1688warranty.
1689
1690
1691File: autoconf-archive.info,  Node: ax_at_check_pattern,  Next: ax_auto_include_headers,  Prev: ax_asm_inline,  Up: The Macros
1692
1693ax_at_check_pattern
1694===================
1695
1696Synopsis
1697********
1698
1699     AX_AT_CHECK_PATTERN(COMMANDS, [STATUS], [STDOUT-RE], [STDERR-RE], [RUN-IF-FAIL], [RUN-IF-PASS])
1700     AX_AT_DIFF_PATTERN(PATTERN-FILE, TEST-FILE, [STATUS=0], [DIFFERENCES])
1701
1702Description
1703***********
1704
1705AX_AT_CHECK_PATTERN() executes a test similar to AT_CHECK(), except that
1706stdout and stderr are awk regular expressions (REs).
1707
1708NOTE: as autoconf uses [] for quoting, the use of [brackets] in the RE
1709arguments STDOUT-RE and STDERR-RE can be awkward and require careful
1710extra quoting, or quadrigraphs '@<:@' (for '[') and '@:>@' (for ']').
1711
1712awk is invoked via $AWK, which defaults to "awk" if unset or empty.
1713
1714Implemented using AT_CHECK() with a custom value for $at_diff that
1715invokes diff with an awk post-processor.
1716
1717AX_AT_DIFF_PATTERN() checks that the PATTERN-FILE applies to TEST-FILE.
1718If there are differences, STATUS will be 1 and they should be
1719DIFFERENCES.
1720
1721Source Code
1722***********
1723
1724Download the latest version of 'ax_at_check_pattern.m4'
1725(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_at_check_pattern.m4)
1726or browse the macro's revision history
1727(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_at_check_pattern.m4).
1728
1729License
1730*******
1731
1732Copyright (C) 2013-2014 Luke Mewburn <luke@mewburn.net>
1733
1734Copying and distribution of this file, with or without modification, are
1735permitted in any medium without royalty provided the copyright notice
1736and this notice are preserved.  This file is offered as-is, without any
1737warranty.
1738
1739
1740File: autoconf-archive.info,  Node: ax_auto_include_headers,  Next: ax_berkeley_db,  Prev: ax_at_check_pattern,  Up: The Macros
1741
1742ax_auto_include_headers
1743=======================
1744
1745Synopsis
1746********
1747
1748     AX_AUTO_INCLUDE_HEADERS(INCLUDE-FILE ...)
1749
1750Description
1751***********
1752
1753Given a space-separated list of INCLUDE-FILEs, AX_AUTO_INCLUDE_HEADERS
1754will output a conditional #include for each INCLUDE-FILE. The following
1755example demonstrates how AX_AUTO_INCLUDE_HEADERS's might be used in a
1756configure.ac script:
1757
1758       AH_BOTTOM([
1759         AX_AUTO_INCLUDE_HEADERS([sys/resource.h invent.h sys/sysinfo.h])dnl
1760       ])
1761
1762The preceding invocation instructs autoheader to put the following code
1763at the bottom of the config.h file:
1764
1765       #ifdef HAVE_SYS_RESOURCE_H
1766       # include <sys/resource.h>
1767       #endif
1768       #ifdef HAVE_INVENT_H
1769       # include <invent.h>
1770       #endif
1771       #ifdef HAVE_SYS_SYSINFO_H
1772       # include <sys/sysinfo.h>
1773       #endif
1774
1775Note that AX_AUTO_INCLUDE_HEADERS merely outputs #ifdef/#include/#endif
1776blocks.  The configure.ac script still needs to invoke AC_CHECK_HEADERS
1777to #define the various HAVE_*_H preprocessor macros.
1778
1779Here's an easy way to get from config.h a complete list of header files
1780who existence is tested by the configure script:
1781
1782       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 "$_ "}'
1783
1784You can then manually edit the resulting list and incorporate it into
1785one or more calls to AX_AUTO_INCLUDE_HEADERS.
1786
1787Source Code
1788***********
1789
1790Download the latest version of 'ax_auto_include_headers.m4'
1791(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_auto_include_headers.m4)
1792or browse the macro's revision history
1793(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_auto_include_headers.m4).
1794
1795License
1796*******
1797
1798Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
1799
1800Copying and distribution of this file, with or without modification, are
1801permitted in any medium without royalty provided the copyright notice
1802and this notice are preserved.  This file is offered as-is, without any
1803warranty.
1804
1805
1806File: autoconf-archive.info,  Node: ax_berkeley_db,  Next: ax_berkeley_db_cxx,  Prev: ax_auto_include_headers,  Up: The Macros
1807
1808ax_berkeley_db
1809==============
1810
1811Synopsis
1812********
1813
1814     AX_BERKELEY_DB([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
1815
1816Description
1817***********
1818
1819This macro tries to find Berkeley DB. It honors MINIMUM-VERSION if
1820given.
1821
1822If libdb is found, DB_HEADER and DB_LIBS variables are set and
1823ACTION-IF-FOUND shell code is executed if specified.  DB_HEADER is set
1824to location of db.h header in quotes (e.g.  "db3/db.h") and
1825AC_DEFINE_UNQUOTED is called on it, so that you can type
1826
1827       #include DB_HEADER
1828
1829in your C/C++ code.  DB_LIBS is set to linker flags needed to link
1830against the library (e.g.  -ldb3.1) and AC_SUBST is called on it.
1831
1832when specified user-selected spot (via -with-libdb) also sets
1833
1834       DB_CPPFLAGS to the include directives required
1835       DB_LDFLAGS to the -L flags required
1836
1837Source Code
1838***********
1839
1840Download the latest version of 'ax_berkeley_db.m4'
1841(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_berkeley_db.m4)
1842or browse the macro's revision history
1843(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_berkeley_db.m4).
1844
1845License
1846*******
1847
1848Copyright (C) 2008 Vaclav Slavik <vaclav.slavik@matfyz.cz>
1849Copyright (C) 2014 Kirill A. Korinskiy <catap@catap.ru>
1850
1851Copying and distribution of this file, with or without modification, are
1852permitted in any medium without royalty provided the copyright notice
1853and this notice are preserved.  This file is offered as-is, without any
1854warranty.
1855
1856
1857File: autoconf-archive.info,  Node: ax_berkeley_db_cxx,  Next: ax_blas,  Prev: ax_berkeley_db,  Up: The Macros
1858
1859ax_berkeley_db_cxx
1860==================
1861
1862Synopsis
1863********
1864
1865     AX_BERKELEY_DB_CXX([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
1866
1867Description
1868***********
1869
1870This macro tries to find Berkeley DB C++ support.  It honors
1871MINIMUM-VERSION if given.
1872
1873If libdb_cxx is found, DB_CXX_HEADER and DB_CXX_LIBS variables are set
1874and ACTION-IF-FOUND shell code is executed if specified.  DB_CXX_HEADER
1875is set to location of db.h header in quotes (e.g.  "db3/db_cxx.h") and
1876AC_DEFINE_UNQUOTED is called on it, so that you can type
1877
1878       #include DB_CXX_HEADER
1879
1880in your C/C++ code.  DB_CXX_LIBS is set to linker flags needed to link
1881against the library (e.g.  -ldb3.1_cxx) and AC_SUBST is called on it.
1882
1883when specified user-selected spot (via -with-libdb) also sets
1884
1885       DB_CXX_CPPFLAGS to the include directives required
1886       DB_CXX_LDFLAGS to the -L flags required
1887
1888Source Code
1889***********
1890
1891Download the latest version of 'ax_berkeley_db_cxx.m4'
1892(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_berkeley_db_cxx.m4)
1893or browse the macro's revision history
1894(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_berkeley_db_cxx.m4).
1895
1896License
1897*******
1898
1899Copyright (C) 2008 Vaclav Slavik <vaclav.slavik@matfyz.cz>
1900Copyright (C) 2011 Stephan Suerken <absurd@debian.org>
1901Copyright (C) 2014 Kirill A. Korinskiy <catap@catap.ru>
1902
1903Copying and distribution of this file, with or without modification, are
1904permitted in any medium without royalty provided the copyright notice
1905and this notice are preserved.  This file is offered as-is, without any
1906warranty.
1907
1908
1909File: autoconf-archive.info,  Node: ax_blas,  Next: ax_blas_f77_func,  Prev: ax_berkeley_db_cxx,  Up: The Macros
1910
1911ax_blas
1912=======
1913
1914Synopsis
1915********
1916
1917     AX_BLAS([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
1918
1919Description
1920***********
1921
1922This macro looks for a library that implements the BLAS linear-algebra
1923interface (see http://www.netlib.org/blas/).  On success, it sets the
1924BLAS_LIBS output variable to hold the requisite library linkages.
1925
1926To link with BLAS, you should link with:
1927
1928       $BLAS_LIBS $LIBS $FLIBS
1929
1930in that order.  FLIBS is the output variable of the
1931AC_F77_LIBRARY_LDFLAGS macro (called if necessary by AX_BLAS), and is
1932sometimes necessary in order to link with F77 libraries.  Users will
1933also need to use AC_F77_DUMMY_MAIN (see the autoconf manual), for the
1934same reason.
1935
1936Many libraries are searched for, from ATLAS to CXML to ESSL. The user
1937may also use -with-blas=<lib> in order to use some specific BLAS library
1938<lib>.  In order to link successfully, however, be aware that you will
1939probably need to use the same Fortran compiler (which can be set via the
1940F77 env.  var.)  as was used to compile the BLAS library.
1941
1942ACTION-IF-FOUND is a list of shell commands to run if a BLAS library is
1943found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
1944not found.  If ACTION-IF-FOUND is not specified, the default action will
1945define HAVE_BLAS.
1946
1947Source Code
1948***********
1949
1950Download the latest version of 'ax_blas.m4'
1951(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_blas.m4)
1952or browse the macro's revision history
1953(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_blas.m4).
1954
1955License
1956*******
1957
1958Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
1959
1960This program is free software: you can redistribute it and/or modify it
1961under the terms of the GNU General Public License as published by the
1962Free Software Foundation, either version 3 of the License, or (at your
1963option) any later version.
1964
1965This program is distributed in the hope that it will be useful, but
1966WITHOUT ANY WARRANTY; without even the implied warranty of
1967MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
1968Public License for more details.
1969
1970You should have received a copy of the GNU General Public License along
1971with this program.  If not, see <https://www.gnu.org/licenses/>.
1972
1973As a special exception, the respective Autoconf Macro's copyright owner
1974gives unlimited permission to copy, distribute and modify the configure
1975scripts that are the output of Autoconf when processing the Macro.  You
1976need not follow the terms of the GNU General Public License when using
1977or distributing such scripts, even though portions of the text of the
1978Macro appear in them.  The GNU General Public License (GPL) does govern
1979all other use of the material that constitutes the Autoconf Macro.
1980
1981This special exception to the GPL applies to versions of the Autoconf
1982Macro released by the Autoconf Archive.  When you make and distribute a
1983modified version of the Autoconf Macro, you may extend this special
1984exception to the GPL to apply to your modified version as well.
1985
1986
1987File: autoconf-archive.info,  Node: ax_blas_f77_func,  Next: ax_boost_asio,  Prev: ax_blas,  Up: The Macros
1988
1989ax_blas_f77_func
1990================
1991
1992Synopsis
1993********
1994
1995     AX_BLAS_F77_FUNC([ACTION-IF-PASS[, ACTION-IF-FAIL[, ACTION-IF-CROSS-COMPILING]])
1996     AX_BLAS_WITH_F77_FUNC([ACTION-IF-FOUND-AND-PASS[, ACTION-IF-NOT-FOUND-OR-FAIL]])
1997
1998Description
1999***********
2000
2001These macros are intended as a supplement to the AX_BLAS macro, to
2002verify that BLAS functions are properly callable from Fortran.  This is
2003necessary, for example, if you want to build the LAPACK library on top
2004of the BLAS.
2005
2006AX_BLAS_F77_FUNC uses the defined BLAS_LIBS and Fortran environment to
2007check for compatibility, and takes a specific action in case of success,
2008resp.  failure, resp.  cross-compilation.
2009
2010AX_BLAS_WITH_F77_FUNC is a drop-in replacement wrapper for AX_BLAS that
2011calls AX_BLAS_F77_FUNC after detecting a BLAS library and rejects it on
2012failure (i.e.  pretends that no library was found).
2013
2014Source Code
2015***********
2016
2017Download the latest version of 'ax_blas_f77_func.m4'
2018(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_blas_f77_func.m4)
2019or browse the macro's revision history
2020(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_blas_f77_func.m4).
2021
2022License
2023*******
2024
2025Copyright (C) 2008 Jaroslav Hajek <highegg@gmail.com>
2026
2027This program is free software: you can redistribute it and/or modify it
2028under the terms of the GNU General Public License as published by the
2029Free Software Foundation, either version 3 of the License, or (at your
2030option) any later version.
2031
2032This program is distributed in the hope that it will be useful, but
2033WITHOUT ANY WARRANTY; without even the implied warranty of
2034MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2035Public License for more details.
2036
2037You should have received a copy of the GNU General Public License along
2038with this program.  If not, see <https://www.gnu.org/licenses/>.
2039
2040As a special exception, the respective Autoconf Macro's copyright owner
2041gives unlimited permission to copy, distribute and modify the configure
2042scripts that are the output of Autoconf when processing the Macro.  You
2043need not follow the terms of the GNU General Public License when using
2044or distributing such scripts, even though portions of the text of the
2045Macro appear in them.  The GNU General Public License (GPL) does govern
2046all other use of the material that constitutes the Autoconf Macro.
2047
2048This special exception to the GPL applies to versions of the Autoconf
2049Macro released by the Autoconf Archive.  When you make and distribute a
2050modified version of the Autoconf Macro, you may extend this special
2051exception to the GPL to apply to your modified version as well.
2052
2053
2054File: autoconf-archive.info,  Node: ax_boost_asio,  Next: ax_boost_base,  Prev: ax_blas_f77_func,  Up: The Macros
2055
2056ax_boost_asio
2057=============
2058
2059Synopsis
2060********
2061
2062     AX_BOOST_ASIO
2063
2064Description
2065***********
2066
2067Test for Asio library from the Boost C++ libraries.  The macro requires
2068a preceding call to AX_BOOST_BASE. Further documentation is available at
2069<http://randspringer.de/boost/index.html>.
2070
2071This macro calls:
2072
2073       AC_SUBST(BOOST_ASIO_LIB)
2074
2075And sets:
2076
2077       HAVE_BOOST_ASIO
2078
2079Source Code
2080***********
2081
2082Download the latest version of 'ax_boost_asio.m4'
2083(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_asio.m4)
2084or browse the macro's revision history
2085(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_asio.m4).
2086
2087License
2088*******
2089
2090Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2091Copyright (C) 2008 Pete Greenwell <pete@mu.org>
2092
2093Copying and distribution of this file, with or without modification, are
2094permitted in any medium without royalty provided the copyright notice
2095and this notice are preserved.  This file is offered as-is, without any
2096warranty.
2097
2098
2099File: autoconf-archive.info,  Node: ax_boost_base,  Next: ax_boost_chrono,  Prev: ax_boost_asio,  Up: The Macros
2100
2101ax_boost_base
2102=============
2103
2104Synopsis
2105********
2106
2107     AX_BOOST_BASE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
2108
2109Description
2110***********
2111
2112Test for the Boost C++ libraries of a particular version (or newer)
2113
2114If no path to the installed boost library is given the macro searchs
2115under /usr, /usr/local, /opt and /opt/local and evaluates the
2116$BOOST_ROOT environment variable.  Further documentation is available at
2117<http://randspringer.de/boost/index.html>.
2118
2119This macro calls:
2120
2121       AC_SUBST(BOOST_CPPFLAGS) / AC_SUBST(BOOST_LDFLAGS)
2122
2123And sets:
2124
2125       HAVE_BOOST
2126
2127Source Code
2128***********
2129
2130Download the latest version of 'ax_boost_base.m4'
2131(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_base.m4)
2132or browse the macro's revision history
2133(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_base.m4).
2134
2135License
2136*******
2137
2138Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2139Copyright (C) 2009 Peter Adolphs
2140
2141Copying and distribution of this file, with or without modification, are
2142permitted in any medium without royalty provided the copyright notice
2143and this notice are preserved.  This file is offered as-is, without any
2144warranty.
2145
2146
2147File: autoconf-archive.info,  Node: ax_boost_chrono,  Next: ax_boost_context,  Prev: ax_boost_base,  Up: The Macros
2148
2149ax_boost_chrono
2150===============
2151
2152Synopsis
2153********
2154
2155     AX_BOOST_CHRONO
2156
2157Description
2158***********
2159
2160Test for Chrono library from the Boost C++ libraries.  The macro
2161requires a preceding call to AX_BOOST_BASE. Further documentation is
2162available at <http://randspringer.de/boost/index.html>.
2163
2164This macro calls:
2165
2166       AC_SUBST(BOOST_CHRONO_LIB)
2167
2168And sets:
2169
2170       HAVE_BOOST_CHRONO
2171
2172Source Code
2173***********
2174
2175Download the latest version of 'ax_boost_chrono.m4'
2176(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_chrono.m4)
2177or browse the macro's revision history
2178(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_chrono.m4).
2179
2180License
2181*******
2182
2183Copyright (C) 2012 Xiyue Deng <manphiz@gmail.com>
2184
2185Copying and distribution of this file, with or without modification, are
2186permitted in any medium without royalty provided the copyright notice
2187and this notice are preserved.  This file is offered as-is, without any
2188warranty.
2189
2190
2191File: autoconf-archive.info,  Node: ax_boost_context,  Next: ax_boost_coroutine,  Prev: ax_boost_chrono,  Up: The Macros
2192
2193ax_boost_context
2194================
2195
2196Synopsis
2197********
2198
2199     AX_BOOST_CONTEXT
2200
2201Description
2202***********
2203
2204Test for Context library from the Boost C++ libraries.  The macro
2205requires a preceding call to AX_BOOST_BASE. Further documentation is
2206available at <http://randspringer.de/boost/index.html>.
2207
2208This macro calls:
2209
2210       AC_SUBST(BOOST_CONTEXT_LIB)
2211
2212And sets:
2213
2214       HAVE_BOOST_CONTEXT
2215
2216Source Code
2217***********
2218
2219Download the latest version of 'ax_boost_context.m4'
2220(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_context.m4)
2221or browse the macro's revision history
2222(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_context.m4).
2223
2224License
2225*******
2226
2227Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2228Copyright (C) 2008 Michael Tindal
2229Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
2230
2231Copying and distribution of this file, with or without modification, are
2232permitted in any medium without royalty provided the copyright notice
2233and this notice are preserved.  This file is offered as-is, without any
2234warranty.
2235
2236
2237File: autoconf-archive.info,  Node: ax_boost_coroutine,  Next: ax_boost_date_time,  Prev: ax_boost_context,  Up: The Macros
2238
2239ax_boost_coroutine
2240==================
2241
2242Synopsis
2243********
2244
2245     AX_BOOST_COROUTINE
2246
2247Description
2248***********
2249
2250Test for Coroutine library from the Boost C++ libraries.  The macro
2251requires a preceding call to AX_BOOST_BASE. Further documentation is
2252available at <http://randspringer.de/boost/index.html>.
2253
2254This macro calls:
2255
2256       AC_SUBST(BOOST_COROUTINE_LIB)
2257
2258And sets:
2259
2260       HAVE_BOOST_COROUTINE
2261
2262Source Code
2263***********
2264
2265Download the latest version of 'ax_boost_coroutine.m4'
2266(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_coroutine.m4)
2267or browse the macro's revision history
2268(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_coroutine.m4).
2269
2270License
2271*******
2272
2273Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2274Copyright (C) 2008 Michael Tindal
2275Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
2276
2277Copying and distribution of this file, with or without modification, are
2278permitted in any medium without royalty provided the copyright notice
2279and this notice are preserved.  This file is offered as-is, without any
2280warranty.
2281
2282
2283File: autoconf-archive.info,  Node: ax_boost_date_time,  Next: ax_boost_filesystem,  Prev: ax_boost_coroutine,  Up: The Macros
2284
2285ax_boost_date_time
2286==================
2287
2288Synopsis
2289********
2290
2291     AX_BOOST_DATE_TIME
2292
2293Description
2294***********
2295
2296Test for Date_Time library from the Boost C++ libraries.  The macro
2297requires a preceding call to AX_BOOST_BASE. Further documentation is
2298available at <http://randspringer.de/boost/index.html>.
2299
2300This macro calls:
2301
2302       AC_SUBST(BOOST_DATE_TIME_LIB)
2303
2304And sets:
2305
2306       HAVE_BOOST_DATE_TIME
2307
2308Source Code
2309***********
2310
2311Download the latest version of 'ax_boost_date_time.m4'
2312(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_date_time.m4)
2313or browse the macro's revision history
2314(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_date_time.m4).
2315
2316License
2317*******
2318
2319Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2320Copyright (C) 2008 Michael Tindal
2321
2322Copying and distribution of this file, with or without modification, are
2323permitted in any medium without royalty provided the copyright notice
2324and this notice are preserved.  This file is offered as-is, without any
2325warranty.
2326
2327
2328File: autoconf-archive.info,  Node: ax_boost_filesystem,  Next: ax_boost_iostreams,  Prev: ax_boost_date_time,  Up: The Macros
2329
2330ax_boost_filesystem
2331===================
2332
2333Synopsis
2334********
2335
2336     AX_BOOST_FILESYSTEM
2337
2338Description
2339***********
2340
2341Test for Filesystem library from the Boost C++ libraries.  The macro
2342requires a preceding call to AX_BOOST_BASE. Further documentation is
2343available at <http://randspringer.de/boost/index.html>.
2344
2345This macro calls:
2346
2347       AC_SUBST(BOOST_FILESYSTEM_LIB)
2348
2349And sets:
2350
2351       HAVE_BOOST_FILESYSTEM
2352
2353Source Code
2354***********
2355
2356Download the latest version of 'ax_boost_filesystem.m4'
2357(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_filesystem.m4)
2358or browse the macro's revision history
2359(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_filesystem.m4).
2360
2361License
2362*******
2363
2364Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
2365Copyright (C) 2009 Michael Tindal
2366Copyright (C) 2009 Roman Rybalko <libtorrent@romanr.info>
2367
2368Copying and distribution of this file, with or without modification, are
2369permitted in any medium without royalty provided the copyright notice
2370and this notice are preserved.  This file is offered as-is, without any
2371warranty.
2372
2373
2374File: autoconf-archive.info,  Node: ax_boost_iostreams,  Next: ax_boost_locale,  Prev: ax_boost_filesystem,  Up: The Macros
2375
2376ax_boost_iostreams
2377==================
2378
2379Synopsis
2380********
2381
2382     AX_BOOST_IOSTREAMS
2383
2384Description
2385***********
2386
2387Test for IOStreams library from the Boost C++ libraries.  The macro
2388requires a preceding call to AX_BOOST_BASE. Further documentation is
2389available at <http://randspringer.de/boost/index.html>.
2390
2391This macro calls:
2392
2393       AC_SUBST(BOOST_IOSTREAMS_LIB)
2394
2395And sets:
2396
2397       HAVE_BOOST_IOSTREAMS
2398
2399Source Code
2400***********
2401
2402Download the latest version of 'ax_boost_iostreams.m4'
2403(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_iostreams.m4)
2404or browse the macro's revision history
2405(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_iostreams.m4).
2406
2407License
2408*******
2409
2410Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2411
2412Copying and distribution of this file, with or without modification, are
2413permitted in any medium without royalty provided the copyright notice
2414and this notice are preserved.  This file is offered as-is, without any
2415warranty.
2416
2417
2418File: autoconf-archive.info,  Node: ax_boost_locale,  Next: ax_boost_log,  Prev: ax_boost_iostreams,  Up: The Macros
2419
2420ax_boost_locale
2421===============
2422
2423Synopsis
2424********
2425
2426     AX_BOOST_LOCALE
2427
2428Description
2429***********
2430
2431Test for System library from the Boost C++ libraries.  The macro
2432requires a preceding call to AX_BOOST_BASE. Further documentation is
2433available at <http://randspringer.de/boost/index.html>.
2434
2435This macro calls:
2436
2437       AC_SUBST(BOOST_LOCALE_LIB)
2438
2439And sets:
2440
2441       HAVE_BOOST_LOCALE
2442
2443Source Code
2444***********
2445
2446Download the latest version of 'ax_boost_locale.m4'
2447(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_locale.m4)
2448or browse the macro's revision history
2449(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_locale.m4).
2450
2451License
2452*******
2453
2454Copyright (C) 2012 Xiyue Deng <manphiz@gmail.com>
2455
2456Copying and distribution of this file, with or without modification, are
2457permitted in any medium without royalty provided the copyright notice
2458and this notice are preserved.  This file is offered as-is, without any
2459warranty.
2460
2461
2462File: autoconf-archive.info,  Node: ax_boost_log,  Next: ax_boost_log_setup,  Prev: ax_boost_locale,  Up: The Macros
2463
2464ax_boost_log
2465============
2466
2467Synopsis
2468********
2469
2470     AX_BOOST_LOG
2471
2472Description
2473***********
2474
2475Test for Log library from the Boost C++ libraries.  The macro requires a
2476preceding call to AX_BOOST_BASE. Further documentation is available at
2477<http://randspringer.de/boost/index.html>.
2478
2479This macro calls:
2480
2481       AC_SUBST(BOOST_LOG_LIB)
2482
2483And sets:
2484
2485       HAVE_BOOST_LOG
2486
2487Source Code
2488***********
2489
2490Download the latest version of 'ax_boost_log.m4'
2491(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_log.m4)
2492or browse the macro's revision history
2493(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_log.m4).
2494
2495License
2496*******
2497
2498Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2499Copyright (C) 2008 Michael Tindal
2500Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
2501
2502Copying and distribution of this file, with or without modification, are
2503permitted in any medium without royalty provided the copyright notice
2504and this notice are preserved.  This file is offered as-is, without any
2505warranty.
2506
2507
2508File: autoconf-archive.info,  Node: ax_boost_log_setup,  Next: ax_boost_program_options,  Prev: ax_boost_log,  Up: The Macros
2509
2510ax_boost_log_setup
2511==================
2512
2513Synopsis
2514********
2515
2516     AX_BOOST_LOG_SETUP
2517
2518Description
2519***********
2520
2521Test for LogSetup library from the Boost C++ libraries.  The macro
2522requires a preceding call to AX_BOOST_BASE. Further documentation is
2523available at <http://randspringer.de/boost/index.html>.
2524
2525This macro calls:
2526
2527       AC_SUBST(BOOST_LOG_SETUP_LIB)
2528
2529And sets:
2530
2531       HAVE_BOOST_LOG_SETUP
2532
2533Source Code
2534***********
2535
2536Download the latest version of 'ax_boost_log_setup.m4'
2537(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_log_setup.m4)
2538or browse the macro's revision history
2539(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_log_setup.m4).
2540
2541License
2542*******
2543
2544Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2545Copyright (C) 2008 Michael Tindal
2546Copyright (C) 2013 Daniel Casimiro <dan.casimiro@gmail.com>
2547
2548Copying and distribution of this file, with or without modification, are
2549permitted in any medium without royalty provided the copyright notice
2550and this notice are preserved.  This file is offered as-is, without any
2551warranty.
2552
2553
2554File: autoconf-archive.info,  Node: ax_boost_program_options,  Next: ax_boost_python,  Prev: ax_boost_log_setup,  Up: The Macros
2555
2556ax_boost_program_options
2557========================
2558
2559Synopsis
2560********
2561
2562     AX_BOOST_PROGRAM_OPTIONS
2563
2564Description
2565***********
2566
2567Test for program options library from the Boost C++ libraries.  The
2568macro requires a preceding call to AX_BOOST_BASE. Further documentation
2569is available at <http://randspringer.de/boost/index.html>.
2570
2571This macro calls:
2572
2573       AC_SUBST(BOOST_PROGRAM_OPTIONS_LIB)
2574
2575And sets:
2576
2577       HAVE_BOOST_PROGRAM_OPTIONS
2578
2579Source Code
2580***********
2581
2582Download the latest version of 'ax_boost_program_options.m4'
2583(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_program_options.m4)
2584or browse the macro's revision history
2585(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_program_options.m4).
2586
2587License
2588*******
2589
2590Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
2591
2592Copying and distribution of this file, with or without modification, are
2593permitted in any medium without royalty provided the copyright notice
2594and this notice are preserved.  This file is offered as-is, without any
2595warranty.
2596
2597
2598File: autoconf-archive.info,  Node: ax_boost_python,  Next: ax_boost_regex,  Prev: ax_boost_program_options,  Up: The Macros
2599
2600ax_boost_python
2601===============
2602
2603Synopsis
2604********
2605
2606     AX_BOOST_PYTHON
2607
2608Description
2609***********
2610
2611This macro checks to see if the Boost.Python library is installed.  It
2612also attempts to guess the correct library name using several attempts.
2613It tries to build the library name using a user supplied name or suffix
2614and then just the raw library.
2615
2616If the library is found, HAVE_BOOST_PYTHON is defined and
2617BOOST_PYTHON_LIB is set to the name of the library.
2618
2619This macro calls AC_SUBST(BOOST_PYTHON_LIB).
2620
2621In order to ensure that the Python headers and the Boost libraries are
2622specified on the include path, this macro requires AX_PYTHON_DEVEL and
2623AX_BOOST_BASE to be called.
2624
2625Source Code
2626***********
2627
2628Download the latest version of 'ax_boost_python.m4'
2629(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_python.m4)
2630or browse the macro's revision history
2631(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_python.m4).
2632
2633License
2634*******
2635
2636Copyright (C) 2008 Michael Tindal
2637Copyright (C) 2013 Daniel M"ullner <daniel@danifold.net>
2638
2639This program is free software; you can redistribute it and/or modify it
2640under the terms of the GNU General Public License as published by the
2641Free Software Foundation; either version 2 of the License, or (at your
2642option) any later version.
2643
2644This program is distributed in the hope that it will be useful, but
2645WITHOUT ANY WARRANTY; without even the implied warranty of
2646MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
2647Public License for more details.
2648
2649You should have received a copy of the GNU General Public License along
2650with this program.  If not, see <https://www.gnu.org/licenses/>.
2651
2652As a special exception, the respective Autoconf Macro's copyright owner
2653gives unlimited permission to copy, distribute and modify the configure
2654scripts that are the output of Autoconf when processing the Macro.  You
2655need not follow the terms of the GNU General Public License when using
2656or distributing such scripts, even though portions of the text of the
2657Macro appear in them.  The GNU General Public License (GPL) does govern
2658all other use of the material that constitutes the Autoconf Macro.
2659
2660This special exception to the GPL applies to versions of the Autoconf
2661Macro released by the Autoconf Archive.  When you make and distribute a
2662modified version of the Autoconf Macro, you may extend this special
2663exception to the GPL to apply to your modified version as well.
2664
2665
2666File: autoconf-archive.info,  Node: ax_boost_regex,  Next: ax_boost_serialization,  Prev: ax_boost_python,  Up: The Macros
2667
2668ax_boost_regex
2669==============
2670
2671Synopsis
2672********
2673
2674     AX_BOOST_REGEX
2675
2676Description
2677***********
2678
2679Test for Regex library from the Boost C++ libraries.  The macro requires
2680a preceding call to AX_BOOST_BASE. Further documentation is available at
2681<http://randspringer.de/boost/index.html>.
2682
2683This macro calls:
2684
2685       AC_SUBST(BOOST_REGEX_LIB)
2686
2687And sets:
2688
2689       HAVE_BOOST_REGEX
2690
2691Source Code
2692***********
2693
2694Download the latest version of 'ax_boost_regex.m4'
2695(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_regex.m4)
2696or browse the macro's revision history
2697(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_regex.m4).
2698
2699License
2700*******
2701
2702Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2703Copyright (C) 2008 Michael Tindal
2704
2705Copying and distribution of this file, with or without modification, are
2706permitted in any medium without royalty provided the copyright notice
2707and this notice are preserved.  This file is offered as-is, without any
2708warranty.
2709
2710
2711File: autoconf-archive.info,  Node: ax_boost_serialization,  Next: ax_boost_signals,  Prev: ax_boost_regex,  Up: The Macros
2712
2713ax_boost_serialization
2714======================
2715
2716Synopsis
2717********
2718
2719     AX_BOOST_SERIALIZATION
2720
2721Description
2722***********
2723
2724Test for Serialization library from the Boost C++ libraries.  The macro
2725requires a preceding call to AX_BOOST_BASE. Further documentation is
2726available at <http://randspringer.de/boost/index.html>.
2727
2728This macro calls:
2729
2730       AC_SUBST(BOOST_SERIALIZATION_LIB)
2731
2732And sets:
2733
2734       HAVE_BOOST_SERIALIZATION
2735
2736Source Code
2737***********
2738
2739Download the latest version of 'ax_boost_serialization.m4'
2740(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_serialization.m4)
2741or browse the macro's revision history
2742(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_serialization.m4).
2743
2744License
2745*******
2746
2747Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2748
2749Copying and distribution of this file, with or without modification, are
2750permitted in any medium without royalty provided the copyright notice
2751and this notice are preserved.  This file is offered as-is, without any
2752warranty.
2753
2754
2755File: autoconf-archive.info,  Node: ax_boost_signals,  Next: ax_boost_system,  Prev: ax_boost_serialization,  Up: The Macros
2756
2757ax_boost_signals
2758================
2759
2760Synopsis
2761********
2762
2763     AX_BOOST_SIGNALS
2764
2765Description
2766***********
2767
2768Test for Signals library from the Boost C++ libraries.  The macro
2769requires a preceding call to AX_BOOST_BASE. Further documentation is
2770available at <http://randspringer.de/boost/index.html>.
2771
2772This macro calls:
2773
2774       AC_SUBST(BOOST_SIGNALS_LIB)
2775
2776And sets:
2777
2778       HAVE_BOOST_SIGNALS
2779
2780Source Code
2781***********
2782
2783Download the latest version of 'ax_boost_signals.m4'
2784(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_signals.m4)
2785or browse the macro's revision history
2786(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_signals.m4).
2787
2788License
2789*******
2790
2791Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2792Copyright (C) 2008 Michael Tindal
2793
2794Copying and distribution of this file, with or without modification, are
2795permitted in any medium without royalty provided the copyright notice
2796and this notice are preserved.  This file is offered as-is, without any
2797warranty.
2798
2799
2800File: autoconf-archive.info,  Node: ax_boost_system,  Next: ax_boost_test_exec_monitor,  Prev: ax_boost_signals,  Up: The Macros
2801
2802ax_boost_system
2803===============
2804
2805Synopsis
2806********
2807
2808     AX_BOOST_SYSTEM
2809
2810Description
2811***********
2812
2813Test for System library from the Boost C++ libraries.  The macro
2814requires a preceding call to AX_BOOST_BASE. Further documentation is
2815available at <http://randspringer.de/boost/index.html>.
2816
2817This macro calls:
2818
2819       AC_SUBST(BOOST_SYSTEM_LIB)
2820
2821And sets:
2822
2823       HAVE_BOOST_SYSTEM
2824
2825Source Code
2826***********
2827
2828Download the latest version of 'ax_boost_system.m4'
2829(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_system.m4)
2830or browse the macro's revision history
2831(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_system.m4).
2832
2833License
2834*******
2835
2836Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2837Copyright (C) 2008 Michael Tindal
2838Copyright (C) 2008 Daniel Casimiro <dan.casimiro@gmail.com>
2839
2840Copying and distribution of this file, with or without modification, are
2841permitted in any medium without royalty provided the copyright notice
2842and this notice are preserved.  This file is offered as-is, without any
2843warranty.
2844
2845
2846File: autoconf-archive.info,  Node: ax_boost_test_exec_monitor,  Next: ax_boost_thread,  Prev: ax_boost_system,  Up: The Macros
2847
2848ax_boost_test_exec_monitor
2849==========================
2850
2851Synopsis
2852********
2853
2854     AX_BOOST_TEST_EXEC_MONITOR
2855
2856Description
2857***********
2858
2859Test for Test_Exec_Monitor library from the Boost C++ libraries.  The
2860macro requires a preceding call to AX_BOOST_BASE. Further documentation
2861is available at <http://randspringer.de/boost/index.html>.
2862
2863This macro calls:
2864
2865       AC_SUBST(BOOST_TEST_EXEC_MONITOR_LIB)
2866
2867And sets:
2868
2869       HAVE_BOOST_TEST_EXEC_MONITOR
2870
2871Source Code
2872***********
2873
2874Download the latest version of 'ax_boost_test_exec_monitor.m4'
2875(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_test_exec_monitor.m4)
2876or browse the macro's revision history
2877(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_test_exec_monitor.m4).
2878
2879License
2880*******
2881
2882Copyright (C) 2008 Dodji Seketeli <dodji@seketeli.org>
2883Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2884
2885Copying and distribution of this file, with or without modification, are
2886permitted in any medium without royalty provided the copyright notice
2887and this notice are preserved.  This file is offered as-is, without any
2888warranty.
2889
2890
2891File: autoconf-archive.info,  Node: ax_boost_thread,  Next: ax_boost_unit_test_framework,  Prev: ax_boost_test_exec_monitor,  Up: The Macros
2892
2893ax_boost_thread
2894===============
2895
2896Synopsis
2897********
2898
2899     AX_BOOST_THREAD
2900
2901Description
2902***********
2903
2904Test for Thread library from the Boost C++ libraries.  The macro
2905requires a preceding call to AX_BOOST_BASE. Further documentation is
2906available at <http://randspringer.de/boost/index.html>.
2907
2908This macro calls:
2909
2910       AC_SUBST(BOOST_THREAD_LIB)
2911
2912And sets:
2913
2914       HAVE_BOOST_THREAD
2915
2916Source Code
2917***********
2918
2919Download the latest version of 'ax_boost_thread.m4'
2920(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_thread.m4)
2921or browse the macro's revision history
2922(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_thread.m4).
2923
2924License
2925*******
2926
2927Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
2928Copyright (C) 2009 Michael Tindal
2929
2930Copying and distribution of this file, with or without modification, are
2931permitted in any medium without royalty provided the copyright notice
2932and this notice are preserved.  This file is offered as-is, without any
2933warranty.
2934
2935
2936File: autoconf-archive.info,  Node: ax_boost_unit_test_framework,  Next: ax_boost_wave,  Prev: ax_boost_thread,  Up: The Macros
2937
2938ax_boost_unit_test_framework
2939============================
2940
2941Synopsis
2942********
2943
2944     AX_BOOST_UNIT_TEST_FRAMEWORK
2945
2946Description
2947***********
2948
2949Test for Unit_Test_Framework library from the Boost C++ libraries.  The
2950macro requires a preceding call to AX_BOOST_BASE. Further documentation
2951is available at <http://randspringer.de/boost/index.html>.
2952
2953This macro calls:
2954
2955       AC_SUBST(BOOST_UNIT_TEST_FRAMEWORK_LIB)
2956
2957And sets:
2958
2959       HAVE_BOOST_UNIT_TEST_FRAMEWORK
2960
2961Source Code
2962***********
2963
2964Download the latest version of 'ax_boost_unit_test_framework.m4'
2965(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_unit_test_framework.m4)
2966or browse the macro's revision history
2967(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_unit_test_framework.m4).
2968
2969License
2970*******
2971
2972Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
2973
2974Copying and distribution of this file, with or without modification, are
2975permitted in any medium without royalty provided the copyright notice
2976and this notice are preserved.  This file is offered as-is, without any
2977warranty.
2978
2979
2980File: autoconf-archive.info,  Node: ax_boost_wave,  Next: ax_boost_wserialization,  Prev: ax_boost_unit_test_framework,  Up: The Macros
2981
2982ax_boost_wave
2983=============
2984
2985Synopsis
2986********
2987
2988     AX_BOOST_WAVE
2989
2990Description
2991***********
2992
2993Test for Wave library from the Boost C++ libraries.  The macro requires
2994a preceding call to AX_BOOST_BASE. Further documentation is available at
2995<http://randspringer.de/boost/index.html>.
2996
2997This macro calls:
2998
2999       AC_SUBST(BOOST_WAVE_LIB)
3000
3001And sets:
3002
3003       HAVE_BOOST_WAVE
3004
3005Source Code
3006***********
3007
3008Download the latest version of 'ax_boost_wave.m4'
3009(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_wave.m4)
3010or browse the macro's revision history
3011(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_wave.m4).
3012
3013License
3014*******
3015
3016Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
3017Copyright (C) 2009 Michael Tindal
3018
3019Copying and distribution of this file, with or without modification, are
3020permitted in any medium without royalty provided the copyright notice
3021and this notice are preserved.  This file is offered as-is, without any
3022warranty.
3023
3024
3025File: autoconf-archive.info,  Node: ax_boost_wserialization,  Next: ax_build_date_epoch,  Prev: ax_boost_wave,  Up: The Macros
3026
3027ax_boost_wserialization
3028=======================
3029
3030Synopsis
3031********
3032
3033     AX_BOOST_WSERIALIZATION
3034
3035Description
3036***********
3037
3038Test for Serialization library from the Boost C++ libraries.  The macro
3039requires a preceding call to AX_BOOST_BASE. Further documentation is
3040available at <http://randspringer.de/boost/index.html>.
3041
3042This macro calls:
3043
3044       AC_SUBST(BOOST_WSERIALIZATION_LIB)
3045
3046And sets:
3047
3048       HAVE_BOOST_WSERIALIZATION
3049
3050Source Code
3051***********
3052
3053Download the latest version of 'ax_boost_wserialization.m4'
3054(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_boost_wserialization.m4)
3055or browse the macro's revision history
3056(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_boost_wserialization.m4).
3057
3058License
3059*******
3060
3061Copyright (C) 2008 Thomas Porschberg <thomas@randspringer.de>
3062
3063Copying and distribution of this file, with or without modification, are
3064permitted in any medium without royalty provided the copyright notice
3065and this notice are preserved.  This file is offered as-is, without any
3066warranty.
3067
3068
3069File: autoconf-archive.info,  Node: ax_build_date_epoch,  Next: ax_c99_inline,  Prev: ax_boost_wserialization,  Up: The Macros
3070
3071ax_build_date_epoch
3072===================
3073
3074Synopsis
3075********
3076
3077     AX_BUILD_DATE_EPOCH(VARIABLE[, FORMAT[, ACTION-IF-FAIL]])
3078
3079Description
3080***********
3081
3082Sets VARIABLE to a string representing the current time.  It is
3083formatted according to FORMAT if specified, otherwise it is formatted as
3084the number of seconds (excluding leap seconds) since the UNIX epoch (01
3085Jan 1970 00:00:00 UTC).
3086
3087If the SOURCE_DATE_EPOCH environment variable is set, it uses the value
3088of that variable instead of the current time.  See
3089https://reproducible-builds.org/specs/source-date-epoch).  If
3090SOURCE_DATE_EPOCH is set but cannot be properly interpreted as a UNIX
3091timestamp, then execute ACTION-IF-FAIL if specified, otherwise error.
3092
3093VARIABLE is AC_SUBST-ed.
3094
3095Source Code
3096***********
3097
3098Download the latest version of 'ax_build_date_epoch.m4'
3099(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_build_date_epoch.m4)
3100or browse the macro's revision history
3101(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_build_date_epoch.m4).
3102
3103License
3104*******
3105
3106Copyright (C) 2016 Eric Bavier <bavier@member.fsf.org>
3107
3108This program is free software: you can redistribute it and/or modify it
3109under the terms of the GNU General Public License as published by the
3110Free Software Foundation, either version 3 of the License, or (at your
3111option) any later version.
3112
3113This program is distributed in the hope that it will be useful, but
3114WITHOUT ANY WARRANTY; without even the implied warranty of
3115MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3116Public License for more details.
3117
3118You should have received a copy of the GNU General Public License along
3119with this program.  If not, see <https://www.gnu.org/licenses/>.
3120
3121As a special exception, the respective Autoconf Macro's copyright owner
3122gives unlimited permission to copy, distribute and modify the configure
3123scripts that are the output of Autoconf when processing the Macro.  You
3124need not follow the terms of the GNU General Public License when using
3125or distributing such scripts, even though portions of the text of the
3126Macro appear in them.  The GNU General Public License (GPL) does govern
3127all other use of the material that constitutes the Autoconf Macro.
3128
3129This special exception to the GPL applies to versions of the Autoconf
3130Macro released by the Autoconf Archive.  When you make and distribute a
3131modified version of the Autoconf Macro, you may extend this special
3132exception to the GPL to apply to your modified version as well.
3133
3134
3135File: autoconf-archive.info,  Node: ax_c99_inline,  Next: ax_c___attribute__,  Prev: ax_build_date_epoch,  Up: The Macros
3136
3137ax_c99_inline
3138=============
3139
3140Synopsis
3141********
3142
3143     AX_C99_INLINE
3144
3145Description
3146***********
3147
3148This macro defines HAVE_C99_INLINE if the C compiler supports "inline"
3149and "extern inline" correctly.  An application may replace "inline" with
3150"static inline" as a workaround for older compilers.
3151
3152Source Code
3153***********
3154
3155Download the latest version of 'ax_c99_inline.m4'
3156(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c99_inline.m4)
3157or browse the macro's revision history
3158(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c99_inline.m4).
3159
3160License
3161*******
3162
3163Copyright (C) 2009 Michael McMaster <email@michaelmcmaster.name>
3164
3165Copying and distribution of this file, with or without modification, are
3166permitted in any medium without royalty provided the copyright notice
3167and this notice are preserved.  This file is offered as-is, without any
3168warranty.
3169
3170
3171File: autoconf-archive.info,  Node: ax_c___attribute__,  Next: ax_c_arithmetic_rshift,  Prev: ax_c99_inline,  Up: The Macros
3172
3173ax_c___attribute__
3174==================
3175
3176Synopsis
3177********
3178
3179     AX_C___ATTRIBUTE__
3180
3181Description
3182***********
3183
3184Provides a test for the compiler support of __attribute__ extensions.
3185Defines HAVE___ATTRIBUTE__ if it is found.
3186
3187Source Code
3188***********
3189
3190Download the latest version of 'ax_c___attribute__.m4'
3191(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c___attribute__.m4)
3192or browse the macro's revision history
3193(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c___attribute__.m4).
3194
3195License
3196*******
3197
3198Copyright (C) 2008 Stepan Kasal <skasal@redhat.com>
3199Copyright (C) 2008 Christian Haggstrom
3200Copyright (C) 2008 Ryan McCabe <ryan@numb.org>
3201
3202This program is free software; you can redistribute it and/or modify it
3203under the terms of the GNU General Public License as published by the
3204Free Software Foundation; either version 2 of the License, or (at your
3205option) any later version.
3206
3207This program is distributed in the hope that it will be useful, but
3208WITHOUT ANY WARRANTY; without even the implied warranty of
3209MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3210Public License for more details.
3211
3212You should have received a copy of the GNU General Public License along
3213with this program.  If not, see <https://www.gnu.org/licenses/>.
3214
3215As a special exception, the respective Autoconf Macro's copyright owner
3216gives unlimited permission to copy, distribute and modify the configure
3217scripts that are the output of Autoconf when processing the Macro.  You
3218need not follow the terms of the GNU General Public License when using
3219or distributing such scripts, even though portions of the text of the
3220Macro appear in them.  The GNU General Public License (GPL) does govern
3221all other use of the material that constitutes the Autoconf Macro.
3222
3223This special exception to the GPL applies to versions of the Autoconf
3224Macro released by the Autoconf Archive.  When you make and distribute a
3225modified version of the Autoconf Macro, you may extend this special
3226exception to the GPL to apply to your modified version as well.
3227
3228
3229File: autoconf-archive.info,  Node: ax_c_arithmetic_rshift,  Next: ax_c_compile_value,  Prev: ax_c___attribute__,  Up: The Macros
3230
3231ax_c_arithmetic_rshift
3232======================
3233
3234Synopsis
3235********
3236
3237     AX_C_ARITHMETIC_RSHIFT
3238
3239Description
3240***********
3241
3242Checks if the right shift operation is arithmetic.
3243
3244This macro uses compile-time detection and so is cross-compile ready.
3245
3246Source Code
3247***********
3248
3249Download the latest version of 'ax_c_arithmetic_rshift.m4'
3250(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_arithmetic_rshift.m4)
3251or browse the macro's revision history
3252(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_arithmetic_rshift.m4).
3253
3254License
3255*******
3256
3257Copyright (C) 2008 YAMAMOTO Kengo <yamaken@bp.iij4u.or.jp>
3258
3259Copying and distribution of this file, with or without modification, are
3260permitted in any medium without royalty provided the copyright notice
3261and this notice are preserved.  This file is offered as-is, without any
3262warranty.
3263
3264
3265File: autoconf-archive.info,  Node: ax_c_compile_value,  Next: ax_c_declare_block,  Prev: ax_c_arithmetic_rshift,  Up: The Macros
3266
3267ax_c_compile_value
3268==================
3269
3270Synopsis
3271********
3272
3273     AX_C_COMPILE_VALUE (COMPILE-VALUE, ALIAS, INCLUDES)
3274
3275Description
3276***********
3277
3278The AX_C_COMPILE_VALUE macro determines a compile time value by
3279generating the object code and reading the value from the code.  Static
3280data initializers like sizeof(int) are unavailable to preprocessor.  The
3281macro calculates the values known to compiler's static initializer.
3282
3283Assumptions: The sought value should not exceed 65535.  The shell
3284interpreter and the sed utility are expected to exist and work similarly
3285across possible build platforms.
3286
3287Result: The resulting configure script will generate the preprocessor
3288symbol definition:
3289
3290       #define COMPILE_VALUE_<ALIAS> <NUMBER>
3291
3292It was important that the value was embedded into the object file in a
3293predefined byte order during the test.  This ensured that the result was
3294independent from the target platform's byte order.
3295
3296The existing AC_CHECK_SIZEOF macro also computes the size of the given
3297type without running the test program.  However, the existing macro will
3298produce a piece of configure script that will take the time proportional
3299to the logarithm of the sought value.
3300
3301Example of use in configure.in:
3302
3303       AX_C_COMPILE_VALUE(sizeof(int), sizeof_int)
3304       AX_C_COMPILE_VALUE([sizeof(int[[543]])], sizeof_int543)
3305
3306As a result of running the generated configure script, the following
3307definition will appear in config.h:
3308
3309       #define COMPILE_VALUE_SIZEOF_INT 4
3310       #define COMPILE_VALUE_SIZEOF_INT543 2172
3311
3312Source Code
3313***********
3314
3315Download the latest version of 'ax_c_compile_value.m4'
3316(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_compile_value.m4)
3317or browse the macro's revision history
3318(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_compile_value.m4).
3319
3320License
3321*******
3322
3323Copyright (C) 2008 Ilguiz Latypov
3324
3325This program is free software; you can redistribute it and/or modify it
3326under the terms of the GNU General Public License as published by the
3327Free Software Foundation; either version 2 of the License, or (at your
3328option) any later version.
3329
3330This program is distributed in the hope that it will be useful, but
3331WITHOUT ANY WARRANTY; without even the implied warranty of
3332MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3333Public License for more details.
3334
3335You should have received a copy of the GNU General Public License along
3336with this program.  If not, see <https://www.gnu.org/licenses/>.
3337
3338As a special exception, the respective Autoconf Macro's copyright owner
3339gives unlimited permission to copy, distribute and modify the configure
3340scripts that are the output of Autoconf when processing the Macro.  You
3341need not follow the terms of the GNU General Public License when using
3342or distributing such scripts, even though portions of the text of the
3343Macro appear in them.  The GNU General Public License (GPL) does govern
3344all other use of the material that constitutes the Autoconf Macro.
3345
3346This special exception to the GPL applies to versions of the Autoconf
3347Macro released by the Autoconf Archive.  When you make and distribute a
3348modified version of the Autoconf Macro, you may extend this special
3349exception to the GPL to apply to your modified version as well.
3350
3351
3352File: autoconf-archive.info,  Node: ax_c_declare_block,  Next: ax_c_float_words_bigendian,  Prev: ax_c_compile_value,  Up: The Macros
3353
3354ax_c_declare_block
3355==================
3356
3357Synopsis
3358********
3359
3360     AX_C_DECLARE_BLOCK
3361
3362Description
3363***********
3364
3365The macro will compile a test program to see whether the compiler does
3366allow new variable declarations in the middle of a C statement block,
3367i.e.  after some non-declaration line.  New compilers will allow that
3368which makes the behave a bit more like C++ - the gcc did support it for
3369quite a time already.
3370
3371#define DECLARE_BLOCK_NEEDED says they need to be at the beginning of of
3372a statement block.  Additionally two defines DECLARE_BLOCK { and
3373DECLARE_END } are being set.  That makes it possible to do the following
3374in your source code (which this macro is really made up for):
3375
3376      #define ___ DECLARE_BLOCK
3377      #define ____ DECLARE_END
3378
3379      int f() {
3380       char buffer[1024];
3381       fgets(buffer, 1024, stdin);
3382       ___ int i; int ii = strlen(buffer);
3383       for (i=0; i < ii; i++) {
3384          fputc(buffer[i], stdout);
3385       }____;
3386      }
3387
3388Source Code
3389***********
3390
3391Download the latest version of 'ax_c_declare_block.m4'
3392(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_declare_block.m4)
3393or browse the macro's revision history
3394(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_declare_block.m4).
3395
3396License
3397*******
3398
3399Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
3400
3401This program is free software; you can redistribute it and/or modify it
3402under the terms of the GNU General Public License as published by the
3403Free Software Foundation; either version 3 of the License, or (at your
3404option) any later version.
3405
3406This program is distributed in the hope that it will be useful, but
3407WITHOUT ANY WARRANTY; without even the implied warranty of
3408MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3409Public License for more details.
3410
3411You should have received a copy of the GNU General Public License along
3412with this program.  If not, see <https://www.gnu.org/licenses/>.
3413
3414As a special exception, the respective Autoconf Macro's copyright owner
3415gives unlimited permission to copy, distribute and modify the configure
3416scripts that are the output of Autoconf when processing the Macro.  You
3417need not follow the terms of the GNU General Public License when using
3418or distributing such scripts, even though portions of the text of the
3419Macro appear in them.  The GNU General Public License (GPL) does govern
3420all other use of the material that constitutes the Autoconf Macro.
3421
3422This special exception to the GPL applies to versions of the Autoconf
3423Macro released by the Autoconf Archive.  When you make and distribute a
3424modified version of the Autoconf Macro, you may extend this special
3425exception to the GPL to apply to your modified version as well.
3426
3427
3428File: autoconf-archive.info,  Node: ax_c_float_words_bigendian,  Next: ax_c_long_long,  Prev: ax_c_declare_block,  Up: The Macros
3429
3430ax_c_float_words_bigendian
3431==========================
3432
3433Synopsis
3434********
3435
3436     AX_C_FLOAT_WORDS_BIGENDIAN([ACTION-IF-TRUE], [ACTION-IF-FALSE], [ACTION-IF-UNKNOWN])
3437
3438Description
3439***********
3440
3441Checks the ordering of words within a multi-word float.  This check is
3442necessary because on some systems (e.g.  certain ARM systems), the float
3443word ordering can be different from the byte ordering.  In a multi-word
3444float context, "big-endian" implies that the word containing the sign
3445bit is found in the memory location with the lowest address.  This
3446implementation was inspired by the AC_C_BIGENDIAN macro in autoconf.
3447
3448The endianness is detected by first compiling C code that contains a
3449special double float value, then grepping the resulting object file for
3450certain strings of ASCII values.  The double is specially crafted to
3451have a binary representation that corresponds with a simple string.  In
3452this implementation, the string "noonsees" was selected because the
3453individual word values ("noon" and "sees") are palindromes, thus making
3454this test byte-order agnostic.  If grep finds the string "noonsees" in
3455the object file, the target platform stores float words in big-endian
3456order.  If grep finds "seesnoon", float words are in little-endian
3457order.  If neither value is found, the user is instructed to specify the
3458ordering.
3459
3460Source Code
3461***********
3462
3463Download the latest version of 'ax_c_float_words_bigendian.m4'
3464(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_float_words_bigendian.m4)
3465or browse the macro's revision history
3466(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_float_words_bigendian.m4).
3467
3468License
3469*******
3470
3471Copyright (C) 2008 Daniel Amelang <dan@amelang.net>
3472
3473Copying and distribution of this file, with or without modification, are
3474permitted in any medium without royalty provided the copyright notice
3475and this notice are preserved.  This file is offered as-is, without any
3476warranty.
3477
3478
3479File: autoconf-archive.info,  Node: ax_c_long_long,  Next: ax_c_referenceable_passed_va_list,  Prev: ax_c_float_words_bigendian,  Up: The Macros
3480
3481ax_c_long_long
3482==============
3483
3484Synopsis
3485********
3486
3487     AX_C_LONG_LONG
3488
3489Description
3490***********
3491
3492Provides a test for the existence of the long long int type and defines
3493HAVE_LONG_LONG if it is found.
3494
3495Source Code
3496***********
3497
3498Download the latest version of 'ax_c_long_long.m4'
3499(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_long_long.m4)
3500or browse the macro's revision history
3501(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_long_long.m4).
3502
3503License
3504*******
3505
3506Copyright (C) 2008 Caolan McNamara <caolan@skynet.ie>
3507
3508Copying and distribution of this file, with or without modification, are
3509permitted in any medium without royalty provided the copyright notice
3510and this notice are preserved.  This file is offered as-is, without any
3511warranty.
3512
3513
3514File: autoconf-archive.info,  Node: ax_c_referenceable_passed_va_list,  Next: ax_c_var_func,  Prev: ax_c_long_long,  Up: The Macros
3515
3516ax_c_referenceable_passed_va_list
3517=================================
3518
3519Synopsis
3520********
3521
3522     AX_C_REFERENCEABLE_PASSED_VA_LIST
3523
3524Description
3525***********
3526
3527Checks whether f(va_list va){ &va; } works as expected.
3528
3529This macro uses compile-time detection and so is cross-compile ready.
3530
3531C99 mentioned passing a pointer to va_list to other functions (footnote
3532212 of "7.15 Variable arguments <stdarg.h>").  However, f(va_list va) {
3533&va; } produces broken pointer on some environments such as gcc on
3534x86_64, although { va_list va; &va; } works as expected.  See the
3535detection code of this file and any of pages
3536https://www.gnu.org/software/autoconf/manual/html_node/Function-Portability.html,
3537http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14557, and
3538http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20951 for further
3539information.
3540
3541Although C99 does not define the operations f(va_list va) { &va; } and
3542&va itself as standard (footnotes are declared as "normative part,
3543information only"), certain situations need it.  This macro provides a
3544type detection about va_list implementation to deal with the operation.
3545
3546Following workaround will probably work on such environments although it
3547does not ensure to be safe and portable.  At least it is working on
3548x86_64-unknown-linux-gnu:
3549
3550      f(va_list va)
3551      {
3552        va_list *vap;
3553
3554      #if HAVE_REFERENCEABLE_PASSED_VA_LIST
3555          vap = &va;
3556      #else
3557          vap = (va_list *)va;
3558      #endif
3559      }
3560
3561Source Code
3562***********
3563
3564Download the latest version of 'ax_c_referenceable_passed_va_list.m4'
3565(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_referenceable_passed_va_list.m4)
3566or browse the macro's revision history
3567(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_referenceable_passed_va_list.m4).
3568
3569License
3570*******
3571
3572Copyright (C) 2008 YAMAMOTO Kengo <yamaken@bp.iij4u.or.jp>
3573
3574Copying and distribution of this file, with or without modification, are
3575permitted in any medium without royalty provided the copyright notice
3576and this notice are preserved.  This file is offered as-is, without any
3577warranty.
3578
3579
3580File: autoconf-archive.info,  Node: ax_c_var_func,  Next: ax_cache_size,  Prev: ax_c_referenceable_passed_va_list,  Up: The Macros
3581
3582ax_c_var_func
3583=============
3584
3585Synopsis
3586********
3587
3588     AX_C_VAR_FUNC
3589
3590Description
3591***********
3592
3593This macro tests if the C compiler supports the C9X standard __func__
3594identifier.
3595
3596The new C9X standard for the C language stipulates that the identifier
3597__func__ shall be implicitly declared by the compiler as if, immediately
3598following the opening brace of each function definition, the declaration
3599
3600       static const char __func__[] = "function-name";
3601
3602appeared, where function-name is the name of the function where the
3603__func__ identifier is used.
3604
3605Source Code
3606***********
3607
3608Download the latest version of 'ax_c_var_func.m4'
3609(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_c_var_func.m4)
3610or browse the macro's revision history
3611(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_c_var_func.m4).
3612
3613License
3614*******
3615
3616Copyright (C) 2008 Christopher Currie <christopher@currie.com>
3617
3618This program is free software; you can redistribute it and/or modify it
3619under the terms of the GNU General Public License as published by the
3620Free Software Foundation; either version 2 of the License, or (at your
3621option) any later version.
3622
3623This program is distributed in the hope that it will be useful, but
3624WITHOUT ANY WARRANTY; without even the implied warranty of
3625MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3626Public License for more details.
3627
3628You should have received a copy of the GNU General Public License along
3629with this program.  If not, see <https://www.gnu.org/licenses/>.
3630
3631As a special exception, the respective Autoconf Macro's copyright owner
3632gives unlimited permission to copy, distribute and modify the configure
3633scripts that are the output of Autoconf when processing the Macro.  You
3634need not follow the terms of the GNU General Public License when using
3635or distributing such scripts, even though portions of the text of the
3636Macro appear in them.  The GNU General Public License (GPL) does govern
3637all other use of the material that constitutes the Autoconf Macro.
3638
3639This special exception to the GPL applies to versions of the Autoconf
3640Macro released by the Autoconf Archive.  When you make and distribute a
3641modified version of the Autoconf Macro, you may extend this special
3642exception to the GPL to apply to your modified version as well.
3643
3644
3645File: autoconf-archive.info,  Node: ax_cache_size,  Next: ax_caolan_check_package,  Prev: ax_c_var_func,  Up: The Macros
3646
3647ax_cache_size
3648=============
3649
3650Synopsis
3651********
3652
3653     AX_CACHE_SIZE
3654
3655Description
3656***********
3657
3658Find L1 and L2 caches size by reading the corresponding file on UNIX or
3659by requesting cpuid.  The results are available in the defines
3660CPU_L1_CACHE and CPU_L2_CACHE.
3661
3662This macro depends on AX_GCC_X86_CPUID, AC_PROG_SED, AX_COUNT_CPUS, and
3663AX_CPU_VENDOR.
3664
3665Source Code
3666***********
3667
3668Download the latest version of 'ax_cache_size.m4'
3669(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cache_size.m4)
3670or browse the macro's revision history
3671(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cache_size.m4).
3672
3673License
3674*******
3675
3676Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
3677
3678Copying and distribution of this file, with or without modification, are
3679permitted in any medium without royalty provided the copyright notice
3680and this notice are preserved.  This file is offered as-is, without any
3681warranty.
3682
3683
3684File: autoconf-archive.info,  Node: ax_caolan_check_package,  Next: ax_caolan_search_package,  Prev: ax_cache_size,  Up: The Macros
3685
3686ax_caolan_check_package
3687=======================
3688
3689Synopsis
3690********
3691
3692     AX_caolan_CHECK_PACKAGE(PACKAGE, FUNCTION, LIBRARY , HEADERFILE [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3693
3694Description
3695***********
3696
3697Provides -with-PACKAGE, -with-PACKAGE-include and -with-PACKAGE-libdir
3698options to configure.  Supports the now standard -with-PACKAGE=DIR
3699approach where the package's include dir and lib dir are underneath DIR,
3700but also allows the include and lib directories to be specified
3701separately
3702
3703adds the extra -Ipath to CFLAGS if needed adds extra -Lpath to LD_FLAGS
3704if needed searches for the FUNCTION in the LIBRARY with AC_CHECK_LIBRARY
3705and thus adds the lib to LIBS
3706
3707defines HAVE_PKG_PACKAGE if it is found, (where PACKAGE in the
3708HAVE_PKG_PACKAGE is replaced with the actual first parameter passed)
3709note that autoheader will complain of not having the HAVE_PKG_PACKAGE
3710and you will have to add it to acconfig.h manually
3711
3712Source Code
3713***********
3714
3715Download the latest version of 'ax_caolan_check_package.m4'
3716(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_caolan_check_package.m4)
3717or browse the macro's revision history
3718(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_caolan_check_package.m4).
3719
3720License
3721*******
3722
3723Copyright (C) 2008 Caolan McNamara <caolan@skynet.ie>
3724Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
3725Copyright (C) 2008 Matthew Mueller <donut@azstarnet.com>
3726
3727Copying and distribution of this file, with or without modification, are
3728permitted in any medium without royalty provided the copyright notice
3729and this notice are preserved.  This file is offered as-is, without any
3730warranty.
3731
3732
3733File: autoconf-archive.info,  Node: ax_caolan_search_package,  Next: ax_cc_for_build,  Prev: ax_caolan_check_package,  Up: The Macros
3734
3735ax_caolan_search_package
3736========================
3737
3738Synopsis
3739********
3740
3741     AX_caolan_SEARCH_PACKAGE(PACKAGE, FUNCTION, LIBRARY LIST, HEADERFILE [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
3742
3743Description
3744***********
3745
3746Provides -with-PACKAGE, -with-PACKAGE-include and -with-PACKAGE-libdir
3747options to configure.  Supports the now standard -with-PACKAGE=DIR
3748approach where the package's include dir and lib dir are underneath DIR,
3749but also allows the include and lib directories to be specified
3750separately
3751
3752adds the extra -Ipath to CFLAGS if needed adds extra -Lpath to LD_FLAGS
3753if needed searches for the FUNCTION in each of the LIBRARY LIST with
3754AC_SEARCH_LIBRARY and thus adds the lib to LIBS
3755
3756defines HAVE_PKG_PACKAGE if it is found, (where PACKAGE in the
3757HAVE_PKG_PACKAGE is replaced with the actual first parameter passed)
3758note that autoheader will complain of not having the HAVE_PKG_PACKAGE
3759and you will have to add it to acconfig.h manually
3760
3761Source Code
3762***********
3763
3764Download the latest version of 'ax_caolan_search_package.m4'
3765(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_caolan_search_package.m4)
3766or browse the macro's revision history
3767(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_caolan_search_package.m4).
3768
3769License
3770*******
3771
3772Copyright (C) 2009 Caolan McNamara <caolan@skynet.ie>
3773Copyright (C) 2009 Alexandre Duret-Lutz <adl@gnu.org>
3774Copyright (C) 2009 Matthew Mueller <donut@azstarnet.com>
3775
3776Copying and distribution of this file, with or without modification, are
3777permitted in any medium without royalty provided the copyright notice
3778and this notice are preserved.  This file is offered as-is, without any
3779warranty.
3780
3781
3782File: autoconf-archive.info,  Node: ax_cc_for_build,  Next: ax_cc_maxopt,  Prev: ax_caolan_search_package,  Up: The Macros
3783
3784ax_cc_for_build
3785===============
3786
3787Synopsis
3788********
3789
3790     AX_CC_FOR_BUILD
3791
3792Description
3793***********
3794
3795Find a build-time compiler.  Sets CC_FOR_BUILD and EXEEXT_FOR_BUILD.
3796
3797Source Code
3798***********
3799
3800Download the latest version of 'ax_cc_for_build.m4'
3801(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cc_for_build.m4)
3802or browse the macro's revision history
3803(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cc_for_build.m4).
3804
3805License
3806*******
3807
3808Copyright (C) 2010 Reuben Thomas <rrt@sc3d.org>
3809Copyright (C) 1999 Richard Henderson <rth@redhat.com>
3810
3811This program is free software: you can redistribute it and/or modify it
3812under the terms of the GNU General Public License as published by the
3813Free Software Foundation, either version 3 of the License, or (at your
3814option) any later version.
3815
3816This program is distributed in the hope that it will be useful, but
3817WITHOUT ANY WARRANTY; without even the implied warranty of
3818MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3819Public License for more details.
3820
3821You should have received a copy of the GNU General Public License along
3822with this program.  If not, see <https://www.gnu.org/licenses/>.
3823
3824As a special exception, the respective Autoconf Macro's copyright owner
3825gives unlimited permission to copy, distribute and modify the configure
3826scripts that are the output of Autoconf when processing the Macro.  You
3827need not follow the terms of the GNU General Public License when using
3828or distributing such scripts, even though portions of the text of the
3829Macro appear in them.  The GNU General Public License (GPL) does govern
3830all other use of the material that constitutes the Autoconf Macro.
3831
3832This special exception to the GPL applies to versions of the Autoconf
3833Macro released by the Autoconf Archive.  When you make and distribute a
3834modified version of the Autoconf Macro, you may extend this special
3835exception to the GPL to apply to your modified version as well.
3836
3837
3838File: autoconf-archive.info,  Node: ax_cc_maxopt,  Next: ax_cf_ebcdic,  Prev: ax_cc_for_build,  Up: The Macros
3839
3840ax_cc_maxopt
3841============
3842
3843Synopsis
3844********
3845
3846     AX_CC_MAXOPT
3847
3848Description
3849***********
3850
3851Try to turn on "good" C optimization flags for various compilers and
3852architectures, for some definition of "good".  (In our case, good for
3853FFTW and hopefully for other scientific codes.  Modify as needed.)
3854
3855The user can override the flags by setting the CFLAGS environment
3856variable.  The user can also specify -enable-portable-binary in order to
3857disable any optimization flags that might result in a binary that only
3858runs on the host architecture.
3859
3860Note also that the flags assume that ANSI C aliasing rules are followed
3861by the code (e.g.  for gcc's -fstrict-aliasing), and that floating-point
3862computations can be re-ordered as needed.
3863
3864Requires macros: AX_CHECK_COMPILE_FLAG, AX_COMPILER_VENDOR,
3865AX_GCC_ARCHFLAG, AX_GCC_X86_CPUID.
3866
3867Source Code
3868***********
3869
3870Download the latest version of 'ax_cc_maxopt.m4'
3871(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cc_maxopt.m4)
3872or browse the macro's revision history
3873(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cc_maxopt.m4).
3874
3875License
3876*******
3877
3878Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
3879Copyright (C) 2008 Matteo Frigo
3880
3881This program is free software: you can redistribute it and/or modify it
3882under the terms of the GNU General Public License as published by the
3883Free Software Foundation, either version 3 of the License, or (at your
3884option) any later version.
3885
3886This program is distributed in the hope that it will be useful, but
3887WITHOUT ANY WARRANTY; without even the implied warranty of
3888MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3889Public License for more details.
3890
3891You should have received a copy of the GNU General Public License along
3892with this program.  If not, see <https://www.gnu.org/licenses/>.
3893
3894As a special exception, the respective Autoconf Macro's copyright owner
3895gives unlimited permission to copy, distribute and modify the configure
3896scripts that are the output of Autoconf when processing the Macro.  You
3897need not follow the terms of the GNU General Public License when using
3898or distributing such scripts, even though portions of the text of the
3899Macro appear in them.  The GNU General Public License (GPL) does govern
3900all other use of the material that constitutes the Autoconf Macro.
3901
3902This special exception to the GPL applies to versions of the Autoconf
3903Macro released by the Autoconf Archive.  When you make and distribute a
3904modified version of the Autoconf Macro, you may extend this special
3905exception to the GPL to apply to your modified version as well.
3906
3907
3908File: autoconf-archive.info,  Node: ax_cf_ebcdic,  Next: ax_cflags_aix_option,  Prev: ax_cc_maxopt,  Up: The Macros
3909
3910ax_cf_ebcdic
3911============
3912
3913Synopsis
3914********
3915
3916     AX_CF_EBCDIC
3917
3918Description
3919***********
3920
3921If the target character set is EBCDIC, defines variables cf_cv_ebcdic,
3922EBCDIC, and NOT_ASCII.
3923
3924I originally wrote this and submitted it to the Lynx distribution.
3925Editorial revisions by Tom Dickey, et.  al.
3926
3927Source Code
3928***********
3929
3930Download the latest version of 'ax_cf_ebcdic.m4'
3931(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cf_ebcdic.m4)
3932or browse the macro's revision history
3933(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cf_ebcdic.m4).
3934
3935License
3936*******
3937
3938Copyright (C) 2008 Paul Gilmartin <pg@sweng.stortek.com>
3939
3940This program is free software: you can redistribute it and/or modify it
3941under the terms of the GNU General Public License as published by the
3942Free Software Foundation, either version 3 of the License, or (at your
3943option) any later version.
3944
3945This program is distributed in the hope that it will be useful, but
3946WITHOUT ANY WARRANTY; without even the implied warranty of
3947MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3948Public License for more details.
3949
3950You should have received a copy of the GNU General Public License along
3951with this program.  If not, see <https://www.gnu.org/licenses/>.
3952
3953As a special exception, the respective Autoconf Macro's copyright owner
3954gives unlimited permission to copy, distribute and modify the configure
3955scripts that are the output of Autoconf when processing the Macro.  You
3956need not follow the terms of the GNU General Public License when using
3957or distributing such scripts, even though portions of the text of the
3958Macro appear in them.  The GNU General Public License (GPL) does govern
3959all other use of the material that constitutes the Autoconf Macro.
3960
3961This special exception to the GPL applies to versions of the Autoconf
3962Macro released by the Autoconf Archive.  When you make and distribute a
3963modified version of the Autoconf Macro, you may extend this special
3964exception to the GPL to apply to your modified version as well.
3965
3966
3967File: autoconf-archive.info,  Node: ax_cflags_aix_option,  Next: ax_cflags_force_c89,  Prev: ax_cf_ebcdic,  Up: The Macros
3968
3969ax_cflags_aix_option
3970====================
3971
3972Synopsis
3973********
3974
3975     AX_CFLAGS_AIX_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
3976
3977Description
3978***********
3979
3980AX_CFLAGS_AIX_OPTION(-qubicle) would show a message as like "checking
3981CFLAGS for aix/cc -qubicle ...  yes" and adds the optionflag to CFLAGS
3982if it is understood.  You can override the shellvar-default of CFLAGS of
3983course.  The order of arguments stems from the explicit macros like
3984AX_CFLAGS_WARN_ALL.
3985
3986The cousin AX_CXXFLAGS_AIX_OPTION would check for an option to add to
3987CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
3988is possible to use different compilers for C and C++).
3989
3990The macro is a lot simpler than any special AX_CFLAGS_* macro (or
3991ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
3992However, if you use this macro in a few places, it would be great if you
3993would make up a new function-macro and submit it to the ac-archive.
3994
3995      - $1 option-to-check-for : required ("-option" as non-value)
3996      - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
3997      - $3 action-if-found : add value to shellvariable
3998      - $4 action-if-not-found : nothing
3999
4000note: in earlier versions, $1-$2 were swapped.  We try to detect the
4001situation and accept a $2=~/-/ as being the old option-to-check-for.
4002
4003see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
4004
4005Source Code
4006***********
4007
4008Download the latest version of 'ax_cflags_aix_option.m4'
4009(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_aix_option.m4)
4010or browse the macro's revision history
4011(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_aix_option.m4).
4012
4013License
4014*******
4015
4016Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4017
4018Copying and distribution of this file, with or without modification, are
4019permitted in any medium without royalty provided the copyright notice
4020and this notice are preserved.  This file is offered as-is, without any
4021warranty.
4022
4023
4024File: autoconf-archive.info,  Node: ax_cflags_force_c89,  Next: ax_cflags_hpux_option,  Prev: ax_cflags_aix_option,  Up: The Macros
4025
4026ax_cflags_force_c89
4027===================
4028
4029Synopsis
4030********
4031
4032     AX_CFLAGS_FORCE_C89 [(shellvar [,default, [A/NA]])]
4033
4034Description
4035***********
4036
4037Try to find a compiler option that enables strict C89 mode.
4038
4039For the GNU CC compiler it will be -ansi -pedantic.  The result is added
4040to the shellvar being CFLAGS by default.
4041
4042Currently this macro knows about GCC, Solaris C compiler, Digital Unix C
4043compiler, C for AIX Compiler, HP-UX C compiler, IRIX C compiler, NEC
4044SX-5 (Super-UX 10) C compiler, and Cray J90 (Unicos 10.0.0.8) C
4045compiler.
4046
4047      - $1 shell-variable-to-add-to : CFLAGS
4048      - $2 add-value-if-not-found : nothing
4049      - $3 action-if-found : add value to shellvariable
4050      - $4 action-if-not-found : nothing
4051
4052NOTE: These macros depend on AX_APPEND_FLAG.
4053
4054Source Code
4055***********
4056
4057Download the latest version of 'ax_cflags_force_c89.m4'
4058(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_force_c89.m4)
4059or browse the macro's revision history
4060(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_force_c89.m4).
4061
4062License
4063*******
4064
4065Copyright (C) 2009 Guido U. Draheim <guidod@gmx.de>
4066
4067Copying and distribution of this file, with or without modification, are
4068permitted in any medium without royalty provided the copyright notice
4069and this notice are preserved.  This file is offered as-is, without any
4070warranty.
4071
4072
4073File: autoconf-archive.info,  Node: ax_cflags_hpux_option,  Next: ax_cflags_irix_option,  Prev: ax_cflags_force_c89,  Up: The Macros
4074
4075ax_cflags_hpux_option
4076=====================
4077
4078Synopsis
4079********
4080
4081     AX_CFLAGS_HPUX_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
4082
4083Description
4084***********
4085
4086AX_CFLAGS_HPUX_OPTION(-Afresh) would show a message as like "checking
4087CFLAGS for hpux/cc -Afresh ...  yes" and adds the optionflag to CFLAGS
4088if it is understood.  You can override the shellvar-default of CFLAGS of
4089course.  The order of arguments stems from the explicit macros like
4090AX_CFLAGS_WARN_ALL.
4091
4092The cousin AX_CXXFLAGS_HPUX_OPTION would check for an option to add to
4093CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
4094is possible to use different compilers for C and C++).
4095
4096The macro is a lot simpler than any special AX_CFLAGS_* macro (or
4097ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
4098However, if you use this macro in a few places, it would be great if you
4099would make up a new function-macro and submit it to the ac-archive.
4100
4101      - $1 option-to-check-for : required ("-option" as non-value)
4102      - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
4103      - $3 action-if-found : add value to shellvariable
4104      - $4 action-if-not-found : nothing
4105
4106note: in earlier versions, $1-$2 were swapped.  We try to detect the
4107situation and accept a $2=~/-/ as being the old option-to-check-for.
4108
4109see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
4110
4111Source Code
4112***********
4113
4114Download the latest version of 'ax_cflags_hpux_option.m4'
4115(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_hpux_option.m4)
4116or browse the macro's revision history
4117(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_hpux_option.m4).
4118
4119License
4120*******
4121
4122Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4123
4124Copying and distribution of this file, with or without modification, are
4125permitted in any medium without royalty provided the copyright notice
4126and this notice are preserved.  This file is offered as-is, without any
4127warranty.
4128
4129
4130File: autoconf-archive.info,  Node: ax_cflags_irix_option,  Next: ax_cflags_no_writable_strings,  Prev: ax_cflags_hpux_option,  Up: The Macros
4131
4132ax_cflags_irix_option
4133=====================
4134
4135Synopsis
4136********
4137
4138     AX_CFLAGS_IRIX_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
4139
4140Description
4141***********
4142
4143AX_CFLAGS_IRIX_OPTION(-go_for_it) would show a message as like "checking
4144CFLAGS for irix/cc -go_for_it ...  yes" and adds the optionflag to
4145CFLAGS if it is understood.  You can override the shellvar-default of
4146CFLAGS of course.  The order of arguments stems from the explicit macros
4147like AX_CFLAGS_WARN_ALL.
4148
4149The cousin AX_CXXFLAGS_IRIX_OPTION would check for an option to add to
4150CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
4151is possible to use different compilers for C and C++).
4152
4153The macro is a lot simpler than any special AX_CFLAGS_* macro (or
4154ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
4155However, if you use this macro in a few places, it would be great if you
4156would make up a new function-macro and submit it to the ac-archive.
4157
4158      - $1 option-to-check-for : required ("-option" as non-value)
4159      - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
4160      - $3 action-if-found : add value to shellvariable
4161      - $4 action-if-not-found : nothing
4162
4163note: in earlier versions, $1-$2 were swapped.  We try to detect the
4164situation and accept a $2=~/-/ as being the old option-to-check-for.
4165
4166see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
4167
4168Source Code
4169***********
4170
4171Download the latest version of 'ax_cflags_irix_option.m4'
4172(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_irix_option.m4)
4173or browse the macro's revision history
4174(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_irix_option.m4).
4175
4176License
4177*******
4178
4179Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4180
4181Copying and distribution of this file, with or without modification, are
4182permitted in any medium without royalty provided the copyright notice
4183and this notice are preserved.  This file is offered as-is, without any
4184warranty.
4185
4186
4187File: autoconf-archive.info,  Node: ax_cflags_no_writable_strings,  Next: ax_cflags_strict_prototypes,  Prev: ax_cflags_irix_option,  Up: The Macros
4188
4189ax_cflags_no_writable_strings
4190=============================
4191
4192Synopsis
4193********
4194
4195     AX_CFLAGS_NO_WRITABLE_STRINGS [(shellvar [,default, [A/NA]])]
4196
4197Description
4198***********
4199
4200Try to find a compiler option that makes all string literals readonly.
4201
4202The sanity check is done by looking at string.h which has a set of
4203strcpy definitions that should be defined with const-modifiers to not
4204emit a warning in all so many places.
4205
4206For the GNU CC compiler it will be -fno-writable-strings -Wwrite-strings
4207The result is added to the shellvar being CFLAGS by default.
4208
4209DEFAULTS:
4210
4211      - $1 shell-variable-to-add-to : CFLAGS
4212      - $2 add-value-if-not-found : nothing
4213      - $3 action-if-found : add value to shellvariable
4214      - $4 action-if-not-found : nothing
4215
4216NOTE: These macros depend on AX_APPEND_FLAG.
4217
4218Source Code
4219***********
4220
4221Download the latest version of 'ax_cflags_no_writable_strings.m4'
4222(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_no_writable_strings.m4)
4223or browse the macro's revision history
4224(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_no_writable_strings.m4).
4225
4226License
4227*******
4228
4229Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4230
4231Copying and distribution of this file, with or without modification, are
4232permitted in any medium without royalty provided the copyright notice
4233and this notice are preserved.  This file is offered as-is, without any
4234warranty.
4235
4236
4237File: autoconf-archive.info,  Node: ax_cflags_strict_prototypes,  Next: ax_cflags_sun_option,  Prev: ax_cflags_no_writable_strings,  Up: The Macros
4238
4239ax_cflags_strict_prototypes
4240===========================
4241
4242Synopsis
4243********
4244
4245     AX_CFLAGS_STRICT_PROTOTYPES [(shellvar [,default, [A/NA]]
4246
4247Description
4248***********
4249
4250Try to find a compiler option that requires strict prototypes.
4251
4252The sanity check is done by looking at sys/signal.h which has a set of
4253macro-definitions SIG_DFL and SIG_IGN that are cast to the local
4254signal-handler type.  If that signal-handler type is not fully qualified
4255then the system headers are not seen as strictly prototype clean.
4256
4257For the GNU CC compiler it will be -fstrict-prototypes
4258-Wstrict-prototypes The result is added to the shellvar being CFLAGS by
4259default.
4260
4261DEFAULTS:
4262
4263      - $1 shell-variable-to-add-to : CFLAGS
4264      - $2 add-value-if-not-found : nothing
4265      - $3 action-if-found : add value to shellvariable
4266      - $4 action-if-not-found : nothing
4267
4268NOTE: These macros depend on AX_APPEND_FLAG.
4269
4270Source Code
4271***********
4272
4273Download the latest version of 'ax_cflags_strict_prototypes.m4'
4274(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_strict_prototypes.m4)
4275or browse the macro's revision history
4276(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_strict_prototypes.m4).
4277
4278License
4279*******
4280
4281Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4282
4283Copying and distribution of this file, with or without modification, are
4284permitted in any medium without royalty provided the copyright notice
4285and this notice are preserved.  This file is offered as-is, without any
4286warranty.
4287
4288
4289File: autoconf-archive.info,  Node: ax_cflags_sun_option,  Next: ax_cflags_warn_all,  Prev: ax_cflags_strict_prototypes,  Up: The Macros
4290
4291ax_cflags_sun_option
4292====================
4293
4294Synopsis
4295********
4296
4297     AX_CFLAGS_SUN_OPTION (optionflag [,[shellvar][,[A][,[NA]]])
4298
4299Description
4300***********
4301
4302AX_CFLAGS_SUN_OPTION(+xtreme) would show a message as like "checking
4303CFLAGS for sun/cc +xtreme ...  yes" and adds the optionflag to CFLAGS if
4304it is understood.  You can override the shellvar-default of CFLAGS of
4305course.  The order of arguments stems from the explicit macros like
4306AX_CFLAGS_WARN_ALL.
4307
4308The cousin AX_CXXFLAGS_SUN_OPTION would check for an option to add to
4309CXXFLAGS - and it uses the autoconf setup for C++ instead of C (since it
4310is possible to use different compilers for C and C++).
4311
4312The macro is a lot simpler than any special AX_CFLAGS_* macro (or
4313ax_cxx_rtti.m4 macro) but allows to check for arbitrary options.
4314However, if you use this macro in a few places, it would be great if you
4315would make up a new function-macro and submit it to the ac-archive.
4316
4317      - $1 option-to-check-for : required ("-option" as non-value)
4318      - $2 shell-variable-to-add-to : CFLAGS (or CXXFLAGS in the other case)
4319      - $3 action-if-found : add value to shellvariable
4320      - $4 action-if-not-found : nothing
4321
4322note: in earlier versions, $1-$2 were swapped.  We try to detect the
4323situation and accept a $2=~/-/ as being the old option-to-check-for.
4324
4325see also: AX_CFLAGS_GCC_OPTION for the widely used original variant.
4326
4327Source Code
4328***********
4329
4330Download the latest version of 'ax_cflags_sun_option.m4'
4331(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_sun_option.m4)
4332or browse the macro's revision history
4333(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_sun_option.m4).
4334
4335License
4336*******
4337
4338Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4339
4340Copying and distribution of this file, with or without modification, are
4341permitted in any medium without royalty provided the copyright notice
4342and this notice are preserved.  This file is offered as-is, without any
4343warranty.
4344
4345
4346File: autoconf-archive.info,  Node: ax_cflags_warn_all,  Next: ax_check_aligned_access_required,  Prev: ax_cflags_sun_option,  Up: The Macros
4347
4348ax_cflags_warn_all
4349==================
4350
4351Synopsis
4352********
4353
4354     AX_CFLAGS_WARN_ALL   [(shellvar [,default, [A/NA]])]
4355     AX_CXXFLAGS_WARN_ALL [(shellvar [,default, [A/NA]])]
4356     AX_FCFLAGS_WARN_ALL  [(shellvar [,default, [A/NA]])]
4357
4358Description
4359***********
4360
4361Try to find a compiler option that enables most reasonable warnings.
4362
4363For the GNU compiler it will be -Wall (and -ansi -pedantic) The result
4364is added to the shellvar being CFLAGS, CXXFLAGS, or FCFLAGS by default.
4365
4366Currently this macro knows about the GCC, Solaris, Digital Unix, AIX,
4367HP-UX, IRIX, NEC SX-5 (Super-UX 10), Cray J90 (Unicos 10.0.0.8), and
4368Intel compilers.  For a given compiler, the Fortran flags are much more
4369experimental than their C equivalents.
4370
4371      - $1 shell-variable-to-add-to : CFLAGS, CXXFLAGS, or FCFLAGS
4372      - $2 add-value-if-not-found : nothing
4373      - $3 action-if-found : add value to shellvariable
4374      - $4 action-if-not-found : nothing
4375
4376NOTE: These macros depend on AX_APPEND_FLAG.
4377
4378Source Code
4379***********
4380
4381Download the latest version of 'ax_cflags_warn_all.m4'
4382(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cflags_warn_all.m4)
4383or browse the macro's revision history
4384(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cflags_warn_all.m4).
4385
4386License
4387*******
4388
4389Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4390Copyright (C) 2010 Rhys Ulerich <rhys.ulerich@gmail.com>
4391
4392This program is free software; you can redistribute it and/or modify it
4393under the terms of the GNU General Public License as published by the
4394Free Software Foundation; either version 3 of the License, or (at your
4395option) any later version.
4396
4397This program is distributed in the hope that it will be useful, but
4398WITHOUT ANY WARRANTY; without even the implied warranty of
4399MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
4400Public License for more details.
4401
4402You should have received a copy of the GNU General Public License along
4403with this program.  If not, see <https://www.gnu.org/licenses/>.
4404
4405As a special exception, the respective Autoconf Macro's copyright owner
4406gives unlimited permission to copy, distribute and modify the configure
4407scripts that are the output of Autoconf when processing the Macro.  You
4408need not follow the terms of the GNU General Public License when using
4409or distributing such scripts, even though portions of the text of the
4410Macro appear in them.  The GNU General Public License (GPL) does govern
4411all other use of the material that constitutes the Autoconf Macro.
4412
4413This special exception to the GPL applies to versions of the Autoconf
4414Macro released by the Autoconf Archive.  When you make and distribute a
4415modified version of the Autoconf Macro, you may extend this special
4416exception to the GPL to apply to your modified version as well.
4417
4418
4419File: autoconf-archive.info,  Node: ax_check_aligned_access_required,  Next: ax_check_allocated_ctime,  Prev: ax_cflags_warn_all,  Up: The Macros
4420
4421ax_check_aligned_access_required
4422================================
4423
4424Synopsis
4425********
4426
4427     AX_CHECK_ALIGNED_ACCESS_REQUIRED
4428
4429Description
4430***********
4431
4432While the x86 CPUs allow access to memory objects to be unaligned it
4433happens that most of the modern designs require objects to be aligned -
4434or they will fail with a buserror.  That mode is quite known by
4435big-endian machines (sparc, etc) however the alpha cpu is little-
4436endian.
4437
4438The following function will test for aligned access to be required and
4439set a config.h define HAVE_ALIGNED_ACCESS_REQUIRED (name derived by
4440standard usage).  Structures loaded from a file (or mmapped to memory)
4441should be accessed per-byte in that case to avoid segfault type errors.
4442
4443The function checks if unaligned access would ignore the lowest bit of
4444the address.  If that happens or if the test binary crashes, aligned
4445access is required.
4446
4447If cross-compiling, assume that aligned access is needed to be safe.
4448Set ax_cv_have_aligned_access_required=no to override that assumption.
4449
4450Source Code
4451***********
4452
4453Download the latest version of 'ax_check_aligned_access_required.m4'
4454(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_aligned_access_required.m4)
4455or browse the macro's revision history
4456(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_aligned_access_required.m4).
4457
4458License
4459*******
4460
4461Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
4462
4463Copying and distribution of this file, with or without modification, are
4464permitted in any medium without royalty provided the copyright notice
4465and this notice are preserved.  This file is offered as-is, without any
4466warranty.
4467
4468
4469File: autoconf-archive.info,  Node: ax_check_allocated_ctime,  Next: ax_check_awk__v,  Prev: ax_check_aligned_access_required,  Up: The Macros
4470
4471ax_check_allocated_ctime
4472========================
4473
4474Synopsis
4475********
4476
4477     AX_CHECK_ALLOCATED_CTIME
4478
4479Description
4480***********
4481
4482Check whether we need to free the memory returned by ctime.
4483
4484Source Code
4485***********
4486
4487Download the latest version of 'ax_check_allocated_ctime.m4'
4488(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_allocated_ctime.m4)
4489or browse the macro's revision history
4490(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_allocated_ctime.m4).
4491
4492License
4493*******
4494
4495Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
4496
4497Copying and distribution of this file, with or without modification, are
4498permitted in any medium without royalty provided the copyright notice
4499and this notice are preserved.  This file is offered as-is, without any
4500warranty.
4501
4502
4503File: autoconf-archive.info,  Node: ax_check_awk__v,  Next: ax_check_awk__x_escapes,  Prev: ax_check_allocated_ctime,  Up: The Macros
4504
4505ax_check_awk__v
4506===============
4507
4508Synopsis
4509********
4510
4511     AX_CHECK_AWK__V([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4512
4513Description
4514***********
4515
4516Check if AWK supports -v option ($AWK -v var=val '<PROGRAM>').  If
4517successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4518
4519This work is heavily based upon testawk.sh script by Heiner Steven.  You
4520should find his script (and related works) at
4521<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
4522Alessandro Massignan for his suggestions and extensive nawk tests on
4523FreeBSD.
4524
4525Source Code
4526***********
4527
4528Download the latest version of 'ax_check_awk__v.m4'
4529(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk__v.m4)
4530or browse the macro's revision history
4531(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk__v.m4).
4532
4533License
4534*******
4535
4536Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4537
4538Copying and distribution of this file, with or without modification, are
4539permitted in any medium without royalty provided the copyright notice
4540and this notice are preserved.  This file is offered as-is, without any
4541warranty.
4542
4543
4544File: autoconf-archive.info,  Node: ax_check_awk__x_escapes,  Next: ax_check_awk_and,  Prev: ax_check_awk__v,  Up: The Macros
4545
4546ax_check_awk__x_escapes
4547=======================
4548
4549Synopsis
4550********
4551
4552     AX_CHECK_AWK__X_ESCAPES([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4553
4554Description
4555***********
4556
4557Check if AWK supports \x escape codes.  If successful execute
4558ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4559
4560This work is heavily based upon testawk.sh script by Heiner Steven.  You
4561should find his script (and related works) at
4562<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
4563Alessandro Massignan for his suggestions and extensive nawk tests on
4564FreeBSD.
4565
4566Source Code
4567***********
4568
4569Download the latest version of 'ax_check_awk__x_escapes.m4'
4570(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk__x_escapes.m4)
4571or browse the macro's revision history
4572(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk__x_escapes.m4).
4573
4574License
4575*******
4576
4577Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4578
4579Copying and distribution of this file, with or without modification, are
4580permitted in any medium without royalty provided the copyright notice
4581and this notice are preserved.  This file is offered as-is, without any
4582warranty.
4583
4584
4585File: autoconf-archive.info,  Node: ax_check_awk_and,  Next: ax_check_awk_argind,  Prev: ax_check_awk__x_escapes,  Up: The Macros
4586
4587ax_check_awk_and
4588================
4589
4590Synopsis
4591********
4592
4593     AX_CHECK_AWK_AND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4594
4595Description
4596***********
4597
4598Check if AWK supports and() function.  If successful execute
4599ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4600
4601This work is heavily based upon testawk.sh script by Heiner Steven.  You
4602should find his script (and related works) at
4603<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
4604Alessandro Massignan for his suggestions and extensive nawk tests on
4605FreeBSD.
4606
4607Source Code
4608***********
4609
4610Download the latest version of 'ax_check_awk_and.m4'
4611(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_and.m4)
4612or browse the macro's revision history
4613(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_and.m4).
4614
4615License
4616*******
4617
4618Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4619
4620Copying and distribution of this file, with or without modification, are
4621permitted in any medium without royalty provided the copyright notice
4622and this notice are preserved.  This file is offered as-is, without any
4623warranty.
4624
4625
4626File: autoconf-archive.info,  Node: ax_check_awk_argind,  Next: ax_check_awk_array_delete,  Prev: ax_check_awk_and,  Up: The Macros
4627
4628ax_check_awk_argind
4629===================
4630
4631Synopsis
4632********
4633
4634     AX_CHECK_AWK_ARGIND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4635
4636Description
4637***********
4638
4639Check if AWK supports ARGIND variable.  If successful execute
4640ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4641
4642This work is heavily based upon testawk.sh script by Heiner Steven.  You
4643should find his script (and related works) at
4644<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
4645Alessandro Massignan for his suggestions and extensive nawk tests on
4646FreeBSD.
4647
4648Source Code
4649***********
4650
4651Download the latest version of 'ax_check_awk_argind.m4'
4652(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_argind.m4)
4653or browse the macro's revision history
4654(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_argind.m4).
4655
4656License
4657*******
4658
4659Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4660
4661Copying and distribution of this file, with or without modification, are
4662permitted in any medium without royalty provided the copyright notice
4663and this notice are preserved.  This file is offered as-is, without any
4664warranty.
4665
4666
4667File: autoconf-archive.info,  Node: ax_check_awk_array_delete,  Next: ax_check_awk_array_delete_elem,  Prev: ax_check_awk_argind,  Up: The Macros
4668
4669ax_check_awk_array_delete
4670=========================
4671
4672Synopsis
4673********
4674
4675     AX_CHECK_AWK_ARRAY_DELETE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4676
4677Description
4678***********
4679
4680Check if AWK supports delete on array.  If successful execute
4681ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4682
4683This work is heavily based upon testawk.sh script by Heiner Steven.  You
4684should find his script (and related works) at
4685<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
4686Alessandro Massignan for his suggestions and extensive nawk tests on
4687FreeBSD.
4688
4689Source Code
4690***********
4691
4692Download the latest version of 'ax_check_awk_array_delete.m4'
4693(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_array_delete.m4)
4694or browse the macro's revision history
4695(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_array_delete.m4).
4696
4697License
4698*******
4699
4700Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4701
4702Copying and distribution of this file, with or without modification, are
4703permitted in any medium without royalty provided the copyright notice
4704and this notice are preserved.  This file is offered as-is, without any
4705warranty.
4706
4707
4708File: 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
4709
4710ax_check_awk_array_delete_elem
4711==============================
4712
4713Synopsis
4714********
4715
4716     AX_CHECK_AWK_ARRAY_DELETE_ELEM([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4717
4718Description
4719***********
4720
4721Check if AWK supports delete on array element.  If successful execute
4722ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4723
4724This work is heavily based upon testawk.sh script by Heiner Steven.  You
4725should find his script (and related works) at
4726<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
4727Alessandro Massignan for his suggestions and extensive nawk tests on
4728FreeBSD.
4729
4730Source Code
4731***********
4732
4733Download the latest version of 'ax_check_awk_array_delete_elem.m4'
4734(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_array_delete_elem.m4)
4735or browse the macro's revision history
4736(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_array_delete_elem.m4).
4737
4738License
4739*******
4740
4741Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4742
4743Copying and distribution of this file, with or without modification, are
4744permitted in any medium without royalty provided the copyright notice
4745and this notice are preserved.  This file is offered as-is, without any
4746warranty.
4747
4748
4749File: autoconf-archive.info,  Node: ax_check_awk_array_in,  Next: ax_check_awk_asort,  Prev: ax_check_awk_array_delete_elem,  Up: The Macros
4750
4751ax_check_awk_array_in
4752=====================
4753
4754Synopsis
4755********
4756
4757     AX_CHECK_AWK_ARRAY_IN([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4758
4759Description
4760***********
4761
4762Check if AWK supports 'in' on array.  If successful execute
4763ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4764
4765This work is heavily based upon testawk.sh script by Heiner Steven.  You
4766should find his script (and related works) at
4767<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
4768Alessandro Massignan for his suggestions and extensive nawk tests on
4769FreeBSD.
4770
4771Source Code
4772***********
4773
4774Download the latest version of 'ax_check_awk_array_in.m4'
4775(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_array_in.m4)
4776or browse the macro's revision history
4777(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_array_in.m4).
4778
4779License
4780*******
4781
4782Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4783
4784Copying and distribution of this file, with or without modification, are
4785permitted in any medium without royalty provided the copyright notice
4786and this notice are preserved.  This file is offered as-is, without any
4787warranty.
4788
4789
4790File: autoconf-archive.info,  Node: ax_check_awk_asort,  Next: ax_check_awk_asorti,  Prev: ax_check_awk_array_in,  Up: The Macros
4791
4792ax_check_awk_asort
4793==================
4794
4795Synopsis
4796********
4797
4798     AX_CHECK_AWK_ASORT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4799
4800Description
4801***********
4802
4803Check if AWK supports asort() function.  If successful execute
4804ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4805
4806This work is heavily based upon testawk.sh script by Heiner Steven.  You
4807should find his script (and related works) at
4808<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
4809Alessandro Massignan for his suggestions and extensive nawk tests on
4810FreeBSD.
4811
4812Source Code
4813***********
4814
4815Download the latest version of 'ax_check_awk_asort.m4'
4816(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_asort.m4)
4817or browse the macro's revision history
4818(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_asort.m4).
4819
4820License
4821*******
4822
4823Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4824
4825Copying and distribution of this file, with or without modification, are
4826permitted in any medium without royalty provided the copyright notice
4827and this notice are preserved.  This file is offered as-is, without any
4828warranty.
4829
4830
4831File: autoconf-archive.info,  Node: ax_check_awk_asorti,  Next: ax_check_awk_associative_array,  Prev: ax_check_awk_asort,  Up: The Macros
4832
4833ax_check_awk_asorti
4834===================
4835
4836Synopsis
4837********
4838
4839     AX_CHECK_AWK_ASORTI([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4840
4841Description
4842***********
4843
4844Check if AWK supports asorti() function.  If successful execute
4845ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4846
4847This work is heavily based upon testawk.sh script by Heiner Steven.  You
4848should find his script (and related works) at
4849<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
4850Alessandro Massignan for his suggestions and extensive nawk tests on
4851FreeBSD.
4852
4853Source Code
4854***********
4855
4856Download the latest version of 'ax_check_awk_asorti.m4'
4857(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_asorti.m4)
4858or browse the macro's revision history
4859(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_asorti.m4).
4860
4861License
4862*******
4863
4864Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4865
4866Copying and distribution of this file, with or without modification, are
4867permitted in any medium without royalty provided the copyright notice
4868and this notice are preserved.  This file is offered as-is, without any
4869warranty.
4870
4871
4872File: autoconf-archive.info,  Node: ax_check_awk_associative_array,  Next: ax_check_awk_atan2,  Prev: ax_check_awk_asorti,  Up: The Macros
4873
4874ax_check_awk_associative_array
4875==============================
4876
4877Synopsis
4878********
4879
4880     AX_CHECK_AWK_ASSOCIATIVE_ARRAY([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4881
4882Description
4883***********
4884
4885Check if AWK supports associative array.  If successful execute
4886ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4887
4888This work is heavily based upon testawk.sh script by Heiner Steven.  You
4889should find his script (and related works) at
4890<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
4891Alessandro Massignan for his suggestions and extensive nawk tests on
4892FreeBSD.
4893
4894Source Code
4895***********
4896
4897Download the latest version of 'ax_check_awk_associative_array.m4'
4898(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_associative_array.m4)
4899or browse the macro's revision history
4900(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_associative_array.m4).
4901
4902License
4903*******
4904
4905Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4906
4907Copying and distribution of this file, with or without modification, are
4908permitted in any medium without royalty provided the copyright notice
4909and this notice are preserved.  This file is offered as-is, without any
4910warranty.
4911
4912
4913File: autoconf-archive.info,  Node: ax_check_awk_atan2,  Next: ax_check_awk_compl,  Prev: ax_check_awk_associative_array,  Up: The Macros
4914
4915ax_check_awk_atan2
4916==================
4917
4918Synopsis
4919********
4920
4921     AX_CHECK_AWK_ATAN2([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4922
4923Description
4924***********
4925
4926Check if AWK supports atan2() function.  If successful execute
4927ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4928
4929This work is heavily based upon testawk.sh script by Heiner Steven.  You
4930should find his script (and related works) at
4931<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
4932Alessandro Massignan for his suggestions and extensive nawk tests on
4933FreeBSD.
4934
4935Source Code
4936***********
4937
4938Download the latest version of 'ax_check_awk_atan2.m4'
4939(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_atan2.m4)
4940or browse the macro's revision history
4941(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_atan2.m4).
4942
4943License
4944*******
4945
4946Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4947
4948Copying and distribution of this file, with or without modification, are
4949permitted in any medium without royalty provided the copyright notice
4950and this notice are preserved.  This file is offered as-is, without any
4951warranty.
4952
4953
4954File: autoconf-archive.info,  Node: ax_check_awk_compl,  Next: ax_check_awk_conditional_expression,  Prev: ax_check_awk_atan2,  Up: The Macros
4955
4956ax_check_awk_compl
4957==================
4958
4959Synopsis
4960********
4961
4962     AX_CHECK_AWK_COMPL([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
4963
4964Description
4965***********
4966
4967Check if AWK supports compl() function.  If successful execute
4968ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
4969
4970This work is heavily based upon testawk.sh script by Heiner Steven.  You
4971should find his script (and related works) at
4972<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
4973Alessandro Massignan for his suggestions and extensive nawk tests on
4974FreeBSD.
4975
4976Source Code
4977***********
4978
4979Download the latest version of 'ax_check_awk_compl.m4'
4980(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_compl.m4)
4981or browse the macro's revision history
4982(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_compl.m4).
4983
4984License
4985*******
4986
4987Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
4988
4989Copying and distribution of this file, with or without modification, are
4990permitted in any medium without royalty provided the copyright notice
4991and this notice are preserved.  This file is offered as-is, without any
4992warranty.
4993
4994
4995File: autoconf-archive.info,  Node: ax_check_awk_conditional_expression,  Next: ax_check_awk_cos,  Prev: ax_check_awk_compl,  Up: The Macros
4996
4997ax_check_awk_conditional_expression
4998===================================
4999
5000Synopsis
5001********
5002
5003     AX_CHECK_AWK_CONDITIONAL_EXPRESSION([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5004
5005Description
5006***********
5007
5008Check if AWK supports conditional expression (e.g.  x = y ?  5 : 6).  If
5009successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5010
5011This work is heavily based upon testawk.sh script by Heiner Steven.  You
5012should find his script (and related works) at
5013<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5014Alessandro Massignan for his suggestions and extensive nawk tests on
5015FreeBSD.
5016
5017Source Code
5018***********
5019
5020Download the latest version of 'ax_check_awk_conditional_expression.m4'
5021(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_conditional_expression.m4)
5022or browse the macro's revision history
5023(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_conditional_expression.m4).
5024
5025License
5026*******
5027
5028Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5029
5030Copying and distribution of this file, with or without modification, are
5031permitted in any medium without royalty provided the copyright notice
5032and this notice are preserved.  This file is offered as-is, without any
5033warranty.
5034
5035
5036File: autoconf-archive.info,  Node: ax_check_awk_cos,  Next: ax_check_awk_environ,  Prev: ax_check_awk_conditional_expression,  Up: The Macros
5037
5038ax_check_awk_cos
5039================
5040
5041Synopsis
5042********
5043
5044     AX_CHECK_AWK_COS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5045
5046Description
5047***********
5048
5049Check if AWK supports cos() function.  If successful execute
5050ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5051
5052This work is heavily based upon testawk.sh script by Heiner Steven.  You
5053should find his script (and related works) at
5054<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5055Alessandro Massignan for his suggestions and extensive nawk tests on
5056FreeBSD.
5057
5058Source Code
5059***********
5060
5061Download the latest version of 'ax_check_awk_cos.m4'
5062(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_cos.m4)
5063or browse the macro's revision history
5064(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_cos.m4).
5065
5066License
5067*******
5068
5069Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5070
5071Copying and distribution of this file, with or without modification, are
5072permitted in any medium without royalty provided the copyright notice
5073and this notice are preserved.  This file is offered as-is, without any
5074warranty.
5075
5076
5077File: autoconf-archive.info,  Node: ax_check_awk_environ,  Next: ax_check_awk_errno,  Prev: ax_check_awk_cos,  Up: The Macros
5078
5079ax_check_awk_environ
5080====================
5081
5082Synopsis
5083********
5084
5085     AX_CHECK_AWK_ENVIRON([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5086
5087Description
5088***********
5089
5090Check if AWK supports ENVIRON variable.  If successful execute
5091ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5092
5093This work is heavily based upon testawk.sh script by Heiner Steven.  You
5094should find his script (and related works) at
5095<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5096Alessandro Massignan for his suggestions and extensive nawk tests on
5097FreeBSD.
5098
5099Source Code
5100***********
5101
5102Download the latest version of 'ax_check_awk_environ.m4'
5103(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_environ.m4)
5104or browse the macro's revision history
5105(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_environ.m4).
5106
5107License
5108*******
5109
5110Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5111
5112Copying and distribution of this file, with or without modification, are
5113permitted in any medium without royalty provided the copyright notice
5114and this notice are preserved.  This file is offered as-is, without any
5115warranty.
5116
5117
5118File: autoconf-archive.info,  Node: ax_check_awk_errno,  Next: ax_check_awk_exit,  Prev: ax_check_awk_environ,  Up: The Macros
5119
5120ax_check_awk_errno
5121==================
5122
5123Synopsis
5124********
5125
5126     AX_CHECK_AWK_ERRNO([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5127
5128Description
5129***********
5130
5131Check if AWK supports ERRNO variable.  If successful execute
5132ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5133
5134This work is heavily based upon testawk.sh script by Heiner Steven.  You
5135should find his script (and related works) at
5136<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5137Alessandro Massignan for his suggestions and extensive nawk tests on
5138FreeBSD.
5139
5140Source Code
5141***********
5142
5143Download the latest version of 'ax_check_awk_errno.m4'
5144(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_errno.m4)
5145or browse the macro's revision history
5146(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_errno.m4).
5147
5148License
5149*******
5150
5151Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5152
5153Copying and distribution of this file, with or without modification, are
5154permitted in any medium without royalty provided the copyright notice
5155and this notice are preserved.  This file is offered as-is, without any
5156warranty.
5157
5158
5159File: autoconf-archive.info,  Node: ax_check_awk_exit,  Next: ax_check_awk_exp,  Prev: ax_check_awk_errno,  Up: The Macros
5160
5161ax_check_awk_exit
5162=================
5163
5164Synopsis
5165********
5166
5167     AX_CHECK_AWK_EXIT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5168
5169Description
5170***********
5171
5172Check if AWK supports exit().  If successful execute ACTION-IF-SUCCESS
5173otherwise ACTION-IF-FAILURE.
5174
5175This work is heavily based upon testawk.sh script by Heiner Steven.  You
5176should find his script (and related works) at
5177<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5178Alessandro Massignan for his suggestions and extensive nawk tests on
5179FreeBSD.
5180
5181Source Code
5182***********
5183
5184Download the latest version of 'ax_check_awk_exit.m4'
5185(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_exit.m4)
5186or browse the macro's revision history
5187(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_exit.m4).
5188
5189License
5190*******
5191
5192Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5193
5194Copying and distribution of this file, with or without modification, are
5195permitted in any medium without royalty provided the copyright notice
5196and this notice are preserved.  This file is offered as-is, without any
5197warranty.
5198
5199
5200File: autoconf-archive.info,  Node: ax_check_awk_exp,  Next: ax_check_awk_gensub,  Prev: ax_check_awk_exit,  Up: The Macros
5201
5202ax_check_awk_exp
5203================
5204
5205Synopsis
5206********
5207
5208     AX_CHECK_AWK_EXP([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5209
5210Description
5211***********
5212
5213Check if AWK supports exp() function.  If successful execute
5214ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5215
5216This work is heavily based upon testawk.sh script by Heiner Steven.  You
5217should find his script (and related works) at
5218<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5219Alessandro Massignan for his suggestions and extensive nawk tests on
5220FreeBSD.
5221
5222Source Code
5223***********
5224
5225Download the latest version of 'ax_check_awk_exp.m4'
5226(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_exp.m4)
5227or browse the macro's revision history
5228(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_exp.m4).
5229
5230License
5231*******
5232
5233Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5234
5235Copying and distribution of this file, with or without modification, are
5236permitted in any medium without royalty provided the copyright notice
5237and this notice are preserved.  This file is offered as-is, without any
5238warranty.
5239
5240
5241File: autoconf-archive.info,  Node: ax_check_awk_gensub,  Next: ax_check_awk_getline,  Prev: ax_check_awk_exp,  Up: The Macros
5242
5243ax_check_awk_gensub
5244===================
5245
5246Synopsis
5247********
5248
5249     AX_CHECK_AWK_GENSUB([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5250
5251Description
5252***********
5253
5254Check if AWK supports gensub() function.  If successful execute
5255ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5256
5257This work is heavily based upon testawk.sh script by Heiner Steven.  You
5258should find his script (and related works) at
5259<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5260Alessandro Massignan for his suggestions and extensive nawk tests on
5261FreeBSD.
5262
5263Source Code
5264***********
5265
5266Download the latest version of 'ax_check_awk_gensub.m4'
5267(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_gensub.m4)
5268or browse the macro's revision history
5269(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_gensub.m4).
5270
5271License
5272*******
5273
5274Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5275
5276Copying and distribution of this file, with or without modification, are
5277permitted in any medium without royalty provided the copyright notice
5278and this notice are preserved.  This file is offered as-is, without any
5279warranty.
5280
5281
5282File: autoconf-archive.info,  Node: ax_check_awk_getline,  Next: ax_check_awk_gsub,  Prev: ax_check_awk_gensub,  Up: The Macros
5283
5284ax_check_awk_getline
5285====================
5286
5287Synopsis
5288********
5289
5290     AX_CHECK_AWK_GETLINE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5291
5292Description
5293***********
5294
5295Check if AWK supports getline function.  If successful execute
5296ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5297
5298This work is heavily based upon testawk.sh script by Heiner Steven.  You
5299should find his script (and related works) at
5300<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5301Alessandro Massignan for his suggestions and extensive nawk tests on
5302FreeBSD.
5303
5304Source Code
5305***********
5306
5307Download the latest version of 'ax_check_awk_getline.m4'
5308(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_getline.m4)
5309or browse the macro's revision history
5310(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_getline.m4).
5311
5312License
5313*******
5314
5315Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5316
5317Copying and distribution of this file, with or without modification, are
5318permitted in any medium without royalty provided the copyright notice
5319and this notice are preserved.  This file is offered as-is, without any
5320warranty.
5321
5322
5323File: autoconf-archive.info,  Node: ax_check_awk_gsub,  Next: ax_check_awk_ignorecase,  Prev: ax_check_awk_getline,  Up: The Macros
5324
5325ax_check_awk_gsub
5326=================
5327
5328Synopsis
5329********
5330
5331     AX_CHECK_AWK_GSUB([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5332
5333Description
5334***********
5335
5336Check if AWK supports gsub() function.  If successful execute
5337ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5338
5339This work is heavily based upon testawk.sh script by Heiner Steven.  You
5340should find his script (and related works) at
5341<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5342Alessandro Massignan for his suggestions and extensive nawk tests on
5343FreeBSD.
5344
5345Source Code
5346***********
5347
5348Download the latest version of 'ax_check_awk_gsub.m4'
5349(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_gsub.m4)
5350or browse the macro's revision history
5351(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_gsub.m4).
5352
5353License
5354*******
5355
5356Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5357
5358Copying and distribution of this file, with or without modification, are
5359permitted in any medium without royalty provided the copyright notice
5360and this notice are preserved.  This file is offered as-is, without any
5361warranty.
5362
5363
5364File: autoconf-archive.info,  Node: ax_check_awk_ignorecase,  Next: ax_check_awk_index,  Prev: ax_check_awk_gsub,  Up: The Macros
5365
5366ax_check_awk_ignorecase
5367=======================
5368
5369Synopsis
5370********
5371
5372     AX_CHECK_AWK_IGNORECASE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5373
5374Description
5375***********
5376
5377Check if AWK supports IGNORECASE variable.  If successful execute
5378ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5379
5380This work is heavily based upon testawk.sh script by Heiner Steven.  You
5381should find his script (and related works) at
5382<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5383Alessandro Massignan for his suggestions and extensive nawk tests on
5384FreeBSD.
5385
5386Source Code
5387***********
5388
5389Download the latest version of 'ax_check_awk_ignorecase.m4'
5390(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_ignorecase.m4)
5391or browse the macro's revision history
5392(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_ignorecase.m4).
5393
5394License
5395*******
5396
5397Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5398
5399Copying and distribution of this file, with or without modification, are
5400permitted in any medium without royalty provided the copyright notice
5401and this notice are preserved.  This file is offered as-is, without any
5402warranty.
5403
5404
5405File: autoconf-archive.info,  Node: ax_check_awk_index,  Next: ax_check_awk_int,  Prev: ax_check_awk_ignorecase,  Up: The Macros
5406
5407ax_check_awk_index
5408==================
5409
5410Synopsis
5411********
5412
5413     AX_CHECK_AWK_INDEX([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5414
5415Description
5416***********
5417
5418Check if AWK supports index() function.  If successful execute
5419ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5420
5421This work is heavily based upon testawk.sh script by Heiner Steven.  You
5422should find his script (and related works) at
5423<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5424Alessandro Massignan for his suggestions and extensive nawk tests on
5425FreeBSD.
5426
5427Source Code
5428***********
5429
5430Download the latest version of 'ax_check_awk_index.m4'
5431(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_index.m4)
5432or browse the macro's revision history
5433(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_index.m4).
5434
5435License
5436*******
5437
5438Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5439
5440Copying and distribution of this file, with or without modification, are
5441permitted in any medium without royalty provided the copyright notice
5442and this notice are preserved.  This file is offered as-is, without any
5443warranty.
5444
5445
5446File: autoconf-archive.info,  Node: ax_check_awk_int,  Next: ax_check_awk_length,  Prev: ax_check_awk_index,  Up: The Macros
5447
5448ax_check_awk_int
5449================
5450
5451Synopsis
5452********
5453
5454     AX_CHECK_AWK_INT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5455
5456Description
5457***********
5458
5459Check if AWK supports int() function.  If successful execute
5460ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5461
5462This work is heavily based upon testawk.sh script by Heiner Steven.  You
5463should find his script (and related works) at
5464<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5465Alessandro Massignan for his suggestions and extensive nawk tests on
5466FreeBSD.
5467
5468Source Code
5469***********
5470
5471Download the latest version of 'ax_check_awk_int.m4'
5472(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_int.m4)
5473or browse the macro's revision history
5474(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_int.m4).
5475
5476License
5477*******
5478
5479Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5480
5481Copying and distribution of this file, with or without modification, are
5482permitted in any medium without royalty provided the copyright notice
5483and this notice are preserved.  This file is offered as-is, without any
5484warranty.
5485
5486
5487File: autoconf-archive.info,  Node: ax_check_awk_length,  Next: ax_check_awk_log,  Prev: ax_check_awk_int,  Up: The Macros
5488
5489ax_check_awk_length
5490===================
5491
5492Synopsis
5493********
5494
5495     AX_CHECK_AWK_LENGTH([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5496
5497Description
5498***********
5499
5500Check if AWK supports length() function.  If successful execute
5501ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5502
5503This work is heavily based upon testawk.sh script by Heiner Steven.  You
5504should find his script (and related works) at
5505<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5506Alessandro Massignan for his suggestions and extensive nawk tests on
5507FreeBSD.
5508
5509Source Code
5510***********
5511
5512Download the latest version of 'ax_check_awk_length.m4'
5513(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_length.m4)
5514or browse the macro's revision history
5515(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_length.m4).
5516
5517License
5518*******
5519
5520Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5521
5522Copying and distribution of this file, with or without modification, are
5523permitted in any medium without royalty provided the copyright notice
5524and this notice are preserved.  This file is offered as-is, without any
5525warranty.
5526
5527
5528File: autoconf-archive.info,  Node: ax_check_awk_log,  Next: ax_check_awk_lshift,  Prev: ax_check_awk_length,  Up: The Macros
5529
5530ax_check_awk_log
5531================
5532
5533Synopsis
5534********
5535
5536     AX_CHECK_AWK_LOG([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5537
5538Description
5539***********
5540
5541Check if AWK supports log() function.  If successful execute
5542ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5543
5544This work is heavily based upon testawk.sh script by Heiner Steven.  You
5545should find his script (and related works) at
5546<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5547Alessandro Massignan for his suggestions and extensive nawk tests on
5548FreeBSD.
5549
5550Source Code
5551***********
5552
5553Download the latest version of 'ax_check_awk_log.m4'
5554(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_log.m4)
5555or browse the macro's revision history
5556(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_log.m4).
5557
5558License
5559*******
5560
5561Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5562
5563Copying and distribution of this file, with or without modification, are
5564permitted in any medium without royalty provided the copyright notice
5565and this notice are preserved.  This file is offered as-is, without any
5566warranty.
5567
5568
5569File: autoconf-archive.info,  Node: ax_check_awk_lshift,  Next: ax_check_awk_match_2parms,  Prev: ax_check_awk_log,  Up: The Macros
5570
5571ax_check_awk_lshift
5572===================
5573
5574Synopsis
5575********
5576
5577     AX_CHECK_AWK_LSHIFT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5578
5579Description
5580***********
5581
5582Check if AWK supports lshift() function.  If successful execute
5583ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5584
5585This work is heavily based upon testawk.sh script by Heiner Steven.  You
5586should find his script (and related works) at
5587<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5588Alessandro Massignan for his suggestions and extensive nawk tests on
5589FreeBSD.
5590
5591Source Code
5592***********
5593
5594Download the latest version of 'ax_check_awk_lshift.m4'
5595(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_lshift.m4)
5596or browse the macro's revision history
5597(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_lshift.m4).
5598
5599License
5600*******
5601
5602Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5603
5604Copying and distribution of this file, with or without modification, are
5605permitted in any medium without royalty provided the copyright notice
5606and this notice are preserved.  This file is offered as-is, without any
5607warranty.
5608
5609
5610File: autoconf-archive.info,  Node: ax_check_awk_match_2parms,  Next: ax_check_awk_match_3parms,  Prev: ax_check_awk_lshift,  Up: The Macros
5611
5612ax_check_awk_match_2parms
5613=========================
5614
5615Synopsis
5616********
5617
5618     AX_CHECK_AWK_MATCH_2PARMS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5619
5620Description
5621***********
5622
5623Check if AWK supports match() function with 2 parameters (standard).  If
5624successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5625
5626This work is heavily based upon testawk.sh script by Heiner Steven.  You
5627should find his script (and related works) at
5628<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5629Alessandro Massignan for his suggestions and extensive nawk tests on
5630FreeBSD.
5631
5632Source Code
5633***********
5634
5635Download the latest version of 'ax_check_awk_match_2parms.m4'
5636(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_match_2parms.m4)
5637or browse the macro's revision history
5638(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_match_2parms.m4).
5639
5640License
5641*******
5642
5643Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5644
5645Copying and distribution of this file, with or without modification, are
5646permitted in any medium without royalty provided the copyright notice
5647and this notice are preserved.  This file is offered as-is, without any
5648warranty.
5649
5650
5651File: 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
5652
5653ax_check_awk_match_3parms
5654=========================
5655
5656Synopsis
5657********
5658
5659     AX_CHECK_AWK_MATCH_3PARMS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5660
5661Description
5662***********
5663
5664Check if AWK supports match() function with 3 parameters (GNU
5665extension).  If successful execute ACTION-IF-SUCCESS otherwise
5666ACTION-IF-FAILURE.
5667
5668This work is heavily based upon testawk.sh script by Heiner Steven.  You
5669should find his script (and related works) at
5670<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5671Alessandro Massignan for his suggestions and extensive nawk tests on
5672FreeBSD.
5673
5674Source Code
5675***********
5676
5677Download the latest version of 'ax_check_awk_match_3parms.m4'
5678(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_match_3parms.m4)
5679or browse the macro's revision history
5680(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_match_3parms.m4).
5681
5682License
5683*******
5684
5685Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5686
5687Copying and distribution of this file, with or without modification, are
5688permitted in any medium without royalty provided the copyright notice
5689and this notice are preserved.  This file is offered as-is, without any
5690warranty.
5691
5692
5693File: 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
5694
5695ax_check_awk_operator_multiply_multiply
5696=======================================
5697
5698Synopsis
5699********
5700
5701     AX_CHECK_AWK_OPERATOR_MULTIPLY_MULTIPLY([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5702
5703Description
5704***********
5705
5706Check if AWK supports the '**' operator.  If successful execute
5707ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5708
5709This work is heavily based upon testawk.sh script by Heiner Steven.  You
5710should find his script (and related works) at
5711<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5712Alessandro Massignan for his suggestions and extensive nawk tests on
5713FreeBSD.
5714
5715Source Code
5716***********
5717
5718Download the latest version of
5719'ax_check_awk_operator_multiply_multiply.m4'
5720(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_operator_multiply_multiply.m4)
5721or browse the macro's revision history
5722(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_operator_multiply_multiply.m4).
5723
5724License
5725*******
5726
5727Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5728
5729Copying and distribution of this file, with or without modification, are
5730permitted in any medium without royalty provided the copyright notice
5731and this notice are preserved.  This file is offered as-is, without any
5732warranty.
5733
5734
5735File: autoconf-archive.info,  Node: ax_check_awk_operator_square,  Next: ax_check_awk_or,  Prev: ax_check_awk_operator_multiply_multiply,  Up: The Macros
5736
5737ax_check_awk_operator_square
5738============================
5739
5740Synopsis
5741********
5742
5743     AX_CHECK_AWK_OPERATOR_SQUARE([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5744
5745Description
5746***********
5747
5748Check if AWK supports the '^' operator.  If successful execute
5749ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5750
5751This work is heavily based upon testawk.sh script by Heiner Steven.  You
5752should find his script (and related works) at
5753<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5754Alessandro Massignan for his suggestions and extensive nawk tests on
5755FreeBSD.
5756
5757Source Code
5758***********
5759
5760Download the latest version of 'ax_check_awk_operator_square.m4'
5761(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_operator_square.m4)
5762or browse the macro's revision history
5763(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_operator_square.m4).
5764
5765License
5766*******
5767
5768Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5769
5770Copying and distribution of this file, with or without modification, are
5771permitted in any medium without royalty provided the copyright notice
5772and this notice are preserved.  This file is offered as-is, without any
5773warranty.
5774
5775
5776File: autoconf-archive.info,  Node: ax_check_awk_or,  Next: ax_check_awk_printf,  Prev: ax_check_awk_operator_square,  Up: The Macros
5777
5778ax_check_awk_or
5779===============
5780
5781Synopsis
5782********
5783
5784     AX_CHECK_AWK_OR([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5785
5786Description
5787***********
5788
5789Check if AWK supports or() function.  If successful execute
5790ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5791
5792This work is heavily based upon testawk.sh script by Heiner Steven.  You
5793should find his script (and related works) at
5794<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5795Alessandro Massignan for his suggestions and extensive nawk tests on
5796FreeBSD.
5797
5798Source Code
5799***********
5800
5801Download the latest version of 'ax_check_awk_or.m4'
5802(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_or.m4)
5803or browse the macro's revision history
5804(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_or.m4).
5805
5806License
5807*******
5808
5809Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5810
5811Copying and distribution of this file, with or without modification, are
5812permitted in any medium without royalty provided the copyright notice
5813and this notice are preserved.  This file is offered as-is, without any
5814warranty.
5815
5816
5817File: autoconf-archive.info,  Node: ax_check_awk_printf,  Next: ax_check_awk_rand,  Prev: ax_check_awk_or,  Up: The Macros
5818
5819ax_check_awk_printf
5820===================
5821
5822Synopsis
5823********
5824
5825     AX_CHECK_AWK_PRINTF([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5826
5827Description
5828***********
5829
5830Check if AWK supports printf() function.  If successful execute
5831ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5832
5833This work is heavily based upon testawk.sh script by Heiner Steven.  You
5834should find his script (and related works) at
5835<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5836Alessandro Massignan for his suggestions and extensive nawk tests on
5837FreeBSD.
5838
5839Source Code
5840***********
5841
5842Download the latest version of 'ax_check_awk_printf.m4'
5843(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_printf.m4)
5844or browse the macro's revision history
5845(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_printf.m4).
5846
5847License
5848*******
5849
5850Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5851
5852Copying and distribution of this file, with or without modification, are
5853permitted in any medium without royalty provided the copyright notice
5854and this notice are preserved.  This file is offered as-is, without any
5855warranty.
5856
5857
5858File: autoconf-archive.info,  Node: ax_check_awk_rand,  Next: ax_check_awk_rshift,  Prev: ax_check_awk_printf,  Up: The Macros
5859
5860ax_check_awk_rand
5861=================
5862
5863Synopsis
5864********
5865
5866     AX_CHECK_AWK_RAND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5867
5868Description
5869***********
5870
5871Check if AWK supports rand() function.  If successful execute
5872ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5873
5874This work is heavily based upon testawk.sh script by Heiner Steven.  You
5875should find his script (and related works) at
5876<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5877Alessandro Massignan for his suggestions and extensive nawk tests on
5878FreeBSD.
5879
5880Source Code
5881***********
5882
5883Download the latest version of 'ax_check_awk_rand.m4'
5884(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_rand.m4)
5885or browse the macro's revision history
5886(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_rand.m4).
5887
5888License
5889*******
5890
5891Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5892
5893Copying and distribution of this file, with or without modification, are
5894permitted in any medium without royalty provided the copyright notice
5895and this notice are preserved.  This file is offered as-is, without any
5896warranty.
5897
5898
5899File: autoconf-archive.info,  Node: ax_check_awk_rshift,  Next: ax_check_awk_sin,  Prev: ax_check_awk_rand,  Up: The Macros
5900
5901ax_check_awk_rshift
5902===================
5903
5904Synopsis
5905********
5906
5907     AX_CHECK_AWK_RSHIFT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5908
5909Description
5910***********
5911
5912Check if AWK supports rshift() function.  If successful execute
5913ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5914
5915This work is heavily based upon testawk.sh script by Heiner Steven.  You
5916should find his script (and related works) at
5917<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5918Alessandro Massignan for his suggestions and extensive nawk tests on
5919FreeBSD.
5920
5921Source Code
5922***********
5923
5924Download the latest version of 'ax_check_awk_rshift.m4'
5925(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_rshift.m4)
5926or browse the macro's revision history
5927(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_rshift.m4).
5928
5929License
5930*******
5931
5932Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5933
5934Copying and distribution of this file, with or without modification, are
5935permitted in any medium without royalty provided the copyright notice
5936and this notice are preserved.  This file is offered as-is, without any
5937warranty.
5938
5939
5940File: autoconf-archive.info,  Node: ax_check_awk_sin,  Next: ax_check_awk_split,  Prev: ax_check_awk_rshift,  Up: The Macros
5941
5942ax_check_awk_sin
5943================
5944
5945Synopsis
5946********
5947
5948     AX_CHECK_AWK_SIN([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5949
5950Description
5951***********
5952
5953Check if AWK supports sin() function.  If successful execute
5954ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5955
5956This work is heavily based upon testawk.sh script by Heiner Steven.  You
5957should find his script (and related works) at
5958<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
5959Alessandro Massignan for his suggestions and extensive nawk tests on
5960FreeBSD.
5961
5962Source Code
5963***********
5964
5965Download the latest version of 'ax_check_awk_sin.m4'
5966(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sin.m4)
5967or browse the macro's revision history
5968(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sin.m4).
5969
5970License
5971*******
5972
5973Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
5974
5975Copying and distribution of this file, with or without modification, are
5976permitted in any medium without royalty provided the copyright notice
5977and this notice are preserved.  This file is offered as-is, without any
5978warranty.
5979
5980
5981File: autoconf-archive.info,  Node: ax_check_awk_split,  Next: ax_check_awk_sprintf,  Prev: ax_check_awk_sin,  Up: The Macros
5982
5983ax_check_awk_split
5984==================
5985
5986Synopsis
5987********
5988
5989     AX_CHECK_AWK_SPLIT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
5990
5991Description
5992***********
5993
5994Check if AWK supports split() function.  If successful execute
5995ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
5996
5997This work is heavily based upon testawk.sh script by Heiner Steven.  You
5998should find his script (and related works) at
5999<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6000Alessandro Massignan for his suggestions and extensive nawk tests on
6001FreeBSD.
6002
6003Source Code
6004***********
6005
6006Download the latest version of 'ax_check_awk_split.m4'
6007(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_split.m4)
6008or browse the macro's revision history
6009(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_split.m4).
6010
6011License
6012*******
6013
6014Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6015
6016Copying and distribution of this file, with or without modification, are
6017permitted in any medium without royalty provided the copyright notice
6018and this notice are preserved.  This file is offered as-is, without any
6019warranty.
6020
6021
6022File: autoconf-archive.info,  Node: ax_check_awk_sprintf,  Next: ax_check_awk_sqrt,  Prev: ax_check_awk_split,  Up: The Macros
6023
6024ax_check_awk_sprintf
6025====================
6026
6027Synopsis
6028********
6029
6030     AX_CHECK_AWK_SPRINTF([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6031
6032Description
6033***********
6034
6035Check if AWK supports sprintf() function.  If successful execute
6036ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6037
6038This work is heavily based upon testawk.sh script by Heiner Steven.  You
6039should find his script (and related works) at
6040<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6041Alessandro Massignan for his suggestions and extensive nawk tests on
6042FreeBSD.
6043
6044Source Code
6045***********
6046
6047Download the latest version of 'ax_check_awk_sprintf.m4'
6048(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sprintf.m4)
6049or browse the macro's revision history
6050(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sprintf.m4).
6051
6052License
6053*******
6054
6055Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6056
6057Copying and distribution of this file, with or without modification, are
6058permitted in any medium without royalty provided the copyright notice
6059and this notice are preserved.  This file is offered as-is, without any
6060warranty.
6061
6062
6063File: autoconf-archive.info,  Node: ax_check_awk_sqrt,  Next: ax_check_awk_srand,  Prev: ax_check_awk_sprintf,  Up: The Macros
6064
6065ax_check_awk_sqrt
6066=================
6067
6068Synopsis
6069********
6070
6071     AX_CHECK_AWK_SQRT([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6072
6073Description
6074***********
6075
6076Check if AWK supports sqrt() function.  If successful execute
6077ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6078
6079This work is heavily based upon testawk.sh script by Heiner Steven.  You
6080should find his script (and related works) at
6081<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6082Alessandro Massignan for his suggestions and extensive nawk tests on
6083FreeBSD.
6084
6085Source Code
6086***********
6087
6088Download the latest version of 'ax_check_awk_sqrt.m4'
6089(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sqrt.m4)
6090or browse the macro's revision history
6091(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sqrt.m4).
6092
6093License
6094*******
6095
6096Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6097
6098Copying and distribution of this file, with or without modification, are
6099permitted in any medium without royalty provided the copyright notice
6100and this notice are preserved.  This file is offered as-is, without any
6101warranty.
6102
6103
6104File: autoconf-archive.info,  Node: ax_check_awk_srand,  Next: ax_check_awk_strftime,  Prev: ax_check_awk_sqrt,  Up: The Macros
6105
6106ax_check_awk_srand
6107==================
6108
6109Synopsis
6110********
6111
6112     AX_CHECK_AWK_SRAND([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6113
6114Description
6115***********
6116
6117Check if AWK supports srand() function.  If successful execute
6118ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6119
6120This work is heavily based upon testawk.sh script by Heiner Steven.  You
6121should find his script (and related works) at
6122<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6123Alessandro Massignan for his suggestions and extensive nawk tests on
6124FreeBSD.
6125
6126Source Code
6127***********
6128
6129Download the latest version of 'ax_check_awk_srand.m4'
6130(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_srand.m4)
6131or browse the macro's revision history
6132(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_srand.m4).
6133
6134License
6135*******
6136
6137Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6138
6139Copying and distribution of this file, with or without modification, are
6140permitted in any medium without royalty provided the copyright notice
6141and this notice are preserved.  This file is offered as-is, without any
6142warranty.
6143
6144
6145File: autoconf-archive.info,  Node: ax_check_awk_strftime,  Next: ax_check_awk_strtonum,  Prev: ax_check_awk_srand,  Up: The Macros
6146
6147ax_check_awk_strftime
6148=====================
6149
6150Synopsis
6151********
6152
6153     AX_CHECK_AWK_STRFTIME([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6154
6155Description
6156***********
6157
6158Check if AWK supports strftime() function.  If successful execute
6159ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6160
6161This work is heavily based upon testawk.sh script by Heiner Steven.  You
6162should find his script (and related works) at
6163<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6164Alessandro Massignan for his suggestions and extensive nawk tests on
6165FreeBSD.
6166
6167Source Code
6168***********
6169
6170Download the latest version of 'ax_check_awk_strftime.m4'
6171(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_strftime.m4)
6172or browse the macro's revision history
6173(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_strftime.m4).
6174
6175License
6176*******
6177
6178Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6179
6180Copying and distribution of this file, with or without modification, are
6181permitted in any medium without royalty provided the copyright notice
6182and this notice are preserved.  This file is offered as-is, without any
6183warranty.
6184
6185
6186File: autoconf-archive.info,  Node: ax_check_awk_strtonum,  Next: ax_check_awk_sub,  Prev: ax_check_awk_strftime,  Up: The Macros
6187
6188ax_check_awk_strtonum
6189=====================
6190
6191Synopsis
6192********
6193
6194     AX_CHECK_AWK_STRTONUM([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6195
6196Description
6197***********
6198
6199Check if AWK supports strtonum() function.  If successful execute
6200ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6201
6202This work is heavily based upon testawk.sh script by Heiner Steven.  You
6203should find his script (and related works) at
6204<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6205Alessandro Massignan for his suggestions and extensive nawk tests on
6206FreeBSD.
6207
6208Source Code
6209***********
6210
6211Download the latest version of 'ax_check_awk_strtonum.m4'
6212(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_strtonum.m4)
6213or browse the macro's revision history
6214(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_strtonum.m4).
6215
6216License
6217*******
6218
6219Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6220
6221Copying and distribution of this file, with or without modification, are
6222permitted in any medium without royalty provided the copyright notice
6223and this notice are preserved.  This file is offered as-is, without any
6224warranty.
6225
6226
6227File: autoconf-archive.info,  Node: ax_check_awk_sub,  Next: ax_check_awk_substr,  Prev: ax_check_awk_strtonum,  Up: The Macros
6228
6229ax_check_awk_sub
6230================
6231
6232Synopsis
6233********
6234
6235     AX_CHECK_AWK_SUB([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6236
6237Description
6238***********
6239
6240Check if AWK supports sub() function.  If successful execute
6241ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6242
6243This work is heavily based upon testawk.sh script by Heiner Steven.  You
6244should find his script (and related works) at
6245<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6246Alessandro Massignan for his suggestions and extensive nawk tests on
6247FreeBSD.
6248
6249Source Code
6250***********
6251
6252Download the latest version of 'ax_check_awk_sub.m4'
6253(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_sub.m4)
6254or browse the macro's revision history
6255(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_sub.m4).
6256
6257License
6258*******
6259
6260Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6261
6262Copying and distribution of this file, with or without modification, are
6263permitted in any medium without royalty provided the copyright notice
6264and this notice are preserved.  This file is offered as-is, without any
6265warranty.
6266
6267
6268File: autoconf-archive.info,  Node: ax_check_awk_substr,  Next: ax_check_awk_system,  Prev: ax_check_awk_sub,  Up: The Macros
6269
6270ax_check_awk_substr
6271===================
6272
6273Synopsis
6274********
6275
6276     AX_CHECK_AWK_SUBSTR([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6277
6278Description
6279***********
6280
6281Check if AWK supports substr() function.  If successful execute
6282ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6283
6284This work is heavily based upon testawk.sh script by Heiner Steven.  You
6285should find his script (and related works) at
6286<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6287Alessandro Massignan for his suggestions and extensive nawk tests on
6288FreeBSD.
6289
6290Source Code
6291***********
6292
6293Download the latest version of 'ax_check_awk_substr.m4'
6294(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_substr.m4)
6295or browse the macro's revision history
6296(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_substr.m4).
6297
6298License
6299*******
6300
6301Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6302
6303Copying and distribution of this file, with or without modification, are
6304permitted in any medium without royalty provided the copyright notice
6305and this notice are preserved.  This file is offered as-is, without any
6306warranty.
6307
6308
6309File: autoconf-archive.info,  Node: ax_check_awk_system,  Next: ax_check_awk_systime,  Prev: ax_check_awk_substr,  Up: The Macros
6310
6311ax_check_awk_system
6312===================
6313
6314Synopsis
6315********
6316
6317     AX_CHECK_AWK_SYSTEM([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6318
6319Description
6320***********
6321
6322Check if AWK supports system() function.  If successful execute
6323ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6324
6325This work is heavily based upon testawk.sh script by Heiner Steven.  You
6326should find his script (and related works) at
6327<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6328Alessandro Massignan for his suggestions and extensive nawk tests on
6329FreeBSD.
6330
6331Source Code
6332***********
6333
6334Download the latest version of 'ax_check_awk_system.m4'
6335(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_system.m4)
6336or browse the macro's revision history
6337(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_system.m4).
6338
6339License
6340*******
6341
6342Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6343
6344Copying and distribution of this file, with or without modification, are
6345permitted in any medium without royalty provided the copyright notice
6346and this notice are preserved.  This file is offered as-is, without any
6347warranty.
6348
6349
6350File: autoconf-archive.info,  Node: ax_check_awk_systime,  Next: ax_check_awk_tolower,  Prev: ax_check_awk_system,  Up: The Macros
6351
6352ax_check_awk_systime
6353====================
6354
6355Synopsis
6356********
6357
6358     AX_CHECK_AWK_SYSTIME([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6359
6360Description
6361***********
6362
6363Check if AWK supports systime() function.  If successful execute
6364ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6365
6366This work is heavily based upon testawk.sh script by Heiner Steven.  You
6367should find his script (and related works) at
6368<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6369Alessandro Massignan for his suggestions and extensive nawk tests on
6370FreeBSD.
6371
6372Source Code
6373***********
6374
6375Download the latest version of 'ax_check_awk_systime.m4'
6376(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_systime.m4)
6377or browse the macro's revision history
6378(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_systime.m4).
6379
6380License
6381*******
6382
6383Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6384
6385Copying and distribution of this file, with or without modification, are
6386permitted in any medium without royalty provided the copyright notice
6387and this notice are preserved.  This file is offered as-is, without any
6388warranty.
6389
6390
6391File: autoconf-archive.info,  Node: ax_check_awk_tolower,  Next: ax_check_awk_toupper,  Prev: ax_check_awk_systime,  Up: The Macros
6392
6393ax_check_awk_tolower
6394====================
6395
6396Synopsis
6397********
6398
6399     AX_CHECK_AWK_TOLOWER([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6400
6401Description
6402***********
6403
6404Check if AWK supports tolower() function.  If successful execute
6405ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6406
6407This work is heavily based upon testawk.sh script by Heiner Steven.  You
6408should find his script (and related works) at
6409<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6410Alessandro Massignan for his suggestions and extensive nawk tests on
6411FreeBSD.
6412
6413Source Code
6414***********
6415
6416Download the latest version of 'ax_check_awk_tolower.m4'
6417(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_tolower.m4)
6418or browse the macro's revision history
6419(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_tolower.m4).
6420
6421License
6422*******
6423
6424Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6425
6426Copying and distribution of this file, with or without modification, are
6427permitted in any medium without royalty provided the copyright notice
6428and this notice are preserved.  This file is offered as-is, without any
6429warranty.
6430
6431
6432File: autoconf-archive.info,  Node: ax_check_awk_toupper,  Next: ax_check_awk_user_defined_functions,  Prev: ax_check_awk_tolower,  Up: The Macros
6433
6434ax_check_awk_toupper
6435====================
6436
6437Synopsis
6438********
6439
6440     AX_CHECK_AWK_TOUPPER([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6441
6442Description
6443***********
6444
6445Check if AWK supports toupper() function.  If successful execute
6446ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6447
6448This work is heavily based upon testawk.sh script by Heiner Steven.  You
6449should find his script (and related works) at
6450<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6451Alessandro Massignan for his suggestions and extensive nawk tests on
6452FreeBSD.
6453
6454Source Code
6455***********
6456
6457Download the latest version of 'ax_check_awk_toupper.m4'
6458(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_toupper.m4)
6459or browse the macro's revision history
6460(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_toupper.m4).
6461
6462License
6463*******
6464
6465Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6466
6467Copying and distribution of this file, with or without modification, are
6468permitted in any medium without royalty provided the copyright notice
6469and this notice are preserved.  This file is offered as-is, without any
6470warranty.
6471
6472
6473File: autoconf-archive.info,  Node: ax_check_awk_user_defined_functions,  Next: ax_check_awk_var_regexp,  Prev: ax_check_awk_toupper,  Up: The Macros
6474
6475ax_check_awk_user_defined_functions
6476===================================
6477
6478Synopsis
6479********
6480
6481     AX_CHECK_AWK_USER_DEFINED_FUNCTIONS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6482
6483Description
6484***********
6485
6486Check if AWK supports user defined functions.  If successful execute
6487ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6488
6489This work is heavily based upon testawk.sh script by Heiner Steven.  You
6490should find his script (and related works) at
6491<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6492Alessandro Massignan for his suggestions and extensive nawk tests on
6493FreeBSD.
6494
6495Source Code
6496***********
6497
6498Download the latest version of 'ax_check_awk_user_defined_functions.m4'
6499(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_user_defined_functions.m4)
6500or browse the macro's revision history
6501(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_user_defined_functions.m4).
6502
6503License
6504*******
6505
6506Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6507
6508Copying and distribution of this file, with or without modification, are
6509permitted in any medium without royalty provided the copyright notice
6510and this notice are preserved.  This file is offered as-is, without any
6511warranty.
6512
6513
6514File: 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
6515
6516ax_check_awk_var_regexp
6517=======================
6518
6519Synopsis
6520********
6521
6522     AX_CHECK_AWK_VAR_REGEXP([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6523
6524Description
6525***********
6526
6527Check if AWK supports variable regexp.  If successful execute
6528ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6529
6530This work is heavily based upon testawk.sh script by Heiner Steven.  You
6531should find his script (and related works) at
6532<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6533Alessandro Massignan for his suggestions and extensive nawk tests on
6534FreeBSD.
6535
6536Source Code
6537***********
6538
6539Download the latest version of 'ax_check_awk_var_regexp.m4'
6540(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_var_regexp.m4)
6541or browse the macro's revision history
6542(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_var_regexp.m4).
6543
6544License
6545*******
6546
6547Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6548
6549Copying and distribution of this file, with or without modification, are
6550permitted in any medium without royalty provided the copyright notice
6551and this notice are preserved.  This file is offered as-is, without any
6552warranty.
6553
6554
6555File: autoconf-archive.info,  Node: ax_check_awk_variable_value_pairs,  Next: ax_check_awk_xor,  Prev: ax_check_awk_var_regexp,  Up: The Macros
6556
6557ax_check_awk_variable_value_pairs
6558=================================
6559
6560Synopsis
6561********
6562
6563     AX_CHECK_AWK_VARIABLE_VALUE_PAIRS([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6564
6565Description
6566***********
6567
6568Check if AWK supports variable=value pairs ($AWK '<PROGRAM>' var=val).
6569If successful execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6570
6571This work is heavily based upon testawk.sh script by Heiner Steven.  You
6572should find his script (and related works) at
6573<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6574Alessandro Massignan for his suggestions and extensive nawk tests on
6575FreeBSD.
6576
6577Source Code
6578***********
6579
6580Download the latest version of 'ax_check_awk_variable_value_pairs.m4'
6581(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_variable_value_pairs.m4)
6582or browse the macro's revision history
6583(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_variable_value_pairs.m4).
6584
6585License
6586*******
6587
6588Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6589
6590Copying and distribution of this file, with or without modification, are
6591permitted in any medium without royalty provided the copyright notice
6592and this notice are preserved.  This file is offered as-is, without any
6593warranty.
6594
6595
6596File: autoconf-archive.info,  Node: ax_check_awk_xor,  Next: ax_check_class,  Prev: ax_check_awk_variable_value_pairs,  Up: The Macros
6597
6598ax_check_awk_xor
6599================
6600
6601Synopsis
6602********
6603
6604     AX_CHECK_AWK_XOR([ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
6605
6606Description
6607***********
6608
6609Check if AWK supports xor() function.  If successful execute
6610ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
6611
6612This work is heavily based upon testawk.sh script by Heiner Steven.  You
6613should find his script (and related works) at
6614<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
6615Alessandro Massignan for his suggestions and extensive nawk tests on
6616FreeBSD.
6617
6618Source Code
6619***********
6620
6621Download the latest version of 'ax_check_awk_xor.m4'
6622(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_awk_xor.m4)
6623or browse the macro's revision history
6624(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_awk_xor.m4).
6625
6626License
6627*******
6628
6629Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
6630
6631Copying and distribution of this file, with or without modification, are
6632permitted in any medium without royalty provided the copyright notice
6633and this notice are preserved.  This file is offered as-is, without any
6634warranty.
6635
6636
6637File: autoconf-archive.info,  Node: ax_check_class,  Next: ax_check_classpath,  Prev: ax_check_awk_xor,  Up: The Macros
6638
6639ax_check_class
6640==============
6641
6642Synopsis
6643********
6644
6645     AX_CHECK_CLASS
6646
6647Description
6648***********
6649
6650AX_CHECK_CLASS tests the existence of a given Java class, either in a
6651jar or in a '.class' file.
6652
6653*Warning*: its success or failure can depend on a proper setting of the
6654CLASSPATH env.  variable.
6655
6656Note: This is part of the set of autoconf M4 macros for Java programs.
6657It is VERY IMPORTANT that you download the whole set, some macros depend
6658on other.  Unfortunately, the autoconf archive does not support the
6659concept of set of macros, so I had to break it for submission.  The
6660general documentation, as well as the sample configure.in, is included
6661in the AX_PROG_JAVA macro.
6662
6663Source Code
6664***********
6665
6666Download the latest version of 'ax_check_class.m4'
6667(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_class.m4)
6668or browse the macro's revision history
6669(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_class.m4).
6670
6671License
6672*******
6673
6674Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
6675
6676This program is free software; you can redistribute it and/or modify it
6677under the terms of the GNU General Public License as published by the
6678Free Software Foundation; either version 2 of the License, or (at your
6679option) any later version.
6680
6681This program is distributed in the hope that it will be useful, but
6682WITHOUT ANY WARRANTY; without even the implied warranty of
6683MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6684Public License for more details.
6685
6686You should have received a copy of the GNU General Public License along
6687with this program.  If not, see <https://www.gnu.org/licenses/>.
6688
6689As a special exception, the respective Autoconf Macro's copyright owner
6690gives unlimited permission to copy, distribute and modify the configure
6691scripts that are the output of Autoconf when processing the Macro.  You
6692need not follow the terms of the GNU General Public License when using
6693or distributing such scripts, even though portions of the text of the
6694Macro appear in them.  The GNU General Public License (GPL) does govern
6695all other use of the material that constitutes the Autoconf Macro.
6696
6697This special exception to the GPL applies to versions of the Autoconf
6698Macro released by the Autoconf Archive.  When you make and distribute a
6699modified version of the Autoconf Macro, you may extend this special
6700exception to the GPL to apply to your modified version as well.
6701
6702
6703File: autoconf-archive.info,  Node: ax_check_classpath,  Next: ax_check_compile_flag,  Prev: ax_check_class,  Up: The Macros
6704
6705ax_check_classpath
6706==================
6707
6708Synopsis
6709********
6710
6711     AX_CHECK_CLASSPATH
6712
6713Description
6714***********
6715
6716AX_CHECK_CLASSPATH just displays the CLASSPATH, for the edification of
6717the user.
6718
6719Note: This is part of the set of autoconf M4 macros for Java programs.
6720It is VERY IMPORTANT that you download the whole set, some macros depend
6721on other.  Unfortunately, the autoconf archive does not support the
6722concept of set of macros, so I had to break it for submission.  The
6723general documentation, as well as the sample configure.in, is included
6724in the AX_PROG_JAVA macro.
6725
6726Source Code
6727***********
6728
6729Download the latest version of 'ax_check_classpath.m4'
6730(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_classpath.m4)
6731or browse the macro's revision history
6732(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_classpath.m4).
6733
6734License
6735*******
6736
6737Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
6738
6739This program is free software; you can redistribute it and/or modify it
6740under the terms of the GNU General Public License as published by the
6741Free Software Foundation; either version 2 of the License, or (at your
6742option) any later version.
6743
6744This program is distributed in the hope that it will be useful, but
6745WITHOUT ANY WARRANTY; without even the implied warranty of
6746MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6747Public License for more details.
6748
6749You should have received a copy of the GNU General Public License along
6750with this program.  If not, see <https://www.gnu.org/licenses/>.
6751
6752As a special exception, the respective Autoconf Macro's copyright owner
6753gives unlimited permission to copy, distribute and modify the configure
6754scripts that are the output of Autoconf when processing the Macro.  You
6755need not follow the terms of the GNU General Public License when using
6756or distributing such scripts, even though portions of the text of the
6757Macro appear in them.  The GNU General Public License (GPL) does govern
6758all other use of the material that constitutes the Autoconf Macro.
6759
6760This special exception to the GPL applies to versions of the Autoconf
6761Macro released by the Autoconf Archive.  When you make and distribute a
6762modified version of the Autoconf Macro, you may extend this special
6763exception to the GPL to apply to your modified version as well.
6764
6765
6766File: autoconf-archive.info,  Node: ax_check_compile_flag,  Next: ax_check_define,  Prev: ax_check_classpath,  Up: The Macros
6767
6768ax_check_compile_flag
6769=====================
6770
6771Synopsis
6772********
6773
6774     AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
6775
6776Description
6777***********
6778
6779Check whether the given FLAG works with the current language's compiler
6780or gives an error.  (Warnings, however, are ignored)
6781
6782ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
6783success/failure.
6784
6785If EXTRA-FLAGS is defined, it is added to the current language's default
6786flags (e.g.  CFLAGS) when the check is done.  The check is thus made
6787with the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used
6788to force the compiler to issue an error when a bad flag is given.
6789
6790INPUT gives an alternative input source to AC_COMPILE_IFELSE.
6791
6792NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
6793macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG.
6794
6795Source Code
6796***********
6797
6798Download the latest version of 'ax_check_compile_flag.m4'
6799(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_compile_flag.m4)
6800or browse the macro's revision history
6801(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_compile_flag.m4).
6802
6803License
6804*******
6805
6806Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
6807Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
6808
6809Copying and distribution of this file, with or without modification, are
6810permitted in any medium without royalty provided the copyright notice
6811and this notice are preserved.  This file is offered as-is, without any
6812warranty.
6813
6814
6815File: autoconf-archive.info,  Node: ax_check_define,  Next: ax_check_docbook_dtd,  Prev: ax_check_compile_flag,  Up: The Macros
6816
6817ax_check_define
6818===============
6819
6820Synopsis
6821********
6822
6823     AC_CHECK_DEFINE([symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])
6824     AX_CHECK_DEFINE([includes],[symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])
6825
6826Description
6827***********
6828
6829Complements AC_CHECK_FUNC but it does not check for a function but for a
6830define to exist.  Consider a usage like:
6831
6832      AC_CHECK_DEFINE(__STRICT_ANSI__, CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500")
6833
6834Source Code
6835***********
6836
6837Download the latest version of 'ax_check_define.m4'
6838(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_define.m4)
6839or browse the macro's revision history
6840(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_define.m4).
6841
6842License
6843*******
6844
6845Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
6846
6847Copying and distribution of this file, with or without modification, are
6848permitted in any medium without royalty provided the copyright notice
6849and this notice are preserved.  This file is offered as-is, without any
6850warranty.
6851
6852
6853File: autoconf-archive.info,  Node: ax_check_docbook_dtd,  Next: ax_check_docbook_xslt,  Prev: ax_check_define,  Up: The Macros
6854
6855ax_check_docbook_dtd
6856====================
6857
6858Synopsis
6859********
6860
6861     AX_CHECK_DOCBOOK_DTD([dtd-version])
6862
6863Description
6864***********
6865
6866Check for access to a docbook DTD of a particular revision.  This macro
6867can be used for multiple versions within the same script.
6868
6869Input:
6870
6871$1 is the version of docbook to search for; default 'current'.
6872
6873Output:
6874
6875$HAVE_DOCBOOK_DTD_VERS will be set to 'yes' or 'no' depending on the
6876results of the test, where VERS is $1, with '_' substituted for '.'
6877$HAVE_DOCBOOK_DTD will also be set to the same value.
6878
6879Example:
6880
6881      AX_CHECK_DOCBOOK_DTD(4.3)
6882      if test "x$HAVE_DOCBOOK_DTD_4_3" = "xyes"; then
6883      ...
6884
6885Source Code
6886***********
6887
6888Download the latest version of 'ax_check_docbook_dtd.m4'
6889(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_docbook_dtd.m4)
6890or browse the macro's revision history
6891(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_docbook_dtd.m4).
6892
6893License
6894*******
6895
6896Copyright (C) 2008 Zmanda Inc. <http://www.zmanda.com/>
6897Copyright (C) 2008 Dustin J. Mitchell <dustin@zmanda.com>
6898
6899This program is free software; you can redistribute it and/or modify it
6900under the terms of the GNU General Public License as published by the
6901Free Software Foundation; either version 2 of the License, or (at your
6902option) any later version.
6903
6904This program is distributed in the hope that it will be useful, but
6905WITHOUT ANY WARRANTY; without even the implied warranty of
6906MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6907Public License for more details.
6908
6909You should have received a copy of the GNU General Public License along
6910with this program.  If not, see <https://www.gnu.org/licenses/>.
6911
6912As a special exception, the respective Autoconf Macro's copyright owner
6913gives unlimited permission to copy, distribute and modify the configure
6914scripts that are the output of Autoconf when processing the Macro.  You
6915need not follow the terms of the GNU General Public License when using
6916or distributing such scripts, even though portions of the text of the
6917Macro appear in them.  The GNU General Public License (GPL) does govern
6918all other use of the material that constitutes the Autoconf Macro.
6919
6920This special exception to the GPL applies to versions of the Autoconf
6921Macro released by the Autoconf Archive.  When you make and distribute a
6922modified version of the Autoconf Macro, you may extend this special
6923exception to the GPL to apply to your modified version as well.
6924
6925
6926File: autoconf-archive.info,  Node: ax_check_docbook_xslt,  Next: ax_check_docbook_xslt_min,  Prev: ax_check_docbook_dtd,  Up: The Macros
6927
6928ax_check_docbook_xslt
6929=====================
6930
6931Synopsis
6932********
6933
6934     AX_CHECK_DOCBOOK_XSLT([xslt-version])
6935
6936Description
6937***********
6938
6939Check for access to docbook stylesheets of a particular revision.  This
6940macro can be used for multiple versions within the same script.
6941
6942Input:
6943
6944$1 is the version of docbook to search for; default 'current'.
6945
6946Output:
6947
6948$HAVE_DOCBOOK_XSLT_VERS will be set to 'yes' or 'no' depending on the
6949results of the test, where VERS is $1, with '_' substituted for '.'.
6950$HAVE_DOCBOOK_XSLT will also be set to the same value.
6951
6952Example:
6953
6954      AX_CHECK_DOCBOOK_XSLT(1.72.0)
6955      if test "x$HAVE_DOCBOOK_XSLT_1_72_0" = "xyes"; then
6956      ...
6957
6958Source Code
6959***********
6960
6961Download the latest version of 'ax_check_docbook_xslt.m4'
6962(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_docbook_xslt.m4)
6963or browse the macro's revision history
6964(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_docbook_xslt.m4).
6965
6966License
6967*******
6968
6969Copyright (C) 2008 Zmanda Inc. <http://www.zmanda.com/>
6970Copyright (C) 2008 Dustin J. Mitchell <dustin@zmanda.com>
6971
6972This program is free software; you can redistribute it and/or modify it
6973under the terms of the GNU General Public License as published by the
6974Free Software Foundation; either version 2 of the License, or (at your
6975option) any later version.
6976
6977This program is distributed in the hope that it will be useful, but
6978WITHOUT ANY WARRANTY; without even the implied warranty of
6979MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
6980Public License for more details.
6981
6982You should have received a copy of the GNU General Public License along
6983with this program.  If not, see <https://www.gnu.org/licenses/>.
6984
6985As a special exception, the respective Autoconf Macro's copyright owner
6986gives unlimited permission to copy, distribute and modify the configure
6987scripts that are the output of Autoconf when processing the Macro.  You
6988need not follow the terms of the GNU General Public License when using
6989or distributing such scripts, even though portions of the text of the
6990Macro appear in them.  The GNU General Public License (GPL) does govern
6991all other use of the material that constitutes the Autoconf Macro.
6992
6993This special exception to the GPL applies to versions of the Autoconf
6994Macro released by the Autoconf Archive.  When you make and distribute a
6995modified version of the Autoconf Macro, you may extend this special
6996exception to the GPL to apply to your modified version as well.
6997
6998
6999File: autoconf-archive.info,  Node: ax_check_docbook_xslt_min,  Next: ax_check_dos_filesys,  Prev: ax_check_docbook_xslt,  Up: The Macros
7000
7001ax_check_docbook_xslt_min
7002=========================
7003
7004Synopsis
7005********
7006
7007     AX_CHECK_DOCBOOK_XSLT_MIN(min-xslt-version)
7008
7009Description
7010***********
7011
7012Check that the 'current' version of docbook is at least version
7013min-xslt-version.  If the test is successful,
7014$DOCBOOK_XSLT_CURRENT_VERSION will be set to the current docbook
7015version; if not, it will be set to 'no'.
7016
7017Example:
7018
7019      AX_CHECK_DOCBOOK_XSLT_MIN(1.72.0)
7020      if test "x$DOCBOOK_XSLT_CURRENT_VERSION" = "xno"; then
7021      ...
7022
7023Source Code
7024***********
7025
7026Download the latest version of 'ax_check_docbook_xslt_min.m4'
7027(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_docbook_xslt_min.m4)
7028or browse the macro's revision history
7029(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_docbook_xslt_min.m4).
7030
7031License
7032*******
7033
7034Copyright (C) 2008 Zmanda Inc. <http://www.zmanda.com/>
7035Copyright (C) 2008 Dustin J. Mitchell <dustin@zmanda.com>
7036
7037This program is free software; you can redistribute it and/or modify it
7038under the terms of the GNU General Public License as published by the
7039Free Software Foundation; either version 2 of the License, or (at your
7040option) any later version.
7041
7042This program is distributed in the hope that it will be useful, but
7043WITHOUT ANY WARRANTY; without even the implied warranty of
7044MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7045Public License for more details.
7046
7047You should have received a copy of the GNU General Public License along
7048with this program.  If not, see <https://www.gnu.org/licenses/>.
7049
7050As a special exception, the respective Autoconf Macro's copyright owner
7051gives unlimited permission to copy, distribute and modify the configure
7052scripts that are the output of Autoconf when processing the Macro.  You
7053need not follow the terms of the GNU General Public License when using
7054or distributing such scripts, even though portions of the text of the
7055Macro appear in them.  The GNU General Public License (GPL) does govern
7056all other use of the material that constitutes the Autoconf Macro.
7057
7058This special exception to the GPL applies to versions of the Autoconf
7059Macro released by the Autoconf Archive.  When you make and distribute a
7060modified version of the Autoconf Macro, you may extend this special
7061exception to the GPL to apply to your modified version as well.
7062
7063
7064File: autoconf-archive.info,  Node: ax_check_dos_filesys,  Next: ax_check_enable_debug,  Prev: ax_check_docbook_xslt_min,  Up: The Macros
7065
7066ax_check_dos_filesys
7067====================
7068
7069Synopsis
7070********
7071
7072     AX_CHECK_DOS_FILESYS_LIMITATIONS
7073
7074Description
7075***********
7076
7077Check if the target is running on DOS. DOS doesn't allow a dot as the
7078first character, more than one dot, more than eight characters before a
7079dot, and just three letters after the dot.  A DOS VM running under
7080Windows 9X does not have these restrictions.  A DOS program can be
7081running in either environment, so its important to code accordingly.
7082Defines HAVE_DOS_FILESYS_LIMITATIONS if under DOS.
7083
7084Use in conjunction with AX_CHECK_PATHNAME_STYLE_DOS.
7085
7086Source Code
7087***********
7088
7089Download the latest version of 'ax_check_dos_filesys.m4'
7090(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_dos_filesys.m4)
7091or browse the macro's revision history
7092(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_dos_filesys.m4).
7093
7094License
7095*******
7096
7097Copyright (C) 2008 Mark Elbrecht
7098
7099This program is free software; you can redistribute it and/or modify it
7100under the terms of the GNU General Public License as published by the
7101Free Software Foundation; either version 2 of the License, or (at your
7102option) any later version.
7103
7104This program is distributed in the hope that it will be useful, but
7105WITHOUT ANY WARRANTY; without even the implied warranty of
7106MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7107Public License for more details.
7108
7109You should have received a copy of the GNU General Public License along
7110with this program.  If not, see <https://www.gnu.org/licenses/>.
7111
7112As a special exception, the respective Autoconf Macro's copyright owner
7113gives unlimited permission to copy, distribute and modify the configure
7114scripts that are the output of Autoconf when processing the Macro.  You
7115need not follow the terms of the GNU General Public License when using
7116or distributing such scripts, even though portions of the text of the
7117Macro appear in them.  The GNU General Public License (GPL) does govern
7118all other use of the material that constitutes the Autoconf Macro.
7119
7120This special exception to the GPL applies to versions of the Autoconf
7121Macro released by the Autoconf Archive.  When you make and distribute a
7122modified version of the Autoconf Macro, you may extend this special
7123exception to the GPL to apply to your modified version as well.
7124
7125
7126File: autoconf-archive.info,  Node: ax_check_enable_debug,  Next: ax_check_func_in,  Prev: ax_check_dos_filesys,  Up: The Macros
7127
7128ax_check_enable_debug
7129=====================
7130
7131Synopsis
7132********
7133
7134     AX_CHECK_ENABLE_DEBUG([enable by default=yes/info/profile/no], [ENABLE DEBUG VARIABLES ...], [DISABLE DEBUG VARIABLES NDEBUG ...], [IS-RELEASE])
7135
7136Description
7137***********
7138
7139Check for the presence of an -enable-debug option to configure, with the
7140specified default value used when the option is not present.  Return the
7141value in the variable $ax_enable_debug.
7142
7143Specifying 'yes' adds '-g -O0' to the compilation flags for all
7144languages.  Specifying 'info' adds '-g' to the compilation flags.
7145Specifying 'profile' adds '-g -pg' to the compilation flags and '-pg' to
7146the linking flags.  Otherwise, nothing is added.
7147
7148Define the variables listed in the second argument if debug is enabled,
7149defaulting to no variables.  Defines the variables listed in the third
7150argument if debug is disabled, defaulting to NDEBUG. All lists of
7151variables should be space-separated.
7152
7153If debug is not enabled, ensure AC_PROG_* will not add debugging flags.
7154Should be invoked prior to any AC_PROG_* compiler checks.
7155
7156IS-RELEASE can be used to change the default to 'no' when making a
7157release.  Set IS-RELEASE to 'yes' or 'no' as appropriate.  By default,
7158it uses the value of $ax_is_release, so if you are using the
7159AX_IS_RELEASE macro, there is no need to pass this parameter.
7160
7161       AX_IS_RELEASE([git-directory])
7162       AX_CHECK_ENABLE_DEBUG()
7163
7164Source Code
7165***********
7166
7167Download the latest version of 'ax_check_enable_debug.m4'
7168(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_enable_debug.m4)
7169or browse the macro's revision history
7170(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_enable_debug.m4).
7171
7172License
7173*******
7174
7175Copyright (C) 2011 Rhys Ulerich <rhys.ulerich@gmail.com>
7176Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
7177
7178Copying and distribution of this file, with or without modification, are
7179permitted in any medium without royalty provided the copyright notice
7180and this notice are preserved.
7181
7182
7183File: autoconf-archive.info,  Node: ax_check_func_in,  Next: ax_check_gd,  Prev: ax_check_enable_debug,  Up: The Macros
7184
7185ax_check_func_in
7186================
7187
7188Synopsis
7189********
7190
7191     AX_CHECK_FUNC_IN(HEADER, FUNCTION [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]])
7192
7193Description
7194***********
7195
7196Checking for library functions in a given header file.
7197
7198Source Code
7199***********
7200
7201Download the latest version of 'ax_check_func_in.m4'
7202(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_func_in.m4)
7203or browse the macro's revision history
7204(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_func_in.m4).
7205
7206License
7207*******
7208
7209Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
7210
7211Copying and distribution of this file, with or without modification, are
7212permitted in any medium without royalty provided the copyright notice
7213and this notice are preserved.  This file is offered as-is, without any
7214warranty.
7215
7216
7217File: autoconf-archive.info,  Node: ax_check_gd,  Next: ax_check_gir_symbols_gjs,  Prev: ax_check_func_in,  Up: The Macros
7218
7219ax_check_gd
7220===========
7221
7222Synopsis
7223********
7224
7225     AX_CHECK_GD
7226
7227Description
7228***********
7229
7230Check for the gd library.  (See http://www.boutell.com/gd/) If gd is
7231found, the output variables GD_CFLAGS, GD_LDFLAGS and GD_LIBS will
7232contain the compiler flags, linker flags and libraries necessary to use
7233gd; otherwise, those variables will be empty.  In addition, the symbol
7234HAVE_GD is defined if the library is found, and the symbols HAVE_GD_GIF,
7235HAVE_GD_JPEG and HAVE_GD_PNG are defined if the library supports
7236creating images in gif, jpeg and png formats, respectively.
7237
7238The user may use -with-gd=no or -without-gd to skip checking for the
7239library.  (The default is -with-gd=yes.)  If the library is installed in
7240an unusual location, -with-gd=DIR will cause the macro to look for
7241gdlib-config in DIR/bin or, failing that, for the headers and libraries
7242in DIR/include and DIR/lib.
7243
7244Feedback welcome!
7245
7246Source Code
7247***********
7248
7249Download the latest version of 'ax_check_gd.m4'
7250(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gd.m4)
7251or browse the macro's revision history
7252(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gd.m4).
7253
7254License
7255*******
7256
7257Copyright (C) 2008 Nick Markham <markhn@rpi.edu>
7258
7259Copying and distribution of this file, with or without modification, are
7260permitted in any medium without royalty provided the copyright notice
7261and this notice are preserved.  This file is offered as-is, without any
7262warranty.
7263
7264
7265File: autoconf-archive.info,  Node: ax_check_gir_symbols_gjs,  Next: ax_check_girs_gjs,  Prev: ax_check_gd,  Up: The Macros
7266
7267ax_check_gir_symbols_gjs
7268========================
7269
7270Synopsis
7271********
7272
7273     AX_CHECK_GIR_SYMBOLS_GJS(MODULE, APIVERSION, SYMBOLS)
7274
7275Description
7276***********
7277
7278Check that each symbol from the whitespace-separated list of $SYMBOLS is
7279defined inside the GObject Introspection module $MODULE with API version
7280$APIVERSION, and is importable in GJS, GNOME's JavaScript engine
7281(https://wiki.gnome.org/Projects/Gjs).
7282
7283GObject Introspection
7284(https://wiki.gnome.org/Projects/GObjectIntrospection) is a tool for
7285generating bindings from C libraries to higher-level languages.  The
7286bindings live in a GObject Introspection repository (GIR) file, which is
7287what this macro checks.
7288
7289Note that for the purposes of GObject Introspection, the API version is
7290different from the release version.  For example, GTK currently has API
7291version 3.0, but that could mean any release from the 3.0, 3.2, 3.4,...
7292series.
7293
7294Example:
7295
7296       AX_CHECK_GIR_SYMBOLS_GJS([Gtk], [3.0], [ListBox FlowBox
7297                                               Widget.get_action_group])
7298
7299NOTE: This macro depends on AX_PROG_GJS.
7300
7301Source Code
7302***********
7303
7304Download the latest version of 'ax_check_gir_symbols_gjs.m4'
7305(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gir_symbols_gjs.m4)
7306or browse the macro's revision history
7307(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gir_symbols_gjs.m4).
7308
7309License
7310*******
7311
7312Copyright (C) 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com>
7313
7314Copying and distribution of this file, with or without modification, are
7315permitted in any medium without royalty provided the copyright notice
7316and this notice are preserved.  This file is offered as-is, without any
7317warranty.
7318
7319
7320File: autoconf-archive.info,  Node: ax_check_girs_gjs,  Next: ax_check_gl,  Prev: ax_check_gir_symbols_gjs,  Up: The Macros
7321
7322ax_check_girs_gjs
7323=================
7324
7325Synopsis
7326********
7327
7328     AX_CHECK_GIRS_GJS(MODULE, API_VERSION [, MODULE, API_VERSION...])
7329
7330Description
7331***********
7332
7333Check that the GObject Introspection module $MODULE is importable in GJS
7334(GNOME's JavaScript engine, https://wiki.gnome.org/Projects/Gjs).  The
7335API version must be $API_VERSION.
7336
7337GObject Introspection
7338(https://wiki.gnome.org/Projects/GObjectIntrospection) is a tool for
7339generating bindings from C libraries to higher-level languages.  The
7340bindings live in a GObject Introspection repository (GIR) file, which is
7341what this macro checks.
7342
7343Note that for the purposes of GObject Introspection, the API version is
7344different from the release version.  For example, GTK currently has API
7345version 3.0, but that could mean any release from the 3.0, 3.2, 3.4,...
7346series.  To check for specific API that was added in a later version,
7347use AX_CHECK_GIR_SYMBOLS_GJS.
7348
7349Example:
7350
7351       AX_CHECK_GIRS_GJS([Gdk], [3.0],
7352                         [Gtk], [3.0])
7353
7354NOTE: This macro depends on AX_PROG_GJS.
7355
7356Source Code
7357***********
7358
7359Download the latest version of 'ax_check_girs_gjs.m4'
7360(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_girs_gjs.m4)
7361or browse the macro's revision history
7362(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_girs_gjs.m4).
7363
7364License
7365*******
7366
7367Copyright (C) 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com>
7368
7369Copying and distribution of this file, with or without modification, are
7370permitted in any medium without royalty provided the copyright notice
7371and this notice are preserved.  This file is offered as-is, without any
7372warranty.
7373
7374
7375File: autoconf-archive.info,  Node: ax_check_gl,  Next: ax_check_glu,  Prev: ax_check_girs_gjs,  Up: The Macros
7376
7377ax_check_gl
7378===========
7379
7380Synopsis
7381********
7382
7383     AX_CHECK_GL([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
7384
7385Description
7386***********
7387
7388Checks for an OpenGL implementation.  If a valid OpenGL implementation
7389is found, this macro would set C preprocessor symbol HAVE_GL to 1.
7390
7391If either a valid OpenGL header or library was not found, by default the
7392configuration would exits on error.  This behavior can be overwritten by
7393providing a custom "ACTION-IF-NOT-FOUND" hook.
7394
7395If the header, library was found, and been tested for compiling and
7396linking the configuration would export the required compiler flags to
7397"GL_CFLAGS" and "GL_LIBS". These two variables can also be overwritten
7398by user from the command line if they want to link against the library
7399they specified instead of having the configuration script to detect the
7400flags automatically.  Note that having "GL_CFLAGS" or "GL_LIBS" set
7401doesn't mean it can compile or link with the flags, since it could be
7402overwritten by user.  However the "HAVE_GL" symbol and "ACTION-IF-FOUND"
7403hook is always guaranteed to reflect a valid OpenGL implementation.
7404
7405If user didn't specify the "ACTION-IF-FOUND" hook, the configuration
7406would prepend "GL_CFLAGS" and "GL_LIBS" to "CFLAGS" and "LIBS", like
7407many other autoconf macros do.
7408
7409OpenGL is one of the libraries that has different header names on
7410different platforms.  This macro does the header detection, and will
7411export the following symbol: "HAVE_GL_GL_H" for having "GL/gl.h" or
7412"HAVE_OPENGL_GL_H" for having "OpenGL/gl.h".  To write a portable OpenGL
7413code, you should include OpenGL header like so:
7414
7415       #if defined(HAVE_WINDOWS_H) && defined(_WIN32)
7416       # include <windows.h>
7417       #endif
7418       #ifdef HAVE_GL_GL_H
7419       # include <GL/gl.h>
7420       #elif defined(HAVE_OPENGL_GL_H)
7421       # include <OpenGL/gl.h>
7422       #else
7423       # error no gl.h
7424       #endif
7425
7426On the OSX platform, there's two possible OpenGL implementation.  One is
7427the OpenGL that ships with OSX, the other comes with X11/XQuartz
7428(http://www.xquartz.org).  To use the xquartz variant, user can use the
7429option -with-xquartz-gl[=path to xquartz root].  By default the
7430configuration will check "/opt/X11", which is the default X11 install
7431location on OSX.
7432
7433Source Code
7434***********
7435
7436Download the latest version of 'ax_check_gl.m4'
7437(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gl.m4)
7438or browse the macro's revision history
7439(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gl.m4).
7440
7441License
7442*******
7443
7444Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
7445Copyright (C) 2012 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
7446
7447Copyright (C) 2016 Felix Chern <idryman@gmail.com>
7448
7449This program is free software; you can redistribute it and/or modify it
7450under the terms of the GNU General Public License as published by the
7451Free Software Foundation; either version 2 of the License, or (at your
7452option) any later version.
7453
7454This program is distributed in the hope that it will be useful, but
7455WITHOUT ANY WARRANTY; without even the implied warranty of
7456MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7457Public License for more details.
7458
7459You should have received a copy of the GNU General Public License along
7460with this program.  If not, see <https://www.gnu.org/licenses/>.
7461
7462As a special exception, the respective Autoconf Macro's copyright owner
7463gives unlimited permission to copy, distribute and modify the configure
7464scripts that are the output of Autoconf when processing the Macro.  You
7465need not follow the terms of the GNU General Public License when using
7466or distributing such scripts, even though portions of the text of the
7467Macro appear in them.  The GNU General Public License (GPL) does govern
7468all other use of the material that constitutes the Autoconf Macro.
7469
7470This special exception to the GPL applies to versions of the Autoconf
7471Macro released by the Autoconf Archive.  When you make and distribute a
7472modified version of the Autoconf Macro, you may extend this special
7473exception to the GPL to apply to your modified version as well.
7474
7475
7476File: autoconf-archive.info,  Node: ax_check_glu,  Next: ax_check_glut,  Prev: ax_check_gl,  Up: The Macros
7477
7478ax_check_glu
7479============
7480
7481Synopsis
7482********
7483
7484     AX_CHECK_GLU([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
7485
7486Description
7487***********
7488
7489Checks for GLUT. If a valid GLU implementation is found, the configure
7490script would export the C preprocessor symbol "HAVE_GLU=1".
7491
7492If either a valid GLU header or library was not found, by default the
7493configure script would exit on error.  This behavior can be overwritten
7494by providing a custom "ACTION-IF-NOT-FOUND" hook.
7495
7496If the header, library was found, and been tested for compiling and
7497linking the configuration would export the required compiler flags to
7498"GLU_CFLAGS" and "GLU_LIBS" environment variables.  These two variables
7499can also be overwritten by defining the environment variables before
7500executing the configure program.  If it was predefined, configure would
7501not try to overwrite it, but it would still perform the compile and link
7502test.  Only when the tests succeeded does the configure script to export
7503"HAVE_GLU=1" and to run "ACTION-IF-FOUND" hook.
7504
7505If user didn't specify the "ACTION-IF-FOUND" hook, the configuration
7506would prepend "GLU_CFLAGS" and "GLU_LIBS" to "CFLAGS" and "LIBS", like
7507many other autoconf macros do.
7508
7509If the header "GL/glu.h" is found, "HAVE_GL_GLU_H" is defined.  If the
7510header "OpenGL/glu.h" is found, HAVE_OPENGL_GLU_H is defined.
7511
7512You should use something like this in your headers:
7513
7514       # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
7515       #  include <windows.h>
7516       # endif
7517       # if defined(HAVE_GL_GLU_H)
7518       #  include <GL/glu.h>
7519       # elif defined(HAVE_OPENGL_GLU_H)
7520       #  include <OpenGL/glu.h>
7521       # else
7522       #  error no glu.h
7523       # endif
7524
7525On the OSX platform, you can use the option -with-xquartz-gl to use
7526X11/Xquartz GLU implementation instead of the system built in GLU
7527framework.
7528
7529Some implementations (in particular, some versions of Mac OS X) are
7530known to treat the GLU tesselator callback function type as "GLvoid
7531(*)(...)"  rather than the standard "GLvoid (*)()".  If the former
7532condition is detected, this macro defines "HAVE_VARARGS_GLU_TESSCB".
7533
7534Source Code
7535***********
7536
7537Download the latest version of 'ax_check_glu.m4'
7538(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_glu.m4)
7539or browse the macro's revision history
7540(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_glu.m4).
7541
7542License
7543*******
7544
7545Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
7546Copyright (C) 2013 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
7547
7548Copyright (C) 2016 Felix Chern <idryman@gmail.com>
7549
7550This program is free software; you can redistribute it and/or modify it
7551under the terms of the GNU General Public License as published by the
7552Free Software Foundation; either version 2 of the License, or (at your
7553option) any later version.
7554
7555This program is distributed in the hope that it will be useful, but
7556WITHOUT ANY WARRANTY; without even the implied warranty of
7557MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7558Public License for more details.
7559
7560You should have received a copy of the GNU General Public License along
7561with this program.  If not, see <https://www.gnu.org/licenses/>.
7562
7563As a special exception, the respective Autoconf Macro's copyright owner
7564gives unlimited permission to copy, distribute and modify the configure
7565scripts that are the output of Autoconf when processing the Macro.  You
7566need not follow the terms of the GNU General Public License when using
7567or distributing such scripts, even though portions of the text of the
7568Macro appear in them.  The GNU General Public License (GPL) does govern
7569all other use of the material that constitutes the Autoconf Macro.
7570
7571This special exception to the GPL applies to versions of the Autoconf
7572Macro released by the Autoconf Archive.  When you make and distribute a
7573modified version of the Autoconf Macro, you may extend this special
7574exception to the GPL to apply to your modified version as well.
7575
7576
7577File: autoconf-archive.info,  Node: ax_check_glut,  Next: ax_check_glx,  Prev: ax_check_glu,  Up: The Macros
7578
7579ax_check_glut
7580=============
7581
7582Synopsis
7583********
7584
7585     AX_CHECK_GLUT([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
7586
7587Description
7588***********
7589
7590Checks for GLUT. If a valid GLUT implementation is found, the configure
7591script would export the C preprocessor symbol "HAVE_GLUT=1".
7592
7593If either a valid GLUT header or library was not found, by default the
7594configure script would exit on error.  This behavior can be overwritten
7595by providing a custom "ACTION-IF-NOT-FOUND" hook.
7596
7597If the header, library was found, and been tested for compiling and
7598linking the configuration would export the required compiler flags to
7599"GLUT_CFLAGS" and "GLUT_LIBS" environment variables.  These two
7600variables can also be overwritten by defining the environment variables
7601before executing the configure program.  If it was predefined, configure
7602would not try to overwrite it, but it would still perform the compile
7603and link test.  Only when the tests succeeded does the configure script
7604to export "HAVE_GLUT=1" and to run "ACTION-IF-FOUND" hook.
7605
7606If user didn't specify the "ACTION-IF-FOUND" hook, the configuration
7607would prepend "GLUT_CFLAGS" and "GLUT_LIBS" to "CFLAGS" and "LIBS", like
7608many other autoconf macros do.
7609
7610If the header "GL/glut.h" is found, "HAVE_GL_GLUT_H" is defined.  If the
7611header "GLUT/glut.h" is found, HAVE_GLUT_GLUT_H is defined.
7612
7613You should use something like this in your headers:
7614
7615       # if HAVE_WINDOWS_H && defined(_WIN32)
7616       #  include <windows.h>
7617       # endif
7618       # if defined(HAVE_GL_GLUT_H)
7619       #  include <GL/glut.h>
7620       # elif defined(HAVE_GLUT_GLUT_H)
7621       #  include <GLUT/glut.h>
7622       # else
7623       #  error no glut.h
7624       # endif
7625
7626On the OSX platform, you can use the option -with-xquartz-gl to use
7627X11/Xquartz GLUT implementation instead of the system built in GLUT
7628framework.
7629
7630Source Code
7631***********
7632
7633Download the latest version of 'ax_check_glut.m4'
7634(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_glut.m4)
7635or browse the macro's revision history
7636(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_glut.m4).
7637
7638License
7639*******
7640
7641Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
7642Copyright (C) 2013 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
7643
7644Copyright (C) 2016 Felix Chern <idryman@gmail.com>
7645
7646This program is free software; you can redistribute it and/or modify it
7647under the terms of the GNU General Public License as published by the
7648Free Software Foundation; either version 2 of the License, or (at your
7649option) any later version.
7650
7651This program is distributed in the hope that it will be useful, but
7652WITHOUT ANY WARRANTY; without even the implied warranty of
7653MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7654Public License for more details.
7655
7656You should have received a copy of the GNU General Public License along
7657with this program.  If not, see <https://www.gnu.org/licenses/>.
7658
7659As a special exception, the respective Autoconf Macro's copyright owner
7660gives unlimited permission to copy, distribute and modify the configure
7661scripts that are the output of Autoconf when processing the Macro.  You
7662need not follow the terms of the GNU General Public License when using
7663or distributing such scripts, even though portions of the text of the
7664Macro appear in them.  The GNU General Public License (GPL) does govern
7665all other use of the material that constitutes the Autoconf Macro.
7666
7667This special exception to the GPL applies to versions of the Autoconf
7668Macro released by the Autoconf Archive.  When you make and distribute a
7669modified version of the Autoconf Macro, you may extend this special
7670exception to the GPL to apply to your modified version as well.
7671
7672
7673File: autoconf-archive.info,  Node: ax_check_glx,  Next: ax_check_gnu_make,  Prev: ax_check_glut,  Up: The Macros
7674
7675ax_check_glx
7676============
7677
7678Synopsis
7679********
7680
7681     AX_CHECK_GLX
7682
7683Description
7684***********
7685
7686Check for GLX. If GLX is found, the required preprocessor and linker
7687flags are included in the output variables "GLX_CFLAGS" and "GLX_LIBS",
7688respectively.  If no GLX implementation is found, "no_glx" is set to
7689"yes".
7690
7691If the header "GL/glx.h" is found, "HAVE_GL_GLX_H" is defined.  If the
7692header "OpenGL/glx.h" is found, HAVE_OPENGL_GLX_H is defined.  These
7693preprocessor definitions may not be mutually exclusive.
7694
7695You should use something like this in your headers:
7696
7697       # if defined(HAVE_WINDOWS_H) && defined(_WIN32)
7698       #  include <windows.h>
7699       # endif
7700       # if defined(HAVE_GL_GLX_H)
7701       #  include <GL/glx.h>
7702       # elif defined(HAVE_OPENGL_GLX_H)
7703       #  include <OpenGL/glx.h>
7704       # else
7705       #  error no glx.h
7706       # endif
7707
7708Source Code
7709***********
7710
7711Download the latest version of 'ax_check_glx.m4'
7712(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_glx.m4)
7713or browse the macro's revision history
7714(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_glx.m4).
7715
7716License
7717*******
7718
7719Copyright (C) 2009 Braden McDaniel <braden@endoframe.com>
7720Copyright (C) 2013-2014 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
7721
7722This program is free software; you can redistribute it and/or modify it
7723under the terms of the GNU General Public License as published by the
7724Free Software Foundation; either version 2 of the License, or (at your
7725option) any later version.
7726
7727This program is distributed in the hope that it will be useful, but
7728WITHOUT ANY WARRANTY; without even the implied warranty of
7729MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7730Public License for more details.
7731
7732You should have received a copy of the GNU General Public License along
7733with this program.  If not, see <https://www.gnu.org/licenses/>.
7734
7735As a special exception, the respective Autoconf Macro's copyright owner
7736gives unlimited permission to copy, distribute and modify the configure
7737scripts that are the output of Autoconf when processing the Macro.  You
7738need not follow the terms of the GNU General Public License when using
7739or distributing such scripts, even though portions of the text of the
7740Macro appear in them.  The GNU General Public License (GPL) does govern
7741all other use of the material that constitutes the Autoconf Macro.
7742
7743This special exception to the GPL applies to versions of the Autoconf
7744Macro released by the Autoconf Archive.  When you make and distribute a
7745modified version of the Autoconf Macro, you may extend this special
7746exception to the GPL to apply to your modified version as well.
7747
7748
7749File: autoconf-archive.info,  Node: ax_check_gnu_make,  Next: ax_check_icu,  Prev: ax_check_glx,  Up: The Macros
7750
7751ax_check_gnu_make
7752=================
7753
7754Synopsis
7755********
7756
7757     AX_CHECK_GNU_MAKE([run-if-true],[run-if-false])
7758
7759Description
7760***********
7761
7762This macro searches for a GNU version of make.  If a match is found:
7763
7764       * The makefile variable `ifGNUmake' is set to the empty string, otherwise
7765         it is set to "#". This is useful for including a special features in a
7766         Makefile, which cannot be handled by other versions of make.
7767       * The makefile variable `ifnGNUmake' is set to #, otherwise
7768         it is set to the empty string. This is useful for including a special
7769         features in a Makefile, which can be handled
7770         by other versions of make or to specify else like clause.
7771       * The variable `_cv_gnu_make_command` is set to the command to invoke
7772         GNU make if it exists, the empty string otherwise.
7773       * The variable `ax_cv_gnu_make_command` is set to the command to invoke
7774         GNU make by copying `_cv_gnu_make_command`, otherwise it is unset.
7775       * If GNU Make is found, its version is extracted from the output of
7776         `make --version` as the last field of a record of space-separated
7777         columns and saved into the variable `ax_check_gnu_make_version`.
7778       * Additionally if GNU Make is found, run shell code run-if-true
7779         else run shell code run-if-false.
7780
7781Here is an example of its use:
7782
7783Makefile.in might contain:
7784
7785       # A failsafe way of putting a dependency rule into a makefile
7786       $(DEPEND):
7787               $(CC) -MM $(srcdir)/*.c > $(DEPEND)
7788
7789       @ifGNUmake@ ifeq ($(DEPEND),$(wildcard $(DEPEND)))
7790       @ifGNUmake@ include $(DEPEND)
7791       @ifGNUmake@ else
7792       fallback code
7793       @ifGNUmake@ endif
7794
7795Then configure.in would normally contain:
7796
7797       AX_CHECK_GNU_MAKE()
7798       AC_OUTPUT(Makefile)
7799
7800Then perhaps to cause gnu make to override any other make, we could do
7801something like this (note that GNU make always looks for GNUmakefile
7802first):
7803
7804       if  ! test x$_cv_gnu_make_command = x ; then
7805               mv Makefile GNUmakefile
7806               echo .DEFAULT: > Makefile ;
7807               echo \  $_cv_gnu_make_command \$@ >> Makefile;
7808       fi
7809
7810Then, if any (well almost any) other make is called, and GNU make also
7811exists, then the other make wraps the GNU make.
7812
7813Source Code
7814***********
7815
7816Download the latest version of 'ax_check_gnu_make.m4'
7817(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gnu_make.m4)
7818or browse the macro's revision history
7819(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_gnu_make.m4).
7820
7821License
7822*******
7823
7824Copyright (C) 2008 John Darrington <j.darrington@elvis.murdoch.edu.au>
7825Copyright (C) 2015 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
7826
7827Copying and distribution of this file, with or without modification, are
7828permitted in any medium without royalty provided the copyright notice
7829and this notice are preserved.  This file is offered as-is, without any
7830warranty.
7831
7832
7833File: autoconf-archive.info,  Node: ax_check_icu,  Next: ax_check_java_home,  Prev: ax_check_gnu_make,  Up: The Macros
7834
7835ax_check_icu
7836============
7837
7838Synopsis
7839********
7840
7841     AX_CHECK_ICU(version, action-if, action-if-not)
7842
7843Description
7844***********
7845
7846Defines ICU_LIBS, ICU_CFLAGS, ICU_CXXFLAGS. See icu-config(1) man page.
7847
7848Source Code
7849***********
7850
7851Download the latest version of 'ax_check_icu.m4'
7852(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_icu.m4)
7853or browse the macro's revision history
7854(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_icu.m4).
7855
7856License
7857*******
7858
7859Copyright (C) 2008 Akos Maroy <darkeye@tyrell.hu>
7860
7861Copying and distribution of this file, with or without modification, are
7862permitted in any medium without royalty provided the copyright notice
7863and this notice are preserved.  This file is offered as-is, without any
7864warranty.
7865
7866
7867File: autoconf-archive.info,  Node: ax_check_java_home,  Next: ax_check_java_plugin,  Prev: ax_check_icu,  Up: The Macros
7868
7869ax_check_java_home
7870==================
7871
7872Synopsis
7873********
7874
7875     AX_CHECK_JAVA_HOME
7876
7877Description
7878***********
7879
7880Check for Sun Java (JDK / JRE) installation, where the 'java' VM is in.
7881If found, set environment variable JAVA_HOME = Java installation home,
7882else left JAVA_HOME untouch, which in most case means JAVA_HOME is
7883empty.
7884
7885Source Code
7886***********
7887
7888Download the latest version of 'ax_check_java_home.m4'
7889(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_java_home.m4)
7890or browse the macro's revision history
7891(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_java_home.m4).
7892
7893License
7894*******
7895
7896Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
7897
7898This program is free software; you can redistribute it and/or modify it
7899under the terms of the GNU General Public License as published by the
7900Free Software Foundation; either version 2 of the License, or (at your
7901option) any later version.
7902
7903This program is distributed in the hope that it will be useful, but
7904WITHOUT ANY WARRANTY; without even the implied warranty of
7905MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7906Public License for more details.
7907
7908You should have received a copy of the GNU General Public License along
7909with this program.  If not, see <https://www.gnu.org/licenses/>.
7910
7911As a special exception, the respective Autoconf Macro's copyright owner
7912gives unlimited permission to copy, distribute and modify the configure
7913scripts that are the output of Autoconf when processing the Macro.  You
7914need not follow the terms of the GNU General Public License when using
7915or distributing such scripts, even though portions of the text of the
7916Macro appear in them.  The GNU General Public License (GPL) does govern
7917all other use of the material that constitutes the Autoconf Macro.
7918
7919This special exception to the GPL applies to versions of the Autoconf
7920Macro released by the Autoconf Archive.  When you make and distribute a
7921modified version of the Autoconf Macro, you may extend this special
7922exception to the GPL to apply to your modified version as well.
7923
7924
7925File: autoconf-archive.info,  Node: ax_check_java_plugin,  Next: ax_check_junit,  Prev: ax_check_java_home,  Up: The Macros
7926
7927ax_check_java_plugin
7928====================
7929
7930Synopsis
7931********
7932
7933     AX_CHECK_JAVA_PLUGIN(<shell-variable>)
7934
7935Description
7936***********
7937
7938This macro sets <shell-variable> to empty on failure and to a compatible
7939version of plugin.jar otherwise.  Directories searched are /usr/java/*
7940and /usr/local/java/*, which are assumed to be j{dk,re} installations.
7941Apply the shell variable as you see fit.  If sun changes things so
7942<jre>/lib/plugin.jar is not the magic file it will stop working.
7943
7944This macro assumes that unzip, zipinfo or pkzipc is available (and can
7945list the contents of the jar archive).  The first two are assumed to
7946work similarly enough to the infozip versions.  The pkzipc version is
7947assumed to work if I understand the documentation on pkware's site but
7948YMMV. I do not have access to pwkware's version to test it.
7949
7950Source Code
7951***********
7952
7953Download the latest version of 'ax_check_java_plugin.m4'
7954(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_java_plugin.m4)
7955or browse the macro's revision history
7956(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_java_plugin.m4).
7957
7958License
7959*******
7960
7961Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
7962
7963This program is free software; you can redistribute it and/or modify it
7964under the terms of the GNU General Public License as published by the
7965Free Software Foundation; either version 2 of the License, or (at your
7966option) any later version.
7967
7968This program is distributed in the hope that it will be useful, but
7969WITHOUT ANY WARRANTY; without even the implied warranty of
7970MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
7971Public License for more details.
7972
7973You should have received a copy of the GNU General Public License along
7974with this program.  If not, see <https://www.gnu.org/licenses/>.
7975
7976As a special exception, the respective Autoconf Macro's copyright owner
7977gives unlimited permission to copy, distribute and modify the configure
7978scripts that are the output of Autoconf when processing the Macro.  You
7979need not follow the terms of the GNU General Public License when using
7980or distributing such scripts, even though portions of the text of the
7981Macro appear in them.  The GNU General Public License (GPL) does govern
7982all other use of the material that constitutes the Autoconf Macro.
7983
7984This special exception to the GPL applies to versions of the Autoconf
7985Macro released by the Autoconf Archive.  When you make and distribute a
7986modified version of the Autoconf Macro, you may extend this special
7987exception to the GPL to apply to your modified version as well.
7988
7989
7990File: autoconf-archive.info,  Node: ax_check_junit,  Next: ax_check_library,  Prev: ax_check_java_plugin,  Up: The Macros
7991
7992ax_check_junit
7993==============
7994
7995Synopsis
7996********
7997
7998     AX_CHECK_JUNIT
7999
8000Description
8001***********
8002
8003AX_CHECK_JUNIT tests the availability of the Junit testing framework,
8004and set some variables for conditional compilation of the test suite by
8005automake.
8006
8007If available, JUNIT is set to a command launching the text based user
8008interface of Junit, @JAVA_JUNIT@ is set to $JAVA_JUNIT and @TESTS_JUNIT@
8009is set to $TESTS_JUNIT, otherwise they are set to empty values.
8010
8011You can use these variables in your Makefile.am file like this :
8012
8013      # Some of the following classes are built only if junit is available
8014      JAVA_JUNIT  = Class1Test.java Class2Test.java AllJunitTests.java
8015
8016      noinst_JAVA = Example1.java Example2.java @JAVA_JUNIT@
8017
8018      EXTRA_JAVA  = $(JAVA_JUNIT)
8019
8020      TESTS_JUNIT = AllJunitTests
8021
8022      TESTS       = StandaloneTest1 StandaloneTest2 @TESTS_JUNIT@
8023
8024      EXTRA_TESTS = $(TESTS_JUNIT)
8025
8026      AllJunitTests :
8027         echo "#! /bin/sh" > $@
8028         echo "exec @JUNIT@ my.package.name.AllJunitTests" >> $@
8029         chmod +x $@
8030
8031Source Code
8032***********
8033
8034Download the latest version of 'ax_check_junit.m4'
8035(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_junit.m4)
8036or browse the macro's revision history
8037(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_junit.m4).
8038
8039License
8040*******
8041
8042Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
8043
8044Copying and distribution of this file, with or without modification, are
8045permitted in any medium without royalty provided the copyright notice
8046and this notice are preserved.  This file is offered as-is, without any
8047warranty.
8048
8049
8050File: autoconf-archive.info,  Node: ax_check_library,  Next: ax_check_link_flag,  Prev: ax_check_junit,  Up: The Macros
8051
8052ax_check_library
8053================
8054
8055Synopsis
8056********
8057
8058     AX_CHECK_LIBRARY(VARIABLE-PREFIX, HEADER-FILE, LIBRARY-FILE,
8059                      [ACTION-IF-FOUND], [ACTION-IF-NOT_FOUND])
8060
8061Description
8062***********
8063
8064Provides a generic test for a given library, similar in concept to the
8065PKG_CHECK_MODULES macro used by pkg-config.
8066
8067Most simplest libraries can be checked against simply through the
8068presence of a header file and a library to link to.  This macro allows
8069to wrap around the test so that it doesn't have to be recreated each
8070time.
8071
8072Rather than define -with-$LIBRARY arguments, it uses variables in the
8073same way that PKG_CHECK_MODULES does.  It doesn't, though, use the same
8074names, since you shouldn't provide a value for LIBS or CFLAGS but rather
8075for LDFLAGS and CPPFLAGS, to tell the linker and compiler where to find
8076libraries and headers respectively.
8077
8078If the library is find, HAVE_PREFIX is defined, and in all cases
8079PREFIX_LDFLAGS and PREFIX_CPPFLAGS are substituted.
8080
8081Example:
8082
8083       AX_CHECK_LIBRARY([LIBEVENT], [event.h], [event], [],
8084                        [AC_MSG_ERROR([Unable to find libevent])])
8085
8086Source Code
8087***********
8088
8089Download the latest version of 'ax_check_library.m4'
8090(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_library.m4)
8091or browse the macro's revision history
8092(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_library.m4).
8093
8094License
8095*******
8096
8097Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
8098
8099This program is free software: you can redistribute it and/or modify it
8100under the terms of the GNU General Public License as published by the
8101Free Software Foundation, either version 3 of the License, or (at your
8102option) any later version.
8103
8104This program is distributed in the hope that it will be useful, but
8105WITHOUT ANY WARRANTY; without even the implied warranty of
8106MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8107Public License for more details.
8108
8109You should have received a copy of the GNU General Public License along
8110with this program.  If not, see <https://www.gnu.org/licenses/>.
8111
8112As a special exception, the respective Autoconf Macro's copyright owner
8113gives unlimited permission to copy, distribute and modify the configure
8114scripts that are the output of Autoconf when processing the Macro.  You
8115need not follow the terms of the GNU General Public License when using
8116or distributing such scripts, even though portions of the text of the
8117Macro appear in them.  The GNU General Public License (GPL) does govern
8118all other use of the material that constitutes the Autoconf Macro.
8119
8120This special exception to the GPL applies to versions of the Autoconf
8121Macro released by the Autoconf Archive.  When you make and distribute a
8122modified version of the Autoconf Macro, you may extend this special
8123exception to the GPL to apply to your modified version as well.
8124
8125
8126File: autoconf-archive.info,  Node: ax_check_link_flag,  Next: ax_check_mysql,  Prev: ax_check_library,  Up: The Macros
8127
8128ax_check_link_flag
8129==================
8130
8131Synopsis
8132********
8133
8134     AX_CHECK_LINK_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
8135
8136Description
8137***********
8138
8139Check whether the given FLAG works with the linker or gives an error.
8140(Warnings, however, are ignored)
8141
8142ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
8143success/failure.
8144
8145If EXTRA-FLAGS is defined, it is added to the linker's default flags
8146when the check is done.  The check is thus made with the flags: "LDFLAGS
8147EXTRA-FLAGS FLAG". This can for example be used to force the linker to
8148issue an error when a bad flag is given.
8149
8150INPUT gives an alternative input source to AC_LINK_IFELSE.
8151
8152NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
8153macro in sync with AX_CHECK_{PREPROC,COMPILE}_FLAG.
8154
8155Source Code
8156***********
8157
8158Download the latest version of 'ax_check_link_flag.m4'
8159(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_link_flag.m4)
8160or browse the macro's revision history
8161(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_link_flag.m4).
8162
8163License
8164*******
8165
8166Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
8167Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
8168
8169Copying and distribution of this file, with or without modification, are
8170permitted in any medium without royalty provided the copyright notice
8171and this notice are preserved.  This file is offered as-is, without any
8172warranty.
8173
8174
8175File: autoconf-archive.info,  Node: ax_check_mysql,  Next: ax_check_mysql_db,  Prev: ax_check_link_flag,  Up: The Macros
8176
8177ax_check_mysql
8178==============
8179
8180Synopsis
8181********
8182
8183     AX_CHECK_MYSQL([MYSQL-PLUGIN-NEEDED],[MYSQL-REQUIRED],[MINIMUM-VERSION],[INCLUDES-REQUIRED])
8184     AX_SOURCE_MYSQL()
8185     AX_CHECK_MYSQL_INSTALL([ROOT-DIR],[IF-FOUND],[IF-NOT-FOUND])
8186
8187Description
8188***********
8189
8190Looks for a MySQL installation in typical locations, or can take in a
8191flag designating where a MySQL installation is found.  Sets the
8192variables stated to various attributes of the desired MySQL
8193installation.
8194
8195In detail, AX_CHECK_MYSQL will automatically look for a MySQL
8196installation in the directories that a mysql source or binary install
8197typically install to.  AX_CHECK_MYSQL will throw an error if it cannot
8198find one, and it is required.
8199
8200AX_CHECK_MYSQL can also check for specific variables passed regarding a
8201location of a MySQL installation.
8202
8203If a MySQL installation is found, AX_CHECK_MYSQL sets variables
8204regarding the version of MySQL, its architecture (32 or 64 bit), and
8205whether the version supports Plugins.
8206
8207AX_CHECK_MYSQL_INSTALL will check a designated root directory for a
8208command, plugin, and include directory.  If a mysql binary is not found
8209or not found, the IF-FOUND and IF-NOT-FOUND directive will be executed,
8210respectively.
8211
8212AX_CHECK_MYSQL adds the following flags:
8213
8214       --with-mysql, for the root of a desired MySQL installation
8215       --with-mysql-plugin, for the path to the plugin directory of the MySQL installation
8216       --with-mysql-include, for the path to the include directory of the MySQL installation
8217       --with-mysql-command, for the path to the binary directory of the MySQL installation
8218       --with-mysql-source, for the path to a directory containing the source of the MySQL installation
8219
8220AX_CHECK_MYSQL sets:
8221
8222       MYSQL to indicate whether MySQL was found or not
8223       MYSQL_INCLUDES to the include directory (if one exists)
8224       MYSQL_PLUGINS  to the plugin directory
8225       MYSQL_COMMANDS  to the mysql executable directory
8226       MYSQL_ARCHITECTURE to whether MySQL is 32 or 64 bit (32 if 32, 64 if 64)
8227       MYSQL_VERSION to what the MySQL version is (5.1,5.5, etc)
8228       MYSQL_PLUGIN_OK to whether MySQL version supports plugins (5.1 or greater)
8229       MYSQL_55 to whether the version of MySQL is 5.5 or greater
8230       MYSQL_SOURCE  to the source directory passed by --with-mysql-source
8231
8232Source Code
8233***********
8234
8235Download the latest version of 'ax_check_mysql.m4'
8236(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_mysql.m4)
8237or browse the macro's revision history
8238(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_mysql.m4).
8239
8240License
8241*******
8242
8243Copyright (C) 2011 University of Washington
8244Copyright (C) 2011 Yusuke Tsutsumi <tsutsumi.yusuke@gmail.com>
8245Copyright (C) 2011 Craig Stimmel <cstimmel@uw.edu>
8246Copyright (C) 2011 Eric Wu
8247
8248Copying and distribution of this file, with or without modification, are
8249permitted in any medium without royalty provided the copyright notice
8250and this notice are preserved.  This file is offered as-is, without any
8251warranty.
8252
8253
8254File: autoconf-archive.info,  Node: ax_check_mysql_db,  Next: ax_check_mysqlr,  Prev: ax_check_mysql,  Up: The Macros
8255
8256ax_check_mysql_db
8257=================
8258
8259Synopsis
8260********
8261
8262     AX_CHECK_MYSQL_DB
8263
8264Description
8265***********
8266
8267Check if the specified MySQL database exists, if yes set your
8268environment variable to that database name else unset your environment
8269variable
8270
8271Example:
8272
8273       AX_CHECK_MYSQL_DB(DBNAME, [fishmarket])
8274       if test x$DBNAME = xfishmarket; then
8275           bla..bla..bla..
8276       else
8277           bla..bla..bla..
8278       fi
8279
8280Source Code
8281***********
8282
8283Download the latest version of 'ax_check_mysql_db.m4'
8284(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_mysql_db.m4)
8285or browse the macro's revision history
8286(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_mysql_db.m4).
8287
8288License
8289*******
8290
8291Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
8292
8293This program is free software; you can redistribute it and/or modify it
8294under the terms of the GNU General Public License as published by the
8295Free Software Foundation; either version 2 of the License, or (at your
8296option) any later version.
8297
8298This program is distributed in the hope that it will be useful, but
8299WITHOUT ANY WARRANTY; without even the implied warranty of
8300MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8301Public License for more details.
8302
8303You should have received a copy of the GNU General Public License along
8304with this program.  If not, see <https://www.gnu.org/licenses/>.
8305
8306As a special exception, the respective Autoconf Macro's copyright owner
8307gives unlimited permission to copy, distribute and modify the configure
8308scripts that are the output of Autoconf when processing the Macro.  You
8309need not follow the terms of the GNU General Public License when using
8310or distributing such scripts, even though portions of the text of the
8311Macro appear in them.  The GNU General Public License (GPL) does govern
8312all other use of the material that constitutes the Autoconf Macro.
8313
8314This special exception to the GPL applies to versions of the Autoconf
8315Macro released by the Autoconf Archive.  When you make and distribute a
8316modified version of the Autoconf Macro, you may extend this special
8317exception to the GPL to apply to your modified version as well.
8318
8319
8320File: autoconf-archive.info,  Node: ax_check_mysqlr,  Next: ax_check_off64_t,  Prev: ax_check_mysql_db,  Up: The Macros
8321
8322ax_check_mysqlr
8323===============
8324
8325Synopsis
8326********
8327
8328     AX_CHECK_MYSQLR
8329
8330Description
8331***********
8332
8333First check if mysqlconfig exists.  It fails if mysqlconfig is not in
8334path.  Then it checks for the libraries and replaces -lmysqlclient
8335statement with -lmysqlclient_r statement, to enable threaded client
8336library.
8337
8338The following are exported environment variables:
8339
8340       MYSQL_LIBS
8341       MYSQL_CFLAGS
8342
8343Source Code
8344***********
8345
8346Download the latest version of 'ax_check_mysqlr.m4'
8347(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_mysqlr.m4)
8348or browse the macro's revision history
8349(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_mysqlr.m4).
8350
8351License
8352*******
8353
8354Copyright (C) 2008 Can Bican <bican@yahoo.com>
8355
8356Copying and distribution of this file, with or without modification, are
8357permitted in any medium without royalty provided the copyright notice
8358and this notice are preserved.  This file is offered as-is, without any
8359warranty.
8360
8361
8362File: autoconf-archive.info,  Node: ax_check_off64_t,  Next: ax_check_openssl,  Prev: ax_check_mysqlr,  Up: The Macros
8363
8364ax_check_off64_t
8365================
8366
8367Synopsis
8368********
8369
8370     AX_CHECK_OFF64_T
8371
8372Description
8373***********
8374
8375Check if off64_t is defined.  On true define HAVE_OFF64_T, also define
8376__LARGEFILE64_SOURCE where one is needed.  (Note that an appropriative
8377entry must be in config.h.in.)
8378
8379Source Code
8380***********
8381
8382Download the latest version of 'ax_check_off64_t.m4'
8383(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_off64_t.m4)
8384or browse the macro's revision history
8385(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_off64_t.m4).
8386
8387License
8388*******
8389
8390Copyright (C) 2008 Ruslan Shevchenko <Ruslan@Shevchenko.Kiev.UA>
8391
8392Copying and distribution of this file, with or without modification, are
8393permitted in any medium without royalty provided the copyright notice
8394and this notice are preserved.  This file is offered as-is, without any
8395warranty.
8396
8397
8398File: autoconf-archive.info,  Node: ax_check_openssl,  Next: ax_check_page_aligned_malloc,  Prev: ax_check_off64_t,  Up: The Macros
8399
8400ax_check_openssl
8401================
8402
8403Synopsis
8404********
8405
8406     AX_CHECK_OPENSSL([action-if-found[, action-if-not-found]])
8407
8408Description
8409***********
8410
8411Look for OpenSSL in a number of default spots, or in a user-selected
8412spot (via -with-openssl).  Sets
8413
8414       OPENSSL_INCLUDES to the include directives required
8415       OPENSSL_LIBS to the -l directives required
8416       OPENSSL_LDFLAGS to the -L or -R flags required
8417
8418and calls ACTION-IF-FOUND or ACTION-IF-NOT-FOUND appropriately
8419
8420This macro sets OPENSSL_INCLUDES such that source files should use the
8421openssl/ directory in include directives:
8422
8423       #include <openssl/hmac.h>
8424
8425Source Code
8426***********
8427
8428Download the latest version of 'ax_check_openssl.m4'
8429(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_openssl.m4)
8430or browse the macro's revision history
8431(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_openssl.m4).
8432
8433License
8434*******
8435
8436Copyright (C) 2009,2010 Zmanda Inc. <http://www.zmanda.com/>
8437Copyright (C) 2009,2010 Dustin J. Mitchell <dustin@zmanda.com>
8438
8439Copying and distribution of this file, with or without modification, are
8440permitted in any medium without royalty provided the copyright notice
8441and this notice are preserved.  This file is offered as-is, without any
8442warranty.
8443
8444
8445File: autoconf-archive.info,  Node: ax_check_page_aligned_malloc,  Next: ax_check_pathfind,  Prev: ax_check_openssl,  Up: The Macros
8446
8447ax_check_page_aligned_malloc
8448============================
8449
8450Synopsis
8451********
8452
8453     AX_CHECK_PAGE_ALIGNED_MALLOC
8454
8455Description
8456***********
8457
8458Some operating systems (generally, BSD Unix variants) lack a
8459posix_memalign function, a memalign function, and a working (meaning,
8460the memory can be freed) valloc function.  To make up for it, the malloc
8461function promises to return page-aligned addresses if more than one
8462page's worth of memory is allocated.  AX_CHECK_PAGE_ALIGNED_MALLOC
8463checks for this condition and defines HAVE_PAGE_ALIGNED_MALLOC if the
8464condition holds.
8465
8466As an aside, note that valloc'd memory cannot safely be freed on all
8467operating systems.  (Again, some flavors of BSD are the troublemakers.)
8468It's best to avoid using valloc in favor of posix_memalign, memalign, or
8469an aligned malloc as detected by AX_CHECK_PAGE_ALIGNED_MALLOC.
8470
8471Caveat: AX_CHECK_PAGE_ALIGNED_MALLOC takes a probabilistic approach.  If
8472100 calls to malloc all return page-aligned addresses, it assumes that
8473all calls will behave likewise.  It is therefore possible - albeit
8474extremely unlikely - that AX_CHECK_PAGE_ALIGNED_MALLOC can return a
8475false positive.
8476
8477Source Code
8478***********
8479
8480Download the latest version of 'ax_check_page_aligned_malloc.m4'
8481(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_page_aligned_malloc.m4)
8482or browse the macro's revision history
8483(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_page_aligned_malloc.m4).
8484
8485License
8486*******
8487
8488Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
8489
8490Copying and distribution of this file, with or without modification, are
8491permitted in any medium without royalty provided the copyright notice
8492and this notice are preserved.  This file is offered as-is, without any
8493warranty.
8494
8495
8496File: autoconf-archive.info,  Node: ax_check_pathfind,  Next: ax_check_pathname_style,  Prev: ax_check_page_aligned_malloc,  Up: The Macros
8497
8498ax_check_pathfind
8499=================
8500
8501Synopsis
8502********
8503
8504     AX_CHECK_PATHFIND
8505
8506Description
8507***********
8508
8509Not all systems have pathfind(3).  See if we need to substitute.  To
8510make this work, you have to do horrible things.  See the doc for
8511AX_CHECK_STRCSPN.
8512
8513Source Code
8514***********
8515
8516Download the latest version of 'ax_check_pathfind.m4'
8517(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pathfind.m4)
8518or browse the macro's revision history
8519(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pathfind.m4).
8520
8521License
8522*******
8523
8524Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
8525
8526Copying and distribution of this file, with or without modification, are
8527permitted in any medium without royalty provided the copyright notice
8528and this notice are preserved.  This file is offered as-is, without any
8529warranty.
8530
8531
8532File: autoconf-archive.info,  Node: ax_check_pathname_style,  Next: ax_check_pgsql_db,  Prev: ax_check_pathfind,  Up: The Macros
8533
8534ax_check_pathname_style
8535=======================
8536
8537Synopsis
8538********
8539
8540     AX_CHECK_PATHNAME_STYLE_DOS
8541
8542Description
8543***********
8544
8545Check if host OS uses DOS-style pathnames.  This includes the use of
8546drive letters and backslashes.  Under DOS, Windows, and OS/2, defines
8547HAVE_PATHNAME_STYLE_DOS and PATH_SEPARATOR to ';'.  Otherwise, defines
8548PATH_SEPARATOR to ':'.
8549
8550This macro depends on the AC_CANONICAL_HOST.
8551
8552Use for enabling code to handle drive letters, backslashes in filenames
8553and semicolons in the PATH.
8554
8555Source Code
8556***********
8557
8558Download the latest version of 'ax_check_pathname_style.m4'
8559(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pathname_style.m4)
8560or browse the macro's revision history
8561(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pathname_style.m4).
8562
8563License
8564*******
8565
8566Copyright (C) 2008 Mark Elbrecht
8567
8568This program is free software; you can redistribute it and/or modify it
8569under the terms of the GNU General Public License as published by the
8570Free Software Foundation; either version 2 of the License, or (at your
8571option) any later version.
8572
8573This program is distributed in the hope that it will be useful, but
8574WITHOUT ANY WARRANTY; without even the implied warranty of
8575MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8576Public License for more details.
8577
8578You should have received a copy of the GNU General Public License along
8579with this program.  If not, see <https://www.gnu.org/licenses/>.
8580
8581As a special exception, the respective Autoconf Macro's copyright owner
8582gives unlimited permission to copy, distribute and modify the configure
8583scripts that are the output of Autoconf when processing the Macro.  You
8584need not follow the terms of the GNU General Public License when using
8585or distributing such scripts, even though portions of the text of the
8586Macro appear in them.  The GNU General Public License (GPL) does govern
8587all other use of the material that constitutes the Autoconf Macro.
8588
8589This special exception to the GPL applies to versions of the Autoconf
8590Macro released by the Autoconf Archive.  When you make and distribute a
8591modified version of the Autoconf Macro, you may extend this special
8592exception to the GPL to apply to your modified version as well.
8593
8594
8595File: autoconf-archive.info,  Node: ax_check_pgsql_db,  Next: ax_check_posix_regcomp,  Prev: ax_check_pathname_style,  Up: The Macros
8596
8597ax_check_pgsql_db
8598=================
8599
8600Synopsis
8601********
8602
8603     AX_CHECK_PGSQL_DB([DB], [USER], [HOST], [PASSWORD], [ACTION_IF_FAILED], [ACTION_IF_OK])
8604
8605Description
8606***********
8607
8608This macro checks whether we can connect to a PostgreSQL server with the
8609given data.  The macro AX_PROG_PGCLIENT is required by this one.  The
8610variable $pgclient_call is set for later use in Makefiles, if you'd like
8611to make use of this, you must do
8612
8613       AC_SUBST(pgclient_call)
8614
8615after having called AX_CHECK_PGSQL_DB. You can then do something like
8616the following in your Makefile.am:
8617
8618       @pgclient_call@ -f file.sql
8619
8620If you want the user to set the data, you should support something like
8621these configure options:
8622
8623       AC_ARG_WITH(pgsql-host,
8624               [  --with-pgsql-host=HOST               server is running on HOST @<:@local socket@:>@],
8625               [pg_host=$withval], [pg_host=])
8626
8627       AC_ARG_WITH(pgsql-db,
8628               [  --with-pgsql-db=DATABASE             use DATABASE @<:@tarantoola@:>@],
8629               [pg_db=$withval], [pg_db=tarantoola])
8630
8631       AC_ARG_WITH(pgsql-user,
8632               [  --with-pgsql-user=USER               use USER @<:@postgres@:>@],
8633               [pg_user=$withval], [pg_user=postgres])
8634
8635       AC_ARG_WITH(pgsql-password,
8636               [  --with-pgsql-password=PASSWORD       use PASSWORD @<:@none@:>@],
8637               [pg_password=$withval], [pg_password=""])
8638
8639You can then call the macro like this:
8640
8641       AX_CHECK_PGSQL_DB([$pg_db], [$pg_user], [$pg_host], [$pg_password], [AC_MSG_ERROR([We need a database connection!])])
8642
8643Source Code
8644***********
8645
8646Download the latest version of 'ax_check_pgsql_db.m4'
8647(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_pgsql_db.m4)
8648or browse the macro's revision history
8649(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_pgsql_db.m4).
8650
8651License
8652*******
8653
8654Copyright (C) 2008 Moritz Sinn <moritz@freesources.org>
8655
8656This program is free software; you can redistribute it and/or modify it
8657under the terms of the GNU General Public License as published by the
8658Free Software Foundation; either version 2 of the License, or (at your
8659option) any later version.
8660
8661This program is distributed in the hope that it will be useful, but
8662WITHOUT ANY WARRANTY; without even the implied warranty of
8663MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8664Public License for more details.
8665
8666You should have received a copy of the GNU General Public License along
8667with this program.  If not, see <https://www.gnu.org/licenses/>.
8668
8669As a special exception, the respective Autoconf Macro's copyright owner
8670gives unlimited permission to copy, distribute and modify the configure
8671scripts that are the output of Autoconf when processing the Macro.  You
8672need not follow the terms of the GNU General Public License when using
8673or distributing such scripts, even though portions of the text of the
8674Macro appear in them.  The GNU General Public License (GPL) does govern
8675all other use of the material that constitutes the Autoconf Macro.
8676
8677This special exception to the GPL applies to versions of the Autoconf
8678Macro released by the Autoconf Archive.  When you make and distribute a
8679modified version of the Autoconf Macro, you may extend this special
8680exception to the GPL to apply to your modified version as well.
8681
8682
8683File: autoconf-archive.info,  Node: ax_check_posix_regcomp,  Next: ax_check_posix_sysinfo,  Prev: ax_check_pgsql_db,  Up: The Macros
8684
8685ax_check_posix_regcomp
8686======================
8687
8688Synopsis
8689********
8690
8691     AX_CHECK_POSIX_REGCOMP
8692
8693Description
8694***********
8695
8696Check that the POSIX compliant regular expression compiler is available
8697in the POSIX specified manner, and it works.  If it fails, we have a
8698backup - use gnu-regex.
8699
8700Source Code
8701***********
8702
8703Download the latest version of 'ax_check_posix_regcomp.m4'
8704(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_posix_regcomp.m4)
8705or browse the macro's revision history
8706(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_posix_regcomp.m4).
8707
8708License
8709*******
8710
8711Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
8712
8713Copying and distribution of this file, with or without modification, are
8714permitted in any medium without royalty provided the copyright notice
8715and this notice are preserved.  This file is offered as-is, without any
8716warranty.
8717
8718
8719File: autoconf-archive.info,  Node: ax_check_posix_sysinfo,  Next: ax_check_postgres_db,  Prev: ax_check_posix_regcomp,  Up: The Macros
8720
8721ax_check_posix_sysinfo
8722======================
8723
8724Synopsis
8725********
8726
8727     AX_CHECK_POSIX_SYSINFO
8728
8729Description
8730***********
8731
8732Check that the POSIX compliant sysinfo(2) call works properly.  Linux
8733has its own weirdo alternative.
8734
8735Source Code
8736***********
8737
8738Download the latest version of 'ax_check_posix_sysinfo.m4'
8739(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_posix_sysinfo.m4)
8740or browse the macro's revision history
8741(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_posix_sysinfo.m4).
8742
8743License
8744*******
8745
8746Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
8747
8748Copying and distribution of this file, with or without modification, are
8749permitted in any medium without royalty provided the copyright notice
8750and this notice are preserved.  This file is offered as-is, without any
8751warranty.
8752
8753
8754File: autoconf-archive.info,  Node: ax_check_postgres_db,  Next: ax_check_preproc_flag,  Prev: ax_check_posix_sysinfo,  Up: The Macros
8755
8756ax_check_postgres_db
8757====================
8758
8759Synopsis
8760********
8761
8762     AX_CHECK_POSTGRES_DB([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
8763
8764Description
8765***********
8766
8767This macro tries to find the headers and libraries for the PostgreSQL
8768database to build client applications.
8769
8770If includes are found, the variable PQINCPATH will be set, and
8771have_pqinc will be 'yes'.  If libraries are found, the variable
8772PQLIBPATH will be set, and have_pqlib will be 'yes'.  If both PQINCPATH
8773and PQLIBPATH are found, HAVE_LIBPQ will be set to 'yes' (and
8774AC_DEFINEd), and -lpq will be added to the beginning of LIBS. If their
8775respective conditions are not met, have_pqinc, have_pqlib, HAVE_LIBPQ,
8776will be 'no'.
8777
8778This macro does fails if either the headers or the library are not
8779found, unless ACTION-IF-NOT-FOUND is not empty.  When both are found,
8780ACTION-IF-FOUND, if defined, is executed after the variables have been
8781defined.  If -with-pgsql=no (or equivalents) is given, nothing happens.
8782
8783An automake conditional can be subsequently defined as
8784
8785       AM_CONDITIONAL([HAVE_LIBPQ], [test x$HAVE_LIBPQ = x$yes])
8786
8787in configure.ac.
8788
8789Source Code
8790***********
8791
8792Download the latest version of 'ax_check_postgres_db.m4'
8793(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_postgres_db.m4)
8794or browse the macro's revision history
8795(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_postgres_db.m4).
8796
8797License
8798*******
8799
8800Copyright (C) 2008 Christian Toepp <c.toepp@gmail.com>
8801Copyright (C) 2012 Olivier Mehani <shtrom-ax@ssji.net>
8802
8803Copying and distribution of this file, with or without modification, are
8804permitted in any medium without royalty provided the copyright notice
8805and this notice are preserved.  This file is offered as-is, without any
8806warranty.
8807
8808
8809File: autoconf-archive.info,  Node: ax_check_preproc_flag,  Next: ax_check_rqrd_class,  Prev: ax_check_postgres_db,  Up: The Macros
8810
8811ax_check_preproc_flag
8812=====================
8813
8814Synopsis
8815********
8816
8817     AX_CHECK_PREPROC_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT])
8818
8819Description
8820***********
8821
8822Check whether the given FLAG works with the current language's
8823preprocessor or gives an error.  (Warnings, however, are ignored)
8824
8825ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
8826success/failure.
8827
8828If EXTRA-FLAGS is defined, it is added to the preprocessor's default
8829flags when the check is done.  The check is thus made with the flags:
8830"CPPFLAGS EXTRA-FLAGS FLAG". This can for example be used to force the
8831preprocessor to issue an error when a bad flag is given.
8832
8833INPUT gives an alternative input source to AC_PREPROC_IFELSE.
8834
8835NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this
8836macro in sync with AX_CHECK_{COMPILE,LINK}_FLAG.
8837
8838Source Code
8839***********
8840
8841Download the latest version of 'ax_check_preproc_flag.m4'
8842(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_preproc_flag.m4)
8843or browse the macro's revision history
8844(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_preproc_flag.m4).
8845
8846License
8847*******
8848
8849Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
8850Copyright (C) 2011 Maarten Bosmans <mkbosmans@gmail.com>
8851
8852Copying and distribution of this file, with or without modification, are
8853permitted in any medium without royalty provided the copyright notice
8854and this notice are preserved.  This file is offered as-is, without any
8855warranty.
8856
8857
8858File: autoconf-archive.info,  Node: ax_check_rqrd_class,  Next: ax_check_sign,  Prev: ax_check_preproc_flag,  Up: The Macros
8859
8860ax_check_rqrd_class
8861===================
8862
8863Synopsis
8864********
8865
8866     AX_CHECK_RQRD_CLASS
8867
8868Description
8869***********
8870
8871AX_CHECK_RQRD_CLASS tests the existence of a given Java class, either in
8872a jar or in a '.class' file and fails if it doesn't exist.  Its success
8873or failure can depend on a proper setting of the CLASSPATH env.
8874variable.
8875
8876Note: This is part of the set of autoconf M4 macros for Java programs.
8877It is VERY IMPORTANT that you download the whole set, some macros depend
8878on other.  Unfortunately, the autoconf archive does not support the
8879concept of set of macros, so I had to break it for submission.  The
8880general documentation, as well as the sample configure.in, is included
8881in the AX_PROG_JAVA macro.
8882
8883Source Code
8884***********
8885
8886Download the latest version of 'ax_check_rqrd_class.m4'
8887(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_rqrd_class.m4)
8888or browse the macro's revision history
8889(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_rqrd_class.m4).
8890
8891License
8892*******
8893
8894Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
8895
8896This program is free software; you can redistribute it and/or modify it
8897under the terms of the GNU General Public License as published by the
8898Free Software Foundation; either version 2 of the License, or (at your
8899option) any later version.
8900
8901This program is distributed in the hope that it will be useful, but
8902WITHOUT ANY WARRANTY; without even the implied warranty of
8903MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
8904Public License for more details.
8905
8906You should have received a copy of the GNU General Public License along
8907with this program.  If not, see <https://www.gnu.org/licenses/>.
8908
8909As a special exception, the respective Autoconf Macro's copyright owner
8910gives unlimited permission to copy, distribute and modify the configure
8911scripts that are the output of Autoconf when processing the Macro.  You
8912need not follow the terms of the GNU General Public License when using
8913or distributing such scripts, even though portions of the text of the
8914Macro appear in them.  The GNU General Public License (GPL) does govern
8915all other use of the material that constitutes the Autoconf Macro.
8916
8917This special exception to the GPL applies to versions of the Autoconf
8918Macro released by the Autoconf Archive.  When you make and distribute a
8919modified version of the Autoconf Macro, you may extend this special
8920exception to the GPL to apply to your modified version as well.
8921
8922
8923File: autoconf-archive.info,  Node: ax_check_sign,  Next: ax_check_strcspn,  Prev: ax_check_rqrd_class,  Up: The Macros
8924
8925ax_check_sign
8926=============
8927
8928Synopsis
8929********
8930
8931     AX_CHECK_SIGN (TYPE, [ACTION-IF-SIGNED], [ACTION-IF-UNSIGNED], [INCLUDES])
8932
8933Description
8934***********
8935
8936Checks whether TYPE is signed or not.  If no INCLUDES are specified, the
8937default includes are used.  If ACTION-IF-SIGNED is given, it is
8938additional shell code to execute when the type is signed.  If
8939ACTION-IF-UNSIGNED is given, it is executed when the type is unsigned.
8940
8941This macro assumes that the type exists.  Therefore the existence of the
8942type should be checked before calling this macro.  For example:
8943
8944       AC_CHECK_HEADERS([wchar.h])
8945       AC_CHECK_TYPE([wchar_t],,[ AC_MSG_ERROR([Type wchar_t not found.]) ])
8946       AX_CHECK_SIGN([wchar_t],
8947         [ AC_DEFINE(WCHAR_T_SIGNED, 1, [Define if wchar_t is signed]) ],
8948         [ AC_DEFINE(WCHAR_T_UNSIGNED, 1, [Define if wchar_t is unsigned]) ], [
8949       #ifdef HAVE_WCHAR_H
8950       #include <wchar.h>
8951       #endif
8952       ])
8953
8954Source Code
8955***********
8956
8957Download the latest version of 'ax_check_sign.m4'
8958(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_sign.m4)
8959or browse the macro's revision history
8960(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_sign.m4).
8961
8962License
8963*******
8964
8965Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
8966
8967Copying and distribution of this file, with or without modification, are
8968permitted in any medium without royalty provided the copyright notice
8969and this notice are preserved.  This file is offered as-is, without any
8970warranty.
8971
8972
8973File: autoconf-archive.info,  Node: ax_check_strcspn,  Next: ax_check_strftime,  Prev: ax_check_sign,  Up: The Macros
8974
8975ax_check_strcspn
8976================
8977
8978Synopsis
8979********
8980
8981     AX_CHECK_STRCSPN
8982
8983Description
8984***********
8985
8986Not all systems have strcspn(3).  See if we need to substitute.  To make
8987this work, you have to do horrible things.  In one of your Makefile.am
8988files, you must make an explicit rule to make this object.  It should
8989look like this:
8990
8991       strcspn.lo : $(top_srcdir)/compat/strcspn.c
8992           $(LTCOMPILE) -o $@ -c $(top_srcdir)/compat/strcspn.c
8993
8994and you must include "@COMPATOBJ@" in a LIBADD somewhere and, finally,
8995you must add another artificial dependency, something like:
8996
8997       makeshell.lo : genshell.c @COMPATOBJ@
8998
8999It is all pretty horrific, but I have found nothing else that works.
9000
9001Source Code
9002***********
9003
9004Download the latest version of 'ax_check_strcspn.m4'
9005(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_strcspn.m4)
9006or browse the macro's revision history
9007(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_strcspn.m4).
9008
9009License
9010*******
9011
9012Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
9013
9014Copying and distribution of this file, with or without modification, are
9015permitted in any medium without royalty provided the copyright notice
9016and this notice are preserved.  This file is offered as-is, without any
9017warranty.
9018
9019
9020File: autoconf-archive.info,  Node: ax_check_strftime,  Next: ax_check_struct_for,  Prev: ax_check_strcspn,  Up: The Macros
9021
9022ax_check_strftime
9023=================
9024
9025Synopsis
9026********
9027
9028     AX_CHECK_STRFTIME
9029
9030Description
9031***********
9032
9033Check for existence and functioning of strftime routine.
9034
9035Source Code
9036***********
9037
9038Download the latest version of 'ax_check_strftime.m4'
9039(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_strftime.m4)
9040or browse the macro's revision history
9041(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_strftime.m4).
9042
9043License
9044*******
9045
9046Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
9047
9048Copying and distribution of this file, with or without modification, are
9049permitted in any medium without royalty provided the copyright notice
9050and this notice are preserved.  This file is offered as-is, without any
9051warranty.
9052
9053
9054File: autoconf-archive.info,  Node: ax_check_struct_for,  Next: ax_check_symbol,  Prev: ax_check_strftime,  Up: The Macros
9055
9056ax_check_struct_for
9057===================
9058
9059Synopsis
9060********
9061
9062     AX_CHECK_STRUCT_FOR(INCLUDES,STRUCT,MEMBER,DEFINE,[no])
9063
9064Description
9065***********
9066
9067Checks STRUCT for MEMBER and defines DEFINE if found.
9068
9069Source Code
9070***********
9071
9072Download the latest version of 'ax_check_struct_for.m4'
9073(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_struct_for.m4)
9074or browse the macro's revision history
9075(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_struct_for.m4).
9076
9077License
9078*******
9079
9080Copyright (C) 2008 Wes Hardaker <wjhardaker@ucdavis.edu>
9081
9082Copying and distribution of this file, with or without modification, are
9083permitted in any medium without royalty provided the copyright notice
9084and this notice are preserved.  This file is offered as-is, without any
9085warranty.
9086
9087
9088File: autoconf-archive.info,  Node: ax_check_symbol,  Next: ax_check_sys_siglist,  Prev: ax_check_struct_for,  Up: The Macros
9089
9090ax_check_symbol
9091===============
9092
9093Synopsis
9094********
9095
9096     AX_CHECK_SYMBOL(SYMBOL, HEADER... [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]])
9097
9098Description
9099***********
9100
9101A wrapper around AC_EGREP_HEADER. The shellvar $ac_found will hold the
9102HEADER-name that had been containing the symbol.  This value is shown to
9103the user.
9104
9105Source Code
9106***********
9107
9108Download the latest version of 'ax_check_symbol.m4'
9109(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_symbol.m4)
9110or browse the macro's revision history
9111(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_symbol.m4).
9112
9113License
9114*******
9115
9116Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
9117
9118Copying and distribution of this file, with or without modification, are
9119permitted in any medium without royalty provided the copyright notice
9120and this notice are preserved.  This file is offered as-is, without any
9121warranty.
9122
9123
9124File: autoconf-archive.info,  Node: ax_check_sys_siglist,  Next: ax_check_typedef,  Prev: ax_check_symbol,  Up: The Macros
9125
9126ax_check_sys_siglist
9127====================
9128
9129Synopsis
9130********
9131
9132     AX_CHECK_SYS_SIGLIST
9133
9134Description
9135***********
9136
9137Check for existence of global sys_siglist[].
9138
9139Source Code
9140***********
9141
9142Download the latest version of 'ax_check_sys_siglist.m4'
9143(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_sys_siglist.m4)
9144or browse the macro's revision history
9145(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_sys_siglist.m4).
9146
9147License
9148*******
9149
9150Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
9151
9152Copying and distribution of this file, with or without modification, are
9153permitted in any medium without royalty provided the copyright notice
9154and this notice are preserved.  This file is offered as-is, without any
9155warranty.
9156
9157
9158File: autoconf-archive.info,  Node: ax_check_typedef,  Next: ax_check_uname_syscall,  Prev: ax_check_sys_siglist,  Up: The Macros
9159
9160ax_check_typedef
9161================
9162
9163Synopsis
9164********
9165
9166     AX_CHECK_TYPEDEF(TYPEDEF, HEADER [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]])
9167
9168Description
9169***********
9170
9171Check if the given typedef-name is recognized as a type.  The trick is
9172to use a sizeof(TYPEDEF) and see if the compiler is happy with that.
9173
9174This can be thought of as a mixture of AC_CHECK_TYPE(TYPEDEF,DEFAULT)
9175and AC_CHECK_LIB(LIBRARY,FUNCTION,ACTION-IF-FOUND,ACTION-IF-NOT-FOUND).
9176
9177A convenience macro AX_CHECK_TYPEDEF_ is provided that will not emit any
9178message to the user - it just executes one of the actions.
9179
9180Source Code
9181***********
9182
9183Download the latest version of 'ax_check_typedef.m4'
9184(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_typedef.m4)
9185or browse the macro's revision history
9186(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_typedef.m4).
9187
9188License
9189*******
9190
9191Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
9192
9193Copying and distribution of this file, with or without modification, are
9194permitted in any medium without royalty provided the copyright notice
9195and this notice are preserved.  This file is offered as-is, without any
9196warranty.
9197
9198
9199File: autoconf-archive.info,  Node: ax_check_uname_syscall,  Next: ax_check_user,  Prev: ax_check_typedef,  Up: The Macros
9200
9201ax_check_uname_syscall
9202======================
9203
9204Synopsis
9205********
9206
9207     AX_CHECK_UNAME_SYSCALL
9208
9209Description
9210***********
9211
9212Check that the POSIX compliant uname(2) call works properly.
9213
9214Source Code
9215***********
9216
9217Download the latest version of 'ax_check_uname_syscall.m4'
9218(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_uname_syscall.m4)
9219or browse the macro's revision history
9220(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_uname_syscall.m4).
9221
9222License
9223*******
9224
9225Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
9226
9227Copying and distribution of this file, with or without modification, are
9228permitted in any medium without royalty provided the copyright notice
9229and this notice are preserved.  This file is offered as-is, without any
9230warranty.
9231
9232
9233File: autoconf-archive.info,  Node: ax_check_user,  Next: ax_check_vscript,  Prev: ax_check_uname_syscall,  Up: The Macros
9234
9235ax_check_user
9236=============
9237
9238Synopsis
9239********
9240
9241     AX_CHECK_USER
9242
9243Description
9244***********
9245
9246Check if the specified UNIX user exists, if yes set your environment
9247variable to that username else unset your environment variable
9248
9249Example:
9250
9251       AX_CHECK_USER(USER, [gleensalmon])
9252       if test x$USER = xgleensalmon; then
9253           bla..bla..bla..
9254       else
9255           bla..bla..bla..
9256       fi
9257
9258Besides checking existence, this macro also set these environment
9259variables upon completion:
9260
9261       USER_HOME = home directory of user, written in /etc/passwd
9262
9263Source Code
9264***********
9265
9266Download the latest version of 'ax_check_user.m4'
9267(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_user.m4)
9268or browse the macro's revision history
9269(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_user.m4).
9270
9271License
9272*******
9273
9274Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
9275
9276This program is free software; you can redistribute it and/or modify it
9277under the terms of the GNU General Public License as published by the
9278Free Software Foundation; either version 2 of the License, or (at your
9279option) any later version.
9280
9281This program is distributed in the hope that it will be useful, but
9282WITHOUT ANY WARRANTY; without even the implied warranty of
9283MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
9284Public License for more details.
9285
9286You should have received a copy of the GNU General Public License along
9287with this program.  If not, see <https://www.gnu.org/licenses/>.
9288
9289As a special exception, the respective Autoconf Macro's copyright owner
9290gives unlimited permission to copy, distribute and modify the configure
9291scripts that are the output of Autoconf when processing the Macro.  You
9292need not follow the terms of the GNU General Public License when using
9293or distributing such scripts, even though portions of the text of the
9294Macro appear in them.  The GNU General Public License (GPL) does govern
9295all other use of the material that constitutes the Autoconf Macro.
9296
9297This special exception to the GPL applies to versions of the Autoconf
9298Macro released by the Autoconf Archive.  When you make and distribute a
9299modified version of the Autoconf Macro, you may extend this special
9300exception to the GPL to apply to your modified version as well.
9301
9302
9303File: autoconf-archive.info,  Node: ax_check_vscript,  Next: ax_check_x86_features,  Prev: ax_check_user,  Up: The Macros
9304
9305ax_check_vscript
9306================
9307
9308Synopsis
9309********
9310
9311     AX_CHECK_VSCRIPT
9312
9313Description
9314***********
9315
9316Check whether the linker supports version scripts.  Version scripts are
9317used when building shared libraries to bind symbols to version nodes
9318(helping to detect incompatibilities) or to limit the visibility of
9319non-public symbols.
9320
9321Output:
9322
9323If version scripts are supported, VSCRIPT_LDFLAGS will contain the
9324appropriate flag to pass to the linker.  On GNU systems this would
9325typically be "-Wl,-version-script", and on Solaris it would typically be
9326"-Wl,-M".
9327
9328Two Automake conditionals are also set:
9329
9330      HAVE_VSCRIPT is true if the linker supports version scripts with
9331      entries that use simple wildcards, like "local: *".
9332
9333      HAVE_VSCRIPT_COMPLEX is true if the linker supports version scripts with
9334      pattern matching wildcards, like "global: Java_*".
9335
9336On systems that do not support symbol versioning, such as Mac OS X, both
9337conditionals will be false.  They will also be false if the user passes
9338"-disable-symvers" on the configure command line.
9339
9340Example:
9341
9342      configure.ac:
9343
9344       AX_CHECK_VSCRIPT
9345
9346      Makefile.am:
9347
9348       if HAVE_VSCRIPT
9349       libfoo_la_LDFLAGS += $(VSCRIPT_LDFLAGS),@srcdir@/libfoo.map
9350       endif
9351
9352       if HAVE_VSCRIPT_COMPLEX
9353       libbar_la_LDFLAGS += $(VSCRIPT_LDFLAGS),@srcdir@/libbar.map
9354       endif
9355
9356Source Code
9357***********
9358
9359Download the latest version of 'ax_check_vscript.m4'
9360(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_vscript.m4)
9361or browse the macro's revision history
9362(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_vscript.m4).
9363
9364License
9365*******
9366
9367Copyright (C) 2014 Kevin Cernekee <cernekee@gmail.com>
9368
9369Copying and distribution of this file, with or without modification, are
9370permitted in any medium without royalty provided the copyright notice
9371and this notice are preserved.  This file is offered as-is, without any
9372warranty.
9373
9374
9375File: autoconf-archive.info,  Node: ax_check_x86_features,  Next: ax_check_zlib,  Prev: ax_check_vscript,  Up: The Macros
9376
9377ax_check_x86_features
9378=====================
9379
9380Synopsis
9381********
9382
9383     AX_CHECK_X86_FEATURES([ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
9384
9385Description
9386***********
9387
9388Checks if the host cpu supports various x86 instruction set, the
9389instructions that will get tested are "mmx, popcnt, sse, sse2, sse3,
9390sse4.1, sse4.2, sse4a, avx, avx2, avx512f, fma, fma4, bmi, bmi2".  If
9391the instruction set is supported by the host cpu, the C preprocessor
9392macro HAVE_XXX_INSTRUCTIONS is set to 1.  The XXX is up-cased
9393instruction case with dot replaced by underscore.  For example, the test
9394for "sse4.2" would export HAVE_SSE4_2_INSTRUCTIONS=1.  Also the compiler
9395flag "-msse4.2" would be added to X86_FEATURE_CFLAGS variable, that can
9396be obtained in Makefile.am using @X86_FEATURE_CFLAGS@.
9397
9398If any of the test for the instruction set were succeeded, the configure
9399script would run ACTION-IF-FOUND if it is specified, or append
9400X86_FEATURE_CFLAGS to CFLAGS. If none of the instruction were found,
9401ACTION-IF-NOT-FOUND hook is triggered.
9402
9403This macro requires gcc extended builtin function "__builtin_cpu_init"
9404and "__builtin_cpu_supports" to detect the cpu features.  It will error
9405out if the compiler doesn't has these builtins.
9406
9407See also AX_GCC_X86_CPU_SUPPORTS, which is the actual macro that perform
9408the checks for the instruction sets.
9409
9410Source Code
9411***********
9412
9413Download the latest version of 'ax_check_x86_features.m4'
9414(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_x86_features.m4)
9415or browse the macro's revision history
9416(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_x86_features.m4).
9417
9418License
9419*******
9420
9421Copyright (C) 2016 Felix Chern <idryman@gmail.com>
9422
9423This program is free software; you can redistribute it and/or modify it
9424under the terms of the GNU General Public License as published by the
9425Free Software Foundation; either version 2 of the License, or (at your
9426option) any later version.
9427
9428This program is distributed in the hope that it will be useful, but
9429WITHOUT ANY WARRANTY; without even the implied warranty of
9430MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
9431Public License for more details.
9432
9433You should have received a copy of the GNU General Public License along
9434with this program.  If not, see <https://www.gnu.org/licenses/>.
9435
9436As a special exception, the respective Autoconf Macro's copyright owner
9437gives unlimited permission to copy, distribute and modify the configure
9438scripts that are the output of Autoconf when processing the Macro.  You
9439need not follow the terms of the GNU General Public License when using
9440or distributing such scripts, even though portions of the text of the
9441Macro appear in them.  The GNU General Public License (GPL) does govern
9442all other use of the material that constitutes the Autoconf Macro.
9443
9444This special exception to the GPL applies to versions of the Autoconf
9445Macro released by the Autoconf Archive.  When you make and distribute a
9446modified version of the Autoconf Macro, you may extend this special
9447exception to the GPL to apply to your modified version as well.
9448
9449
9450File: autoconf-archive.info,  Node: ax_check_zlib,  Next: ax_code_coverage,  Prev: ax_check_x86_features,  Up: The Macros
9451
9452ax_check_zlib
9453=============
9454
9455Synopsis
9456********
9457
9458     AX_CHECK_ZLIB([action-if-found], [action-if-not-found])
9459
9460Description
9461***********
9462
9463This macro searches for an installed zlib library.  If nothing was
9464specified when calling configure, it searches first in /usr/local and
9465then in /usr, /opt/local and /sw.  If the -with-zlib=DIR is specified,
9466it will try to find it in DIR/include/zlib.h and DIR/lib/libz.a.  If
9467-without-zlib is specified, the library is not searched at all.
9468
9469If either the header file (zlib.h) or the library (libz) is not found,
9470shell commands 'action-if-not-found' is run.  If 'action-if-not-found'
9471is not specified, the configuration exits on error, asking for a valid
9472zlib installation directory or -without-zlib.
9473
9474If both header file and library are found, shell commands
9475'action-if-found' is run.  If 'action-if-found' is not specified, the
9476default action appends '-I${ZLIB_HOME}/include' to CPFLAGS, appends
9477'-L$ZLIB_HOME}/lib' to LDFLAGS, prepends '-lz' to LIBS, and calls
9478AC_DEFINE(HAVE_LIBZ). You should use autoheader to include a definition
9479for this symbol in a config.h file.  Sample usage in a C/C++ source is
9480as follows:
9481
9482       #ifdef HAVE_LIBZ
9483       #include <zlib.h>
9484       #endif /* HAVE_LIBZ */
9485
9486Source Code
9487***********
9488
9489Download the latest version of 'ax_check_zlib.m4'
9490(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_zlib.m4)
9491or browse the macro's revision history
9492(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_zlib.m4).
9493
9494License
9495*******
9496
9497Copyright (C) 2008 Loic Dachary <loic@senga.org>
9498Copyright (C) 2010 Bastien Chevreux <bach@chevreux.org>
9499
9500This program is free software; you can redistribute it and/or modify it
9501under the terms of the GNU General Public License as published by the
9502Free Software Foundation; either version 2 of the License, or (at your
9503option) any later version.
9504
9505This program is distributed in the hope that it will be useful, but
9506WITHOUT ANY WARRANTY; without even the implied warranty of
9507MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
9508Public License for more details.
9509
9510You should have received a copy of the GNU General Public License along
9511with this program.  If not, see <https://www.gnu.org/licenses/>.
9512
9513As a special exception, the respective Autoconf Macro's copyright owner
9514gives unlimited permission to copy, distribute and modify the configure
9515scripts that are the output of Autoconf when processing the Macro.  You
9516need not follow the terms of the GNU General Public License when using
9517or distributing such scripts, even though portions of the text of the
9518Macro appear in them.  The GNU General Public License (GPL) does govern
9519all other use of the material that constitutes the Autoconf Macro.
9520
9521This special exception to the GPL applies to versions of the Autoconf
9522Macro released by the Autoconf Archive.  When you make and distribute a
9523modified version of the Autoconf Macro, you may extend this special
9524exception to the GPL to apply to your modified version as well.
9525
9526
9527File: autoconf-archive.info,  Node: ax_code_coverage,  Next: ax_compare_version,  Prev: ax_check_zlib,  Up: The Macros
9528
9529ax_code_coverage
9530================
9531
9532Synopsis
9533********
9534
9535     AX_CODE_COVERAGE()
9536
9537Description
9538***********
9539
9540Defines CODE_COVERAGE_CPPFLAGS, CODE_COVERAGE_CFLAGS,
9541CODE_COVERAGE_CXXFLAGS and CODE_COVERAGE_LIBS which should be included
9542in the CPPFLAGS, CFLAGS CXXFLAGS and LIBS/LIBADD variables of every
9543build target (program or library) which should be built with code
9544coverage support.  Also add rules using AX_ADD_AM_MACRO_STATIC; and
9545$enable_code_coverage which can be used in subsequent configure output.
9546CODE_COVERAGE_ENABLED is defined and substituted, and corresponds to the
9547value of the -enable-code-coverage option, which defaults to being
9548disabled.
9549
9550Test also for gcov program and create GCOV variable that could be
9551substituted.
9552
9553Note that all optimization flags in CFLAGS must be disabled when code
9554coverage is enabled.
9555
9556Usage example:
9557
9558configure.ac:
9559
9560       AX_CODE_COVERAGE
9561
9562Makefile.am:
9563
9564       include $(top_srcdir)/aminclude_static.am
9565
9566       my_program_LIBS = ... $(CODE_COVERAGE_LIBS) ...
9567       my_program_CPPFLAGS = ... $(CODE_COVERAGE_CPPFLAGS) ...
9568       my_program_CFLAGS = ... $(CODE_COVERAGE_CFLAGS) ...
9569       my_program_CXXFLAGS = ... $(CODE_COVERAGE_CXXFLAGS) ...
9570
9571       clean-local: code-coverage-clean
9572       distclean-local: code-coverage-dist-clean
9573
9574This results in a "check-code-coverage" rule being added to any
9575Makefile.am which do "include $(top_srcdir)/aminclude_static.am"
9576(assuming the module has been configured with -enable-code-coverage).
9577Running 'make check-code-coverage' in that directory will run the
9578module's test suite ('make check') and build a code coverage report
9579detailing the code which was touched, then print the URI for the report.
9580
9581This code was derived from Makefile.decl in GLib, originally licensed
9582under LGPLv2.1+.
9583
9584Source Code
9585***********
9586
9587Download the latest version of 'ax_code_coverage.m4'
9588(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_code_coverage.m4)
9589or browse the macro's revision history
9590(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_code_coverage.m4).
9591
9592License
9593*******
9594
9595Copyright (C) 2012, 2016 Philip Withnall
9596Copyright (C) 2012 Xan Lopez
9597Copyright (C) 2012 Christian Persch
9598Copyright (C) 2012 Paolo Borelli
9599Copyright (C) 2012 Dan Winship
9600Copyright (C) 2015,2018 Bastien ROUCARIES
9601
9602This library is free software; you can redistribute it and/or modify it
9603under the terms of the GNU Lesser General Public License as published by
9604the Free Software Foundation; either version 2.1 of the License, or (at
9605your option) any later version.
9606
9607This library is distributed in the hope that it will be useful, but
9608WITHOUT ANY WARRANTY; without even the implied warranty of
9609MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
9610General Public License for more details.
9611
9612You should have received a copy of the GNU Lesser General Public License
9613along with this program.  If not, see <https://www.gnu.org/licenses/>.
9614
9615
9616File: autoconf-archive.info,  Node: ax_compare_version,  Next: ax_compile_check_sizeof,  Prev: ax_code_coverage,  Up: The Macros
9617
9618ax_compare_version
9619==================
9620
9621Synopsis
9622********
9623
9624     AX_COMPARE_VERSION(VERSION_A, OP, VERSION_B, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
9625
9626Description
9627***********
9628
9629This macro compares two version strings.  Due to the various number of
9630minor-version numbers that can exist, and the fact that string
9631comparisons are not compatible with numeric comparisons, this is not
9632necessarily trivial to do in a autoconf script.  This macro makes doing
9633these comparisons easy.
9634
9635The six basic comparisons are available, as well as checking equality
9636limited to a certain number of minor-version levels.
9637
9638The operator OP determines what type of comparison to do, and can be one
9639of:
9640
9641      eq  - equal (test A == B)
9642      ne  - not equal (test A != B)
9643      le  - less than or equal (test A <= B)
9644      ge  - greater than or equal (test A >= B)
9645      lt  - less than (test A < B)
9646      gt  - greater than (test A > B)
9647
9648Additionally, the eq and ne operator can have a number after it to limit
9649the test to that number of minor versions.
9650
9651      eq0 - equal up to the length of the shorter version
9652      ne0 - not equal up to the length of the shorter version
9653      eqN - equal up to N sub-version levels
9654      neN - not equal up to N sub-version levels
9655
9656When the condition is true, shell commands ACTION-IF-TRUE are run,
9657otherwise shell commands ACTION-IF-FALSE are run.  The environment
9658variable 'ax_compare_version' is always set to either 'true' or 'false'
9659as well.
9660
9661Examples:
9662
9663       AX_COMPARE_VERSION([3.15.7],[lt],[3.15.8])
9664       AX_COMPARE_VERSION([3.15],[lt],[3.15.8])
9665
9666would both be true.
9667
9668       AX_COMPARE_VERSION([3.15.7],[eq],[3.15.8])
9669       AX_COMPARE_VERSION([3.15],[gt],[3.15.8])
9670
9671would both be false.
9672
9673       AX_COMPARE_VERSION([3.15.7],[eq2],[3.15.8])
9674
9675would be true because it is only comparing two minor versions.
9676
9677       AX_COMPARE_VERSION([3.15.7],[eq0],[3.15])
9678
9679would be true because it is only comparing the lesser number of minor
9680versions of the two values.
9681
9682Note: The characters that separate the version numbers do not matter.
9683An empty string is the same as version 0.  OP is evaluated by autoconf,
9684not configure, so must be a string, not a variable.
9685
9686The author would like to acknowledge Guido Draheim whose advice about
9687the m4_case and m4_ifvaln functions make this macro only include the
9688portions necessary to perform the specific comparison specified by the
9689OP argument in the final configure script.
9690
9691Source Code
9692***********
9693
9694Download the latest version of 'ax_compare_version.m4'
9695(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compare_version.m4)
9696or browse the macro's revision history
9697(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compare_version.m4).
9698
9699License
9700*******
9701
9702Copyright (C) 2008 Tim Toolan <toolan@ele.uri.edu>
9703
9704Copying and distribution of this file, with or without modification, are
9705permitted in any medium without royalty provided the copyright notice
9706and this notice are preserved.  This file is offered as-is, without any
9707warranty.
9708
9709
9710File: autoconf-archive.info,  Node: ax_compile_check_sizeof,  Next: ax_compiler_flags,  Prev: ax_compare_version,  Up: The Macros
9711
9712ax_compile_check_sizeof
9713=======================
9714
9715Synopsis
9716********
9717
9718     AX_COMPILE_CHECK_SIZEOF(TYPE [, HEADERS [, EXTRA_SIZES...]])
9719
9720Description
9721***********
9722
9723This macro checks for the size of TYPE using compile checks, not run
9724checks.  You can supply extra HEADERS to look into.  the check will
9725cycle through 1 2 4 8 16 and any EXTRA_SIZES the user supplies.  If a
9726match is found, it will #define SIZEOF_'TYPE' to that value.  Otherwise
9727it will emit a configure time error indicating the size of the type
9728could not be determined.
9729
9730The trick is that C will not allow duplicate case labels.  While this is
9731valid C code:
9732
9733       switch (0) case 0: case 1:;
9734
9735The following is not:
9736
9737       switch (0) case 0: case 0:;
9738
9739Thus, the AC_COMPILE_IFELSE will fail if the currently tried size does
9740not match.
9741
9742Here is an example skeleton configure.in script, demonstrating the
9743macro's usage:
9744
9745       AC_PROG_CC
9746       AC_CHECK_HEADERS(stddef.h unistd.h)
9747       AC_TYPE_SIZE_T
9748       AC_CHECK_TYPE(ssize_t, int)
9749
9750       headers='#ifdef HAVE_STDDEF_H
9751       #include <stddef.h>
9752       #endif
9753       #ifdef HAVE_UNISTD_H
9754       #include <unistd.h>
9755       #endif
9756       '
9757
9758       AX_COMPILE_CHECK_SIZEOF(char)
9759       AX_COMPILE_CHECK_SIZEOF(short)
9760       AX_COMPILE_CHECK_SIZEOF(int)
9761       AX_COMPILE_CHECK_SIZEOF(long)
9762       AX_COMPILE_CHECK_SIZEOF(unsigned char *)
9763       AX_COMPILE_CHECK_SIZEOF(void *)
9764       AX_COMPILE_CHECK_SIZEOF(size_t, $headers)
9765       AX_COMPILE_CHECK_SIZEOF(ssize_t, $headers)
9766       AX_COMPILE_CHECK_SIZEOF(ptrdiff_t, $headers)
9767       AX_COMPILE_CHECK_SIZEOF(off_t, $headers)
9768
9769Source Code
9770***********
9771
9772Download the latest version of 'ax_compile_check_sizeof.m4'
9773(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compile_check_sizeof.m4)
9774or browse the macro's revision history
9775(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compile_check_sizeof.m4).
9776
9777License
9778*******
9779
9780Copyright (C) 2008 Kaveh Ghazi <ghazi@caip.rutgers.edu>
9781Copyright (C) 2017 Reini Urban <rurban@cpan.org>
9782
9783This program is free software: you can redistribute it and/or modify it
9784under the terms of the GNU General Public License as published by the
9785Free Software Foundation, either version 3 of the License, or (at your
9786option) any later version.
9787
9788This program is distributed in the hope that it will be useful, but
9789WITHOUT ANY WARRANTY; without even the implied warranty of
9790MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
9791Public License for more details.
9792
9793You should have received a copy of the GNU General Public License along
9794with this program.  If not, see <https://www.gnu.org/licenses/>.
9795
9796As a special exception, the respective Autoconf Macro's copyright owner
9797gives unlimited permission to copy, distribute and modify the configure
9798scripts that are the output of Autoconf when processing the Macro.  You
9799need not follow the terms of the GNU General Public License when using
9800or distributing such scripts, even though portions of the text of the
9801Macro appear in them.  The GNU General Public License (GPL) does govern
9802all other use of the material that constitutes the Autoconf Macro.
9803
9804This special exception to the GPL applies to versions of the Autoconf
9805Macro released by the Autoconf Archive.  When you make and distribute a
9806modified version of the Autoconf Macro, you may extend this special
9807exception to the GPL to apply to your modified version as well.
9808
9809
9810File: autoconf-archive.info,  Node: ax_compiler_flags,  Next: ax_compiler_flags_cflags,  Prev: ax_compile_check_sizeof,  Up: The Macros
9811
9812ax_compiler_flags
9813=================
9814
9815Synopsis
9816********
9817
9818     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])
9819
9820Description
9821***********
9822
9823Check for the presence of an -enable-compile-warnings option to
9824configure, defaulting to "error" in normal operation, or "yes" if
9825IS-RELEASE is equal to "yes".  Return the value in the variable
9826$ax_enable_compile_warnings.
9827
9828Depending on the value of -enable-compile-warnings, different compiler
9829warnings are checked to see if they work with the current compiler and,
9830if so, are appended to CFLAGS-VARIABLE and LDFLAGS-VARIABLE. This allows
9831a consistent set of baseline compiler warnings to be used across a code
9832base, irrespective of any warnings enabled locally by individual
9833developers.  By standardising the warnings used by all developers of a
9834project, the project can commit to a zero-warnings policy, using -Werror
9835to prevent compilation if new warnings are introduced.  This makes
9836catching bugs which are flagged by warnings a lot easier.
9837
9838By providing a consistent -enable-compile-warnings argument across all
9839projects using this macro, continuous integration systems can easily be
9840configured the same for all projects.  Automated systems or build
9841systems aimed at beginners may want to pass the -disable-Werror argument
9842to unconditionally prevent warnings being fatal.
9843
9844-enable-compile-warnings can take the values:
9845
9846      * no:      Base compiler warnings only; not even -Wall.
9847      * yes:     The above, plus a broad range of useful warnings.
9848      * error:   The above, plus -Werror so that all warnings are fatal.
9849                 Use --disable-Werror to override this and disable fatal
9850                 warnings.
9851
9852The set of base and enabled flags can be augmented using the
9853EXTRA-*-CFLAGS and EXTRA-*-LDFLAGS variables, which are tested and
9854appended to the output variable if -enable-compile-warnings is not "no".
9855Flags should not be disabled using these arguments, as the entire point
9856of AX_COMPILER_FLAGS is to enforce a consistent set of useful compiler
9857warnings on code, using warnings which have been chosen for low false
9858positive rates.  If a compiler emits false positives for a warning, a
9859#pragma should be used in the code to disable the warning locally.  See:
9860
9861       https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas
9862
9863The EXTRA-* variables should only be used to supply extra warning flags,
9864and not general purpose compiler flags, as they are controlled by
9865configure options such as -disable-Werror.
9866
9867IS-RELEASE can be used to disable -Werror when making a release, which
9868is useful for those hairy moments when you just want to get the release
9869done as quickly as possible.  Set it to "yes" to disable -Werror.  By
9870default, it uses the value of $ax_is_release, so if you are using the
9871AX_IS_RELEASE macro, there is no need to pass this parameter.  For
9872example:
9873
9874       AX_IS_RELEASE([git-directory])
9875       AX_COMPILER_FLAGS()
9876
9877CFLAGS-VARIABLE defaults to WARN_CFLAGS, and LDFLAGS-VARIABLE defaults
9878to WARN_LDFLAGS. Both variables are AC_SUBST-ed by this macro, but must
9879be manually added to the CFLAGS and LDFLAGS variables for each target in
9880the code base.
9881
9882If C++ language support is enabled with AC_PROG_CXX, which must occur
9883before this macro in configure.ac, warning flags for the C++ compiler
9884are AC_SUBST-ed as WARN_CXXFLAGS, and must be manually added to the
9885CXXFLAGS variables for each target in the code base.  EXTRA-*-CFLAGS can
9886be used to augment the base and enabled flags.
9887
9888Warning flags for g-ir-scanner (from GObject Introspection) are
9889AC_SUBST-ed as WARN_SCANNERFLAGS. This variable must be manually added
9890to the SCANNERFLAGS variable for each GIR target in the code base.  If
9891extra g-ir-scanner flags need to be enabled, the AX_COMPILER_FLAGS_GIR
9892macro must be invoked manually.
9893
9894AX_COMPILER_FLAGS may add support for other tools in future, in addition
9895to the compiler and linker.  No extra EXTRA-* variables will be added
9896for those tools, and all extra support will still use the single
9897-enable-compile-warnings configure option.  For finer grained control
9898over the flags for individual tools, use AX_COMPILER_FLAGS_CFLAGS,
9899AX_COMPILER_FLAGS_LDFLAGS and AX_COMPILER_FLAGS_* for new tools.
9900
9901The UNUSED variables date from a previous version of this macro, and are
9902automatically appended to the preceding non-UNUSED variable.  They
9903should be left empty in new uses of the macro.
9904
9905Source Code
9906***********
9907
9908Download the latest version of 'ax_compiler_flags.m4'
9909(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags.m4)
9910or browse the macro's revision history
9911(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags.m4).
9912
9913License
9914*******
9915
9916Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
9917Copyright (C) 2015 David King <amigadave@amigadave.com>
9918
9919Copying and distribution of this file, with or without modification, are
9920permitted in any medium without royalty provided the copyright notice
9921and this notice are preserved.  This file is offered as-is, without any
9922warranty.
9923
9924
9925File: autoconf-archive.info,  Node: ax_compiler_flags_cflags,  Next: ax_compiler_flags_cxxflags,  Prev: ax_compiler_flags,  Up: The Macros
9926
9927ax_compiler_flags_cflags
9928========================
9929
9930Synopsis
9931********
9932
9933     AX_COMPILER_FLAGS_CFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
9934
9935Description
9936***********
9937
9938Add warning flags for the C compiler to VARIABLE, which defaults to
9939WARN_CFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be manually
9940added to the CFLAGS variable for each target in the code base.
9941
9942This macro depends on the environment set up by AX_COMPILER_FLAGS.
9943Specifically, it uses the value of $ax_enable_compile_warnings to decide
9944which flags to enable.
9945
9946Source Code
9947***********
9948
9949Download the latest version of 'ax_compiler_flags_cflags.m4'
9950(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_cflags.m4)
9951or browse the macro's revision history
9952(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_cflags.m4).
9953
9954License
9955*******
9956
9957Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
9958Copyright (C) 2017, 2018 Reini Urban <rurban@cpan.org>
9959
9960Copying and distribution of this file, with or without modification, are
9961permitted in any medium without royalty provided the copyright notice
9962and this notice are preserved.  This file is offered as-is, without any
9963warranty.
9964
9965
9966File: autoconf-archive.info,  Node: ax_compiler_flags_cxxflags,  Next: ax_compiler_flags_gir,  Prev: ax_compiler_flags_cflags,  Up: The Macros
9967
9968ax_compiler_flags_cxxflags
9969==========================
9970
9971Synopsis
9972********
9973
9974     AX_COMPILER_FLAGS_CXXFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
9975
9976Description
9977***********
9978
9979Add warning flags for the C++ compiler to VARIABLE, which defaults to
9980WARN_CXXFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be
9981manually added to the CXXFLAGS variable for each target in the code
9982base.
9983
9984This macro depends on the environment set up by AX_COMPILER_FLAGS.
9985Specifically, it uses the value of $ax_enable_compile_warnings to decide
9986which flags to enable.
9987
9988Source Code
9989***********
9990
9991Download the latest version of 'ax_compiler_flags_cxxflags.m4'
9992(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_cxxflags.m4)
9993or browse the macro's revision history
9994(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_cxxflags.m4).
9995
9996License
9997*******
9998
9999Copyright (C) 2015 David King <amigadave@amigadave.com>
10000
10001Copying and distribution of this file, with or without modification, are
10002permitted in any medium without royalty provided the copyright notice
10003and this notice are preserved.  This file is offered as-is, without any
10004warranty.
10005
10006
10007File: autoconf-archive.info,  Node: ax_compiler_flags_gir,  Next: ax_compiler_flags_ldflags,  Prev: ax_compiler_flags_cxxflags,  Up: The Macros
10008
10009ax_compiler_flags_gir
10010=====================
10011
10012Synopsis
10013********
10014
10015     AX_COMPILER_FLAGS_GIR([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
10016
10017Description
10018***********
10019
10020Add warning flags for the g-ir-scanner (from GObject Introspection) to
10021VARIABLE, which defaults to WARN_SCANNERFLAGS. VARIABLE is AC_SUBST-ed
10022by this macro, but must be manually added to the SCANNERFLAGS variable
10023for each GIR target in the code base.
10024
10025This macro depends on the environment set up by AX_COMPILER_FLAGS.
10026Specifically, it uses the value of $ax_enable_compile_warnings to decide
10027which flags to enable.
10028
10029Source Code
10030***********
10031
10032Download the latest version of 'ax_compiler_flags_gir.m4'
10033(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_gir.m4)
10034or browse the macro's revision history
10035(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_gir.m4).
10036
10037License
10038*******
10039
10040Copyright (C) 2015 Philip Withnall <philip@tecnocode.co.uk>
10041
10042Copying and distribution of this file, with or without modification, are
10043permitted in any medium without royalty provided the copyright notice
10044and this notice are preserved.  This file is offered as-is, without any
10045warranty.
10046
10047
10048File: autoconf-archive.info,  Node: ax_compiler_flags_ldflags,  Next: ax_compiler_vendor,  Prev: ax_compiler_flags_gir,  Up: The Macros
10049
10050ax_compiler_flags_ldflags
10051=========================
10052
10053Synopsis
10054********
10055
10056     AX_COMPILER_FLAGS_LDFLAGS([VARIABLE], [IS-RELEASE], [EXTRA-BASE-FLAGS], [EXTRA-YES-FLAGS])
10057
10058Description
10059***********
10060
10061Add warning flags for the linker to VARIABLE, which defaults to
10062WARN_LDFLAGS. VARIABLE is AC_SUBST-ed by this macro, but must be
10063manually added to the LDFLAGS variable for each target in the code base.
10064
10065This macro depends on the environment set up by AX_COMPILER_FLAGS.
10066Specifically, it uses the value of $ax_enable_compile_warnings to decide
10067which flags to enable.
10068
10069Source Code
10070***********
10071
10072Download the latest version of 'ax_compiler_flags_ldflags.m4'
10073(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_flags_ldflags.m4)
10074or browse the macro's revision history
10075(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_flags_ldflags.m4).
10076
10077License
10078*******
10079
10080Copyright (C) 2014, 2015 Philip Withnall <philip@tecnocode.co.uk>
10081Copyright (C) 2017, 2018 Reini Urban <rurban@cpan.org>
10082
10083Copying and distribution of this file, with or without modification, are
10084permitted in any medium without royalty provided the copyright notice
10085and this notice are preserved.  This file is offered as-is, without any
10086warranty.
10087
10088
10089File: autoconf-archive.info,  Node: ax_compiler_vendor,  Next: ax_compiler_version,  Prev: ax_compiler_flags_ldflags,  Up: The Macros
10090
10091ax_compiler_vendor
10092==================
10093
10094Synopsis
10095********
10096
10097     AX_COMPILER_VENDOR
10098
10099Description
10100***********
10101
10102Determine the vendor of the C/C++ compiler, e.g., gnu, intel, ibm, sun,
10103hp, borland, comeau, dec, cray, kai, lcc, metrowerks, sgi, microsoft,
10104watcom, etc.  The vendor is returned in the cache variable
10105$ax_cv_c_compiler_vendor for C and $ax_cv_cxx_compiler_vendor for C++.
10106
10107Source Code
10108***********
10109
10110Download the latest version of 'ax_compiler_vendor.m4'
10111(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_vendor.m4)
10112or browse the macro's revision history
10113(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_vendor.m4).
10114
10115License
10116*******
10117
10118Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
10119Copyright (C) 2008 Matteo Frigo
10120
10121This program is free software: you can redistribute it and/or modify it
10122under the terms of the GNU General Public License as published by the
10123Free Software Foundation, either version 3 of the License, or (at your
10124option) any later version.
10125
10126This program is distributed in the hope that it will be useful, but
10127WITHOUT ANY WARRANTY; without even the implied warranty of
10128MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
10129Public License for more details.
10130
10131You should have received a copy of the GNU General Public License along
10132with this program.  If not, see <https://www.gnu.org/licenses/>.
10133
10134As a special exception, the respective Autoconf Macro's copyright owner
10135gives unlimited permission to copy, distribute and modify the configure
10136scripts that are the output of Autoconf when processing the Macro.  You
10137need not follow the terms of the GNU General Public License when using
10138or distributing such scripts, even though portions of the text of the
10139Macro appear in them.  The GNU General Public License (GPL) does govern
10140all other use of the material that constitutes the Autoconf Macro.
10141
10142This special exception to the GPL applies to versions of the Autoconf
10143Macro released by the Autoconf Archive.  When you make and distribute a
10144modified version of the Autoconf Macro, you may extend this special
10145exception to the GPL to apply to your modified version as well.
10146
10147
10148File: autoconf-archive.info,  Node: ax_compiler_version,  Next: ax_compute_relative_paths,  Prev: ax_compiler_vendor,  Up: The Macros
10149
10150ax_compiler_version
10151===================
10152
10153Synopsis
10154********
10155
10156     AX_COMPILER_VERSION
10157
10158Description
10159***********
10160
10161This macro retrieves the compiler version and returns it in the cache
10162variable $ax_cv_c_compiler_version for C and $ax_cv_cxx_compiler_version
10163for C++.
10164
10165Version is returned as epoch:major.minor.patchversion
10166
10167Epoch is used in order to have an increasing version number in case of
10168marketing change.
10169
10170Epoch use: * borland compiler use chronologically 0turboc for turboc
10171era,
10172
10173       1borlanc BORLANDC++ before 5, 2cppbuilder for cppbuilder era,
10174       3borlancpp for return of BORLANDC++ (after version 5.5),
10175       4cppbuilder for cppbuilder with year version,
10176       and 5xe for XE era.
10177
10178An empty string is returned otherwise.
10179
10180Source Code
10181***********
10182
10183Download the latest version of 'ax_compiler_version.m4'
10184(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compiler_version.m4)
10185or browse the macro's revision history
10186(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compiler_version.m4).
10187
10188License
10189*******
10190
10191Copyright (C) 2014 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
10192
10193Copying and distribution of this file, with or without modification, are
10194permitted in any medium without royalty provided the copyright notice
10195and this notice are preserved.  This file is offered as-is, without any
10196warranty.
10197
10198
10199File: autoconf-archive.info,  Node: ax_compute_relative_paths,  Next: ax_compute_standard_relative_paths,  Prev: ax_compiler_version,  Up: The Macros
10200
10201ax_compute_relative_paths
10202=========================
10203
10204Synopsis
10205********
10206
10207     AX_COMPUTE_RELATIVE_PATHS(PATH_LIST)
10208
10209Description
10210***********
10211
10212PATH_LIST is a space-separated list of colon-separated triplets of the
10213form 'FROM:TO:RESULT'. This function iterates over these triplets and
10214set $RESULT to the relative path from $FROM to $TO. Note that $FROM and
10215$TO needs to be absolute filenames for this macro to success.
10216
10217For instance,
10218
10219       first=/usr/local/bin
10220       second=/usr/local/share
10221       AX_COMPUTE_RELATIVE_PATHS([first:second:fs second:first:sf])
10222       # $fs is set to ../share
10223       # $sf is set to ../bin
10224
10225$FROM and $TO are both eval'ed recursively and normalized, this means
10226that you can call this macro with autoconf's dirnames like 'prefix' or
10227'datadir'.  For example:
10228
10229       AX_COMPUTE_RELATIVE_PATHS([bindir:datadir:bin_to_data])
10230
10231AX_COMPUTE_RELATIVE_PATHS should also works with DOS filenames.
10232
10233You may want to use this macro in order to make your package
10234relocatable.  Instead of hardcoding $datadir into your programs just
10235encode $bin_to_data and try to determine $bindir at run-time.
10236
10237This macro requires AX_NORMALIZE_PATH and AX_RECURSIVE_EVAL.
10238
10239Source Code
10240***********
10241
10242Download the latest version of 'ax_compute_relative_paths.m4'
10243(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compute_relative_paths.m4)
10244or browse the macro's revision history
10245(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compute_relative_paths.m4).
10246
10247License
10248*******
10249
10250Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
10251
10252This program is free software; you can redistribute it and/or modify it
10253under the terms of the GNU General Public License as published by the
10254Free Software Foundation; either version 2 of the License, or (at your
10255option) any later version.
10256
10257This program is distributed in the hope that it will be useful, but
10258WITHOUT ANY WARRANTY; without even the implied warranty of
10259MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
10260Public License for more details.
10261
10262You should have received a copy of the GNU General Public License along
10263with this program.  If not, see <https://www.gnu.org/licenses/>.
10264
10265As a special exception, the respective Autoconf Macro's copyright owner
10266gives unlimited permission to copy, distribute and modify the configure
10267scripts that are the output of Autoconf when processing the Macro.  You
10268need not follow the terms of the GNU General Public License when using
10269or distributing such scripts, even though portions of the text of the
10270Macro appear in them.  The GNU General Public License (GPL) does govern
10271all other use of the material that constitutes the Autoconf Macro.
10272
10273This special exception to the GPL applies to versions of the Autoconf
10274Macro released by the Autoconf Archive.  When you make and distribute a
10275modified version of the Autoconf Macro, you may extend this special
10276exception to the GPL to apply to your modified version as well.
10277
10278
10279File: autoconf-archive.info,  Node: ax_compute_standard_relative_paths,  Next: ax_cond_with_level,  Prev: ax_compute_relative_paths,  Up: The Macros
10280
10281ax_compute_standard_relative_paths
10282==================================
10283
10284Synopsis
10285********
10286
10287     AX_COMPUTE_STANDARD_RELATIVE_PATHS
10288
10289Description
10290***********
10291
10292Here is the standard hierarchy of paths, as defined by the GNU Coding
10293Standards:
10294
10295       prefix
10296          exec_prefix
10297             bindir
10298             libdir
10299             libexecdir
10300             sbindir
10301          datarootdir
10302             docdir
10303             infodir
10304             htmldir
10305             dvidir
10306             psdir
10307             pdfdir
10308             localedir
10309             datadir (only for autoconf >= 2.59c)
10310             infodir (only for autoconf >= 2.59c)
10311             mandir (only for autoconf >= 2.59c)
10312             lispdir (only for autoconf >= 2.59c)
10313          datadir (only for autoconf < 2.59c)
10314          infodir (only for autoconf < 2.59c)
10315          mandir (only for autoconf < 2.59c)
10316          lispdir (only for autoconf < 2.59c)
10317          sysconfdir
10318          sharedstatedir
10319          localstatedir
10320             runstatedir (only for autoconf >= 2.70)
10321          includedir
10322          oldincludedir
10323
10324This macro will setup a set of variables of the form
10325'xxx_forward_relative_path' and 'xxx_backward_relative_path' where xxx
10326is one of the above directories.  The latter variable is set to the
10327relative path to go from xxx to its parent directory, while the former
10328hold the other way.
10329
10330For instance 'bindir_relative_path' will contains the value to add to
10331$exec_prefix to reach the $bindir directory (usually 'bin'), and
10332'bindir_backward_relative_path' the value to append to $bindir to reach
10333the $exec_prefix directory (usually '..').
10334
10335This macro requires AX_COMPUTE_RELATIVE_PATHS which itself requires
10336AX_NORMALIZE_PATH.
10337
10338Source Code
10339***********
10340
10341Download the latest version of 'ax_compute_standard_relative_paths.m4'
10342(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_compute_standard_relative_paths.m4)
10343or browse the macro's revision history
10344(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_compute_standard_relative_paths.m4).
10345
10346License
10347*******
10348
10349Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
10350Copyright (C) 2015 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
10351
10352This program is free software; you can redistribute it and/or modify it
10353under the terms of the GNU General Public License as published by the
10354Free Software Foundation; either version 2 of the License, or (at your
10355option) any later version.
10356
10357This program is distributed in the hope that it will be useful, but
10358WITHOUT ANY WARRANTY; without even the implied warranty of
10359MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
10360Public License for more details.
10361
10362You should have received a copy of the GNU General Public License along
10363with this program.  If not, see <https://www.gnu.org/licenses/>.
10364
10365As a special exception, the respective Autoconf Macro's copyright owner
10366gives unlimited permission to copy, distribute and modify the configure
10367scripts that are the output of Autoconf when processing the Macro.  You
10368need not follow the terms of the GNU General Public License when using
10369or distributing such scripts, even though portions of the text of the
10370Macro appear in them.  The GNU General Public License (GPL) does govern
10371all other use of the material that constitutes the Autoconf Macro.
10372
10373This special exception to the GPL applies to versions of the Autoconf
10374Macro released by the Autoconf Archive.  When you make and distribute a
10375modified version of the Autoconf Macro, you may extend this special
10376exception to the GPL to apply to your modified version as well.
10377
10378
10379File: autoconf-archive.info,  Node: ax_cond_with_level,  Next: ax_config_feature,  Prev: ax_compute_standard_relative_paths,  Up: The Macros
10380
10381ax_cond_with_level
10382==================
10383
10384Synopsis
10385********
10386
10387     AX_COND_WITH_LEVEL(PACKAGE [,DEFAULT [,YESLEVEL]])
10388
10389Description
10390***********
10391
10392Actually used after an AC_ARG_WITH(PKG,...)  option-directive, where
10393AC_ARG_WITH is a part of the standard autoconf to define a 'configure'
10394-with-PKG option.
10395
10396This macros works almost like AC_COND_WITH(PACKAGE [,DEFAULT]), but the
10397definition is set to a numeric value.  The level of a simple "yes" is
10398given (or assumed "2" if absent), otherwise the level can be given in
10399mnemonic names, being:
10400
10401      1 = some
10402      2 = many
10403      3 = all
10404      4 = extra
10405      5 = extrasome more
10406      6 = extramany muchmore much
10407      7 = super everything
10408      8 = ultra experimental
10409      9 = insane
10410
10411this macro is most handily it making Makefile.in/Makefile.am that have a
10412set of with-level declarations, especially optimization-levels
10413
10414the $withval shell-variable is set for further examination (it carries
10415the numeric value of the various mnemonics above)
10416
10417Source Code
10418***********
10419
10420Download the latest version of 'ax_cond_with_level.m4'
10421(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cond_with_level.m4)
10422or browse the macro's revision history
10423(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cond_with_level.m4).
10424
10425License
10426*******
10427
10428Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
10429
10430Copying and distribution of this file, with or without modification, are
10431permitted in any medium without royalty provided the copyright notice
10432and this notice are preserved.  This file is offered as-is, without any
10433warranty.
10434
10435
10436File: autoconf-archive.info,  Node: ax_config_feature,  Next: ax_configure_args,  Prev: ax_cond_with_level,  Up: The Macros
10437
10438ax_config_feature
10439=================
10440
10441Synopsis
10442********
10443
10444     AX_CONFIG_FEATURE(FEATURE-NAME, FEATURE-DESCRIPTION, DEFINE, DEFINE-DESCRIPTION, [ACTION-IF-ENABLED [, ACTION-IF-NOT-ENABLED]])
10445
10446Description
10447***********
10448
10449AX_CONFIG_FEATURE is a simple wrapper for AC_ARG_ENABLE, it enables the
10450feature FEATURE-NAME and AC_DEFINEs the passed DEFINE, depending on the
10451user choice.  DESCRIPTION will be used for AC_DEFINEs.
10452ACTION-IF-ENABLED and ACTION-IF-NOT-ENABLED are the actions that will be
10453run.  A feature is enabled by default, in order to change this behaviour
10454use the AX_CONFIG_FEATURE_DEFAULT_ENABLED and
10455AX_CONFIG_FEATURE_DEFAULT_DISABLED macros.
10456
10457A simple example:
10458
10459       AX_CONFIG_FEATURE_DEFAULT_ENABLED
10460       AX_CONFIG_FEATURE(feature_xxxxx, [turns on/off XXXXX support],
10461                         HAVE_XXXXX, [Define if you want XXXXX support])
10462
10463       ...
10464
10465       AX_CONFIG_FEATURE_DEFAULT_DISABLED
10466       AX_CONFIG_FEATURE(feature_yyyyy, [turns on/off YYYYY support],
10467                         HAVE_YYYYY, [Define if you want YYYYY support],
10468                         [enable_yyyyy="yes"], [enable_yyyyy="no"])
10469       AM_CONDITIONAL(YYYYY, [test "$enable_yyyyy" = "yes"])
10470
10471       AX_CONFIG_FEATURE_DEFAULT_ENABLED
10472       AX_CONFIG_FEATURE(...)
10473
10474       ...
10475
10476If you have lot of features and you want a verbose dumping of each user
10477selection use AX_CONFIG_FEATURE_VERBOSE. Use AX_CONFIG_FEATURE_SILENT in
10478order to remove a previously AX_CONFIG_FEATURE_VERBOSE. By default
10479features are silent.
10480
10481Use AX_CONFIG_FEATURE_ENABLE or AX_CONFIG_FEATURE_DISABLE in order to
10482enable or disable a specific feature.
10483
10484Another simple example:
10485
10486       AS_IF([some_test_here],[AX_CONFIG_FEATURE_ENABLE(feature_xxxxx)],[])
10487
10488       AX_CONFIG_FEATURE(feature_xxxxx, [turns on/off XXXXX support],
10489                         HAVE_XXXXX, [Define if you want XXXXX support])
10490       AX_CONFIG_FEATURE(feature_yyyyy, [turns on/off YYYYY support],
10491                         HAVE_YYYYY, [Define if you want YYYYY support],
10492                         [enable_yyyyy="yes"], [enable_yyyyy="no"])
10493
10494       ...
10495
10496NOTE: AX_CONFIG_FEATURE_ENABLE() must be placed first of the relative
10497AX_CONFIG_FEATURE() macro ...
10498
10499Source Code
10500***********
10501
10502Download the latest version of 'ax_config_feature.m4'
10503(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_config_feature.m4)
10504or browse the macro's revision history
10505(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_config_feature.m4).
10506
10507License
10508*******
10509
10510Copyright (C) 2008 Francesco Salvestrini <salvestrini@users.sourceforge.net>
10511
10512This program is free software; you can redistribute it and/or modify it
10513under the terms of the GNU General Public License as published by the
10514Free Software Foundation; either version 2 of the License, or (at your
10515option) any later version.
10516
10517This program is distributed in the hope that it will be useful, but
10518WITHOUT ANY WARRANTY; without even the implied warranty of
10519MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
10520Public License for more details.
10521
10522You should have received a copy of the GNU General Public License along
10523with this program.  If not, see <https://www.gnu.org/licenses/>.
10524
10525As a special exception, the respective Autoconf Macro's copyright owner
10526gives unlimited permission to copy, distribute and modify the configure
10527scripts that are the output of Autoconf when processing the Macro.  You
10528need not follow the terms of the GNU General Public License when using
10529or distributing such scripts, even though portions of the text of the
10530Macro appear in them.  The GNU General Public License (GPL) does govern
10531all other use of the material that constitutes the Autoconf Macro.
10532
10533This special exception to the GPL applies to versions of the Autoconf
10534Macro released by the Autoconf Archive.  When you make and distribute a
10535modified version of the Autoconf Macro, you may extend this special
10536exception to the GPL to apply to your modified version as well.
10537
10538
10539File: autoconf-archive.info,  Node: ax_configure_args,  Next: ax_count_cpus,  Prev: ax_config_feature,  Up: The Macros
10540
10541ax_configure_args
10542=================
10543
10544Synopsis
10545********
10546
10547     AX_CONFIGURE_ARGS
10548
10549Description
10550***********
10551
10552Helper macro for AX_ENABLE_BUILDDIR.
10553
10554The traditional way of starting a subdir-configure is running the script
10555with ${1+"$@"} but since autoconf 2.60 this is broken.  Instead we have
10556to rely on eval'ing $ac_configure_args however some old autoconf
10557versions do not provide that.  To ensure maximum portability of autoconf
10558extension macros this helper can be AC_REQUIRE'd so that
10559$ac_configure_args will always be present.
10560
10561Sadly, the traditional "exec $SHELL" of the enable_builddir macros is
10562spoiled now and must be replaced by "eval + exit $?".
10563
10564Example:
10565
10566       AC_DEFUN([AX_ENABLE_SUBDIR],[dnl
10567         AC_REQUIRE([AX_CONFIGURE_ARGS])dnl
10568         eval $SHELL $ac_configure_args || exit $?
10569         ...])
10570
10571Source Code
10572***********
10573
10574Download the latest version of 'ax_configure_args.m4'
10575(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_configure_args.m4)
10576or browse the macro's revision history
10577(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_configure_args.m4).
10578
10579License
10580*******
10581
10582Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
10583
10584Copying and distribution of this file, with or without modification, are
10585permitted in any medium without royalty provided the copyright notice
10586and this notice are preserved.  This file is offered as-is, without any
10587warranty.
10588
10589
10590File: autoconf-archive.info,  Node: ax_count_cpus,  Next: ax_cpu_freq,  Prev: ax_configure_args,  Up: The Macros
10591
10592ax_count_cpus
10593=============
10594
10595Synopsis
10596********
10597
10598     AX_COUNT_CPUS([ACTION-IF-DETECTED],[ACTION-IF-NOT-DETECTED])
10599
10600Description
10601***********
10602
10603Attempt to count the number of logical processor cores (including
10604virtual and HT cores) currently available to use on the machine and
10605place detected value in CPU_COUNT variable.
10606
10607On successful detection, ACTION-IF-DETECTED is executed if present.  If
10608the detection fails, then ACTION-IF-NOT-DETECTED is triggered.  The
10609default ACTION-IF-NOT-DETECTED is to set CPU_COUNT to 1.
10610
10611Source Code
10612***********
10613
10614Download the latest version of 'ax_count_cpus.m4'
10615(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_count_cpus.m4)
10616or browse the macro's revision history
10617(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_count_cpus.m4).
10618
10619License
10620*******
10621
10622Copyright (C) 2014,2016 Karlson2k (Evgeny Grin) <k2k@narod.ru>
10623Copyright (C) 2012 Brian Aker <brian@tangent.org>
10624Copyright (C) 2008 Michael Paul Bailey <jinxidoru@byu.net>
10625Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
10626
10627Copying and distribution of this file, with or without modification, are
10628permitted in any medium without royalty provided the copyright notice
10629and this notice are preserved.  This file is offered as-is, without any
10630warranty.
10631
10632
10633File: autoconf-archive.info,  Node: ax_cpu_freq,  Next: ax_cpu_vendor,  Prev: ax_count_cpus,  Up: The Macros
10634
10635ax_cpu_freq
10636===========
10637
10638Synopsis
10639********
10640
10641     AX_CPU_FREQ
10642
10643Description
10644***********
10645
10646Compute the CPU frequency and define CPU_FREQ accordingly.
10647
10648Source Code
10649***********
10650
10651Download the latest version of 'ax_cpu_freq.m4'
10652(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cpu_freq.m4)
10653or browse the macro's revision history
10654(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cpu_freq.m4).
10655
10656License
10657*******
10658
10659Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
10660
10661Copying and distribution of this file, with or without modification, are
10662permitted in any medium without royalty provided the copyright notice
10663and this notice are preserved.  This file is offered as-is, without any
10664warranty.
10665
10666
10667File: autoconf-archive.info,  Node: ax_cpu_vendor,  Next: ax_create_generic_config,  Prev: ax_cpu_freq,  Up: The Macros
10668
10669ax_cpu_vendor
10670=============
10671
10672Synopsis
10673********
10674
10675     AX_CPU_VENDOR
10676
10677Description
10678***********
10679
10680Find your CPU's vendor by requesting cpuid and define "ax_cpu_vendor"
10681accordingly.  This macro depends on AX_GCC_X86_CPUID.
10682
10683Source Code
10684***********
10685
10686Download the latest version of 'ax_cpu_vendor.m4'
10687(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cpu_vendor.m4)
10688or browse the macro's revision history
10689(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cpu_vendor.m4).
10690
10691License
10692*******
10693
10694Copyright (C) 2008 Christophe Tournayre <turn3r@users.sourceforge.net>
10695
10696Copying and distribution of this file, with or without modification, are
10697permitted in any medium without royalty provided the copyright notice
10698and this notice are preserved.  This file is offered as-is, without any
10699warranty.
10700
10701
10702File: autoconf-archive.info,  Node: ax_create_generic_config,  Next: ax_create_pkgconfig_info,  Prev: ax_cpu_vendor,  Up: The Macros
10703
10704ax_create_generic_config
10705========================
10706
10707Synopsis
10708********
10709
10710     AX_CREATE_GENERIC_CONFIG [(PACKAGEnlibs [, VERSION])]
10711
10712Description
10713***********
10714
10715Creates a generic PACKAGE-config file that has all the things that you
10716want, hmm, well, at least it has -cflags, -version, -libs.  Ahhm, did
10717you see ax_path_generic in the autoconf-archive?  ;-)
10718
10719this macros saves you all the typing for a pkg-config.in script, you
10720don't even need to distribute one along.  Place this macro in your
10721configure.ac, et voila, you got one that you want to install.
10722
10723oh, btw, if the first arg looks like "mylib -lwhat' then it will go to
10724be added to the -libs, and mylib is extracted.
10725
10726the defaults: $1 = $PACKAGE $LIBS $2 = $VERSION there is also an
10727AC_SUBST(GENERIC_CONFIG) that will be set to the name of the file that
10728we did output in this macro.  Use as:
10729
10730      install-exec-local:    install-generic-config
10731
10732      install-generic-config:
10733         $(mkinstalldirs) $(DESTDIR)$(bindir)
10734         $(INSTALL_SCRIPT) @GENERIC_CONFIG@ $(DESTDIR)$(bindir)
10735
10736Source Code
10737***********
10738
10739Download the latest version of 'ax_create_generic_config.m4'
10740(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_generic_config.m4)
10741or browse the macro's revision history
10742(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_generic_config.m4).
10743
10744License
10745*******
10746
10747Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
10748
10749Copying and distribution of this file, with or without modification, are
10750permitted in any medium without royalty provided the copyright notice
10751and this notice are preserved.  This file is offered as-is, without any
10752warranty.
10753
10754
10755File: autoconf-archive.info,  Node: ax_create_pkgconfig_info,  Next: ax_create_stdint_h,  Prev: ax_create_generic_config,  Up: The Macros
10756
10757ax_create_pkgconfig_info
10758========================
10759
10760Synopsis
10761********
10762
10763     AX_CREATE_PKGCONFIG_INFO [(outputfile, [requires [,libs [,summary [,cflags [, ldflags]]]]])]
10764
10765Description
10766***********
10767
10768Defaults:
10769
10770       $1 = $PACKAGE_NAME.pc
10771       $2 = (empty)
10772       $3 = $PACKAGE_LIBS $LIBS (as set at that point in configure.ac)
10773       $4 = $PACKAGE_SUMMARY (or $1 Library)
10774       $5 = $PACKAGE_CFLAGS (as set at the point in configure.ac)
10775       $6 = $PACKAGE_LDFLAGS (as set at the point in configure.ac)
10776
10777       PACKAGE_NAME defaults to $PACKAGE if not set.
10778       PACKAGE_LIBS defaults to -l$PACKAGE_NAME if not set.
10779
10780The resulting file is called $PACKAGE.pc.in / $PACKAGE.pc
10781
10782You will find this macro most useful in conjunction with
10783ax_spec_defaults that can read good initializers from the .spec file.
10784In consequence, most of the generatable installable stuff can be made
10785from information being updated in a single place for the whole project.
10786
10787Source Code
10788***********
10789
10790Download the latest version of 'ax_create_pkgconfig_info.m4'
10791(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_pkgconfig_info.m4)
10792or browse the macro's revision history
10793(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_pkgconfig_info.m4).
10794
10795License
10796*******
10797
10798Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
10799Copyright (C) 2008 Sven Verdoolaege <skimo@kotnet.org>
10800
10801This program is free software; you can redistribute it and/or modify it
10802under the terms of the GNU General Public License as published by the
10803Free Software Foundation; either version 3 of the License, or (at your
10804option) any later version.
10805
10806This program is distributed in the hope that it will be useful, but
10807WITHOUT ANY WARRANTY; without even the implied warranty of
10808MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
10809Public License for more details.
10810
10811You should have received a copy of the GNU General Public License along
10812with this program.  If not, see <https://www.gnu.org/licenses/>.
10813
10814As a special exception, the respective Autoconf Macro's copyright owner
10815gives unlimited permission to copy, distribute and modify the configure
10816scripts that are the output of Autoconf when processing the Macro.  You
10817need not follow the terms of the GNU General Public License when using
10818or distributing such scripts, even though portions of the text of the
10819Macro appear in them.  The GNU General Public License (GPL) does govern
10820all other use of the material that constitutes the Autoconf Macro.
10821
10822This special exception to the GPL applies to versions of the Autoconf
10823Macro released by the Autoconf Archive.  When you make and distribute a
10824modified version of the Autoconf Macro, you may extend this special
10825exception to the GPL to apply to your modified version as well.
10826
10827
10828File: autoconf-archive.info,  Node: ax_create_stdint_h,  Next: ax_create_target_h,  Prev: ax_create_pkgconfig_info,  Up: The Macros
10829
10830ax_create_stdint_h
10831==================
10832
10833Synopsis
10834********
10835
10836     AX_CREATE_STDINT_H [( HEADER-TO-GENERATE [, HEDERS-TO-CHECK])]
10837
10838Description
10839***********
10840
10841the "ISO C9X: 7.18 Integer types <stdint.h>" section requires the
10842existence of an include file <stdint.h> that defines a set of typedefs,
10843especially uint8_t,int32_t,uintptr_t.  Many older installations will not
10844provide this file, but some will have the very same definitions in
10845<inttypes.h>.  In other environments we can use the inet-types in
10846<sys/types.h> which would define the typedefs int8_t and u_int8_t
10847respectively.
10848
10849This macros will create a local "_stdint.h" or the headerfile given as
10850an argument.  In many cases that file will just "#include <stdint.h>" or
10851"#include <inttypes.h>", while in other environments it will provide the
10852set of basic 'stdint's definitions/typedefs:
10853
10854       int8_t,uint8_t,int16_t,uint16_t,int32_t,uint32_t,intptr_t,uintptr_t
10855       int_least32_t.. int_fast32_t.. intmax_t
10856
10857which may or may not rely on the definitions of other files, or using
10858the AC_CHECK_SIZEOF macro to determine the actual sizeof each type.
10859
10860if your header files require the stdint-types you will want to create an
10861installable file mylib-int.h that all your other installable header may
10862include.  So if you have a library package named "mylib", just use
10863
10864       AX_CREATE_STDINT_H(mylib-int.h)
10865
10866in configure.ac and go to install that very header file in Makefile.am
10867along with the other headers (mylib.h) - and the mylib-specific headers
10868can simply use "#include <mylib-int.h>" to obtain the stdint-types.
10869
10870Remember, if the system already had a valid <stdint.h>, the generated
10871file will include it directly.  No need for fuzzy HAVE_STDINT_H
10872things...  (oops, GCC 4.2.x has deliberately disabled its stdint.h for
10873non-c99 compilation and the c99-mode is not the default.  Therefore this
10874macro will not use the compiler's stdint.h - please complain to the GCC
10875developers).
10876
10877Source Code
10878***********
10879
10880Download the latest version of 'ax_create_stdint_h.m4'
10881(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_stdint_h.m4)
10882or browse the macro's revision history
10883(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_stdint_h.m4).
10884
10885License
10886*******
10887
10888Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
10889
10890Copying and distribution of this file, with or without modification, are
10891permitted in any medium without royalty provided the copyright notice
10892and this notice are preserved.  This file is offered as-is, without any
10893warranty.
10894
10895
10896File: autoconf-archive.info,  Node: ax_create_target_h,  Next: ax_cvs,  Prev: ax_create_stdint_h,  Up: The Macros
10897
10898ax_create_target_h
10899==================
10900
10901Synopsis
10902********
10903
10904     AX_CREATE_TARGET_H [(HEADER-FILE [,PREFIX)]
10905
10906Description
10907***********
10908
10909Create the header-file and let it contain '#defines' for the target
10910platform.  This macro is used for libraries that have platform-specific
10911quirks.  Instead of inventing a target-specific target.h.in files, just
10912let it create a header file from the definitions of AC_CANONICAL_SYSTEM
10913and put only ifdef's in the installed header-files.
10914
10915      if the HEADER-FILE is absent, [target.h] is used.
10916      if the PREFIX is absent, [TARGET] is used.
10917      the prefix can be the packagename. (y:a-z-:A-Z_:)
10918
10919The defines look like...
10920
10921      #ifndef TARGET_CPU_M68K
10922      #define TARGET_CPU_M68K "m68k"
10923      #endif
10924
10925      #ifndef TARGET_OS_LINUX
10926      #define TARGET_OS_LINUX "linux-gnu"
10927      #endif
10928
10929      #ifndef TARGET_OS_TYPE                     /* the string itself */
10930      #define TARGET_OS_TYPE "linux-gnu"
10931      #endif
10932
10933Detail: in the case of hppa1.1, the three idents "hppa1_1" "hppa1" and
10934"hppa" are derived, for an m68k it just two, "m68k" and "m".
10935
10936The CREATE_TARGET_H__ variant is almost the same function, but
10937everything is lowercased instead of uppercased, and there is a "__" in
10938front of each prefix, so it looks like...
10939
10940      #ifndef __target_os_linux
10941      #define __target_os_linux "linux-gnulibc2"
10942      #endif
10943
10944      #ifndef __target_os__                     /* the string itself */
10945      #define __target_os__ "linux-gnulibc2"
10946      #endif
10947
10948      #ifndef __target_cpu_i586
10949      #define __target_cpu_i586 "i586"
10950      #endif
10951
10952      #ifndef __target_arch_i386
10953      #define __target_arch_i386 "i386"
10954      #endif
10955
10956      #ifndef __target_arch__                   /* cpu family arch */
10957      #define __target_arch__ "i386"
10958      #endif
10959
10960Other differences: the default string-define is "__" instead of "_TYPE".
10961
10962Personally, I prefer the second variant (which had been the first in the
10963devprocess of this file but I assume people will often fallback to the
10964primary variant presented herein).
10965
10966NOTE: CREATE_TARGET_H does also fill HOST_OS-defines Functionality has
10967been split over functions called CREATE_TARGET_H_UPPER,
10968CREATE_TARGET_H_LOWER, CREATE_TARGET_HOST_UPPER, and
10969CREATE_TARGET_HOST_LOWER.
10970
10971      CREATE_TARGET_H  uses CREATE_TARGET_H_UPPER CREATE_TARGET_HOST_UPPER
10972      CREATE_TARGET_H_ uses CREATE_TARGET_H_LOWER CREATE_TARGET_HOST_LOWER
10973
10974There is now a CREATE_PREFIX_TARGET_H in this file as a shorthand for
10975PREFIX_CONFIG_H from a target.h file, however w/o the target.h ever
10976created (the prefix is a bit different, since we add an extra -target-
10977and -host-).
10978
10979Source Code
10980***********
10981
10982Download the latest version of 'ax_create_target_h.m4'
10983(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_create_target_h.m4)
10984or browse the macro's revision history
10985(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_create_target_h.m4).
10986
10987License
10988*******
10989
10990Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
10991
10992Copying and distribution of this file, with or without modification, are
10993permitted in any medium without royalty provided the copyright notice
10994and this notice are preserved.  This file is offered as-is, without any
10995warranty.
10996
10997
10998File: autoconf-archive.info,  Node: ax_cvs,  Next: ax_cxx_bool,  Prev: ax_create_target_h,  Up: The Macros
10999
11000ax_cvs
11001======
11002
11003Synopsis
11004********
11005
11006     AX_CVS([ANON_CVSROOT])
11007
11008Description
11009***********
11010
11011Adds support cvs targets within your Makefile.
11012
11013Branching and releasing relies on you using the following version
11014format:
11015
11016       MAJOR.MINOR.POINT
11017
11018where MAJOR is the major version number, MINOR is the minor version
11019number and POINT is the point release number.
11020
11021make update
11022
11023       performs a cvs update
11024
11025make commitlog
11026
11027       Generates a ChangeLog template with the modified, added
11028       and removed files and opens it up for editing. This is
11029       not normally used directly, but is instead called by
11030       commit. It is useful however if you want to document
11031       the work you have done, but don't want to commit just
11032       yet.
11033
11034make commit
11035
11036       performs a cvs commit after first performing a cvs
11037       update and generating a commit log.
11038
11039make cvs-rm FILES="file1 file2 ..."
11040
11041       removes a file or files specified by the FILES
11042       variable from the file system and from cvs. It will
11043       interactively ask you to confirm the file removal,
11044       unless the file does not exist on the file system.
11045
11046make cvs-add FILES="file1 file2 ..."
11047
11048       adds a file or files specified by the FILES variable
11049       to cvs.
11050
11051make branch-major
11052
11053       creates a branch based on the major version number,
11054       increments the major version number, sets the minor
11055       and point versions to zero and checks out the branch
11056       into a new directory.
11057
11058make branch-minor
11059
11060       creates a branch based on the minor version number,
11061       increments the minor version, sets the point version
11062       to zero number and checks out the branch into a new
11063       directory.
11064
11065make release
11066
11067       performs a cvs update, followed by a distcheck, then
11068       creates a release for the current version, increments
11069       the point release number and checks out the release
11070       into a new directory
11071
11072make quick-release
11073
11074       same as release, but distcheck is not performed
11075
11076Source Code
11077***********
11078
11079Download the latest version of 'ax_cvs.m4'
11080(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cvs.m4)
11081or browse the macro's revision history
11082(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cvs.m4).
11083
11084License
11085*******
11086
11087Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
11088
11089Copying and distribution of this file, with or without modification, are
11090permitted in any medium without royalty provided the copyright notice
11091and this notice are preserved.  This file is offered as-is, without any
11092warranty.
11093
11094
11095File: autoconf-archive.info,  Node: ax_cxx_bool,  Next: ax_cxx_compile_stdcxx,  Prev: ax_cvs,  Up: The Macros
11096
11097ax_cxx_bool
11098===========
11099
11100Synopsis
11101********
11102
11103     AX_CXX_BOOL
11104
11105Description
11106***********
11107
11108If the compiler recognizes bool as a separate built-in type, define
11109HAVE_BOOL. Note that a typedef is not a separate type since you cannot
11110overload a function such that it accepts either the basic type or the
11111typedef.
11112
11113Source Code
11114***********
11115
11116Download the latest version of 'ax_cxx_bool.m4'
11117(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_bool.m4)
11118or browse the macro's revision history
11119(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_bool.m4).
11120
11121License
11122*******
11123
11124Copyright (C) 2008 Todd Veldhuizen
11125Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11126
11127Copying and distribution of this file, with or without modification, are
11128permitted in any medium without royalty provided the copyright notice
11129and this notice are preserved.  This file is offered as-is, without any
11130warranty.
11131
11132
11133File: autoconf-archive.info,  Node: ax_cxx_compile_stdcxx,  Next: ax_cxx_compile_stdcxx_0x,  Prev: ax_cxx_bool,  Up: The Macros
11134
11135ax_cxx_compile_stdcxx
11136=====================
11137
11138Synopsis
11139********
11140
11141     AX_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional])
11142
11143Description
11144***********
11145
11146Check for baseline language coverage in the compiler for the specified
11147version of the C++ standard.  If necessary, add switches to CXX and
11148CXXCPP to enable support.  VERSION may be '11' (for the C++11 standard)
11149or '14' (for the C++14 standard).
11150
11151The second argument, if specified, indicates whether you insist on an
11152extended mode (e.g.  -std=gnu++11) or a strict conformance mode (e.g.
11153-std=c++11).  If neither is specified, you get whatever works, with
11154preference for an extended mode.
11155
11156The third argument, if specified 'mandatory' or if left unspecified,
11157indicates that baseline support for the specified C++ standard is
11158required and that the macro should error out if no mode with that
11159support is found.  If specified 'optional', then configuration proceeds
11160regardless, after defining HAVE_CXX${VERSION} if and only if a
11161supporting mode is found.
11162
11163Source Code
11164***********
11165
11166Download the latest version of 'ax_cxx_compile_stdcxx.m4'
11167(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx.m4)
11168or browse the macro's revision history
11169(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx.m4).
11170
11171License
11172*******
11173
11174Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
11175Copyright (C) 2012 Zack Weinberg <zackw@panix.com>
11176Copyright (C) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
11177Copyright (C) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
11178
11179Copyright (C) 2015 Paul Norman <penorman@mac.com>
11180Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
11181Copyright (C) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
11182
11183Copying and distribution of this file, with or without modification, are
11184permitted in any medium without royalty provided the copyright notice
11185and this notice are preserved.  This file is offered as-is, without any
11186warranty.
11187
11188
11189File: autoconf-archive.info,  Node: ax_cxx_compile_stdcxx_0x,  Next: ax_cxx_compile_stdcxx_11,  Prev: ax_cxx_compile_stdcxx,  Up: The Macros
11190
11191ax_cxx_compile_stdcxx_0x
11192========================
11193
11194Synopsis
11195********
11196
11197     AX_CXX_COMPILE_STDCXX_0X
11198
11199Description
11200***********
11201
11202Check for baseline language coverage in the compiler for the C++0x
11203standard.
11204
11205This macro is deprecated and has been superseded by the
11206AX_CXX_COMPILE_STDCXX_11 macro which should be used instead.
11207
11208Source Code
11209***********
11210
11211Download the latest version of 'ax_cxx_compile_stdcxx_0x.m4'
11212(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_0x.m4)
11213or browse the macro's revision history
11214(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_0x.m4).
11215
11216License
11217*******
11218
11219Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
11220
11221Copying and distribution of this file, with or without modification, are
11222permitted in any medium without royalty provided the copyright notice
11223and this notice are preserved.  This file is offered as-is, without any
11224warranty.
11225
11226
11227File: autoconf-archive.info,  Node: ax_cxx_compile_stdcxx_11,  Next: ax_cxx_compile_stdcxx_14,  Prev: ax_cxx_compile_stdcxx_0x,  Up: The Macros
11228
11229ax_cxx_compile_stdcxx_11
11230========================
11231
11232Synopsis
11233********
11234
11235     AX_CXX_COMPILE_STDCXX_11([ext|noext], [mandatory|optional])
11236
11237Description
11238***********
11239
11240Check for baseline language coverage in the compiler for the C++11
11241standard; if necessary, add switches to CXX and CXXCPP to enable
11242support.
11243
11244This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
11245macro with the version set to C++11.  The two optional arguments are
11246forwarded literally as the second and third argument respectively.
11247Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
11248more information.  If you want to use this macro, you also need to
11249download the ax_cxx_compile_stdcxx.m4 file.
11250
11251Source Code
11252***********
11253
11254Download the latest version of 'ax_cxx_compile_stdcxx_11.m4'
11255(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_11.m4)
11256or browse the macro's revision history
11257(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_11.m4).
11258
11259License
11260*******
11261
11262Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
11263Copyright (C) 2012 Zack Weinberg <zackw@panix.com>
11264Copyright (C) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
11265Copyright (C) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
11266
11267Copyright (C) 2015 Paul Norman <penorman@mac.com>
11268Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
11269
11270Copying and distribution of this file, with or without modification, are
11271permitted in any medium without royalty provided the copyright notice
11272and this notice are preserved.  This file is offered as-is, without any
11273warranty.
11274
11275
11276File: autoconf-archive.info,  Node: ax_cxx_compile_stdcxx_14,  Next: ax_cxx_compile_stdcxx_17,  Prev: ax_cxx_compile_stdcxx_11,  Up: The Macros
11277
11278ax_cxx_compile_stdcxx_14
11279========================
11280
11281Synopsis
11282********
11283
11284     AX_CXX_COMPILE_STDCXX_14([ext|noext], [mandatory|optional])
11285
11286Description
11287***********
11288
11289Check for baseline language coverage in the compiler for the C++14
11290standard; if necessary, add switches to CXX and CXXCPP to enable
11291support.
11292
11293This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
11294macro with the version set to C++14.  The two optional arguments are
11295forwarded literally as the second and third argument respectively.
11296Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
11297more information.  If you want to use this macro, you also need to
11298download the ax_cxx_compile_stdcxx.m4 file.
11299
11300Source Code
11301***********
11302
11303Download the latest version of 'ax_cxx_compile_stdcxx_14.m4'
11304(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_14.m4)
11305or browse the macro's revision history
11306(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_14.m4).
11307
11308License
11309*******
11310
11311Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
11312
11313Copying and distribution of this file, with or without modification, are
11314permitted in any medium without royalty provided the copyright notice
11315and this notice are preserved.  This file is offered as-is, without any
11316warranty.
11317
11318
11319File: 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
11320
11321ax_cxx_compile_stdcxx_17
11322========================
11323
11324Synopsis
11325********
11326
11327     AX_CXX_COMPILE_STDCXX_17([ext|noext], [mandatory|optional])
11328
11329Description
11330***********
11331
11332Check for baseline language coverage in the compiler for the C++17
11333standard; if necessary, add switches to CXX and CXXCPP to enable
11334support.
11335
11336This macro is a convenience alias for calling the AX_CXX_COMPILE_STDCXX
11337macro with the version set to C++17.  The two optional arguments are
11338forwarded literally as the second and third argument respectively.
11339Please see the documentation for the AX_CXX_COMPILE_STDCXX macro for
11340more information.  If you want to use this macro, you also need to
11341download the ax_cxx_compile_stdcxx.m4 file.
11342
11343Source Code
11344***********
11345
11346Download the latest version of 'ax_cxx_compile_stdcxx_17.m4'
11347(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_compile_stdcxx_17.m4)
11348or browse the macro's revision history
11349(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_compile_stdcxx_17.m4).
11350
11351License
11352*******
11353
11354Copyright (C) 2015 Moritz Klammler <moritz@klammler.eu>
11355Copyright (C) 2016 Krzesimir Nowak <qdlacz@gmail.com>
11356
11357Copying and distribution of this file, with or without modification, are
11358permitted in any medium without royalty provided the copyright notice
11359and this notice are preserved.  This file is offered as-is, without any
11360warranty.
11361
11362
11363File: 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
11364
11365ax_cxx_complex_math_in_namespace_std
11366====================================
11367
11368Synopsis
11369********
11370
11371     AX_CXX_COMPLEX_MATH_IN_NAMESPACE_STD
11372
11373Description
11374***********
11375
11376If the C math functions are in the cmath header file and std::
11377namespace, define HAVE_MATH_FN_IN_NAMESPACE_STD.
11378
11379Source Code
11380***********
11381
11382Download the latest version of 'ax_cxx_complex_math_in_namespace_std.m4'
11383(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_complex_math_in_namespace_std.m4)
11384or browse the macro's revision history
11385(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_complex_math_in_namespace_std.m4).
11386
11387License
11388*******
11389
11390Copyright (C) 2008 Todd Veldhuizen
11391Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11392
11393Copying and distribution of this file, with or without modification, are
11394permitted in any medium without royalty provided the copyright notice
11395and this notice are preserved.  This file is offered as-is, without any
11396warranty.
11397
11398
11399File: 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
11400
11401ax_cxx_const_cast
11402=================
11403
11404Synopsis
11405********
11406
11407     AX_CXX_CONST_CAST
11408
11409Description
11410***********
11411
11412If the compiler supports const_cast<>, define HAVE_CONST_CAST.
11413
11414Source Code
11415***********
11416
11417Download the latest version of 'ax_cxx_const_cast.m4'
11418(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_const_cast.m4)
11419or browse the macro's revision history
11420(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_const_cast.m4).
11421
11422License
11423*******
11424
11425Copyright (C) 2008 Todd Veldhuizen
11426Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11427
11428Copying and distribution of this file, with or without modification, are
11429permitted in any medium without royalty provided the copyright notice
11430and this notice are preserved.  This file is offered as-is, without any
11431warranty.
11432
11433
11434File: autoconf-archive.info,  Node: ax_cxx_cppflags_std_lang,  Next: ax_cxx_cxxflags_std_lang,  Prev: ax_cxx_const_cast,  Up: The Macros
11435
11436ax_cxx_cppflags_std_lang
11437========================
11438
11439Synopsis
11440********
11441
11442     AX_CXX_CPPFLAGS_STD_LANG(CPP-FLAGS)
11443
11444Description
11445***********
11446
11447Append to CPP-FLAGS the set of flags that should be passed to the C++
11448preprocessor in order to enable use of C++ features as defined in the
11449ANSI C++ standard (eg.  use of standard iostream classes in the 'std'
11450namespace, etc.).
11451
11452Source Code
11453***********
11454
11455Download the latest version of 'ax_cxx_cppflags_std_lang.m4'
11456(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_cppflags_std_lang.m4)
11457or browse the macro's revision history
11458(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_cppflags_std_lang.m4).
11459
11460License
11461*******
11462
11463Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
11464
11465Copying and distribution of this file, with or without modification, are
11466permitted in any medium without royalty provided the copyright notice
11467and this notice are preserved.  This file is offered as-is, without any
11468warranty.
11469
11470
11471File: autoconf-archive.info,  Node: ax_cxx_cxxflags_std_lang,  Next: ax_cxx_default_template_parameters,  Prev: ax_cxx_cppflags_std_lang,  Up: The Macros
11472
11473ax_cxx_cxxflags_std_lang
11474========================
11475
11476Synopsis
11477********
11478
11479     AX_CXX_CXXFLAGS_STD_LANG(CXX-FLAGS)
11480
11481Description
11482***********
11483
11484Append to variable CXX-FLAGS the set of compile-time flags that should
11485be passed to the C++ compiler in order to enable use of C++ features as
11486defined in the ANSI C++ standard (eg.  use of standard iostream classes
11487in the 'std' namespace, etc.).  Note that if you use GNU Libtool you may
11488need to prefix each of those flags with '-Xcompiler' so that Libtool
11489doesn't discard them (see Libtool's manual and 'AC_LIBTOOLIZE_CFLAGS').
11490
11491Source Code
11492***********
11493
11494Download the latest version of 'ax_cxx_cxxflags_std_lang.m4'
11495(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_cxxflags_std_lang.m4)
11496or browse the macro's revision history
11497(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_cxxflags_std_lang.m4).
11498
11499License
11500*******
11501
11502Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
11503
11504Copying and distribution of this file, with or without modification, are
11505permitted in any medium without royalty provided the copyright notice
11506and this notice are preserved.  This file is offered as-is, without any
11507warranty.
11508
11509
11510File: autoconf-archive.info,  Node: ax_cxx_default_template_parameters,  Next: ax_cxx_delete_method,  Prev: ax_cxx_cxxflags_std_lang,  Up: The Macros
11511
11512ax_cxx_default_template_parameters
11513==================================
11514
11515Synopsis
11516********
11517
11518     AX_CXX_DEFAULT_TEMPLATE_PARAMETERS
11519
11520Description
11521***********
11522
11523If the compiler supports default template parameters, define
11524HAVE_DEFAULT_TEMPLATE_PARAMETERS.
11525
11526Source Code
11527***********
11528
11529Download the latest version of 'ax_cxx_default_template_parameters.m4'
11530(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_default_template_parameters.m4)
11531or browse the macro's revision history
11532(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_default_template_parameters.m4).
11533
11534License
11535*******
11536
11537Copyright (C) 2008 Todd Veldhuizen
11538Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11539
11540Copying and distribution of this file, with or without modification, are
11541permitted in any medium without royalty provided the copyright notice
11542and this notice are preserved.  This file is offered as-is, without any
11543warranty.
11544
11545
11546File: autoconf-archive.info,  Node: ax_cxx_delete_method,  Next: ax_cxx_dtor_after_atexit,  Prev: ax_cxx_default_template_parameters,  Up: The Macros
11547
11548ax_cxx_delete_method
11549====================
11550
11551Synopsis
11552********
11553
11554     AX_CXX_DELETE_METHOD
11555
11556Description
11557***********
11558
11559Check whether the C++11 '= delete' syntax, for suppressing undesired
11560implicit methods, is supported.  If it is, the macro DELETE_METHOD is
11561defined to '= delete'; otherwise it is defined to nothing.  Thus, you
11562can write
11563
11564       class foo {
11565         ...
11566       private:
11567         foo(foo const&) DELETE_METHOD;
11568       };
11569
11570to delete the 'foo' copy constructor or fall back to the idiom of a
11571private undefined method if the compiler doesn't support this.
11572
11573Does not test '= delete' on a template specialization.  Does not ensure
11574that the compiler is in C++11 mode.
11575
11576Source Code
11577***********
11578
11579Download the latest version of 'ax_cxx_delete_method.m4'
11580(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_delete_method.m4)
11581or browse the macro's revision history
11582(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_delete_method.m4).
11583
11584License
11585*******
11586
11587Copyright (C) 2012 Zack Weinberg <zackw@panix.com>
11588
11589Copying and distribution of this file, with or without modification, are
11590permitted in any medium without royalty provided the copyright notice
11591and this notice are preserved.  This file is offered as-is, without any
11592warranty.
11593
11594
11595File: autoconf-archive.info,  Node: ax_cxx_dtor_after_atexit,  Next: ax_cxx_dynamic_cast,  Prev: ax_cxx_delete_method,  Up: The Macros
11596
11597ax_cxx_dtor_after_atexit
11598========================
11599
11600Synopsis
11601********
11602
11603     AX_CXX_DTOR_AFTER_ATEXIT
11604
11605Description
11606***********
11607
11608If the C++ compiler calls global destructors after atexit functions,
11609define HAVE_DTOR_AFTER_ATEXIT.
11610
11611Conformant behavior is to have global destructors after atexit
11612
11613Per Paragraph 3.6.3/1 of the C++11 Standard:
11614
11615Destructors (12.4) for initialized objects [..]  with static storage
11616duration are called as a result of returning from main and as a result
11617of calling std::exit (18.5).
11618
11619And per Paragraph 3.6.3/3:
11620
11621If the completion of the initialization of an object with static storage
11622duration is sequenced before a call to std::atexit [..], the call to the
11623function passed to std::atexit is sequenced before the call to the
11624destructor for the object.
11625
11626WARNING: If cross-compiling, the test cannot be performed, the default
11627action is to define HAVE_DTOR_AFTER_ATEXIT.
11628
11629Source Code
11630***********
11631
11632Download the latest version of 'ax_cxx_dtor_after_atexit.m4'
11633(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_dtor_after_atexit.m4)
11634or browse the macro's revision history
11635(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_dtor_after_atexit.m4).
11636
11637License
11638*******
11639
11640Copyright (C) 2008 Todd Veldhuizen
11641Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11642
11643Copying and distribution of this file, with or without modification, are
11644permitted in any medium without royalty provided the copyright notice
11645and this notice are preserved.  This file is offered as-is, without any
11646warranty.
11647
11648
11649File: autoconf-archive.info,  Node: ax_cxx_dynamic_cast,  Next: ax_cxx_enum_computations,  Prev: ax_cxx_dtor_after_atexit,  Up: The Macros
11650
11651ax_cxx_dynamic_cast
11652===================
11653
11654Synopsis
11655********
11656
11657     AX_CXX_DYNAMIC_CAST
11658
11659Description
11660***********
11661
11662If the compiler supports dynamic_cast<>, define HAVE_DYNAMIC_CAST.
11663
11664Source Code
11665***********
11666
11667Download the latest version of 'ax_cxx_dynamic_cast.m4'
11668(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_dynamic_cast.m4)
11669or browse the macro's revision history
11670(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_dynamic_cast.m4).
11671
11672License
11673*******
11674
11675Copyright (C) 2008 Todd Veldhuizen
11676Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11677
11678Copying and distribution of this file, with or without modification, are
11679permitted in any medium without royalty provided the copyright notice
11680and this notice are preserved.  This file is offered as-is, without any
11681warranty.
11682
11683
11684File: autoconf-archive.info,  Node: ax_cxx_enum_computations,  Next: ax_cxx_enum_computations_with_cast,  Prev: ax_cxx_dynamic_cast,  Up: The Macros
11685
11686ax_cxx_enum_computations
11687========================
11688
11689Synopsis
11690********
11691
11692     AX_CXX_ENUM_COMPUTATIONS
11693
11694Description
11695***********
11696
11697If the compiler handle computations inside an enum, define
11698HAVE_ENUM_COMPUTATIONS.
11699
11700Source Code
11701***********
11702
11703Download the latest version of 'ax_cxx_enum_computations.m4'
11704(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_enum_computations.m4)
11705or browse the macro's revision history
11706(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_enum_computations.m4).
11707
11708License
11709*******
11710
11711Copyright (C) 2008 Todd Veldhuizen
11712Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11713
11714Copying and distribution of this file, with or without modification, are
11715permitted in any medium without royalty provided the copyright notice
11716and this notice are preserved.  This file is offered as-is, without any
11717warranty.
11718
11719
11720File: autoconf-archive.info,  Node: ax_cxx_enum_computations_with_cast,  Next: ax_cxx_erase_iterator_type,  Prev: ax_cxx_enum_computations,  Up: The Macros
11721
11722ax_cxx_enum_computations_with_cast
11723==================================
11724
11725Synopsis
11726********
11727
11728     AX_CXX_ENUM_COMPUTATIONS_WITH_CAST
11729
11730Description
11731***********
11732
11733If the compiler handle (int) casts in enum computations, define
11734HAVE_ENUM_COMPUTATIONS_WITH_CAST.
11735
11736Source Code
11737***********
11738
11739Download the latest version of 'ax_cxx_enum_computations_with_cast.m4'
11740(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_enum_computations_with_cast.m4)
11741or browse the macro's revision history
11742(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_enum_computations_with_cast.m4).
11743
11744License
11745*******
11746
11747Copyright (C) 2008 Todd Veldhuizen
11748Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11749
11750Copying and distribution of this file, with or without modification, are
11751permitted in any medium without royalty provided the copyright notice
11752and this notice are preserved.  This file is offered as-is, without any
11753warranty.
11754
11755
11756File: autoconf-archive.info,  Node: ax_cxx_erase_iterator_type,  Next: ax_cxx_exceptions,  Prev: ax_cxx_enum_computations_with_cast,  Up: The Macros
11757
11758ax_cxx_erase_iterator_type
11759==========================
11760
11761Synopsis
11762********
11763
11764     AX_CXX_ERASE_ITERATOR_TYPE
11765
11766Description
11767***********
11768
11769If the compiler supports define erase with constant iterator or with
11770classical iterator.
11771
11772Define autoconfigured_erase_iterator to const_iterator if supported and
11773iterator if not supported.
11774
11775Define HAVE_ERASE_CONSTANT_ITERATOR if supported
11776
11777Source Code
11778***********
11779
11780Download the latest version of 'ax_cxx_erase_iterator_type.m4'
11781(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_erase_iterator_type.m4)
11782or browse the macro's revision history
11783(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_erase_iterator_type.m4).
11784
11785License
11786*******
11787
11788Copyright (C) 2015 Bastien ROUCARIES
11789
11790Copying and distribution of this file, with or without modification, are
11791permitted in any medium without royalty provided the copyright notice
11792and this notice are preserved.  This file is offered as-is, without any
11793warranty.
11794
11795
11796File: autoconf-archive.info,  Node: ax_cxx_exceptions,  Next: ax_cxx_explicit,  Prev: ax_cxx_erase_iterator_type,  Up: The Macros
11797
11798ax_cxx_exceptions
11799=================
11800
11801Synopsis
11802********
11803
11804     AX_CXX_EXCEPTIONS
11805
11806Description
11807***********
11808
11809If the C++ compiler supports exceptions handling (try, throw and catch),
11810define HAVE_EXCEPTIONS.
11811
11812Source Code
11813***********
11814
11815Download the latest version of 'ax_cxx_exceptions.m4'
11816(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_exceptions.m4)
11817or browse the macro's revision history
11818(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_exceptions.m4).
11819
11820License
11821*******
11822
11823Copyright (C) 2008 Todd Veldhuizen
11824Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11825
11826Copying and distribution of this file, with or without modification, are
11827permitted in any medium without royalty provided the copyright notice
11828and this notice are preserved.  This file is offered as-is, without any
11829warranty.
11830
11831
11832File: autoconf-archive.info,  Node: ax_cxx_explicit,  Next: ax_cxx_explicit_instantiations,  Prev: ax_cxx_exceptions,  Up: The Macros
11833
11834ax_cxx_explicit
11835===============
11836
11837Synopsis
11838********
11839
11840     AX_CXX_EXPLICIT
11841
11842Description
11843***********
11844
11845If the compiler can be asked to prevent using implicitly one argument
11846constructors as converting constructors with the explicit keyword,
11847define HAVE_EXPLICIT.
11848
11849Source Code
11850***********
11851
11852Download the latest version of 'ax_cxx_explicit.m4'
11853(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_explicit.m4)
11854or browse the macro's revision history
11855(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_explicit.m4).
11856
11857License
11858*******
11859
11860Copyright (C) 2008 Todd Veldhuizen
11861Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11862
11863Copying and distribution of this file, with or without modification, are
11864permitted in any medium without royalty provided the copyright notice
11865and this notice are preserved.  This file is offered as-is, without any
11866warranty.
11867
11868
11869File: autoconf-archive.info,  Node: ax_cxx_explicit_instantiations,  Next: ax_cxx_explicit_template_function_qualification,  Prev: ax_cxx_explicit,  Up: The Macros
11870
11871ax_cxx_explicit_instantiations
11872==============================
11873
11874Synopsis
11875********
11876
11877     AX_CXX_EXPLICIT_INSTANTIATIONS
11878
11879Description
11880***********
11881
11882If the C++ compiler supports explicit instantiations syntax, define
11883HAVE_INSTANTIATIONS.
11884
11885Source Code
11886***********
11887
11888Download the latest version of 'ax_cxx_explicit_instantiations.m4'
11889(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_explicit_instantiations.m4)
11890or browse the macro's revision history
11891(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_explicit_instantiations.m4).
11892
11893License
11894*******
11895
11896Copyright (C) 2008 Todd Veldhuizen
11897Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11898
11899Copying and distribution of this file, with or without modification, are
11900permitted in any medium without royalty provided the copyright notice
11901and this notice are preserved.  This file is offered as-is, without any
11902warranty.
11903
11904
11905File: autoconf-archive.info,  Node: ax_cxx_explicit_template_function_qualification,  Next: ax_cxx_extern_template,  Prev: ax_cxx_explicit_instantiations,  Up: The Macros
11906
11907ax_cxx_explicit_template_function_qualification
11908===============================================
11909
11910Synopsis
11911********
11912
11913     AX_CXX_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION
11914
11915Description
11916***********
11917
11918If the compiler supports explicit template function qualification,
11919define HAVE_EXPLICIT_TEMPLATE_FUNCTION_QUALIFICATION.
11920
11921Source Code
11922***********
11923
11924Download the latest version of
11925'ax_cxx_explicit_template_function_qualification.m4'
11926(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_explicit_template_function_qualification.m4)
11927or browse the macro's revision history
11928(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_explicit_template_function_qualification.m4).
11929
11930License
11931*******
11932
11933Copyright (C) 2008 Todd Veldhuizen
11934Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
11935
11936Copying and distribution of this file, with or without modification, are
11937permitted in any medium without royalty provided the copyright notice
11938and this notice are preserved.  This file is offered as-is, without any
11939warranty.
11940
11941
11942File: autoconf-archive.info,  Node: ax_cxx_extern_template,  Next: ax_cxx_full_specialization_syntax,  Prev: ax_cxx_explicit_template_function_qualification,  Up: The Macros
11943
11944ax_cxx_extern_template
11945======================
11946
11947Synopsis
11948********
11949
11950     AX_CXX_EXTERN_TEMPLATE
11951
11952Description
11953***********
11954
11955Test whether the C++ compiler supports "extern template".
11956
11957Source Code
11958***********
11959
11960Download the latest version of 'ax_cxx_extern_template.m4'
11961(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_extern_template.m4)
11962or browse the macro's revision history
11963(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_extern_template.m4).
11964
11965License
11966*******
11967
11968Copyright (C) 2008 Patrick Mauritz <oxygene@studentenbude.ath.cx>
11969
11970Copying and distribution of this file, with or without modification, are
11971permitted in any medium without royalty provided the copyright notice
11972and this notice are preserved.  This file is offered as-is, without any
11973warranty.
11974
11975
11976File: autoconf-archive.info,  Node: ax_cxx_full_specialization_syntax,  Next: ax_cxx_function_nontype_parameters,  Prev: ax_cxx_extern_template,  Up: The Macros
11977
11978ax_cxx_full_specialization_syntax
11979=================================
11980
11981Synopsis
11982********
11983
11984     AX_CXX_FULL_SPECIALIZATION_SYNTAX
11985
11986Description
11987***********
11988
11989If the compiler recognizes the full specialization syntax, define
11990HAVE_FULL_SPECIALIZATION_SYNTAX.
11991
11992Source Code
11993***********
11994
11995Download the latest version of 'ax_cxx_full_specialization_syntax.m4'
11996(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_full_specialization_syntax.m4)
11997or browse the macro's revision history
11998(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_full_specialization_syntax.m4).
11999
12000License
12001*******
12002
12003Copyright (C) 2008 Todd Veldhuizen
12004Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
12005
12006Copying and distribution of this file, with or without modification, are
12007permitted in any medium without royalty provided the copyright notice
12008and this notice are preserved.  This file is offered as-is, without any
12009warranty.
12010
12011
12012File: autoconf-archive.info,  Node: ax_cxx_function_nontype_parameters,  Next: ax_cxx_function_try_blocks,  Prev: ax_cxx_full_specialization_syntax,  Up: The Macros
12013
12014ax_cxx_function_nontype_parameters
12015==================================
12016
12017Synopsis
12018********
12019
12020     AX_CXX_FUNCTION_NONTYPE_PARAMETERS
12021
12022Description
12023***********
12024
12025If the compiler supports function templates with non-type parameters,
12026define HAVE_FUNCTION_NONTYPE_PARAMETERS.
12027
12028Source Code
12029***********
12030
12031Download the latest version of 'ax_cxx_function_nontype_parameters.m4'
12032(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_function_nontype_parameters.m4)
12033or browse the macro's revision history
12034(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_function_nontype_parameters.m4).
12035
12036License
12037*******
12038
12039Copyright (C) 2008 Todd Veldhuizen
12040Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
12041
12042Copying and distribution of this file, with or without modification, are
12043permitted in any medium without royalty provided the copyright notice
12044and this notice are preserved.  This file is offered as-is, without any
12045warranty.
12046
12047
12048File: autoconf-archive.info,  Node: ax_cxx_function_try_blocks,  Next: ax_cxx_gcc_abi_demangle,  Prev: ax_cxx_function_nontype_parameters,  Up: The Macros
12049
12050ax_cxx_function_try_blocks
12051==========================
12052
12053Synopsis
12054********
12055
12056     AX_CXX_FUNCTION_TRY_BLOCKS
12057
12058Description
12059***********
12060
12061If the C++ compiler supports function try blocks, define
12062'HAVE_FUNCTION_TRY_BLOCKS'.
12063
12064Source Code
12065***********
12066
12067Download the latest version of 'ax_cxx_function_try_blocks.m4'
12068(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_function_try_blocks.m4)
12069or browse the macro's revision history
12070(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_function_try_blocks.m4).
12071
12072License
12073*******
12074
12075Copyright (C) 2008 Matthew D. Langston
12076
12077This program is free software; you can redistribute it and/or modify it
12078under the terms of the GNU General Public License as published by the
12079Free Software Foundation; either version 2 of the License, or (at your
12080option) any later version.
12081
12082This program is distributed in the hope that it will be useful, but
12083WITHOUT ANY WARRANTY; without even the implied warranty of
12084MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
12085Public License for more details.
12086
12087You should have received a copy of the GNU General Public License along
12088with this program.  If not, see <https://www.gnu.org/licenses/>.
12089
12090As a special exception, the respective Autoconf Macro's copyright owner
12091gives unlimited permission to copy, distribute and modify the configure
12092scripts that are the output of Autoconf when processing the Macro.  You
12093need not follow the terms of the GNU General Public License when using
12094or distributing such scripts, even though portions of the text of the
12095Macro appear in them.  The GNU General Public License (GPL) does govern
12096all other use of the material that constitutes the Autoconf Macro.
12097
12098This special exception to the GPL applies to versions of the Autoconf
12099Macro released by the Autoconf Archive.  When you make and distribute a
12100modified version of the Autoconf Macro, you may extend this special
12101exception to the GPL to apply to your modified version as well.
12102
12103
12104File: autoconf-archive.info,  Node: ax_cxx_gcc_abi_demangle,  Next: ax_cxx_gnucxx_hashmap,  Prev: ax_cxx_function_try_blocks,  Up: The Macros
12105
12106ax_cxx_gcc_abi_demangle
12107=======================
12108
12109Synopsis
12110********
12111
12112     AX_CXX_GCC_ABI_DEMANGLE
12113
12114Description
12115***********
12116
12117If the compiler supports GCC C++ ABI name demangling (has header
12118cxxabi.h and abi::__cxa_demangle() function), define
12119HAVE_GCC_ABI_DEMANGLE
12120
12121Adapted from AX_CXX_RTTI by Luc Maisonobe
12122
12123Source Code
12124***********
12125
12126Download the latest version of 'ax_cxx_gcc_abi_demangle.m4'
12127(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_gcc_abi_demangle.m4)
12128or browse the macro's revision history
12129(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_gcc_abi_demangle.m4).
12130
12131License
12132*******
12133
12134Copyright (C) 2008 Neil Ferguson <nferguso@eso.org>
12135
12136Copying and distribution of this file, with or without modification, are
12137permitted in any medium without royalty provided the copyright notice
12138and this notice are preserved.  This file is offered as-is, without any
12139warranty.
12140
12141
12142File: autoconf-archive.info,  Node: ax_cxx_gnucxx_hashmap,  Next: ax_cxx_have_bad_function_call,  Prev: ax_cxx_gcc_abi_demangle,  Up: The Macros
12143
12144ax_cxx_gnucxx_hashmap
12145=====================
12146
12147Synopsis
12148********
12149
12150     AX_CXX_GNUCXX_HASHMAP
12151
12152Description
12153***********
12154
12155Test for the presence of GCC's hashmap STL extension.
12156
12157Source Code
12158***********
12159
12160Download the latest version of 'ax_cxx_gnucxx_hashmap.m4'
12161(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_gnucxx_hashmap.m4)
12162or browse the macro's revision history
12163(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_gnucxx_hashmap.m4).
12164
12165License
12166*******
12167
12168Copyright (C) 2008 Patrick Mauritz <oxygene@studentenbude.ath.cx>
12169
12170Copying and distribution of this file, with or without modification, are
12171permitted in any medium without royalty provided the copyright notice
12172and this notice are preserved.  This file is offered as-is, without any
12173warranty.
12174
12175
12176File: autoconf-archive.info,  Node: ax_cxx_have_bad_function_call,  Next: ax_cxx_have_bind,  Prev: ax_cxx_gnucxx_hashmap,  Up: The Macros
12177
12178ax_cxx_have_bad_function_call
12179=============================
12180
12181Synopsis
12182********
12183
12184     AX_CXX_HAVE_BAD_FUNCTION_CALL()
12185
12186Description
12187***********
12188
12189This macro checks if std::bad_function_call, added in C++11, is defined
12190in the <functional> header.
12191
12192If it is, define the ax_cv_cxx_have_bad_function_call environment
12193variable to "yes" and define HAVE_CXX_BAD_FUNCTION_CALL.
12194
12195Source Code
12196***********
12197
12198Download the latest version of 'ax_cxx_have_bad_function_call.m4'
12199(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bad_function_call.m4)
12200or browse the macro's revision history
12201(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bad_function_call.m4).
12202
12203License
12204*******
12205
12206Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12207
12208Copying and distribution of this file, with or without modification, are
12209permitted in any medium without royalty provided the copyright notice
12210and this notice are preserved.  This file is offered as-is, without any
12211warranty.
12212
12213
12214File: autoconf-archive.info,  Node: ax_cxx_have_bind,  Next: ax_cxx_have_bit_and,  Prev: ax_cxx_have_bad_function_call,  Up: The Macros
12215
12216ax_cxx_have_bind
12217================
12218
12219Synopsis
12220********
12221
12222     AX_CXX_HAVE_BIND()
12223
12224Description
12225***********
12226
12227This macro checks if std::bind, added in C++11, is defined in the
12228<functional> header.
12229
12230If it is, define the ax_cv_cxx_have_bind environment variable to "yes"
12231and define HAVE_CXX_BIND.
12232
12233Source Code
12234***********
12235
12236Download the latest version of 'ax_cxx_have_bind.m4'
12237(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bind.m4)
12238or browse the macro's revision history
12239(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bind.m4).
12240
12241License
12242*******
12243
12244Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12245
12246Copying and distribution of this file, with or without modification, are
12247permitted in any medium without royalty provided the copyright notice
12248and this notice are preserved.  This file is offered as-is, without any
12249warranty.
12250
12251
12252File: autoconf-archive.info,  Node: ax_cxx_have_bit_and,  Next: ax_cxx_have_bit_or,  Prev: ax_cxx_have_bind,  Up: The Macros
12253
12254ax_cxx_have_bit_and
12255===================
12256
12257Synopsis
12258********
12259
12260     AX_CXX_HAVE_BIT_AND()
12261
12262Description
12263***********
12264
12265This macro checks if std::bit_and, added in C++11, is defined in the
12266<functional> header.
12267
12268If it is, define the ax_cv_cxx_have_bit_and environment variable to
12269"yes" and define HAVE_CXX_BIT_AND.
12270
12271Source Code
12272***********
12273
12274Download the latest version of 'ax_cxx_have_bit_and.m4'
12275(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bit_and.m4)
12276or browse the macro's revision history
12277(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bit_and.m4).
12278
12279License
12280*******
12281
12282Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12283
12284Copying and distribution of this file, with or without modification, are
12285permitted in any medium without royalty provided the copyright notice
12286and this notice are preserved.  This file is offered as-is, without any
12287warranty.
12288
12289
12290File: autoconf-archive.info,  Node: ax_cxx_have_bit_or,  Next: ax_cxx_have_bit_xor,  Prev: ax_cxx_have_bit_and,  Up: The Macros
12291
12292ax_cxx_have_bit_or
12293==================
12294
12295Synopsis
12296********
12297
12298     AX_CXX_HAVE_BIT_OR()
12299
12300Description
12301***********
12302
12303This macro checks if std::bit_or, added in C++11, is defined in the
12304<functional> header.
12305
12306If it is, define the ax_cv_cxx_have_bit_or environment variable to "yes"
12307and define HAVE_CXX_BIT_OR.
12308
12309Source Code
12310***********
12311
12312Download the latest version of 'ax_cxx_have_bit_or.m4'
12313(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bit_or.m4)
12314or browse the macro's revision history
12315(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bit_or.m4).
12316
12317License
12318*******
12319
12320Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12321
12322Copying and distribution of this file, with or without modification, are
12323permitted in any medium without royalty provided the copyright notice
12324and this notice are preserved.  This file is offered as-is, without any
12325warranty.
12326
12327
12328File: autoconf-archive.info,  Node: ax_cxx_have_bit_xor,  Next: ax_cxx_have_complex,  Prev: ax_cxx_have_bit_or,  Up: The Macros
12329
12330ax_cxx_have_bit_xor
12331===================
12332
12333Synopsis
12334********
12335
12336     AX_CXX_HAVE_BIT_XOR()
12337
12338Description
12339***********
12340
12341This macro checks if std::bit_xor, added in C++11, is defined in the
12342<functional> header.
12343
12344If it is, define the ax_cv_cxx_have_bit_xor environment variable to
12345"yes" and define HAVE_CXX_BIT_XOR.
12346
12347Source Code
12348***********
12349
12350Download the latest version of 'ax_cxx_have_bit_xor.m4'
12351(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_bit_xor.m4)
12352or browse the macro's revision history
12353(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_bit_xor.m4).
12354
12355License
12356*******
12357
12358Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12359
12360Copying and distribution of this file, with or without modification, are
12361permitted in any medium without royalty provided the copyright notice
12362and this notice are preserved.  This file is offered as-is, without any
12363warranty.
12364
12365
12366File: autoconf-archive.info,  Node: ax_cxx_have_complex,  Next: ax_cxx_have_complex_math1,  Prev: ax_cxx_have_bit_xor,  Up: The Macros
12367
12368ax_cxx_have_complex
12369===================
12370
12371Synopsis
12372********
12373
12374     AX_CXX_HAVE_COMPLEX
12375
12376Description
12377***********
12378
12379If the compiler has complex<T>, define HAVE_COMPLEX.
12380
12381Source Code
12382***********
12383
12384Download the latest version of 'ax_cxx_have_complex.m4'
12385(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_complex.m4)
12386or browse the macro's revision history
12387(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_complex.m4).
12388
12389License
12390*******
12391
12392Copyright (C) 2008 Todd Veldhuizen
12393Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
12394
12395Copying and distribution of this file, with or without modification, are
12396permitted in any medium without royalty provided the copyright notice
12397and this notice are preserved.  This file is offered as-is, without any
12398warranty.
12399
12400
12401File: autoconf-archive.info,  Node: ax_cxx_have_complex_math1,  Next: ax_cxx_have_complex_math2,  Prev: ax_cxx_have_complex,  Up: The Macros
12402
12403ax_cxx_have_complex_math1
12404=========================
12405
12406Synopsis
12407********
12408
12409     AX_CXX_HAVE_COMPLEX_MATH1
12410
12411Description
12412***********
12413
12414If the compiler has the complex math functions cos, cosh, exp, log, pow,
12415sin, sinh, sqrt, tan and tanh, define HAVE_COMPLEX_MATH1.
12416
12417Source Code
12418***********
12419
12420Download the latest version of 'ax_cxx_have_complex_math1.m4'
12421(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_complex_math1.m4)
12422or browse the macro's revision history
12423(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_complex_math1.m4).
12424
12425License
12426*******
12427
12428Copyright (C) 2008 Todd Veldhuizen
12429Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
12430
12431Copying and distribution of this file, with or without modification, are
12432permitted in any medium without royalty provided the copyright notice
12433and this notice are preserved.  This file is offered as-is, without any
12434warranty.
12435
12436
12437File: autoconf-archive.info,  Node: ax_cxx_have_complex_math2,  Next: ax_cxx_have_cref,  Prev: ax_cxx_have_complex_math1,  Up: The Macros
12438
12439ax_cxx_have_complex_math2
12440=========================
12441
12442Synopsis
12443********
12444
12445     AX_CXX_HAVE_COMPLEX_MATH2
12446
12447Description
12448***********
12449
12450If the compiler has the complex math functions acos, asin, atan, atan2
12451and log10, define HAVE_COMPLEX_MATH2.
12452
12453Source Code
12454***********
12455
12456Download the latest version of 'ax_cxx_have_complex_math2.m4'
12457(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_complex_math2.m4)
12458or browse the macro's revision history
12459(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_complex_math2.m4).
12460
12461License
12462*******
12463
12464Copyright (C) 2008 Todd Veldhuizen
12465Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
12466
12467Copying and distribution of this file, with or without modification, are
12468permitted in any medium without royalty provided the copyright notice
12469and this notice are preserved.  This file is offered as-is, without any
12470warranty.
12471
12472
12473File: autoconf-archive.info,  Node: ax_cxx_have_cref,  Next: ax_cxx_have_empty_iostream,  Prev: ax_cxx_have_complex_math2,  Up: The Macros
12474
12475ax_cxx_have_cref
12476================
12477
12478Synopsis
12479********
12480
12481     AX_CXX_HAVE_CREF()
12482
12483Description
12484***********
12485
12486This macro checks if std::cref, added in C++11, is defined in the
12487<functional> header.
12488
12489If it is, define the ax_cv_cxx_have_cref environment variable to "yes"
12490and define HAVE_CXX_CREF.
12491
12492Source Code
12493***********
12494
12495Download the latest version of 'ax_cxx_have_cref.m4'
12496(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_cref.m4)
12497or browse the macro's revision history
12498(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_cref.m4).
12499
12500License
12501*******
12502
12503Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12504
12505Copying and distribution of this file, with or without modification, are
12506permitted in any medium without royalty provided the copyright notice
12507and this notice are preserved.  This file is offered as-is, without any
12508warranty.
12509
12510
12511File: autoconf-archive.info,  Node: ax_cxx_have_empty_iostream,  Next: ax_cxx_have_ext_hash_map,  Prev: ax_cxx_have_cref,  Up: The Macros
12512
12513ax_cxx_have_empty_iostream
12514==========================
12515
12516Synopsis
12517********
12518
12519     AX_CXX_HAVE_EMPTY_IOSTREAM
12520
12521Description
12522***********
12523
12524Check if the compiler allow the empty iostream constructor.  Ok before
12525gcc3, not after.
12526
12527Source Code
12528***********
12529
12530Download the latest version of 'ax_cxx_have_empty_iostream.m4'
12531(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_empty_iostream.m4)
12532or browse the macro's revision history
12533(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_empty_iostream.m4).
12534
12535License
12536*******
12537
12538Copyright (C) 2008 Alain BARBET <alian@cpan.org>
12539
12540This program is free software; you can redistribute it and/or modify it
12541under the terms of the GNU General Public License as published by the
12542Free Software Foundation; either version 2 of the License, or (at your
12543option) any later version.
12544
12545This program is distributed in the hope that it will be useful, but
12546WITHOUT ANY WARRANTY; without even the implied warranty of
12547MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
12548Public License for more details.
12549
12550You should have received a copy of the GNU General Public License along
12551with this program.  If not, see <https://www.gnu.org/licenses/>.
12552
12553As a special exception, the respective Autoconf Macro's copyright owner
12554gives unlimited permission to copy, distribute and modify the configure
12555scripts that are the output of Autoconf when processing the Macro.  You
12556need not follow the terms of the GNU General Public License when using
12557or distributing such scripts, even though portions of the text of the
12558Macro appear in them.  The GNU General Public License (GPL) does govern
12559all other use of the material that constitutes the Autoconf Macro.
12560
12561This special exception to the GPL applies to versions of the Autoconf
12562Macro released by the Autoconf Archive.  When you make and distribute a
12563modified version of the Autoconf Macro, you may extend this special
12564exception to the GPL to apply to your modified version as well.
12565
12566
12567File: 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
12568
12569ax_cxx_have_ext_hash_map
12570========================
12571
12572Synopsis
12573********
12574
12575     AX_CXX_HAVE_EXT_HASH_MAP
12576
12577Description
12578***********
12579
12580Check if the compiler has ext/hash_map Eg:
12581
12582       #if defined(HAVE_EXT_HASH_MAP)
12583       #include <ext/hash_map>
12584       #else
12585       #if defined(HAVE_STL)
12586       #include <hash_map>
12587       #else
12588       # Can't find hash_map header !
12589       #endif
12590       #endif
12591
12592This file is Alain BARBET's AC_CXX_HAVE_EXT_HASH_SET 1.1 with
12593s/set/map/g :)
12594
12595Source Code
12596***********
12597
12598Download the latest version of 'ax_cxx_have_ext_hash_map.m4'
12599(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ext_hash_map.m4)
12600or browse the macro's revision history
12601(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ext_hash_map.m4).
12602
12603License
12604*******
12605
12606Copyright (C) 2008 Perceval ANICHINI
12607
12608This program is free software; you can redistribute it and/or modify it
12609under the terms of the GNU General Public License as published by the
12610Free Software Foundation; either version 2 of the License, or (at your
12611option) any later version.
12612
12613This program is distributed in the hope that it will be useful, but
12614WITHOUT ANY WARRANTY; without even the implied warranty of
12615MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
12616Public License for more details.
12617
12618You should have received a copy of the GNU General Public License along
12619with this program.  If not, see <https://www.gnu.org/licenses/>.
12620
12621As a special exception, the respective Autoconf Macro's copyright owner
12622gives unlimited permission to copy, distribute and modify the configure
12623scripts that are the output of Autoconf when processing the Macro.  You
12624need not follow the terms of the GNU General Public License when using
12625or distributing such scripts, even though portions of the text of the
12626Macro appear in them.  The GNU General Public License (GPL) does govern
12627all other use of the material that constitutes the Autoconf Macro.
12628
12629This special exception to the GPL applies to versions of the Autoconf
12630Macro released by the Autoconf Archive.  When you make and distribute a
12631modified version of the Autoconf Macro, you may extend this special
12632exception to the GPL to apply to your modified version as well.
12633
12634
12635File: 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
12636
12637ax_cxx_have_ext_hash_set
12638========================
12639
12640Synopsis
12641********
12642
12643     AX_CXX_HAVE_EXT_HASH_SET
12644
12645Description
12646***********
12647
12648Check if the compiler has ext/hash_set Eg:
12649
12650       #if defined(HAVE_EXT_HASH_SET)
12651       #include <ext/hash_set>
12652       #else
12653       #if defined(HAVE_STL)
12654       #include <hash_set>
12655       #else
12656       # Can't find hash_set header !
12657       #endif
12658       #endif
12659
12660Source Code
12661***********
12662
12663Download the latest version of 'ax_cxx_have_ext_hash_set.m4'
12664(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ext_hash_set.m4)
12665or browse the macro's revision history
12666(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ext_hash_set.m4).
12667
12668License
12669*******
12670
12671Copyright (C) 2008 Alain BARBET <alian@cpan.org>
12672
12673This program is free software; you can redistribute it and/or modify it
12674under the terms of the GNU General Public License as published by the
12675Free Software Foundation; either version 2 of the License, or (at your
12676option) any later version.
12677
12678This program is distributed in the hope that it will be useful, but
12679WITHOUT ANY WARRANTY; without even the implied warranty of
12680MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
12681Public License for more details.
12682
12683You should have received a copy of the GNU General Public License along
12684with this program.  If not, see <https://www.gnu.org/licenses/>.
12685
12686As a special exception, the respective Autoconf Macro's copyright owner
12687gives unlimited permission to copy, distribute and modify the configure
12688scripts that are the output of Autoconf when processing the Macro.  You
12689need not follow the terms of the GNU General Public License when using
12690or distributing such scripts, even though portions of the text of the
12691Macro appear in them.  The GNU General Public License (GPL) does govern
12692all other use of the material that constitutes the Autoconf Macro.
12693
12694This special exception to the GPL applies to versions of the Autoconf
12695Macro released by the Autoconf Archive.  When you make and distribute a
12696modified version of the Autoconf Macro, you may extend this special
12697exception to the GPL to apply to your modified version as well.
12698
12699
12700File: 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
12701
12702ax_cxx_have_ext_slist
12703=====================
12704
12705Synopsis
12706********
12707
12708     AX_CXX_HAVE_EXT_SLIST
12709
12710Description
12711***********
12712
12713Check if the compiler has ext/slist.  Eg:
12714
12715       #if defined(HAVE_EXT_SLIST)
12716       #include <ext/slist>
12717       #else
12718       #if defined(HAVE_STL)
12719       #include <slist>
12720       #else
12721       # Can't find slist header !
12722       #endif
12723       #endif
12724
12725Source Code
12726***********
12727
12728Download the latest version of 'ax_cxx_have_ext_slist.m4'
12729(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ext_slist.m4)
12730or browse the macro's revision history
12731(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ext_slist.m4).
12732
12733License
12734*******
12735
12736Copyright (C) 2008 Alain BARBET <alian@cpan.org>
12737
12738This program is free software; you can redistribute it and/or modify it
12739under the terms of the GNU General Public License as published by the
12740Free Software Foundation; either version 2 of the License, or (at your
12741option) any later version.
12742
12743This program is distributed in the hope that it will be useful, but
12744WITHOUT ANY WARRANTY; without even the implied warranty of
12745MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
12746Public License for more details.
12747
12748You should have received a copy of the GNU General Public License along
12749with this program.  If not, see <https://www.gnu.org/licenses/>.
12750
12751As a special exception, the respective Autoconf Macro's copyright owner
12752gives unlimited permission to copy, distribute and modify the configure
12753scripts that are the output of Autoconf when processing the Macro.  You
12754need not follow the terms of the GNU General Public License when using
12755or distributing such scripts, even though portions of the text of the
12756Macro appear in them.  The GNU General Public License (GPL) does govern
12757all other use of the material that constitutes the Autoconf Macro.
12758
12759This special exception to the GPL applies to versions of the Autoconf
12760Macro released by the Autoconf Archive.  When you make and distribute a
12761modified version of the Autoconf Macro, you may extend this special
12762exception to the GPL to apply to your modified version as well.
12763
12764
12765File: autoconf-archive.info,  Node: ax_cxx_have_freeze_sstream,  Next: ax_cxx_have_function,  Prev: ax_cxx_have_ext_slist,  Up: The Macros
12766
12767ax_cxx_have_freeze_sstream
12768==========================
12769
12770Synopsis
12771********
12772
12773     AX_CXX_HAVE_FREEZE_SSTREAM
12774
12775Description
12776***********
12777
12778Check if the compiler has (need) freeze method call in stringstream/
12779strstream.  Seems that Win32 and STLPort have it, libstdc++ not ...
12780
12781Eg:
12782
12783       #include <sstream>
12784       #ifdef HAVE_NAMESPACES
12785       using namespace std;
12786       #endif
12787       #ifdef HAVE_SSTREAM
12788       stringstream message;
12789       #else
12790       strstream message;
12791       #endif
12792       message << "Hello";
12793       #ifdef HAVE_FREEZE_SSTREAM
12794       message.freeze(0);
12795       #endif
12796
12797Source Code
12798***********
12799
12800Download the latest version of 'ax_cxx_have_freeze_sstream.m4'
12801(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_freeze_sstream.m4)
12802or browse the macro's revision history
12803(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_freeze_sstream.m4).
12804
12805License
12806*******
12807
12808Copyright (C) 2008 Alain BARBET <alian@cpan.org>
12809
12810This program is free software; you can redistribute it and/or modify it
12811under the terms of the GNU General Public License as published by the
12812Free Software Foundation; either version 2 of the License, or (at your
12813option) any later version.
12814
12815This program is distributed in the hope that it will be useful, but
12816WITHOUT ANY WARRANTY; without even the implied warranty of
12817MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
12818Public License for more details.
12819
12820You should have received a copy of the GNU General Public License along
12821with this program.  If not, see <https://www.gnu.org/licenses/>.
12822
12823As a special exception, the respective Autoconf Macro's copyright owner
12824gives unlimited permission to copy, distribute and modify the configure
12825scripts that are the output of Autoconf when processing the Macro.  You
12826need not follow the terms of the GNU General Public License when using
12827or distributing such scripts, even though portions of the text of the
12828Macro appear in them.  The GNU General Public License (GPL) does govern
12829all other use of the material that constitutes the Autoconf Macro.
12830
12831This special exception to the GPL applies to versions of the Autoconf
12832Macro released by the Autoconf Archive.  When you make and distribute a
12833modified version of the Autoconf Macro, you may extend this special
12834exception to the GPL to apply to your modified version as well.
12835
12836
12837File: autoconf-archive.info,  Node: ax_cxx_have_function,  Next: ax_cxx_have_hash,  Prev: ax_cxx_have_freeze_sstream,  Up: The Macros
12838
12839ax_cxx_have_function
12840====================
12841
12842Synopsis
12843********
12844
12845     AX_CXX_HAVE_FUNCTION()
12846
12847Description
12848***********
12849
12850This macro checks if std::function, added in C++11, is defined in the
12851<functional> header.
12852
12853If it is, define the ax_cv_cxx_have_function environment variable to
12854"yes" and define HAVE_CXX_FUNCTION.
12855
12856Source Code
12857***********
12858
12859Download the latest version of 'ax_cxx_have_function.m4'
12860(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_function.m4)
12861or browse the macro's revision history
12862(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_function.m4).
12863
12864License
12865*******
12866
12867Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12868
12869Copying and distribution of this file, with or without modification, are
12870permitted in any medium without royalty provided the copyright notice
12871and this notice are preserved.  This file is offered as-is, without any
12872warranty.
12873
12874
12875File: autoconf-archive.info,  Node: ax_cxx_have_hash,  Next: ax_cxx_have_ieee_math,  Prev: ax_cxx_have_function,  Up: The Macros
12876
12877ax_cxx_have_hash
12878================
12879
12880Synopsis
12881********
12882
12883     AX_CXX_HAVE_HASH()
12884
12885Description
12886***********
12887
12888This macro checks if std::hash, added in C++11, is defined in the
12889<functional> header.
12890
12891If it is, define the ax_cv_cxx_have_hash environment variable to "yes"
12892and define HAVE_CXX_HASH.
12893
12894Source Code
12895***********
12896
12897Download the latest version of 'ax_cxx_have_hash.m4'
12898(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_hash.m4)
12899or browse the macro's revision history
12900(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_hash.m4).
12901
12902License
12903*******
12904
12905Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12906
12907Copying and distribution of this file, with or without modification, are
12908permitted in any medium without royalty provided the copyright notice
12909and this notice are preserved.  This file is offered as-is, without any
12910warranty.
12911
12912
12913File: autoconf-archive.info,  Node: ax_cxx_have_ieee_math,  Next: ax_cxx_have_is_bind_expression,  Prev: ax_cxx_have_hash,  Up: The Macros
12914
12915ax_cxx_have_ieee_math
12916=====================
12917
12918Synopsis
12919********
12920
12921     AX_CXX_HAVE_IEEE_MATH
12922
12923Description
12924***********
12925
12926If the compiler has the double math functions acosh, asinh, atanh, cbrt,
12927expm1, erf, erfc, isnan, j0, j1, jn, gamma, lgamma, ilogb, logb, log1p,
12928rint, y0, y1, yn, hypot, nextafter, remainder and scalb, define
12929HAVE_IEEE_MATH.
12930
12931Source Code
12932***********
12933
12934Download the latest version of 'ax_cxx_have_ieee_math.m4'
12935(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ieee_math.m4)
12936or browse the macro's revision history
12937(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ieee_math.m4).
12938
12939License
12940*******
12941
12942Copyright (C) 2008 Todd Veldhuizen
12943Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
12944
12945Copying and distribution of this file, with or without modification, are
12946permitted in any medium without royalty provided the copyright notice
12947and this notice are preserved.  This file is offered as-is, without any
12948warranty.
12949
12950
12951File: 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
12952
12953ax_cxx_have_is_bind_expression
12954==============================
12955
12956Synopsis
12957********
12958
12959     AX_CXX_HAVE_IS_BIND_EXPRESSION()
12960
12961Description
12962***********
12963
12964This macro checks if std::is_bind_expression, added in C++11, is defined
12965in the <functional> header.
12966
12967If it is, define the ax_cv_cxx_have_is_bind_expression environment
12968variable to "yes" and define HAVE_CXX_IS_BIND_EXPRESSION.
12969
12970Source Code
12971***********
12972
12973Download the latest version of 'ax_cxx_have_is_bind_expression.m4'
12974(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_is_bind_expression.m4)
12975or browse the macro's revision history
12976(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_is_bind_expression.m4).
12977
12978License
12979*******
12980
12981Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
12982
12983Copying and distribution of this file, with or without modification, are
12984permitted in any medium without royalty provided the copyright notice
12985and this notice are preserved.  This file is offered as-is, without any
12986warranty.
12987
12988
12989File: 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
12990
12991ax_cxx_have_is_placeholder
12992==========================
12993
12994Synopsis
12995********
12996
12997     AX_CXX_HAVE_IS_PLACEHOLDER()
12998
12999Description
13000***********
13001
13002This macro checks if std::is_placeholder, added in C++11, is defined in
13003the <functional> header.
13004
13005If it is, define the ax_cv_cxx_have_is_placeholder environment variable
13006to "yes" and define HAVE_CXX_IS_PLACEHOLDER.
13007
13008Source Code
13009***********
13010
13011Download the latest version of 'ax_cxx_have_is_placeholder.m4'
13012(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_is_placeholder.m4)
13013or browse the macro's revision history
13014(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_is_placeholder.m4).
13015
13016License
13017*******
13018
13019Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
13020
13021Copying and distribution of this file, with or without modification, are
13022permitted in any medium without royalty provided the copyright notice
13023and this notice are preserved.  This file is offered as-is, without any
13024warranty.
13025
13026
13027File: 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
13028
13029ax_cxx_have_koenig_lookup
13030=========================
13031
13032Synopsis
13033********
13034
13035     AX_CXX_HAVE_KOENIG_LOOKUP
13036
13037Description
13038***********
13039
13040Define CXX_HAVE_KOENIG_LOOKUP if the C++ compiler has argument-dependent
13041name lookup (a.k.a.  Koenig lookup).
13042
13043Source Code
13044***********
13045
13046Download the latest version of 'ax_cxx_have_koenig_lookup.m4'
13047(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_koenig_lookup.m4)
13048or browse the macro's revision history
13049(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_koenig_lookup.m4).
13050
13051License
13052*******
13053
13054Copyright (C) 2008 Steve M. Robbins <smr@debian.org>
13055
13056Copying and distribution of this file, with or without modification, are
13057permitted in any medium without royalty provided the copyright notice
13058and this notice are preserved.  This file is offered as-is, without any
13059warranty.
13060
13061
13062File: 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
13063
13064ax_cxx_have_long_long_for_iostream
13065==================================
13066
13067Synopsis
13068********
13069
13070     AX_CXX_HAVE_LONG_LONG_FOR_IOSTREAM
13071
13072Description
13073***********
13074
13075Check if the compiler allow long long for [i|o]stream Seems that OpenBSD
13076/ gcc-3 don't have it.
13077
13078Eg:
13079
13080       #include <iostream>
13081       #ifdef HAVE_SSTREAM
13082       #include <strstream>
13083       #else
13084       #include <sstream>
13085       #endif
13086       #ifdef HAVE_NAMESPACES
13087       using namespace std;
13088       #endif
13089       ostream str((streambuf *)0);
13090       long long lo=1;
13091       str <<
13092       #ifdef HAVE_LONG_LONG_FOR_IOSTREAM
13093         (long int)
13094       #endif
13095               lo;
13096
13097Source Code
13098***********
13099
13100Download the latest version of 'ax_cxx_have_long_long_for_iostream.m4'
13101(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_long_long_for_iostream.m4)
13102or browse the macro's revision history
13103(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_long_long_for_iostream.m4).
13104
13105License
13106*******
13107
13108Copyright (C) 2008 Alain BARBET <alian@cpan.org>
13109
13110This program is free software; you can redistribute it and/or modify it
13111under the terms of the GNU General Public License as published by the
13112Free Software Foundation; either version 2 of the License, or (at your
13113option) any later version.
13114
13115This program is distributed in the hope that it will be useful, but
13116WITHOUT ANY WARRANTY; without even the implied warranty of
13117MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
13118Public License for more details.
13119
13120You should have received a copy of the GNU General Public License along
13121with this program.  If not, see <https://www.gnu.org/licenses/>.
13122
13123As a special exception, the respective Autoconf Macro's copyright owner
13124gives unlimited permission to copy, distribute and modify the configure
13125scripts that are the output of Autoconf when processing the Macro.  You
13126need not follow the terms of the GNU General Public License when using
13127or distributing such scripts, even though portions of the text of the
13128Macro appear in them.  The GNU General Public License (GPL) does govern
13129all other use of the material that constitutes the Autoconf Macro.
13130
13131This special exception to the GPL applies to versions of the Autoconf
13132Macro released by the Autoconf Archive.  When you make and distribute a
13133modified version of the Autoconf Macro, you may extend this special
13134exception to the GPL to apply to your modified version as well.
13135
13136
13137File: 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
13138
13139ax_cxx_have_mem_fn
13140==================
13141
13142Synopsis
13143********
13144
13145     AX_CXX_HAVE_MEM_FN()
13146
13147Description
13148***********
13149
13150This macro checks if std::mem_fn, added in C++11, is defined in the
13151<functional> header.
13152
13153If it is, define the ax_cv_cxx_have_mem_fn environment variable to "yes"
13154and define HAVE_CXX_MEM_FN.
13155
13156Source Code
13157***********
13158
13159Download the latest version of 'ax_cxx_have_mem_fn.m4'
13160(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_mem_fn.m4)
13161or browse the macro's revision history
13162(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_mem_fn.m4).
13163
13164License
13165*******
13166
13167Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
13168
13169Copying and distribution of this file, with or without modification, are
13170permitted in any medium without royalty provided the copyright notice
13171and this notice are preserved.  This file is offered as-is, without any
13172warranty.
13173
13174
13175File: autoconf-archive.info,  Node: ax_cxx_have_numeric_limits,  Next: ax_cxx_have_placeholders,  Prev: ax_cxx_have_mem_fn,  Up: The Macros
13176
13177ax_cxx_have_numeric_limits
13178==========================
13179
13180Synopsis
13181********
13182
13183     AX_CXX_HAVE_NUMERIC_LIMITS
13184
13185Description
13186***********
13187
13188If the compiler has numeric_limits<T>, define HAVE_NUMERIC_LIMITS.
13189
13190Source Code
13191***********
13192
13193Download the latest version of 'ax_cxx_have_numeric_limits.m4'
13194(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_numeric_limits.m4)
13195or browse the macro's revision history
13196(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_numeric_limits.m4).
13197
13198License
13199*******
13200
13201Copyright (C) 2008 Todd Veldhuizen
13202Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13203
13204Copying and distribution of this file, with or without modification, are
13205permitted in any medium without royalty provided the copyright notice
13206and this notice are preserved.  This file is offered as-is, without any
13207warranty.
13208
13209
13210File: autoconf-archive.info,  Node: ax_cxx_have_placeholders,  Next: ax_cxx_have_ref,  Prev: ax_cxx_have_numeric_limits,  Up: The Macros
13211
13212ax_cxx_have_placeholders
13213========================
13214
13215Synopsis
13216********
13217
13218     AX_CXX_HAVE_PLACEHOLDERS()
13219
13220Description
13221***********
13222
13223This macro checks if std::placeholders, added in C++11, is defined in
13224the <functional> header.
13225
13226If it is, define the ax_cv_cxx_have_placeholders environment variable to
13227"yes" and define HAVE_CXX_PLACEHOLDERS.
13228
13229Source Code
13230***********
13231
13232Download the latest version of 'ax_cxx_have_placeholders.m4'
13233(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_placeholders.m4)
13234or browse the macro's revision history
13235(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_placeholders.m4).
13236
13237License
13238*******
13239
13240Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
13241
13242Copying and distribution of this file, with or without modification, are
13243permitted in any medium without royalty provided the copyright notice
13244and this notice are preserved.  This file is offered as-is, without any
13245warranty.
13246
13247
13248File: autoconf-archive.info,  Node: ax_cxx_have_ref,  Next: ax_cxx_have_reference_wrapper,  Prev: ax_cxx_have_placeholders,  Up: The Macros
13249
13250ax_cxx_have_ref
13251===============
13252
13253Synopsis
13254********
13255
13256     AX_CXX_HAVE_REF()
13257
13258Description
13259***********
13260
13261This macro checks if std::ref, added in C++11, is defined in the
13262<functional> header.
13263
13264If it is, define the ax_cv_cxx_have_ref environment variable to "yes"
13265and define HAVE_CXX_REF.
13266
13267Source Code
13268***********
13269
13270Download the latest version of 'ax_cxx_have_ref.m4'
13271(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_ref.m4)
13272or browse the macro's revision history
13273(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_ref.m4).
13274
13275License
13276*******
13277
13278Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
13279
13280Copying and distribution of this file, with or without modification, are
13281permitted in any medium without royalty provided the copyright notice
13282and this notice are preserved.  This file is offered as-is, without any
13283warranty.
13284
13285
13286File: autoconf-archive.info,  Node: ax_cxx_have_reference_wrapper,  Next: ax_cxx_have_sstream,  Prev: ax_cxx_have_ref,  Up: The Macros
13287
13288ax_cxx_have_reference_wrapper
13289=============================
13290
13291Synopsis
13292********
13293
13294     AX_CXX_HAVE_REFERENCE_WRAPPER()
13295
13296Description
13297***********
13298
13299This macro checks if std::reference_wrapper, added in C++11, is defined
13300in the <functional> header.
13301
13302If it is, define the ax_cv_cxx_have_reference_wrapper environment
13303variable to "yes" and define HAVE_CXX_REFERENCE_WRAPPER.
13304
13305Source Code
13306***********
13307
13308Download the latest version of 'ax_cxx_have_reference_wrapper.m4'
13309(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_reference_wrapper.m4)
13310or browse the macro's revision history
13311(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_reference_wrapper.m4).
13312
13313License
13314*******
13315
13316Copyright (C) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
13317
13318Copying and distribution of this file, with or without modification, are
13319permitted in any medium without royalty provided the copyright notice
13320and this notice are preserved.  This file is offered as-is, without any
13321warranty.
13322
13323
13324File: autoconf-archive.info,  Node: ax_cxx_have_sstream,  Next: ax_cxx_have_std,  Prev: ax_cxx_have_reference_wrapper,  Up: The Macros
13325
13326ax_cxx_have_sstream
13327===================
13328
13329Synopsis
13330********
13331
13332     AX_CXX_HAVE_SSTREAM
13333
13334Description
13335***********
13336
13337If the C++ library has a working stringstream, define HAVE_SSTREAM.
13338
13339Source Code
13340***********
13341
13342Download the latest version of 'ax_cxx_have_sstream.m4'
13343(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_sstream.m4)
13344or browse the macro's revision history
13345(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_sstream.m4).
13346
13347License
13348*******
13349
13350Copyright (C) 2008 Ben Stanley <Ben.Stanley@exemail.com.au>
13351
13352Copying and distribution of this file, with or without modification, are
13353permitted in any medium without royalty provided the copyright notice
13354and this notice are preserved.  This file is offered as-is, without any
13355warranty.
13356
13357
13358File: autoconf-archive.info,  Node: ax_cxx_have_std,  Next: ax_cxx_have_stl,  Prev: ax_cxx_have_sstream,  Up: The Macros
13359
13360ax_cxx_have_std
13361===============
13362
13363Synopsis
13364********
13365
13366     AX_CXX_HAVE_STD
13367
13368Description
13369***********
13370
13371If the compiler supports ISO C++ standard library (i.e., can include the
13372files iostream, map, iomanip and cmath), define HAVE_STD.
13373
13374Source Code
13375***********
13376
13377Download the latest version of 'ax_cxx_have_std.m4'
13378(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_std.m4)
13379or browse the macro's revision history
13380(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_std.m4).
13381
13382License
13383*******
13384
13385Copyright (C) 2008 Todd Veldhuizen
13386Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13387
13388Copying and distribution of this file, with or without modification, are
13389permitted in any medium without royalty provided the copyright notice
13390and this notice are preserved.  This file is offered as-is, without any
13391warranty.
13392
13393
13394File: autoconf-archive.info,  Node: ax_cxx_have_stl,  Next: ax_cxx_have_string_push_back,  Prev: ax_cxx_have_std,  Up: The Macros
13395
13396ax_cxx_have_stl
13397===============
13398
13399Synopsis
13400********
13401
13402     AX_CXX_HAVE_STL
13403
13404Description
13405***********
13406
13407If the compiler supports the Standard Template Library, define HAVE_STL.
13408
13409Source Code
13410***********
13411
13412Download the latest version of 'ax_cxx_have_stl.m4'
13413(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_stl.m4)
13414or browse the macro's revision history
13415(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_stl.m4).
13416
13417License
13418*******
13419
13420Copyright (C) 2008 Todd Veldhuizen
13421Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13422
13423Copying and distribution of this file, with or without modification, are
13424permitted in any medium without royalty provided the copyright notice
13425and this notice are preserved.  This file is offered as-is, without any
13426warranty.
13427
13428
13429File: 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
13430
13431ax_cxx_have_string_push_back
13432============================
13433
13434Synopsis
13435********
13436
13437     AX_CXX_HAVE_STRING_PUSH_BACK
13438
13439Description
13440***********
13441
13442If the implementation of the C++ library provides the method
13443std::string::push_back (char), define HAVE_STRING_PUSH_BACK.
13444
13445Source Code
13446***********
13447
13448Download the latest version of 'ax_cxx_have_string_push_back.m4'
13449(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_string_push_back.m4)
13450or browse the macro's revision history
13451(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_string_push_back.m4).
13452
13453License
13454*******
13455
13456Copyright (C) 2008 Jan Langer <jan@langernetz.de>
13457
13458Copying and distribution of this file, with or without modification, are
13459permitted in any medium without royalty provided the copyright notice
13460and this notice are preserved.  This file is offered as-is, without any
13461warranty.
13462
13463
13464File: 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
13465
13466ax_cxx_have_system_v_math
13467=========================
13468
13469Synopsis
13470********
13471
13472     AX_CXX_HAVE_SYSTEM_V_MATH
13473
13474Description
13475***********
13476
13477If the compiler has the double math functions _class, trunc, itrunc,
13478nearest, rsqrt, uitrunc, copysign, drem, finite, and unordered, define
13479HAVE_SYSTEM_V_MATH.
13480
13481Source Code
13482***********
13483
13484Download the latest version of 'ax_cxx_have_system_v_math.m4'
13485(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_system_v_math.m4)
13486or browse the macro's revision history
13487(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_system_v_math.m4).
13488
13489License
13490*******
13491
13492Copyright (C) 2008 Todd Veldhuizen
13493Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13494
13495Copying and distribution of this file, with or without modification, are
13496permitted in any medium without royalty provided the copyright notice
13497and this notice are preserved.  This file is offered as-is, without any
13498warranty.
13499
13500
13501File: autoconf-archive.info,  Node: ax_cxx_have_valarray,  Next: ax_cxx_have_vector_at,  Prev: ax_cxx_have_system_v_math,  Up: The Macros
13502
13503ax_cxx_have_valarray
13504====================
13505
13506Synopsis
13507********
13508
13509     AX_CXX_HAVE_VALARRAY
13510
13511Description
13512***********
13513
13514If the compiler has valarray<T>, define HAVE_VALARRAY.
13515
13516Source Code
13517***********
13518
13519Download the latest version of 'ax_cxx_have_valarray.m4'
13520(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_valarray.m4)
13521or browse the macro's revision history
13522(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_valarray.m4).
13523
13524License
13525*******
13526
13527Copyright (C) 2008 Todd Veldhuizen
13528Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13529
13530Copying and distribution of this file, with or without modification, are
13531permitted in any medium without royalty provided the copyright notice
13532and this notice are preserved.  This file is offered as-is, without any
13533warranty.
13534
13535
13536File: autoconf-archive.info,  Node: ax_cxx_have_vector_at,  Next: ax_cxx_header_pre_stdcxx,  Prev: ax_cxx_have_valarray,  Up: The Macros
13537
13538ax_cxx_have_vector_at
13539=====================
13540
13541Synopsis
13542********
13543
13544     AX_CXX_HAVE_VECTOR_AT
13545
13546Description
13547***********
13548
13549If the implementation of the C++ library provides the method
13550std::vector::at(std::size_t), define HAVE_VECTOR_AT.
13551
13552Source Code
13553***********
13554
13555Download the latest version of 'ax_cxx_have_vector_at.m4'
13556(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_have_vector_at.m4)
13557or browse the macro's revision history
13558(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_have_vector_at.m4).
13559
13560License
13561*******
13562
13563Copyright (C) 2008 Jan Langer <jan@langernetz.de>
13564
13565Copying and distribution of this file, with or without modification, are
13566permitted in any medium without royalty provided the copyright notice
13567and this notice are preserved.  This file is offered as-is, without any
13568warranty.
13569
13570
13571File: autoconf-archive.info,  Node: ax_cxx_header_pre_stdcxx,  Next: ax_cxx_header_stdcxx_0x,  Prev: ax_cxx_have_vector_at,  Up: The Macros
13572
13573ax_cxx_header_pre_stdcxx
13574========================
13575
13576Synopsis
13577********
13578
13579     AX_CXX_HEADER_PRE_STDCXX
13580
13581Description
13582***********
13583
13584Check whether pre-ISO-C++ headers exist.
13585
13586Source Code
13587***********
13588
13589Download the latest version of 'ax_cxx_header_pre_stdcxx.m4'
13590(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_pre_stdcxx.m4)
13591or browse the macro's revision history
13592(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_pre_stdcxx.m4).
13593
13594License
13595*******
13596
13597Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13598
13599Copying and distribution of this file, with or without modification, are
13600permitted in any medium without royalty provided the copyright notice
13601and this notice are preserved.  This file is offered as-is, without any
13602warranty.
13603
13604
13605File: autoconf-archive.info,  Node: ax_cxx_header_stdcxx_0x,  Next: ax_cxx_header_stdcxx_98,  Prev: ax_cxx_header_pre_stdcxx,  Up: The Macros
13606
13607ax_cxx_header_stdcxx_0x
13608=======================
13609
13610Synopsis
13611********
13612
13613     AX_CXX_HEADER_STDCXX_0X
13614
13615Description
13616***********
13617
13618Check for library coverage of the C++0x standard.
13619
13620Source Code
13621***********
13622
13623Download the latest version of 'ax_cxx_header_stdcxx_0x.m4'
13624(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_stdcxx_0x.m4)
13625or browse the macro's revision history
13626(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_stdcxx_0x.m4).
13627
13628License
13629*******
13630
13631Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13632
13633Copying and distribution of this file, with or without modification, are
13634permitted in any medium without royalty provided the copyright notice
13635and this notice are preserved.  This file is offered as-is, without any
13636warranty.
13637
13638
13639File: autoconf-archive.info,  Node: ax_cxx_header_stdcxx_98,  Next: ax_cxx_header_stdcxx_tr1,  Prev: ax_cxx_header_stdcxx_0x,  Up: The Macros
13640
13641ax_cxx_header_stdcxx_98
13642=======================
13643
13644Synopsis
13645********
13646
13647     AX_CXX_HEADER_STDCXX_98
13648
13649Description
13650***********
13651
13652Check for complete library coverage of the C++1998/2003 standard.
13653
13654Source Code
13655***********
13656
13657Download the latest version of 'ax_cxx_header_stdcxx_98.m4'
13658(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_stdcxx_98.m4)
13659or browse the macro's revision history
13660(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_stdcxx_98.m4).
13661
13662License
13663*******
13664
13665Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13666
13667Copying and distribution of this file, with or without modification, are
13668permitted in any medium without royalty provided the copyright notice
13669and this notice are preserved.  This file is offered as-is, without any
13670warranty.
13671
13672
13673File: 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
13674
13675ax_cxx_header_stdcxx_tr1
13676========================
13677
13678Synopsis
13679********
13680
13681     AX_CXX_HEADER_STDCXX_TR1
13682
13683Description
13684***********
13685
13686Check for library coverage of the TR1 standard.
13687
13688Source Code
13689***********
13690
13691Download the latest version of 'ax_cxx_header_stdcxx_tr1.m4'
13692(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_stdcxx_tr1.m4)
13693or browse the macro's revision history
13694(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_stdcxx_tr1.m4).
13695
13696License
13697*******
13698
13699Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13700
13701Copying and distribution of this file, with or without modification, are
13702permitted in any medium without royalty provided the copyright notice
13703and this notice are preserved.  This file is offered as-is, without any
13704warranty.
13705
13706
13707File: 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
13708
13709ax_cxx_header_tr1_unordered_map
13710===============================
13711
13712Synopsis
13713********
13714
13715     AX_CXX_HEADER_TR1_UNORDERED_MAP
13716
13717Description
13718***********
13719
13720Check whether the TR1 include <unordered_map> exists and define
13721HAVE_TR1_UNORDERED_MAP if it does.
13722
13723Source Code
13724***********
13725
13726Download the latest version of 'ax_cxx_header_tr1_unordered_map.m4'
13727(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_tr1_unordered_map.m4)
13728or browse the macro's revision history
13729(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_tr1_unordered_map.m4).
13730
13731License
13732*******
13733
13734Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13735
13736Copying and distribution of this file, with or without modification, are
13737permitted in any medium without royalty provided the copyright notice
13738and this notice are preserved.  This file is offered as-is, without any
13739warranty.
13740
13741
13742File: 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
13743
13744ax_cxx_header_tr1_unordered_set
13745===============================
13746
13747Synopsis
13748********
13749
13750     AX_CXX_HEADER_TR1_UNORDERED_SET
13751
13752Description
13753***********
13754
13755Check whether the TR1 include <unordered_set> exists and define
13756HAVE_TR1_UNORDERED_SET if it does.
13757
13758Source Code
13759***********
13760
13761Download the latest version of 'ax_cxx_header_tr1_unordered_set.m4'
13762(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_tr1_unordered_set.m4)
13763or browse the macro's revision history
13764(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_tr1_unordered_set.m4).
13765
13766License
13767*******
13768
13769Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13770
13771Copying and distribution of this file, with or without modification, are
13772permitted in any medium without royalty provided the copyright notice
13773and this notice are preserved.  This file is offered as-is, without any
13774warranty.
13775
13776
13777File: 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
13778
13779ax_cxx_header_unordered_map
13780===========================
13781
13782Synopsis
13783********
13784
13785     AX_CXX_HEADER_UNORDERED_MAP
13786
13787Description
13788***********
13789
13790Check whether the C++ include <unordered_map> exists and define
13791HAVE_UNORDERED_MAP if it does.
13792
13793Source Code
13794***********
13795
13796Download the latest version of 'ax_cxx_header_unordered_map.m4'
13797(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_unordered_map.m4)
13798or browse the macro's revision history
13799(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_unordered_map.m4).
13800
13801License
13802*******
13803
13804Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13805
13806Copying and distribution of this file, with or without modification, are
13807permitted in any medium without royalty provided the copyright notice
13808and this notice are preserved.  This file is offered as-is, without any
13809warranty.
13810
13811
13812File: autoconf-archive.info,  Node: ax_cxx_header_unordered_set,  Next: ax_cxx_ldflags_std_lang,  Prev: ax_cxx_header_unordered_map,  Up: The Macros
13813
13814ax_cxx_header_unordered_set
13815===========================
13816
13817Synopsis
13818********
13819
13820     AX_CXX_HEADER_UNORDERED_SET
13821
13822Description
13823***********
13824
13825Check whether the C++ include <unordered_set> exists and define
13826HAVE_UNORDERED_SET if it does.
13827
13828Source Code
13829***********
13830
13831Download the latest version of 'ax_cxx_header_unordered_set.m4'
13832(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_header_unordered_set.m4)
13833or browse the macro's revision history
13834(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_header_unordered_set.m4).
13835
13836License
13837*******
13838
13839Copyright (C) 2008 Benjamin Kosnik <bkoz@redhat.com>
13840
13841Copying and distribution of this file, with or without modification, are
13842permitted in any medium without royalty provided the copyright notice
13843and this notice are preserved.  This file is offered as-is, without any
13844warranty.
13845
13846
13847File: autoconf-archive.info,  Node: ax_cxx_ldflags_std_lang,  Next: ax_cxx_member_constants,  Prev: ax_cxx_header_unordered_set,  Up: The Macros
13848
13849ax_cxx_ldflags_std_lang
13850=======================
13851
13852Synopsis
13853********
13854
13855     AX_CXX_LDFLAGS_STD_LANG(LD-FLAGS)
13856
13857Description
13858***********
13859
13860Append to LD-FLAGS the set of link-time flags that should be passed to
13861the C++ compiler in order to enable use of C++ features as defined in
13862the ANSI C++ standard (eg.  use of standard iostream classes in the
13863'std' namespace, etc.).  Note that if you use GNU Libtool you may need
13864to prefix each of those switches with '-Xlinker' so that Libtool doesn't
13865discard them (see Libtool's manual and 'AC_LIBTOOLIZE_LDFLAGS').
13866
13867Source Code
13868***********
13869
13870Download the latest version of 'ax_cxx_ldflags_std_lang.m4'
13871(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_ldflags_std_lang.m4)
13872or browse the macro's revision history
13873(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_ldflags_std_lang.m4).
13874
13875License
13876*******
13877
13878Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
13879
13880Copying and distribution of this file, with or without modification, are
13881permitted in any medium without royalty provided the copyright notice
13882and this notice are preserved.  This file is offered as-is, without any
13883warranty.
13884
13885
13886File: autoconf-archive.info,  Node: ax_cxx_member_constants,  Next: ax_cxx_member_templates,  Prev: ax_cxx_ldflags_std_lang,  Up: The Macros
13887
13888ax_cxx_member_constants
13889=======================
13890
13891Synopsis
13892********
13893
13894     AX_CXX_MEMBER_CONSTANTS
13895
13896Description
13897***********
13898
13899If the compiler supports member constants, define HAVE_MEMBER_CONSTANTS.
13900
13901Source Code
13902***********
13903
13904Download the latest version of 'ax_cxx_member_constants.m4'
13905(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_member_constants.m4)
13906or browse the macro's revision history
13907(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_member_constants.m4).
13908
13909License
13910*******
13911
13912Copyright (C) 2008 Todd Veldhuizen
13913Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13914
13915Copying and distribution of this file, with or without modification, are
13916permitted in any medium without royalty provided the copyright notice
13917and this notice are preserved.  This file is offered as-is, without any
13918warranty.
13919
13920
13921File: autoconf-archive.info,  Node: ax_cxx_member_templates,  Next: ax_cxx_member_templates_outside_class,  Prev: ax_cxx_member_constants,  Up: The Macros
13922
13923ax_cxx_member_templates
13924=======================
13925
13926Synopsis
13927********
13928
13929     AX_CXX_MEMBER_TEMPLATES
13930
13931Description
13932***********
13933
13934If the compiler supports member templates, define HAVE_MEMBER_TEMPLATES.
13935
13936Source Code
13937***********
13938
13939Download the latest version of 'ax_cxx_member_templates.m4'
13940(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_member_templates.m4)
13941or browse the macro's revision history
13942(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_member_templates.m4).
13943
13944License
13945*******
13946
13947Copyright (C) 2008 Todd Veldhuizen
13948Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13949
13950Copying and distribution of this file, with or without modification, are
13951permitted in any medium without royalty provided the copyright notice
13952and this notice are preserved.  This file is offered as-is, without any
13953warranty.
13954
13955
13956File: autoconf-archive.info,  Node: ax_cxx_member_templates_outside_class,  Next: ax_cxx_mutable,  Prev: ax_cxx_member_templates,  Up: The Macros
13957
13958ax_cxx_member_templates_outside_class
13959=====================================
13960
13961Synopsis
13962********
13963
13964     AX_CXX_MEMBER_TEMPLATES_OUTSIDE_CLASS
13965
13966Description
13967***********
13968
13969If the compiler supports member templates outside the class declaration,
13970define HAVE_MEMBER_TEMPLATES_OUTSIDE_CLASS.
13971
13972Source Code
13973***********
13974
13975Download the latest version of
13976'ax_cxx_member_templates_outside_class.m4'
13977(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_member_templates_outside_class.m4)
13978or browse the macro's revision history
13979(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_member_templates_outside_class.m4).
13980
13981License
13982*******
13983
13984Copyright (C) 2008 Todd Veldhuizen
13985Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
13986
13987Copying and distribution of this file, with or without modification, are
13988permitted in any medium without royalty provided the copyright notice
13989and this notice are preserved.  This file is offered as-is, without any
13990warranty.
13991
13992
13993File: autoconf-archive.info,  Node: ax_cxx_mutable,  Next: ax_cxx_namespace_std,  Prev: ax_cxx_member_templates_outside_class,  Up: The Macros
13994
13995ax_cxx_mutable
13996==============
13997
13998Synopsis
13999********
14000
14001     AX_CXX_MUTABLE
14002
14003Description
14004***********
14005
14006If the compiler allows modifying class data members flagged with the
14007mutable keyword even in const objects (for example in the body of a
14008const member function), define HAVE_MUTABLE.
14009
14010Source Code
14011***********
14012
14013Download the latest version of 'ax_cxx_mutable.m4'
14014(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_mutable.m4)
14015or browse the macro's revision history
14016(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_mutable.m4).
14017
14018License
14019*******
14020
14021Copyright (C) 2008 Todd Veldhuizen
14022Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14023
14024Copying and distribution of this file, with or without modification, are
14025permitted in any medium without royalty provided the copyright notice
14026and this notice are preserved.  This file is offered as-is, without any
14027warranty.
14028
14029
14030File: autoconf-archive.info,  Node: ax_cxx_namespace_std,  Next: ax_cxx_namespaces,  Prev: ax_cxx_mutable,  Up: The Macros
14031
14032ax_cxx_namespace_std
14033====================
14034
14035Synopsis
14036********
14037
14038     AX_CXX_NAMESPACE_STD
14039
14040Description
14041***********
14042
14043If the compiler supports namespace std, define HAVE_NAMESPACE_STD.
14044
14045Source Code
14046***********
14047
14048Download the latest version of 'ax_cxx_namespace_std.m4'
14049(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_namespace_std.m4)
14050or browse the macro's revision history
14051(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_namespace_std.m4).
14052
14053License
14054*******
14055
14056Copyright (C) 2009 Todd Veldhuizen
14057Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
14058
14059Copying and distribution of this file, with or without modification, are
14060permitted in any medium without royalty provided the copyright notice
14061and this notice are preserved.  This file is offered as-is, without any
14062warranty.
14063
14064
14065File: autoconf-archive.info,  Node: ax_cxx_namespaces,  Next: ax_cxx_new_for_scoping,  Prev: ax_cxx_namespace_std,  Up: The Macros
14066
14067ax_cxx_namespaces
14068=================
14069
14070Synopsis
14071********
14072
14073     AX_CXX_NAMESPACES
14074
14075Description
14076***********
14077
14078If the compiler can prevent names clashes using namespaces, define
14079HAVE_NAMESPACES.
14080
14081Source Code
14082***********
14083
14084Download the latest version of 'ax_cxx_namespaces.m4'
14085(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_namespaces.m4)
14086or browse the macro's revision history
14087(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_namespaces.m4).
14088
14089License
14090*******
14091
14092Copyright (C) 2008 Todd Veldhuizen
14093Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14094Copyright (C) 2013 Bastien Roucaries <roucaries.bastien+autoconf@gmail.com>
14095
14096Copying and distribution of this file, with or without modification, are
14097permitted in any medium without royalty provided the copyright notice
14098and this notice are preserved.  This file is offered as-is, without any
14099warranty.
14100
14101
14102File: autoconf-archive.info,  Node: ax_cxx_new_for_scoping,  Next: ax_cxx_old_for_scoping,  Prev: ax_cxx_namespaces,  Up: The Macros
14103
14104ax_cxx_new_for_scoping
14105======================
14106
14107Synopsis
14108********
14109
14110     AX_CXX_NEW_FOR_SCOPING
14111
14112Description
14113***********
14114
14115If the compiler accepts the new for scoping rules (the scope of a
14116variable declared inside the parentheses is restricted to the for-body),
14117define HAVE_NEW_FOR_SCOPING.
14118
14119Source Code
14120***********
14121
14122Download the latest version of 'ax_cxx_new_for_scoping.m4'
14123(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_new_for_scoping.m4)
14124or browse the macro's revision history
14125(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_new_for_scoping.m4).
14126
14127License
14128*******
14129
14130Copyright (C) 2008 Todd Veldhuizen
14131Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14132
14133Copying and distribution of this file, with or without modification, are
14134permitted in any medium without royalty provided the copyright notice
14135and this notice are preserved.  This file is offered as-is, without any
14136warranty.
14137
14138
14139File: autoconf-archive.info,  Node: ax_cxx_old_for_scoping,  Next: ax_cxx_partial_ordering,  Prev: ax_cxx_new_for_scoping,  Up: The Macros
14140
14141ax_cxx_old_for_scoping
14142======================
14143
14144Synopsis
14145********
14146
14147     AX_CXX_OLD_FOR_SCOPING
14148
14149Description
14150***********
14151
14152If the compiler accepts the old for scoping rules (the scope of a
14153variable declared inside the parentheses extends outside the for-body),
14154define HAVE_OLD_FOR_SCOPING. Note that some compilers (notably g++ and
14155egcs) support both new and old rules since they accept the old rules and
14156only generate a warning.
14157
14158Source Code
14159***********
14160
14161Download the latest version of 'ax_cxx_old_for_scoping.m4'
14162(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_old_for_scoping.m4)
14163or browse the macro's revision history
14164(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_old_for_scoping.m4).
14165
14166License
14167*******
14168
14169Copyright (C) 2008 Todd Veldhuizen
14170Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14171
14172Copying and distribution of this file, with or without modification, are
14173permitted in any medium without royalty provided the copyright notice
14174and this notice are preserved.  This file is offered as-is, without any
14175warranty.
14176
14177
14178File: autoconf-archive.info,  Node: ax_cxx_partial_ordering,  Next: ax_cxx_partial_specialization,  Prev: ax_cxx_old_for_scoping,  Up: The Macros
14179
14180ax_cxx_partial_ordering
14181=======================
14182
14183Synopsis
14184********
14185
14186     AX_CXX_PARTIAL_ORDERING
14187
14188Description
14189***********
14190
14191If the compiler supports partial ordering, define HAVE_PARTIAL_ORDERING.
14192
14193Source Code
14194***********
14195
14196Download the latest version of 'ax_cxx_partial_ordering.m4'
14197(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_partial_ordering.m4)
14198or browse the macro's revision history
14199(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_partial_ordering.m4).
14200
14201License
14202*******
14203
14204Copyright (C) 2008 Todd Veldhuizen
14205Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14206
14207Copying and distribution of this file, with or without modification, are
14208permitted in any medium without royalty provided the copyright notice
14209and this notice are preserved.  This file is offered as-is, without any
14210warranty.
14211
14212
14213File: autoconf-archive.info,  Node: ax_cxx_partial_specialization,  Next: ax_cxx_reinterpret_cast,  Prev: ax_cxx_partial_ordering,  Up: The Macros
14214
14215ax_cxx_partial_specialization
14216=============================
14217
14218Synopsis
14219********
14220
14221     AX_CXX_PARTIAL_SPECIALIZATION
14222
14223Description
14224***********
14225
14226If the compiler supports partial specialization, define
14227HAVE_PARTIAL_SPECIALIZATION.
14228
14229Source Code
14230***********
14231
14232Download the latest version of 'ax_cxx_partial_specialization.m4'
14233(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_partial_specialization.m4)
14234or browse the macro's revision history
14235(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_partial_specialization.m4).
14236
14237License
14238*******
14239
14240Copyright (C) 2008 Todd Veldhuizen
14241Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14242
14243Copying and distribution of this file, with or without modification, are
14244permitted in any medium without royalty provided the copyright notice
14245and this notice are preserved.  This file is offered as-is, without any
14246warranty.
14247
14248
14249File: autoconf-archive.info,  Node: ax_cxx_reinterpret_cast,  Next: ax_cxx_restrict_this,  Prev: ax_cxx_partial_specialization,  Up: The Macros
14250
14251ax_cxx_reinterpret_cast
14252=======================
14253
14254Synopsis
14255********
14256
14257     AX_CXX_REINTERPRET_CAST
14258
14259Description
14260***********
14261
14262If the compiler supports reinterpret_cast<>, define
14263HAVE_REINTERPRET_CAST.
14264
14265Source Code
14266***********
14267
14268Download the latest version of 'ax_cxx_reinterpret_cast.m4'
14269(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_reinterpret_cast.m4)
14270or browse the macro's revision history
14271(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_reinterpret_cast.m4).
14272
14273License
14274*******
14275
14276Copyright (C) 2008 Todd Veldhuizen
14277Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14278
14279Copying and distribution of this file, with or without modification, are
14280permitted in any medium without royalty provided the copyright notice
14281and this notice are preserved.  This file is offered as-is, without any
14282warranty.
14283
14284
14285File: autoconf-archive.info,  Node: ax_cxx_restrict_this,  Next: ax_cxx_rtti,  Prev: ax_cxx_reinterpret_cast,  Up: The Macros
14286
14287ax_cxx_restrict_this
14288====================
14289
14290Synopsis
14291********
14292
14293     AX_CXX_RESTRICT_THIS
14294
14295Description
14296***********
14297
14298Determine whether the C++ compiler supports qualifying a member function
14299with a restricted "this" pointer.  Define "restrict_this" to the correct
14300spelling; use like this:
14301
14302       T::fn() restrict_this { /* code */ }
14303
14304Otherwise, define "restrict_this" to be empty.
14305
14306Note: the syntax above is a GCC extension.  If your C++ compiler has a
14307different way of applying the 'restricted' qualifier to the "this"
14308pointer, please consider reporting it.
14309
14310Source Code
14311***********
14312
14313Download the latest version of 'ax_cxx_restrict_this.m4'
14314(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_restrict_this.m4)
14315or browse the macro's revision history
14316(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_restrict_this.m4).
14317
14318License
14319*******
14320
14321Copyright (C) 2010 Riccardo Murri <riccardo.murri@gmail.com>
14322
14323This program is free software; you can redistribute it and/or modify it
14324under the terms of the GNU General Public License as published by the
14325Free Software Foundation, either version 3 of the License, or (at your
14326option) any later version.
14327
14328This program is distributed in the hope that it will be useful, but
14329WITHOUT ANY WARRANTY; without even the implied warranty of
14330MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
14331Public License for more details.
14332
14333Under Section 7 of GPL version 3, you are granted additional permissions
14334described in the Autoconf Configure Script Exception, version 3.0, as
14335published by the Free Software Foundation.
14336
14337You should have received a copy of the GNU General Public License and a
14338copy of the Autoconf Configure Script Exception along with this program;
14339see the files COPYINGv3 and COPYING.EXCEPTION respectively.  If not, see
14340<https://www.gnu.org/licenses/>.
14341
14342
14343File: autoconf-archive.info,  Node: ax_cxx_rtti,  Next: ax_cxx_rvalue_references,  Prev: ax_cxx_restrict_this,  Up: The Macros
14344
14345ax_cxx_rtti
14346===========
14347
14348Synopsis
14349********
14350
14351     AX_CXX_RTTI
14352
14353Description
14354***********
14355
14356If the compiler supports Run-Time Type Identification (typeinfo header
14357and typeid keyword), define HAVE_RTTI.
14358
14359Source Code
14360***********
14361
14362Download the latest version of 'ax_cxx_rtti.m4'
14363(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_rtti.m4)
14364or browse the macro's revision history
14365(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_rtti.m4).
14366
14367License
14368*******
14369
14370Copyright (C) 2008 Todd Veldhuizen
14371Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14372
14373Copying and distribution of this file, with or without modification, are
14374permitted in any medium without royalty provided the copyright notice
14375and this notice are preserved.  This file is offered as-is, without any
14376warranty.
14377
14378
14379File: autoconf-archive.info,  Node: ax_cxx_rvalue_references,  Next: ax_cxx_static_cast,  Prev: ax_cxx_rtti,  Up: The Macros
14380
14381ax_cxx_rvalue_references
14382========================
14383
14384Synopsis
14385********
14386
14387     AX_CXX_RVALUE_REFERENCES
14388
14389Description
14390***********
14391
14392Check whether C++11 rvalue references are supported.  If they are, the
14393macro HAVE_RVALUE_REFERENCES is defined.
14394
14395Does not ensure that the compiler is in C++11 mode.
14396
14397Source Code
14398***********
14399
14400Download the latest version of 'ax_cxx_rvalue_references.m4'
14401(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_rvalue_references.m4)
14402or browse the macro's revision history
14403(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_rvalue_references.m4).
14404
14405License
14406*******
14407
14408Copyright (C) 2012 Tudor Bosman <tudorb@gmail.com>
14409
14410Copying and distribution of this file, with or without modification, are
14411permitted in any medium without royalty provided the copyright notice
14412and this notice are preserved.  This file is offered as-is, without any
14413warranty.
14414
14415
14416File: autoconf-archive.info,  Node: ax_cxx_static_cast,  Next: ax_cxx_stlport_hashmap,  Prev: ax_cxx_rvalue_references,  Up: The Macros
14417
14418ax_cxx_static_cast
14419==================
14420
14421Synopsis
14422********
14423
14424     AX_CXX_STATIC_CAST
14425
14426Description
14427***********
14428
14429If the compiler supports static_cast<>, define HAVE_STATIC_CAST.
14430
14431Source Code
14432***********
14433
14434Download the latest version of 'ax_cxx_static_cast.m4'
14435(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_static_cast.m4)
14436or browse the macro's revision history
14437(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_static_cast.m4).
14438
14439License
14440*******
14441
14442Copyright (C) 2008 Todd Veldhuizen
14443Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14444
14445Copying and distribution of this file, with or without modification, are
14446permitted in any medium without royalty provided the copyright notice
14447and this notice are preserved.  This file is offered as-is, without any
14448warranty.
14449
14450
14451File: autoconf-archive.info,  Node: ax_cxx_stlport_hashmap,  Next: ax_cxx_template_keyword_qualifier,  Prev: ax_cxx_static_cast,  Up: The Macros
14452
14453ax_cxx_stlport_hashmap
14454======================
14455
14456Synopsis
14457********
14458
14459     AX_CXX_STLPORT_HASHMAP
14460
14461Description
14462***********
14463
14464Test for the presence of STLport's hashmap extension.
14465
14466Source Code
14467***********
14468
14469Download the latest version of 'ax_cxx_stlport_hashmap.m4'
14470(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_stlport_hashmap.m4)
14471or browse the macro's revision history
14472(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_stlport_hashmap.m4).
14473
14474License
14475*******
14476
14477Copyright (C) 2008 Patrick Mauritz <oxygene@studentenbude.ath.cx>
14478
14479Copying and distribution of this file, with or without modification, are
14480permitted in any medium without royalty provided the copyright notice
14481and this notice are preserved.  This file is offered as-is, without any
14482warranty.
14483
14484
14485File: autoconf-archive.info,  Node: ax_cxx_template_keyword_qualifier,  Next: ax_cxx_template_qualified_base_class,  Prev: ax_cxx_stlport_hashmap,  Up: The Macros
14486
14487ax_cxx_template_keyword_qualifier
14488=================================
14489
14490Synopsis
14491********
14492
14493     AX_CXX_TEMPLATE_KEYWORD_QUALIFIER
14494
14495Description
14496***********
14497
14498If the compiler supports use of the template keyword as a qualifier,
14499define HAVE_TEMPLATE_KEYWORD_QUALIFIER.
14500
14501Source Code
14502***********
14503
14504Download the latest version of 'ax_cxx_template_keyword_qualifier.m4'
14505(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_keyword_qualifier.m4)
14506or browse the macro's revision history
14507(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_keyword_qualifier.m4).
14508
14509License
14510*******
14511
14512Copyright (C) 2008 Todd Veldhuizen
14513Copyright (C) 2008 Bernardo Innocenti
14514Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14515
14516Copying and distribution of this file, with or without modification, are
14517permitted in any medium without royalty provided the copyright notice
14518and this notice are preserved.  This file is offered as-is, without any
14519warranty.
14520
14521
14522File: 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
14523
14524ax_cxx_template_qualified_base_class
14525====================================
14526
14527Synopsis
14528********
14529
14530     AX_CXX_TEMPLATE_QUALIFIED_BASE_CLASS
14531
14532Description
14533***********
14534
14535If the compiler supports template-qualified base class specifiers,
14536define HAVE_TEMPLATE_QUALIFIED_BASE_CLASS.
14537
14538Source Code
14539***********
14540
14541Download the latest version of 'ax_cxx_template_qualified_base_class.m4'
14542(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_qualified_base_class.m4)
14543or browse the macro's revision history
14544(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_qualified_base_class.m4).
14545
14546License
14547*******
14548
14549Copyright (C) 2008 Todd Veldhuizen
14550Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14551
14552Copying and distribution of this file, with or without modification, are
14553permitted in any medium without royalty provided the copyright notice
14554and this notice are preserved.  This file is offered as-is, without any
14555warranty.
14556
14557
14558File: 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
14559
14560ax_cxx_template_qualified_return_type
14561=====================================
14562
14563Synopsis
14564********
14565
14566     AX_CXX_TEMPLATE_QUALIFIED_RETURN_TYPE
14567
14568Description
14569***********
14570
14571If the compiler supports template-qualified return types, define
14572HAVE_TEMPLATE_QUALIFIED_RETURN_TYPE.
14573
14574Source Code
14575***********
14576
14577Download the latest version of
14578'ax_cxx_template_qualified_return_type.m4'
14579(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_qualified_return_type.m4)
14580or browse the macro's revision history
14581(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_qualified_return_type.m4).
14582
14583License
14584*******
14585
14586Copyright (C) 2008 Todd Veldhuizen
14587Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14588
14589Copying and distribution of this file, with or without modification, are
14590permitted in any medium without royalty provided the copyright notice
14591and this notice are preserved.  This file is offered as-is, without any
14592warranty.
14593
14594
14595File: autoconf-archive.info,  Node: ax_cxx_template_scoped_argument_matching,  Next: ax_cxx_templates,  Prev: ax_cxx_template_qualified_return_type,  Up: The Macros
14596
14597ax_cxx_template_scoped_argument_matching
14598========================================
14599
14600Synopsis
14601********
14602
14603     AX_CXX_TEMPLATE_SCOPED_ARGUMENT_MATCHING
14604
14605Description
14606***********
14607
14608If the compiler supports function matching with argument types which are
14609template scope-qualified, define HAVE_TEMPLATE_SCOPED_ARGUMENT_MATCHING.
14610
14611Source Code
14612***********
14613
14614Download the latest version of
14615'ax_cxx_template_scoped_argument_matching.m4'
14616(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_template_scoped_argument_matching.m4)
14617or browse the macro's revision history
14618(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_template_scoped_argument_matching.m4).
14619
14620License
14621*******
14622
14623Copyright (C) 2008 Todd Veldhuizen
14624Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14625
14626Copying and distribution of this file, with or without modification, are
14627permitted in any medium without royalty provided the copyright notice
14628and this notice are preserved.  This file is offered as-is, without any
14629warranty.
14630
14631
14632File: autoconf-archive.info,  Node: ax_cxx_templates,  Next: ax_cxx_templates_as_template_arguments,  Prev: ax_cxx_template_scoped_argument_matching,  Up: The Macros
14633
14634ax_cxx_templates
14635================
14636
14637Synopsis
14638********
14639
14640     AX_CXX_TEMPLATES
14641
14642Description
14643***********
14644
14645If the compiler supports basic templates, define HAVE_TEMPLATES.
14646
14647Source Code
14648***********
14649
14650Download the latest version of 'ax_cxx_templates.m4'
14651(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_templates.m4)
14652or browse the macro's revision history
14653(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_templates.m4).
14654
14655License
14656*******
14657
14658Copyright (C) 2008 Todd Veldhuizen
14659Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14660
14661Copying and distribution of this file, with or without modification, are
14662permitted in any medium without royalty provided the copyright notice
14663and this notice are preserved.  This file is offered as-is, without any
14664warranty.
14665
14666
14667File: autoconf-archive.info,  Node: ax_cxx_templates_as_template_arguments,  Next: ax_cxx_typename,  Prev: ax_cxx_templates,  Up: The Macros
14668
14669ax_cxx_templates_as_template_arguments
14670======================================
14671
14672Synopsis
14673********
14674
14675     AX_CXX_TEMPLATES_AS_TEMPLATE_ARGUMENTS
14676
14677Description
14678***********
14679
14680If the compiler supports templates as template arguments, define
14681HAVE_TEMPLATES_AS_TEMPLATE_ARGUMENTS.
14682
14683Source Code
14684***********
14685
14686Download the latest version of
14687'ax_cxx_templates_as_template_arguments.m4'
14688(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_templates_as_template_arguments.m4)
14689or browse the macro's revision history
14690(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_templates_as_template_arguments.m4).
14691
14692License
14693*******
14694
14695Copyright (C) 2008 Todd Veldhuizen
14696Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14697
14698Copying and distribution of this file, with or without modification, are
14699permitted in any medium without royalty provided the copyright notice
14700and this notice are preserved.  This file is offered as-is, without any
14701warranty.
14702
14703
14704File: autoconf-archive.info,  Node: ax_cxx_typename,  Next: ax_cxx_use_numtrait,  Prev: ax_cxx_templates_as_template_arguments,  Up: The Macros
14705
14706ax_cxx_typename
14707===============
14708
14709Synopsis
14710********
14711
14712     AX_CXX_TYPENAME
14713
14714Description
14715***********
14716
14717If the compiler recognizes the typename keyword, define HAVE_TYPENAME.
14718
14719Source Code
14720***********
14721
14722Download the latest version of 'ax_cxx_typename.m4'
14723(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_typename.m4)
14724or browse the macro's revision history
14725(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_typename.m4).
14726
14727License
14728*******
14729
14730Copyright (C) 2008 Todd Veldhuizen
14731Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14732
14733Copying and distribution of this file, with or without modification, are
14734permitted in any medium without royalty provided the copyright notice
14735and this notice are preserved.  This file is offered as-is, without any
14736warranty.
14737
14738
14739File: autoconf-archive.info,  Node: ax_cxx_use_numtrait,  Next: ax_cxx_var_prettyfunc,  Prev: ax_cxx_typename,  Up: The Macros
14740
14741ax_cxx_use_numtrait
14742===================
14743
14744Synopsis
14745********
14746
14747     AX_CXX_USE_NUMTRAIT
14748
14749Description
14750***********
14751
14752If the compiler supports numeric traits promotions, define
14753HAVE_USE_NUMTRAIT.
14754
14755Source Code
14756***********
14757
14758Download the latest version of 'ax_cxx_use_numtrait.m4'
14759(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_use_numtrait.m4)
14760or browse the macro's revision history
14761(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_use_numtrait.m4).
14762
14763License
14764*******
14765
14766Copyright (C) 2008 Todd Veldhuizen
14767Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
14768
14769Copying and distribution of this file, with or without modification, are
14770permitted in any medium without royalty provided the copyright notice
14771and this notice are preserved.  This file is offered as-is, without any
14772warranty.
14773
14774
14775File: autoconf-archive.info,  Node: ax_cxx_var_prettyfunc,  Next: ax_cxx_verbose_terminate_handler,  Prev: ax_cxx_use_numtrait,  Up: The Macros
14776
14777ax_cxx_var_prettyfunc
14778=====================
14779
14780Synopsis
14781********
14782
14783     AX_CXX_VAR_PRETTYFUNC
14784
14785Description
14786***********
14787
14788This function tries to determine the best C++ macro/identifier that
14789contains the current function name.  Depending on the compiler, this may
14790be __PRETTY_FUNCTION__ (GCC), __FUNCSIG__ (MSVC), __func__ (C++
14791standard), __FUNCTION__ (fallback).
14792
14793The function will define HAVE_PRETTYFUNC if a macro exists, and define
14794__PRETTYFUNC__ to the best possible macro.  When HAVE_PRETTYFUNC is not
14795defined, __PRETTYFUNC__ will contain the constant string "<<unknown>>".
14796
14797Source Code
14798***********
14799
14800Download the latest version of 'ax_cxx_var_prettyfunc.m4'
14801(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_var_prettyfunc.m4)
14802or browse the macro's revision history
14803(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_var_prettyfunc.m4).
14804
14805License
14806*******
14807
14808Copyright (C) 2014 Olaf Lenz <olenz@icp.uni-stuttgart.de>
14809
14810This program is free software: you can redistribute it and/or modify it
14811under the terms of the GNU General Public License as published by the
14812Free Software Foundation, either version 3 of the License, or (at your
14813option) any later version.
14814
14815This program is distributed in the hope that it will be useful, but
14816WITHOUT ANY WARRANTY; without even the implied warranty of
14817MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
14818Public License for more details.
14819
14820You should have received a copy of the GNU General Public License along
14821with this program.  If not, see <https://www.gnu.org/licenses/>.
14822
14823As a special exception, the respective Autoconf Macro's copyright owner
14824gives unlimited permission to copy, distribute and modify the configure
14825scripts that are the output of Autoconf when processing the Macro.  You
14826need not follow the terms of the GNU General Public License when using
14827or distributing such scripts, even though portions of the text of the
14828Macro appear in them.  The GNU General Public License (GPL) does govern
14829all other use of the material that constitutes the Autoconf Macro.
14830
14831This special exception to the GPL applies to versions of the Autoconf
14832Macro released by the Autoconf Archive.  When you make and distribute a
14833modified version of the Autoconf Macro, you may extend this special
14834exception to the GPL to apply to your modified version as well.
14835
14836
14837File: autoconf-archive.info,  Node: ax_cxx_verbose_terminate_handler,  Next: ax_czmq,  Prev: ax_cxx_var_prettyfunc,  Up: The Macros
14838
14839ax_cxx_verbose_terminate_handler
14840================================
14841
14842Synopsis
14843********
14844
14845     AX_CXX_VERBOSE_TERMINATE_HANDLER
14846
14847Description
14848***********
14849
14850Check if the terminate handler for the current compiler/standard library
14851prints useful information to stdout/stderr (i.e.  the type of the
14852uncaught exception and/or the what() string).
14853
14854The intended use case for this check is to help program authors decide
14855if they need to add a top-level try-catch or custom terminate handler to
14856print useful information if an uncaught exception occurs, or if this
14857task can be left to the standard library implementation.  Alternatively,
14858it can be used to detect if such output needs to be silenced with a
14859custom terminate handler.
14860
14861Output:
14862
14863Define HAVE_VERBOSE_TERMINATE_HANDLER if useful information is printed.
14864
14865Source Code
14866***********
14867
14868Download the latest version of 'ax_cxx_verbose_terminate_handler.m4'
14869(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_cxx_verbose_terminate_handler.m4)
14870or browse the macro's revision history
14871(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_cxx_verbose_terminate_handler.m4).
14872
14873License
14874*******
14875
14876Copyright (C) 2009 Kevin Locke <klocke@digitalenginesoftware.com>
14877Copyright (C) 2008 Lapo Luchini <lapo@lapo.it>
14878
14879Copying and distribution of this file, with or without modification, is
14880permitted in any medium, without royalty, provided the copyright notice
14881and this notice are preserved.  This file is offered as-is, without any
14882warranty.  This file is offered as-is, without any warranty.
14883
14884
14885File: autoconf-archive.info,  Node: ax_czmq,  Next: ax_decl_wchar_max,  Prev: ax_cxx_verbose_terminate_handler,  Up: The Macros
14886
14887ax_czmq
14888=======
14889
14890Synopsis
14891********
14892
14893     AX_CZMQ([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
14894
14895Description
14896***********
14897
14898Test for the CZMQ libraries of a particular version (or newer).  The
14899default version tested for is 3.0.0.
14900
14901The macro tests for CZMQ libraries in the library/include path, and,
14902when provided, also in the path given by -with-czmq.
14903
14904This macro calls:
14905
14906       AC_SUBST(CZMQ_CPPFLAGS) / AC_SUBST(CZMQ_LDFLAGS) / AC_SUBST(CZMQ_LIBS)
14907
14908And sets:
14909
14910       HAVE_CZMQ
14911
14912Source Code
14913***********
14914
14915Download the latest version of 'ax_czmq.m4'
14916(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_czmq.m4)
14917or browse the macro's revision history
14918(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_czmq.m4).
14919
14920License
14921*******
14922
14923Copyright (C) 2016 Jeroen Meijer <jjgmeijer@gmail.com>
14924
14925Copying and distribution of this file, with or without modification, are
14926permitted in any medium without royalty provided the copyright notice
14927and this notice are preserved.  This file is offered as-is, without any
14928warranty.
14929
14930
14931File: autoconf-archive.info,  Node: ax_decl_wchar_max,  Next: ax_define_integer_bits,  Prev: ax_czmq,  Up: The Macros
14932
14933ax_decl_wchar_max
14934=================
14935
14936Synopsis
14937********
14938
14939     AX_DECL_WCHAR_MAX
14940
14941Description
14942***********
14943
14944Checks whether the system headers define WCHAR_MAX or not.  If it is
14945already defined, does nothing.  Otherwise checks the size and signedness
14946of 'wchar_t', and defines WCHAR_MAX to the maximum value that can be
14947stored in a variable of type 'wchar_t'.
14948
14949Source Code
14950***********
14951
14952Download the latest version of 'ax_decl_wchar_max.m4'
14953(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_decl_wchar_max.m4)
14954or browse the macro's revision history
14955(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_decl_wchar_max.m4).
14956
14957License
14958*******
14959
14960Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
14961
14962Copying and distribution of this file, with or without modification, are
14963permitted in any medium without royalty provided the copyright notice
14964and this notice are preserved.  This file is offered as-is, without any
14965warranty.
14966
14967
14968File: autoconf-archive.info,  Node: ax_define_integer_bits,  Next: ax_define_sub_path,  Prev: ax_decl_wchar_max,  Up: The Macros
14969
14970ax_define_integer_bits
14971======================
14972
14973Synopsis
14974********
14975
14976     AX_DEFINE_INTEGER_BITS (TYPE [, CANDIDATE-TYPE]...)
14977
14978Description
14979***********
14980
14981Given a TYPE of the form "int##_t" or "uint##_t", see if the datatype
14982TYPE is predefined.  If not, then define TYPE - both with AC_DEFINE and
14983as a shell variable - to the first datatype of exactly ## bits in a list
14984of CANDIDATE-TYPEs.  If none of the CANDIDATE-TYPEs contains exactly ##
14985bits, then set the TYPE shell variable to "no".
14986
14987For example, the following ensures that uint64_t is defined as a 64-bit
14988datatype:
14989
14990       AX_DEFINE_INTEGER_BITS(uint64_t, unsigned long long, unsigned __int64, long)
14991       if test "$uint64_t" = no; then
14992         AC_MSG_ERROR([unable to continue without a 64-bit datatype])
14993       fi
14994
14995You should then put the following in your C code to ensure that all
14996datatypes defined by AX_DEFINE_INTEGER_BITS are visible to your program:
14997
14998       #include "config.h"
14999
15000       #if HAVE_INTTYPES_H
15001       # include <inttypes.h>
15002       #else
15003       # if HAVE_STDINT_H
15004       #  include <stdint.h>
15005       # endif
15006       #endif
15007
15008Source Code
15009***********
15010
15011Download the latest version of 'ax_define_integer_bits.m4'
15012(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_define_integer_bits.m4)
15013or browse the macro's revision history
15014(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_define_integer_bits.m4).
15015
15016License
15017*******
15018
15019Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
15020
15021Copying and distribution of this file, with or without modification, are
15022permitted in any medium without royalty provided the copyright notice
15023and this notice are preserved.  This file is offered as-is, without any
15024warranty.
15025
15026
15027File: autoconf-archive.info,  Node: ax_define_sub_path,  Next: ax_dirname,  Prev: ax_define_integer_bits,  Up: The Macros
15028
15029ax_define_sub_path
15030==================
15031
15032Synopsis
15033********
15034
15035     AX_DEFINE_SUB_PATH(DEFNAME, varname, description)
15036
15037Description
15038***********
15039
15040Look at varname and detect the subpath that it contains relative to
15041$prefix/$exec_prefix.  If the path is indeed relative to
15042$prefix/$exec_prefix, then a single "./" (dotslash) is prepended,
15043otherwise it can be seen as an absolute path that cannot be moved, which
15044you possibly do for "/etc" files, or even those ending up in
15045"/lib/modules" or "/winnt/system".
15046
15047This macro is not very intelligent, it's just a first try in this
15048direction.  It does currently just look into the current patterns, and
15049replaces a ${prefix} with a simple dot.  Amazingly, it works quite well
15050for most packages.
15051
15052Example (configure.ac):
15053
15054       AX_DEFINE_DIR([EPREFIX], [exec_prefix], [--exec-prefix or default])
15055       AX_DEFINE_SUB_PATH([PATH_LIBDIR], [libdir], [--bindir subdir])
15056       AC_DEFINE_UNQUOTED([PACKAGE],"$PACKAGE", [Name of package])
15057
15058Example (in C):
15059
15060       static const char _libdir[] = PATH_LIBDIR; /* configure default */
15061       char* libdir;
15062       char* eprefix = getenv (PACKAGE "DIR");
15063       if (! eprefix) eprefix = EPREFIX; /* default */
15064       if (*_libdir != '.') libdir = strdup(_libdir);
15065       else {
15066          libdir = malloc(strlen(eprefix) + strlen(_libdir) + 2);
15067          strcpy(libdir, eprefix);
15068          strcat(libdir, PATH_DELIMITER_STRING);
15069          strcat(libdir, _libdir);
15070       }
15071       ...
15072       free (libdir);
15073
15074The AX_DEFINE_SUB_PATHS(varnames) macro looks for the given various
15075install-paths that largely depend on either ${prefix} or ${exec_prefix}.
15076Just cut out the prefix and ac_define the value.  The value is
15077uppercased and PATH_ prepended ie.  ax_define_sub_paths(bindir libdir
15078pkgdatadir) will create the defines PATH_BINDIR PATH_LIBDIR
15079PATH_PKGDATADIR - see posix' include/paths.h that creates _PATH_DEV and
15080friends.
15081
15082Source Code
15083***********
15084
15085Download the latest version of 'ax_define_sub_path.m4'
15086(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_define_sub_path.m4)
15087or browse the macro's revision history
15088(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_define_sub_path.m4).
15089
15090License
15091*******
15092
15093Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
15094
15095Copying and distribution of this file, with or without modification, are
15096permitted in any medium without royalty provided the copyright notice
15097and this notice are preserved.  This file is offered as-is, without any
15098warranty.
15099
15100
15101File: autoconf-archive.info,  Node: ax_dirname,  Next: ax_dist_msi,  Prev: ax_define_sub_path,  Up: The Macros
15102
15103ax_dirname
15104==========
15105
15106Synopsis
15107********
15108
15109     AX_DIRNAME(PATHNAME)
15110
15111Description
15112***********
15113
15114Parts of the implementation have been taken from AS_DIRNAME from the
15115main autoconf package in generation 2.5x.  However, we do only use "sed"
15116to cut out the dirname, and we do additionally clean up some dir/..
15117parts in the resulting pattern.
15118
15119this macro may be used in autoconf 2.13 scripts as well.
15120
15121Source Code
15122***********
15123
15124Download the latest version of 'ax_dirname.m4'
15125(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dirname.m4)
15126or browse the macro's revision history
15127(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dirname.m4).
15128
15129License
15130*******
15131
15132Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
15133
15134Copying and distribution of this file, with or without modification, are
15135permitted in any medium without royalty provided the copyright notice
15136and this notice are preserved.  This file is offered as-is, without any
15137warranty.
15138
15139
15140File: autoconf-archive.info,  Node: ax_dist_msi,  Next: ax_dist_rpm,  Prev: ax_dirname,  Up: The Macros
15141
15142ax_dist_msi
15143===========
15144
15145Synopsis
15146********
15147
15148     AX_DIST_MSI([File])
15149
15150Description
15151***********
15152
15153Adds support for a msi (Microsoft Installer) dist target.
15154
15155You must manually build the msi file yourself (probably from another
15156computer).  But it will be added to the list of extra bin dists and
15157flagged for uploading (see ax_extra_dist.m4 and ax_upload.m4 for
15158details).
15159
15160Source Code
15161***********
15162
15163Download the latest version of 'ax_dist_msi.m4'
15164(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dist_msi.m4)
15165or browse the macro's revision history
15166(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dist_msi.m4).
15167
15168License
15169*******
15170
15171Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
15172
15173Copying and distribution of this file, with or without modification, are
15174permitted in any medium without royalty provided the copyright notice
15175and this notice are preserved.  This file is offered as-is, without any
15176warranty.
15177
15178
15179File: autoconf-archive.info,  Node: ax_dist_rpm,  Next: ax_dll_string,  Prev: ax_dist_msi,  Up: The Macros
15180
15181ax_dist_rpm
15182===========
15183
15184Synopsis
15185********
15186
15187     AX_DIST_RPM([SPEC])
15188
15189Description
15190***********
15191
15192Adds support for a rpm dist target.
15193
15194You will need to create a spec template with everything except the files
15195and the Changelog.  Use @PACKAGE@ and @VERSION@ to refer to the package
15196name and version respectively.  The files and ChangeLog will be filled
15197in automatically.  For instance:
15198
15199       Summary: Foobar
15200       Name: @PACKAGE@
15201       Version: @VERSION@
15202       Release: 0
15203       License: GPL
15204       Group: Productivity/Networking
15205       Source0: http://somewhere/Foobar/%{name}-%{version}.tar.gz
15206       URL: http://somewhere
15207       BuildRoot: %{_tmppath}/%{name}-root
15208       Prefix: %{_prefix}
15209
15210       %description
15211       Foobar does something
15212
15213       %prep
15214       %setup
15215
15216       %build
15217       %configure
15218       make
15219
15220       %install
15221       %makeinstall
15222
15223       %clean
15224       rm -rf $RPM_BUILD_ROOT
15225
15226       %files
15227       %defattr(-,root,root)
15228
15229       %doc AUTHORS BUGS COPYING INSTALL NEWS README
15230
15231       %changelog
15232
15233Make sure ax_upload.am is added to aminclude_static.am and you have
15234'include aminclude_static.am' in Makefile.am
15235
15236Source Code
15237***********
15238
15239Download the latest version of 'ax_dist_rpm.m4'
15240(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dist_rpm.m4)
15241or browse the macro's revision history
15242(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dist_rpm.m4).
15243
15244License
15245*******
15246
15247Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
15248
15249Copying and distribution of this file, with or without modification, are
15250permitted in any medium without royalty provided the copyright notice
15251and this notice are preserved.  This file is offered as-is, without any
15252warranty.
15253
15254
15255File: autoconf-archive.info,  Node: ax_dll_string,  Next: ax_elisp,  Prev: ax_dist_rpm,  Up: The Macros
15256
15257ax_dll_string
15258=============
15259
15260Synopsis
15261********
15262
15263     AX_DLL_STRING
15264
15265Description
15266***********
15267
15268Tests for a bug currently in g++ 3.4.4 on Cygwin (maybe other targets
15269with statically linked libstdc++?)  where passing an empty std::string
15270to a dll will cause a crash on destruction due to incorrect memory
15271handling.  See bug 24196 in gcc's bugzilla for more details:
15272http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24196
15273
15274Source Code
15275***********
15276
15277Download the latest version of 'ax_dll_string.m4'
15278(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_dll_string.m4)
15279or browse the macro's revision history
15280(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_dll_string.m4).
15281
15282License
15283*******
15284
15285Copyright (C) 2008 Steven Brown <swbrown@variadic.org>
15286
15287Copying and distribution of this file, with or without modification, are
15288permitted in any medium without royalty provided the copyright notice
15289and this notice are preserved.  This file is offered as-is, without any
15290warranty.
15291
15292
15293File: autoconf-archive.info,  Node: ax_elisp,  Next: ax_enable_builddir,  Prev: ax_dll_string,  Up: The Macros
15294
15295ax_elisp
15296========
15297
15298Synopsis
15299********
15300
15301     AX_ELISP_CONFIG_FILE(FILENAME)
15302     AX_ELISP_CHECK(SYMBOL,DESCRIPTION,BODY,SUCCESS-EXPR)
15303     AX_ELISP_CHECK_FEATURE(SYMBOL)
15304     AX_ELISP_CHECK_FBOUNDP(SYMBOL,[FEATURE [...]])
15305     AX_ELISP_CHECK_BOUNDP(SYMBOL,[FEATURE [...]])
15306
15307Description
15308***********
15309
15310This is a simple library to check the Emacs reality by way of Emacs Lisp
15311forms evaluated under $EMACS -batch -Q. This means you MUST have the
15312shell variable EMACS set to a valid Emacs executable prior to the first
15313call to any of the AX_ELISP_CHECK et al macros.  Those work by saving
15314their results to the file defined by calling AX_ELISP_CONFIG_FILE so you
15315MUST call that prior, too.  For example:
15316
15317       dnl Arrange to save config answers in $top_builddir/lisp/config.el.
15318       AX_ELISP_CONFIG_FILE([lisp/config.el])
15319
15320       dnl Set shell variable EMACS and AC_SUBST it, too.
15321       dnl (NB: This is a separate Autoconf Archive macro.)
15322       AX_PROG_EMACS
15323
15324In the following detailed descriptions, SYMBOL stands for an Emacs Lisp
15325symbol, which may contain hyphens, e.g., 'define-error' or 'org-src'.
15326Likewise, FEATURE is an Emacs Lisp symbol (naming a feature).  BODY and
15327SUCCESS-EXPR are Emacs Lisp forms, zero or more for BODY and exactly one
15328for SUCCESS-EXPR. In these forms you must take care to avoid apostrophe
15329(U+27).  Instead of 'foo, write (quote foo).
15330
15331* AX_ELISP_CONFIG_FILE(FILENAME)
15332
15333This arranges for future AX_ELISP_CHECK (et al) calls to save their
15334results in FILENAME. May be called multiple times.  FILENAME should be
15335relative to the top build dir.
15336
15337* AX_ELISP_CHECK(SYMBOL,DESCRIPTION,BODY,SUCCESS-EXPR)
15338
15339This is the general macro that the other AX_ELISP_CHECK* macros use.  It
15340constructs a short Emacs Lisp file comprising BODY and evaluates it via
15341$EMACS -batch -Q. The exit value of this script depends on the result of
15342evaluating SUCCESS-EXPR: non-nil is success and nil is failure.  On
15343success, append SYMBOL on a line of its own to the config file.  This
15344macro uses AC_CACHE_CHECK and passes DESCRIPTION to it.
15345
15346* AX_ELISP_CHECK_FEATURE(FEATURE)
15347
15348This checks if (require (quote FEATURE)) is successful.  If so, add
15349featurep-FEATURE to the config file (NB the "featurep-" prefix).
15350
15351* AX_ELISP_CHECK_FBOUNDP(SYMBOL,[FEATURE [...]])
15352
15353This checks if (fboundp (quote SYMBOL)) is successful.  If so, append
15354SYMBOL to the config file.  Optional 2nd arg is a space-separated list
15355of features to require prior to the fboundp check.
15356
15357* AX_ELISP_CHECK_BOUNDP(SYMBOL,[FEATURE [...]])
15358
15359This checks if (boundp (quote SYMBOL)) is successful.  If so, append
15360SYMBOL to the config file.  Optional 2nd arg is a space-separated list
15361of features to require prior to the boundp check.
15362
15363Source Code
15364***********
15365
15366Download the latest version of 'ax_elisp.m4'
15367(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_elisp.m4)
15368or browse the macro's revision history
15369(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_elisp.m4).
15370
15371License
15372*******
15373
15374Copyright (C) 2016-2017 Thien-Thi Nguyen
15375
15376This program is free software; you can redistribute it and/or modify it
15377under the terms of the GNU General Public License as published by the
15378Free Software Foundation; either version 3 of the License, or (at your
15379option) any later version.
15380
15381This program is distributed in the hope that it will be useful, but
15382WITHOUT ANY WARRANTY; without even the implied warranty of
15383MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
15384Public License for more details.
15385
15386You should have received a copy of the GNU General Public License along
15387with this program.  If not, see <https://www.gnu.org/licenses/>.
15388
15389As a special exception, the respective Autoconf Macro's copyright owner
15390gives unlimited permission to copy, distribute and modify the configure
15391scripts that are the output of Autoconf when processing the Macro.  You
15392need not follow the terms of the GNU General Public License when using
15393or distributing such scripts, even though portions of the text of the
15394Macro appear in them.  The GNU General Public License (GPL) does govern
15395all other use of the material that constitutes the Autoconf Macro.
15396
15397This special exception to the GPL applies to versions of the Autoconf
15398Macro released by the Autoconf Archive.  When you make and distribute a
15399modified version of the Autoconf Macro, you may extend this special
15400exception to the GPL to apply to your modified version as well.
15401
15402
15403File: autoconf-archive.info,  Node: ax_enable_builddir,  Next: ax_execinfo,  Prev: ax_elisp,  Up: The Macros
15404
15405ax_enable_builddir
15406==================
15407
15408Synopsis
15409********
15410
15411     AX_ENABLE_BUILDDIR [(dirstring-or-command [,Makefile.mk [,-all]])]
15412
15413Description
15414***********
15415
15416If the current configure was run within the srcdir then we move all
15417configure-files into a subdir and let the configure steps continue
15418there.  We provide an option -disable-builddir to suppress the move into
15419a separate builddir.
15420
15421Defaults:
15422
15423       $1 = $host (overridden with $HOST)
15424       $2 = Makefile.mk
15425       $3 = -all
15426
15427This macro must be called before AM_INIT_AUTOMAKE. It creates a default
15428toplevel srcdir Makefile from the information found in the created
15429toplevel builddir Makefile.  It just copies the variables and
15430rule-targets, each extended with a default rule-execution that recurses
15431into the build directory of the current "HOST". You can override the
15432auto-detection through 'config.guess' and build-time of course, as in
15433
15434       make HOST=i386-mingw-cross
15435
15436which can of course set at configure time as well using
15437
15438       configure --host=i386-mingw-cross
15439
15440After the default has been created, additional rules can be appended
15441that will not just recurse into the subdirectories and only ever exist
15442in the srcdir toplevel makefile - these parts are read from the $2 =
15443Makefile.mk file
15444
15445The automatic rules are usually scanning the toplevel Makefile for lines
15446like '#### $host |$builddir' to recognize the place where to recurse
15447into.  Usually, the last one is the only one used.  However, almost all
15448targets have an additional "*-all" rule which makes the script to
15449recurse into _all_ variants of the current HOST (!!)  setting.  The
15450"-all" suffix can be overridden for the macro as well.
15451
15452a special rule is only given for things like "dist" that will copy the
15453tarball from the builddir to the sourcedir (or $(PUB)) for reason of
15454convenience.
15455
15456Source Code
15457***********
15458
15459Download the latest version of 'ax_enable_builddir.m4'
15460(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_enable_builddir.m4)
15461or browse the macro's revision history
15462(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_enable_builddir.m4).
15463
15464License
15465*******
15466
15467Copyright (C) 2009 Guido U. Draheim <guidod@gmx.de>
15468Copyright (C) 2009 Alan Jenkins <alan-jenkins@tuffmail.co.uk>
15469
15470This program is free software; you can redistribute it and/or modify it
15471under the terms of the GNU General Public License as published by the
15472Free Software Foundation; either version 3 of the License, or (at your
15473option) any later version.
15474
15475This program is distributed in the hope that it will be useful, but
15476WITHOUT ANY WARRANTY; without even the implied warranty of
15477MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
15478Public License for more details.
15479
15480You should have received a copy of the GNU General Public License along
15481with this program.  If not, see <https://www.gnu.org/licenses/>.
15482
15483As a special exception, the respective Autoconf Macro's copyright owner
15484gives unlimited permission to copy, distribute and modify the configure
15485scripts that are the output of Autoconf when processing the Macro.  You
15486need not follow the terms of the GNU General Public License when using
15487or distributing such scripts, even though portions of the text of the
15488Macro appear in them.  The GNU General Public License (GPL) does govern
15489all other use of the material that constitutes the Autoconf Macro.
15490
15491This special exception to the GPL applies to versions of the Autoconf
15492Macro released by the Autoconf Archive.  When you make and distribute a
15493modified version of the Autoconf Macro, you may extend this special
15494exception to the GPL to apply to your modified version as well.
15495
15496
15497File: autoconf-archive.info,  Node: ax_execinfo,  Next: ax_expand_prefix,  Prev: ax_enable_builddir,  Up: The Macros
15498
15499ax_execinfo
15500===========
15501
15502Synopsis
15503********
15504
15505     AX_EXECINFO([ACTION-IF-EXECINFO-H-IS-FOUND], [ACTION-IF-EXECINFO-H-IS-NOT-FOUND], [ADDITIONAL-TYPES-LIST])
15506
15507Description
15508***********
15509
15510Checks for execinfo.h header and if the len parameter/return type can be
15511found from a list, also define backtrace_size_t to that type.
15512
15513By default the list of types to try contains int and size_t, but should
15514some yet undiscovered system use e.g.  unsigned, the 3rd argument can be
15515used for extensions.  I'd like to hear of further suggestions.
15516
15517Executes ACTION-IF-EXECINFO-H-IS-FOUND when present and the execinfo.h
15518header is found or ACTION-IF-EXECINFO-H-IS-NOT-FOUND in case the header
15519seems unavailable.
15520
15521Also adds -lexecinfo to LIBS on BSD if needed.
15522
15523Source Code
15524***********
15525
15526Download the latest version of 'ax_execinfo.m4'
15527(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_execinfo.m4)
15528or browse the macro's revision history
15529(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_execinfo.m4).
15530
15531License
15532*******
15533
15534Copyright (C) 2014 Thomas Jahns <jahns@dkrz.de>
15535
15536Copying and distribution of this file, with or without modification, are
15537permitted in any medium without royalty provided the copyright notice
15538and this notice are preserved.  This file is offered as-is, without any
15539warranty.
15540
15541
15542File: autoconf-archive.info,  Node: ax_expand_prefix,  Next: ax_ext,  Prev: ax_execinfo,  Up: The Macros
15543
15544ax_expand_prefix
15545================
15546
15547Synopsis
15548********
15549
15550     AX_EXPAND_PREFIX
15551
15552Description
15553***********
15554
15555When $prefix and $exec_prefix are still set to NONE then set them to the
15556usual default values - being based on $ac_default_prefix.  - this macro
15557can be AC_REQUIREd by other macros that need to compute values for
15558installation directories.  It has been observed that it was done wrong
15559over and over again, so this is a bit more safe to do.
15560
15561remember - setting exec_prefix='${prefix}' needs you interpolate
15562directories multiple times, it is not sufficient to just say
15563MYVAR="${datadir}/putter" but you do have to run 'eval' a few times,
15564sth.  like MYVAR='eval "echo \"$MYVAR\""' done at least two times.
15565
15566The implementation of this macro simply picks up the lines that would be
15567run at the start of AC_OUTPUT anyway to set the prefix/exec_prefix
15568defaults.  Between AC_INIT and the first command to AC_REQUIRE this
15569macro you can set the two variables to something explicit instead.
15570Probably, any command to compute installation directories should be run
15571_after_ AM_INIT_AUTOMAKE
15572
15573Source Code
15574***********
15575
15576Download the latest version of 'ax_expand_prefix.m4'
15577(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_expand_prefix.m4)
15578or browse the macro's revision history
15579(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_expand_prefix.m4).
15580
15581License
15582*******
15583
15584Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
15585
15586Copying and distribution of this file, with or without modification, are
15587permitted in any medium without royalty provided the copyright notice
15588and this notice are preserved.  This file is offered as-is, without any
15589warranty.
15590
15591
15592File: autoconf-archive.info,  Node: ax_ext,  Next: ax_ext_check_header,  Prev: ax_expand_prefix,  Up: The Macros
15593
15594ax_ext
15595======
15596
15597Synopsis
15598********
15599
15600     AX_EXT
15601
15602Description
15603***********
15604
15605Find supported SIMD extensions by requesting cpuid.  When a SIMD
15606extension is found, the -m"simdextensionname" is added to SIMD_FLAGS if
15607compiler supports it.  For example, if "sse2" is available then "-msse2"
15608is added to SIMD_FLAGS.
15609
15610Find other supported CPU extensions by requesting cpuid.  When a
15611processor extension is found, the -m"extensionname" is added to
15612CPUEXT_FLAGS if compiler supports it.  For example, if "bmi2" is
15613available then "-mbmi2" is added to CPUEXT_FLAGS.
15614
15615This macro calls:
15616
15617       AC_SUBST(SIMD_FLAGS)
15618       AC_SUBST(CPUEXT_FLAGS)
15619
15620And defines:
15621
15622       HAVE_RDRND / HAVE_BMI1 / HAVE_BMI2 / HAVE_ADX / HAVE_MPX
15623       HAVE_PREFETCHWT1 / HAVE_ABM / HAVE_MMX / HAVE_SSE / HAVE_SSE2
15624       HAVE_SSE3 / HAVE_SSSE3 / HAVE_SSE4_1 / HAVE_SSE4_2 / HAVE_SSE4a
15625       HAVE_SHA / HAVE_AES / HAVE_AVX / HAVE_FMA3 / HAVE_FMA4 / HAVE_XOP
15626       HAVE_AVX2 / HAVE_AVX512_F / HAVE_AVX512_CD / HAVE_AVX512_PF
15627       HAVE_AVX512_ER / HAVE_AVX512_VL / HAVE_AVX512_BW / HAVE_AVX512_DQ
15628       HAVE_AVX512_IFMA / HAVE_AVX512_VBMI / HAVE_ALTIVEC / HAVE_VSX
15629
15630Source Code
15631***********
15632
15633Download the latest version of 'ax_ext.m4'
15634(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ext.m4)
15635or browse the macro's revision history
15636(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ext.m4).
15637
15638License
15639*******
15640
15641Copyright (C) 2007 Christophe Tournayre <turn3r@users.sourceforge.net>
15642Copyright (C) 2013,2015 Michael Petch <mpetch@capp-sysware.com>
15643Copyright (C) 2017 Rafael de Lucena Valle <rafaeldelucena@gmail.com>
15644
15645Copying and distribution of this file, with or without modification, are
15646permitted in any medium without royalty provided the copyright notice
15647and this notice are preserved.  This file is offered as-is, without any
15648warranty.
15649
15650
15651File: autoconf-archive.info,  Node: ax_ext_check_header,  Next: ax_ext_have_lib,  Prev: ax_ext,  Up: The Macros
15652
15653ax_ext_check_header
15654===================
15655
15656Synopsis
15657********
15658
15659     AX_EXT_CHECK_HEADER(<header>, <paths>).
15660
15661Description
15662***********
15663
15664Check for <header> with -I<path> for each path in <paths> if need be.
15665The first sucecssful path is chosen (eg if you say
15666AX_EXT_CHECK_HEADER(foo.h, bar baz qux) and -Ibaz works then -Iqux will
15667not be tested.
15668
15669Any -I flags that locate a header are added to CFLAGS and CPPFLAGS. AS
15670with AC_CHECK_HEADERS it causes HAVE_<header>_H to be defined as 1.
15671
15672Example:
15673
15674      AX_EXT_HAVE_HEADER(openssl/rsa.h, /usr/local/include /usr/local/ssl/include /usr/local/openssl/include)
15675
15676Source Code
15677***********
15678
15679Download the latest version of 'ax_ext_check_header.m4'
15680(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ext_check_header.m4)
15681or browse the macro's revision history
15682(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ext_check_header.m4).
15683
15684License
15685*******
15686
15687Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
15688
15689Copying and distribution of this file, with or without modification, are
15690permitted in any medium without royalty provided the copyright notice
15691and this notice are preserved.  This file is offered as-is, without any
15692warranty.
15693
15694
15695File: autoconf-archive.info,  Node: ax_ext_have_lib,  Next: ax_extend_srcdir,  Prev: ax_ext_check_header,  Up: The Macros
15696
15697ax_ext_have_lib
15698===============
15699
15700Synopsis
15701********
15702
15703     AX_EXT_HAVE_LIB(<directories>, <library>, <function>, <extra libraries>)
15704
15705Description
15706***********
15707
15708AX_EXT_HAVE_LIB is identical to AC_SEARCH_LIBS with the exception that
15709will add -L<directory> when looking, and use a different variable for
15710each directory.
15711
15712Any required -L<directory> flags are added to LDFLAGS and located
15713libraies are added to LIBS
15714
15715Some libraries are unlinkable without other extra libraries, which can
15716be specified in the 4th argument.  The mysql client library needs -lz,
15717for example.
15718
15719Example:
15720
15721      AX_EXT_HAVE_LIB(/lib /usr/lib /usr/local/lib /usr/lib/mysql /usr/local/mysql/lib, mysqlclient, mysql_init, [-lz])
15722
15723which finds the mysql client library if succeeds system when it tries
15724with -L/usr/lib/mysql then it adds -lmysqlclient to LIBS and
15725-L/usr/lib/mysql to LDFLAGS.
15726
15727The test itself is based on the autoconf 2.53 version of AC_SEARCH_LIBS.
15728
15729Source Code
15730***********
15731
15732Download the latest version of 'ax_ext_have_lib.m4'
15733(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ext_have_lib.m4)
15734or browse the macro's revision history
15735(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ext_have_lib.m4).
15736
15737License
15738*******
15739
15740Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
15741
15742Copying and distribution of this file, with or without modification, are
15743permitted in any medium without royalty provided the copyright notice
15744and this notice are preserved.  This file is offered as-is, without any
15745warranty.
15746
15747
15748File: autoconf-archive.info,  Node: ax_extend_srcdir,  Next: ax_extra_dist,  Prev: ax_ext_have_lib,  Up: The Macros
15749
15750ax_extend_srcdir
15751================
15752
15753Synopsis
15754********
15755
15756     AX_EXTEND_SRCDIR
15757
15758Description
15759***********
15760
15761The AX_EXTEND_SRCDIR macro extends $srcdir by one path component.
15762
15763As an example, when working in /home/michael/i3-4.12/build and calling
15764../configure, your $srcdir is "..".  After calling AX_EXTEND_SRCDIR,
15765$srcdir will be set to "../../i3-4.12".
15766
15767The result of extending $srcdir is that filenames (e.g.  in the output
15768of the "backtrace" gdb command) will include one more path component of
15769the absolute source path.  The additional path component makes it easy
15770for users to recognize which files belong to the PACKAGE, and - provided
15771a dist tarball was unpacked - which version of PACKAGE was used.
15772
15773As an example, in "backtrace", you will see:
15774
15775       #0  main (argc=1, argv=0x7fffffff1fc8) at ../../i3-4.12/src/main.c:187
15776
15777instead of:
15778
15779       #0  main (argc=1, argv=0x7fffffff1fc8) at ../src/main.c:187
15780
15781In case your code uses the __FILE__ preprocessor directive to refer to
15782the filename of the current source file (e.g.  in debug messages), using
15783the extended path might be undesirable.  For this purpose,
15784AX_EXTEND_SRCDIR defines the output variable AX_EXTEND_SRCDIR_CPPFLAGS,
15785which can be added to AM_CPPFLAGS in Makefile.am in order to define the
15786preprocessor directive STRIPPED__FILE__.  As an example, when compiling
15787the file "../../i3-4.12/src/main.c", STRIPPED__FILE__ evaluates to
15788"main.c".
15789
15790There are some caveats: When $srcdir is "."  (i.e.  when ./configure was
15791called instead of ../configure in a separate build directory),
15792AX_EXTEND_SRCDIR will still extend $srcdir, but the intended effect will
15793not be achieved because of the way automake specifies file paths:
15794automake defines COMPILE to use "'test -f '$source' || echo
15795'\$(srcdir)/''$source" in order to prefer files in the current directory
15796over specifying $srcdir explicitly.
15797
15798The AX_EXTEND_SRCDIR author is not aware of any way to influence this
15799automake behavior.  Patches very welcome.
15800
15801To work around this issue, you can use AX_ENABLE_BUILDDIR i.e.  by
15802adding the following code to configure.ac:
15803
15804       AX_ENABLE_BUILDDIR
15805       dnl ...
15806       AX_EXTEND_SRCDIR
15807
15808Then also add this bit to Makefile.am (if you wish to use
15809STRIPPED__FILE__ in your code):
15810
15811       AM_CPPFLAGS = @AX_EXTEND_SRCDIR_CPPFLAGS@
15812
15813Source Code
15814***********
15815
15816Download the latest version of 'ax_extend_srcdir.m4'
15817(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_extend_srcdir.m4)
15818or browse the macro's revision history
15819(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_extend_srcdir.m4).
15820
15821License
15822*******
15823
15824Copyright (C) 2016 Michael Stapelberg <michael@i3wm.org>
15825
15826Copying and distribution of this file, with or without modification, are
15827permitted in any medium without royalty provided the copyright notice
15828and this notice are preserved.  This file is offered as-is, without any
15829warranty.
15830
15831
15832File: autoconf-archive.info,  Node: ax_extra_dist,  Next: ax_f77_cmain_fflags,  Prev: ax_extend_srcdir,  Up: The Macros
15833
15834ax_extra_dist
15835=============
15836
15837Synopsis
15838********
15839
15840     AX_EXTRA_DIST
15841
15842Description
15843***********
15844
15845Allow support for custom dist targets.
15846
15847To add custom dist targets, you must create a dist-<TYPE> target within
15848your Makefile.am, where <TYPE> is the name of the dist and then add
15849<TYPE> to EXTRA_SRC_DISTS or EXTRA_BIN_DISTS. For example:
15850
15851       dist-foobar:
15852        <rules for making the foobar dist>
15853
15854       EXTRA_BIN_DISTS += foobar
15855
15856You can then build all the src dist targets by running:
15857
15858       make dist-src
15859
15860You can build all the binary dist targets by running:
15861
15862       make dist-bin
15863
15864and you can build both the src and dist targets by running:
15865
15866       make all-dist
15867
15868Source Code
15869***********
15870
15871Download the latest version of 'ax_extra_dist.m4'
15872(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_extra_dist.m4)
15873or browse the macro's revision history
15874(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_extra_dist.m4).
15875
15876License
15877*******
15878
15879Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
15880
15881Copying and distribution of this file, with or without modification, are
15882permitted in any medium without royalty provided the copyright notice
15883and this notice are preserved.  This file is offered as-is, without any
15884warranty.
15885
15886
15887File: autoconf-archive.info,  Node: ax_f77_cmain_fflags,  Next: ax_f90_header,  Prev: ax_extra_dist,  Up: The Macros
15888
15889ax_f77_cmain_fflags
15890===================
15891
15892Synopsis
15893********
15894
15895     AX_F77_CMAIN_FFLAGS([ACTION-IF-SUCCEED], [ACTION-IF-FAIL])
15896
15897Description
15898***********
15899
15900This macro figures out if extra Fortran compiler flags are required in
15901order to use the Fortran linker to link programs where the main()
15902function is defined via C (or other language).  On some systems, notably
15903the Alpha with Compaq compilers, the Fortran libraries have their own
15904main() function which must be disabled.
15905
15906Runs ACTION-IF-SUCCEED if successful, and ACTION-IF-FAIL if not.
15907Defines the output variable F77_CMAIN_FFLAGS to any discovered flags.
15908(If ACTION-IF-FAIL is not specified, defaults to halting with an error.)
15909
15910This macro is especially useful in conjunction with automake, since by
15911default automake uses $F77 to link programs mixing C and Fortran,
15912leading to a link error on some systems.  In this case, you should set
15913the FFLAGS for that program to include F77_CMAIN_FFLAGS.
15914
15915Source Code
15916***********
15917
15918Download the latest version of 'ax_f77_cmain_fflags.m4'
15919(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f77_cmain_fflags.m4)
15920or browse the macro's revision history
15921(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f77_cmain_fflags.m4).
15922
15923License
15924*******
15925
15926Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
15927
15928This program is free software: you can redistribute it and/or modify it
15929under the terms of the GNU General Public License as published by the
15930Free Software Foundation, either version 3 of the License, or (at your
15931option) any later version.
15932
15933This program is distributed in the hope that it will be useful, but
15934WITHOUT ANY WARRANTY; without even the implied warranty of
15935MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
15936Public License for more details.
15937
15938You should have received a copy of the GNU General Public License along
15939with this program.  If not, see <https://www.gnu.org/licenses/>.
15940
15941As a special exception, the respective Autoconf Macro's copyright owner
15942gives unlimited permission to copy, distribute and modify the configure
15943scripts that are the output of Autoconf when processing the Macro.  You
15944need not follow the terms of the GNU General Public License when using
15945or distributing such scripts, even though portions of the text of the
15946Macro appear in them.  The GNU General Public License (GPL) does govern
15947all other use of the material that constitutes the Autoconf Macro.
15948
15949This special exception to the GPL applies to versions of the Autoconf
15950Macro released by the Autoconf Archive.  When you make and distribute a
15951modified version of the Autoconf Macro, you may extend this special
15952exception to the GPL to apply to your modified version as well.
15953
15954
15955File: autoconf-archive.info,  Node: ax_f90_header,  Next: ax_f90_internal_headmod,  Prev: ax_f77_cmain_fflags,  Up: The Macros
15956
15957ax_f90_header
15958=============
15959
15960Synopsis
15961********
15962
15963     AX_F90_HEADER(HEADER, HEADER-REGEXP, FUNCTION-BODY [, SEARCH-PATH [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
15964
15965Description
15966***********
15967
15968Set up the compiler flags to use a given fortran 90 header.  HEADER is
15969the name of the header.  HEADER-REGEXP is a regular expression (used by
15970find) matched by the filename of the header.  FUNCTION-BODY is the body
15971of a function (including the 'use' statement and the call to a function
15972defined by the module) SEARCH-PATH is a colon-separated list of
15973directories that will be recursively searched for header files.  If
15974empty, the search path will be composed of $prefix, $ac_default_prefix,
15975and all directories exactly one level *above* the directories in
15976$LD_LIBRARY_PATH (the rationale is that when libraries are put in
15977/some/path/lib, the headers are often put in a directory like
15978/some/path/include).  An output variable named F90_HEADER_xxx will be
15979set up with the proper flag for substitution in Makefiles (xxx is built
15980from the first argument, with autoconf traditional escapes).
15981
15982Source Code
15983***********
15984
15985Download the latest version of 'ax_f90_header.m4'
15986(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_header.m4)
15987or browse the macro's revision history
15988(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_header.m4).
15989
15990License
15991*******
15992
15993Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
15994
15995Copying and distribution of this file, with or without modification, are
15996permitted in any medium without royalty provided the copyright notice
15997and this notice are preserved.  This file is offered as-is, without any
15998warranty.
15999
16000
16001File: autoconf-archive.info,  Node: ax_f90_internal_headmod,  Next: ax_f90_library,  Prev: ax_f90_header,  Up: The Macros
16002
16003ax_f90_internal_headmod
16004=======================
16005
16006Synopsis
16007********
16008
16009     AX_F90_INTERNAL_HEADMOD(MESSAGE, FILE-REGEXP, FLAG, FUNCTION-BODY, OUTPUT-VAR[, SEARCH-PATH [, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
16010
16011Description
16012***********
16013
16014Internal macro used by AX_F90_HEADER and AX_F90_MODULE.
16015
16016Source Code
16017***********
16018
16019Download the latest version of 'ax_f90_internal_headmod.m4'
16020(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_internal_headmod.m4)
16021or browse the macro's revision history
16022(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_internal_headmod.m4).
16023
16024License
16025*******
16026
16027Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
16028
16029Copying and distribution of this file, with or without modification, are
16030permitted in any medium without royalty provided the copyright notice
16031and this notice are preserved.  This file is offered as-is, without any
16032warranty.
16033
16034
16035File: autoconf-archive.info,  Node: ax_f90_library,  Next: ax_f90_library_setup,  Prev: ax_f90_internal_headmod,  Up: The Macros
16036
16037ax_f90_library
16038==============
16039
16040Synopsis
16041********
16042
16043     AX_F90_LIBRARY(LIBRARY, LIB-REGEXP, FUNCTION-BODY [, SEARCH-PATH [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
16044
16045Description
16046***********
16047
16048Set up the compiler flags to link a given fortran 90 library LIBRARY is
16049the name of the library.  LIB-REGEXP is a regular expression (used by
16050find) matched by the filename of the library, this is useful either if
16051the library filename does not follow the traditional libxxx.a or
16052libxxx.so pattern, or if some specific information is embedded into the
16053name, like compiler used, debugging status ...).  FUNCTION-BODY is the
16054body of a function (including the 'use' statements and the call to a
16055function defined by the library) SEARCH-PATH is a colon-separated list
16056of directories that will be used as the base directories for 'find' to
16057look for the library file.  If empty, the search path will be composed
16058of $prefix/lib, $ac_default_prefix/lib, and $LD_LIBRARY_PATH. Two output
16059variables named F90_LDFLAGS_xxx and F90_LIBS_xxx will be set up with the
16060proper flag for substitution in Makefiles (xxx is built from the first
16061argument, with autoconf traditional escapes).
16062
16063Source Code
16064***********
16065
16066Download the latest version of 'ax_f90_library.m4'
16067(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_library.m4)
16068or browse the macro's revision history
16069(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_library.m4).
16070
16071License
16072*******
16073
16074Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
16075
16076Copying and distribution of this file, with or without modification, are
16077permitted in any medium without royalty provided the copyright notice
16078and this notice are preserved.  This file is offered as-is, without any
16079warranty.
16080
16081
16082File: autoconf-archive.info,  Node: ax_f90_library_setup,  Next: ax_f90_module,  Prev: ax_f90_library,  Up: The Macros
16083
16084ax_f90_library_setup
16085====================
16086
16087Synopsis
16088********
16089
16090     AX_F90_LIBRARY_SETUP(LIBRARY, HEADER-REGEXP, MODULE-REGEXP, LIB-REGEXP, FUNCTION-BODY)
16091
16092Description
16093***********
16094
16095Convenience macro to set up a fortran 90 library in a simplified way.
16096LIBRARY is the name of the library.  HEADER-REGEXP is a regular
16097expression (used by find) matched by the header file to look for (may be
16098empty).  MODULE-REGEXP is a regular expression (used by find) matched by
16099the filename of the module (may be empty).  LIB-REGEXP is a regular
16100expression (used by find) matched by the filename of the library, this
16101is useful either if the library filename does not follow the traditional
16102libxxx.a or libxxx.so pattern, or if some specific information is
16103embedded into the name, like compiler used, debugging status ...).
16104FUNCTION-BODY is the body of a function (including the 'use' statements
16105and the call to a function defined by the library).
16106
16107This macro is a simple wrapper around AX_F90_MODULE and AX_F90_LIBRARY
16108that uses the parameters provided by the end user through a -with-xxx
16109option to set up the search path.  Both a module and a library will be
16110tested, the same path will be used for both tests, so the path must be
16111set up with a common parent directory of both the library file and the
16112module file.  The macro also automatically updates the FCFLAGS, LDFLAGS
16113and LIBS variables in addition to providing the F90_HEADER_xxx,
16114F90_MODULE_xxx, F90_LDFLAGS_xxx and F90_LIBS_xxx output variables.
16115
16116Example: suppose you have /home/nostradamus/esoteric/lib/libalchemy.a
16117and /home/nostradamus/esoteric/mod/alchemy.mod which provides a function
16118transmute_into_gold, you can use the following in you configure.ac:
16119
16120       AX_F90_MODULE_EXTENSION
16121       if test x$ax_cv_f90_modext = xunknown ; then
16122         AC_MSG_ERROR([unable to find f90 modules extension])
16123       fi
16124       AX_F90_LIBRARY_SETUP(alchemy,[],alchemy.$ax_cv_f90_modext,libalchemy*,[
16125          use alchemy
16126          call transmute_into_gold('lead')
16127         ])
16128
16129and the user could configure your package using a command like this:
16130
16131       ./configure --with-alchemy=$HOME/esoteric
16132
16133Source Code
16134***********
16135
16136Download the latest version of 'ax_f90_library_setup.m4'
16137(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_library_setup.m4)
16138or browse the macro's revision history
16139(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_library_setup.m4).
16140
16141License
16142*******
16143
16144Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
16145
16146Copying and distribution of this file, with or without modification, are
16147permitted in any medium without royalty provided the copyright notice
16148and this notice are preserved.  This file is offered as-is, without any
16149warranty.
16150
16151
16152File: autoconf-archive.info,  Node: ax_f90_module,  Next: ax_f90_module_extension,  Prev: ax_f90_library_setup,  Up: The Macros
16153
16154ax_f90_module
16155=============
16156
16157Synopsis
16158********
16159
16160     AX_F90_MODULE(MODULE, MODULE-REGEXP, FUNCTION-BODY [, SEARCH-PATH [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
16161
16162Description
16163***********
16164
16165Set up the compiler flags to use a given fortran 90 module MODULE is the
16166name of the module.  MODULE-REGEXP is a regular expression (used by
16167find) matched by the filename of the module.  FUNCTION-BODY is the body
16168of a function (including the 'use' statement and the call to a function
16169defined by the module) SEARCH-PATH is a colon-separated list of
16170directories that will be recursively searched for modules files.  If
16171empty, the search path will be composed of $prefix, $ac_default_prefix,
16172and all directories exactly one level *above* the directories in
16173$LD_LIBRARY_PATH (the rationale is that when libraries are put in
16174/some/path/lib, the modules are often put in a directory like
16175/some/path/include or /some/path/mod or something similar).  An output
16176variable named F90_MODULE_xxx will be set up with the proper flag for
16177substitution in Makefiles (xxx is built from the first argument, with
16178autoconf traditional escapes).
16179
16180Source Code
16181***********
16182
16183Download the latest version of 'ax_f90_module.m4'
16184(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_module.m4)
16185or browse the macro's revision history
16186(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_module.m4).
16187
16188License
16189*******
16190
16191Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
16192
16193Copying and distribution of this file, with or without modification, are
16194permitted in any medium without royalty provided the copyright notice
16195and this notice are preserved.  This file is offered as-is, without any
16196warranty.
16197
16198
16199File: autoconf-archive.info,  Node: ax_f90_module_extension,  Next: ax_f90_module_flag,  Prev: ax_f90_module,  Up: The Macros
16200
16201ax_f90_module_extension
16202=======================
16203
16204Synopsis
16205********
16206
16207     AX_F90_MODULE_EXTENSION
16208
16209Description
16210***********
16211
16212Find Fortran 90 modules file extension.  The module extension is stored
16213in the cached variable ax_f90_modext, or "unknown" if the extension
16214cannot be found.
16215
16216Source Code
16217***********
16218
16219Download the latest version of 'ax_f90_module_extension.m4'
16220(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_module_extension.m4)
16221or browse the macro's revision history
16222(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_module_extension.m4).
16223
16224License
16225*******
16226
16227Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
16228Copyright (C) 2009 Alexander Pletzer <pletzer@txcorp.com>
16229
16230Copying and distribution of this file, with or without modification, are
16231permitted in any medium without royalty provided the copyright notice
16232and this notice are preserved.  This file is offered as-is, without any
16233warranty.
16234
16235
16236File: autoconf-archive.info,  Node: ax_f90_module_flag,  Next: ax_fc_check_define,  Prev: ax_f90_module_extension,  Up: The Macros
16237
16238ax_f90_module_flag
16239==================
16240
16241Synopsis
16242********
16243
16244     AX_F90_MODULE_FLAG
16245
16246Description
16247***********
16248
16249Find Fortran 90 modules inclusion flag.  The module inclusion flag is
16250stored in the cached variable ax_f90_modflag.  An error is triggered if
16251the flag cannot be found.  Supported are the -I GNU compilers flag, the
16252-M SUN compilers flag, and the -p Absoft Pro Fortran compiler flag.
16253
16254Source Code
16255***********
16256
16257Download the latest version of 'ax_f90_module_flag.m4'
16258(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_f90_module_flag.m4)
16259or browse the macro's revision history
16260(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_f90_module_flag.m4).
16261
16262License
16263*******
16264
16265Copyright (C) 2009 Luc Maisonobe <luc@spaceroots.org>
16266Copyright (C) 2009 Julian C. Cummings <cummings@cacr.caltech.edu>
16267Copyright (C) 2009 Alexander Pletzer <pletzer@txcorp.com>
16268
16269Copying and distribution of this file, with or without modification, are
16270permitted in any medium without royalty provided the copyright notice
16271and this notice are preserved.  This file is offered as-is, without any
16272warranty.
16273
16274
16275File: autoconf-archive.info,  Node: ax_fc_check_define,  Next: ax_file_escapes,  Prev: ax_f90_module_flag,  Up: The Macros
16276
16277ax_fc_check_define
16278==================
16279
16280Synopsis
16281********
16282
16283     AX_FC_CHECK_DEFINE([symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])
16284
16285Description
16286***********
16287
16288This macro checks to see if the Fortran pre-processor has a symbol
16289defined.
16290
16291Consider a usage like:
16292
16293       AC_FC_PP_DEFINE()
16294       AX_FC_CHECK_DEFINE(__BIGGEST_ALIGNMENT__, [],
16295                          AX_APPEND_FLAG([${FC_DEFINE}__BIGGEST_ALIGNMENT__=64],
16296                                         [FCFLAGS]))
16297
16298Source Code
16299***********
16300
16301Download the latest version of 'ax_fc_check_define.m4'
16302(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_fc_check_define.m4)
16303or browse the macro's revision history
16304(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_fc_check_define.m4).
16305
16306License
16307*******
16308
16309Copyright (C) 2016 Timothy Brown <tbrown@freeshell.org>
16310
16311Copying and distribution of this file, with or without modification, are
16312permitted in any medium without royalty provided the copyright notice
16313and this notice are preserved.  This file is offered as-is, without any
16314warranty.
16315
16316
16317File: autoconf-archive.info,  Node: ax_file_escapes,  Next: ax_find_hamcrest,  Prev: ax_fc_check_define,  Up: The Macros
16318
16319ax_file_escapes
16320===============
16321
16322Synopsis
16323********
16324
16325     AX_FILE_ESCAPES
16326
16327Description
16328***********
16329
16330Writes the specified data to the specified file.
16331
16332Source Code
16333***********
16334
16335Download the latest version of 'ax_file_escapes.m4'
16336(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_file_escapes.m4)
16337or browse the macro's revision history
16338(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_file_escapes.m4).
16339
16340License
16341*******
16342
16343Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
16344
16345Copying and distribution of this file, with or without modification, are
16346permitted in any medium without royalty provided the copyright notice
16347and this notice are preserved.  This file is offered as-is, without any
16348warranty.
16349
16350
16351File: autoconf-archive.info,  Node: ax_find_hamcrest,  Next: ax_find_junit,  Prev: ax_file_escapes,  Up: The Macros
16352
16353ax_find_hamcrest
16354================
16355
16356Synopsis
16357********
16358
16359     AX_FIND_HAMCREST
16360
16361Description
16362***********
16363
16364AX_FIND_HAMCREST will look for the Hamcrest java library.  When found
16365its path will be put in HAMCREST_CPF as a classpath fragment.
16366
16367To override the location define HAMCREST_JAR to the wanted path.
16368
16369Source Code
16370***********
16371
16372Download the latest version of 'ax_find_hamcrest.m4'
16373(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_find_hamcrest.m4)
16374or browse the macro's revision history
16375(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_find_hamcrest.m4).
16376
16377License
16378*******
16379
16380Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
16381
16382Copying and distribution of this file, with or without modification, are
16383permitted in any medium without royalty provided the copyright notice
16384and this notice are preserved.  This file is offered as-is, without any
16385warranty.
16386
16387
16388File: autoconf-archive.info,  Node: ax_find_junit,  Next: ax_find_scala_stdlib,  Prev: ax_find_hamcrest,  Up: The Macros
16389
16390ax_find_junit
16391=============
16392
16393Synopsis
16394********
16395
16396     AX_FIND_JUNIT
16397
16398Description
16399***********
16400
16401AX_FIND_JUNIT will look for the JUnit java library.  When found its path
16402will be put in JUNIT_CPF as a classpath fragment.
16403
16404To override the location define JUNIT_JAR to the wanted path.
16405
16406Source Code
16407***********
16408
16409Download the latest version of 'ax_find_junit.m4'
16410(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_find_junit.m4)
16411or browse the macro's revision history
16412(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_find_junit.m4).
16413
16414License
16415*******
16416
16417Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
16418
16419Copying and distribution of this file, with or without modification, are
16420permitted in any medium without royalty provided the copyright notice
16421and this notice are preserved.  This file is offered as-is, without any
16422warranty.
16423
16424
16425File: autoconf-archive.info,  Node: ax_find_scala_stdlib,  Next: ax_forceinline,  Prev: ax_find_junit,  Up: The Macros
16426
16427ax_find_scala_stdlib
16428====================
16429
16430Synopsis
16431********
16432
16433     AX_FIND_SCALA_STDLIB
16434
16435Description
16436***********
16437
16438AX_FIND_SCALA_STDLIB will look for the Scala Standard Library.  When
16439found its path will be put in SCALA_STDLIB_CPF as a classpath fragment.
16440
16441To override the location define SCALA_STDLIB to the wanted path
16442
16443Source Code
16444***********
16445
16446Download the latest version of 'ax_find_scala_stdlib.m4'
16447(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_find_scala_stdlib.m4)
16448or browse the macro's revision history
16449(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_find_scala_stdlib.m4).
16450
16451License
16452*******
16453
16454Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
16455
16456Copying and distribution of this file, with or without modification,are
16457permitted in any medium without royalty provided the copyright notice
16458and this notice are preserved.  This file is offered as-is, without any
16459warranty.
16460
16461
16462File: autoconf-archive.info,  Node: ax_forceinline,  Next: ax_func_accept_argtypes,  Prev: ax_find_scala_stdlib,  Up: The Macros
16463
16464ax_forceinline
16465==============
16466
16467Synopsis
16468********
16469
16470     AX_FORCEINLINE()
16471
16472Description
16473***********
16474
16475Provides a test for C compiler support of forced inlining.  If usable,
16476#define FORCEINLINE to the appropriate force inline keyword.  Otherwise
16477#define FORCEINLINE to be 'inline'.
16478
16479Source Code
16480***********
16481
16482Download the latest version of 'ax_forceinline.m4'
16483(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_forceinline.m4)
16484or browse the macro's revision history
16485(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_forceinline.m4).
16486
16487License
16488*******
16489
16490Copyright (C) 2008 Alan Woodland <ajw05@aber.ac.uk>
16491Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
16492
16493Copying and distribution of this file, with or without modification, are
16494permitted in any medium without royalty provided the copyright notice
16495and this notice are preserved.  This file is offered as-is, without any
16496warranty.
16497
16498
16499File: autoconf-archive.info,  Node: ax_func_accept_argtypes,  Next: ax_func_getopt_long,  Prev: ax_forceinline,  Up: The Macros
16500
16501ax_func_accept_argtypes
16502=======================
16503
16504Synopsis
16505********
16506
16507     AX_FUNC_ACCEPT_ARGTYPES
16508
16509Description
16510***********
16511
16512Checks the data types of the three arguments to accept().  Results are
16513placed into the symbols ACCEPT_TYPE_ARG[123], consistent with the
16514following example:
16515
16516       #define ACCEPT_TYPE_ARG1 int
16517       #define ACCEPT_TYPE_ARG2 struct sockaddr *
16518       #define ACCEPT_TYPE_ARG3 socklen_t *
16519
16520This macro requires AC_CHECK_HEADERS to have already verified the
16521presence or absence of sys/types.h and sys/socket.h.
16522
16523NOTE: This is just a modified version of the AC_FUNC_SELECT_ARGTYPES
16524macro.  Credit for that one goes to David MacKenzie et.  al.
16525
16526Source Code
16527***********
16528
16529Download the latest version of 'ax_func_accept_argtypes.m4'
16530(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_accept_argtypes.m4)
16531or browse the macro's revision history
16532(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_accept_argtypes.m4).
16533
16534License
16535*******
16536
16537Copyright (C) 2008 Daniel Richard G. <skunk@iskunk.org>
16538
16539This program is free software; you can redistribute it and/or modify it
16540under the terms of the GNU General Public License as published by the
16541Free Software Foundation; either version 2 of the License, or (at your
16542option) any later version.
16543
16544This program is distributed in the hope that it will be useful, but
16545WITHOUT ANY WARRANTY; without even the implied warranty of
16546MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16547Public License for more details.
16548
16549You should have received a copy of the GNU General Public License along
16550with this program.  If not, see <https://www.gnu.org/licenses/>.
16551
16552As a special exception, the respective Autoconf Macro's copyright owner
16553gives unlimited permission to copy, distribute and modify the configure
16554scripts that are the output of Autoconf when processing the Macro.  You
16555need not follow the terms of the GNU General Public License when using
16556or distributing such scripts, even though portions of the text of the
16557Macro appear in them.  The GNU General Public License (GPL) does govern
16558all other use of the material that constitutes the Autoconf Macro.
16559
16560This special exception to the GPL applies to versions of the Autoconf
16561Macro released by the Autoconf Archive.  When you make and distribute a
16562modified version of the Autoconf Macro, you may extend this special
16563exception to the GPL to apply to your modified version as well.
16564
16565
16566File: autoconf-archive.info,  Node: ax_func_getopt_long,  Next: ax_func_memmove,  Prev: ax_func_accept_argtypes,  Up: The Macros
16567
16568ax_func_getopt_long
16569===================
16570
16571Synopsis
16572********
16573
16574     AX_FUNC_GETOPT_LONG
16575
16576Description
16577***********
16578
16579Check for getopt_long support.
16580
16581This assume that the standard getopt.h file (from GNU libc) is available
16582as lib/gnugetopt.h.  If needed, this file will be linked as getopt.h,
16583but we want to default to the system's getopt.h file.  (See
16584http://sources.redhat.com/ml/automake/2000-09/msg00041.html for an
16585explanation about why using the system's getopt.h file is important.)
16586
16587Source Code
16588***********
16589
16590Download the latest version of 'ax_func_getopt_long.m4'
16591(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_getopt_long.m4)
16592or browse the macro's revision history
16593(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_getopt_long.m4).
16594
16595License
16596*******
16597
16598Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
16599
16600This program is free software; you can redistribute it and/or modify it
16601under the terms of the GNU General Public License as published by the
16602Free Software Foundation; either version 2 of the License, or (at your
16603option) any later version.
16604
16605This program is distributed in the hope that it will be useful, but
16606WITHOUT ANY WARRANTY; without even the implied warranty of
16607MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16608Public License for more details.
16609
16610You should have received a copy of the GNU General Public License along
16611with this program.  If not, see <https://www.gnu.org/licenses/>.
16612
16613As a special exception, the respective Autoconf Macro's copyright owner
16614gives unlimited permission to copy, distribute and modify the configure
16615scripts that are the output of Autoconf when processing the Macro.  You
16616need not follow the terms of the GNU General Public License when using
16617or distributing such scripts, even though portions of the text of the
16618Macro appear in them.  The GNU General Public License (GPL) does govern
16619all other use of the material that constitutes the Autoconf Macro.
16620
16621This special exception to the GPL applies to versions of the Autoconf
16622Macro released by the Autoconf Archive.  When you make and distribute a
16623modified version of the Autoconf Macro, you may extend this special
16624exception to the GPL to apply to your modified version as well.
16625
16626
16627File: autoconf-archive.info,  Node: ax_func_memmove,  Next: ax_func_mkdir,  Prev: ax_func_getopt_long,  Up: The Macros
16628
16629ax_func_memmove
16630===============
16631
16632Synopsis
16633********
16634
16635     AX_FUNC_MEMMOVE
16636
16637Description
16638***********
16639
16640Checks for a memmove that can handle overlaps correctly.  If no working
16641memmove is found, request a replacement and warn the user about it.
16642
16643Source Code
16644***********
16645
16646Download the latest version of 'ax_func_memmove.m4'
16647(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_memmove.m4)
16648or browse the macro's revision history
16649(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_memmove.m4).
16650
16651License
16652*******
16653
16654Copyright (C) 2008 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
16655
16656Copying and distribution of this file, with or without modification, are
16657permitted in any medium without royalty provided the copyright notice
16658and this notice are preserved.  This file is offered as-is, without any
16659warranty.
16660
16661
16662File: autoconf-archive.info,  Node: ax_func_mkdir,  Next: ax_func_posix_memalign,  Prev: ax_func_memmove,  Up: The Macros
16663
16664ax_func_mkdir
16665=============
16666
16667Synopsis
16668********
16669
16670     AX_FUNC_MKDIR
16671
16672Description
16673***********
16674
16675Check whether mkdir() is mkdir or _mkdir, and whether it takes one or
16676two arguments.
16677
16678This macro can define HAVE_MKDIR, HAVE__MKDIR, and MKDIR_TAKES_ONE_ARG,
16679which are expected to be used as follows:
16680
16681       #if HAVE_MKDIR
16682       #  if MKDIR_TAKES_ONE_ARG
16683            /* MinGW32 */
16684       #    define mkdir(a, b) mkdir(a)
16685       #  endif
16686       #else
16687       #  if HAVE__MKDIR
16688            /* plain Windows 32 */
16689       #    define mkdir(a, b) _mkdir(a)
16690       #  else
16691       #    error "Don't know how to create a directory on this system."
16692       #  endif
16693       #endif
16694
16695Source Code
16696***********
16697
16698Download the latest version of 'ax_func_mkdir.m4'
16699(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_mkdir.m4)
16700or browse the macro's revision history
16701(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_mkdir.m4).
16702
16703License
16704*******
16705
16706Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
16707
16708This program is free software; you can redistribute it and/or modify it
16709under the terms of the GNU General Public License as published by the
16710Free Software Foundation; either version 2 of the License, or (at your
16711option) any later version.
16712
16713This program is distributed in the hope that it will be useful, but
16714WITHOUT ANY WARRANTY; without even the implied warranty of
16715MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16716Public License for more details.
16717
16718You should have received a copy of the GNU General Public License along
16719with this program.  If not, see <https://www.gnu.org/licenses/>.
16720
16721As a special exception, the respective Autoconf Macro's copyright owner
16722gives unlimited permission to copy, distribute and modify the configure
16723scripts that are the output of Autoconf when processing the Macro.  You
16724need not follow the terms of the GNU General Public License when using
16725or distributing such scripts, even though portions of the text of the
16726Macro appear in them.  The GNU General Public License (GPL) does govern
16727all other use of the material that constitutes the Autoconf Macro.
16728
16729This special exception to the GPL applies to versions of the Autoconf
16730Macro released by the Autoconf Archive.  When you make and distribute a
16731modified version of the Autoconf Macro, you may extend this special
16732exception to the GPL to apply to your modified version as well.
16733
16734
16735File: autoconf-archive.info,  Node: ax_func_posix_memalign,  Next: ax_func_snprintf,  Prev: ax_func_mkdir,  Up: The Macros
16736
16737ax_func_posix_memalign
16738======================
16739
16740Synopsis
16741********
16742
16743     AX_FUNC_POSIX_MEMALIGN
16744
16745Description
16746***********
16747
16748Some versions of posix_memalign (notably glibc 2.2.5) incorrectly apply
16749their power-of-two check to the size argument, not the alignment
16750argument.  AX_FUNC_POSIX_MEMALIGN defines HAVE_POSIX_MEMALIGN if the
16751power-of-two check is correctly applied to the alignment argument.
16752
16753Source Code
16754***********
16755
16756Download the latest version of 'ax_func_posix_memalign.m4'
16757(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_posix_memalign.m4)
16758or browse the macro's revision history
16759(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_posix_memalign.m4).
16760
16761License
16762*******
16763
16764Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
16765
16766Copying and distribution of this file, with or without modification, are
16767permitted in any medium without royalty provided the copyright notice
16768and this notice are preserved.  This file is offered as-is, without any
16769warranty.
16770
16771
16772File: autoconf-archive.info,  Node: ax_func_snprintf,  Next: ax_func_which_gethostbyname_r,  Prev: ax_func_posix_memalign,  Up: The Macros
16773
16774ax_func_snprintf
16775================
16776
16777Synopsis
16778********
16779
16780     AX_FUNC_SNPRINTF
16781
16782Description
16783***********
16784
16785Checks for a fully C99 compliant snprintf, in particular checks whether
16786it does bounds checking and returns the correct string length; does the
16787same check for vsnprintf.  If no working snprintf or vsnprintf is found,
16788request a replacement and warn the user about it.  Note: the mentioned
16789replacement is freely available and may be used in any project
16790regardless of it's license.
16791
16792Source Code
16793***********
16794
16795Download the latest version of 'ax_func_snprintf.m4'
16796(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_snprintf.m4)
16797or browse the macro's revision history
16798(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_snprintf.m4).
16799
16800License
16801*******
16802
16803Copyright (C) 2008 Ruediger Kuhlmann <info@ruediger-kuhlmann.de>
16804
16805Copying and distribution of this file, with or without modification, are
16806permitted in any medium without royalty provided the copyright notice
16807and this notice are preserved.  This file is offered as-is, without any
16808warranty.
16809
16810
16811File: autoconf-archive.info,  Node: ax_func_which_gethostbyname_r,  Next: ax_func_which_getservbyname_r,  Prev: ax_func_snprintf,  Up: The Macros
16812
16813ax_func_which_gethostbyname_r
16814=============================
16815
16816Synopsis
16817********
16818
16819     AX_FUNC_WHICH_GETHOSTBYNAME_R
16820
16821Description
16822***********
16823
16824Determines which historical variant of the gethostbyname_r() call
16825(taking three, five, or six arguments) is available on the system and
16826defines one of the following macros accordingly:
16827
16828       HAVE_FUNC_GETHOSTBYNAME_R_6
16829       HAVE_FUNC_GETHOSTBYNAME_R_5
16830       HAVE_FUNC_GETHOSTBYNAME_R_3
16831
16832as well as
16833
16834       HAVE_GETHOSTBYNAME_R
16835
16836If used in conjunction with gethostname.c, the API demonstrated in
16837test.c can be used regardless of which gethostbyname_r() is available.
16838These example files can be found at
16839http://www.csn.ul.ie/~caolan/publink/gethostbyname_r
16840
16841based on David Arnold's autoconf suggestion in the threads faq
16842
16843Originally named "AC_caolan_FUNC_WHICH_GETHOSTBYNAME_R". Rewritten for
16844Autoconf 2.5x, and updated for 2.68 by Daniel Richard G.
16845
16846Source Code
16847***********
16848
16849Download the latest version of 'ax_func_which_gethostbyname_r.m4'
16850(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_which_gethostbyname_r.m4)
16851or browse the macro's revision history
16852(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_which_gethostbyname_r.m4).
16853
16854License
16855*******
16856
16857Copyright (C) 2008 Caolan McNamara <caolan@skynet.ie>
16858Copyright (C) 2008 Daniel Richard G. <skunk@iskunk.org>
16859
16860This program is free software; you can redistribute it and/or modify it
16861under the terms of the GNU General Public License as published by the
16862Free Software Foundation; either version 2 of the License, or (at your
16863option) any later version.
16864
16865This program is distributed in the hope that it will be useful, but
16866WITHOUT ANY WARRANTY; without even the implied warranty of
16867MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16868Public License for more details.
16869
16870You should have received a copy of the GNU General Public License along
16871with this program.  If not, see <https://www.gnu.org/licenses/>.
16872
16873As a special exception, the respective Autoconf Macro's copyright owner
16874gives unlimited permission to copy, distribute and modify the configure
16875scripts that are the output of Autoconf when processing the Macro.  You
16876need not follow the terms of the GNU General Public License when using
16877or distributing such scripts, even though portions of the text of the
16878Macro appear in them.  The GNU General Public License (GPL) does govern
16879all other use of the material that constitutes the Autoconf Macro.
16880
16881This special exception to the GPL applies to versions of the Autoconf
16882Macro released by the Autoconf Archive.  When you make and distribute a
16883modified version of the Autoconf Macro, you may extend this special
16884exception to the GPL to apply to your modified version as well.
16885
16886
16887File: autoconf-archive.info,  Node: ax_func_which_getservbyname_r,  Next: ax_gcc_archflag,  Prev: ax_func_which_gethostbyname_r,  Up: The Macros
16888
16889ax_func_which_getservbyname_r
16890=============================
16891
16892Synopsis
16893********
16894
16895     AX_FUNC_WHICH_GETSERVBYNAME_R
16896
16897Description
16898***********
16899
16900Provides a test to determine the correct way to call getservbyname_r:
16901
16902      - defines HAVE_FUNC_GETSERVBYNAME_R_6 if it needs 6 arguments (e.g linux)
16903      - defines HAVE_FUNC_GETSERVBYNAME_R_5 if it needs 5 arguments (e.g. solaris)
16904      - defines HAVE_FUNC_GETSERVBYNAME_R_4 if it needs 4 arguments (e.g. osf/1)
16905
16906An example use can be found at
16907http://raf.org/autoconf/net_getservbyname.c
16908
16909Based on Caolan McNamara's gethostbyname_r macro.  Based on David
16910Arnold's autoconf suggestion in the threads faq.
16911
16912Source Code
16913***********
16914
16915Download the latest version of 'ax_func_which_getservbyname_r.m4'
16916(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_which_getservbyname_r.m4)
16917or browse the macro's revision history
16918(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_func_which_getservbyname_r.m4).
16919
16920License
16921*******
16922
16923Copyright (C) 2008 raf <raf@raf.org>
16924
16925This program is free software: you can redistribute it and/or modify it
16926under the terms of the GNU General Public License as published by the
16927Free Software Foundation, either version 3 of the License, or (at your
16928option) any later version.
16929
16930This program is distributed in the hope that it will be useful, but
16931WITHOUT ANY WARRANTY; without even the implied warranty of
16932MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
16933Public License for more details.
16934
16935You should have received a copy of the GNU General Public License along
16936with this program.  If not, see <https://www.gnu.org/licenses/>.
16937
16938As a special exception, the respective Autoconf Macro's copyright owner
16939gives unlimited permission to copy, distribute and modify the configure
16940scripts that are the output of Autoconf when processing the Macro.  You
16941need not follow the terms of the GNU General Public License when using
16942or distributing such scripts, even though portions of the text of the
16943Macro appear in them.  The GNU General Public License (GPL) does govern
16944all other use of the material that constitutes the Autoconf Macro.
16945
16946This special exception to the GPL applies to versions of the Autoconf
16947Macro released by the Autoconf Archive.  When you make and distribute a
16948modified version of the Autoconf Macro, you may extend this special
16949exception to the GPL to apply to your modified version as well.
16950
16951
16952File: autoconf-archive.info,  Node: ax_gcc_archflag,  Next: ax_gcc_builtin,  Prev: ax_func_which_getservbyname_r,  Up: The Macros
16953
16954ax_gcc_archflag
16955===============
16956
16957Synopsis
16958********
16959
16960     AX_GCC_ARCHFLAG([PORTABLE?], [ACTION-SUCCESS], [ACTION-FAILURE])
16961
16962Description
16963***********
16964
16965This macro tries to guess the "native" arch corresponding to the target
16966architecture for use with gcc's -march=arch or -mtune=arch flags.  If
16967found, the cache variable $ax_cv_gcc_archflag is set to this flag and
16968ACTION-SUCCESS is executed; otherwise $ax_cv_gcc_archflag is set to
16969"unknown" and ACTION-FAILURE is executed.  The default ACTION-SUCCESS is
16970to add $ax_cv_gcc_archflag to the end of $CFLAGS.
16971
16972PORTABLE? should be either [yes] (default) or [no].  In the former case,
16973the flag is set to -mtune (or equivalent) so that the architecture is
16974only used for tuning, but the instruction set used is still portable.
16975In the latter case, the flag is set to -march (or equivalent) so that
16976architecture-specific instructions are enabled.
16977
16978The user can specify -with-gcc-arch=<arch> in order to override the
16979macro's choice of architecture, or -without-gcc-arch to disable this.
16980
16981When cross-compiling, or if $CC is not gcc, then ACTION-FAILURE is
16982called unless the user specified -with-gcc-arch manually.
16983
16984Requires macros: AX_CHECK_COMPILE_FLAG, AX_GCC_X86_CPUID
16985
16986(The main emphasis here is on recent CPUs, on the principle that doing
16987high-performance computing on old hardware is uncommon.)
16988
16989Source Code
16990***********
16991
16992Download the latest version of 'ax_gcc_archflag.m4'
16993(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_archflag.m4)
16994or browse the macro's revision history
16995(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_archflag.m4).
16996
16997License
16998*******
16999
17000Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
17001Copyright (C) 2008 Matteo Frigo
17002Copyright (C) 2014 Tsukasa Oi
17003Copyright (C) 2017-2018 Alexey Kopytov
17004
17005This program is free software: you can redistribute it and/or modify it
17006under the terms of the GNU General Public License as published by the
17007Free Software Foundation, either version 3 of the License, or (at your
17008option) any later version.
17009
17010This program is distributed in the hope that it will be useful, but
17011WITHOUT ANY WARRANTY; without even the implied warranty of
17012MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17013Public License for more details.
17014
17015You should have received a copy of the GNU General Public License along
17016with this program.  If not, see <https://www.gnu.org/licenses/>.
17017
17018As a special exception, the respective Autoconf Macro's copyright owner
17019gives unlimited permission to copy, distribute and modify the configure
17020scripts that are the output of Autoconf when processing the Macro.  You
17021need not follow the terms of the GNU General Public License when using
17022or distributing such scripts, even though portions of the text of the
17023Macro appear in them.  The GNU General Public License (GPL) does govern
17024all other use of the material that constitutes the Autoconf Macro.
17025
17026This special exception to the GPL applies to versions of the Autoconf
17027Macro released by the Autoconf Archive.  When you make and distribute a
17028modified version of the Autoconf Macro, you may extend this special
17029exception to the GPL to apply to your modified version as well.
17030
17031
17032File: autoconf-archive.info,  Node: ax_gcc_builtin,  Next: ax_gcc_const_call,  Prev: ax_gcc_archflag,  Up: The Macros
17033
17034ax_gcc_builtin
17035==============
17036
17037Synopsis
17038********
17039
17040     AX_GCC_BUILTIN(BUILTIN)
17041
17042Description
17043***********
17044
17045This macro checks if the compiler supports one of GCC's built-in
17046functions; many other compilers also provide those same built-ins.
17047
17048The BUILTIN parameter is the name of the built-in function.
17049
17050If BUILTIN is supported define HAVE_<BUILTIN>.  Keep in mind that since
17051builtins usually start with two underscores they will be copied over
17052into the HAVE_<BUILTIN> definition (e.g.  HAVE___BUILTIN_EXPECT for
17053__builtin_expect()).
17054
17055The macro caches its result in the ax_cv_have_<BUILTIN> variable (e.g.
17056ax_cv_have___builtin_expect).
17057
17058The macro currently supports the following built-in functions:
17059
17060      __builtin_assume_aligned
17061      __builtin_bswap16
17062      __builtin_bswap32
17063      __builtin_bswap64
17064      __builtin_choose_expr
17065      __builtin___clear_cache
17066      __builtin_clrsb
17067      __builtin_clrsbl
17068      __builtin_clrsbll
17069      __builtin_clz
17070      __builtin_clzl
17071      __builtin_clzll
17072      __builtin_complex
17073      __builtin_constant_p
17074      __builtin_ctz
17075      __builtin_ctzl
17076      __builtin_ctzll
17077      __builtin_expect
17078      __builtin_ffs
17079      __builtin_ffsl
17080      __builtin_ffsll
17081      __builtin_fpclassify
17082      __builtin_huge_val
17083      __builtin_huge_valf
17084      __builtin_huge_vall
17085      __builtin_inf
17086      __builtin_infd128
17087      __builtin_infd32
17088      __builtin_infd64
17089      __builtin_inff
17090      __builtin_infl
17091      __builtin_isinf_sign
17092      __builtin_nan
17093      __builtin_nand128
17094      __builtin_nand32
17095      __builtin_nand64
17096      __builtin_nanf
17097      __builtin_nanl
17098      __builtin_nans
17099      __builtin_nansf
17100      __builtin_nansl
17101      __builtin_object_size
17102      __builtin_parity
17103      __builtin_parityl
17104      __builtin_parityll
17105      __builtin_popcount
17106      __builtin_popcountl
17107      __builtin_popcountll
17108      __builtin_powi
17109      __builtin_powif
17110      __builtin_powil
17111      __builtin_prefetch
17112      __builtin_trap
17113      __builtin_types_compatible_p
17114      __builtin_unreachable
17115
17116Unsupported built-ins will be tested with an empty parameter set and the
17117result of the check might be wrong or meaningless so use with care.
17118
17119Source Code
17120***********
17121
17122Download the latest version of 'ax_gcc_builtin.m4'
17123(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_builtin.m4)
17124or browse the macro's revision history
17125(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_builtin.m4).
17126
17127License
17128*******
17129
17130Copyright (C) 2013 Gabriele Svelto <gabriele.svelto@gmail.com>
17131
17132Copying and distribution of this file, with or without modification, are
17133permitted in any medium without royalty provided the copyright notice
17134and this notice are preserved.  This file is offered as-is, without any
17135warranty.
17136
17137
17138File: autoconf-archive.info,  Node: ax_gcc_const_call,  Next: ax_gcc_func_attribute,  Prev: ax_gcc_builtin,  Up: The Macros
17139
17140ax_gcc_const_call
17141=================
17142
17143Synopsis
17144********
17145
17146     AX_GCC_CONST_CALL
17147
17148Description
17149***********
17150
17151The macro will compile a test program to see whether the compiler does
17152understand the per-function postfix pragma.
17153
17154Source Code
17155***********
17156
17157Download the latest version of 'ax_gcc_const_call.m4'
17158(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_const_call.m4)
17159or browse the macro's revision history
17160(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_const_call.m4).
17161
17162License
17163*******
17164
17165Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
17166
17167Copying and distribution of this file, with or without modification, are
17168permitted in any medium without royalty provided the copyright notice
17169and this notice are preserved.  This file is offered as-is, without any
17170warranty.
17171
17172
17173File: autoconf-archive.info,  Node: ax_gcc_func_attribute,  Next: ax_gcc_lib,  Prev: ax_gcc_const_call,  Up: The Macros
17174
17175ax_gcc_func_attribute
17176=====================
17177
17178Synopsis
17179********
17180
17181     AX_GCC_FUNC_ATTRIBUTE(ATTRIBUTE)
17182
17183Description
17184***********
17185
17186This macro checks if the compiler supports one of GCC's function
17187attributes; many other compilers also provide function attributes with
17188the same syntax.  Compiler warnings are used to detect supported
17189attributes as unsupported ones are ignored by default so quieting
17190warnings when using this macro will yield false positives.
17191
17192The ATTRIBUTE parameter holds the name of the attribute to be checked.
17193
17194If ATTRIBUTE is supported define HAVE_FUNC_ATTRIBUTE_<ATTRIBUTE>.
17195
17196The macro caches its result in the ax_cv_have_func_attribute_<attribute>
17197variable.
17198
17199The macro currently supports the following function attributes:
17200
17201      alias
17202      aligned
17203      alloc_size
17204      always_inline
17205      artificial
17206      cold
17207      const
17208      constructor
17209      constructor_priority for constructor attribute with priority
17210      deprecated
17211      destructor
17212      dllexport
17213      dllimport
17214      error
17215      externally_visible
17216      fallthrough
17217      flatten
17218      format
17219      format_arg
17220      gnu_inline
17221      hot
17222      ifunc
17223      leaf
17224      malloc
17225      noclone
17226      noinline
17227      nonnull
17228      noreturn
17229      nothrow
17230      optimize
17231      pure
17232      sentinel
17233      sentinel_position
17234      unused
17235      used
17236      visibility
17237      warning
17238      warn_unused_result
17239      weak
17240      weakref
17241
17242Unsupported function attributes will be tested with a prototype
17243returning an int and not accepting any arguments and the result of the
17244check might be wrong or meaningless so use with care.
17245
17246Source Code
17247***********
17248
17249Download the latest version of 'ax_gcc_func_attribute.m4'
17250(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_func_attribute.m4)
17251or browse the macro's revision history
17252(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_func_attribute.m4).
17253
17254License
17255*******
17256
17257Copyright (C) 2013 Gabriele Svelto <gabriele.svelto@gmail.com>
17258
17259Copying and distribution of this file, with or without modification, are
17260permitted in any medium without royalty provided the copyright notice
17261and this notice are preserved.  This file is offered as-is, without any
17262warranty.
17263
17264
17265File: autoconf-archive.info,  Node: ax_gcc_lib,  Next: ax_gcc_libgcc_eh,  Prev: ax_gcc_func_attribute,  Up: The Macros
17266
17267ax_gcc_lib
17268==========
17269
17270Synopsis
17271********
17272
17273     AX_GCC_LIB(LIBRARY,[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
17274
17275Description
17276***********
17277
17278AX_GCC_LIB looks for LIBRARY inside gcc install directory, performs
17279ACTION-IF-FOUND if the library is available, ACTION-IF-NOT-FOUND
17280otherwise.  The gcc install directory is retrieved using
17281AX_GCC_INSTALL_DIR macro.
17282
17283Source Code
17284***********
17285
17286Download the latest version of 'ax_gcc_lib.m4'
17287(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_lib.m4)
17288or browse the macro's revision history
17289(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_lib.m4).
17290
17291License
17292*******
17293
17294Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
17295
17296This program is free software; you can redistribute it and/or modify it
17297under the terms of the GNU General Public License as published by the
17298Free Software Foundation; either version 2 of the License, or (at your
17299option) any later version.
17300
17301This program is distributed in the hope that it will be useful, but
17302WITHOUT ANY WARRANTY; without even the implied warranty of
17303MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17304Public License for more details.
17305
17306You should have received a copy of the GNU General Public License along
17307with this program.  If not, see <https://www.gnu.org/licenses/>.
17308
17309As a special exception, the respective Autoconf Macro's copyright owner
17310gives unlimited permission to copy, distribute and modify the configure
17311scripts that are the output of Autoconf when processing the Macro.  You
17312need not follow the terms of the GNU General Public License when using
17313or distributing such scripts, even though portions of the text of the
17314Macro appear in them.  The GNU General Public License (GPL) does govern
17315all other use of the material that constitutes the Autoconf Macro.
17316
17317This special exception to the GPL applies to versions of the Autoconf
17318Macro released by the Autoconf Archive.  When you make and distribute a
17319modified version of the Autoconf Macro, you may extend this special
17320exception to the GPL to apply to your modified version as well.
17321
17322
17323File: autoconf-archive.info,  Node: ax_gcc_libgcc_eh,  Next: ax_gcc_libsupcxx,  Prev: ax_gcc_lib,  Up: The Macros
17324
17325ax_gcc_libgcc_eh
17326================
17327
17328Synopsis
17329********
17330
17331     AX_GCC_LIBGCC_EH(VARIABLE)
17332
17333Description
17334***********
17335
17336AX_GCC_LIBGCC_EH defines VARIABLE as the absolute path to libgcc_eh.a if
17337it is available on the system, empty otherwise
17338
17339Source Code
17340***********
17341
17342Download the latest version of 'ax_gcc_libgcc_eh.m4'
17343(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_libgcc_eh.m4)
17344or browse the macro's revision history
17345(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_libgcc_eh.m4).
17346
17347License
17348*******
17349
17350Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
17351
17352This program is free software; you can redistribute it and/or modify it
17353under the terms of the GNU General Public License as published by the
17354Free Software Foundation; either version 2 of the License, or (at your
17355option) any later version.
17356
17357This program is distributed in the hope that it will be useful, but
17358WITHOUT ANY WARRANTY; without even the implied warranty of
17359MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17360Public License for more details.
17361
17362You should have received a copy of the GNU General Public License along
17363with this program.  If not, see <https://www.gnu.org/licenses/>.
17364
17365As a special exception, the respective Autoconf Macro's copyright owner
17366gives unlimited permission to copy, distribute and modify the configure
17367scripts that are the output of Autoconf when processing the Macro.  You
17368need not follow the terms of the GNU General Public License when using
17369or distributing such scripts, even though portions of the text of the
17370Macro appear in them.  The GNU General Public License (GPL) does govern
17371all other use of the material that constitutes the Autoconf Macro.
17372
17373This special exception to the GPL applies to versions of the Autoconf
17374Macro released by the Autoconf Archive.  When you make and distribute a
17375modified version of the Autoconf Macro, you may extend this special
17376exception to the GPL to apply to your modified version as well.
17377
17378
17379File: autoconf-archive.info,  Node: ax_gcc_libsupcxx,  Next: ax_gcc_malloc_call,  Prev: ax_gcc_libgcc_eh,  Up: The Macros
17380
17381ax_gcc_libsupcxx
17382================
17383
17384Synopsis
17385********
17386
17387     AX_GCC_LIBSUPCXX(VARIABLE)
17388
17389Description
17390***********
17391
17392AX_GCC_LIBSUPCXX defines VARIABLE as the absolute path to libsupc++.a if
17393it is available on the system, empty otherwise.
17394
17395Source Code
17396***********
17397
17398Download the latest version of 'ax_gcc_libsupcxx.m4'
17399(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_libsupcxx.m4)
17400or browse the macro's revision history
17401(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_libsupcxx.m4).
17402
17403License
17404*******
17405
17406Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
17407
17408Copyright (C) 2009 Alessandro Massignan <ff0000.it@gmail.com>
17409
17410This program is free software; you can redistribute it and/or modify it
17411under the terms of the GNU General Public License as published by the
17412Free Software Foundation; either version 2 of the License, or (at your
17413option) any later version.
17414
17415This program is distributed in the hope that it will be useful, but
17416WITHOUT ANY WARRANTY; without even the implied warranty of
17417MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17418Public License for more details.
17419
17420You should have received a copy of the GNU General Public License along
17421with this program.  If not, see <https://www.gnu.org/licenses/>.
17422
17423As a special exception, the respective Autoconf Macro's copyright owner
17424gives unlimited permission to copy, distribute and modify the configure
17425scripts that are the output of Autoconf when processing the Macro.  You
17426need not follow the terms of the GNU General Public License when using
17427or distributing such scripts, even though portions of the text of the
17428Macro appear in them.  The GNU General Public License (GPL) does govern
17429all other use of the material that constitutes the Autoconf Macro.
17430
17431This special exception to the GPL applies to versions of the Autoconf
17432Macro released by the Autoconf Archive.  When you make and distribute a
17433modified version of the Autoconf Macro, you may extend this special
17434exception to the GPL to apply to your modified version as well.
17435
17436
17437File: autoconf-archive.info,  Node: ax_gcc_malloc_call,  Next: ax_gcc_var_attribute,  Prev: ax_gcc_libsupcxx,  Up: The Macros
17438
17439ax_gcc_malloc_call
17440==================
17441
17442Synopsis
17443********
17444
17445     AX_GCC_MALLOC_CALL
17446
17447Description
17448***********
17449
17450The macro will compile a test program to see whether the compiler does
17451understand the per-function postfix pragma.
17452
17453Source Code
17454***********
17455
17456Download the latest version of 'ax_gcc_malloc_call.m4'
17457(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_malloc_call.m4)
17458or browse the macro's revision history
17459(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_malloc_call.m4).
17460
17461License
17462*******
17463
17464Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
17465
17466Copying and distribution of this file, with or without modification, are
17467permitted in any medium without royalty provided the copyright notice
17468and this notice are preserved.  This file is offered as-is, without any
17469warranty.
17470
17471
17472File: autoconf-archive.info,  Node: ax_gcc_var_attribute,  Next: ax_gcc_warn_unused_result,  Prev: ax_gcc_malloc_call,  Up: The Macros
17473
17474ax_gcc_var_attribute
17475====================
17476
17477Synopsis
17478********
17479
17480     AX_GCC_VAR_ATTRIBUTE(ATTRIBUTE)
17481
17482Description
17483***********
17484
17485This macro checks if the compiler supports one of GCC's variable
17486attributes; many other compilers also provide variable attributes with
17487the same syntax.  Compiler warnings are used to detect supported
17488attributes as unsupported ones are ignored by default so quieting
17489warnings when using this macro will yield false positives.
17490
17491The ATTRIBUTE parameter holds the name of the attribute to be checked.
17492
17493If ATTRIBUTE is supported define HAVE_VAR_ATTRIBUTE_<ATTRIBUTE>.
17494
17495The macro caches its result in the ax_cv_have_var_attribute_<attribute>
17496variable.
17497
17498The macro currently supports the following variable attributes:
17499
17500      aligned
17501      cleanup
17502      common
17503      nocommon
17504      deprecated
17505      mode
17506      packed
17507      tls_model
17508      unused
17509      used
17510      vector_size
17511      weak
17512      dllimport
17513      dllexport
17514      init_priority
17515
17516Unsupported variable attributes will be tested against a global integer
17517variable and without any arguments given to the attribute itself; the
17518result of this check might be wrong or meaningless so use with care.
17519
17520Source Code
17521***********
17522
17523Download the latest version of 'ax_gcc_var_attribute.m4'
17524(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_var_attribute.m4)
17525or browse the macro's revision history
17526(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_var_attribute.m4).
17527
17528License
17529*******
17530
17531Copyright (C) 2013 Gabriele Svelto <gabriele.svelto@gmail.com>
17532
17533Copying and distribution of this file, with or without modification, are
17534permitted in any medium without royalty provided the copyright notice
17535and this notice are preserved.  This file is offered as-is, without any
17536warranty.
17537
17538
17539File: autoconf-archive.info,  Node: ax_gcc_warn_unused_result,  Next: ax_gcc_x86_avx_xgetbv,  Prev: ax_gcc_var_attribute,  Up: The Macros
17540
17541ax_gcc_warn_unused_result
17542=========================
17543
17544Synopsis
17545********
17546
17547     AX_GCC_WARN_UNUSED_RESULT
17548
17549Description
17550***********
17551
17552The macro will compile a test program to see whether the compiler does
17553understand the per-function postfix pragma.
17554
17555Source Code
17556***********
17557
17558Download the latest version of 'ax_gcc_warn_unused_result.m4'
17559(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_warn_unused_result.m4)
17560or browse the macro's revision history
17561(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_warn_unused_result.m4).
17562
17563License
17564*******
17565
17566Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
17567
17568Copying and distribution of this file, with or without modification, are
17569permitted in any medium without royalty provided the copyright notice
17570and this notice are preserved.  This file is offered as-is, without any
17571warranty.
17572
17573
17574File: autoconf-archive.info,  Node: ax_gcc_x86_avx_xgetbv,  Next: ax_gcc_x86_cpu_supports,  Prev: ax_gcc_warn_unused_result,  Up: The Macros
17575
17576ax_gcc_x86_avx_xgetbv
17577=====================
17578
17579Synopsis
17580********
17581
17582     AX_GCC_X86_AVX_XGETBV
17583
17584Description
17585***********
17586
17587On later x86 processors with AVX SIMD support, with gcc or a compiler
17588that has a compatible syntax for inline assembly instructions, run a
17589small program that executes the xgetbv instruction with input OP. This
17590can be used to detect if the OS supports AVX instruction usage.
17591
17592On output, the values of the eax and edx registers are stored as
17593hexadecimal strings as "eax:edx" in the cache variable
17594ax_cv_gcc_x86_avx_xgetbv.
17595
17596If the xgetbv instruction fails (because you are running a
17597cross-compiler, or because you are not using gcc, or because you are on
17598a processor that doesn't have this instruction),
17599ax_cv_gcc_x86_avx_xgetbv_OP is set to the string "unknown".
17600
17601This macro mainly exists to be used in AX_EXT.
17602
17603Source Code
17604***********
17605
17606Download the latest version of 'ax_gcc_x86_avx_xgetbv.m4'
17607(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_x86_avx_xgetbv.m4)
17608or browse the macro's revision history
17609(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_x86_avx_xgetbv.m4).
17610
17611License
17612*******
17613
17614Copyright (C) 2013 Michael Petch <mpetch@capp-sysware.com>
17615
17616This program is free software: you can redistribute it and/or modify it
17617under the terms of the GNU General Public License as published by the
17618Free Software Foundation, either version 3 of the License, or (at your
17619option) any later version.
17620
17621This program is distributed in the hope that it will be useful, but
17622WITHOUT ANY WARRANTY; without even the implied warranty of
17623MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17624Public License for more details.
17625
17626You should have received a copy of the GNU General Public License along
17627with this program.  If not, see <https://www.gnu.org/licenses/>.
17628
17629As a special exception, the respective Autoconf Macro's copyright owner
17630gives unlimited permission to copy, distribute and modify the configure
17631scripts that are the output of Autoconf when processing the Macro.  You
17632need not follow the terms of the GNU General Public License when using
17633or distributing such scripts, even though portions of the text of the
17634Macro appear in them.  The GNU General Public License (GPL) does govern
17635all other use of the material that constitutes the Autoconf Macro.
17636
17637This special exception to the GPL applies to versions of the Autoconf
17638Macro released by the Autoconf Archive.  When you make and distribute a
17639modified version of the Autoconf Macro, you may extend this special
17640exception to the GPL to apply to your modified version as well.
17641
17642
17643File: autoconf-archive.info,  Node: ax_gcc_x86_cpu_supports,  Next: ax_gcc_x86_cpuid,  Prev: ax_gcc_x86_avx_xgetbv,  Up: The Macros
17644
17645ax_gcc_x86_cpu_supports
17646=======================
17647
17648Synopsis
17649********
17650
17651     AX_GCC_X86_CPU_SUPPORTS(X86-INSTRUCTION-SET,
17652       [ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
17653
17654Description
17655***********
17656
17657Checks if the host cpu supports X86-INSTRUCTION-SET. The instruction set
17658that can be tested are "mmx, popcnt, sse, sse2, sse3, sse4.1, sse4.2,
17659sse4a, avx, avx2, avx512f, fma, fma4, bmi, bmi2".  If the instruction
17660set is supported by the host cpu, the C preprocessor macro
17661HAVE_XXX_INSTRUCTIONS is set to 1.  The XXX is up-cased instruction case
17662with dot replaced by underscore.  For example, the test for "sse4.2"
17663would export HAVE_SSE4_2_INSTRUCTIONS=1.  This macro requires gcc
17664extended builtin function "__builtin_cpu_init" and
17665"__builtin_cpu_supports" to detect the cpu features.  It will error out
17666if the compiler doesn't has these builtins.
17667
17668If the test for the instruction set succeeded, the hook ACTION-IF-FOUND
17669would run.  Otherwise the hook ACTION-IF-NOT-FOUND would run if
17670specified.
17671
17672See also AX_CHECK_X86_FEATURES, which checks all the possible
17673instruction set and export the corresponding CFLAGS.
17674
17675Source Code
17676***********
17677
17678Download the latest version of 'ax_gcc_x86_cpu_supports.m4'
17679(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_x86_cpu_supports.m4)
17680or browse the macro's revision history
17681(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_x86_cpu_supports.m4).
17682
17683License
17684*******
17685
17686Copyright (C) 2016 Felix Chern <idryman@gmail.com>
17687
17688This program is free software; you can redistribute it and/or modify it
17689under the terms of the GNU General Public License as published by the
17690Free Software Foundation; either version 2 of the License, or (at your
17691option) any later version.
17692
17693This program is distributed in the hope that it will be useful, but
17694WITHOUT ANY WARRANTY; without even the implied warranty of
17695MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17696Public License for more details.
17697
17698You should have received a copy of the GNU General Public License along
17699with this program.  If not, see <https://www.gnu.org/licenses/>.
17700
17701As a special exception, the respective Autoconf Macro's copyright owner
17702gives unlimited permission to copy, distribute and modify the configure
17703scripts that are the output of Autoconf when processing the Macro.  You
17704need not follow the terms of the GNU General Public License when using
17705or distributing such scripts, even though portions of the text of the
17706Macro appear in them.  The GNU General Public License (GPL) does govern
17707all other use of the material that constitutes the Autoconf Macro.
17708
17709This special exception to the GPL applies to versions of the Autoconf
17710Macro released by the Autoconf Archive.  When you make and distribute a
17711modified version of the Autoconf Macro, you may extend this special
17712exception to the GPL to apply to your modified version as well.
17713
17714
17715File: autoconf-archive.info,  Node: ax_gcc_x86_cpuid,  Next: ax_generate_changelog,  Prev: ax_gcc_x86_cpu_supports,  Up: The Macros
17716
17717ax_gcc_x86_cpuid
17718================
17719
17720Synopsis
17721********
17722
17723     AX_GCC_X86_CPUID(OP)
17724     AX_GCC_X86_CPUID_COUNT(OP, COUNT)
17725
17726Description
17727***********
17728
17729On Pentium and later x86 processors, with gcc or a compiler that has a
17730compatible syntax for inline assembly instructions, run a small program
17731that executes the cpuid instruction with input OP. This can be used to
17732detect the CPU type.  AX_GCC_X86_CPUID_COUNT takes an additional COUNT
17733parameter that gets passed into register ECX before calling cpuid.
17734
17735On output, the values of the eax, ebx, ecx, and edx registers are stored
17736as hexadecimal strings as "eax:ebx:ecx:edx" in the cache variable
17737ax_cv_gcc_x86_cpuid_OP.
17738
17739If the cpuid instruction fails (because you are running a
17740cross-compiler, or because you are not using gcc, or because you are on
17741a processor that doesn't have this instruction), ax_cv_gcc_x86_cpuid_OP
17742is set to the string "unknown".
17743
17744This macro mainly exists to be used in AX_GCC_ARCHFLAG.
17745
17746Source Code
17747***********
17748
17749Download the latest version of 'ax_gcc_x86_cpuid.m4'
17750(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gcc_x86_cpuid.m4)
17751or browse the macro's revision history
17752(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gcc_x86_cpuid.m4).
17753
17754License
17755*******
17756
17757Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
17758Copyright (C) 2008 Matteo Frigo
17759Copyright (C) 2015 Michael Petch <mpetch@capp-sysware.com>
17760
17761This program is free software: you can redistribute it and/or modify it
17762under the terms of the GNU General Public License as published by the
17763Free Software Foundation, either version 3 of the License, or (at your
17764option) any later version.
17765
17766This program is distributed in the hope that it will be useful, but
17767WITHOUT ANY WARRANTY; without even the implied warranty of
17768MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17769Public License for more details.
17770
17771You should have received a copy of the GNU General Public License along
17772with this program.  If not, see <https://www.gnu.org/licenses/>.
17773
17774As a special exception, the respective Autoconf Macro's copyright owner
17775gives unlimited permission to copy, distribute and modify the configure
17776scripts that are the output of Autoconf when processing the Macro.  You
17777need not follow the terms of the GNU General Public License when using
17778or distributing such scripts, even though portions of the text of the
17779Macro appear in them.  The GNU General Public License (GPL) does govern
17780all other use of the material that constitutes the Autoconf Macro.
17781
17782This special exception to the GPL applies to versions of the Autoconf
17783Macro released by the Autoconf Archive.  When you make and distribute a
17784modified version of the Autoconf Macro, you may extend this special
17785exception to the GPL to apply to your modified version as well.
17786
17787
17788File: autoconf-archive.info,  Node: ax_generate_changelog,  Next: ax_gnu_autotest,  Prev: ax_gcc_x86_cpuid,  Up: The Macros
17789
17790ax_generate_changelog
17791=====================
17792
17793Synopsis
17794********
17795
17796     AX_GENERATE_CHANGELOG()
17797
17798Description
17799***********
17800
17801Builds a rule for generating a ChangeLog file from version control
17802system commit messages.  Currently, the only supported VCS is git, but
17803support for others could be added in future.
17804
17805Defines GENERATE_CHANGELOG_RULES which should be substituted in your
17806Makefile.
17807
17808Usage example:
17809
17810configure.ac:
17811
17812       AX_GENERATE_CHANGELOG
17813
17814Makefile.am:
17815
17816       @GENERATE_CHANGELOG_RULES@
17817       CHANGELOG_START = 0.2.3^
17818       dist-hook: dist-ChangeLog
17819
17820ChangeLog (stub committed to VCS):
17821
17822       The ChangeLog is auto-generated when releasing.
17823       If you are seeing this, use 'git log' for a detailed list of changes.
17824
17825This results in a "dist-ChangeLog" rule being added to the Makefile.
17826When run, "dist-ChangeLog" will generate a ChangeLog in the
17827$(top_distdir), using $(CHANGELOG_GIT_FLAGS) to format the output from
17828"git log" being run in $(CHANGELOG_GIT_DIR).
17829
17830Unless Automake is initialised with the 'foreign' option, a dummy
17831ChangeLog file must be committed to VCS in $(top_srcdir), containing the
17832text above (for example).  It will be substituted by the automatically
17833generated ChangeLog during "make dist".
17834
17835Source Code
17836***********
17837
17838Download the latest version of 'ax_generate_changelog.m4'
17839(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_generate_changelog.m4)
17840or browse the macro's revision history
17841(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_generate_changelog.m4).
17842
17843License
17844*******
17845
17846Copyright (C) 2015 David King <amigadave@amigadave.com>
17847Copyright (C) 2015 Philip Withnall <philip.withnall@collabora.co.uk>
17848
17849Copying and distribution of this file, with or without modification, are
17850permitted in any medium without royalty provided the copyright notice
17851and this notice are preserved.  This file is offered as-is, without any
17852warranty.
17853
17854
17855File: autoconf-archive.info,  Node: ax_gnu_autotest,  Next: ax_have_adns,  Prev: ax_generate_changelog,  Up: The Macros
17856
17857ax_gnu_autotest
17858===============
17859
17860Synopsis
17861********
17862
17863     AX_GNU_AUTOTEST([testdir = `tests'], [testsuites = `testsuite'],
17864                     [atlocal-sources = `'], [gen-package = `yes'],
17865                     [force = `no'])
17866
17867Description
17868***********
17869
17870Sets up one or multiple GNU Autotest test suites [1].
17871
17872TL;DR:
17873
17874       * Write tests/testsuite.at as normal
17875       * Add to configure.ac: AX_GNU_AUTOTEST
17876       * Add to Makefile.am or Makefile.in in top_srcdir:
17877         @AX_GNU_AUTOTEST_DEFAULT@
17878       * autoreconf && ./configure && make check
17879
17880GNU Autotest is a very powerful testing framework to script executing
17881binaries, observing their output and logging failures, all in the same
17882portable manner as configure itself.  But the only help given the
17883developer in setting up the framework is the AC_CONFIG_TESTDIR()
17884command, which leaves several additional steps up to the developer
17885copying examples from the manual:
17886
17887       * generating the "package.m4" file used in generating the "testsuite"
17888       * generating the "testsuite" executable by calling autom4te
17889       * adding Makefile rules to keep both "package.m4" and "testsuite"
17890         current
17891       * figuring out how to do all the above if the Makefile does not reside
17892         in the testdir
17893
17894This command takes care of all of the above.  It is designed to be
17895called multiple times for different testdir directories, to have
17896multiple testsuites scripts per directory and to handle the optional
17897"package.m4" and "atlocal" (re)generation.
17898
17899The various actions taken by this command happen in different phases of
17900the build process:
17901
17902       1) During the autoconf execution, generate the testsuites and any
17903          "package.m4" files. So these are already available before configure
17904          ran. The reasoning for deviating from the examples in [1] is that
17905          these files are distributed and must be placed in the srcdir: it
17906          seems cleaner to not generate anything in srcdir during any of the
17907          later phases.
17908       2) During the config.status execution (following the configure
17909          execution), generate "atconfig" and any "atlocal" files in the
17910          buildir. The "atconfig" generation is handled by calling
17911          AC_CONFIG_TESTDIR() so the developer does not have to do so
17912          themselves.
17913       3) During the execution of make, several additional rules and file
17914          lists are made available via AC_SUBST(). The rules are intended
17915          to be called where appropriate (e.g. make check can depend on
17916          check-autotest) and the file lists are intended to be added
17917          to the appropriate lists (i.e. to DISTCLEANFILES and EXTRA_DIST).
17918
17919Description of AX_GNU_AUTOTEST() arguments:
17920
17921       * testdir: directory-name containing the testsuites. AX_GNU_AUTOTEST()
17922         must be called exactly once for each directory containing testsuites.
17923         If empty, defaults to "tests".
17924       * testsuites: space-separated list of words, where each word is the
17925         name of a test suite script optionally followed by a colon and the
17926         name of the scripts source file. If the source file is not given,
17927         it defaults to the script name suffixed by ".at". So these words
17928         are all equivalent: "foo", "foo:" and "foo:foo.at". If the argument
17929         is empty, it defaults to "testsuite". The script filenames must not
17930         contain any path, but that is allowed for the source filenames.
17931       * atlocal-sources: space- or colon-separated list of filenames, which
17932         are registered with AC_CONFIG_FILES() as the sources of atlocal.
17933         If empty, no atlocal file is generated.
17934       * gen-package: boolean ("yes" or "no") indicating whether "package.m4"
17935         should be generated. If empty, defaults to "yes".
17936       * force: boolean ("yes" or "no") whether to treat errors in arguments
17937         as errors and abort (for "no") or whether to ignore any such errors
17938         (for "yes"). If empty, defaults to "no".
17939
17940All filenames above must be relative.  The testdir name is interpreted
17941relative to top_srcdir.  All other names are interpreted relative to the
17942testdir.  The boolean values are interpreted as "yes" for any non-empty
17943value except "0", "n", "no" and their mixed-case variants.
17944
17945Description of Makefile.am / Makefile.in substitutions:
17946
17947       * AX_GNU_AUTOTEST_RULES: the make rules provided here. Substitute this
17948         in a separate line.
17949       * AX_GNU_AUTOTEST_DCLEAN: the list of files to be added to
17950         DISTCLEANFILES.
17951       * AX_GNU_AUTOTEST_DIST: the list of files to be added to EXTRA_DIST.
17952       * AX_GNU_AUTOTEST_DEFAULT: includes all other substitutions and uses
17953         them in a "default" way.
17954
17955All must be used as a substitution (@...@) instead of as a variable
17956($(...)  or ${...}).  These substitutions are generated multiple times,
17957once for each directory where an affected Makefile may be located.  All
17958substitutions start with the base as given above but may have suffixes
17959for the directories.  Assuming this example in configure.ac:
17960
17961       AX_GNU_AUTOTEST([foo/bar])
17962       AX_GNU_AUTOTEST([baz])
17963
17964Then the following substitutions are available (where <base> stands for
17965one of the above prefixes):
17966
17967       * <base>         : for use in top_srcdir/Makefile
17968       * <base>_foo     : for use in top_srcdir/foo/Makefile
17969       * <base>_foo_bar : for use in top_srcdir/foo/bar/Makefile
17970       * <base>_baz     : for use in top_srcdir/baz/Makefile
17971
17972The <base> substitutions cover both foo/bar and baz, so none of the
17973other substitutions should be used.  Indeed, no Makefiles are needed in
17974the other directories.  But if sub-directory Makefiles are used, then
17975both <base>_baz and either of <base>_foo or <base>_foo_bar must be used
17976in their respective Makefiles.
17977
17978Description of Makefile targets defined by AX_GNU_AUTOTEST_RULES*:
17979
17980       * check-autotest: The equivalent of check.
17981       * installcheck-autotest: The equivalent of installcheck.
17982       * clean-autotest: The equivalent of clean.
17983
17984The developer can either define the above targets as dependencies of
17985their appropriate equivalent rule or of their *-local equivalent rule
17986for automake or they can define a rule with a sub-make call as they
17987wish.
17988
17989All rules are dependent on like-named rules for each sub-directory and
17990for each testsuite.  Only the testsuite rules actually do any work, the
17991rest are just collectors and convenience names.  Assuming this example
17992in configure.ac:
17993
17994       AX_GNU_AUTOTEST([foo], [testsuite bar])
17995       AX_GNU_AUTOTEST([baz])
17996
17997Then AX_GNU_AUTOTEST_RULES defines these check rules (likewise for
17998installcheck and clean):
17999
18000       check-autotest: check-autotest-foo check-autotest-baz
18001       check-autotest-foo: check-autotest-foo-testsuite check-autotest-foo-bar
18002       check-autotest-baz: check-autotest-baz-testsuite
18003       check-autotest-foo-testsuite  # Executes foo/testsuite -C foo
18004       check-autotest-foo-bar        # Executes foo/bar -C foo
18005       check-autotest-baz-testsuite  # Executes baz/testsuite -C baz
18006
18007And AX_GNU_AUTOTEST_RULES_baz defines these check rules:
18008
18009       check-autotest: check-autotest-testsuite
18010       check-autotest-testsuite  # Executes testsuite (which is baz/testsuite)
18011
18012Note how the rule names only contain the directory and testsuite paths
18013relative to the Makefile location.  Also note how each testsuite is
18014executed in its respective testdir.
18015
18016In addition to the above, AX_GNU_AUTOTEST_RULES* also contains the rules
18017to keep the testsuites, "package.m4" and "atconfig" updated.  The
18018matching rules to keep "atlocal" updated are generated by automake if
18019that is used or are the responsibility of the developer.
18020
18021All testsuite executions (except for clean) use variables
18022AX_GNU_AUTOTEST_FLAGS, AX_GNU_AUTOTEST_CHECK_FLAGS,
18023AX_GNU_AUTOTEST_INSTALLCHECK_FLAGS and more path-and-script-specific
18024variants for additional command line options.  These variables can be
18025defined by the developer to pass options to the testsuite.  In the
18026example above, the rule check-autotest-foo-bar would look like this:
18027
18028       check-autotest-foo-bar:
18029           foo/bar -C foo $(AX_GNU_AUTOTEST_FLAGS)               \
18030                          $(AX_GNU_AUTOTEST_CHECK_FLAGS)         \
18031                          $(AX_GNU_AUTOTEST_FLAGS_foo)           \
18032                          $(AX_GNU_AUTOTEST_CHECK_FLAGS_foo)     \
18033                          $(AX_GNU_AUTOTEST_FLAGS_foo_bar)       \
18034                          $(AX_GNU_AUTOTEST_CHECK_FLAGS_foo_bar)
18035
18036Description of Makefile file lists:
18037
18038These lists are intended to be added to DISTCLEANFILES and EXTRA_DIST.
18039The *_DCLEAN list contains all "atconfig" files and the *_DIST list
18040contains all testsuites and "package.m4" files.  The lists are again
18041generated per directory: so AX_GNU_AUTOTEST_DCLEAN contains all
18042"atconfig" files while e.g.  AX_GNU_AUTOTEST_DIST_foo contains only
18043files below the "foo" directory.  These file lists are prevented from
18044becoming Makefile variables by calling AM_SUBST_NOTMAKE(): that way,
18045only the single version used by the Makefile is substituted, not all
18046lists for all other paths as well.  So use either like this:
18047
18048       DISTCLEANFILES = @AX_GNU_AUTOTEST_DCLEAN@
18049       EXTRA_DIST = @AX_GNU_AUTOTEST_DIST_foo@
18050
18051Or like this:
18052
18053       AX_GNU_AUTOTEST_DCLEAN_foo = @AX_GNU_AUTOTEST_DCLEAN_foo@
18054       AX_GNU_AUTOTEST_DIST_foo = @AX_GNU_AUTOTEST_DIST_foo@
18055       DISTCLEANFILES = ${AX_GNU_AUTOTEST_DCLEAN_foo}
18056       EXTRA_DIST = ${AX_GNU_AUTOTEST_DIST_foo}
18057
18058Description of shorthand default Makefile contents defined by
18059AX_GNU_AUTOTEST_DEFAULT*:
18060
18061This shorthand defines the appropriate rules, adds the file lists to the
18062proper variables and makes the new targets dependencies of the standard
18063"check", "installcheck" and "clean" targets.  AX_GNU_AUTOTEST_DEFAULT is
18064for example equivalent to:
18065
18066       @AX_GNU_AUTOTEST_RULES@
18067       check: check-autotest
18068       installcheck: installcheck-autotest
18069       clean: clean-autotest
18070       distclean: distclean-autotest
18071       distclean-autotest: clean-autotest
18072           -rm -f @AX_GNU_AUTOTEST_DCLEAN@
18073       .PHONY: distclean-autotest
18074       EXTRA_DIST += @AX_GNU_AUTOTEST_DIST@
18075
18076Note that this is copied verbatim into the Makefile (after expansion of
18077the contained @...@ substitutions): it does not shadow the default
18078targets as would happen if the same lines were written in a Makefile.am
18079file.  And also note the use of the += operator: this will not be
18080compatible with all versions of Make.  Finally, the DISTCLEANFILES list
18081is not used because automake only uses that list if it saw the variable
18082in the Makefile.am file: in a substitution, it gets ignored unless the
18083user already used the list.
18084
18085Alternative standard GNU test suites not supported here:
18086
18087       * Automake test suites configured by the TESTS variable [2]
18088       * DejaGnu test suites [3,4]
18089
18090[1]:
18091<https://www.gnu.org/software/autoconf/manual/html_node/Using-Autotest.html>
18092
18093[2]: <https://www.gnu.org/software/automake/manual/html_node/Tests.html>
18094
18095[3]: <https://www.gnu.org/software/dejagnu/>
18096
18097[4]:
18098<https://www.gnu.org/software/automake/manual/html_node/DejaGnu-Tests.html>
18099
18100Source Code
18101***********
18102
18103Download the latest version of 'ax_gnu_autotest.m4'
18104(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_gnu_autotest.m4)
18105or browse the macro's revision history
18106(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_gnu_autotest.m4).
18107
18108License
18109*******
18110
18111Copyright (C) 2015 Olaf Mandel <olaf@mandel.name>
18112
18113Copying and distribution of this file, with or without modification, are
18114permitted in any medium without royalty provided the copyright notice
18115and this notice are preserved.  This file is offered as-is, without any
18116warranty.
18117
18118
18119File: autoconf-archive.info,  Node: ax_have_adns,  Next: ax_have_epoll,  Prev: ax_gnu_autotest,  Up: The Macros
18120
18121ax_have_adns
18122============
18123
18124Synopsis
18125********
18126
18127     AX_HAVE_ADNS([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18128
18129Description
18130***********
18131
18132Check whether the GNU ADNS library available from
18133http://www.chiark.greenend.org.uk/~ian/adns/ is installed on this
18134system.  The test is known to work with version 1.4 (or later).  If the
18135library is found, the flags necessary to link it are added to $LIBS.
18136
18137Source Code
18138***********
18139
18140Download the latest version of 'ax_have_adns.m4'
18141(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_adns.m4)
18142or browse the macro's revision history
18143(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_adns.m4).
18144
18145License
18146*******
18147
18148Copyright (C) 2008 Peter Simons <simons@cryp.to>
18149
18150Copying and distribution of this file, with or without modification, are
18151permitted in any medium without royalty provided the copyright notice
18152and this notice are preserved.  This file is offered as-is, without any
18153warranty.
18154
18155
18156File: autoconf-archive.info,  Node: ax_have_epoll,  Next: ax_have_poll,  Prev: ax_have_adns,  Up: The Macros
18157
18158ax_have_epoll
18159=============
18160
18161Synopsis
18162********
18163
18164     AX_HAVE_EPOLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18165     AX_HAVE_EPOLL_PWAIT([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18166
18167Description
18168***********
18169
18170This macro determines whether the system supports the epoll I/O event
18171interface.  A neat usage example would be:
18172
18173       AX_HAVE_EPOLL(
18174         [AX_CONFIG_FEATURE_ENABLE(epoll)],
18175         [AX_CONFIG_FEATURE_DISABLE(epoll)])
18176       AX_CONFIG_FEATURE(
18177         [epoll], [This platform supports epoll(7)],
18178         [HAVE_EPOLL], [This platform supports epoll(7).])
18179
18180The epoll interface was added to the Linux kernel in version 2.5.45, and
18181the macro verifies that a kernel newer than this is installed.  This
18182check is somewhat unreliable if <linux/version.h> doesn't match the
18183running kernel, but it is necessary regardless, because glibc comes with
18184stubs for the epoll_create(), epoll_wait(), etc.  that allow programs to
18185compile and link even if the kernel is too old; the problem would then
18186be detected only at runtime.
18187
18188Linux kernel version 2.6.19 adds the epoll_pwait() call in addition to
18189epoll_wait().  The availability of that function can be tested with the
18190second macro.  Generally speaking, it is safe to assume that
18191AX_HAVE_EPOLL would succeed if AX_HAVE_EPOLL_PWAIT has, but not the
18192other way round.
18193
18194Source Code
18195***********
18196
18197Download the latest version of 'ax_have_epoll.m4'
18198(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_epoll.m4)
18199or browse the macro's revision history
18200(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_epoll.m4).
18201
18202License
18203*******
18204
18205Copyright (C) 2008 Peter Simons <simons@cryp.to>
18206
18207Copying and distribution of this file, with or without modification, are
18208permitted in any medium without royalty provided the copyright notice
18209and this notice are preserved.  This file is offered as-is, without any
18210warranty.
18211
18212
18213File: autoconf-archive.info,  Node: ax_have_poll,  Next: ax_have_qt,  Prev: ax_have_epoll,  Up: The Macros
18214
18215ax_have_poll
18216============
18217
18218Synopsis
18219********
18220
18221     AX_HAVE_POLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18222     AX_HAVE_PPOLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18223
18224Description
18225***********
18226
18227This macro determines whether the system supports the poll I/O event
18228interface.  A neat usage example would be:
18229
18230       AX_HAVE_POLL(
18231         [AX_CONFIG_FEATURE_ENABLE(poll)],
18232         [AX_CONFIG_FEATURE_DISABLE(poll)])
18233       AX_CONFIG_FEATURE(
18234         [poll], [This platform supports poll(7)],
18235         [HAVE_POLL], [This platform supports poll(7).])
18236
18237Some systems - most notably Linux kernel 2.6.16 and later - also have
18238the variant ppoll().  The availability of that function can be tested
18239with the second macro.  Generally speaking, it is safe to assume that
18240AX_HAVE_POLL would succeed if AX_HAVE_PPOLL has, but not the other way
18241round.
18242
18243Source Code
18244***********
18245
18246Download the latest version of 'ax_have_poll.m4'
18247(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_poll.m4)
18248or browse the macro's revision history
18249(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_poll.m4).
18250
18251License
18252*******
18253
18254Copyright (C) 2009 Peter Simons <simons@cryp.to>
18255
18256Copying and distribution of this file, with or without modification, are
18257permitted in any medium without royalty provided the copyright notice
18258and this notice are preserved.  This file is offered as-is, without any
18259warranty.
18260
18261
18262File: autoconf-archive.info,  Node: ax_have_qt,  Next: ax_have_select,  Prev: ax_have_poll,  Up: The Macros
18263
18264ax_have_qt
18265==========
18266
18267Synopsis
18268********
18269
18270     AX_HAVE_QT
18271
18272Description
18273***********
18274
18275Searches $PATH and queries qmake for Qt include files, libraries and Qt
18276binary utilities.  The macro only supports Qt5 or later.
18277
18278The following shell variable is set to either "yes" or "no":
18279
18280       have_qt
18281
18282Additionally, the following variables are exported:
18283
18284       QT_CXXFLAGS
18285       QT_LIBS
18286       QT_MOC
18287       QT_UIC
18288       QT_LRELEASE
18289       QT_LUPDATE
18290       QT_DIR
18291
18292which respectively contain an "-I" flag pointing to the Qt include
18293directory, link flags necessary to link with Qt and X, the full path to
18294the meta object compiler and the user interface compiler both, and
18295finally the variable QTDIR as Qt likes to see it defined.
18296
18297Example lines for Makefile.in:
18298
18299       CXXFLAGS = @QT_CXXFLAGS@
18300       MOC      = @QT_MOC@
18301
18302After the variables have been set, a trial compile and link is performed
18303to check the correct functioning of the meta object compiler.  This test
18304may fail when the different detected elements stem from different
18305releases of the Qt framework.  In that case, an error message is emitted
18306and configure stops.
18307
18308No common variables such as $LIBS or $CFLAGS are polluted.
18309
18310Source Code
18311***********
18312
18313Download the latest version of 'ax_have_qt.m4'
18314(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_qt.m4)
18315or browse the macro's revision history
18316(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_qt.m4).
18317
18318License
18319*******
18320
18321Copyright (C) 2008 Bastiaan Veelo <Bastiaan@Veelo.net>
18322Copyright (C) 2014 Alex Henrie <alexhenrie24@gmail.com>
18323
18324Copying and distribution of this file, with or without modification, are
18325permitted in any medium without royalty provided the copyright notice
18326and this notice are preserved.  This file is offered as-is, without any
18327warranty.
18328
18329
18330File: autoconf-archive.info,  Node: ax_have_select,  Next: ax_include_strcasecmp,  Prev: ax_have_qt,  Up: The Macros
18331
18332ax_have_select
18333==============
18334
18335Synopsis
18336********
18337
18338     AX_HAVE_SELECT([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18339     AX_HAVE_PSELECT([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18340
18341Description
18342***********
18343
18344This macro determines whether the system supports the select I/O event
18345interface.  A neat usage example would be:
18346
18347       AX_HAVE_SELECT(
18348         [AX_CONFIG_FEATURE_ENABLE(select)],
18349         [AX_CONFIG_FEATURE_DISABLE(select)])
18350       AX_CONFIG_FEATURE(
18351         [select], [This platform supports select(7)],
18352         [HAVE_SELECT], [This platform supports select(7).])
18353
18354Some systems also have the variant pselect().  The availability of that
18355function can be tested with the second macro.  Generally speaking, it is
18356safe to assume that AX_HAVE_SELECT would succeed if AX_HAVE_SELECT_PWAIT
18357has, but not the other way round.
18358
18359Source Code
18360***********
18361
18362Download the latest version of 'ax_have_select.m4'
18363(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_have_select.m4)
18364or browse the macro's revision history
18365(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_have_select.m4).
18366
18367License
18368*******
18369
18370Copyright (C) 2009 Peter Simons <simons@cryp.to>
18371
18372Copying and distribution of this file, with or without modification, are
18373permitted in any medium without royalty provided the copyright notice
18374and this notice are preserved.  This file is offered as-is, without any
18375warranty.
18376
18377
18378File: autoconf-archive.info,  Node: ax_include_strcasecmp,  Next: ax_install_files,  Prev: ax_have_select,  Up: The Macros
18379
18380ax_include_strcasecmp
18381=====================
18382
18383Synopsis
18384********
18385
18386     AX_INCLUDE_STRCASECMP
18387
18388Description
18389***********
18390
18391This macro tries to find a header for strcasecmp() in strings.h, then
18392string.h, and AC_DEFINEs AX_STRCASECMP_HEADER to the value it found.
18393Use it in your source like so:
18394
18395       #ifdef AX_STRCASECMP_HEADER
18396       #include AX_STRCASECMP_HEADER
18397       #endif
18398
18399Source Code
18400***********
18401
18402Download the latest version of 'ax_include_strcasecmp.m4'
18403(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_include_strcasecmp.m4)
18404or browse the macro's revision history
18405(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_include_strcasecmp.m4).
18406
18407License
18408*******
18409
18410Copyright (C) 2012 Leo Davis <ldavis@speechfxinc.com>
18411
18412Copying and distribution of this file, with or without modification, are
18413permitted in any medium without royalty provided the copyright notice
18414and this notice are preserved.  This file is offered as-is, without any
18415warranty.
18416
18417
18418File: autoconf-archive.info,  Node: ax_install_files,  Next: ax_is_release,  Prev: ax_include_strcasecmp,  Up: The Macros
18419
18420ax_install_files
18421================
18422
18423Synopsis
18424********
18425
18426     AX_INSTALL_FILES
18427
18428Description
18429***********
18430
18431Adds target for creating a install_files file, which contains the list
18432of files that will be installed.
18433
18434Source Code
18435***********
18436
18437Download the latest version of 'ax_install_files.m4'
18438(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_install_files.m4)
18439or browse the macro's revision history
18440(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_install_files.m4).
18441
18442License
18443*******
18444
18445Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
18446
18447Copying and distribution of this file, with or without modification, are
18448permitted in any medium without royalty provided the copyright notice
18449and this notice are preserved.  This file is offered as-is, without any
18450warranty.
18451
18452
18453File: autoconf-archive.info,  Node: ax_is_release,  Next: ax_java_check_class,  Prev: ax_install_files,  Up: The Macros
18454
18455ax_is_release
18456=============
18457
18458Synopsis
18459********
18460
18461     AX_IS_RELEASE(POLICY)
18462
18463Description
18464***********
18465
18466Determine whether the code is being configured as a release, or from
18467git.  Set the ax_is_release variable to 'yes' or 'no'.
18468
18469If building a release version, it is recommended that the configure
18470script disable compiler errors and debug features, by conditionalising
18471them on the ax_is_release variable.  If building from git, these
18472features should be enabled.
18473
18474The POLICY parameter specifies how ax_is_release is determined.  It can
18475take the following values:
18476
18477      * git-directory:  ax_is_release will be 'no' if a '.git' directory exists
18478      * minor-version:  ax_is_release will be 'no' if the minor version number
18479                        in $PACKAGE_VERSION is odd; this assumes
18480                        $PACKAGE_VERSION follows the 'major.minor.micro' scheme
18481      * micro-version:  ax_is_release will be 'no' if the micro version number
18482                        in $PACKAGE_VERSION is odd; this assumes
18483                        $PACKAGE_VERSION follows the 'major.minor.micro' scheme
18484      * dash-version:   ax_is_release will be 'no' if there is a dash '-'
18485                        in $PACKAGE_VERSION, for example 1.2-pre3, 1.2.42-a8b9
18486                        or 2.0-dirty (in particular this is suitable for use
18487                        with git-version-gen)
18488      * always:         ax_is_release will always be 'yes'
18489      * never:          ax_is_release will always be 'no'
18490
18491Other policies may be added in future.
18492
18493Source Code
18494***********
18495
18496Download the latest version of 'ax_is_release.m4'
18497(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_is_release.m4)
18498or browse the macro's revision history
18499(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_is_release.m4).
18500
18501License
18502*******
18503
18504Copyright (C) 2015 Philip Withnall <philip@tecnocode.co.uk>
18505Copyright (C) 2016 Collabora Ltd.
18506
18507Copying and distribution of this file, with or without modification, are
18508permitted in any medium without royalty provided the copyright notice
18509and this notice are preserved.
18510
18511
18512File: autoconf-archive.info,  Node: ax_java_check_class,  Next: ax_java_options,  Prev: ax_is_release,  Up: The Macros
18513
18514ax_java_check_class
18515===================
18516
18517Synopsis
18518********
18519
18520     AX_JAVA_CHECK_CLASS(<class>,<action-if-found>,<action-if-not-found>)
18521
18522Description
18523***********
18524
18525Test if a Java class is available.  Based on AX_PROG_JAVAC_WORKS. This
18526version uses a cache variable which is both compiler, options and
18527classpath dependent (so if you switch from javac to gcj it correctly
18528notices and redoes the test).
18529
18530The macro tries to compile a minimal program importing <class>.  Some
18531newer compilers moan about the failure to use this but fail or produce a
18532class file anyway.  All moaning is sunk to /dev/null since I only wanted
18533to know if the class could be imported.  This is a recommended followup
18534to AX_CHECK_JAVA_PLUGIN with classpath appropriately adjusted.
18535
18536Source Code
18537***********
18538
18539Download the latest version of 'ax_java_check_class.m4'
18540(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_java_check_class.m4)
18541or browse the macro's revision history
18542(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_java_check_class.m4).
18543
18544License
18545*******
18546
18547Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
18548
18549This program is free software; you can redistribute it and/or modify it
18550under the terms of the GNU General Public License as published by the
18551Free Software Foundation; either version 2 of the License, or (at your
18552option) any later version.
18553
18554This program is distributed in the hope that it will be useful, but
18555WITHOUT ANY WARRANTY; without even the implied warranty of
18556MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
18557Public License for more details.
18558
18559You should have received a copy of the GNU General Public License along
18560with this program.  If not, see <https://www.gnu.org/licenses/>.
18561
18562As a special exception, the respective Autoconf Macro's copyright owner
18563gives unlimited permission to copy, distribute and modify the configure
18564scripts that are the output of Autoconf when processing the Macro.  You
18565need not follow the terms of the GNU General Public License when using
18566or distributing such scripts, even though portions of the text of the
18567Macro appear in them.  The GNU General Public License (GPL) does govern
18568all other use of the material that constitutes the Autoconf Macro.
18569
18570This special exception to the GPL applies to versions of the Autoconf
18571Macro released by the Autoconf Archive.  When you make and distribute a
18572modified version of the Autoconf Macro, you may extend this special
18573exception to the GPL to apply to your modified version as well.
18574
18575
18576File: autoconf-archive.info,  Node: ax_java_options,  Next: ax_jni_include_dir,  Prev: ax_java_check_class,  Up: The Macros
18577
18578ax_java_options
18579===============
18580
18581Synopsis
18582********
18583
18584     AX_JAVA_OPTIONS
18585
18586Description
18587***********
18588
18589AX_JAVA_OPTIONS adds configure command line options used for Java m4
18590macros.  This Macro is optional.
18591
18592Note: This is part of the set of autoconf M4 macros for Java programs.
18593It is VERY IMPORTANT that you download the whole set, some macros depend
18594on other.  Unfortunately, the autoconf archive does not support the
18595concept of set of macros, so I had to break it for submission.  The
18596general documentation, as well as the sample configure.in, is included
18597in the AX_PROG_JAVA macro.
18598
18599Source Code
18600***********
18601
18602Download the latest version of 'ax_java_options.m4'
18603(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_java_options.m4)
18604or browse the macro's revision history
18605(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_java_options.m4).
18606
18607License
18608*******
18609
18610Copyright (C) 2008 Devin Weaver <ktohg@tritarget.com>
18611
18612Copying and distribution of this file, with or without modification, are
18613permitted in any medium without royalty provided the copyright notice
18614and this notice are preserved.  This file is offered as-is, without any
18615warranty.
18616
18617
18618File: autoconf-archive.info,  Node: ax_jni_include_dir,  Next: ax_lapack,  Prev: ax_java_options,  Up: The Macros
18619
18620ax_jni_include_dir
18621==================
18622
18623Synopsis
18624********
18625
18626     AX_JNI_INCLUDE_DIR
18627
18628Description
18629***********
18630
18631AX_JNI_INCLUDE_DIR finds include directories needed for compiling
18632programs using the JNI interface.
18633
18634JNI include directories are usually in the Java distribution.  This is
18635deduced from the value of $JAVA_HOME, $JAVAC, or the path to "javac", in
18636that order.  When this macro completes, a list of directories is left in
18637the variable JNI_INCLUDE_DIRS.
18638
18639Example usage follows:
18640
18641       AX_JNI_INCLUDE_DIR
18642
18643       for JNI_INCLUDE_DIR in $JNI_INCLUDE_DIRS
18644       do
18645               CPPFLAGS="$CPPFLAGS -I$JNI_INCLUDE_DIR"
18646       done
18647
18648If you want to force a specific compiler:
18649
18650- at the configure.in level, set JAVAC=yourcompiler before calling
18651AX_JNI_INCLUDE_DIR
18652
18653- at the configure level, setenv JAVAC
18654
18655This macro depends on AC_CANONICAL_HOST which requires that config.guess
18656and config.sub be distributed along with the source code.  See autoconf
18657manual for details.
18658
18659Note: This macro can work with the autoconf M4 macros for Java programs.
18660This particular macro is not part of the original set of macros.
18661
18662Source Code
18663***********
18664
18665Download the latest version of 'ax_jni_include_dir.m4'
18666(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_jni_include_dir.m4)
18667or browse the macro's revision history
18668(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_jni_include_dir.m4).
18669
18670License
18671*******
18672
18673Copyright (C) 2008 Don Anderson <dda@sleepycat.com>
18674
18675Copying and distribution of this file, with or without modification, are
18676permitted in any medium without royalty provided the copyright notice
18677and this notice are preserved.  This file is offered as-is, without any
18678warranty.
18679
18680
18681File: autoconf-archive.info,  Node: ax_lapack,  Next: ax_lib_beecrypt,  Prev: ax_jni_include_dir,  Up: The Macros
18682
18683ax_lapack
18684=========
18685
18686Synopsis
18687********
18688
18689     AX_LAPACK([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
18690
18691Description
18692***********
18693
18694This macro looks for a library that implements the LAPACK linear-algebra
18695interface (see http://www.netlib.org/lapack/).  On success, it sets the
18696LAPACK_LIBS output variable to hold the requisite library linkages.
18697
18698To link with LAPACK, you should link with:
18699
18700       $LAPACK_LIBS $BLAS_LIBS $LIBS $FLIBS
18701
18702in that order.  BLAS_LIBS is the output variable of the AX_BLAS macro,
18703called automatically.  FLIBS is the output variable of the
18704AC_F77_LIBRARY_LDFLAGS macro (called if necessary by AX_BLAS), and is
18705sometimes necessary in order to link with F77 libraries.  Users will
18706also need to use AC_F77_DUMMY_MAIN (see the autoconf manual), for the
18707same reason.
18708
18709The user may also use -with-lapack=<lib> in order to use some specific
18710LAPACK library <lib>.  In order to link successfully, however, be aware
18711that you will probably need to use the same Fortran compiler (which can
18712be set via the F77 env.  var.)  as was used to compile the LAPACK and
18713BLAS libraries.
18714
18715ACTION-IF-FOUND is a list of shell commands to run if a LAPACK library
18716is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
18717is not found.  If ACTION-IF-FOUND is not specified, the default action
18718will define HAVE_LAPACK.
18719
18720Source Code
18721***********
18722
18723Download the latest version of 'ax_lapack.m4'
18724(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lapack.m4)
18725or browse the macro's revision history
18726(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lapack.m4).
18727
18728License
18729*******
18730
18731Copyright (C) 2009 Steven G. Johnson <stevenj@alum.mit.edu>
18732
18733This program is free software: you can redistribute it and/or modify it
18734under the terms of the GNU General Public License as published by the
18735Free Software Foundation, either version 3 of the License, or (at your
18736option) any later version.
18737
18738This program is distributed in the hope that it will be useful, but
18739WITHOUT ANY WARRANTY; without even the implied warranty of
18740MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
18741Public License for more details.
18742
18743You should have received a copy of the GNU General Public License along
18744with this program.  If not, see <https://www.gnu.org/licenses/>.
18745
18746As a special exception, the respective Autoconf Macro's copyright owner
18747gives unlimited permission to copy, distribute and modify the configure
18748scripts that are the output of Autoconf when processing the Macro.  You
18749need not follow the terms of the GNU General Public License when using
18750or distributing such scripts, even though portions of the text of the
18751Macro appear in them.  The GNU General Public License (GPL) does govern
18752all other use of the material that constitutes the Autoconf Macro.
18753
18754This special exception to the GPL applies to versions of the Autoconf
18755Macro released by the Autoconf Archive.  When you make and distribute a
18756modified version of the Autoconf Macro, you may extend this special
18757exception to the GPL to apply to your modified version as well.
18758
18759
18760File: autoconf-archive.info,  Node: ax_lib_beecrypt,  Next: ax_lib_cgal_core,  Prev: ax_lapack,  Up: The Macros
18761
18762ax_lib_beecrypt
18763===============
18764
18765Synopsis
18766********
18767
18768     AX_LIB_BEECRYPT([yes|no|auto])
18769
18770Description
18771***********
18772
18773Searches for the 'beecrypt' library with the -with...  option.
18774
18775If found, define HAVE_BEECRYPT and macro BEECRYPT_LIBS. Also defines
18776BEECRYPT_WITH_<algo> for the algorithms found available.  Possible
18777algorithms: BASE64 AES BF MD5 SHA1 SHA256 SHA384 SHA512.
18778
18779The argument is used if no -with...-beecrypt option is set.  Value "yes"
18780requires the configuration by default.  Value "no" does not require it
18781by default.  Value "auto" configures the library only if available.
18782
18783See also AX_LIB_CRYPTO and AX_LIB_GCRYPT.
18784
18785Source Code
18786***********
18787
18788Download the latest version of 'ax_lib_beecrypt.m4'
18789(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_beecrypt.m4)
18790or browse the macro's revision history
18791(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_beecrypt.m4).
18792
18793License
18794*******
18795
18796Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
18797
18798Copying and distribution of this file, with or without modification, are
18799permitted in any medium without royalty provided the copyright notice
18800and this notice are preserved.  This file is offered as-is, without any
18801warranty.
18802
18803
18804File: autoconf-archive.info,  Node: ax_lib_cgal_core,  Next: ax_lib_crypto,  Prev: ax_lib_beecrypt,  Up: The Macros
18805
18806ax_lib_cgal_core
18807================
18808
18809Synopsis
18810********
18811
18812     AX_LIB_CGAL_CORE([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
18813
18814Description
18815***********
18816
18817Test for the CGAL_Core library.
18818
18819By using the "-with-cgal=" option, define a special installation
18820directory.  If CGAL is not found there, the script will fail
18821immediately.  Otherwise, $CGAL_HOME is searched, then standard system
18822locations.
18823
18824NOTE: This script depends on BOOST_CPPFLAGS, so be sure to run
18825AX_BOOST_BASE in advance.
18826
18827This macro calls:
18828
18829       AC_SUBST(CGAL_CPPFLAGS)
18830       AC_SUBST(CGAL_LDFLAGS)
18831
18832And sets:
18833
18834       HAVE_CGAL
18835
18836Source Code
18837***********
18838
18839Download the latest version of 'ax_lib_cgal_core.m4'
18840(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_cgal_core.m4)
18841or browse the macro's revision history
18842(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_cgal_core.m4).
18843
18844License
18845*******
18846
18847Copyright (C) 2010 Sebastian Hegler <sebastian.hegler@tu-dresden.de>
18848
18849Copying and distribution of this file, with or without modification, are
18850permitted in any medium without royalty provided the copyright notice
18851and this notice are preserved.  This file is offered as-is, without any
18852warranty.
18853
18854
18855File: autoconf-archive.info,  Node: ax_lib_crypto,  Next: ax_lib_curl,  Prev: ax_lib_cgal_core,  Up: The Macros
18856
18857ax_lib_crypto
18858=============
18859
18860Synopsis
18861********
18862
18863     AX_LIB_CRYPTO([yes|no|auto])
18864
18865Description
18866***********
18867
18868Searches for the 'crypto' library with the -with...  option.
18869
18870If found, define HAVE_CRYPTO and macro CRYPTO_LIBS. Also defines
18871CRYPTO_WITH_<algo> for the algorithms found available.  Possible
18872algorithms: AES BF CAMELLIA CAST DES IDEA RC2 RC5 MD2 MD4 MD5 SHA RIPEMD
18873RSA DSA DH
18874
18875The argument is used if no -with...-crypto option is set.  Value "yes"
18876requires the configuration by default.  Value "no" does not require it
18877by default.  Value "auto" configures the library only if available.
18878
18879See also AX_LIB_BEECRYPT and AX_LIB_GCRYPT.
18880
18881Source Code
18882***********
18883
18884Download the latest version of 'ax_lib_crypto.m4'
18885(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_crypto.m4)
18886or browse the macro's revision history
18887(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_crypto.m4).
18888
18889License
18890*******
18891
18892Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
18893
18894Copying and distribution of this file, with or without modification, are
18895permitted in any medium without royalty provided the copyright notice
18896and this notice are preserved.  This file is offered as-is, without any
18897warranty.
18898
18899
18900File: autoconf-archive.info,  Node: ax_lib_curl,  Next: ax_lib_ev,  Prev: ax_lib_crypto,  Up: The Macros
18901
18902ax_lib_curl
18903===========
18904
18905Synopsis
18906********
18907
18908     AX_LIB_CURL([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
18909
18910Description
18911***********
18912
18913Checks for minimum curl library version VERSION. If successful executes
18914ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
18915
18916Defines CURL_LIBS and CURL_CFLAGS.
18917
18918A simple example:
18919
18920       AX_LIB_CURL([7.19.4],,[
18921         AC_MSG_ERROR([Your system lacks libcurl >= 7.19.4])
18922       ])
18923
18924This macro is a rearranged version of AC_LIB_CURL from Akos Maroy.
18925
18926Source Code
18927***********
18928
18929Download the latest version of 'ax_lib_curl.m4'
18930(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_curl.m4)
18931or browse the macro's revision history
18932(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_curl.m4).
18933
18934License
18935*******
18936
18937Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
18938
18939Copying and distribution of this file, with or without modification, are
18940permitted in any medium without royalty provided the copyright notice
18941and this notice are preserved.  This file is offered as-is, without any
18942warranty.
18943
18944
18945File: autoconf-archive.info,  Node: ax_lib_ev,  Next: ax_lib_expat,  Prev: ax_lib_curl,  Up: The Macros
18946
18947ax_lib_ev
18948=========
18949
18950Synopsis
18951********
18952
18953     AX_LIB_EV([VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
18954
18955Description
18956***********
18957
18958Checks for libev mimicking pkg-config's way of doing things for as long
18959as upstream doesn't provide a .pc file.  If successful and provided
18960expand ACTION-IF-FOUND, otherwise expand ACTION-IF-NOT-FOUND, or, if
18961omitted, error out like pkg-config does.
18962
18963Defines libev_LIBS and libev_CFLAGS.
18964
18965Source Code
18966***********
18967
18968Download the latest version of 'ax_lib_ev.m4'
18969(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_ev.m4)
18970or browse the macro's revision history
18971(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_ev.m4).
18972
18973License
18974*******
18975
18976Copyright (C) 2012 Sebastian Freundt <freundt@fresse.org>
18977
18978Copying and distribution of this file, with or without modification, are
18979permitted in any medium without royalty provided the copyright notice
18980and this notice are preserved.  This file is offered as-is, without any
18981warranty.
18982
18983
18984File: autoconf-archive.info,  Node: ax_lib_expat,  Next: ax_lib_firebird,  Prev: ax_lib_ev,  Up: The Macros
18985
18986ax_lib_expat
18987============
18988
18989Synopsis
18990********
18991
18992     AX_LIB_EXPAT([MINIMUM-VERSION])
18993
18994Description
18995***********
18996
18997This macro provides tests of availability of Expat XML Parser of
18998particular version or newer.  This macro checks for Expat XML Parser
18999headers and libraries and defines compilation flags
19000
19001Macro supports following options and their values:
19002
190031) Single-option usage:
19004
19005       --with-expat      -- yes, no, or path to Expat XML Parser
19006                            installation prefix
19007
190082) Three-options usage (all options are required):
19009
19010       --with-expat=yes
19011       --with-expat-inc  -- path to base directory with Expat headers
19012       --with-expat-lib  -- linker flags for Expat
19013
19014This macro calls:
19015
19016       AC_SUBST(EXPAT_CFLAGS)
19017       AC_SUBST(EXPAT_LIBS)
19018       AC_SUBST(EXPAT_LDFLAGS)
19019       AC_SUBST(EXPAT_VERSION)  -- only if version requirement is used
19020
19021And sets:
19022
19023       HAVE_EXPAT
19024
19025Source Code
19026***********
19027
19028Download the latest version of 'ax_lib_expat.m4'
19029(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_expat.m4)
19030or browse the macro's revision history
19031(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_expat.m4).
19032
19033License
19034*******
19035
19036Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
19037
19038Copying and distribution of this file, with or without modification, are
19039permitted in any medium without royalty provided the copyright notice
19040and this notice are preserved.  This file is offered as-is, without any
19041warranty.
19042
19043
19044File: autoconf-archive.info,  Node: ax_lib_firebird,  Next: ax_lib_gcrypt,  Prev: ax_lib_expat,  Up: The Macros
19045
19046ax_lib_firebird
19047===============
19048
19049Synopsis
19050********
19051
19052     AX_LIB_FIREBIRD([MINIMUM-VERSION])
19053
19054Description
19055***********
19056
19057Test for the Firebird client library of a particular version (or newer).
19058This macro takes only one optional argument, the required version of
19059Firebird library.  If required version is not passed, then 1.5.0 is used
19060in test of existence of Firebird client library.
19061
19062For more information about Firebird API versioning check: API Identifies
19063Client Version http://www.firebirdsql.org/rlsnotes20/rnfbtwo-apiods.html
19064
19065If no installation prefix to the installed Firebird library is given the
19066macro searches under /usr, /usr/local, and /opt.
19067
19068This macro calls:
19069
19070       AC_SUBST(FIREBIRD_CFLAGS)
19071       AC_SUBST(FIREBIRD_LDFLAGS)
19072       AC_SUBST(FIREBIRD_VERSION)
19073
19074And sets:
19075
19076       HAVE_FIREBIRD
19077
19078Source Code
19079***********
19080
19081Download the latest version of 'ax_lib_firebird.m4'
19082(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_firebird.m4)
19083or browse the macro's revision history
19084(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_firebird.m4).
19085
19086License
19087*******
19088
19089Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
19090
19091Copying and distribution of this file, with or without modification, are
19092permitted in any medium without royalty provided the copyright notice
19093and this notice are preserved.  This file is offered as-is, without any
19094warranty.
19095
19096
19097File: autoconf-archive.info,  Node: ax_lib_gcrypt,  Next: ax_lib_gdal,  Prev: ax_lib_firebird,  Up: The Macros
19098
19099ax_lib_gcrypt
19100=============
19101
19102Synopsis
19103********
19104
19105     AX_LIB_GCRYPT([yes|no|auto])
19106
19107Description
19108***********
19109
19110Searches for the 'gcrypt' library with the -with...  option.
19111
19112If found, define HAVE_GCRYPT and macro GCRYPT_LIBS and GCRYPT_CFLAGS.
19113Also defines GCRYPT_WITH_<algo> for the algorithms found available.
19114Possible algorithms are: AES ARCFOUR BLOWFISH CAST5 DES IDEA RFC2268
19115SERPENT TWOFISH CRC HAVAL MD2 MD4 MD5 RMD160 SHA0 SHA1 SHA224 SHA256
19116SHA384 SHA512 TIGER WHIRLPOOL DSA ELGAMAL RSA
19117
19118The argument is used if no -with...-gcrypt option is set.  Value "yes"
19119requires the configuration by default.  Value "no" does not require it
19120by default.  Value "auto" configures the library only if available.
19121
19122See also AX_LIB_BEECRYPT and AX_LIB_CRYPTO.
19123
19124Source Code
19125***********
19126
19127Download the latest version of 'ax_lib_gcrypt.m4'
19128(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_gcrypt.m4)
19129or browse the macro's revision history
19130(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_gcrypt.m4).
19131
19132License
19133*******
19134
19135Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
19136
19137Copying and distribution of this file, with or without modification, are
19138permitted in any medium without royalty provided the copyright notice
19139and this notice are preserved.  This file is offered as-is, without any
19140warranty.
19141
19142
19143File: autoconf-archive.info,  Node: ax_lib_gdal,  Next: ax_lib_hdf5,  Prev: ax_lib_gcrypt,  Up: The Macros
19144
19145ax_lib_gdal
19146===========
19147
19148Synopsis
19149********
19150
19151     AX_LIB_GDAL([MINIMUM-VERSION])
19152
19153Description
19154***********
19155
19156This macro provides tests of availability of GDAL/OGR library of
19157particular version or newer.
19158
19159AX_LIB_GDAL macro takes only one argument which is optional.  If there
19160is no required version passed, then macro does not run version test.
19161
19162The -with-gdal option takes complete path to gdal-config utility,
19163
19164This macro calls AC_SUBST for:
19165
19166       GDAL_VERSION
19167       GDAL_CFLAGS
19168       GDAL_LDFLAGS
19169       GDAL_DEP_LDFLAGS
19170       GDAL_OGR_ENABLED
19171
19172and AC_DEFINE for:
19173
19174       HAVE_GDAL
19175       HAVE_GDAL_OGR
19176
19177Source Code
19178***********
19179
19180Download the latest version of 'ax_lib_gdal.m4'
19181(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_gdal.m4)
19182or browse the macro's revision history
19183(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_gdal.m4).
19184
19185License
19186*******
19187
19188Copyright (C) 2011 Mateusz Loskot <mateusz@loskot.net>
19189Copyright (C) 2011 Alessandro Candini <candini@meeo.it>
19190
19191Copying and distribution of this file, with or without modification, are
19192permitted in any medium without royalty provided the copyright notice
19193and this notice are preserved.  This file is offered as-is, without any
19194warranty.
19195
19196
19197File: autoconf-archive.info,  Node: ax_lib_hdf5,  Next: ax_lib_id3,  Prev: ax_lib_gdal,  Up: The Macros
19198
19199ax_lib_hdf5
19200===========
19201
19202Synopsis
19203********
19204
19205     AX_LIB_HDF5([serial/parallel])
19206
19207Description
19208***********
19209
19210This macro provides tests of the availability of HDF5 library.
19211
19212The optional macro argument should be either 'serial' or 'parallel'.
19213The former only looks for serial HDF5 installations via h5cc.  The
19214latter only looks for parallel HDF5 installations via h5pcc.  If the
19215optional argument is omitted, serial installations will be preferred
19216over parallel ones.
19217
19218The macro adds a -with-hdf5 option accepting one of three values:
19219
19220       no   - do not check for the HDF5 library.
19221       yes  - do check for HDF5 library in standard locations.
19222       path - complete path to the HDF5 helper script h5cc or h5pcc.
19223
19224If HDF5 is successfully found, this macro calls
19225
19226       AC_SUBST(HDF5_VERSION)
19227       AC_SUBST(HDF5_CC)
19228       AC_SUBST(HDF5_CFLAGS)
19229       AC_SUBST(HDF5_CPPFLAGS)
19230       AC_SUBST(HDF5_LDFLAGS)
19231       AC_SUBST(HDF5_LIBS)
19232       AC_SUBST(HDF5_FC)
19233       AC_SUBST(HDF5_FFLAGS)
19234       AC_SUBST(HDF5_FLIBS)
19235       AC_SUBST(HDF5_TYPE)
19236       AC_DEFINE(HAVE_HDF5)
19237
19238and sets with_hdf5="yes".  Additionally, the macro sets
19239with_hdf5_fortran="yes" if a matching Fortran wrapper script is found.
19240Note that Autoconf's Fortran support is not used to perform this check.
19241H5CC and H5FC will contain the appropriate serial or parallel HDF5
19242wrapper script locations.
19243
19244If HDF5 is disabled or not found, this macros sets with_hdf5="no" and
19245with_hdf5_fortran="no".
19246
19247Your configuration script can test $with_hdf to take any further
19248actions.  HDF5_{C,CPP,LD}FLAGS may be used when building with C or C++.
19249HDF5_F{FLAGS,LIBS} should be used when building Fortran applications.
19250
19251To use the macro, one would code one of the following in "configure.ac"
19252before AC_OUTPUT:
19253
19254       1) dnl Check for HDF5 support
19255          AX_LIB_HDF5()
19256
19257       2) dnl Check for serial HDF5 support
19258          AX_LIB_HDF5([serial])
19259
19260       3) dnl Check for parallel HDF5 support
19261          AX_LIB_HDF5([parallel])
19262
19263One could test $with_hdf5 for the outcome or display it as follows
19264
19265       echo "HDF5 support:  $with_hdf5"
19266
19267You could also for example, override the default CC in "configure.ac" to
19268enforce compilation with the compiler that HDF5 uses:
19269
19270       AX_LIB_HDF5([parallel])
19271       if test "$with_hdf5" = "yes"; then
19272               CC="$HDF5_CC"
19273       else
19274               AC_MSG_ERROR([Unable to find HDF5, we need parallel HDF5.])
19275       fi
19276
19277The HDF5_TYPE environment variable returns "parallel" or "serial",
19278depending on which type of library is found.
19279
19280Source Code
19281***********
19282
19283Download the latest version of 'ax_lib_hdf5.m4'
19284(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_hdf5.m4)
19285or browse the macro's revision history
19286(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_hdf5.m4).
19287
19288License
19289*******
19290
19291Copyright (C) 2009 Timothy Brown <tbrown@freeshell.org>
19292Copyright (C) 2010 Rhys Ulerich <rhys.ulerich@gmail.com>
19293
19294Copying and distribution of this file, with or without modification, are
19295permitted in any medium without royalty provided the copyright notice
19296and this notice are preserved.  This file is offered as-is, without any
19297warranty.
19298
19299
19300File: autoconf-archive.info,  Node: ax_lib_id3,  Next: ax_lib_libkml,  Prev: ax_lib_hdf5,  Up: The Macros
19301
19302ax_lib_id3
19303==========
19304
19305Synopsis
19306********
19307
19308     AX_LIB_ID3([ACTION-IF-TRUE], [ACTION-IF-FALSE])
19309
19310Description
19311***********
19312
19313This macro will check for the existence of id3lib
19314(http://id3lib.sourceforge.net/).  It does this by checking for the
19315header file id3.h and the id3 library object file.  A -with-id3lib
19316option is supported as well.  The following output variables are set
19317with AC_SUBST:
19318
19319       ID3_CPPFLAGS
19320       ID3_LDFLAGS
19321       ID3_LIBS
19322
19323You can use them like this in Makefile.am:
19324
19325       AM_CPPFLAGS = $(ID3_CPPFLAGS)
19326       AM_LDFLAGS = $(ID3_LDFLAGS)
19327       program_LDADD = $(ID3_LIBS)
19328
19329Additionally, the C preprocessor symbol HAVE_ID3LIB will be defined with
19330AC_DEFINE if id3lib is available.
19331
19332Source Code
19333***********
19334
19335Download the latest version of 'ax_lib_id3.m4'
19336(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_id3.m4)
19337or browse the macro's revision history
19338(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_id3.m4).
19339
19340License
19341*******
19342
19343Copyright (C) 2009 Oskar Liljeblad <oskar@osk.mine.nu>
19344
19345Copying and distribution of this file, with or without modification, are
19346permitted in any medium without royalty provided the copyright notice
19347and this notice are preserved.  This file is offered as-is, without any
19348warranty.
19349
19350
19351File: autoconf-archive.info,  Node: ax_lib_libkml,  Next: ax_lib_metis,  Prev: ax_lib_id3,  Up: The Macros
19352
19353ax_lib_libkml
19354=============
19355
19356Synopsis
19357********
19358
19359     AX_LIB_LIBKML([MINIMUM-VERSION])
19360
19361Description
19362***********
19363
19364This macro tests whether Google's libkml library
19365<http://code.google.com/p/libkml/> is available in particular version or
19366newer.  The generated configure script will support the following
19367options:
19368
193691) Single-option usage:
19370
19371       --with-libkml - yes, no or path to Google libkml installation prefix
19372
193732) Three-options usage (all options are required):
19374
19375       --with-libkml=yes
19376       --with-libkml-inc - path to base directory with  headers
19377       --with-libkml-lib - linker flags for
19378
19379This macro calls:
19380
19381       AC_SUBST(LIBKML_CFLAGS)
19382       AC_SUBST(LIBKML_LDFLAGS)
19383       AC_SUBST(LIBKML_VERSION) - only if version requirement is used
19384
19385And sets:
19386
19387       HAVE_LIBKML
19388
19389Source Code
19390***********
19391
19392Download the latest version of 'ax_lib_libkml.m4'
19393(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_libkml.m4)
19394or browse the macro's revision history
19395(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_libkml.m4).
19396
19397License
19398*******
19399
19400Copyright (C) 2010 Mateusz Loskot <mateusz@loskot.net>
19401
19402Copying and distribution of this file, with or without modification, are
19403permitted in any medium without royalty provided the copyright notice
19404and this notice are preserved.  This file is offered as-is, without any
19405warranty.
19406
19407
19408File: autoconf-archive.info,  Node: ax_lib_metis,  Next: ax_lib_mysql,  Prev: ax_lib_libkml,  Up: The Macros
19409
19410ax_lib_metis
19411============
19412
19413Synopsis
19414********
19415
19416     AX_LIB_METIS([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
19417
19418Description
19419***********
19420
19421This macro searches for the METIS library in the user specified
19422location.  The user may specify the location either by defining the
19423environment variable METIS or by using the -with-metis option to
19424configure.  If the environment variable is defined it has precedent over
19425everything else.  If no location was specified then it searches in
19426/usr/lib and /usr/local/lib for the library and in /usr/include and
19427/usr/local/include for the header files.  Upon successful completion the
19428variables METIS_LIB and METIS_INCLUDE are set.
19429
19430ACTION-IF-FOUND is a list of shell commands to run if a METIS library is
19431found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
19432not found.  If ACTION-IF-FOUND is not specified, the default action will
19433define HAVE_METIS. If ACTION-IF-NOT-FOUND is not specified then an error
19434will be generated halting configure.
19435
19436Source Code
19437***********
19438
19439Download the latest version of 'ax_lib_metis.m4'
19440(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_metis.m4)
19441or browse the macro's revision history
19442(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_metis.m4).
19443
19444License
19445*******
19446
19447Copyright (C) 2008 Ben Bergen <ben@cs.fau.de>
19448
19449Copying and distribution of this file, with or without modification, are
19450permitted in any medium without royalty provided the copyright notice
19451and this notice are preserved.  This file is offered as-is, without any
19452warranty.
19453
19454
19455File: autoconf-archive.info,  Node: ax_lib_mysql,  Next: ax_lib_mysqlcppconn,  Prev: ax_lib_metis,  Up: The Macros
19456
19457ax_lib_mysql
19458============
19459
19460Synopsis
19461********
19462
19463     AX_LIB_MYSQL([MINIMUM-VERSION])
19464
19465Description
19466***********
19467
19468This macro provides tests of availability of MySQL client library of
19469particular version or newer.
19470
19471AX_LIB_MYSQL macro takes only one argument which is optional.  If there
19472is no required version passed, then macro does not run version test.
19473
19474The -with-mysql option takes one of three possible values:
19475
19476no - do not check for MySQL client library
19477
19478yes - do check for MySQL library in standard locations (mysql_config
19479should be in the PATH)
19480
19481path - complete path to mysql_config utility, use this option if
19482mysql_config can't be found in the PATH
19483
19484This macro calls:
19485
19486       AC_SUBST(MYSQL_CFLAGS)
19487       AC_SUBST(MYSQL_LDFLAGS)
19488       AC_SUBST(MYSQL_VERSION)
19489
19490And sets:
19491
19492       HAVE_MYSQL
19493
19494Source Code
19495***********
19496
19497Download the latest version of 'ax_lib_mysql.m4'
19498(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_mysql.m4)
19499or browse the macro's revision history
19500(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_mysql.m4).
19501
19502License
19503*******
19504
19505Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
19506
19507Copying and distribution of this file, with or without modification, are
19508permitted in any medium without royalty provided the copyright notice
19509and this notice are preserved.  This file is offered as-is, without any
19510warranty.
19511
19512
19513File: autoconf-archive.info,  Node: ax_lib_mysqlcppconn,  Next: ax_lib_netcdf4,  Prev: ax_lib_mysql,  Up: The Macros
19514
19515ax_lib_mysqlcppconn
19516===================
19517
19518Synopsis
19519********
19520
19521     AX_LIB_MYSQLCPPCONN([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
19522
19523Description
19524***********
19525
19526Test for the MySQL Connector/C++ libraries
19527
19528If no path to the installed library is given the macro searches under
19529/usr, /usr/local, /opt and /opt/local.
19530
19531This macro calls:
19532
19533       AC_SUBST(LIBMYSQLCPPCONN_CXXFLAGS) / AC_SUBST(LIBMYSQLCPPCONN_LDFLAGS)
19534
19535And sets:
19536
19537       HAVE_LIBMYSQLCPPCONN
19538
19539Note that this library needs to link with either MySQL client library or
19540MySQL Connector/C to work.  The macros defined here don't take care of
19541external dependencies so you have to do it on your own.  See also
19542AX_LIB_MYSQL macro.
19543
19544Source Code
19545***********
19546
19547Download the latest version of 'ax_lib_mysqlcppconn.m4'
19548(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_mysqlcppconn.m4)
19549or browse the macro's revision history
19550(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_mysqlcppconn.m4).
19551
19552License
19553*******
19554
19555Copyright (C) 2011 Xiyue Deng <manphiz@gmail.com>
19556
19557Copying and distribution of this file, with or without modification, are
19558permitted in any medium without royalty provided the copyright notice
19559and this notice are preserved.  This file is offered as-is, without any
19560warranty.
19561
19562
19563File: autoconf-archive.info,  Node: ax_lib_netcdf4,  Next: ax_lib_nettle,  Prev: ax_lib_mysqlcppconn,  Up: The Macros
19564
19565ax_lib_netcdf4
19566==============
19567
19568Synopsis
19569********
19570
19571     AX_LIB_NETCDF4([serial/parallel])
19572
19573Description
19574***********
19575
19576This macro provides tests of the availability of the NetCDF v4 library.
19577
19578The optional macro argument should be either 'serial' or 'parallel'.
19579The macro will call nc-config to check the output of the '-has-pnetcdf'
19580option and error out if the requested parallel isn't supported.
19581
19582If the optional argument is omitted, no check is made to see if NetCDF
19583has parallel support.
19584
19585The macro adds a -with-netcdf4 option accepting one of three values:
19586
19587       no   - do not check for the NetCDF4 library.
19588       yes  - do check for NetCDF4 library in standard locations.
19589       path - installation prefix for NetCDF version 4.
19590
19591If NetCDF4 is successfully found, this macro calls
19592
19593       AC_SUBST(NETCDF4_VERSION)
19594       AC_SUBST(NETCDF4_CC)
19595       AC_SUBST(NETCDF4_CFLAGS)
19596       AC_SUBST(NETCDF4_CPPFLAGS)
19597       AC_SUBST(NETCDF4_LDFLAGS)
19598       AC_SUBST(NETCDF4_LIBS)
19599       AC_SUBST(NETCDF4_FC)
19600       AC_SUBST(NETCDF4_FFLAGS)
19601       AC_SUBST(NETCDF4_FLIBS)
19602       AC_DEFINE(HAVE_NETCDF4)
19603
19604It also sets
19605
19606       with_netcdf4="yes"
19607       with_netcdf4_fortran="yes"    (if NetCDF has Fortran support)
19608       with_netcdf4_parallel="yes"   (if NetCDF has MPI support)
19609
19610If NetCDF4 is disabled or not found, this macros sets
19611
19612       with_netcdf4="no"
19613       with_netcdf4_fortran="no"
19614
19615Note it does not set with_netcdf4_parallel in this case.
19616
19617Your configuration script can test $with_netcdf4 to take any further
19618actions.  NETCDF4_{C,CPP,LD}FLAGS may be used when building with C or
19619C++.  NETCDF4_F{FLAGS,LIBS} and NETCDF4_LDFLAGS should be used when
19620building Fortran applications.
19621
19622To use the macro, one would code one of the following in "configure.ac"
19623before AC_OUTPUT:
19624
19625       1) dnl Check for NetCDF4 support
19626          AX_LIB_NETCDF4()
19627
19628       2) dnl Check for serial NetCDF4 support
19629          AX_LIB_NETCDF4([serial])
19630
19631       3) dnl Check for parallel NetCDF4 support
19632          AX_LIB_NETCDF4([parallel])
19633
19634One could test $with_netcdf4 for the outcome or display it as follows
19635
19636       echo "NetCDF v4 support:  $with_netcdf4"
19637
19638One could also for example, override the default CC in "configure.ac" to
19639enforce compilation with the compiler that NetCDF v4 was built with:
19640
19641       AX_LIB_NETCDF4([parallel])
19642       if test "$with_netcdf4" = "yes"; then
19643               CC="$NETCDF4_CC"
19644       else
19645               AC_MSG_ERROR([Unable to find NetCDF4, we need parallel NetCDF4.])
19646       fi
19647
19648Source Code
19649***********
19650
19651Download the latest version of 'ax_lib_netcdf4.m4'
19652(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_netcdf4.m4)
19653or browse the macro's revision history
19654(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_netcdf4.m4).
19655
19656License
19657*******
19658
19659Copyright (C) 2016 Timothy Brown <tbrown@freeshell.org>
19660
19661Copying and distribution of this file, with or without modification, are
19662permitted in any medium without royalty provided the copyright notice
19663and this notice are preserved.  This file is offered as-is, without any
19664warranty.
19665
19666
19667File: autoconf-archive.info,  Node: ax_lib_nettle,  Next: ax_lib_nokalva,  Prev: ax_lib_netcdf4,  Up: The Macros
19668
19669ax_lib_nettle
19670=============
19671
19672Synopsis
19673********
19674
19675     AX_LIB_NETTLE([yes|no|auto])
19676
19677Description
19678***********
19679
19680Searches for the 'nettle' library with the -with...  option.
19681
19682If found, define HAVE_NETTLE and macro NETTLE_LIBS. Also defines
19683NETTLE_WITH_<algo> for the algorithms found available.  Possible
19684algorithms: AES ARCTWO BLOWFISH CAST128 DES DES3 SERPENT TWOFISH MD2 MD4
19685MD5 SHA1 SHA256.
19686
19687The argument is used if no -with...-nettle option is set.  Value "yes"
19688requires the configuration by default.  Value "no" does not require it
19689by default.  Value "auto" configures the library only if available.
19690
19691See also AX_LIB_BEECRYPT, AX_LIB_CRYPTO, and AX_LIB_GCRYPT.
19692
19693Source Code
19694***********
19695
19696Download the latest version of 'ax_lib_nettle.m4'
19697(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_nettle.m4)
19698or browse the macro's revision history
19699(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_nettle.m4).
19700
19701License
19702*******
19703
19704Copyright (C) 2009 Fabien Coelho <autoconf.archive@coelho.net>
19705
19706Copying and distribution of this file, with or without modification, are
19707permitted in any medium without royalty provided the copyright notice
19708and this notice are preserved.  This file is offered as-is, without any
19709warranty.
19710
19711
19712File: autoconf-archive.info,  Node: ax_lib_nokalva,  Next: ax_lib_oracle_occi,  Prev: ax_lib_nettle,  Up: The Macros
19713
19714ax_lib_nokalva
19715==============
19716
19717Synopsis
19718********
19719
19720     AX_LIB_NOKALVA([ACTION-IF-TRUE], [ACTION-IF-FALSE])
19721
19722Description
19723***********
19724
19725This macro will check for the existence of OSS Nokalva
19726(http://www.oss.com/products/).  It does this by checking for the header
19727file asn1.h and the cppsoed library object file.  A -with-nokalva option
19728is supported as well.  The following output variables are set with
19729AC_SUBST:
19730
19731       NOKALVA_CPPFLAGS
19732       NOKALVA_LDFLAGS
19733       NOKALVA_LIBS
19734
19735You can use them like this in Makefile.am:
19736
19737       AM_CPPFLAGS = $(NOKALVA_CPPFLAGS)
19738       AM_LDFLAGS = $(NOKALVA_LDFLAGS)
19739       program_LDADD = $(NOKALVA_LIBS)
19740
19741Additionally, the C preprocessor symbol HAVE_NOKALVA will be defined
19742with AC_DEFINE if Nokalva is available.
19743
19744Source Code
19745***********
19746
19747Download the latest version of 'ax_lib_nokalva.m4'
19748(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_nokalva.m4)
19749or browse the macro's revision history
19750(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_nokalva.m4).
19751
19752License
19753*******
19754
19755Copyright (C) 2009 Krzysztof Burghardt <krzysztof@burghardt.pl>
19756
19757Copying and distribution of this file, with or without modification, are
19758permitted in any medium without royalty provided the copyright notice
19759and this notice are preserved.  This file is offered as-is, without any
19760warranty.
19761
19762
19763File: autoconf-archive.info,  Node: ax_lib_oracle_occi,  Next: ax_lib_oracle_oci,  Prev: ax_lib_nokalva,  Up: The Macros
19764
19765ax_lib_oracle_occi
19766==================
19767
19768Synopsis
19769********
19770
19771     AX_LIB_ORACLE_OCCI([MINIMUM-VERSION])
19772
19773Description
19774***********
19775
19776This macro provides tests of availability of Oracle OCCI API of
19777particular version or newer.  This macros checks for Oracle OCCI headers
19778and libraries and defines compilation flags.
19779
19780Macro supports following options and their values:
19781
197821) Single-option usage:
19783
19784       --with-occi         -- path to ORACLE_HOME directory
19785
197862) Two-options usage (both options are required):
19787
19788       --with-occi-include -- path to directory with OCCI headers
19789       --with-occi-lib     -- path to directory with OCCI libraries
19790
19791NOTE: These options described above do not take yes|no values.  If 'yes'
19792value is passed, then WARNING message will be displayed, 'no' value, as
19793well as the -without-occi-* variations will cause the macro to not check
19794anything.
19795
19796This macro calls:
19797
19798       AC_SUBST(ORACLE_OCCI_CPPFLAGS)
19799       AC_SUBST(ORACLE_OCCI_LDFLAGS)
19800       AC_SUBST(ORACLE_OCCI_VERSION)
19801
19802And sets:
19803
19804       HAVE_ORACLE_OCCI
19805
19806Source Code
19807***********
19808
19809Download the latest version of 'ax_lib_oracle_occi.m4'
19810(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_oracle_occi.m4)
19811or browse the macro's revision history
19812(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_oracle_occi.m4).
19813
19814License
19815*******
19816
19817Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
19818Copyright (C) 2012 Krzysztof Burghardt <krzysztof@burghardt.pl>
19819
19820Copying and distribution of this file, with or without modification, are
19821permitted in any medium without royalty provided the copyright notice
19822and this notice are preserved.  This file is offered as-is, without any
19823warranty.
19824
19825
19826File: autoconf-archive.info,  Node: ax_lib_oracle_oci,  Next: ax_lib_orbit2,  Prev: ax_lib_oracle_occi,  Up: The Macros
19827
19828ax_lib_oracle_oci
19829=================
19830
19831Synopsis
19832********
19833
19834     AX_LIB_ORACLE_OCI([MINIMUM-VERSION])
19835
19836Description
19837***********
19838
19839This macro provides tests of availability of Oracle OCI API of
19840particular version or newer.  This macros checks for Oracle OCI headers
19841and libraries and defines compilation flags.
19842
19843Macro supports following options and their values:
19844
198451) Single-option usage:
19846
19847       --with-oci         -- path to ORACLE_HOME directory
19848
198492) Two-options usage (both options are required):
19850
19851       --with-oci-include -- path to directory with OCI headers
19852       --with-oci-lib     -- path to directory with OCI libraries
19853
19854NOTE: These options described above do not take yes|no values.  If 'yes'
19855value is passed, then WARNING message will be displayed, 'no' value, as
19856well as the -without-oci-* variations will cause the macro to not check
19857anything.
19858
19859This macro calls:
19860
19861       AC_SUBST(ORACLE_OCI_CFLAGS)
19862       AC_SUBST(ORACLE_OCI_LDFLAGS)
19863       AC_SUBST(ORACLE_OCI_VERSION)
19864
19865And sets:
19866
19867       HAVE_ORACLE_OCI
19868
19869Source Code
19870***********
19871
19872Download the latest version of 'ax_lib_oracle_oci.m4'
19873(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_oracle_oci.m4)
19874or browse the macro's revision history
19875(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_oracle_oci.m4).
19876
19877License
19878*******
19879
19880Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
19881Copyright (C) 2015 Joost van Baal-Ilic <joostvb+autoconf@uvt.nl>
19882
19883Copying and distribution of this file, with or without modification, are
19884permitted in any medium without royalty provided the copyright notice
19885and this notice are preserved.  This file is offered as-is, without any
19886warranty.
19887
19888
19889File: autoconf-archive.info,  Node: ax_lib_orbit2,  Next: ax_lib_postgresql,  Prev: ax_lib_oracle_oci,  Up: The Macros
19890
19891ax_lib_orbit2
19892=============
19893
19894Synopsis
19895********
19896
19897     AX_LIB_ORBIT2([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
19898
19899Description
19900***********
19901
19902Checks for minimum Orbit2 library version VERSION. If successful
19903executes ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
19904
19905Defines ORBIT2_LIBS and ORBIT2_CFLAGS.
19906
19907A simple example:
19908
19909       AX_LIB_ORBIT2([2.14.16],,[
19910         AC_MSG_ERROR([Your system lacks of orbit2 >= 2.14.16])
19911       ])
19912
19913Source Code
19914***********
19915
19916Download the latest version of 'ax_lib_orbit2.m4'
19917(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_orbit2.m4)
19918or browse the macro's revision history
19919(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_orbit2.m4).
19920
19921License
19922*******
19923
19924Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
19925
19926Copying and distribution of this file, with or without modification, are
19927permitted in any medium without royalty provided the copyright notice
19928and this notice are preserved.  This file is offered as-is, without any
19929warranty.
19930
19931
19932File: autoconf-archive.info,  Node: ax_lib_postgresql,  Next: ax_lib_readline,  Prev: ax_lib_orbit2,  Up: The Macros
19933
19934ax_lib_postgresql
19935=================
19936
19937Synopsis
19938********
19939
19940     AX_LIB_POSTGRESQL([MINIMUM-VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
19941
19942Description
19943***********
19944
19945This macro provides tests of availability of PostgreSQL 'libpq' library
19946of particular version or newer.
19947
19948AX_LIB_POSTGRESQL macro takes only one argument which is optional.  If
19949there is no required version passed, then macro does not run version
19950test.
19951
19952The -with-postgresql option takes one of three possible values:
19953
19954no - do not check for PostgreSQL client library
19955
19956yes - do check for PostgreSQL library in standard locations (pg_config
19957should be in the PATH)
19958
19959path - complete path to pg_config utility, use this option if pg_config
19960can't be found in the PATH (You could set also PG_CONFIG variable)
19961
19962This macro calls:
19963
19964       AC_SUBST(POSTGRESQL_CPPFLAGS)
19965       AC_SUBST(POSTGRESQL_LDFLAGS)
19966       AC_SUBST(POSTGRESQL_LIBS)
19967       AC_SUBST(POSTGRESQL_VERSION)
19968
19969And sets:
19970
19971       HAVE_POSTGRESQL
19972
19973It execute if found ACTION-IF-FOUND (empty by default) and
19974ACTION-IF-NOT-FOUND (AC_MSG_FAILURE by default) if not found.
19975
19976Source Code
19977***********
19978
19979Download the latest version of 'ax_lib_postgresql.m4'
19980(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_postgresql.m4)
19981or browse the macro's revision history
19982(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_postgresql.m4).
19983
19984License
19985*******
19986
19987Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
19988Copyright (C) 2014 Sree Harsha Totakura <sreeharsha@totakura.in>
19989Copyright (C) 2018 Bastien Roucaries <rouca@debian.org>
19990
19991Copying and distribution of this file, with or without modification, are
19992permitted in any medium without royalty provided the copyright notice
19993and this notice are preserved.  This file is offered as-is, without any
19994warranty.
19995
19996
19997File: autoconf-archive.info,  Node: ax_lib_readline,  Next: ax_lib_samtools,  Prev: ax_lib_postgresql,  Up: The Macros
19998
19999ax_lib_readline
20000===============
20001
20002Synopsis
20003********
20004
20005     AX_LIB_READLINE
20006
20007Description
20008***********
20009
20010Searches for a readline compatible library.  If found, defines
20011'HAVE_LIBREADLINE'. If the found library has the 'add_history' function,
20012sets also 'HAVE_READLINE_HISTORY'. Also checks for the locations of the
20013necessary include files and sets 'HAVE_READLINE_H' or
20014'HAVE_READLINE_READLINE_H' and 'HAVE_READLINE_HISTORY_H' or
20015'HAVE_HISTORY_H' if the corresponding include files exists.
20016
20017The libraries that may be readline compatible are 'libedit',
20018'libeditline' and 'libreadline'.  Sometimes we need to link a termcap
20019library for readline to work, this macro tests these cases too by trying
20020to link with 'libtermcap', 'libcurses' or 'libncurses' before giving up.
20021
20022Here is an example of how to use the information provided by this macro
20023to perform the necessary includes or declarations in a C file:
20024
20025       #ifdef HAVE_LIBREADLINE
20026       #  if defined(HAVE_READLINE_READLINE_H)
20027       #    include <readline/readline.h>
20028       #  elif defined(HAVE_READLINE_H)
20029       #    include <readline.h>
20030       #  else /* !defined(HAVE_READLINE_H) */
20031       extern char *readline ();
20032       #  endif /* !defined(HAVE_READLINE_H) */
20033       char *cmdline = NULL;
20034       #else /* !defined(HAVE_READLINE_READLINE_H) */
20035         /* no readline */
20036       #endif /* HAVE_LIBREADLINE */
20037
20038       #ifdef HAVE_READLINE_HISTORY
20039       #  if defined(HAVE_READLINE_HISTORY_H)
20040       #    include <readline/history.h>
20041       #  elif defined(HAVE_HISTORY_H)
20042       #    include <history.h>
20043       #  else /* !defined(HAVE_HISTORY_H) */
20044       extern void add_history ();
20045       extern int write_history ();
20046       extern int read_history ();
20047       #  endif /* defined(HAVE_READLINE_HISTORY_H) */
20048         /* no history */
20049       #endif /* HAVE_READLINE_HISTORY */
20050
20051Source Code
20052***********
20053
20054Download the latest version of 'ax_lib_readline.m4'
20055(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_readline.m4)
20056or browse the macro's revision history
20057(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_readline.m4).
20058
20059License
20060*******
20061
20062Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
20063
20064Copying and distribution of this file, with or without modification, are
20065permitted in any medium without royalty provided the copyright notice
20066and this notice are preserved.  This file is offered as-is, without any
20067warranty.
20068
20069
20070File: autoconf-archive.info,  Node: ax_lib_samtools,  Next: ax_lib_socket_nsl,  Prev: ax_lib_readline,  Up: The Macros
20071
20072ax_lib_samtools
20073===============
20074
20075Synopsis
20076********
20077
20078     AX_LIB_SAMTOOLS()
20079
20080Description
20081***********
20082
20083This macro searches for an installed samtools library.  If nothing was
20084specified when calling configure, it searches first in /usr/local and
20085then tries with ld's default library search path.  If the
20086-with-samtools=DIR is specified, it will try to find it in
20087DIR/include/bam/sam.h and DIR/lib/libbam.a.  As a final try it will look
20088in DIR/sam.h and DIR/libbam.a as the samtools library does not contain
20089an install rule.
20090
20091If -without-samtools is specified, the library is not searched at all.
20092
20093If either the header file (sam.h) or the library (libbam) is not found,
20094the configuration exits on error, asking for a valid samtools
20095installation directory or -without-samtools.
20096
20097The macro defines the symbol HAVE_SAMTOOLS if the library is found.  You
20098should use autoheader to include a definition for this symbol in a
20099config.h file.  Sample usage in a C/C++ source is as follows:
20100
20101       #ifdef HAVE_SAMTOOLS
20102       #include <sam.h>
20103       #endif /* HAVE_SAMTOOLS */
20104
20105The following output variables are set with AC_SUBST:
20106
20107       SAMTOOLS_CPPFLAGS
20108       SAMTOOLS_LDFLAGS
20109       SAMTOOLS_LIBS
20110
20111You can use them like this in Makefile.am:
20112
20113       AM_CPPFLAGS = $(SAMTOOLS_CPPFLAGS)
20114       AM_LDFLAGS = $(SAMTOOLS_LDFLAGS)
20115       program_LDADD = $(SAMTOOLS_LIBS)
20116
20117Source Code
20118***********
20119
20120Download the latest version of 'ax_lib_samtools.m4'
20121(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_samtools.m4)
20122or browse the macro's revision history
20123(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_samtools.m4).
20124
20125License
20126*******
20127
20128Copyright (C) 2013 Timothy Brown <tbrown@freeshell.org>
20129
20130This program is free software; you can redistribute it and/or modify it
20131under the terms of the GNU General Public License as published by the
20132Free Software Foundation; either version 3 of the License, or (at your
20133option) any later version.
20134
20135This program is distributed in the hope that it will be useful, but
20136WITHOUT ANY WARRANTY; without even the implied warranty of
20137MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
20138Public License for more details.
20139
20140You should have received a copy of the GNU General Public License along
20141with this program.  If not, see <https://www.gnu.org/licenses/>.
20142
20143As a special exception, the respective Autoconf Macro's copyright owner
20144gives unlimited permission to copy, distribute and modify the configure
20145scripts that are the output of Autoconf when processing the Macro.  You
20146need not follow the terms of the GNU General Public License when using
20147or distributing such scripts, even though portions of the text of the
20148Macro appear in them.  The GNU General Public License (GPL) does govern
20149all other use of the material that constitutes the Autoconf Macro.
20150
20151This special exception to the GPL applies to versions of the Autoconf
20152Macro released by the Autoconf Archive.  When you make and distribute a
20153modified version of the Autoconf Macro, you may extend this special
20154exception to the GPL to apply to your modified version as well.
20155
20156
20157File: autoconf-archive.info,  Node: ax_lib_socket_nsl,  Next: ax_lib_sqlite3,  Prev: ax_lib_samtools,  Up: The Macros
20158
20159ax_lib_socket_nsl
20160=================
20161
20162Synopsis
20163********
20164
20165     AX_LIB_SOCKET_NSL
20166
20167Description
20168***********
20169
20170This macro figures out what libraries are required on this platform to
20171link sockets programs.
20172
20173The common cases are not to need any extra libraries, or to need
20174-lsocket and -lnsl.  We need to avoid linking with libnsl unless we need
20175it, though, since on some OSes where it isn't necessary it will totally
20176break networking.  Unisys also includes gethostbyname() in libsocket but
20177needs libnsl for socket().
20178
20179Source Code
20180***********
20181
20182Download the latest version of 'ax_lib_socket_nsl.m4'
20183(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_socket_nsl.m4)
20184or browse the macro's revision history
20185(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_socket_nsl.m4).
20186
20187License
20188*******
20189
20190Copyright (C) 2008 Russ Allbery <rra@stanford.edu>
20191Copyright (C) 2008 Stepan Kasal <kasal@ucw.cz>
20192Copyright (C) 2008 Warren Young <warren@etr-usa.com>
20193
20194Copying and distribution of this file, with or without modification, are
20195permitted in any medium without royalty provided the copyright notice
20196and this notice are preserved.  This file is offered as-is, without any
20197warranty.
20198
20199
20200File: autoconf-archive.info,  Node: ax_lib_sqlite3,  Next: ax_lib_tabix,  Prev: ax_lib_socket_nsl,  Up: The Macros
20201
20202ax_lib_sqlite3
20203==============
20204
20205Synopsis
20206********
20207
20208     AX_LIB_SQLITE3([MINIMUM-VERSION])
20209
20210Description
20211***********
20212
20213Test for the SQLite 3 library of a particular version (or newer)
20214
20215This macro takes only one optional argument, required version of SQLite
202163 library.  If required version is not passed, 3.0.0 is used in the test
20217of existence of SQLite 3.
20218
20219If no installation prefix to the installed SQLite library is given the
20220macro searches under /usr, /usr/local, and /opt.
20221
20222This macro calls:
20223
20224       AC_SUBST(SQLITE3_CFLAGS)
20225       AC_SUBST(SQLITE3_LDFLAGS)
20226       AC_SUBST(SQLITE3_VERSION)
20227
20228And sets:
20229
20230       HAVE_SQLITE3
20231
20232Source Code
20233***********
20234
20235Download the latest version of 'ax_lib_sqlite3.m4'
20236(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_sqlite3.m4)
20237or browse the macro's revision history
20238(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_sqlite3.m4).
20239
20240License
20241*******
20242
20243Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
20244
20245Copying and distribution of this file, with or without modification, are
20246permitted in any medium without royalty provided the copyright notice
20247and this notice are preserved.  This file is offered as-is, without any
20248warranty.
20249
20250
20251File: autoconf-archive.info,  Node: ax_lib_tabix,  Next: ax_lib_taglib,  Prev: ax_lib_sqlite3,  Up: The Macros
20252
20253ax_lib_tabix
20254============
20255
20256Synopsis
20257********
20258
20259     AX_LIB_TABIX()
20260
20261Description
20262***********
20263
20264This macro searches for an installed tabix library.  If nothing was
20265specified when calling configure, it searches first in /usr/local and
20266then tries with ld's default library search path.  If the
20267-with-tabix=DIR is specified, it will try to find it in
20268DIR/include/tabix/tabix.h and DIR/lib/libtabix.a.  As a final try it
20269will look in DIR/tabix.h and DIR/libtabix.a as the tabix library does
20270not contain an install rule.
20271
20272If -without-tabix is specified, the library is not searched at all.
20273
20274If either the header file (tabix.h) or the library (libtabix) is not
20275found, the configuration exits on error, asking for a valid tabix
20276installation directory or -without-tabix.
20277
20278The macro defines the symbol HAVE_TABIX if the library is found.  You
20279should use autoheader to include a definition for this symbol in a
20280config.h file.  Sample usage in a C/C++ source is as follows:
20281
20282       #ifdef HAVE_TABIX
20283       #include <tabix.h>
20284       #endif /* HAVE_TABIX */
20285
20286The following output variables are set with AC_SUBST:
20287
20288       TABIX_CPPFLAGS
20289       TABIX_LDFLAGS
20290       TABIX_LIBS
20291
20292You can use them like this in Makefile.am:
20293
20294       AM_CPPFLAGS = $(TABIX_CPPFLAGS)
20295       AM_LDFLAGS = $(TABIX_LDFLAGS)
20296       program_LDADD = $(TABIX_LIBS)
20297
20298Source Code
20299***********
20300
20301Download the latest version of 'ax_lib_tabix.m4'
20302(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_tabix.m4)
20303or browse the macro's revision history
20304(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_tabix.m4).
20305
20306License
20307*******
20308
20309Copyright (C) 2013 Timothy Brown <tbrown@freeshell.org>
20310
20311This program is free software; you can redistribute it and/or modify it
20312under the terms of the GNU General Public License as published by the
20313Free Software Foundation; either version 3 of the License, or (at your
20314option) any later version.
20315
20316This program is distributed in the hope that it will be useful, but
20317WITHOUT ANY WARRANTY; without even the implied warranty of
20318MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
20319Public License for more details.
20320
20321You should have received a copy of the GNU General Public License along
20322with this program.  If not, see <https://www.gnu.org/licenses/>.
20323
20324As a special exception, the respective Autoconf Macro's copyright owner
20325gives unlimited permission to copy, distribute and modify the configure
20326scripts that are the output of Autoconf when processing the Macro.  You
20327need not follow the terms of the GNU General Public License when using
20328or distributing such scripts, even though portions of the text of the
20329Macro appear in them.  The GNU General Public License (GPL) does govern
20330all other use of the material that constitutes the Autoconf Macro.
20331
20332This special exception to the GPL applies to versions of the Autoconf
20333Macro released by the Autoconf Archive.  When you make and distribute a
20334modified version of the Autoconf Macro, you may extend this special
20335exception to the GPL to apply to your modified version as well.
20336
20337
20338File: autoconf-archive.info,  Node: ax_lib_taglib,  Next: ax_lib_trace,  Prev: ax_lib_tabix,  Up: The Macros
20339
20340ax_lib_taglib
20341=============
20342
20343Synopsis
20344********
20345
20346     AX_LIB_TAGLIB([VERSION],[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
20347
20348Description
20349***********
20350
20351Checks for minimum taglib library version VERSION. If successful
20352executes ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE.
20353
20354Defines TAGLIB_LIBS and TAGLIB_CFLAGS.
20355
20356A simple example:
20357
20358       AX_LIB_TAGLIB([1.5],,[
20359         AC_MSG_ERROR([Your system lacks of taglib >= 1.5])
20360       ])
20361
20362This macro is a rearranged version of AC_LIB_TAGLIB from Akos Maroy.
20363
20364Source Code
20365***********
20366
20367Download the latest version of 'ax_lib_taglib.m4'
20368(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_taglib.m4)
20369or browse the macro's revision history
20370(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_taglib.m4).
20371
20372License
20373*******
20374
20375Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
20376
20377Copying and distribution of this file, with or without modification, are
20378permitted in any medium without royalty provided the copyright notice
20379and this notice are preserved.  This file is offered as-is, without any
20380warranty.
20381
20382
20383File: autoconf-archive.info,  Node: ax_lib_trace,  Next: ax_lib_upnp,  Prev: ax_lib_taglib,  Up: The Macros
20384
20385ax_lib_trace
20386============
20387
20388Synopsis
20389********
20390
20391     AX_LIB_TRACE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
20392
20393Description
20394***********
20395
20396Test for the libtrace libraries of a particular version (or newer)
20397
20398If no path to the installed library is given the macro searches under
20399/usr, /usr/local, /opt and /opt/local.
20400
20401This macro calls:
20402
20403       AC_SUBST(LIBTRACE_CFLAGS) / AC_SUBST(LIBTRACE_LDFLAGS)
20404
20405And sets:
20406
20407       HAVE_LIBTRACE
20408
20409Source Code
20410***********
20411
20412Download the latest version of 'ax_lib_trace.m4'
20413(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_trace.m4)
20414or browse the macro's revision history
20415(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_trace.m4).
20416
20417License
20418*******
20419
20420Copyright (C) 2011 Xiyue Deng <manphiz@gmail.com>
20421
20422Copying and distribution of this file, with or without modification, are
20423permitted in any medium without royalty provided the copyright notice
20424and this notice are preserved.  This file is offered as-is, without any
20425warranty.
20426
20427
20428File: autoconf-archive.info,  Node: ax_lib_upnp,  Next: ax_lib_wad,  Prev: ax_lib_trace,  Up: The Macros
20429
20430ax_lib_upnp
20431===========
20432
20433Synopsis
20434********
20435
20436     AX_LIB_UPNP([ACTION-IF-TRUE], [ACTION-IF-FALSE])
20437
20438Description
20439***********
20440
20441This macro will check for the existence of libupnp
20442(http://upnp.sourceforge.net/).  It does this by checking for the header
20443file upnp.h and the upnp library object file.  A -with-libupnp option is
20444supported as well.  The following output variables are set with
20445AC_SUBST:
20446
20447       UPNP_CPPFLAGS
20448       UPNP_LDFLAGS
20449       UPNP_LIBS
20450
20451You can use them like this in Makefile.am:
20452
20453       AM_CPPFLAGS = $(UPNP_CPPFLAGS)
20454       AM_LDFLAGS = $(UPNP_LDFLAGS)
20455       program_LDADD = $(UPNP_LIBS)
20456
20457Additionally, the C preprocessor symbol HAVE_LIBUPNP will be defined
20458with AC_DEFINE if libupnp is available.
20459
20460Source Code
20461***********
20462
20463Download the latest version of 'ax_lib_upnp.m4'
20464(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_upnp.m4)
20465or browse the macro's revision history
20466(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_upnp.m4).
20467
20468License
20469*******
20470
20471Copyright (C) 2009 Oskar Liljeblad <oskar@osk.mine.nu>
20472
20473Copying and distribution of this file, with or without modification, are
20474permitted in any medium without royalty provided the copyright notice
20475and this notice are preserved.  This file is offered as-is, without any
20476warranty.
20477
20478
20479File: autoconf-archive.info,  Node: ax_lib_wad,  Next: ax_lib_xalan,  Prev: ax_lib_upnp,  Up: The Macros
20480
20481ax_lib_wad
20482==========
20483
20484Synopsis
20485********
20486
20487     AX_LIB_WAD
20488
20489Description
20490***********
20491
20492This macro searches for an installed WAD library.
20493
20494Source Code
20495***********
20496
20497Download the latest version of 'ax_lib_wad.m4'
20498(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_wad.m4)
20499or browse the macro's revision history
20500(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_wad.m4).
20501
20502License
20503*******
20504
20505Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
20506Copyright (C) 2008 Alan W. Irwin
20507Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
20508Copyright (C) 2008 Andrew Collier
20509
20510This program is free software; you can redistribute it and/or modify it
20511under the terms of the GNU General Public License as published by the
20512Free Software Foundation; either version 2 of the License, or (at your
20513option) any later version.
20514
20515This program is distributed in the hope that it will be useful, but
20516WITHOUT ANY WARRANTY; without even the implied warranty of
20517MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
20518Public License for more details.
20519
20520You should have received a copy of the GNU General Public License along
20521with this program.  If not, see <https://www.gnu.org/licenses/>.
20522
20523As a special exception, the respective Autoconf Macro's copyright owner
20524gives unlimited permission to copy, distribute and modify the configure
20525scripts that are the output of Autoconf when processing the Macro.  You
20526need not follow the terms of the GNU General Public License when using
20527or distributing such scripts, even though portions of the text of the
20528Macro appear in them.  The GNU General Public License (GPL) does govern
20529all other use of the material that constitutes the Autoconf Macro.
20530
20531This special exception to the GPL applies to versions of the Autoconf
20532Macro released by the Autoconf Archive.  When you make and distribute a
20533modified version of the Autoconf Macro, you may extend this special
20534exception to the GPL to apply to your modified version as well.
20535
20536
20537File: autoconf-archive.info,  Node: ax_lib_xalan,  Next: ax_lib_xerces,  Prev: ax_lib_wad,  Up: The Macros
20538
20539ax_lib_xalan
20540============
20541
20542Synopsis
20543********
20544
20545     AX_LIB_XALAN([MINIMUM-VERSION])
20546
20547Description
20548***********
20549
20550This macro provides tests of availability of Apache Xalan C++ XSLT
20551processor of a particular version or newer.  This macros checks for
20552Apache Xalan C++ XSLT processor headers and libraries and defines
20553compilation flags
20554
20555Macro supports following options and their values:
20556
205571) Single-option usage:
20558
20559       --with-xalan - yes, no or path to Xalan installation prefix
20560
205612) Three-options usage (all options are required):
20562
20563       --with-xalan=yes
20564       --with-xalan-inc - path to base directory with Xalan headers
20565       --with-xalan-lib - linker flags for Xalan
20566
20567This macro calls:
20568
20569       AC_SUBST(XALAN_CPPFLAGS)
20570       AC_SUBST(XALAN_LDFLAGS)
20571       AC_SUBST(XALAN_VERSION) - only if version requirement is used
20572
20573And sets:
20574
20575       HAVE_XALAN
20576
20577Source Code
20578***********
20579
20580Download the latest version of 'ax_lib_xalan.m4'
20581(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xalan.m4)
20582or browse the macro's revision history
20583(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xalan.m4).
20584
20585License
20586*******
20587
20588Copyright (C) 2009 Mateusz Loskot <mateusz@loskot.net>
20589Copyright (C) 2009 Bill Blough <bblough@gmail.com>
20590
20591Copying and distribution of this file, with or without modification, are
20592permitted in any medium without royalty provided the copyright notice
20593and this notice are preserved.  This file is offered as-is, without any
20594warranty.
20595
20596
20597File: autoconf-archive.info,  Node: ax_lib_xerces,  Next: ax_lib_xml_security,  Prev: ax_lib_xalan,  Up: The Macros
20598
20599ax_lib_xerces
20600=============
20601
20602Synopsis
20603********
20604
20605     AX_LIB_XERCES([MINIMUM-VERSION])
20606
20607Description
20608***********
20609
20610This macro provides tests of availability of Apache Xerces C++ Parser of
20611particular version or newer.  This macros checks for Apache Xerces C++
20612Parser headers and libraries and defines compilation flags
20613
20614Macro supports following options and their values:
20615
206161) Single-option usage:
20617
20618       --with-xerces - yes, no or path to Xerces installation prefix
20619
206202) Three-options usage (all options are required):
20621
20622       --with-xerces=yes
20623       --with-xerces-inc - path to base directory with Xerces headers
20624       --with-xerces-lib - linker flags for Xerces
20625
20626This macro calls:
20627
20628       AC_SUBST(XERCES_CFLAGS)
20629       AC_SUBST(XERCES_LDFLAGS)
20630       AC_SUBST(XERCES_VERSION) - only if version requirement is used
20631
20632And sets:
20633
20634       HAVE_XERCES
20635
20636Source Code
20637***********
20638
20639Download the latest version of 'ax_lib_xerces.m4'
20640(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xerces.m4)
20641or browse the macro's revision history
20642(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xerces.m4).
20643
20644License
20645*******
20646
20647Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
20648
20649Copying and distribution of this file, with or without modification, are
20650permitted in any medium without royalty provided the copyright notice
20651and this notice are preserved.  This file is offered as-is, without any
20652warranty.
20653
20654
20655File: autoconf-archive.info,  Node: ax_lib_xml_security,  Next: ax_libgcj_jar,  Prev: ax_lib_xerces,  Up: The Macros
20656
20657ax_lib_xml_security
20658===================
20659
20660Synopsis
20661********
20662
20663     AX_LIB_XML_SECURITY([MINIMUM-VERSION])
20664
20665Description
20666***********
20667
20668This macro provides tests of availability of Apache Xml-Security C++
20669library <http://santuario.apache.org/index.html> of particular version
20670or newer.  This macros checks for Apache Xml-Security C++ headers and
20671libraries and defines compilation flags
20672
20673Macro supports following options and their values:
20674
206751) Single-option usage:
20676
20677       --with-xml-security - yes, no or path to Xml-Security installation prefix
20678
206792) Three-options usage (all options are required):
20680
20681       --with-xml-security=yes
20682       --with-xml-security-inc - path to base directory with Xml-Security headers
20683       --with-xml-security-lib - linker flags for Xml-Security
20684
20685This macro calls:
20686
20687       AC_SUBST(XML_SECURITY_CFLAGS)
20688       AC_SUBST(XML_SECURITY_LDFLAGS)
20689       AC_SUBST(XML_SECURITY_VERSION) - only if version requirement is used
20690
20691And sets:
20692
20693       HAVE_XML_SECURITY
20694
20695Source Code
20696***********
20697
20698Download the latest version of 'ax_lib_xml_security.m4'
20699(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lib_xml_security.m4)
20700or browse the macro's revision history
20701(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lib_xml_security.m4).
20702
20703License
20704*******
20705
20706Copyright (C) 2008 Alexander Petry <petry@itwm.fhg.de>
20707Copyright (C) 2008 Mateusz Loskot <mateusz@loskot.net>
20708
20709Copying and distribution of this file, with or without modification, are
20710permitted in any medium without royalty provided the copyright notice
20711and this notice are preserved.  This file is offered as-is, without any
20712warranty.
20713
20714
20715File: autoconf-archive.info,  Node: ax_libgcj_jar,  Next: ax_libtoolize_cflags,  Prev: ax_lib_xml_security,  Up: The Macros
20716
20717ax_libgcj_jar
20718=============
20719
20720Synopsis
20721********
20722
20723     AX_LIBGCJ_JAR
20724
20725Description
20726***********
20727
20728Locate libgcj.jar so you can place it before everything else when using
20729gcj.
20730
20731Source Code
20732***********
20733
20734Download the latest version of 'ax_libgcj_jar.m4'
20735(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_libgcj_jar.m4)
20736or browse the macro's revision history
20737(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_libgcj_jar.m4).
20738
20739License
20740*******
20741
20742Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
20743
20744This program is free software; you can redistribute it and/or modify it
20745under the terms of the GNU General Public License as published by the
20746Free Software Foundation; either version 2 of the License, or (at your
20747option) any later version.
20748
20749This program is distributed in the hope that it will be useful, but
20750WITHOUT ANY WARRANTY; without even the implied warranty of
20751MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
20752Public License for more details.
20753
20754You should have received a copy of the GNU General Public License along
20755with this program.  If not, see <https://www.gnu.org/licenses/>.
20756
20757As a special exception, the respective Autoconf Macro's copyright owner
20758gives unlimited permission to copy, distribute and modify the configure
20759scripts that are the output of Autoconf when processing the Macro.  You
20760need not follow the terms of the GNU General Public License when using
20761or distributing such scripts, even though portions of the text of the
20762Macro appear in them.  The GNU General Public License (GPL) does govern
20763all other use of the material that constitutes the Autoconf Macro.
20764
20765This special exception to the GPL applies to versions of the Autoconf
20766Macro released by the Autoconf Archive.  When you make and distribute a
20767modified version of the Autoconf Macro, you may extend this special
20768exception to the GPL to apply to your modified version as well.
20769
20770
20771File: autoconf-archive.info,  Node: ax_libtoolize_cflags,  Next: ax_llvm,  Prev: ax_libgcj_jar,  Up: The Macros
20772
20773ax_libtoolize_cflags
20774====================
20775
20776Synopsis
20777********
20778
20779     AX_LIBTOOLIZE_CFLAGS(COMPILER-FLAGS-VAR)
20780
20781Description
20782***********
20783
20784Change the contents of variable COMPILER-FLAGS-VAR so that they are
20785Libtool friendly, ie.  prefix each of them with '-Xcompiler' so that
20786Libtool doesn't remove them.
20787
20788Source Code
20789***********
20790
20791Download the latest version of 'ax_libtoolize_cflags.m4'
20792(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_libtoolize_cflags.m4)
20793or browse the macro's revision history
20794(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_libtoolize_cflags.m4).
20795
20796License
20797*******
20798
20799Copyright (C) 2008 Ludovic Courtes <ludo@chbouib.org>
20800
20801Copying and distribution of this file, with or without modification, are
20802permitted in any medium without royalty provided the copyright notice
20803and this notice are preserved.  This file is offered as-is, without any
20804warranty.
20805
20806
20807File: autoconf-archive.info,  Node: ax_llvm,  Next: ax_lua,  Prev: ax_libtoolize_cflags,  Up: The Macros
20808
20809ax_llvm
20810=======
20811
20812Synopsis
20813********
20814
20815     AX_LLVM([llvm-libs])
20816
20817Description
20818***********
20819
20820Test for the existence of llvm, and make sure that it can be linked with
20821the llvm-libs argument that is passed on to llvm-config i.e.:
20822
20823       llvm --libs <llvm-libs>
20824
20825llvm-config will also include any libraries that are depended upon.
20826
20827Source Code
20828***********
20829
20830Download the latest version of 'ax_llvm.m4'
20831(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_llvm.m4)
20832or browse the macro's revision history
20833(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_llvm.m4).
20834
20835License
20836*******
20837
20838Copyright (C) 2008 Andy Kitchen <agimbleinthewabe@gmail.com>
20839
20840Copying and distribution of this file, with or without modification, are
20841permitted in any medium without royalty provided the copyright notice
20842and this notice are preserved.  This file is offered as-is, without any
20843warranty.
20844
20845
20846File: autoconf-archive.info,  Node: ax_lua,  Next: ax_luarocks_rock,  Prev: ax_llvm,  Up: The Macros
20847
20848ax_lua
20849======
20850
20851Synopsis
20852********
20853
20854     AX_PROG_LUA[([MINIMUM-VERSION], [TOO-BIG-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
20855     AX_LUA_HEADERS[([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
20856     AX_LUA_LIBS[([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
20857     AX_LUA_READLINE[([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])]
20858
20859Description
20860***********
20861
20862Detect a Lua interpreter, optionally specifying a minimum and maximum
20863version number.  Set up important Lua paths, such as the directories in
20864which to install scripts and modules (shared libraries).
20865
20866Also detect Lua headers and libraries.  The Lua version contained in the
20867header is checked to match the Lua interpreter version exactly.  When
20868searching for Lua libraries, the version number is used as a suffix.
20869This is done with the goal of supporting multiple Lua installs (5.1,
208705.2, and 5.3 side-by-side).
20871
20872A note on compatibility with previous versions: This file has been
20873mostly rewritten for serial 18.  Most developers should be able to use
20874these macros without needing to modify configure.ac.  Care has been
20875taken to preserve each macro's behavior, but there are some differences:
20876
208771) AX_WITH_LUA is deprecated; it now expands to the exact same thing as
20878AX_PROG_LUA with no arguments.
20879
208802) AX_LUA_HEADERS now checks that the version number defined in lua.h
20881matches the interpreter version.  AX_LUA_HEADERS_VERSION is therefore
20882unnecessary, so it is deprecated and does not expand to anything.
20883
208843) The configure flag -with-lua-suffix no longer exists; the user should
20885instead specify the LUA precious variable on the command line.  See the
20886AX_PROG_LUA description for details.
20887
20888Please read the macro descriptions below for more information.
20889
20890This file was inspired by Andrew Dalke's and James Henstridge's
20891python.m4 and Tom Payne's, Matthieu Moy's, and Reuben Thomas's ax_lua.m4
20892(serial 17).  Basically, this file is a mash-up of those two files.  I
20893like to think it combines the best of the two!
20894
20895AX_PROG_LUA: Search for the Lua interpreter, and set up important Lua
20896paths.  Adds precious variable LUA, which may contain the path of the
20897Lua interpreter.  If LUA is blank, the user's path is searched for an
20898suitable interpreter.
20899
20900If MINIMUM-VERSION is supplied, then only Lua interpreters with a
20901version number greater or equal to MINIMUM-VERSION will be accepted.  If
20902TOO-BIG-VERSION is also supplied, then only Lua interpreters with a
20903version number greater or equal to MINIMUM-VERSION and less than
20904TOO-BIG-VERSION will be accepted.
20905
20906The Lua version number, LUA_VERSION, is found from the interpreter, and
20907substituted.  LUA_PLATFORM is also found, but not currently supported
20908(no standard representation).
20909
20910Finally, the macro finds four paths:
20911
20912       luadir             Directory to install Lua scripts.
20913       pkgluadir          $luadir/$PACKAGE
20914       luaexecdir         Directory to install Lua modules.
20915       pkgluaexecdir      $luaexecdir/$PACKAGE
20916
20917These paths are found based on $prefix, $exec_prefix, Lua's
20918package.path, and package.cpath.  The first path of package.path
20919beginning with $prefix is selected as luadir.  The first path of
20920package.cpath beginning with $exec_prefix is used as luaexecdir.  This
20921should work on all reasonable Lua installations.  If a path cannot be
20922determined, a default path is used.  Of course, the user can override
20923these later when invoking make.
20924
20925       luadir             Default: $prefix/share/lua/$LUA_VERSION
20926       luaexecdir         Default: $exec_prefix/lib/lua/$LUA_VERSION
20927
20928These directories can be used by Automake as install destinations.  The
20929variable name minus 'dir' needs to be used as a prefix to the
20930appropriate Automake primary, e.g.  lua_SCRIPS or luaexec_LIBRARIES.
20931
20932If an acceptable Lua interpreter is found, then ACTION-IF-FOUND is
20933performed, otherwise ACTION-IF-NOT-FOUND is preformed.  If
20934ACTION-IF-NOT- FOUND is blank, then it will default to printing an
20935error.  To prevent the default behavior, give ':' as an action.
20936
20937AX_LUA_HEADERS: Search for Lua headers.  Requires that AX_PROG_LUA be
20938expanded before this macro.  Adds precious variable LUA_INCLUDE, which
20939may contain Lua specific include flags, e.g.  -I/usr/include/lua5.1.  If
20940LUA_INCLUDE is blank, then this macro will attempt to find suitable
20941flags.
20942
20943LUA_INCLUDE can be used by Automake to compile Lua modules or
20944executables with embedded interpreters.  The *_CPPFLAGS variables should
20945be used for this purpose, e.g.  myprog_CPPFLAGS = $(LUA_INCLUDE).
20946
20947This macro searches for the header lua.h (and others).  The search is
20948performed with a combination of CPPFLAGS, CPATH, etc, and LUA_INCLUDE.
20949If the search is unsuccessful, then some common directories are tried.
20950If the headers are then found, then LUA_INCLUDE is set accordingly.
20951
20952The paths automatically searched are:
20953
20954       * /usr/include/luaX.Y
20955       * /usr/include/lua/X.Y
20956       * /usr/include/luaXY
20957       * /usr/local/include/luaX.Y
20958       * /usr/local/include/lua-X.Y
20959       * /usr/local/include/lua/X.Y
20960       * /usr/local/include/luaXY
20961
20962(Where X.Y is the Lua version number, e.g.  5.1.)
20963
20964The Lua version number found in the headers is always checked to match
20965the Lua interpreter's version number.  Lua headers with mismatched
20966version numbers are not accepted.
20967
20968If headers are found, then ACTION-IF-FOUND is performed, otherwise
20969ACTION-IF-NOT-FOUND is performed.  If ACTION-IF-NOT-FOUND is blank, then
20970it will default to printing an error.  To prevent the default behavior,
20971set the action to ':'.
20972
20973AX_LUA_LIBS: Search for Lua libraries.  Requires that AX_PROG_LUA be
20974expanded before this macro.  Adds precious variable LUA_LIB, which may
20975contain Lua specific linker flags, e.g.  -llua5.1.  If LUA_LIB is blank,
20976then this macro will attempt to find suitable flags.
20977
20978LUA_LIB can be used by Automake to link Lua modules or executables with
20979embedded interpreters.  The *_LIBADD and *_LDADD variables should be
20980used for this purpose, e.g.  mymod_LIBADD = $(LUA_LIB).
20981
20982This macro searches for the Lua library.  More technically, it searches
20983for a library containing the function lua_load.  The search is performed
20984with a combination of LIBS, LIBRARY_PATH, and LUA_LIB.
20985
20986If the search determines that some linker flags are missing, then those
20987flags will be added to LUA_LIB.
20988
20989If libraries are found, then ACTION-IF-FOUND is performed, otherwise
20990ACTION-IF-NOT-FOUND is performed.  If ACTION-IF-NOT-FOUND is blank, then
20991it will default to printing an error.  To prevent the default behavior,
20992set the action to ':'.
20993
20994AX_LUA_READLINE: Search for readline headers and libraries.  Requires
20995the AX_LIB_READLINE macro, which is provided by ax_lib_readline.m4 from
20996the Autoconf Archive.
20997
20998If a readline compatible library is found, then ACTION-IF-FOUND is
20999performed, otherwise ACTION-IF-NOT-FOUND is performed.
21000
21001Source Code
21002***********
21003
21004Download the latest version of 'ax_lua.m4'
21005(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_lua.m4)
21006or browse the macro's revision history
21007(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_lua.m4).
21008
21009License
21010*******
21011
21012Copyright (C) 2015 Reuben Thomas <rrt@sc3d.org>
21013Copyright (C) 2014 Tim Perkins <tprk77@gmail.com>
21014
21015This program is free software: you can redistribute it and/or modify it
21016under the terms of the GNU General Public License as published by the
21017Free Software Foundation, either version 3 of the License, or (at your
21018option) any later version.
21019
21020This program is distributed in the hope that it will be useful, but
21021WITHOUT ANY WARRANTY; without even the implied warranty of
21022MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
21023Public License for more details.
21024
21025You should have received a copy of the GNU General Public License along
21026with this program.  If not, see <https://www.gnu.org/licenses/>.
21027
21028As a special exception, the respective Autoconf Macro's copyright owner
21029gives unlimited permission to copy, distribute and modify the configure
21030scripts that are the output of Autoconf when processing the Macro.  You
21031need not follow the terms of the GNU General Public License when using
21032or distributing such scripts, even though portions of the text of the
21033Macro appear in them.  The GNU General Public License (GPL) does govern
21034all other use of the material that constitutes the Autoconf Macro.
21035
21036This special exception to the GPL applies to versions of the Autoconf
21037Macro released by the Autoconf Archive.  When you make and distribute a
21038modified version of the Autoconf Macro, you may extend this special
21039exception to the GPL to apply to your modified version as well.
21040
21041
21042File: autoconf-archive.info,  Node: ax_luarocks_rock,  Next: ax_maintainer_mode_auto_silent,  Prev: ax_lua,  Up: The Macros
21043
21044ax_luarocks_rock
21045================
21046
21047Synopsis
21048********
21049
21050     AX_LUAROCKS_ROCK([ROCK])
21051
21052Description
21053***********
21054
21055Checks for a rock, and fails if it is not installed.
21056
21057Example usage:
21058
21059       AX_LUAROCKS_ROCK(stdlib)
21060
21061Note: use of this macro is not normally recommended.  Normally, LuaRocks
21062should be used to drive the build system, and it takes care of rock
21063dependencies.  Use this macro only if LuaRocks cannot be used at the top
21064level, for example, in a build system that uses Lua only incidentally.
21065
21066Source Code
21067***********
21068
21069Download the latest version of 'ax_luarocks_rock.m4'
21070(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_luarocks_rock.m4)
21071or browse the macro's revision history
21072(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_luarocks_rock.m4).
21073
21074License
21075*******
21076
21077Copyright (C) 2016 Reuben Thomas <rrt@sc3d.org>
21078
21079Copying and distribution of this file, with or without modification, are
21080permitted in any medium without royalty provided the copyright notice
21081and this notice are preserved.  This file is offered as-is, without any
21082warranty.
21083
21084
21085File: autoconf-archive.info,  Node: ax_maintainer_mode_auto_silent,  Next: ax_missing_prog,  Prev: ax_luarocks_rock,  Up: The Macros
21086
21087ax_maintainer_mode_auto_silent
21088==============================
21089
21090Synopsis
21091********
21092
21093     AX_MAINTAINER_MODE_AUTO_SILENT
21094
21095Description
21096***********
21097
21098Set autotools to error/sleep settings so that they are not run when
21099being erroneously triggered.  Likewise make libtool-silent when libtool
21100has been used.
21101
21102I use the macro quite a lot since some automake versions have the
21103tendency to try to rerun some autotools on a mere make even when not
21104quite in -maintainer-mode.  That is very annoying.  Likewise, a user who
21105installs from source does not want to see doubled compiler messages.
21106
21107I did not put an AC_REQUIRE(MAINTAINER_MODE) in here - should I?
21108
21109Source Code
21110***********
21111
21112Download the latest version of 'ax_maintainer_mode_auto_silent.m4'
21113(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_maintainer_mode_auto_silent.m4)
21114or browse the macro's revision history
21115(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_maintainer_mode_auto_silent.m4).
21116
21117License
21118*******
21119
21120Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
21121
21122Copying and distribution of this file, with or without modification, are
21123permitted in any medium without royalty provided the copyright notice
21124and this notice are preserved.  This file is offered as-is, without any
21125warranty.
21126
21127
21128File: autoconf-archive.info,  Node: ax_missing_prog,  Next: ax_mpi,  Prev: ax_maintainer_mode_auto_silent,  Up: The Macros
21129
21130ax_missing_prog
21131===============
21132
21133Synopsis
21134********
21135
21136     AX_MISSING_PROG(VARIABLE,PROGRAM,[MESSAGE])
21137
21138Description
21139***********
21140
21141Simple wrapper for the AM_MISSING_PROG which displays a warning MESSAGE
21142if provided.  A typical use is the following:
21143
21144       AC_PROG_AWK
21145       AS_IF([test -z "$AWK"],[
21146         AX_MISSING_PROG(AWK,[awk],[awk seems missing ...])
21147       ])
21148
21149Programs wrapped with AX_MISSING_PROG should be used only in the package
21150building phase (because they will be wrapped with the automake 'missing'
21151script, which will not be installed).
21152
21153Source Code
21154***********
21155
21156Download the latest version of 'ax_missing_prog.m4'
21157(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_missing_prog.m4)
21158or browse the macro's revision history
21159(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_missing_prog.m4).
21160
21161License
21162*******
21163
21164Copyright (C) 2008 Francesco Salvestrini <salvestrini@users.sourceforge.net>
21165
21166This program is free software; you can redistribute it and/or modify it
21167under the terms of the GNU General Public License as published by the
21168Free Software Foundation; either version 2 of the License, or (at your
21169option) any later version.
21170
21171This program is distributed in the hope that it will be useful, but
21172WITHOUT ANY WARRANTY; without even the implied warranty of
21173MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
21174Public License for more details.
21175
21176You should have received a copy of the GNU General Public License along
21177with this program.  If not, see <https://www.gnu.org/licenses/>.
21178
21179As a special exception, the respective Autoconf Macro's copyright owner
21180gives unlimited permission to copy, distribute and modify the configure
21181scripts that are the output of Autoconf when processing the Macro.  You
21182need not follow the terms of the GNU General Public License when using
21183or distributing such scripts, even though portions of the text of the
21184Macro appear in them.  The GNU General Public License (GPL) does govern
21185all other use of the material that constitutes the Autoconf Macro.
21186
21187This special exception to the GPL applies to versions of the Autoconf
21188Macro released by the Autoconf Archive.  When you make and distribute a
21189modified version of the Autoconf Macro, you may extend this special
21190exception to the GPL to apply to your modified version as well.
21191
21192
21193File: autoconf-archive.info,  Node: ax_mpi,  Next: ax_mpip,  Prev: ax_missing_prog,  Up: The Macros
21194
21195ax_mpi
21196======
21197
21198Synopsis
21199********
21200
21201     AX_MPI([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
21202
21203Description
21204***********
21205
21206This macro tries to find out how to compile programs that use MPI
21207(Message Passing Interface), a standard API for parallel process
21208communication (see http://www-unix.mcs.anl.gov/mpi/)
21209
21210On success, it sets the MPICC, MPICXX, MPIF77, or MPIFC output variable
21211to the name of the MPI compiler, depending upon the current language.
21212(This may just be $CC/$CXX/$F77/$FC, but is more often something like
21213mpicc/mpiCC/mpif77/mpif90.)  It also sets MPILIBS to any libraries that
21214are needed for linking MPI (e.g.  -lmpi or -lfmpi, if a special
21215MPICC/MPICXX/MPIF77/MPIFC was not found).
21216
21217Note that this macro should be used only if you just have a few source
21218files that need to be compiled using MPI. In particular, you should
21219neither overwrite CC/CXX/F77/FC with the values of
21220MPICC/MPICXX/MPIF77/MPIFC, nor assume that you can use the same flags
21221etc.  as the standard compilers.  If you want to compile a whole program
21222using the MPI compiler commands, use one of the macros
21223AX_PROG_{CC,CXX,FC}_MPI.
21224
21225ACTION-IF-FOUND is a list of shell commands to run if an MPI library is
21226found, and ACTION-IF-NOT-FOUND is a list of commands to run if it is not
21227found.  If ACTION-IF-FOUND is not specified, the default action will
21228define HAVE_MPI.
21229
21230Source Code
21231***********
21232
21233Download the latest version of 'ax_mpi.m4'
21234(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_mpi.m4)
21235or browse the macro's revision history
21236(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_mpi.m4).
21237
21238License
21239*******
21240
21241Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
21242Copyright (C) 2008 Julian C. Cummings <cummings@cacr.caltech.edu>
21243
21244This program is free software: you can redistribute it and/or modify it
21245under the terms of the GNU General Public License as published by the
21246Free Software Foundation, either version 3 of the License, or (at your
21247option) any later version.
21248
21249This program is distributed in the hope that it will be useful, but
21250WITHOUT ANY WARRANTY; without even the implied warranty of
21251MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
21252Public License for more details.
21253
21254You should have received a copy of the GNU General Public License along
21255with this program.  If not, see <https://www.gnu.org/licenses/>.
21256
21257As a special exception, the respective Autoconf Macro's copyright owner
21258gives unlimited permission to copy, distribute and modify the configure
21259scripts that are the output of Autoconf when processing the Macro.  You
21260need not follow the terms of the GNU General Public License when using
21261or distributing such scripts, even though portions of the text of the
21262Macro appear in them.  The GNU General Public License (GPL) does govern
21263all other use of the material that constitutes the Autoconf Macro.
21264
21265This special exception to the GPL applies to versions of the Autoconf
21266Macro released by the Autoconf Archive.  When you make and distribute a
21267modified version of the Autoconf Macro, you may extend this special
21268exception to the GPL to apply to your modified version as well.
21269
21270
21271File: autoconf-archive.info,  Node: ax_mpip,  Next: ax_need_awk,  Prev: ax_mpi,  Up: The Macros
21272
21273ax_mpip
21274=======
21275
21276Synopsis
21277********
21278
21279     AX_MPIP([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
21280
21281Description
21282***********
21283
21284Test for mpiP: Lightweight, Scalable MPI Profiling
21285(http://mpip.sourceforge.net/)
21286
21287Provides a -with-mpiP=DIR option.  Searches -with-mpiP location and the
21288usual places for mpiP and required libraries.  Marks MPIP as a precious
21289environment variable.
21290
21291On success, sets MPIP_LDFLAGS, MPIP_LIBS, #defines HAVE_MPIP, and calls
21292ACTION-IF-FOUND. When ACTION-IF-NOT-FOUND is not specified, the default
21293behavior is for configure to fail.
21294
21295Source Code
21296***********
21297
21298Download the latest version of 'ax_mpip.m4'
21299(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_mpip.m4)
21300or browse the macro's revision history
21301(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_mpip.m4).
21302
21303License
21304*******
21305
21306Copyright (C) 2010 Rhys Ulerich <rhys.ulerich@gmail.com>
21307
21308This program is free software: you can redistribute it and/or modify it
21309under the terms of the GNU General Public License as published by the
21310Free Software Foundation, either version 3 of the License, or (at your
21311option) any later version.
21312
21313This program is distributed in the hope that it will be useful, but
21314WITHOUT ANY WARRANTY; without even the implied warranty of
21315MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
21316Public License for more details.
21317
21318You should have received a copy of the GNU General Public License along
21319with this program.  If not, see <https://www.gnu.org/licenses/>.
21320
21321As a special exception, the respective Autoconf Macro's copyright owner
21322gives unlimited permission to copy, distribute and modify the configure
21323scripts that are the output of Autoconf when processing the Macro.  You
21324need not follow the terms of the GNU General Public License when using
21325or distributing such scripts, even though portions of the text of the
21326Macro appear in them.  The GNU General Public License (GPL) does govern
21327all other use of the material that constitutes the Autoconf Macro.
21328
21329This special exception to the GPL applies to versions of the Autoconf
21330Macro released by the Autoconf Macro Archive.  When you make and
21331distribute a modified version of the Autoconf Macro, you may extend this
21332special exception to the GPL to apply to your modified version as well.
21333
21334
21335File: autoconf-archive.info,  Node: ax_need_awk,  Next: ax_normalize_path,  Prev: ax_mpip,  Up: The Macros
21336
21337ax_need_awk
21338===========
21339
21340Synopsis
21341********
21342
21343     AX_NEED_AWK
21344
21345Description
21346***********
21347
21348Check if an awk implementation is available.  Bail-out if not found.
21349
21350This work is heavily based upon testawk.sh script by Heiner Steven.  You
21351should find his script (and related works) at
21352<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
21353Alessandro Massignan for his suggestions and extensive nawk tests on
21354FreeBSD.
21355
21356Source Code
21357***********
21358
21359Download the latest version of 'ax_need_awk.m4'
21360(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_need_awk.m4)
21361or browse the macro's revision history
21362(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_need_awk.m4).
21363
21364License
21365*******
21366
21367Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
21368
21369Copying and distribution of this file, with or without modification, are
21370permitted in any medium without royalty provided the copyright notice
21371and this notice are preserved.  This file is offered as-is, without any
21372warranty.
21373
21374
21375File: autoconf-archive.info,  Node: ax_normalize_path,  Next: ax_not_enable_frame_pointer,  Prev: ax_need_awk,  Up: The Macros
21376
21377ax_normalize_path
21378=================
21379
21380Synopsis
21381********
21382
21383     AX_NORMALIZE_PATH(VARNAME, [REFERENCE_STRING])
21384
21385Description
21386***********
21387
21388Perform some cleanups on the value of $VARNAME (interpreted as a path):
21389
21390       - empty paths are changed to '.'
21391       - trailing slashes are removed
21392       - repeated slashes are squeezed except a leading doubled slash '//'
21393         (which might indicate a networked disk on some OS).
21394
21395REFERENCE_STRING is used to turn '/' into '\' and vice-versa: if
21396REFERENCE_STRING contains some backslashes, all slashes and backslashes
21397are turned into backslashes, otherwise they are all turned into slashes.
21398
21399This makes processing of DOS filenames quite easier, because you can
21400turn a filename to the Unix notation, make your processing, and turn it
21401back to original notation.
21402
21403       filename='A:\FOO\\BAR\'
21404       old_filename="$filename"
21405       # Switch to the unix notation
21406       AX_NORMALIZE_PATH([filename], ["/"])
21407       # now we have $filename = 'A:/FOO/BAR' and we can process it as if
21408       # it was a Unix path.  For instance let's say that you want
21409       # to append '/subpath':
21410       filename="$filename/subpath"
21411       # finally switch back to the original notation
21412       AX_NORMALIZE_PATH([filename], ["$old_filename"])
21413       # now $filename equals to 'A:\FOO\BAR\subpath'
21414
21415One good reason to make all path processing with the unix convention is
21416that backslashes have a special meaning in many cases.  For instance
21417
21418       expr 'A:\FOO' : 'A:\Foo'
21419
21420will return 0 because the second argument is a regex in which
21421backslashes have to be backslashed.  In other words, to have the two
21422strings to match you should write this instead:
21423
21424       expr 'A:\Foo' : 'A:\\Foo'
21425
21426Such behavior makes DOS filenames extremely unpleasant to work with.  So
21427temporary turn your paths to the Unix notation, and revert them to the
21428original notation after the processing.  See the macro
21429AX_COMPUTE_RELATIVE_PATHS for a concrete example of this.
21430
21431REFERENCE_STRING defaults to $VARIABLE, this means that slashes will be
21432converted to backslashes if $VARIABLE already contains some backslashes
21433(see $thirddir below).
21434
21435       firstdir='/usr/local//share'
21436       seconddir='C:\Program Files\\'
21437       thirddir='C:\home/usr/'
21438       AX_NORMALIZE_PATH([firstdir])
21439       AX_NORMALIZE_PATH([seconddir])
21440       AX_NORMALIZE_PATH([thirddir])
21441       # $firstdir = '/usr/local/share'
21442       # $seconddir = 'C:\Program Files'
21443       # $thirddir = 'C:\home\usr'
21444
21445Source Code
21446***********
21447
21448Download the latest version of 'ax_normalize_path.m4'
21449(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_normalize_path.m4)
21450or browse the macro's revision history
21451(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_normalize_path.m4).
21452
21453License
21454*******
21455
21456Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
21457
21458This program is free software; you can redistribute it and/or modify it
21459under the terms of the GNU General Public License as published by the
21460Free Software Foundation; either version 2 of the License, or (at your
21461option) any later version.
21462
21463This program is distributed in the hope that it will be useful, but
21464WITHOUT ANY WARRANTY; without even the implied warranty of
21465MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
21466Public License for more details.
21467
21468You should have received a copy of the GNU General Public License along
21469with this program.  If not, see <https://www.gnu.org/licenses/>.
21470
21471As a special exception, the respective Autoconf Macro's copyright owner
21472gives unlimited permission to copy, distribute and modify the configure
21473scripts that are the output of Autoconf when processing the Macro.  You
21474need not follow the terms of the GNU General Public License when using
21475or distributing such scripts, even though portions of the text of the
21476Macro appear in them.  The GNU General Public License (GPL) does govern
21477all other use of the material that constitutes the Autoconf Macro.
21478
21479This special exception to the GPL applies to versions of the Autoconf
21480Macro released by the Autoconf Archive.  When you make and distribute a
21481modified version of the Autoconf Macro, you may extend this special
21482exception to the GPL to apply to your modified version as well.
21483
21484
21485File: autoconf-archive.info,  Node: ax_not_enable_frame_pointer,  Next: ax_numeric_namedlevel,  Prev: ax_normalize_path,  Up: The Macros
21486
21487ax_not_enable_frame_pointer
21488===========================
21489
21490Synopsis
21491********
21492
21493     AX_NOT_ENABLE_FRAME_POINTER ([shellvar])
21494
21495Description
21496***********
21497
21498add -enable-frame-pointer option, the default will add the gcc
21499-fomit-frame-pointer option to the shellvar (per default CFLAGS) and
21500remove the " -g " debuginfo option from it.  In other words, the default
21501is "-disable-frame-pointer"
21502
21503Source Code
21504***********
21505
21506Download the latest version of 'ax_not_enable_frame_pointer.m4'
21507(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_not_enable_frame_pointer.m4)
21508or browse the macro's revision history
21509(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_not_enable_frame_pointer.m4).
21510
21511License
21512*******
21513
21514Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
21515
21516Copying and distribution of this file, with or without modification, are
21517permitted in any medium without royalty provided the copyright notice
21518and this notice are preserved.  This file is offered as-is, without any
21519warranty.
21520
21521
21522File: autoconf-archive.info,  Node: ax_numeric_namedlevel,  Next: ax_open62541_check_h,  Prev: ax_not_enable_frame_pointer,  Up: The Macros
21523
21524ax_numeric_namedlevel
21525=====================
21526
21527Synopsis
21528********
21529
21530     AX_NUMERIC_NAMEDLEVEL(VARNAME [,FROMVAR [,DEFAULT [,YESLEVEL]]])
21531
21532Description
21533***********
21534
21535The levelstring FROMVAR is expanded and checked for verbal names that
21536will map on to eight different levels - the VARNAME will receive this
21537numeric level where "all" maps to 7 (lower three bits set) higher levels
21538for 8 and 9 exist too.  This macro is a nice helper to convert user
21539input of a -with-opt=level into a numeric form that can be simply pushed
21540as a #define like with AC_DEFINE:
21541
21542      default YESLEVEL = 2 /* including unknown levelspec */
21543      default DEFAULT  = 0 /* when named level is empty */
21544      default FROMVAR  = VARNAME
21545
21546The DEFAULT value is used if the NAMED levelstring has become empty and
21547it is copied without further conversion - a default of "0" is used if
21548absent - identical to "no".  A "yes" will be set to the YESLEVEL - and
21549note that "yes" has "2" as its default value not "1".  (which comes from
21550its original use to set a "gcc -O2").
21551
21552the mnemonic names are:
21553
21554       9| insane |ultrasome|experimentalplus
21555       8| ultra  |ultra|experimental)
21556       7| all    |muchmore|somemanymore|manymoreplus
21557       6| most   |manymore|most)
21558       5| strict |somemore|almost
21559       4| more   |more
21560       3| extra  |manyplus|plusmuch|somemany|plusmany
21561       2| many   |many|much|(yes)
21562       1| some   |some|plus
21563
21564note that a level can be constructed of (some|plus) = bit-0, (many|much)
21565= bit-1, (more) = bit-2, (ultra|experimental) = bit-3 at least in a
21566left-to-right order, ie.  plusmanymore=7
21567
21568Example usage:
21569
21570       AX_NUMERIC_NAMEDLEVEL(OPTLEVEL,with_optlevel,1,3)
21571       AC_DEFINE(OPTLEVEL)
21572       test "$GCC" = "yes" && CFLAGS="$CFLAGS -O$OPTLEVEL)
21573
21574Source Code
21575***********
21576
21577Download the latest version of 'ax_numeric_namedlevel.m4'
21578(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_numeric_namedlevel.m4)
21579or browse the macro's revision history
21580(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_numeric_namedlevel.m4).
21581
21582License
21583*******
21584
21585Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
21586
21587Copying and distribution of this file, with or without modification, are
21588permitted in any medium without royalty provided the copyright notice
21589and this notice are preserved.  This file is offered as-is, without any
21590warranty.
21591
21592
21593File: autoconf-archive.info,  Node: ax_open62541_check_h,  Next: ax_open62541_check_lib,  Prev: ax_numeric_namedlevel,  Up: The Macros
21594
21595ax_open62541_check_h
21596====================
21597
21598Synopsis
21599********
21600
21601     AX_OPEN62541_CHECK_H([HEADERS = `...see_below...'], [ACTION-IF-FOUND],
21602                          [ACTION-IF-NOT-FOUND])
21603
21604Description
21605***********
21606
21607Searches for the header file(s) of the open62541 library [1].
21608
21609The open62541 library is a cmake-based project, that provides its header
21610files in one of two layouts:
21611
21612       1) As individual files, e.g. ua_config.h, ua_server.h, ua_types.h, ...
21613       2) As a single amalgamation file open62541.h
21614
21615The second case is enabled when configuring open62541 with the options
21616"-D UA_ENABLE_AMALGAMATION=true to" cmake, which seems to be preferred.
21617Code using the library can distinguish which layout is used by checking
21618for the macro "UA_NO_AMALGAMATION": if it is defined, the first layout
21619is used.
21620
21621The AX_OPEN62541_CHECK_H macro checks first for the amalgamation and, if
21622that is not found, for the individual headers.  It defines
21623"UA_NO_AMALGAMATION" if necessary.
21624
21625The individual headers to check for if no amalgamation is found can be
21626provided as a space-separated list in the first argument.  If that is
21627empty, it defaults to all files known to be contained in the
21628amalgamation as of v0.2.0 of the library:
21629
21630       * ms_stdint.h
21631       * ua_client.h
21632       * ua_client_highlevel.h
21633       * ua_config.h
21634       * ua_config_standard.h
21635       * ua_connection.h
21636       * ua_constants.h
21637       * ua_job.h
21638       * ua_log.h
21639       * ua_log_stdout.h
21640       * ua_network_tcp.h
21641       * ua_nodeids.h
21642       * ua_server.h
21643       * ua_server_external_ns.h
21644       * ua_types.h
21645       * ua_types_generated.h
21646       * ua_types_generated_handling.h
21647
21648If the with_open62541 shell variable is set to "no" (e.g.  from running
21649the AX_OPEN62541_PATH macro and the user giving configure the option
21650"-without-open62541"), then expands ACTION-IF-NOT-FOUND without any
21651checks.
21652
21653[1]: <http://open62541.org/>
21654
21655Source Code
21656***********
21657
21658Download the latest version of 'ax_open62541_check_h.m4'
21659(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_open62541_check_h.m4)
21660or browse the macro's revision history
21661(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_open62541_check_h.m4).
21662
21663License
21664*******
21665
21666Copyright (C) 2016,2017 Olaf Mandel <olaf@mandel.name>
21667
21668Copying and distribution of this file, with or without modification, are
21669permitted in any medium without royalty provided the copyright notice
21670and this notice are preserved.  This file is offered as-is, without any
21671warranty.
21672
21673
21674File: autoconf-archive.info,  Node: ax_open62541_check_lib,  Next: ax_open62541_path,  Prev: ax_open62541_check_h,  Up: The Macros
21675
21676ax_open62541_check_lib
21677======================
21678
21679Synopsis
21680********
21681
21682     AX_OPEN62541_CHECK_LIB([STATIC-FIRST = `no'], [ACTION-IF-FOUND],
21683                            [ACTION-IF-NOT-FOUND])
21684
21685Description
21686***********
21687
21688Searches for the library file of the open62541 library [1].
21689
21690The open62541 library is a cmake-based project, that supplies both a
21691shared and a static library (with different names).  The
21692AX_OPEN62541_CHECK_LIB macro can search for both and adds the first one
21693found to the LIBS Makefile variable.  The search can be in either order
21694(shared first or static first), which is selectable on macro invocation
21695with the STATIC-FIRST parameter.  The user can change this default by
21696invoking configure with either the -with-open62541-shared or
21697-with-open62541-static option (the named one is checked first).
21698
21699Either shared or static library can be excluded from checking completely
21700with the options -without-open62541-shared and
21701-without-open62541-static.
21702
21703If the with_open62541 shell variable is set to "no" (e.g.  from running
21704the AX_OPEN62541_PATH macro and the user giving configure the option
21705"-without-open62541"), then expands ACTION-IF-NOT-FOUND without any
21706checks.  The same is true if both -without-open62541-shared and
21707-without-open62541-static are given.
21708
21709[1]: <http://open62541.org/>
21710
21711Source Code
21712***********
21713
21714Download the latest version of 'ax_open62541_check_lib.m4'
21715(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_open62541_check_lib.m4)
21716or browse the macro's revision history
21717(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_open62541_check_lib.m4).
21718
21719License
21720*******
21721
21722Copyright (C) 2016 Olaf Mandel <olaf@mandel.name>
21723
21724Copying and distribution of this file, with or without modification, are
21725permitted in any medium without royalty provided the copyright notice
21726and this notice are preserved.  This file is offered as-is, without any
21727warranty.
21728
21729
21730File: autoconf-archive.info,  Node: ax_open62541_path,  Next: ax_openmp,  Prev: ax_open62541_check_lib,  Up: The Macros
21731
21732ax_open62541_path
21733=================
21734
21735Synopsis
21736********
21737
21738     AX_OPEN62541_PATH()
21739
21740Description
21741***********
21742
21743Sets pre-processor and linker search paths for the open62541 library
21744[1].
21745
21746The open62541 library is a cmake-based project, that is not always
21747installed to the system: it does not even provide an install target by
21748default.  In that case, the location of several directories need to be
21749added to the pre-processor and linker search paths:
21750
21751       * -I<src>/deps
21752       * -I<src>/include
21753       * -I<src>/plugins
21754       * -I<build>/src_generated
21755       * -I<build>
21756       * -L<build>
21757
21758Here "src" indicates the location of the library source directory and
21759"build" the location of the out-of-source build.
21760
21761This macro provides the configure options -with-open62541=dir and
21762-with-open62541-build=dir to set the two directories.  This macro will
21763append to CPPFLAGS and LDFLAGS if a dir is supplied.  It will also
21764export LD_LIBRARY_PATH with the absolute path of the build dir for the
21765rest of the configure script to use and define a Makefile variable
21766OPEN62541_LDPATH, which contains
21767LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<abs_path_to_build> : this is intended
21768to be used for all commands that need to execute a program using the
21769library (e.g.  make check).  If paths are set, they are forwarded to
21770distcheck.
21771
21772For -with-open62541, the dir is optional: if either the values "no"
21773(from -without-open62541) or "yes" (for no argument) are specified, this
21774macro does nothing but these values may be used by other code.  If
21775-with-open62541 is not specified, the variable with_open62541 is not
21776set.
21777
21778For -with-open62541-build, the dir is compulsory.  -with-open62541-build
21779must not be given without also specifying -with-open62541.  If
21780-with-open62541 is given but -with-open62541-build is not, the default
21781value is "<src>/build".
21782
21783[1]: <http://open62541.org/>
21784
21785Source Code
21786***********
21787
21788Download the latest version of 'ax_open62541_path.m4'
21789(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_open62541_path.m4)
21790or browse the macro's revision history
21791(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_open62541_path.m4).
21792
21793License
21794*******
21795
21796Copyright (C) 2016,2017 Olaf Mandel <olaf@mandel.name>
21797
21798Copying and distribution of this file, with or without modification, are
21799permitted in any medium without royalty provided the copyright notice
21800and this notice are preserved.  This file is offered as-is, without any
21801warranty.
21802
21803
21804File: autoconf-archive.info,  Node: ax_openmp,  Next: ax_patch_libtool_changing_cmds_ifs,  Prev: ax_open62541_path,  Up: The Macros
21805
21806ax_openmp
21807=========
21808
21809Synopsis
21810********
21811
21812     AX_OPENMP([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
21813
21814Description
21815***********
21816
21817This macro tries to find out how to compile programs that use OpenMP a
21818standard API and set of compiler directives for parallel programming
21819(see http://www-unix.mcs/)
21820
21821On success, it sets the OPENMP_CFLAGS/OPENMP_CXXFLAGS/OPENMP_F77FLAGS
21822output variable to the flag (e.g.  -omp) used both to compile *and* link
21823OpenMP programs in the current language.
21824
21825NOTE: You are assumed to not only compile your program with these flags,
21826but also link it with them as well.
21827
21828If you want to compile everything with OpenMP, you should set:
21829
21830       CFLAGS="$CFLAGS $OPENMP_CFLAGS"
21831       #OR#  CXXFLAGS="$CXXFLAGS $OPENMP_CXXFLAGS"
21832       #OR#  FFLAGS="$FFLAGS $OPENMP_FFLAGS"
21833
21834(depending on the selected language).
21835
21836The user can override the default choice by setting the corresponding
21837environment variable (e.g.  OPENMP_CFLAGS).
21838
21839ACTION-IF-FOUND is a list of shell commands to run if an OpenMP flag is
21840found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it is
21841not found.  If ACTION-IF-FOUND is not specified, the default action will
21842define HAVE_OPENMP.
21843
21844Source Code
21845***********
21846
21847Download the latest version of 'ax_openmp.m4'
21848(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_openmp.m4)
21849or browse the macro's revision history
21850(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_openmp.m4).
21851
21852License
21853*******
21854
21855Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
21856Copyright (C) 2015 John W. Peterson <jwpeterson@gmail.com>
21857Copyright (C) 2016 Nick R. Papior <nickpapior@gmail.com>
21858
21859This program is free software: you can redistribute it and/or modify it
21860under the terms of the GNU General Public License as published by the
21861Free Software Foundation, either version 3 of the License, or (at your
21862option) any later version.
21863
21864This program is distributed in the hope that it will be useful, but
21865WITHOUT ANY WARRANTY; without even the implied warranty of
21866MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
21867Public License for more details.
21868
21869You should have received a copy of the GNU General Public License along
21870with this program.  If not, see <https://www.gnu.org/licenses/>.
21871
21872As a special exception, the respective Autoconf Macro's copyright owner
21873gives unlimited permission to copy, distribute and modify the configure
21874scripts that are the output of Autoconf when processing the Macro.  You
21875need not follow the terms of the GNU General Public License when using
21876or distributing such scripts, even though portions of the text of the
21877Macro appear in them.  The GNU General Public License (GPL) does govern
21878all other use of the material that constitutes the Autoconf Macro.
21879
21880This special exception to the GPL applies to versions of the Autoconf
21881Macro released by the Autoconf Archive.  When you make and distribute a
21882modified version of the Autoconf Macro, you may extend this special
21883exception to the GPL to apply to your modified version as well.
21884
21885
21886File: autoconf-archive.info,  Node: ax_patch_libtool_changing_cmds_ifs,  Next: ax_path_bdb,  Prev: ax_openmp,  Up: The Macros
21887
21888ax_patch_libtool_changing_cmds_ifs
21889==================================
21890
21891Synopsis
21892********
21893
21894     AX_PATCH_LIBTOOL_CHANGING_CMDS_IFS
21895
21896Description
21897***********
21898
21899Do a 'grep "^[a-z]*_cmds=" libtool' - these are "subroutines" encoded by
21900libtool.m4 into the generated libtool script.  Since libtool assumes
21901that there is no subroutine-facility in the shell invoked, these are not
21902actually subroutines, but actually a "list of commands".  This looks
21903correct, but the command separator is not ";" - it is "~", the tilde
21904character.
21905
21906Now, grep again, look for 'grep 'IFS="~"' libtool' and see that libtool
21907scripting uses a for-loop on the command-list, i.e for cmd in
21908$some_cmds.  This works correctly when the IFS was modified, where IFS
21909stands for "input field separator" which is whitespace characters by
21910default.
21911
21912The problem: I have some real-world filesystems where there are
21913directories using "~" inside of them, to be more to the point, it is a
21914change control management software that uses source repositories of the
21915form "path/master/project~version/src" and libtool has the tendency to
21916resolve any symlinks so that it will paste such path into the $_cmds
21917script when it gets evaluated a number of times.
21918
21919This script is a workaround: I do not know why the ";" was not chosen as
21920the IFS, perhaps it has some weird interactions in some shells since it
21921is also the default record separator being one time bigger in context
21922than the argument separator.  I have made good success however with
21923using "?"  as the IFS, since there is no path-name that uses a question
21924mark, and there is no _cmds ever around that uses "?"  for some thing.
21925
21926Oh yes, there are some usages of "*" to match shell-wise at the output
21927file of some tool, so that might have triggered the choice to not use
21928"?"  in the first place - but in real life it never occurred that a
21929_cmds script was created that has gone to use "?".  And so, this
21930ac-macro exchanges the s/~/?/g in configured _cmds variables and
21931replaces all occurrences of s/IFS="~"/IFS="?"/ - and it all works smooth
21932now.
21933
21934Source Code
21935***********
21936
21937Download the latest version of 'ax_patch_libtool_changing_cmds_ifs.m4'
21938(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_patch_libtool_changing_cmds_ifs.m4)
21939or browse the macro's revision history
21940(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_patch_libtool_changing_cmds_ifs.m4).
21941
21942License
21943*******
21944
21945Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
21946
21947Copying and distribution of this file, with or without modification, are
21948permitted in any medium without royalty provided the copyright notice
21949and this notice are preserved.  This file is offered as-is, without any
21950warranty.
21951
21952
21953File: autoconf-archive.info,  Node: ax_path_bdb,  Next: ax_path_generic,  Prev: ax_patch_libtool_changing_cmds_ifs,  Up: The Macros
21954
21955ax_path_bdb
21956===========
21957
21958Synopsis
21959********
21960
21961     AX_PATH_BDB([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
21962
21963Description
21964***********
21965
21966This macro finds the latest version of Berkeley DB on the system, and
21967ensures that the header file and library versions match.  If
21968MINIMUM-VERSION is specified, it will ensure that the library found is
21969at least that version.
21970
21971It determines the name of the library as well as the path to the header
21972file and library.  It will check both the default environment as well as
21973the default Berkeley DB install location.  When found, it sets BDB_LIBS,
21974BDB_CPPFLAGS, and BDB_LDFLAGS to the necessary values to add to LIBS,
21975CPPFLAGS, and LDFLAGS, as well as setting BDB_VERSION to the version
21976found.  HAVE_DB_H is defined also.
21977
21978The option -with-bdb-dir=DIR can be used to specify a specific Berkeley
21979DB installation to use.
21980
21981An example of it's use is:
21982
21983       AX_PATH_BDB([3],[
21984         LIBS="$BDB_LIBS $LIBS"
21985         LDFLAGS="$BDB_LDFLAGS $LDFLAGS"
21986         CPPFLAGS="$CPPFLAGS $BDB_CPPFLAGS"
21987       ])
21988
21989which will locate the latest version of Berkeley DB on the system, and
21990ensure that it is version 3.0 or higher.
21991
21992Details: This macro does not use either AC_CHECK_HEADERS or AC_CHECK_LIB
21993because, first, the functions inside the library are sometimes renamed
21994to contain a version code that is only available from the db.h on the
21995system, and second, because it is common to have multiple db.h and libdb
21996files on a system it is important to make sure the ones being used
21997correspond to the same version.  Additionally, there are many different
21998possible names for libdb when installed by an OS distribution, and these
21999need to be checked if db.h does not correspond to libdb.
22000
22001When cross compiling, only header versions are verified since it would
22002be difficult to check the library version.  Additionally the default
22003Berkeley DB installation locations /usr/local/BerkeleyDB* are not
22004searched for higher versions of the library.
22005
22006The format for the list of library names to search came from the Cyrus
22007IMAP distribution, although they are generated dynamically here, and
22008only for the version found in db.h.
22009
22010The macro AX_COMPARE_VERSION is required to use this macro, and should
22011be available from the Autoconf Macro Archive.
22012
22013The author would like to acknowledge the generous and valuable feedback
22014from Guido Draheim, without which this macro would be far less robust,
22015and have poor and inconsistent cross compilation support.
22016
22017Changes:
22018
22019      1/5/05 applied patch from Rafal Rzepecki to eliminate compiler
22020             warning about unused variable, argv
22021
22022Source Code
22023***********
22024
22025Download the latest version of 'ax_path_bdb.m4'
22026(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_bdb.m4)
22027or browse the macro's revision history
22028(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_bdb.m4).
22029
22030License
22031*******
22032
22033Copyright (C) 2008 Tim Toolan <toolan@ele.uri.edu>
22034
22035Copying and distribution of this file, with or without modification, are
22036permitted in any medium without royalty provided the copyright notice
22037and this notice are preserved.  This file is offered as-is, without any
22038warranty.
22039
22040
22041File: autoconf-archive.info,  Node: ax_path_generic,  Next: ax_path_lib_pcre,  Prev: ax_path_bdb,  Up: The Macros
22042
22043ax_path_generic
22044===============
22045
22046Synopsis
22047********
22048
22049     AX_PATH_GENERIC(LIBRARY,[MINIMUM-VERSION,[SED-EXPR-EXTRACTOR]],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND],[CONFIG-SCRIPTS],[CFLAGS-ARG],[LIBS-ARG])
22050
22051Description
22052***********
22053
22054Runs the LIBRARY-config script and defines LIBRARY_CFLAGS and
22055LIBRARY_LIBS unless the user had predefined them in the environment.
22056
22057The script must support '-cflags' and '-libs' args.  If MINIMUM-VERSION
22058is specified, the script must also support the '-version' arg.  If the
22059'-with-library-[exec-]prefix' arguments to ./configure are given, it
22060must also support '-prefix' and '-exec-prefix'.  Preferably use
22061CONFIG-SCRIPTS as config script, CFLAGS-ARG instead of '-cflags' and
22062LIBS-ARG instead of '-libs', if given.
22063
22064The SED-EXPR-EXTRACTOR parameter represents the expression used in sed
22065to extract the version number.  Use it if your 'foo-config -version'
22066dumps something like 'Foo library v1.0.0 (alfa)' instead of '1.0.0'.
22067
22068The macro respects LIBRARY_CONFIG, LIBRARY_CFLAGS and LIBRARY_LIBS
22069variables.  If the first one is defined, it specifies the name of the
22070config script to use.  If the latter two are defined, the script is not
22071ran at all and their values are used instead (if only one of them is
22072defined, the empty value of the remaining one is still used).
22073
22074Example:
22075
22076       AX_PATH_GENERIC(Foo, 1.0.0)
22077
22078would run 'foo-config -version' and check that it is at least 1.0.0, if
22079successful the following variables would be defined and substituted:
22080
22081       FOO_CFLAGS to `foo-config --cflags`
22082       FOO_LIBS   to `foo-config --libs`
22083
22084Example:
22085
22086       AX_PATH_GENERIC([Bar],,,[
22087          AC_MSG_ERROR([Cannot find Bar library])
22088       ])
22089
22090would check for bar-config program, defining and substituting the
22091following variables:
22092
22093       BAR_CFLAGS to `bar-config --cflags`
22094       BAR_LIBS   to `bar-config --libs`
22095
22096Example:
22097
22098       ./configure BAZ_LIBS=/usr/lib/libbaz.a
22099
22100would link with a static version of baz library even if 'baz-config
22101-libs' returns just "-lbaz" that would normally result in using the
22102shared library.
22103
22104This macro is a rearranged version of AC_PATH_GENERIC from Angus Lees.
22105
22106Source Code
22107***********
22108
22109Download the latest version of 'ax_path_generic.m4'
22110(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_generic.m4)
22111or browse the macro's revision history
22112(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_generic.m4).
22113
22114License
22115*******
22116
22117Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
22118
22119Copying and distribution of this file, with or without modification, are
22120permitted in any medium without royalty provided the copyright notice
22121and this notice are preserved.  This file is offered as-is, without any
22122warranty.
22123
22124
22125File: autoconf-archive.info,  Node: ax_path_lib_pcre,  Next: ax_path_milter,  Prev: ax_path_generic,  Up: The Macros
22126
22127ax_path_lib_pcre
22128================
22129
22130Synopsis
22131********
22132
22133     AX_PATH_LIB_PCRE [(A/NA)]
22134
22135Description
22136***********
22137
22138check for pcre lib and set PCRE_LIBS and PCRE_CFLAGS accordingly.
22139
22140also provide -with-pcre option that may point to the $prefix of the pcre
22141installation - the macro will check $pcre/include and $pcre/lib to
22142contain the necessary files.
22143
22144the usual two ACTION-IF-FOUND / ACTION-IF-NOT-FOUND are supported and
22145they can take advantage of the LIBS/CFLAGS additions.
22146
22147Source Code
22148***********
22149
22150Download the latest version of 'ax_path_lib_pcre.m4'
22151(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_lib_pcre.m4)
22152or browse the macro's revision history
22153(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_lib_pcre.m4).
22154
22155License
22156*******
22157
22158Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
22159
22160Copying and distribution of this file, with or without modification, are
22161permitted in any medium without royalty provided the copyright notice
22162and this notice are preserved.  This file is offered as-is, without any
22163warranty.
22164
22165
22166File: autoconf-archive.info,  Node: ax_path_milter,  Next: ax_path_missing,  Prev: ax_path_lib_pcre,  Up: The Macros
22167
22168ax_path_milter
22169==============
22170
22171Synopsis
22172********
22173
22174     AX_PATH_MILTER([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
22175
22176Description
22177***********
22178
22179This macro tries to automatically find the library libmilter.a and the
22180header file "libmilter/mfapi.h", which are required when compiling a
22181milter for Sendmail.  When successful, it sets the output variable
22182MILTER_LIBS to "-lmilter", MILTER_LDFLAGS to contain an -Lpathtolib
22183option, and MILTER_CPPFLAGS to contain an -Ipathtoinclude option, if
22184they are necessary.
22185
22186The easiest way to use this macro is something like:
22187
22188       AX_PATH_MILTER([8.12],[
22189         LIBS="$MILTER_LIBS $LIBS"
22190         LDFLAGS="$MILTER_LDFLAGS $LDFLAGS"
22191         CPPFLAGS="$CPPFLAGS $MILTER_CPPFLAGS"
22192       ],[
22193         AC_MSG_ERROR([required milter library and header not found])
22194       ])
22195
22196If the macro is successful, it just adds any flags to the necessary
22197environment.  If it is not successful, it would likely be a fatal error,
22198because if an application is linking with libmilter.a, it is probably
22199because it is a milter.
22200
22201There are two optional "-with" options for configure which are added.
22202If they are specified, they override any searching that is done.  They
22203are:
22204
22205       --with-sendmail-base=<DIR>  This option is used to explicitly
22206              specify the base of the sendmail distribution.
22207
22208       --with-sendmail-obj=<DIR>   The option is used to explicitly specify
22209              the "obj.*" subdirectory in the sendmail distribution
22210              that should be used.
22211
22212When sendmail-base is not specified, the current environment is first
22213tested to see if the header and library are available, and if so
22214MILTER_LDFLAGS and MILTER_CPPFLAGS are left empty.
22215
22216There are two places that are searched for the sendmail base directory.
22217The first location is one directory down from the current directory.  It
22218checks if there is a directory of the form sendmail-8.1*, limited to
22219version 8.12.x or higher, then chooses the directory with the highest
22220version number.  If that method does not succeed, it then looks in the
22221file /etc/mail/sendmail.cf for the directory it was built from, and uses
22222the base of that distribution.  If neither of these methods work, then
22223it fails.
22224
22225There are two methods for finding the "obj.*" directory when it is not
22226specified.  The first is to try to run sendmail's Build program with the
22227-M option which will print out the name of the obj.  directory for the
22228tool in the directory where it is run from.  If this does not work, is
22229looks for the newest directory of the form "obj.*" in the sendmail base
22230directory.
22231
22232Two addition output variables that are defined, whether or not the files
22233are found are SENDMAIL_BASE_DIR and SENDMAIL_OBJ_DIR, which are the
22234suspected location of the sendmail base directory and obj.*
22235subdirectory.
22236
22237NOTE: POSIX threads MUST be configured BEFORE this function is called or
22238it will not find libmilter.a even if it exists.  The easiest way is to
22239use the AX_PTHREAD macro by Steven G. Johnson and Alejandro Forero
22240Cuervo which is available from the Autoconf Macro Archive.
22241
22242Source Code
22243***********
22244
22245Download the latest version of 'ax_path_milter.m4'
22246(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_milter.m4)
22247or browse the macro's revision history
22248(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_milter.m4).
22249
22250License
22251*******
22252
22253Copyright (C) 2008 Tim Toolan <toolan@ele.uri.edu>
22254
22255Copying and distribution of this file, with or without modification, are
22256permitted in any medium without royalty provided the copyright notice
22257and this notice are preserved.  This file is offered as-is, without any
22258warranty.
22259
22260
22261File: autoconf-archive.info,  Node: ax_path_missing,  Next: ax_perl_ext,  Prev: ax_path_milter,  Up: The Macros
22262
22263ax_path_missing
22264===============
22265
22266Synopsis
22267********
22268
22269     AX_PATH_MISSING(VARIABLE, PROG-TO-CHECK-FOR, WARNING-IF-NOT-FOUND, PATH)
22270
22271Description
22272***********
22273
22274Check whether program PROG-TO-CHECK-FOR exists in path.  If it is found,
22275set VARIABLE to the full path of PROG-TO-CHECK-FOR, otherwise warn using
22276the string WARNING-IF-NOT-FOUND and set VARIABLE to the full path of the
22277Automake missing script with PROG-TO-CHECK-FOR as the command to run.
22278
22279A typical use is the following:
22280
22281       AX_PATH_MISSING([AUTOGEN],[autogen],[autogen seems missing ...])
22282
22283This macro is the combination of AC_PATH_PROG and AX_MISSING_PROG. If
22284you do not want to run AC_PATH_PROG, simply use AX_MISSING_PROG or
22285AM_MISSING.
22286
22287Source Code
22288***********
22289
22290Download the latest version of 'ax_path_missing.m4'
22291(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_path_missing.m4)
22292or browse the macro's revision history
22293(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_path_missing.m4).
22294
22295License
22296*******
22297
22298Copyright (C) 2008 Noah Slater <nslater@bytesexual.org>
22299Copyright (C) 2008 Francesco Salvestrini <salvestrini@sourceforge.net>
22300
22301Copying and distribution of this file, with or without modification, are
22302permitted in any medium without royalty provided the copyright notice
22303and this notice are preserved.  This file is offered as-is, without any
22304warranty.
22305
22306
22307File: autoconf-archive.info,  Node: ax_perl_ext,  Next: ax_perl_ext_flags,  Prev: ax_path_missing,  Up: The Macros
22308
22309ax_perl_ext
22310===========
22311
22312Synopsis
22313********
22314
22315     AX_PERL_EXT
22316
22317Description
22318***********
22319
22320Fetches the linker flags and C compiler flags for compiling and linking
22321Perl binary extensions.  The macro substitutes PERL_EXT_PREFIX,
22322PERL_EXT_INC, PERL_EXT_LIB, PERL_EXT_CPPFLAGS, PERL_EXT_LDFLAGS and
22323PERL_EXT_DLEXT variables if Perl executable was found.  It also checks
22324the same variables before trying to retrieve them from the Perl
22325configuration.
22326
22327       PERL_EXT_PREFIX: top-level perl installation path (--prefix)
22328       PERL_EXT_INC: XS include directory
22329       PERL_EXT_LIB: Perl extensions destination directory
22330       PERL_EXT_CPPFLAGS: C preprocessor flags to compile extensions
22331       PERL_EXT_LDFLAGS: linker flags to build extensions
22332       PERL_EXT_DLEXT: extensions suffix for perl modules (e.g. ".so")
22333
22334Examples:
22335
22336       AX_PERL_EXT
22337       if test x"$PERL" = x; then
22338          AC_ERROR(["cannot find Perl"])
22339       fi
22340
22341Source Code
22342***********
22343
22344Download the latest version of 'ax_perl_ext.m4'
22345(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_perl_ext.m4)
22346or browse the macro's revision history
22347(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_perl_ext.m4).
22348
22349License
22350*******
22351
22352Copyright (C) 2011 Stanislav Sedov <stas@FreeBSD.org>
22353Copyright (C) 2014 Thomas Klausner <tk@giga.or.at>
22354
22355Redistribution and use in source and binary forms, with or without
22356modification, are permitted provided that the following conditions are
22357met:
22358
223591.  Redistributions of source code must retain the above copyright
22360notice, this list of conditions and the following disclaimer.
22361
223622.  Redistributions in binary form must reproduce the above copyright
22363notice, this list of conditions and the following disclaimer in the
22364documentation and/or other materials provided with the distribution.
22365
22366THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY
22367EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22368IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22369PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
22370LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22371CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22372SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22373INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
22374CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
22375ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
22376THE POSSIBILITY OF SUCH DAMAGE.
22377
22378
22379File: autoconf-archive.info,  Node: ax_perl_ext_flags,  Next: ax_perl_module_version,  Prev: ax_perl_ext,  Up: The Macros
22380
22381ax_perl_ext_flags
22382=================
22383
22384Synopsis
22385********
22386
22387     AX_PERL_EXT_FLAGS([CFLAGS-VARIABLE], [LDFLAGS-VARIABLE], [EXTRA-MODULES])
22388     AX_PERL_EXT_CFLAGS([CFLAGS-VARIABLE])
22389     AX_PERL_EXT_LDFLAGS([LDFLAGS-VARIABLE], [EXTRA-MODULES])
22390
22391Description
22392***********
22393
22394Fetches the linker flags and C compiler flags for compiling and linking
22395programs that embed a Perl interpreter.  If the EXTRA-MODULES argument
22396is submitted, it is a space separated list of extra modules to link.
22397The flags will be stored in the provided variables.
22398
22399Examples:
22400
22401       AX_PERL_EXT_FLAGS([PERLXS_CFLAGS], [PERLXS_LDFLAGS])
22402       AC_SUBST([PERLXS_CFLAGS])
22403       AC_SUBST([PERLXS_LDFLAGS])
22404
22405       AX_PERL_EXT_CFLAGS([PERLXS_CFLAGS])
22406       AC_SUBST([PERLXS_CFLAGS])
22407
22408       AX_PERL_EXT_LDFLAGS([PERLXS_LDFLAGS], [-std Socket])
22409
22410Source Code
22411***********
22412
22413Download the latest version of 'ax_perl_ext_flags.m4'
22414(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_perl_ext_flags.m4)
22415or browse the macro's revision history
22416(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_perl_ext_flags.m4).
22417
22418License
22419*******
22420
22421Copyright (C) 2009 Mats Kindahl of Sun Microsystems <mats@sun.com>
22422
22423Redistribution and use in source and binary forms, with or without
22424modification, are permitted provided that the following conditions are
22425met:
22426
224271.  Redistributions of source code must retain the above copyright
22428notice, this list of conditions and the following disclaimer.
22429
224302.  Redistributions in binary form must reproduce the above copyright
22431notice, this list of conditions and the following disclaimer in the
22432documentation and/or other materials provided with the distribution.
22433
224343.  The name of the author may not be used to endorse or promote
22435products derived from this software without specific prior written
22436permission.
22437
22438THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
22439IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
22440WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22441DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
22442INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22443(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22444SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22445HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
22446STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
22447ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
22448POSSIBILITY OF SUCH DAMAGE.
22449
22450
22451File: autoconf-archive.info,  Node: ax_perl_module_version,  Next: ax_pgsql_priv_root,  Prev: ax_perl_ext_flags,  Up: The Macros
22452
22453ax_perl_module_version
22454======================
22455
22456Synopsis
22457********
22458
22459     AX_PERL_MODULE_VERSION([MODULE VERSION], [ACTION-IF-TRUE], [ACTION-IF-FALSE])
22460
22461Description
22462***********
22463
22464Checks to see if the list of 'Module Version' are available in the
22465system.  If all the modules in the list are available ACTION-IF-TRUE is
22466executed.  Case one module is not available ACTION-IF-FALSE is executed
22467and the macro execution is aborted.  NOTE: Perl is needed.
22468
22469Example:
22470
22471       AX_PERL_MODULE_VERSION(CGI::Test 0.104 CGI::Ajax 0.694, ,
22472          AC_MSG_ERROR(Need some Perl modules))
22473
22474Source Code
22475***********
22476
22477Download the latest version of 'ax_perl_module_version.m4'
22478(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_perl_module_version.m4)
22479or browse the macro's revision history
22480(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_perl_module_version.m4).
22481
22482License
22483*******
22484
22485Copyright (C) 2009 Marco Gomes <mpglesi@gmail.com>
22486Copyright (C) 2009 Ruben Fonseca <fonseka@gmail.com>
22487
22488Copying and distribution of this file, with or without modification, are
22489permitted in any medium without royalty provided the copyright notice
22490and this notice are preserved.  This file is offered as-is, without any
22491warranty.
22492
22493
22494File: autoconf-archive.info,  Node: ax_pgsql_priv_root,  Next: ax_pkg_check_modules,  Prev: ax_perl_module_version,  Up: The Macros
22495
22496ax_pgsql_priv_root
22497==================
22498
22499Synopsis
22500********
22501
22502     AX_PGSQL_PRIV_ROOT(DB, USER, [HOST], [PASSWORD], [ACTION_IF_FAILED], [ACTION_IF_OK])
22503
22504Description
22505***********
22506
22507This macro checks whether the given PostgreSQL user has root privileges
22508(can create and drop databases) It is recommended to first call
22509AX_CHECK_PGSQL_DB, this makes it easier to locate the cause of error.
22510The macro AX_PROG_PGCLIENT is required by this one.
22511
22512The variable $pgclient_root_call is set for later use in Makefiles, if
22513you'd like to make use of this, you must do
22514
22515       AC_SUBST(pgclient_root_call)
22516
22517after having called AX_CHECK_PGSQL_PRIV_ROOT. You can then do something
22518like the following in your Makefile.am:
22519
22520       @pgclient_root_call@ -f file.sql
22521
22522If you want the user to set the data, you should support something like
22523these configure options:
22524
22525       AC_ARG_WITH(pgsql-host,
22526               [  --with-pgsql-host=HOST               server is running on HOST @<:@local socket@:>@],
22527               [pg_host=$withval], [pg_host=])
22528
22529       AC_ARG_WITH(pgsql-db,
22530               [  --with-pgsql-db=DBNAME               use database DBNAME @<:@test@:>@],
22531               [pg_db=$withval], [pg_db=test])
22532
22533       AC_ARG_WITH(pgsql-root-user,
22534               [  --with-pgsql-root-user=USER          use user USER, must have root (all) privileges @<:@postgres@:>@],
22535               [pg_root_user=$withval], [pg_root_user=postgres])
22536
22537       AC_ARG_WITH(pgsql-password,
22538               [  --with-pgsql-password=PASSWORD       use password PASSWORD @<:@none@:>@],
22539               [pg_password=$withval], [pg_password=""])
22540
22541You can then call the macro like this:
22542
22543       AX_CHECK_PGSQL_PRIV_ROOT([$pg_db], [$pg_root_user], [$pg_host], [$pg_password], [AC_MSG_ERROR([We need root privileges on database!])])
22544
22545Source Code
22546***********
22547
22548Download the latest version of 'ax_pgsql_priv_root.m4'
22549(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pgsql_priv_root.m4)
22550or browse the macro's revision history
22551(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pgsql_priv_root.m4).
22552
22553License
22554*******
22555
22556Copyright (C) 2008 Moritz Sinn <moritz@freesources.org>
22557
22558This program is free software; you can redistribute it and/or modify it
22559under the terms of the GNU General Public License as published by the
22560Free Software Foundation; either version 2 of the License, or (at your
22561option) any later version.
22562
22563This program is distributed in the hope that it will be useful, but
22564WITHOUT ANY WARRANTY; without even the implied warranty of
22565MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
22566Public License for more details.
22567
22568You should have received a copy of the GNU General Public License along
22569with this program.  If not, see <https://www.gnu.org/licenses/>.
22570
22571As a special exception, the respective Autoconf Macro's copyright owner
22572gives unlimited permission to copy, distribute and modify the configure
22573scripts that are the output of Autoconf when processing the Macro.  You
22574need not follow the terms of the GNU General Public License when using
22575or distributing such scripts, even though portions of the text of the
22576Macro appear in them.  The GNU General Public License (GPL) does govern
22577all other use of the material that constitutes the Autoconf Macro.
22578
22579This special exception to the GPL applies to versions of the Autoconf
22580Macro released by the Autoconf Archive.  When you make and distribute a
22581modified version of the Autoconf Macro, you may extend this special
22582exception to the GPL to apply to your modified version as well.
22583
22584
22585File: autoconf-archive.info,  Node: ax_pkg_check_modules,  Next: ax_pkg_mico,  Prev: ax_pgsql_priv_root,  Up: The Macros
22586
22587ax_pkg_check_modules
22588====================
22589
22590Synopsis
22591********
22592
22593     AX_PKG_CHECK_MODULES(PREFIX, PUBLIC-MODULES, PRIVATE-MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [PUBLIC-VARIABLE], [PRIVATE-VARIABLE])
22594
22595Description
22596***********
22597
22598A wrapper around PKG_CHECK_MODULES which splits the list of modules into
22599public and private dependencies, and produces two variables listing the
22600dependencies across all invocations of AX_PKG_CHECK_MODULES. These two
22601variables are exposed via AC_SUBST, and should be used in a pkg-config
22602file as the substituted values for Requires and Requires.private.
22603
22604The PREFIX, PUBLIC-MODULES and PRIVATE-MODULES arguments should be
22605specified as for PKG_CHECK_MODULES, with the concatenation of
22606PUBLIC-MODULES and PRIVATE-MODULES equaling the LIST-OF-MODULES from
22607PKG_CHECK_MODULES. The ACTION-IF-FOUND and ACTION-IF-NOT-FOUND arguments
22608are optional, and should also be specified as for PKG_CHECK_MODULES.
22609ACTION-IF-FOUND is evaluated if the full LIST-OF-MODULES is found;
22610ACTION-IF-NOT-FOUND similarly.
22611
22612PUBLIC-VARIABLE defaults to AX_PACKAGE_REQUIRES, and PRIVATE-VARIABLE
22613defaults to AX_PACKAGE_REQUIRES_PRIVATE. Both variables are AC_SUBST-ed
22614by this macro.
22615
22616For example:
22617
22618       AX_PKG_CHECK_MODULES([GLIB],[glib-2.0 gio-2.0],[gthread-2.0])
22619       AX_PKG_CHECK_MODULES([DBUS],[],[dbus-glib-1 >= 0.98 dbus-1])
22620
22621results in the substitutions:
22622
22623       AX_PACKAGE_REQUIRES="glib-2.0 gio-2.0"
22624       AX_PACKAGE_REQUIRES_PRIVATE="gthread-2.0 dbus-glib-1 >= 0.98 dbus-1"
22625
22626and can be used with a template pkg-config file (.pc.in) using:
22627
22628       Requires: @AX_PACKAGE_REQUIRES@
22629       Requires.private: @AX_PACKAGE_REQUIRES_PRIVATE@
22630
22631Source Code
22632***********
22633
22634Download the latest version of 'ax_pkg_check_modules.m4'
22635(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pkg_check_modules.m4)
22636or browse the macro's revision history
22637(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pkg_check_modules.m4).
22638
22639License
22640*******
22641
22642Copyright (C) 2014 Philip Withnall <philip@tecnocode.co.uk>
22643
22644Copying and distribution of this file, with or without modification, are
22645permitted in any medium without royalty provided the copyright notice
22646and this notice are preserved.  This file is offered as-is, without any
22647warranty.
22648
22649
22650File: autoconf-archive.info,  Node: ax_pkg_mico,  Next: ax_pkg_swig,  Prev: ax_pkg_check_modules,  Up: The Macros
22651
22652ax_pkg_mico
22653===========
22654
22655Synopsis
22656********
22657
22658     AX_PKG_MICO([X.X.X optional required])
22659
22660Description
22661***********
22662
22663This macro searches for a MICO installation on your system.  MICO (Mico
22664Is COrba) installs the file 'mico-setup.sh' under MICO_INSTALL_BASE/lib,
22665where MICO_INSTALL_BASE is probably /usr/local or /usr.  If nothing was
22666specified when calling configure or just -with-mico, it searches in
22667$prefix/lib:/usr/local/lib:/usr/lib The argument of s-with-mico
22668specifies the full pathname of the mico-setup.sh file.  For instance
22669-with-mico=/usr/local/mico-2.2.6/lib/mico-setup.sh.
22670
22671If the version argument is given (e.g.  2.2.6), AX_PKG_MICO checks that
22672the mico package is this version number or higher.
22673
22674The other optional argument to AX_PKG_MICO are 'optional' and
22675'required'.  by default, placing AX_PKG_MICO in your configure.in does
22676not enforce using mico, if it is not found on the system.  If MICO
22677existence is critical for the building of your package, then you
22678probably want to specify something like "AX_PKG_MICO(2.2.6 required)".
22679Then, even if the -with-mico was not specified on the command line of
22680the configure script, an error will be raised if mico was not found.
22681
22682If the mico package is not found, abort configuration with error
22683message.
22684
22685It defines the symbol MICOSETUP, MICOVERSION, MICOSHAREDDIR
22686MICO_INCLUDE, MICO_LIB and MICO_CXX if mico is found.  In addition, the
22687mico script mico-c++ (set in (MICO_CXX) is scaned for a string match
22688"-I.*ministl" and if foundMICO_USE_MINISTL is set to 1, otherwise to 0.
22689
22690Example of use of these variables in your Makefile.in:
22691
22692       INCLUDES += @MICO_INCLUDE@
22693       LDFLAGS += @MICO_LIB@
22694
22695Source Code
22696***********
22697
22698Download the latest version of 'ax_pkg_mico.m4'
22699(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pkg_mico.m4)
22700or browse the macro's revision history
22701(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pkg_mico.m4).
22702
22703License
22704*******
22705
22706Copyright (C) 2008 Tal Shalif <tal@shalif.com>
22707
22708Copying and distribution of this file, with or without modification, are
22709permitted in any medium without royalty provided the copyright notice
22710and this notice are preserved.  This file is offered as-is, without any
22711warranty.
22712
22713
22714File: autoconf-archive.info,  Node: ax_pkg_swig,  Next: ax_prefix_config_h,  Prev: ax_pkg_mico,  Up: The Macros
22715
22716ax_pkg_swig
22717===========
22718
22719Synopsis
22720********
22721
22722     AX_PKG_SWIG([major.minor.micro], [action-if-found], [action-if-not-found])
22723
22724Description
22725***********
22726
22727This macro searches for a SWIG installation on your system.  If found,
22728then SWIG is AC_SUBST'd; if not found, then $SWIG is empty.  If SWIG is
22729found, then SWIG_LIB is set to the SWIG library path, and AC_SUBST'd.
22730
22731You can use the optional first argument to check if the version of the
22732available SWIG is greater than or equal to the value of the argument.
22733It should have the format: N[.N[.N]] (N is a number between 0 and 999.
22734Only the first N is mandatory.)  If the version argument is given (e.g.
227351.3.17), AX_PKG_SWIG checks that the swig package is this version number
22736or higher.
22737
22738As usual, action-if-found is executed if SWIG is found, otherwise
22739action-if-not-found is executed.
22740
22741In configure.in, use as:
22742
22743       AX_PKG_SWIG(1.3.17, [], [ AC_MSG_ERROR([SWIG is required to build..]) ])
22744       AX_SWIG_ENABLE_CXX
22745       AX_SWIG_MULTI_MODULE_SUPPORT
22746       AX_SWIG_PYTHON
22747
22748Source Code
22749***********
22750
22751Download the latest version of 'ax_pkg_swig.m4'
22752(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pkg_swig.m4)
22753or browse the macro's revision history
22754(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pkg_swig.m4).
22755
22756License
22757*******
22758
22759Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
22760Copyright (C) 2008 Alan W. Irwin
22761Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
22762Copyright (C) 2008 Andrew Collier
22763Copyright (C) 2011 Murray Cumming <murrayc@openismus.com>
22764
22765This program is free software; you can redistribute it and/or modify it
22766under the terms of the GNU General Public License as published by the
22767Free Software Foundation; either version 2 of the License, or (at your
22768option) any later version.
22769
22770This program is distributed in the hope that it will be useful, but
22771WITHOUT ANY WARRANTY; without even the implied warranty of
22772MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
22773Public License for more details.
22774
22775You should have received a copy of the GNU General Public License along
22776with this program.  If not, see <https://www.gnu.org/licenses/>.
22777
22778As a special exception, the respective Autoconf Macro's copyright owner
22779gives unlimited permission to copy, distribute and modify the configure
22780scripts that are the output of Autoconf when processing the Macro.  You
22781need not follow the terms of the GNU General Public License when using
22782or distributing such scripts, even though portions of the text of the
22783Macro appear in them.  The GNU General Public License (GPL) does govern
22784all other use of the material that constitutes the Autoconf Macro.
22785
22786This special exception to the GPL applies to versions of the Autoconf
22787Macro released by the Autoconf Archive.  When you make and distribute a
22788modified version of the Autoconf Macro, you may extend this special
22789exception to the GPL to apply to your modified version as well.
22790
22791
22792File: autoconf-archive.info,  Node: ax_prefix_config_h,  Next: ax_print_to_file,  Prev: ax_pkg_swig,  Up: The Macros
22793
22794ax_prefix_config_h
22795==================
22796
22797Synopsis
22798********
22799
22800     AX_PREFIX_CONFIG_H [(OUTPUT-HEADER [,PREFIX [,ORIG-HEADER]])]
22801
22802Description
22803***********
22804
22805Generate an installable config.h.
22806
22807A package should not normally install its config.h as a system header,
22808but if it must, this macro can be used to avoid namespace pollution by
22809making a copy of config.h with a prefix added to all the macro names.
22810
22811Each "#define SOMEDEF" line of the configuration header has the given
22812prefix added, in the same case as the first character of the macro name.
22813
22814Defaults:
22815
22816       OUTPUT-HEADER = $PACKAGE-config.h
22817       PREFIX = $PACKAGE
22818       ORIG-HEADER, from AM_CONFIG_HEADER(config.h)
22819
22820Your configure.ac script should contain both macros in this order.
22821
22822Example:
22823
22824       AC_INIT(config.h.in)        # config.h.in as created by "autoheader"
22825       AM_INIT_AUTOMAKE(testpkg, 0.1.1)    # makes #undef VERSION and PACKAGE
22826       AM_CONFIG_HEADER(config.h)          # prep config.h from config.h.in
22827       AX_PREFIX_CONFIG_H(mylib/_config.h) # prep mylib/_config.h from it..
22828       AC_MEMORY_H                         # makes "#undef NEED_MEMORY_H"
22829       AC_C_CONST_H                        # makes "#undef const"
22830       AC_OUTPUT(Makefile)                 # creates the "config.h" now
22831                                           # and also mylib/_config.h
22832
22833If the argument to AX_PREFIX_CONFIG_H would have been omitted then the
22834default output file would have been called simply "testpkg-config.h",
22835but even under the name "mylib/_config.h" it contains prefix-defines
22836like
22837
22838       #ifndef TESTPKG_VERSION
22839       #define TESTPKG_VERSION "0.1.1"
22840       #endif
22841       #ifndef TESTPKG_NEED_MEMORY_H
22842       #define TESTPKG_NEED_MEMORY_H 1
22843       #endif
22844       #ifndef _testpkg_const
22845       #define _testpkg_const _const
22846       #endif
22847
22848and this "mylib/_config.h" can be installed along with other header
22849files, which is most convenient when creating a shared library (that has
22850some headers) whose functionality depends on features detected at
22851compile-time.  No need to invent some "mylib-confdefs.h.in" manually.
22852
22853Note that some AC_DEFINEs that end up in the config.h file are actually
22854self-referential - e.g.  AC_C_INLINE, AC_C_CONST, and the AC_TYPE_OFF_T
22855say that they "will define inline|const|off_t if the system does not do
22856it by itself".  You might want to clean up about these - consider an
22857extra mylib/conf.h that reads something like:
22858
22859       #include <mylib/_config.h>
22860       #ifndef _testpkg_const
22861       #define _testpkg_const const
22862       #endif
22863
22864and then start using _testpkg_const in the header files.  That is also a
22865good thing to differentiate whether some library-user has starting to
22866take up with a different compiler, so perhaps it could read something
22867like this:
22868
22869       #ifdef _MSC_VER
22870       #include <mylib/_msvc.h>
22871       #else
22872       #include <mylib/_config.h>
22873       #endif
22874       #ifndef _testpkg_const
22875       #define _testpkg_const const
22876       #endif
22877
22878Source Code
22879***********
22880
22881Download the latest version of 'ax_prefix_config_h.m4'
22882(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prefix_config_h.m4)
22883or browse the macro's revision history
22884(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prefix_config_h.m4).
22885
22886License
22887*******
22888
22889Copyright (C) 2014 Reuben Thomas <rrt@sc3d.org>
22890Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
22891Copyright (C) 2008 Marten Svantesson
22892Copyright (C) 2008 Gerald Point <Gerald.Point@labri.fr>
22893
22894This program is free software; you can redistribute it and/or modify it
22895under the terms of the GNU General Public License as published by the
22896Free Software Foundation; either version 3 of the License, or (at your
22897option) any later version.
22898
22899This program is distributed in the hope that it will be useful, but
22900WITHOUT ANY WARRANTY; without even the implied warranty of
22901MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
22902Public License for more details.
22903
22904You should have received a copy of the GNU General Public License along
22905with this program.  If not, see <https://www.gnu.org/licenses/>.
22906
22907As a special exception, the respective Autoconf Macro's copyright owner
22908gives unlimited permission to copy, distribute and modify the configure
22909scripts that are the output of Autoconf when processing the Macro.  You
22910need not follow the terms of the GNU General Public License when using
22911or distributing such scripts, even though portions of the text of the
22912Macro appear in them.  The GNU General Public License (GPL) does govern
22913all other use of the material that constitutes the Autoconf Macro.
22914
22915This special exception to the GPL applies to versions of the Autoconf
22916Macro released by the Autoconf Archive.  When you make and distribute a
22917modified version of the Autoconf Macro, you may extend this special
22918exception to the GPL to apply to your modified version as well.
22919
22920
22921File: autoconf-archive.info,  Node: ax_print_to_file,  Next: ax_printf_size_t,  Prev: ax_prefix_config_h,  Up: The Macros
22922
22923ax_print_to_file
22924================
22925
22926Synopsis
22927********
22928
22929     AX_PRINT_TO_FILE([FILE],[DATA])
22930
22931Description
22932***********
22933
22934Writes the specified data to the specified file.
22935
22936Source Code
22937***********
22938
22939Download the latest version of 'ax_print_to_file.m4'
22940(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_print_to_file.m4)
22941or browse the macro's revision history
22942(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_print_to_file.m4).
22943
22944License
22945*******
22946
22947Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
22948
22949Copying and distribution of this file, with or without modification, are
22950permitted in any medium without royalty provided the copyright notice
22951and this notice are preserved.  This file is offered as-is, without any
22952warranty.
22953
22954
22955File: autoconf-archive.info,  Node: ax_printf_size_t,  Next: ax_prog_apache,  Prev: ax_print_to_file,  Up: The Macros
22956
22957ax_printf_size_t
22958================
22959
22960Synopsis
22961********
22962
22963     AX_PRINTF_SIZE_T
22964
22965Description
22966***********
22967
22968Check for the appropriate printf() format string modifier to use with a
22969size_t argument.  If a suitable modifier is found, it is AC_DEFINE'd as
22970PRI_SIZE_T_MODIFIER, and can be used in C code as e.g.
22971
22972       printf("Size = %" PRI_SIZE_T_MODIFIER "u bytes.\n", sizeof(foo));
22973
22974If you use the PRIxNN macros from ISO C99's <inttypes.h>, you may wish
22975to define a supplemental set of macros along similar lines:
22976
22977       #define PRIdSIZE PRI_SIZE_T_MODIFIER "d"
22978       #define PRIiSIZE PRI_SIZE_T_MODIFIER "i"
22979       #define PRIoSIZE PRI_SIZE_T_MODIFIER "o"
22980       #define PRIuSIZE PRI_SIZE_T_MODIFIER "u"
22981       #define PRIxSIZE PRI_SIZE_T_MODIFIER "x"
22982       #define PRIXSIZE PRI_SIZE_T_MODIFIER "X"
22983
22984Note: This macro invokes a test program to check whether a given format
22985modifier is understood by the system's sprintf() function.  If the user
22986is cross-compiling, then this check cannot be performed, and thereby
22987PRI_SIZE_T_MODIFIER will remain undefined.
22988
22989Source Code
22990***********
22991
22992Download the latest version of 'ax_printf_size_t.m4'
22993(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_printf_size_t.m4)
22994or browse the macro's revision history
22995(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_printf_size_t.m4).
22996
22997License
22998*******
22999
23000Copyright (C) 2012 Daniel Richard G. <skunk@iSKUNK.ORG>
23001
23002Copying and distribution of this file, with or without modification, are
23003permitted in any medium without royalty provided the copyright notice
23004and this notice are preserved.  This file is offered as-is, without any
23005warranty.
23006
23007
23008File: autoconf-archive.info,  Node: ax_prog_apache,  Next: ax_prog_bison,  Prev: ax_printf_size_t,  Up: The Macros
23009
23010ax_prog_apache
23011==============
23012
23013Synopsis
23014********
23015
23016     AX_PROG_APACHE([version])
23017
23018Description
23019***********
23020
23021This macro searches for an installed apache server.  If nothing was
23022specified when calling configure or just -with-apache, it searches in
23023/usr/local/apache/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
23024The argument of -with-apache specifies the full pathname of the httpd
23025argument.  For instance -with-apache=/usr/sbin/httpd.
23026
23027If the version argument is given, AX_PROG_APACHE checks that the apache
23028server is this version number or higher.
23029
23030If the apache server is not found, abort configuration with error
23031message.
23032
23033It defines the symbol APACHE if the server is found.
23034
23035Files using apache should do the following:
23036
23037       @APACHE@ -d /etc/httpd
23038
23039It defines the symbol APACHE_MODULES if a directory containing mod_env.*
23040is found in the default server root directory (obtained with httpd -V).
23041
23042The httpd.conf file listing modules to be loaded dynamically can use
23043@APACHE_MODULES@ to grab them in the appropriate sub directory.  For
23044instance:
23045
23046      ...
23047      <IfModule mod_so.c>
23048      LoadModule env_module         @APACHE_MODULES@/mod_env.so
23049      LoadModule config_log_module  @APACHE_MODULES@/mod_log_config.so
23050      ...
23051
23052Source Code
23053***********
23054
23055Download the latest version of 'ax_prog_apache.m4'
23056(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_apache.m4)
23057or browse the macro's revision history
23058(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_apache.m4).
23059
23060License
23061*******
23062
23063Copyright (C) 2008 Loic Dachary <loic@senga.org>
23064
23065This program is free software; you can redistribute it and/or modify it
23066under the terms of the GNU General Public License as published by the
23067Free Software Foundation; either version 2 of the License, or (at your
23068option) any later version.
23069
23070This program is distributed in the hope that it will be useful, but
23071WITHOUT ANY WARRANTY; without even the implied warranty of
23072MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
23073Public License for more details.
23074
23075You should have received a copy of the GNU General Public License along
23076with this program.  If not, see <https://www.gnu.org/licenses/>.
23077
23078As a special exception, the respective Autoconf Macro's copyright owner
23079gives unlimited permission to copy, distribute and modify the configure
23080scripts that are the output of Autoconf when processing the Macro.  You
23081need not follow the terms of the GNU General Public License when using
23082or distributing such scripts, even though portions of the text of the
23083Macro appear in them.  The GNU General Public License (GPL) does govern
23084all other use of the material that constitutes the Autoconf Macro.
23085
23086This special exception to the GPL applies to versions of the Autoconf
23087Macro released by the Autoconf Archive.  When you make and distribute a
23088modified version of the Autoconf Macro, you may extend this special
23089exception to the GPL to apply to your modified version as well.
23090
23091
23092File: autoconf-archive.info,  Node: ax_prog_bison,  Next: ax_prog_bison_version,  Prev: ax_prog_apache,  Up: The Macros
23093
23094ax_prog_bison
23095=============
23096
23097Synopsis
23098********
23099
23100     AX_PROG_BISON(ACTION-IF-TRUE,ACTION-IF-FALSE)
23101
23102Description
23103***********
23104
23105Check whether bison is the parser generator.  Run ACTION-IF-TRUE if
23106successful, ACTION-IF-FALSE otherwise
23107
23108Source Code
23109***********
23110
23111Download the latest version of 'ax_prog_bison.m4'
23112(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_bison.m4)
23113or browse the macro's revision history
23114(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_bison.m4).
23115
23116License
23117*******
23118
23119Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
23120
23121Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
23122
23123This program is free software; you can redistribute it and/or modify it
23124under the terms of the GNU General Public License as published by the
23125Free Software Foundation; either version 2 of the License, or (at your
23126option) any later version.
23127
23128This program is distributed in the hope that it will be useful, but
23129WITHOUT ANY WARRANTY; without even the implied warranty of
23130MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
23131Public License for more details.
23132
23133You should have received a copy of the GNU General Public License along
23134with this program.  If not, see <https://www.gnu.org/licenses/>.
23135
23136As a special exception, the respective Autoconf Macro's copyright owner
23137gives unlimited permission to copy, distribute and modify the configure
23138scripts that are the output of Autoconf when processing the Macro.  You
23139need not follow the terms of the GNU General Public License when using
23140or distributing such scripts, even though portions of the text of the
23141Macro appear in them.  The GNU General Public License (GPL) does govern
23142all other use of the material that constitutes the Autoconf Macro.
23143
23144This special exception to the GPL applies to versions of the Autoconf
23145Macro released by the Autoconf Archive.  When you make and distribute a
23146modified version of the Autoconf Macro, you may extend this special
23147exception to the GPL to apply to your modified version as well.
23148
23149
23150File: autoconf-archive.info,  Node: ax_prog_bison_version,  Next: ax_prog_cc_char_subscripts,  Prev: ax_prog_bison,  Up: The Macros
23151
23152ax_prog_bison_version
23153=====================
23154
23155Synopsis
23156********
23157
23158     AX_PROG_BISON_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
23159
23160Description
23161***********
23162
23163Makes sure that bison version is greater or equal to the version
23164indicated.  If true the shell commands in ACTION-IF-TRUE are executed.
23165If not the shell commands in commands in ACTION-IF-TRUE are executed.
23166If not the shell commands in ACTION-IF-FALSE are run.  Note if $BISON is
23167not set (for example by running AC_CHECK_PROG or AC_PATH_PROG) the macro
23168will fail.
23169
23170Example:
23171
23172       AC_PATH_PROG([BISON],[bison])
23173       AX_PROG_BISON_VERSION([3.0.2],[ ... ],[ ... ])
23174
23175This will check to make sure that the bison you have is at least version
231763.0.2 or greater.
23177
23178NOTE: This macro uses the $BISON variable to perform the check.
23179
23180Source Code
23181***********
23182
23183Download the latest version of 'ax_prog_bison_version.m4'
23184(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_bison_version.m4)
23185or browse the macro's revision history
23186(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_bison_version.m4).
23187
23188License
23189*******
23190
23191Copyright (C) 2015 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
23192
23193Copying and distribution of this file, with or without modification, are
23194permitted in any medium without royalty provided the copyright notice
23195and this notice are preserved.  This file is offered as-is, without any
23196warranty.
23197
23198
23199File: autoconf-archive.info,  Node: ax_prog_cc_char_subscripts,  Next: ax_prog_cc_for_build,  Prev: ax_prog_bison_version,  Up: The Macros
23200
23201ax_prog_cc_char_subscripts
23202==========================
23203
23204Synopsis
23205********
23206
23207     AX_PROG_CC_CHAR_SUBSCRIPTS(substvar [,hard])
23208
23209Description
23210***********
23211
23212Try to find a compiler option that enables usage of char-type to index a
23213value-field.  This one needs unsigned-chars and it must suppress
23214warnings about usage of chars for subscripting.  for gcc -funsigned-char
23215-Wno-char-subscripts
23216
23217Currently this macro knows about GCC. hopefully will evolve to use:
23218Solaris C compiler, Digital Unix C compiler, C for AIX Compiler, HP-UX C
23219compiler, and IRIX C compiler.
23220
23221Source Code
23222***********
23223
23224Download the latest version of 'ax_prog_cc_char_subscripts.m4'
23225(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_char_subscripts.m4)
23226or browse the macro's revision history
23227(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cc_char_subscripts.m4).
23228
23229License
23230*******
23231
23232Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
23233
23234Copying and distribution of this file, with or without modification, are
23235permitted in any medium without royalty provided the copyright notice
23236and this notice are preserved.  This file is offered as-is, without any
23237warranty.
23238
23239
23240File: autoconf-archive.info,  Node: ax_prog_cc_for_build,  Next: ax_prog_cc_mpi,  Prev: ax_prog_cc_char_subscripts,  Up: The Macros
23241
23242ax_prog_cc_for_build
23243====================
23244
23245Synopsis
23246********
23247
23248     AX_PROG_CC_FOR_BUILD
23249
23250Description
23251***********
23252
23253This macro searches for a C compiler that generates native executables,
23254that is a C compiler that surely is not a cross-compiler.  This can be
23255useful if you have to generate source code at compile-time like for
23256example GCC does.
23257
23258The macro sets the CC_FOR_BUILD and CPP_FOR_BUILD macros to anything
23259needed to compile or link (CC_FOR_BUILD) and preprocess (CPP_FOR_BUILD).
23260The value of these variables can be overridden by the user by specifying
23261a compiler with an environment variable (like you do for standard CC).
23262
23263It also sets BUILD_EXEEXT and BUILD_OBJEXT to the executable and object
23264file extensions for the build platform, and GCC_FOR_BUILD to 'yes' if
23265the compiler we found is GCC. All these variables but GCC_FOR_BUILD are
23266substituted in the Makefile.
23267
23268Source Code
23269***********
23270
23271Download the latest version of 'ax_prog_cc_for_build.m4'
23272(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_for_build.m4)
23273or browse the macro's revision history
23274(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cc_for_build.m4).
23275
23276License
23277*******
23278
23279Copyright (C) 2008 Paolo Bonzini <bonzini@gnu.org>
23280
23281Copying and distribution of this file, with or without modification, are
23282permitted in any medium without royalty provided the copyright notice
23283and this notice are preserved.  This file is offered as-is, without any
23284warranty.
23285
23286
23287File: autoconf-archive.info,  Node: ax_prog_cc_mpi,  Next: ax_prog_cp_s,  Prev: ax_prog_cc_for_build,  Up: The Macros
23288
23289ax_prog_cc_mpi
23290==============
23291
23292Synopsis
23293********
23294
23295     AX_PROG_CC_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
23296
23297Description
23298***********
23299
23300This macro tries to find out how to compile C programs that use MPI
23301(Message Passing Interface), a standard API for parallel process
23302communication (see http://www-unix.mcs.anl.gov/mpi/).  The macro has to
23303be used instead of the standard macro AC_PROG_CC and will replace the
23304standard variable CC with the found compiler.
23305
23306MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
23307user.  If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
23308try to find out how to use MPI, if it fails, the macro will call
23309AC_PROG_CC to find a standard C compiler instead.
23310
23311When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
23312(or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed.  If
23313ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
23314
23315The following example demonstrates usage of the macro:
23316
23317       # If --with-mpi=auto is used, try to find MPI, but use standard C compiler if it is not found.
23318       # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
23319       # If --with-mpi=no is used, use a standard C compiler instead.
23320       AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
23321           [compile with MPI (parallelization) support. If none is found,
23322           MPI is not used. Default: auto])
23323       ],,[with_mpi=auto])
23324       #
23325       AX_PROG_CC_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
23326         use_mpi=no
23327         if test x"$with_mpi" = xyes; then
23328           AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
23329         else
23330           AC_MSG_WARN([No MPI compiler found, won't use MPI.])
23331         fi
23332       ])
23333
23334Source Code
23335***********
23336
23337Download the latest version of 'ax_prog_cc_mpi.m4'
23338(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cc_mpi.m4)
23339or browse the macro's revision history
23340(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cc_mpi.m4).
23341
23342License
23343*******
23344
23345Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
23346
23347This program is free software: you can redistribute it and/or modify it
23348under the terms of the GNU General Public License as published by the
23349Free Software Foundation, either version 3 of the License, or (at your
23350option) any later version.
23351
23352This program is distributed in the hope that it will be useful, but
23353WITHOUT ANY WARRANTY; without even the implied warranty of
23354MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
23355Public License for more details.
23356
23357You should have received a copy of the GNU General Public License along
23358with this program.  If not, see <https://www.gnu.org/licenses/>.
23359
23360As a special exception, the respective Autoconf Macro's copyright owner
23361gives unlimited permission to copy, distribute and modify the configure
23362scripts that are the output of Autoconf when processing the Macro.  You
23363need not follow the terms of the GNU General Public License when using
23364or distributing such scripts, even though portions of the text of the
23365Macro appear in them.  The GNU General Public License (GPL) does govern
23366all other use of the material that constitutes the Autoconf Macro.
23367
23368This special exception to the GPL applies to versions of the Autoconf
23369Macro released by the Autoconf Archive.  When you make and distribute a
23370modified version of the Autoconf Macro, you may extend this special
23371exception to the GPL to apply to your modified version as well.
23372
23373
23374File: autoconf-archive.info,  Node: ax_prog_cp_s,  Next: ax_prog_crontab,  Prev: ax_prog_cc_mpi,  Up: The Macros
23375
23376ax_prog_cp_s
23377============
23378
23379Synopsis
23380********
23381
23382     AX_PROG_CP_S
23383
23384Description
23385***********
23386
23387Check how to make a copy by creating a symbolic link to the original -
23388it defines the variable CP_S for further use, which you should in fact
23389treat like it used to be with be LN_S. The actual value is assured to be
23390either LN_S (if the filesystem supports symbolic links) or CP (if the
23391filesystem does not know about symbolic links and you need a copy of
23392original file to have the same text in both places).  In a gnu
23393environment it will simply set CP_S="cp -s" since the gnu "cp"-command
23394has the "-s" flag.  You shall not try to use this command on directories
23395since it would require a "-r" in the case of a copy that is not
23396supported explicitly here.  (I'm not sure if some "cp"-commands out
23397there would barf at usage of "-r" on a normal file).
23398
23399Use CP_S to create a copy of read-only data - if your filesystem
23400supports it then a symbolic link is created - a process that is quicker
23401and space-saving.  However, if the target fs does not support symbolic
23402links, just copy the data.  Unlike ac_prog_ln_s this macro will never
23403fail to set the CP_S ac_subst to something that works.
23404
23405Source Code
23406***********
23407
23408Download the latest version of 'ax_prog_cp_s.m4'
23409(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cp_s.m4)
23410or browse the macro's revision history
23411(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cp_s.m4).
23412
23413License
23414*******
23415
23416Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
23417
23418Copying and distribution of this file, with or without modification, are
23419permitted in any medium without royalty provided the copyright notice
23420and this notice are preserved.  This file is offered as-is, without any
23421warranty.
23422
23423
23424File: autoconf-archive.info,  Node: ax_prog_crontab,  Next: ax_prog_cxx_for_build,  Prev: ax_prog_cp_s,  Up: The Macros
23425
23426ax_prog_crontab
23427===============
23428
23429Synopsis
23430********
23431
23432     AX_PROG_CRONTAB
23433
23434Description
23435***********
23436
23437Check for the program crontab, if exists let script continue, else pops
23438an error message
23439
23440Besides checking existence, this macro also set these environment
23441variables upon completion:
23442
23443       CRONTAB = which crontab
23444
23445Source Code
23446***********
23447
23448Download the latest version of 'ax_prog_crontab.m4'
23449(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_crontab.m4)
23450or browse the macro's revision history
23451(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_crontab.m4).
23452
23453License
23454*******
23455
23456Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
23457
23458This program is free software; you can redistribute it and/or modify it
23459under the terms of the GNU General Public License as published by the
23460Free Software Foundation; either version 2 of the License, or (at your
23461option) any later version.
23462
23463This program is distributed in the hope that it will be useful, but
23464WITHOUT ANY WARRANTY; without even the implied warranty of
23465MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
23466Public License for more details.
23467
23468You should have received a copy of the GNU General Public License along
23469with this program.  If not, see <https://www.gnu.org/licenses/>.
23470
23471As a special exception, the respective Autoconf Macro's copyright owner
23472gives unlimited permission to copy, distribute and modify the configure
23473scripts that are the output of Autoconf when processing the Macro.  You
23474need not follow the terms of the GNU General Public License when using
23475or distributing such scripts, even though portions of the text of the
23476Macro appear in them.  The GNU General Public License (GPL) does govern
23477all other use of the material that constitutes the Autoconf Macro.
23478
23479This special exception to the GPL applies to versions of the Autoconf
23480Macro released by the Autoconf Archive.  When you make and distribute a
23481modified version of the Autoconf Macro, you may extend this special
23482exception to the GPL to apply to your modified version as well.
23483
23484
23485File: autoconf-archive.info,  Node: ax_prog_cxx_for_build,  Next: ax_prog_cxx_mpi,  Prev: ax_prog_crontab,  Up: The Macros
23486
23487ax_prog_cxx_for_build
23488=====================
23489
23490Synopsis
23491********
23492
23493     AX_PROG_CXX_FOR_BUILD
23494
23495Description
23496***********
23497
23498This macro searches for a C++ compiler that generates native
23499executables, that is a C++ compiler that surely is not a cross-compiler.
23500This can be useful if you have to generate source code at compile-time
23501like for example GCC does.
23502
23503The macro sets the CXX_FOR_BUILD and CXXCPP_FOR_BUILD macros to anything
23504needed to compile or link (CXX_FOR_BUILD) and preprocess
23505(CXXCPP_FOR_BUILD). The value of these variables can be overridden by
23506the user by specifying a compiler with an environment variable (like you
23507do for standard CXX).
23508
23509Source Code
23510***********
23511
23512Download the latest version of 'ax_prog_cxx_for_build.m4'
23513(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cxx_for_build.m4)
23514or browse the macro's revision history
23515(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cxx_for_build.m4).
23516
23517License
23518*******
23519
23520Copyright (C) 2008 Paolo Bonzini <bonzini@gnu.org>
23521Copyright (C) 2012 Avionic Design GmbH
23522
23523Based on the AX_PROG_CC_FOR_BUILD macro by Paolo Bonzini.
23524
23525Copying and distribution of this file, with or without modification, are
23526permitted in any medium without royalty provided the copyright notice
23527and this notice are preserved.  This file is offered as-is, without any
23528warranty.
23529
23530
23531File: autoconf-archive.info,  Node: ax_prog_cxx_mpi,  Next: ax_prog_date,  Prev: ax_prog_cxx_for_build,  Up: The Macros
23532
23533ax_prog_cxx_mpi
23534===============
23535
23536Synopsis
23537********
23538
23539     AX_PROG_CXX_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
23540
23541Description
23542***********
23543
23544This macro tries to find out how to compile C++ programs that use MPI
23545(Message Passing Interface), a standard API for parallel process
23546communication (see http://www-unix.mcs.anl.gov/mpi/).  The macro has to
23547be used instead of the standard macro AC_PROG_CXX and will replace the
23548standard variable CXX with the found compiler.
23549
23550MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
23551user.  If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
23552try to find out how to use MPI, if it fails, the macro will call
23553AC_PROG_CC to find a standard C compiler instead.
23554
23555When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
23556(or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed.  If
23557ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
23558
23559The following example demonstrates usage of the macro:
23560
23561       # If --with-mpi=auto is used, try to find MPI, but use standard C compiler if it is not found.
23562       # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
23563       # If --with-mpi=no is used, use a standard C compiler instead.
23564       AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
23565           [compile with MPI (parallelization) support. If none is found,
23566           MPI is not used. Default: auto])
23567       ],,[with_mpi=auto])
23568
23569       AX_PROG_CXX_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
23570         use_mpi=no
23571         if test x"$with_mpi" = xyes; then
23572           AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
23573         else
23574           AC_MSG_WARN([No MPI compiler found, won't use MPI.])
23575         fi
23576       ])
23577
23578Source Code
23579***********
23580
23581Download the latest version of 'ax_prog_cxx_mpi.m4'
23582(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_cxx_mpi.m4)
23583or browse the macro's revision history
23584(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_cxx_mpi.m4).
23585
23586License
23587*******
23588
23589Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
23590
23591This program is free software: you can redistribute it and/or modify it
23592under the terms of the GNU General Public License as published by the
23593Free Software Foundation, either version 3 of the License, or (at your
23594option) any later version.
23595
23596This program is distributed in the hope that it will be useful, but
23597WITHOUT ANY WARRANTY; without even the implied warranty of
23598MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
23599Public License for more details.
23600
23601You should have received a copy of the GNU General Public License along
23602with this program.  If not, see <https://www.gnu.org/licenses/>.
23603
23604As a special exception, the respective Autoconf Macro's copyright owner
23605gives unlimited permission to copy, distribute and modify the configure
23606scripts that are the output of Autoconf when processing the Macro.  You
23607need not follow the terms of the GNU General Public License when using
23608or distributing such scripts, even though portions of the text of the
23609Macro appear in them.  The GNU General Public License (GPL) does govern
23610all other use of the material that constitutes the Autoconf Macro.
23611
23612This special exception to the GPL applies to versions of the Autoconf
23613Macro released by the Autoconf Archive.  When you make and distribute a
23614modified version of the Autoconf Macro, you may extend this special
23615exception to the GPL to apply to your modified version as well.
23616
23617
23618File: autoconf-archive.info,  Node: ax_prog_date,  Next: ax_prog_dotnetcore_version,  Prev: ax_prog_cxx_mpi,  Up: The Macros
23619
23620ax_prog_date
23621============
23622
23623Synopsis
23624********
23625
23626     AX_PROG_DATE()
23627
23628Description
23629***********
23630
23631This macro tries to determine the type of the date (1) command and some
23632of its non-standard capabilities.
23633
23634The type is determined as follow:
23635
23636       * If the version string contains "GNU", then:
23637         - The variable ax_cv_prog_date_gnu is set to "yes".
23638         - The variable ax_cv_prog_date_type is set to "gnu".
23639
23640       * If date supports the "-v 1d" option, then:
23641         - The variable ax_cv_prog_date_bsd is set to "yes".
23642         - The variable ax_cv_prog_date_type is set to "bsd".
23643
23644       * If both previous checks fail, then:
23645         - The variable ax_cv_prog_date_type is set to "unknown".
23646
23647The following capabilities of GNU date are checked:
23648
23649       * If date supports the --date arg option, then:
23650         - The variable ax_cv_prog_date_gnu_date is set to "yes".
23651
23652       * If date supports the --utc arg option, then:
23653         - The variable ax_cv_prog_date_gnu_utc is set to "yes".
23654
23655The following capabilities of BSD date are checked:
23656
23657       * If date supports the -v 1d  option, then:
23658         - The variable ax_cv_prog_date_bsd_adjust is set to "yes".
23659
23660       * If date supports the -r arg option, then:
23661         - The variable ax_cv_prog_date_bsd_date is set to "yes".
23662
23663All the aforementioned variables are set to "no" before a check is
23664performed.
23665
23666Source Code
23667***********
23668
23669Download the latest version of 'ax_prog_date.m4'
23670(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_date.m4)
23671or browse the macro's revision history
23672(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_date.m4).
23673
23674License
23675*******
23676
23677Copyright (C) 2017 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
23678
23679This program is free software: you can redistribute it and/or modify it
23680under the terms of the GNU General Public License as published by the
23681Free Software Foundation, either version 3 of the License, or (at your
23682option) any later version.
23683
23684This program is distributed in the hope that it will be useful, but
23685WITHOUT ANY WARRANTY; without even the implied warranty of
23686MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
23687Public License for more details.
23688
23689You should have received a copy of the GNU General Public License along
23690with this program.  If not, see <http://www.gnu.org/licenses/>.
23691
23692As a special exception, the respective Autoconf Macro's copyright owner
23693gives unlimited permission to copy, distribute and modify the configure
23694scripts that are the output of Autoconf when processing the Macro.  You
23695need not follow the terms of the GNU General Public License when using
23696or distributing such scripts, even though portions of the text of the
23697Macro appear in them.  The GNU General Public License (GPL) does govern
23698all other use of the material that constitutes the Autoconf Macro.
23699
23700This special exception to the GPL applies to versions of the Autoconf
23701Macro released by the Autoconf Archive.  When you make and distribute a
23702modified version of the Autoconf Macro, you may extend this special
23703exception to the GPL to apply to your modified version as well.
23704
23705
23706File: autoconf-archive.info,  Node: ax_prog_dotnetcore_version,  Next: ax_prog_doxygen,  Prev: ax_prog_date,  Up: The Macros
23707
23708ax_prog_dotnetcore_version
23709==========================
23710
23711Synopsis
23712********
23713
23714     AX_PROG_DOTNETCORE_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
23715
23716Description
23717***********
23718
23719Makes sure that .NET Core supports the version indicated.  If true the
23720shell commands in ACTION-IF-TRUE are executed.  If not the shell
23721commands in ACTION-IF-FALSE are run.  The $dotnetcore_version variable
23722will be filled with the detected version.
23723
23724This macro uses the $DOTNETCORE variable to perform the check.  If
23725$DOTNETCORE is not set prior to calling this macro, the macro will fail.
23726
23727Example:
23728
23729       AC_PATH_PROG([DOTNETCORE],[dotnet])
23730       AC_PROG_DOTNETCORE_VERSION([1.0.2],[ ... ],[ ... ])
23731
23732Searches for .NET Core, then checks if at least version 1.0.2 is
23733present.
23734
23735Source Code
23736***********
23737
23738Download the latest version of 'ax_prog_dotnetcore_version.m4'
23739(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_dotnetcore_version.m4)
23740or browse the macro's revision history
23741(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_dotnetcore_version.m4).
23742
23743License
23744*******
23745
23746Copyright (C) 2016 Jens Geyer <jensg@apache.org>
23747
23748Copying and distribution of this file, with or without modification, are
23749permitted in any medium without royalty provided the copyright notice
23750and this notice are preserved.  This file is offered as-is, without any
23751warranty.
23752
23753
23754File: autoconf-archive.info,  Node: ax_prog_doxygen,  Next: ax_prog_emacs,  Prev: ax_prog_dotnetcore_version,  Up: The Macros
23755
23756ax_prog_doxygen
23757===============
23758
23759Synopsis
23760********
23761
23762     DX_INIT_DOXYGEN(PROJECT-NAME, [DOXYFILE-PATH], [OUTPUT-DIR], ...)
23763     DX_DOXYGEN_FEATURE(ON|OFF)
23764     DX_DOT_FEATURE(ON|OFF)
23765     DX_HTML_FEATURE(ON|OFF)
23766     DX_CHM_FEATURE(ON|OFF)
23767     DX_CHI_FEATURE(ON|OFF)
23768     DX_MAN_FEATURE(ON|OFF)
23769     DX_RTF_FEATURE(ON|OFF)
23770     DX_XML_FEATURE(ON|OFF)
23771     DX_PDF_FEATURE(ON|OFF)
23772     DX_PS_FEATURE(ON|OFF)
23773
23774Description
23775***********
23776
23777The DX_*_FEATURE macros control the default setting for the given
23778Doxygen feature.  Supported features are 'DOXYGEN' itself, 'DOT' for
23779generating graphics, 'HTML' for plain HTML, 'CHM' for compressed HTML
23780help (for MS users), 'CHI' for generating a separate .chi file by the
23781.chm file, and 'MAN', 'RTF', 'XML', 'PDF' and 'PS' for the appropriate
23782output formats.  The environment variable DOXYGEN_PAPER_SIZE may be
23783specified to override the default 'a4wide' paper size.
23784
23785By default, HTML, PDF and PS documentation is generated as this seems to
23786be the most popular and portable combination.  MAN pages created by
23787Doxygen are usually problematic, though by picking an appropriate subset
23788and doing some massaging they might be better than nothing.  CHM and RTF
23789are specific for MS (note that you can't generate both HTML and CHM at
23790the same time).  The XML is rather useless unless you apply specialized
23791post-processing to it.
23792
23793The macros mainly control the default state of the feature.  The use can
23794override the default by specifying -enable or -disable.  The macros
23795ensure that contradictory flags are not given (e.g.,
23796-enable-doxygen-html and -enable-doxygen-chm, -enable-doxygen-anything
23797with -disable-doxygen, etc.)  Finally, each feature will be
23798automatically disabled (with a warning) if the required programs are
23799missing.
23800
23801Once all the feature defaults have been specified, call DX_INIT_DOXYGEN
23802with the following parameters: a one-word name for the project for use
23803as a filename base etc., an optional configuration file name (the
23804default is '$(srcdir)/Doxyfile', the same as Doxygen's default), and an
23805optional output directory name (the default is 'doxygen-doc').  To run
23806doxygen multiple times for different configuration files and output
23807directories provide more parameters: the second, forth, sixth, etc
23808parameter are configuration file names and the third, fifth, seventh,
23809etc parameter are output directories.  No checking is done to catch
23810duplicates.
23811
23812Automake Support
23813
23814The DX_RULES substitution can be used to add all needed rules to the
23815Makefile.  Note that this is a substitution without being a variable:
23816only the @DX_RULES@ syntax will work.
23817
23818The provided targets are:
23819
23820       doxygen-doc: Generate all doxygen documentation.
23821
23822       doxygen-run: Run doxygen, which will generate some of the
23823                    documentation (HTML, CHM, CHI, MAN, RTF, XML)
23824                    but will not do the post processing required
23825                    for the rest of it (PS, PDF).
23826
23827       doxygen-ps:  Generate doxygen PostScript documentation.
23828
23829       doxygen-pdf: Generate doxygen PDF documentation.
23830
23831Note that by default these are not integrated into the automake targets.
23832If doxygen is used to generate man pages, you can achieve this
23833integration by setting man3_MANS to the list of man pages generated and
23834then adding the dependency:
23835
23836       $(man3_MANS): doxygen-doc
23837
23838This will cause make to run doxygen and generate all the documentation.
23839
23840The following variable is intended for use in Makefile.am:
23841
23842       DX_CLEANFILES = everything to clean.
23843
23844Then add this variable to MOSTLYCLEANFILES.
23845
23846Source Code
23847***********
23848
23849Download the latest version of 'ax_prog_doxygen.m4'
23850(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_doxygen.m4)
23851or browse the macro's revision history
23852(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_doxygen.m4).
23853
23854License
23855*******
23856
23857Copyright (C) 2009 Oren Ben-Kiki <oren@ben-kiki.org>
23858Copyright (C) 2015 Olaf Mandel <olaf@mandel.name>
23859
23860Copying and distribution of this file, with or without modification, are
23861permitted in any medium without royalty provided the copyright notice
23862and this notice are preserved.  This file is offered as-is, without any
23863warranty.
23864
23865
23866File: autoconf-archive.info,  Node: ax_prog_emacs,  Next: ax_prog_f77_mpi,  Prev: ax_prog_doxygen,  Up: The Macros
23867
23868ax_prog_emacs
23869=============
23870
23871Synopsis
23872********
23873
23874     AX_PROG_EMACS
23875
23876Description
23877***********
23878
23879This macro allows the end user to specify a particular Emacs executable
23880via a configure script command-line arg.  For example:
23881
23882       ./configure EMACS=$HOME/build/GNU/emacs/src/emacs
23883
23884It also arranges to mention env var EMACS in the './configure -help'
23885output.  See info node "(autoconf) Generic Programs" for details.
23886
23887More precisely...
23888
23889If env var EMACS is set, try to use its value directly, but avoid
23890getting fooled by value 't' (set by older Emacsen for subprocesses).  If
23891no joy from the environment, search for "emacs" via AC_CHECK_PROG. If
23892still no joy, display "Emacs not found; required!"  and make configure
23893exit failurefully.  Otherwise, set shell var EMACS and AC_SUBST it, too.
23894
23895Source Code
23896***********
23897
23898Download the latest version of 'ax_prog_emacs.m4'
23899(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_emacs.m4)
23900or browse the macro's revision history
23901(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_emacs.m4).
23902
23903License
23904*******
23905
23906Copyright (C) 2016-2017 Thien-Thi Nguyen
23907
23908This program is free software; you can redistribute it and/or modify it
23909under the terms of the GNU General Public License as published by the
23910Free Software Foundation; either version 3 of the License, or (at your
23911option) any later version.
23912
23913This program is distributed in the hope that it will be useful, but
23914WITHOUT ANY WARRANTY; without even the implied warranty of
23915MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
23916Public License for more details.
23917
23918You should have received a copy of the GNU General Public License along
23919with this program.  If not, see <https://www.gnu.org/licenses/>.
23920
23921As a special exception, the respective Autoconf Macro's copyright owner
23922gives unlimited permission to copy, distribute and modify the configure
23923scripts that are the output of Autoconf when processing the Macro.  You
23924need not follow the terms of the GNU General Public License when using
23925or distributing such scripts, even though portions of the text of the
23926Macro appear in them.  The GNU General Public License (GPL) does govern
23927all other use of the material that constitutes the Autoconf Macro.
23928
23929This special exception to the GPL applies to versions of the Autoconf
23930Macro released by the Autoconf Archive.  When you make and distribute a
23931modified version of the Autoconf Macro, you may extend this special
23932exception to the GPL to apply to your modified version as well.
23933
23934
23935File: autoconf-archive.info,  Node: ax_prog_f77_mpi,  Next: ax_prog_fasm,  Prev: ax_prog_emacs,  Up: The Macros
23936
23937ax_prog_f77_mpi
23938===============
23939
23940Synopsis
23941********
23942
23943     AX_PROG_F77_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
23944
23945Description
23946***********
23947
23948This macro tries to find out how to compile Fortran77 programs that use
23949MPI (Message Passing Interface), a standard API for parallel process
23950communication (see http://www-unix.mcs.anl.gov/mpi/).  The macro has to
23951be used instead of the standard macro AC_PROG_F77 and will replace the
23952standard variable F77 with the found compiler.
23953
23954MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
23955user.  If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
23956try to find out how to use MPI, if it fails, the macro will call
23957AC_PROG_CC to find a standard C compiler instead.
23958
23959When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
23960(or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed.  If
23961ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
23962
23963The following example demonstrates usage of the macro:
23964
23965       # If --with-mpi=auto is used, try to find MPI, but use standard F77 compiler if it is not found.
23966       # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
23967       # If --with-mpi=no is used, use a standard F77 compiler instead.
23968       AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
23969           [compile with MPI (parallelization) support. If none is found,
23970           MPI is not used. Default: auto])
23971       ],,[with_mpi=auto])
23972
23973       AX_PROG_F77_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
23974         use_mpi=no
23975         if test x"$with_mpi" = xyes; then
23976           AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
23977         else
23978           AC_MSG_WARN([No MPI compiler found, won't use MPI.])
23979         fi
23980       ])
23981
23982Source Code
23983***********
23984
23985Download the latest version of 'ax_prog_f77_mpi.m4'
23986(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_f77_mpi.m4)
23987or browse the macro's revision history
23988(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_f77_mpi.m4).
23989
23990License
23991*******
23992
23993Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
23994
23995This program is free software: you can redistribute it and/or modify it
23996under the terms of the GNU General Public License as published by the
23997Free Software Foundation, either version 3 of the License, or (at your
23998option) any later version.
23999
24000This program is distributed in the hope that it will be useful, but
24001WITHOUT ANY WARRANTY; without even the implied warranty of
24002MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
24003Public License for more details.
24004
24005You should have received a copy of the GNU General Public License along
24006with this program.  If not, see <https://www.gnu.org/licenses/>.
24007
24008As a special exception, the respective Autoconf Macro's copyright owner
24009gives unlimited permission to copy, distribute and modify the configure
24010scripts that are the output of Autoconf when processing the Macro.  You
24011need not follow the terms of the GNU General Public License when using
24012or distributing such scripts, even though portions of the text of the
24013Macro appear in them.  The GNU General Public License (GPL) does govern
24014all other use of the material that constitutes the Autoconf Macro.
24015
24016This special exception to the GPL applies to versions of the Autoconf
24017Macro released by the Autoconf Archive.  When you make and distribute a
24018modified version of the Autoconf Macro, you may extend this special
24019exception to the GPL to apply to your modified version as well.
24020
24021
24022File: autoconf-archive.info,  Node: ax_prog_fasm,  Next: ax_prog_fasm_opt,  Prev: ax_prog_f77_mpi,  Up: The Macros
24023
24024ax_prog_fasm
24025============
24026
24027Synopsis
24028********
24029
24030     AX_PROG_FASM([ACTION-IF-NOT-FOUND])
24031
24032Description
24033***********
24034
24035This macro searches for the FASM assembler and sets the variable "fasm"
24036to the name of the application or to "no" if not found.  If
24037ACTION-IF-NOT-FOUND is not specified, configure will fail when the
24038program is not found.
24039
24040Example:
24041
24042       AX_PROG_FASM()
24043       AX_PROG_FASM([fasm_avail="no"])
24044
24045Source Code
24046***********
24047
24048Download the latest version of 'ax_prog_fasm.m4'
24049(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fasm.m4)
24050or browse the macro's revision history
24051(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fasm.m4).
24052
24053License
24054*******
24055
24056Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
24057
24058This program is free software: you can redistribute it and/or modify it
24059under the terms of the GNU Lesser General Public License as published by
24060the Free Software Foundation, either version 3 of the License, or (at
24061your option) any later version.
24062
24063This program is distributed in the hope that it will be useful, but
24064WITHOUT ANY WARRANTY; without even the implied warranty of
24065MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
24066General Public License for more details.
24067
24068You should have received a copy of the GNU Lesser General Public License
24069along with this program.  If not, see <https://www.gnu.org/licenses/>.
24070
24071As a special exception, the respective Autoconf Macro's copyright owner
24072gives unlimited permission to copy, distribute and modify the configure
24073scripts that are the output of Autoconf when processing the Macro.  You
24074need not follow the terms of the GNU General Public License when using
24075or distributing such scripts, even though portions of the text of the
24076Macro appear in them.  The GNU General Public License (GPL) does govern
24077all other use of the material that constitutes the Autoconf Macro.
24078
24079This special exception to the GPL applies to versions of the Autoconf
24080Macro released by the Autoconf Archive.  When you make and distribute a
24081modified version of the Autoconf Macro, you may extend this special
24082exception to the GPL to apply to your modified version as well.
24083
24084
24085File: autoconf-archive.info,  Node: ax_prog_fasm_opt,  Next: ax_prog_fc_mpi,  Prev: ax_prog_fasm,  Up: The Macros
24086
24087ax_prog_fasm_opt
24088================
24089
24090Synopsis
24091********
24092
24093     AX_PROG_FASM_OPT(option, var_name)
24094
24095Description
24096***********
24097
24098This macro checks if the FASM assembler accepts the given option.  If
24099yes, the option is appended to the variable 'var_name', otherwise
24100'var_name' is unchanged.
24101
24102Example:
24103
24104       AX_PROG_FASM_OPT([-m 256], [FASM_OPTS])
24105
24106Source Code
24107***********
24108
24109Download the latest version of 'ax_prog_fasm_opt.m4'
24110(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fasm_opt.m4)
24111or browse the macro's revision history
24112(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fasm_opt.m4).
24113
24114License
24115*******
24116
24117Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
24118
24119This program is free software: you can redistribute it and/or modify it
24120under the terms of the GNU Lesser General Public License as published by
24121the Free Software Foundation, either version 3 of the License, or (at
24122your option) any later version.
24123
24124This program is distributed in the hope that it will be useful, but
24125WITHOUT ANY WARRANTY; without even the implied warranty of
24126MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
24127General Public License for more details.
24128
24129You should have received a copy of the GNU Lesser General Public License
24130along with this program.  If not, see <https://www.gnu.org/licenses/>.
24131
24132As a special exception, the respective Autoconf Macro's copyright owner
24133gives unlimited permission to copy, distribute and modify the configure
24134scripts that are the output of Autoconf when processing the Macro.  You
24135need not follow the terms of the GNU General Public License when using
24136or distributing such scripts, even though portions of the text of the
24137Macro appear in them.  The GNU General Public License (GPL) does govern
24138all other use of the material that constitutes the Autoconf Macro.
24139
24140This special exception to the GPL applies to versions of the Autoconf
24141Macro released by the Autoconf Archive.  When you make and distribute a
24142modified version of the Autoconf Macro, you may extend this special
24143exception to the GPL to apply to your modified version as well.
24144
24145
24146File: autoconf-archive.info,  Node: ax_prog_fc_mpi,  Next: ax_prog_fig2dev,  Prev: ax_prog_fasm_opt,  Up: The Macros
24147
24148ax_prog_fc_mpi
24149==============
24150
24151Synopsis
24152********
24153
24154     AX_PROG_FC_MPI([MPI-WANTED-TEST[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]])
24155
24156Description
24157***********
24158
24159This macro tries to find out how to compile Fortran77 programs that use
24160MPI (Message Passing Interface), a standard API for parallel process
24161communication (see http://www-unix.mcs.anl.gov/mpi/).  The macro has to
24162be used instead of the standard macro AC_PROG_FC and will replace the
24163standard variable FC with the found compiler.
24164
24165MPI-WANTED-TEST is used to test whether MPI is actually wanted by the
24166user.  If MPI-WANTED_TEST is omitted or if it succeeds, the macro will
24167try to find out how to use MPI, if it fails, the macro will call
24168AC_PROG_CC to find a standard C compiler instead.
24169
24170When MPI is found, ACTION-IF-FOUND will be executed, if MPI is not found
24171(or MPI-WANTED-TEST fails) ACTION-IF-NOT-FOUND is executed.  If
24172ACTION-IF-FOUND is not set, the macro will define HAVE_MPI.
24173
24174The following example demonstrates usage of the macro:
24175
24176       # If --with-mpi=auto is used, try to find MPI, but use standard FC compiler if it is not found.
24177       # If --with-mpi=yes is used, try to find MPI and fail if it isn't found.
24178       # If --with-mpi=no is used, use a standard FC compiler instead.
24179       AC_ARG_WITH(mpi, [AS_HELP_STRING([--with-mpi],
24180           [compile with MPI (parallelization) support. If none is found,
24181           MPI is not used. Default: auto])
24182       ],,[with_mpi=auto])
24183
24184       AX_PROG_FC_MPI([test x"$with_mpi" != xno],[use_mpi=yes],[
24185         use_mpi=no
24186         if test x"$with_mpi" = xyes; then
24187           AC_MSG_FAILURE([MPI compiler requested, but couldn't use MPI.])
24188         else
24189           AC_MSG_WARN([No MPI compiler found, won't use MPI.])
24190         fi
24191       ])
24192
24193Source Code
24194***********
24195
24196Download the latest version of 'ax_prog_fc_mpi.m4'
24197(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fc_mpi.m4)
24198or browse the macro's revision history
24199(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fc_mpi.m4).
24200
24201License
24202*******
24203
24204Copyright (C) 2010,2011 Olaf Lenz <olenz@icp.uni-stuttgart.de>
24205
24206This program is free software: you can redistribute it and/or modify it
24207under the terms of the GNU General Public License as published by the
24208Free Software Foundation, either version 3 of the License, or (at your
24209option) any later version.
24210
24211This program is distributed in the hope that it will be useful, but
24212WITHOUT ANY WARRANTY; without even the implied warranty of
24213MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
24214Public License for more details.
24215
24216You should have received a copy of the GNU General Public License along
24217with this program.  If not, see <https://www.gnu.org/licenses/>.
24218
24219As a special exception, the respective Autoconf Macro's copyright owner
24220gives unlimited permission to copy, distribute and modify the configure
24221scripts that are the output of Autoconf when processing the Macro.  You
24222need not follow the terms of the GNU General Public License when using
24223or distributing such scripts, even though portions of the text of the
24224Macro appear in them.  The GNU General Public License (GPL) does govern
24225all other use of the material that constitutes the Autoconf Macro.
24226
24227This special exception to the GPL applies to versions of the Autoconf
24228Macro released by the Autoconf Archive.  When you make and distribute a
24229modified version of the Autoconf Macro, you may extend this special
24230exception to the GPL to apply to your modified version as well.
24231
24232
24233File: autoconf-archive.info,  Node: ax_prog_fig2dev,  Next: ax_prog_flex,  Prev: ax_prog_fc_mpi,  Up: The Macros
24234
24235ax_prog_fig2dev
24236===============
24237
24238Synopsis
24239********
24240
24241     AX_PROG_FIG2DEV
24242
24243Description
24244***********
24245
24246If 'fig2dev' is found, sets the output variable 'FIG2DEV' to 'fig2dev',
24247and 'FIG2DEV_ESPLANG' to the graphics language which can be used to
24248produce Encapsulated PostScript.  Older versions of 'fig2dev' produce
24249EPS with '-Lps' and new versions with '-Leps', this macro finds out the
24250correct language option automatically.
24251
24252Source Code
24253***********
24254
24255Download the latest version of 'ax_prog_fig2dev.m4'
24256(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_fig2dev.m4)
24257or browse the macro's revision history
24258(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_fig2dev.m4).
24259
24260License
24261*******
24262
24263Copyright (C) 2008 Ville Laurikari <vl@iki.fi>
24264
24265Copying and distribution of this file, with or without modification, are
24266permitted in any medium without royalty provided the copyright notice
24267and this notice are preserved.  This file is offered as-is, without any
24268warranty.
24269
24270
24271File: autoconf-archive.info,  Node: ax_prog_flex,  Next: ax_prog_flex_version,  Prev: ax_prog_fig2dev,  Up: The Macros
24272
24273ax_prog_flex
24274============
24275
24276Synopsis
24277********
24278
24279     AX_PROG_FLEX(ACTION-IF-TRUE,ACTION-IF-FALSE)
24280
24281Description
24282***********
24283
24284Check whether flex is the scanner generator.  Run ACTION-IF-TRUE if
24285successful, ACTION-IF-FALSE otherwise
24286
24287Source Code
24288***********
24289
24290Download the latest version of 'ax_prog_flex.m4'
24291(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_flex.m4)
24292or browse the macro's revision history
24293(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_flex.m4).
24294
24295License
24296*******
24297
24298Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
24299
24300Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
24301
24302This program is free software; you can redistribute it and/or modify it
24303under the terms of the GNU General Public License as published by the
24304Free Software Foundation; either version 2 of the License, or (at your
24305option) any later version.
24306
24307This program is distributed in the hope that it will be useful, but
24308WITHOUT ANY WARRANTY; without even the implied warranty of
24309MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
24310Public License for more details.
24311
24312You should have received a copy of the GNU General Public License along
24313with this program.  If not, see <https://www.gnu.org/licenses/>.
24314
24315As a special exception, the respective Autoconf Macro's copyright owner
24316gives unlimited permission to copy, distribute and modify the configure
24317scripts that are the output of Autoconf when processing the Macro.  You
24318need not follow the terms of the GNU General Public License when using
24319or distributing such scripts, even though portions of the text of the
24320Macro appear in them.  The GNU General Public License (GPL) does govern
24321all other use of the material that constitutes the Autoconf Macro.
24322
24323This special exception to the GPL applies to versions of the Autoconf
24324Macro released by the Autoconf Archive.  When you make and distribute a
24325modified version of the Autoconf Macro, you may extend this special
24326exception to the GPL to apply to your modified version as well.
24327
24328
24329File: autoconf-archive.info,  Node: ax_prog_flex_version,  Next: ax_prog_gjs,  Prev: ax_prog_flex,  Up: The Macros
24330
24331ax_prog_flex_version
24332====================
24333
24334Synopsis
24335********
24336
24337     AX_PROG_FLEX_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
24338
24339Description
24340***********
24341
24342Makes sure that flex version is greater or equal to the version
24343indicated.  If true the shell commands in ACTION-IF-TRUE are executed.
24344If not the shell commands in commands in ACTION-IF-TRUE are executed.
24345If not the shell commands in ACTION-IF-FALSE are run.  Note if $FLEX is
24346not set (for example by running AC_CHECK_PROG or AC_PATH_PROG) the macro
24347will fail.
24348
24349Example:
24350
24351       AC_PATH_PROG([FLEX],[flex])
24352       AX_PROG_FLEX_VERSION([2.5.39],[ ... ],[ ... ])
24353
24354This will check to make sure that the flex you have is at least version
243552.5.39 or greater.
24356
24357NOTE: This macro uses the $FLEX variable to perform the check.
24358
24359Source Code
24360***********
24361
24362Download the latest version of 'ax_prog_flex_version.m4'
24363(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_flex_version.m4)
24364or browse the macro's revision history
24365(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_flex_version.m4).
24366
24367License
24368*******
24369
24370Copyright (C) 2015 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
24371
24372Copying and distribution of this file, with or without modification, are
24373permitted in any medium without royalty provided the copyright notice
24374and this notice are preserved.  This file is offered as-is, without any
24375warranty.
24376
24377
24378File: autoconf-archive.info,  Node: ax_prog_gjs,  Next: ax_prog_guile_version,  Prev: ax_prog_flex_version,  Up: The Macros
24379
24380ax_prog_gjs
24381===========
24382
24383Synopsis
24384********
24385
24386     AX_PROG_GJS
24387
24388Description
24389***********
24390
24391AX_PROG_GJS checks for the presence of the JavaScript interpreter GJS
24392(https://wiki.gnome.org/Projects/Gjs) in pkg-config or in the path.  If
24393it is not found, an error is issued and configure is halted.  If it is
24394found, the path of the interpreter is placed into a variable named GJS,
24395which is declared precious.
24396
24397Source Code
24398***********
24399
24400Download the latest version of 'ax_prog_gjs.m4'
24401(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_gjs.m4)
24402or browse the macro's revision history
24403(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_gjs.m4).
24404
24405License
24406*******
24407
24408Copyright (C) 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com>
24409
24410Copying and distribution of this file, with or without modification, are
24411permitted in any medium without royalty provided the copyright notice
24412and this notice are preserved.  This file is offered as-is, without any
24413warranty.
24414
24415
24416File: autoconf-archive.info,  Node: ax_prog_guile_version,  Next: ax_prog_haxe_version,  Prev: ax_prog_gjs,  Up: The Macros
24417
24418ax_prog_guile_version
24419=====================
24420
24421Synopsis
24422********
24423
24424     AX_PROG_GUILE_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
24425
24426Description
24427***********
24428
24429Makes sure that guile supports the version indicated.  If true the shell
24430commands in ACTION-IF-TRUE are executed.  If not the shell commands in
24431ACTION-IF-FALSE are run.  Note if $GUILE is not set (for example by
24432running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
24433
24434Example:
24435
24436       AC_PATH_PROG([GUILE],[guile])
24437       AC_PROG_GUILE_VERSION([1.6.0],[ ... ],[ ... ])
24438
24439This will check to make sure that the guile you have supports at least
24440version 1.6.0.
24441
24442NOTE: This macro uses the $GUILE variable to perform the check.
24443AX_WITH_GUILE can be used to set that variable prior to running this
24444macro.  The $GUILE_VERSION variable will be valorized with the detected
24445version.
24446
24447Source Code
24448***********
24449
24450Download the latest version of 'ax_prog_guile_version.m4'
24451(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_guile_version.m4)
24452or browse the macro's revision history
24453(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_guile_version.m4).
24454
24455License
24456*******
24457
24458Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
24459
24460Copying and distribution of this file, with or without modification, are
24461permitted in any medium without royalty provided the copyright notice
24462and this notice are preserved.  This file is offered as-is, without any
24463warranty.
24464
24465
24466File: autoconf-archive.info,  Node: ax_prog_haxe_version,  Next: ax_prog_help2man,  Prev: ax_prog_guile_version,  Up: The Macros
24467
24468ax_prog_haxe_version
24469====================
24470
24471Synopsis
24472********
24473
24474     AX_PROG_HAXE_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
24475
24476Description
24477***********
24478
24479Makes sure that haxe supports the version indicated.  If true the shell
24480commands in ACTION-IF-TRUE are executed.  If not the shell commands in
24481ACTION-IF-FALSE are run.  The $HAXE_VERSION variable will be filled with
24482the detected version.
24483
24484This macro uses the $HAXE variable to perform the check.  If $HAXE is
24485not set prior to calling this macro, the macro will fail.
24486
24487Example:
24488
24489       AC_PATH_PROG([HAXE],[haxe])
24490       AC_PROG_HAXE_VERSION([3.1.3],[ ... ],[ ... ])
24491
24492Searches for Haxe, then checks if at least version 3.1.3 is present.
24493
24494Source Code
24495***********
24496
24497Download the latest version of 'ax_prog_haxe_version.m4'
24498(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_haxe_version.m4)
24499or browse the macro's revision history
24500(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_haxe_version.m4).
24501
24502License
24503*******
24504
24505Copyright (C) 2015 Jens Geyer <jensg@apache.org>
24506
24507Copying and distribution of this file, with or without modification, are
24508permitted in any medium without royalty provided the copyright notice
24509and this notice are preserved.  This file is offered as-is, without any
24510warranty.
24511
24512
24513File: autoconf-archive.info,  Node: ax_prog_help2man,  Next: ax_prog_hla,  Prev: ax_prog_haxe_version,  Up: The Macros
24514
24515ax_prog_help2man
24516================
24517
24518Synopsis
24519********
24520
24521     AX_PROG_HELP2MAN([program list], [man directory prefix], [binary prefix])
24522
24523Description
24524***********
24525
24526AX_PROG_HELP2MAN is a macro designed to facilitate usage of help2man.
24527It may take three optional arguments:
24528
245291.  <program list>: comma-separated m4 list of input programs
24530
24531Specifies the list of input programs which shall be used to produce man
24532pages using help2man.  If no value is specified, the macro assumes that
24533the sole target will be named $(PACKAGE_NAME). Thus, the two following
24534lines are equivalent:
24535
24536       AX_PROG_HELP2MAN
24537       AX_PROG_HELP2MAN([\$(PACKAGE_NAME)])
24538
245392.  <man directory prefix>: directory prefix of the man pages directory
24540
24541Sets AX_HELP2MAN_PREFIX_MANS to <man directory prefix>.  Defaults to
24542'doc/man/man1' if no value is provided.  Note that
24543AX_HELP2MAN_PREFIX_MANS will always be a subdirectory of the build
24544directory.
24545
245463.  <binary prefix>:
24547
24548Sets AX_HELP2MAN_PREFIX_BIN to <binary prefix>.  Defaults to
24549'$(top_builddir)' if no value is provided.  The two following lines are
24550equivalent:
24551
24552       AX_PROG_HELP2MAN([subdir/program1, subdir/program2])
24553       AX_PROG_HELP2MAN([program1, program2], [], [\$(top_builddir)/subdir])
24554
24555The macro:
24556
24557- checks that help2man is available on the system.
24558
24559- provides the configure option -disable-help2man.
24560
24561- sets the output variable ax_help2man_MANS to the list of man pages
24562that shall be generated.
24563
24564- sets the automake conditional HAVE_HELP2MAN
24565
24566- sets the substitution variable AX_HELP2MAN_RULES to the required make
24567rules, targets and recipes.
24568
24569Further detail on the macro can be found after the minimal working
24570example.  Here is a minimal working example:
24571
24572       # configure.ac:
24573       AX_PROG_HELP2MAN
24574
24575       # Makefile.am:
24576       if HAVE_HELP2MAN
24577       man1_MANS = $(ax_help2man_MANS)
24578       @AX_HELP2MAN_RULES@
24579       endif
24580
24581This minimal working example shall work under the following assumptions:
24582
245831.  the aforementioned binary has the same name as the project
24584
245852.  the project produces a single binary at the root of the build
24586directory
24587
245883.  the man page shall be generated into the doc/man/man1 directory
24589
24590Note that adding ax_help2man_MANS to man1_MANS is not needed if the man
24591page generation is not mandatory.
24592
24593The AX_HELP2MAN_RULES substitution variable shall contain:
24594
24595- a recipe to create, if necessary, the destination directory.
24596
24597- a generic rule to produce the manpages.
24598
24599This rule targets the contents of the variable ax_help2man_MANS and its
24600recipe shall be akin to the following:
24601
24602       $(HELP2MAN) -l -N --output="$@" --name="$(shell basename $<)" "$(shell dirname $<)/$(shell basename $<)"
24603
24604Errors from this rule are ignored.
24605
24606- rules for each input program and target man page.
24607
24608For each input program, a rule akin to the following shall be available:
24609
24610       $(AX_HELP2MAN_PREFIX_MANS)/program.1: $(AX_HELP2MAN_PREFIX_BIN)/path/to/program
24611
24612The macro assumes that all man pages shall be generated into the same
24613directory (AX_HELP2MAN_PREFIX_MANS) and that all input programs can be
24614found in the same directory (AX_HELP2MAN_PREFIX_BIN). If a subset of the
24615inputs or outputs have different paths (for instance one of the inputs
24616is a script available in $(top_srcdir) whereas the other inputs are
24617programs compiled at build time), it can be customized in the
24618Makefile.am: the target man page must be added to ax_help2man_MANS, so
24619that it becomes a target of the generic rule for man pages and a rule
24620must be added to specify its prerequisite:
24621
24622       ax_help2man_MANS += path/to/output/man/page.1
24623       path/to/output/man/page.1: path/to/input/program.1
24624
24625Here is a full example for a project where binaries 'program1' and
24626'program2' are compiled at build time whereas 'script' is available in
24627the source tree:
24628
24629       # configure.ac:
24630         AX_PROG_HELP2MAN([program1, program2])
24631
24632       # Makefile.am:
24633         if HAVE_HELP2MAN
24634         man1_MANS = $(ax_help2man_MANS)
24635         @AX_HELP2MAN_RULES@
24636         ax_help2man_MANS += $(AX_HELP2MAN_PREFIX_MANS)/script.1
24637         $(AX_HELP2MAN_PREFIX_MANS)/script.1: $(top_srcdir)/script
24638         endif
24639
24640Note that this macro should not be called more than once.
24641
24642Source Code
24643***********
24644
24645Download the latest version of 'ax_prog_help2man.m4'
24646(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_help2man.m4)
24647or browse the macro's revision history
24648(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_help2man.m4).
24649
24650License
24651*******
24652
24653Copyright (C) 2017 Harenome Ranaivoarivony-Razanajato <ranaivoarivony-razanajato@hareno.me>
24654
24655This program is free software; you can redistribute it and/or modify it
24656under the terms of the GNU General Public License as published by the
24657Free Software Foundation; either version 3 of the License, or (at your
24658option) any later version.
24659
24660This program is distributed in the hope that it will be useful, but
24661WITHOUT ANY WARRANTY; without even the implied warranty of
24662MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
24663Public License for more details.
24664
24665Under Section 7 of GPL version 3, you are granted additional permissions
24666described in the Autoconf Configure Script Exception, version 3.0, as
24667published by the Free Software Foundation.
24668
24669You should have received a copy of the GNU General Public License along
24670with this program.  If not, see <https://www.gnu.org/licenses/>.
24671
24672
24673File: autoconf-archive.info,  Node: ax_prog_hla,  Next: ax_prog_hla_opt,  Prev: ax_prog_help2man,  Up: The Macros
24674
24675ax_prog_hla
24676===========
24677
24678Synopsis
24679********
24680
24681     AX_PROG_HLA([ACTION-IF-NOT-FOUND])
24682
24683Description
24684***********
24685
24686This macro searches for the HLA assembler and sets the variable "hla" to
24687the name of the application or to "no" if not found.  If
24688ACTION-IF-NOT-FOUND is not specified, configure will fail when the
24689program is not found.
24690
24691Example:
24692
24693       AX_PROG_HLA()
24694       AX_PROG_HLA([hla_avail="no"])
24695
24696Source Code
24697***********
24698
24699Download the latest version of 'ax_prog_hla.m4'
24700(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_hla.m4)
24701or browse the macro's revision history
24702(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_hla.m4).
24703
24704License
24705*******
24706
24707Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
24708
24709This program is free software: you can redistribute it and/or modify it
24710under the terms of the GNU Lesser General Public License as published by
24711the Free Software Foundation, either version 3 of the License, or (at
24712your option) any later version.
24713
24714This program is distributed in the hope that it will be useful, but
24715WITHOUT ANY WARRANTY; without even the implied warranty of
24716MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
24717General Public License for more details.
24718
24719You should have received a copy of the GNU Lesser General Public License
24720along with this program.  If not, see <https://www.gnu.org/licenses/>.
24721
24722As a special exception, the respective Autoconf Macro's copyright owner
24723gives unlimited permission to copy, distribute and modify the configure
24724scripts that are the output of Autoconf when processing the Macro.  You
24725need not follow the terms of the GNU General Public License when using
24726or distributing such scripts, even though portions of the text of the
24727Macro appear in them.  The GNU General Public License (GPL) does govern
24728all other use of the material that constitutes the Autoconf Macro.
24729
24730This special exception to the GPL applies to versions of the Autoconf
24731Macro released by the Autoconf Archive.  When you make and distribute a
24732modified version of the Autoconf Macro, you may extend this special
24733exception to the GPL to apply to your modified version as well.
24734
24735
24736File: autoconf-archive.info,  Node: ax_prog_hla_opt,  Next: ax_prog_httpd,  Prev: ax_prog_hla,  Up: The Macros
24737
24738ax_prog_hla_opt
24739===============
24740
24741Synopsis
24742********
24743
24744     AX_PROG_HLA_OPT(option, var_name)
24745
24746Description
24747***********
24748
24749This macro checks if the HLA assembler accepts the given option.  If
24750yes, the option is appended to the variable 'var_name', otherwise
24751'var_name' is unchanged.
24752
24753Example:
24754
24755       AX_PROG_HLA_OPT([-v], [HLA_OPTS])
24756
24757Source Code
24758***********
24759
24760Download the latest version of 'ax_prog_hla_opt.m4'
24761(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_hla_opt.m4)
24762or browse the macro's revision history
24763(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_hla_opt.m4).
24764
24765License
24766*******
24767
24768Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
24769
24770This program is free software: you can redistribute it and/or modify it
24771under the terms of the GNU Lesser General Public License as published by
24772the Free Software Foundation, either version 3 of the License, or (at
24773your option) any later version.
24774
24775This program is distributed in the hope that it will be useful, but
24776WITHOUT ANY WARRANTY; without even the implied warranty of
24777MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
24778General Public License for more details.
24779
24780You should have received a copy of the GNU Lesser General Public License
24781along with this program.  If not, see <https://www.gnu.org/licenses/>.
24782
24783As a special exception, the respective Autoconf Macro's copyright owner
24784gives unlimited permission to copy, distribute and modify the configure
24785scripts that are the output of Autoconf when processing the Macro.  You
24786need not follow the terms of the GNU General Public License when using
24787or distributing such scripts, even though portions of the text of the
24788Macro appear in them.  The GNU General Public License (GPL) does govern
24789all other use of the material that constitutes the Autoconf Macro.
24790
24791This special exception to the GPL applies to versions of the Autoconf
24792Macro released by the Autoconf Archive.  When you make and distribute a
24793modified version of the Autoconf Macro, you may extend this special
24794exception to the GPL to apply to your modified version as well.
24795
24796
24797File: autoconf-archive.info,  Node: ax_prog_httpd,  Next: ax_prog_jar,  Prev: ax_prog_hla_opt,  Up: The Macros
24798
24799ax_prog_httpd
24800=============
24801
24802Synopsis
24803********
24804
24805     AX_PROG_HTTPD
24806
24807Description
24808***********
24809
24810Check for Apache's 'httpd', let script continue if exists & works, pops
24811up error message if not.
24812
24813Testing of functionality is by checking its compile settings
24814
24815Besides checking existence, this macro also set these environment
24816variables upon completion:
24817
24818       HTTPD                    = which httpd
24819       HTTPD_ROOT               = Apache's root directory, specified when compiled / run with -d option
24820       HTTPD_SERVER_ROOT        = Directory for Apache's essential files, e.g. access logs / error logs / modules / scripts.
24821       HTTPD_SERVER_CONFIG_FILE = Full-path of the 'httpd.conf' file
24822       HTTPD_USER               = Which user that httpd runs as
24823       HTTPD_GROUP              = Which group that httpd runs as
24824       HTTPD_DOC_HOME           = Document directory, taken as the first DocumentRoot path found in httpd.conf
24825       HTTPD_SCRIPT_HOME        = CGI script directory, taken as the first ScriptAlias path found in httpd.conf
24826
24827Source Code
24828***********
24829
24830Download the latest version of 'ax_prog_httpd.m4'
24831(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_httpd.m4)
24832or browse the macro's revision history
24833(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_httpd.m4).
24834
24835License
24836*******
24837
24838Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
24839
24840This program is free software; you can redistribute it and/or modify it
24841under the terms of the GNU General Public License as published by the
24842Free Software Foundation; either version 2 of the License, or (at your
24843option) any later version.
24844
24845This program is distributed in the hope that it will be useful, but
24846WITHOUT ANY WARRANTY; without even the implied warranty of
24847MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
24848Public License for more details.
24849
24850You should have received a copy of the GNU General Public License along
24851with this program.  If not, see <https://www.gnu.org/licenses/>.
24852
24853As a special exception, the respective Autoconf Macro's copyright owner
24854gives unlimited permission to copy, distribute and modify the configure
24855scripts that are the output of Autoconf when processing the Macro.  You
24856need not follow the terms of the GNU General Public License when using
24857or distributing such scripts, even though portions of the text of the
24858Macro appear in them.  The GNU General Public License (GPL) does govern
24859all other use of the material that constitutes the Autoconf Macro.
24860
24861This special exception to the GPL applies to versions of the Autoconf
24862Macro released by the Autoconf Archive.  When you make and distribute a
24863modified version of the Autoconf Macro, you may extend this special
24864exception to the GPL to apply to your modified version as well.
24865
24866
24867File: autoconf-archive.info,  Node: ax_prog_jar,  Next: ax_prog_java,  Prev: ax_prog_httpd,  Up: The Macros
24868
24869ax_prog_jar
24870===========
24871
24872Synopsis
24873********
24874
24875     AX_PROG_JAR
24876
24877Description
24878***********
24879
24880AX_PROG_JAR tests for an existing jar program.  It uses the environment
24881variable JAR then tests in sequence various common jar programs.
24882
24883If you want to force a specific compiler:
24884
24885- at the configure.in level, set JAR=yourcompiler before calling
24886AX_PROG_JAR
24887
24888- at the configure level, setenv JAR
24889
24890You can use the JAR variable in your Makefile.in, with @JAR@.
24891
24892Note: This macro depends on the autoconf M4 macros for Java programs.
24893It is VERY IMPORTANT that you download that whole set, some macros
24894depend on other.  Unfortunately, the autoconf archive does not support
24895the concept of set of macros, so I had to break it for submission.
24896
24897The general documentation of those macros, as well as the sample
24898configure.in, is included in the AX_PROG_JAVA macro.
24899
24900Source Code
24901***********
24902
24903Download the latest version of 'ax_prog_jar.m4'
24904(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_jar.m4)
24905or browse the macro's revision history
24906(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_jar.m4).
24907
24908License
24909*******
24910
24911Copyright (C) 2008 Egon Willighagen <e.willighagen@science.ru.nl>
24912
24913Copying and distribution of this file, with or without modification, are
24914permitted in any medium without royalty provided the copyright notice
24915and this notice are preserved.  This file is offered as-is, without any
24916warranty.
24917
24918
24919File: autoconf-archive.info,  Node: ax_prog_java,  Next: ax_prog_java_cc,  Prev: ax_prog_jar,  Up: The Macros
24920
24921ax_prog_java
24922============
24923
24924Synopsis
24925********
24926
24927     AX_PROG_JAVA
24928
24929Description
24930***********
24931
24932Here is a summary of the main macros:
24933
24934AX_PROG_JAVAC: finds a Java compiler.
24935
24936AX_PROG_JAVA: finds a Java virtual machine.
24937
24938AX_CHECK_CLASS: finds if we have the given class (beware of CLASSPATH!).
24939
24940AX_CHECK_RQRD_CLASS: finds if we have the given class and stops
24941otherwise.
24942
24943AX_TRY_COMPILE_JAVA: attempt to compile user given source.
24944
24945AX_TRY_RUN_JAVA: attempt to compile and run user given source.
24946
24947AX_JAVA_OPTIONS: adds Java configure options.
24948
24949AX_PROG_JAVA tests an existing Java virtual machine.  It uses the
24950environment variable JAVA then tests in sequence various common Java
24951virtual machines.  For political reasons, it starts with the free ones.
24952You *must* call [AX_PROG_JAVAC] before.
24953
24954If you want to force a specific VM:
24955
24956- at the configure.in level, set JAVA=yourvm before calling AX_PROG_JAVA
24957
24958       (but after AC_INIT)
24959
24960- at the configure level, setenv JAVA
24961
24962You can use the JAVA variable in your Makefile.in, with @JAVA@.
24963
24964*Warning*: its success or failure can depend on a proper setting of the
24965CLASSPATH env.  variable.
24966
24967TODO: allow to exclude virtual machines (rationale: most Java programs
24968cannot run with some VM like kaffe).
24969
24970Note: This is part of the set of autoconf M4 macros for Java programs.
24971It is VERY IMPORTANT that you download the whole set, some macros depend
24972on other.  Unfortunately, the autoconf archive does not support the
24973concept of set of macros, so I had to break it for submission.
24974
24975A Web page, with a link to the latest CVS snapshot is at
24976<http://www.internatif.org/bortzmeyer/autoconf-Java/>.
24977
24978This is a sample configure.in Process this file with autoconf to produce
24979a configure script.
24980
24981       AC_INIT(UnTag.java)
24982
24983       dnl Checks for programs.
24984       AC_CHECK_CLASSPATH
24985       AX_PROG_JAVAC
24986       AX_PROG_JAVA
24987
24988       dnl Checks for classes
24989       AX_CHECK_RQRD_CLASS(org.xml.sax.Parser)
24990       AX_CHECK_RQRD_CLASS(com.jclark.xml.sax.Driver)
24991
24992       AC_OUTPUT(Makefile)
24993
24994Source Code
24995***********
24996
24997Download the latest version of 'ax_prog_java.m4'
24998(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_java.m4)
24999or browse the macro's revision history
25000(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_java.m4).
25001
25002License
25003*******
25004
25005Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
25006
25007This program is free software; you can redistribute it and/or modify it
25008under the terms of the GNU General Public License as published by the
25009Free Software Foundation; either version 2 of the License, or (at your
25010option) any later version.
25011
25012This program is distributed in the hope that it will be useful, but
25013WITHOUT ANY WARRANTY; without even the implied warranty of
25014MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25015Public License for more details.
25016
25017You should have received a copy of the GNU General Public License along
25018with this program.  If not, see <https://www.gnu.org/licenses/>.
25019
25020As a special exception, the respective Autoconf Macro's copyright owner
25021gives unlimited permission to copy, distribute and modify the configure
25022scripts that are the output of Autoconf when processing the Macro.  You
25023need not follow the terms of the GNU General Public License when using
25024or distributing such scripts, even though portions of the text of the
25025Macro appear in them.  The GNU General Public License (GPL) does govern
25026all other use of the material that constitutes the Autoconf Macro.
25027
25028This special exception to the GPL applies to versions of the Autoconf
25029Macro released by the Autoconf Archive.  When you make and distribute a
25030modified version of the Autoconf Macro, you may extend this special
25031exception to the GPL to apply to your modified version as well.
25032
25033
25034File: autoconf-archive.info,  Node: ax_prog_java_cc,  Next: ax_prog_java_works,  Prev: ax_prog_java,  Up: The Macros
25035
25036ax_prog_java_cc
25037===============
25038
25039Synopsis
25040********
25041
25042     AX_PROG_JAVA_CC
25043
25044Description
25045***********
25046
25047Finds the appropriate java compiler on your path.  By preference the
25048java compiler is gcj, then jikes then javac.
25049
25050The macro can take one argument specifying a space separated list of
25051java compiler names.
25052
25053For example:
25054
25055       AX_PROG_JAVA_CC(javac, gcj)
25056
25057The macro also sets the compiler options variable: JAVA_CC_OPTS to
25058something sensible:
25059
25060      - for GCJ it sets it to: @GCJ_OPTS@
25061        (if GCJ_OPTS is not yet defined then it is set to "-C")
25062
25063      - no other compiler has applicable options yet
25064
25065Here's an example configure.in:
25066
25067       AC_INIT(Makefile.in)
25068       AX_PROG_JAVA_CC()
25069       AC_OUTPUT(Makefile)
25070       dnl End.
25071
25072And here's the start of the Makefile.in:
25073
25074       PROJECT_ROOT      := @srcdir@
25075       # Tool definitions.
25076       JAVAC             := @JAVA_CC@
25077       JAVAC_OPTS        := @JAVA_CC_OPTS@
25078       JAR_TOOL          := @jar_tool@
25079
25080Source Code
25081***********
25082
25083Download the latest version of 'ax_prog_java_cc.m4'
25084(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_java_cc.m4)
25085or browse the macro's revision history
25086(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_java_cc.m4).
25087
25088License
25089*******
25090
25091Copyright (C) 2008 Nic Ferrier <nferrier@tapsellferrier.co.uk>
25092
25093This program is free software; you can redistribute it and/or modify it
25094under the terms of the GNU General Public License as published by the
25095Free Software Foundation; either version 2 of the License, or (at your
25096option) any later version.
25097
25098This program is distributed in the hope that it will be useful, but
25099WITHOUT ANY WARRANTY; without even the implied warranty of
25100MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25101Public License for more details.
25102
25103You should have received a copy of the GNU General Public License along
25104with this program.  If not, see <https://www.gnu.org/licenses/>.
25105
25106As a special exception, the respective Autoconf Macro's copyright owner
25107gives unlimited permission to copy, distribute and modify the configure
25108scripts that are the output of Autoconf when processing the Macro.  You
25109need not follow the terms of the GNU General Public License when using
25110or distributing such scripts, even though portions of the text of the
25111Macro appear in them.  The GNU General Public License (GPL) does govern
25112all other use of the material that constitutes the Autoconf Macro.
25113
25114This special exception to the GPL applies to versions of the Autoconf
25115Macro released by the Autoconf Archive.  When you make and distribute a
25116modified version of the Autoconf Macro, you may extend this special
25117exception to the GPL to apply to your modified version as well.
25118
25119
25120File: autoconf-archive.info,  Node: ax_prog_java_works,  Next: ax_prog_javac,  Prev: ax_prog_java_cc,  Up: The Macros
25121
25122ax_prog_java_works
25123==================
25124
25125Synopsis
25126********
25127
25128     AX_PROG_JAVA_WORKS
25129
25130Description
25131***********
25132
25133Internal use ONLY.
25134
25135Note: This is part of the set of autoconf M4 macros for Java programs.
25136It is VERY IMPORTANT that you download the whole set, some macros depend
25137on other.  Unfortunately, the autoconf archive does not support the
25138concept of set of macros, so I had to break it for submission.  The
25139general documentation, as well as the sample configure.in, is included
25140in the AX_PROG_JAVA macro.
25141
25142Source Code
25143***********
25144
25145Download the latest version of 'ax_prog_java_works.m4'
25146(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_java_works.m4)
25147or browse the macro's revision history
25148(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_java_works.m4).
25149
25150License
25151*******
25152
25153Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
25154
25155This program is free software; you can redistribute it and/or modify it
25156under the terms of the GNU General Public License as published by the
25157Free Software Foundation; either version 2 of the License, or (at your
25158option) any later version.
25159
25160This program is distributed in the hope that it will be useful, but
25161WITHOUT ANY WARRANTY; without even the implied warranty of
25162MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25163Public License for more details.
25164
25165You should have received a copy of the GNU General Public License along
25166with this program.  If not, see <https://www.gnu.org/licenses/>.
25167
25168As a special exception, the respective Autoconf Macro's copyright owner
25169gives unlimited permission to copy, distribute and modify the configure
25170scripts that are the output of Autoconf when processing the Macro.  You
25171need not follow the terms of the GNU General Public License when using
25172or distributing such scripts, even though portions of the text of the
25173Macro appear in them.  The GNU General Public License (GPL) does govern
25174all other use of the material that constitutes the Autoconf Macro.
25175
25176This special exception to the GPL applies to versions of the Autoconf
25177Macro released by the Autoconf Archive.  When you make and distribute a
25178modified version of the Autoconf Macro, you may extend this special
25179exception to the GPL to apply to your modified version as well.
25180
25181
25182File: autoconf-archive.info,  Node: ax_prog_javac,  Next: ax_prog_javac_works,  Prev: ax_prog_java_works,  Up: The Macros
25183
25184ax_prog_javac
25185=============
25186
25187Synopsis
25188********
25189
25190     AX_PROG_JAVAC
25191
25192Description
25193***********
25194
25195AX_PROG_JAVAC tests an existing Java compiler.  It uses the environment
25196variable JAVAC then tests in sequence various common Java compilers.
25197For political reasons, it starts with the free ones.
25198
25199If you want to force a specific compiler:
25200
25201- at the configure.in level, set JAVAC=yourcompiler before calling
25202AX_PROG_JAVAC
25203
25204- at the configure level, setenv JAVAC
25205
25206You can use the JAVAC variable in your Makefile.in, with @JAVAC@.
25207
25208*Warning*: its success or failure can depend on a proper setting of the
25209CLASSPATH env.  variable.
25210
25211TODO: allow to exclude compilers (rationale: most Java programs cannot
25212compile with some compilers like guavac).
25213
25214Note: This is part of the set of autoconf M4 macros for Java programs.
25215It is VERY IMPORTANT that you download the whole set, some macros depend
25216on other.  Unfortunately, the autoconf archive does not support the
25217concept of set of macros, so I had to break it for submission.  The
25218general documentation, as well as the sample configure.in, is included
25219in the AX_PROG_JAVA macro.
25220
25221Source Code
25222***********
25223
25224Download the latest version of 'ax_prog_javac.m4'
25225(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javac.m4)
25226or browse the macro's revision history
25227(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javac.m4).
25228
25229License
25230*******
25231
25232Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
25233
25234This program is free software; you can redistribute it and/or modify it
25235under the terms of the GNU General Public License as published by the
25236Free Software Foundation; either version 2 of the License, or (at your
25237option) any later version.
25238
25239This program is distributed in the hope that it will be useful, but
25240WITHOUT ANY WARRANTY; without even the implied warranty of
25241MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25242Public License for more details.
25243
25244You should have received a copy of the GNU General Public License along
25245with this program.  If not, see <https://www.gnu.org/licenses/>.
25246
25247As a special exception, the respective Autoconf Macro's copyright owner
25248gives unlimited permission to copy, distribute and modify the configure
25249scripts that are the output of Autoconf when processing the Macro.  You
25250need not follow the terms of the GNU General Public License when using
25251or distributing such scripts, even though portions of the text of the
25252Macro appear in them.  The GNU General Public License (GPL) does govern
25253all other use of the material that constitutes the Autoconf Macro.
25254
25255This special exception to the GPL applies to versions of the Autoconf
25256Macro released by the Autoconf Archive.  When you make and distribute a
25257modified version of the Autoconf Macro, you may extend this special
25258exception to the GPL to apply to your modified version as well.
25259
25260
25261File: autoconf-archive.info,  Node: ax_prog_javac_works,  Next: ax_prog_javadoc,  Prev: ax_prog_javac,  Up: The Macros
25262
25263ax_prog_javac_works
25264===================
25265
25266Synopsis
25267********
25268
25269     AX_PROG_JAVAC_WORKS
25270
25271Description
25272***********
25273
25274Internal use ONLY.
25275
25276Note: This is part of the set of autoconf M4 macros for Java programs.
25277It is VERY IMPORTANT that you download the whole set, some macros depend
25278on other.  Unfortunately, the autoconf archive does not support the
25279concept of set of macros, so I had to break it for submission.  The
25280general documentation, as well as the sample configure.in, is included
25281in the AX_PROG_JAVA macro.
25282
25283Source Code
25284***********
25285
25286Download the latest version of 'ax_prog_javac_works.m4'
25287(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javac_works.m4)
25288or browse the macro's revision history
25289(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javac_works.m4).
25290
25291License
25292*******
25293
25294Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
25295
25296This program is free software; you can redistribute it and/or modify it
25297under the terms of the GNU General Public License as published by the
25298Free Software Foundation; either version 2 of the License, or (at your
25299option) any later version.
25300
25301This program is distributed in the hope that it will be useful, but
25302WITHOUT ANY WARRANTY; without even the implied warranty of
25303MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25304Public License for more details.
25305
25306You should have received a copy of the GNU General Public License along
25307with this program.  If not, see <https://www.gnu.org/licenses/>.
25308
25309As a special exception, the respective Autoconf Macro's copyright owner
25310gives unlimited permission to copy, distribute and modify the configure
25311scripts that are the output of Autoconf when processing the Macro.  You
25312need not follow the terms of the GNU General Public License when using
25313or distributing such scripts, even though portions of the text of the
25314Macro appear in them.  The GNU General Public License (GPL) does govern
25315all other use of the material that constitutes the Autoconf Macro.
25316
25317This special exception to the GPL applies to versions of the Autoconf
25318Macro released by the Autoconf Archive.  When you make and distribute a
25319modified version of the Autoconf Macro, you may extend this special
25320exception to the GPL to apply to your modified version as well.
25321
25322
25323File: autoconf-archive.info,  Node: ax_prog_javadoc,  Next: ax_prog_javah,  Prev: ax_prog_javac_works,  Up: The Macros
25324
25325ax_prog_javadoc
25326===============
25327
25328Synopsis
25329********
25330
25331     AX_PROG_JAVADOC
25332
25333Description
25334***********
25335
25336AX_PROG_JAVADOC tests for an existing javadoc generator.  It uses the
25337environment variable JAVADOC then tests in sequence various common
25338javadoc generator.
25339
25340If you want to force a specific compiler:
25341
25342- at the configure.in level, set JAVADOC=yourgenerator before calling
25343AX_PROG_JAVADOC
25344
25345- at the configure level, setenv JAVADOC
25346
25347You can use the JAVADOC variable in your Makefile.in, with @JAVADOC@.
25348
25349Note: This macro depends on the autoconf M4 macros for Java programs.
25350It is VERY IMPORTANT that you download that whole set, some macros
25351depend on other.  Unfortunately, the autoconf archive does not support
25352the concept of set of macros, so I had to break it for submission.
25353
25354The general documentation of those macros, as well as the sample
25355configure.in, is included in the AX_PROG_JAVA macro.
25356
25357Source Code
25358***********
25359
25360Download the latest version of 'ax_prog_javadoc.m4'
25361(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javadoc.m4)
25362or browse the macro's revision history
25363(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javadoc.m4).
25364
25365License
25366*******
25367
25368Copyright (C) 2008 Egon Willighagen <e.willighagen@science.ru.nl>
25369
25370Copying and distribution of this file, with or without modification, are
25371permitted in any medium without royalty provided the copyright notice
25372and this notice are preserved.  This file is offered as-is, without any
25373warranty.
25374
25375
25376File: autoconf-archive.info,  Node: ax_prog_javah,  Next: ax_prog_masm,  Prev: ax_prog_javadoc,  Up: The Macros
25377
25378ax_prog_javah
25379=============
25380
25381Synopsis
25382********
25383
25384     AX_PROG_JAVAH
25385
25386Description
25387***********
25388
25389AX_PROG_JAVAH tests the availability of the javah header generator and
25390looks for the jni.h header file.  If available, JAVAH is set to the full
25391path of javah and CPPFLAGS is updated accordingly.
25392
25393Source Code
25394***********
25395
25396Download the latest version of 'ax_prog_javah.m4'
25397(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_javah.m4)
25398or browse the macro's revision history
25399(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_javah.m4).
25400
25401License
25402*******
25403
25404Copyright (C) 2008 Luc Maisonobe <luc@spaceroots.org>
25405
25406Copying and distribution of this file, with or without modification, are
25407permitted in any medium without royalty provided the copyright notice
25408and this notice are preserved.  This file is offered as-is, without any
25409warranty.
25410
25411
25412File: autoconf-archive.info,  Node: ax_prog_masm,  Next: ax_prog_masm_opt,  Prev: ax_prog_javah,  Up: The Macros
25413
25414ax_prog_masm
25415============
25416
25417Synopsis
25418********
25419
25420     AX_PROG_MASM([ACTION-IF-NOT-FOUND])
25421
25422Description
25423***********
25424
25425This macro searches for the MASM assembler and sets the variable "masm"
25426to the name of the application or to "no" if not found.  If
25427ACTION-IF-NOT-FOUND is not specified, configure will fail when the
25428program is not found.
25429
25430Example:
25431
25432       AX_PROG_MASM()
25433       AX_PROG_MASM([masm_avail="no"])
25434
25435Source Code
25436***********
25437
25438Download the latest version of 'ax_prog_masm.m4'
25439(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_masm.m4)
25440or browse the macro's revision history
25441(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_masm.m4).
25442
25443License
25444*******
25445
25446Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
25447
25448This program is free software: you can redistribute it and/or modify it
25449under the terms of the GNU Lesser General Public License as published by
25450the Free Software Foundation, either version 3 of the License, or (at
25451your option) any later version.
25452
25453This program is distributed in the hope that it will be useful, but
25454WITHOUT ANY WARRANTY; without even the implied warranty of
25455MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
25456General Public License for more details.
25457
25458You should have received a copy of the GNU Lesser General Public License
25459along with this program.  If not, see <https://www.gnu.org/licenses/>.
25460
25461As a special exception, the respective Autoconf Macro's copyright owner
25462gives unlimited permission to copy, distribute and modify the configure
25463scripts that are the output of Autoconf when processing the Macro.  You
25464need not follow the terms of the GNU General Public License when using
25465or distributing such scripts, even though portions of the text of the
25466Macro appear in them.  The GNU General Public License (GPL) does govern
25467all other use of the material that constitutes the Autoconf Macro.
25468
25469This special exception to the GPL applies to versions of the Autoconf
25470Macro released by the Autoconf Archive.  When you make and distribute a
25471modified version of the Autoconf Macro, you may extend this special
25472exception to the GPL to apply to your modified version as well.
25473
25474
25475File: autoconf-archive.info,  Node: ax_prog_masm_opt,  Next: ax_prog_md5sum,  Prev: ax_prog_masm,  Up: The Macros
25476
25477ax_prog_masm_opt
25478================
25479
25480Synopsis
25481********
25482
25483     AX_PROG_MASM_OPT(option, var_name)
25484
25485Description
25486***********
25487
25488This macro checks if the MASM assembler accepts the given option.  If
25489yes, the option is appended to the variable 'var_name', otherwise
25490'var_name' is unchanged.
25491
25492Example:
25493
25494       AX_PROG_MASM_OPT([/coff], [MASM_OPTS])
25495
25496Source Code
25497***********
25498
25499Download the latest version of 'ax_prog_masm_opt.m4'
25500(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_masm_opt.m4)
25501or browse the macro's revision history
25502(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_masm_opt.m4).
25503
25504License
25505*******
25506
25507Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
25508
25509This program is free software: you can redistribute it and/or modify it
25510under the terms of the GNU Lesser General Public License as published by
25511the Free Software Foundation, either version 3 of the License, or (at
25512your option) any later version.
25513
25514This program is distributed in the hope that it will be useful, but
25515WITHOUT ANY WARRANTY; without even the implied warranty of
25516MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
25517General Public License for more details.
25518
25519You should have received a copy of the GNU Lesser General Public License
25520along with this program.  If not, see <https://www.gnu.org/licenses/>.
25521
25522As a special exception, the respective Autoconf Macro's copyright owner
25523gives unlimited permission to copy, distribute and modify the configure
25524scripts that are the output of Autoconf when processing the Macro.  You
25525need not follow the terms of the GNU General Public License when using
25526or distributing such scripts, even though portions of the text of the
25527Macro appear in them.  The GNU General Public License (GPL) does govern
25528all other use of the material that constitutes the Autoconf Macro.
25529
25530This special exception to the GPL applies to versions of the Autoconf
25531Macro released by the Autoconf Archive.  When you make and distribute a
25532modified version of the Autoconf Macro, you may extend this special
25533exception to the GPL to apply to your modified version as well.
25534
25535
25536File: autoconf-archive.info,  Node: ax_prog_md5sum,  Next: ax_prog_modprobe,  Prev: ax_prog_masm_opt,  Up: The Macros
25537
25538ax_prog_md5sum
25539==============
25540
25541Synopsis
25542********
25543
25544     AX_PROG_MD5SUM([ACTION-IF-NOT-FOUND])
25545
25546Description
25547***********
25548
25549This macro find a md5sum application and set the variable md5sum to the
25550name of the application or to no if not found if ACTION-IF-NOT-FOUND is
25551not specified, configure fail when then application is not found.
25552
25553Source Code
25554***********
25555
25556Download the latest version of 'ax_prog_md5sum.m4'
25557(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_md5sum.m4)
25558or browse the macro's revision history
25559(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_md5sum.m4).
25560
25561License
25562*******
25563
25564Copyright (C) 2009 Gabriele Bartolini <gabriele.bartolini@devise.it>
25565
25566Copying and distribution of this file, with or without modification, are
25567permitted in any medium without royalty provided the copyright notice
25568and this notice are preserved.  This file is offered as-is, without any
25569warranty.
25570
25571
25572File: autoconf-archive.info,  Node: ax_prog_modprobe,  Next: ax_prog_mysql,  Prev: ax_prog_md5sum,  Up: The Macros
25573
25574ax_prog_modprobe
25575================
25576
25577Synopsis
25578********
25579
25580     AX_PROG_MODPROBE
25581
25582Description
25583***********
25584
25585This macro searches for a modprobe command, such as can be found on
25586Linux systems with loadable kernel module support.  PATH is checked
25587first, then the default location(s).
25588
25589This is one of several autoconf macros intended to assist in configuring
25590and installing loadable kernel modules.
25591
25592Source Code
25593***********
25594
25595Download the latest version of 'ax_prog_modprobe.m4'
25596(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_modprobe.m4)
25597or browse the macro's revision history
25598(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_modprobe.m4).
25599
25600License
25601*******
25602
25603Copyright (C) 2008 Kaelin Colclasure <kaelin@acm.org>
25604
25605Copying and distribution of this file, with or without modification, are
25606permitted in any medium without royalty provided the copyright notice
25607and this notice are preserved.  This file is offered as-is, without any
25608warranty.
25609
25610
25611File: autoconf-archive.info,  Node: ax_prog_mysql,  Next: ax_prog_mysqladmin,  Prev: ax_prog_modprobe,  Up: The Macros
25612
25613ax_prog_mysql
25614=============
25615
25616Synopsis
25617********
25618
25619     AX_PROG_MYSQL
25620
25621Description
25622***********
25623
25624Check for the program 'mysql' let script continue if exists & works pops
25625up error message if not.
25626
25627Testing of functionality is by invoking it with root password 'rootpass'
25628and a 'SELECT * FROM user' SQL statement.  That SQL statement will
25629select all user information from the 'user' privileges table, and should
25630work on every proper MySQL server.
25631
25632Besides checking mysql, this macro also set these environment variables
25633upon completion:
25634
25635       MYSQL = which mysql
25636
25637Source Code
25638***********
25639
25640Download the latest version of 'ax_prog_mysql.m4'
25641(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysql.m4)
25642or browse the macro's revision history
25643(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysql.m4).
25644
25645License
25646*******
25647
25648Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
25649
25650This program is free software; you can redistribute it and/or modify it
25651under the terms of the GNU General Public License as published by the
25652Free Software Foundation; either version 2 of the License, or (at your
25653option) any later version.
25654
25655This program is distributed in the hope that it will be useful, but
25656WITHOUT ANY WARRANTY; without even the implied warranty of
25657MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25658Public License for more details.
25659
25660You should have received a copy of the GNU General Public License along
25661with this program.  If not, see <https://www.gnu.org/licenses/>.
25662
25663As a special exception, the respective Autoconf Macro's copyright owner
25664gives unlimited permission to copy, distribute and modify the configure
25665scripts that are the output of Autoconf when processing the Macro.  You
25666need not follow the terms of the GNU General Public License when using
25667or distributing such scripts, even though portions of the text of the
25668Macro appear in them.  The GNU General Public License (GPL) does govern
25669all other use of the material that constitutes the Autoconf Macro.
25670
25671This special exception to the GPL applies to versions of the Autoconf
25672Macro released by the Autoconf Archive.  When you make and distribute a
25673modified version of the Autoconf Macro, you may extend this special
25674exception to the GPL to apply to your modified version as well.
25675
25676
25677File: autoconf-archive.info,  Node: ax_prog_mysqladmin,  Next: ax_prog_mysqld,  Prev: ax_prog_mysql,  Up: The Macros
25678
25679ax_prog_mysqladmin
25680==================
25681
25682Synopsis
25683********
25684
25685     AX_PROG_MYSQLADMIN
25686
25687Description
25688***********
25689
25690Check for the program 'mysqladmin' let script continue if exists & works
25691pops up error message if not.
25692
25693Testing of functionality is by invoking it with root password 'rootpass'
25694and a 'flush-privileges' command.
25695
25696Besides checking mysql, this macro also set these environment variables
25697upon completion:
25698
25699       MYSQLADMIN = which mysqladmin
25700       MYSQL_DATADIR = directory containing mysql database
25701
25702Source Code
25703***********
25704
25705Download the latest version of 'ax_prog_mysqladmin.m4'
25706(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqladmin.m4)
25707or browse the macro's revision history
25708(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqladmin.m4).
25709
25710License
25711*******
25712
25713Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
25714
25715This program is free software; you can redistribute it and/or modify it
25716under the terms of the GNU General Public License as published by the
25717Free Software Foundation; either version 2 of the License, or (at your
25718option) any later version.
25719
25720This program is distributed in the hope that it will be useful, but
25721WITHOUT ANY WARRANTY; without even the implied warranty of
25722MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25723Public License for more details.
25724
25725You should have received a copy of the GNU General Public License along
25726with this program.  If not, see <https://www.gnu.org/licenses/>.
25727
25728As a special exception, the respective Autoconf Macro's copyright owner
25729gives unlimited permission to copy, distribute and modify the configure
25730scripts that are the output of Autoconf when processing the Macro.  You
25731need not follow the terms of the GNU General Public License when using
25732or distributing such scripts, even though portions of the text of the
25733Macro appear in them.  The GNU General Public License (GPL) does govern
25734all other use of the material that constitutes the Autoconf Macro.
25735
25736This special exception to the GPL applies to versions of the Autoconf
25737Macro released by the Autoconf Archive.  When you make and distribute a
25738modified version of the Autoconf Macro, you may extend this special
25739exception to the GPL to apply to your modified version as well.
25740
25741
25742File: autoconf-archive.info,  Node: ax_prog_mysqld,  Next: ax_prog_mysqlimport,  Prev: ax_prog_mysqladmin,  Up: The Macros
25743
25744ax_prog_mysqld
25745==============
25746
25747Synopsis
25748********
25749
25750     AX_PROG_MYSQLD
25751
25752Description
25753***********
25754
25755Check for the program 'mysqld' let script continue if exists & works
25756pops up error message if not.
25757
25758Besides checking existence, this macro also set these environment
25759variables upon completion:
25760
25761       MYSQLD = which mysqld
25762
25763Source Code
25764***********
25765
25766Download the latest version of 'ax_prog_mysqld.m4'
25767(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqld.m4)
25768or browse the macro's revision history
25769(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqld.m4).
25770
25771License
25772*******
25773
25774Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
25775
25776This program is free software; you can redistribute it and/or modify it
25777under the terms of the GNU General Public License as published by the
25778Free Software Foundation; either version 2 of the License, or (at your
25779option) any later version.
25780
25781This program is distributed in the hope that it will be useful, but
25782WITHOUT ANY WARRANTY; without even the implied warranty of
25783MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25784Public License for more details.
25785
25786You should have received a copy of the GNU General Public License along
25787with this program.  If not, see <https://www.gnu.org/licenses/>.
25788
25789As a special exception, the respective Autoconf Macro's copyright owner
25790gives unlimited permission to copy, distribute and modify the configure
25791scripts that are the output of Autoconf when processing the Macro.  You
25792need not follow the terms of the GNU General Public License when using
25793or distributing such scripts, even though portions of the text of the
25794Macro appear in them.  The GNU General Public License (GPL) does govern
25795all other use of the material that constitutes the Autoconf Macro.
25796
25797This special exception to the GPL applies to versions of the Autoconf
25798Macro released by the Autoconf Archive.  When you make and distribute a
25799modified version of the Autoconf Macro, you may extend this special
25800exception to the GPL to apply to your modified version as well.
25801
25802
25803File: autoconf-archive.info,  Node: ax_prog_mysqlimport,  Next: ax_prog_mysqlshow,  Prev: ax_prog_mysqld,  Up: The Macros
25804
25805ax_prog_mysqlimport
25806===================
25807
25808Synopsis
25809********
25810
25811     AX_PROG_MYSQLIMPORT
25812
25813Description
25814***********
25815
25816Check for the program 'mysqlimport', let script continue if exists, pops
25817up error message if not.
25818
25819Besides checking existence, this macro also set these environment
25820variables upon completion:
25821
25822       MYSQLIMPORT = which mysqlimport
25823
25824Source Code
25825***********
25826
25827Download the latest version of 'ax_prog_mysqlimport.m4'
25828(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqlimport.m4)
25829or browse the macro's revision history
25830(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqlimport.m4).
25831
25832License
25833*******
25834
25835Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
25836
25837This program is free software; you can redistribute it and/or modify it
25838under the terms of the GNU General Public License as published by the
25839Free Software Foundation; either version 2 of the License, or (at your
25840option) any later version.
25841
25842This program is distributed in the hope that it will be useful, but
25843WITHOUT ANY WARRANTY; without even the implied warranty of
25844MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25845Public License for more details.
25846
25847You should have received a copy of the GNU General Public License along
25848with this program.  If not, see <https://www.gnu.org/licenses/>.
25849
25850As a special exception, the respective Autoconf Macro's copyright owner
25851gives unlimited permission to copy, distribute and modify the configure
25852scripts that are the output of Autoconf when processing the Macro.  You
25853need not follow the terms of the GNU General Public License when using
25854or distributing such scripts, even though portions of the text of the
25855Macro appear in them.  The GNU General Public License (GPL) does govern
25856all other use of the material that constitutes the Autoconf Macro.
25857
25858This special exception to the GPL applies to versions of the Autoconf
25859Macro released by the Autoconf Archive.  When you make and distribute a
25860modified version of the Autoconf Macro, you may extend this special
25861exception to the GPL to apply to your modified version as well.
25862
25863
25864File: autoconf-archive.info,  Node: ax_prog_mysqlshow,  Next: ax_prog_nasm,  Prev: ax_prog_mysqlimport,  Up: The Macros
25865
25866ax_prog_mysqlshow
25867=================
25868
25869Synopsis
25870********
25871
25872     AX_PROG_MYSQLSHOW
25873
25874Description
25875***********
25876
25877Check for the program 'mysqlshow' let script continue if exists & works
25878pops up error message if not.
25879
25880Testing of functionality is by invoking it with root password
25881'rootpass'.  If it works, it should show all databases currently in
25882system.
25883
25884Besides checking mysql, this macro also set these environment variables
25885upon completion:
25886
25887       MYSQLSHOW = which mysqlshow
25888
25889Source Code
25890***********
25891
25892Download the latest version of 'ax_prog_mysqlshow.m4'
25893(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_mysqlshow.m4)
25894or browse the macro's revision history
25895(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_mysqlshow.m4).
25896
25897License
25898*******
25899
25900Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
25901
25902This program is free software; you can redistribute it and/or modify it
25903under the terms of the GNU General Public License as published by the
25904Free Software Foundation; either version 2 of the License, or (at your
25905option) any later version.
25906
25907This program is distributed in the hope that it will be useful, but
25908WITHOUT ANY WARRANTY; without even the implied warranty of
25909MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
25910Public License for more details.
25911
25912You should have received a copy of the GNU General Public License along
25913with this program.  If not, see <https://www.gnu.org/licenses/>.
25914
25915As a special exception, the respective Autoconf Macro's copyright owner
25916gives unlimited permission to copy, distribute and modify the configure
25917scripts that are the output of Autoconf when processing the Macro.  You
25918need not follow the terms of the GNU General Public License when using
25919or distributing such scripts, even though portions of the text of the
25920Macro appear in them.  The GNU General Public License (GPL) does govern
25921all other use of the material that constitutes the Autoconf Macro.
25922
25923This special exception to the GPL applies to versions of the Autoconf
25924Macro released by the Autoconf Archive.  When you make and distribute a
25925modified version of the Autoconf Macro, you may extend this special
25926exception to the GPL to apply to your modified version as well.
25927
25928
25929File: autoconf-archive.info,  Node: ax_prog_nasm,  Next: ax_prog_nasm_opt,  Prev: ax_prog_mysqlshow,  Up: The Macros
25930
25931ax_prog_nasm
25932============
25933
25934Synopsis
25935********
25936
25937     AX_PROG_NASM([ACTION-IF-NOT-FOUND])
25938
25939Description
25940***********
25941
25942This macro searches for the NASM assembler and sets the variable "nasm"
25943to the name of the application or to "no" if not found.  If
25944ACTION-IF-NOT-FOUND is not specified, configure will fail when the
25945program is not found.
25946
25947Example:
25948
25949       AX_PROG_NASM()
25950       AX_PROG_NASM([nasm_avail="no"])
25951
25952Source Code
25953***********
25954
25955Download the latest version of 'ax_prog_nasm.m4'
25956(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_nasm.m4)
25957or browse the macro's revision history
25958(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_nasm.m4).
25959
25960License
25961*******
25962
25963Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
25964
25965This program is free software: you can redistribute it and/or modify it
25966under the terms of the GNU Lesser General Public License as published by
25967the Free Software Foundation, either version 3 of the License, or (at
25968your option) any later version.
25969
25970This program is distributed in the hope that it will be useful, but
25971WITHOUT ANY WARRANTY; without even the implied warranty of
25972MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
25973General Public License for more details.
25974
25975You should have received a copy of the GNU Lesser General Public License
25976along with this program.  If not, see <https://www.gnu.org/licenses/>.
25977
25978As a special exception, the respective Autoconf Macro's copyright owner
25979gives unlimited permission to copy, distribute and modify the configure
25980scripts that are the output of Autoconf when processing the Macro.  You
25981need not follow the terms of the GNU General Public License when using
25982or distributing such scripts, even though portions of the text of the
25983Macro appear in them.  The GNU General Public License (GPL) does govern
25984all other use of the material that constitutes the Autoconf Macro.
25985
25986This special exception to the GPL applies to versions of the Autoconf
25987Macro released by the Autoconf Archive.  When you make and distribute a
25988modified version of the Autoconf Macro, you may extend this special
25989exception to the GPL to apply to your modified version as well.
25990
25991
25992File: autoconf-archive.info,  Node: ax_prog_nasm_opt,  Next: ax_prog_perl_modules,  Prev: ax_prog_nasm,  Up: The Macros
25993
25994ax_prog_nasm_opt
25995================
25996
25997Synopsis
25998********
25999
26000     AX_PROG_NASM_OPT(option, var_name)
26001
26002Description
26003***********
26004
26005This macro checks if the NASM assembler accepts the given option.  If
26006yes, the option is appended to the variable 'var_name', otherwise
26007'var_name' is unchanged.
26008
26009Example:
26010
26011       AX_PROG_NASM_OPT([-f obj], [NASM_OPTS])
26012
26013Source Code
26014***********
26015
26016Download the latest version of 'ax_prog_nasm_opt.m4'
26017(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_nasm_opt.m4)
26018or browse the macro's revision history
26019(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_nasm_opt.m4).
26020
26021License
26022*******
26023
26024Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
26025
26026This program is free software: you can redistribute it and/or modify it
26027under the terms of the GNU Lesser General Public License as published by
26028the Free Software Foundation, either version 3 of the License, or (at
26029your option) any later version.
26030
26031This program is distributed in the hope that it will be useful, but
26032WITHOUT ANY WARRANTY; without even the implied warranty of
26033MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
26034General Public License for more details.
26035
26036You should have received a copy of the GNU Lesser General Public License
26037along with this program.  If not, see <https://www.gnu.org/licenses/>.
26038
26039As a special exception, the respective Autoconf Macro's copyright owner
26040gives unlimited permission to copy, distribute and modify the configure
26041scripts that are the output of Autoconf when processing the Macro.  You
26042need not follow the terms of the GNU General Public License when using
26043or distributing such scripts, even though portions of the text of the
26044Macro appear in them.  The GNU General Public License (GPL) does govern
26045all other use of the material that constitutes the Autoconf Macro.
26046
26047This special exception to the GPL applies to versions of the Autoconf
26048Macro released by the Autoconf Archive.  When you make and distribute a
26049modified version of the Autoconf Macro, you may extend this special
26050exception to the GPL to apply to your modified version as well.
26051
26052
26053File: autoconf-archive.info,  Node: ax_prog_perl_modules,  Next: ax_prog_perl_version,  Prev: ax_prog_nasm_opt,  Up: The Macros
26054
26055ax_prog_perl_modules
26056====================
26057
26058Synopsis
26059********
26060
26061     AX_PROG_PERL_MODULES([MODULES], [ACTION-IF-TRUE], [ACTION-IF-FALSE])
26062
26063Description
26064***********
26065
26066Checks to see if the given perl modules are available.  If true the
26067shell commands in ACTION-IF-TRUE are executed.  If not the shell
26068commands in ACTION-IF-FALSE are run.  Note if $PERL is not set (for
26069example by calling AC_CHECK_PROG, or AC_PATH_PROG), AC_CHECK_PROG(PERL,
26070perl, perl) will be run.
26071
26072MODULES is a space separated list of module names.  To check for a
26073minimum version of a module, append the version number to the module
26074name, separated by an equals sign.
26075
26076Example:
26077
26078       AX_PROG_PERL_MODULES( Text::Wrap Net::LDAP=1.0.3, ,
26079                             AC_MSG_WARN(Need some Perl modules)
26080
26081Source Code
26082***********
26083
26084Download the latest version of 'ax_prog_perl_modules.m4'
26085(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_perl_modules.m4)
26086or browse the macro's revision history
26087(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_perl_modules.m4).
26088
26089License
26090*******
26091
26092Copyright (C) 2009 Dean Povey <povey@wedgetail.com>
26093
26094Copying and distribution of this file, with or without modification, are
26095permitted in any medium without royalty provided the copyright notice
26096and this notice are preserved.  This file is offered as-is, without any
26097warranty.
26098
26099
26100File: autoconf-archive.info,  Node: ax_prog_perl_version,  Next: ax_prog_pgclient,  Prev: ax_prog_perl_modules,  Up: The Macros
26101
26102ax_prog_perl_version
26103====================
26104
26105Synopsis
26106********
26107
26108     AX_PROG_PERL_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
26109
26110Description
26111***********
26112
26113Makes sure that perl supports the version indicated.  If true the shell
26114commands in ACTION-IF-TRUE are executed.  If not the shell commands in
26115ACTION-IF-FALSE are run.  Note if $PERL is not set (for example by
26116running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
26117
26118Example:
26119
26120       AC_PATH_PROG([PERL],[perl])
26121       AX_PROG_PERL_VERSION([5.8.0],[ ... ],[ ... ])
26122
26123This will check to make sure that the perl you have supports at least
26124version 5.8.0.
26125
26126NOTE: This macro uses the $PERL variable to perform the check.
26127AX_WITH_PERL can be used to set that variable prior to running this
26128macro.  The $PERL_VERSION variable will be valorized with the detected
26129version.
26130
26131Source Code
26132***********
26133
26134Download the latest version of 'ax_prog_perl_version.m4'
26135(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_perl_version.m4)
26136or browse the macro's revision history
26137(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_perl_version.m4).
26138
26139License
26140*******
26141
26142Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
26143
26144Copying and distribution of this file, with or without modification, are
26145permitted in any medium without royalty provided the copyright notice
26146and this notice are preserved.  This file is offered as-is, without any
26147warranty.
26148
26149
26150File: autoconf-archive.info,  Node: ax_prog_pgclient,  Next: ax_prog_python_version,  Prev: ax_prog_perl_version,  Up: The Macros
26151
26152ax_prog_pgclient
26153================
26154
26155Synopsis
26156********
26157
26158     AX_PROG_PGCLIENT()
26159
26160Description
26161***********
26162
26163This macro searches for a program called 'pgclient'.  If found the
26164variable $pgclient is set to its path.  Else it is set to 0.  An option
26165is added to the configure script for setting an search path instead of
26166$PATH ($pgclient_dir).  If pgclient is necessary for installing your
26167program, you can do something like the following to stop configure with
26168an error if pgclient wasn't found:
26169
26170       if test "x$pgclient" = "x0"; then AC_MSG_ERROR([We need that to setup the database!]); fi
26171
26172pgclient can be found at http://pgclient.freesources.org
26173
26174Source Code
26175***********
26176
26177Download the latest version of 'ax_prog_pgclient.m4'
26178(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_pgclient.m4)
26179or browse the macro's revision history
26180(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_pgclient.m4).
26181
26182License
26183*******
26184
26185Copyright (C) 2008 Moritz Sinn <moritz@freesources.org>
26186
26187This program is free software; you can redistribute it and/or modify it
26188under the terms of the GNU General Public License as published by the
26189Free Software Foundation; either version 2 of the License, or (at your
26190option) any later version.
26191
26192This program is distributed in the hope that it will be useful, but
26193WITHOUT ANY WARRANTY; without even the implied warranty of
26194MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
26195Public License for more details.
26196
26197You should have received a copy of the GNU General Public License along
26198with this program.  If not, see <https://www.gnu.org/licenses/>.
26199
26200As a special exception, the respective Autoconf Macro's copyright owner
26201gives unlimited permission to copy, distribute and modify the configure
26202scripts that are the output of Autoconf when processing the Macro.  You
26203need not follow the terms of the GNU General Public License when using
26204or distributing such scripts, even though portions of the text of the
26205Macro appear in them.  The GNU General Public License (GPL) does govern
26206all other use of the material that constitutes the Autoconf Macro.
26207
26208This special exception to the GPL applies to versions of the Autoconf
26209Macro released by the Autoconf Archive.  When you make and distribute a
26210modified version of the Autoconf Macro, you may extend this special
26211exception to the GPL to apply to your modified version as well.
26212
26213
26214File: autoconf-archive.info,  Node: ax_prog_python_version,  Next: ax_prog_ruby_version,  Prev: ax_prog_pgclient,  Up: The Macros
26215
26216ax_prog_python_version
26217======================
26218
26219Synopsis
26220********
26221
26222     AX_PROG_PYTHON_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
26223
26224Description
26225***********
26226
26227Makes sure that python supports the version indicated.  If true the
26228shell commands in ACTION-IF-TRUE are executed.  If not the shell
26229commands in ACTION-IF-FALSE are run.  Note if $PYTHON is not set (for
26230example by running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
26231
26232Example:
26233
26234       AC_PATH_PROG([PYTHON],[python])
26235       AX_PROG_PYTHON_VERSION([2.4.4],[ ... ],[ ... ])
26236
26237This will check to make sure that the python you have supports at least
26238version 2.4.4.
26239
26240NOTE: This macro uses the $PYTHON variable to perform the check.
26241AX_WITH_PYTHON can be used to set that variable prior to running this
26242macro.  The $PYTHON_VERSION variable will be valorized with the detected
26243version.
26244
26245Source Code
26246***********
26247
26248Download the latest version of 'ax_prog_python_version.m4'
26249(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_python_version.m4)
26250or browse the macro's revision history
26251(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_python_version.m4).
26252
26253License
26254*******
26255
26256Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
26257
26258Copying and distribution of this file, with or without modification, are
26259permitted in any medium without royalty provided the copyright notice
26260and this notice are preserved.  This file is offered as-is, without any
26261warranty.
26262
26263
26264File: autoconf-archive.info,  Node: ax_prog_ruby_version,  Next: ax_prog_scala,  Prev: ax_prog_python_version,  Up: The Macros
26265
26266ax_prog_ruby_version
26267====================
26268
26269Synopsis
26270********
26271
26272     AX_PROG_RUBY_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE])
26273
26274Description
26275***********
26276
26277Makes sure that ruby supports the version indicated.  If true the shell
26278commands in ACTION-IF-TRUE are executed.  If not the shell commands in
26279ACTION-IF-FALSE are run.  Note if $RUBY is not set (for example by
26280running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail.
26281
26282Example:
26283
26284       AC_PATH_PROG([RUBY],[ruby])
26285       AC_PROG_RUBY_VERSION([1.8.0],[ ... ],[ ... ])
26286
26287This will check to make sure that the ruby you have supports at least
26288version 1.6.0.
26289
26290NOTE: This macro uses the $RUBY variable to perform the check.
26291AX_WITH_PROG([RUBY],[ruby],[VALUE-IF-NOT-FOUND],[PATH]) can be used to
26292set that variable prior to running this macro.  The $RUBY_VERSION
26293variable will be valorized with the detected version.
26294
26295Source Code
26296***********
26297
26298Download the latest version of 'ax_prog_ruby_version.m4'
26299(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_ruby_version.m4)
26300or browse the macro's revision history
26301(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_ruby_version.m4).
26302
26303License
26304*******
26305
26306Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
26307
26308Copying and distribution of this file, with or without modification, are
26309permitted in any medium without royalty provided the copyright notice
26310and this notice are preserved.  This file is offered as-is, without any
26311warranty.
26312
26313
26314File: autoconf-archive.info,  Node: ax_prog_scala,  Next: ax_prog_scalac,  Prev: ax_prog_ruby_version,  Up: The Macros
26315
26316ax_prog_scala
26317=============
26318
26319Synopsis
26320********
26321
26322     AX_PROG_SCALA
26323
26324Description
26325***********
26326
26327AX_PROG_SCALA will check that scala is available.  If it is SCALA will
26328be set to its path and SCALA_VERSION will be set to its version.
26329
26330Hint: AX_COMPARE_VERSION can be used to check if SCALA_VERSION has an
26331acceptable value.
26332
26333Source Code
26334***********
26335
26336Download the latest version of 'ax_prog_scala.m4'
26337(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_scala.m4)
26338or browse the macro's revision history
26339(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_scala.m4).
26340
26341License
26342*******
26343
26344Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
26345
26346Copying and distribution of this file, with or without modification, are
26347permitted in any medium without royalty provided the copyright notice
26348and this notice are preserved.  This file is offered as-is, without any
26349warranty.
26350
26351
26352File: autoconf-archive.info,  Node: ax_prog_scalac,  Next: ax_prog_scp,  Prev: ax_prog_scala,  Up: The Macros
26353
26354ax_prog_scalac
26355==============
26356
26357Synopsis
26358********
26359
26360     AX_PROG_SCALAC
26361
26362Description
26363***********
26364
26365AX_PROG_SCALAC will check that a scala compiler is available, that it
26366works and set SCALAC for the Makefile.
26367
26368AX_PROG_SCALAC will search the path for a Scala compiler.  To choose
26369another compiler use the environment variable SCALAC.
26370
26371Source Code
26372***********
26373
26374Download the latest version of 'ax_prog_scalac.m4'
26375(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_scalac.m4)
26376or browse the macro's revision history
26377(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_scalac.m4).
26378
26379License
26380*******
26381
26382Copyright (C) 2013 Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net>
26383
26384Copying and distribution of this file, with or without modification, are
26385permitted in any medium without royalty provided the copyright notice
26386and this notice are preserved.  This file is offered as-is, without any
26387warranty.
26388
26389
26390File: autoconf-archive.info,  Node: ax_prog_scp,  Next: ax_prog_splint,  Prev: ax_prog_scalac,  Up: The Macros
26391
26392ax_prog_scp
26393===========
26394
26395Synopsis
26396********
26397
26398     AX_PROG_SCP
26399
26400Description
26401***********
26402
26403Check for the program 'scp', let script continue if exists, pops up
26404error message if not.
26405
26406Besides checking existence, this macro also set these environment
26407variables upon completion:
26408
26409       SCP = which scp
26410
26411Source Code
26412***********
26413
26414Download the latest version of 'ax_prog_scp.m4'
26415(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_scp.m4)
26416or browse the macro's revision history
26417(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_scp.m4).
26418
26419License
26420*******
26421
26422Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
26423
26424This program is free software; you can redistribute it and/or modify it
26425under the terms of the GNU General Public License as published by the
26426Free Software Foundation; either version 2 of the License, or (at your
26427option) any later version.
26428
26429This program is distributed in the hope that it will be useful, but
26430WITHOUT ANY WARRANTY; without even the implied warranty of
26431MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
26432Public License for more details.
26433
26434You should have received a copy of the GNU General Public License along
26435with this program.  If not, see <https://www.gnu.org/licenses/>.
26436
26437As a special exception, the respective Autoconf Macro's copyright owner
26438gives unlimited permission to copy, distribute and modify the configure
26439scripts that are the output of Autoconf when processing the Macro.  You
26440need not follow the terms of the GNU General Public License when using
26441or distributing such scripts, even though portions of the text of the
26442Macro appear in them.  The GNU General Public License (GPL) does govern
26443all other use of the material that constitutes the Autoconf Macro.
26444
26445This special exception to the GPL applies to versions of the Autoconf
26446Macro released by the Autoconf Archive.  When you make and distribute a
26447modified version of the Autoconf Macro, you may extend this special
26448exception to the GPL to apply to your modified version as well.
26449
26450
26451File: autoconf-archive.info,  Node: ax_prog_splint,  Next: ax_prog_ssh,  Prev: ax_prog_scp,  Up: The Macros
26452
26453ax_prog_splint
26454==============
26455
26456Synopsis
26457********
26458
26459     AX_PROG_SPLINT([AX_SPLINTFLAGS])
26460
26461Description
26462***********
26463
26464Check for program splint, the static C code checking tool.  The splint
26465URL is given by http://www.splint.org.  This macro should be use
26466together with automake.
26467
26468Enables following environment variables:
26469
26470       SPLINT
26471       SPLINTFLAGS
26472
26473and AX_SPLINTFLAGS is given by AC_SUBST. If AX_SPLINTFLAGS is not given
26474by AX_PROG_SPLINT it defaults to "-weak".
26475
26476Enables the following make target:
26477
26478       splint-check
26479
26480which runs splint per PROGRAMS and LIBRARIES. Output from splint run is
26481collected in file ***_splint.log where *** is given by the PROGRAMS or
26482LIBRARIES name.
26483
26484The following line is required in Makefile.am:
26485
26486       include aminclude_static.am
26487
26488Source Code
26489***********
26490
26491Download the latest version of 'ax_prog_splint.m4'
26492(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_splint.m4)
26493or browse the macro's revision history
26494(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_splint.m4).
26495
26496License
26497*******
26498
26499Copyright (C) 2011 Henrik Uhrenholt
26500
26501Copying and distribution of this file, with or without modification, are
26502permitted in any medium without royalty provided the copyright notice
26503and this notice are preserved.  This file is offered as-is, without any
26504warranty.
26505
26506
26507File: autoconf-archive.info,  Node: ax_prog_ssh,  Next: ax_prog_tasm,  Prev: ax_prog_splint,  Up: The Macros
26508
26509ax_prog_ssh
26510===========
26511
26512Synopsis
26513********
26514
26515     AX_PROG_SSH
26516
26517Description
26518***********
26519
26520Check for the program 'ssh', let script continue if exists, pops up
26521error message if not.
26522
26523Besides checking existence, this macro also set these environment
26524variables upon completion:
26525
26526       SSH = which ssh
26527
26528Source Code
26529***********
26530
26531Download the latest version of 'ax_prog_ssh.m4'
26532(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_ssh.m4)
26533or browse the macro's revision history
26534(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_ssh.m4).
26535
26536License
26537*******
26538
26539Copyright (C) 2008 Gleen Salmon <gleensalmon@yahoo.com>
26540
26541This program is free software; you can redistribute it and/or modify it
26542under the terms of the GNU General Public License as published by the
26543Free Software Foundation; either version 2 of the License, or (at your
26544option) any later version.
26545
26546This program is distributed in the hope that it will be useful, but
26547WITHOUT ANY WARRANTY; without even the implied warranty of
26548MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
26549Public License for more details.
26550
26551You should have received a copy of the GNU General Public License along
26552with this program.  If not, see <https://www.gnu.org/licenses/>.
26553
26554As a special exception, the respective Autoconf Macro's copyright owner
26555gives unlimited permission to copy, distribute and modify the configure
26556scripts that are the output of Autoconf when processing the Macro.  You
26557need not follow the terms of the GNU General Public License when using
26558or distributing such scripts, even though portions of the text of the
26559Macro appear in them.  The GNU General Public License (GPL) does govern
26560all other use of the material that constitutes the Autoconf Macro.
26561
26562This special exception to the GPL applies to versions of the Autoconf
26563Macro released by the Autoconf Archive.  When you make and distribute a
26564modified version of the Autoconf Macro, you may extend this special
26565exception to the GPL to apply to your modified version as well.
26566
26567
26568File: autoconf-archive.info,  Node: ax_prog_tasm,  Next: ax_prog_tasm_opt,  Prev: ax_prog_ssh,  Up: The Macros
26569
26570ax_prog_tasm
26571============
26572
26573Synopsis
26574********
26575
26576     AX_PROG_TASM([ACTION-IF-NOT-FOUND])
26577
26578Description
26579***********
26580
26581This macro searches for the TASM assembler and sets the variable "tasm"
26582to the name of the application or to "no" if not found.  If
26583ACTION-IF-NOT-FOUND is not specified, configure will fail when the
26584program is not found.
26585
26586Example:
26587
26588       AX_PROG_TASM()
26589       AX_PROG_TASM([tasm_avail="no"])
26590
26591Source Code
26592***********
26593
26594Download the latest version of 'ax_prog_tasm.m4'
26595(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_tasm.m4)
26596or browse the macro's revision history
26597(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_tasm.m4).
26598
26599License
26600*******
26601
26602Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
26603
26604This program is free software: you can redistribute it and/or modify it
26605under the terms of the GNU Lesser General Public License as published by
26606the Free Software Foundation, either version 3 of the License, or (at
26607your option) any later version.
26608
26609This program is distributed in the hope that it will be useful, but
26610WITHOUT ANY WARRANTY; without even the implied warranty of
26611MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
26612General Public License for more details.
26613
26614You should have received a copy of the GNU Lesser General Public License
26615along with this program.  If not, see <https://www.gnu.org/licenses/>.
26616
26617As a special exception, the respective Autoconf Macro's copyright owner
26618gives unlimited permission to copy, distribute and modify the configure
26619scripts that are the output of Autoconf when processing the Macro.  You
26620need not follow the terms of the GNU General Public License when using
26621or distributing such scripts, even though portions of the text of the
26622Macro appear in them.  The GNU General Public License (GPL) does govern
26623all other use of the material that constitutes the Autoconf Macro.
26624
26625This special exception to the GPL applies to versions of the Autoconf
26626Macro released by the Autoconf Archive.  When you make and distribute a
26627modified version of the Autoconf Macro, you may extend this special
26628exception to the GPL to apply to your modified version as well.
26629
26630
26631File: autoconf-archive.info,  Node: ax_prog_tasm_opt,  Next: ax_prog_tcl,  Prev: ax_prog_tasm,  Up: The Macros
26632
26633ax_prog_tasm_opt
26634================
26635
26636Synopsis
26637********
26638
26639     AX_PROG_TASM_OPT(option, var_name)
26640
26641Description
26642***********
26643
26644This macro checks if the TASM assembler accepts the given option.  If
26645yes, the option is appended to the variable 'var_name', otherwise
26646'var_name' is unchanged.
26647
26648Example:
26649
26650       AX_PROG_TASM_OPT([/z], [TASM_OPTS])
26651
26652Source Code
26653***********
26654
26655Download the latest version of 'ax_prog_tasm_opt.m4'
26656(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_tasm_opt.m4)
26657or browse the macro's revision history
26658(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_tasm_opt.m4).
26659
26660License
26661*******
26662
26663Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
26664
26665This program is free software: you can redistribute it and/or modify it
26666under the terms of the GNU Lesser General Public License as published by
26667the Free Software Foundation, either version 3 of the License, or (at
26668your option) any later version.
26669
26670This program is distributed in the hope that it will be useful, but
26671WITHOUT ANY WARRANTY; without even the implied warranty of
26672MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
26673General Public License for more details.
26674
26675You should have received a copy of the GNU Lesser General Public License
26676along with this program.  If not, see <https://www.gnu.org/licenses/>.
26677
26678As a special exception, the respective Autoconf Macro's copyright owner
26679gives unlimited permission to copy, distribute and modify the configure
26680scripts that are the output of Autoconf when processing the Macro.  You
26681need not follow the terms of the GNU General Public License when using
26682or distributing such scripts, even though portions of the text of the
26683Macro appear in them.  The GNU General Public License (GPL) does govern
26684all other use of the material that constitutes the Autoconf Macro.
26685
26686This special exception to the GPL applies to versions of the Autoconf
26687Macro released by the Autoconf Archive.  When you make and distribute a
26688modified version of the Autoconf Macro, you may extend this special
26689exception to the GPL to apply to your modified version as well.
26690
26691
26692File: autoconf-archive.info,  Node: ax_prog_tcl,  Next: ax_prog_xsltproc,  Prev: ax_prog_tasm_opt,  Up: The Macros
26693
26694ax_prog_tcl
26695===========
26696
26697Synopsis
26698********
26699
26700     AX_PROG_TCL([min-version])
26701
26702Description
26703***********
26704
26705Searches for tcl (tclsh and wish) in PATH and checks which version is
26706installed.  The macro bails out if either tcl is not found or the
26707minimum version is not satisfied, unless minimum version is "0".
26708
26709Example:
26710
26711      AX_PROG_TCL
26712
26713This checks for tcl and if not found, exits with an error.  If found, it
26714prints tcl path and version number.
26715
26716      AX_PROG_TCL([8.0])
26717
26718Checks for tcl and exits with an error if its not found or the version
26719is below 8.0.
26720
26721Source Code
26722***********
26723
26724Download the latest version of 'ax_prog_tcl.m4'
26725(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_tcl.m4)
26726or browse the macro's revision history
26727(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_tcl.m4).
26728
26729License
26730*******
26731
26732Copyright (C) 2008 David Cluytens
26733Copyright (C) 2008 Uwe Mayer <merkosh@hadiko.de>
26734
26735This program is free software: you can redistribute it and/or modify it
26736under the terms of the GNU General Public License as published by the
26737Free Software Foundation, either version 3 of the License, or (at your
26738option) any later version.
26739
26740This program is distributed in the hope that it will be useful, but
26741WITHOUT ANY WARRANTY; without even the implied warranty of
26742MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
26743Public License for more details.
26744
26745You should have received a copy of the GNU General Public License along
26746with this program.  If not, see <https://www.gnu.org/licenses/>.
26747
26748As a special exception, the respective Autoconf Macro's copyright owner
26749gives unlimited permission to copy, distribute and modify the configure
26750scripts that are the output of Autoconf when processing the Macro.  You
26751need not follow the terms of the GNU General Public License when using
26752or distributing such scripts, even though portions of the text of the
26753Macro appear in them.  The GNU General Public License (GPL) does govern
26754all other use of the material that constitutes the Autoconf Macro.
26755
26756This special exception to the GPL applies to versions of the Autoconf
26757Macro released by the Autoconf Archive.  When you make and distribute a
26758modified version of the Autoconf Macro, you may extend this special
26759exception to the GPL to apply to your modified version as well.
26760
26761
26762File: autoconf-archive.info,  Node: ax_prog_xsltproc,  Next: ax_prog_yasm,  Prev: ax_prog_tcl,  Up: The Macros
26763
26764ax_prog_xsltproc
26765================
26766
26767Synopsis
26768********
26769
26770     AX_PROG_XSLTPROC([default-flags])
26771
26772Description
26773***********
26774
26775Find an xsltproc executable.
26776
26777Input:
26778
26779"default-flags" is the default $XSLTPROC_FLAGS, which will be overridden
26780if the user specifies -with-xsltproc-flags.
26781
26782Output:
26783
26784$XSLTPROC contains the path to xsltproc, or is empty if none was found
26785or the user specified -without-xsltproc.  $XSLTPROC_FLAGS contains the
26786flags to use with xsltproc.
26787
26788Source Code
26789***********
26790
26791Download the latest version of 'ax_prog_xsltproc.m4'
26792(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_xsltproc.m4)
26793or browse the macro's revision history
26794(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_xsltproc.m4).
26795
26796License
26797*******
26798
26799Copyright (C) 2008,2009 Zmanda Inc. <http://www.zmanda.com/>
26800Copyright (C) 2008,2009 Dustin J. Mitchell <dustin@zmanda.com>
26801
26802This program is free software; you can redistribute it and/or modify it
26803under the terms of the GNU General Public License as published by the
26804Free Software Foundation; either version 2 of the License, or (at your
26805option) any later version.
26806
26807This program is distributed in the hope that it will be useful, but
26808WITHOUT ANY WARRANTY; without even the implied warranty of
26809MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
26810Public License for more details.
26811
26812You should have received a copy of the GNU General Public License along
26813with this program.  If not, see <https://www.gnu.org/licenses/>.
26814
26815As a special exception, the respective Autoconf Macro's copyright owner
26816gives unlimited permission to copy, distribute and modify the configure
26817scripts that are the output of Autoconf when processing the Macro.  You
26818need not follow the terms of the GNU General Public License when using
26819or distributing such scripts, even though portions of the text of the
26820Macro appear in them.  The GNU General Public License (GPL) does govern
26821all other use of the material that constitutes the Autoconf Macro.
26822
26823This special exception to the GPL applies to versions of the Autoconf
26824Macro released by the Autoconf Archive.  When you make and distribute a
26825modified version of the Autoconf Macro, you may extend this special
26826exception to the GPL to apply to your modified version as well.
26827
26828
26829File: autoconf-archive.info,  Node: ax_prog_yasm,  Next: ax_prog_yasm_opt,  Prev: ax_prog_xsltproc,  Up: The Macros
26830
26831ax_prog_yasm
26832============
26833
26834Synopsis
26835********
26836
26837     AX_PROG_YASM([ACTION-IF-NOT-FOUND])
26838
26839Description
26840***********
26841
26842This macro searches for the YASM assembler and sets the variable "yasm"
26843to the name of the application or to "no" if not found.  If
26844ACTION-IF-NOT-FOUND is not specified, configure will fail when the
26845program is not found.
26846
26847Example:
26848
26849       AX_PROG_YASM()
26850       AX_PROG_YASM([yasm_avail="no"])
26851
26852Source Code
26853***********
26854
26855Download the latest version of 'ax_prog_yasm.m4'
26856(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_yasm.m4)
26857or browse the macro's revision history
26858(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_yasm.m4).
26859
26860License
26861*******
26862
26863Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
26864
26865This program is free software: you can redistribute it and/or modify it
26866under the terms of the GNU Lesser General Public License as published by
26867the Free Software Foundation, either version 3 of the License, or (at
26868your option) any later version.
26869
26870This program is distributed in the hope that it will be useful, but
26871WITHOUT ANY WARRANTY; without even the implied warranty of
26872MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
26873General Public License for more details.
26874
26875You should have received a copy of the GNU Lesser General Public License
26876along with this program.  If not, see <https://www.gnu.org/licenses/>.
26877
26878As a special exception, the respective Autoconf Macro's copyright owner
26879gives unlimited permission to copy, distribute and modify the configure
26880scripts that are the output of Autoconf when processing the Macro.  You
26881need not follow the terms of the GNU General Public License when using
26882or distributing such scripts, even though portions of the text of the
26883Macro appear in them.  The GNU General Public License (GPL) does govern
26884all other use of the material that constitutes the Autoconf Macro.
26885
26886This special exception to the GPL applies to versions of the Autoconf
26887Macro released by the Autoconf Archive.  When you make and distribute a
26888modified version of the Autoconf Macro, you may extend this special
26889exception to the GPL to apply to your modified version as well.
26890
26891
26892File: autoconf-archive.info,  Node: ax_prog_yasm_opt,  Next: ax_prototype,  Prev: ax_prog_yasm,  Up: The Macros
26893
26894ax_prog_yasm_opt
26895================
26896
26897Synopsis
26898********
26899
26900     AX_PROG_YASM_OPT(option, var_name)
26901
26902Description
26903***********
26904
26905This macro checks if the YASM assembler accepts the given option.  If
26906yes, the option is appended to the variable 'var_name', otherwise
26907'var_name' is unchanged.
26908
26909Example:
26910
26911       AX_PROG_YASM_OPT([-f bin], [YASM_OPTS])
26912
26913Source Code
26914***********
26915
26916Download the latest version of 'ax_prog_yasm_opt.m4'
26917(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prog_yasm_opt.m4)
26918or browse the macro's revision history
26919(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prog_yasm_opt.m4).
26920
26921License
26922*******
26923
26924Copyright (C) 2007,2009 Bogdan Drozdowski <bogdandr@op.pl>
26925
26926This program is free software: you can redistribute it and/or modify it
26927under the terms of the GNU Lesser General Public License as published by
26928the Free Software Foundation, either version 3 of the License, or (at
26929your option) any later version.
26930
26931This program is distributed in the hope that it will be useful, but
26932WITHOUT ANY WARRANTY; without even the implied warranty of
26933MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
26934General Public License for more details.
26935
26936You should have received a copy of the GNU Lesser General Public License
26937along with this program.  If not, see <https://www.gnu.org/licenses/>.
26938
26939As a special exception, the respective Autoconf Macro's copyright owner
26940gives unlimited permission to copy, distribute and modify the configure
26941scripts that are the output of Autoconf when processing the Macro.  You
26942need not follow the terms of the GNU General Public License when using
26943or distributing such scripts, even though portions of the text of the
26944Macro appear in them.  The GNU General Public License (GPL) does govern
26945all other use of the material that constitutes the Autoconf Macro.
26946
26947This special exception to the GPL applies to versions of the Autoconf
26948Macro released by the Autoconf Archive.  When you make and distribute a
26949modified version of the Autoconf Macro, you may extend this special
26950exception to the GPL to apply to your modified version as well.
26951
26952
26953File: autoconf-archive.info,  Node: ax_prototype,  Next: ax_prototype_accept,  Prev: ax_prog_yasm_opt,  Up: The Macros
26954
26955ax_prototype
26956============
26957
26958Synopsis
26959********
26960
26961     AX_PROTOTYPE(function, includes, code, TAG1, values1 [, TAG2, values2 [...]])
26962
26963Description
26964***********
26965
26966Try all the combinations of <TAG1>, <TAG2>...  to successfully compile
26967<code>.  <TAG1>, <TAG2>, ...  are substituted in <code> and <include>
26968with values found in <values1>, <values2>, ...  respectively.
26969<values1>, <values2>, ...  contain a list of possible values for each
26970corresponding tag and all combinations are tested.  When
26971AC_TRY_COMPILE(include, code) is successful for a given substitution,
26972the macro stops and defines the following macros: FUNCTION_TAG1,
26973FUNCTION_TAG2, ...  using AC_DEFINE() with values set to the current
26974values of <TAG1>, <TAG2>, ...  If no combination is successful the
26975configure script is aborted with a message.
26976
26977Intended purpose is to find which combination of argument types is
26978acceptable for a given function <function>.  It is recommended to list
26979the most specific types first.  For instance ARG1, [size_t, int] instead
26980of ARG1, [int, size_t].
26981
26982Generic usage pattern:
26983
269841) add a call in configure.in
26985
26986      AX_PROTOTYPE(...)
26987
269882) call autoheader to see which symbols are not covered
26989
269903) add the lines in acconfig.h
26991
26992      /* Type of Nth argument of function */
26993      #undef FUNCTION_ARGN
26994
269954) Within the code use FUNCTION_ARGN instead of an hardwired type
26996
26997Complete example:
26998
269991) configure.in
27000
27001      AX_PROTOTYPE(getpeername,
27002      [
27003       #include <sys/types.h>
27004       #include <sys/socket.h>
27005      ],
27006      [
27007       int a = 0;
27008       ARG2 * b = 0;
27009       ARG3 * c = 0;
27010       getpeername(a, b, c);
27011      ],
27012      ARG2, [struct sockaddr, void],
27013      ARG3, [socklen_t, size_t, int, unsigned int, long unsigned int])
27014
270152) call autoheader
27016
27017      autoheader: Symbol `GETPEERNAME_ARG2' is not covered by ./acconfig.h
27018      autoheader: Symbol `GETPEERNAME_ARG3' is not covered by ./acconfig.h
27019
270203) acconfig.h
27021
27022      /* Type of second argument of getpeername */
27023      #undef GETPEERNAME_ARG2
27024
27025      /* Type of third argument of getpeername */
27026      #undef GETPEERNAME_ARG3
27027
270284) in the code
27029
27030       ...
27031       GETPEERNAME_ARG2 name;
27032       GETPEERNAME_ARG3 namelen;
27033       ...
27034       ret = getpeername(socket, &name, &namelen);
27035       ...
27036
27037Implementation notes: generating all possible permutations of the
27038arguments is not easily done with the usual mixture of shell and m4,
27039that is why this macro is almost 100% m4 code.  It generates long but
27040simple to read code.
27041
27042Source Code
27043***********
27044
27045Download the latest version of 'ax_prototype.m4'
27046(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype.m4)
27047or browse the macro's revision history
27048(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype.m4).
27049
27050License
27051*******
27052
27053Copyright (C) 2009 Loic Dachary <loic@senga.org>
27054
27055This program is free software; you can redistribute it and/or modify it
27056under the terms of the GNU General Public License as published by the
27057Free Software Foundation; either version 2 of the License, or (at your
27058option) any later version.
27059
27060This program is distributed in the hope that it will be useful, but
27061WITHOUT ANY WARRANTY; without even the implied warranty of
27062MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27063Public License for more details.
27064
27065You should have received a copy of the GNU General Public License along
27066with this program.  If not, see <https://www.gnu.org/licenses/>.
27067
27068As a special exception, the respective Autoconf Macro's copyright owner
27069gives unlimited permission to copy, distribute and modify the configure
27070scripts that are the output of Autoconf when processing the Macro.  You
27071need not follow the terms of the GNU General Public License when using
27072or distributing such scripts, even though portions of the text of the
27073Macro appear in them.  The GNU General Public License (GPL) does govern
27074all other use of the material that constitutes the Autoconf Macro.
27075
27076This special exception to the GPL applies to versions of the Autoconf
27077Macro released by the Autoconf Archive.  When you make and distribute a
27078modified version of the Autoconf Macro, you may extend this special
27079exception to the GPL to apply to your modified version as well.
27080
27081
27082File: autoconf-archive.info,  Node: ax_prototype_accept,  Next: ax_prototype_getsockname,  Prev: ax_prototype,  Up: The Macros
27083
27084ax_prototype_accept
27085===================
27086
27087Synopsis
27088********
27089
27090     AX_PROTOTYPE_ACCEPT
27091
27092Description
27093***********
27094
27095Requires the AX_PROTOTYPE macro.  FIXME: Put this in the code!
27096
27097Find the type of argument two and three of accept.  User must include
27098the following in acconfig.h:
27099
27100      /* Type of second argument of accept */
27101      #undef ACCEPT_ARG2
27102
27103      /* Type of third argument of accept */
27104      #undef ACCEPT_ARG3
27105
27106Source Code
27107***********
27108
27109Download the latest version of 'ax_prototype_accept.m4'
27110(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype_accept.m4)
27111or browse the macro's revision history
27112(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype_accept.m4).
27113
27114License
27115*******
27116
27117Copyright (C) 2008 Loic Dachary <loic@senga.org>
27118
27119This program is free software; you can redistribute it and/or modify it
27120under the terms of the GNU General Public License as published by the
27121Free Software Foundation; either version 2 of the License, or (at your
27122option) any later version.
27123
27124This program is distributed in the hope that it will be useful, but
27125WITHOUT ANY WARRANTY; without even the implied warranty of
27126MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27127Public License for more details.
27128
27129You should have received a copy of the GNU General Public License along
27130with this program.  If not, see <https://www.gnu.org/licenses/>.
27131
27132As a special exception, the respective Autoconf Macro's copyright owner
27133gives unlimited permission to copy, distribute and modify the configure
27134scripts that are the output of Autoconf when processing the Macro.  You
27135need not follow the terms of the GNU General Public License when using
27136or distributing such scripts, even though portions of the text of the
27137Macro appear in them.  The GNU General Public License (GPL) does govern
27138all other use of the material that constitutes the Autoconf Macro.
27139
27140This special exception to the GPL applies to versions of the Autoconf
27141Macro released by the Autoconf Archive.  When you make and distribute a
27142modified version of the Autoconf Macro, you may extend this special
27143exception to the GPL to apply to your modified version as well.
27144
27145
27146File: autoconf-archive.info,  Node: ax_prototype_getsockname,  Next: ax_prototype_setsockopt,  Prev: ax_prototype_accept,  Up: The Macros
27147
27148ax_prototype_getsockname
27149========================
27150
27151Synopsis
27152********
27153
27154     AX_PROTOTYPE_GETSOCKNAME
27155
27156Description
27157***********
27158
27159Requires the AX_PROTOTYPE macro.  FIXME: Put this in the code!
27160
27161Find the type of argument two and three of getsockname.  User must
27162include the following in acconfig.h:
27163
27164      /* Type of second argument of getsockname */
27165      #undef GETSOCKNAME_ARG2
27166
27167      /* Type of third argument of getsockname */
27168      #undef GETSOCKNAME_ARG3
27169
27170Source Code
27171***********
27172
27173Download the latest version of 'ax_prototype_getsockname.m4'
27174(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype_getsockname.m4)
27175or browse the macro's revision history
27176(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype_getsockname.m4).
27177
27178License
27179*******
27180
27181Copyright (C) 2008 Loic Dachary <loic@senga.org>
27182
27183This program is free software; you can redistribute it and/or modify it
27184under the terms of the GNU General Public License as published by the
27185Free Software Foundation; either version 2 of the License, or (at your
27186option) any later version.
27187
27188This program is distributed in the hope that it will be useful, but
27189WITHOUT ANY WARRANTY; without even the implied warranty of
27190MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27191Public License for more details.
27192
27193You should have received a copy of the GNU General Public License along
27194with this program.  If not, see <https://www.gnu.org/licenses/>.
27195
27196As a special exception, the respective Autoconf Macro's copyright owner
27197gives unlimited permission to copy, distribute and modify the configure
27198scripts that are the output of Autoconf when processing the Macro.  You
27199need not follow the terms of the GNU General Public License when using
27200or distributing such scripts, even though portions of the text of the
27201Macro appear in them.  The GNU General Public License (GPL) does govern
27202all other use of the material that constitutes the Autoconf Macro.
27203
27204This special exception to the GPL applies to versions of the Autoconf
27205Macro released by the Autoconf Archive.  When you make and distribute a
27206modified version of the Autoconf Macro, you may extend this special
27207exception to the GPL to apply to your modified version as well.
27208
27209
27210File: autoconf-archive.info,  Node: ax_prototype_setsockopt,  Next: ax_pthread,  Prev: ax_prototype_getsockname,  Up: The Macros
27211
27212ax_prototype_setsockopt
27213=======================
27214
27215Synopsis
27216********
27217
27218     AX_PROTOTYPE_SETSOCKOPT
27219
27220Description
27221***********
27222
27223Requires the AX_PROTOTYPE macro.  FIXME: Put this in the code!
27224
27225Find the type of argument three of setsockopt.  User must include the
27226following in acconfig.h:
27227
27228      /* Type of third argument of setsockopt */
27229      #undef SETSOCKOPT_ARG3
27230
27231Source Code
27232***********
27233
27234Download the latest version of 'ax_prototype_setsockopt.m4'
27235(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_prototype_setsockopt.m4)
27236or browse the macro's revision history
27237(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_prototype_setsockopt.m4).
27238
27239License
27240*******
27241
27242Copyright (C) 2008 Loic Dachary <loic@senga.org>
27243
27244This program is free software; you can redistribute it and/or modify it
27245under the terms of the GNU General Public License as published by the
27246Free Software Foundation; either version 2 of the License, or (at your
27247option) any later version.
27248
27249This program is distributed in the hope that it will be useful, but
27250WITHOUT ANY WARRANTY; without even the implied warranty of
27251MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27252Public License for more details.
27253
27254You should have received a copy of the GNU General Public License along
27255with this program.  If not, see <https://www.gnu.org/licenses/>.
27256
27257As a special exception, the respective Autoconf Macro's copyright owner
27258gives unlimited permission to copy, distribute and modify the configure
27259scripts that are the output of Autoconf when processing the Macro.  You
27260need not follow the terms of the GNU General Public License when using
27261or distributing such scripts, even though portions of the text of the
27262Macro appear in them.  The GNU General Public License (GPL) does govern
27263all other use of the material that constitutes the Autoconf Macro.
27264
27265This special exception to the GPL applies to versions of the Autoconf
27266Macro released by the Autoconf Archive.  When you make and distribute a
27267modified version of the Autoconf Macro, you may extend this special
27268exception to the GPL to apply to your modified version as well.
27269
27270
27271File: autoconf-archive.info,  Node: ax_pthread,  Next: ax_python,  Prev: ax_prototype_setsockopt,  Up: The Macros
27272
27273ax_pthread
27274==========
27275
27276Synopsis
27277********
27278
27279     AX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
27280
27281Description
27282***********
27283
27284This macro figures out how to build C programs using POSIX threads.  It
27285sets the PTHREAD_LIBS output variable to the threads library and linker
27286flags, and the PTHREAD_CFLAGS output variable to any special C compiler
27287flags that are needed.  (The user can also force certain compiler
27288flags/libs to be tested by setting these environment variables.)
27289
27290Also sets PTHREAD_CC to any special C compiler that is needed for
27291multi-threaded programs (defaults to the value of CC otherwise).  (This
27292is necessary on AIX to use the special cc_r compiler alias.)
27293
27294NOTE: You are assumed to not only compile your program with these flags,
27295but also to link with them as well.  For example, you might link with
27296$PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ...  $PTHREAD_LIBS $LIBS
27297
27298If you are only building threaded programs, you may wish to use these
27299variables in your default LIBS, CFLAGS, and CC:
27300
27301       LIBS="$PTHREAD_LIBS $LIBS"
27302       CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
27303       CC="$PTHREAD_CC"
27304
27305In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant
27306has a nonstandard name, this macro defines PTHREAD_CREATE_JOINABLE to
27307that name (e.g.  PTHREAD_CREATE_UNDETACHED on AIX).
27308
27309Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
27310PTHREAD_PRIO_INHERIT symbol is defined when compiling with
27311PTHREAD_CFLAGS.
27312
27313ACTION-IF-FOUND is a list of shell commands to run if a threads library
27314is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it
27315is not found.  If ACTION-IF-FOUND is not specified, the default action
27316will define HAVE_PTHREAD.
27317
27318Please let the authors know if this macro fails on any platform, or if
27319you have any other suggestions or comments.  This macro was based on
27320work by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with
27321help from M. Frigo), as well as ac_pthread and hb_pthread macros posted
27322by Alejandro Forero Cuervo to the autoconf macro repository.  We are
27323also grateful for the helpful feedback of numerous users.
27324
27325Updated for Autoconf 2.68 by Daniel Richard G.
27326
27327Source Code
27328***********
27329
27330Download the latest version of 'ax_pthread.m4'
27331(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_pthread.m4)
27332or browse the macro's revision history
27333(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_pthread.m4).
27334
27335License
27336*******
27337
27338Copyright (C) 2008 Steven G. Johnson <stevenj@alum.mit.edu>
27339Copyright (C) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
27340
27341This program is free software: you can redistribute it and/or modify it
27342under the terms of the GNU General Public License as published by the
27343Free Software Foundation, either version 3 of the License, or (at your
27344option) any later version.
27345
27346This program is distributed in the hope that it will be useful, but
27347WITHOUT ANY WARRANTY; without even the implied warranty of
27348MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27349Public License for more details.
27350
27351You should have received a copy of the GNU General Public License along
27352with this program.  If not, see <https://www.gnu.org/licenses/>.
27353
27354As a special exception, the respective Autoconf Macro's copyright owner
27355gives unlimited permission to copy, distribute and modify the configure
27356scripts that are the output of Autoconf when processing the Macro.  You
27357need not follow the terms of the GNU General Public License when using
27358or distributing such scripts, even though portions of the text of the
27359Macro appear in them.  The GNU General Public License (GPL) does govern
27360all other use of the material that constitutes the Autoconf Macro.
27361
27362This special exception to the GPL applies to versions of the Autoconf
27363Macro released by the Autoconf Archive.  When you make and distribute a
27364modified version of the Autoconf Macro, you may extend this special
27365exception to the GPL to apply to your modified version as well.
27366
27367
27368File: autoconf-archive.info,  Node: ax_python,  Next: ax_python_config_var,  Prev: ax_pthread,  Up: The Macros
27369
27370ax_python
27371=========
27372
27373Synopsis
27374********
27375
27376     AX_PYTHON
27377
27378Description
27379***********
27380
27381This macro does a complete Python development environment check.
27382
27383It checks for all known versions.  When it finds an executable, it looks
27384to find the header files and library.
27385
27386It sets PYTHON_BIN to the name of the python executable,
27387PYTHON_INCLUDE_DIR to the directory holding the header files, and
27388PYTHON_LIB to the name of the Python library.
27389
27390This macro calls AC_SUBST on PYTHON_BIN (via AC_CHECK_PROG),
27391PYTHON_INCLUDE_DIR and PYTHON_LIB.
27392
27393Source Code
27394***********
27395
27396Download the latest version of 'ax_python.m4'
27397(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python.m4)
27398or browse the macro's revision history
27399(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python.m4).
27400
27401License
27402*******
27403
27404Copyright (C) 2008 Michael Tindal
27405
27406This program is free software; you can redistribute it and/or modify it
27407under the terms of the GNU General Public License as published by the
27408Free Software Foundation; either version 2 of the License, or (at your
27409option) any later version.
27410
27411This program is distributed in the hope that it will be useful, but
27412WITHOUT ANY WARRANTY; without even the implied warranty of
27413MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27414Public License for more details.
27415
27416You should have received a copy of the GNU General Public License along
27417with this program.  If not, see <https://www.gnu.org/licenses/>.
27418
27419As a special exception, the respective Autoconf Macro's copyright owner
27420gives unlimited permission to copy, distribute and modify the configure
27421scripts that are the output of Autoconf when processing the Macro.  You
27422need not follow the terms of the GNU General Public License when using
27423or distributing such scripts, even though portions of the text of the
27424Macro appear in them.  The GNU General Public License (GPL) does govern
27425all other use of the material that constitutes the Autoconf Macro.
27426
27427This special exception to the GPL applies to versions of the Autoconf
27428Macro released by the Autoconf Archive.  When you make and distribute a
27429modified version of the Autoconf Macro, you may extend this special
27430exception to the GPL to apply to your modified version as well.
27431
27432
27433File: autoconf-archive.info,  Node: ax_python_config_var,  Next: ax_python_devel,  Prev: ax_python,  Up: The Macros
27434
27435ax_python_config_var
27436====================
27437
27438Synopsis
27439********
27440
27441     AX_PYTHON_CONFIG_VAR(PYTHON_VARIABLE, [SHELL_VARIABLE])
27442     AX_PYTHON_CONFIG_H
27443     AX_PYTHON_MAKEFILE
27444
27445Description
27446***********
27447
27448AX_PYTHON_CONFIG_VAR:
27449
27450Using the Python module distutils.sysconfig[1], return a Python
27451configuration variable.  PYTHON_VARIABLE is the name of the variable to
27452request from Python, and SHELL_VARIABLE is the name of the shell
27453variable into which the results should be deposited.  If SHELL_VARIABLE
27454is not specified, the macro wil prefix PY_ to the PYTHON_VARIABLE, e.g.,
27455LIBS -> PY_LIBS.
27456
27457SHELL_VARIABLE is AC_SUBST'd.  No action is taken if an error occurs.
27458Note if $PYTHON is not set, AC_CHECK_PROG(PYTHON, python, python) will
27459be run.
27460
27461Example:
27462
27463       AX_PYTHON_CONFIG_VAR(LINKFORSHARED, PY_LFS)
27464
27465AX_PYTHON_CONFIG_H:
27466
27467Using the Python module distutils.sysconfig[1], put the full pathname of
27468the config.h file used to compile Python into the shell variable
27469PY_CONFIG_H. PY_CONFIG_H is AC_SUBST'd.  Note if $PYTHON is not set,
27470AC_CHECK_PROG(PYTHON, python, python) will be run.
27471
27472AX_PYTHON_MAKEFILE:
27473
27474Using the Python module distutils.sysconfig[1], put the full pathname of
27475the Makefile file used to compile Python into the shell variable
27476PY_MAKEFILE. PY_MAKEFILE is AC_SUBST'd.  Note if $PYTHON is not set,
27477AC_CHECK_PROG(PYTHON, python, python) will be run.
27478
27479[1]
27480http://www.python.org/doc/current/dist/module-distutils.sysconfig.html
27481
27482Source Code
27483***********
27484
27485Download the latest version of 'ax_python_config_var.m4'
27486(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_config_var.m4)
27487or browse the macro's revision history
27488(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_config_var.m4).
27489
27490License
27491*******
27492
27493Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
27494
27495Copying and distribution of this file, with or without modification, are
27496permitted in any medium without royalty provided the copyright notice
27497and this notice are preserved.  This file is offered as-is, without any
27498warranty.
27499
27500
27501File: autoconf-archive.info,  Node: ax_python_devel,  Next: ax_python_embed,  Prev: ax_python_config_var,  Up: The Macros
27502
27503ax_python_devel
27504===============
27505
27506Synopsis
27507********
27508
27509     AX_PYTHON_DEVEL([version])
27510
27511Description
27512***********
27513
27514Note: Defines as a precious variable "PYTHON_VERSION". Don't override it
27515in your configure.ac.
27516
27517This macro checks for Python and tries to get the include path to
27518'Python.h'.  It provides the $(PYTHON_CPPFLAGS) and $(PYTHON_LIBS)
27519output variables.  It also exports $(PYTHON_EXTRA_LIBS) and
27520$(PYTHON_EXTRA_LDFLAGS) for embedding Python in your code.
27521
27522You can search for some particular version of Python by passing a
27523parameter to this macro, for example ">= '2.3.1'", or "== '2.4'".
27524Please note that you *have* to pass also an operator along with the
27525version to match, and pay special attention to the single quotes
27526surrounding the version number.  Don't use "PYTHON_VERSION" for this:
27527that environment variable is declared as precious and thus reserved for
27528the end-user.
27529
27530This macro should work for all versions of Python >= 2.1.0.  As an end
27531user, you can disable the check for the python version by setting the
27532PYTHON_NOVERSIONCHECK environment variable to something else than the
27533empty string.
27534
27535If you need to use this macro for an older Python version, please
27536contact the authors.  We're always open for feedback.
27537
27538Source Code
27539***********
27540
27541Download the latest version of 'ax_python_devel.m4'
27542(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_devel.m4)
27543or browse the macro's revision history
27544(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_devel.m4).
27545
27546License
27547*******
27548
27549Copyright (C) 2009 Sebastian Huber <sebastian-huber@web.de>
27550Copyright (C) 2009 Alan W. Irwin
27551Copyright (C) 2009 Rafael Laboissiere <rafael@laboissiere.net>
27552Copyright (C) 2009 Andrew Collier
27553Copyright (C) 2009 Matteo Settenvini <matteo@member.fsf.org>
27554Copyright (C) 2009 Horst Knorr <hk_classes@knoda.org>
27555Copyright (C) 2013 Daniel Mullner <muellner@math.stanford.edu>
27556
27557This program is free software: you can redistribute it and/or modify it
27558under the terms of the GNU General Public License as published by the
27559Free Software Foundation, either version 3 of the License, or (at your
27560option) any later version.
27561
27562This program is distributed in the hope that it will be useful, but
27563WITHOUT ANY WARRANTY; without even the implied warranty of
27564MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27565Public License for more details.
27566
27567You should have received a copy of the GNU General Public License along
27568with this program.  If not, see <https://www.gnu.org/licenses/>.
27569
27570As a special exception, the respective Autoconf Macro's copyright owner
27571gives unlimited permission to copy, distribute and modify the configure
27572scripts that are the output of Autoconf when processing the Macro.  You
27573need not follow the terms of the GNU General Public License when using
27574or distributing such scripts, even though portions of the text of the
27575Macro appear in them.  The GNU General Public License (GPL) does govern
27576all other use of the material that constitutes the Autoconf Macro.
27577
27578This special exception to the GPL applies to versions of the Autoconf
27579Macro released by the Autoconf Archive.  When you make and distribute a
27580modified version of the Autoconf Macro, you may extend this special
27581exception to the GPL to apply to your modified version as well.
27582
27583
27584File: autoconf-archive.info,  Node: ax_python_embed,  Next: ax_python_module,  Prev: ax_python_devel,  Up: The Macros
27585
27586ax_python_embed
27587===============
27588
27589Synopsis
27590********
27591
27592     AX_PYTHON_DEFAULT
27593     AX_PYTHON_ENABLE
27594     AX_PYTHON_WITH
27595     AX_PYTHON_PATH
27596     AX_PYTHON_VERSION_ENSURE( [2.2] )
27597     AX_PYTHON_CSPEC
27598     AX_PYTHON_LSPEC
27599
27600Description
27601***********
27602
27603This file provides autoconf support for those applications that want to
27604embed python.  It supports all pythons >= 2.2 which is the first
27605official release containing distutils.  Version 2.2 of python was
27606released December 21, 2001.  Since it actually executes the python,
27607cross platform configuration will probably not work.  Also, most of the
27608platforms supported are consistent until you look into Mac OS X. The
27609python included with it is installed as a framework which is a very
27610different environment to set up the normal tools such as gcc and libtool
27611to deal with.  Therefore, once we establish which python that we are
27612going to use, we use its distutils to actually compile and link our
27613modules or applications.
27614
27615At this time, it does NOT support linking with Python statically.  It
27616does support dynamic linking.
27617
27618This set of macros help define $PYTHON, $PYTHON_USE, $PYTHON_CSPEC and
27619$PYTHON_LSPEC. $PYTHON defines the full executable path for the Python
27620being linked to and is used within these macros to determine if that has
27621been specified or found.  These macros do execute this python version so
27622it must be present on the system at configure time.
27623
27624$PYTHON_USE is an automake variable that defines whether Python support
27625should be included or not in your application.  $PYTHON_CSPEC is a
27626variable that supplies additional CFLAGS for the compilation of the
27627application/shared library.  $PYTHON_LSPEC is a variable that supplies
27628additional LDFLAGS for linking the application/shared library.
27629
27630The following is an example of how to set up for python usage within
27631your application in your configure.in:
27632
27633       AX_PYTHON_DEFAULT( )
27634       AX_PYTHON_ENABLE( )             # Optional
27635       AX_PYTHON_WITH( )               # Optional
27636       AX_PYTHON_PATH( )               # or AX_PYTHON_INSIST( )
27637       # if $PYTHON is not defined, then the following do nothing.
27638       AX_PYTHON_VERSION_ENSURE( [2.2] )
27639       AX_PYTHON_CSPEC
27640       AX_PYTHON_LSPEC
27641
27642The AX_PYTHON_DEFAULT sets the $PYTHON_USE to false.  Thereby, excluding
27643it if it was optional.
27644
27645The AX_PYTHON_ENABLE looks for the optional configure parameters of
27646-enable-python/-disable-python and establishes the $PYTHON and
27647$PYTHON_USE variables accordingly.
27648
27649The AX_PYTHON_WITH looks for the optional configure parameters of
27650-with-python/-without-python and establishes the $PYTHON and $PYTHON_USE
27651variables accordingly.
27652
27653The AX_PYTHON_PATH looks for python assuming that none has been
27654previously found or defined and issues an error if it does not find it.
27655If it does find it, it establishes the $PYTHON and $PYTHON_USE variables
27656accordingly.  AX_PYTHON_INSIST could be used here instead if you want to
27657insist that Python support be included using the -enable-python or
27658-with-python checks previously done.
27659
27660The AX_PYTHON_VERSION_ENSURE issues an error if the Python previously
27661found is not of version 2.2 or greater.
27662
27663Once that these macros have be run, we can use PYTHON_USE within the
27664makefile.am file to conditionally add the Python support such as:
27665
27666Makefile.am example showing optional inclusion of directories:
27667
27668      if PYTHON_USE
27669      plugins = plugins
27670      src = src
27671      else
27672      plugins =
27673      src =
27674      endif
27675
27676      SUBDIRS = . $(plugins) $(src)
27677
27678Makefile.am example showing optional shared library build:
27679
27680      if PYTHON_USE
27681      lib_LTLIBRARIES        = libElemList.la
27682      libElemList_la_SOURCES = libElemList.c
27683      libElemList_la_CFLAGS  = @PYTHON_CSPEC@
27684      libElemList_la_LDFLAGS = @PYTHON_LSPEC@
27685      endif
27686
27687Makefile.am example showing optional program build:
27688
27689      if PYTHON_USE
27690      bin_PROGRAMS    = runFunc
27691      runFunc_SOURCES = runFunc.c
27692      runFunc_CFLAGS  = @PYTHON_CSPEC@
27693      runFunc_LDFLAGS = @PYTHON_LSPEC@
27694      endif
27695
27696The above compiles the modules only if PYTHON_USE was specified as true.
27697Also, the else portion of the if was optional.
27698
27699Source Code
27700***********
27701
27702Download the latest version of 'ax_python_embed.m4'
27703(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_embed.m4)
27704or browse the macro's revision history
27705(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_embed.m4).
27706
27707License
27708*******
27709
27710Copyright (C) 2008 Robert White <kranki@mac.com>
27711Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
27712
27713Copying and distribution of this file, with or without modification, are
27714permitted in any medium without royalty provided the copyright notice
27715and this notice are preserved.  This file is offered as-is, without any
27716warranty.
27717
27718
27719File: autoconf-archive.info,  Node: ax_python_module,  Next: ax_python_module_version,  Prev: ax_python_embed,  Up: The Macros
27720
27721ax_python_module
27722================
27723
27724Synopsis
27725********
27726
27727     AX_PYTHON_MODULE(modname[, fatal, python])
27728
27729Description
27730***********
27731
27732Checks for Python module.
27733
27734If fatal is non-empty then absence of a module will trigger an error.
27735The third parameter can either be "python" for Python 2 or "python3" for
27736Python 3; defaults to Python 3.
27737
27738Source Code
27739***********
27740
27741Download the latest version of 'ax_python_module.m4'
27742(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_module.m4)
27743or browse the macro's revision history
27744(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_module.m4).
27745
27746License
27747*******
27748
27749Copyright (C) 2008 Andrew Collier
27750
27751Copying and distribution of this file, with or without modification, are
27752permitted in any medium without royalty provided the copyright notice
27753and this notice are preserved.  This file is offered as-is, without any
27754warranty.
27755
27756
27757File: autoconf-archive.info,  Node: ax_python_module_version,  Next: ax_r_package,  Prev: ax_python_module,  Up: The Macros
27758
27759ax_python_module_version
27760========================
27761
27762Synopsis
27763********
27764
27765     AX_PYTHON_MODULE_VERSION(modname, min_version[, python])
27766
27767Description
27768***********
27769
27770Checks for Python module with at least the given version.
27771
27772Triggers an error if module is absent or present but at a lower version.
27773The third parameter can either be "python" for Python 2 or "python3" for
27774Python 3; defaults to Python 3.
27775
27776Source Code
27777***********
27778
27779Download the latest version of 'ax_python_module_version.m4'
27780(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_python_module_version.m4)
27781or browse the macro's revision history
27782(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_python_module_version.m4).
27783
27784License
27785*******
27786
27787Copyright (C) 2015 Endless Mobile, Inc.; contributed by Philip Chimento <philip@endlessm.com> and Kurt von Laven <kurt@endlessm.com>
27788
27789Copying and distribution of this file, with or without modification, are
27790permitted in any medium without royalty provided the copyright notice
27791and this notice are preserved.  This file is offered as-is, without any
27792warranty.
27793
27794
27795File: autoconf-archive.info,  Node: ax_r_package,  Next: ax_recursive_eval,  Prev: ax_python_module_version,  Up: The Macros
27796
27797ax_r_package
27798============
27799
27800Synopsis
27801********
27802
27803     AX_R_PACKAGE(pkgname[, version, R])
27804
27805Description
27806***********
27807
27808Checks for an R package.
27809
27810Optionally checks for the version when a second argument is given.  A
27811different R can be used by providing a third argument.
27812
27813Source Code
27814***********
27815
27816Download the latest version of 'ax_r_package.m4'
27817(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_r_package.m4)
27818or browse the macro's revision history
27819(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_r_package.m4).
27820
27821License
27822*******
27823
27824Copyright (C) 2017 Ricardo Wurmus
27825
27826Copying and distribution of this file, with or without modification, are
27827permitted in any medium without royalty provided the copyright notice
27828and this notice are preserved.  This file is offered as-is, without any
27829warranty.
27830
27831
27832File: autoconf-archive.info,  Node: ax_recursive_eval,  Next: ax_require_defined,  Prev: ax_r_package,  Up: The Macros
27833
27834ax_recursive_eval
27835=================
27836
27837Synopsis
27838********
27839
27840     AX_RECURSIVE_EVAL(VALUE, RESULT)
27841
27842Description
27843***********
27844
27845Interpolate the VALUE in loop until it doesn't change, and set the
27846result to $RESULT. WARNING: It's easy to get an infinite loop with some
27847unsane input.
27848
27849Source Code
27850***********
27851
27852Download the latest version of 'ax_recursive_eval.m4'
27853(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_recursive_eval.m4)
27854or browse the macro's revision history
27855(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_recursive_eval.m4).
27856
27857License
27858*******
27859
27860Copyright (C) 2008 Alexandre Duret-Lutz <adl@gnu.org>
27861
27862This program is free software; you can redistribute it and/or modify it
27863under the terms of the GNU General Public License as published by the
27864Free Software Foundation; either version 2 of the License, or (at your
27865option) any later version.
27866
27867This program is distributed in the hope that it will be useful, but
27868WITHOUT ANY WARRANTY; without even the implied warranty of
27869MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
27870Public License for more details.
27871
27872You should have received a copy of the GNU General Public License along
27873with this program.  If not, see <https://www.gnu.org/licenses/>.
27874
27875As a special exception, the respective Autoconf Macro's copyright owner
27876gives unlimited permission to copy, distribute and modify the configure
27877scripts that are the output of Autoconf when processing the Macro.  You
27878need not follow the terms of the GNU General Public License when using
27879or distributing such scripts, even though portions of the text of the
27880Macro appear in them.  The GNU General Public License (GPL) does govern
27881all other use of the material that constitutes the Autoconf Macro.
27882
27883This special exception to the GPL applies to versions of the Autoconf
27884Macro released by the Autoconf Archive.  When you make and distribute a
27885modified version of the Autoconf Macro, you may extend this special
27886exception to the GPL to apply to your modified version as well.
27887
27888
27889File: autoconf-archive.info,  Node: ax_require_defined,  Next: ax_require_one_func,  Prev: ax_recursive_eval,  Up: The Macros
27890
27891ax_require_defined
27892==================
27893
27894Synopsis
27895********
27896
27897     AX_REQUIRE_DEFINED(MACRO)
27898
27899Description
27900***********
27901
27902AX_REQUIRE_DEFINED is a simple helper for making sure other macros have
27903been defined and thus are available for use.  This avoids random issues
27904where a macro isn't expanded.  Instead the configure script emits a
27905non-fatal:
27906
27907       ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found
27908
27909It's like AC_REQUIRE except it doesn't expand the required macro.
27910
27911Here's an example:
27912
27913       AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])
27914
27915Source Code
27916***********
27917
27918Download the latest version of 'ax_require_defined.m4'
27919(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_require_defined.m4)
27920or browse the macro's revision history
27921(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_require_defined.m4).
27922
27923License
27924*******
27925
27926Copyright (C) 2014 Mike Frysinger <vapier@gentoo.org>
27927
27928Copying and distribution of this file, with or without modification, are
27929permitted in any medium without royalty provided the copyright notice
27930and this notice are preserved.  This file is offered as-is, without any
27931warranty.
27932
27933
27934File: autoconf-archive.info,  Node: ax_require_one_func,  Next: ax_restore_flags,  Prev: ax_require_defined,  Up: The Macros
27935
27936ax_require_one_func
27937===================
27938
27939Synopsis
27940********
27941
27942     AX_REQUIRE_ONE_FUNC (FUNCTION..., [ACTION-IF-ANY-FOUND], [ACTION-IF-NONE-FOUND])
27943
27944Description
27945***********
27946
27947AX_REQUIRE_ONE_FUNC is a simple wrapper for AC_CHECK_FUNCS. It calls
27948AC_CHECK_FUNCS on the list of functions named in the first argument,
27949then invokes ACTION-IF-ANY-FOUND if at least one of the functions exists
27950or ACTION-IF-NONE-FOUND if none of the functions exist.
27951
27952Here's an example:
27953
27954       AX_REQUIRE_ONE_FUNC([posix_memalign memalign valloc], ,
27955         [AC_MSG_ERROR([unable to allocate page-aligned memory])])
27956
27957Source Code
27958***********
27959
27960Download the latest version of 'ax_require_one_func.m4'
27961(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_require_one_func.m4)
27962or browse the macro's revision history
27963(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_require_one_func.m4).
27964
27965License
27966*******
27967
27968Copyright (C) 2008 Scott Pakin <pakin@uiuc.edu>
27969
27970Copying and distribution of this file, with or without modification, are
27971permitted in any medium without royalty provided the copyright notice
27972and this notice are preserved.  This file is offered as-is, without any
27973warranty.
27974
27975
27976File: autoconf-archive.info,  Node: ax_restore_flags,  Next: ax_restore_flags_with_prefix,  Prev: ax_require_one_func,  Up: The Macros
27977
27978ax_restore_flags
27979================
27980
27981Synopsis
27982********
27983
27984     AX_RESTORE_FLAGS([namespace])
27985
27986Description
27987***********
27988
27989Restore common compilation flags from temporary variables.
27990
27991Compilation flags includes: CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS, LIBS,
27992OBJCFLAGS.
27993
27994By default these flags are restored to a global (empty) namespace, but
27995user could restore from specific NAMESPACE by using
27996AX_RESTORE_FLAGS(NAMESPACE) macro.
27997
27998Typical usage is like:
27999
28000       AX_SAVE_FLAGS(mypackage)
28001       CPPFLAGS="-Imypackagespath ${CPPFLAGS}"
28002       dnl ... do some detection ...
28003       AX_RESTORE_FLAGS(mypackage)
28004
28005Source Code
28006***********
28007
28008Download the latest version of 'ax_restore_flags.m4'
28009(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_restore_flags.m4)
28010or browse the macro's revision history
28011(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_restore_flags.m4).
28012
28013License
28014*******
28015
28016Copyright (C) 2009 Filippo Giunchedi <filippo@esaurito.net>
28017Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University
28018
28019Copyright (C) 2011 Russ Allbery <rra@stanford.edu>
28020Copyright (C) 2013 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
28021
28022Copying and distribution of this file, with or without modification, are
28023permitted in any medium without royalty provided the copyright notice
28024and this notice are preserved.  This file is offered as-is, without any
28025warranty.
28026
28027
28028File: autoconf-archive.info,  Node: ax_restore_flags_with_prefix,  Next: ax_rpm_init,  Prev: ax_restore_flags,  Up: The Macros
28029
28030ax_restore_flags_with_prefix
28031============================
28032
28033Synopsis
28034********
28035
28036     AX_RESTORE_FLAGS_WITH_PREFIX(PREFIX, LIST-OF-FLAGS)
28037
28038Description
28039***********
28040
28041Restore the flags saved by AX_SAVE_FLAGS_WITH_PREFIX.
28042
28043Expansion example: AX_RESTORE_FLAGS_WITH_PREFIX([GL], [[CFLAGS],[LIBS]])
28044expands to
28045
28046       CFLAGS="$gl_saved_flag_cflags"
28047       LIBS="$gl_saved_flag_libs"
28048
28049One common use case is to define a package specific wrapper macro around
28050this one, and also restore other variables if needed.  For example:
28051
28052       AC_DEFUN([_AX_CHECK_GL_RESTORE_FLAGS], [
28053         AX_RESTORE_FLAGS_WITH_PREFIX([GL],[$1])
28054         AC_LANG_POP([C])
28055       ])
28056
28057       # Restores CFLAGS, LIBS and language state
28058       _AX_CHECK_GL_RESTORE_FLAGS([[CFLAGS],[LIBS]])
28059
28060Source Code
28061***********
28062
28063Download the latest version of 'ax_restore_flags_with_prefix.m4'
28064(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_restore_flags_with_prefix.m4)
28065or browse the macro's revision history
28066(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_restore_flags_with_prefix.m4).
28067
28068License
28069*******
28070
28071Copyright (C) 2016 Felix Chern <idryman@gmail.com>
28072
28073This program is free software; you can redistribute it and/or modify it
28074under the terms of the GNU General Public License as published by the
28075Free Software Foundation; either version 2 of the License, or (at your
28076option) any later version.
28077
28078This program is distributed in the hope that it will be useful, but
28079WITHOUT ANY WARRANTY; without even the implied warranty of
28080MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
28081Public License for more details.
28082
28083You should have received a copy of the GNU General Public License along
28084with this program.  If not, see <https://www.gnu.org/licenses/>.
28085
28086As a special exception, the respective Autoconf Macro's copyright owner
28087gives unlimited permission to copy, distribute and modify the configure
28088scripts that are the output of Autoconf when processing the Macro.  You
28089need not follow the terms of the GNU General Public License when using
28090or distributing such scripts, even though portions of the text of the
28091Macro appear in them.  The GNU General Public License (GPL) does govern
28092all other use of the material that constitutes the Autoconf Macro.
28093
28094This special exception to the GPL applies to versions of the Autoconf
28095Macro released by the Autoconf Archive.  When you make and distribute a
28096modified version of the Autoconf Macro, you may extend this special
28097exception to the GPL to apply to your modified version as well.
28098
28099
28100File: autoconf-archive.info,  Node: ax_rpm_init,  Next: ax_ruby_devel,  Prev: ax_restore_flags_with_prefix,  Up: The Macros
28101
28102ax_rpm_init
28103===========
28104
28105Synopsis
28106********
28107
28108     AX_RPM_INIT
28109
28110Description
28111***********
28112
28113Setup variables for creation of rpms.  It will define several variables
28114useful for creating rpms on a system where rpms are supported.
28115Currently, I requires changes to Makefile.am to function properly (see
28116the example below).
28117
28118Also note that I do not use any non-UNIX OSs (and for the most part, I
28119only use RedHat), so this is probably generally not useful for other
28120systems.
28121
28122Required setup:
28123
28124In configure.in:
28125
28126       dnl For my rpm.m4 macros
28127       RPM_RELEASE=1
28128       AC_SUBST(RPM_RELEASE)
28129
28130       AX_RPM_INIT
28131       dnl Enable or disable the rpm making rules in Makefile.am
28132       AM_CONDITIONAL(MAKE_RPMS, test x$make_rpms = xtrue)
28133
28134Furthermore, the %GNUconfigure rpm macro has a problem in that it does
28135not define CXXFLAGS for the target system correctly, so for compiling
28136C++ code, add the following line _before_ calling AC_PROG_CXX:
28137
28138       dnl This is a little hack to make this work with rpm better (see mysql++.spec.in)
28139       test -z "$CXXFLAGS" && CXXFLAGS="${CFLAGS}"
28140
28141Changes to Makefile.am (I am trying to get rid of this step; suggestions
28142invited):
28143
28144       if MAKE_RPMS
28145       rpm: @RPM_TARGET@
28146
28147       .PHONY: rpm
28148
28149       $(RPM_TARGET): $(DISTFILES)
28150         ${MAKE} dist
28151         -mkdir -p $(RPM_DIR)/SRPMS
28152         -mkdir -p `dirname $(RPM_TARGET)`
28153         $(RPM_PROG) $(RPM_ARGS) $(RPM_TARBALL)
28154         @echo Congratulations, $(RPM_TARGET) "(and friends)" should now exist.
28155       else
28156       endif
28157
28158Also, it works best with a XXXX.spec.in file like the following (this is
28159way down on the wishlist, but a program to generate the skeleton spec.in
28160much like autoscan would just kick butt!):
28161
28162       ---------- 8< ----------
28163       # -*- Mode:rpm-spec -*-
28164       # mysql++.spec.in
28165       Summary: Your package description goes here
28166       %define rel @RPM_RELEASE@
28167
28168       %define version @VERSION@
28169       %define pkgname @PACKAGE@
28170       %define prefix /usr
28171
28172       %define lt_release @LT_RELEASE@
28173       %define lt_version @LT_CURRENT@.@LT_REVISION@.@LT_AGE@
28174
28175       # This is a hack until I can figure out how to better handle replacing
28176       # autoconf macros... (gotta love autoconf...)
28177       %define __aclocal   aclocal || aclocal -I ./macros
28178       %define configure_args  @RPM_CONFIGURE_ARGS@
28179
28180       Name: %{pkgname}
28181       Version: %{version}
28182       Release: %{rel}
28183
28184       Copyright: LGPL
28185       Group: # your group name goes here
28186       Source: %{pkgname}-%{version}.tar.gz
28187       Requires: # additional requirements
28188       Buildroot: /tmp/%{pkgname}-root
28189       URL: http://yoururl.go.here
28190       Prefix: %{prefix}
28191       BuildArchitectures: # Target platforms, i.e., i586
28192       Packager: Your Name <youremail@your.address>
28193
28194       %description
28195       Your package description
28196
28197       %changelog
28198
28199       %prep
28200       %setup
28201       #%patch
28202
28203       %build
28204       %GNUconfigure %{configure_args}
28205       # This is why we copy the CFLAGS to the CXXFLAGS in configure.in
28206       # CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" ./configure %{_target_platform} --prefix=%{prefix}
28207       make
28208
28209       %install
28210       # To make things work with BUILDROOT
28211       if [ "$RPM_BUILD_ROOT" != "/tmp/%{pkgname}-root" ]
28212       then
28213         echo
28214         echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
28215         echo @                                                                    @
28216         echo @  RPM_BUILD_ROOT is not what I expected.  Please clean it yourself. @
28217         echo @                                                                    @
28218         echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
28219         echo
28220       else
28221         echo Cleaning RPM_BUILD_ROOT: "$RPM_BUILD_ROOT"
28222         rm -rf "$RPM_BUILD_ROOT"
28223       fi
28224       make DESTDIR="$RPM_BUILD_ROOT" install
28225
28226       %clean
28227       # Call me paranoid, but I do not want to be responsible for nuking
28228       # someone's harddrive!
28229       if [ "$RPM_BUILD_ROOT" != "/tmp/%{pkgname}-root" ]
28230       then
28231         echo
28232         echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
28233         echo @                                                                    @
28234         echo @  RPM_BUILD_ROOT is not what I expected.  Please clean it yourself. @
28235         echo @                                                                    @
28236         echo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
28237         echo
28238       else
28239         echo Cleaning RPM_BUILD_ROOT: "$RPM_BUILD_ROOT"
28240         rm -rf "$RPM_BUILD_ROOT"
28241       fi
28242
28243       %files
28244       %defattr(-, root, root)
28245       # Your application file list goes here
28246       # %{prefix}/lib/lib*.so*
28247       %doc COPYRIGHT ChangeLog README AUTHORS NEWS
28248       %doc doc/*
28249
28250       # If you install a library
28251       %post -p /sbin/ldconfig
28252
28253       # If you install a library
28254       %postun -p /sbin/ldconfig
28255
28256       %package devel
28257       Summary: Development files for %{pkgname}
28258       Group: Applications/Databases
28259       %description devel
28260       Development files for %{pkgname}.
28261
28262       %files devel
28263       %defattr(-, root, root)
28264       # Your development files go here
28265       # Programmers documentation goes here
28266       %doc doc
28267
28268       # end of file
28269       ---------- >8 ----------
28270
28271Source Code
28272***********
28273
28274Download the latest version of 'ax_rpm_init.m4'
28275(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_rpm_init.m4)
28276or browse the macro's revision history
28277(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_rpm_init.m4).
28278
28279License
28280*******
28281
28282Copyright (C) 2008 Dale K. Hawkins <dhawkins@cdrgts.com>
28283
28284Copying and distribution of this file, with or without modification, are
28285permitted in any medium without royalty provided the copyright notice
28286and this notice are preserved.  This file is offered as-is, without any
28287warranty.
28288
28289
28290File: autoconf-archive.info,  Node: ax_ruby_devel,  Next: ax_ruby_ext,  Prev: ax_rpm_init,  Up: The Macros
28291
28292ax_ruby_devel
28293=============
28294
28295Synopsis
28296********
28297
28298     AX_RUBY_DEVEL([version])
28299
28300Description
28301***********
28302
28303This macro checks for Ruby and tries to get the include path to
28304'ruby.h'.  It provides the $(RUBY_CPPFLAGS) and $(RUBY_LDFLAGS) output
28305variables.  It also exports $(RUBY_EXTRA_LIBS) for embedding Ruby in
28306your code.
28307
28308You can search for some particular version of Ruby by passing a
28309parameter to this macro, for example "2.2.1".
28310
28311Source Code
28312***********
28313
28314Download the latest version of 'ax_ruby_devel.m4'
28315(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ruby_devel.m4)
28316or browse the macro's revision history
28317(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ruby_devel.m4).
28318
28319License
28320*******
28321
28322Copyright (C) 2008 Rafal Rzepecki <divided.mind@gmail.com>
28323Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
28324Copyright (C) 2008 Alan W. Irwin
28325Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
28326Copyright (C) 2008 Andrew Collier
28327Copyright (C) 2008 Matteo Settenvini <matteo@member.fsf.org>
28328Copyright (C) 2008 Horst Knorr <hk_classes@knoda.org>
28329
28330This program is free software: you can redistribute it and/or modify it
28331under the terms of the GNU General Public License as published by the
28332Free Software Foundation, either version 3 of the License, or (at your
28333option) any later version.
28334
28335This program is distributed in the hope that it will be useful, but
28336WITHOUT ANY WARRANTY; without even the implied warranty of
28337MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
28338Public License for more details.
28339
28340You should have received a copy of the GNU General Public License along
28341with this program.  If not, see <https://www.gnu.org/licenses/>.
28342
28343As a special exception, the respective Autoconf Macro's copyright owner
28344gives unlimited permission to copy, distribute and modify the configure
28345scripts that are the output of Autoconf when processing the Macro.  You
28346need not follow the terms of the GNU General Public License when using
28347or distributing such scripts, even though portions of the text of the
28348Macro appear in them.  The GNU General Public License (GPL) does govern
28349all other use of the material that constitutes the Autoconf Macro.
28350
28351This special exception to the GPL applies to versions of the Autoconf
28352Macro released by the Autoconf Archive.  When you make and distribute a
28353modified version of the Autoconf Macro, you may extend this special
28354exception to the GPL to apply to your modified version as well.
28355
28356
28357File: autoconf-archive.info,  Node: ax_ruby_ext,  Next: ax_save_flags,  Prev: ax_ruby_devel,  Up: The Macros
28358
28359ax_ruby_ext
28360===========
28361
28362Synopsis
28363********
28364
28365     AX_RUBY_EXT
28366
28367Description
28368***********
28369
28370Fetches the linker flags and C compiler flags for compiling and linking
28371Ruby binary extensions.  The macro substitutes RUBY_VERSION,
28372RUBY_EXT_INC, RUBY_EXT_LIB, RUBY_EXT_CPPFLAGS, RUBY_EXT_LDFLAGS and
28373RUBY_EXT_DLEXT variables if Ruby executable has been found.  It also
28374checks the same variables before trying to retrieve them from the Ruby
28375configuration.
28376
28377       RUBY_VERSION: version of the Ruby interpreter
28378       RUBY_EXT_INC: Ruby include directory
28379       RUBY_EXT_LIB: Ruby extensions destination directory
28380       RUBY_EXT_CPPFLAGS: C preprocessor flags to compile extensions
28381       RUBY_EXT_LDFLAGS: linker flags to build extensions
28382       RUBY_EXT_DLEXT: extensions suffix for ruby modules (e.g. "so")
28383
28384Examples:
28385
28386       AX_RUBY_EXT
28387       if test x"$RUBY" = x; then
28388          AC_ERROR(["cannot find Ruby"])
28389       fi
28390
28391Source Code
28392***********
28393
28394Download the latest version of 'ax_ruby_ext.m4'
28395(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_ruby_ext.m4)
28396or browse the macro's revision history
28397(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_ruby_ext.m4).
28398
28399License
28400*******
28401
28402Copyright (C) 2011 Stanislav Sedov <stas@FreeBSD.org>
28403
28404Redistribution and use in source and binary forms, with or without
28405modification, are permitted provided that the following conditions are
28406met:
28407
284081.  Redistributions of source code must retain the above copyright
28409notice, this list of conditions and the following disclaimer.
28410
284112.  Redistributions in binary form must reproduce the above copyright
28412notice, this list of conditions and the following disclaimer in the
28413documentation and/or other materials provided with the distribution.
28414
28415THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND ANY
28416EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28417IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
28418PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
28419LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28420CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28421SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28422INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28423CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28424ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
28425THE POSSIBILITY OF SUCH DAMAGE.
28426
28427
28428File: autoconf-archive.info,  Node: ax_save_flags,  Next: ax_save_flags_with_prefix,  Prev: ax_ruby_ext,  Up: The Macros
28429
28430ax_save_flags
28431=============
28432
28433Synopsis
28434********
28435
28436     AX_SAVE_FLAGS([NAMESPACE])
28437
28438Description
28439***********
28440
28441Save common compilation flags into temporary variables.
28442
28443Compilation flags includes: CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS, LIBS,
28444OBJCFLAGS.
28445
28446By default these flags are saved to a global (empty) namespace, but user
28447could specify a specific NAMESPACE to AX_SAVE_FLAGS macro and latter
28448restore it by using AX_RESTORE_FLAGS(NAMESPACE).
28449
28450       AX_SAVE_FLAGS(mypackage)
28451       CPPFLAGS="-Imypackagespath ${CPPFLAGS}"
28452       dnl .. do some detection ...
28453       AX_RESTORE_FLAGS(mypackage)
28454
28455Source Code
28456***********
28457
28458Download the latest version of 'ax_save_flags.m4'
28459(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_save_flags.m4)
28460or browse the macro's revision history
28461(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_save_flags.m4).
28462
28463License
28464*******
28465
28466Copyright (C) 2009 Filippo Giunchedi <filippo@esaurito.net>
28467Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University
28468
28469Copyright (C) 2011 Russ Allbery <rra@stanford.edu>
28470Copyright (C) 2013 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
28471
28472Copying and distribution of this file, with or without modification, are
28473permitted in any medium without royalty provided the copyright notice
28474and this notice are preserved.  This file is offered as-is, without any
28475warranty.
28476
28477
28478File: autoconf-archive.info,  Node: ax_save_flags_with_prefix,  Next: ax_set_default_paths_system,  Prev: ax_save_flags,  Up: The Macros
28479
28480ax_save_flags_with_prefix
28481=========================
28482
28483Synopsis
28484********
28485
28486     AX_SAVE_FLAGS_WITH_PREFIX(PREFIX, LIST-OF-FLAGS)
28487
28488Description
28489***********
28490
28491For each flag in LIST-OF-FLAGS, it expands to lower-cased shell variable
28492with the prefix holding the flag original value.  The saved variables
28493can be restored by AX_RESTORE_FLAGS_WITH_PREFIX
28494
28495As an example: AX_SAVE_FLAGS_WITH_PREFIX([GL], [[CFLAGS],[LIBS]])
28496expands to
28497
28498       gl_saved_flag_cflags="$CFLAGS"
28499       gl_saved_flag_libs="$LIBS"
28500       CFLAGS="$GL_CFLAGS $CFLAGS"
28501       LIBS="$GL_LIBS $LIBS"
28502
28503One common use case is to define a package specific wrapper macro around
28504this one, and also setup other variables if needed.  For example:
28505
28506       AC_DEFUN([_AX_CHECK_GL_SAVE_FLAGS], [
28507         AX_SAVE_FLAGS_WITH_PREFIX([GL],[$1])
28508         AC_LANG_PUSH([C])
28509       ])
28510
28511       # pushes GL_CFLAGS and GL_LIBS to CFLAGS and LIBS
28512       # also set the current language to test to C
28513       _AX_CHECK_GL_SAVE_FLAGS([[CFLAGS],[LIBS]])
28514
28515Source Code
28516***********
28517
28518Download the latest version of 'ax_save_flags_with_prefix.m4'
28519(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_save_flags_with_prefix.m4)
28520or browse the macro's revision history
28521(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_save_flags_with_prefix.m4).
28522
28523License
28524*******
28525
28526Copyright (C) 2016 Felix Chern <idryman@gmail.com>
28527
28528This program is free software; you can redistribute it and/or modify it
28529under the terms of the GNU General Public License as published by the
28530Free Software Foundation; either version 2 of the License, or (at your
28531option) any later version.
28532
28533This program is distributed in the hope that it will be useful, but
28534WITHOUT ANY WARRANTY; without even the implied warranty of
28535MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
28536Public License for more details.
28537
28538You should have received a copy of the GNU General Public License along
28539with this program.  If not, see <https://www.gnu.org/licenses/>.
28540
28541As a special exception, the respective Autoconf Macro's copyright owner
28542gives unlimited permission to copy, distribute and modify the configure
28543scripts that are the output of Autoconf when processing the Macro.  You
28544need not follow the terms of the GNU General Public License when using
28545or distributing such scripts, even though portions of the text of the
28546Macro appear in them.  The GNU General Public License (GPL) does govern
28547all other use of the material that constitutes the Autoconf Macro.
28548
28549This special exception to the GPL applies to versions of the Autoconf
28550Macro released by the Autoconf Archive.  When you make and distribute a
28551modified version of the Autoconf Macro, you may extend this special
28552exception to the GPL to apply to your modified version as well.
28553
28554
28555File: autoconf-archive.info,  Node: ax_set_default_paths_system,  Next: ax_short_sleep,  Prev: ax_save_flags_with_prefix,  Up: The Macros
28556
28557ax_set_default_paths_system
28558===========================
28559
28560Synopsis
28561********
28562
28563     AX_SET_DEFAULT_PATHS_SYSTEM
28564
28565Description
28566***********
28567
28568the most interesting changes go about windows-targets - where the
28569default_prefix is set to /programs, and quite some directories are
28570aliased: sbindir := libdir := bindir and the docprefix-defaults are also
28571a bit different, even on FHS2-compliant systems where the mandir is
28572going to $prefix/man only if prefix=/usr, otherwise they shall go to
28573$datadir/man.  We use an extra docprefix to express it which is either
28574defined as being prefix or datadir.  not SUBSTed here.
28575
28576Source Code
28577***********
28578
28579Download the latest version of 'ax_set_default_paths_system.m4'
28580(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_set_default_paths_system.m4)
28581or browse the macro's revision history
28582(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_set_default_paths_system.m4).
28583
28584License
28585*******
28586
28587Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
28588
28589Copying and distribution of this file, with or without modification, are
28590permitted in any medium without royalty provided the copyright notice
28591and this notice are preserved.  This file is offered as-is, without any
28592warranty.
28593
28594
28595File: autoconf-archive.info,  Node: ax_short_sleep,  Next: ax_silent_mode,  Prev: ax_set_default_paths_system,  Up: The Macros
28596
28597ax_short_sleep
28598==============
28599
28600Synopsis
28601********
28602
28603     AX_SHORT_SLEEP
28604
28605Description
28606***********
28607
28608This macro searches for a "sleep" function that has 1/1000 of a second
28609accuracy.  On some systems, this is known as nap() and on others
28610usleep() / 1000.  There are probably other functions like this defined
28611in other system libraries, but we don't know how to search for them yet.
28612Contributions joyously accepted.  :)
28613
28614Source Code
28615***********
28616
28617Download the latest version of 'ax_short_sleep.m4'
28618(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_short_sleep.m4)
28619or browse the macro's revision history
28620(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_short_sleep.m4).
28621
28622License
28623*******
28624
28625Copyright (C) 2008 Warren Young <warren@etr-usa.com>
28626
28627Copying and distribution of this file, with or without modification, are
28628permitted in any medium without royalty provided the copyright notice
28629and this notice are preserved.  This file is offered as-is, without any
28630warranty.
28631
28632
28633File: autoconf-archive.info,  Node: ax_silent_mode,  Next: ax_sip_devel,  Prev: ax_short_sleep,  Up: The Macros
28634
28635ax_silent_mode
28636==============
28637
28638Synopsis
28639********
28640
28641     AX_SILENT_MODE(on|off)
28642
28643Description
28644***********
28645
28646Temporarily disable console output when running Autoconf macros.  For
28647example:
28648
28649       AX_SILENT_MODE(on)    dnl disable console output
28650       AC_PROG_CXX
28651       AX_SILENT_MODE(off)   dnl enable console output
28652       AC_PROG_RANLIB
28653
28654Source Code
28655***********
28656
28657Download the latest version of 'ax_silent_mode.m4'
28658(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_silent_mode.m4)
28659or browse the macro's revision history
28660(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_silent_mode.m4).
28661
28662License
28663*******
28664
28665Copyright (C) 2008 Peter Simons <simons@cryp.to>
28666Copyright (C) 2008 Paolo Bonzini <bonzini@gnu.org>
28667
28668Copying and distribution of this file, with or without modification, are
28669permitted in any medium without royalty provided the copyright notice
28670and this notice are preserved.  This file is offered as-is, without any
28671warranty.
28672
28673
28674File: autoconf-archive.info,  Node: ax_sip_devel,  Next: ax_spec_file,  Prev: ax_silent_mode,  Up: The Macros
28675
28676ax_sip_devel
28677============
28678
28679Synopsis
28680********
28681
28682     AX_SIP_DEVEL([<min_version>])
28683
28684Description
28685***********
28686
28687Searches for the sip executable and the sip include path.  The sip
28688include path consists of two components, one which contains the file
28689qt/qtmod.sip and the other one the path to sip.h, which should be found
28690in the include/pythonX.Y directory.
28691
28692The macro bails out if the executable or the file cannot be located.
28693Otherwise it defines:
28694
28695       SIP           the path to the sip executable
28696       SIP_CPPFLAGS  include path: -I<path-to-qt/qtmod.sip> -I<path-to-sip.h-dir>
28697
28698Example:
28699
28700       AX_SIP_DEVEL
28701       AX_SIP_DEVEL([4.1])
28702
28703Requires: perl (for version string comparison)
28704
28705FIXME: Use AX_COMPARE_VERSION instead.
28706
28707Source Code
28708***********
28709
28710Download the latest version of 'ax_sip_devel.m4'
28711(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sip_devel.m4)
28712or browse the macro's revision history
28713(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sip_devel.m4).
28714
28715License
28716*******
28717
28718Copyright (C) 2008 Uwe Mayer <merkosh@hadiko.de>
28719
28720Copying and distribution of this file, with or without modification, are
28721permitted in any medium without royalty provided the copyright notice
28722and this notice are preserved.  This file is offered as-is, without any
28723warranty.
28724
28725
28726File: autoconf-archive.info,  Node: ax_spec_file,  Next: ax_spec_package_version,  Prev: ax_sip_devel,  Up: The Macros
28727
28728ax_spec_file
28729============
28730
28731Synopsis
28732********
28733
28734     AX_SPEC_FILE [(rpmspecfile [,subdirpath])]
28735
28736Description
28737***********
28738
28739set the specfile - if no argument has been given then check whether the
28740ac_unique_file looks like a .spec file and use it.  This macro is
28741ac_REQUIRED by many AX_SPEC_ routines.
28742
28743the AX_SPEC_EXTRACT macro is a helper used by many AX_SPEC_ routines and
28744therefore placed here to be automatically included in the macro set of
28745(older) aclocal/acinclude.
28746
28747AX_SPEC_EXTRACT(shellvar [,specvar [,defaultvalue]])
28748
28749Source Code
28750***********
28751
28752Download the latest version of 'ax_spec_file.m4'
28753(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_spec_file.m4)
28754or browse the macro's revision history
28755(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_spec_file.m4).
28756
28757License
28758*******
28759
28760Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
28761
28762Copying and distribution of this file, with or without modification, are
28763permitted in any medium without royalty provided the copyright notice
28764and this notice are preserved.  This file is offered as-is, without any
28765warranty.
28766
28767
28768File: autoconf-archive.info,  Node: ax_spec_package_version,  Next: ax_split_version,  Prev: ax_spec_file,  Up: The Macros
28769
28770ax_spec_package_version
28771=======================
28772
28773Synopsis
28774********
28775
28776     AX_SPEC_PACKAGE_AND_VERSION ([specfile])
28777     AX_SPEC_PACKAGE_NAME ([shellvar],[defaultvalue])
28778     AX_SPEC_PACKAGE_VERSION ([shellvar],[defaultvalue])
28779     AX_SPEC_PACKAGE_SUMMARY ([shellvar],[defaultvalue])
28780     AX_SPEC_PACKAGE_LICENSE ([shellvar],[defaultvalue])
28781     AX_SPEC_PACKAGE_CATEGORY ([shellvar],[defaultvalue])
28782     AX_SPEC_PACKAGE_ICON ([shellvar],[defaultvalue])
28783     AX_SPEC_DEFAULTS([specfile])
28784
28785Description
28786***********
28787
28788set PACKAGE from the given specfile - default to basename of the
28789rpmspecfile if no "name:" could be found in the spec file.
28790
28791set VERSION from the given specfile - default to a date-derived value if
28792no "version:" could be found in the spec file.
28793
28794this macro builds on top of AX_SPEC_FILE / AX_SPEC_EXTRACT
28795
28796more specific: if not "name:" or "%define name" was found in the
28797myproject.spec file then the PACKAGE var is set to the basename
28798"myproject".  When no spec file was present then it will usually default
28799to "TODO".
28800
28801The version spec looks for "version:" or "%define version" in the spec
28802file.  When no such value was seen or no spec file had been present then
28803the value is set to 'date +0.%y.%W%w'.
28804
28805the version value itself is sanitized somewhat with making it to always
28806carry at least three digits (1.2.3) and cleansing superfluous "0" chars
28807around from generating numbers elsewhere.
28808
28809additional macros are provided that extract a specific value from the
28810spec file, among these:
28811
28812set PACKAGE_SUMMARY from the given specfile - default to package and try
28813to detect a type suffix if "summary:" was not in the spec file
28814
28815set PACKAGE_LICENSE from the given specfile - if no "license:" tag was
28816given in the spec file then various COPYING files are grepped to have a
28817guess and the final fallback will be GNU GPL (or GNU LGPL).
28818
28819set PACKAGE_ICON from the given specfile - if no "icon:" tag was given
28820in the spec file then we default to $PACKAGE-icon.png
28821
28822the final AX_SPEC_INIT(specfile) will initialize all variables to its
28823defaults according to the spec file given.
28824
28825Source Code
28826***********
28827
28828Download the latest version of 'ax_spec_package_version.m4'
28829(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_spec_package_version.m4)
28830or browse the macro's revision history
28831(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_spec_package_version.m4).
28832
28833License
28834*******
28835
28836Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
28837
28838Copying and distribution of this file, with or without modification, are
28839permitted in any medium without royalty provided the copyright notice
28840and this notice are preserved.  This file is offered as-is, without any
28841warranty.
28842
28843
28844File: autoconf-archive.info,  Node: ax_split_version,  Next: ax_string_strcasecmp,  Prev: ax_spec_package_version,  Up: The Macros
28845
28846ax_split_version
28847================
28848
28849Synopsis
28850********
28851
28852     AX_SPLIT_VERSION
28853
28854Description
28855***********
28856
28857Splits a version number in the format MAJOR.MINOR.POINT into its
28858separate components.
28859
28860Sets the variables.
28861
28862Source Code
28863***********
28864
28865Download the latest version of 'ax_split_version.m4'
28866(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_split_version.m4)
28867or browse the macro's revision history
28868(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_split_version.m4).
28869
28870License
28871*******
28872
28873Copyright (C) 2008 Tom Howard <tomhoward@users.sf.net>
28874
28875Copying and distribution of this file, with or without modification, are
28876permitted in any medium without royalty provided the copyright notice
28877and this notice are preserved.  This file is offered as-is, without any
28878warranty.
28879
28880
28881File: autoconf-archive.info,  Node: ax_string_strcasecmp,  Next: ax_strings_strcasecmp,  Prev: ax_split_version,  Up: The Macros
28882
28883ax_string_strcasecmp
28884====================
28885
28886Synopsis
28887********
28888
28889     AX_STRING_STRCASECMP
28890
28891Description
28892***********
28893
28894This macro tries to find strcasecmp() in string.h.
28895
28896Use this macro in conjunction with AX_STRINGS_STRCASECMP in your
28897configure.in like so:
28898
28899       AX_STRING_STRCASECMP
28900       if test x"$ac_cv_string_strcasecmp" = "xno" ; then
28901           AX_STRINGS_STRCASECMP
28902       fi
28903
28904This will cause either HAVE_STRING_STRCASECMP or HAVE_STRINGS_STRCASECMP
28905to be defined in config.h, which will tell your code what header to
28906include to get strcasecmp()'s prototype.
28907
28908Source Code
28909***********
28910
28911Download the latest version of 'ax_string_strcasecmp.m4'
28912(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_string_strcasecmp.m4)
28913or browse the macro's revision history
28914(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_string_strcasecmp.m4).
28915
28916License
28917*******
28918
28919Copyright (C) 2008 Warren Young <warren@etr-usa.com>
28920
28921Copying and distribution of this file, with or without modification, are
28922permitted in any medium without royalty provided the copyright notice
28923and this notice are preserved.  This file is offered as-is, without any
28924warranty.
28925
28926
28927File: autoconf-archive.info,  Node: ax_strings_strcasecmp,  Next: ax_struct_semun,  Prev: ax_string_strcasecmp,  Up: The Macros
28928
28929ax_strings_strcasecmp
28930=====================
28931
28932Synopsis
28933********
28934
28935     AX_STRINGS_STRCASECMP
28936
28937Description
28938***********
28939
28940This macro tries to find strcasecmp() in strings.h.  See the
28941AX_STRING_STRCASECMP macro's commentary for usage details.
28942
28943Source Code
28944***********
28945
28946Download the latest version of 'ax_strings_strcasecmp.m4'
28947(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_strings_strcasecmp.m4)
28948or browse the macro's revision history
28949(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_strings_strcasecmp.m4).
28950
28951License
28952*******
28953
28954Copyright (C) 2008 Warren Young <warren@etr-usa.com>
28955
28956Copying and distribution of this file, with or without modification, are
28957permitted in any medium without royalty provided the copyright notice
28958and this notice are preserved.  This file is offered as-is, without any
28959warranty.
28960
28961
28962File: autoconf-archive.info,  Node: ax_struct_semun,  Next: ax_subdir_files,  Prev: ax_strings_strcasecmp,  Up: The Macros
28963
28964ax_struct_semun
28965===============
28966
28967Synopsis
28968********
28969
28970     AX_STRUCT_SEMUN
28971
28972Description
28973***********
28974
28975This macro checks to see if sys/sem.h defines struct semun.  Some
28976systems do, some systems don't.  Your code must be able to deal with
28977this possibility; if HAVE_STRUCT_SEMUM isn't defined for a given system,
28978you have to define this structure before you can call functions like
28979semctl().
28980
28981You should call AX_SYSV_IPC before this macro, to separate the check for
28982System V IPC headers from the check for struct semun.
28983
28984Source Code
28985***********
28986
28987Download the latest version of 'ax_struct_semun.m4'
28988(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_struct_semun.m4)
28989or browse the macro's revision history
28990(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_struct_semun.m4).
28991
28992License
28993*******
28994
28995Copyright (C) 2008 Warren Young <warren@etr-usa.com>
28996
28997Copying and distribution of this file, with or without modification, are
28998permitted in any medium without royalty provided the copyright notice
28999and this notice are preserved.  This file is offered as-is, without any
29000warranty.
29001
29002
29003File: autoconf-archive.info,  Node: ax_subdir_files,  Next: ax_subdirs_configure,  Prev: ax_struct_semun,  Up: The Macros
29004
29005ax_subdir_files
29006===============
29007
29008Synopsis
29009********
29010
29011     AX_SUBDIR_FILES [(SUBDIRS [, CASEPATTERN])]
29012
29013Description
29014***********
29015
29016Look into subdirs and copy the (real) files that match pattern into the
29017local directory.  Preferably we use a symbolic link of course.  existing
29018local files are not overwritten.
29019
29020The default casepattern is "*.?|*.cc|*.cpp", the default subdir-list
29021contains all subdirs available.
29022
29023Source Code
29024***********
29025
29026Download the latest version of 'ax_subdir_files.m4'
29027(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_subdir_files.m4)
29028or browse the macro's revision history
29029(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_subdir_files.m4).
29030
29031License
29032*******
29033
29034Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
29035
29036Copying and distribution of this file, with or without modification, are
29037permitted in any medium without royalty provided the copyright notice
29038and this notice are preserved.  This file is offered as-is, without any
29039warranty.
29040
29041
29042File: autoconf-archive.info,  Node: ax_subdirs_configure,  Next: ax_subst_with,  Prev: ax_subdir_files,  Up: The Macros
29043
29044ax_subdirs_configure
29045====================
29046
29047Synopsis
29048********
29049
29050     AX_SUBDIRS_CONFIGURE( [subdirs], [mandatory arguments], [possibly merged arguments], [replacement arguments], [forbidden arguments])
29051
29052Description
29053***********
29054
29055AX_SUBDIRS_CONFIGURE attempts to be the equivalent of AC_CONFIG_SUBDIRS
29056with customizable options for configure scripts.
29057
29058Run the configure script for each directory from the comma-separated m4
29059list 'subdirs'.  This macro can be used multiple times.  All arguments
29060of this macro must be comma-separated lists.
29061
29062All command line arguments from the parent configure script will be
29063given to the subdirectory configure script after the following
29064modifications (in that order):
29065
290661.  The arguments from the 'mandatory arguments' list shall always be
29067appended to the argument list.
29068
290692.  The arguments from the 'possibly merged arguments' list shall be
29070added if not present in the arguments of the parent configure script or
29071merged with the existing argument otherwise.
29072
290733.  The arguments from the 'replacement arguments' list shall be added
29074if not present in the arguments of the parent configure script or
29075replace the existing argument otherwise.
29076
290774.  The arguments from the 'forbidden arguments' list shall always be
29078removed from the argument list.
29079
29080The lists 'mandatory arguments' and 'forbidden arguments' can hold any
29081kind of argument.  The 'possibly merged arguments' and 'replacement
29082arguments' expect their arguments to be of the form -option-name=value.
29083
29084This macro aims to remain as close as possible to the AC_CONFIG_SUBDIRS
29085macro.  It corrects the paths for '-cache-file' and '-srcdir' and adds
29086'-disable-option-checking' and '-silent' if necessary.
29087
29088This macro also sets the output variable subdirs_extra to the list of
29089directories recorded with AX_SUBDIRS_CONFIGURE. This variable can be
29090used in Makefile rules or substituted in configured files.
29091
29092This macro shall do nothing more than managing the arguments of the
29093configure script.  Just like when using AC_CONFIG_SUBDIRS, it is up to
29094the user to check any requirements or define and substitute any required
29095variable for the remainder of the project.
29096
29097Configure scripts recorded with AX_SUBDIRS_CONFIGURE may be executed
29098before configure scripts recorded with AC_CONFIG_SUBDIRS.
29099
29100Without additional arguments, the behaviour of AX_SUBDIRS_CONFIGURE
29101should be identical to the behaviour of AC_CONFIG_SUBDIRS, apart from
29102the contents of the variables subdirs and subdirs_extra (except that
29103AX_SUBDIRS_CONFIGURE expects a comma-separated m4 list):
29104
29105       AC_CONFIG_SUBDIRS([something])
29106       AX_SUBDIRS_CONFIGURE([something])
29107
29108This macro may be called multiple times.
29109
29110Usage example:
29111
29112Let us assume our project has 4 dependencies, namely A, B, C and D. Here
29113are some characteristics of our project and its dependencies:
29114
29115- A does not require any special option.
29116
29117- we want to build B with an optional feature which can be enabled with
29118its configure script's option '-enable-special-feature'.
29119
29120- B's configure script is strange and has an option '-with-B=build'.
29121After close inspection of its documentation, we don't want B to receive
29122this option.
29123
29124- C and D both need B.
29125
29126- Just like our project, C and D can build B themselves with the option
29127'-with-B=build'.
29128
29129- We want C and D to use the B we build instead of building it
29130themselves.
29131
29132Our top-level configure script will be called as follows:
29133
29134       $ <path/to/configure> --with-A=build --with-B=build --with-C=build \
29135         --with-D=build --some-option
29136
29137Thus we have to make sure that:
29138
29139- neither B, C or D receive the option '-with-B=build'
29140
29141- C and D know where to find the headers and libraries of B.
29142
29143Under those conditions, we can use the AC_CONFIG_SUBDIRS macro for A,
29144but need to use AX_SUBDIRS_CONFIGURE for B, C and D:
29145
29146- B must receive '-enable-special-feature' but cannot receive
29147'-with-B=build'
29148
29149- C and D cannot receive '-with-B=build' (or else it would be built
29150thrice) and need to be told where to find B (since we are building it,
29151it would probably not be available in standard paths).
29152
29153Here is a configure.ac snippet that solves our problem:
29154
29155       AC_CONFIG_SUBDIRS([dependencies/A])
29156       AX_SUBDIRS_CONFIGURE(
29157           [dependencies/B], [--enable-special-feature], [], [],
29158           [--with-B=build])
29159       AX_SUBDIRS_CONFIGURE(
29160           [[dependencies/C],[dependencies/D]],
29161           [],
29162           [[CPPFLAGS=-I${ac_top_srcdir}/dependencies/B -I${ac_top_builddir}/dependencies/B],
29163            [LDFLAGS=-L${ac_abs_top_builddir}/dependencies/B/.libs]],
29164           [--with-B=system],
29165           [])
29166
29167If using automake, the following can be added to the Makefile.am (we use
29168both $(subdirs) and $(subdirs_extra) since our example above used both
29169AC_CONFIG_SUBDIRS and AX_SUBDIRS_CONFIGURE):
29170
29171       SUBDIRS = $(subdirs) $(subdirs_extra)
29172
29173Source Code
29174***********
29175
29176Download the latest version of 'ax_subdirs_configure.m4'
29177(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_subdirs_configure.m4)
29178or browse the macro's revision history
29179(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_subdirs_configure.m4).
29180
29181License
29182*******
29183
29184Copyright (C) 2017 Harenome Ranaivoarivony-Razanajato <ranaivoarivony-razanajato@hareno.me>
29185
29186This program is free software; you can redistribute it and/or modify it
29187under the terms of the GNU General Public License as published by the
29188Free Software Foundation; either version 3 of the License, or (at your
29189option) any later version.
29190
29191This program is distributed in the hope that it will be useful, but
29192WITHOUT ANY WARRANTY; without even the implied warranty of
29193MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
29194Public License for more details.
29195
29196Under Section 7 of GPL version 3, you are granted additional permissions
29197described in the Autoconf Configure Script Exception, version 3.0, as
29198published by the Free Software Foundation.
29199
29200You should have received a copy of the GNU General Public License along
29201with this program.  If not, see <https://www.gnu.org/licenses/>.
29202
29203
29204File: autoconf-archive.info,  Node: ax_subst_with,  Next: ax_swig_enable_cxx,  Prev: ax_subdirs_configure,  Up: The Macros
29205
29206ax_subst_with
29207=============
29208
29209Synopsis
29210********
29211
29212     AX_SUBST_WITH([varname])
29213
29214Description
29215***********
29216
29217a very simple macro but also very helpful - the varname is usually the
29218one from an AC_ARG_ENABLE or AC_ARG_WITH option.  it is transliterated
29219into uppercase and a prefix WITH_ and WITHOUT_ that are both _SUBSTed.
29220
29221Only one of these is set to "#" while the other is empty.  In other
29222words a call like AC_WITHNONE(enable-call) will create two SUBST-symbols
29223as WITH_ENABLE_CALL and WITHOUT_ENABLE_CALL. When the varname had been
29224set to something not "no" or "0" or ":" or "false" then it results in
29225
29226      WITH_ENABLE_CALL="" ; WITHOUT_ENABLE_CALL="#"
29227
29228which you can use in your Makefile quite easily as if using an
29229AM_CONDITIONAL but which can be also parsed by normal make
29230
29231USE = @WITH_ENABLE_CALL@ -Denabled USE = @WITHOUT_ENABLE_CALL@
29232-Dnot_enabled
29233
29234Source Code
29235***********
29236
29237Download the latest version of 'ax_subst_with.m4'
29238(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_subst_with.m4)
29239or browse the macro's revision history
29240(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_subst_with.m4).
29241
29242License
29243*******
29244
29245Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
29246
29247Copying and distribution of this file, with or without modification, are
29248permitted in any medium without royalty provided the copyright notice
29249and this notice are preserved.  This file is offered as-is, without any
29250warranty.
29251
29252
29253File: autoconf-archive.info,  Node: ax_swig_enable_cxx,  Next: ax_swig_multi_module_support,  Prev: ax_subst_with,  Up: The Macros
29254
29255ax_swig_enable_cxx
29256==================
29257
29258Synopsis
29259********
29260
29261     AX_SWIG_ENABLE_CXX
29262
29263Description
29264***********
29265
29266Enable SWIG C++ support.  This affects all invocations of $(SWIG).
29267
29268Source Code
29269***********
29270
29271Download the latest version of 'ax_swig_enable_cxx.m4'
29272(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_swig_enable_cxx.m4)
29273or browse the macro's revision history
29274(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_swig_enable_cxx.m4).
29275
29276License
29277*******
29278
29279Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
29280Copyright (C) 2008 Alan W. Irwin
29281Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
29282Copyright (C) 2008 Andrew Collier
29283
29284This program is free software; you can redistribute it and/or modify it
29285under the terms of the GNU General Public License as published by the
29286Free Software Foundation; either version 2 of the License, or (at your
29287option) any later version.
29288
29289This program is distributed in the hope that it will be useful, but
29290WITHOUT ANY WARRANTY; without even the implied warranty of
29291MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
29292Public License for more details.
29293
29294You should have received a copy of the GNU General Public License along
29295with this program.  If not, see <https://www.gnu.org/licenses/>.
29296
29297As a special exception, the respective Autoconf Macro's copyright owner
29298gives unlimited permission to copy, distribute and modify the configure
29299scripts that are the output of Autoconf when processing the Macro.  You
29300need not follow the terms of the GNU General Public License when using
29301or distributing such scripts, even though portions of the text of the
29302Macro appear in them.  The GNU General Public License (GPL) does govern
29303all other use of the material that constitutes the Autoconf Macro.
29304
29305This special exception to the GPL applies to versions of the Autoconf
29306Macro released by the Autoconf Archive.  When you make and distribute a
29307modified version of the Autoconf Macro, you may extend this special
29308exception to the GPL to apply to your modified version as well.
29309
29310
29311File: autoconf-archive.info,  Node: ax_swig_multi_module_support,  Next: ax_swig_python,  Prev: ax_swig_enable_cxx,  Up: The Macros
29312
29313ax_swig_multi_module_support
29314============================
29315
29316Synopsis
29317********
29318
29319     AX_SWIG_MULTI_MODULE_SUPPORT
29320
29321Description
29322***********
29323
29324Enable support for multiple modules.  This effects all invocations of
29325$(SWIG). You have to link all generated modules against the appropriate
29326SWIG runtime library.  If you want to build Python modules for example,
29327use the AX_SWIG_PYTHON macro and link the modules against
29328$(AX_SWIG_PYTHON_LIBS).
29329
29330Source Code
29331***********
29332
29333Download the latest version of 'ax_swig_multi_module_support.m4'
29334(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_swig_multi_module_support.m4)
29335or browse the macro's revision history
29336(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_swig_multi_module_support.m4).
29337
29338License
29339*******
29340
29341Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
29342Copyright (C) 2008 Alan W. Irwin
29343Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
29344Copyright (C) 2008 Andrew Collier
29345
29346This program is free software; you can redistribute it and/or modify it
29347under the terms of the GNU General Public License as published by the
29348Free Software Foundation; either version 2 of the License, or (at your
29349option) any later version.
29350
29351This program is distributed in the hope that it will be useful, but
29352WITHOUT ANY WARRANTY; without even the implied warranty of
29353MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
29354Public License for more details.
29355
29356You should have received a copy of the GNU General Public License along
29357with this program.  If not, see <https://www.gnu.org/licenses/>.
29358
29359As a special exception, the respective Autoconf Macro's copyright owner
29360gives unlimited permission to copy, distribute and modify the configure
29361scripts that are the output of Autoconf when processing the Macro.  You
29362need not follow the terms of the GNU General Public License when using
29363or distributing such scripts, even though portions of the text of the
29364Macro appear in them.  The GNU General Public License (GPL) does govern
29365all other use of the material that constitutes the Autoconf Macro.
29366
29367This special exception to the GPL applies to versions of the Autoconf
29368Macro released by the Autoconf Archive.  When you make and distribute a
29369modified version of the Autoconf Macro, you may extend this special
29370exception to the GPL to apply to your modified version as well.
29371
29372
29373File: autoconf-archive.info,  Node: ax_swig_python,  Next: ax_switch_flags,  Prev: ax_swig_multi_module_support,  Up: The Macros
29374
29375ax_swig_python
29376==============
29377
29378Synopsis
29379********
29380
29381     AX_SWIG_PYTHON([use-shadow-classes = {no, yes}])
29382
29383Description
29384***********
29385
29386Checks for Python and provides the $(AX_SWIG_PYTHON_CPPFLAGS), and
29387$(AX_SWIG_PYTHON_OPT) output variables.
29388
29389$(AX_SWIG_PYTHON_OPT) contains all necessary SWIG options to generate
29390code for Python.  Shadow classes are enabled unless the value of the
29391optional first argument is exactly 'no'.  If you need multi module
29392support (provided by the AX_SWIG_MULTI_MODULE_SUPPORT macro) use
29393$(AX_SWIG_PYTHON_LIBS) to link against the appropriate library.  It
29394contains the SWIG Python runtime library that is needed by the type
29395check system for example.
29396
29397Source Code
29398***********
29399
29400Download the latest version of 'ax_swig_python.m4'
29401(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_swig_python.m4)
29402or browse the macro's revision history
29403(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_swig_python.m4).
29404
29405License
29406*******
29407
29408Copyright (C) 2008 Sebastian Huber <sebastian-huber@web.de>
29409Copyright (C) 2008 Alan W. Irwin
29410Copyright (C) 2008 Rafael Laboissiere <rafael@laboissiere.net>
29411Copyright (C) 2008 Andrew Collier
29412
29413This program is free software; you can redistribute it and/or modify it
29414under the terms of the GNU General Public License as published by the
29415Free Software Foundation; either version 2 of the License, or (at your
29416option) any later version.
29417
29418This program is distributed in the hope that it will be useful, but
29419WITHOUT ANY WARRANTY; without even the implied warranty of
29420MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
29421Public License for more details.
29422
29423You should have received a copy of the GNU General Public License along
29424with this program.  If not, see <https://www.gnu.org/licenses/>.
29425
29426As a special exception, the respective Autoconf Macro's copyright owner
29427gives unlimited permission to copy, distribute and modify the configure
29428scripts that are the output of Autoconf when processing the Macro.  You
29429need not follow the terms of the GNU General Public License when using
29430or distributing such scripts, even though portions of the text of the
29431Macro appear in them.  The GNU General Public License (GPL) does govern
29432all other use of the material that constitutes the Autoconf Macro.
29433
29434This special exception to the GPL applies to versions of the Autoconf
29435Macro released by the Autoconf Archive.  When you make and distribute a
29436modified version of the Autoconf Macro, you may extend this special
29437exception to the GPL to apply to your modified version as well.
29438
29439
29440File: autoconf-archive.info,  Node: ax_switch_flags,  Next: ax_sys_dev_poll,  Prev: ax_swig_python,  Up: The Macros
29441
29442ax_switch_flags
29443===============
29444
29445Synopsis
29446********
29447
29448     AX_SWITCH_FLAGS(newnamespace,[oldnamespace])
29449
29450Description
29451***********
29452
29453Switch common compilation flags from temporary variables between two
29454compilation namespace.
29455
29456Compilation flags includes: CPPFLAGS, CFLAGS, CXXFLAGS, LDFLAGS, LIBS,
29457OBJCFLAGS.
29458
29459By default these flags are restored to a global (empty) namespace, but
29460user could restore from specific NAMESPACE by using
29461AX_RESTORE_FLAGS(NAMESPACE) macro.
29462
29463Typical usage is like:
29464
29465       AX_SAVE_FLAGS(beginprogram)
29466       CPPFLAGS="-Imypackagespath ${CPPFLAGS}"
29467       AX_SWITCH_FLAGS(mypackage,beginprogram)
29468
29469Source Code
29470***********
29471
29472Download the latest version of 'ax_switch_flags.m4'
29473(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_switch_flags.m4)
29474or browse the macro's revision history
29475(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_switch_flags.m4).
29476
29477License
29478*******
29479
29480Copyright (C) 2009 Filippo Giunchedi <filippo@esaurito.net>
29481Copyright (C) 2011 The Board of Trustees of the Leland Stanford Junior University
29482
29483Copyright (C) 2011 Russ Allbery <rra@stanford.edu>
29484Copyright (C) 2013 Bastien ROUCARIES <roucaries.bastien+autoconf@gmail.com>
29485
29486Copying and distribution of this file, with or without modification, are
29487permitted in any medium without royalty provided the copyright notice
29488and this notice are preserved.  This file is offered as-is, without any
29489warranty.
29490
29491
29492File: autoconf-archive.info,  Node: ax_sys_dev_poll,  Next: ax_sys_largefile_sensitive,  Prev: ax_switch_flags,  Up: The Macros
29493
29494ax_sys_dev_poll
29495===============
29496
29497Synopsis
29498********
29499
29500     AX_SYS_DEV_POLL([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
29501
29502Description
29503***********
29504
29505This macro tests for the presence of /dev/poll support in the build
29506environment.  It checks that the needed structure (dvpoll) is available,
29507with the standard fields.  /dev/poll is most often seen under Solaris.
29508
29509Note that it does not attempt to actually open /dev/poll - you should
29510test for errors when you open it and then fall back to poll() if it is
29511unavailable.
29512
29513Source Code
29514***********
29515
29516Download the latest version of 'ax_sys_dev_poll.m4'
29517(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_dev_poll.m4)
29518or browse the macro's revision history
29519(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_dev_poll.m4).
29520
29521License
29522*******
29523
29524Copyright (C) 2008 Dave Benson <daveb@ffem.org>
29525
29526Copying and distribution of this file, with or without modification, are
29527permitted in any medium without royalty provided the copyright notice
29528and this notice are preserved.  This file is offered as-is, without any
29529warranty.
29530
29531
29532File: autoconf-archive.info,  Node: ax_sys_largefile_sensitive,  Next: ax_sys_perlsharpbang,  Prev: ax_sys_dev_poll,  Up: The Macros
29533
29534ax_sys_largefile_sensitive
29535==========================
29536
29537Synopsis
29538********
29539
29540     AX_SYS_LARGEFILE_SENSITIVE
29541
29542Description
29543***********
29544
29545Check whether the current system is sensitive to -Ddefines making off_t
29546having different types/sizes.  Automatically define a config.h symbol
29547LARGEFILE_SENSITIVE if that is the case, otherwise leave everything as
29548is.
29549
29550This macro builds on top of AC_SYS_LARGEFILE to detect whether special
29551options are needed to make the code use 64bit off_t - in many setups
29552this will also make the code use 64bit off_t immediately.
29553
29554The common use of a LARGEFILE_SENSITIVE config.h-define is to rename
29555exported functions, usually adding a 64 to the original function name.
29556Such renamings are only needed on systems being both (a) 32bit off_t by
29557default and (b) implementing large.file extensions (as for unix98).
29558
29559a renaming section could look like this:
29560
29561      #if defined LARGEFILE_SENSITIVE && _FILE_OFFSET_BITS+0 == 64
29562      #define zzip_open zzip_open64
29563      #define zzip_seek zzip_seek64
29564      #endif
29565
29566for libraries, it is best to take advantage of the prefix-config.h
29567macro, otherwise you want to export a renamed LARGEFILE_SENSITIVE in an
29568installed header file.  -> see AX_PREFIX_CONFIG_H
29569
29570Source Code
29571***********
29572
29573Download the latest version of 'ax_sys_largefile_sensitive.m4'
29574(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_largefile_sensitive.m4)
29575or browse the macro's revision history
29576(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_largefile_sensitive.m4).
29577
29578License
29579*******
29580
29581Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
29582
29583Copying and distribution of this file, with or without modification, are
29584permitted in any medium without royalty provided the copyright notice
29585and this notice are preserved.  This file is offered as-is, without any
29586warranty.
29587
29588
29589File: autoconf-archive.info,  Node: ax_sys_perlsharpbang,  Next: ax_sys_weak_alias,  Prev: ax_sys_largefile_sensitive,  Up: The Macros
29590
29591ax_sys_perlsharpbang
29592====================
29593
29594Synopsis
29595********
29596
29597     AX_SYS_PERLSHARPBANG
29598
29599Description
29600***********
29601
29602Determine how the perl interpreter is located by the OS kernel and make
29603substitution variable PERL_SHEBANG available.  Does AC_PATH_PROG to find
29604the path to perl.  As a side-effect, that sets PERLINTERP and makes it
29605available as a substitution variable.
29606
29607Note: The macro allows for the possibility (expected to be seldom used)
29608of an explicit user override (the "user" being the operator executing
29609the final 'configure' script, in this context) by making the option
29610argument like:
29611
29612       --with-perl-shebang='#! /my/funky/perlpath' # OR
29613       --with-perl-shebang='/my/funky/perlpath'  # we just throw away the #! anyway
29614                                                 # bec it must be absent in Makefile
29615
29616Rationale: The are various ways of starting an interpreter on different
29617*nix-like systems.  Many use the simple
29618
29619       #!/usr/bin/perl
29620
29621but it could be instead
29622
29623       #!/usr/local/bin/perl
29624
29625and there is even the possibility that the user wants
29626
29627       #!/usr/bin/env perl
29628
29629to find whichever perl comes first in the current $PATH. This is
29630preferred by some of us because we run multiple perl installations on
29631the same box.  Adjusting our $PATH then allows us to set precedence over
29632other perls, even whatever the "house" version is.
29633
29634Users on very non-unix systems like MS Windows do not have a kernel that
29635does this kind of thing from the first line of script files, but instead
29636the perl on their machine is started and merely notices whatever comes
29637after the interpreter path on this first line of the script (options
29638like "-w").
29639
29640Acknowledgement: this macro was in part inspired by Dean Povey's
29641AC_PROG_PERL_VERSION.
29642
29643Source Code
29644***********
29645
29646Download the latest version of 'ax_sys_perlsharpbang.m4'
29647(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_perlsharpbang.m4)
29648or browse the macro's revision history
29649(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_perlsharpbang.m4).
29650
29651License
29652*******
29653
29654Copyright (C) 2009 Soren Andersen <somian@pobox.com>
29655
29656Copying and distribution of this file, with or without modification, are
29657permitted in any medium without royalty provided the copyright notice
29658and this notice are preserved.  This file is offered as-is, without any
29659warranty.
29660
29661
29662File: autoconf-archive.info,  Node: ax_sys_weak_alias,  Next: ax_sysv_ipc,  Prev: ax_sys_perlsharpbang,  Up: The Macros
29663
29664ax_sys_weak_alias
29665=================
29666
29667Synopsis
29668********
29669
29670     AX_SYS_WEAK_ALIAS
29671
29672Description
29673***********
29674
29675Determines whether weak aliases are supported on the system, and if so,
29676what scheme is used to declare them.  Also checks to see if aliases can
29677cross object file boundaries, as some systems don't permit them to.
29678
29679Most systems permit something called a "weak alias" or "weak symbol."
29680These aliases permit a library to provide a stub form of a routine
29681defined in another library, thus allowing the first library to operate
29682even if the other library is not linked.  This macro will check for
29683support of weak aliases, figure out what schemes are available, and
29684determine some characteristics of the weak alias support - primarily,
29685whether a weak alias declared in one object file may be referenced from
29686another object file.
29687
29688There are four known schemes of declaring weak symbols; each scheme is
29689checked in turn, and the first one found is preferred.  Note that only
29690one of the mentioned preprocessor macros will be defined!
29691
296921.  Function attributes
29693
29694This scheme was first introduced by the GNU C compiler, and attaches
29695attributes to particular functions.  It is among the easiest to use, and
29696so is the first one checked.  If this scheme is detected, the
29697preprocessor macro HAVE_SYS_WEAK_ALIAS_ATTRIBUTE will be defined to 1.
29698This scheme is used as in the following code fragment:
29699
29700       void __weakf(int c)
29701       {
29702         /* Function definition... */
29703       }
29704
29705       void weakf(int c) __attribute__((weak, alias("__weakf")));
29706
297072.  #pragma weak
29708
29709This scheme is in use by many compilers other than the GNU C compiler.
29710It is also particularly easy to use, and fairly portable - well, as
29711portable as these things get.  If this scheme is detected first, the
29712preprocessor macro HAVE_SYS_WEAK_ALIAS_PRAGMA will be defined to 1.
29713This scheme is used as in the following code fragment:
29714
29715       extern void weakf(int c);
29716       #pragma weak weakf = __weakf
29717       void __weakf(int c)
29718       {
29719         /* Function definition... */
29720       }
29721
297223.  #pragma _HP_SECONDARY_DEF
29723
29724This scheme appears to be in use by the HP compiler.  As it is rather
29725specialized, this is one of the last schemes checked.  If it is the
29726first one detected, the preprocessor macro
29727HAVE_SYS_WEAK_ALIAS_HPSECONDARY will be defined to 1.  This scheme is
29728used as in the following code fragment:
29729
29730       extern void weakf(int c);
29731       #pragma _HP_SECONDARY_DEF __weakf weakf
29732       void __weakf(int c)
29733       {
29734         /* Function definition... */
29735       }
29736
297374.  #pragma _CRI duplicate
29738
29739This scheme appears to be in use by the Cray compiler.  As it is rather
29740specialized, it too is one of the last schemes checked.  If it is the
29741first one detected, the preprocessor macro
29742HAVE_SYS_WEAK_ALIAS_CRIDUPLICATE will be defined to 1.  This scheme is
29743used as in the following code fragment:
29744
29745       extern void weakf(int c);
29746       #pragma _CRI duplicate weakf as __weakf
29747       void __weakf(int c)
29748       {
29749         /* Function definition... */
29750       }
29751
29752In addition to the preprocessor macros listed above, if any scheme is
29753found, the preprocessor macro HAVE_SYS_WEAK_ALIAS will also be defined
29754to 1.
29755
29756Once a weak aliasing scheme has been found, a check will be performed to
29757see if weak aliases are honored across object file boundaries.  If they
29758are, the HAVE_SYS_WEAK_ALIAS_CROSSFILE preprocessor macro is defined to
297591.
29760
29761This Autoconf macro also makes two substitutions.  The first,
29762WEAK_ALIAS, contains the name of the scheme found (one of "attribute",
29763"pragma", "hpsecondary", or "criduplicate"), or "no" if no weak aliasing
29764scheme was found.  The second, WEAK_ALIAS_CROSSFILE, is set to "yes" or
29765"no" depending on whether or not weak aliases may cross object file
29766boundaries.
29767
29768Source Code
29769***********
29770
29771Download the latest version of 'ax_sys_weak_alias.m4'
29772(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sys_weak_alias.m4)
29773or browse the macro's revision history
29774(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sys_weak_alias.m4).
29775
29776License
29777*******
29778
29779Copyright (C) 2008 Kevin L. Mitchell <klmitch@mit.edu>
29780
29781Copying and distribution of this file, with or without modification, are
29782permitted in any medium without royalty provided the copyright notice
29783and this notice are preserved.  This file is offered as-is, without any
29784warranty.
29785
29786
29787File: autoconf-archive.info,  Node: ax_sysv_ipc,  Next: ax_tls,  Prev: ax_sys_weak_alias,  Up: The Macros
29788
29789ax_sysv_ipc
29790===========
29791
29792Synopsis
29793********
29794
29795     AX_SYSV_IPC
29796
29797Description
29798***********
29799
29800This macro checks for the SysV IPC header files.  It only checks that
29801you can compile a program with them, not whether the system actually
29802implements working SysV IPC.
29803
29804Source Code
29805***********
29806
29807Download the latest version of 'ax_sysv_ipc.m4'
29808(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_sysv_ipc.m4)
29809or browse the macro's revision history
29810(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_sysv_ipc.m4).
29811
29812License
29813*******
29814
29815Copyright (C) 2008 Warren Young <warren@etr-usa.com>
29816
29817Copying and distribution of this file, with or without modification, are
29818permitted in any medium without royalty provided the copyright notice
29819and this notice are preserved.  This file is offered as-is, without any
29820warranty.
29821
29822
29823File: autoconf-archive.info,  Node: ax_tls,  Next: ax_trilinos_amesos,  Prev: ax_sysv_ipc,  Up: The Macros
29824
29825ax_tls
29826======
29827
29828Synopsis
29829********
29830
29831     AX_TLS([action-if-found], [action-if-not-found])
29832
29833Description
29834***********
29835
29836Provides a test for the compiler support of thread local storage (TLS)
29837extensions.  Defines TLS if it is found.  Currently knows about C++11,
29838GCC/ICC, and MSVC. I think SunPro uses the same as GCC, and Borland
29839apparently supports either.
29840
29841Source Code
29842***********
29843
29844Download the latest version of 'ax_tls.m4'
29845(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_tls.m4)
29846or browse the macro's revision history
29847(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_tls.m4).
29848
29849License
29850*******
29851
29852Copyright (C) 2008 Alan Woodland <ajw05@aber.ac.uk>
29853Copyright (C) 2010 Diego Elio Petteno' <flameeyes@gmail.com>
29854
29855This program is free software: you can redistribute it and/or modify it
29856under the terms of the GNU General Public License as published by the
29857Free Software Foundation, either version 3 of the License, or (at your
29858option) any later version.
29859
29860This program is distributed in the hope that it will be useful, but
29861WITHOUT ANY WARRANTY; without even the implied warranty of
29862MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
29863Public License for more details.
29864
29865You should have received a copy of the GNU General Public License along
29866with this program.  If not, see <https://www.gnu.org/licenses/>.
29867
29868As a special exception, the respective Autoconf Macro's copyright owner
29869gives unlimited permission to copy, distribute and modify the configure
29870scripts that are the output of Autoconf when processing the Macro.  You
29871need not follow the terms of the GNU General Public License when using
29872or distributing such scripts, even though portions of the text of the
29873Macro appear in them.  The GNU General Public License (GPL) does govern
29874all other use of the material that constitutes the Autoconf Macro.
29875
29876This special exception to the GPL applies to versions of the Autoconf
29877Macro released by the Autoconf Archive.  When you make and distribute a
29878modified version of the Autoconf Macro, you may extend this special
29879exception to the GPL to apply to your modified version as well.
29880
29881
29882File: autoconf-archive.info,  Node: ax_trilinos_amesos,  Next: ax_trilinos_base,  Prev: ax_tls,  Up: The Macros
29883
29884ax_trilinos_amesos
29885==================
29886
29887Synopsis
29888********
29889
29890     AX_TRILINOS_AMESOS([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
29891
29892Description
29893***********
29894
29895On success, adds "include Makefile.export.amesos" statements to every
29896Automake file containing @INC_AMINCLUDE@.  Requires that Trilinos was
29897configured with the -enable-export-makefiles option.  When
29898ACTION-IF-NOT-FOUND is not specified, the default behavior is for
29899configure to fail.
29900
29901Source Code
29902***********
29903
29904Download the latest version of 'ax_trilinos_amesos.m4'
29905(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_amesos.m4)
29906or browse the macro's revision history
29907(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_amesos.m4).
29908
29909License
29910*******
29911
29912Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
29913
29914Copying and distribution of this file, with or without modification, are
29915permitted in any medium without royalty provided the copyright notice
29916and this notice are preserved.  This file is offered as-is, without any
29917warranty.
29918
29919
29920File: autoconf-archive.info,  Node: ax_trilinos_base,  Next: ax_trilinos_epetra,  Prev: ax_trilinos_amesos,  Up: The Macros
29921
29922ax_trilinos_base
29923================
29924
29925Synopsis
29926********
29927
29928     AX_TRILINOS_BASE([, MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
29929
29930Description
29931***********
29932
29933Test for the Trilinos (http://trilinos.sandia.gov/) libraries.
29934
29935Provides a -with-trilinos=DIR option.  Searches -with-trilinos,
29936$TRILINOS_HOME, and the usual places for Trilinos installation headers.
29937
29938Requires that a development branch or released version greater than
29939MINIMUM-VERSION be found.  If not specified, the default minimum version
29940is 8.0.0.
29941
29942Supports separately specifying -with-trilinos-include or
29943-with-trilinos-libdir to override default locations underneath either
29944-with-trilinos or $TRILINOS_HOME.
29945
29946On success, adds -Ipath to CPPFLAGS, -Lpath to LDFLAGS, sets the
29947variable TRILINOS_INCLUDE based on the discovered location of
29948Trilinos_version.h, and #defines HAVE_TRILINOS. When ACTION-IF-NOT-FOUND
29949is not specified, the default behavior is for configure to fail.
29950
29951Source Code
29952***********
29953
29954Download the latest version of 'ax_trilinos_base.m4'
29955(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_base.m4)
29956or browse the macro's revision history
29957(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_base.m4).
29958
29959License
29960*******
29961
29962Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
29963Copyright (C) 2009 Thomas Porschberg <thomas@randspringer.de>
29964Copyright (C) 2009 Caolan McNamara <caolan@skynet.ie>
29965Copyright (C) 2009 Alexandre Duret-Lutz <adl@gnu.org>
29966Copyright (C) 2009 Matthew Mueller <donut@azstarnet.com>
29967
29968Copying and distribution of this file, with or without modification, are
29969permitted in any medium without royalty provided the copyright notice
29970and this notice are preserved.  This file is offered as-is, without any
29971warranty.
29972
29973
29974File: autoconf-archive.info,  Node: ax_trilinos_epetra,  Next: ax_trilinos_epetraext,  Prev: ax_trilinos_base,  Up: The Macros
29975
29976ax_trilinos_epetra
29977==================
29978
29979Synopsis
29980********
29981
29982     AX_TRILINOS_EPETRA([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
29983
29984Description
29985***********
29986
29987On success, adds "include Makefile.export.epetra" statements to every
29988Automake file containing @INC_AMINCLUDE@.  Requires that Trilinos was
29989configured with the -enable-export-makefiles option.  When
29990ACTION-IF-NOT-FOUND is not specified, the default behavior is for
29991configure to fail.
29992
29993Source Code
29994***********
29995
29996Download the latest version of 'ax_trilinos_epetra.m4'
29997(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_epetra.m4)
29998or browse the macro's revision history
29999(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_epetra.m4).
30000
30001License
30002*******
30003
30004Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30005
30006Copying and distribution of this file, with or without modification, are
30007permitted in any medium without royalty provided the copyright notice
30008and this notice are preserved.  This file is offered as-is, without any
30009warranty.
30010
30011
30012File: autoconf-archive.info,  Node: ax_trilinos_epetraext,  Next: ax_trilinos_epetraext_hdf5,  Prev: ax_trilinos_epetra,  Up: The Macros
30013
30014ax_trilinos_epetraext
30015=====================
30016
30017Synopsis
30018********
30019
30020     AX_TRILINOS_EPETRAEXT([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30021
30022Description
30023***********
30024
30025On success, adds "include Makefile.export.epetraext" statements to every
30026Automake file containing @INC_AMINCLUDE@.  Requires that Trilinos was
30027configured with the -enable-export-makefiles option.  When
30028ACTION-IF-NOT-FOUND is not specified, the default behavior is for
30029configure to fail.
30030
30031Source Code
30032***********
30033
30034Download the latest version of 'ax_trilinos_epetraext.m4'
30035(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_epetraext.m4)
30036or browse the macro's revision history
30037(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_epetraext.m4).
30038
30039License
30040*******
30041
30042Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30043
30044Copying and distribution of this file, with or without modification, are
30045permitted in any medium without royalty provided the copyright notice
30046and this notice are preserved.  This file is offered as-is, without any
30047warranty.
30048
30049
30050File: autoconf-archive.info,  Node: ax_trilinos_epetraext_hdf5,  Next: ax_trilinos_rtop,  Prev: ax_trilinos_epetraext,  Up: The Macros
30051
30052ax_trilinos_epetraext_hdf5
30053==========================
30054
30055Synopsis
30056********
30057
30058     AX_TRILINOS_EPETRAEXT_HDF5([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30059
30060Description
30061***********
30062
30063Checks if EpetraExt was compiled with HDF5 support
30064(-enable-epetraext-hdf5) enabled.  When ACTION-IF-NOT-FOUND is not
30065specified, the default behavior is for configure to fail.
30066
30067Source Code
30068***********
30069
30070Download the latest version of 'ax_trilinos_epetraext_hdf5.m4'
30071(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_epetraext_hdf5.m4)
30072or browse the macro's revision history
30073(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_epetraext_hdf5.m4).
30074
30075License
30076*******
30077
30078Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30079
30080Copying and distribution of this file, with or without modification, are
30081permitted in any medium without royalty provided the copyright notice
30082and this notice are preserved.  This file is offered as-is, without any
30083warranty.
30084
30085
30086File: autoconf-archive.info,  Node: ax_trilinos_rtop,  Next: ax_trilinos_rythmos,  Prev: ax_trilinos_epetraext_hdf5,  Up: The Macros
30087
30088ax_trilinos_rtop
30089================
30090
30091Synopsis
30092********
30093
30094     AX_TRILINOS_RTOP([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30095
30096Description
30097***********
30098
30099On success, adds "include Makefile.export.rtop" statements to every
30100Automake file containing @INC_AMINCLUDE@.  Requires that Trilinos was
30101configured with the -enable-export-makefiles option.  When
30102ACTION-IF-NOT-FOUND is not specified, the default behavior is for
30103configure to fail.
30104
30105Source Code
30106***********
30107
30108Download the latest version of 'ax_trilinos_rtop.m4'
30109(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_rtop.m4)
30110or browse the macro's revision history
30111(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_rtop.m4).
30112
30113License
30114*******
30115
30116Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30117
30118Copying and distribution of this file, with or without modification, are
30119permitted in any medium without royalty provided the copyright notice
30120and this notice are preserved.  This file is offered as-is, without any
30121warranty.
30122
30123
30124File: autoconf-archive.info,  Node: ax_trilinos_rythmos,  Next: ax_trilinos_teuchos,  Prev: ax_trilinos_rtop,  Up: The Macros
30125
30126ax_trilinos_rythmos
30127===================
30128
30129Synopsis
30130********
30131
30132     AX_TRILINOS_RYTHMOS([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30133
30134Description
30135***********
30136
30137On success, adds "include Makefile.export.rythmos" statements to every
30138Automake file containing @INC_AMINCLUDE@.  Requires that Trilinos was
30139configured with the -enable-export-makefiles option.  When
30140ACTION-IF-NOT-FOUND is not specified, the default behavior is for
30141configure to fail.
30142
30143Source Code
30144***********
30145
30146Download the latest version of 'ax_trilinos_rythmos.m4'
30147(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_rythmos.m4)
30148or browse the macro's revision history
30149(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_rythmos.m4).
30150
30151License
30152*******
30153
30154Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30155
30156Copying and distribution of this file, with or without modification, are
30157permitted in any medium without royalty provided the copyright notice
30158and this notice are preserved.  This file is offered as-is, without any
30159warranty.
30160
30161
30162File: autoconf-archive.info,  Node: ax_trilinos_teuchos,  Next: ax_trilinos_thyra,  Prev: ax_trilinos_rythmos,  Up: The Macros
30163
30164ax_trilinos_teuchos
30165===================
30166
30167Synopsis
30168********
30169
30170     AX_TRILINOS_TEUCHOS([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30171
30172Description
30173***********
30174
30175On success, adds "include Makefile.export.teuchos" statements to every
30176Automake file containing @INC_AMINCLUDE@.  Requires that Trilinos was
30177configured with the -enable-export-makefiles option.
30178
30179When ACTION-IF-NOT-FOUND is not specified, the default behavior is for
30180configure to fail.
30181
30182Source Code
30183***********
30184
30185Download the latest version of 'ax_trilinos_teuchos.m4'
30186(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_teuchos.m4)
30187or browse the macro's revision history
30188(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_teuchos.m4).
30189
30190License
30191*******
30192
30193Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30194
30195Copying and distribution of this file, with or without modification, are
30196permitted in any medium without royalty provided the copyright notice
30197and this notice are preserved.  This file is offered as-is, without any
30198warranty.
30199
30200
30201File: autoconf-archive.info,  Node: ax_trilinos_thyra,  Next: ax_trilinos_thyra_epetra,  Prev: ax_trilinos_teuchos,  Up: The Macros
30202
30203ax_trilinos_thyra
30204=================
30205
30206Synopsis
30207********
30208
30209     AX_TRILINOS_THYRA([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30210
30211Description
30212***********
30213
30214On success, adds "include Makefile.export.thyra" statements to every
30215Automake file containing @INC_AMINCLUDE@.  Requires that Trilinos was
30216configured with the -enable-export-makefiles option.  When
30217ACTION-IF-NOT-FOUND is not specified, the default behavior is for
30218configure to fail.
30219
30220Source Code
30221***********
30222
30223Download the latest version of 'ax_trilinos_thyra.m4'
30224(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_thyra.m4)
30225or browse the macro's revision history
30226(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_thyra.m4).
30227
30228License
30229*******
30230
30231Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30232
30233Copying and distribution of this file, with or without modification, are
30234permitted in any medium without royalty provided the copyright notice
30235and this notice are preserved.  This file is offered as-is, without any
30236warranty.
30237
30238
30239File: autoconf-archive.info,  Node: ax_trilinos_thyra_epetra,  Next: ax_trilinos_thyra_epetraext,  Prev: ax_trilinos_thyra,  Up: The Macros
30240
30241ax_trilinos_thyra_epetra
30242========================
30243
30244Synopsis
30245********
30246
30247     AX_TRILINOS_THYRA_EPETRA([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30248
30249Description
30250***********
30251
30252Checks if the Thyra/Epetra adapters were compiled with Trilinos.  When
30253ACTION-IF-NOT-FOUND is not specified, the default behavior is for
30254configure to fail.
30255
30256Source Code
30257***********
30258
30259Download the latest version of 'ax_trilinos_thyra_epetra.m4'
30260(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_thyra_epetra.m4)
30261or browse the macro's revision history
30262(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_thyra_epetra.m4).
30263
30264License
30265*******
30266
30267Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30268
30269Copying and distribution of this file, with or without modification, are
30270permitted in any medium without royalty provided the copyright notice
30271and this notice are preserved.  This file is offered as-is, without any
30272warranty.
30273
30274
30275File: autoconf-archive.info,  Node: ax_trilinos_thyra_epetraext,  Next: ax_try_awk_anyout,  Prev: ax_trilinos_thyra_epetra,  Up: The Macros
30276
30277ax_trilinos_thyra_epetraext
30278===========================
30279
30280Synopsis
30281********
30282
30283     AX_TRILINOS_THYRA_EPETRAEXT([, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
30284
30285Description
30286***********
30287
30288Checks if the Thyra/EpetraExt adapters were compiled with Trilinos.
30289When ACTION-IF-NOT-FOUND is not specified, the default behavior is for
30290configure to fail.
30291
30292Source Code
30293***********
30294
30295Download the latest version of 'ax_trilinos_thyra_epetraext.m4'
30296(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_trilinos_thyra_epetraext.m4)
30297or browse the macro's revision history
30298(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_trilinos_thyra_epetraext.m4).
30299
30300License
30301*******
30302
30303Copyright (C) 2009 Rhys Ulerich <rhys.ulerich@gmail.com>
30304
30305Copying and distribution of this file, with or without modification, are
30306permitted in any medium without royalty provided the copyright notice
30307and this notice are preserved.  This file is offered as-is, without any
30308warranty.
30309
30310
30311File: autoconf-archive.info,  Node: ax_try_awk_anyout,  Next: ax_try_awk_expout,  Prev: ax_trilinos_thyra_epetraext,  Up: The Macros
30312
30313ax_try_awk_anyout
30314=================
30315
30316Synopsis
30317********
30318
30319     AX_TRY_AWK_ANYOUT(NAME,TEST-INPUT,TEST-BODY,[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
30320
30321Description
30322***********
30323
30324Run a test using the awk program found on AWK variable.  The test being
30325run has TEST-BODY as body and is feeded with TEST-INPUT. If successful
30326execute ACTION-IF-SUCCESS otherwise ACTION-IF-FAILURE
30327
30328This work is heavily based upon testawk.sh script by Heiner Steven.  You
30329should find his script (and related works) at
30330<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
30331Alessandro Massignan for his suggestions and extensive nawk tests on
30332FreeBSD.
30333
30334Source Code
30335***********
30336
30337Download the latest version of 'ax_try_awk_anyout.m4'
30338(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_awk_anyout.m4)
30339or browse the macro's revision history
30340(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_awk_anyout.m4).
30341
30342License
30343*******
30344
30345Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
30346
30347Copying and distribution of this file, with or without modification, are
30348permitted in any medium without royalty provided the copyright notice
30349and this notice are preserved.  This file is offered as-is, without any
30350warranty.
30351
30352
30353File: autoconf-archive.info,  Node: ax_try_awk_expout,  Next: ax_try_compile_java,  Prev: ax_try_awk_anyout,  Up: The Macros
30354
30355ax_try_awk_expout
30356=================
30357
30358Synopsis
30359********
30360
30361     AX_TRY_AWK_EXPOUT(NAME,TEST-INPUT,TEST-BODY,EXPECTED-OUTPUT,[ACTION-IF-SUCCESS],[ACTION-IF-FAILURE])
30362
30363Description
30364***********
30365
30366Run a test using the awk program found on AWK variable.  The test being
30367run has TEST-BODY as body and is feeded with TEST-INPUT. Check if the
30368test gives the expected output.  If successful execute ACTION-IF-SUCCESS
30369otherwise ACTION-IF-FAILURE.
30370
30371This work is heavily based upon testawk.sh script by Heiner Steven.  You
30372should find his script (and related works) at
30373<http://www.shelldorado.com/articles/awkcompat.html>.  Thanks to
30374Alessandro Massignan for his suggestions and extensive nawk tests on
30375FreeBSD.
30376
30377Source Code
30378***********
30379
30380Download the latest version of 'ax_try_awk_expout.m4'
30381(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_awk_expout.m4)
30382or browse the macro's revision history
30383(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_awk_expout.m4).
30384
30385License
30386*******
30387
30388Copyright (C) 2009 Francesco Salvestrini <salvestrini@users.sourceforge.net>
30389
30390Copying and distribution of this file, with or without modification, are
30391permitted in any medium without royalty provided the copyright notice
30392and this notice are preserved.  This file is offered as-is, without any
30393warranty.
30394
30395
30396File: autoconf-archive.info,  Node: ax_try_compile_java,  Next: ax_try_run_java,  Prev: ax_try_awk_expout,  Up: The Macros
30397
30398ax_try_compile_java
30399===================
30400
30401Synopsis
30402********
30403
30404     AX_TRY_COMPILE_JAVA
30405
30406Description
30407***********
30408
30409AX_TRY_COMPILE_JAVA attempt to compile user given source.
30410
30411*Warning*: its success or failure can depend on a proper setting of the
30412CLASSPATH env.  variable.
30413
30414Note: This is part of the set of autoconf M4 macros for Java programs.
30415It is VERY IMPORTANT that you download the whole set, some macros depend
30416on other.  Unfortunately, the autoconf archive does not support the
30417concept of set of macros, so I had to break it for submission.  The
30418general documentation, as well as the sample configure.in, is included
30419in the AX_PROG_JAVA macro.
30420
30421Source Code
30422***********
30423
30424Download the latest version of 'ax_try_compile_java.m4'
30425(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_compile_java.m4)
30426or browse the macro's revision history
30427(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_compile_java.m4).
30428
30429License
30430*******
30431
30432Copyright (C) 2008 Devin Weaver <ktohg@tritarget.com>
30433
30434Copying and distribution of this file, with or without modification, are
30435permitted in any medium without royalty provided the copyright notice
30436and this notice are preserved.  This file is offered as-is, without any
30437warranty.
30438
30439
30440File: autoconf-archive.info,  Node: ax_try_run_java,  Next: ax_type_socklen_t,  Prev: ax_try_compile_java,  Up: The Macros
30441
30442ax_try_run_java
30443===============
30444
30445Synopsis
30446********
30447
30448     AX_TRY_RUN_JAVA
30449
30450Description
30451***********
30452
30453AX_TRY_RUN_JAVA attempt to compile and run user given source.
30454
30455*Warning*: its success or failure can depend on a proper setting of the
30456CLASSPATH env.  variable.
30457
30458Note: This is part of the set of autoconf M4 macros for Java programs.
30459It is VERY IMPORTANT that you download the whole set, some macros depend
30460on other.  Unfortunately, the autoconf archive does not support the
30461concept of set of macros, so I had to break it for submission.  The
30462general documentation, as well as the sample configure.in, is included
30463in the AX_PROG_JAVA macro.
30464
30465Source Code
30466***********
30467
30468Download the latest version of 'ax_try_run_java.m4'
30469(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_try_run_java.m4)
30470or browse the macro's revision history
30471(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_try_run_java.m4).
30472
30473License
30474*******
30475
30476Copyright (C) 2008 Devin Weaver <ktohg@tritarget.com>
30477
30478Copying and distribution of this file, with or without modification, are
30479permitted in any medium without royalty provided the copyright notice
30480and this notice are preserved.  This file is offered as-is, without any
30481warranty.
30482
30483
30484File: autoconf-archive.info,  Node: ax_type_socklen_t,  Next: ax_upload,  Prev: ax_try_run_java,  Up: The Macros
30485
30486ax_type_socklen_t
30487=================
30488
30489Synopsis
30490********
30491
30492     AX_TYPE_SOCKLEN_T
30493
30494Description
30495***********
30496
30497Check whether sys/socket.h defines type socklen_t.  Please note that
30498some systems require sys/types.h to be included before sys/socket.h can
30499be compiled.
30500
30501Source Code
30502***********
30503
30504Download the latest version of 'ax_type_socklen_t.m4'
30505(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_type_socklen_t.m4)
30506or browse the macro's revision history
30507(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_type_socklen_t.m4).
30508
30509License
30510*******
30511
30512Copyright (C) 2008 Lars Brinkhoff <lars@nocrew.org>
30513
30514This program is free software; you can redistribute it and/or modify it
30515under the terms of the GNU General Public License as published by the
30516Free Software Foundation; either version 2 of the License, or (at your
30517option) any later version.
30518
30519This program is distributed in the hope that it will be useful, but
30520WITHOUT ANY WARRANTY; without even the implied warranty of
30521MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
30522Public License for more details.
30523
30524You should have received a copy of the GNU General Public License along
30525with this program.  If not, see <https://www.gnu.org/licenses/>.
30526
30527As a special exception, the respective Autoconf Macro's copyright owner
30528gives unlimited permission to copy, distribute and modify the configure
30529scripts that are the output of Autoconf when processing the Macro.  You
30530need not follow the terms of the GNU General Public License when using
30531or distributing such scripts, even though portions of the text of the
30532Macro appear in them.  The GNU General Public License (GPL) does govern
30533all other use of the material that constitutes the Autoconf Macro.
30534
30535This special exception to the GPL applies to versions of the Autoconf
30536Macro released by the Autoconf Archive.  When you make and distribute a
30537modified version of the Autoconf Macro, you may extend this special
30538exception to the GPL to apply to your modified version as well.
30539
30540
30541File: autoconf-archive.info,  Node: ax_upload,  Next: ax_valgrind_check,  Prev: ax_type_socklen_t,  Up: The Macros
30542
30543ax_upload
30544=========
30545
30546Synopsis
30547********
30548
30549     AX_UPLOAD([command])
30550
30551Description
30552***********
30553
30554Adds support for uploading dist files.  %%s in the command will be
30555substituted with the name of the file.  e.g:
30556
30557       AX_UPLOAD([ncftpput -v upload.sourceforge.net /incoming %%s])
30558
30559To add upload support for other custom dists add upload-<TYPE> to
30560UPLOAD_BIN or UPLOAD_SRC, where <TYPE> is the type of dist that is being
30561uploaded and add a mapping from <TYPE> to the dist file name in the
30562format '{<TYPE>=><FILENAME>}' to UPLOAD_TARGETS. For example:
30563
30564       UPLOAD_BIN += upload-foobar
30565       UPLOAD_TARGETS += {foobar=>@PACKAGE@-@VERSION@.fb}
30566
30567You can then upload of the src distribution files by running:
30568
30569       make upload-src
30570
30571all the binary distribution files by running:
30572
30573       make upload-bin
30574
30575or both by running:
30576
30577       make upload
30578
30579Source Code
30580***********
30581
30582Download the latest version of 'ax_upload.m4'
30583(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_upload.m4)
30584or browse the macro's revision history
30585(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_upload.m4).
30586
30587License
30588*******
30589
30590Copyright (C) 2009 Tom Howard <tomhoward@users.sf.net>
30591
30592Copying and distribution of this file, with or without modification, are
30593permitted in any medium without royalty provided the copyright notice
30594and this notice are preserved.  This file is offered as-is, without any
30595warranty.
30596
30597
30598File: autoconf-archive.info,  Node: ax_valgrind_check,  Next: ax_var_pop,  Prev: ax_upload,  Up: The Macros
30599
30600ax_valgrind_check
30601=================
30602
30603Synopsis
30604********
30605
30606     AX_VALGRIND_DFLT(memcheck|helgrind|drd|sgcheck, on|off)
30607     AX_VALGRIND_CHECK()
30608
30609Description
30610***********
30611
30612AX_VALGRIND_CHECK checks whether Valgrind is present and, if so, allows
30613running 'make check' under a variety of Valgrind tools to check for
30614memory and threading errors.
30615
30616Defines VALGRIND_CHECK_RULES which should be substituted in your
30617Makefile; and $enable_valgrind which can be used in subsequent configure
30618output.  VALGRIND_ENABLED is defined and substituted, and corresponds to
30619the value of the -enable-valgrind option, which defaults to being
30620enabled if Valgrind is installed and disabled otherwise.  Individual
30621Valgrind tools can be disabled via -disable-valgrind-<tool>, the default
30622is configurable via the AX_VALGRIND_DFLT command or is to use all
30623commands not disabled via AX_VALGRIND_DFLT. All AX_VALGRIND_DFLT calls
30624must be made before the call to AX_VALGRIND_CHECK.
30625
30626If unit tests are written using a shell script and automake's
30627LOG_COMPILER system, the $(VALGRIND) variable can be used within the
30628shell scripts to enable Valgrind, as described here:
30629
30630       https://www.gnu.org/software/gnulib/manual/html_node/Running-self_002dtests-under-valgrind.html
30631
30632Usage example:
30633
30634configure.ac:
30635
30636       AX_VALGRIND_DFLT([sgcheck], [off])
30637       AX_VALGRIND_CHECK
30638
30639in each Makefile.am with tests:
30640
30641       @VALGRIND_CHECK_RULES@
30642       VALGRIND_SUPPRESSIONS_FILES = my-project.supp
30643       EXTRA_DIST = my-project.supp
30644
30645This results in a "check-valgrind" rule being added.  Running 'make
30646check-valgrind' in that directory will recursively run the module's test
30647suite ('make check') once for each of the available Valgrind tools (out
30648of memcheck, helgrind and drd) while the sgcheck will be skipped unless
30649enabled again on the commandline with -enable-valgrind-sgcheck.  The
30650results for each check will be output to test-suite-$toolname.log.  The
30651target will succeed if there are zero errors and fail otherwise.
30652
30653Alternatively, a "check-valgrind-$TOOL" rule will be added, for $TOOL in
30654memcheck, helgrind, drd and sgcheck.  These are useful because often
30655only some of those tools can be ran cleanly on a codebase.
30656
30657The macro supports running with and without libtool.
30658
30659Source Code
30660***********
30661
30662Download the latest version of 'ax_valgrind_check.m4'
30663(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_valgrind_check.m4)
30664or browse the macro's revision history
30665(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_valgrind_check.m4).
30666
30667License
30668*******
30669
30670Copyright (C) 2014, 2015, 2016 Philip Withnall <philip.withnall@collabora.co.uk>
30671
30672Copying and distribution of this file, with or without modification, are
30673permitted in any medium without royalty provided the copyright notice
30674and this notice are preserved.  This file is offered as-is, without any
30675warranty.
30676
30677
30678File: autoconf-archive.info,  Node: ax_var_pop,  Next: ax_var_push,  Prev: ax_valgrind_check,  Up: The Macros
30679
30680ax_var_pop
30681==========
30682
30683Synopsis
30684********
30685
30686     AX_VAR_POPVALUE(VARIABLE)
30687
30688Description
30689***********
30690
30691Restores a variable's previous value.  Compile, link and running tests
30692usually require the programmer to provide additional flags.  However, it
30693is strongly recommended not to override flags defined by the user
30694through the configure command.  AX_VAR_PUSHVALUE and AX_VAR_POPVALUE are
30695clean way to temporarily store a variable's value and restore it later,
30696using a stack-like behaviour.  This macro supports nesting.
30697
30698Example:
30699
30700       AX_VAR_PUSHVALUE([CXXFLAGS],["my test flags"])
30701       perform some checks with CXXFLAGS...
30702       CXXFLAGS value will be "my test flags"
30703       AX_VAR_POPVALUE([CXXFLAGS])
30704       CXXFLAGS is restored to its original value
30705
30706Source Code
30707***********
30708
30709Download the latest version of 'ax_var_pop.m4'
30710(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_var_pop.m4)
30711or browse the macro's revision history
30712(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_var_pop.m4).
30713
30714License
30715*******
30716
30717Copyright (C) 2015 Jorge Bellon <jbelloncastro@gmail.com>
30718
30719This program is free software: you can redistribute it and/or modify it
30720under the terms of the GNU General Public License as published by the
30721Free Software Foundation, either version 3 of the License, or (at your
30722option) any later version.
30723
30724This program is distributed in the hope that it will be useful, but
30725WITHOUT ANY WARRANTY; without even the implied warranty of
30726MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
30727Public License for more details.
30728
30729You should have received a copy of the GNU General Public License along
30730with this program.  If not, see <https://www.gnu.org/licenses/>.
30731
30732As a special exception, the respective Autoconf Macro's copyright owner
30733gives unlimited permission to copy, distribute and modify the configure
30734scripts that are the output of Autoconf when processing the Macro.  You
30735need not follow the terms of the GNU General Public License when using
30736or distributing such scripts, even though portions of the text of the
30737Macro appear in them.  The GNU General Public License (GPL) does govern
30738all other use of the material that constitutes the Autoconf Macro.
30739
30740This special exception to the GPL applies to versions of the Autoconf
30741Macro released by the Autoconf Archive.  When you make and distribute a
30742modified version of the Autoconf Macro, you may extend this special
30743exception to the GPL to apply to your modified version as well.
30744
30745
30746File: autoconf-archive.info,  Node: ax_var_push,  Next: ax_var_timezone_externals,  Prev: ax_var_pop,  Up: The Macros
30747
30748ax_var_push
30749===========
30750
30751Synopsis
30752********
30753
30754     AX_VAR_PUSHVALUE(VARIABLE, [VALUE])
30755
30756Description
30757***********
30758
30759Stores a copy of variable_name's value and assigns it to 'value' If no
30760value is given, its original value is kept.  Compile, link and running
30761tests usually require the programmer to provide additional flags.
30762However, it is strongly recommended not to override flags defined by the
30763user through the configure command.  AX_VAR_PUSHVALUE and
30764AX_VAR_POPVALUE are clean way to temporarily store a variable's value
30765and restore it later, using a stack-like behaviour.  This macro supports
30766nesting.
30767
30768Example:
30769
30770       AX_VAR_PUSHVALUE([CXXFLAGS],["my test flags"])
30771       perform some checks with CXXFLAGS...
30772       CXXFLAGS value will be "my test flags"
30773       AX_VAR_POPVALUE([CXXFLAGS])
30774       CXXFLAGS is restored to its original value
30775
30776Source Code
30777***********
30778
30779Download the latest version of 'ax_var_push.m4'
30780(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_var_push.m4)
30781or browse the macro's revision history
30782(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_var_push.m4).
30783
30784License
30785*******
30786
30787Copyright (C) 2015 Jorge Bellon <jbelloncastro@gmail.com>
30788
30789This program is free software: you can redistribute it and/or modify it
30790under the terms of the GNU General Public License as published by the
30791Free Software Foundation, either version 3 of the License, or (at your
30792option) any later version.
30793
30794This program is distributed in the hope that it will be useful, but
30795WITHOUT ANY WARRANTY; without even the implied warranty of
30796MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
30797Public License for more details.
30798
30799You should have received a copy of the GNU General Public License along
30800with this program.  If not, see <https://www.gnu.org/licenses/>.
30801
30802As a special exception, the respective Autoconf Macro's copyright owner
30803gives unlimited permission to copy, distribute and modify the configure
30804scripts that are the output of Autoconf when processing the Macro.  You
30805need not follow the terms of the GNU General Public License when using
30806or distributing such scripts, even though portions of the text of the
30807Macro appear in them.  The GNU General Public License (GPL) does govern
30808all other use of the material that constitutes the Autoconf Macro.
30809
30810This special exception to the GPL applies to versions of the Autoconf
30811Macro released by the Autoconf Archive.  When you make and distribute a
30812modified version of the Autoconf Macro, you may extend this special
30813exception to the GPL to apply to your modified version as well.
30814
30815
30816File: autoconf-archive.info,  Node: ax_var_timezone_externals,  Next: ax_very_nice,  Prev: ax_var_push,  Up: The Macros
30817
30818ax_var_timezone_externals
30819=========================
30820
30821Synopsis
30822********
30823
30824     AX_VAR_TIMEZONE_EXTERNALS
30825
30826Description
30827***********
30828
30829Use instead of 'AC_STRUCT_TIMEZONE' to determine whether the external
30830timezone variables 'timezone', 'altzone' and 'daylight' exist, defining
30831'HAVE_TIMEZONE', 'HAVE_ALTZONE' and 'HAVE_DAYLIGHT' respectively (as
30832well as gaining the macros defined by 'AC_STRUCT_TIMEZONE').
30833
30834Rewritten for Autoconf 2.68, and made robust against BSD's timezone()
30835function, by Daniel Richard G.
30836
30837Source Code
30838***********
30839
30840Download the latest version of 'ax_var_timezone_externals.m4'
30841(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_var_timezone_externals.m4)
30842or browse the macro's revision history
30843(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_var_timezone_externals.m4).
30844
30845License
30846*******
30847
30848Copyright (C) 2008 Mark R. Bannister <markb@freedomware.co.uk>
30849Copyright (C) 2011 Daniel Richard G. <skunk@iSKUNK.ORG>
30850
30851This program is free software; you can redistribute it and/or modify it
30852under the terms of the GNU General Public License as published by the
30853Free Software Foundation; either version 2 of the License, or (at your
30854option) any later version.
30855
30856This program is distributed in the hope that it will be useful, but
30857WITHOUT ANY WARRANTY; without even the implied warranty of
30858MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
30859Public License for more details.
30860
30861You should have received a copy of the GNU General Public License along
30862with this program.  If not, see <https://www.gnu.org/licenses/>.
30863
30864As a special exception, the respective Autoconf Macro's copyright owner
30865gives unlimited permission to copy, distribute and modify the configure
30866scripts that are the output of Autoconf when processing the Macro.  You
30867need not follow the terms of the GNU General Public License when using
30868or distributing such scripts, even though portions of the text of the
30869Macro appear in them.  The GNU General Public License (GPL) does govern
30870all other use of the material that constitutes the Autoconf Macro.
30871
30872This special exception to the GPL applies to versions of the Autoconf
30873Macro released by the Autoconf Archive.  When you make and distribute a
30874modified version of the Autoconf Macro, you may extend this special
30875exception to the GPL to apply to your modified version as well.
30876
30877
30878File: autoconf-archive.info,  Node: ax_very_nice,  Next: ax_warning_default_aclocaldir,  Prev: ax_var_timezone_externals,  Up: The Macros
30879
30880ax_very_nice
30881============
30882
30883Synopsis
30884********
30885
30886     AX_VERY_NICE
30887
30888Description
30889***********
30890
30891A macro to check the options of nice, in order to have a VERY_NICE
30892variable which runs a program at the lowest priority VERY_NICE is
30893undefined if we don't find the proper options, so you can safely use:
30894
30895       @VERY_NICE@ mycommand
30896
30897in a shell script.
30898
30899The VERY_NICE variable includes the placeholder NICE_VALUE that you have
30900to instantiate at run-time.  If you give a argument to AX_VERY_NICE, it
30901will be used as an argument of nice for testing and included in
30902VERY_NICE instead of the above placeholder.
30903
30904Source Code
30905***********
30906
30907Download the latest version of 'ax_very_nice.m4'
30908(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_very_nice.m4)
30909or browse the macro's revision history
30910(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_very_nice.m4).
30911
30912License
30913*******
30914
30915Copyright (C) 2008 Stephane Bortzmeyer <bortzmeyer@pasteur.fr>
30916
30917This program is free software; you can redistribute it and/or modify it
30918under the terms of the GNU General Public License as published by the
30919Free Software Foundation; either version 2 of the License, or (at your
30920option) any later version.
30921
30922This program is distributed in the hope that it will be useful, but
30923WITHOUT ANY WARRANTY; without even the implied warranty of
30924MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
30925Public License for more details.
30926
30927You should have received a copy of the GNU General Public License along
30928with this program.  If not, see <https://www.gnu.org/licenses/>.
30929
30930As a special exception, the respective Autoconf Macro's copyright owner
30931gives unlimited permission to copy, distribute and modify the configure
30932scripts that are the output of Autoconf when processing the Macro.  You
30933need not follow the terms of the GNU General Public License when using
30934or distributing such scripts, even though portions of the text of the
30935Macro appear in them.  The GNU General Public License (GPL) does govern
30936all other use of the material that constitutes the Autoconf Macro.
30937
30938This special exception to the GPL applies to versions of the Autoconf
30939Macro released by the Autoconf Archive.  When you make and distribute a
30940modified version of the Autoconf Macro, you may extend this special
30941exception to the GPL to apply to your modified version as well.
30942
30943
30944File: autoconf-archive.info,  Node: ax_warning_default_aclocaldir,  Next: ax_warning_default_pkgconfig,  Prev: ax_very_nice,  Up: The Macros
30945
30946ax_warning_default_aclocaldir
30947=============================
30948
30949Synopsis
30950********
30951
30952     AX_WARNING_DEFAULT_ACLOCALDIR [(dirvariable [,[defsetting][,[A][,[N/A]]]])]
30953     AX_ENABLE_DEFAULT_ACLOCALDIR [(dirvariable [,defsetting])]
30954
30955Description
30956***********
30957
30958print a warning message if the $(datadir)/aclocal directory is not in
30959the dirlist searched by the aclocal tool.  This macro is useful if some
30960'make install' would target $(datadir)/aclocal to install an autoconf m4
30961file of your project to be picked up by other projects.
30962
30963      default $1 dirvariable = aclocaldir
30964      default $2 defsetting  = ${datadir}/aclocal
30965      default $3 action = nothing to do
30966      default $4 action = warn the user about mismatch
30967
30968In the _WARNING_ variant, the defsetting is not placed in dirvariable
30969nor is it ac_subst'ed in any way.  The default fail-action $4 is to send
30970a warning message to the user, and the default accept-action $3 is
30971nothing.  It is expected that a Makefile is generated with
30972aclocaldir=${datadir}/aclocal
30973
30974The _ENABLE_ variant however will set not only the $aclocaldir shell var
30975of the script, but it is also AC-SUBST'ed on default - and furthermore a
30976configure option "-enable-default-aclocaldir" is provided.  Only if that
30977option is set then $2 default is not set to the canonic default in the a
30978$prefix subpath but instead $2 default is set to the primary path where
30979'aclocal' looks for macros.  The user may also override the default on
30980the command line.
30981
30982Source Code
30983***********
30984
30985Download the latest version of 'ax_warning_default_aclocaldir.m4'
30986(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_warning_default_aclocaldir.m4)
30987or browse the macro's revision history
30988(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_warning_default_aclocaldir.m4).
30989
30990License
30991*******
30992
30993Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
30994
30995Copying and distribution of this file, with or without modification, are
30996permitted in any medium without royalty provided the copyright notice
30997and this notice are preserved.  This file is offered as-is, without any
30998warranty.
30999
31000
31001File: autoconf-archive.info,  Node: ax_warning_default_pkgconfig,  Next: ax_wint_t,  Prev: ax_warning_default_aclocaldir,  Up: The Macros
31002
31003ax_warning_default_pkgconfig
31004============================
31005
31006Synopsis
31007********
31008
31009     AX_WARNING_DEFAULT_PKGCONFIGDIR [(dirvariable [,[defsetting][,[A][,[N/A]]]])]
31010     AX_ENABLE_DEFAULT_PKGCONFIGDIR [(dirvariable [,defsetting])]
31011
31012Description
31013***********
31014
31015print a warning message if the $(datadir)/aclocal directory is not in
31016the dirlist searched by the aclocal tool.  This macro is useful if some
31017'make install' would target $(datadir)/aclocal to install an autoconf m4
31018file of your project to be picked up by other projects.
31019
31020      default $1 dirvariable = pkgconfigdir
31021      default $2 defsetting  = ${libdir}/pkgconfig
31022      default $3 action = nothing to do
31023      default $4 action = warn the user about mismatch
31024
31025In the _WARNING_ variant, the defsetting is not placed in dirvariable
31026nor is it ac_subst'ed in any way.  The default fail-action $4 is to send
31027a warning message to the user, and the default accept-action $3 is
31028nothing.  It is expected that a Makefile is generated with
31029pkgconfigdir=${libdir}/pkgconfig
31030
31031The _ENABLE_ variant however will set not only the $pkgconfigdir shell
31032var of the script, but it is also AC-SUBST'ed on default - and
31033furthermore a configure option "-enable-default-pkgconfigdir" is
31034provided.  Only if that option is set then $2 default is not set to the
31035canonic default in the a $prefix subpath but instead $2 default is set
31036to the primary path where 'pkg-config' looks for .pc files.  The user
31037may also override the default on the command line.
31038
31039Source Code
31040***********
31041
31042Download the latest version of 'ax_warning_default_pkgconfig.m4'
31043(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_warning_default_pkgconfig.m4)
31044or browse the macro's revision history
31045(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_warning_default_pkgconfig.m4).
31046
31047License
31048*******
31049
31050Copyright (C) 2008 Guido U. Draheim <guidod@gmx.de>
31051
31052Copying and distribution of this file, with or without modification, are
31053permitted in any medium without royalty provided the copyright notice
31054and this notice are preserved.  This file is offered as-is, without any
31055warranty.
31056
31057
31058File: autoconf-archive.info,  Node: ax_wint_t,  Next: ax_with_apxs,  Prev: ax_warning_default_pkgconfig,  Up: The Macros
31059
31060ax_wint_t
31061=========
31062
31063Synopsis
31064********
31065
31066     AX_WINT_T
31067
31068Description
31069***********
31070
31071It turns out that MacOS X doesn't guarantee to provide the "wint_t" type
31072unless you include the strange header <runetype.h> in addition to
31073<wchar.h>.  Consequently, the "do I have a system wint_t?"  probe fails
31074and an alternate gets used.  Unfortunately, by the time the program gets
31075built, one way or another that funny header winds up getting included
31076and the "#define wint_t unsigned int" patch-up-hack mutilates the
31077typedef.  This macro will get it right.
31078
31079Source Code
31080***********
31081
31082Download the latest version of 'ax_wint_t.m4'
31083(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_wint_t.m4)
31084or browse the macro's revision history
31085(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_wint_t.m4).
31086
31087License
31088*******
31089
31090Copyright (C) 2008 Bruce Korb <bkorb@gnu.org>
31091
31092Copying and distribution of this file, with or without modification, are
31093permitted in any medium without royalty provided the copyright notice
31094and this notice are preserved.  This file is offered as-is, without any
31095warranty.
31096
31097
31098File: autoconf-archive.info,  Node: ax_with_apxs,  Next: ax_with_build_path,  Prev: ax_wint_t,  Up: The Macros
31099
31100ax_with_apxs
31101============
31102
31103Synopsis
31104********
31105
31106     AX_WITH_APXS([value-if-not-found], [path])
31107
31108Description
31109***********
31110
31111Locates an installed apxs binary, placing the result in the precious
31112variable $APXS. Accepts a preset $APXS, then -with-apxs, and failing
31113that searches for apxs in the given path (which defaults to the system
31114path).  If apxs is found, $APXS is set to the full path of the binary;
31115otherwise it is set to VALUE-IF-NOT-FOUND, which defaults to apxs.
31116
31117Example:
31118
31119       AX_WITH_APXS(missing)
31120
31121Source Code
31122***********
31123
31124Download the latest version of 'ax_with_apxs.m4'
31125(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_apxs.m4)
31126or browse the macro's revision history
31127(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_apxs.m4).
31128
31129License
31130*******
31131
31132Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
31133
31134Copying and distribution of this file, with or without modification, are
31135permitted in any medium without royalty provided the copyright notice
31136and this notice are preserved.  This file is offered as-is, without any
31137warranty.
31138
31139
31140File: autoconf-archive.info,  Node: ax_with_build_path,  Next: ax_with_curses,  Prev: ax_with_apxs,  Up: The Macros
31141
31142ax_with_build_path
31143==================
31144
31145Synopsis
31146********
31147
31148     AX_WITH_BUILD_PATH
31149
31150Description
31151***********
31152
31153This macro adds a "-with-build-path" option to the configure script.
31154This configure option provides a convenient way to add "-I" options to
31155CPPFLAGS and "-L" options to LDFLAGS, at configure time.
31156
31157Invoking "./configure -with-build-path=DIR" results in "-I DIR/include"
31158being added to CPPFLAGS if DIR/include exists, and "-L DIR/lib" being
31159added to LDFLAGS if DIR/lib exists.
31160
31161Separate multiple directories using colons; e.g.
31162"-with-build-path=DIR1:DIR2:DIR3".
31163
31164Source Code
31165***********
31166
31167Download the latest version of 'ax_with_build_path.m4'
31168(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_build_path.m4)
31169or browse the macro's revision history
31170(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_build_path.m4).
31171
31172License
31173*******
31174
31175Copyright (C) 2008 Steve M. Robbins <smr@debian.org>
31176
31177Copying and distribution of this file, with or without modification, are
31178permitted in any medium without royalty provided the copyright notice
31179and this notice are preserved.  This file is offered as-is, without any
31180warranty.
31181
31182
31183File: autoconf-archive.info,  Node: ax_with_curses,  Next: ax_with_curses_extra,  Prev: ax_with_build_path,  Up: The Macros
31184
31185ax_with_curses
31186==============
31187
31188Synopsis
31189********
31190
31191     AX_WITH_CURSES
31192
31193Description
31194***********
31195
31196This macro checks whether a SysV or X/Open-compatible Curses library is
31197present, along with the associated header file.  The NcursesW
31198(wide-character) library is searched for first, followed by Ncurses,
31199then the system-default plain Curses.  The first library found is the
31200one returned.  Finding libraries will first be attempted by using
31201pkg-config, and should the pkg-config files not be available, will
31202fallback to combinations of known flags itself.
31203
31204The following options are understood: -with-ncursesw, -with-ncurses,
31205-without-ncursesw, -without-ncurses.  The "-with" options force the
31206macro to use that particular library, terminating with an error if not
31207found.  The "-without" options simply skip the check for that library.
31208The effect on the search pattern is:
31209
31210       (no options)                           - NcursesW, Ncurses, Curses
31211       --with-ncurses     --with-ncursesw     - NcursesW only [*]
31212       --without-ncurses  --with-ncursesw     - NcursesW only [*]
31213                          --with-ncursesw     - NcursesW only [*]
31214       --with-ncurses     --without-ncursesw  - Ncurses only [*]
31215       --with-ncurses                         - NcursesW, Ncurses [**]
31216       --without-ncurses  --without-ncursesw  - Curses only
31217                          --without-ncursesw  - Ncurses, Curses
31218       --without-ncurses                      - NcursesW, Curses
31219
31220[*] If the library is not found, abort the configure script.
31221
31222[**] If the second library (Ncurses) is not found, abort configure.
31223
31224The following preprocessor symbols may be defined by this macro if the
31225appropriate conditions are met:
31226
31227       HAVE_CURSES             - if any SysV or X/Open Curses library found
31228       HAVE_CURSES_ENHANCED    - if library supports X/Open Enhanced functions
31229       HAVE_CURSES_COLOR       - if library supports color (enhanced functions)
31230       HAVE_CURSES_OBSOLETE    - if library supports certain obsolete features
31231       HAVE_NCURSESW           - if NcursesW (wide char) library is to be used
31232       HAVE_NCURSES            - if the Ncurses library is to be used
31233
31234       HAVE_CURSES_H           - if <curses.h> is present and should be used
31235       HAVE_NCURSESW_H         - if <ncursesw.h> should be used
31236       HAVE_NCURSES_H          - if <ncurses.h> should be used
31237       HAVE_NCURSESW_CURSES_H  - if <ncursesw/curses.h> should be used
31238       HAVE_NCURSES_CURSES_H   - if <ncurses/curses.h> should be used
31239
31240(These preprocessor symbols are discussed later in this document.)
31241
31242The following output variables are defined by this macro; they are
31243precious and may be overridden on the ./configure command line:
31244
31245       CURSES_LIBS  - library to add to xxx_LDADD
31246       CURSES_CFLAGS  - include paths to add to xxx_CPPFLAGS
31247
31248In previous versions of this macro, the flags CURSES_LIB and
31249CURSES_CPPFLAGS were defined.  These have been renamed, in keeping with
31250AX_WITH_CURSES's close bigger brother, PKG_CHECK_MODULES, which should
31251eventually supersede the use of AX_WITH_CURSES. Neither the library
31252listed in CURSES_LIBS, nor the flags in CURSES_CFLAGS are added to LIBS,
31253respectively CPPFLAGS, by default.  You need to add both to the
31254appropriate xxx_LDADD/xxx_CPPFLAGS line in your Makefile.am.  For
31255example:
31256
31257       prog_LDADD = @CURSES_LIBS@
31258       prog_CPPFLAGS = @CURSES_CFLAGS@
31259
31260If CURSES_LIBS is set on the configure command line (such as by running
31261"./configure CURSES_LIBS=-lmycurses"), then the only header searched for
31262is <curses.h>.  If the user needs to specify an alternative path for a
31263library (such as for a non-standard NcurseW), the user should use the
31264LDFLAGS variable.
31265
31266The following shell variables may be defined by this macro:
31267
31268       ax_cv_curses           - set to "yes" if any Curses library found
31269       ax_cv_curses_enhanced  - set to "yes" if Enhanced functions present
31270       ax_cv_curses_color     - set to "yes" if color functions present
31271       ax_cv_curses_obsolete  - set to "yes" if obsolete features present
31272
31273       ax_cv_ncursesw      - set to "yes" if NcursesW library found
31274       ax_cv_ncurses       - set to "yes" if Ncurses library found
31275       ax_cv_plaincurses   - set to "yes" if plain Curses library found
31276       ax_cv_curses_which  - set to "ncursesw", "ncurses", "plaincurses" or "no"
31277
31278These variables can be used in your configure.ac to determine the level
31279of support you need from the Curses library.  For example, if you must
31280have either Ncurses or NcursesW, you could include:
31281
31282       AX_WITH_CURSES
31283       if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then
31284           AC_MSG_ERROR([requires either NcursesW or Ncurses library])
31285       fi
31286
31287If any Curses library will do (but one must be present and must support
31288color), you could use:
31289
31290       AX_WITH_CURSES
31291       if test "x$ax_cv_curses" != xyes || test "x$ax_cv_curses_color" != xyes; then
31292           AC_MSG_ERROR([requires an X/Open-compatible Curses library with color])
31293       fi
31294
31295Certain preprocessor symbols and shell variables defined by this macro
31296can be used to determine various features of the Curses library.  In
31297particular, HAVE_CURSES and ax_cv_curses are defined if the Curses
31298library found conforms to the traditional SysV and/or X/Open Base Curses
31299definition.  Any working Curses library conforms to this level.
31300
31301HAVE_CURSES_ENHANCED and ax_cv_curses_enhanced are defined if the
31302library supports the X/Open Enhanced Curses definition.  In particular,
31303the wide-character types attr_t, cchar_t and wint_t, the functions
31304wattr_set() and wget_wch() and the macros WA_NORMAL and _XOPEN_CURSES
31305are checked.  The Ncurses library does NOT conform to this definition,
31306although NcursesW does.
31307
31308HAVE_CURSES_COLOR and ax_cv_curses_color are defined if the library
31309supports color functions and macros such as COLOR_PAIR, A_COLOR,
31310COLOR_WHITE, COLOR_RED and init_pair().  These are NOT part of the
31311X/Open Base Curses definition, but are part of the Enhanced set of
31312functions.  The Ncurses library DOES support these functions, as does
31313NcursesW.
31314
31315HAVE_CURSES_OBSOLETE and ax_cv_curses_obsolete are defined if the
31316library supports certain features present in SysV and BSD Curses but not
31317defined in the X/Open definition.  In particular, the functions
31318getattrs(), getcurx() and getmaxx() are checked.
31319
31320To use the HAVE_xxx_H preprocessor symbols, insert the following into
31321your system.h (or equivalent) header file:
31322
31323       #if defined HAVE_NCURSESW_CURSES_H
31324       #  include <ncursesw/curses.h>
31325       #elif defined HAVE_NCURSESW_H
31326       #  include <ncursesw.h>
31327       #elif defined HAVE_NCURSES_CURSES_H
31328       #  include <ncurses/curses.h>
31329       #elif defined HAVE_NCURSES_H
31330       #  include <ncurses.h>
31331       #elif defined HAVE_CURSES_H
31332       #  include <curses.h>
31333       #else
31334       #  error "SysV or X/Open-compatible Curses header file required"
31335       #endif
31336
31337For previous users of this macro: you should not need to change anything
31338in your configure.ac or Makefile.am, as the previous (serial 10)
31339semantics are still valid.  However, you should update your system.h (or
31340equivalent) header file to the fragment shown above.  You are encouraged
31341also to make use of the extended functionality provided by this version
31342of AX_WITH_CURSES, as well as in the additional macros
31343AX_WITH_CURSES_PANEL, AX_WITH_CURSES_MENU and AX_WITH_CURSES_FORM.
31344
31345Source Code
31346***********
31347
31348Download the latest version of 'ax_with_curses.m4'
31349(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_curses.m4)
31350or browse the macro's revision history
31351(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_curses.m4).
31352
31353License
31354*******
31355
31356Copyright (C) 2009 Mark Pulford <mark@kyne.com.au>
31357Copyright (C) 2009 Damian Pietras <daper@daper.net>
31358Copyright (C) 2012 Reuben Thomas <rrt@sc3d.org>
31359Copyright (C) 2011 John Zaitseff <J.Zaitseff@zap.org.au>
31360
31361This program is free software: you can redistribute it and/or modify it
31362under the terms of the GNU General Public License as published by the
31363Free Software Foundation, either version 3 of the License, or (at your
31364option) any later version.
31365
31366This program is distributed in the hope that it will be useful, but
31367WITHOUT ANY WARRANTY; without even the implied warranty of
31368MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
31369Public License for more details.
31370
31371You should have received a copy of the GNU General Public License along
31372with this program.  If not, see <https://www.gnu.org/licenses/>.
31373
31374As a special exception, the respective Autoconf Macro's copyright owner
31375gives unlimited permission to copy, distribute and modify the configure
31376scripts that are the output of Autoconf when processing the Macro.  You
31377need not follow the terms of the GNU General Public License when using
31378or distributing such scripts, even though portions of the text of the
31379Macro appear in them.  The GNU General Public License (GPL) does govern
31380all other use of the material that constitutes the Autoconf Macro.
31381
31382This special exception to the GPL applies to versions of the Autoconf
31383Macro released by the Autoconf Archive.  When you make and distribute a
31384modified version of the Autoconf Macro, you may extend this special
31385exception to the GPL to apply to your modified version as well.
31386
31387
31388File: autoconf-archive.info,  Node: ax_with_curses_extra,  Next: ax_with_dmalloc,  Prev: ax_with_curses,  Up: The Macros
31389
31390ax_with_curses_extra
31391====================
31392
31393Synopsis
31394********
31395
31396     AX_WITH_CURSES_PANEL
31397     AX_WITH_CURSES_MENU
31398     AX_WITH_CURSES_FORM
31399
31400Description
31401***********
31402
31403These macros try to find additional libraries that often come with
31404SysV-compatible Curses.  In particular, the Panel, Menu and Form
31405libraries are searched, along with their header files.  These macros
31406depend on AX_WITH_CURSES.
31407
31408The following preprocessor symbols may be defined by these macros:
31409
31410       By AX_WITH_CURSES_PANEL:
31411
31412       HAVE_PANEL              - if the Panel library is present
31413       HAVE_PANEL_H            - if <panel.h> is present and should be used
31414       HAVE_NCURSES_PANEL_H    - if <ncurses/panel.h> should be used
31415       HAVE_NCURSESW_PANEL_H   - if <ncursesw/panel.h> should be used
31416
31417       By AX_WITH_CURSES_MENU:
31418
31419       HAVE_MENU               - if the Menu library is present
31420       HAVE_MENU_H             - if <menu.h> is present and should be used
31421       HAVE_NCURSES_MENU_H     - if <ncurses/menu.h> should be used
31422       HAVE_NCURSESW_MENU_H    - if <ncursesw/menu.h> should be used
31423
31424       By AX_WITH_CURSES_FORM:
31425
31426       HAVE_FORM               - if the Form library is present
31427       HAVE_FORM_H             - if <form.h> is present and should be used
31428       HAVE_NCURSES_FORM_H     - if <ncurses/form.h> should be used
31429       HAVE_NCURSESW_FORM_H    - if <ncursesw/form.h> should be used
31430
31431The following output variables may be defined by these macros; these are
31432precious and may be overridden on the ./configure command line:
31433
31434       PANEL_LIBS   - library to add to xxx_LDADD before CURSES_LIBS
31435       MENU_LIBS    - library to add to xxx_LDADD before CURSES_LIBS
31436       FORM_LIBS    - library to add to xxx_LDADD before CURSES_LIBS
31437
31438In previous versions of this macro, the flags PANEL_LIB, MENU_LIB and
31439FORM_LIB were defined.  These have been renamed, in keeping with the
31440variable scheme of PKG_CHECK_MODULES, which should eventually supersede
31441the use of AX_WITH_CURSES and AX_WITH_CURSES_* macros.  These libraries
31442are NOT added to LIBS by default.  You need to add them to the
31443appropriate xxx_LDADD line in your Makefile.am in front of the
31444equivalent CURSES_LIBS incantation.  For example:
31445
31446       prog_LDADD = @PANEL_LIBS@ @CURSES_LIBS@
31447
31448If one of the xxx_LIBS variables is set on the configure command line
31449(such as by running "./configure PANEL_LIBS=-lmypanel"), then the header
31450file searched must NOT contain a subpath.  In this case, in other words,
31451only <panel.h> would be searched for.  The user may use the CPPFLAGS
31452precious variable to override the standard #include search path.
31453
31454The following shell variables may be defined by these macros:
31455
31456       ax_cv_panel   - set to "yes" if Panels library is present
31457       ax_cv_menu    - set to "yes" if Menu library is present
31458       ax_cv_form    - set to "yes" if Form library is present
31459
31460These variables can be used in your configure.ac to determine whether a
31461library you require is actually present.  For example:
31462
31463       AX_WITH_CURSES
31464       if test "x$ax_cv_curses" != xyes; then
31465           AC_MSG_ERROR([requires a SysV or X/Open-compatible Curses library])
31466       fi
31467       AX_WITH_CURSES_PANEL
31468       if test "x$ax_cv_panel" != xyes; then
31469           AC_MSG_ERROR([requires the Curses Panel library])
31470       fi
31471
31472To use the HAVE_xxx_H preprocessor symbols, insert the following into
31473your system.h (or equivalent) header file:
31474
31475       For AX_WITH_CURSES_PANEL:
31476
31477       #if defined HAVE_NCURSESW_PANEL_H
31478       #  include <ncursesw/panel.h>
31479       #elif defined HAVE_NCURSES_PANEL_H
31480       #  include <ncurses/panel.h>
31481       #elif defined HAVE_PANEL_H
31482       #  include <panel.h>
31483       #else
31484       #  error "SysV-compatible Curses Panel header file required"
31485       #endif
31486
31487       For AX_WITH_CURSES_MENU:
31488
31489       #if defined HAVE_NCURSESW_MENU_H
31490       #  include <ncursesw/menu.h>
31491       #elif defined HAVE_NCURSES_MENU_H
31492       #  include <ncurses/menu.h>
31493       #elif defined HAVE_MENU_H
31494       #  include <menu.h>
31495       #else
31496       #  error "SysV-compatible Curses Menu header file required"
31497       #endif
31498
31499       For AX_WITH_CURSES_FORM:
31500
31501       #if defined HAVE_NCURSESW_FORM_H
31502       #  include <ncursesw/form.h>
31503       #elif defined HAVE_NCURSES_FORM_H
31504       #  include <ncurses/form.h>
31505       #elif defined HAVE_FORM_H
31506       #  include <form.h>
31507       #else
31508       #  error "SysV-compatible Curses Form header file required"
31509       #endif
31510
31511Source Code
31512***********
31513
31514Download the latest version of 'ax_with_curses_extra.m4'
31515(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_curses_extra.m4)
31516or browse the macro's revision history
31517(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_curses_extra.m4).
31518
31519License
31520*******
31521
31522Copyright (C) 2011 John Zaitseff <J.Zaitseff@zap.org.au>
31523
31524This program is free software: you can redistribute it and/or modify it
31525under the terms of the GNU General Public License as published by the
31526Free Software Foundation, either version 3 of the License, or (at your
31527option) any later version.
31528
31529This program is distributed in the hope that it will be useful, but
31530WITHOUT ANY WARRANTY; without even the implied warranty of
31531MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
31532Public License for more details.
31533
31534You should have received a copy of the GNU General Public License along
31535with this program.  If not, see <https://www.gnu.org/licenses/>.
31536
31537As a special exception, the respective Autoconf Macro's copyright owner
31538gives unlimited permission to copy, distribute and modify the configure
31539scripts that are the output of Autoconf when processing the Macro.  You
31540need not follow the terms of the GNU General Public License when using
31541or distributing such scripts, even though portions of the text of the
31542Macro appear in them.  The GNU General Public License (GPL) does govern
31543all other use of the material that constitutes the Autoconf Macro.
31544
31545This special exception to the GPL applies to versions of the Autoconf
31546Macro released by the Autoconf Archive.  When you make and distribute a
31547modified version of the Autoconf Macro, you may extend this special
31548exception to the GPL to apply to your modified version as well.
31549
31550
31551File: autoconf-archive.info,  Node: ax_with_dmalloc,  Next: ax_with_mpatrol,  Prev: ax_with_curses_extra,  Up: The Macros
31552
31553ax_with_dmalloc
31554===============
31555
31556Synopsis
31557********
31558
31559     AX_WITH_DMALLOC
31560
31561Description
31562***********
31563
31564Let the user enable/disable support for the dmalloc library available
31565from <http://www.dmalloc.org/>.
31566
31567The macro adds the command-line flag "-with-dmalloc".  Furthermore,
31568"-IPREFIX/include" will be added to "$CPPFLAGS", "-LPREFIX/lib" to
31569"$LDFLAGS", and "-DDEBUG_DMALLOC" and "-DDMALLOC_FUNC_CHECK" to
31570"$CPPFLAGS".
31571
31572To enable dmalloc support in your code, add the following snippet to
31573your header files:
31574
31575       #ifdef DEBUG_DMALLOC
31576       #  include <dmalloc.h>
31577       #endif
31578
31579Source Code
31580***********
31581
31582Download the latest version of 'ax_with_dmalloc.m4'
31583(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_dmalloc.m4)
31584or browse the macro's revision history
31585(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_dmalloc.m4).
31586
31587License
31588*******
31589
31590Copyright (C) 2008 Peter Simons <simons@cryp.to>
31591
31592Copying and distribution of this file, with or without modification, are
31593permitted in any medium without royalty provided the copyright notice
31594and this notice are preserved.  This file is offered as-is, without any
31595warranty.
31596
31597
31598File: autoconf-archive.info,  Node: ax_with_mpatrol,  Next: ax_with_prog,  Prev: ax_with_dmalloc,  Up: The Macros
31599
31600ax_with_mpatrol
31601===============
31602
31603Synopsis
31604********
31605
31606     AX_WITH_MPATROL(DEFAULT)
31607
31608Description
31609***********
31610
31611Integrates the mpatrol malloc debugging library into a new or existing
31612project and also attempts to determine the support libraries that need
31613to be linked in when libmpatrol is used.
31614
31615It takes one optional parameter specifying whether mpatrol should be
31616included in the project ('yes') or not ('no').  This can also be
31617specified as 'threads' if you wish to use the threadsafe version of the
31618mpatrol library.  You can override the value of the optional parameter
31619with the '-with-mpatrol' option to the resulting 'configure' shell
31620script.
31621
31622Source Code
31623***********
31624
31625Download the latest version of 'ax_with_mpatrol.m4'
31626(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_mpatrol.m4)
31627or browse the macro's revision history
31628(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_mpatrol.m4).
31629
31630License
31631*******
31632
31633Copyright (C) 2008 Graeme S. Roy <graeme@epc.co.uk>
31634
31635Copying and distribution of this file, with or without modification, are
31636permitted in any medium without royalty provided the copyright notice
31637and this notice are preserved.  This file is offered as-is, without any
31638warranty.
31639
31640
31641File: autoconf-archive.info,  Node: ax_with_prog,  Next: ax_xercesc,  Prev: ax_with_mpatrol,  Up: The Macros
31642
31643ax_with_prog
31644============
31645
31646Synopsis
31647********
31648
31649     AX_WITH_PROG([VARIABLE],[program],[VALUE-IF-NOT-FOUND],[PATH])
31650
31651Description
31652***********
31653
31654Locates an installed program binary, placing the result in the precious
31655variable VARIABLE. Accepts a present VARIABLE, then -with-program, and
31656failing that searches for program in the given path (which defaults to
31657the system path).  If program is found, VARIABLE is set to the full path
31658of the binary; if it is not found VARIABLE is set to VALUE-IF-NOT-FOUND
31659if provided, unchanged otherwise.
31660
31661A typical example could be the following one:
31662
31663       AX_WITH_PROG(PERL,perl)
31664
31665NOTE: This macro is based upon the original AX_WITH_PYTHON macro from
31666Dustin J. Mitchell <dustin@cs.uchicago.edu>.
31667
31668Source Code
31669***********
31670
31671Download the latest version of 'ax_with_prog.m4'
31672(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_with_prog.m4)
31673or browse the macro's revision history
31674(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_with_prog.m4).
31675
31676License
31677*******
31678
31679Copyright (C) 2008 Francesco Salvestrini <salvestrini@users.sourceforge.net>
31680
31681Copyright (C) 2008 Dustin J. Mitchell <dustin@cs.uchicago.edu>
31682
31683Copying and distribution of this file, with or without modification, are
31684permitted in any medium without royalty provided the copyright notice
31685and this notice are preserved.  This file is offered as-is, without any
31686warranty.
31687
31688
31689File: autoconf-archive.info,  Node: ax_xercesc,  Next: ax_xsdcxx,  Prev: ax_with_prog,  Up: The Macros
31690
31691ax_xercesc
31692==========
31693
31694Synopsis
31695********
31696
31697     AX_XERCESC
31698
31699Description
31700***********
31701
31702Define $HAVE_LIBXERCES_C, $LIBXERCES_C, and $LTLIBXERCES_C to signify
31703whether Xerces is available.
31704
31705Source Code
31706***********
31707
31708Download the latest version of 'ax_xercesc.m4'
31709(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_xercesc.m4)
31710or browse the macro's revision history
31711(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_xercesc.m4).
31712
31713License
31714*******
31715
31716Copyright (C) 2008 Ronald Landheer-Cieslak <blytkerchan@users.sourceforge.net>
31717
31718This program is free software; you can redistribute it and/or modify it
31719under the terms of the GNU General Public License as published by the
31720Free Software Foundation; either version 2 of the License, or (at your
31721option) any later version.
31722
31723This program is distributed in the hope that it will be useful, but
31724WITHOUT ANY WARRANTY; without even the implied warranty of
31725MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
31726Public License for more details.
31727
31728You should have received a copy of the GNU General Public License along
31729with this program.  If not, see <https://www.gnu.org/licenses/>.
31730
31731As a special exception, the respective Autoconf Macro's copyright owner
31732gives unlimited permission to copy, distribute and modify the configure
31733scripts that are the output of Autoconf when processing the Macro.  You
31734need not follow the terms of the GNU General Public License when using
31735or distributing such scripts, even though portions of the text of the
31736Macro appear in them.  The GNU General Public License (GPL) does govern
31737all other use of the material that constitutes the Autoconf Macro.
31738
31739This special exception to the GPL applies to versions of the Autoconf
31740Macro released by the Autoconf Archive.  When you make and distribute a
31741modified version of the Autoconf Macro, you may extend this special
31742exception to the GPL to apply to your modified version as well.
31743
31744
31745File: autoconf-archive.info,  Node: ax_xsdcxx,  Next: ax_xtra_classpath,  Prev: ax_xercesc,  Up: The Macros
31746
31747ax_xsdcxx
31748=========
31749
31750Synopsis
31751********
31752
31753     AX_XSDCXX
31754
31755Description
31756***********
31757
31758This macro tries to find the CodeSynthesis XSD executable and the
31759corresponding headers.
31760
31761Supported options:
31762
31763       --with-xsdcxx
31764           use CodeSynthesis XSD from given prefix (ARG=path);
31765           check PATH (ARG=yes); disable (ARG=no)
31766
31767       --with-xsdcxx-inc
31768           path to CodeSynthesis XSD headers (ARG=path); use standard prefix
31769           (ARG=yes); disable (ARG=no)
31770
31771Output variables:
31772
31773       XSDCXX
31774       XSDCXX_CPPFLAGS
31775
31776Source Code
31777***********
31778
31779Download the latest version of 'ax_xsdcxx.m4'
31780(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_xsdcxx.m4)
31781or browse the macro's revision history
31782(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_xsdcxx.m4).
31783
31784License
31785*******
31786
31787Copyright (C) 2013 Laszlo Kajan <lkajan@rostlab.org>
31788
31789Copying and distribution of this file, with or without modification, are
31790permitted in any medium without royalty provided the copyright notice
31791and this notice are preserved.  This file is offered as-is, without any
31792warranty.
31793
31794
31795File: autoconf-archive.info,  Node: ax_xtra_classpath,  Next: ax_zmq,  Prev: ax_xsdcxx,  Up: The Macros
31796
31797ax_xtra_classpath
31798=================
31799
31800Synopsis
31801********
31802
31803     AX_XTRA_CLASSPATH(<classpath>,<class>,<jarfile>,<action-if-found>,<action-if-not-found>)
31804
31805Description
31806***********
31807
31808Set $1 to extra classpath components required for class $2 found in a
31809jar file in $3.  If the class is found do $4 and otherwise do $5.  Uses
31810AX_JAVA_CHECK_CLASS for testing whether a class is available
31811
31812Source Code
31813***********
31814
31815Download the latest version of 'ax_xtra_classpath.m4'
31816(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_xtra_classpath.m4)
31817or browse the macro's revision history
31818(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_xtra_classpath.m4).
31819
31820License
31821*******
31822
31823Copyright (C) 2008 Duncan Simpson <dps@simpson.demon.co.uk>
31824
31825This program is free software; you can redistribute it and/or modify it
31826under the terms of the GNU General Public License as published by the
31827Free Software Foundation; either version 2 of the License, or (at your
31828option) any later version.
31829
31830This program is distributed in the hope that it will be useful, but
31831WITHOUT ANY WARRANTY; without even the implied warranty of
31832MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
31833Public License for more details.
31834
31835You should have received a copy of the GNU General Public License along
31836with this program.  If not, see <https://www.gnu.org/licenses/>.
31837
31838As a special exception, the respective Autoconf Macro's copyright owner
31839gives unlimited permission to copy, distribute and modify the configure
31840scripts that are the output of Autoconf when processing the Macro.  You
31841need not follow the terms of the GNU General Public License when using
31842or distributing such scripts, even though portions of the text of the
31843Macro appear in them.  The GNU General Public License (GPL) does govern
31844all other use of the material that constitutes the Autoconf Macro.
31845
31846This special exception to the GPL applies to versions of the Autoconf
31847Macro released by the Autoconf Archive.  When you make and distribute a
31848modified version of the Autoconf Macro, you may extend this special
31849exception to the GPL to apply to your modified version as well.
31850
31851
31852File: autoconf-archive.info,  Node: ax_zmq,  Next: ax_zoneinfo,  Prev: ax_xtra_classpath,  Up: The Macros
31853
31854ax_zmq
31855======
31856
31857Synopsis
31858********
31859
31860     AX_ZMQ([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
31861
31862Description
31863***********
31864
31865Test for the ZMQ libraries of a particular version (or newer).  The
31866default version tested for is 4.0.0.
31867
31868The macro tests for ZMQ libraries in the library/include path, and, when
31869provided, also in the path given by -with-zmq.
31870
31871This macro calls:
31872
31873       AC_SUBST(ZMQ_CPPFLAGS) / AC_SUBST(ZMQ_LDFLAGS) / AC_SUBST(ZMQ_LIBS)
31874
31875And sets:
31876
31877       HAVE_ZMQ
31878
31879Source Code
31880***********
31881
31882Download the latest version of 'ax_zmq.m4'
31883(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_zmq.m4)
31884or browse the macro's revision history
31885(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_zmq.m4).
31886
31887License
31888*******
31889
31890Copyright (C) 2016 Jeroen Meijer <jjgmeijer@gmail.com>
31891
31892Copying and distribution of this file, with or without modification, are
31893permitted in any medium without royalty provided the copyright notice
31894and this notice are preserved.  This file is offered as-is, without any
31895warranty.
31896
31897
31898File: autoconf-archive.info,  Node: ax_zoneinfo,  Prev: ax_zmq,  Up: The Macros
31899
31900ax_zoneinfo
31901===========
31902
31903Synopsis
31904********
31905
31906     AX_ZONEINFO([options...])
31907
31908Description
31909***********
31910
31911This macro finds compiled zoneinfo files.  If successful it will define
31912HAVE_ZONEINFO per:
31913
31914       AC_DEFINE([HAVE_ZONEINFO], [1], [...])
31915
31916and have the variable TZDIR point to the zoneinfo directory as per
31917
31918       AC_SUBST([TZDIR])
31919       AC_DEFINE_UNQUOTED([TZDIR], [/path/to/zic/files], [...])
31920
31921Optionally, OPTIONS can be 'right' to trigger further tests that will
31922determine if leap second fix-ups are available.  If so the variables
31923HAVE_ZONEINFO_RIGHT, ZONEINFO_UTC_RIGHT and TZDIR_RIGHT will be
31924populated:
31925
31926       AC_DEFINE([HAVE_ZONEINFO_RIGHT], [1], [...])
31927       AC_SUBST([TZDIR_RIGHT])
31928       AC_DEFINE_UNQUOTED([TZDIR_RIGHT], [/path/to/right/zic/files], [...])
31929       AC_SUBST([ZONEINFO_UTC_RIGHT])
31930       AC_DEFINE_UNQUOTED([ZONEINFO_UTC_RIGHT], [$ZONEINFO_UTC_RIGHT], [...])
31931
31932Source Code
31933***********
31934
31935Download the latest version of 'ax_zoneinfo.m4'
31936(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_zoneinfo.m4)
31937or browse the macro's revision history
31938(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_zoneinfo.m4).
31939
31940License
31941*******
31942
31943Copyright (C) 2012 Sebastian Freundt <freundt@fresse.org>
31944
31945Copying and distribution of this file, with or without modification, are
31946permitted in any medium without royalty provided the copyright notice
31947and this notice are preserved.  This file is offered as-is, without any
31948warranty.
31949
31950
31951File: autoconf-archive.info,  Node: GNU Free Documentation License,  Prev: The Macros,  Up: Top
31952
31953Appendix A GNU Free Documentation License
31954*****************************************
31955
31956                     Version 1.3, 3 November 2008
31957
31958     Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
31959     <https://fsf.org/>
31960
31961     Everyone is permitted to copy and distribute verbatim copies
31962     of this license document, but changing it is not allowed.
31963
31964  0. PREAMBLE
31965
31966     The purpose of this License is to make a manual, textbook, or other
31967     functional and useful document "free" in the sense of freedom: to
31968     assure everyone the effective freedom to copy and redistribute it,
31969     with or without modifying it, either commercially or
31970     noncommercially.  Secondarily, this License preserves for the
31971     author and publisher a way to get credit for their work, while not
31972     being considered responsible for modifications made by others.
31973
31974     This License is a kind of "copyleft", which means that derivative
31975     works of the document must themselves be free in the same sense.
31976     It complements the GNU General Public License, which is a copyleft
31977     license designed for free software.
31978
31979     We have designed this License in order to use it for manuals for
31980     free software, because free software needs free documentation: a
31981     free program should come with manuals providing the same freedoms
31982     that the software does.  But this License is not limited to
31983     software manuals; it can be used for any textual work, regardless
31984     of subject matter or whether it is published as a printed book.  We
31985     recommend this License principally for works whose purpose is
31986     instruction or reference.
31987
31988  1. APPLICABILITY AND DEFINITIONS
31989
31990     This License applies to any manual or other work, in any medium,
31991     that contains a notice placed by the copyright holder saying it can
31992     be distributed under the terms of this License.  Such a notice
31993     grants a world-wide, royalty-free license, unlimited in duration,
31994     to use that work under the conditions stated herein.  The
31995     "Document", below, refers to any such manual or work.  Any member
31996     of the public is a licensee, and is addressed as "you".  You accept
31997     the license if you copy, modify or distribute the work in a way
31998     requiring permission under copyright law.
31999
32000     A "Modified Version" of the Document means any work containing the
32001     Document or a portion of it, either copied verbatim, or with
32002     modifications and/or translated into another language.
32003
32004     A "Secondary Section" is a named appendix or a front-matter section
32005     of the Document that deals exclusively with the relationship of the
32006     publishers or authors of the Document to the Document's overall
32007     subject (or to related matters) and contains nothing that could
32008     fall directly within that overall subject.  (Thus, if the Document
32009     is in part a textbook of mathematics, a Secondary Section may not
32010     explain any mathematics.)  The relationship could be a matter of
32011     historical connection with the subject or with related matters, or
32012     of legal, commercial, philosophical, ethical or political position
32013     regarding them.
32014
32015     The "Invariant Sections" are certain Secondary Sections whose
32016     titles are designated, as being those of Invariant Sections, in the
32017     notice that says that the Document is released under this License.
32018     If a section does not fit the above definition of Secondary then it
32019     is not allowed to be designated as Invariant.  The Document may
32020     contain zero Invariant Sections.  If the Document does not identify
32021     any Invariant Sections then there are none.
32022
32023     The "Cover Texts" are certain short passages of text that are
32024     listed, as Front-Cover Texts or Back-Cover Texts, in the notice
32025     that says that the Document is released under this License.  A
32026     Front-Cover Text may be at most 5 words, and a Back-Cover Text may
32027     be at most 25 words.
32028
32029     A "Transparent" copy of the Document means a machine-readable copy,
32030     represented in a format whose specification is available to the
32031     general public, that is suitable for revising the document
32032     straightforwardly with generic text editors or (for images composed
32033     of pixels) generic paint programs or (for drawings) some widely
32034     available drawing editor, and that is suitable for input to text
32035     formatters or for automatic translation to a variety of formats
32036     suitable for input to text formatters.  A copy made in an otherwise
32037     Transparent file format whose markup, or absence of markup, has
32038     been arranged to thwart or discourage subsequent modification by
32039     readers is not Transparent.  An image format is not Transparent if
32040     used for any substantial amount of text.  A copy that is not
32041     "Transparent" is called "Opaque".
32042
32043     Examples of suitable formats for Transparent copies include plain
32044     ASCII without markup, Texinfo input format, LaTeX input format,
32045     SGML or XML using a publicly available DTD, and standard-conforming
32046     simple HTML, PostScript or PDF designed for human modification.
32047     Examples of transparent image formats include PNG, XCF and JPG.
32048     Opaque formats include proprietary formats that can be read and
32049     edited only by proprietary word processors, SGML or XML for which
32050     the DTD and/or processing tools are not generally available, and
32051     the machine-generated HTML, PostScript or PDF produced by some word
32052     processors for output purposes only.
32053
32054     The "Title Page" means, for a printed book, the title page itself,
32055     plus such following pages as are needed to hold, legibly, the
32056     material this License requires to appear in the title page.  For
32057     works in formats which do not have any title page as such, "Title
32058     Page" means the text near the most prominent appearance of the
32059     work's title, preceding the beginning of the body of the text.
32060
32061     The "publisher" means any person or entity that distributes copies
32062     of the Document to the public.
32063
32064     A section "Entitled XYZ" means a named subunit of the Document
32065     whose title either is precisely XYZ or contains XYZ in parentheses
32066     following text that translates XYZ in another language.  (Here XYZ
32067     stands for a specific section name mentioned below, such as
32068     "Acknowledgements", "Dedications", "Endorsements", or "History".)
32069     To "Preserve the Title" of such a section when you modify the
32070     Document means that it remains a section "Entitled XYZ" according
32071     to this definition.
32072
32073     The Document may include Warranty Disclaimers next to the notice
32074     which states that this License applies to the Document.  These
32075     Warranty Disclaimers are considered to be included by reference in
32076     this License, but only as regards disclaiming warranties: any other
32077     implication that these Warranty Disclaimers may have is void and
32078     has no effect on the meaning of this License.
32079
32080  2. VERBATIM COPYING
32081
32082     You may copy and distribute the Document in any medium, either
32083     commercially or noncommercially, provided that this License, the
32084     copyright notices, and the license notice saying this License
32085     applies to the Document are reproduced in all copies, and that you
32086     add no other conditions whatsoever to those of this License.  You
32087     may not use technical measures to obstruct or control the reading
32088     or further copying of the copies you make or distribute.  However,
32089     you may accept compensation in exchange for copies.  If you
32090     distribute a large enough number of copies you must also follow the
32091     conditions in section 3.
32092
32093     You may also lend copies, under the same conditions stated above,
32094     and you may publicly display copies.
32095
32096  3. COPYING IN QUANTITY
32097
32098     If you publish printed copies (or copies in media that commonly
32099     have printed covers) of the Document, numbering more than 100, and
32100     the Document's license notice requires Cover Texts, you must
32101     enclose the copies in covers that carry, clearly and legibly, all
32102     these Cover Texts: Front-Cover Texts on the front cover, and
32103     Back-Cover Texts on the back cover.  Both covers must also clearly
32104     and legibly identify you as the publisher of these copies.  The
32105     front cover must present the full title with all words of the title
32106     equally prominent and visible.  You may add other material on the
32107     covers in addition.  Copying with changes limited to the covers, as
32108     long as they preserve the title of the Document and satisfy these
32109     conditions, can be treated as verbatim copying in other respects.
32110
32111     If the required texts for either cover are too voluminous to fit
32112     legibly, you should put the first ones listed (as many as fit
32113     reasonably) on the actual cover, and continue the rest onto
32114     adjacent pages.
32115
32116     If you publish or distribute Opaque copies of the Document
32117     numbering more than 100, you must either include a machine-readable
32118     Transparent copy along with each Opaque copy, or state in or with
32119     each Opaque copy a computer-network location from which the general
32120     network-using public has access to download using public-standard
32121     network protocols a complete Transparent copy of the Document, free
32122     of added material.  If you use the latter option, you must take
32123     reasonably prudent steps, when you begin distribution of Opaque
32124     copies in quantity, to ensure that this Transparent copy will
32125     remain thus accessible at the stated location until at least one
32126     year after the last time you distribute an Opaque copy (directly or
32127     through your agents or retailers) of that edition to the public.
32128
32129     It is requested, but not required, that you contact the authors of
32130     the Document well before redistributing any large number of copies,
32131     to give them a chance to provide you with an updated version of the
32132     Document.
32133
32134  4. MODIFICATIONS
32135
32136     You may copy and distribute a Modified Version of the Document
32137     under the conditions of sections 2 and 3 above, provided that you
32138     release the Modified Version under precisely this License, with the
32139     Modified Version filling the role of the Document, thus licensing
32140     distribution and modification of the Modified Version to whoever
32141     possesses a copy of it.  In addition, you must do these things in
32142     the Modified Version:
32143
32144       A. Use in the Title Page (and on the covers, if any) a title
32145          distinct from that of the Document, and from those of previous
32146          versions (which should, if there were any, be listed in the
32147          History section of the Document).  You may use the same title
32148          as a previous version if the original publisher of that
32149          version gives permission.
32150
32151       B. List on the Title Page, as authors, one or more persons or
32152          entities responsible for authorship of the modifications in
32153          the Modified Version, together with at least five of the
32154          principal authors of the Document (all of its principal
32155          authors, if it has fewer than five), unless they release you
32156          from this requirement.
32157
32158       C. State on the Title page the name of the publisher of the
32159          Modified Version, as the publisher.
32160
32161       D. Preserve all the copyright notices of the Document.
32162
32163       E. Add an appropriate copyright notice for your modifications
32164          adjacent to the other copyright notices.
32165
32166       F. Include, immediately after the copyright notices, a license
32167          notice giving the public permission to use the Modified
32168          Version under the terms of this License, in the form shown in
32169          the Addendum below.
32170
32171       G. Preserve in that license notice the full lists of Invariant
32172          Sections and required Cover Texts given in the Document's
32173          license notice.
32174
32175       H. Include an unaltered copy of this License.
32176
32177       I. Preserve the section Entitled "History", Preserve its Title,
32178          and add to it an item stating at least the title, year, new
32179          authors, and publisher of the Modified Version as given on the
32180          Title Page.  If there is no section Entitled "History" in the
32181          Document, create one stating the title, year, authors, and
32182          publisher of the Document as given on its Title Page, then add
32183          an item describing the Modified Version as stated in the
32184          previous sentence.
32185
32186       J. Preserve the network location, if any, given in the Document
32187          for public access to a Transparent copy of the Document, and
32188          likewise the network locations given in the Document for
32189          previous versions it was based on.  These may be placed in the
32190          "History" section.  You may omit a network location for a work
32191          that was published at least four years before the Document
32192          itself, or if the original publisher of the version it refers
32193          to gives permission.
32194
32195       K. For any section Entitled "Acknowledgements" or "Dedications",
32196          Preserve the Title of the section, and preserve in the section
32197          all the substance and tone of each of the contributor
32198          acknowledgements and/or dedications given therein.
32199
32200       L. Preserve all the Invariant Sections of the Document, unaltered
32201          in their text and in their titles.  Section numbers or the
32202          equivalent are not considered part of the section titles.
32203
32204       M. Delete any section Entitled "Endorsements".  Such a section
32205          may not be included in the Modified Version.
32206
32207       N. Do not retitle any existing section to be Entitled
32208          "Endorsements" or to conflict in title with any Invariant
32209          Section.
32210
32211       O. Preserve any Warranty Disclaimers.
32212
32213     If the Modified Version includes new front-matter sections or
32214     appendices that qualify as Secondary Sections and contain no
32215     material copied from the Document, you may at your option designate
32216     some or all of these sections as invariant.  To do this, add their
32217     titles to the list of Invariant Sections in the Modified Version's
32218     license notice.  These titles must be distinct from any other
32219     section titles.
32220
32221     You may add a section Entitled "Endorsements", provided it contains
32222     nothing but endorsements of your Modified Version by various
32223     parties--for example, statements of peer review or that the text
32224     has been approved by an organization as the authoritative
32225     definition of a standard.
32226
32227     You may add a passage of up to five words as a Front-Cover Text,
32228     and a passage of up to 25 words as a Back-Cover Text, to the end of
32229     the list of Cover Texts in the Modified Version.  Only one passage
32230     of Front-Cover Text and one of Back-Cover Text may be added by (or
32231     through arrangements made by) any one entity.  If the Document
32232     already includes a cover text for the same cover, previously added
32233     by you or by arrangement made by the same entity you are acting on
32234     behalf of, you may not add another; but you may replace the old
32235     one, on explicit permission from the previous publisher that added
32236     the old one.
32237
32238     The author(s) and publisher(s) of the Document do not by this
32239     License give permission to use their names for publicity for or to
32240     assert or imply endorsement of any Modified Version.
32241
32242  5. COMBINING DOCUMENTS
32243
32244     You may combine the Document with other documents released under
32245     this License, under the terms defined in section 4 above for
32246     modified versions, provided that you include in the combination all
32247     of the Invariant Sections of all of the original documents,
32248     unmodified, and list them all as Invariant Sections of your
32249     combined work in its license notice, and that you preserve all
32250     their Warranty Disclaimers.
32251
32252     The combined work need only contain one copy of this License, and
32253     multiple identical Invariant Sections may be replaced with a single
32254     copy.  If there are multiple Invariant Sections with the same name
32255     but different contents, make the title of each such section unique
32256     by adding at the end of it, in parentheses, the name of the
32257     original author or publisher of that section if known, or else a
32258     unique number.  Make the same adjustment to the section titles in
32259     the list of Invariant Sections in the license notice of the
32260     combined work.
32261
32262     In the combination, you must combine any sections Entitled
32263     "History" in the various original documents, forming one section
32264     Entitled "History"; likewise combine any sections Entitled
32265     "Acknowledgements", and any sections Entitled "Dedications".  You
32266     must delete all sections Entitled "Endorsements."
32267
32268  6. COLLECTIONS OF DOCUMENTS
32269
32270     You may make a collection consisting of the Document and other
32271     documents released under this License, and replace the individual
32272     copies of this License in the various documents with a single copy
32273     that is included in the collection, provided that you follow the
32274     rules of this License for verbatim copying of each of the documents
32275     in all other respects.
32276
32277     You may extract a single document from such a collection, and
32278     distribute it individually under this License, provided you insert
32279     a copy of this License into the extracted document, and follow this
32280     License in all other respects regarding verbatim copying of that
32281     document.
32282
32283  7. AGGREGATION WITH INDEPENDENT WORKS
32284
32285     A compilation of the Document or its derivatives with other
32286     separate and independent documents or works, in or on a volume of a
32287     storage or distribution medium, is called an "aggregate" if the
32288     copyright resulting from the compilation is not used to limit the
32289     legal rights of the compilation's users beyond what the individual
32290     works permit.  When the Document is included in an aggregate, this
32291     License does not apply to the other works in the aggregate which
32292     are not themselves derivative works of the Document.
32293
32294     If the Cover Text requirement of section 3 is applicable to these
32295     copies of the Document, then if the Document is less than one half
32296     of the entire aggregate, the Document's Cover Texts may be placed
32297     on covers that bracket the Document within the aggregate, or the
32298     electronic equivalent of covers if the Document is in electronic
32299     form.  Otherwise they must appear on printed covers that bracket
32300     the whole aggregate.
32301
32302  8. TRANSLATION
32303
32304     Translation is considered a kind of modification, so you may
32305     distribute translations of the Document under the terms of section
32306     4.  Replacing Invariant Sections with translations requires special
32307     permission from their copyright holders, but you may include
32308     translations of some or all Invariant Sections in addition to the
32309     original versions of these Invariant Sections.  You may include a
32310     translation of this License, and all the license notices in the
32311     Document, and any Warranty Disclaimers, provided that you also
32312     include the original English version of this License and the
32313     original versions of those notices and disclaimers.  In case of a
32314     disagreement between the translation and the original version of
32315     this License or a notice or disclaimer, the original version will
32316     prevail.
32317
32318     If a section in the Document is Entitled "Acknowledgements",
32319     "Dedications", or "History", the requirement (section 4) to
32320     Preserve its Title (section 1) will typically require changing the
32321     actual title.
32322
32323  9. TERMINATION
32324
32325     You may not copy, modify, sublicense, or distribute the Document
32326     except as expressly provided under this License.  Any attempt
32327     otherwise to copy, modify, sublicense, or distribute it is void,
32328     and will automatically terminate your rights under this License.
32329
32330     However, if you cease all violation of this License, then your
32331     license from a particular copyright holder is reinstated (a)
32332     provisionally, unless and until the copyright holder explicitly and
32333     finally terminates your license, and (b) permanently, if the
32334     copyright holder fails to notify you of the violation by some
32335     reasonable means prior to 60 days after the cessation.
32336
32337     Moreover, your license from a particular copyright holder is
32338     reinstated permanently if the copyright holder notifies you of the
32339     violation by some reasonable means, this is the first time you have
32340     received notice of violation of this License (for any work) from
32341     that copyright holder, and you cure the violation prior to 30 days
32342     after your receipt of the notice.
32343
32344     Termination of your rights under this section does not terminate
32345     the licenses of parties who have received copies or rights from you
32346     under this License.  If your rights have been terminated and not
32347     permanently reinstated, receipt of a copy of some or all of the
32348     same material does not give you any rights to use it.
32349
32350  10. FUTURE REVISIONS OF THIS LICENSE
32351
32352     The Free Software Foundation may publish new, revised versions of
32353     the GNU Free Documentation License from time to time.  Such new
32354     versions will be similar in spirit to the present version, but may
32355     differ in detail to address new problems or concerns.  See
32356     <https://www.gnu.org/licenses/>.
32357
32358     Each version of the License is given a distinguishing version
32359     number.  If the Document specifies that a particular numbered
32360     version of this License "or any later version" applies to it, you
32361     have the option of following the terms and conditions either of
32362     that specified version or of any later version that has been
32363     published (not as a draft) by the Free Software Foundation.  If the
32364     Document does not specify a version number of this License, you may
32365     choose any version ever published (not as a draft) by the Free
32366     Software Foundation.  If the Document specifies that a proxy can
32367     decide which future versions of this License can be used, that
32368     proxy's public statement of acceptance of a version permanently
32369     authorizes you to choose that version for the Document.
32370
32371  11. RELICENSING
32372
32373     "Massive Multiauthor Collaboration Site" (or "MMC Site") means any
32374     World Wide Web server that publishes copyrightable works and also
32375     provides prominent facilities for anybody to edit those works.  A
32376     public wiki that anybody can edit is an example of such a server.
32377     A "Massive Multiauthor Collaboration" (or "MMC") contained in the
32378     site means any set of copyrightable works thus published on the MMC
32379     site.
32380
32381     "CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
32382     license published by Creative Commons Corporation, a not-for-profit
32383     corporation with a principal place of business in San Francisco,
32384     California, as well as future copyleft versions of that license
32385     published by that same organization.
32386
32387     "Incorporate" means to publish or republish a Document, in whole or
32388     in part, as part of another Document.
32389
32390     An MMC is "eligible for relicensing" if it is licensed under this
32391     License, and if all works that were first published under this
32392     License somewhere other than this MMC, and subsequently
32393     incorporated in whole or in part into the MMC, (1) had no cover
32394     texts or invariant sections, and (2) were thus incorporated prior
32395     to November 1, 2008.
32396
32397     The operator of an MMC Site may republish an MMC contained in the
32398     site under CC-BY-SA on the same site at any time before August 1,
32399     2009, provided the MMC is eligible for relicensing.
32400
32401ADDENDUM: How to use this License for your documents
32402====================================================
32403
32404To use this License in a document you have written, include a copy of
32405the License in the document and put the following copyright and license
32406notices just after the title page:
32407
32408       Copyright (C)  YEAR  YOUR NAME.
32409       Permission is granted to copy, distribute and/or modify this document
32410       under the terms of the GNU Free Documentation License, Version 1.3
32411       or any later version published by the Free Software Foundation;
32412       with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
32413       Texts.  A copy of the license is included in the section entitled ``GNU
32414       Free Documentation License''.
32415
32416If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
32417replace the "with...Texts." line with this:
32418
32419         with the Invariant Sections being LIST THEIR TITLES, with
32420         the Front-Cover Texts being LIST, and with the Back-Cover Texts
32421         being LIST.
32422
32423If you have Invariant Sections without Cover Texts, or some other
32424combination of the three, merge those two alternatives to suit the
32425situation.
32426
32427If your document contains nontrivial examples of program code, we
32428recommend releasing these examples in parallel under your choice of free
32429software license, such as the GNU General Public License, to permit
32430their use in free software.
32431
32432
32433
32434Tag Table:
32435Node: Top823
32436Node: Introduction1898
32437Node: Downloads3460
32438Node: How to contribute4502
32439Node: The Macros7600
32440Node: ax_absolute_header21111
32441Node: ax_ac_append_to_file22493
32442Node: ax_ac_print_to_file23529
32443Node: ax_add_am_macro24562
32444Node: ax_add_am_macro_static25579
32445Node: ax_add_am_trilinos_makefile_export26581
32446Node: ax_add_fortify_source27820
32447Node: ax_add_recursive_am_macro29257
32448Node: ax_add_recursive_am_macro_static30411
32449Node: ax_afs31611
32450Node: ax_am_jobserver33158
32451Node: ax_am_macros34656
32452Node: ax_am_macros_static35648
32453Node: ax_am_override_var36735
32454Node: ax_append_compile_flags41077
32455Node: ax_append_flag42795
32456Node: ax_append_link_flags44065
32457Node: ax_append_to_file45709
32458Node: ax_arg_with_path_style46630
32459Node: ax_asm_inline49662
32460Node: ax_at_check_pattern50752
32461Node: ax_auto_include_headers52432
32462Node: ax_berkeley_db54580
32463Node: ax_berkeley_db_cxx56185
32464Node: ax_blas57906
32465Node: ax_blas_f77_func61028
32466Node: ax_boost_asio63770
32467Node: ax_boost_base64915
32468Node: ax_boost_chrono66254
32469Node: ax_boost_context67359
32470Node: ax_boost_coroutine68584
32471Node: ax_boost_date_time69830
32472Node: ax_boost_filesystem71019
32473Node: ax_boost_iostreams72275
32474Node: ax_boost_locale73427
32475Node: ax_boost_log74533
32476Node: ax_boost_log_setup75718
32477Node: ax_boost_program_options76965
32478Node: ax_boost_python78176
32479Node: ax_boost_regex80783
32480Node: ax_boost_serialization81932
32481Node: ax_boost_signals83120
32482Node: ax_boost_system84289
32483Node: ax_boost_test_exec_monitor85513
32484Node: ax_boost_thread86796
32485Node: ax_boost_unit_test_framework87972
32486Node: ax_boost_wave89218
32487Node: ax_boost_wserialization90371
32488Node: ax_build_date_epoch91570
32489Node: ax_c99_inline94216
32490Node: ax_c___attribute__95246
32491Node: ax_c_arithmetic_rshift97457
32492Node: ax_c_compile_value98468
32493Node: ax_c_declare_block101884
32494Node: ax_c_float_words_bigendian104759
32495Node: ax_c_long_long106859
32496Node: ax_c_referenceable_passed_va_list107813
32497Node: ax_c_var_func110063
32498Node: ax_cache_size112516
32499Node: ax_caolan_check_package113608
32500Node: ax_caolan_search_package115412
32501Node: ax_cc_for_build117242
32502Node: ax_cc_maxopt119353
32503Node: ax_cf_ebcdic122087
32504Node: ax_cflags_aix_option124265
32505Node: ax_cflags_force_c89126392
32506Node: ax_cflags_hpux_option127915
32507Node: ax_cflags_irix_option130059
32508Node: ax_cflags_no_writable_strings132219
32509Node: ax_cflags_strict_prototypes133820
32510Node: ax_cflags_sun_option135500
32511Node: ax_cflags_warn_all137639
32512Node: ax_check_aligned_access_required140594
32513Node: ax_check_allocated_ctime142416
32514Node: ax_check_awk__v143377
32515Node: ax_check_awk__x_escapes144683
32516Node: ax_check_awk_and146005
32517Node: ax_check_awk_argind147288
32518Node: ax_check_awk_array_delete148592
32519Node: ax_check_awk_array_delete_elem149946
32520Node: ax_check_awk_array_in151340
32521Node: ax_check_awk_asort152663
32522Node: ax_check_awk_asorti153960
32523Node: ax_check_awk_associative_array155273
32524Node: ax_check_awk_atan2156652
32525Node: ax_check_awk_compl157957
32526Node: ax_check_awk_conditional_expression159267
32527Node: ax_check_awk_cos160706
32528Node: ax_check_awk_environ162002
32529Node: ax_check_awk_errno163307
32530Node: ax_check_awk_exit164599
32531Node: ax_check_awk_exp165873
32532Node: ax_check_awk_gensub167150
32533Node: ax_check_awk_getline168451
32534Node: ax_check_awk_gsub169758
32535Node: ax_check_awk_ignorecase171050
32536Node: ax_check_awk_index172380
32537Node: ax_check_awk_int173676
32538Node: ax_check_awk_length174954
32539Node: ax_check_awk_log176251
32540Node: ax_check_awk_lshift177530
32541Node: ax_check_awk_match_2parms178836
32542Node: ax_check_awk_match_3parms180215
32543Node: ax_check_awk_operator_multiply_multiply181619
32544Node: ax_check_awk_operator_square183077
32545Node: ax_check_awk_or184458
32546Node: ax_check_awk_printf185738
32547Node: ax_check_awk_rand187035
32548Node: ax_check_awk_rshift188322
32549Node: ax_check_awk_sin189620
32550Node: ax_check_awk_split190898
32551Node: ax_check_awk_sprintf192191
32552Node: ax_check_awk_sqrt193499
32553Node: ax_check_awk_srand194786
32554Node: ax_check_awk_strftime196081
32555Node: ax_check_awk_strtonum197401
32556Node: ax_check_awk_sub198719
32557Node: ax_check_awk_substr200000
32558Node: ax_check_awk_system201300
32559Node: ax_check_awk_systime202604
32560Node: ax_check_awk_tolower203916
32561Node: ax_check_awk_toupper205229
32562Node: ax_check_awk_user_defined_functions206557
32563Node: ax_check_awk_var_regexp207982
32564Node: ax_check_awk_variable_value_pairs209341
32565Node: ax_check_awk_xor210772
32566Node: ax_check_class212060
32567Node: ax_check_classpath214629
32568Node: ax_check_compile_flag217112
32569Node: ax_check_define218776
32570Node: ax_check_docbook_dtd219930
32571Node: ax_check_docbook_xslt222544
32572Node: ax_check_docbook_xslt_min225192
32573Node: ax_check_dos_filesys227677
32574Node: ax_check_enable_debug230157
32575Node: ax_check_func_in232324
32576Node: ax_check_gd233275
32577Node: ax_check_gir_symbols_gjs234887
32578Node: ax_check_girs_gjs236774
32579Node: ax_check_gl238600
32580Node: ax_check_glu242825
32581Node: ax_check_glut246900
32582Node: ax_check_glx250711
32583Node: ax_check_gnu_make253523
32584Node: ax_check_icu256616
32585Node: ax_check_java_home257532
32586Node: ax_check_java_plugin259762
32587Node: ax_check_junit262500
32588Node: ax_check_library264277
32589Node: ax_check_link_flag267297
32590Node: ax_check_mysql268889
32591Node: ax_check_mysql_db272064
32592Node: ax_check_mysqlr274387
32593Node: ax_check_off64_t275516
32594Node: ax_check_openssl276537
32595Node: ax_check_page_aligned_malloc277976
32596Node: ax_check_pathfind279893
32597Node: ax_check_pathname_style280901
32598Node: ax_check_pgsql_db283312
32599Node: ax_check_posix_regcomp286789
32600Node: ax_check_posix_sysinfo287833
32601Node: ax_check_postgres_db288817
32602Node: ax_check_preproc_flag290739
32603Node: ax_check_rqrd_class292400
32604Node: ax_check_sign295027
32605Node: ax_check_strcspn296685
32606Node: ax_check_strftime298107
32607Node: ax_check_struct_for299004
32608Node: ax_check_symbol299956
32609Node: ax_check_sys_siglist301007
32610Node: ax_check_typedef301909
32611Node: ax_check_uname_syscall303233
32612Node: ax_check_user304163
32613Node: ax_check_vscript306612
32614Node: ax_check_x86_features308705
32615Node: ax_check_zlib311928
32616Node: ax_code_coverage315101
32617Node: ax_compare_version318175
32618Node: ax_compile_check_sizeof321344
32619Node: ax_compiler_flags324913
32620Node: ax_compiler_flags_cflags330299
32621Node: ax_compiler_flags_cxxflags331704
32622Node: ax_compiler_flags_gir333066
32623Node: ax_compiler_flags_ldflags334444
32624Node: ax_compiler_vendor335850
32625Node: ax_compiler_version338183
32626Node: ax_compute_relative_paths339701
32627Node: ax_compute_standard_relative_paths342824
32628Node: ax_cond_with_level346576
32629Node: ax_config_feature348323
32630Node: ax_configure_args352425
32631Node: ax_count_cpus353973
32632Node: ax_cpu_freq355398
32633Node: ax_cpu_vendor356271
32634Node: ax_create_generic_config357232
32635Node: ax_create_pkgconfig_info359040
32636Node: ax_create_stdint_h361976
32637Node: ax_create_target_h364658
32638Node: ax_cvs368008
32639Node: ax_cxx_bool370669
32640Node: ax_cxx_compile_stdcxx371720
32641Node: ax_cxx_compile_stdcxx_0x373854
32642Node: ax_cxx_compile_stdcxx_11374955
32643Node: ax_cxx_compile_stdcxx_14376734
32644Node: ax_cxx_compile_stdcxx_17378211
32645Node: ax_cxx_complex_math_in_namespace_std379754
32646Node: ax_cxx_const_cast380888
32647Node: ax_cxx_cppflags_std_lang381859
32648Node: ax_cxx_cxxflags_std_lang383001
32649Node: ax_cxx_default_template_parameters384361
32650Node: ax_cxx_delete_method385467
32651Node: ax_cxx_dtor_after_atexit386915
32652Node: ax_cxx_dynamic_cast388616
32653Node: ax_cxx_enum_computations389593
32654Node: ax_cxx_enum_computations_with_cast390626
32655Node: ax_cxx_erase_iterator_type391741
32656Node: ax_cxx_exceptions392890
32657Node: ax_cxx_explicit393876
32658Node: ax_cxx_explicit_instantiations394916
32659Node: ax_cxx_explicit_template_function_qualification396006
32660Node: ax_cxx_extern_template397237
32661Node: ax_cxx_full_specialization_syntax398235
32662Node: ax_cxx_function_nontype_parameters399350
32663Node: ax_cxx_function_try_blocks400487
32664Node: ax_cxx_gcc_abi_demangle402649
32665Node: ax_cxx_gnucxx_hashmap403732
32666Node: ax_cxx_have_bad_function_call404691
32667Node: ax_cxx_have_bind405869
32668Node: ax_cxx_have_bit_and406928
32669Node: ax_cxx_have_bit_or408003
32670Node: ax_cxx_have_bit_xor409072
32671Node: ax_cxx_have_complex410150
32672Node: ax_cxx_have_complex_math1411109
32673Node: ax_cxx_have_complex_math2412188
32674Node: ax_cxx_have_cref413242
32675Node: ax_cxx_have_empty_iostream414304
32676Node: ax_cxx_have_ext_hash_map416462
32677Node: ax_cxx_have_ext_hash_set418855
32678Node: ax_cxx_have_ext_slist421177
32679Node: ax_cxx_have_freeze_sstream423470
32680Node: ax_cxx_have_function425992
32681Node: ax_cxx_have_hash427085
32682Node: ax_cxx_have_ieee_math428137
32683Node: ax_cxx_have_is_bind_expression429284
32684Node: ax_cxx_have_is_placeholder430482
32685Node: ax_cxx_have_koenig_lookup431648
32686Node: ax_cxx_have_long_long_for_iostream432686
32687Node: ax_cxx_have_mem_fn435292
32688Node: ax_cxx_have_numeric_limits436383
32689Node: ax_cxx_have_placeholders437403
32690Node: ax_cxx_have_ref438535
32691Node: ax_cxx_have_reference_wrapper439589
32692Node: ax_cxx_have_sstream440764
32693Node: ax_cxx_have_std441709
32694Node: ax_cxx_have_stl442708
32695Node: ax_cxx_have_string_push_back443658
32696Node: ax_cxx_have_system_v_math444706
32697Node: ax_cxx_have_valarray445818
32698Node: ax_cxx_have_vector_at446788
32699Node: ax_cxx_header_pre_stdcxx447783
32700Node: ax_cxx_header_stdcxx_0x448729
32701Node: ax_cxx_header_stdcxx_98449680
32702Node: ax_cxx_header_stdcxx_tr1450647
32703Node: ax_cxx_header_tr1_unordered_map451610
32704Node: ax_cxx_header_tr1_unordered_set452674
32705Node: ax_cxx_header_unordered_map453741
32706Node: ax_cxx_header_unordered_set454776
32707Node: ax_cxx_ldflags_std_lang455803
32708Node: ax_cxx_member_constants457136
32709Node: ax_cxx_member_templates458145
32710Node: ax_cxx_member_templates_outside_class459168
32711Node: ax_cxx_mutable460310
32712Node: ax_cxx_namespace_std461376
32713Node: ax_cxx_namespaces462343
32714Node: ax_cxx_new_for_scoping463393
32715Node: ax_cxx_old_for_scoping464483
32716Node: ax_cxx_partial_ordering465718
32717Node: ax_cxx_partial_specialization466732
32718Node: ax_cxx_reinterpret_cast467795
32719Node: ax_cxx_restrict_this468809
32720Node: ax_cxx_rtti470814
32721Node: ax_cxx_rvalue_references471774
32722Node: ax_cxx_static_cast472827
32723Node: ax_cxx_stlport_hashmap473793
32724Node: ax_cxx_template_keyword_qualifier474758
32725Node: ax_cxx_template_qualified_base_class475923
32726Node: ax_cxx_template_qualified_return_type477084
32727Node: ax_cxx_template_scoped_argument_matching478250
32728Node: ax_cxx_templates479458
32729Node: ax_cxx_templates_as_template_arguments480442
32730Node: ax_cxx_typename481571
32731Node: ax_cxx_use_numtrait482533
32732Node: ax_cxx_var_prettyfunc483509
32733Node: ax_cxx_verbose_terminate_handler486021
32734Node: ax_czmq487726
32735Node: ax_decl_wchar_max488936
32736Node: ax_define_integer_bits490022
32737Node: ax_define_sub_path491874
32738Node: ax_dirname494508
32739Node: ax_dist_msi495609
32740Node: ax_dist_rpm496681
32741Node: ax_dll_string498520
32742Node: ax_elisp499644
32743Node: ax_enable_builddir504181
32744Node: ax_execinfo507943
32745Node: ax_expand_prefix509392
32746Node: ax_ext511187
32747Node: ax_ext_check_header513166
32748Node: ax_ext_have_lib514509
32749Node: ax_extend_srcdir516179
32750Node: ax_extra_dist519195
32751Node: ax_f77_cmain_fflags520592
32752Node: ax_f90_header523444
32753Node: ax_f90_internal_headmod525256
32754Node: ax_f90_library526307
32755Node: ax_f90_library_setup528204
32756Node: ax_f90_module531082
32757Node: ax_f90_module_extension532933
32758Node: ax_f90_module_flag534034
32759Node: ax_fc_check_define535301
32760Node: ax_file_escapes536515
32761Node: ax_find_hamcrest537398
32762Node: ax_find_junit538452
32763Node: ax_find_scala_stdlib539481
32764Node: ax_forceinline540569
32765Node: ax_func_accept_argtypes541640
32766Node: ax_func_getopt_long544227
32767Node: ax_func_memmove546623
32768Node: ax_func_mkdir547605
32769Node: ax_func_posix_memalign550156
32770Node: ax_func_snprintf551300
32771Node: ax_func_which_gethostbyname_r552547
32772Node: ax_func_which_getservbyname_r555457
32773Node: ax_gcc_archflag558047
32774Node: ax_gcc_builtin561391
32775Node: ax_gcc_const_call564271
32776Node: ax_gcc_func_attribute565232
32777Node: ax_gcc_lib567583
32778Node: ax_gcc_libgcc_eh569831
32779Node: ax_gcc_libsupcxx571975
32780Node: ax_gcc_malloc_call574191
32781Node: ax_gcc_var_attribute575160
32782Node: ax_gcc_warn_unused_result577100
32783Node: ax_gcc_x86_avx_xgetbv578123
32784Node: ax_gcc_x86_cpu_supports580886
32785Node: ax_gcc_x86_cpuid583914
32786Node: ax_generate_changelog586871
32787Node: ax_gnu_autotest588920
32788Node: ax_have_adns600734
32789Node: ax_have_epoll601834
32790Node: ax_have_poll603857
32791Node: ax_have_qt605400
32792Node: ax_have_select607345
32793Node: ax_include_strcasecmp608892
32794Node: ax_install_files610020
32795Node: ax_is_release610965
32796Node: ax_java_check_class613201
32797Node: ax_java_options615858
32798Node: ax_jni_include_dir617175
32799Node: ax_lapack619018
32800Node: ax_lib_beecrypt622212
32801Node: ax_lib_cgal_core623573
32802Node: ax_lib_crypto624904
32803Node: ax_lib_curl626272
32804Node: ax_lib_ev627484
32805Node: ax_lib_expat628607
32806Node: ax_lib_firebird630214
32807Node: ax_lib_gcrypt631746
32808Node: ax_lib_gdal633221
32809Node: ax_lib_hdf5634593
32810Node: ax_lib_id3637886
32811Node: ax_lib_libkml639297
32812Node: ax_lib_metis640793
32813Node: ax_lib_mysql642484
32814Node: ax_lib_mysqlcppconn643998
32815Node: ax_lib_netcdf4645411
32816Node: ax_lib_nettle648631
32817Node: ax_lib_nokalva650022
32818Node: ax_lib_oracle_occi651512
32819Node: ax_lib_oracle_oci653350
32820Node: ax_lib_orbit2655168
32821Node: ax_lib_postgresql656350
32822Node: ax_lib_readline658291
32823Node: ax_lib_samtools660850
32824Node: ax_lib_socket_nsl664098
32825Node: ax_lib_sqlite3665442
32826Node: ax_lib_tabix666791
32827Node: ax_lib_taglib669984
32828Node: ax_lib_trace671218
32829Node: ax_lib_upnp672369
32830Node: ax_lib_wad673795
32831Node: ax_lib_xalan675927
32832Node: ax_lib_xerces677539
32833Node: ax_lib_xml_security679108
32834Node: ax_libgcj_jar680882
32835Node: ax_libtoolize_cflags682948
32836Node: ax_llvm683988
32837Node: ax_lua685013
32838Node: ax_luarocks_rock693647
32839Node: ax_maintainer_mode_auto_silent694879
32840Node: ax_missing_prog696311
32841Node: ax_mpi698781
32842Node: ax_mpip702033
32843Node: ax_need_awk704432
32844Node: ax_normalize_path705582
32845Node: ax_not_enable_frame_pointer709954
32846Node: ax_numeric_namedlevel711119
32847Node: ax_open62541_check_h713626
32848Node: ax_open62541_check_lib716282
32849Node: ax_open62541_path718343
32850Node: ax_openmp720932
32851Node: ax_patch_libtool_changing_cmds_ifs724117
32852Node: ax_path_bdb726957
32853Node: ax_path_generic730279
32854Node: ax_path_lib_pcre733156
32855Node: ax_path_milter734359
32856Node: ax_path_missing738156
32857Node: ax_perl_ext739655
32858Node: ax_perl_ext_flags742339
32859Node: ax_perl_module_version745004
32860Node: ax_pgsql_priv_root746386
32861Node: ax_pkg_check_modules750080
32862Node: ax_pkg_mico752487
32863Node: ax_pkg_swig754848
32864Node: ax_prefix_config_h757937
32865Node: ax_print_to_file762932
32866Node: ax_printf_size_t763837
32867Node: ax_prog_apache765626
32868Node: ax_prog_bison768743
32869Node: ax_prog_bison_version770945
32870Node: ax_prog_cc_char_subscripts772521
32871Node: ax_prog_cc_for_build773859
32872Node: ax_prog_cc_mpi775490
32873Node: ax_prog_cp_s779139
32874Node: ax_prog_crontab781024
32875Node: ax_prog_cxx_for_build783232
32876Node: ax_prog_cxx_mpi784726
32877Node: ax_prog_date788380
32878Node: ax_prog_dotnetcore_version791648
32879Node: ax_prog_doxygen793170
32880Node: ax_prog_emacs797498
32881Node: ax_prog_f77_mpi800153
32882Node: ax_prog_fasm803809
32883Node: ax_prog_fasm_opt806119
32884Node: ax_prog_fc_mpi808373
32885Node: ax_prog_fig2dev812023
32886Node: ax_prog_flex813162
32887Node: ax_prog_flex_version815357
32888Node: ax_prog_gjs816905
32889Node: ax_prog_guile_version818076
32890Node: ax_prog_haxe_version819693
32891Node: ax_prog_help2man821141
32892Node: ax_prog_hla826648
32893Node: ax_prog_hla_opt828946
32894Node: ax_prog_httpd831184
32895Node: ax_prog_jar834106
32896Node: ax_prog_java835668
32897Node: ax_prog_java_cc839553
32898Node: ax_prog_java_works842411
32899Node: ax_prog_javac844825
32900Node: ax_prog_javac_works847833
32901Node: ax_prog_javadoc850254
32902Node: ax_prog_javah851891
32903Node: ax_prog_masm852898
32904Node: ax_prog_masm_opt855206
32905Node: ax_prog_md5sum857459
32906Node: ax_prog_modprobe858531
32907Node: ax_prog_mysql859651
32908Node: ax_prog_mysqladmin862096
32909Node: ax_prog_mysqld864502
32910Node: ax_prog_mysqlimport866715
32911Node: ax_prog_mysqlshow868966
32912Node: ax_prog_nasm871338
32913Node: ax_prog_nasm_opt873650
32914Node: ax_prog_perl_modules875910
32915Node: ax_prog_perl_version877431
32916Node: ax_prog_pgclient879037
32917Node: ax_prog_python_version881590
32918Node: ax_prog_ruby_version883228
32919Node: ax_prog_scala884876
32920Node: ax_prog_scalac885942
32921Node: ax_prog_scp887013
32922Node: ax_prog_splint889181
32923Node: ax_prog_ssh890647
32924Node: ax_prog_tasm892813
32925Node: ax_prog_tasm_opt895119
32926Node: ax_prog_tcl897366
32927Node: ax_prog_xsltproc899824
32928Node: ax_prog_yasm902234
32929Node: ax_prog_yasm_opt904545
32930Node: ax_prototype906797
32931Node: ax_prototype_accept911120
32932Node: ax_prototype_getsockname913443
32933Node: ax_prototype_setsockopt915832
32934Node: ax_pthread918113
32935Node: ax_python922190
32936Node: ax_python_config_var924560
32937Node: ax_python_devel926744
32938Node: ax_python_embed930179
32939Node: ax_python_module935068
32940Node: ax_python_module_version936121
32941Node: ax_r_package937359
32942Node: ax_recursive_eval938332
32943Node: ax_require_defined940502
32944Node: ax_require_one_func941794
32945Node: ax_restore_flags943128
32946Node: ax_restore_flags_with_prefix944687
32947Node: ax_rpm_init947375
32948Node: ax_ruby_devel953418
32949Node: ax_ruby_ext956031
32950Node: ax_save_flags958646
32951Node: ax_save_flags_with_prefix960178
32952Node: ax_set_default_paths_system963101
32953Node: ax_short_sleep964490
32954Node: ax_silent_mode965639
32955Node: ax_sip_devel966743
32956Node: ax_spec_file968176
32957Node: ax_spec_package_version969420
32958Node: ax_split_version972255
32959Node: ax_string_strcasecmp973212
32960Node: ax_strings_strcasecmp974534
32961Node: ax_struct_semun975529
32962Node: ax_subdir_files976778
32963Node: ax_subdirs_configure977918
32964Node: ax_subst_with984082
32965Node: ax_swig_enable_cxx985664
32966Node: ax_swig_multi_module_support987887
32967Node: ax_swig_python990400
32968Node: ax_switch_flags993105
32969Node: ax_sys_dev_poll994666
32970Node: ax_sys_largefile_sensitive995909
32971Node: ax_sys_perlsharpbang997900
32972Node: ax_sys_weak_alias1000404
32973Node: ax_sysv_ipc1004884
32974Node: ax_tls1005845
32975Node: ax_trilinos_amesos1008108
32976Node: ax_trilinos_base1009282
32977Node: ax_trilinos_epetra1011199
32978Node: ax_trilinos_epetraext1012388
32979Node: ax_trilinos_epetraext_hdf51013608
32980Node: ax_trilinos_rtop1014745
32981Node: ax_trilinos_rythmos1015926
32982Node: ax_trilinos_teuchos1017121
32983Node: ax_trilinos_thyra1018317
32984Node: ax_trilinos_thyra_epetra1019504
32985Node: ax_trilinos_thyra_epetraext1020614
32986Node: ax_try_awk_anyout1021744
32987Node: ax_try_awk_expout1023151
32988Node: ax_try_compile_java1024613
32989Node: ax_try_run_java1026008
32990Node: ax_type_socklen_t1027383
32991Node: ax_upload1029531
32992Node: ax_valgrind_check1031079
32993Node: ax_var_pop1034067
32994Node: ax_var_push1036692
32995Node: ax_var_timezone_externals1039416
32996Node: ax_very_nice1041906
32997Node: ax_warning_default_aclocaldir1044413
32998Node: ax_warning_default_pkgconfig1046671
32999Node: ax_wint_t1048941
33000Node: ax_with_apxs1050190
33001Node: ax_with_build_path1051421
33002Node: ax_with_curses1052727
33003Node: ax_with_curses_extra1062152
33004Node: ax_with_dmalloc1068486
33005Node: ax_with_mpatrol1069792
33006Node: ax_with_prog1071161
33007Node: ax_xercesc1072689
33008Node: ax_xsdcxx1074757
33009Node: ax_xtra_classpath1075983
33010Node: ax_zmq1078250
33011Node: ax_zoneinfo1079425
33012Node: GNU Free Documentation License1080998
33013
33014End Tag Table
33015