When reconfiguring, quote env var values in case they contain whitespaces

svn-id: r29502
This commit is contained in:
Max Horn 2007-11-14 19:23:20 +00:00
parent 254369540c
commit 1beb50f03e

View File

@ -47,7 +47,7 @@ config.mk: $(srcdir)/configure
ifdef CONFIG_MK_IS_PRESENT
@echo "Running $(srcdir)/configure with the last specified parameters"
@sleep 2s
LDFLAGS=$(SAVED_LDFLAGS) CXX=$(SAVED_CXX) CXXFLAGS=$(SAVED_CXXFLAGS) CPPFLAGS=$(SAVED_CPPFLAGS) \
LDFLAGS="$(SAVED_LDFLAGS)" CXX="$(SAVED_CXX)" CXXFLAGS="$(SAVED_CXXFLAGS)" CPPFLAGS="$(SAVED_CPPFLAGS)" \
$(srcdir)/configure $(SAVED_CONFIGFLAGS)
else
$(error You need to run $(srcdir)/configure before you can run make. Check $(srcdir)/configure --help for a list of parameters)