Re: [PATCH] build: avoid unnecessary rebuild of iptables when rerunning configure

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

 



Jan Engelhardt <jengelh@xxxxxxx> wrote:
> Running configure always touches xtables/xtables-version.h, which
> causes parts to rebuild even when the configuration has not changed.
> (`./configure; make; ./configure; make;`).
> 
> This can be avoided if the AC_CONFIG_FILES mechanism is replaced by
> one that does a compare and leaves an existing xtables-version.h
> unmodified if the sed result stays the same when it re-runs.

bash autogen.sh
./configure
make

build ends with:
Making all in include
make[2]: Entering directory
'/home/fw/git/netfilter.org/iptables/include'
make[2]: *** No rule to make target 'xtables-version.h', needed by 'all-am'.  Stop.
make[2]: Leaving directory '/home/fw/git/netfilter.org/iptables/include'
make[1]: *** [Makefile:501: all-recursive] Error 1



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux