commit c0c42057e0d357c144e7933ee413b522950a0f17
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Mar 13 19:45:12 2012 -0400

    Version bump: 1.17
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 51f69514e65637f575df901ef942515e70314f6a
Author: Chase Douglas <chase.douglas@canonical.com>
Date:   Mon Mar 12 11:49:28 2012 -0700

    Separate unknown warning options by language
    
    If XORG_COMPILER_FLAGS is called more than once with separate languages,
    the unknown warning options used internally for unknown warning checking
    will be set the first time and then the cached value will be used for
    subsequent languages. This is a problem if the compilers differ between
    the languages.
    
    This change ensures that the unknown warning options are namespaced so
    multiple XORG_COMPILER_FLAGS calls with different languages are checked
    separately.
    
    Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
    Reviewed-by: Gaetan Nadon<memsize@videotron.ca>

commit a1fec11ca3de6774fb70052f5f5ab167bf658690
Author: Chase Douglas <chase.douglas@canonical.com>
Date:   Mon Mar 12 10:59:55 2012 -0700

    Fix cflag test compiler message and cache ids
    
    When the language is C++, the flag checking message references $CC
    instead of $CXX. The cache id is also xorg_cv_cc_* instead of
    xorg_cv_cxx_*. This change fixes both issues.
    
    Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
    Reviewed-by: Gaetan Nadon<memsize@videotron.ca>

commit a02a9048a1b831d13d32413e2af429ac8d7a5c2b
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Sat Mar 10 15:04:28 2012 +0000

    Don't use AS_ECHO in XORG_TESTSET_CFLAG
    
    Further to commit 52ef6f6, since AS_ECHO isn't supported in autoconf 2.61 either,
    rewrite use of cache variable in XORG_TESTSET_CFLAG so 'echo' isn't needed at all.
    
    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
    Reviewed-by: Gaetan Nadon<memsize@videotron.ca>
    Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
    Signed-off-by: Chase Douglas <chase.douglas@canonical.com>

commit 299ae797eff46900e7d5914ff4502662f97f2062
Author: Chase Douglas <chase.douglas@canonical.com>
Date:   Fri Mar 9 14:46:00 2012 -0800

    Add XORG_ENABLE_INTEGRATION_TESTS
    
    This macro enables a builder to enable/disable integration testing
    It makes no assumption about the test cases' implementation
    Test cases may or may not use Automake "Support for test suites"
    
    Unit test support usually requires less dependencies and may be built
    and run under less stringent environments than integration tests. Thus,
    two separate options for unit and integration testing is desirable.
    
    Copied from XORG_ENABLE_UNIT_TESTS.
    
    Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
    Reviewed-by: Gaetan Nadon<memsize@videotron.ca>

commit db238c632bb7136e3e44345820d514106e317420
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Mar 5 09:39:17 2012 -0500

    Version bump: 1.16.2
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 44aa8e75c8e54c5bc09d0cbff2f7207abe80c980
Author: Chase Douglas <chase.douglas@canonical.com>
Date:   Wed Feb 29 12:18:51 2012 -0800

    Define BASE_CXXFLAGS when C++ is the chosen language
    
    You can use this functionality by setting the language to C++ before
    calling XORG_DEFAULT_OPTIONS. This can accomplished with AC_LANG(C++).
    
    Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 543ce698747dc998ca0ed987ef1ab0c35fb501b1
Author: Chase Douglas <chase.douglas@canonical.com>
Date:   Wed Feb 29 09:51:02 2012 -0800

    Make XORG_TESTSET_CFLAG work for multiple languages
    
    Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
    Reviewed-by: Gaetan Nadon<memsize@videotron.ca>

