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

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

Date: Thu, 13 Feb 2014 08:55:19 +0200

To: Austin Clements, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Thu, Feb 13 2014, Austin Clements <amdragon@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@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


Thread: