use config.status when available

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38316 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2015-01-31 20:52:53 +00:00
parent 0d429924ce
commit fae0957a46

View file

@ -76,10 +76,18 @@ after-distclean::
# after-check::
config.mak: config.mak.in
./configure
if [ -x config.status ]; then \
./config.status --recheck; \
else \
./configure; \
fi
config.h: config.h.in
./configure
if [ -x config.status ]; then \
./config.status --recheck; \
else \
./configure; \
fi
# PS: the config.h file is specific to the target that was configured.
# At the moment, we use a single config.h file in ./, so if you want