This is a subtle point, but AC_C_INLINE defines "inline" to be either "inline", "__inline__", or "__inline". The subsequent test for "inline __attribute__((always_inline))" uses this definition. The attribute is irrespective of the inline keyword, so whereas "__inline__ __attribute__((always_inline))" works under C89, "inline __attribute__((always_inline))" doesn't, and defining INLINE to the latter causes the build to fail. The easiest way around this is simply to define "inline" ahead of "INLINE" in jconfigint.h, which causes the inline keyword detected by AC_C_INLINE to modify the INLINE macro if necessary.
18 lines
336 B
C
18 lines
336 B
C
/* libjpeg-turbo build number */
|
|
#undef BUILD
|
|
|
|
/* Compiler's inline keyword */
|
|
#undef inline
|
|
|
|
/* How to obtain function inlining. */
|
|
#undef INLINE
|
|
|
|
/* Define to the full name of this package. */
|
|
#undef PACKAGE_NAME
|
|
|
|
/* Version number of package */
|
|
#undef VERSION
|
|
|
|
/* The size of `size_t', as computed by sizeof. */
|
|
#undef SIZEOF_SIZE_T
|