Commit b3ad9649 authored by Wayne Davison's avatar Wayne Davison

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

parent d4d56eed
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment