~loneowais/ubuntu/precise/rhythmbox/remember-the-rhythm

« back to all changes in this revision

Viewing changes to .pc/00git-dacp-enums.patch/configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-06-01 10:04:34 UTC
  • Revision ID: james.westby@ubuntu.com-20110601100434-7tig4ca6two4s43y
Tags: 2.90.1~20110329-1ubuntu4
* Add 00git-daap-password-handling.patch and 00git-dacp-enums.patch:
  Backport DAAP fixes from upstream trunk to fix building against current
  daap.
* debian/control.in: Bump libdmapsharing-3.0-dev build dependency, above
  patches now need the new API.
* debian/control.in: Add Breaks: to the current version of
  rhythmbox-ubuntuone-music-store, as that is still using GTK2, and thus
  crashing RB on startup. (Assuming that the next upload will fix that
  somehow).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AC_PREREQ(2.53)
 
2
AC_INIT([rhythmbox],
 
3
        [2.90.1],
 
4
        [https://bugzilla.gnome.org/enter_bug.cgi?product=rhythmbox])
 
5
AC_CONFIG_SRCDIR(rhythmbox.pc.in)
 
6
AC_CONFIG_MACRO_DIR(macros)
 
7
AM_CONFIG_HEADER(config.h)
 
8
AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip])
 
9
 
 
10
AC_SUBST(ACLOCAL_AMFLAGS, "-I macros")
 
11
 
 
12
AM_MAINTAINER_MODE
 
13
GNOME_MAINTAINER_MODE_DEFINES
 
14
 
 
15
# plugin API versioning
 
16
# Increment on interface addition, reset on removal
 
17
RHYTHMBOX_CORE_AGE=0
 
18
# Increment on interface add, remove, or change
 
19
RHYTHMBOX_CORE_CURRENT=4
 
20
# Increment on source change, reset when CURRENT changes.
 
21
RHYTHMBOX_CORE_REVISION=0
 
22
 
 
23
AC_SUBST(RHYTHMBOX_CORE_AGE)
 
24
AC_SUBST(RHYTHMBOX_CORE_CURRENT)
 
25
AC_SUBST(RHYTHMBOX_CORE_REVISION)
 
26
 
 
27
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])],)
 
28
 
 
29
dnl XXXX hack to kill off all the libtool tags ...
 
30
dnl it isn't like we are using C++ or Fortran.
 
31
m4_define([_LT_AC_TAGCONFIG],[])
 
32
 
 
33
GOBJECT_INTROSPECTION_REQS=0.10.0
 
34
GOBJECT_INTROSPECTION_REQUIRE([$GOBJECT_INTROSPECTION_REQS])
 
35
 
 
36
IT_PROG_INTLTOOL([0.35.0])
 
37
 
 
38
AC_ISC_POSIX
 
39
AC_PROG_CC
 
40
AC_STDC_HEADERS
 
41
AM_PROG_LIBTOOL
 
42
m4_ifdef([LT_OUTPUT], [LT_OUTPUT])
 
43
AC_C_BIGENDIAN
 
44
AC_CHECK_SIZEOF(long)
 
45
 
 
46
GTK_REQS=2.91.4
 
47
 
 
48
DBUS_MIN_REQS=0.35
 
49
GST_0_10_REQS=0.10.20
 
50
GDK_PIXBUF_REQS=2.18.0
 
51
GLIB_REQS=2.26.0
 
52
LIBGPOD_REQS=0.6
 
53
MUSICBRAINZ_REQS=2.1.0
 
54
MUSICBRAINZ3_REQS=3.0.2
 
55
TOTEM_PLPARSER_REQS=2.32.1
 
56
VALA_REQS=0.9.4
 
57
AVAHI_REQS=0.6
 
58
LIBSOUP_REQS=2.26.0
 
59
GUDEV_REQS=143
 
60
LIBMTP_REQS=0.3.0
 
61
PYGOBJECT_REQUIRED=2.15.4
 
62
 
 
63
GNOME_MEDIA_PROFILES_REQS=2.91.0
 
64
LIBNOTIFY_REQS=0.5.1
 
65
BRASERO_MIN_REQS=2.31.5
 
66
WEBKIT_MIN_REQS=1.3.9
 
67
 
 
68
 
 
69
 
 
70
 
 
71
AC_MSG_CHECKING([for GNU extension fwrite_unlocked])
 
72
AC_LINK_IFELSE(
 
73
[AC_LANG_PROGRAM([[
 
74
#define _GNU_SOURCE
 
75
#include <stdio.h>
 
76
]],
 
77
[[fwrite_unlocked ("foo", 1, sizeof ("foo"), stdout);]])],[have_fwrite_unlocked=yes])
 
78
if test x"$have_fwrite_unlocked" = xyes; then
 
79
        AC_DEFINE(HAVE_GNU_FWRITE_UNLOCKED,1,[Define if you have GNU fwrite_unlocked])
 
80
        AC_MSG_RESULT([yes])
 
81
else
 
82
        AC_MSG_RESULT([no])
 
83
fi
 
84
 
 
85
mkdtemp_missing=false
 
86
AC_CHECK_FUNC(mkdtemp,
 
87
    [AC_DEFINE([HAVE_MKDTEMP], 1, [Have GlibC function to make temp dirs])],
 
88
    mkdtemp_missing=true)
 
89
AM_CONDITIONAL(MKDTEMP_MISSING, test x$mkdtemp_missing = xtrue)
 
90
 
 
91
PKG_PROG_PKG_CONFIG
 
92
 
 
93
PKG_CHECK_MODULES(RB_CLIENT, glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS)
 
94
 
 
95
dnl  note: gio-unix-2.0 is here for libmediaplayerid
 
96
PKG_CHECK_MODULES(RHYTHMBOX,                            \
 
97
                  gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
 
98
                  gtk+-3.0 >= $GTK_REQS                 \
 
99
                  gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS    \
 
100
                  glib-2.0 >= $GLIB_REQS                \
 
101
                  gio-2.0 >= $GLIB_REQS                 \
 
102
                  gio-unix-2.0 >= $GLIB_REQS            \
 
103
                  libgnome-media-profiles-3.0 >= $GNOME_MEDIA_PROFILES_REQS \
 
104
                  libsoup-2.4 >= $LIBSOUP_REQS          \
 
105
                  libsoup-gnome-2.4 >= $LIBSOUP_REQS)
 
106
 
 
107
PKG_CHECK_MODULES(TOTEM_PLPARSER, totem-plparser >= $TOTEM_PLPARSER_REQS, have_totem_plparser=yes, have_totem_plparser=no)
 
108
if test x$have_totem_plparser != xyes; then
 
109
   AC_MSG_ERROR([totem playlist parsing library not found or too old])
 
110
else
 
111
   if test "x`pkg-config --variable uselibcamel totem-plparser`" = "xno" ; then
 
112
       AC_MSG_ERROR([totem playlist parsing library has Podcast parsing disabled])
 
113
   fi
 
114
fi
 
115
 
 
116
dnl gudev
 
117
AC_ARG_WITH(gudev,
 
118
            AC_HELP_STRING([--with-gudev],
 
119
                           [Enable GUdev for hardware detection]),,
 
120
            with_gudev=auto)
 
121
if test x"$with_gudev" != "xno"; then
 
