Lines Matching +refs:with +refs:output +refs:to +refs:string
6 # gives unlimited permission to copy and/or distribute it,
7 # with or without modifications, as long as this notice is preserved.
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
19 You have another version of autoconf. It may work, but is not guaranteed to.
20 If you have problems, you may need to regenerate the build system entirely.
23 # pkg.m4 - Macros to locate and use pkg-config. -*- Autoconf -*-
40 dnl along with this program; if not, write to the Free Software
44 dnl As a special exception to the GNU General Public License, if you
63 dnl See the "Since" comment for each macro you use to see what version
75 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
84 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
85 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
107 dnl Check to see whether a particular set of modules exists. Similar to
113 dnl have to call PKG_CHECK_EXISTS manually
142 dnl Internal check to see if pkg-config supports short errors.
158 dnl Note that if there is a possibility the first call to
159 dnl PKG_CHECK_MODULES might not happen, you should be sure to include an
160 dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
173 and $1[]_LIBS to avoid the need to call pkg-config.
201 is in your PATH or set the PKG_CONFIG environment variable to the full
202 path to pkg-config.
222 dnl Checks for existence of MODULES and gathers its build flags with
226 dnl Note that if there is a possibility the first call to
227 dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to
228 dnl include an explicit call to PKG_PROG_PKG_CONFIG in your
246 dnl DIRECTORY. The user can override through the --with-pkgconfigdir
253 [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
269 dnl --with-noarch-pkgconfigdir parameter.
275 [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
304 dnl Prepare a "--with-" configure option using the lowercase
312 [m4_default([$5], [build with ]with_arg[ support])])
320 [m4_pushdef([with_without],[--with-]with_arg)])
342 dnl Convenience macro to trigger AM_CONDITIONAL after PKG_WITH_MODULES
356 dnl Convenience macro to run AM_CONDITIONAL and AC_DEFINE after
371 dnl Permission is hereby granted, free of charge, to any person obtaining a
373 dnl to deal in the Software without restriction, including without limitation
374 dnl the rights to use, copy, modify, merge, publish, distribute, sublicense,
375 dnl and/or sell copies of the Software, and to permit persons to whom the
376 dnl Software is furnished to do so, subject to the following conditions:
395 # your configure.ac with the minimum required version, such as:
403 # See the "minimum version" comment for each macro you use to see what
429 # Check for flag to avoid builtin definitions - assumes unix is predefined,
440 # under Cygwin unix is still defined even with -undef
443 AC_MSG_RESULT([yes, with -ansi])
445 AC_MSG_ERROR([${RAWCPP} defines unix with or without -undef. I don't know what to do.])
460 AC_MSG_ERROR([${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do.])
622 # with the AM_CONDITIONAL "BUILD_LINUXDOC"
629 AC_MSG_CHECKING([whether to build documentation])
641 AC_MSG_CHECKING([whether to build pdf documentation])
654 MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B latex --papersize=letter --output=ps"
668 # Checks for the ability to build output formats from SGML DocBook source.
685 AC_MSG_CHECKING([whether to build text documentation])
693 AC_MSG_CHECKING([whether to build PDF documentation])
701 AC_MSG_CHECKING([whether to build PostScript documentation])
709 AC_MSG_CHECKING([whether to build HTML documentation])
734 # not at the appropriate level. This macro enables a module to test for the
735 # presence of the tool and obtain it's path in separate variables. Coupled with
736 # the --with-xmlto option, it allows maximum flexibility in making decisions
737 # as whether or not to use the xmlto package. When DEFAULT is not specified,
738 # --with-xmlto assumes 'auto'.
740 # Interface to module:
741 # HAVE_XMLTO: used in makefiles to conditionally generate documentation
744 # --with-xmlto: 'yes' user instructs the module to use xmlto
745 # 'no' user instructs the module not to use xmlto
748 # HAVE_XMLTO_TEXT: used in makefiles to conditionally generate text documentation
749 # xmlto for text output requires either lynx, links, or w3m browsers
754 AC_ARG_VAR([XMLTO], [Path to xmlto command])
757 AS_HELP_STRING([--with-xmlto],
758 [Use xmlto to regenerate documentation (default: ]_defopt[)]),
773 AC_MSG_ERROR([--with-xmlto=yes specified but xmlto not found in PATH])
778 AC_MSG_WARN([ignoring XMLTO environment variable since --with-xmlto=no was specified])
782 AC_MSG_ERROR([--with-xmlto expects 'yes' or 'no'])
801 # Test for the ability of xmlto to generate a text target
806 # it fails try it again with a non-empty XML file.
813 [# Try it again with a non-empty XML file.
832 # The xsltproc command line tool is for applying XSLT stylesheets to XML documents.
833 # It is used under the cover by xmlto to generate html files from DocBook/XML.
835 # It should not be assumed that this tool is used only to work with documnetation.
836 # When DEFAULT is not specified, --with-xsltproc assumes 'auto'.
838 # Interface to module:
839 # HAVE_XSLTPROC: used in makefiles to conditionally generate documentation
842 # --with-xsltproc: 'yes' user instructs the module to use xsltproc
843 # 'no' user instructs the module not to use xsltproc
849 AC_ARG_VAR([XSLTPROC], [Path to xsltproc command])
854 AS_HELP_STRING([--with-xsltproc],
870 AC_MSG_ERROR([--with-xsltproc=yes specified but xsltproc not found in PATH])
875 AC_MSG_WARN([ignoring XSLTPROC environment variable since --with-xsltproc=no was specified])
879 AC_MSG_ERROR([--with-xsltproc expects 'yes' or 'no'])
893 # When DEFAULT is not specified, --with-perl assumes 'auto'.
895 # Interface to module:
896 # HAVE_PERL: used in makefiles to conditionally scan text files
899 # --with-perl: 'yes' user instructs the module to use perl
900 # 'no' user instructs the module not to use perl
906 AC_ARG_VAR([PERL], [Path to perl command])
911 AS_HELP_STRING([--with-perl],
927 AC_MSG_ERROR([--with-perl=yes specified but perl not found in PATH])
932 AC_MSG_WARN([ignoring PERL environment variable since --with-perl=no was specified])
936 AC_MSG_ERROR([--with-perl expects 'yes' or 'no'])
948 # not at the appropriate level. This macro enables a module to test for the
949 # presence of the tool and obtain it's path in separate variables. Coupled with
950 # the --with-asciidoc option, it allows maximum flexibility in making decisions
951 # as whether or not to use the asciidoc package. When DEFAULT is not specified,
952 # --with-asciidoc assumes 'auto'.
954 # Interface to module:
955 # HAVE_ASCIIDOC: used in makefiles to conditionally generate documentation
958 # --with-asciidoc: 'yes' user instructs the module to use asciidoc
959 # 'no' user instructs the module not to use asciidoc
964 AC_ARG_VAR([ASCIIDOC], [Path to asciidoc command])
967 AS_HELP_STRING([--with-asciidoc],
968 [Use asciidoc to regenerate documentation (default: ]_defopt[)]),
983 AC_MSG_ERROR([--with-asciidoc=yes specified but asciidoc not found in PATH])
988 AC_MSG_WARN([ignoring ASCIIDOC environment variable since --with-asciidoc=no was specified])
992 AC_MSG_ERROR([--with-asciidoc expects 'yes' or 'no'])
1018 # not at the appropriate level. This macro enables a module to test for the
1019 # presence of the tool and obtain it's path in separate variables. Coupled with
1020 # the --with-doxygen option, it allows maximum flexibility in making decisions
1021 # as whether or not to use the doxygen package. When DEFAULT is not specified,
1022 # --with-doxygen assumes 'auto'.
1024 # Interface to module:
1025 # HAVE_DOXYGEN: used in makefiles to conditionally generate documentation
1028 # --with-doxygen: 'yes' user instructs the module to use doxygen
1029 # 'no' user instructs the module not to use doxygen
1034 AC_ARG_VAR([DOXYGEN], [Path to doxygen command])
1035 AC_ARG_VAR([DOT], [Path to the dot graphics utility])
1038 AS_HELP_STRING([--with-doxygen],
1039 [Use doxygen to regenerate documentation (default: ]_defopt[)]),
1054 AC_MSG_ERROR([--with-doxygen=yes specified but doxygen not found in PATH])
1059 AC_MSG_WARN([ignoring DOXYGEN environment variable since --with-doxygen=no was specified])
1063 AC_MSG_ERROR([--with-doxygen expects 'yes' or 'no'])
1102 # not at the appropriate level. This macro enables a module to test for the
1103 # presence of the tool and obtain it's path in separate variables. Coupled with
1104 # the --with-groff option, it allows maximum flexibility in making decisions
1105 # as whether or not to use the groff package. When DEFAULT is not specified,
1106 # --with-groff assumes 'auto'.
1108 # Interface to module:
1109 # HAVE_GROFF: used in makefiles to conditionally generate documentation
1114 # --with-groff: 'yes' user instructs the module to use groff
1115 # 'no' user instructs the module not to use groff
1118 # HAVE_GROFF_HTML: groff has dependencies to output HTML format:
1121 # the ghostcript package. Refer to the grohtml man pages
1134 AC_ARG_VAR([GROFF], [Path to groff command])
1137 AS_HELP_STRING([--with-groff],
1138 [Use groff to regenerate documentation (default: ]_defopt[)]),
1153 AC_MSG_ERROR([--with-groff=yes specified but groff not found in PATH])
1158 AC_MSG_WARN([ignoring GROFF environment variable since --with-groff=no was specified])
1162 AC_MSG_ERROR([--with-groff expects 'yes' or 'no'])
1192 AC_MSG_WARN([grohtml dependencies not found - HTML Documentation skipped. Refer to grohtml man pages])
1210 # not at the appropriate level. This macro enables a module to test for the
1211 # presence of the tool and obtain it's path in separate variables. Coupled with
1212 # the --with-fop option, it allows maximum flexibility in making decisions
1213 # as whether or not to use the fop package. When DEFAULT is not specified,
1214 # --with-fop assumes 'auto'.
1216 # Interface to module:
1217 # HAVE_FOP: used in makefiles to conditionally generate documentation
1220 # --with-fop: 'yes' user instructs the module to use fop
1221 # 'no' user instructs the module not to use fop
1226 AC_ARG_VAR([FOP], [Path to fop command])
1229 AS_HELP_STRING([--with-fop],
1230 [Use fop to regenerate documentation (default: ]_defopt[)]),
1245 AC_MSG_ERROR([--with-fop=yes specified but fop not found in PATH])
1250 AC_MSG_WARN([ignoring FOP environment variable since --with-fop=no was specified])
1254 AC_MSG_ERROR([--with-fop expects 'yes' or 'no'])
1279 # This macro attempts to locate an m4 macro processor which supports
1280 # -I option and is only useful for modules relying on M4 in order to
1283 # Interface to module:
1304 # not at the appropriate level. This macro enables a module to test for the
1305 # presence of the tool and obtain it's path in separate variables. Coupled with
1306 # the --with-ps2pdf option, it allows maximum flexibility in making decisions
1307 # as whether or not to use the ps2pdf package. When DEFAULT is not specified,
1308 # --with-ps2pdf assumes 'auto'.
1310 # Interface to module:
1311 # HAVE_PS2PDF: used in makefiles to conditionally generate documentation
1314 # --with-ps2pdf: 'yes' user instructs the module to use ps2pdf
1315 # 'no' user instructs the module not to use ps2pdf
1320 AC_ARG_VAR([PS2PDF], [Path to ps2pdf command])
1323 AS_HELP_STRING([--with-ps2pdf],
1324 [Use ps2pdf to regenerate documentation (default: ]_defopt[)]),
1339 AC_MSG_ERROR([--with-ps2pdf=yes specified but ps2pdf not found in PATH])
1344 AC_MSG_WARN([ignoring PS2PDF environment variable since --with-ps2pdf=no was specified])
1348 AC_MSG_ERROR([--with-ps2pdf expects 'yes' or 'no'])
1358 # not at the appropriate level. This macro enables a builder to skip all
1360 # Combined with the specific tool checking macros XORG_WITH_*, it provides
1362 # Refer to:
1363 # XORG_WITH_XMLTO --with-xmlto
1364 # XORG_WITH_ASCIIDOC --with-asciidoc
1365 # XORG_WITH_DOXYGEN --with-doxygen
1366 # XORG_WITH_FOP --with-fop
1367 # XORG_WITH_GROFF --with-groff
1368 # XORG_WITH_PS2PDF --with-ps2pdf
1370 # Interface to module:
1371 # ENABLE_DOCS: used in makefiles to conditionally generate documentation
1372 # --enable-docs: 'yes' user instructs the module to generate docs
1373 # 'no' user instructs the module not to generate docs
1384 AC_MSG_CHECKING([whether to build documentation])
1392 # This macro enables a builder to skip all developer documentation.
1393 # Combined with the specific tool checking macros XORG_WITH_*, it provides
1395 # Refer to:
1396 # XORG_WITH_XMLTO --with-xmlto
1397 # XORG_WITH_ASCIIDOC --with-asciidoc
1398 # XORG_WITH_DOXYGEN --with-doxygen
1399 # XORG_WITH_FOP --with-fop
1400 # XORG_WITH_GROFF --with-groff
1401 # XORG_WITH_PS2PDF --with-ps2pdf
1403 # Interface to module:
1404 # ENABLE_DEVEL_DOCS: used in makefiles to conditionally generate developer docs
1405 # --enable-devel-docs: 'yes' user instructs the module to generate developer docs
1406 # 'no' user instructs the module not to generate developer docs
1417 AC_MSG_CHECKING([whether to build developer documentation])
1425 # This macro enables a builder to skip all functional specification targets.
1426 # Combined with the specific tool checking macros XORG_WITH_*, it provides
1428 # Refer to:
1429 # XORG_WITH_XMLTO --with-xmlto
1430 # XORG_WITH_ASCIIDOC --with-asciidoc
1431 # XORG_WITH_DOXYGEN --with-doxygen
1432 # XORG_WITH_FOP --with-fop
1433 # XORG_WITH_GROFF --with-groff
1434 # XORG_WITH_PS2PDF --with-ps2pdf
1436 # Interface to module:
1437 # ENABLE_SPECS: used in makefiles to conditionally generate specs
1438 # --enable-specs: 'yes' user instructs the module to generate specs
1439 # 'no' user instructs the module not to generate specs
1450 AC_MSG_CHECKING([whether to build functional specifications])
1458 # This macro enables a builder to enable/disable unit testing
1463 # When used in conjunction with XORG_WITH_GLIB, use both AM_CONDITIONAL
1467 # Interface to module:
1468 # ENABLE_UNIT_TESTS: used in makefiles to conditionally build tests
1470 # --enable-unit-tests: 'yes' user instructs the module to build tests
1471 # 'no' user instructs the module not to build tests
1484 AC_MSG_CHECKING([whether to build unit test cases])
1492 # This macro enables a builder to enable/disable integration testing
1500 # Interface to module:
1501 # ENABLE_INTEGRATION_TESTS: used in makefiles to conditionally build tests
1503 # --enable-integration-tests: 'yes' user instructs the module to build tests
1504 # 'no' user instructs the module not to build tests
1517 AC_MSG_CHECKING([whether to build unit test cases])
1526 # This macro enables a module to test for the presence of Glib.
1528 # When used with ENABLE_UNIT_TESTS, it is assumed GLib is used for unit testing.
1535 # Interface to module:
1536 # HAVE_GLIB: used in makefiles to conditionally build targets
1537 # with_glib: used in configure.ac to know if GLib has been found
1538 # --with-glib: 'yes' user instructs the module to use glib
1539 # 'no' user instructs the module not to use glib
1544 AC_ARG_WITH(glib, AS_HELP_STRING([--with-glib],
1579 AC_MSG_ERROR([--with-glib=yes specified but glib-2.0 not found])
1592 # When used with ENABLE_UNIT_TESTS, it is assumed -wrap is used for unit testing.
1595 # Argument added in 1.16.0 - default is "required", to match existing behavior
1623 # Check whether the given linker FLAGS work with the current language's
1626 # ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
1629 # PROGRAM-SOURCE is the program source to link with, if needed
1650 # with this program. If not, see <http://www.gnu.org/licenses/>.
1653 # gives unlimited permission to copy, distribute and modify the configure
1654 # scripts that are the output of Autoconf when processing the Macro. You
1660 # This special exception to the GPL applies to versions of the Autoconf
1663 # exception to the GPL to apply to your modified version as well.#
1694 # This macro attempts to find appropriate memory checking functionality
1695 # for various platforms which unit testing code may use to catch various
1698 # Interface to module:
1699 # XORG_MALLOC_DEBUG_ENV - environment variables to set to enable debugging
1700 # Usually added to TESTS_ENVIRONMENT in Makefile.am
1708 [Environment variables to enable memory checking in tests])
1741 # malloc(0) returns NULL. Packages should add one of these cflags to
1742 # their AM_CFLAGS (or other appropriate *_CFLAGS) to use them.
1789 # non-portable constructs (likely to be bugs) in C language source code.
1790 # It will attempt to locate the tool and use appropriate options.
1793 # Interface to module:
1794 # LINT: returns the path to the tool found on the platform
1795 # or the value set to LINT on the configure cmd line
1797 # LINT_FLAGS: an Automake variable with appropriate flags
1799 # --with-lint: 'yes' user instructs the module to use lint
1800 # 'no' user instructs the module not to use lint (default)
1807 AC_ARG_VAR([LINT], [Path to a lint-style command])
1809 AC_ARG_WITH(lint, [AS_HELP_STRING([--with-lint],
1834 AC_MSG_ERROR([--with-lint=yes specified but lint-style tool not found in PATH])
1838 AC_MSG_WARN([ignoring LINT environment variable since --with-lint=no was specified])
1841 AC_MSG_ERROR([--with-lint expects 'yes' or 'no'. Use LINT variable to specify path.])
1861 # Interface to module:
1862 # LINTLIB - Automake variable with the name of lint library file to make
1865 # --enable-lint-library: - 'yes' user instructs the module to created a lint library
1866 # - 'no' user instructs the module not to create a lint library (default)
1877 AC_MSG_ERROR([Cannot make lint library without --with-lint])
1893 # GNU gcc - relies on AC_PROG_CC (via AC_PROG_CC_C99) to set GCC to "yes"
1894 # GNU g++ - relies on AC_PROG_CXX to set GXX to "yes"
1895 # clang compiler - sets CLANGCC to "yes"
1896 # Intel compiler - sets INTELCC to "yes"
1897 # Sun/Oracle Solaris Studio cc - sets SUNCC to "yes"
1922 # If it succeeds, the flag is appended to the given variable. If not, it tries the
1927 # attempt to weed out false positives by using -Werror=unknown-warning-option and
1931 m4_if([$#], 0, [m4_fatal([XORG_TESTSET_CFLAG was given with an unsupported number of arguments])])
1932 m4_if([$#], 1, [m4_fatal([XORG_TESTSET_CFLAG was given with an unsupported number of arguments])])
2018 # Defines BASE_CFLAGS or BASE_CXXFLAGS to contain a set of command line
2020 # code. These arguments will cause the compiler to print various warnings
2024 # future versions of util-macros as options are added to new compilers.
2043 # -v is too short to test reliably with XORG_TESTSET_CFLAG
2077 # in the future once the codebase is sufficiently modernized to silence
2078 # them. For now, I don't want them to drown out the other warnings.
2098 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=int-to-pointer-cast], [-errwarn=E_BAD_PTR_INT_COMBINATION])
2099 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=pointer-to-int-cast]) # Also -errwarn=E_BAD_PTR_INT_COMBINATION
2101 AC_MSG_WARN([You have chosen not to turn some select compiler warnings into errors. This should not be necessary. Please report why you needed to do so in a bug report at $PACKAGE_BUGREPORT])
2113 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wint-to-pointer-cast])
2114 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wpointer-to-int-cast])
2125 # Defines CWARNFLAGS to enable C compiler warnings.
2130 # it is updated to use BASE_CFLAGS.
2150 # Add configure option to enable strict compilation flags, such as treating
2152 # If --enable-strict-compilation is passed to configure, adds strict flags to
2180 # activate it with -Werror, so we add it here explicitly.
2227 # Defines the variable INSTALL_CMD as the command to copy
2237 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
2242 dnl Permission to use, copy, modify, distribute, and sell this software and its
2260 dnl not be used in advertising or otherwise to promote the sale, use or
2267 # Defines PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} for modules to use.
2293 # Defines the variable CHANGELOG_CMD as the command to generate
2302 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
2309 # gives unlimited permission to copy and/or distribute it,
2310 # with or without modifications, as long as this notice is preserved.
2314 # Automake X.Y traces this macro to ensure aclocal.m4 has been
2319 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
2320 dnl require some minimum version. Point them to the right macro.
2327 # aclocal traces this macro to find the Autoconf version.
2347 # gives unlimited permission to copy and/or distribute it,
2348 # with or without modifications, as long as this notice is preserved.
2351 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
2360 # relative path needs to be adjusted first.
2366 # fails when called from a subdirectory in a VPATH build with
2374 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
2384 # Another solution, used here, is to always expand $ac_aux_dir to an
2386 # configured tree to be moved without reconfiguration.
2390 # Expand $ac_aux_dir to an absolute path.
2399 # gives unlimited permission to copy and/or distribute it,
2400 # with or without modifications, as long as this notice is preserved.
2430 # gives unlimited permission to copy and/or distribute it,
2431 # with or without modifications, as long as this notice is preserved.
2434 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
2445 # We try a few techniques and use that to set a single cache variable.
2448 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
2449 # dependency, and given that the user is not expected to run this macro,
2471 # making a dummy file named 'D' -- because '-MD' means "put the output
2475 # Copy depcomp to subdir because otherwise we won't find it if we're
2480 # it helps to detect inapplicable dependency modes. For instance
2481 # both Tru64's cc and ICC support -MD to output dependencies as a
2502 # Setup a source with many dependencies, because some compilers
2503 # like to wrap large dependency lists on column 80 (with \), and
2506 # We need to recreate these files for each test, as the compiler may
2507 # overwrite some of them when testing with obscure command lines.
2508 # This happens at least with the AIX C compiler.
2512 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
2518 # We check with '-c' and '-o' for the sake of the "dashmstdout"
2520 # handle '-M -o', and we need to detect this. Also, some Intel
2521 # versions had trouble with output in subdirs.
2557 # or remarks (even with -Werror). So we grep stderr for any message
2616 # Generate code to set up dependency tracking. -*- Autoconf -*-
2621 # gives unlimited permission to copy and/or distribute it,
2622 # with or without modifications, as long as this notice is preserved.
2637 # Used to flag and report bootstrapping failures.
2641 # Strip MF so we end up with the name of the file.
2658 re-running the configure script with MAKE="gmake" (or whatever is
2659 necessary). You can also try re-running configure with the
2660 '--disable-dependency-tracking' option to at least be able to build
2678 # order to bootstrap the dependency handling code.
2689 # gives unlimited permission to copy and/or distribute it,
2690 # with or without modifications, as long as this notice is preserved.
2695 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
2704 # The call with PACKAGE and VERSION arguments is the old style
2706 # and VERSION should now be passed to AC_INIT and removed from
2707 # the call to AM_INIT_AUTOMAKE.
2718 dnl Autoconf wants to disallow AM_ names. We explicitly allow
2724 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2725 # is not polluted with repeated "-I."
2727 # test to see if srcdir already configured
2752 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
2756 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
2821 dnl The testsuite driver may need to know about EXEEXT, so add the
2828 # POSIX will say in a future version that running "rm -f" with no argument
2829 # is OK; and we want to be able to make that assumption in our Makefile
2830 # recipes. So use an aggressive probe to check that the usage we want is
2831 # actually supported "in the wild" to an acceptable degree.
2833 # To make any issue more visible, cause the running configure to be aborted
2840 Your 'rm' program seems unable to run without file operands specified
2842 to the behaviour of most rm programs out there, and not conforming with
2846 of your $PATH and any error possibly output before this message. This
2852 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2856 Aborting the configuration process, to ensure you take notice of the issue.
2858 You can download and install GNU coreutils to get an 'rm' implementation
2861 If you want to complete the configuration process using your problematic
2863 to "yes", and re-run configure.
2870 dnl backward compatibility and to allow trailing 'dnl'-style comments
2874 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
2882 # that is generated. The stamp files are numbered to have different names.
2904 # gives unlimited permission to copy and/or distribute it,
2905 # with or without modifications, as long as this notice is preserved.
2925 # gives unlimited permission to copy and/or distribute it,
2926 # with or without modifications, as long as this notice is preserved.
2929 # with a leading dot. For instance MS-DOS doesn't.
2941 # Check to see how 'make' treats includes. -*- Autoconf -*-
2946 # gives unlimited permission to copy and/or distribute it,
2947 # with or without modifications, as long as this notice is preserved.
2989 # gives unlimited permission to copy and/or distribute it,
2990 # with or without modifications, as long as this notice is preserved.
3002 # If it is, set am_missing_run to use it, otherwise, to nothing.
3009 # Use eval to expand $SHELL
3023 # gives unlimited permission to copy and/or distribute it,
3024 # with or without modifications, as long as this notice is preserved.
3052 # gives unlimited permission to copy and/or distribute it,
3053 # with or without modifications, as long as this notice is preserved.
3058 # to automatically call this.
3067 # Make sure it works both with $CC and with simple cc.
3069 # compilers refuse to overwrite an existing .o file with -o,
3084 # Losing compiler, so override with the script.
3085 # FIXME: It is wrong to rewrite CC.
3087 # A longer-term fix would be to have automake use am__CC in this case,
3099 # gives unlimited permission to copy and/or distribute it,
3100 # with or without modifications, as long as this notice is preserved.
3106 # install modules, copy them to $(pythondir), using the python_PYTHON
3107 # automake variable. To install a package with the same name as the
3108 # automake package, install to $(pkgpythondir), or use the
3112 # locations to install python extension modules (shared libraries).
3113 # Another macro is required to find the appropriate flags to compile
3116 # If your package is configured with a different prefix to python,
3117 # users will have to add the install directory to the PYTHONPATH
3127 dnl Find a Python interpreter. Python versions prior to 2.0 are not
3158 AC_CACHE_CHECK([for a Python interpreter with version >= $1],
3164 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
3180 dnl sys.version[:3], printing that failed with Python 3.10, since the
3181 dnl trailing zero was eliminated. So now we output just the major
3190 dnl to know which OS platform Python thinks this is.
3197 dnl If --with-python-sys-prefix is given, use the values of sys.prefix
3215 # Allow user to request using sys.* values from Python,
3218 [AS_HELP_STRING([--with-python-sys-prefix],
3223 # Allow user to override whatever the default Python prefix is.
3225 [AS_HELP_STRING([--with-python_prefix],
3239 dnl $prefix with a variable reference so it can be overridden.
3258 # emacs-page Now do it all over again for Python exec_prefix, but with yet
3259 # another conditional: fall back to regular prefix if that was specified.
3261 [AS_HELP_STRING([--with-python_exec_prefix],
3268 # no explicit --with-python_exec_prefix, but if
3269 # --with-python_prefix was given, use its value for python_exec_prefix too.
3289 dnl literal value of $exec_prefix with a variable reference so it can
3313 # with python 3.x. See automake bug#10227.
3331 dnl 1. pythondir: where to install python scripts. This is the
3334 dnl is more consistent with lispdir.m4 for example.
3371 dnl more consistent with the rest of automake.
3425 # This test uses sys.hexversion instead of the string equivalent (first
3426 # word of sys.version), in order to cope with versions such as 2.2c1.
3430 # split strings by '.' and convert to numeric. Append some zeros
3443 # gives unlimited permission to copy and/or distribute it,
3444 # with or without modifications, as long as this notice is preserved.
3457 # Check to make sure that the build environment is sane. -*- Autoconf -*-
3462 # gives unlimited permission to copy and/or distribute it,
3463 # with or without modifications, as long as this notice is preserved.
3484 # symlink; some systems play weird games with the mod time of symlinks
3503 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
3523 # If we didn't sleep, we still need to ensure time stamps of config.status and
3543 # gives unlimited permission to copy and/or distribute it,
3544 # with or without modifications, as long as this notice is preserved.
3548 # Enable less verbose build rules; with the default set to DEFAULT
3554 [less verbose build output (undo: "make V=1")])
3557 [verbose build output (undo: "make V=0")])dnl
3603 # gives unlimited permission to copy and/or distribute it,
3604 # with or without modifications, as long as this notice is preserved.
3608 # One issue with vendor 'install' (even GNU) is that you can't
3609 # specify the program used to strip binaries. This is especially
3611 # is unlikely to handle the host's binaries.
3614 # STRIPPROG with the value of the STRIP variable (set by the user).
3619 # tool to use in cross-compilation environments, therefore Automake
3620 # will honor the 'STRIP' environment variable to overrule this program.
3631 # gives unlimited permission to copy and/or distribute it,
3632 # with or without modifications, as long as this notice is preserved.
3645 # Check how to create a tarball. -*- Autoconf -*-
3650 # gives unlimited permission to copy and/or distribute it,
3651 # with or without modifications, as long as this notice is preserved.
3655 # Check how to create a tarball in format FORMAT.
3659 # writing to stdout a FORMAT-tarball containing the directory
3669 # in the wild :-( We should find a proper way to deprecate it ...
3672 # We'll loop over all known methods to create a tar archive until one works.
3680 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
3686 # The $UID and $GID variables are not portable, so we need to resort
3687 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
3688 # below are definitely unexpected, so allow the users to see them
3712 AC_MSG_CHECKING([how to create a $1 tar archive])
3715 # need to set the values for the 'am__tar' and 'am__untar' variables.
3753 # If the value was cached, stop now. We just wanted to have am__tar