Update configure.ac

Added compiler checks. Needs more work. Buggy...
Update configure.ac

Better compiler checks.
version up