mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 10:22:48 +00:00

TODO from https://github.com/fluxer/katana/issues/7. I've decided to keep KDE4 and Katie libraries as PUBLIC, all other libraries as PRIVATE for that and not use INTERFACE at all since that will not require a lot of changes to all other sub-projects (kde-baseapps, kde-workspace and kde-extraapps) build systems. MusicBrainz5 CMake module was also rewritten as the actual library that should be linked to is libmusicbrainz5cc, libmusicbrainz5 is the C version of it. common checks for X11 extensions where move to main config header, eventually to be moved to separate config-x11 header. Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
115 lines
2.8 KiB
CMake
115 lines
2.8 KiB
CMake
/* config.h. Generated by cmake from config.h.cmake */
|
|
|
|
/* NOTE: only add something here if it is really needed by all of kdelibs.
|
|
Otherwise please prefer adding to the relevant config-foo.h.cmake file,
|
|
to minimize recompilations and increase modularity. */
|
|
|
|
/****************************/
|
|
|
|
/* Define to 1 if you have stdio.h */
|
|
#cmakedefine HAVE_STDIO_H 1
|
|
|
|
/* Define to 1 if you have stdlib.h */
|
|
#cmakedefine HAVE_STDLIB_H 1
|
|
|
|
/* Define to 1 if you have string.h */
|
|
#cmakedefine HAVE_STRING_H 1
|
|
|
|
/* Define to 1 if you have strings.h */
|
|
#cmakedefine HAVE_STRINGS_H 1
|
|
|
|
/* define if message translations are enabled */
|
|
#cmakedefine ENABLE_NLS 1
|
|
|
|
#cmakedefine HAVE_VOLMGT 1
|
|
|
|
#cmakedefine HAVE_ERRNO_H 1
|
|
#cmakedefine HAVE_STDINT_H 1
|
|
#cmakedefine HAVE_SYS_STAT_H 1
|
|
#cmakedefine HAVE_SYS_TYPES_H 1
|
|
#cmakedefine HAVE_SYS_PARAM_H 1
|
|
#cmakedefine HAVE_SYS_TIME_H 1
|
|
#cmakedefine HAVE_SYS_SELECT_H 1
|
|
#cmakedefine HAVE_SYSENT_H 1
|
|
#cmakedefine HAVE_SYS_MNTTAB_H 1
|
|
#cmakedefine HAVE_SYS_MNTENT_H 1
|
|
#cmakedefine HAVE_SYS_MOUNT_H 1
|
|
|
|
#cmakedefine HAVE_FSTAB_H 1
|
|
#cmakedefine HAVE_LIMITS_H 1
|
|
#cmakedefine HAVE_MNTENT_H 1
|
|
#cmakedefine HAVE_UNISTD_H 1
|
|
|
|
|
|
/* Define to 1 if you have the Xtest extension */
|
|
#cmakedefine HAVE_XTEST 1
|
|
|
|
/* Define to 1 if you have the Xcursor library */
|
|
#cmakedefine HAVE_XCURSOR 1
|
|
|
|
/* Define to 1 if you have the Xfixes library */
|
|
#cmakedefine HAVE_XFIXES 1
|
|
|
|
/* Define to 1 if you have the Xscreensaver extension */
|
|
#cmakedefine HAVE_XSCREENSAVER 1
|
|
|
|
/* Define to 1 if you have the XSync extension */
|
|
#cmakedefine HAVE_XSYNC 1
|
|
|
|
#cmakedefine HAVE_BACKTRACE 1
|
|
#cmakedefine HAVE_GETMNTINFO 1
|
|
#cmakedefine HAVE_INITGROUPS 1
|
|
#cmakedefine HAVE_FDATASYNC 1
|
|
#cmakedefine HAVE_MKSTEMPS 1
|
|
#cmakedefine HAVE_MKSTEMP 1
|
|
#cmakedefine HAVE_MKDTEMP 1
|
|
#cmakedefine HAVE_SENDFILE 1
|
|
#cmakedefine HAVE_SETENV 1
|
|
#cmakedefine HAVE_SETEUID 1
|
|
#cmakedefine HAVE_SETMNTENT 1
|
|
#cmakedefine HAVE_STRLCPY 1
|
|
#cmakedefine HAVE_STRLCAT 1
|
|
#cmakedefine HAVE_STRTOLL 1
|
|
#cmakedefine HAVE_UNSETENV 1
|
|
#cmakedefine HAVE_USLEEP 1
|
|
#cmakedefine HAVE_VSNPRINTF 1
|
|
#cmakedefine HAVE_GETTIMEOFDAY 1
|
|
#cmakedefine HAVE_GETGROUPLIST 1
|
|
#cmakedefine HAVE_TRUNC 1
|
|
|
|
#cmakedefine HAVE_S_ISSOCK 1
|
|
|
|
#cmakedefine TIME_WITH_SYS_TIME 1
|
|
|
|
/*********************/
|
|
|
|
#ifndef HAVE_S_ISSOCK
|
|
#define HAVE_S_ISSOCK
|
|
#define S_ISSOCK(mode) (1==0)
|
|
#endif
|
|
|
|
/*
|
|
* On HP-UX, the declaration of vsnprintf() is needed every time !
|
|
*/
|
|
|
|
#if !defined(HAVE_VSNPRINTF) || defined(hpux)
|
|
#if __STDC__
|
|
#include <stdarg.h>
|
|
#include <stdlib.h>
|
|
#else
|
|
#include <varargs.h>
|
|
#endif
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
#endif
|
|
int snprintf(char *str, size_t n, char const *fmt, ...);
|
|
#endif
|
|
|
|
#cmakedefine GETMNTINFO_USES_STATVFS 1
|
|
|
|
/* Defined to 1 if you have a d_type member in struct dirent */
|
|
#cmakedefine HAVE_DIRENT_D_TYPE 1
|