1
dnl Find aRts using artsc-config
4
AC_PATH_PROG(ARTSC_CONFIG, artsc-config, no)
5
if test "x$ARTSC_CONFIG" = "xno" ; then
6
AC_MSG_ERROR(Cannot find artsc-config - missing from path?)
8
ARTSDIR=[`$ARTSC_CONFIG --arts-prefix`]
13
dnl Check if we are building as part of KDE.
15
AC_MSG_CHECKING(if building standalone aRts snapshot without KDE)
16
if test "$DCOPIDL" = ""; then
22
MCOPIDL="$ARTSDIR/bin/mcopidl"
25
dnl fake KDE_RPATH, moc, uic
34
arts_datadir="$ARTSDIR/share"
35
arts_includes="$ARTSDIR/include/arts"
36
arts_libraries="$ARTSDIR/lib"
43
arts_datadir="$kde_datadir"
44
arts_includes="$kde_includes/arts"
45
arts_libraries="$kde_libraries"
47
dnl conditional build some things
48
ARTS_BUILD_KDE="builder tools"
49
ARTS_BUILD_KDE_GUI="kde"
52
AC_SUBST(arts_datadir)
53
AC_SUBST(arts_includes)
54
AC_SUBST(arts_libraries)
55
AC_SUBST(ARTS_BUILD_KDE)
56
AC_SUBST(ARTS_BUILD_KDE_GUI)