autoconf
[Top][All Lists]
Advanced

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

Re: question about AC_STRUCT_DIRENT_D_TYPE


From: Eric Blake
Subject: Re: question about AC_STRUCT_DIRENT_D_TYPE
Date: Mon, 01 Nov 2010 09:09:57 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Mnenhy/0.8.3 Thunderbird/3.1.4

On 10/30/2010 01:56 AM, Vincent Torri wrote:
> 
> Hey,
> 
> in the autoconf manual, it is said that AC_STRUCT_DIRENT_D_TYPE
> "performs all the actions of AC_HEADER_DIRENT". And in the doc of
> AC_HEADER_DIRENT :
> 
> "This macro is obsolescent"
> 
> Does it mean that AC_STRUCT_DIRENT_D_TYPE is also obsolescent ?

No, AC_STRUCT_DIRENT_D_TYPE is not obsolescent.  What is obsolescent is
needing to check for <direct.h> instead of <dirent.h> before using
d_type, if it is determined that d_type exists.

Documentation patches welcome to make this situation less confusing.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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