move magic configureFlags into the stdenv
add flag to hide ac_cv_func configure options
Merge branch 'pure-darwin' of https://github.com/gridaphobe/nixpkgs into pure-darwin