remove use of AM_PROG_CC_STDC as AC_PROG_CC does it. & autotools: move to AC_CONFIG_HEADERS.

updated version setup from hex to dec