branches/kdevelop/3.4

Amilcar do Carmo Lucas amilcar at ida.ing.tu-bs.de
Tue May 30 14:16:14 UTC 2006


Andras Mantia wrote:

> This is what I mean, a KDE >= 3.4 check must be included manually. ;-) 
> AFAIK there is no such check in the admin dir that we could use.

Here is a start:

# --- Check for KDE 3.4 ---

AC_MSG_CHECKING([for KDE version])
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$KDE_INCLUDES $QT_INCLUDES $all_includes"

AC_COMPILE_IFELSE([
#include <kdeversion.h>
#if ! ( KDE_IS_VERSION( 3, 3, 90 ) )
#error KDE 3.4
#endif
],
        found kde 3.4
,
        KDE_choke me
)
CXXFLAGS="$save_CXXFLAGS"
AC_LANG_RESTORE

> PS: You are sending the mails only in private. ;-)
I was wandering why it did not appear in the list! :)

amilcar




More information about the KDevelop-devel mailing list