blob: ccb15bdd389a51184699f4ca3e7fafe3a3e26c3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
--- kdeextragear-1/k3b/configure.in.in 2004/03/16 14:07:22 1.49
+++ kdeextragear-1/k3b/configure.in.in 2004/07/12 19:47:47 1.50
@@ -204,16 +204,22 @@ AC_SUBST(LIBSAMPLERATE)
AM_CONDITIONAL(compile_libsamplerate, [test -z "$LIBSAMPLERATE"])
-dnl Find aRts
ARTS_LIBS=""
-KDE_CHECK_HEADERS(arts/artsflow.h,
- [KDE_CHECK_HEADERS(arts/kmedia2.h,
- [arts_available=yes
- ARTS_LIBS="-lartskde"],
- [arts_available=no]
- )]
-)
+if test "$build_arts" == "yes"; then
+ dnl Find aRts
+ KDE_CHECK_HEADERS(arts/artsflow.h,
+ [KDE_CHECK_HEADERS(arts/kmedia2.h,
+ [arts_available=yes
+ ARTS_LIBS="-lartskde"],
+ [arts_available=no]
+ )]
+ )
+fi
AC_SUBST(ARTS_LIBS)
+AM_CONDITIONAL(include_arts, [test -n "$ARTS_LIBS"])
+if test "$build_arts" == "yes"; and test x$arts_available = xyes; then
+ AC_DEFINE(WITH_ARTS,1,[defined if arts support is compiled in])
+fi
KDE_CHECK_THREADING
|