summaryrefslogtreecommitdiffstats
path: root/configure.in.in
blob: 968ad77db5a6a4af3eeae440f03e8fdbe1344e7e (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_KDEGAMES, "\$(top_builddir)/libtdegames/libtdegames.la")
	AC_SUBST(LIB_KDEGAMES_DEP, '$(LIB_KDEGAMES)')
else
	AC_SUBST(LIB_KDEGAMES, "-ltdegames")
	AC_SUBST(LIB_KDEGAMES_DEP, "")
fi

artsc_config_test_path=$prefix/bin:$exec_prefix/bin:$KDEDIR/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)