122
        PKG_CHECK_MODULES(GUDEV, gudev-1.0 >= $GUDEV_REQS,
 
123
                          have_gudev=yes, have_gudev=no)
 
124
        if test x"$have_gudev" = "xno" -a x"$with_gudev" = "xyes"; then
 
125
          AC_MSG_ERROR([GUdev explicitly requested, but is not available])
 
126
        fi
 
127
        if test x"$have_gudev" = "xyes"; then
 
128
          use_gudev=yes
 
129
          AC_SUBST(GUDEV_CFLAGS)
 
130
          AC_SUBST(GUDEV_LIBS)
 
131
          AC_DEFINE(HAVE_GUDEV, 1, [Use GUdev for hardware detection])
 
132
        else
 
133
          use_gudev=no
 
134
        fi
 
135
else
 
136
  use_gudev=no
 
137
fi
 
138
AM_CONDITIONAL(USE_GUDEV, test x"$use_gudev" = xyes)
 
139
 
 
140
dnl hal remnants
 
141
AC_ARG_WITH(hal,
 
142
              AC_HELP_STRING([--without-hal],
 
143
                             [Disable HAL support]))
 
144
if test "x$with_hal" != "xno"; then
 
145
  PKG_CHECK_MODULES(HAL, hal >= 0.5 hal < 0.6, enable_hal=yes, enable_hal=no)
 
146
  if test "x$enable_hal" != "xyes" -a "x$with_hal" = "xyes"; then
 
