[Top][All Lists]

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

Re: [PATCH 0/2] Modernize header checks

From: Russ Allbery
Subject: Re: [PATCH 0/2] Modernize header checks
Date: Fri, 31 May 2013 15:06:03 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Peter Rosin <address@hidden> writes:
> On 2013-05-31 19:19, Eric Blake wrote:

>> That said, would it hurt if autoconf just unconditionally defined the
>> macros that were previously conditionally defined by a probe, so that
>> code that was relying on HAVE_STRINGS_H instead of blind inclusion will
>> still compile?

> How would one do to be portable to both "some versions of FreeBSD" and
> MSVC, then? (MSVC 10 also lacks strings.h, btw) One camp needs
> HAVE_STRINGS_H to be defined and one needs to not have it defined.
> Sounds evil to unconditionally define it under those circumstances. Or
> have I misunderstood something?

Autoconf doesn't work with MSVC directly so far as I know.  All of the
packages I have that are ported to MSVC have a separate hand-written
config.h that's used for MSVC builds, and in that file one simply doesn't

Russ Allbery (address@hidden)             <>

reply via email to

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