1.1 --- a/scripts/build/libc/glibc.sh Wed Apr 21 18:54:58 2010 +0200
1.2 +++ b/scripts/build/libc/glibc.sh Mon Aug 23 14:32:16 2010 +0200
1.3 @@ -409,6 +409,19 @@
1.4 echo libc_cv_c_cleanup=yes
1.5 fi >config.cache
1.6
1.7 + # ./configure is mislead by our tools override wrapper for bash
1.8 + # so just tell it where the real bash is _on_the_target_!
1.9 + # Notes:
1.10 + # - ${ac_cv_path_BASH_SHELL} is only used to set BASH_SHELL
1.11 + # - ${BASH_SHELL} is only used to set BASH
1.12 + # - ${BASH} is only used to set the shebang
1.13 + # in two scripts to run on the target
1.14 + # So we can safely bypass bash detection at compile time.
1.15 + # Should this change in a future glibc release, we'd better
1.16 + # directly mangle the generated scripts _after_ they get built,
1.17 + # or even after they get installed... glibc is such a sucker...
1.18 + echo "ac_cv_path_BASH_SHELL=/bin/bash" >>config.cache
1.19 +
1.20 # Configure with --prefix the way we want it on the target...
1.21 # There are a whole lot of settings here. You'll probably want
1.22 # to read up on what they all mean, and customize a bit, possibly by setting GLIBC_EXTRA_CONFIG