147
      AC_MSG_ERROR([HAL support explicitly requested but HAL couldn't be found])
 
148
  fi
 
149
 
 
150
  if test "x$enable_hal" = "xyes"; then
 
151
        AC_DEFINE(HAVE_HAL, 1, [Define if you have HAL support])
 
152
        AC_SUBST(HAL_CFLAGS)
 
153
    AC_SUBST(HAL_LIBS)
 
154
  fi    
 
155
fi
 
156
AM_CONDITIONAL(HAVE_HAL, test x"$enable_hal" = xyes)
 
157
 
 
158
 
 
159
dnl iPod support
 
160
AC_ARG_WITH(ipod,
 
161
            AC_HELP_STRING([--with-ipod],
 
162
                           [Enable iPod support]),,
 
163
              with_ipod=auto)
 
164
if test "x$with_ipod" != "xno"; then
 
165
        PKG_CHECK_MODULES(IPOD, libgpod-1.0 >= $LIBGPOD_REQS,
 
166
                          have_libgpod=yes, have_libgpod=no)
 
167
        if test "x$have_libgpod" = "xno" -a "x$with_ipod" = "xyes"; then
 
168
          AC_MSG_ERROR([iPod explicitly requested but libgpod couldn't be found])
 
169
        fi
 
170
        if test "x$have_libgpod" = "xyes"; then
 
171
          PKG_CHECK_EXISTS(libgpod-1.0 >= 0.7.92, have_itdb_start_stop_sync=yes,
 
172
                                                  have_itdb_start_stop_sync=no)
 
173
          if test "x$have_itdb_start_stop_sync" = "xyes"; then
 
174
            AC_DEFINE([HAVE_ITDB_START_STOP_SYNC], 1, [Indicates whether libgpod is new enough to have its itdb_start/stop_sync API])
 
175
          fi
 
176
          use_ipod=yes
 
177
          AC_SUBST(IPOD_CFLAGS)
 
178
          AC_SUBST(IPOD_LIBS)
 
179
        fi
 
180
fi
 
181
AM_CONDITIONAL(USE_IPOD, test x"$use_ipod" = xyes)
 
182
 
 
183
dnl mtp support
 
184
AC_ARG_WITH(mtp,
 
185
            AC_HELP_STRING([--with-mtp],
 
186
                           [Enable MTP support]),,
 
187
              with_mtp=auto)
 
188
if test "x$with_mtp" != "xno"; then
 
189
        can_use_mtp=no
 
190
        if test x"$use_gudev" = "xyes" -o x"$enable_hal" = "xyes"; then
 
191
          can_use_mtp=yes
 
192
        fi
 
193
 
 
194
        PKG_CHECK_MODULES(MTP, libmtp >= $LIBMTP_REQS, have_libmtp=yes, have_libmtp=no)
 
195
        if test x"$with_mtp" = "xyes"; then
 
196
          if test x"$have_libmtp" = "xno"; then
 
197
            AC_MSG_ERROR([MTP explicitly requested but libmtp is not available])
 
198
          fi
 
199
          if test x"$can_use_mtp" = "xno"; then
 
200
            AC_MSG_ERROR([MTP explicitly requested but GUdev and HAL are not available])
 
201
          fi
 
202
        fi
 
203
        if test "x$have_libmtp" = "xyes" -a "x$can_use_mtp" = "xyes"; then
 
204
          use_mtp=yes
 
205
          AC_SUBST(MTP_CFLAGS)
 
206
          AC_SUBST(MTP_LIBS)
 
207
        fi
 
208
fi
 
209
AM_CONDITIONAL(USE_MTP, test x"$use_mtp" = xyes)
 
210
 
 
211
 
 
212
dnl gnome-keyring support
 
213
 
 
214
AC_ARG_WITH(gnome-keyring,
 
215
            AC_HELP_STRING([--with-gnome-keyring],
 
216
                           [Enable gnome-keyring support]),,
 
217
              with_gnome_keyring=auto)
 
218
if test "x$with_gnome_keyring" != "xno"; then
 
219
 
 
220
        PKG_CHECK_MODULES(GNOME_KEYRING, gnome-keyring-1, have_gnome_keyring=yes, have_gnome_keyring=no)
 
221
        if test "x$have_gnome_keyring" = "xno" -a "x$with_gnome_keyring" = "xyes"; then
 
222
          AC_MSG_ERROR([gnome-keyring support explicitly requested but gnome-keyring couldn't be found])
 
223
        fi
 
224
        if test "x$have_gnome_keyring" = "xyes"; then
 
225
           AC_DEFINE(WITH_GNOME_KEYRING, 1, [Define if gnome-keyring support is enabled])
 
226
           use_gnome_keyring=yes
 
227
          AC_SUBST(GNOME_KEYRING_CFLAGS)
 
228
          AC_SUBST(GNOME_KEYRING_LIBS)
 
229
        fi
 
230
fi
 
231
AM_CONDITIONAL(USE_GNOME_KEYRING, test x"$use_gnome_keyring" = xyes)
 
232
 
 
233
dnl Database
 
234
AC_ARG_WITH(database,
 
235
              AC_HELP_STRING([--with-database=tree],
 
236
                             [Select the database to use (default tree)]),,
 
237
              with_database=tree)
 
238
AM_CONDITIONAL(USE_TREEDB, test x"$with_database" = xtree)
 
239
 
 
240
case "x$with_database" in
 
241
  "xtree")
 
242
    AC_DEFINE(WITH_RHYTHMDB_TREE, 1, [Define if you are using the RhythmDB tree database])
 
243
    ;;
 
244
  *)
 
245
    AC_MSG_ERROR([Unknown database selected])
 
246
    ;;
 
247
esac
 
248
 
 
249
dnl Database debugging
 
250
AC_ARG_WITH(rhythmdb-debug,
 
251
              AC_HELP_STRING([--with-rhythmdb-debug=0|1|2],
 
252
                             [Level of RhythmDB sanity checking]),,with_rhythmdb_debug=0)
 
253
if test x"${with_rhythmdb_debug}" != x0; then
 
254
   AC_DEFINE_UNQUOTED([RHYTHMDB_ENABLE_SANITY_CHECK], "${with_rhythmdb_debug}", [Define to the level of RhythmDB sanity checking])
 
255
fi
 
256
 
 
257
dnl Sound system
 
258
dnl Now we're ready to ask for gstreamer libs and cflags
 
259
dnl And we can also ask for the right version of gstreamer
 
260
PKG_CHECK_MODULES(GSTREAMER_0_10, \
 
261
        gstreamer-0.10 >= $GST_0_10_REQS
 
262
        gstreamer-base-0.10 >= $GST_0_10_REQS
 
263
        gstreamer-plugins-base-0.10 >= $GST_0_10_REQS)
 
264
 
 
265
RHYTHMBOX_CFLAGS="$RHYTHMBOX_CFLAGS $GSTREAMER_0_10_CFLAGS"
 
266
RHYTHMBOX_LIBS="$RHYTHMBOX_LIBS $GSTREAMER_0_10_LIBS -lgstinterfaces-0.10"
 
267
 
 
268
AC_ARG_WITH(mdns,
 
269
   AC_HELP_STRING([--with-mdns=auto|avahi],
 
270
   [Select the mDNS/DNS-SD implementation to use (default auto)]),,
 
271
   with_mdns=auto)
 
272
 
 
273
have_avahi=no
 
274
have_mdns=no
 
275
use_avahi=no
 
276
 
 
277
PKG_CHECK_MODULES(AVAHI,
 
278
   avahi-client >= $AVAHI_REQS
 
279
   avahi-glib >= $AVAHI_REQS,
 
280
   have_avahi=yes,
 
281
   have_avahi=no)
 
282
 
 
283
if test x"$with_mdns" = xauto || test x"$with_mdns" = xavahi; then
 
284
   if test x"$have_avahi" = xyes; then
 
285
      MDNS_CFLAGS=$AVAHI_CFLAGS
 
286
      MDNS_LIBS=$AVAHI_LIBS
 
287
      AC_DEFINE(WITH_AVAHI, 1, [Define if mDNS/DNS-SD implementation uses Avahi])
 
288
      use_avahi=yes
 
289
      AC_MSG_NOTICE([Detected Avahi, using it for mDNS/DNS-SD])
 
290
      have_mdns=yes
 
291
   elif test x"$with_mdns" = xavahi; then
 
292
      AC_MSG_ERROR([Avahi explicitly requested but not found.])
 
293
   fi
 
294
fi
 
295
 
 
296
AM_CONDITIONAL(USE_AVAHI, test "x$use_avahi" = "xyes")
 
297
 
 
298
AC_ARG_ENABLE(libnotify,
 
299
            AC_HELP_STRING([--disable-libnotify],
 
300
                           [Disable libnotify support]),,
 
301
              enable_libnotify=auto)
 
302
if test "x$enable_libnotify" != "xno"; then
 
303
        PKG_CHECK_MODULES(NOTIFY,                            \
 
304
                          libnotify >= $LIBNOTIFY_REQS,
 
305
                          have_libnotify=yes,
 
306
                          have_libnotify=no)
 
307
        if test "x$have_libnotify" = "xno" -a "x$enable_libnotify" = "xyes"; then
 
308
          AC_MSG_ERROR([libnotify support explicitly requested, but libnotify couldn't be found])
 
309
        fi
 
310
        if test "x$have_libnotify" = "xyes"; then
 
311
             enable_libnotify=yes
 
312
        fi
 
313
fi
 
314
AM_CONDITIONAL(USE_NOTIFY, test x"$enable_libnotify" = xyes)
 
315
if test x$enable_libnotify = xyes ; then
 
316
    # Find out the version of LIBNOTIFY we're using
 
317
    libnotify_version=`pkg-config --modversion libnotify`
 
318
    LIBNOTIFY_VERSION_MAJOR=`echo $libnotify_version | awk -F. '{print $1}'`
 
319
    LIBNOTIFY_VERSION_MINOR=`echo $libnotify_version | awk -F. '{print $2}'`
 
320
    LIBNOTIFY_VERSION_MICRO=`echo $libnotify_version | awk -F. '{print $3}'`
 
321
    if test "z$LIBNOTIFY_VERSION_MAJOR" = "z"; then
 
322
        LIBNOTIFY_VERSION_MAJOR="0"
 
323
    fi
 
324
    if test "z$LIBNOTIFY_VERSION_MINOR" = "z"; then
 
325
        LIBNOTIFY_VERSION_MINOR="0"
 
326
    fi
 
327
    if test "z$LIBNOTIFY_VERSION_MICRO" = "z"; then
 
328
        LIBNOTIFY_VERSION_MICRO="0"
 
329
    fi
 
330
    echo "Your libnotify version is $LIBNOTIFY_VERSION_MAJOR,$LIBNOTIFY_VERSION_MINOR,$LIBNOTIFY_VERSION_MICRO."
 
331
    NOTIFY_CFLAGS="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MAJOR=$LIBNOTIFY_VERSION_MAJOR"
 
332
    NOTIFY_CFLAGS="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MINOR=$LIBNOTIFY_VERSION_MINOR"
 
333
    NOTIFY_CFLAGS="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MICRO=$LIBNOTIFY_VERSION_MICRO"
 
334
 
 
335
    AC_DEFINE(HAVE_NOTIFY, 1, [Define if libnotify support is enabled])
 
336
    AC_SUBST(NOTIFY_CFLAGS)
 
337
    AC_SUBST(NOTIFY_LIBS)
 
338
fi
 
339
 
 
340
AC_CHECK_LIB(z, uncompress)
 
341
 
 
342
dnl check for libgstcdda, needed to list the audio tracks
 
343
PKG_CHECK_MODULES(GSTCDDA, gstreamer-cdda-0.10)
 
344
AC_SUBST(GSTCDDA_LIBS)
 
345
AC_SUBST(GSTCDDA_CFLAGS)
 
346
 
 
347
dnl check for MusicBrainz
 
348
have_sj_metadata_getter=no
 
349
AC_ARG_ENABLE(musicbrainz, AC_HELP_STRING([--disable-musicbrainz],
 
350
                                [don't build with MusicBrainz support]))
 
351
if test x"$enable_musicbrainz" != "xno"; then
 
352
        PKG_CHECK_MODULES(MUSICBRAINZ3, libmusicbrainz3 >= $MUSICBRAINZ3_REQS, [have_musicbrainz3=yes], [have_musicbrainz3=no])
 
353
        PKG_CHECK_MODULES(MUSICBRAINZ, libmusicbrainz >= $MUSICBRAINZ_REQS, [have_musicbrainz=yes], [have_musicbrainz=no])
 
354
 
 
355
        AC_SUBST(MUSICBRAINZ3_CFLAGS)
 
356
        AC_SUBST(MUSICBRAINZ3_LIBS)
 
357
        AC_SUBST(MUSICBRAINZ_CFLAGS)
 
358
        AC_SUBST(MUSICBRAINZ_LIBS)
 
359
 
 
360
        if test x"$have_musicbrainz3" = xyes; then
 
361
                oldlibs=$LIBS
 
362
                LIBS="$LIBS $MUSICBRAINZ3_LIBS"
 
363
                AC_CHECK_FUNCS(mb_extract_uuid)
 
364
                LIBS="$oldlibs"
 
365
 
 
366
                AC_DEFINE([HAVE_MUSICBRAINZ3], 1, [Whether libmusicbrainz3 is available])
 
367
        fi
 
368
        if test x"$have_musicbrainz" = xyes; then
 
369
                AC_DEFINE([HAVE_MUSICBRAINZ], 1, [define if you have Musicbrainz])
 
370
        fi
 
371
 
 
372
        if test x"$have_musicbrainz3" = "xyes" || test x"$have_musicbrainz" = "xyes"; then
 
373
                have_sj_metadata_getter=yes
 
374
                AC_DEFINE([HAVE_SJ_METADATA_GETTER], 1, [Whether to use the sound-juicer metadata getter code])
 
375
        else
 
376
                if test x"$enable_musicbrainz" = xyes; then
 
377
                        AC_MSG_ERROR([MusicBrainz requested, but neither libmusicbrainz nor libmusicbrainz3 are available])
 
378
                fi
 
379
        fi
 
380
fi
 
381
AM_CONDITIONAL([HAVE_MUSICBRAINZ], [test "x$have_musicbrainz" = "xyes"])
 
382
AM_CONDITIONAL([HAVE_MUSICBRAINZ3], [test "x$have_musicbrainz3" = "xyes"])
 
383
AM_CONDITIONAL([HAVE_SJ_METADATA_GETTER], [test "x$have_sj_metadata_getter" = "xyes"])
 
384
 
 
385
AC_PATH_XTRA
 
386
CFLAGS="$CFLAGS $X_CFLAGS"
 
387
#LIBS=$X_LIBS
 
388
 
 
389
dnl Multimedia keys
 
390
have_xfree=no
 
391
AC_COMPILE_IFELSE([
 
392
        #include <X11/XF86keysym.h>
 
393
int main(int argc,char **argv) {
 
394
  return 0;
 
395
}
 
396
], have_xfree=yes)
 
397
AC_MSG_CHECKING(for XFree86 headers)
 
398
AC_MSG_RESULT($have_xfree)
 
399
if test x"$have_xfree" = "xyes" ; then
 
400
        AC_DEFINE(HAVE_XFREE, 1, [defined if you have X11/XF86keysym.h])
 
401
fi
 
402
 
 
403
AC_ARG_ENABLE(mmkeys, AC_HELP_STRING([--disable-mmkeys],
 
404
                                        [don't build with Multimedia Keys support]))
 
405
if test x"$have_xfree" = xyes; then
 
406
        if test x"$enable_mmkeys" != xno; then
 
407
                enable_mmkeys=yes
 
408
                AC_DEFINE(HAVE_MMKEYS, 1, [define if Multimedia Keys are enabled])
 
409
        fi
 
410
else
 
411
        if test x"$enable_mmkeys" = xyes; then
 
412
                AC_MSG_ERROR([Multimedia keys explicitly requested but no support found])
 
413
        fi
 
414
fi
 
415
 
 
416
dnl libbrasero-media support
 
417
have_libbrasero_media=no
 
418
AC_ARG_WITH(brasero,
 
419
            AC_HELP_STRING([--with-brasero],
 
420
                           [Build with libbrasero-media support]),,
 
421
            with_brasero=auto)
 
422
if test x"$with_brasero" != "xno"; then
 
423
    PKG_CHECK_MODULES(LIBBRASERO_MEDIA,
 
424
        libbrasero-media3 >= $BRASERO_MIN_REQS,
 
425
        have_libbrasero_media=yes,
 
426
        have_libbrasero_media=no)
 
427
    AC_SUBST(LIBBRASERO_MEDIA_CFLAGS)
 
428
    AC_SUBST(LIBBRASERO_MEDIA_LIBS)
 
429
fi
 
430
if test "x$have_libbrasero_media" = "xyes"; then
 
431
    AC_DEFINE([HAVE_LIBBRASERO_MEDIA], 1, [Have libbrasero-media])
 
432
fi
 
433
AM_CONDITIONAL(HAVE_LIBBRASERO_MEDIA, test x$have_libbrasero_media = xyes)
 
434
AC_SUBST(HAVE_LIBBRASERO_MEDIA)
 
435
 
 
436
AC_SUBST(CFLAGS)
 
437
AC_SUBST(LDFLAGS)
 
438
 
 
439
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
 
440
AC_PATH_PROG(GDK_PIXBUF_CSOURCE, gdk-pixbuf-csource)
 
441
AC_PATH_PROG(GCONFTOOL, gconftool-2)
 
442
 
 
443
AC_SUBST(RHYTHMBOX_CFLAGS)
 
444
AC_SUBST(RHYTHMBOX_LIBS)
 
445
 
 
446
AC_CACHE_CHECK([whether strftime supports %E and %O modifiers], ac_cv_strftime_supports_E_O, [
 
447
AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <time.h>
 
448
                int main ()
 
449
                {
 
450
                  char buf[100];
 
451
                  struct tm tm = {0};
 
452
                  tm.tm_year = 99;
 
453
                  if (strftime(buf, 100, "%EY", &tm) == 4 &&
 
454
                      strcmp (buf, "1999")==0)
 
455
                    return 0;
 
456
                  return 1;
 
457
                }
 
458
            ]])],
 
459
            [ac_cv_strftime_supports_E_O=yes],
 
460
            [ac_cv_strftime_supports_E_O=no],
 
461
            [AC_MSG_RESULT([cannot run test program while cross compiling])
 
462
            AC_MSG_ERROR([Please set ac_cv_strftime_supports_E_O to yes or no.])]
 
463
            )
 
464
])
 
465
if test "x$ac_cv_strftime_supports_E_O" = xyes; then
 
466
        AC_DEFINE(HAVE_STRFTIME_EXTENSION, 1, [Define if strftime supports %E and %O modifiers.])
 
467
fi
 
468
 
 
469
GETTEXT_PACKAGE=rhythmbox
 
470
AC_SUBST(GETTEXT_PACKAGE)
 
471
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Define to the Gettext package name])
 
472
 
 
473
AM_GLIB_GNU_GETTEXT
 
474
 
 
475
dnl Workaround for automake 1.8
 
476
AC_SUBST(mkdir_p) if test x"$mkdir_p" = "x"; then
 
477
  MKINSTALLDIRS="mkinstalldirs"
 
478
fi
 
479
AC_SUBST(MKINSTALLDIRS)
 
480
 
 
481
dnl DBUS
 
482
PKG_CHECK_MODULES(DBUS, dbus-glib-1 >= $DBUS_MIN_REQS)
 
483
 
 
484
DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_API_SUBJECT_TO_CHANGE"
 
485
DBUS_GLIB_BIN="`$PKG_CONFIG --variable=exec_prefix dbus-glib-1`/bin"
 
486
AC_SUBST(DBUS_GLIB_BIN)
 
487
 
 
488
AM_GCONF_SOURCE_2
 
489
 
 
490
dnl LIRC
 
491
AC_ARG_ENABLE(lirc,
 
492
        AC_HELP_STRING([--enable-lirc],[enable lirc support]))
 
493
with_lirc=no
 
494
if test x"$enable_lirc" != xno; then
 
495
        AC_CHECK_HEADER(lirc/lirc_client.h,[with_lirc=yes],[with_lirc=no])
 
496
        if test x"$with_lirc" = xyes; then
 
497
                AC_CHECK_LIB(lirc_client,lirc_init,[with_lirc=yes],[with_lirc=no])
 
498
        fi
 
499
        if test x"$with_lirc" = xno -a x"$enable_lirc" = xyes; then
 
500
                AC_MSG_ERROR([lirc explicitly requested but no support found])
 
501
        fi
 
502
fi
 
503
AM_CONDITIONAL(WITH_LIRC, test x"$with_lirc" = xyes)
 
504
 
 
505
dnl WebKit
 
506
have_webkit=no
 
507
AC_ARG_WITH(webkit,
 
508
            AC_HELP_STRING([--with-webkit],
 
509
                           [Use WebKit to display HTML]),,
 
510
            with_webkit=auto)
 
511
if test "x$with_webkit" != xno; then
 
512
        PKG_CHECK_MODULES(WEBKIT, [webkitgtk-3.0 >= $WEBKIT_MIN_REQS], have_webkit=yes, have_webkit=no)
 
513
        if test "x$have_webkit" = "xno" -a "x$with_webkit" = "xyes"; then
 
514
                AC_MSG_ERROR([WebKit support explicitly requested, but WebKit could not be found])
 
515
        fi
 
516
        if test "x$have_webkit" = "xyes"; then
 
517
                AC_DEFINE(WITH_WEBKIT, 1, [Define if WebKit is enabled])
 
518
        fi
 
519
fi
 
520
AM_CONDITIONAL(WITH_WEBKIT, test x"$have_webkit" = xyes)
 
521
 
 
522
 
 
523
AC_ARG_ENABLE(uninstalled-build,
 
524
              AC_HELP_STRING([--enable-uninstalled-build],
 
525
                             [Search for files in build directory as well]),
 
526
              enable_uninstalled=yes,)
 
527
if test x"$enable_uninstalled" = xyes; then
 
528
        AC_DEFINE(USE_UNINSTALLED_DIRS, 1, [Define to look for files in source tree locations])
 
529
fi
 
530
ROOT_UNINSTALLED_DIR="`pwd`"
 
531
AC_DEFINE_UNQUOTED(SHARE_UNINSTALLED_DIR,"`pwd`/$srcdir/data",[path to source data dir])
 
532
AC_DEFINE_UNQUOTED(SHARE_UNINSTALLED_BUILDDIR,"`pwd`/data",[path to built source data dir])
 
533
AC_DEFINE_UNQUOTED(METADATA_UNINSTALLED_DIR,"`pwd`/metadata",[path to metadata build dir])
 
534
AC_SUBST(ROOT_UNINSTALLED_DIR)
 
535
 
 
536
 
 
537
dnl warnings bits, copied from gnome-keyring configure.in
 
538
dnl Turn on the additional warnings last, so -Werror doesn't affect other tests.
 
539
 
 
540
AC_ARG_ENABLE(more-warnings,
 
541
[  --enable-more-warnings  Maximum compiler warnings],
 
542
set_more_warnings="$enableval",[
 
543
if test -d "$srcdir/.svn" || test -d "$srcdir/{arch}" || test -d "$srcdir/CVS" || test -d "$srcdir/_darcs" || test -d "$srcdir/.git"; then
 
544
        set_more_warnings=yes
 
545
else
 
546
        set_more_warnings=no
 
547
fi
 
548
])
 
549
RHYTHMBOX_CFLAGS_NOWARN=$RHYTHMBOX_CFLAGS
 
550
AC_SUBST(RHYTHMBOX_CFLAGS_NOWARN)
 
551
AC_MSG_CHECKING(for more warnings, including -Werror)
 
552
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
 
553
        AC_MSG_RESULT(yes)
 
554
        WARN_CFLAGS="\
 
555
        -Wcomment -Wformat -Wnonnull -Wimplicit-int -Wimplicit \
 
556
        -Wmain -Wmissing-braces -Wparentheses -Wsequence-point \
 
557
        -Wreturn-type -Wswitch -Wtrigraphs -Wunused-function \
 
558
        -Wunused-label -Wunused-value \
 
559
        -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
 
560
        -Wnested-externs -Wpointer-arith \
 
561
        -Wcast-align -Wall \
 
562
        -Werror -std=gnu89"
 
563
 
 
564
        if echo "$CFLAGS" | grep -q -- '-O' && echo "$CFLAGS" | grep -q -v -- '-O0'; then
 
565
                WARN_CFLAGS="-Wuninitialized $WARN_CFLAGS"
 
566
        fi
 
567
 
 
568
        for option in $WARN_CFLAGS; do
 
569
                SAVE_CFLAGS="$CFLAGS"
 
570
                CFLAGS="$CFLAGS $option"
 
571
                AC_MSG_CHECKING([whether gcc understands $option])
 
572
                AC_TRY_COMPILE([], [],
 
573
                        has_option=yes,
 
574
                        has_option=no,)
 
575
                if test x$has_option = xyes; then
 
576
                        RHYTHMBOX_CFLAGS="$RHYTHMBOX_CFLAGS $option"
 
577
                fi
 
578
                AC_MSG_RESULT($has_option)
 
579
                CFLAGS="$SAVE_CFLAGS"
 
580
                unset has_option
 
581
                unset SAVE_CFLAGS
 
582
        done
 
583
        unset option
 
584
        AC_SUBST(WARN_CFLAGS)
 
585
 
 
586
        SAVE_CFLAGS="$CFLAGS"
 
587
        CFLAGS="$CFLAGS -Wno-error"
 
588
        AC_TRY_COMPILE([], [],
 
589
                WNOERROR_CFLAGS="-Wno-error",
 
590
                WNOERROR_CFLAGS="")
 
591
        AC_SUBST(WNOERROR_CFLAGS)
 
592
        CFLAGS="$SAVE_CFLAGS"
 
593
        unset SAVE_CFLAGS
 
594
        unset has_wnoerror
 
595
 
 
596
        dnl enable GSEAL if gtk is new enough
 
597
        PKG_CHECK_EXISTS(gtk+-2.0 >= 2.20.0, [CFLAGS="$CFLAGS -DGSEAL_ENABLE"], [])
 
598
 
 
599
        dnl disable deprecated stuff
 
600
        CFLAGS="$CFLAGS $DISABLE_DEPRECATED"
 
601
else
 
602
        AC_MSG_RESULT(no)
 
603
fi
 
604
 
 
605
 
 
606
dnl Check for -fno-strict-aliasing
 
607
FLAGS="-fno-strict-aliasing"
 
608
save_CFLAGS="$CFLAGS"
 
609
CFLAGS="$CFLAGS $FLAGS"
 
610
AC_MSG_CHECKING([whether [$]CC understands $FLAGS])
 
611
AC_TRY_COMPILE([], [], [compiler_has_option=yes], [compiler_has_option=no])
 
612
CFLAGS="$save_CFLAGS"
 
613
AC_MSG_RESULT($compiler_has_option)
 
614
if test $compiler_has_option = yes; then
 
615
        NO_STRICT_ALIASING_CFLAGS="$FLAGS"
 
616
fi
 
617
AC_SUBST([NO_STRICT_ALIASING_CFLAGS])
 
618
 
 
619
dnl Enable gtk-doc
 
620
GTK_DOC_CHECK(1.4)
 
621
 
 
622
dnl Enable gnome-doc-utils
 
623
GNOME_DOC_INIT
 
624
 
 
625
 
 
626
dnl ================================================================
 
627
dnl Plugins
 
628
dnl ================================================================
 
629
 
 
630
PLUGIN_LIBTOOL_FLAGS="-module -avoid-version"
 
631
AC_SUBST(PLUGIN_LIBTOOL_FLAGS)
 
632
 
 
633
PLUGINDIR='${libdir}/rhythmbox/plugins'
 
634
AC_SUBST(PLUGINDIR)
 
635
 
 
636
dnl ================================================================
 
637
dnl Python plugins
 
638
dnl ================================================================
 
639
 
 
640
AC_MSG_CHECKING([whether Python plugin support is requested])
 
641
AC_ARG_ENABLE([python],
 
642
        AS_HELP_STRING([--enable-python],[Enable python support]),
 
643
        [enable_python=$enableval have_python=$enableval],
 
644
        [enable_python=autodetect have_python=yes])
 
645
AC_MSG_RESULT([$have_python])
 
646
 
 
647
if test "x$have_python" != "xyes"; then
 
648
        if test "x$enable_python" = "xyes"; then
 
649
                AC_MSG_ERROR([Python not found])
 
650
        elif test "x$enable_python" = "xautodetect"; then
 
651
                enable_python=no
 
652
                AC_MSG_WARN([Python not found, disabling python support])
 
653
        fi
 
654
fi
 
655
 
 
656
if test "x$have_python" != "xno"; then
 
657
        AM_PATH_PYTHON([2.3],[],[have_python=no])
 
658
        if test "x$PYTHON" = "x:"; then
 
659
                have_python=no
 
660
        fi
 
661
fi
 
662
 
 
663
if test "x$have_python" != "xno"; then
 
664
        PY_PREFIX=`$PYTHON -c 'import sys ; print sys.prefix'`
 
665
        PY_EXEC_PREFIX=`$PYTHON -c 'import sys ; print sys.exec_prefix'`
 
666
        PYTHON_LIBS="-lpython$PYTHON_VERSION"
 
667
        if test -d $PY_EXEC_PREFIX/lib64/python$PYTHON_VERSION ; then
 
668
                PYTHON_LIB_LOC="-L$PY_EXEC_PREFIX/lib64/python$PYTHON_VERSION/config"
 
669
                PYTHON_MAKEFILE="$PY_EXEC_PREFIX/lib64/python$PYTHON_VERSION/config/Makefile"
 
670
        else
 
671
                PYTHON_LIB_LOC="-L$PY_EXEC_PREFIX/lib/python$PYTHON_VERSION/config"
 
672
                PYTHON_MAKEFILE="$PY_EXEC_PREFIX/lib/python$PYTHON_VERSION/config/Makefile"
 
673
        fi
 
674
        PYTHON_CFLAGS="-I$PY_PREFIX/include/python$PYTHON_VERSION"
 
675
        PYTHON_BASEMODLIBS=`sed -n -e 's/^BASEMODLIBS=\(.*\)/\1/p' $PYTHON_MAKEFILE`
 
676
        PYTHON_OTHER_LIBS=`sed -n -e 's/^LIBS=\(.*\)/\1/p' $PYTHON_MAKEFILE`
 
677
        PYTHON_EXTRA_LIBS="$PYTHON_BASEMODLIBS $PYTHON_OTHER_LIBS"
 
678
        AC_SUBST([PYTHON_LIBS])
 
679
        AC_SUBST([PYTHON_LIB_LOC])
 
680
        AC_SUBST([PYTHON_CFLAGS])
 
681
        AC_SUBST([PYTHON_EXTRA_LIBS])
 
682
 
 
683
        GST_PYTHON_REQUIRED=0.10.1
 
684
        PKG_CHECK_MODULES([PYGOBJECT], [
 
685
                gst-python-0.10 >= $GST_PYTHON_REQUIRED
 
686
                pygobject-2.0 >= $PYGOBJECT_REQUIRED],
 
687
                [],
 
688
                [
 
689
                have_python=no
 
690
                if test "x$enable_python" = "xyes"; then
 
691
                        AC_MSG_ERROR([$PYGOBJECT_PKG_ERRORS])
 
692
                elif test "x$enable_python" = "xautodetect"; then
 
693
                        enable_python=no
 
694
                        AC_MSG_WARN([$PYGOBJECT_PKG_ERRORS])
 
695
                        AC_MSG_WARN([Disabling python support])
 
696
                fi
 
697
                ])
 
698
 
 
699
        AC_SUBST([PYGOBJECT_CFLAGS])
 
700
        AC_SUBST([PYGOBJECT_LIBS])
 
701
fi
 
702
 
 
703
if test "x$have_python" != "xno"; then
 
704
        AC_MSG_CHECKING([for gst-python defs])
 
705
        GST_PYTHON_DEFSDIR=`$PKG_CONFIG --variable=defsdir gst-python-0.10`
 
706
        AC_MSG_RESULT([$GST_PYTHON_DEFSDIR])
 
707
 
 
708
        AC_MSG_CHECKING([for pygobject codegen])
 
709
        PYGOBJECT_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygobject-2.0`/codegen.py"
 
710
        AC_MSG_RESULT([$PYGOBJECT_CODEGEN])
 
711
 
 
712
        AC_MSG_CHECKING([for pygobject h2def])
 
713
        PYGOBJECT_H2DEF="$PYTHON `$PKG_CONFIG --variable=codegendir pygobject-2.0`/h2def.py"
 
714
        AC_MSG_RESULT([$PYGOBJECT_H2DEF])
 
715
 
 
716
        AC_SUBST([GST_PYTHON_DEFSDIR])
 
717
        AC_SUBST([PYGOBJECT_CODEGEN])
 
718
        AC_SUBST([PYGOBJECT_H2DEF])
 
719
fi
 
720
 
 
721
if test "x$have_python" != "xno" -a "x$enable_python" != "xno"; then
 
722
        enable_python=yes
 
723
        AC_DEFINE([ENABLE_PYTHON],[1],[Define to compile with python plugin support])
 
724
fi
 
725
 
 
726
AM_CONDITIONAL([ENABLE_PYTHON],[test "x$enable_python" = "xyes"])
 
727
 
 
728
dnl ================================================================
 
729
dnl Vala plugins
 
730
dnl ================================================================
 
731
AC_MSG_CHECKING([whether Vala plugin support is requested])
 
732
AC_ARG_ENABLE([vala],
 
733
        AS_HELP_STRING([--enable-vala],[Enable Vala plugin support]),
 
734
        [enable_vala=$enableval have_vala=$enableval],
 
735
        [enable_vala=autodetect have_vala=yes])
 
736
AC_MSG_RESULT([$enable_vala])
 
737
with_vala=no
 
738
if test "x$enable_vala" = "xyes"; then
 
739
        AM_PROG_VALAC([$VALA_REQS])
 
740
        if test "x$VALAC" != "x"; then
 
741
                VAPIDIR=$datadir/vala/vapi
 
742
                # what?
 
743
                VAPIGEN=vapigen
 
744
                AC_SUBST([VALAC])
 
745
                AC_SUBST([VAPIDIR])
 
746
                AC_SUBST([VAPIGEN])
 
747
                with_vala=yes
 
748
        elif test "x$enable_vala" = "xyes"; then
 
749
                AC_MSG_ERROR([Vala plugin support explicitly requested, but not found])
 
750
        fi
 
751
fi
 
752
AM_CONDITIONAL(ENABLE_VALA, test "x$with_vala" = "xyes")
 
753
 
 
754
dnl ================================================================
 
755
dnl FM Radio Plugin
 
756
dnl ================================================================
 
757
AC_MSG_CHECKING([whether FM radio support is requested])
 
758
AC_ARG_ENABLE([fm-radio],
 
759
  AC_HELP_STRING([--disable-fm-radio],[Disable FM radio support]),,
 
760
  enable_fm_radio=yes)
 
761
if test "x$enable_fm_radio" != xno; then
 
762
  AC_CHECK_HEADER([linux/videodev2.h],,[enable_fm_radio=no])
 
763
fi
 
764
AM_CONDITIONAL(ENABLE_FM_RADIO, test "x$enable_fm_radio" != xno)
 
765
 
 
766
 
 
767
dnl check, for unit tests
 
768
PKG_CHECK_MODULES(CHECK, check, have_check=yes, have_check=no)
 
769
AM_CONDITIONAL([HAVE_CHECK],[test "x$have_check" = "xyes"])
 
770
 
 
771
dnl ================================================================
 
772
dnl Browser plugin
 
773
dnl ================================================================
 
774
 
 
775
AC_ARG_ENABLE([browser-plugin],
 
776
        [AS_HELP_STRING([--enable-browser-plugin],[compile the iTunes detection browser plugin])],
 
777
        [],[enable_browser_plugin=yes])
 
778
 
 
779
MOZILLA_PLUGINDIR="${MOZILLA_PLUGINDIR:="\${libdir}/mozilla/plugins"}"
 
780
AC_ARG_VAR([MOZILLA_PLUGINDIR],[Where to install the browser plugin to])
 
781
 
 
782
AM_CONDITIONAL([ENABLE_BROWSER_PLUGIN], test x$enable_browser_plugin = xyes)
 
783
 
 
784
 
 
785
dnl ================================================================
 
786
dnl Use libdmapsharing for DAAP?
 
787
dnl ================================================================
 
788
AC_ARG_ENABLE(daap,
 
789
              AC_HELP_STRING([--disable-daap],
 
790
                             [Disable DAAP support]),,
 
791
              enable_daap=auto)
 
792
if test "x$enable_daap" != "xno"; then
 
793
        PKG_CHECK_MODULES(DMAPSHARING, libdmapsharing-3.0 >= 2.9.9,
 
794
                          have_libdmapsharing=yes,
 
795
                          have_libdmapsharing=no)
 
796
        if test "x$have_libdmapsharing" = "xno" -a "x$enable_daap" = "xyes"; then
 
797
                AC_MSG_ERROR([DAAP support explicitly requested, but libdmapsharing couldn't be found])
 
798
        fi
 
799
        if test x"$have_libdmapsharing" = "xyes"; then
 
800
                AC_DEFINE(HAVE_LIBDMAPSHARING, 1, [Define if libdmapsharing support is enabled])
 
801
        fi
 
802
fi
 
803
 
 
804
AM_CONDITIONAL(USE_LIBDMAPSHARING, test x"$have_libdmapsharing" = "xyes")
 
805
 
 
806
AC_SUBST(DMAPSHARING_CFLAGS)
 
807
AC_SUBST(DMAPSHARING_LIBS)
 
808
 
 
809
dnl ================================================================
 
810
dnl Dependencies for Last.fm plugin
 
811
dnl ================================================================
 
812
AC_ARG_ENABLE(lastfm,
 
813
              AC_HELP_STRING([--disable-lastfm],
 
814
                             [Disable Last.fm support]),,
 
815
              enable_lastfm=auto)
 
816
if test "x$enable_lastfm" != "xno"; then
 
817
        PKG_CHECK_MODULES(JSON_GLIB, json-glib-1.0,
 
818
                          have_json_glib=yes,
 
819
                          have_json_glib=no)
 
820
        if test "x$have_json_glib" = "xno" -a "x$enable_lastfm" = "xyes"; then
 
821
                AC_MSG_ERROR([Last.fm support explicitly requested, but json-glib couldn't be found])
 
822
        fi
 
823
        if test x"$have_json_glib" = "xyes"; then
 
824
                AC_DEFINE(HAVE_JSON_GLIB, 1, [Define if json-glib support is enabled])
 
825
        fi
 
826
fi
 
827
 
 
828
AM_CONDITIONAL(ENABLE_LASTFM, test x"$have_json_glib" = "xyes")
 
829
 
 
830
AC_SUBST(JSON_GLIB_CFLAGS)
 
831
AC_SUBST(JSON_GLIB_LIBS)
 
832
 
 
833
dnl ================================================================
 
834
dnl end-game
 
835
dnl ================================================================
 
836
 
 
837
AC_OUTPUT([
 
838
rhythmbox.pc
 
839
Makefile
 
840
macros/Makefile
 
841
lib/Makefile
 
842
lib/libmediaplayerid/Makefile
 
843
metadata/Makefile
 
844
rhythmdb/Makefile
 
845
widgets/Makefile
 
846
podcast/Makefile
 
847
shell/Makefile
 
848
data/Makefile
 
849
data/rhythmbox.desktop.in
 
850
data/rhythmbox-device.desktop.in
 
851
data/ui/Makefile
 
852
data/icons/Makefile
 
853
data/icons/hicolor/Makefile
 
854
data/icons/hicolor/16x16/Makefile
 
855
data/icons/hicolor/16x16/actions/Makefile
 
856
data/icons/hicolor/16x16/apps/Makefile
 
857
data/icons/hicolor/16x16/places/Makefile
 
858
data/icons/hicolor/16x16/status/Makefile
 
859
data/icons/hicolor/22x22/Makefile
 
860
data/icons/hicolor/22x22/actions/Makefile
 
861
data/icons/hicolor/22x22/apps/Makefile
 
862
data/icons/hicolor/22x22/places/Makefile
 
863
data/icons/hicolor/24x24/Makefile
 
864
data/icons/hicolor/24x24/apps/Makefile
 
865
data/icons/hicolor/24x24/places/Makefile
 
866
data/icons/hicolor/32x32/Makefile
 
867
data/icons/hicolor/32x32/actions/Makefile
 
868
data/icons/hicolor/32x32/apps/Makefile
 
869
data/icons/hicolor/32x32/places/Makefile
 
870
data/icons/hicolor/48x48/Makefile
 
871
data/icons/hicolor/48x48/apps/Makefile
 
872
data/icons/hicolor/256x256/Makefile
 
873
data/icons/hicolor/256x256/apps/Makefile
 
874
data/icons/hicolor/scalable/Makefile
 
875
data/icons/hicolor/scalable/actions/Makefile
 
876
data/icons/hicolor/scalable/apps/Makefile
 
877
data/icons/hicolor/scalable/places/Makefile
 
878
data/icons/src/Makefile
 
879
sources/Makefile
 
880
sources/sync/Makefile
 
881
plugins/Makefile
 
882
plugins/sample/Makefile
 
883
plugins/audiocd/Makefile
 
884
plugins/coherence/Makefile
 
885
plugins/coherence/upnp_coherence/Makefile
 
886
plugins/audioscrobbler/Makefile
 
887
plugins/brasero-disc-recorder/Makefile
 
888
plugins/daap/Makefile
 
889
plugins/fmradio/Makefile
 
890
plugins/im-status/Makefile
 
891
plugins/ipod/Makefile
 
892
plugins/mtpdevice/Makefile
 
893
plugins/iradio/Makefile
 
894
plugins/lirc/Makefile
 
895
plugins/lyrics/Makefile
 
896
plugins/lyrics/lyrics/Makefile
 
897
plugins/sample-python/Makefile
 
898
plugins/sample-vala/Makefile
 
899
plugins/pythonconsole/Makefile
 
900
plugins/artdisplay/Makefile
 
901
plugins/artdisplay/artdisplay/Makefile
 
902
plugins/magnatune/Makefile
 
903
plugins/magnatune/magnatune/Makefile
 
904
plugins/jamendo/Makefile
 
905
plugins/jamendo/jamendo/Makefile
 
906
plugins/generic-player/Makefile
 
907
plugins/rb/Makefile
 
908
plugins/power-manager/Makefile
 
909
plugins/status-icon/Makefile
 
910
plugins/visualizer/Makefile
 
911
plugins/mmkeys/Makefile
 
912
plugins/context/Makefile
 
913
plugins/context/context/Makefile
 
914
plugins/sendto/Makefile
 
915
plugins/replaygain/Makefile
 
916
plugins/replaygain/replaygain/Makefile
 
917
plugins/mpris/Makefile
 
918
plugins/dbus-media-server/Makefile
 
919
plugins/rbzeitgeist/Makefile
 
920
bindings/Makefile
 
921
bindings/vala/Makefile
 
922
bindings/gi/Makefile
 
923
help/Makefile
 
924
po/Makefile.in
 
925
tests/Makefile
 
926
doc/Makefile
 
927
doc/reference/Makefile
 
928
backends/Makefile
 
929
backends/gstreamer/Makefile
 
930
remote/Makefile
 
931
remote/dbus/Makefile
 
932
])
 
933
 
 
934
AC_MSG_NOTICE([Rhythmbox was configured with the following options:])
 
935
if test x"$with_database" = xtree; then
 
936
        AC_MSG_NOTICE([** Tree database is enabled])
 
937
else
 
938
        AC_MSG_ERROR([Unknown database!])
 
939
fi
 
940
if test x"${with_rhythmdb_debug}" != x0; then
 
941
        AC_MSG_NOTICE([** RhythmDB sanity checking enabled (may be slow!)])
 
942
fi
 
943
 
 
944
 
 
945
if test x"$enable_mmkeys" != "xyes"; then
 
946
        AC_MSG_NOTICE([   Multimedia keys support is disabled])
 
947
else
 
948
        AC_MSG_NOTICE([** Multimedia keys support is enabled])
 
949
fi
 
950
 
 
951
if test x"$have_musicbrainz3" = "xyes" && test x"$have_musicbrainz" = "xyes"; then
 
952
        AC_MSG_NOTICE([** MusicBrainz support is enabled (using libmusicbrainz3 and libmusicbrainz)])
 
953
elif test x"$have_musicbrainz3" = "xyes"; then
 
954
        AC_MSG_NOTICE([** MusicBrainz support is enabled (using libmusicbrainz3)])
 
955
elif test x"$have_musicbrainz" = "xyes"; then
 
956
        AC_MSG_NOTICE([** MusicBrainz support is enabled (using libmusicbrainz)])
 
957
else
 
958
        AC_MSG_NOTICE([   MusicBrainz support is disabled])
 
959
fi
 
960
 
 
961
if test x"$use_ipod" = xyes; then
 
962
        AC_MSG_NOTICE([** iPod integration enabled])
 
963
else
 
964
        AC_MSG_NOTICE([   iPod integration disabled])
 
965
fi
 
966
if test x"$use_mtp" = xyes; then
 
967
        AC_MSG_NOTICE([** MTP integration enabled])
 
968
else
 
969
        AC_MSG_NOTICE([   MTP integration disabled])
 
970
fi
 
971
if test x"$have_libbrasero_media" != xno; then
 
972
        AC_MSG_NOTICE([** CD burning support enabled])
 
973
else
 
974
        AC_MSG_NOTICE([   CD burning support disabled])
 
975
fi
 
976
if test x"$have_libdmapsharing" = xyes; then
 
977
        AC_MSG_NOTICE([** DAAP (music sharing) support is enabled])
 
978
else
 
979
        AC_MSG_NOTICE([   DAAP (music sharing) support is disabled])
 
980
fi
 
981
if test x"$have_libnotify" = xyes; then
 
982
        AC_MSG_NOTICE([** libnotify support is enabled])
 
983
else
 
984
        AC_MSG_NOTICE([   libnotify support is disabled])
 
985
fi
 
986
if test x"$have_webkit" = xyes; then
 
987
        AC_MSG_NOTICE([** WebKit support is enabled])
 
988
else
 
989
        AC_MSG_NOTICE([   WebKit support is disabled])
 
990
fi
 
991
if test x"$use_gudev" = xyes; then
 
992
        AC_MSG_NOTICE([** GUdev support enabled])
 
993
elif test x"$enable_hal" = xyes; then
 
994
        AC_MSG_NOTICE([** HAL support enabled])
 
995
else
 
996
        AC_MSG_NOTICE([   GUdev support disabled])
 
997
fi
 
998
if test x"$enable_python" = xyes; then
 
999
        AC_MSG_NOTICE([** Python plugin support enabled])
 
1000
else
 
1001
        AC_MSG_NOTICE([   Python plugin support disabled])
 
1002
fi
 
1003
if test x"$with_vala" = xyes; then
 
1004
        AC_MSG_NOTICE([** Vala plugin support enabled])
 
1005
else
 
1006
        AC_MSG_NOTICE([   Vala plugin support disabled])
 
1007
fi
 
1008
if test x"$use_gnome_keyring" = xyes; then
 
1009
        AC_MSG_NOTICE([** gnome-keyring support enabled])
 
1010
else
 
1011
        AC_MSG_NOTICE([   gnome-keyring support disabled])
 
1012
fi
 
1013
if test "x$enable_fm_radio" != xno; then
 
1014
        AC_MSG_NOTICE([** FM radio support enabled])
 
1015
else
 
1016
        AC_MSG_NOTICE([   FM radio support disabled])
 
1017
fi
 
1018
 
 
1019
if test "x$enable_browser_plugin" != xno; then
 
1020
        AC_MSG_NOTICE([** iTunes detection browser plugin (for podcasts) enabled])
 
1021
else
 
1022
        AC_MSG_NOTICE([   iTunes detection browser plugin (for podcasts) disabled])
 
1023
fi
 
1024
 
 
1025
if test "x$have_json_glib" = xyes; then
 
1026
        AC_MSG_NOTICE([** Last.fm support enabled])
 
1027
else
 
1028
        AC_MSG_NOTICE([   Last.fm support disabled])
 
1029
fi
 
1030
 
 
1031
AC_MSG_NOTICE([End options])