ref: 0814b80fdeb473367e2890a7c1f20e7d4735d467
parent: 587351b7e22fc0a543f5556ef6a2265135d11748
author: Werner Lemberg <[email protected]>
date: Mon Feb 16 02:29:53 EST 2015
Fix Savannah bug #44261. * builds/unix/detect.mk (setup) [unix]: Set `CONFIG_SHELL' in the environment also while calling the configure script.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2015-02-16 Werner Lemberg <[email protected]>
+ 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 <[email protected]>
+
* include/internal/ftmemory.h: Add some `FT_Offset' casts.
(FT_MEM_SET, FT_MEM_COPY, FT_MEM_MOVE, FT_ARRAY_ZERO, FT_ARRAY_COPY,
FT_MEM_MOVE): Do it.
--- a/builds/unix/detect.mk
+++ b/builds/unix/detect.mk
@@ -81,9 +81,12 @@
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