generic: remove checks for system headers that should be present

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-09-23 16:12:16 +03:00
parent f03c16b566
commit 619c123a9a
10 changed files with 2 additions and 36 deletions

View file

@ -29,11 +29,6 @@ if(NOT Q_WS_X11)
message(FATAL_ERROR "Jovie requires a X11-based system.")
endif()
configure_file(
config-jovie.h.cmake
${CMAKE_CURRENT_BINARY_DIR}/config-jovie.h
)
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}/libkttsd

View file

@ -1,2 +0,0 @@
#cmakedefine SPEECHD_FOUND ${SPEECHD_FOUND}

View file

@ -35,11 +35,7 @@
#include <kspeech.h>
// KTTSD includes.
#include <config-jovie.h>
#if defined(SPEECHD_FOUND)
#include <libspeechd.h>
#endif
#include "filtermgr.h"
#include "appdata.h"

View file

@ -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(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_library_exists(crypt crypt "" HAVE_CRYPT_LIBRARY)

View file

@ -22,9 +22,7 @@
#include "globals.h"
#include <errno.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <sys/types.h>
#include <sys/file.h>
#include <sys/stat.h>

View file

@ -15,9 +15,3 @@
/* Define to 1 if you have the <paths.h> header file. */
#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

View file

@ -25,9 +25,7 @@
#include <ku_config.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <sys/types.h>
#include <sys/file.h>
#include <sys/stat.h>
@ -35,7 +33,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <kdebug.h>
#include <kstandarddirs.h>
#include <klocale.h>

View file

@ -22,14 +22,10 @@
#include "globals.h"
#include <ku_config.h>
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#include <errno.h>
#include <stdlib.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_CRYPT_H
#include <crypt.h>
#endif

View file

@ -24,13 +24,9 @@
#include <errno.h>
#include <sys/types.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>
#endif
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <QDir>

View file

@ -23,9 +23,7 @@
#include <ku_config.h>
#include <errno.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <sys/types.h>
#include <sys/file.h>
#include <sys/stat.h>