--- configure.orig 2010-03-25 20:36:48.000000000 +0200 +++ configure 2010-03-25 20:37:46.000000000 +0200 @@ -1,6 +1,17 @@ #!/bin/bash -export LANG="POSIX" +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + unset $as_var + fi +done CMD="$@"