add m4 macro for checking compiler flags
Merge branch 'gozer'
On newer systems, JSON-c headers are under json/
let autoconf find where json-c lives
add portable format for 64 bit int