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.
26 # gives unlimited permission to copy and/or distribute it,
27 # with or without modifications, as long as this notice is preserved.
31 # Automake X.Y traces this macro to ensure aclocal.m4 has been
36 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
37 dnl require some minimum version. Point them to the right macro.
44 # aclocal traces this macro to find the Autoconf version.
64 # gives unlimited permission to copy and/or distribute it,
65 # with or without modifications, as long as this notice is preserved.
68 # $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
77 # relative path needs to be adjusted first.
83 # fails when called from a subdirectory in a VPATH build with
91 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
101 # Another solution, used here, is to always expand $ac_aux_dir to an
103 # configured tree to be moved without reconfiguration.
107 # Expand $ac_aux_dir to an absolute path.
116 # gives unlimited permission to copy and/or distribute it,
117 # with or without modifications, as long as this notice is preserved.
147 # gives unlimited permission to copy and/or distribute it,
148 # with or without modifications, as long as this notice is preserved.
151 # There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
162 # We try a few techniques and use that to set a single cache variable.
165 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
166 # dependency, and given that the user is not expected to run this macro,
188 # making a dummy file named 'D' -- because '-MD' means "put the output
192 # Copy depcomp to subdir because otherwise we won't find it if we're
197 # it helps to detect inapplicable dependency modes. For instance
198 # both Tru64's cc and ICC support -MD to output dependencies as a
219 # Setup a source with many dependencies, because some compilers
220 # like to wrap large dependency lists on column 80 (with \), and
223 # We need to recreate these files for each test, as the compiler may
224 # overwrite some of them when testing with obscure command lines.
225 # This happens at least with the AIX C compiler.
229 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
235 # We check with '-c' and '-o' for the sake of the "dashmstdout"
237 # handle '-M -o', and we need to detect this. Also, some Intel
238 # versions had trouble with output in subdirs.
274 # or remarks (even with -Werror). So we grep stderr for any message
333 # Generate code to set up dependency tracking. -*- Autoconf -*-
338 # gives unlimited permission to copy and/or distribute it,
339 # with or without modifications, as long as this notice is preserved.
354 # Used to flag and report bootstrapping failures.
358 # Strip MF so we end up with the name of the file.
375 re-running the configure script with MAKE="gmake" (or whatever is
376 necessary). You can also try re-running configure with the
377 '--disable-dependency-tracking' option to at least be able to build
395 # order to bootstrap the dependency handling code.
406 # gives unlimited permission to copy and/or distribute it,
407 # with or without modifications, as long as this notice is preserved.
412 dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
421 # The call with PACKAGE and VERSION arguments is the old style
423 # and VERSION should now be passed to AC_INIT and removed from
424 # the call to AM_INIT_AUTOMAKE.
435 dnl Autoconf wants to disallow AM_ names. We explicitly allow
441 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
442 # is not polluted with repeated "-I."
444 # test to see if srcdir already configured
469 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
473 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
538 dnl The testsuite driver may need to know about EXEEXT, so add the
545 # POSIX will say in a future version that running "rm -f" with no argument
546 # is OK; and we want to be able to make that assumption in our Makefile
547 # recipes. So use an aggressive probe to check that the usage we want is
548 # actually supported "in the wild" to an acceptable degree.
550 # To make any issue more visible, cause the running configure to be aborted
557 Your 'rm' program seems unable to run without file operands specified
559 to the behaviour of most rm programs out there, and not conforming with
563 of your $PATH and any error possibly output before this message. This
569 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
573 Aborting the configuration process, to ensure you take notice of the issue.
575 You can download and install GNU coreutils to get an 'rm' implementation
578 If you want to complete the configuration process using your problematic
580 to "yes", and re-run configure.
587 dnl backward compatibility and to allow trailing 'dnl'-style comments
591 dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
599 # that is generated. The stamp files are numbered to have different names.
621 # gives unlimited permission to copy and/or distribute it,
622 # with or without modifications, as long as this notice is preserved.
642 # gives unlimited permission to copy and/or distribute it,
643 # with or without modifications, as long as this notice is preserved.
646 # with a leading dot. For instance MS-DOS doesn't.
658 # Check to see how 'make' treats includes. -*- Autoconf -*-
663 # gives unlimited permission to copy and/or distribute it,
664 # with or without modifications, as long as this notice is preserved.
706 # gives unlimited permission to copy and/or distribute it,
707 # with or without modifications, as long as this notice is preserved.
719 # If it is, set am_missing_run to use it, otherwise, to nothing.
726 # Use eval to expand $SHELL
740 # gives unlimited permission to copy and/or distribute it,
741 # with or without modifications, as long as this notice is preserved.
769 # gives unlimited permission to copy and/or distribute it,
770 # with or without modifications, as long as this notice is preserved.
775 # to automatically call this.
784 # Make sure it works both with $CC and with simple cc.
786 # compilers refuse to overwrite an existing .o file with -o,
801 # Losing compiler, so override with the script.
802 # FIXME: It is wrong to rewrite CC.
804 # A longer-term fix would be to have automake use am__CC in this case,
816 # gives unlimited permission to copy and/or distribute it,
817 # with or without modifications, as long as this notice is preserved.
830 # Check to make sure that the build environment is sane. -*- Autoconf -*-
835 # gives unlimited permission to copy and/or distribute it,
836 # with or without modifications, as long as this notice is preserved.
857 # symlink; some systems play weird games with the mod time of symlinks
876 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
896 # If we didn't sleep, we still need to ensure time stamps of config.status and
916 # gives unlimited permission to copy and/or distribute it,
917 # with or without modifications, as long as this notice is preserved.
921 # Enable less verbose build rules; with the default set to DEFAULT
927 [less verbose build output (undo: "make V=1")])
930 [verbose build output (undo: "make V=0")])dnl
976 # gives unlimited permission to copy and/or distribute it,
977 # with or without modifications, as long as this notice is preserved.
981 # One issue with vendor 'install' (even GNU) is that you can't
982 # specify the program used to strip binaries. This is especially
984 # is unlikely to handle the host's binaries.
987 # STRIPPROG with the value of the STRIP variable (set by the user).
992 # tool to use in cross-compilation environments, therefore Automake
993 # will honor the 'STRIP' environment variable to overrule this program.
1004 # gives unlimited permission to copy and/or distribute it,
1005 # with or without modifications, as long as this notice is preserved.
1018 # Check how to create a tarball. -*- Autoconf -*-
1023 # gives unlimited permission to copy and/or distribute it,
1024 # with or without modifications, as long as this notice is preserved.
1028 # Check how to create a tarball in format FORMAT.
1032 # writing to stdout a FORMAT-tarball containing the directory
1042 # in the wild :-( We should find a proper way to deprecate it ...
1045 # We'll loop over all known methods to create a tar archive until one works.
1053 [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
1059 # The $UID and $GID variables are not portable, so we need to resort
1060 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
1061 # below are definitely unexpected, so allow the users to see them
1085 AC_MSG_CHECKING([how to create a $1 tar archive])
1088 # need to set the values for the 'am__tar' and 'am__untar' variables.
1126 # If the value was cached, stop now. We just wanted to have am__tar
1154 dnl gives unlimited permission to copy and/or distribute it,
1155 dnl with or without modifications, as long as this notice is preserved.
1173 dnl those with the standalone portable GNU libiconv installed).
1180 dnl Add $INCICONV to CPPFLAGS before performing the following checks,
1182 dnl via --without-libiconv-prefix, he wants to use it. The first
1231 #include <string.h>
1318 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
1352 AC_MSG_CHECKING([how to link with libiconv])
1355 dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
1365 dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to
1426 dnl gives unlimited permission to copy and/or distribute it,
1427 dnl with or without modifications, as long as this notice is preserved.
1430 dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid
1431 dnl collision with libtool.m4.
1433 dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no.
1438 *GNU* | *'with BFD'*)
1454 [AS_HELP_STRING([--with-gnu-ld],
1462 # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
1464 # so we have to set that as well for the test.
1516 # Check to see if the program is GNU ld. I'd rather use --version,
1520 *GNU* | *'with BFD'*)
1531 acl_cv_path_LD="$LD" # Let the user override the test with a path.
1546 dnl gives unlimited permission to copy and/or distribute it,
1547 dnl with or without modifications, as long as this notice is preserved.
1554 dnl the libraries corresponding to explicit and implicit dependencies.
1557 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
1566 AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
1589 dnl searches for libname and the libraries corresponding to explicit and
1590 dnl implicit dependencies, together with the specified include files and
1591 dnl the ability to compile and link the specified testcode. The missing-message
1592 dnl defaults to 'no' and may contain additional hints for the user.
1595 dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs
1596 dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty.
1597 dnl Sets and AC_SUBSTs the LIB${NAME}_PREFIX variable to nonempty if libname
1611 dnl Add $INC[]NAME to CPPFLAGS before performing the following checks,
1613 dnl via --without-lib[]Name-prefix, he wants to use it.
1619 dnl If $LIB[]NAME contains some -l options, add it to the end of LIBS,
1622 dnl Otherwise, add it to the front of LIBS, because it may be a static
1639 AC_MSG_CHECKING([how to link with lib[]$1])
1643 dnl If $LIB[]NAME didn't lead to a usable library, we don't need
1658 dnl Determine the platform dependent parameters needed to use rpath:
1669 dnl Tell automake >= 1.10 to complain if config.rpath is missing.
1699 dnl will then not have a --with-libname-prefix option but a
1700 dnl --with-package-prefix option. Several libraries can come from the same
1719 dnl the libraries corresponding to explicit and implicit dependencies.
1721 dnl Also, sets the LIB${NAME}_PREFIX variable to nonempty if libname was found
1732 dnl Autoconf >= 2.61 supports dots in --with options.
1741 [[ --with-]]P_A_C_K[[-prefix[=DIR] search for ]PACKLIBS[ in DIR/include and DIR/lib
1769 dnl computed. So it has to be reset here.
1799 dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined
1917 dnl Linking with a shared library. We attempt to hardcode its
1926 dnl Use an explicit option to hardcode DIR into the resulting
1928 dnl Potentially add DIR to ltrpathdirs.
1929 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
1947 dnl Use an explicit option to hardcode DIR into the resulting
1950 dnl Potentially add DIR to rpathdirs.
1951 dnl The rpathdirs will be appended to $LIBNAME at the end.
1984 dnl here, because this doesn't fit in flags passed to the
1997 dnl Linking with a static library.
2000 dnl We shouldn't come here, but anyway it's good to have a
2024 dnl Potentially add $additional_includedir to $INCNAME.
2050 dnl Really add $additional_includedir to $INCNAME.
2073 dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME.
2102 dnl Really add $additional_libdir to $LIBNAME.
2116 dnl Really add $additional_libdir to $LTLIBNAME.
2126 dnl Potentially add DIR to rpathdirs.
2127 dnl The rpathdirs will be appended to $LIBNAME at the end.
2138 dnl Potentially add DIR to ltrpathdirs.
2139 dnl The ltrpathdirs will be appended to $LTLIBNAME at the end.
2172 dnl known to the linker and runtime loader. (All the system
2173 dnl directories known to the linker should also be known to the
2222 dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR,
2244 dnl referring to unknown libraries and directories, this macro determines the
2247 dnl sets LDADDVAR to linker options needed together with LIBSVALUE.
2248 dnl If USE-LIBTOOL evaluates to non-empty, linking with libtool is assumed,
2257 dnl Use an explicit option to hardcode directories into the resulting
2264 dnl No need to hardcode the standard /usr/lib.
2274 dnl No need to hardcode the standard /usr/lib.
2324 dnl gives unlimited permission to copy and/or distribute it,
2325 dnl with or without modifications, as long as this notice is preserved.
2329 dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and
2330 dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't
2336 dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed
2337 dnl to access previously installed libraries. The basic assumption is that
2338 dnl a user will want packages to use other packages he previously installed
2339 dnl with the same --prefix option.
2340 dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate
2356 [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib
2374 dnl Potentially add $additional_includedir to $CPPFLAGS.
2399 dnl Really add $additional_includedir to $CPPFLAGS.
2405 dnl Potentially add $additional_libdir to $LDFLAGS.
2430 dnl Really add $additional_libdir to $LDFLAGS.
2440 dnl acl_final_exec_prefix, containing the values to which $prefix and
2462 dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the
2463 dnl variables prefix and exec_prefix bound to the values they will have
2489 dnl path. If at least one of its elements ends in /lib64 or points to a
2494 dnl $prefix/lib/64 (which is a symlink to either $prefix/lib/sparcv9 or
2503 dnl "Portable Makefiles should refer to any library directories using the 64 symbolic link."
2504 dnl But we want to recognize the sparcv9 or amd64 subdirectory also if the
2546 dnl pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
2563 dnl along with this program; if not, write to the Free Software
2567 dnl As a special exception to the GNU General Public License, if you
2586 dnl See the "Since" comment for each macro you use to see what version
2598 dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
2607 AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
2608 AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
2630 dnl Check to see whether a particular set of modules exists. Similar to
2636 dnl have to call PKG_CHECK_EXISTS manually
2665 dnl Internal check to see if pkg-config supports short errors.
2681 dnl Note that if there is a possibility the first call to
2682 dnl PKG_CHECK_MODULES might not happen, you should be sure to include an
2683 dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
2696 and $1[]_LIBS to avoid the need to call pkg-config.
2724 is in your PATH or set the PKG_CONFIG environment variable to the full
2725 path to pkg-config.
2745 dnl Checks for existence of MODULES and gathers its build flags with
2749 dnl Note that if there is a possibility the first call to
2750 dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to
2751 dnl include an explicit call to PKG_PROG_PKG_CONFIG in your
2769 dnl DIRECTORY. The user can override through the --with-pkgconfigdir
2776 [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
2792 dnl --with-noarch-pkgconfigdir parameter.
2798 [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
2826 dnl Permission is hereby granted, free of charge, to any person obtaining a
2828 dnl to deal in the Software without restriction, including without limitation
2829 dnl the rights to use, copy, modify, merge, publish, distribute, sublicense,
2830 dnl and/or sell copies of the Software, and to permit persons to whom the
2831 dnl Software is furnished to do so, subject to the following conditions:
2850 # your configure.ac with the minimum required version, such as:
2858 # See the "minimum version" comment for each macro you use to see what
2884 # Check for flag to avoid builtin definitions - assumes unix is predefined,
2895 # under Cygwin unix is still defined even with -undef
2898 AC_MSG_RESULT([yes, with -ansi])
2900 AC_MSG_ERROR([${RAWCPP} defines unix with or without -undef. I don't know what to do.])
2915 AC_MSG_ERROR([${RAWCPP} does not preserve whitespace with or without -traditional. I don't know what to do.])
3077 # with the AM_CONDITIONAL "BUILD_LINUXDOC"
3084 AC_MSG_CHECKING([whether to build documentation])
3096 AC_MSG_CHECKING([whether to build pdf documentation])
3109 MAKE_PS="SGML_SEARCH_PATH=$XORG_SGML_PATH $LINUXDOC -B latex --papersize=letter --output=ps"
3123 # Checks for the ability to build output formats from SGML DocBook source.
3140 AC_MSG_CHECKING([whether to build text documentation])
3148 AC_MSG_CHECKING([whether to build PDF documentation])
3156 AC_MSG_CHECKING([whether to build PostScript documentation])
3164 AC_MSG_CHECKING([whether to build HTML documentation])
3189 # not at the appropriate level. This macro enables a module to test for the
3190 # presence of the tool and obtain it's path in separate variables. Coupled with
3191 # the --with-xmlto option, it allows maximum flexibility in making decisions
3192 # as whether or not to use the xmlto package. When DEFAULT is not specified,
3193 # --with-xmlto assumes 'auto'.
3195 # Interface to module:
3196 # HAVE_XMLTO: used in makefiles to conditionally generate documentation
3199 # --with-xmlto: 'yes' user instructs the module to use xmlto
3200 # 'no' user instructs the module not to use xmlto
3203 # HAVE_XMLTO_TEXT: used in makefiles to conditionally generate text documentation
3204 # xmlto for text output requires either lynx, links, or w3m browsers
3209 AC_ARG_VAR([XMLTO], [Path to xmlto command])
3212 AS_HELP_STRING([--with-xmlto],
3213 [Use xmlto to regenerate documentation (default: ]_defopt[)]),
3228 AC_MSG_ERROR([--with-xmlto=yes specified but xmlto not found in PATH])
3233 AC_MSG_WARN([ignoring XMLTO environment variable since --with-xmlto=no was specified])
3237 AC_MSG_ERROR([--with-xmlto expects 'yes' or 'no'])
3256 # Test for the ability of xmlto to generate a text target
3261 # it fails try it again with a non-empty XML file.
3268 [# Try it again with a non-empty XML file.
3287 # The xsltproc command line tool is for applying XSLT stylesheets to XML documents.
3288 # It is used under the cover by xmlto to generate html files from DocBook/XML.
3290 # It should not be assumed that this tool is used only to work with documnetation.
3291 # When DEFAULT is not specified, --with-xsltproc assumes 'auto'.
3293 # Interface to module:
3294 # HAVE_XSLTPROC: used in makefiles to conditionally generate documentation
3297 # --with-xsltproc: 'yes' user instructs the module to use xsltproc
3298 # 'no' user instructs the module not to use xsltproc
3304 AC_ARG_VAR([XSLTPROC], [Path to xsltproc command])
3309 AS_HELP_STRING([--with-xsltproc],
3325 AC_MSG_ERROR([--with-xsltproc=yes specified but xsltproc not found in PATH])
3330 AC_MSG_WARN([ignoring XSLTPROC environment variable since --with-xsltproc=no was specified])
3334 AC_MSG_ERROR([--with-xsltproc expects 'yes' or 'no'])
3348 # When DEFAULT is not specified, --with-perl assumes 'auto'.
3350 # Interface to module:
3351 # HAVE_PERL: used in makefiles to conditionally scan text files
3354 # --with-perl: 'yes' user instructs the module to use perl
3355 # 'no' user instructs the module not to use perl
3361 AC_ARG_VAR([PERL], [Path to perl command])
3366 AS_HELP_STRING([--with-perl],
3382 AC_MSG_ERROR([--with-perl=yes specified but perl not found in PATH])
3387 AC_MSG_WARN([ignoring PERL environment variable since --with-perl=no was specified])
3391 AC_MSG_ERROR([--with-perl expects 'yes' or 'no'])
3403 # not at the appropriate level. This macro enables a module to test for the
3404 # presence of the tool and obtain it's path in separate variables. Coupled with
3405 # the --with-asciidoc option, it allows maximum flexibility in making decisions
3406 # as whether or not to use the asciidoc package. When DEFAULT is not specified,
3407 # --with-asciidoc assumes 'auto'.
3409 # Interface to module:
3410 # HAVE_ASCIIDOC: used in makefiles to conditionally generate documentation
3413 # --with-asciidoc: 'yes' user instructs the module to use asciidoc
3414 # 'no' user instructs the module not to use asciidoc
3419 AC_ARG_VAR([ASCIIDOC], [Path to asciidoc command])
3422 AS_HELP_STRING([--with-asciidoc],
3423 [Use asciidoc to regenerate documentation (default: ]_defopt[)]),
3438 AC_MSG_ERROR([--with-asciidoc=yes specified but asciidoc not found in PATH])
3443 AC_MSG_WARN([ignoring ASCIIDOC environment variable since --with-asciidoc=no was specified])
3447 AC_MSG_ERROR([--with-asciidoc expects 'yes' or 'no'])
3473 # not at the appropriate level. This macro enables a module to test for the
3474 # presence of the tool and obtain it's path in separate variables. Coupled with
3475 # the --with-doxygen option, it allows maximum flexibility in making decisions
3476 # as whether or not to use the doxygen package. When DEFAULT is not specified,
3477 # --with-doxygen assumes 'auto'.
3479 # Interface to module:
3480 # HAVE_DOXYGEN: used in makefiles to conditionally generate documentation
3483 # --with-doxygen: 'yes' user instructs the module to use doxygen
3484 # 'no' user instructs the module not to use doxygen
3489 AC_ARG_VAR([DOXYGEN], [Path to doxygen command])
3490 AC_ARG_VAR([DOT], [Path to the dot graphics utility])
3493 AS_HELP_STRING([--with-doxygen],
3494 [Use doxygen to regenerate documentation (default: ]_defopt[)]),
3509 AC_MSG_ERROR([--with-doxygen=yes specified but doxygen not found in PATH])
3514 AC_MSG_WARN([ignoring DOXYGEN environment variable since --with-doxygen=no was specified])
3518 AC_MSG_ERROR([--with-doxygen expects 'yes' or 'no'])
3557 # not at the appropriate level. This macro enables a module to test for the
3558 # presence of the tool and obtain it's path in separate variables. Coupled with
3559 # the --with-groff option, it allows maximum flexibility in making decisions
3560 # as whether or not to use the groff package. When DEFAULT is not specified,
3561 # --with-groff assumes 'auto'.
3563 # Interface to module:
3564 # HAVE_GROFF: used in makefiles to conditionally generate documentation
3569 # --with-groff: 'yes' user instructs the module to use groff
3570 # 'no' user instructs the module not to use groff
3573 # HAVE_GROFF_HTML: groff has dependencies to output HTML format:
3576 # the ghostcript package. Refer to the grohtml man pages
3589 AC_ARG_VAR([GROFF], [Path to groff command])
3592 AS_HELP_STRING([--with-groff],
3593 [Use groff to regenerate documentation (default: ]_defopt[)]),
3608 AC_MSG_ERROR([--with-groff=yes specified but groff not found in PATH])
3613 AC_MSG_WARN([ignoring GROFF environment variable since --with-groff=no was specified])
3617 AC_MSG_ERROR([--with-groff expects 'yes' or 'no'])
3647 AC_MSG_WARN([grohtml dependencies not found - HTML Documentation skipped. Refer to grohtml man pages])
3665 # not at the appropriate level. This macro enables a module to test for the
3666 # presence of the tool and obtain it's path in separate variables. Coupled with
3667 # the --with-fop option, it allows maximum flexibility in making decisions
3668 # as whether or not to use the fop package. When DEFAULT is not specified,
3669 # --with-fop assumes 'auto'.
3671 # Interface to module:
3672 # HAVE_FOP: used in makefiles to conditionally generate documentation
3675 # --with-fop: 'yes' user instructs the module to use fop
3676 # 'no' user instructs the module not to use fop
3681 AC_ARG_VAR([FOP], [Path to fop command])
3684 AS_HELP_STRING([--with-fop],
3685 [Use fop to regenerate documentation (default: ]_defopt[)]),
3700 AC_MSG_ERROR([--with-fop=yes specified but fop not found in PATH])
3705 AC_MSG_WARN([ignoring FOP environment variable since --with-fop=no was specified])
3709 AC_MSG_ERROR([--with-fop expects 'yes' or 'no'])
3734 # This macro attempts to locate an m4 macro processor which supports
3735 # -I option and is only useful for modules relying on M4 in order to
3738 # Interface to module:
3759 # not at the appropriate level. This macro enables a module to test for the
3760 # presence of the tool and obtain it's path in separate variables. Coupled with
3761 # the --with-ps2pdf option, it allows maximum flexibility in making decisions
3762 # as whether or not to use the ps2pdf package. When DEFAULT is not specified,
3763 # --with-ps2pdf assumes 'auto'.
3765 # Interface to module:
3766 # HAVE_PS2PDF: used in makefiles to conditionally generate documentation
3769 # --with-ps2pdf: 'yes' user instructs the module to use ps2pdf
3770 # 'no' user instructs the module not to use ps2pdf
3775 AC_ARG_VAR([PS2PDF], [Path to ps2pdf command])
3778 AS_HELP_STRING([--with-ps2pdf],
3779 [Use ps2pdf to regenerate documentation (default: ]_defopt[)]),
3794 AC_MSG_ERROR([--with-ps2pdf=yes specified but ps2pdf not found in PATH])
3799 AC_MSG_WARN([ignoring PS2PDF environment variable since --with-ps2pdf=no was specified])
3803 AC_MSG_ERROR([--with-ps2pdf expects 'yes' or 'no'])
3813 # not at the appropriate level. This macro enables a builder to skip all
3815 # Combined with the specific tool checking macros XORG_WITH_*, it provides
3817 # Refer to:
3818 # XORG_WITH_XMLTO --with-xmlto
3819 # XORG_WITH_ASCIIDOC --with-asciidoc
3820 # XORG_WITH_DOXYGEN --with-doxygen
3821 # XORG_WITH_FOP --with-fop
3822 # XORG_WITH_GROFF --with-groff
3823 # XORG_WITH_PS2PDF --with-ps2pdf
3825 # Interface to module:
3826 # ENABLE_DOCS: used in makefiles to conditionally generate documentation
3827 # --enable-docs: 'yes' user instructs the module to generate docs
3828 # 'no' user instructs the module not to generate docs
3839 AC_MSG_CHECKING([whether to build documentation])
3847 # This macro enables a builder to skip all developer documentation.
3848 # Combined with the specific tool checking macros XORG_WITH_*, it provides
3850 # Refer to:
3851 # XORG_WITH_XMLTO --with-xmlto
3852 # XORG_WITH_ASCIIDOC --with-asciidoc
3853 # XORG_WITH_DOXYGEN --with-doxygen
3854 # XORG_WITH_FOP --with-fop
3855 # XORG_WITH_GROFF --with-groff
3856 # XORG_WITH_PS2PDF --with-ps2pdf
3858 # Interface to module:
3859 # ENABLE_DEVEL_DOCS: used in makefiles to conditionally generate developer docs
3860 # --enable-devel-docs: 'yes' user instructs the module to generate developer docs
3861 # 'no' user instructs the module not to generate developer docs
3872 AC_MSG_CHECKING([whether to build developer documentation])
3880 # This macro enables a builder to skip all functional specification targets.
3881 # Combined with the specific tool checking macros XORG_WITH_*, it provides
3883 # Refer to:
3884 # XORG_WITH_XMLTO --with-xmlto
3885 # XORG_WITH_ASCIIDOC --with-asciidoc
3886 # XORG_WITH_DOXYGEN --with-doxygen
3887 # XORG_WITH_FOP --with-fop
3888 # XORG_WITH_GROFF --with-groff
3889 # XORG_WITH_PS2PDF --with-ps2pdf
3891 # Interface to module:
3892 # ENABLE_SPECS: used in makefiles to conditionally generate specs
3893 # --enable-specs: 'yes' user instructs the module to generate specs
3894 # 'no' user instructs the module not to generate specs
3905 AC_MSG_CHECKING([whether to build functional specifications])
3913 # This macro enables a builder to enable/disable unit testing
3918 # When used in conjunction with XORG_WITH_GLIB, use both AM_CONDITIONAL
3922 # Interface to module:
3923 # ENABLE_UNIT_TESTS: used in makefiles to conditionally build tests
3925 # --enable-unit-tests: 'yes' user instructs the module to build tests
3926 # 'no' user instructs the module not to build tests
3939 AC_MSG_CHECKING([whether to build unit test cases])
3947 # This macro enables a builder to enable/disable integration testing
3955 # Interface to module:
3956 # ENABLE_INTEGRATION_TESTS: used in makefiles to conditionally build tests
3958 # --enable-integration-tests: 'yes' user instructs the module to build tests
3959 # 'no' user instructs the module not to build tests
3972 AC_MSG_CHECKING([whether to build unit test cases])
3981 # This macro enables a module to test for the presence of Glib.
3983 # When used with ENABLE_UNIT_TESTS, it is assumed GLib is used for unit testing.
3990 # Interface to module:
3991 # HAVE_GLIB: used in makefiles to conditionally build targets
3992 # with_glib: used in configure.ac to know if GLib has been found
3993 # --with-glib: 'yes' user instructs the module to use glib
3994 # 'no' user instructs the module not to use glib
3999 AC_ARG_WITH(glib, AS_HELP_STRING([--with-glib],
4034 AC_MSG_ERROR([--with-glib=yes specified but glib-2.0 not found])
4047 # When used with ENABLE_UNIT_TESTS, it is assumed -wrap is used for unit testing.
4050 # Argument added in 1.16.0 - default is "required", to match existing behavior
4078 # Check whether the given linker FLAGS work with the current language's
4081 # ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on
4084 # PROGRAM-SOURCE is the program source to link with, if needed
4105 # with this program. If not, see <http://www.gnu.org/licenses/>.
4108 # gives unlimited permission to copy, distribute and modify the configure
4109 # scripts that are the output of Autoconf when processing the Macro. You
4115 # This special exception to the GPL applies to versions of the Autoconf
4118 # exception to the GPL to apply to your modified version as well.#
4149 # This macro attempts to find appropriate memory checking functionality
4150 # for various platforms which unit testing code may use to catch various
4153 # Interface to module:
4154 # XORG_MALLOC_DEBUG_ENV - environment variables to set to enable debugging
4155 # Usually added to TESTS_ENVIRONMENT in Makefile.am
4163 [Environment variables to enable memory checking in tests])
4196 # malloc(0) returns NULL. Packages should add one of these cflags to
4197 # their AM_CFLAGS (or other appropriate *_CFLAGS) to use them.
4244 # non-portable constructs (likely to be bugs) in C language source code.
4245 # It will attempt to locate the tool and use appropriate options.
4248 # Interface to module:
4249 # LINT: returns the path to the tool found on the platform
4250 # or the value set to LINT on the configure cmd line
4252 # LINT_FLAGS: an Automake variable with appropriate flags
4254 # --with-lint: 'yes' user instructs the module to use lint
4255 # 'no' user instructs the module not to use lint (default)
4262 AC_ARG_VAR([LINT], [Path to a lint-style command])
4264 AC_ARG_WITH(lint, [AS_HELP_STRING([--with-lint],
4289 AC_MSG_ERROR([--with-lint=yes specified but lint-style tool not found in PATH])
4293 AC_MSG_WARN([ignoring LINT environment variable since --with-lint=no was specified])
4296 AC_MSG_ERROR([--with-lint expects 'yes' or 'no'. Use LINT variable to specify path.])
4316 # Interface to module:
4317 # LINTLIB - Automake variable with the name of lint library file to make
4320 # --enable-lint-library: - 'yes' user instructs the module to created a lint library
4321 # - 'no' user instructs the module not to create a lint library (default)
4332 AC_MSG_ERROR([Cannot make lint library without --with-lint])
4348 # GNU gcc - relies on AC_PROG_CC (via AC_PROG_CC_C99) to set GCC to "yes"
4349 # GNU g++ - relies on AC_PROG_CXX to set GXX to "yes"
4350 # clang compiler - sets CLANGCC to "yes"
4351 # Intel compiler - sets INTELCC to "yes"
4352 # Sun/Oracle Solaris Studio cc - sets SUNCC to "yes"
4377 # If it succeeds, the flag is appended to the given variable. If not, it tries the
4382 # attempt to weed out false positives by using -Werror=unknown-warning-option and
4386 m4_if([$#], 0, [m4_fatal([XORG_TESTSET_CFLAG was given with an unsupported number of arguments])])
4387 m4_if([$#], 1, [m4_fatal([XORG_TESTSET_CFLAG was given with an unsupported number of arguments])])
4473 # Defines BASE_CFLAGS or BASE_CXXFLAGS to contain a set of command line
4475 # code. These arguments will cause the compiler to print various warnings
4479 # future versions of util-macros as options are added to new compilers.
4498 # -v is too short to test reliably with XORG_TESTSET_CFLAG
4532 # in the future once the codebase is sufficiently modernized to silence
4533 # them. For now, I don't want them to drown out the other warnings.
4553 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=int-to-pointer-cast], [-errwarn=E_BAD_PTR_INT_COMBINATION])
4554 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Werror=pointer-to-int-cast]) # Also -errwarn=E_BAD_PTR_INT_COMBINATION
4556 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])
4568 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wint-to-pointer-cast])
4569 XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wpointer-to-int-cast])
4580 # Defines CWARNFLAGS to enable C compiler warnings.
4585 # it is updated to use BASE_CFLAGS.
4605 # Add configure option to enable strict compilation flags, such as treating
4607 # If --enable-strict-compilation is passed to configure, adds strict flags to
4635 # activate it with -Werror, so we add it here explicitly.
4682 # Defines the variable INSTALL_CMD as the command to copy
4692 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
4697 dnl Permission to use, copy, modify, distribute, and sell this software and its
4715 dnl not be used in advertising or otherwise to promote the sale, use or
4722 # Defines PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} for modules to use.
4748 # Defines the variable CHANGELOG_CMD as the command to generate
4757 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"