@@ -7433,6 +7433,21 @@ $as_echo "#define gid_t int" >>confdefs.h
74337433
74347434fi
74357435
7436+
7437+ # There are two separate checks for each of the exact-width integer types we
7438+ # need. First we check whether the type is available using the usual
7439+ # AC_CHECK_TYPE macro with the default includes (which includes <inttypes.h>
7440+ # and <stdint.h> where available). We then also use the special type checks of
7441+ # the form AC_TYPE_UINT32_T, which in the case that uint32_t is not available
7442+ # directly, #define's uint32_t to be a suitable type.
7443+
7444+ ac_fn_c_check_type " $LINENO " " uint32_t" " ac_cv_type_uint32_t" " $ac_includes_default "
7445+ if test " x$ac_cv_type_uint32_t " = xyes; then :
7446+
7447+ $as_echo " #define HAVE_UINT32_T 1" >> confdefs.h
7448+
7449+ fi
7450+
74367451ac_fn_c_find_uintX_t " $LINENO " " 32" " ac_cv_c_uint32_t"
74377452case $ac_cv_c_uint32_t in # (
74387453 no|yes) ;; # (
@@ -7447,6 +7462,14 @@ _ACEOF
74477462;;
74487463 esac
74497464
7465+
7466+ ac_fn_c_check_type " $LINENO " " uint64_t" " ac_cv_type_uint64_t" " $ac_includes_default "
7467+ if test " x$ac_cv_type_uint64_t " = xyes; then :
7468+
7469+ $as_echo " #define HAVE_UINT64_T 1" >> confdefs.h
7470+
7471+ fi
7472+
74507473ac_fn_c_find_uintX_t " $LINENO " " 64" " ac_cv_c_uint64_t"
74517474case $ac_cv_c_uint64_t in # (
74527475 no|yes) ;; # (
@@ -7461,6 +7484,14 @@ _ACEOF
74617484;;
74627485 esac
74637486
7487+
7488+ ac_fn_c_check_type " $LINENO " " int32_t" " ac_cv_type_int32_t" " $ac_includes_default "
7489+ if test " x$ac_cv_type_int32_t " = xyes; then :
7490+
7491+ $as_echo " #define HAVE_INT32_T 1" >> confdefs.h
7492+
7493+ fi
7494+
74647495ac_fn_c_find_intX_t " $LINENO " " 32" " ac_cv_c_int32_t"
74657496case $ac_cv_c_int32_t in # (
74667497 no|yes) ;; # (
@@ -7472,6 +7503,14 @@ _ACEOF
74727503;;
74737504esac
74747505
7506+
7507+ ac_fn_c_check_type " $LINENO " " int64_t" " ac_cv_type_int64_t" " $ac_includes_default "
7508+ if test " x$ac_cv_type_int64_t " = xyes; then :
7509+
7510+ $as_echo " #define HAVE_INT64_T 1" >> confdefs.h
7511+
7512+ fi
7513+
74757514ac_fn_c_find_intX_t " $LINENO " " 64" " ac_cv_c_int64_t"
74767515case $ac_cv_c_int64_t in # (
74777516 no|yes) ;; # (
@@ -7483,6 +7522,7 @@ _ACEOF
74837522;;
74847523esac
74857524
7525+
74867526ac_fn_c_check_type " $LINENO " " ssize_t" " ac_cv_type_ssize_t" " $ac_includes_default "
74877527if test " x$ac_cv_type_ssize_t " = xyes; then :
74887528
0 commit comments