Hi, On my system freeamp's configure did not find arts-includes or -libs because they're not in my include/lib-path by default. I now patched configure.in to use artsc-config which by default is installed on every system where arts is installed on. I have taken bits of the test from SDL's configure.in, just in case somebody has seen those lines before ;) ============== START configure.in.patch ============== --- configure.in-old Fri Apr 13 19:44:47 2001 +++ configure.in Tue May 1 17:46:26 2001 @@ -741,20 +741,25 @@ AC_CHECK_LIB(z, uncompress, ) AC_SUBST(ID3_LIBS) -AC_CHECK_HEADERS(kde/artsc/artsc.h, have_arts="true", have_arts="false") +dnl Partly taken from SDL's configure.in +dnl ------------------------------------------------------------- -if test "$have_arts" = "false"; then - AC_CHECK_HEADERS(artsc/artsc.h, have_arts="true", - have_arts="false") +AC_PATH_PROG(ARTSCCONFIG, artsc-config) +if test x$ARTSCCONFIG = x -o x$ARTSCCONFIG = x'"$ARTSCCONFIG"'; then + : # arts isn't installed +else + CFLAGS="$CFLAGS `$ARTSCCONFIG --cflags`" + AC_TRY_COMPILE([ + #include <artsc.h> + ],[ + arts_stream_t stream; + ],[ + OSDEPPLUGINS="$OSDEPPLUGINS plugins/arts.pmo"; + OSINC="$OSINC -I$srcdir/io/arts/include" + ARTS_LIBS=`$ARTSCCONFIG --libs` + AC_MSG_RESULT([compiling arts pmo plugin]) + ]) fi - -ARTS_LIBS="" -AC_CHECK_LIB(artsc, arts_init, - OSDEPPLUGINS="$OSDEPPLUGINS plugins/arts.pmo"; - OSINC="$OSINC -I$srcdir/io/arts/include" - ARTS_LIBS="-lartsc -laudiofile" - AC_MSG_RESULT([compiling arts pmo plugin]) -) AC_SUBST(ARTS_LIBS) AC_SUBST(EXTRALIBS) ============== EOF ============== I hope the patch works for everybody. If not, drop me a mail or catch me on openprojects-irc (nickname is mETz, mostly found on #kde). Bye, Stefan Gehn aka mETz -- [EMAIL PROTECTED] | ICQ#51123152 | May the tux be with you _______________________________________________ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
