Warning, /frameworks/baloo/ConfigureChecks.cmake is written in an unsupported language. File is not indexed.

0001 include(CheckIncludeFile)
0002 include(CheckIncludeFiles)
0003 include(CheckSymbolExists)
0004 
0005 # Look for extended attributes headers to verify there is support for it in at
0006 # least some file systems supported by the operating system. We currently
0007 # assume the functionality is in libc itself.
0008 
0009 if (NOT WIN32)
0010 # Linux and OS X.
0011 check_include_files("sys/types.h;sys/xattr.h" HAVE_SYS_XATTR_H)
0012 
0013 # DragonFly BSD, FreeBSD and NetBSD.
0014 check_include_files("sys/types.h;sys/extattr.h" HAVE_SYS_EXTATTR_H)
0015 
0016 if (NOT (HAVE_SYS_XATTR_H OR HAVE_SYS_EXTATTR_H))
0017     message(FATAL_ERROR "Baloo requires extended attributes support in the operating system, but no headers have been found.")
0018 endif ()
0019 
0020 endif ()