[Top][All Lists]

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

Re: preventing autoheader from overwriting my files...

From: Stephen Torri
Subject: Re: preventing autoheader from overwriting my files...
Date: Wed, 14 Jul 2004 16:52:56 -0400

On Wed, 2004-07-14 at 15:23, Dale E Martin wrote:
> Hello.  I've got a header file I want autotools to handle for me,
> WarpedConfig.h.  My has header guards in it and has
> "#undef"s for all of the things I want defined.  I have this in my
> AC_CONFIG_HEADERS([src/warped/WarpedConfig.h:src/warped/])
> Normally this works fine.  But I have noticed that if I manually run
> "autoheader" the file gets overwritten.  And occasionally
> it happens with "autoreconf -i" as well.
> Am I do something wrong, missing something, or is this a feature I don't
> understand?

Do not include in the AC_CONFIG_HEADERS. Autoheader
only needs the end result WarpedConfig.h in the AC_CONFIG_HEADERS. It
will scan the file and create
Autoconfigure script will take that file and the user configurations
chosen and generate the end result file WarpedConfig.h in src/warped

I hope this helps.

Stephen Torri <address@hidden>

reply via email to

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