build: do not automatically reconfigure unless configure.ac changed
authorJonathan Nieder <jrnieder@gmail.com>
Wed, 2 Jan 2013 08:25:44 +0000 (00:25 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jan 2013 17:47:28 +0000 (09:47 -0800)
commit122650457a619a6572c358ba9605a798ac771274
treeb0b243a7844f87854b0c9ab583e7b0d5e8b07e5b
parent7e2010537e96d0a1144520222f20ba1dc3d61441
build: do not automatically reconfigure unless configure.ac changed

Starting with v1.7.12-rc0~4^2 (build: reconfigure automatically if
configure.ac changes, 2012-07-19), "config.status --recheck" is
automatically run every time the "configure" script changes.  In
particular, that means the configuration procedure repeats whenever
the version number changes (since the configure script changes to
support "./configure --version" and "./configure --help"), making
bisecting painfully slow.

The intent was to make the reconfiguration process only trigger for
changes to configure.ac's logic.  Tweak the Makefile rule to match
that intent by depending on configure.ac instead of configure.

Reported-by: Martin von Zweigbergk <martinvonz@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Reviewed-by: Jeff King <peff@peff.net>
Reviewed-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile