mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 10:22:52 +00:00
generic: remove checks for system headers that should be present
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
f03c16b566
commit
619c123a9a
10 changed files with 2 additions and 36 deletions
|
@ -29,11 +29,6 @@ if(NOT Q_WS_X11)
|
||||||
message(FATAL_ERROR "Jovie requires a X11-based system.")
|
message(FATAL_ERROR "Jovie requires a X11-based system.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
configure_file(
|
|
||||||
config-jovie.h.cmake
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/config-jovie.h
|
|
||||||
)
|
|
||||||
|
|
||||||
include_directories(
|
include_directories(
|
||||||
${CMAKE_CURRENT_BINARY_DIR}
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/libkttsd
|
${CMAKE_CURRENT_BINARY_DIR}/libkttsd
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
#cmakedefine SPEECHD_FOUND ${SPEECHD_FOUND}
|
|
||||||
|
|
|
@ -35,11 +35,7 @@
|
||||||
|
|
||||||
#include <kspeech.h>
|
#include <kspeech.h>
|
||||||
|
|
||||||
// KTTSD includes.
|
|
||||||
#include <config-jovie.h>
|
|
||||||
#if defined(SPEECHD_FOUND)
|
|
||||||
#include <libspeechd.h>
|
#include <libspeechd.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "filtermgr.h"
|
#include "filtermgr.h"
|
||||||
#include "appdata.h"
|
#include "appdata.h"
|
||||||
|
|
|
@ -30,8 +30,6 @@ set(KU_USERPRIVATEGROUP true CACHE STRING "User private groups by default")
|
||||||
|
|
||||||
check_include_files(shadow.h HAVE_SHADOW_H)
|
check_include_files(shadow.h HAVE_SHADOW_H)
|
||||||
check_include_files(crypt.h HAVE_CRYPT_H)
|
check_include_files(crypt.h HAVE_CRYPT_H)
|
||||||
check_include_files(sys/stat.h HAVE_SYS_STAT_H)
|
|
||||||
check_include_files(unistd.h HAVE_UNISTD_H)
|
|
||||||
check_include_files(paths.h HAVE_PATHS_H)
|
check_include_files(paths.h HAVE_PATHS_H)
|
||||||
check_library_exists(crypt crypt "" HAVE_CRYPT_LIBRARY)
|
check_library_exists(crypt crypt "" HAVE_CRYPT_LIBRARY)
|
||||||
|
|
||||||
|
|
|
@ -22,9 +22,7 @@
|
||||||
#include "globals.h"
|
#include "globals.h"
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#ifdef HAVE_UNISTD_H
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
|
@ -15,9 +15,3 @@
|
||||||
|
|
||||||
/* Define to 1 if you have the <paths.h> header file. */
|
/* Define to 1 if you have the <paths.h> header file. */
|
||||||
#cmakedefine HAVE_PATHS_H
|
#cmakedefine HAVE_PATHS_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <unistd.h> header file. */
|
|
||||||
#cmakedefine HAVE_UNISTD_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
||||||
#cmakedefine HAVE_SYS_STAT_H 1
|
|
||||||
|
|
|
@ -25,9 +25,7 @@
|
||||||
|
|
||||||
#include <ku_config.h>
|
#include <ku_config.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#ifdef HAVE_UNISTD_H
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
@ -35,7 +33,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
||||||
#include <kdebug.h>
|
#include <kdebug.h>
|
||||||
#include <kstandarddirs.h>
|
#include <kstandarddirs.h>
|
||||||
#include <klocale.h>
|
#include <klocale.h>
|
||||||
|
|
|
@ -22,14 +22,10 @@
|
||||||
#include "globals.h"
|
#include "globals.h"
|
||||||
#include <ku_config.h>
|
#include <ku_config.h>
|
||||||
|
|
||||||
#ifdef HAVE_SYS_STAT_H
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#endif
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#ifdef HAVE_UNISTD_H
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
|
||||||
#ifdef HAVE_CRYPT_H
|
#ifdef HAVE_CRYPT_H
|
||||||
#include <crypt.h>
|
#include <crypt.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -24,13 +24,9 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#ifdef HAVE_UNISTD_H
|
|
||||||
#include <unistd.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_SYS_STAT_H
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#endif
|
#include <stdlib.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
|
|
@ -23,9 +23,7 @@
|
||||||
#include <ku_config.h>
|
#include <ku_config.h>
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#ifdef HAVE_UNISTD_H
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
Loading…
Add table
Reference in a new issue