summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2008-11-11 15:51:03 -0800
committerWayne Davison <wayned@samba.org>2008-11-11 15:55:14 -0800
commitb3ad9649bcee09230952730b0ed5578cdd6f01ac (patch)
treedf81c7f754bd6c5bf6dc217a33158e45253434ba /Makefile.in
parentd4d56eed8a2dfdd2cd78a19f9c1bae02496427e3 (diff)
downloadrsync-b3ad9649bcee09230952730b0ed5578cdd6f01ac.tar.gz
A "make reconfigure" doesn't stop if configure changes.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index be2235a0..48e159a6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -140,9 +140,13 @@ configure.sh config.h.in: configure.in aclocal.m4
rm config.h.in.old; \
fi
@if test -f configure.sh.old -o -f config.h.in.old; then \
- echo 'Configure files changed -- perhaps run:'; \
- echo ' make reconfigure'; \
- exit 1; \
+ if test "$(MAKECMDGOALS)" = reconfigure; then \
+ echo 'Configure files changed -- continuing with "make reconfigure".'; \
+ else \
+ echo 'Configure files changed -- perhaps run:'; \
+ echo ' make reconfigure'; \
+ exit 1; \
+ fi \
fi
reconfigure: configure.sh