1
dnl Process this file with autoconf to produce a configure script.
2
AC_INIT([brasero],[2.31.91])
3
AC_CONFIG_SRCDIR(src/main.c)
5
BRASERO_MAJOR_VERSION=2
6
BRASERO_MINOR_VERSION=31
8
BRASERO_VERSION=$BRASERO_MAJOR_VERSION.$BRASERO_MINOR_VERSION.$BRASERO_SUB
10
AC_SUBST(BRASERO_MAJOR_VERSION)
11
AC_SUBST(BRASERO_MINOR_VERSION)
13
AC_SUBST(BRASERO_VERSION)
15
dnl Before making a release, the BURN_LT_VERSION string should be modified.
16
dnl The string is of the form C:R:A.
17
dnl - If interfaces have been changed or added, but binary compatibility has
18
dnl been preserved, change to C+1:0:A+1
19
dnl - If binary compatibility has been broken (eg removed or changed interfaces)
21
dnl - If the interface is the same as the previous version, change to C:R+1:A
31
LIBBRASERO_LT_VERSION=$LT_CURRENT:$LT_REVISION:$LT_AGE
32
AC_SUBST(LIBBRASERO_LT_VERSION)
34
AC_DEFINE_UNQUOTED(BRASERO_MAJOR_VERSION, $BRASERO_MAJOR_VERSION, [major version])
35
AC_DEFINE_UNQUOTED(BRASERO_MINOR_VERSION, $BRASERO_MINOR_VERSION, [minor version])
36
AC_DEFINE_UNQUOTED(BRASERO_SUB, $BRASERO_SUB, [sub version])
37
AC_DEFINE_UNQUOTED(BRASERO_VERSION, $BRASERO_VERSION, [version])
39
dnl this is what it used to be
40
dnl AM_INIT_AUTOMAKE(brasero, $BRASERO_VERSION)
42
AM_INIT_AUTOMAKE([foreign])
44
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
46
AC_CONFIG_HEADERS([config.h])
53
dnl **************** Support GSettings *************************
56
dnl **************** documentation *****************************
60
dnl ***************** GNOME MACROS *****************************
62
dnl This allows to set warnings
63
GNOME_COMPILE_WARNINGS([maximum])
66
dnl This could be use one day not to compile all debugging message
69
GNOME_MAINTAINER_MODE_DEFINES
70
DISABLE_DEPRECATED="$DISABLE_DEPRECATED -DGSEAL_ENABLE"
71
AC_SUBST(DISABLE_DEPRECATED)
73
dnl ***************** GENERAL **********************************
75
dnl ** reminder: the following set CFLAGS to -O2 -g if empty
79
dnl Set PACKAGE_DATA_DIR in config.h.
80
if test "x${datadir}" = 'x${prefix}/share'; then
81
if test "x${prefix}" = "xNONE"; then
82
AC_DEFINE_UNQUOTED([PACKAGE_DATA_DIR], "${ac_default_prefix}/share/", [Define the PACKAGE_DATA_DIR.])
84
AC_DEFINE_UNQUOTED([PACKAGE_DATA_DIR], "${prefix}/share/", [Define the PACKAGE_DATA_DIR.])
86
elif test "x${datadir}" = 'x${datarootdir}'; then
87
if test "x${datarootdir}" = 'x${prefix}/share'; then
88
if test "x${prefix}" = "xNONE"; then
89
AC_DEFINE_UNQUOTED([PACKAGE_DATA_DIR], "${ac_default_prefix}/share/", [Define the PACKAGE_DATA_DIR.])
91
AC_DEFINE_UNQUOTED([PACKAGE_DATA_DIR], "${prefix}/share/", [Define the PACKAGE_DATA_DIR.])
94
AC_DEFINE_UNQUOTED([PACKAGE_DATA_DIR], "${datarootdir}/", [Define the PACKAGE_DATA_DIR.])
97
AC_DEFINE_UNQUOTED([PACKAGE_DATA_DIR], "${datadir}/", [Define the PACKAGE_DATA_DIR.])
100
dnl ***************** SCSI related *****************************
101
AC_SUBST(BRASERO_SCSI_LIBS)
102
AC_CHECK_HEADERS([camlib.h],[has_cam="yes"],[has_cam="no"])
104
dnl ***************** check for linux sg interface *************
105
AC_CHECK_TYPES([sg_io_hdr_t],[has_sg="yes"],[has_sg="no"],
106
[#include <sys/types.h>
107
#include <scsi/sg.h>])
109
dnl ***************** check for netbsd *************************
110
AC_CHECK_TYPES([scsireq_t],[has_scsiio="yes"],[has_scsiio="no"],
111
[#include <sys/types.h>
112
#include <sys/scsiio.h>])
114
dnl ***************** check for solaris uscsi interface ********
115
AC_CHECK_TYPES([struct uscsi_cmd],[has_uscsi="yes"],[has_uscsi="no"],
116
[#include <sys/types.h>
117
#include <sys/scsi/impl/uscsi.h>])
119
if test x"$has_cam" = x"yes"; then
120
BRASERO_SCSI_LIBS="-lcam"
121
elif test x"$has_sg" = x"yes"; then
123
elif test x"$has_scsiio" = x"yes"; then
125
elif test x"$has_uscsi" = x"yes"; then
128
AC_MSG_ERROR([Support Linux SG, FreeBSD CAM, NetBSD SCSIPI, Solaris USCSI. No supported SCSI interface headers could not be found.])
131
AM_CONDITIONAL(HAVE_CAM_LIB_H, test x"$has_cam" = "xyes")
132
AM_CONDITIONAL(HAVE_SG_IO_HDR_T, test x"$has_sg" = "xyes")
133
AM_CONDITIONAL(HAVE_USCSI_H, test x"$has_uscsi" = "xyes")
134
AM_CONDITIONAL(HAVE_SCSIIO_H, test x"$has_scsiio" = "xyes")
136
dnl ***************** LARGE FILE SUPPORT ***********************
140
dnl ********** Required libraries **********************
141
GLIB_REQUIRED=2.25.10
142
GTHREAD_REQUIRED=2.6.0
143
GMODULE_REQUIRED=2.6.0
144
GMODULE_EXPORT_REQUIRED=2.6.0
146
GCONF_REQUIRED=2.31.1
147
GSTREAMER_REQUIRED=0.10.15
148
GSTREAMER_BASE_REQUIRED=0.10.0
149
LIBXML2_REQUIRED=2.6.0
152
dnl ** used by brasero and one plugin
153
PKG_CHECK_MODULES(BRASERO_GSTREAMER, \
154
gstreamer-0.10 >= $GSTREAMER_REQUIRED \
155
gstreamer-interfaces-0.10 \
156
gstreamer-plugins-base-0.10 >= $GSTREAMER_BASE_REQUIRED)
158
AC_SUBST(BRASERO_GSTREAMER_CFLAGS)
159
AC_SUBST(BRASERO_GSTREAMER_LIBS)
161
BRASERO_GSTREAMER_LIBS="$BRASERO_GSTREAMER_LIBS -lgstpbutils-0.10"
163
dnl ** used by brasero and one plugin
164
PKG_CHECK_MODULES(BRASERO_GIO, \
165
gio-2.0 >= $GIO_REQUIRED)
167
AC_SUBST(BRASERO_GIO_CFLAGS)
168
AC_SUBST(BRASERO_GIO_LIBS)
170
dnl ** used by brasero and one plugin
171
PKG_CHECK_MODULES(BRASERO_LIBXML, \
172
libxml-2.0 >= $LIBXML2_REQUIRED)
174
AC_SUBST(BRASERO_LIBXML_CFLAGS)
175
AC_SUBST(BRASERO_LIBXML_LIBS)
177
dnl ** used by brasero and both libraries
178
PKG_CHECK_MODULES(BRASERO_GTHREAD, \
179
gthread-2.0 >= $GTHREAD_REQUIRED)
181
AC_SUBST(BRASERO_GTHREAD_CFLAGS)
182
AC_SUBST(BRASERO_GTHREAD_LIBS)
184
dnl ** used by brasero and all modules
185
PKG_CHECK_MODULES(BRASERO_GLIB, \
186
gobject-2.0 >= $GLIB_REQUIRED \
187
glib-2.0 >= $GLIB_REQUIRED)
189
AC_SUBST(BRASERO_GLIB_CFLAGS)
190
AC_SUBST(BRASERO_GLIB_LIBS)
192
PKG_CHECK_MODULES(BRASERO_GCONF, \
193
gconf-2.0 >= $GCONF_REQUIRED)
195
AC_SUBST(BRASERO_GCONF_CFLAGS)
196
AC_SUBST(BRASERO_GCONF_LIBS)
198
PKG_CHECK_MODULES(BRASERO_GMODULE, \
199
gmodule-2.0 >= $GMODULE_REQUIRED)
201
AC_SUBST(BRASERO_GMODULE_CFLAGS)
202
AC_SUBST(BRASERO_GMODULE_LIBS)
204
PKG_CHECK_MODULES(BRASERO_GMODULE_EXPORT, \
205
gmodule-export-2.0 >= $GMODULE_EXPORT_REQUIRED)
207
AC_SUBST(BRASERO_GMODULE_EXPORT_CFLAGS)
208
AC_SUBST(BRASERO_GMODULE_EXPORT_LIBS)
210
PKG_CHECK_MODULES(BRASERO_DBUS, \
211
dbus-glib-1 >= $DBUS_REQUIRED)
213
AC_SUBST(BRASERO_DBUS_CFLAGS)
214
AC_SUBST(BRASERO_DBUS_LIBS)
216
PKG_CHECK_MODULES(BRASERO_SM, \
219
AC_SUBST(BRASERO_SM_CFLAGS)
220
AC_SUBST(BRASERO_SM_LIBS)
223
# GTK+ stuff (taken and adapted from empathy)
231
CANBERRA_REQUIRED=0.1
234
AS_HELP_STRING([--enable-gtk3=@<:@no/yes/auto@:>@],
235
[build with GTK+3]), ,
238
# Try to use GTK+3 if available
239
if test "x$enable_gtk3" != "xno"; then
240
PKG_CHECK_MODULES(BRASERO_GTK, \
241
gdk-3.0 >= $GDK3_REQUIRED \
242
gtk+-3.0 >= $GTK3_REQUIRED \
243
launchpad-integration,
244
enable_gtk3="yes", enable_gtk3="no")
247
BRASERO_LIBRARY_SUFFIX=3
250
# ...if not use GTK+2
251
if test "x$enable_gtk3" == "xno"; then
252
PKG_CHECK_MODULES(BRASERO_GTK, \
253
gdk-2.0 >= $GDK2_REQUIRED \
254
gtk+-2.0 >= $GTK2_REQUIRED \
255
launchpad-integration)
258
BRASERO_LIBRARY_SUFFIX=
261
AC_SUBST(GTK_API_VERSION)
262
AC_SUBST(BRASERO_LIBRARY_SUFFIX)
264
AC_SUBST(BRASERO_GTK_CFLAGS)
265
AC_SUBST(BRASERO_GTK_LIBS)
268
if test "x$enable_gtk3" = "xyes"; then
269
PKG_CHECK_MODULES(BRASERO_CANBERRA, \
270
libcanberra >= $CANBERRA_REQUIRED \
271
libcanberra-gtk3 >= $CANBERRA_REQUIRED)
273
PKG_CHECK_MODULES(BRASERO_CANBERRA, \
274
libcanberra >= $CANBERRA_REQUIRED \
275
libcanberra-gtk >= $CANBERRA_REQUIRED)
278
AC_SUBST(BRASERO_CANBERRA_CFLAGS)
279
AC_SUBST(BRASERO_CANBERRA_LIBS)
281
dnl ****************Nautilus**********************************
282
# Note: the extension is built against gtk+-2.0 so we cannot build extension with gtk+-3.0
283
NAUTILUS_REQUIRED=2.22.2
285
AC_ARG_ENABLE(nautilus,
286
AS_HELP_STRING([--enable-nautilus],[Build Nautilus extension [[default=yes]]]),
287
[enable_nautilus=$enableval],
288
[enable_nautilus="yes"])
290
AC_ARG_WITH(nautilusdir,
291
AS_HELP_STRING([--with-nautilusdir=DIR],[Installation path for Nautilus extension @<:@auto@:>@]),
292
[ac_with_nautilusdir=$withval],
293
[ac_with_nautilusdir=""])
295
if test x"$enable_nautilus" = "xyes"; then
296
PKG_CHECK_MODULES(NAUTILUS_EXTENSION,
297
libnautilus-extension >= $NAUTILUS_REQUIRED,
304
if test x"$build_nautilus" = "xyes"; then
305
NAUTILUS_EXTENSION_CFLAGS="$BRASERO_GLIB_CFLAGS $BRASERO_UI_CFLAGS $NAUTILUS_EXTENSION_CFLAGS"
306
NAUTILUS_EXTENSION_LIBS="$BRASERO_GLIB_LIBS $BRASERO_UI_LIBS $NAUTILUS_EXTENSION_LIBS"
308
if test "${ac_with_nautilusdir}" = ""; then
309
ac_with_nautilusdir=`pkg-config --variable=extensiondir libnautilus-extension`
312
AC_MSG_NOTICE([installing plugin in ${ac_with_nautilusdir}])
313
AC_SUBST([NAUTILUSDIR],[${ac_with_nautilusdir}])
315
AM_GLIB_DEFINE_LOCALEDIR([GNOMELOCALEDIR])
318
AM_CONDITIONAL(BUILD_NAUTILUS, test x"$build_nautilus" = "xyes")
321
# Installation path for plugins
324
BRASERO_PLUGIN_DIRECTORY=${libdir}/brasero${BRASERO_LIBRARY_SUFFIX}/plugins
325
AC_DEFINE_UNQUOTED(BRASERO_PLUGIN_DIRECTORY, "${BRASERO_PLUGIN_DIRECTORY}", [Path where the plugins are installed])
326
AC_SUBST(BRASERO_PLUGIN_DIRECTORY)
328
dnl ****************check for libburn (optional)**************
329
LIBBURN_REQUIRED=0.4.0
330
LIBISOFS_REQUIRED=0.6.4
332
AC_ARG_ENABLE(libburnia,
333
AS_HELP_STRING([--enable-libburnia],[Build libburnia plugins [[default=yes]]]),
334
[enable_libburnia=$enableval],
335
[enable_libburnia="yes"])
337
if test x"$enable_libburnia" = "xyes"; then
338
PKG_CHECK_MODULES(LIBBURNIA, libburn-1 >= $LIBBURN_REQUIRED libisofs-1 >= $LIBISOFS_REQUIRED, build_libburnia=yes, build_libburnia=no)
343
if test x"$build_libburnia" = "xyes"; then
344
AC_SUBST(BRASERO_LIBBURNIA_CFLAGS)
345
AC_SUBST(BRASERO_LIBBURNIA_LIBS)
347
BRASERO_LIBBURNIA_CFLAGS="$LIBBURNIA_CFLAGS"
348
BRASERO_LIBBURNIA_LIBS="$LIBBURNIA_LIBS"
349
AC_DEFINE(BUILD_LIBBURNIA, 1, [define if you want to build libburnia plugins])
351
AM_CONDITIONAL(BUILD_LIBBURNIA, test x"$build_libburnia" = "xyes")
353
dnl **************** check for cdrtools **********************
354
AC_ARG_ENABLE(cdrtools,
355
AS_HELP_STRING([--enable-cdrtools],[Build cdrtools plugins [[default=yes]]]),
356
[build_cdrtools=$enableval],
357
[build_cdrtools="yes"])
359
if test x"$build_cdrtools" = "xyes"; then
360
AC_DEFINE(BUILD_CDRTOOLS, 1, [define if you want to build cdrtools plugins])
364
AM_CONDITIONAL(BUILD_CDRTOOLS, test x"$build_cdrtools" = "xyes")
366
dnl **************** check for cdrdao **********************
367
AC_ARG_ENABLE(cdrdao,
368
AS_HELP_STRING([--enable-cdrdao],[Build cdrdao plugins [[default=yes]]]),
369
[build_cdrdao=$enableval],
370
[build_cdrdao="yes"])
372
if test x"$build_cdrdao" = "xyes"; then
373
AC_DEFINE(BUILD_CDRDAO, 1, [define if you want to build cdrdao plugins])
377
AM_CONDITIONAL(BUILD_CDRDAO, test x"$build_cdrdao" = "xyes")
379
dnl **************** check for cdrkit ************************
380
AC_ARG_ENABLE(cdrkit,
381
AS_HELP_STRING([--enable-cdrkit],[Build cdrkit plugins [[default=yes]]]),
382
[build_cdrkit=$enableval],
383
[build_cdrkit="yes"])
385
if test x"$build_cdrkit" = "xyes"; then
386
AC_DEFINE(BUILD_CDRKIT, 1, [define if you want to build cdrkit plugins])
390
AM_CONDITIONAL(BUILD_CDRKIT, test x"$build_cdrkit" = "xyes")
392
dnl **************** check for growisofs ************************
393
AC_ARG_ENABLE(growisofs,
394
AS_HELP_STRING([--enable-growisofs],[Build growisofs plugins [[default=yes]]]),
395
[build_growisofs=$enableval],
396
[build_growisofs="yes"])
398
if test x"$build_growisofs" = "xyes"; then
399
AC_DEFINE(BUILD_GROWISOFS, 1, [define if you want to build growisofs plugins])
403
AM_CONDITIONAL(BUILD_GROWISOFS, test x"$build_growisofs" = "xyes")
405
dnl ****************check for appindicators (optional) **************
406
APPINDICATOR_REQUIRED=0.0.7
408
AC_ARG_ENABLE(appindicator,
409
AS_HELP_STRING([--enable-appindicator],[Build support for application indicators [[default=yes]]]),
410
[enable_appindicator=$enableval],
411
[enable_appindicator="yes"])
413
if test x$enable_appindicator = xyes ; then
414
PKG_CHECK_MODULES(APP_INDICATOR,
415
appindicator-0.1 >= $APPINDICATOR_REQUIRED)
416
AC_SUBST(APP_INDICATOR_CFLAGS)
417
AC_SUBST(APP_INDICATOR_LIBS)
418
AC_DEFINE(HAVE_APP_INDICATOR, 1, [Have AppIndicator])
420
AM_CONDITIONAL(HAVE_APP_INDICATOR, test x"$enable_appindicator" = xyes)
422
BEAGLE_REQUIRED=0.3.0
423
TRACKER_REQUIRED=0.8.0
425
AC_ARG_ENABLE(search,
426
AS_HELP_STRING([--enable-search],[Build search pane (if a search backend is available) [[default=auto]]]),
427
[case "$enableval" in
428
"auto") enable_search="yes" ;;
429
"yes") enable_search="yes" ;;
430
"no") enable_search="no" ;;
431
"tracker") enable_search="tracker" ;;
432
"beagle") enable_search="beagle" ;;
433
*) echo "Unknown option"; exit 2 ;;
435
[enable_search="yes"])
437
if test x"$enable_search" = "xtracker"; then
438
PKG_CHECK_MODULES(BRASERO_SEARCH, tracker-client-0.8 >= $TRACKER_REQUIRED)
439
AC_DEFINE(BUILD_SEARCH, 1, [define if you want to use search pane])
440
AC_DEFINE(BUILD_TRACKER, 1, [define if you want to use search pane])
441
AC_SUBST(BRASERO_SEARCH_CFLAGS)
442
AC_SUBST(BRASERO_SEARCH_LIBS)
446
elif test x"$enable_search" = "xbeagle"; then
447
PKG_CHECK_MODULES(BRASERO_SEARCH, libbeagle-1.0 >= $BEAGLE_REQUIRED)
448
AC_DEFINE(BUILD_SEARCH, 1, [define if you want to use search pane])
449
AC_DEFINE(BUILD_BEAGLE, 1, [define if you want to use search pane])
450
AC_SUBST(BRASERO_SEARCH_CFLAGS)
451
AC_SUBST(BRASERO_SEARCH_LIBS)
455
elif test x"$enable_search" = "xyes"; then
456
PKG_CHECK_MODULES(BRASERO_SEARCH, tracker-client-0.8 >= $TRACKER_REQUIRED, build_search=yes, build_search=no)
457
if test x"$build_search" = "xyes"; then
458
AC_DEFINE(BUILD_SEARCH, 1, [define if you want to use search pane])
459
AC_DEFINE(BUILD_TRACKER, 1, [define if you want to use search pane])
461
AC_SUBST(BRASERO_SEARCH_CFLAGS)
462
AC_SUBST(BRASERO_SEARCH_LIBS)
467
PKG_CHECK_MODULES(BRASERO_SEARCH, libbeagle-1.0 >= $BEAGLE_REQUIRED, build_search=yes, build_search=no)
468
if test x"$build_search" = "xyes"; then
469
AC_DEFINE(BUILD_SEARCH, 1, [define if you want to use search pane])
470
AC_DEFINE(BUILD_BEAGLE, 1, [define if you want to use search pane])
472
AC_SUBST(BRASERO_SEARCH_CFLAGS)
473
AC_SUBST(BRASERO_SEARCH_LIBS)
483
AM_CONDITIONAL(BUILD_SEARCH, test x"$build_search" = "xyes")
484
AM_CONDITIONAL(BUILD_BEAGLE, test x"$build_beagle" = "xyes")
485
AM_CONDITIONAL(BUILD_TRACKER, test x"$build_tracker" = "xyes")
487
dnl ****************check for playlist (optional)**************
488
TOTEM_REQUIRED=2.29.1
490
AC_ARG_ENABLE(playlist,
491
AS_HELP_STRING([--enable-playlist],[Build playlist pane (if totem-pl-parser is available)[[default=yes]]]),
492
[enable_playlist=$enableval],
493
[enable_playlist="yes"])
495
if test x"$enable_playlist" = "xyes"; then
496
PKG_CHECK_MODULES(BRASERO_PL_PARSER, totem-plparser >= $TOTEM_REQUIRED, build_totem=yes, build_totem=no)
501
if test x"$build_totem" = "xyes"; then
502
AC_DEFINE(BUILD_PLAYLIST, 1, [define if you want to build playlist pane])
505
AC_SUBST(BRASERO_PL_PARSER_CFLAGS)
506
AC_SUBST(BRASERO_PL_PARSER_LIBS)
508
AM_CONDITIONAL(BUILD_PLAYLIST, test x"$build_totem" = "xyes")
510
dnl ****************check for preview (optional)**************
511
GSTREAMER_MODULE_REQUIRED=0.10.0
512
AC_ARG_ENABLE(preview,
513
AS_HELP_STRING([--enable-preview],[Build preview pane [[default=yes]]]),
514
[enable_preview=$enableval],
515
[enable_preview="yes"])
517
if test x"$enable_preview" = "xyes"; then
518
PKG_CHECK_MODULES(BRASERO_GSTREAMER_BASE, gstreamer-plugins-base-0.10 >= $GSTREAMER_MODULE_REQUIRED, build_preview=yes, build_preview=no)
523
if test x"$build_preview" = "xyes"; then
524
AC_DEFINE(BUILD_PREVIEW, 1, [define if you want to build preview pane])
527
AC_SUBST(BRASERO_GSTREAMER_BASE_CFLAGS)
528
AC_SUBST(BRASERO_GSTREAMER_BASE_LIBS)
530
AM_CONDITIONAL(BUILD_PREVIEW, test x"$build_preview" = "xyes")
532
dnl ****************check for inotify (optional)**************
533
AC_ARG_ENABLE(inotify,
534
AS_HELP_STRING([--enable-inotify],[use inotify [[default=yes]]]),
535
[enable_inotify=$enableval],
536
[enable_inotify="yes"])
538
if test x"$enable_inotify" = "xyes"; then
539
AC_DEFINE(BUILD_INOTIFY, 1, [define if you want to build inotify])
541
AM_CONDITIONAL(BUILD_INOTIFY, test x"$enable_inotify" = "xyes")
543
dnl ****** GObject Introspection **********************
544
dnl This is a copy of the m4 function in gobject-introspection package
545
dnl but it was modified so the install path can be forced with a command
546
dnl line parameter. This is to be able to use make distcheck.
548
GOBJECT_INTROSPECTION_REQUIRED=0.6.3
550
AC_ARG_ENABLE(introspection,
551
AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]], [Enable introspection for this build]),
552
[enable_introspection=$enableval],
553
[enable_introspection="auto"])
556
AS_HELP_STRING([--with-girdir=DIR],[Installation path for .gir files @<:@auto@:>@]),
557
[ac_with_girdir=$withval],
560
AC_ARG_WITH(typelibdir,
561
AS_HELP_STRING([--with-typelibdir=DIR],[Installation path for .typelib files @<:@auto@:>@]),
562
[ac_with_typelibdir=$withval],
563
[ac_with_typelibdir=""])
565
AC_MSG_CHECKING([for gobject-introspection])
567
dnl presence/version checking
568
AS_CASE([$enable_introspection],
570
found_introspection="no (disabled, use --enable-introspection to enable)"
573
PKG_CHECK_EXISTS([gobject-introspection-1.0],,
574
AC_MSG_ERROR([gobject-introspection-1.0 is not installed]))
575
PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED],
576
found_introspection=yes,
577
AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME]))
580
PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQUIRED], found_introspection=yes, found_introspection=no)
583
AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@])
586
AC_MSG_RESULT([$found_introspection])
588
INTROSPECTION_SCANNER=
589
INTROSPECTION_COMPILER=
590
INTROSPECTION_GENERATE=
591
INTROSPECTION_GIRDIR=
592
INTROSPECTION_TYPELIBDIR=
593
if test "x$found_introspection" = "xyes"; then
594
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
595
INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
596
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
598
if test "${ac_with_girdir}" = ""; then
599
ac_with_girdir=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
601
INTROSPECTION_GIRDIR=${ac_with_girdir}
602
AC_MSG_NOTICE([installing .gir files in ${INTROSPECTION_GIRDIR}])
604
if test "${ac_with_typelibdir}" = ""; then
605
ac_with_typelibdir="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
607
INTROSPECTION_TYPELIBDIR=${ac_with_typelibdir}
608
AC_MSG_NOTICE([installing .typelib files in ${INTROSPECTION_TYPELIBDIR}])
610
AC_SUBST(INTROSPECTION_SCANNER)
611
AC_SUBST(INTROSPECTION_COMPILER)
612
AC_SUBST(INTROSPECTION_GENERATE)
613
AC_SUBST(INTROSPECTION_GIRDIR)
614
AC_SUBST(INTROSPECTION_TYPELIBDIR)
616
AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes")
618
dnl ****** Update mime, desktop and icon caches *******
619
AC_ARG_ENABLE(caches,
620
AS_HELP_STRING([--enable-caches],[Run update-* to update mime, desktop and icon caches when installing [[default=yes]]]),
621
[enable_caches=$enableval],
622
[enable_caches="yes"])
624
AM_CONDITIONAL(UPDATE_CACHES, test x"$enable_caches" = "xyes")
626
dnl ****** INTERNATIONALIZATION **********************
627
GETTEXT_PACKAGE=brasero
628
AC_SUBST(GETTEXT_PACKAGE)
629
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name for gettext])
633
IT_PROG_INTLTOOL([0.35.0])
635
if test "x${prefix}" = "xNONE"; then
636
AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${ac_default_prefix}/${DATADIRNAME}/locale", [Location of package locale files])
638
AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${prefix}/${DATADIRNAME}/locale", [Location of package locale files])
641
dnl ****** END ***********************
646
docs/reference/Makefile
647
docs/reference/libbrasero-media/Makefile
648
docs/reference/libbrasero-burn/Makefile
649
docs/reference/libbrasero-media/version.xml
650
docs/reference/libbrasero-burn/version.xml
652
data/brasero.desktop.in
657
nautilus/brasero-nautilus.desktop.in
658
libbrasero-media/Makefile
659
libbrasero-media/brasero-media.h
660
libbrasero-utils/Makefile
661
libbrasero-burn/Makefile
662
libbrasero-burn/brasero-burn-lib.h
664
plugins/audio2cue/Makefile
665
plugins/cdrdao/Makefile
666
plugins/cdrkit/Makefile
667
plugins/cdrtools/Makefile
668
plugins/growisofs/Makefile
669
plugins/libburnia/Makefile
670
plugins/transcode/Makefile
671
plugins/dvdcss/Makefile
672
plugins/dvdauthor/Makefile
673
plugins/checksum/Makefile
674
plugins/local-track/Makefile
675
plugins/vcdimager/Makefile
680
AC_CONFIG_FILES([libbrasero-media${BRASERO_LIBRARY_SUFFIX}.pc:libbrasero-media.pc.in],[BRASERO_LIBRARY_SUFFIX=${BRASERO_LIBRARY_SUFFIX}])
681
AC_CONFIG_FILES([libbrasero-burn${BRASERO_LIBRARY_SUFFIX}.pc:libbrasero-burn.pc.in],[BRASERO_LIBRARY_SUFFIX=${BRASERO_LIBRARY_SUFFIX}])
687
echo "$PACKAGE configuration summary:"
688
echo "----------------------------------"
690
dnl Build libnotify support : ${build_libnotify}
692
echo "Version: $BRASERO_VERSION
693
Use GTK+3 : ${enable_gtk3}
694
Update caches: ${enable_caches}
695
Build Nautilus extension : ${build_nautilus}
696
Build inotify: ${enable_inotify}
697
Build search pane : ${build_search}
698
Build playlist pane : ${build_totem}
699
Build Preview pane : ${enable_preview}
700
Plugins installed in : ${BRASERO_PLUGIN_DIRECTORY}
701
Build cdrdao plugins : ${build_cdrdao}
702
Build cdrtools plugins : ${build_cdrtools}
703
Build cdrkit plugins : ${build_cdrkit}
704
Build growisofs plugins : ${build_growisofs}
705
Build libburnia plugins : ${build_libburnia}
706
Build GObject-Introspection : ${found_introspection}
707
Build Application Indicators : ${enable_appindicator}