~kelemeng/banshee/bug743928

« back to all changes in this revision

Viewing changes to build/m4/banshee/nautilus-burn.m4

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2011-05-14 22:25:36 UTC
  • mfrom: (6.3.15 experimental)
  • Revision ID: james.westby@ubuntu.com-20110514222536-u1x7ikxdqkmfvyuz
Tags: 2.1.0-1ubuntu1
* [2396c18] Merge from Debian Unstable, remaining changes:
  + Enable SoundMenu and Disable NotificationArea by default
  + Disable boo and karma extensions
  + Enable and recommnd u1ms and soundmenu extensions
  + Move desktop file for Meego UI to /usr/share/une/applications
  + Change the url for the Amazon store redirector
  + Create the U1MS widget earlier and bump libu1 requirement
* [9d7c600] Drop upstreamed u1ms-initialize-earlier patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AC_DEFUN([BANSHEE_CHECK_NAUTILUS_BURN],
2
 
[
3
 
        PKG_CHECK_MODULES(LIBNAUTILUS_BURN, libnautilus-burn >= 2.15, 
4
 
                lnb15=yes, lnb15=no)
5
 
        AC_MSG_RESULT([$lnb15])
6
 
 
7
 
        PKG_CHECK_MODULES(LIBNAUTILUS_BURN, libnautilus-burn >= 2.13, 
8
 
                lnb13=yes, lnb13=no)
9
 
        AC_MSG_RESULT([$lnb13])
10
 
 
11
 
        PKG_CHECK_MODULES(LIBNAUTILUS_BURN, libnautilus-burn >= 2.12, 
12
 
                lnb12=yes, lnb12=no)
13
 
 
14
 
        LNB_CSFLAGS=""
15
 
 
16
 
        if test "x$lnb15" = "xyes"; then
17
 
                LNB_SOVERSION=4
18
 
                LNB_CSFLAGS="-define:HAVE_LNB_216"
19
 
                AC_DEFINE(HAVE_LIBNAUTILUS_BURN_4, 1, 
20
 
                        [Define if libnautilus-burn is version 2.15 (soversion 4) or later])
21
 
        elif test "x$lnb13" = "xyes"; then
22
 
                LNB_SOVERSION=3
23
 
        elif test "x$lnb12" = "xyes"; then
24
 
                LNB_SOVERSION=2
25
 
        else
26
 
                AC_MSG_ERROR([You need libnautilus-burn 2.12 or better])
27
 
        fi
28
 
        
29
 
        AC_SUBST(LNB_CSFLAGS)
30
 
        AC_SUBST(LNB_SOVERSION)
31
 
 
32
 
        AC_SUBST(LIBNAUTILUS_BURN_CFLAGS)
33
 
        AC_SUBST(LIBNAUTILUS_BURN_LIBS)
34
 
])
35