commit-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

autoconf/lib/autoconf c.m4


From: Jim Meyering
Subject: autoconf/lib/autoconf c.m4
Date: Fri, 23 May 2003 05:36:17 -0400

CVSROOT:        /cvsroot/autoconf
Module name:    autoconf
Changes by:     Jim Meyering <address@hidden>   03/05/23 05:36:17

Modified files:
        lib/autoconf   : c.m4 

Log message:
        (_AC_PROG_CXX_EXIT_DECLARATION):
        Remove `#include <stdlib.h>' from the list; we should never
        make confdefs.h include <stdlib.h> or <cstdlib>, because the
        resulting namespace pollution would cause other tests to fail.
        Configure scripts run with some older versions of g++ and HP's
        aCC would fail due to such an #include.  Problems reported by
        Matthew Mueller in <http://bugs.debian.org/120704> and by
        Keith Bostic in
        <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>.
        In the test, use the test declaration before including <stdlib.h>,
        as that's closer to how it'll be used.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/autoconf/autoconf/lib/autoconf/c.m4.diff?tr1=1.178&tr2=1.179&r1=text&r2=text





reply via email to

[Prev in Thread] Current Thread [Next in Thread]