summaryrefslogtreecommitdiffstats
path: root/configure.in.in
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitc90c389a8a8d9d8661e9772ec4144c5cf2039f23 (patch)
tree6d8391395bce9eaea4ad78958617edb20c6a7573 /configure.in.in
downloadtdegames-c90c389a8a8d9d8661e9772ec4144c5cf2039f23.tar.gz
tdegames-c90c389a8a8d9d8661e9772ec4144c5cf2039f23.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in
new file mode 100644
index 00000000..666fd760
--- /dev/null
+++ b/configure.in.in
@@ -0,0 +1,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/libkdegames ; then
+ AC_SUBST(LIB_KDEGAMES, "\$(top_builddir)/libkdegames/libkdegames.la")
+ AC_SUBST(LIB_KDEGAMES_DEP, '$(LIB_KDEGAMES)')
+else
+ AC_SUBST(LIB_KDEGAMES, "-lkdegames")
+ 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)