blob: a74f3d5f998f6e14c41dc2211bdb45e3a4a9866f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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)
|