diff options
author | dos-reis <gdr@axiomatics.org> | 2010-08-13 23:32:01 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-08-13 23:32:01 +0000 |
commit | 21dae51d675169c95cbea20bde6b3fa010899931 (patch) | |
tree | f2eee3b175a794f737a2d5b0fbe732efe7763c10 /config | |
parent | 13112984fd32d4684959a923497a9a476981283e (diff) | |
download | open-axiom-21dae51d675169c95cbea20bde6b3fa010899931.tar.gz |
* config/open-axiom.m4 (OPENAXIOM_STANDARD_INTEGER_TYPES): New macro.
* configure.ac.pamphlet: Use it.
Diffstat (limited to 'config')
-rw-r--r-- | config/open-axiom.m4 | 15 | ||||
-rw-r--r-- | config/openaxiom-c-macros.h.in | 52 |
2 files changed, 66 insertions, 1 deletions
diff --git a/config/open-axiom.m4 b/config/open-axiom.m4 index 6c21408d..ab875502 100644 --- a/config/open-axiom.m4 +++ b/config/open-axiom.m4 @@ -1,3 +1,16 @@ -AC_DEFUN([AXIOM_MAKEFILE], +AC_DEFUN([OPENAXIOM_MAKEFILE], [AC_CONFIG_FILES([$1:config/var-def.mk:$1.in:config/setup-dep.mk])]) +dnl Check for availability of standard sized integer types. +AC_DEFUN([OPENAXIOM_STANDARD_INTEGER_TYPES], [ +AC_TYPE_INT8_T +AC_TYPE_UINT8_T +AC_TYPE_INT16_T +AC_TYPE_UINT16_T +AC_TYPE_INT32_T +AC_TYPE_UINT32_T +AC_TYPE_INT64_T +AC_TYPE_UINT64_T +AC_TYPE_INTPTR_T +AC_TYPE_UINTPTR_T +]) diff --git a/config/openaxiom-c-macros.h.in b/config/openaxiom-c-macros.h.in index b6c4fb56..12124224 100644 --- a/config/openaxiom-c-macros.h.in +++ b/config/openaxiom-c-macros.h.in @@ -51,6 +51,9 @@ /* Define to 1 if you have the <dlfcn.h> header file. */ #undef HAVE_DLFCN_H +/* Define to 1 if the system has the type `intptr_t'. */ +#undef HAVE_INTPTR_T + /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H @@ -96,6 +99,9 @@ /* Define to 1 if you have the <termios.h> header file. */ #undef HAVE_TERMIOS_H +/* Define to 1 if the system has the type `uintptr_t'. */ +#undef HAVE_UINTPTR_T + /* Define to 1 if you have the <unistd.h> header file. */ #undef HAVE_UNISTD_H @@ -154,11 +160,57 @@ /* Define to 1 if the X Window System is missing or not being used. */ #undef X_DISPLAY_MISSING +/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, + <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the + #define below would cause a syntax error. */ +#undef _UINT32_T + +/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>, + <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the + #define below would cause a syntax error. */ +#undef _UINT64_T + /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>, <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the #define below would cause a syntax error. */ #undef _UINT8_T +/* Define to the type of a signed integer type of width exactly 16 bits if + such a type exists and the standard includes do not define it. */ +#undef int16_t + +/* Define to the type of a signed integer type of width exactly 32 bits if + such a type exists and the standard includes do not define it. */ +#undef int32_t + +/* Define to the type of a signed integer type of width exactly 64 bits if + such a type exists and the standard includes do not define it. */ +#undef int64_t + +/* Define to the type of a signed integer type of width exactly 8 bits if such + a type exists and the standard includes do not define it. */ +#undef int8_t + +/* Define to the type of a signed integer type wide enough to hold a pointer, + if such a type exists, and if the system does not define it. */ +#undef intptr_t + +/* Define to the type of an unsigned integer type of width exactly 16 bits if + such a type exists and the standard includes do not define it. */ +#undef uint16_t + +/* Define to the type of an unsigned integer type of width exactly 32 bits if + such a type exists and the standard includes do not define it. */ +#undef uint32_t + +/* Define to the type of an unsigned integer type of width exactly 64 bits if + such a type exists and the standard includes do not define it. */ +#undef uint64_t + /* Define to the type of an unsigned integer type of width exactly 8 bits if such a type exists and the standard includes do not define it. */ #undef uint8_t + +/* Define to the type of an unsigned integer type wide enough to hold a + pointer, if such a type exists, and if the system does not define it. */ +#undef uintptr_t |