macros: Changes to 'master'

Gaetan Nadon gnadon at kemper.freedesktop.org
Sat Mar 12 04:33:18 PST 2011


 xorg-macros.m4.in |  188 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 188 insertions(+)

New commits:
commit 700ecdc16426c14e649439138e8e40cdc41fe1c1
Author: Gaetan Nadon <memsize at 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 at videotron.ca>

commit 380074140f7b1e3f8ea006a4b1d928d23706b81d
Author: Gaetan Nadon <memsize at 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 at gmail.com>
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

commit 78af2b882e01b17e38d1361a4a58b7768bb59bec
Author: Gaetan Nadon <memsize at 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 at gmail.com>
    Signed-off-by: Gaetan Nadon <memsize at videotron.ca>



More information about the xorg-commit mailing list