[Top][All Lists]

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

Re: Why manual says *don't* add config.h to _SOURCES definition!?!

From: Richard Dawe
Subject: Re: Why manual says *don't* add config.h to _SOURCES definition!?!
Date: Thu, 17 Apr 2003 23:03:29 +0100


address@hidden wrote:
> On page 24 of automake manual....
> "In case it isn't obvious, you should not include the
> header file generated by 'configure' in a
> '_SOURCES' variable; this file should not be
> distributed."
> I thought source code /should/ #include "config.h"
> so C preprocessor can have access to it at compile time.

Yes. But the manual is talking about defining a variable with the SOURCES
suffix in a That has nothing to do with your C code.

A user of your package would run the configure script, which generates
config.h. So you don't need to include config.h in your package.

Bye, Rich =]

Richard Dawe [ ]

reply via email to

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