blob: 03c74834f45c83ae95e03587f56a7338d2cafb02 (
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-tdeconfig,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)
|