Yeah looking back at it some of them are a little fishy to be used as default. I'll add an `if test "x$CC" = "xclang"` for the `ac_cv_have_decl`'s and skipping ASL. The `LDFLAGS="-Wl,--no-as-needed"` is actually needed even with GCC for Ubuntu 13.10.