Stripped out unnecessary bits (i.e. most) of ferrismacros.m4
changed AC_TRY_RUN and AC_TRY_LINK (deprecated) calls to their
alternatives based on AC_RUN_IFELSE and AC_LINK_IFELSE
Fixes to configure.ac so autoreconf and configure will work.