Commit d0d7ee047b68d7417deef0b1616c3c949ea8a28e

Werner Lemberg 2015-08-14T14:30:58

* builds/unix/detect.mk (CONFIG_SHELL): Don't handle it (#44261).

diff --git a/ChangeLog b/ChangeLog
index f5094ae..ea323f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-14  Andreas Enge  <andreas.enge@inria.fr>
+
+	* builds/unix/detect.mk (CONFIG_SHELL): Don't handle it (#44261).
+
 2015-08-13  Werner Lemberg  <wl@gnu.org>
 
 	[truetype] Introduce named instance access to GX fonts.
diff --git a/builds/unix/detect.mk b/builds/unix/detect.mk
index ef007bf..025ed49 100644
--- a/builds/unix/detect.mk
+++ b/builds/unix/detect.mk
@@ -76,17 +76,14 @@ ifeq ($(PLATFORM),unix)
 
   have_Makefile := $(wildcard $(OBJ_DIR)/Makefile)
 
-      CONFIG_SHELL ?= /bin/sh
       setup: std_setup
   ifdef must_configure
     ifneq ($(have_Makefile),)
       # we are building FT2 not in the src tree
-	      CONFIG_SHELL="$(CONFIG_SHELL)" \
-	        $(CONFIG_SHELL) $(TOP_DIR)/builds/unix/configure $(value CFG)
+	        $(TOP_DIR)/builds/unix/configure $(value CFG)
     else
 	      cd builds/unix; \
-	      CONFIG_SHELL="$(CONFIG_SHELL)" \
-	        $(CONFIG_SHELL) ./configure $(value CFG)
+	        ./configure $(value CFG)
     endif
   endif