1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-30 05:59:07 +00:00
conky/cmake/config.h.in
Brenden Matthews bb8723dd36
Add toluapp subtree (#712)
* First commit!

* Import to git

* Droping down CMake requirement

* Corrected installation of libraries

* Adding travis build

* Updated cmake macros

* Fixed find package

* Updated travis hook

* Updated travis hook

* Patch to support Lua 5.3.

* Fix Lua header include directives in tolua++.h

Use angle bracket rather than double quotes when including Lua headers in the tolua++ header. This fixes a problem on systems that default to a Lua version newer than 5.1 and install the tolua++ header to the same directory as newer Lua headers.

As there are (usually) no Lua headers in the same directory when building tolua++ itself, the preprocessor will look to the include directories passed to the compiler, one of which would be the Lua 5.1 include directory, and tolua++ will build with those (correct) headers. Then the tolua++ header is usually installed in the default include directory, alongside the newer Lua headers, which you wouldn't expect to cause any trouble.

But it does cause trouble when trying to build other programs that include the tolua++ header, because now the preprocessor does find Lua headers in the same directory as the tolua++ header, which are the newer (incorrect) headers. Now the program will either fail to compile, because it doesn't support the newer headers, or fail to link with the tolua++ shared object because they were compiled against different Lua headers.

Using angle brackets instead of double quotes in the include directives will fix the problem, because then the preprocessor will look to the include directories passed to the compiler first.

See http://www.cegui.org.uk/forum/viewtopic.php?f=10&t=7195

* Remove email notifications.

* Update travis build.

* Build shared and static libs.

* Patch toluapp to support Lua 5.3.

With this change, support for Lua 5.1 is dropped.

This resolve #116.

* Add some comments to clarify the toluapp handling.

* Add minor sonar fix.
2018-12-20 15:18:51 -05:00

138 lines
2.5 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_SOME_SOUNDCARD_H 1
#cmakedefine HAVE_LINUX_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 BUILD_X11 1
#cmakedefine OWN_WINDOW 1
#cmakedefine BUILD_XDAMAGE 1
#cmakedefine BUILD_XINERAMA 1
#cmakedefine BUILD_XFT 1
#cmakedefine BUILD_XSHAPE 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_METAR 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_IPV6 1
#cmakedefine BUILD_HTTP 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 HAVE_STATFS64 1
#ifndef HAVE_STATFS64
#define statfs64 statfs
#endif
#endif /* _conky_config_h_ */