commit 52ef6f666a4fb46b693c81dc7a44612e6b78239d
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Tue Feb 14 21:59:38 2012 +0000

    Use AS_ECHO rather than AS_ECHO_N in XORG_TESTSET_CFLAG
    
    The AS_ECHO_N macro was only introduced in autoconf 2.62.
    Backticks remove trailing newlines, so we don't need to use echo -n
    
    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit a1809fde56e45639556a44fd3c3ef9213204c5a9
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Mon Jan 2 19:42:10 2012 +0000

    Cache the results of checking compiler flag support in XORG_TESTSET_CFLAG
    
    Since checking all those warning flags takes an amount of time I find irritating,
    here is an attempt at caching the results of checking compiler warning flag support
    
    A couple of aspects which need definitely need review or testing:
    
    * I've tried to get things right when not the first flag in the list of alternates is
    supported, but this really needs testing with a compiler other than gcc
    
    * The cache variable naming policy is a bit opaque me, so the names used may need corecting
    
    * I've tried to be careful, but who knows what portability sins I have committed :-)
    
    This change reduces the time to run the ./configure script produced from a configure.ac
    containing just
    
    AC_INIT([test], 1.0)
    XORG_COMPILER_FLAGS
    XORG_CWARNFLAGS
    XORG_STRICT_OPTION
    AC_OUTPUT()
    
    from ~60s to ~20s on my cygwin machine, and from ~15s to ~9s on a linux VM running on the
    same hardware
    
    v2: AS_TR_SH transforms characters which are invalid in shell variable names, so we don't
    have to use sed to transform spaces ourself
    
    Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 214132d470ef98b5d3cdc71662cb586025746bb5
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Fri Jan 20 23:46:56 2012 -0800

    Version bump: 1.16.1
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 088c848e74ac47bbd84eac70ef18a3d2abe96936
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sun Dec 18 15:57:43 2011 -0800

    Provide a configure option to turn off the selective -Werror=... CFLAGS
    
    Provide end users with a workaround if they find code doesn't build with
    the -Werror=... flags provided by BASE_CFLAGS.  This can be useful if
    newer util-macros are used with older source code that had problems, or
    in the rare case when warnings are expanded to hit more cases (although
    this case should not happen too much in practice).
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 55f387315c4429704d2d5212fb1e3b130638e097
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Sat Dec 10 11:55:29 2011 -0800

    Remove -Winline from BASE_CFLAGS
    
    This might be useful for performance tuning builds against specific
    compilers, but it is a bit too noisy to be used in general.
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit a8f51b6864c65ab226f2febd7322354fb00b9444
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Dec 7 15:15:54 2011 -0500

    Version bump: 1.16.0
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 87340dcccf97c3e1f0ab918bb6740abf47d65558
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Dec 1 13:12:59 2011 -0800

    XORG_TESTSET_CFLAG: Try to both compile & link with the flags
    
    Catches build problems caused by compilers that ignore unknown flags
    at compile time and pass them to the linker at link time, when the
    linker considers unknown flags to be fatal errors.
    
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2d4a7a4cf645c9cb586cf2f77f8d3f61d6c71883
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Thu Nov 10 23:45:57 2011 -0800

    XORG_TESTSET_CFLAG: Add support fot -Werror=unused-command-line-argument
    
    This warning was was added to clang in r144365
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 9d8a1e5809b4dd397efe2e62bbf2c8a6c4deb795
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Nov 3 18:14:15 2011 -0700

    Add XORG_MEMORY_CHECK_FLAGS and require it in XORG_ENABLE_UNIT_TESTS
    
    Based on the checks already in libXt/configure.ac and proposed for
    xserver/configure.ac - makes a common implementation before we make
    more copies.
    
    Callers should be able to just add
    	TESTS_ENVIRONMENT = $(XORG_MALLOC_DEBUG_ENV)
    
    If built with an older xorg-macros, then the tests will simply be
    less stringent, matching what happens on platforms without any
    simple malloc debugging facilities available.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 9b4a8bae3528950bdb87df095c212d646e15dbdb
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Nov 3 17:41:24 2011 -0700

    Define __wrap_exit in test program source for XORG_LD_WRAP
    
    Otherwise the test fails on Solaris releases that actually have support
    for ld -wrap because the linker instead returns an error that __wrap_exit
    is an undefined symbol.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 0295ee03ab45c55771581664d6c903c6d2f87e53
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Nov 3 15:54:25 2011 -0700

    Add an optional argument to XORG_LD_WRAP
    
    Allows specifying if ld -wrap support is 'required' or 'optional' for
    unit tests, so that builds like the xserver which only need ld -wrap
    for some tests can allow users to enable the others when ld -wrap is
    not available.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit b8a13e531db208a7c4c9a43b74b196104e7c66ed
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Tue Nov 1 12:59:55 2011 -0700

    Add additional flags to XORG_COMPILER_FLAGS
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 08877399839f5a30a5edd2167fb4275d3dd9d473
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Tue Nov 1 12:44:48 2011 -0700

    Update XORG_CWARNFLAGS to use XORG_COMPILER_FLAGS
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit b406f730d64dfb8b699631ffb3ee5f3a1f0db8c4
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Tue Nov 1 12:19:24 2011 -0700

    Add XORG_COMPILER_FLAGS to replace XORG_CWARNFLAGS
    
    See: https://bugs.freedesktop.org/show_bug.cgi?id=31238
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit b175fe0e07fce86cf029695e9e93b573ada54b0c
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Tue Nov 1 11:53:44 2011 -0700

    Use XORG_TESTSET_CFLAG in XORG_STRICT_OPTION
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 9f427611f4bb6db60cb8cbdda6296a3bf66a5a6c
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Tue Nov 1 11:39:14 2011 -0700

    Add XORG_TESTSET_CFLAG which can be used to test what flags the compiler supports
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 4a6ecc7b8e338483fb5ea6bfc9b2fb26f890807b
Author: Jeremy Huddleston <jeremyhu@apple.com>
Date:   Tue Nov 1 11:49:41 2011 -0700

    Fix the test for -Werror=attributes
    
    The current test was always failing to compile because 'return 0;' was
    global rather than in the body of a function.
    
    Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 08dd5d30c137abe43d5b1673edc39eb569881d66
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Jun 23 08:03:13 2011 -0400

    Version bump: 1.15.0
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit b87c5e7f6c9e856cf82c3c531255adccbd9fae5c
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jun 22 12:42:30 2011 -0400

    XORG_WITH_XSLTPROC: warn at development time rather than config time
    
    Catching up unimplemented features should be done earlier by the developer
    during autoconf rather than during configure.
    
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit f3332a7214af43878691b4f4876c39dc7d546266
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jun 22 10:02:28 2011 -0400

    Add XORG_WITH_PERL macro
    
    Following the same pattern as XMLTO and friends.
    Allows all modules to use the same interface, variables
    and options to check for perl.
    Perl is used in libX11 and xserver.
    
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit b927af52e8a3384126bfe709b725f6c5bad4ba34
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jun 22 09:04:32 2011 -0400

    XORG_WITH_FOP: add minimum version checking support
    
    Adding this feature is motivated by a bug in fop 0.95 where
    fop crashes in the presence of some characters like the latin capital
    sharp s. Fop version 1.0 works correctly.
    
    This is the same feature found in XMLTO and the likes.
    In the macro public interface there is a shift in parameter position
    for the DEFAULT parameter. Doing development on older libraries
    (point releases on older versions) will still work the same way as
    the "no" value will be interpreted as the minimum version. It won't
    be found, so fop will be disabled anyway.
    
    Only libX11 has used XORG_WITH_FOP(no) and will be changed with a version
    bump on util-macros.
    
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 45c7d622657d295b2c02a46061765827ea37f00f
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Jun 1 08:59:53 2011 -0400

    XORG_PROG_RAWCPP: use AC_LANG_SOURCE to prevent warnings
    
    The source for the AC_LANG_CONFTEST should be passed to AC_LANG_SOURCE
    to satisfy the more stringent testing done by autoconf 2.68.
    It is available in autoconf 2.60 where AC_LANG_DEFINES_PROVIDED is not.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 10a865fa671382dce50f7e49624ca5a730372d08
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri May 27 19:01:13 2011 -0700

    Version bump: 1.14.0
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e03a5cb9f313c6f5de3edc46327eb18b300b92c2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat May 14 09:10:13 2011 -0700

    Add AC_LANG_DEFINES_PROVIDED to XORG_RAW_CPP to silence autoconf warnings
    
    Since we're intentionally doing a special case to just check cpp output,
    and not a full program compilation, add the magic macro to silence:
    
    configure.ac:46: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
    ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
    aclocal.m4:1077: XORG_PROG_RAWCPP is expanded from...
    configure.ac:46: the top level
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 61f5a48a74680c316bee2bf93d6ef5d50a688f22
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon May 2 16:52:26 2011 -0700

    XORG_STRICT_OPTION: add -Werror=attributes to STRICT_CFLAGS for gcc
    
    Flags unknown attributes as errors, if -Werror=attributes is supported.
    (The -Werror=* option was first spotted in gcc 4.2.0 manuals.)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>

