mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
generic: remove unused configuration checks and definitions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
d186170e48
commit
afa0efd8e7
2 changed files with 0 additions and 20 deletions
|
@ -3,17 +3,6 @@ include(CheckTypeSize)
|
||||||
include(CheckSymbolExists)
|
include(CheckSymbolExists)
|
||||||
include(CheckLibraryExists)
|
include(CheckLibraryExists)
|
||||||
|
|
||||||
find_program(some_x_program NAMES iceauth xrdb xterm)
|
|
||||||
if (NOT some_x_program)
|
|
||||||
set(some_x_program ${CMAKE_INSTALL_PREFIX}/bin/xrdb)
|
|
||||||
message("Warning: Could not determine X binary directory. Assuming ${CMAKE_INSTALL_PREFIX}/bin.")
|
|
||||||
endif (NOT some_x_program)
|
|
||||||
get_filename_component(proto_xbindir "${some_x_program}" PATH)
|
|
||||||
get_filename_component(xbindir "${proto_xbindir}" ABSOLUTE)
|
|
||||||
get_filename_component(xrootdir "${xbindir}" PATH)
|
|
||||||
set(XLIBDIR "${xrootdir}/lib/X11")
|
|
||||||
set(XKBDIR "${xrootdir}/share/X11")
|
|
||||||
|
|
||||||
check_function_exists(nice HAVE_NICE)
|
check_function_exists(nice HAVE_NICE)
|
||||||
check_include_files(malloc.h HAVE_MALLOC_H)
|
check_include_files(malloc.h HAVE_MALLOC_H)
|
||||||
kde4_bool_to_01(FONTCONFIG_FOUND HAVE_FONTCONFIG) # kcontrol/fonts
|
kde4_bool_to_01(FONTCONFIG_FOUND HAVE_FONTCONFIG) # kcontrol/fonts
|
||||||
|
|
|
@ -12,17 +12,8 @@
|
||||||
/* KDE's configuration directory */
|
/* KDE's configuration directory */
|
||||||
#define KDE_CONFDIR "${KDE4_CONFIG_INSTALL_DIR}"
|
#define KDE_CONFDIR "${KDE4_CONFIG_INSTALL_DIR}"
|
||||||
|
|
||||||
/* KDE's static data directory */
|
|
||||||
#define KDE_DATADIR "${KDE4_DATA_INSTALL_DIR}"
|
|
||||||
|
|
||||||
/* KDE's static libraries directory */
|
/* KDE's static libraries directory */
|
||||||
#define KDE_LIBDIR "${KDE4_LIB_INSTALL_DIR}"
|
#define KDE_LIBDIR "${KDE4_LIB_INSTALL_DIR}"
|
||||||
|
|
||||||
/* KDE's system configuration directory */
|
/* KDE's system configuration directory */
|
||||||
#define KDE_SYSCONFDIR "${KDE4_SYSCONF_INSTALL_DIR}"
|
#define KDE_SYSCONFDIR "${KDE4_SYSCONF_INSTALL_DIR}"
|
||||||
|
|
||||||
/* X libraries directory */
|
|
||||||
#cmakedefine XLIBDIR "${XLIBDIR}"
|
|
||||||
|
|
||||||
/* xkb resources directory */
|
|
||||||
#cmakedefine XKBDIR "${XKBDIR}"
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue