Skip to content
Snippets Groups Projects
Commit c16d8c7f authored by Chuck Atkins's avatar Chuck Atkins Committed by Brad King
Browse files

liblzma: Added a missing config check for _Bool

This fixes a current build problem for liblzma on Solaris 10, SPARC,
and the Solaris Studio compiler.
parent 3919fc66
No related branches found
No related tags found
No related merge requests found
......@@ -26,11 +26,15 @@ CHECK_INCLUDE_FILE(byteswap.h HAVE_BYTESWAP_H)
CHECK_INCLUDE_FILE(inttypes.h HAVE_INTTYPES_H)
CHECK_INCLUDE_FILE(limits.h HAVE_LIMITS_H)
CHECK_INCLUDE_FILE(memory.h HAVE_MEMORY_H)
CHECK_INCLUDE_FILE(stdbool.h HAVE_STDBOOL_H)
CHECK_INCLUDE_FILE(strings.h HAVE_STRINGS_H)
CHECK_INCLUDE_FILE(string.h HAVE_STRING_H)
CHECK_INCLUDE_FILE(sys/sysctl.h HAVE_SYS_SYSCTL_H)
CHECK_INCLUDE_FILE(stdbool.h HAVE_STDBOOL_H)
if(NOT HAVE_STDBOOL_H)
CHECK_TYPE_SIZE(_Bool _BOOL)
endif()
CHECK_C_SOURCE_COMPILES (
"#include<byteswap.h>\nint main(void){bswap_16(0);return 0;}"
HAVE_BSWAP_16)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment