autoconf
[Top][All Lists]
Advanced

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

Re: run configure on different machines


From: A.P. Horst
Subject: Re: run configure on different machines
Date: Fri, 26 Jul 2013 11:27:57 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7


On 26-7-2013 12:06, Guido Draheim wrote:
Am 25.07.2013 14:17, schrieb A.P. Horst:
Hello,

for several projects we use autoconf for configuration and checking. Now a colleague of mine checked out one of these projects, tried to configure it (seemingly succeeded), but the build failed. It turns out that config.h generated by configure is full of #undef [something]. Nothing is defined, not even PACKAGE. In fact, there is also an #undef PACKAGE.
How can this be? Isn't configure supposed to work across machines?
The problem got solved by him running autoreconf -i. But I do not think this is how it is supposed to be.



There can be multiple possible reasons for that behviour.
First of all, I am wondering whether you have committed
the config.h file to the version control repository - if
so then delete it and add it to the ignore-files list.

Also state the automake-version as some version have tried
to be very minimalistic about recompiling when unnecessary.
Since some version control systems will have an interesting
handling of file mtime it might turn out that the makefile
rules were setup so that it thought there is no need to
regenerate the config.h - please check the mtimes of the
files that you would expect to get configure-generated.


There are no configure generated files in the repos, we have a strict policy to never configure in the source tree. So config.h is freshly generated. The automake version of both my colleague and mine is 1.11.1, and autoconf version are both 2.68.
Gets weirder by the minute, doesn't it?

Arie





reply via email to

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