mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-28 13:00:45 +00:00
abdb5582bd
statfs64 ist atm linux specific; wrap statfs around it. Also cleanup param.h and mount.h including: the assumption in fs.cc that their presence is a sign of *BSDs is wrong, as they exist in linux too with different meaning. Besides presence of mount.h isn't detected in Conky.cmake, so conditional including mount.h in fs.cc is useless. Is just works because mount.h and param.h are included in freebsd.h and dragonfly.h later on. They are unneded in linux. Just remove conditional including of mount.h and param.h in fs.cc, conditional wrap statfs64 in proper *BSD header files.
127 lines
2.3 KiB
C
127 lines
2.3 KiB
C
/*
|
|
* Auto-generated header for CMake. See config.h.in if you need to modify the
|
|
* original.
|
|
*/
|
|
|
|
#ifndef _conky_config_h_
|
|
#define _conky_config_h_
|
|
|
|
#cmakedefine DEBUG
|
|
|
|
#define SYSTEM_NAME "@CMAKE_SYSTEM_NAME@"
|
|
#define PACKAGE_NAME "@PROJECT_NAME@"
|
|
#define VERSION "@VERSION@"
|
|
#define SYSTEM_CONFIG_FILE "@SYSTEM_CONFIG_FILE@"
|
|
#define PACKAGE_LIBDIR "@PACKAGE_LIBRARY_DIR@"
|
|
#define DEFAULTNETDEV "@DEFAULTNETDEV@"
|
|
#define CONFIG_FILE "@CONFIG_FILE@"
|
|
#define LOCALE_DIR "@LOCALE_DIR@"
|
|
#define MAX_USER_TEXT_DEFAULT @MAX_USER_TEXT_DEFAULT@
|
|
#define DEFAULT_TEXT_BUFFER_SIZE @DEFAULT_TEXT_BUFFER_SIZE@
|
|
#define MAX_NET_INTERFACES @MAX_NET_INTERFACES@
|
|
#define HTTPPORT @HTTPPORT@
|
|
|
|
#cmakedefine BUILD_I18N 1
|
|
|
|
#cmakedefine HAVE_SYS_STATFS_H 1
|
|
#cmakedefine HAVE_SYS_PARAM_H 1
|
|
#cmakedefine HAVE_SYS_INOTIFY_H 1
|
|
#cmakedefine HAVE_DIRENT_H 1
|
|
|
|
#cmakedefine HAVE_STRNDUP 1
|
|
|
|
#cmakedefine HAVE_FOPENCOOKIE 1
|
|
#cmakedefine HAVE_FUNOPEN 1
|
|
|
|
#cmakedefine HAVE_PIPE2 1
|
|
#cmakedefine HAVE_O_CLOEXEC 1
|
|
|
|
#cmakedefine BUILD_X11 1
|
|
|
|
#cmakedefine OWN_WINDOW 1
|
|
|
|
#cmakedefine BUILD_XDAMAGE 1
|
|
|
|
#cmakedefine BUILD_XFT 1
|
|
|
|
#cmakedefine BUILD_ARGB 1
|
|
|
|
#cmakedefine BUILD_XDBE 1
|
|
|
|
#cmakedefine BUILD_PORT_MONITORS 1
|
|
|
|
#cmakedefine BUILD_AUDACIOUS 1
|
|
|
|
#cmakedefine NEW_AUDACIOUS_FOUND 1
|
|
|
|
#cmakedefine BUILD_MPD 1
|
|
|
|
#cmakedefine BUILD_MYSQL 1
|
|
|
|
#cmakedefine BUILD_MOC 1
|
|
|
|
#cmakedefine BUILD_NVIDIA 0
|
|
|
|
#cmakedefine BUILD_XMMS2 1
|
|
|
|
#cmakedefine BUILD_HDDTEMP 1
|
|
|
|
#cmakedefine BUILD_EVE 1
|
|
|
|
#cmakedefine BUILD_LIBXML2 1
|
|
|
|
#cmakedefine BUILD_CURL 1
|
|
|
|
#cmakedefine BUILD_WEATHER_XOAP 1
|
|
#cmakedefine BUILD_WEATHER_METAR 1
|
|
|
|
#define XOAP_FILE "@XOAP_FILE@"
|
|
|
|
#cmakedefine BUILD_IMLIB2 1
|
|
|
|
#cmakedefine BUILD_MATH 1
|
|
|
|
#cmakedefine BUILD_BUILTIN_CONFIG 1
|
|
|
|
#cmakedefine BUILD_OLD_CONFIG 1
|
|
|
|
#cmakedefine BUILD_NCURSES 1
|
|
#cmakedefine LEAKFREE_NCURSES 1
|
|
|
|
#cmakedefine BUILD_APCUPSD 1
|
|
|
|
#cmakedefine BUILD_IOSTATS 1
|
|
|
|
#cmakedefine BUILD_WLAN 1
|
|
|
|
#cmakedefine BUILD_ICAL 1
|
|
|
|
#cmakedefine BUILD_IRC 1
|
|
|
|
#cmakedefine BUILD_IPV6 1
|
|
|
|
#cmakedefine BUILD_HTTP 1
|
|
|
|
#cmakedefine BUILD_ICONV 1
|
|
|
|
#cmakedefine BUILD_LUA_CAIRO 1
|
|
|
|
#cmakedefine BUILD_LUA_IMLIB2 1
|
|
|
|
#if defined(BUILD_LUA_CAIRO) || defined(BUILD_LUA_IMLIB2)
|
|
#define BUILD_LUA_EXTRAS
|
|
#endif
|
|
|
|
#cmakedefine BUILD_IBM 1
|
|
|
|
#cmakedefine BUILD_RSS 1
|
|
|
|
#cmakedefine BUILD_CMUS 1
|
|
|
|
#cmakedefine HAVE_STATFS64 1
|
|
#ifndef HAVE_STATFS64
|
|
#define statfs64 statfs
|
|
#endif
|
|
|
|
#endif /* _conky_config_h_ */
|