This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: How to install "config.h"
- To: Robert Boehne <rboehne at ricardo-us dot com>
- Subject: Re: How to install "config.h"
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 26 Oct 2000 19:13:28 -0200
- Cc: automake at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <39F878CA.DEBBB607@ricardo-us.com>
On Oct 26, 2000, Robert Boehne <rboehne@ricardo-us.com> 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 aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me