config.h.in 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /*
  2. * Ensure we have C99-style int64_t, etc, all defined.
  3. */
  4. #include <cm3p/kwiml/int.h>
  5. #ifndef KWIML_INT_HAVE_INT64_T
  6. typedef KWIML_INT_int64_t int64_t;
  7. #endif
  8. #ifndef KWIML_INT_HAVE_INT32_T
  9. typedef KWIML_INT_int32_t int32_t;
  10. #endif
  11. #ifndef KWIML_INT_HAVE_INT16_T
  12. typedef KWIML_INT_int16_t int16_t;
  13. #endif
  14. #ifndef KWIML_INT_HAVE_INT8_T
  15. typedef KWIML_INT_int8_t int8_t;
  16. #endif
  17. #ifndef KWIML_INT_HAVE_UINT64_T
  18. typedef KWIML_INT_uint64_t uint64_t;
  19. #endif
  20. #ifndef KWIML_INT_HAVE_UINT32_T
  21. typedef KWIML_INT_uint32_t uint32_t;
  22. #endif
  23. #ifndef KWIML_INT_HAVE_UINT16_T
  24. typedef KWIML_INT_uint16_t uint16_t;
  25. #endif
  26. #ifndef KWIML_INT_HAVE_UINT8_T
  27. typedef KWIML_INT_uint8_t uint8_t;
  28. #endif
  29. #ifndef KWIML_INT_HAVE_UINTPTR_T
  30. typedef KWIML_INT_uintptr_t uintptr_t;
  31. #endif
  32. #cmakedefine WORDS_BIGENDIAN 1
  33. #cmakedefine HAVE_BYTESWAP_H 1
  34. #cmakedefine HAVE_BSWAP_16 1
  35. #cmakedefine HAVE_BSWAP_32 1
  36. #cmakedefine HAVE_BSWAP_64 1
  37. #define HAVE_CHECK_CRC32 1
  38. #define HAVE_CHECK_CRC64 1
  39. #define HAVE_CHECK_SHA256 1
  40. #define HAVE_DECODER_ARM 1
  41. #define HAVE_DECODER_ARMTHUMB 1
  42. #define HAVE_DECODER_DELTA 1
  43. #define HAVE_DECODER_IA64 1
  44. #define HAVE_DECODER_LZMA1 1
  45. #define HAVE_DECODER_LZMA2 1
  46. #define HAVE_DECODER_POWERPC 1
  47. #define HAVE_DECODER_SPARC 1
  48. #define HAVE_DECODER_X86 1
  49. #define HAVE_ENCODER_ARM 1
  50. #define HAVE_ENCODER_ARMTHUMB 1
  51. #define HAVE_ENCODER_DELTA 1
  52. #define HAVE_ENCODER_IA64 1
  53. #define HAVE_ENCODER_LZMA1 1
  54. #define HAVE_ENCODER_LZMA2 1
  55. #define HAVE_ENCODER_POWERPC 1
  56. #define HAVE_ENCODER_SPARC 1
  57. #define HAVE_ENCODER_X86 1
  58. #define HAVE_MF_BT2 1
  59. #define HAVE_MF_BT3 1
  60. #define HAVE_MF_BT4 1
  61. #define HAVE_MF_HC3 1
  62. #define HAVE_MF_HC4 1
  63. /* Define to 1 if you have the <inttypes.h> header file. */
  64. #ifdef KWIML_INT_HAVE_INTTYPES_H
  65. # define HAVE_INTTYPES_H 1
  66. #endif
  67. /* Define to 1 if you have the <limits.h> header file. */
  68. #cmakedefine HAVE_LIMITS_H 1
  69. /* Define to 1 if you have the <memory.h> header file. */
  70. #cmakedefine HAVE_MEMORY_H 1
  71. /* Define to 1 if stdbool.h conforms to C99. */
  72. #cmakedefine HAVE_STDBOOL_H 1
  73. /* Define to 1 if you have the <stdint.h> header file. */
  74. #ifdef KWIML_INT_HAVE_STDINT_H
  75. # define HAVE_STDINT_H 1
  76. #endif
  77. /* Define to 1 if you have the <strings.h> header file. */
  78. #cmakedefine HAVE_STRINGS_H 1
  79. /* Define to 1 if you have the <string.h> header file. */
  80. #cmakedefine HAVE_STRING_H 1
  81. /* Define to 1 if you have the <sys/byteorder.h> header file. */
  82. #cmakedefine HAVE_SYS_BYTEORDER_H 1
  83. /* Define to 1 if you have the <sys/endian.h> header file. */
  84. #cmakedefine HAVE_SYS_ENDIAN_H 1
  85. /* Define to 1 or 0, depending whether the compiler supports simple visibility
  86. declarations. */
  87. #cmakedefine HAVE_VISIBILITY 1
  88. /* Define to 1 if the system has the type `_Bool'. */
  89. #cmakedefine HAVE__BOOL 1
  90. /* Define to 1 if the system supports fast unaligned access to 16-bit and
  91. 32-bit integers. */
  92. #if defined(__i386) || defined(__i386__) || defined(_M_IX86) \
  93. || defined(__x86_64) || defined(__x86_64__) || defined(_M_X64) \
  94. || defined(__amd64) || defined(__amd64__) \
  95. || defined(__powerpc) || defined(__powerpc__) \
  96. || defined(__ppc) || defined(__ppc__) || defined(__POWERPC__)
  97. # define TUKLIB_FAST_UNALIGNED_ACCESS 1
  98. #endif