1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-16 04:02:15 +00:00
conky/cmake/config.h.in
Tóth János 47ec9f911c
Fix OpenBSD build (#2080)
- Fix unclosed OBJ in core.cc when target is OpenBSD
- `to_real_path` changes:
  - Canonicalize result to mimic `realpath` behavior
  - Partially implement `to_real_path` for OpenBSD
  - Add more tests for `to_real_path`.
- Build system improvements:
  - Use same i18n include/link logic for all platforms
  - Replace `HAVE_SOME_SOUNDCARD_H` and `HAVE_LINUX_SOUNDCARD_H` with `HAVE_SOUNDCARD_H`
    and use other defines (__linux__) to guard include
  - Replace `<XXX>_LIBRARIES` with `<XXX>_LINK_LIBRARIES` for linking.
    - Libraries weren't in default linker search path on OpenBSD
- OpenBSD specific:
  - Fix bsdapm.cc
  - Remove diskio stats stubs
  - Stub get_battery_short_status
  - Remove `-stdlib=libc++` build flag on OpenBSD

Signed-off-by: Tin Švagelj <tin.svagelj@live.com>
Co-authored-by: gmb <gmb@openbsd76.my.domain>
Co-authored-by: Tin Švagelj <tin.svagelj@live.com>
2024-11-22 23:45:11 +00:00

152 lines
2.7 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 XDG_CONFIG_FILE "@XDG_CONFIG_FILE@"
#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_SOUNDCARD_H 1
#cmakedefine HAVE_STRNDUP 1
#cmakedefine HAVE_FOPENCOOKIE 1
#cmakedefine HAVE_FUNOPEN 1
#cmakedefine HAVE_PIPE2 1
#cmakedefine HAVE_O_CLOEXEC 1
#cmakedefine HAVE_CLOCK_GETTIME 1
#cmakedefine HAVE_XCB 1
#cmakedefine HAVE_XCB_ERRORS 1
#cmakedefine BUILD_WAYLAND 1
#cmakedefine BUILD_X11 1
#cmakedefine OWN_WINDOW 1
#cmakedefine BUILD_MOUSE_EVENTS 1
#cmakedefine BUILD_XDAMAGE 1
#cmakedefine BUILD_XINERAMA 1
#cmakedefine BUILD_XFT 1
#cmakedefine BUILD_XSHAPE 1
#cmakedefine BUILD_XFIXES 1
#cmakedefine BUILD_XINPUT 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_LIBXML2 1
#cmakedefine BUILD_CURL 1
#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_IPGFREQ 0
#cmakedefine BUILD_WLAN 1
#cmakedefine BUILD_ICAL 1
#cmakedefine BUILD_IRC 1
#cmakedefine BUILD_PULSEAUDIO 1
#cmakedefine BUILD_INTEL_BACKLIGHT 0
#cmakedefine BUILD_IPV6 1
#cmakedefine BUILD_HTTP 1
#cmakedefine BUILD_GUI 1
#cmakedefine BUILD_ICONV 1
#cmakedefine BUILD_LUA_CAIRO 1
#cmakedefine BUILD_LUA_IMLIB2 1
#cmakedefine BUILD_LUA_RSVG 1
#cmakedefine BUILD_IBM 1
#cmakedefine BUILD_RSS 1
#cmakedefine BUILD_CMUS 1
#cmakedefine BUILD_JOURNAL 1
#cmakedefine BUILD_HSV_GRADIENT 1
#cmakedefine BUILD_COLOUR_NAME_MAP 1
#cmakedefine HAVE_STATFS64 1
#ifndef HAVE_STATFS64
#define statfs64 statfs
#endif
#endif /* _conky_config_h_ */