Allow reconfig from any directory, not just the top build directory, by

changing directory first. Also make sure that we don't attempt to run
config.status if the recheck didn't work.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18351 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-11-29 12:37:44 +00:00
parent 8c8af327b8
commit 7d277000af

View File

@ -88,8 +88,9 @@ $(BUILT_SOURCES) : $(ObjMakefiles)
.PRECIOUS: $(ConfigStatusScript)
$(ConfigStatusScript): $(ConfigureScript)
$(Echo) Reconfiguring with $<
$(Verb) $(ConfigStatusScript) --recheck $(ConfigureScriptFLAGS)
$(Verb) $(ConfigStatusScript)
$(Verb) cd $(BUILD_OBJ_ROOT) && \
$(ConfigStatusScript) --recheck $(ConfigureScriptFLAGS) && \
$(ConfigStatusScript)
#------------------------------------------------------------------------
# Make sure the configuration makefile is up to date