A "make reconfigure" doesn't stop if configure changes.

This commit is contained in:
Wayne Davison
2008-11-11 15:51:03 -08:00
parent e401b30403
commit af03a7049c

View File

@@ -139,9 +139,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