-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathconfigure.ac
568 lines (450 loc) · 16.8 KB
/
configure.ac
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
dnl Process this file with autoconf to produce a configure script.
AC_INIT([brasero],[3.12.3])
AC_CONFIG_SRCDIR(src/main.c)
BRASERO_MAJOR_VERSION=3
BRASERO_MINOR_VERSION=12
BRASERO_SUB=3
BRASERO_VERSION=$BRASERO_MAJOR_VERSION.$BRASERO_MINOR_VERSION.$BRASERO_SUB
AC_SUBST(BRASERO_MAJOR_VERSION)
AC_SUBST(BRASERO_MINOR_VERSION)
AC_SUBST(BRASERO_SUB)
AC_SUBST(BRASERO_VERSION)
dnl Before making a release, the BURN_LT_VERSION string should be modified.
dnl The string is of the form C:R:A.
dnl - If interfaces have been changed or added, but binary compatibility has
dnl been preserved, change to C+1:0:A+1
dnl - If binary compatibility has been broken (eg removed or changed interfaces)
dnl change to C+1:0:0
dnl - If the interface is the same as the previous version, change to C:R+1:A
LT_CURRENT=3
LT_REVISION=7
LT_AGE=2
AC_SUBST(LT_CURRENT)
AC_SUBST(LT_REVISION)
AC_SUBST(LT_AGE)
LIBBRASERO_LT_VERSION=$LT_CURRENT:$LT_REVISION:$LT_AGE
AC_SUBST(LIBBRASERO_LT_VERSION)
TYPELIB_MIN_VERSION=$((LT_CURRENT-LT_AGE))
AC_SUBST(TYPELIB_MIN_VERSION)
AC_DEFINE_UNQUOTED(BRASERO_MAJOR_VERSION, $BRASERO_MAJOR_VERSION, [major version])
AC_DEFINE_UNQUOTED(BRASERO_MINOR_VERSION, $BRASERO_MINOR_VERSION, [minor version])
AC_DEFINE_UNQUOTED(BRASERO_SUB, $BRASERO_SUB, [sub version])
AC_DEFINE_UNQUOTED(BRASERO_VERSION, $BRASERO_VERSION, [version])
dnl this is what it used to be
dnl AM_INIT_AUTOMAKE(brasero, $BRASERO_VERSION)
AM_INIT_AUTOMAKE([foreign])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AC_CONFIG_HEADERS([config.h])
AC_DISABLE_STATIC
LT_INIT
AM_MAINTAINER_MODE([enable])
dnl **************** Support GSettings *************************
GLIB_GSETTINGS
dnl **************** documentation *****************************
YELP_HELP_INIT
GTK_DOC_CHECK([1.12])
dnl ***************** GNOME MACROS *****************************
dnl This allows to set warnings
GNOME_COMPILE_WARNINGS([maximum])
GNOME_CXX_WARNINGS
dnl This could be use one day not to compile all debugging message
dnl GNOME_DEBUG_CHECK
GNOME_MAINTAINER_MODE_DEFINES
DISABLE_DEPRECATED="$DISABLE_DEPRECATED -DGSEAL_ENABLE"
AC_SUBST(DISABLE_DEPRECATED)
dnl ***************** GENERAL **********************************
dnl ** reminder: the following set CFLAGS to -O2 -g if empty
AC_PROG_CC
AC_HEADER_STDC
dnl Set PACKAGE_DATA_DIR in config.h.
if test "x${datadir}" = 'x${prefix}/share'; then
if test "x${prefix}" = "xNONE"; then
AC_DEFINE_UNQUOTED([PACKAGE_DATA_DIR], "${ac_default_prefix}/share/", [Define the PACKAGE_DATA_DIR.])
else
AC_DEFINE_UNQUOTED([PACKAGE_DATA_DIR], "${prefix}/share/", [Define the PACKAGE_DATA_DIR.])
fi
elif test "x${datadir}" = 'x${datarootdir}'; then
if test "x${datarootdir}" = 'x${prefix}/share'; then
if test "x${prefix}" = "xNONE"; then
AC_DEFINE_UNQUOTED([PACKAGE_DATA_DIR], "${ac_default_prefix}/share/", [Define the PACKAGE_DATA_DIR.])
else
AC_DEFINE_UNQUOTED([PACKAGE_DATA_DIR], "${prefix}/share/", [Define the PACKAGE_DATA_DIR.])
fi
else
AC_DEFINE_UNQUOTED([PACKAGE_DATA_DIR], "${datarootdir}/", [Define the PACKAGE_DATA_DIR.])
fi
else
AC_DEFINE_UNQUOTED([PACKAGE_DATA_DIR], "${datadir}/", [Define the PACKAGE_DATA_DIR.])
fi
dnl ***************** SCSI related *****************************
AC_SUBST(BRASERO_SCSI_LIBS)
AC_CHECK_HEADERS([camlib.h],[has_cam="yes"],[has_cam="no"])
dnl ***************** check for linux sg interface *************
AC_CHECK_TYPES([sg_io_hdr_t],[has_sg="yes"],[has_sg="no"],
[#include <sys/types.h>
#include <scsi/sg.h>])
dnl ***************** check for netbsd *************************
AC_CHECK_TYPES([scsireq_t],[has_scsiio="yes"],[has_scsiio="no"],
[#include <sys/types.h>
#include <sys/scsiio.h>])
dnl ***************** check for solaris uscsi interface ********
AC_CHECK_TYPES([struct uscsi_cmd],[has_uscsi="yes"],[has_uscsi="no"],
[#include <sys/types.h>
#include <sys/scsi/impl/uscsi.h>])
if test x"$has_cam" = x"yes"; then
BRASERO_SCSI_LIBS="-lcam"
elif test x"$has_sg" = x"yes"; then
:
elif test x"$has_scsiio" = x"yes"; then
:
elif test x"$has_uscsi" = x"yes"; then
:
else
AC_MSG_ERROR([Support Linux SG, FreeBSD CAM, NetBSD SCSIPI, Solaris USCSI. No supported SCSI interface headers could not be found.])
fi
AM_CONDITIONAL(HAVE_CAM_LIB_H, test x"$has_cam" = "xyes")
AM_CONDITIONAL(HAVE_SG_IO_HDR_T, test x"$has_sg" = "xyes")
AM_CONDITIONAL(HAVE_USCSI_H, test x"$has_uscsi" = "xyes")
AM_CONDITIONAL(HAVE_SCSIIO_H, test x"$has_scsiio" = "xyes")
dnl ***************** LARGE FILE SUPPORT ***********************
AC_SYS_LARGEFILE
dnl ********** Required libraries **********************
GLIB_REQUIRED=2.29.14
GTHREAD_REQUIRED=2.6.0
GMODULE_REQUIRED=2.6.0
GMODULE_EXPORT_REQUIRED=2.6.0
GIO_REQUIRED=2.28.0
GSTREAMER_REQUIRED=0.11.92
GSTREAMER_BASE_REQUIRED=0.11.92
GSTREAMER_MODULE_REQUIRED=0.11.92
LIBXML2_REQUIRED=2.6.0
dnl ** used by brasero and one plugin
PKG_CHECK_MODULES(BRASERO_GSTREAMER, \
gstreamer-1.0 >= $GSTREAMER_REQUIRED \
gstreamer-base-1.0 >= $GSTREAMER_REQUIRED \
gstreamer-video-1.0 >= $GSTREAMER_BASE_REQUIRED \
gstreamer-pbutils-1.0 >= $GSTREAMER_BASE_REQUIRED \
gstreamer-tag-1.0 >= $GSTREAMER_BASE_REQUIRED)
BRASERO_GSTREAMER_CFLAGS="-DGST_USE_UNSTABLE_API $BRASERO_GSTREAMER_CFLAGS"
AC_SUBST(BRASERO_GSTREAMER_CFLAGS)
AC_SUBST(BRASERO_GSTREAMER_LIBS)
BRASERO_GSTREAMER_LIBS="$BRASERO_GSTREAMER_LIBS -lgstpbutils-1.0"
dnl ** used by brasero and one plugin
PKG_CHECK_MODULES(BRASERO_GIO, \
gio-2.0 >= $GIO_REQUIRED)
AC_SUBST(BRASERO_GIO_CFLAGS)
AC_SUBST(BRASERO_GIO_LIBS)
dnl ** used by brasero and one plugin
PKG_CHECK_MODULES(BRASERO_LIBXML, \
libxml-2.0 >= $LIBXML2_REQUIRED)
AC_SUBST(BRASERO_LIBXML_CFLAGS)
AC_SUBST(BRASERO_LIBXML_LIBS)
dnl ** used by brasero and both libraries
PKG_CHECK_MODULES(BRASERO_GTHREAD, \
gthread-2.0 >= $GTHREAD_REQUIRED)
AC_SUBST(BRASERO_GTHREAD_CFLAGS)
AC_SUBST(BRASERO_GTHREAD_LIBS)
dnl ** used by brasero and all modules
PKG_CHECK_MODULES(BRASERO_GLIB, \
gobject-2.0 >= $GLIB_REQUIRED \
glib-2.0 >= $GLIB_REQUIRED)
AC_SUBST(BRASERO_GLIB_CFLAGS)
AC_SUBST(BRASERO_GLIB_LIBS)
PKG_CHECK_MODULES(BRASERO_GMODULE, \
gmodule-2.0 >= $GMODULE_REQUIRED)
AC_SUBST(BRASERO_GMODULE_CFLAGS)
AC_SUBST(BRASERO_GMODULE_LIBS)
PKG_CHECK_MODULES(BRASERO_GMODULE_EXPORT, \
gmodule-export-2.0 >= $GMODULE_EXPORT_REQUIRED)
AC_SUBST(BRASERO_GMODULE_EXPORT_CFLAGS)
AC_SUBST(BRASERO_GMODULE_EXPORT_LIBS)
PKG_CHECK_MODULES(BRASERO_SM,
sm \
ice)
AC_SUBST(BRASERO_SM_CFLAGS)
AC_SUBST(BRASERO_SM_LIBS)
AC_CHECK_LIBM
AC_SUBST(LIBM)
#
# GTK+ stuff (taken and adapted from empathy)
#
GTK_REQUIRED=3.0.0
PKG_CHECK_MODULES([BRASERO_GTK], \
gtk+-3.0 >= $GTK_REQUIRED \
gdk-x11-3.0)
AC_SUBST(BRASERO_GTK_CFLAGS)
AC_SUBST(BRASERO_GTK_LIBS)
#
# libnotify check
#
LIBNOTIFY_REQUIRED=0.6.1
PKG_CHECK_MODULES([BRASERO_LIBNOTIFY],[libnotify >= $LIBNOTIFY_REQUIRED])
AC_SUBST(BRASERO_LIBNOTIFY_CFLAGS)
AC_SUBST(BRASERO_LIBNOTIFY_LIBS)
#
# Canberra
#
CANBERRA_REQUIRED=0.1
PKG_CHECK_MODULES(BRASERO_CANBERRA,
libcanberra >= $CANBERRA_REQUIRED
libcanberra-gtk3 >= $CANBERRA_REQUIRED)
AC_SUBST(BRASERO_CANBERRA_CFLAGS)
AC_SUBST(BRASERO_CANBERRA_LIBS)
dnl ****************Nautilus**********************************
# Note: the extension is built against gtk+-3.0 so we cannot build extension with gtk+-2.0
NAUTILUS_REQUIRED=2.91.90
AC_ARG_ENABLE(nautilus,
AS_HELP_STRING([--enable-nautilus],[Build Nautilus extension [[default=yes]]]),
[enable_nautilus=$enableval],
[enable_nautilus="yes"])
AC_ARG_WITH(nautilusdir,
AS_HELP_STRING([--with-nautilusdir=DIR],[Installation path for Nautilus extension @<:@auto@:>@]),
[ac_with_nautilusdir=$withval],
[ac_with_nautilusdir=""])
if test x"$enable_nautilus" = "xyes"; then
PKG_CHECK_MODULES(NAUTILUS_EXTENSION,
libnautilus-extension >= $NAUTILUS_REQUIRED,
build_nautilus=yes,
build_nautilus=no)
else
build_nautilus="no"
fi
if test x"$build_nautilus" = "xyes"; then
NAUTILUS_EXTENSION_CFLAGS="$BRASERO_GLIB_CFLAGS $BRASERO_UI_CFLAGS $NAUTILUS_EXTENSION_CFLAGS"
NAUTILUS_EXTENSION_LIBS="$BRASERO_GLIB_LIBS $BRASERO_UI_LIBS $NAUTILUS_EXTENSION_LIBS"
if test "${ac_with_nautilusdir}" = ""; then
ac_with_nautilusdir=`pkg-config --variable=extensiondir libnautilus-extension`
fi
AC_MSG_NOTICE([installing plugin in ${ac_with_nautilusdir}])
AC_SUBST([NAUTILUSDIR],[${ac_with_nautilusdir}])
AM_GLIB_DEFINE_LOCALEDIR([GNOMELOCALEDIR])
fi
AM_CONDITIONAL(BUILD_NAUTILUS, test x"$build_nautilus" = "xyes")
#
# Installation path for plugins
#
BRASERO_PLUGIN_DIRECTORY=${libdir}/brasero3/plugins
AC_SUBST(BRASERO_PLUGIN_DIRECTORY)
dnl ****************check for libburn (optional)**************
LIBBURN_REQUIRED=0.4.0
LIBISOFS_REQUIRED=0.6.4
AC_ARG_ENABLE(libburnia,
AS_HELP_STRING([--enable-libburnia],[Build libburnia plugins [[default=yes]]]),
[enable_libburnia=$enableval],
[enable_libburnia="yes"])
if test x"$enable_libburnia" = "xyes"; then
PKG_CHECK_MODULES(LIBBURNIA, libburn-1 >= $LIBBURN_REQUIRED libisofs-1 >= $LIBISOFS_REQUIRED, build_libburnia=yes, build_libburnia=no)
else
build_libburnia="no"
fi
if test x"$build_libburnia" = "xyes"; then
AC_SUBST(BRASERO_LIBBURNIA_CFLAGS)
AC_SUBST(BRASERO_LIBBURNIA_LIBS)
BRASERO_LIBBURNIA_CFLAGS="$LIBBURNIA_CFLAGS"
BRASERO_LIBBURNIA_LIBS="$LIBBURNIA_LIBS"
AC_DEFINE(BUILD_LIBBURNIA, 1, [define if you want to build libburnia plugins])
fi
AM_CONDITIONAL(BUILD_LIBBURNIA, test x"$build_libburnia" = "xyes")
dnl **************** check for cdrtools **********************
AC_ARG_ENABLE(cdrtools,
AS_HELP_STRING([--enable-cdrtools],[Build cdrtools plugins [[default=yes]]]),
[build_cdrtools=$enableval],
[build_cdrtools="yes"])
if test x"$build_cdrtools" = "xyes"; then
AC_DEFINE(BUILD_CDRTOOLS, 1, [define if you want to build cdrtools plugins])
else
build_cdrtools="no"
fi
AM_CONDITIONAL(BUILD_CDRTOOLS, test x"$build_cdrtools" = "xyes")
dnl **************** check for cdrdao **********************
AC_ARG_ENABLE(cdrdao,
AS_HELP_STRING([--enable-cdrdao],[Build cdrdao plugins [[default=yes]]]),
[build_cdrdao=$enableval],
[build_cdrdao="yes"])
if test x"$build_cdrdao" = "xyes"; then
AC_DEFINE(BUILD_CDRDAO, 1, [define if you want to build cdrdao plugins])
else
build_cdrdao="no"
fi
AM_CONDITIONAL(BUILD_CDRDAO, test x"$build_cdrdao" = "xyes")
dnl **************** check for cdrkit ************************
AC_ARG_ENABLE(cdrkit,
AS_HELP_STRING([--enable-cdrkit],[Build cdrkit plugins [[default=yes]]]),
[build_cdrkit=$enableval],
[build_cdrkit="yes"])
if test x"$build_cdrkit" = "xyes"; then
AC_DEFINE(BUILD_CDRKIT, 1, [define if you want to build cdrkit plugins])
else
build_cdrkit="no"
fi
AM_CONDITIONAL(BUILD_CDRKIT, test x"$build_cdrkit" = "xyes")
dnl **************** check for growisofs ************************
AC_ARG_ENABLE(growisofs,
AS_HELP_STRING([--enable-growisofs],[Build growisofs plugins [[default=yes]]]),
[build_growisofs=$enableval],
[build_growisofs="yes"])
if test x"$build_growisofs" = "xyes"; then
AC_DEFINE(BUILD_GROWISOFS, 1, [define if you want to build growisofs plugins])
else
build_growisofs="no"
fi
AM_CONDITIONAL(BUILD_GROWISOFS, test x"$build_growisofs" = "xyes")
TRACKER_REQUIRED=0.10.0
AC_ARG_ENABLE(search,
AS_HELP_STRING([--enable-search],[Build search pane (if a search backend is available) [[default=auto]]]),
[case "$enableval" in
"auto"|"yes"|"no") ;;
*) echo "Unknown option"; exit 2 ;;
esac],
[enable_search="auto"])
if test x"$enable_search" != "xno"; then
# Try to figure out the tracker API version to use
tracker_api="0.10"
m4_foreach([VERSION], [[0.10], [0.12], [0.14], [0.16], [0.18], [1.0], [2.0], [3.0]],
[PKG_CHECK_EXISTS([tracker-sparql-VERSION >= $TRACKER_REQUIRED],
[tracker_api="VERSION"])
])
fi
if test x"$enable_search" = "xauto"; then
PKG_CHECK_EXISTS([tracker-sparql-$tracker_api >= $TRACKER_REQUIRED],
[enable_search=yes],
[enable_search=no])
fi
if test x"$enable_search" = "xyes"; then
PKG_CHECK_MODULES(BRASERO_SEARCH, tracker-sparql-$tracker_api >= $TRACKER_REQUIRED)
AC_DEFINE(BUILD_SEARCH, 1, [define if you want to use search pane])
AC_DEFINE(BUILD_TRACKER, 1, [define if you want to use search pane])
AC_SUBST(BRASERO_SEARCH_CFLAGS)
AC_SUBST(BRASERO_SEARCH_LIBS)
build_tracker="yes"
build_search="yes"
if test x"$tracker_api" = x"3.0"; then
AC_DEFINE(HAVE_TRACKER3, 1, [define if tracker3 is available])
fi
else
build_search="no"
fi
AM_CONDITIONAL(BUILD_SEARCH, test x"$build_search" = "xyes")
AM_CONDITIONAL(BUILD_TRACKER, test x"$build_tracker" = "xyes")
dnl ****************check for playlist (optional)**************
TOTEM_REQUIRED=2.29.1
AC_ARG_ENABLE(playlist,
AS_HELP_STRING([--enable-playlist],[Build playlist pane (if totem-pl-parser is available)[[default=yes]]]),
[enable_playlist=$enableval],
[enable_playlist="yes"])
if test x"$enable_playlist" = "xyes"; then
PKG_CHECK_MODULES(BRASERO_PL_PARSER, totem-plparser >= $TOTEM_REQUIRED, build_totem=yes, build_totem=no)
else
build_totem="no"
fi
if test x"$build_totem" = "xyes"; then
AC_DEFINE(BUILD_PLAYLIST, 1, [define if you want to build playlist pane])
fi
AC_SUBST(BRASERO_PL_PARSER_CFLAGS)
AC_SUBST(BRASERO_PL_PARSER_LIBS)
AM_CONDITIONAL(BUILD_PLAYLIST, test x"$build_totem" = "xyes")
dnl ****************check for preview (optional)**************
AC_ARG_ENABLE(preview,
AS_HELP_STRING([--enable-preview],[Build preview pane [[default=yes]]]),
[enable_preview=$enableval],
[enable_preview="yes"])
if test x"$enable_preview" = "xyes"; then
PKG_CHECK_MODULES(BRASERO_GSTREAMER_BASE, gstreamer-plugins-base-1.0 >= $GSTREAMER_MODULE_REQUIRED, build_preview=yes, build_preview=no)
else
build_preview="no"
fi
if test x"$build_preview" = "xyes"; then
AC_DEFINE(BUILD_PREVIEW, 1, [define if you want to build preview pane])
fi
AC_SUBST(BRASERO_GSTREAMER_BASE_CFLAGS)
AC_SUBST(BRASERO_GSTREAMER_BASE_LIBS)
AM_CONDITIONAL(BUILD_PREVIEW, test x"$build_preview" = "xyes")
dnl ****************check for inotify (optional)**************
AC_ARG_ENABLE(inotify,
AS_HELP_STRING([--enable-inotify],[use inotify [[default=yes]]]),
[enable_inotify=$enableval],
[enable_inotify="yes"])
if test x"$enable_inotify" = "xyes"; then
AC_DEFINE(BUILD_INOTIFY, 1, [define if you want to build inotify])
fi
AM_CONDITIONAL(BUILD_INOTIFY, test x"$enable_inotify" = "xyes")
dnl ****** Check for introspection ***************************
GOBJECT_INTROSPECTION_CHECK([1.30.0])
dnl ****** Update mime, desktop and icon caches *******
AC_ARG_ENABLE(caches,
AS_HELP_STRING([--enable-caches],[Run update-* to update mime, desktop and icon caches when installing [[default=yes]]]),
[enable_caches=$enableval],
[enable_caches="yes"])
AM_CONDITIONAL(UPDATE_CACHES, test x"$enable_caches" = "xyes")
dnl ****** INTERNATIONALIZATION **********************
GETTEXT_PACKAGE=brasero
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name for gettext])
AM_GLIB_GNU_GETTEXT
IT_PROG_INTLTOOL([0.50])
if test "x${prefix}" = "xNONE"; then
AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${ac_default_prefix}/${DATADIRNAME}/locale", [Location of package locale files])
else
AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${prefix}/${DATADIRNAME}/locale", [Location of package locale files])
fi
dnl ****** END ***********************
AC_CONFIG_FILES([
Makefile
docs/Makefile
docs/reference/Makefile
docs/reference/libbrasero-media/Makefile
docs/reference/libbrasero-burn/Makefile
docs/reference/libbrasero-media/version.xml
docs/reference/libbrasero-burn/version.xml
data/Makefile
data/icons/Makefile
data/mime/Makefile
help/Makefile
nautilus/Makefile
libbrasero-media/Makefile
libbrasero-media/brasero-media.h
libbrasero-utils/Makefile
libbrasero-burn/Makefile
libbrasero-burn/brasero-burn-lib.h
plugins/Makefile
plugins/audio2cue/Makefile
plugins/cdrdao/Makefile
plugins/cdrkit/Makefile
plugins/cdrtools/Makefile
plugins/growisofs/Makefile
plugins/libburnia/Makefile
plugins/transcode/Makefile
plugins/dvdcss/Makefile
plugins/dvdauthor/Makefile
plugins/checksum/Makefile
plugins/local-track/Makefile
plugins/vcdimager/Makefile
po/Makefile.in
src/Makefile
libbrasero-media3.pc
libbrasero-burn3.pc
])
AC_OUTPUT
echo
echo
echo "$PACKAGE configuration summary:"
echo "----------------------------------"
dnl Build libnotify support : ${build_libnotify}
echo "Version: $BRASERO_VERSION
Using GTK+ 3
Update caches: ${enable_caches}
Build Nautilus extension : ${build_nautilus}
Build inotify: ${enable_inotify}
Build search pane : ${build_search}
Build playlist pane : ${build_totem}
Build Preview pane : ${build_preview}
Plugins installed in : ${BRASERO_PLUGIN_DIRECTORY}
Build cdrdao plugins : ${build_cdrdao}
Build cdrtools plugins : ${build_cdrtools}
Build cdrkit plugins : ${build_cdrkit}
Build growisofs plugins : ${build_growisofs}
Build libburnia plugins : ${build_libburnia}
Build GObject-Introspection : ${found_introspection}
"
echo
echo