autoconf
[Top][All Lists]
Advanced

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

why check for config.h ?


From: Ionutz Borcoman
Subject: why check for config.h ?
Date: Fri, 12 Jul 2002 10:23:58 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020214

Hi,

Why all to docs about autotools suggest to guard the include of config.h like this ?

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

Is it possible to don't have it, if I've explicitly requested it to be generated by AM_CONFIG_HEADERS ?

Why can't I just say ?

#include "config.h"

TIA,

Ionutz




reply via email to

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