macros: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Tue Dec 7 19:08:43 PST 2010


 xorg-macros.m4.in |   14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

New commits:
commit 7370b0b3f0308aec2a32012eddb2f0761d5fe399
Author: Alan Coopersmith <alan.coopersmith at 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 at oracle.com>
    Reviewed-by: Matt Turner <mattst88 at gmail.com>
    Reviewed-by: Dan Nicholson <dbn.lists at gmail.com>
    Reviewed-by: Gaetan Nadon <memsize at videotron.ca>



More information about the xorg-commit mailing list