diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-06 22:03:48 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-06 22:03:48 +0000 |
commit | 0f962a277e58ccb2c6d9ee36ce68966db9b071cc (patch) | |
tree | e5341e2fcac3338daf25796bc20ae8c16307673e /config.h.cmake | |
parent | 19158a8de8416c95f7c961e107c475dd786f6449 (diff) | |
download | tdegraphics-0f962a277e58ccb2c6d9ee36ce68966db9b071cc.tar.gz tdegraphics-0f962a277e58ccb2c6d9ee36ce68966db9b071cc.zip |
[kdegraphics] cmake support for kamera, kcoloredit, and kviewshell
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1230743 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake index d4bf009e..40e12535 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -12,3 +12,22 @@ #define STDC_HEADERS 1 #cmakedefine LCMS_HEADER <@LCMS_HEADER@> #cmakedefine HAVE_FREETYPE_2_2_x 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 |