1.1 --- a/scripts/crosstool.sh Sun Sep 16 17:59:18 2007 +0000
1.2 +++ b/scripts/crosstool.sh Sun Sep 23 17:08:09 2007 +0000
1.3 @@ -42,22 +42,6 @@
1.4 unset MAKEFLAGS
1.5 export MAKEFLAGS
1.6
1.7 -# Enable known ordering of files in directory listings:
1.8 -CT_Test "crosstool-NG might not work as expected with LANG=\"${LANG}\"" -n "${LANG}"
1.9 -case "${LC_COLLATE},${LC_ALL}" in
1.10 - # These four combinations are known to sort files in the correct order:
1.11 - fr_FR*,) ;;
1.12 - en_US*,) ;;
1.13 - *,fr_FR*) ;;
1.14 - *,en_US*) ;;
1.15 - # Anything else is destined to be borked if not gracefuly handled:
1.16 - *) CT_DoLog WARN "Either LC_COLLATE=\"${LC_COLLATE}\" or LC_ALL=\"${LC_ALL}\" is not supported."
1.17 - export LC_ALL=`locale -a |egrep "^(fr_FR|en_US)" |head -n 1`
1.18 - CT_TestOrAbort "Neither en_US* nor fr_FR* locales found on your system." -n "${LC_ALL}"
1.19 - CT_DoLog WARN "Forcing to known working LC_ALL=\"${LC_ALL}\"."
1.20 - ;;
1.21 -esac
1.22 -
1.23 # Other environment sanity checks
1.24 CT_TestAndAbort "Don't set LD_LIBRARY_PATH. It screws up the build." -n "${LD_LIBRARY_PATH}"
1.25 CT_TestAndAbort "Don't set CFLAGS. It screws up the build." -n "${CFLAGS}"