new configuration code fails to cope with nix gcc detecting readline. svn path=/nixpkgs/trunk/; revision=28968