summaryrefslogtreecommitdiffstats
path: root/configure.in.in
blob: e93fb8e19a6e322043fd155950de907ac009d827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#MIN_CONFIG
KDE_ENABLE_HIDDEN_VISIBILITY
AC_CHECK_RANDOM
AC_CHECK_USLEEP
CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"

KDE_INIT_DOXYGEN([KDE Games API Reference], [Version $VERSION])

# Allow for stand-alone releases of applications with cvs2pack
if test -d $srcdir/libtdegames ; then
	AC_SUBST(LIB_TDEGAMES, "\$(top_builddir)/libtdegames/libtdegames.la")
	AC_SUBST(LIB_TDEGAMES_DEP, '$(LIB_TDEGAMES)')
else
	AC_SUBST(LIB_TDEGAMES, "-ltdegames")
	AC_SUBST(LIB_TDEGAMES_DEP, "")
fi

artsc_config_test_path=$prefix/bin:$exec_prefix/bin:$TDEDIR/bin:$PATH
AC_PATH_PROG(ARTSCCONFIG, artsc-config, no, $artsc_config_test_path)

if test "x$build_arts" = "xyes" && test "x$ARTSCCONFIG" != "xno" ; then
        LIB_ARTS="-lartskde"
        ARTS_PREFIX=[`$ARTSCCONFIG --arts-prefix`]
        ARTS_CFLAGS="-I$ARTS_PREFIX/include/arts"
        AC_DEFINE(HAVE_ARTS, 1, [have arts support in juk])
else
        build_arts="no"
        LIB_ARTS=""
        ARTS_CFLAGS=""
        AC_DEFINE(HAVE_ARTS, 0, [no arts support in juk])
fi

AC_SUBST(LIB_ARTS)
AC_SUBST(ARTS_CFLAGS)