File tree 1 file changed +38
-0
lines changed 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -2997,6 +2997,7 @@ END
2997
2997
fi
2998
2998
fi
2999
2999
3000
+
3000
3001
# Checks for programs.
3001
3002
DEPDIR=" ${am__leading_dot} deps"
3002
3003
@@ -5298,6 +5299,43 @@ _ACEOF
5298
5299
esac
5299
5300
5300
5301
5302
+ ac_fn_c_check_type " $LINENO " " uintptr_t" " ac_cv_type_uintptr_t" " $ac_includes_default "
5303
+ if test " x$ac_cv_type_uintptr_t " = xyes; then :
5304
+
5305
+ $as_echo " #define HAVE_UINTPTR_T 1" >> confdefs.h
5306
+
5307
+ else
5308
+ for ac_type in ' unsigned int' ' unsigned long int' \
5309
+ ' unsigned long long int' ; do
5310
+ cat confdefs.h - << _ACEOF >conftest.$ac_ext
5311
+ /* end confdefs.h. */
5312
+ $ac_includes_default
5313
+ int
5314
+ main ()
5315
+ {
5316
+ static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type ))];
5317
+ test_array [0] = 0;
5318
+ return test_array [0];
5319
+
5320
+ ;
5321
+ return 0;
5322
+ }
5323
+ _ACEOF
5324
+ if ac_fn_c_try_compile " $LINENO " ; then :
5325
+
5326
+ cat >> confdefs.h << _ACEOF
5327
+ #define uintptr_t $ac_type
5328
+ _ACEOF
5329
+
5330
+ ac_type=
5331
+ fi
5332
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5333
+ test -z " $ac_type " && break
5334
+ done
5335
+ fi
5336
+
5337
+
5338
+
5301
5339
# Checks for library functions.
5302
5340
for ac_header in stdlib.h
5303
5341
do :
You can’t perform that action at this time.
0 commit comments