On line 72 above the exact same call is made:
check_type_size (int32_t INT32_T)

So this second call is superflous I think... the first call will already have set INT32_T to contain the size of the int32_t variable, and set the HAVE_INT32_T variable if it exists.

I get the use of JSON_INT32 in jansson itself :)