[Buildroot] [PATCH 07/19] bash: fix configuration

llandwerlin at gmail.com llandwerlin at gmail.com
Wed Jan 27 01:08:55 UTC 2010


From: Lionel Landwerlin <llandwerlin at gmail.com>

Patch bash32-011 modifies the configure.in script. Therefor we need to
run autoconf before launching the configure script. Otherwise, once
the configure script called, the makefile's dependencies over
configure.in will relaunch autoconf without options/environnement
variables we usually set when calling configure.

Signed-off-by: Lionel Landwerlin <llandwerlin at gmail.com>
---
 package/bash/bash.mk |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/package/bash/bash.mk b/package/bash/bash.mk
index 705ce8d..08039e2 100644
--- a/package/bash/bash.mk
+++ b/package/bash/bash.mk
@@ -32,7 +32,8 @@ $(BASH_DIR)/.unpacked: $(DL_DIR)/$(BASH_SOURCE)
 $(BASH_DIR)/.configured: $(BASH_DIR)/.unpacked
 	# bash_cv_have_mbstate_t=yes
 	(cd $(BASH_DIR); rm -rf config.cache; \
-		$(TARGET_CONFIGURE_OPTS) \
+                autoconf && \
+	        $(TARGET_CONFIGURE_OPTS) \
 		$(TARGET_CONFIGURE_ARGS) \
 		CCFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \
 		ac_cv_func_setvbuf_reversed=no \
-- 
1.6.6



More information about the buildroot mailing list