use config.status when available

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38313 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2015-01-31 20:46:56 +00:00
parent 7e1b80bb32
commit 483b57e80c

View file

@ -81,12 +81,16 @@ after-distclean::
# Automatically run ./configure if needed to generate the makefiles
# which we need in order to do our job. If you need any special
# argument to ./configure, you can't rely on this rule, and you must
# always run ./configure manually. This rule is usually executed
# argument to ./configure, you can't rely on this rule, and you should
# usually run ./configure manually. This rule is often executed
# whenever 'make xxx' is invoked after a 'make distclean' - which is
# why we can't guess what the ./configure arguments were last time
# ./configure was called - make distclean cleans the sources
# completely, wiping out any memory of specific configuration.
config.mak base.make: config.mak.in base.make.in Version configure
./configure
if [ -x config.status ]; then \
./config.status --recheck; \
else \
./configure; \
fi