Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Konsole
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
24
Merge Requests
24
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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
Hide 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