commit 8a556afbe7ff81987597ca88e315fe66f10e4adc
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Apr 25 20:31:33 2011 -0700

    Make XORG_STRICT_OPTION always set STRICT_CFLAGS
    
    Still only adds it to CWARNFLAGS if --enable-strict-compilation is
    passed, but sets the variable with the right flags for the compiler
    so it's available for other checks in configure scripts.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
    Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit ef7824119ede1d491936ef1715296b47419f4c9c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Apr 25 20:26:48 2011 -0700

    Create XORG_COMPILER_BRAND macro to centralize compiler checks
    
    Check for gcc vs. intel vs. sun in one place, instead of
    continuing to grow more places the check is replicated.
    
    Add clang check here too, as it's now seeing a lot of use to build X.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
    Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 5bb0cddcc5359d764015299021718f42b0a4055c
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Mar 14 20:12:36 2011 -0400

    Version bump: 1.13.0
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 700ecdc16426c14e649439138e8e40cdc41fe1c1
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Mar 9 18:53:43 2011 -0500

    XORG_LD_WRAP: check if linker supports -wrap
    
    Used mainly by test cases using a wrapper function.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 380074140f7b1e3f8ea006a4b1d928d23706b81d
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Mar 9 10:53:49 2011 -0500

    XORG_WITH_GLIB: check for the GLib package
    
    XORG_WITH_GLIB([MIN-VERSION], [DEFAULT])
     ----------------------------------------
     Minimum version: 1.13.0
    
     GLib is a library which provides advanced data structures and functions.
     This macro enables a module to test for the presence of Glib.
    
     When used in conjunction with XORG_ENABLE_UNIT_TESTS, use both AM_CONDITIONAL
     ENABLE_UNIT_TESTS and HAVE_GLIB.
     Glib may be used for purpose other than testing
    
     Package builders should use --without-glib to ensure it does not get pulled in.
     Unit tests may or may not use GLib.
    
     Developers should use --with-glib to error out if GLib is missing.
    
     Interface to module:
     HAVE_GLIB: used in makefiles to conditionally build targets
     with_glib: used in configure.ac to know if GLib has been found
     --with-glib:	'yes' user instructs the module to use glib
    		'no' user instructs the module not to use glib
    
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 78af2b882e01b17e38d1361a4a58b7768bb59bec
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed Mar 9 07:10:18 2011 -0500

    XORG_ENABLE_UNIT_TESTS: add support for unit testing
    
    This macro enables a builder to enable/disable unit testing
    It makes no assumption about the test cases implementation
    Test cases may or may not use Automake "Support for test suites"
    They may or may not use the software utility library GLib
    
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 1218d7e6ed064e0c534a01caf013cff666cb44bf
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Feb 25 16:58:10 2011 -0500

    Version bump: 1.12.0
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit b22ce580bcc8343b880f19cc7f1c6bea176c8f13
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sat Jan 29 16:17:09 2011 -0500

    XORG_WITH_XSLTPROC: add XSLT processor command line tool
    
    The primary use will be for DocBook/XML cross links database generation.
    
    XSLT (Extensible Stylesheet Language Transformations) is a declarative,
    XML-based language used for the transformation of XML documents.
    The xsltproc command line tool is for applying XSLT stylesheets
    to XML documents.
    
    It is used under the cover by xmlto to generate html files from DocBook/XML.
    The XSLT processor is often used as a standalone tool for transformations.
    It should not be assumed that it is used only to work with documnetation.
    
    Tested-by: Matt Dew <marcoz@osource.org>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 7370b0b3f0308aec2a32012eddb2f0761d5fe399
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Dec 5 01:25:11 2010 -0800

    Use AC_LANG_PROGRAM in XORG_CHECK_MALLOC_ZERO to clear autoconf-2.68 warnings
    
    configure.ac:126: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
    ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
    ../../lib/autoconf/general.m4:2730: _AC_RUN_IFELSE is expanded from...
    ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
    ../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
    aclocal.m4:1952: XORG_CHECK_MALLOC_ZERO is expanded from...
    configure.ac:126: the top level
    
    Also, calloc() takes two arguments; and all of them return void *,
    not char *; as the compiler points out when you #include <stdlib.h>
    instead of faking it badly.   (And sometimes when you don't, due to
    compiler builtin versions of the functions.)
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Reviewed-by: Matt Turner <mattst88@gmail.com>
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit 04030cbca37c04c48161debc0cade6db00cb347b
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sat Nov 6 20:50:06 2010 -0400

    XORG_ENABLE_DOCS: Fix "Enable building the documentation (yes: yes)"
    
    The quoting did not prevent the m4 defined variable "default"
    to replace the text string "default" in the help text.
    
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit ce32345589050b17b23b18157f95f060f4c776a3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Oct 29 20:43:53 2010 -0700

    Version bump: 1.11.0
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit eb7ebbbbb2a6196322cf7e48f60a11f2f65f7534
Author: Dan Nicholson <dbn.lists@gmail.com>
Date:   Fri Oct 22 19:12:46 2010 -0700

    docs: Take optional argument to control defaults
    
    The typical default of enabling documentation if the correct tool is
    found is usually the right thing to do. However, some packages such as
    Xlib have huge amounts of documentation that few people would need in
    every output format. Allow packages to specify the default for each tool
    by passing an argument to the macro.
    
    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 119f35b24d446a8f7b1da4a3eaa6d6e3ad982d69
Author: Dan Nicholson <dbn.lists@gmail.com>
Date:   Sat Oct 9 17:41:10 2010 -0700

    docs: Use m4 to handle optional macro defaults
    
    Handling the optional documentation parameters with m4 allows the help
    string to correctly represent the default.
    
    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit aeebb46766dada64de246fd9fe72e3c523c4e70e
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Sep 23 15:00:20 2010 -0400

    Version bump: 1.10.1
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 1905f89998cb26410872150679501fde506a03c7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Sep 3 22:47:02 2010 -0700

    Sun's copyrights are now owned by Oracle
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 808d547902fad81901db94e6344838350d0eeb52
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sat Aug 14 15:43:38 2010 -0400

    XORG_MANPAGE_SECTIONS: add substitution for apploaddir
    
    This represents the location of the app-defaults directory
    Used in app/bitmap/man for example.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit fbe66aedcf2165e43388894d3b2ee2f38e889f93
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Jun 24 17:36:33 2010 -0400

    Version bump: 1.10.0
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 4eed3443945a9d1443ec688efd835f46ed9adfc9
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jun 25 14:52:25 2010 -0400

    XORG_CHECK_SGML_DOCTOOLS: add interface for xorg stylesheet
    
    Add STYLESHEET_SRCDIR for directory location
    and XSL_STLESHEET for the name of the xorg style sheet
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 01ef7c69d91259e5904f26b6b4630243d548232a
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Jun 24 18:12:45 2010 -0400

    XORG_WITH_XMLTO: add HAVE_XMLTO_TEXT for text output format
    
    The xmlto program has dependencies when converting docbook XML
    to text format. It requires either lynx, links or w3m
    text web browsers.
    
    Users want to skip the text format to avoid having to install these.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit fe878c0ce0b9093c13714ec6662b0c99a9a2d1d4
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jun 18 21:54:27 2010 -0400

    Version bump: 1.9.0
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit d4d18c07d7aa1005ad3d48dfdb19f245df2ebae0
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jun 18 20:32:13 2010 -0400

    XORG_WITH_GROFF: add HAVE_GROFF_HTML Automake conditional
    
    Groff uses grohtml to generate html output format. This program, in turn,
    uses a number of pnm* commands from the netpbm package, psselect
    from the psutils package and the ghostscript package.
    
    These are independently installed, so they could be missing.
    A check is made to ensure those dependencies are installed.
    If not, the makefile can use the conditional to supress the target.
    
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit f0590edffe21ac6b7a11eab7caf6c8aad7c8bc07
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu May 27 09:27:54 2010 -0400

    Version bump: 1.8.0
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit ce3ece9cbf2380ab0e0535f52f0c6c6507d779c8
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Wed May 26 21:09:31 2010 -0400

    config: XORG_MANPAGE_SECTIONS: add AC_PROG_SED
    
    The sed command is required to create the man pages.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 8cb69a59d54656d17ea7bcf479b0f27a17dc559e
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon May 17 10:36:48 2010 -0400

    XORG_MANPAGE_SECTIONS: add MAN_SUBSTS automake variable
    
    It will replace the 155 copies in package makefiles
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 2dd06a9bcfa6868260421ae803fa7d34a5d3a0c9
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon May 17 07:37:28 2010 -0400

    XORG_RELEASE_VERSION: remove option --with-release-version #24816
    
    The short story:
    - this option has never been used by OS builders as intended
    - the implementation changes automake internals
    - the implementation breaks a few makefiles (if used)
    - one less option for the user to be confused with on all 240 xorg modules
    
    The long story:
    https://bugs.freedesktop.org/show_bug.cgi?id=24816
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 99f9a3efe2ba46f9ba446b72a402f239e3357c12
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun May 16 16:46:17 2010 -0400

    XORG_LINT_LIBRARY: rework to match XORG_WITH_LINT
    
    XORG_LINT_LIBRARY has implementations dependencies on XORG_WITH_LINT
    The library name can no longer be set by overloading the semantic
    of --enable-lint-library.
    If this function is required it should be added using an AC_ARG_VAR.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 2cbe2acb5c70a76830f6ddc1bdc66c333507996f
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sat May 15 14:16:36 2010 -0400

    XORG_WITH_LINT: rework and extend platform coverage
    
    Guess the lint program name by platform.
    Use ARG variable for user input values.
    Provide default flags per platform.
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 4fd20af3ebf6bcfa4e991af6fd11d78494e4b95b
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri May 14 20:19:15 2010 -0400

    XORG_DEFAULT_OPTIONS: add AC_PROG_INSTALL
    
    All modules install something.
    This makes it clear it can removed from modules config.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 958c872c82c0612911e398304111ea5d98dbe973
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri May 14 17:55:13 2010 -0400

    XORG_STRICT_OPTION: remove redundant expansion of AC_PROG_CC macro
    
    Calling AC_PROG_CC before AC_PROG_CC_C99 is not required.
    C99 is not an add-on to CC although either one will cache results
    than can be used by the other.
    
    This is effectively a no-op. Note that if a module configure.ac
    file calls AC_PROG_CC after AC_PROG_CC_C99, the compiler will be reset
    to ISO_C89 from ISO_C99.
    Currently about half the xorg modules use C89 while the other half use C99.
    
    Reviewed-by: Rémi Cardona <remi@gentoo.org>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 795e808cb32d183f9d8040749899e325420e9798
Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Date:   Tue Apr 13 03:57:58 2010 -0500

    doctools: accept an optional minimal version
    
    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>

commit 0913df6f5f24ea589b254d6f2a78483bf3a3c5d6
Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Date:   Fri Apr 9 12:40:12 2010 -0500

    linuxdoc: Use XORG_WITH_PS2PDF to check for ps2pdf
    
    Besides reusing existing code, this allows linuxdoc PDF output to be
    enabled or disabled by configure.
    
    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit e78c909f0e8ea3ee4a38fb7d93fe350bfae7990b
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Apr 27 15:00:37 2010 -0400

    LinuxDoc: add -f option to filter out the ^H in text output
    
    Remove backspace-overstrikes from the intermediate
    form generated by groff.
    These appear as blocks in some text editors and as ^H in vi.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit def9ff6a564b6b3a81a862e0db1673b3cd77d5ea
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Apr 5 08:02:28 2010 -0400

    Version bump: 1.7.0
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 5d7f8c2638a3b2c3bba8deb01e94703310b62cc4
Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Date:   Thu Mar 25 18:10:00 2010 -0500

    doc: add XORG_CHECK_SGML_DOCTOOLS to detect xorg-sgml-doctools
    
    Trying to find X11/defs.ent with AC_CHECK_FILE does not work when
    cross-compiling, and the check assumed that xorg-sgml-doctools is
    installed to the same prefix which need not always be the case.
    
    xorg-sgml-doctools 1.4 provides a pkg-config file which we can use
    instead, fixing both those cases.  This macro is provided in util-macros
    instead of with xorg-sgml-doctools, otherwise the latter would become a
    hard dependency just to run autoreconf.
    
    Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit c03e7dbca608f6fa3f1f53f5fc9f279eab62bdb4
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Mon Mar 29 11:53:10 2010 -0400

    config: remove the xorg-macros pc.in file from EXTRA_DIST
    
    Automake always includes it in the tarball.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit be6c44abf825a5814ca836165f62b66c30e7a966
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Thu Mar 11 11:11:42 2010 -0500

    Version bump: 1.6.1
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit b1660bfd095627778496bf403a741ff6ad44659a
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Mar 9 10:52:15 2010 -0500

    doc: fix typo in AC_MSG_CHECKING for XORG_CHECK_LINUXDOC
    
    The message should start with a lowercase letter.
    
    Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 2c833326fdd83039999b5563eb9f621ff57e3bf5
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Mar 9 10:13:22 2010 -0500

    doc: Specify minimum xmlto version to XORG_WITH_DOXYGEN
    
    Adds an optional parameter to XORG_WITH_DOXYGEN to enforce a minimum
    version needed like the asciidoc version check.
    
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit d7cedc8ce552581c9acbfbe373cbee16a689abef
Author: Dan Nicholson <dbn.lists@gmail.com>
Date:   Wed Mar 3 20:16:46 2010 -0800

    doc: Specify minimum xmlto version to XORG_WITH_XMLTO
    
    Adds an optional parameter to XORG_WITH_XMLTO to enforce a minimum
    version needed like the asciidoc version check.
    
    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>

