add AC_C_INLINE as suggested by autoscan

'inline' used by messages.h
fix whitespace
add one-line license info

added to all files previously lacking license info