[PATCH v2] new: Detect dirent.d_type support at configure time

Tomi Ollila tomi.ollila at iki.fi
Wed Feb 12 22:55:19 PST 2014


On Thu, Feb 13 2014, Austin Clements <amdragon at MIT.EDU> wrote:

> 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.
> ---
> This is a trivial rebase of
> id:1385262952-29240-1-git-send-email-amdragon at mit.edu, which I
> apparently never got around to sending.  Tomi and Jani checked off v1
> of this patch, so I'm marking it ready.

Looks good. Applies cleanly. Tests pass.

Tomi



More information about the notmuch mailing list