summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-06 22:42:47 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-06 22:42:47 +0000
commit9e542b763b3da9520c2732f2deacec037744ab30 (patch)
tree6ca83d7fdec2f7673bbae4289eddd4da3ba4cca2
parent0f962a277e58ccb2c6d9ee36ce68966db9b071cc (diff)
downloadtdegraphics-9e542b763b3da9520c2732f2deacec037744ab30.tar.gz
tdegraphics-9e542b763b3da9520c2732f2deacec037744ab30.zip
[kdegraphics/ksvg] fribidi: check for new filename style
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1230745 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--config.h.cmake1
-rw-r--r--ksvg/ConfigureChecks.cmake4
2 files changed, 4 insertions, 1 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 40e12535..d8a1feb9 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -12,6 +12,7 @@
#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
diff --git a/ksvg/ConfigureChecks.cmake b/ksvg/ConfigureChecks.cmake
index 00ff78c3..e6942e69 100644
--- a/ksvg/ConfigureChecks.cmake
+++ b/ksvg/ConfigureChecks.cmake
@@ -44,6 +44,8 @@ endif( )
# fribidi
pkg_search_module( FRIBIDI fribidi )
-if( NOT FRIBIDI_FOUND )
+if( FRIBIDI_FOUND )
+ check_include_file( fribidi/fribidi-types.h FRIBIDI_NEW_FILENAME )
+else( )
tde_message_fatal( "fribidi is required, but was not found on your system" )
endif( )