summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
blob: 28bbf5a2061f1bfe7ffa2b47f27b1db9833d3623 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#cmakedefine VERSION "@VERSION@"

// kpdf, kdvi
#cmakedefine HAVE_FREETYPE 1

// kpdf
#cmakedefine HAVE_DIRENT_H 1
#cmakedefine HAVE_SYS_NDIR_H 1
#cmakedefine HAVE_SYS_DIR_H 1
#cmakedefine HAVE_NDIR_H 1
#cmakedefine HAVE_PAPER_H 1

// ksvg
#define STDC_HEADERS 1
#cmakedefine LCMS_HEADER <@LCMS_HEADER@>
#cmakedefine HAVE_FREETYPE_2_2_x 1
#cmakedefine FRIBIDI_NEW_FILENAME 1

// kviewshell (djvu plugin)
#cmakedefine HAVE_WCHAR_T 1
#cmakedefine HAVE_ISWSPACE 1
#cmakedefine HAVE_WCRTOMB 1
#cmakedefine HAVE_MBSTATE_T 1
#if !defined(HAVE_WCHAR_T)
  #define HAS_WCHAR 0
  #define HAS_WCTYPE 0
  #define HAS_MBSTATE 0
#else
  #define HAS_WCHAR 1
  #if defined(HAVE_WCTYPE_H) && defined(HAVE_ISWSPACE)
    #define HAS_WCTYPE 1
  #endif
  #if defined(HAVE_MBSTATE_T) && defined(HAVE_WCRTOMB)
    #define HAS_MBSTATE 1
  #endif
#endif