~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to arts/configure.in.in

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl Find aRts using artsc-config
 
2
AC_DEFUN(AC_FIND_ARTS,
 
3
[
 
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?)
 
7
        fi
 
8
        ARTSDIR=[`$ARTSC_CONFIG --arts-prefix`]
 
9
])
 
10
 
 
11
KDE_CHECK_THREADING
 
12
 
 
13
dnl Check if we are building as part of KDE. 
 
14
 
 
15
AC_MSG_CHECKING(if building standalone aRts snapshot without KDE)
 
16
if test "$DCOPIDL" = ""; then
 
17
        AC_MSG_RESULT(yes)
 
18
 
 
19
        AC_FIND_ARTS
 
20
 
 
21
        dnl find mcopidl
 
22
        MCOPIDL="$ARTSDIR/bin/mcopidl"
 
23
        AC_SUBST(MCOPIDL)
 
24
 
 
25
        dnl fake KDE_RPATH, moc, uic
 
26
        KDE_RPATH=""
 
27
        MOC=true
 
28
        UIC=true
 
29
        AC_SUBST(KDE_RPATH)
 
30
        AC_SUBST(MOC)
 
31
        AC_SUBST(UIC)
 
32
 
 
33
        dnl variables
 
34
        arts_datadir="$ARTSDIR/share"
 
35
        arts_includes="$ARTSDIR/include/arts"
 
36
        arts_libraries="$ARTSDIR/lib"
 
37
        ARTS_BUILD_KDE=""
 
38
        ARTS_BUILD_KDE_GUI=""
 
39
else
 
40
        AC_MSG_RESULT(no)
 
41
 
 
42
        dnl variables
 
43
        arts_datadir="$kde_datadir"
 
44
        arts_includes="$kde_includes/arts"
 
45
        arts_libraries="$kde_libraries"
 
46
 
 
47
        dnl conditional build some things
 
48
        ARTS_BUILD_KDE="builder tools"
 
49
        ARTS_BUILD_KDE_GUI="kde"
 
50
fi
 
51
 
 
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)