Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Utilities
Konsole
Commits
6903d9ca
Commit
6903d9ca
authored
Mar 26, 2010
by
Kurt Hindenburg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move cpp conditional check for AVOID_XKB to CMake.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1107581
parent
40548028
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
src/CMakeLists.txt
src/CMakeLists.txt
+6
-0
src/Vt102Emulation.cpp
src/Vt102Emulation.cpp
+0
-3
src/config-konsole.h.cmake
src/config-konsole.h.cmake
+3
-0
No files found.
src/CMakeLists.txt
View file @
6903d9ca
...
...
@@ -8,6 +8,12 @@ include(CheckIncludeFiles)
check_include_files
(
"sys/proc.h"
HAVE_SYS_PROC_H
)
check_include_files
(
"sys/proc_info.h"
HAVE_SYS_PROC_INFO_H
)
if
(
APPLE OR OSF
)
SET
(
HAVE_AVOID_XKB TRUE
)
endif
(
APPLE OR OSF
)
macro_bool_to_01
(
HAVE_AVOID_XKB AVOID_XKB
)
configure_file
(
config-konsole.h.cmake
${
CMAKE_CURRENT_BINARY_DIR
}
/config-konsole.h
)
############### Load the CTest options ###############
...
...
src/Vt102Emulation.cpp
View file @
6903d9ca
...
...
@@ -25,9 +25,6 @@
// XKB
#include <config-konsole.h>
#if defined(__osf__) || defined(__APPLE__)
#define AVOID_XKB
#endif
// this allows konsole to be compiled without XKB and XTEST extensions
// even though it might be available on a particular system.
...
...
src/config-konsole.h.cmake
View file @
6903d9ca
...
...
@@ -12,3 +12,6 @@
/* Defined if you have sys/proc_info.h */
#cmakedefine HAVE_SYS_PROC_INFO_H 1
/* Define if you have the do NOT want the XKB extension */
#cmakedefine AVOID_XKB 1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment