Fix Savannah bug #44261.

* builds/unix/detect.mk (setup) [unix]: Set `CONFIG_SHELL' in the
environment also while calling the configure script.
This commit is contained in:
Werner Lemberg 2015-02-16 07:29:53 +01:00
parent 587351b7e2
commit 0814b80fde
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2015-02-16 Werner Lemberg <wl@gnu.org>
Fix Savannah bug #44261.
* builds/unix/detect.mk (setup) [unix]: Set `CONFIG_SHELL' in the
environment also while calling the configure script.
2015-02-16 Werner Lemberg <wl@gnu.org>
* include/internal/ftmemory.h: Add some `FT_Offset' casts.

View File

@ -81,9 +81,12 @@ ifeq ($(PLATFORM),unix)
ifdef must_configure
ifneq ($(have_Makefile),)
# we are building FT2 not in the src tree
$(CONFIG_SHELL) $(TOP_DIR)/builds/unix/configure $(value CFG)
CONFIG_SHELL="$(CONFIG_SHELL)" \
$(CONFIG_SHELL) $(TOP_DIR)/builds/unix/configure $(value CFG)
else
cd builds/unix; $(CONFIG_SHELL) ./configure $(value CFG)
cd builds/unix; \
CONFIG_SHELL="$(CONFIG_SHELL)" \
$(CONFIG_SHELL) ./configure $(value CFG)
endif
endif