[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf (GNU Autoconf) 2.57
From: |
Stepan Kasal |
Subject: |
Re: autoconf (GNU Autoconf) 2.57 |
Date: |
Thu, 3 Mar 2005 10:17:54 +0100 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Wed, Mar 02, 2005 at 10:59:10AM -0800, Siddhartha Goel wrote:
> As Yasunari had suggested, I added AC_CONFIG_HEADER([config.h]) to
> configure.ac [...]
that was right.
> [...] so I ran autoheader on configure.
That was wrong idea, it was like running compiler on a binary.
The generated shell script "configure" can be executed, but it cannot
be parsed by any auto* tool.
> Can anyone guide me as to how I can generate config.h?
In short, run ./configure, it "fills in" the template config.h.in,
creating config.h .
There is some overview in the autoconf manual, see
http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf_6.html
Have a nice day,
Stepan