TDE games
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
1.0 KiB

  1. #MIN_CONFIG
  2. KDE_ENABLE_HIDDEN_VISIBILITY
  3. AC_CHECK_RANDOM
  4. AC_CHECK_USLEEP
  5. CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
  6. KDE_INIT_DOXYGEN([KDE Games API Reference], [Version $VERSION])
  7. # Allow for stand-alone releases of applications with cvs2pack
  8. if test -d $srcdir/libtdegames ; then
  9. AC_SUBST(LIB_TDEGAMES, "\$(top_builddir)/libtdegames/libtdegames.la")
  10. AC_SUBST(LIB_TDEGAMES_DEP, '$(LIB_TDEGAMES)')
  11. else
  12. AC_SUBST(LIB_TDEGAMES, "-ltdegames")
  13. AC_SUBST(LIB_TDEGAMES_DEP, "")
  14. fi
  15. artsc_config_test_path=$prefix/bin:$exec_prefix/bin:$TDEDIR/bin:$PATH
  16. AC_PATH_PROG(ARTSCCONFIG, artsc-config, no, $artsc_config_test_path)
  17. if test "x$build_arts" = "xyes" && test "x$ARTSCCONFIG" != "xno" ; then
  18. LIB_ARTS="-lartskde"
  19. ARTS_PREFIX=[`$ARTSCCONFIG --arts-prefix`]
  20. ARTS_CFLAGS="-I$ARTS_PREFIX/include/arts"
  21. AC_DEFINE(HAVE_ARTS, 1, [have arts support in juk])
  22. else
  23. build_arts="no"
  24. LIB_ARTS=""
  25. ARTS_CFLAGS=""
  26. AC_DEFINE(HAVE_ARTS, 0, [no arts support in juk])
  27. fi
  28. AC_SUBST(LIB_ARTS)
  29. AC_SUBST(ARTS_CFLAGS)