automake
[Top][All Lists]
Advanced

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

Re: How to install "config.h"


From: Alexandre Oliva
Subject: Re: How to install "config.h"
Date: 26 Oct 2000 19:13:28 -0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

On Oct 26, 2000, Robert Boehne <address@hidden> wrote:

> Since users then need to have _all_ the header files
> they also need to have the configure generated config.h

> What is the "best" way to coerce Automake into installing
> config.h in $(prefix) ?

If you really want to have it installed, don't call it `config.h', or
at least install it in include/<your-package-name>.  To accomplish
that, use:

pkginclude_HEADERS = config.h ...

And use `#include <your-package-name/config.h>' in all other headers
that include it.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  address@hidden, redhat.com}
CS PhD student at IC-Unicamp        address@hidden, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



reply via email to

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