forked from storaged-project/udisks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
635 lines (557 loc) · 20.5 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
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
m4_define([udisks_major_version], [2])
m4_define([udisks_minor_version], [6])
m4_define([udisks_micro_version], [5])
m4_define([udisks_version], [udisks_major_version.udisks_minor_version.udisks_micro_version])
AC_INIT([udisks],[udisks_version],[https://storaged-project.github.io],[udisks])
UDISKS_MAJOR_VERSION=udisks_major_version
UDISKS_MINOR_VERSION=udisks_minor_version
UDISKS_MICRO_VERSION=udisks_micro_version
UDISKS_VERSION=udisks_version
AC_SUBST(UDISKS_MAJOR_VERSION)
AC_SUBST(UDISKS_MINOR_VERSION)
AC_SUBST(UDISKS_MICRO_VERSION)
AC_SUBST(UDISKS_VERSION)
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([1.11 foreign silent-rules dist-bzip2 no-dist-gzip])
AM_MAINTAINER_MODE
AM_SILENT_RULES([yes])
AX_CHECK_ENABLE_DEBUG([no], [DEBUG], [NDEBUG])
AC_PROG_CC
AC_PROG_CC_C99
AC_ISC_POSIX
AC_HEADER_STDC
AC_PROG_LIBTOOL
# Compilation
#
GNOME_COMPILE_WARNINGS([maximum])
CC_CHECK_CFLAGS_APPEND([ \
-Wall \
-W \
-Wextra \
-Wcast-align \
-Wdeclaration-after-statement \
-Wendif-labels \
-Werror=format-security \
-Werror=implicit-function-declaration \
-Werror=overflow \
-Wformat-nonliteral \
-Wformat=2 \
-Wimplicit \
-Winit-self \
-Wlogical-op \
-Wmissing-declarations \
-Wmissing-format-attribute \
-Wmissing-include-dirs \
-Wmissing-noreturn \
-Wmissing-prototypes \
-Wnested-externs \
-Wno-inline \
-Wno-long-long \
-Wno-missing-field-initializers \
-Wno-overlength-strings \
-Wno-switch-enum \
-Wno-unused-parameter \
-Wno-unused-result \
-Wold-style-definition \
-Wpacked \
-Wpointer-arith \
-Wshadow \
-Wsign-compare \
-Wstrict-aliasing=2 \
-Wstrict-prototypes \
-Wundef \
-Wuninitialized \
-Wmaybe-uninitialized \
-Wunsafe-loop-optimizations \
-Wvla \
-Wwrite-strings \
-fdata-sections \
-fdiagnostics-show-option \
-ffast-math \
-ffunction-sections \
-fno-common \
-fno-strict-aliasing \
-D_LARGEFILE64_SOURCE \
-D_FILE_OFFSET_BITS=64 \
])
AC_PATH_PROG([XSLTPROC], [xsltproc])
if test -z "$XSLTPROC"; then
AC_MSG_ERROR([xsltproc is needed])
fi
GTK_DOC_CHECK([1.3],[--flavour no-tmpl])
AC_ARG_ENABLE(man,
[AS_HELP_STRING([--enable-man],
[generate man pages [default=auto]])],,
enable_man=maybe)
AS_IF([test "$enable_man" != no], [
AC_PATH_PROG([XSLTPROC], [xsltproc])
AS_IF([test -z "$XSLTPROC"], [
AS_IF([test "$enable_man" = yes], [
AC_MSG_ERROR([xsltproc is required for --enable-man])
])
enable_man=no
])
enable_man=yes
])
AM_CONDITIONAL(ENABLE_MAN, test "$enable_man" != no)
GOBJECT_INTROSPECTION_CHECK([0.6.2])
# Behavior
#
fhs_media=no
AC_ARG_ENABLE(fhs-media,
[AS_HELP_STRING([--enable-fhs-media],
[Mount devices in /media instead of /run/media [default=no]])],
AS_IF([test "x$enable_fhs_media" == "xyes"], [fhs_media=yes]),
fhs_media=no)
if test "x$fhs_media" = "xyes"; then
AC_DEFINE([HAVE_FHS_MEDIA], 1, [Define to 1 to use /media for mounting])
fi
# Libraries
#
PKG_CHECK_MODULES(GUDEV, [gudev-1.0 >= 165])
AC_SUBST(GUDEV_CFLAGS)
AC_SUBST(GUDEV_LIBS)
PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.36])
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
PKG_CHECK_MODULES(GIO, [gio-unix-2.0 >= 2.36])
AC_SUBST(GIO_CFLAGS)
AC_SUBST(GIO_LIBS)
PKG_CHECK_MODULES(GMODULE, [gmodule-2.0])
AC_SUBST(GMODULE_CFLAGS)
AC_SUBST(GMODULE_LIBS)
PKG_CHECK_MODULES(POLKIT_GOBJECT_1, [polkit-gobject-1 >= 0.102])
AC_SUBST(POLKIT_GOBJECT_1_CFLAGS)
AC_SUBST(POLKIT_GOBJECT_1_LIBS)
PKG_CHECK_MODULES(POLKIT_AGENT_1, [polkit-agent-1 >= 0.102])
AC_SUBST(POLKIT_AGENT_1_CFLAGS)
AC_SUBST(POLKIT_AGENT_1_LIBS)
PKG_CHECK_MODULES(LIBATASMART, [libatasmart >= 0.17])
AC_SUBST(LIBATASMART_CFLAGS)
AC_SUBST(LIBATASMART_LIBS)
PKG_CHECK_MODULES(LIBSYSTEMD_LOGIN, [libsystemd >= 209], [have_libsystemd_login=yes],
[PKG_CHECK_MODULES(LIBSYSTEMD_LOGIN, [libsystemd-login >= 44 libsystemd-daemon],
[have_libsystemd_login=yes],
[have_libsystemd_login=no])])
AM_CONDITIONAL(HAVE_LIBSYSTEMD_LOGIN, test x$have_libsystemd_login = xyes)
if test "x$have_libsystemd_login" = "xyes"; then
AC_DEFINE([HAVE_LIBSYSTEMD_LOGIN], 1, [Define to 1 if libsystemd-login is available])
fi
AC_SUBST(HAVE_LIBSYSTEMD_LOGIN)
AC_SUBST(LIBSYSTEMD_LOGIN_CFLAGS)
AC_SUBST(LIBSYSTEMD_LOGIN_LIBS)
PKG_CHECK_MODULES(LIBELOGIND, [libelogind >= 219],
[have_libelogind=yes],
[have_libelogins=no])
AM_CONDITIONAL(HAVE_LIBELOGIND, test x$have_libelogind = xyes)
if test "x$have_libelogind" = "xyes"; then
AC_DEFINE([HAVE_LIBELOGIND], 1, [Define to 1 if libelogind is available])
fi
AC_SUBST(HAVE_LIBELOGIND)
AC_SUBST(LIBELOGIND_CFLAGS)
AC_SUBST(LIBELOGIND_LIBS)
# udevdir
AC_ARG_WITH([udevdir],
AS_HELP_STRING([--with-udevdir=DIR], [Directory for udev]),
[],
[with_udevdir=$($PKG_CONFIG --variable=udevdir udev)])
AC_SUBST([udevdir], [$with_udevdir])
# systemd
AC_ARG_WITH([systemdsystemunitdir],
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
[],
[with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
if test "x$with_systemdsystemunitdir" != "xno"; then
AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
fi
AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$systemdsystemunitdir"])
# kernel modules
AC_ARG_WITH([modloaddir],
[AS_HELP_STRING([--with-modloaddir=DIR], [Directory for configuring kernel modules to load at boot])],
[modloaddir=$withval],
[modloaddir="/usr/lib/modules-load.d"])
AC_SUBST([modloaddir], [$modloaddir])
AC_ARG_WITH([modprobedir],
[AS_HELP_STRING([--with-modprobedir=DIR], [Directory for modprobe configuration])],
[modprobedir=$withval],
[modprobedir="/usr/lib/modprobe.d"])
AC_SUBST([modprobedir], [$modprobedir])
have_acl=no
AC_ARG_ENABLE(acl, AS_HELP_STRING([--disable-acl], [disable acl support]))
if test "x$enable_acl" != "xno"; then
AC_CHECK_HEADERS(
[sys/acl.h acl/libacl.h],
[
AC_CHECK_LIB(
[acl],
[acl_get_file],
[AC_DEFINE(HAVE_ACL, 1, [Define if libacl is available]) have_acl=yes],
have_acl=no)
],
have_acl=no)
if test "x$have_acl" = "xyes"; then
ACL_CFLAGS=""
ACL_LIBS="-lacl"
fi
AC_SUBST(ACL_CFLAGS)
AC_SUBST(ACL_LIBS)
if test "x$have_acl" = xno -a "x$enable_acl" = xyes; then
AC_MSG_ERROR([acl support requested but libraries not found])
fi
fi
AM_CONDITIONAL(HAVE_ACL, [test "$have_acl" = "yes"])
# LVM2 module
have_lvm2=no
have_devmapper=no
AC_ARG_ENABLE(lvm2, AS_HELP_STRING([--enable-lvm2], [enable LVM2 support]))
if test "x$enable_lvm2" = "xyes" \
-o "x$enable_modules" = "xyes"; then
PKG_CHECK_MODULES(DEVMAPPER, devmapper >= 1.02,
[AC_DEFINE(HAVE_DEVMAPPER, 1, [Define if DEVMAPPER is available]) have_devmapper=yes],
have_devmapper=no)
if test "x$have_devmapper" = "xyes"; then
PKG_CHECK_MODULES(LVM2, lvm2app >= 2.2,
[AC_DEFINE(HAVE_LVM2, 1, [Define if LVM2 is available]) have_lvm2=yes],
have_lvm2=no)
fi
AC_SUBST(DEVMAPPER_CFLAGS)
AC_SUBST(DEVMAPPER_LIBS)
AC_SUBST(LVM2_CFLAGS)
AC_SUBST(LVM2_LIBS)
if test \( "x$have_devmapper" = xno -o "x$have_lvm2" = xno \) \
-a \( "x$enable_lvm2" = xyes -o "x$enable_modules" = xyes \); then
AC_MSG_ERROR([lvm2 support requested but libraries not found])
fi
fi
AM_CONDITIONAL(HAVE_LVM2, [test "$have_lvm2" = "yes"])
AM_CONDITIONAL(HAVE_DEVMAPPER, [test "$have_devmapper" = "yes"])
# LVMCache
have_lvmcache=no
AC_ARG_ENABLE(lvmcache, AS_HELP_STRING([--enable-lvmcache], [enable LVMCache support]))
if test "x$enable_lvmcache" = "xyes" \
-o "x$enable_modules" = "xyes"; then
if test "x$have_lvm2" = "xno"; then
AC_MSG_ERROR([lvmcache support requested, but lvm2 module not enabled])
fi
have_lvmcache=yes
AC_DEFINE(HAVE_LVMCACHE, 1, [Define if lvmcache is available])
fi
AM_CONDITIONAL(HAVE_LVMCACHE, [test "$have_lvmcache" = "yes"])
# iSCSI module
have_iscsi=no
have_libiscsi_session_info="no"
have_libiscsi_session_info_msg=""
AC_ARG_ENABLE(iscsi, AS_HELP_STRING([--enable-iscsi], [enable iSCSI support]))
if test "x$enable_iscsi" = "xyes" \
-o "x$enable_modules" = "xyes"; then
# libiscsi.h
AC_CHECK_HEADER([libiscsi.h],
[AC_DEFINE(HAVE_ISCSI, 1, [Define if libiscsi from iscsi-initiator-utils is available])
have_iscsi=yes],
[have_iscsi=no])
if test "x$have_iscsi" = "xyes"; then
AC_MSG_CHECKING([whether libiscsi.h defines iscsi_err])
AC_TRY_COMPILE([#include <libiscsi.h>],
[int err = ISCSI_SUCCESS;],
[AC_MSG_RESULT([yes])
AC_DEFINE([HAVE_LIBISCSI_ERR], [1], [libiscsi error states])],
[AC_MSG_RESULT([no])])
fi
# libiscsi
AC_CHECK_LIB([iscsi],
[libiscsi_init],
[ISCSI_LIBS="-liscsi"],
[have_iscsi="no"])
if test "x$have_iscsi" = "xyes"; then
AC_CHECK_LIB([iscsi],
[libiscsi_get_session_info_by_id],
[have_libiscsi_session_info="yes"
have_libiscsi_session_info_msg=", with iscsi sessions"
AC_DEFINE([HAVE_LIBISCSI_GET_SESSION_INFOS], [1],
[libiscsi can retrieve session information])],
[have_libiscsi_session_info_msg=", without iscsi sessions"])
fi
if test "x$have_iscsi" = "xno"; then
AC_MSG_ERROR([iSCSI support requested but libraries not found])
fi
AC_SUBST([ISCSI_LIBS])
fi
AM_CONDITIONAL(HAVE_ISCSI, [test "x$have_iscsi" = "xyes"])
AM_CONDITIONAL(BUILD_ISCSI_SESSION_OBJECT, [test "x$have_libiscsi_session_info" = "xyes"])
# BTRFS module
have_btrfs=no
AC_ARG_ENABLE(btrfs, AS_HELP_STRING([--enable-btrfs], [enable BTRFS support]))
if test "x$enable_btrfs" = "xyes" \
-o "x$enable_modules" = "xyes"; then
# libblockdev
SAVE_CFLAGS=$CFLAGS
SAVE_LDFLAGS=$LDFLAGS
CFLAGS="$GLIB_CFLAGS"
LDFLAGS="$GLIB_LIBS"
# We don't use AC_CHECK_HEADER to avoid these warnings:
# - accepted by the compiler, rejected by the preprocessor!
# - proceeding with the compiler's result
AC_MSG_CHECKING(["libblockdev-btrfs presence"])
AC_TRY_COMPILE([#include <blockdev/btrfs.h>], [],
[AC_MSG_RESULT([yes])
AC_DEFINE(HAVE_BTRFS, 1, [Define, if libblockdev-btrfs is available])
have_btrfs=yes],
[AC_MSG_RESULT([no])
have_btrfs=no])
CFLAGS=$SAVE_CFLAGS
LDFLAGS=$SAVE_LDFLAGS
BTRFS_CFLAGS=""
BTRFS_LIBS="-lbd_btrfs"
if test "x$have_btrfs" = "xno"; then
AC_MSG_ERROR([BTRFS support requested but header or library not found])
fi
AC_SUBST([BTRFS_CFLAGS])
AC_SUBST([BTRFS_LIBS])
fi
AM_CONDITIONAL(HAVE_BTRFS, [test "x$have_btrfs" = "xyes"])
# ZRAM module
have_kbd="no"
have_swap="no"
have_zram="no"
AC_ARG_ENABLE(zram, AS_HELP_STRING([--enable-zram], [enable ZRAM support]))
if test "x$enable_zram" = "xyes" \
-o "x$enable_modules" = "xyes"; then
# libblockdev
SAVE_CFLAGS=$CFLAGS
SAVE_LDFLAGS=$LDFLAGS
CFLAGS="$GLIB_CFLAGS"
LDFLAGS="$GLIB_LIBS"
# libblockdev-kbd
AC_MSG_CHECKING([libblockdev-kbd presence])
AC_TRY_COMPILE([#include <blockdev/kbd.h>], [],
[AC_MSG_RESULT([yes])
have_kbd=yes],
[AC_MSG_RESULT([no])
have_kbd=no])
KBD_CFLAGS=""
KBD_LIBS="-lbd_kbd"
if test "x$have_kbd" = "xno"; then
AC_MSG_ERROR([KBD support requested but header or library not found])
fi
AC_SUBST([KBD_CFLAGS])
AC_SUBST([KBD_LIBS])
CFLAGS="$GLIB_CFLAGS"
LDFLAGS="$GLIB_LIBS"
# libblockdev-swap
AC_MSG_CHECKING([libblockdev-swap presence])
AC_TRY_COMPILE([#include <blockdev/swap.h>], [],
[AC_MSG_RESULT([yes])
have_swap=yes],
[AC_MSG_RESULT([no])
have_swap=no])
CFLAGS=$SAVE_CFLAGS
LDFLAGS=$SAVE_LDFLAGS
SWAP_CFLAGS=""
SWAP_LIBS="-lbd_swap"
if test "x$have_swap" = "xno"; then
AC_MSG_ERROR([SWAP support requested but header or library not found])
fi
AC_SUBST([SWAP_CFLAGS])
AC_SUBST([SWAP_LIBS])
have_zram="yes"
if test "$have_kbd" = "yes" -a "$have_swap" = "yes"; then
AC_DEFINE(HAVE_ZRAM, 1, [Define, if libblockdev-kbd and libblockdev-swap are available])
fi
fi
AM_CONDITIONAL(HAVE_ZRAM, [test "$have_kbd" = "yes" -a "$have_swap" = "yes"])
# LSM module
have_lsm=no
AC_ARG_ENABLE(
lsm, AS_HELP_STRING([--enable-lsm], [enable LibStorageMgmt support]))
if test "x$enable_lsm" = "xyes" \
-o "x$enable_modules" = "xyes"; then
PKG_CHECK_MODULES(
[LIBLSM], [libstoragemgmt >= 1.3.0],
[AC_DEFINE(HAVE_LSM, 1, [Define if liblibstoragemgmt is available])
have_lsm=yes],
[AC_MSG_ERROR([libstoragemgmt 1.3.0 or newer not found.])
have_lsm=no])
PKG_CHECK_MODULES(
[LIBCONFIG], [libconfig >= 1.3.2],
[AC_DEFINE(HAVE_LSM, 1, [Define if libconfig is available])
have_lsm=yes],
[AC_MSG_ERROR([libconfig 1.3.2 or newer not found.])
have_lsm=no])
if test "x$have_lsm" = "xno"; then
AC_MSG_ERROR([LibStorageMgmt support requested but libraries not found])
fi
fi
AM_CONDITIONAL(HAVE_LSM, [test "x$have_lsm" = "xyes"])
# Bcache module
have_bcache=no
AC_ARG_ENABLE(bcache, AS_HELP_STRING([--enable-bcache], [enable Bcache support]))
if test "x$enable_bcache" = "xyes" \
-o "x$enable_modules" = "xyes"; then
# libblockdev
SAVE_CFLAGS=$CFLAGS
SAVE_LDFLAGS=$LDFLAGS
CFLAGS="$GLIB_CFLAGS"
LDFLAGS="$GLIB_LIBS"
# libblockdev-kbd
AC_MSG_CHECKING([libblockdev-kbd presence])
AC_TRY_COMPILE([#include <blockdev/kbd.h>], [],
[AC_MSG_RESULT([yes])
have_bcache=yes],
[AC_MSG_RESULT([no])
have_bcache=no])
CFLAGS=$SAVE_CFLAGS
LDFLAGS=$SAVE_LDFLAGS
BCACHE_CFLAGS="-DWITH_BD_BCACHE"
BCACHE_LIBS="-lbd_kbd"
if test "x$have_bcache" = "xno"; then
AC_MSG_ERROR([Bcache support requested but header or library not found])
fi
AC_SUBST([BCACHE_CFLAGS])
AC_SUBST([BCACHE_LIBS])
fi
AM_CONDITIONAL(HAVE_BCACHE, [test "x$have_bcache" = "xyes"])
have_libblockdev_part=no
have_libblockdev_part_spec=0
SAVE_CFLAGS=$CFLAGS
SAVE_LDFLAGS=$LDFLAGS
CFLAGS="$GLIB_CFLAGS"
LDFLAGS="$GLIB_LIBS"
AC_CHECK_HEADERS(
[blockdev/part.h],
[
AC_CHECK_LIB(
[bd_part],
[bd_part_create_part],
[AC_DEFINE(HAVE_LIBBLOCKDEV_PART, 1,
[Define if libbd_part is available])
have_libblockdev_part=yes
have_libblockdev_part_spec=1
PART_CFLAGS=""
PART_LDFLAGS="-lbd_part"],
have_libblockdev_part=no
have_libblockdev_part_spec=0)
],
have_libblockdev_part=no)
AM_CONDITIONAL(HAVE_LIBBLOCKDEV_PART, [test "x$have_libblockdev_part" = "xyes"])
AC_SUBST([have_libblockdev_part_spec])
AC_SUBST([PART_CFLAGS])
AC_SUBST([PART_LDFLAGS])
CFLAGS=$SAVE_CFLAGS
LDFLAGS=$SAVE_LDFLAGS
# Internationalization
#
IT_PROG_INTLTOOL([$INTLTOOL_REQUIRED])
GETTEXT_PACKAGE=udisks2
AC_SUBST([GETTEXT_PACKAGE])
AM_GLIB_GNU_GETTEXT
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[gettext domain])
AC_DEFINE([PROJECT_SYSCONF_DIR], ["udisks2"], [Project configuration directory])
AC_DEFINE([PACKAGE_NAME_UDISKS2], ["udisks2"], [Full package name for UDisks2 compatibility])
# Generate
#
AC_OUTPUT([
Makefile
data/Makefile
udisks/Makefile
udisks/udisks2.conf
udisks/udisks2.pc
udisks/modules.conf.d/Makefile
udisks/modules.conf.d/udisks2_lsm.conf
src/Makefile
src/tests/Makefile
tools/Makefile
packaging/Makefile
packaging/udisks2.spec
modules/Makefile
modules/btrfs/Makefile
modules/btrfs/data/Makefile
modules/iscsi/Makefile
modules/iscsi/data/Makefile
modules/lvm2/Makefile
modules/lvm2/data/Makefile
modules/zram/Makefile
modules/zram/data/Makefile
modules/lsm/Makefile
modules/lsm/data/Makefile
modules/bcache/Makefile
modules/bcache/data/Makefile
doc/Makefile
doc/udisks2-docs.xml.in
doc/udisks2-sections.txt.in
doc/udisks2.types.in
doc/version.xml
doc/man/Makefile
doc/man/udisks-lvm.xml
doc/man/udisks.xml
doc/man/udisksd.xml
doc/man/udisksctl.xml
doc/man/umount.udisks2.xml
doc/man/udisks2.conf.5.xml.in
doc/man/udisks2_lsm.conf.5.xml.in
doc/udisks2-docs.xml.iscsi.dbus
doc/udisks2-docs.xml.iscsi.generated
doc/udisks2-sections.txt.iscsi.sections
doc/udisks2.types.iscsi
doc/udisks2-docs.xml.lsm.man
doc/udisks2-docs.xml.lsm.dbus
doc/udisks2-docs.xml.lsm.generated
doc/udisks2-sections.txt.lsm.sections
doc/udisks2.types.lsm
doc/udisks2-docs.xml.lvm2.man
doc/udisks2-docs.xml.lvm2.dbus
doc/udisks2-docs.xml.lvm2.generated
doc/udisks2-sections.txt.lvm2.sections
doc/udisks2.types.lvm2
doc/udisks2-docs.xml.btrfs.dbus
doc/udisks2-docs.xml.btrfs.generated
doc/udisks2-sections.txt.btrfs.sections
doc/udisks2.types.btrfs
doc/udisks2-docs.xml.zram.dbus
doc/udisks2-docs.xml.zram.generated
doc/udisks2-docs.xml.zram.block_devices
doc/udisks2-sections.txt.zram.sections
doc/udisks2.types.zram
doc/udisks2-docs.xml.bcache.dbus
doc/udisks2-docs.xml.bcache.generated
doc/udisks2-sections.txt.bcache.sections
doc/udisks2.types.bcache
po/Makefile.in
])
dnl ==========================================================================
echo "
udisks $VERSION
================
prefix: ${prefix}
libdir: ${libdir}
libexecdir: ${libexecdir}
bindir: ${bindir}
sbindir: ${sbindir}
datadir: ${datadir}
sysconfdir: ${sysconfdir}
localstatedir: ${localstatedir}
docdir: ${docdir}
introspection: ${found_introspection}
udevdir: ${udevdir}
systemdsystemunitdir: ${systemdsystemunitdir}
using libsystemd-login: ${have_libsystemd_login}
using libelogind: ${have_libelogind}
use /media for mounting: ${fhs_media}
acl support: ${have_acl}
libblockdev_part support: ${have_libblockdev_part}
compiler: ${CC}
cflags: ${CFLAGS}
cppflags: ${CPPFLAGS}
Maintainer mode: ${USE_MAINTAINER_MODE}
Building api docs: ${enable_gtk_doc}
Building man pages: ${enable_man}
BTRFS module: ${have_btrfs}
iSCSI module: ${have_iscsi}${have_libiscsi_session_info_msg}
LVM2 module: ${have_lvm2}
LVMCache: ${have_lvmcache}
Zram module: ${have_zram}
LibStorageMgmt module: ${have_lsm}
Bcache module: ${have_bcache}
"