use isfinite() or finite() depending on availability
pointer warning fixes
upgrade autotools
remove errors with ./configure --enable-Werror