diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e9ae80694875f869892f13f4fcaf1170a00dea41 (patch) | |
tree | aa2f8d8a217e2d376224c8d46b7397b68d35de2d /quanta/parts/kafka/configure.in.in | |
download | tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.tar.gz tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/parts/kafka/configure.in.in')
-rw-r--r-- | quanta/parts/kafka/configure.in.in | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/quanta/parts/kafka/configure.in.in b/quanta/parts/kafka/configure.in.in new file mode 100644 index 00000000..967fc332 --- /dev/null +++ b/quanta/parts/kafka/configure.in.in @@ -0,0 +1,42 @@ +build_vpl="yes" + +#build_vpl="no" +AC_DEFUN([QUANTA_CHECK_VPL], +[ + AC_MSG_CHECKING(whether VPL can be compiled) + AC_CACHE_VAL(ac_cv_vpl_setup, + [ + AC_LANG_SAVE + AC_LANG_CPLUSPLUS + save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS="$KDE_INCLUDES $QT_INCLUDES" + + AC_TRY_LINK([ + #include <kdeversion.h> + ], + [ + #if KDE_VERSION < ((3<<16) | (1<<8) | (90)) + KDE_choke me + #endif + ], + ac_cv_vpl_setup=yes, + ac_cv_vpl_setup=no + ) + CXXFLAGS="$save_CXXFLAGS" + AC_LANG_RESTORE + ]) + + if test "$ac_cv_vpl_setup" = "yes"; then + build_vpl="yes" + CXXFLAGS="$CXXFLAGS -DBUILD_KAFKAPART" + AC_MSG_RESULT(yes) + else + AC_MSG_RESULT(no) + fi + +]) + +#QUANTA_CHECK_VPL + +AM_CONDITIONAL(BUILD_WYSIWYG, test "$build_vpl" = "yes") + |