commit c87b5e9657e3fa1270f7283ab8b16aed1be7b5fd
Author: Dan Nicholson <dbn.lists@gmail.com>
Date:   Wed Mar 3 20:16:45 2010 -0800

    doc: Specify minimum asciidoc version to XORG_WITH_ASCIIDOC
    
    Adds an optional parameter to XORG_WITH_ASCIIDOC to enforce a minimum
    version needed.
    
    Tested-by: Gaetan Nadon <memsize@videotron.ca>
    Tested-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>

commit a01b2ce6b196555660a64c43623acab1f6fea76a
Author: Dan Nicholson <dbn.lists@gmail.com>
Date:   Sat Feb 27 11:28:08 2010 -0800

    silent: Set AM_DEFAULT_VERBOSITY for compatibility on older automake
    
    Custom silent rules will become recursive on older automake where
    AM_SILENT_RULES is not included. Set AM_DEFAULT_VERBOSITY in this
    fallback case for compatibility.
    
    Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
    Reviewed-by: Gaetan Nadon <memsize@videotron.ca>

commit de24a6d42eafa1aaa089927e9b2c2c7ef8827550
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Feb 23 11:03:42 2010 -0500

    AM_SILENT_RULES: move from XORG_CWARNFLAGS to XORG_DEFAULT_OPTIONS
    
    This m4 statement does not belong in the macro for compiler
    warning flags. It is more appropriate to group it with the macro
    providing default options for X.Org modules.
    
    Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 0851a3455fddbbaef73fae088469a48f2f975783
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jan 29 14:02:26 2010 -0500

    Version bump: 1.6.0
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit a8f386498bb18c7f95f874a56e3526a1b0b3029c
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Tue Feb 2 17:14:00 2010 -0500

    doc: add XORG_ENABLE_DEVEL_DOCS and XORG_ENABLE_SPECS
    
    Identical to XORG_ENABLE_DOCS, this macros allows modules
    to classify docs per type and selectively control their building.
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 1df1e7fd649b4ff3e00a908d4ade54bc6b32892f
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Sun Jan 31 08:56:50 2010 -0500

    XORG_WITH_GROFF: add tests for -ms and -mm macro packages
    
    OS and distros often splits groff in a basic and full package, the former
    having the groff program and the later having devices, fonts and macros
    Checking for the groff executable is not enough.
    
    Use HAVE_GROFF if you do not use -ms or -mm
    Use HAVE_GROFF_MS and/or HAVE_GROFF_MM otherwise
    
    Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

commit 6fce3ec9157794d1a90ae28b2615c00ce84f95ed
Author: Gaetan Nadon <memsize@videotron.ca>
Date:   Fri Jan 29 10:47:40 2010 -0500

    Add XORG_ENABLE_DOCS to control the building of documentation
[--snip--]
