Bug 37316 - autoreconf of libX11 produces warnings
Summary: autoreconf of libX11 produces warnings
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Build/Modular (show other bugs)
Version: 7.6 (2010.12)
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Alan Coopersmith
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-18 06:24 UTC by Christopher Yeleighton
Modified: 2011-10-09 03:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
fix (629 bytes, patch)
2011-05-18 12:20 UTC, Christopher Yeleighton
no flags Details | Splinter Review

Description Christopher Yeleighton 2011-05-18 06:24:27 UTC
+ autoreconf -fi
configure.ac:33: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
/usr/share/aclocal/xorg-macros.m4:58: XORG_PROG_RAWCPP is expanded from...
configure.ac:33: the top level
configure.ac:443: 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...
/usr/share/aclocal/xorg-macros.m4:898: XORG_CHECK_MALLOC_ZERO is expanded from...
configure.ac:443: the top level
Comment 1 Alan Coopersmith 2011-05-18 07:22:35 UTC
XORG_CHECK_MALLOC_ZERO:
http://cgit.freedesktop.org/xorg/util/macros/commit/?id=7370b0b3f0308aec2a32012eddb2f0761d5fe399 
(included in util-macros 1.12.0 and later)

XORG_PROG_RAWCPP:
http://patchwork.freedesktop.org/patch/5473/
(proposed for util-macros 1.14.0 and later)
Comment 2 Christopher Yeleighton 2011-05-18 12:20:28 UTC
Created attachment 46873 [details] [review]
fix
Comment 3 Jeremy Huddleston Sequoia 2011-10-09 03:09:36 UTC
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>


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.