Remove configure.h and completely replaced by autoconf.
Move some library detection into autoconf.
Check local_options in autoconf.
Get rid of system_libs, library checking is in autoconf now.