]> git.cworth.org Git - notmuch/commitdiff
new: Detect dirent.d_type support at configure time
authorAustin Clements <amdragon@MIT.EDU>
Thu, 13 Feb 2014 06:50:59 +0000 (01:50 -0500)
committerDavid Bremner <david@tethera.net>
Fri, 14 Feb 2014 12:42:45 +0000 (08:42 -0400)
Support for dirent.d_type is OS-specific.  Previously, we used
_DIRENT_HAVE_D_TYPE to detect support for this, but this is apparently
a glic-ism (FreeBSD, for example, supports d_type, but does not define
this).  Since there's no cross-platform way to detect support for
dirent.d_type, detect it using a test compile at configure time.


No differences found