[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: possible of include of incorrect config.h file
From: |
Gavin Smith |
Subject: |
Re: possible of include of incorrect config.h file |
Date: |
Wed, 19 Aug 2015 15:04:06 +0100 |
On 19 August 2015 at 14:53, Patrice Dumas <address@hidden> wrote:
>> Why wouldn't the config.h exist?
>
> It should exist in general, but if for some reason it does not, there
> will be no easy way to understand that a change in behaviour or an error
> happens because the config.h file included is the perl one and not the
> one done by configure.
>
> It is not for the common cases, but an extra security, and I only raise
> that issue because the config.h file from perl is in a directory
> searched for by the preprocessor, if not I wouldn't propose that. Also
> I raise that issue because it happened to me, when doing the standalone
> module, it compiled while it shouldn't have.
I thought it shouldn't happen because of the HAVE_CONFIG_H guard that
you added. If you don't think that's enough, feel free to change it.