Index: kdemultimedia-3.5.1/configure.in.in =================================================================== --- kdemultimedia-3.5.1.orig/configure.in.in +++ kdemultimedia-3.5.1/configure.in.in @@ -548,4 +548,22 @@ if test "x$with_akode" != xno; then fi 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) + KDE_CHECK_MPEGLIB_ARTS