]>
Commit | Line | Data |
---|---|---|
16c44ed2 NS |
1 | # |
2 | # Check if we have a type for the pointer's size integer (__psint_t) | |
3 | # | |
4 | AC_DEFUN([AC_TYPE_PSINT], | |
5 | [ AC_MSG_CHECKING([for __psint_t ]) | |
6 | AC_TRY_COMPILE([ | |
7 | #include <sys/types.h> | |
8 | #include <stdlib.h> | |
9 | #include <stddef.h> | |
10 | ], [ | |
11 | __psint_t psint; | |
12 | ], AC_DEFINE(HAVE___PSINT_T) AC_MSG_RESULT(yes) , AC_MSG_RESULT(no)) | |
13 | ]) | |
14 | ||
15 | # | |
16 | # Check if we have a type for the pointer's size unsigned (__psunsigned_t) | |
17 | # | |
18 | AC_DEFUN([AC_TYPE_PSUNSIGNED], | |
19 | [ AC_MSG_CHECKING([for __psunsigned_t ]) | |
20 | AC_TRY_COMPILE([ | |
21 | #include <sys/types.h> | |
22 | #include <stdlib.h> | |
23 | #include <stddef.h> | |
24 | ], [ | |
25 | __psunsigned_t psuint; | |
26 | ], AC_DEFINE(HAVE___PSUNSIGNED_T) AC_MSG_RESULT(yes) , AC_MSG_RESULT(no)) | |
27 | ]) | |
28 | ||
7413a3b2 TS |
29 | # |
30 | # Check if we have a type for __u32 | |
31 | # | |
32 | AC_DEFUN([AC_TYPE_U32], | |
33 | [ AC_MSG_CHECKING([for __u32 ]) | |
34 | AC_TRY_COMPILE([ | |
35 | #include <asm/types.h> | |
36 | #include <stdlib.h> | |
37 | #include <stddef.h> | |
38 | ], [ | |
39 | __u32 u32; | |
be609724 | 40 | ], AC_DEFINE(HAVE___U32) AC_MSG_RESULT(yes) , AC_MSG_RESULT(no)) |
7413a3b2 | 41 | ]) |