summaryrefslogtreecommitdiffstats
path: root/configure.in.in
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-05 18:29:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-03-05 18:29:07 +0000
commit5c45a37ac32e2ef8ef9f435eae2e96fb89ba6965 (patch)
treec8ad12acaf4340a6ac23a805e11350f04e7c3146 /configure.in.in
downloadcompizconfig-backend-tdeconfig-5c45a37ac32e2ef8ef9f435eae2e96fb89ba6965.tar.gz
compizconfig-backend-tdeconfig-5c45a37ac32e2ef8ef9f435eae2e96fb89ba6965.zip
Added KDE3 version of Compiz Kcontrol module
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/compizconfig-backend-kconfig@1099531 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in
new file mode 100644
index 0000000..a74f3d5
--- /dev/null
+++ b/configure.in.in
@@ -0,0 +1,21 @@
+#MIN_CONFIG
+KDE_ENABLE_HIDDEN_VISIBILITY
+AM_INIT_AUTOMAKE(compizconfig-backend-kconfig,0.8.4)
+
+AC_CHECK_RANDOM
+AC_CHECK_USLEEP
+CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
+
+
+KDE_PKG_CHECK_MODULES(CCS, "libcompizconfig",[],AC_MSG_ERROR([libccs not found]))
+
+if test -z "$PKG_CONFIG"; then
+ AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+fi
+if test "$PKG_CONFIG" = "no" ; then
+ BACKENDDIR=$prefix/lib/compizconfig
+else
+ ccs_libdir=`$PKG_CONFIG --variable=libdir libcompizconfig`
+ BACKENDDIR=$ccs_libdir/compizconfig
+fi
+AC_SUBST(BACKENDDIR)