commit-inetutils
[Top][All Lists]
Advanced

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

inetutils configure.ac


From: Sergey Poznyakoff
Subject: inetutils configure.ac
Date: Tue, 14 May 2002 11:12:42 -0400

CVSROOT:        /cvsroot/inetutils
Module name:    inetutils
Changes by:     Sergey Poznyakoff <address@hidden>      02/05/14 11:12:42

Modified files:
        .              : configure.ac 

Log message:
        AC_CHECK_MEMBERS (as of version 2.53 ) fails to
        recognize the presense of a structure member which is itself
        of an aggregate type. Thus, tests for struct ifreq.ifr_netmask
        and struct ifreq.ifr_broadaddr always fail. To work around the
        bug, first check for a non-aggregate sub-member of the member
        in question and then create an appropriate HAVE_ define.
        
        Use AC_CHECK_DECLS on crypt and errno, as AC_CHECK_DECL does
        not generate HAVE_DECL_ define.
        
        (AH_BOTTOMs): Checks for HAVE_DECL variables must read
        #if !HAVE_DECL_something, since AC_CHECK_DECLS always
        declares HAVE_DECL, either to 0 or to 1. The only
        exception is HAVE_DECL_HSTRERROR, whose AC_CHECK_DECLS
        is under a conditional expression, so we have to
        check for !defined(HAVE_DECL_HSTRERROR) first.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/inetutils/inetutils/configure.ac.diff?tr1=1.7&tr2=1.8&r1=text&r2=text




reply via email to

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