diff options
author | Fritz Elfert <felfert@to.com> | 2002-07-07 18:12:48 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2002-07-07 18:12:48 +0000 |
commit | d2342ca0c79bb97dc386fe06467ec3d77fbf07ea (patch) | |
tree | 3fcdb10f7747b936239ebbaab202bca1d882e228 /conf/m4/kde/KDE_VERSION.m4 | |
parent | 647cb26ea9ca0529f477f0be22d2436dc5c2a022 (diff) | |
download | plptools-d2342ca0c79bb97dc386fe06467ec3d77fbf07ea.tar.gz plptools-d2342ca0c79bb97dc386fe06467ec3d77fbf07ea.tar.bz2 plptools-d2342ca0c79bb97dc386fe06467ec3d77fbf07ea.zip |
- Adaptions for KDE3 and QT3
Diffstat (limited to 'conf/m4/kde/KDE_VERSION.m4')
-rw-r--r-- | conf/m4/kde/KDE_VERSION.m4 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/conf/m4/kde/KDE_VERSION.m4 b/conf/m4/kde/KDE_VERSION.m4 new file mode 100644 index 0000000..37e47b2 --- /dev/null +++ b/conf/m4/kde/KDE_VERSION.m4 @@ -0,0 +1,15 @@ +dnl +dnl Check KDE version +dnl +AC_DEFUN(KDE_VERSION, +[ + ac_kde_version=2 + AC_MSG_CHECKING(for KDE version) + tmp=`kde-config -v 2>/dev/null | grep KDE:` + case "$tmp" in + KDE:?3.*) + ac_kde_version=3 + ;; + esac + AC_MSG_RESULT($ac_kde_version.x) +]) |