]> git.ipfire.org Git - thirdparty/systemd.git/blame - configure.ac
build-sys: make loadable module support optional
[thirdparty/systemd.git] / configure.ac
CommitLineData
fb0951b0 1#
47be870b
LP
2# This file is part of systemd.
3#
3e214785
KS
4# Copyright 2010-2012 Lennart Poettering
5# Copyright 2010-2012 Kay Sievers
47be870b
LP
6#
7# systemd is free software; you can redistribute it and/or modify it
5430f7f2
LP
8# under the terms of the GNU Lesser General Public License as published by
9# the Free Software Foundation; either version 2.1 of the License, or
47be870b
LP
10# (at your option) any later version.
11#
12# systemd is distributed in the hope that it will be useful, but
13# WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5430f7f2 15# Lesser General Public License for more details.
47be870b 16#
5430f7f2 17# You should have received a copy of the GNU Lesser General Public License
47be870b
LP
18# along with systemd; If not, see <http://www.gnu.org/licenses/>.
19
4e949c11
JJ
20AC_PREREQ([2.64])
21
22AC_INIT([systemd],
139ee8cc 23 [195],
4e949c11
JJ
24 [http://bugs.freedesktop.org/enter_bug.cgi?product=systemd],
25 [systemd],
26 [http://www.freedesktop.org/wiki/Software/systemd])
47be870b 27
78a825f2 28AC_CONFIG_SRCDIR([src/core/main.c])
47be870b
LP
29AC_CONFIG_MACRO_DIR([m4])
30AC_CONFIG_HEADERS([config.h])
a80db8bd
JJ
31AC_CONFIG_AUX_DIR([build-aux])
32
4db6d587 33AC_USE_SYSTEM_EXTENSIONS
907dd195 34AC_SYS_LARGEFILE
eb7bbee6 35AC_PREFIX_DEFAULT([/usr])
bbd9b8c2 36AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax no-dist-gzip dist-xz subdir-objects check-news])
3e214785 37AM_SILENT_RULES([yes])
47be870b 38AC_CANONICAL_HOST
22be093f 39AC_DEFINE_UNQUOTED([CANONICAL_HOST], "$host", [Canonical host string.])
d59d0a2b 40AS_IF([test "x$host_cpu" = "xmips" || test "x$host_cpu" = "xmipsel" ||
41 test "x$host_cpu" = "xmips64" || test "x$host_cpu" = "xmips64el"],
42 [AC_DEFINE(ARCH_MIPS, [], [Whether on mips arch])])
47be870b 43
3e214785
KS
44LT_PREREQ(2.2)
45LT_INIT
47be870b 46
1c7dde3e
BN
47# i18n stuff for the PolicyKit policy files
48IT_PROG_INTLTOOL([0.40.0])
49
50GETTEXT_PACKAGE=systemd
51AC_SUBST(GETTEXT_PACKAGE)
52
e9da3678
LP
53AC_PROG_MKDIR_P
54AC_PROG_LN_S
55AC_PROG_SED
3ce4fad8 56AC_PROG_GREP
f975e971 57AC_PROG_AWK
e9da3678 58
47be870b
LP
59AC_PROG_CC
60AC_PROG_CC_C99
61AM_PROG_CC_C_O
62AC_PROG_GCC_TRADITIONAL
47be870b 63
3e214785 64AC_PATH_PROG([M4], [m4])
fe1fed02 65AC_PATH_PROG([XSLTPROC], [xsltproc])
92ec4495 66
86b2e20a
LP
67AC_PATH_PROG([QUOTAON], [quotaon], [/usr/sbin/quotaon])
68AC_PATH_PROG([QUOTACHECK], [quotacheck], [/usr/sbin/quotacheck])
b51fc639 69
86b2e20a
LP
70AC_PATH_PROG([SETCAP], [setcap], [/usr/sbin/setcap])
71
c1c02e07 72AC_PATH_PROG([KILL], [kill], [/usr/bin/kill])
96ede260 73
80a5cbac 74# gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line
92ec4495 75m4_ifdef([GTK_DOC_CHECK], [
9e45e7d8 76GTK_DOC_CHECK([1.18],[--flavour no-tmpl])
6e92b23f 77], [AM_CONDITIONAL([ENABLE_GTK_DOC], [false])])
92ec4495 78
fe1fed02
ZJS
79AS_IF([test "x$enable_gtk_doc" = "xyes" -a "x$XSLTPROC" = x], [
80 AC_MSG_ERROR([*** GTK doc requested but xsltproc not found])
81])
82
6e92b23f 83m4_ifdef([GOBJECT_INTROSPECTION_CHECK], [
0eaeca1f 84GOBJECT_INTROSPECTION_CHECK([1.31.1])
6e92b23f 85], [AM_CONDITIONAL([HAVE_INTROSPECTION], [false])])
3e214785 86
8d7e170a
LP
87AC_PATH_TOOL(OBJCOPY, objcopy)
88AC_PATH_TOOL(STRINGS, strings)
89AC_PATH_TOOL(GPERF, gperf)
b62cfcea
MB
90if test -z "$GPERF" ; then
91 AC_MSG_ERROR([*** gperf not found])
92fi
9a60da28 93
8d7e170a
LP
94# we use python to build the man page index, and for systemd-python
95have_python=no
96have_python_devel=no
78fbaaca
WK
97
98AC_ARG_WITH([python],
99 [AS_HELP_STRING([--without-python], [Disable building the man page index and systemd-python (default: test)])])
100
101AS_IF([test "x$with_python" != "xno"], [
102 AM_PATH_PYTHON(,, [:])
568c7e02 103 AS_IF([test "$PYTHON" != :], [have_python=yes])
78fbaaca 104])
8d7e170a 105AM_CONDITIONAL([HAVE_PYTHON], [test "$have_python" = "yes"])
568c7e02
ZJS
106
107AS_IF([test "x$with_python" != "xno"], [
108 AC_PATH_PROG(PYTHON_CONFIG, python${PYTHON_VERSION}-config)
109 AS_IF([test -n "$PYTHON_CONFIG"], [
110 have_python_devel=yes
111 PYTHON_CFLAGS="`$PYTHON_CONFIG --cflags`"
112 PYTHON_LIBS="`$PYTHON_CONFIG --ldflags`"
113 AC_SUBST(PYTHON_CFLAGS)
114 AC_SUBST(PYTHON_LIBS)
115 ])
116])
8d7e170a 117AM_CONDITIONAL([HAVE_PYTHON_DEVEL], [test "$have_python_devel" = "yes"])
9c4fa6ed 118
eb2e280f 119CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
be1a67d9 120 -pipe \
d1ab0ca0 121 -Wall \
d1ab0ca0 122 -Wextra \
27765dfc 123 -Wno-inline \
d1ab0ca0
LP
124 -Wundef \
125 -Wformat=2 \
126 -Wlogical-op \
127 -Wsign-compare \
128 -Wformat-security \
129 -Wmissing-include-dirs \
130 -Wformat-nonliteral \
131 -Wold-style-definition \
132 -Wpointer-arith \
133 -Winit-self \
134 -Wdeclaration-after-statement \
135 -Wfloat-equal \
136 -Wmissing-prototypes \
137 -Wstrict-prototypes \
138 -Wredundant-decls \
139 -Wmissing-declarations \
140 -Wmissing-noreturn \
141 -Wshadow \
142 -Wendif-labels \
143 -Wcast-align \
144 -Wstrict-aliasing=2 \
145 -Wwrite-strings \
be1a67d9
LP
146 -Wno-long-long \
147 -Wno-overlength-strings \
d1ab0ca0 148 -Wno-unused-parameter \
be1a67d9 149 -Wno-missing-field-initializers \
8745297f 150 -Wno-unused-result \
d200735e 151 -Werror=overflow \
be1a67d9 152 -ffast-math \
d1ab0ca0
LP
153 -fno-common \
154 -fdiagnostics-show-option \
9b85fc6a
GSB
155 -fno-strict-aliasing \
156 -fvisibility=hidden \
157 -ffunction-sections \
5a45a936 158 -fdata-sections \
c1663b9d
LP
159 -fstack-protector \
160 --param=ssp-buffer-size=4])
5a45a936
LP
161AC_SUBST([OUR_CFLAGS], $with_cflags)
162
163CC_CHECK_FLAGS_APPEND([with_cppflags], [CPPFLAGS], [\
164 -Wp,-D_FORTIFY_SOURCE=2])
165AC_SUBST([OUR_CPPFLAGS], $with_cppflags)
9e7adc3a
LDM
166
167CC_CHECK_FLAGS_APPEND([with_ldflags], [LDFLAGS], [\
9b85fc6a 168 -Wl,--as-needed \
5a45a936
LP
169 -Wl,--gc-sections \
170 -Wl,-z,relro \
171 -Wl,-z,now])
172AC_SUBST([OUR_LDFLAGS], $with_ldflags)
47be870b 173
e1718709 174AC_SEARCH_LIBS([mq_open], [rt], [], [AC_MSG_ERROR([*** POSIX RT library not found])])
afea26ad 175AC_SEARCH_LIBS([dlsym], [dl], [], [AC_MSG_ERROR([*** Dynamic linking loader library not found])])
85f19d82
MB
176
177save_LIBS="$LIBS"
178LIBS=
47be870b
LP
179AC_SEARCH_LIBS([cap_init], [cap], [], [AC_MSG_ERROR([*** POSIX caps library not found])])
180AC_CHECK_HEADERS([sys/capability.h], [], [AC_MSG_ERROR([*** POSIX caps headers not found])])
85f19d82
MB
181CAP_LIBS="$LIBS"
182LIBS="$save_LIBS"
183AC_SUBST(CAP_LIBS)
47be870b 184
9388e99e 185AC_CHECK_FUNCS([fanotify_init fanotify_mark])
4db17f29 186AC_CHECK_FUNCS([__secure_getenv secure_getenv])
9388e99e 187AC_CHECK_DECLS([gettid, pivot_root, name_to_handle_at], [], [], [[#include <sys/types.h>
a8348796 188#include <unistd.h>
9388e99e
MO
189#include <sys/mount.h>
190#include <fcntl.h>]])
a8348796 191
b237ef2c 192# This makes sure pkg.m4 is available.
a9b5b032 193m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-config])
d1ab0ca0 194
3e214785 195PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.3.2])
e3043162
TG
196
197# ------------------------------------------------------------------------------
198have_kmod=no
199AC_ARG_ENABLE(kmod, AS_HELP_STRING([--disable-kmod], [disable loadable modules support]))
200if test "x$enable_kmod" != "xno"; then
201 PKG_CHECK_MODULES(KMOD, [ libkmod >= 5 ],
202 [AC_DEFINE(HAVE_KMOD, 1, [Define if kmod is available]) have_kmod=yes], have_kmod=no)
203 if test "x$have_kmod" = xno -a "x$enable_kmod" = xyes; then
204 AC_MSG_ERROR([*** kmod support requested but libraries not found])
205 fi
206fi
207AM_CONDITIONAL(HAVE_KMOD, [test "$have_kmod" = "yes"])
f553b3b1
AO
208
209# ------------------------------------------------------------------------------
210have_blkid=no
211AC_ARG_ENABLE(blkid, AS_HELP_STRING([--disable-blkid], [disable blkid support]))
212if test "x$enable_blkid" != "xno"; then
213 PKG_CHECK_MODULES(BLKID, [ blkid >= 2.20 ],
214 [AC_DEFINE(HAVE_BLKID, 1, [Define if blkid is available]) have_blkid=yes], have_blkid=no)
215 if test "x$have_blkid" = xno -a "x$enable_blkid" = xyes; then
216 AC_MSG_ERROR([*** blkid support requested but libraries not found])
217 fi
218fi
219AM_CONDITIONAL(HAVE_BLKID, [test "$have_blkid" = "yes"])
728beb28 220
3e214785 221# ------------------------------------------------------------------------------
81611586
RS
222have_ima=yes
223AC_ARG_ENABLE([ima], AS_HELP_STRING([--disable-ima],[Disable optional IMA support]),
224 [case "${enableval}" in
225 yes) have_ima=yes ;;
226 no) have_ima=no ;;
227 *) AC_MSG_ERROR(bad value ${enableval} for --disable-ima) ;;
228 esac],
229 [have_ima=yes])
230
231if test "x${have_ima}" != xno ; then
232 AC_DEFINE(HAVE_IMA, 1, [Define if IMA is available])
233fi
234
3e214785 235# ------------------------------------------------------------------------------
591622d7
LP
236have_selinux=no
237AC_ARG_ENABLE(selinux, AS_HELP_STRING([--disable-selinux], [Disable optional SELINUX support]))
238if test "x$enable_selinux" != "xno"; then
3f8cc098 239 PKG_CHECK_MODULES([SELINUX], [libselinux >= 2.1.9],
591622d7 240 [AC_DEFINE(HAVE_SELINUX, 1, [Define if SELinux is available]) have_selinux=yes], have_selinux=no)
591622d7
LP
241 if test "x$have_selinux" = xno -a "x$enable_selinux" = xyes; then
242 AC_MSG_ERROR([*** SELinux support requested but libraries not found])
243 fi
56cf987f 244fi
591622d7 245AM_CONDITIONAL(HAVE_SELINUX, [test "$have_selinux" = "yes"])
ed061a8d
MS
246if test "x${have_selinux}" != xno ; then
247 sushell=/sbin/sushell
248else
249 sushell=/bin/bash
250fi
251AC_SUBST(sushell)
56cf987f 252
3e214785 253# ------------------------------------------------------------------------------
807e17f0
LP
254have_xz=no
255AC_ARG_ENABLE(xz, AS_HELP_STRING([--disable-xz], [Disable optional XZ support]))
256if test "x$enable_xz" != "xno"; then
257 PKG_CHECK_MODULES(XZ, [ liblzma ],
258 [AC_DEFINE(HAVE_XZ, 1, [Define if XZ is available]) have_xz=yes], have_xz=no)
807e17f0
LP
259 if test "x$have_xz" = xno -a "x$enable_xz" = xyes; then
260 AC_MSG_ERROR([*** Xz support requested but libraries not found])
261 fi
262fi
263AM_CONDITIONAL(HAVE_XZ, [test "$have_xz" = "yes"])
264
3e214785 265# ------------------------------------------------------------------------------
0213c3f8
LP
266AC_ARG_ENABLE([tcpwrap],
267 AS_HELP_STRING([--disable-tcpwrap],[Disable optional TCP wrappers support]),
268 [case "${enableval}" in
5b6319dc
LP
269 yes) have_tcpwrap=yes ;;
270 no) have_tcpwrap=no ;;
0213c3f8
LP
271 *) AC_MSG_ERROR(bad value ${enableval} for --disable-tcpwrap) ;;
272 esac],
5b6319dc 273 [have_tcpwrap=auto])
0213c3f8 274
5b6319dc 275if test "x${have_tcpwrap}" != xno ; then
0213c3f8
LP
276 ACX_LIBWRAP
277 if test "x${LIBWRAP_LIBS}" = x ; then
5b6319dc
LP
278 if test "x$have_tcpwrap" = xyes ; then
279 AC_MSG_ERROR([*** TCP wrappers support not found.])
0213c3f8 280 fi
812cce32 281 have_tcpwrap=no
0213c3f8 282 else
5b6319dc 283 have_tcpwrap=yes
0213c3f8
LP
284 fi
285else
5b6319dc 286 LIBWRAP_LIBS=
0213c3f8 287fi
0213c3f8
LP
288AC_SUBST(LIBWRAP_LIBS)
289
3e214785 290# ------------------------------------------------------------------------------
5b6319dc
LP
291AC_ARG_ENABLE([pam],
292 AS_HELP_STRING([--disable-pam],[Disable optional PAM support]),
293 [case "${enableval}" in
294 yes) have_pam=yes ;;
295 no) have_pam=no ;;
296 *) AC_MSG_ERROR(bad value ${enableval} for --disable-pam) ;;
297 esac],
298 [have_pam=auto])
299
300if test "x${have_pam}" != xno ; then
301 AC_CHECK_HEADERS(
302 [security/pam_modules.h security/pam_modutil.h security/pam_ext.h],
303 [have_pam=yes],
304 [if test "x$have_pam" = xyes ; then
305 AC_MSG_ERROR([*** PAM headers not found.])
306 fi])
307
308 AC_CHECK_LIB(
309 [pam],
310 [pam_syslog],
311 [have_pam=yes],
312 [if test "x$have_pam" = xyes ; then
313 AC_MSG_ERROR([*** libpam not found.])
314 fi])
315
316 if test "x$have_pam" = xyes ; then
317 PAM_LIBS="-lpam -lpam_misc"
318 AC_DEFINE(HAVE_PAM, 1, [PAM available])
812cce32
LP
319 else
320 have_pam=no
5b6319dc
LP
321 fi
322else
323 PAM_LIBS=
324fi
325AC_SUBST(PAM_LIBS)
326AM_CONDITIONAL([HAVE_PAM], [test "x$have_pam" != xno])
327
3e214785 328# ------------------------------------------------------------------------------
5eda94dd
LP
329AC_ARG_ENABLE([acl],
330 AS_HELP_STRING([--disable-acl],[Disable optional ACL support]),
331 [case "${enableval}" in
332 yes) have_acl=yes ;;
333 no) have_acl=no ;;
334 *) AC_MSG_ERROR(bad value ${enableval} for --disable-acl) ;;
335 esac],
336 [have_acl=auto])
337
338if test "x${have_acl}" != xno ; then
339 AC_CHECK_HEADERS(
340 [sys/acl.h acl/libacl.h],
341 [have_acl=yes],
342 [if test "x$have_acl" = xyes ; then
343 AC_MSG_ERROR([*** ACL headers not found.])
344 fi])
345
346 AC_CHECK_LIB(
347 [acl],
348 [acl_get_file],
349 [have_acl=yes],
350 [if test "x$have_acl" = xyes ; then
351 AC_MSG_ERROR([*** libacl not found.])
352 fi])
353
354 if test "x$have_acl" = xyes ; then
355 ACL_LIBS="-lacl"
356 AC_DEFINE(HAVE_ACL, 1, [ACL available])
357 else
358 have_acl=no
359 fi
360else
361 ACL_LIBS=
362fi
363AC_SUBST(ACL_LIBS)
364AM_CONDITIONAL([HAVE_ACL], [test "x$have_acl" != xno])
365
fb0951b0
LP
366# ------------------------------------------------------------------------------
367AC_ARG_ENABLE([xattr],
368 AS_HELP_STRING([--disable-xattr],[Disable optional XATTR support]),
369 [case "${enableval}" in
370 yes) have_xattr=yes ;;
371 no) have_xattr=no ;;
372 *) AC_MSG_ERROR(bad value ${enableval} for --disable-xattr) ;;
373 esac],
374 [have_xattr=auto])
375
376if test "x${have_xattr}" != xno ; then
377 AC_CHECK_HEADERS(
378 [attr/xattr.h],
379 [have_xattr=yes],
380 [if test "x$have_xattr" = xyes ; then
381 AC_MSG_ERROR([*** XATTR headers not found.])
382 fi])
383
384 AC_CHECK_LIB(
385 [attr],
386 [fsetxattr],
387 [have_xattr=yes],
388 [if test "x$have_xattr" = xyes ; then
389 AC_MSG_ERROR([*** libattr not found.])
390 fi])
391
392 if test "x$have_xattr" = xyes ; then
393 XATTR_LIBS="-lattr"
394 AC_DEFINE(HAVE_XATTR, 1, [XATTR available])
395 else
396 have_xattr=no
397 fi
398else
399 XATTR_LIBS=
400fi
401AC_SUBST(XATTR_LIBS)
402AM_CONDITIONAL([HAVE_XATTR], [test "x$have_xattr" != xno])
403
7560fffc 404# ------------------------------------------------------------------------------
feb12d3e 405AC_ARG_ENABLE([gcrypt],
7560fffc
LP
406 AS_HELP_STRING([--disable-gcrypt],[Disable optional GCRYPT support]),
407 [case "${enableval}" in
408 yes) have_gcrypt=yes ;;
409 no) have_gcrypt=no ;;
410 *) AC_MSG_ERROR(bad value ${enableval} for --disable-gcrypt) ;;
411 esac],
412 [have_gcrypt=auto])
413
414if test "x${have_gcrypt}" != xno ; then
415 AM_PATH_LIBGCRYPT(
416 [1.4.5],
417 [have_gcrypt=yes],
418 [if test "x$have_gcrypt" = xyes ; then
419 AC_MSG_ERROR([*** GCRYPT headers not found.])
420 fi])
421
422 if test "x$have_gcrypt" = xyes ; then
423 GCRYPT_LIBS="$LIBGCRYPT_LIBS"
424 GCRYPT_CFLAGS="$LIBGCRYPT_CFLAGS"
425 AC_DEFINE(HAVE_GCRYPT, 1, [GCRYPT available])
426 else
427 have_gcrypt=no
428 fi
429else
430 GCRYPT_LIBS=
431 GCRYPT_CFLAGS=
432fi
433AC_SUBST(GCRYPT_LIBS)
434AC_SUBST(GCRYPT_CFLAGS)
435AM_CONDITIONAL([HAVE_GCRYPT], [test "x$have_gcrypt" != xno])
436
3e214785 437# ------------------------------------------------------------------------------
4927fcae
LP
438AC_ARG_ENABLE([audit],
439 AS_HELP_STRING([--disable-audit],[Disable optional AUDIT support]),
440 [case "${enableval}" in
441 yes) have_audit=yes ;;
442 no) have_audit=no ;;
443 *) AC_MSG_ERROR(bad value ${enableval} for --disable-audit) ;;
444 esac],
445 [have_audit=auto])
446
447if test "x${have_audit}" != xno ; then
448 AC_CHECK_HEADERS(
449 [libaudit.h],
450 [have_audit=yes],
451 [if test "x$have_audit" = xyes ; then
452 AC_MSG_ERROR([*** AUDIT headers not found.])
453 fi])
454
455 AC_CHECK_LIB(
456 [audit],
457 [audit_open],
458 [have_audit=yes],
459 [if test "x$have_audit" = xyes ; then
460 AC_MSG_ERROR([*** libaudit not found.])
461 fi])
462
463 if test "x$have_audit" = xyes ; then
464 AUDIT_LIBS="-laudit"
465 AC_DEFINE(HAVE_AUDIT, 1, [AUDIT available])
466 else
467 have_audit=no
468 fi
469else
470 AUDIT_LIBS=
471fi
472AC_SUBST(AUDIT_LIBS)
473
3e214785 474# ------------------------------------------------------------------------------
7f4e0805
LP
475have_libcryptsetup=no
476AC_ARG_ENABLE(libcryptsetup, AS_HELP_STRING([--disable-libcryptsetup], [disable libcryptsetup tools]))
477if test "x$enable_libcryptsetup" != "xno"; then
880a599e 478 PKG_CHECK_MODULES(LIBCRYPTSETUP, [ libcryptsetup >= 1.4.2 ],
7f4e0805 479 [AC_DEFINE(HAVE_LIBCRYPTSETUP, 1, [Define if libcryptsetup is available]) have_libcryptsetup=yes], have_libcryptsetup=no)
7f4e0805 480 if test "x$have_libcryptsetup" = xno -a "x$enable_libcryptsetup" = xyes; then
591622d7 481 AC_MSG_ERROR([*** libcryptsetup support requested but libraries not found])
7f4e0805
LP
482 fi
483fi
484AM_CONDITIONAL(HAVE_LIBCRYPTSETUP, [test "$have_libcryptsetup" = "yes"])
485
f6a971bc
LP
486# ------------------------------------------------------------------------------
487have_qrencode=no
488AC_ARG_ENABLE(qrencode, AS_HELP_STRING([--disable-qrencode], [disable qrencode support]))
489if test "x$enable_qrencode" != "xno"; then
490 PKG_CHECK_MODULES(QRENCODE, [ libqrencode ],
491 [AC_DEFINE(HAVE_QRENCODE, 1, [Define if qrencode is available]) have_qrencode=yes], have_qrencode=no)
492 if test "x$have_qrencode" = xno -a "x$enable_qrencode" = xyes; then
493 AC_MSG_ERROR([*** qrencode support requested but libraries not found])
494 fi
495fi
496AM_CONDITIONAL(HAVE_QRENCODE, [test "$have_qrencode" = "yes"])
497
7b17a7d7
LP
498# ------------------------------------------------------------------------------
499have_microhttpd=no
500AC_ARG_ENABLE(microhttpd, AS_HELP_STRING([--disable-microhttpd], [disable microhttpd support]))
501if test "x$enable_microhttpd" != "xno"; then
59bb9d9a 502 PKG_CHECK_MODULES(MICROHTTPD, [libmicrohttpd >= 0.9.5],
7b17a7d7
LP
503 [AC_DEFINE(HAVE_MICROHTTPD, 1, [Define if microhttpd is available]) have_microhttpd=yes], have_microhttpd=no)
504 if test "x$have_microhttpd" = xno -a "x$enable_microhttpd" = xyes; then
505 AC_MSG_ERROR([*** microhttpd support requested but libraries not found])
506 fi
507fi
508AM_CONDITIONAL(HAVE_MICROHTTPD, [test "$have_microhttpd" = "yes"])
509
3e214785 510# ------------------------------------------------------------------------------
27669061
MV
511have_binfmt=no
512AC_ARG_ENABLE(binfmt, AS_HELP_STRING([--disable-binfmt], [disable binfmt tool]))
513if test "x$enable_binfmt" != "xno"; then
be31376e 514 have_binfmt=yes
27669061
MV
515fi
516AM_CONDITIONAL(ENABLE_BINFMT, [test "$have_binfmt" = "yes"])
517
3e214785 518# ------------------------------------------------------------------------------
e5e83e83
LP
519have_vconsole=no
520AC_ARG_ENABLE(vconsole, AS_HELP_STRING([--disable-vconsole], [disable vconsole tool]))
521if test "x$enable_vconsole" != "xno"; then
be31376e 522 have_vconsole=yes
e5e83e83
LP
523fi
524AM_CONDITIONAL(ENABLE_VCONSOLE, [test "$have_vconsole" = "yes"])
525
3e214785 526# ------------------------------------------------------------------------------
e5e83e83
LP
527have_readahead=no
528AC_ARG_ENABLE(readahead, AS_HELP_STRING([--disable-readahead], [disable readahead tools]))
529if test "x$enable_readahead" != "xno"; then
be31376e 530 have_readahead=yes
e5e83e83
LP
531fi
532AM_CONDITIONAL(ENABLE_READAHEAD, [test "$have_readahead" = "yes"])
533
3e214785 534# ------------------------------------------------------------------------------
4de85612
LP
535have_quotacheck=no
536AC_ARG_ENABLE(quotacheck, AS_HELP_STRING([--disable-quotacheck], [disable quotacheck tools]))
537if test "x$enable_quotacheck" != "xno"; then
be31376e 538 have_quotacheck=yes
4de85612
LP
539fi
540AM_CONDITIONAL(ENABLE_QUOTACHECK, [test "$have_quotacheck" = "yes"])
541
3e214785 542# ------------------------------------------------------------------------------
4de85612
LP
543have_randomseed=no
544AC_ARG_ENABLE(randomseed, AS_HELP_STRING([--disable-randomseed], [disable randomseed tools]))
545if test "x$enable_randomseed" != "xno"; then
be31376e 546 have_randomseed=yes
4de85612
LP
547fi
548AM_CONDITIONAL(ENABLE_RANDOMSEED, [test "$have_randomseed" = "yes"])
549
3e214785 550# ------------------------------------------------------------------------------
2a018e83
KS
551have_logind=no
552AC_ARG_ENABLE(logind, AS_HELP_STRING([--disable-logind], [disable login daemon]))
553if test "x$enable_logind" != "xno"; then
be31376e 554 have_logind=yes
2a018e83
KS
555fi
556AM_CONDITIONAL(ENABLE_LOGIND, [test "$have_logind" = "yes"])
4c80c73c 557AS_IF([test "$have_logind" = "yes"], [ AC_DEFINE(HAVE_LOGIND, [1], [Logind support available]) ])
2a018e83 558
3e214785 559# ------------------------------------------------------------------------------
b2e9fb99
MV
560have_hostnamed=no
561AC_ARG_ENABLE(hostnamed, AS_HELP_STRING([--disable-hostnamed], [disable hostname daemon]))
562if test "x$enable_hostnamed" != "xno"; then
be31376e 563 have_hostnamed=yes
b2e9fb99
MV
564fi
565AM_CONDITIONAL(ENABLE_HOSTNAMED, [test "$have_hostnamed" = "yes"])
566
3e214785 567# ------------------------------------------------------------------------------
f47cd184
MV
568have_timedated=no
569AC_ARG_ENABLE(timedated, AS_HELP_STRING([--disable-timedated], [disable timedate daemon]))
570if test "x$enable_timedated" != "xno"; then
be31376e 571 have_timedated=yes
f47cd184
MV
572fi
573AM_CONDITIONAL(ENABLE_TIMEDATED, [test "$have_timedated" = "yes"])
574
3e214785 575# ------------------------------------------------------------------------------
4cd1eaa5
MV
576have_localed=no
577AC_ARG_ENABLE(localed, AS_HELP_STRING([--disable-localed], [disable locale daemon]))
578if test "x$enable_localed" != "xno"; then
be31376e 579 have_localed=yes
4cd1eaa5
MV
580fi
581AM_CONDITIONAL(ENABLE_LOCALED, [test "$have_localed" = "yes"])
582
3e214785 583# ------------------------------------------------------------------------------
f5e04665
LP
584have_coredump=no
585AC_ARG_ENABLE(coredump, AS_HELP_STRING([--disable-coredump], [disable coredump hook]))
586if test "x$enable_coredump" != "xno"; then
be31376e 587 have_coredump=yes
f5e04665
LP
588fi
589AM_CONDITIONAL(ENABLE_COREDUMP, [test "$have_coredump" = "yes"])
590
3e214785
KS
591# ------------------------------------------------------------------------------
592AC_ARG_WITH(firmware-path,
593 AS_HELP_STRING([--with-firmware-path=DIR[[[:DIR[...]]]]],
594 [Firmware search path (default=ROOTPREFIX/lib/firmware/updates:ROOTPREFIX/lib/firmware)]),
595 [], [with_firmware_path="$rootprefix/lib/firmware/updates:$rootprefix/lib/firmware"])
596OLD_IFS=$IFS
597IFS=:
598for i in $with_firmware_path; do
599 if test "x${FIRMWARE_PATH}" = "x"; then
600 FIRMWARE_PATH="\\\"${i}/\\\""
601 else
602 FIRMWARE_PATH="${FIRMWARE_PATH}, \\\"${i}/\\\""
603 fi
604done
605IFS=$OLD_IFS
606AC_SUBST([FIRMWARE_PATH], [$FIRMWARE_PATH])
607
608# ------------------------------------------------------------------------------
609AC_ARG_ENABLE([gudev],
610 AS_HELP_STRING([--disable-gudev], [disable Gobject libudev support @<:@default=enabled@:>@]),
611 [], [enable_gudev=yes])
612AS_IF([test "x$enable_gudev" = "xyes"], [ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0]) ])
3e214785
KS
613AM_CONDITIONAL([ENABLE_GUDEV], [test "x$enable_gudev" = "xyes"])
614
615# ------------------------------------------------------------------------------
616AC_ARG_ENABLE([keymap],
617 AS_HELP_STRING([--disable-keymap], [disable keymap fixup support @<:@default=enabled@:>@]),
618 [], [enable_keymap=yes])
619AS_IF([test "x$enable_keymap" = "xyes"], [
620 AC_PATH_PROG([GPERF], [gperf])
621 if test -z "$GPERF"; then
622 AC_MSG_ERROR([gperf is needed])
623 fi
624
625 AC_CHECK_HEADER([linux/input.h], [:], AC_MSG_ERROR([kernel headers not found]))
626 AC_SUBST([INCLUDE_PREFIX], [$(echo '#include <linux/input.h>' | eval $ac_cpp -E - | sed -n '/linux\/input.h/ {s:.*"\(.*\)/linux/input.h".*:\1:; p; q}')])
627])
628AM_CONDITIONAL([ENABLE_KEYMAP], [test "x$enable_keymap" = "xyes"])
629
630# ------------------------------------------------------------------------------
75db9a77 631have_manpages=no
4c2b0e4e 632AC_ARG_ENABLE(manpages, AS_HELP_STRING([--disable-manpages], [disable manpages]))
fe1fed02
ZJS
633AS_IF([test "x$enable_manpages" != xno], [
634 AS_IF([test "x$enable_manpages" = xyes -a "x$XSLTPROC" = x], [
635 AC_MSG_ERROR([*** Manpages requested but xsltproc not found])
636 ])
637 AS_IF([test "x$XSLTPROC" != x], [have_manpages=yes])
638])
639AM_CONDITIONAL(ENABLE_MANPAGES, [test "x$have_manpages" = "xyes"])
75db9a77 640
3e214785 641# ------------------------------------------------------------------------------
d1ab0ca0 642
8401e9f9 643AC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO],[Specify the distribution to target: One of fedora, suse, debian, ubuntu, arch, gentoo, slackware, altlinux, mandriva, mageia, angstrom or other]))
0571e011
LP
644if test "z$with_distro" = "z"; then
645 if test "$cross_compiling" = yes; then
646 AC_MSG_WARN([Target distribution cannot be reliably detected when cross-compiling. You should specify it with --with-distro (see $0 --help for recognized distros)])
647 else
c87f7103 648 with_distro=$($GREP '^ID=' /etc/os-release 2>/dev/null | $SED 's/ID=//');
0571e011
LP
649 fi
650 if test "z$with_distro" = "z"; then
3ce4fad8 651 with_distro=other
0571e011
LP
652 fi
653fi
654with_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]' `
7d568925 655AC_DEFINE_UNQUOTED(DISTRIBUTION, ["${with_distro}"], [Target Distribution])
0571e011 656
34eff652
LP
657# Location of the init scripts as mandated by LSB
658SYSTEM_SYSVINIT_PATH=/etc/init.d
f1dd0c3f 659SYSTEM_SYSVRCND_PATH=/etc/rc.d
34eff652 660
f975e971 661M4_DEFINES=
12e84679 662
0571e011
LP
663case $with_distro in
664 fedora)
665 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
2c696a96 666 AC_DEFINE(TARGET_FEDORA, [], [Target is Fedora/RHEL])
f975e971 667 M4_DEFINES=-DTARGET_FEDORA=1
0571e011 668 ;;
3ce4fad8 669 opensuse|suse)
0571e011 670 SYSTEM_SYSVRCND_PATH=/etc/init.d
634826b5 671 AC_DEFINE(TARGET_SUSE, [], [Target is openSUSE/SLE])
f975e971 672 M4_DEFINES=-DTARGET_SUSE=1
0571e011
LP
673 ;;
674 debian)
0571e011 675 SYSTEM_SYSVRCND_PATH=/etc
858dae18 676 AC_DEFINE(TARGET_DEBIAN, [], [Target is Debian])
f975e971 677 M4_DEFINES=-DTARGET_DEBIAN=1
0571e011 678 ;;
858dae18
AE
679 ubuntu)
680 SYSTEM_SYSVRCND_PATH=/etc
858dae18 681 AC_DEFINE(TARGET_UBUNTU, [], [Target is Ubuntu])
f975e971 682 M4_DEFINES=-DTARGET_UBUNTU=1
858dae18 683 ;;
d7c114c0 684 arch)
4bf43a32
TG
685 SYSTEM_SYSVINIT_PATH=
686 SYSTEM_SYSVRCND_PATH=
d7c114c0 687 AC_DEFINE(TARGET_ARCH, [], [Target is ArchLinux])
f975e971 688 M4_DEFINES=-DTARGET_ARCH=1
d7c114c0 689 ;;
f2b4af1c 690 gentoo)
07459bb6
FF
691 SYSTEM_SYSVINIT_PATH=
692 SYSTEM_SYSVRCND_PATH=
f2b4af1c 693 AC_DEFINE(TARGET_GENTOO, [], [Target is Gentoo])
f975e971 694 M4_DEFINES=-DTARGET_GENTOO=1
f2b4af1c 695 ;;
65c8976a
MS
696 slackware)
697 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
65c8976a 698 AC_DEFINE(TARGET_SLACKWARE, [], [Target is Slackware])
f975e971 699 M4_DEFINES=-DTARGET_SLACKWARE=1
65c8976a 700 ;;
f5c88ec1
MV
701 frugalware)
702 SYSTEM_SYSVINIT_PATH=/etc/rc.d
f5c88ec1 703 AC_DEFINE(TARGET_FRUGALWARE, [], [Target is Frugalware])
f975e971 704 M4_DEFINES=-DTARGET_FRUGALWARE=1
f5c88ec1 705 ;;
a338bab5
AS
706 altlinux)
707 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
a338bab5 708 AC_DEFINE(TARGET_ALTLINUX, [], [Target is ALTLinux])
f975e971 709 M4_DEFINES=-DTARGET_ALTLINUX=1
a338bab5 710 ;;
1de4d79b
AB
711 mandriva)
712 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
1de4d79b 713 AC_DEFINE(TARGET_MANDRIVA, [], [Target is Mandriva])
f975e971 714 M4_DEFINES=-DTARGET_MANDRIVA=1
1de4d79b 715 ;;
1bd8b818
KK
716 angstrom)
717 SYSTEM_SYSVRCND_PATH=/etc
718 AC_DEFINE(TARGET_ANGSTROM, [], [Target is Ångström])
f975e971 719 M4_DEFINES=-DTARGET_ANGSTROM=1
1bd8b818 720 ;;
6fdae8a6
DM
721 mageia)
722 SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
723 AC_DEFINE(TARGET_MAGEIA, [], [Target is Mageia])
fbf5b126 724 M4_DEFINES=-DTARGET_MAGEIA=1
6fdae8a6 725 ;;
bf024b02 726 other)
0571e011
LP
727 ;;
728 *)
bf024b02 729 AC_MSG_ERROR([Your distribution (${with_distro}) is not yet supported, SysV init scripts could not be found! (patches welcome); you can specify --with-distro=other to skip this check])
0571e011
LP
730 ;;
731esac
732
136337ff 733AC_ARG_WITH([sysvinit-path],
be31376e
KS
734 [AS_HELP_STRING([--with-sysvinit-path=PATH],
735 [Specify the path to where the SysV init scripts are located @<:@default=based on distro@:>@])],
736 [SYSTEM_SYSVINIT_PATH="$withval"],
737 [])
136337ff
TFH
738
739AC_ARG_WITH([sysvrcd-path],
740 [AS_HELP_STRING([--with-sysvrcd-path=PATH],
741 [Specify the path to the base directory for the SysV rcN.d directories @<:@default=based on distro@:>@])],
742 [SYSTEM_SYSVRCND_PATH="$withval"],
743 [])
744
0571e011 745AC_SUBST(SYSTEM_SYSVINIT_PATH)
d64b723a 746AC_SUBST(SYSTEM_SYSVRCND_PATH)
f975e971 747AC_SUBST(M4_DEFINES)
0571e011 748
07459bb6
FF
749if test "x${SYSTEM_SYSVINIT_PATH}" != "x" -a "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
750 AC_DEFINE(HAVE_SYSV_COMPAT, [], [SysV init scripts and rcN.d links are supported.])
751 SYSTEM_SYSV_COMPAT="yes"
f975e971 752 M4_DEFINES="$M4_DEFINES -DHAVE_SYSV_COMPAT"
07459bb6
FF
753elif test "x${SYSTEM_SYSVINIT_PATH}" != "x" -o "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
754 AC_MSG_ERROR([*** You need both --with-sysvinit-path=PATH and --with-sysvrcd-path=PATH to enable SysV compatibility support, or both empty to disable it.])
755else
756 SYSTEM_SYSV_COMPAT="no"
757fi
758
bef2733f 759AC_ARG_WITH([tty-gid],
a05ea46d 760 [AS_HELP_STRING([--with-tty-gid=GID],
bef2733f
LP
761 [Specify the numeric GID of the 'tty' group])],
762 [AC_DEFINE_UNQUOTED(TTY_GID, [$withval], [GID of the 'tty' group])],
763 [])
764
0571e011
LP
765AM_CONDITIONAL(TARGET_FEDORA, test x"$with_distro" = xfedora)
766AM_CONDITIONAL(TARGET_SUSE, test x"$with_distro" = xsuse)
767AM_CONDITIONAL(TARGET_DEBIAN, test x"$with_distro" = xdebian)
858dae18
AE
768AM_CONDITIONAL(TARGET_UBUNTU, test x"$with_distro" = xubuntu)
769AM_CONDITIONAL(TARGET_DEBIAN_OR_UBUNTU, test x"$with_distro" = xdebian -o x"$with_distro" = xubuntu)
d7c114c0 770AM_CONDITIONAL(TARGET_ARCH, test x"$with_distro" = xarch)
f2b4af1c 771AM_CONDITIONAL(TARGET_GENTOO, test x"$with_distro" = xgentoo)
65c8976a 772AM_CONDITIONAL(TARGET_SLACKWARE, test x"$with_distro" = xslackware)
f5c88ec1 773AM_CONDITIONAL(TARGET_FRUGALWARE, test x"$with_distro" = xfrugalware)
a338bab5 774AM_CONDITIONAL(TARGET_ALTLINUX, test x"$with_distro" = xaltlinux)
1de4d79b 775AM_CONDITIONAL(TARGET_MANDRIVA, test x"$with_distro" = xmandriva)
1bd8b818 776AM_CONDITIONAL(TARGET_ANGSTROM, test x"$with_distro" = xangstrom)
6fdae8a6 777AM_CONDITIONAL(TARGET_MAGEIA, test x"$with_distro" = xmageia)
0571e011 778
cca4aeee 779AM_CONDITIONAL(HAVE_SYSV_COMPAT, test "$SYSTEM_SYSV_COMPAT" = "yes")
cd3f8b7d 780
d2d12cd1
LP
781AC_ARG_WITH([dbuspolicydir],
782 AS_HELP_STRING([--with-dbuspolicydir=DIR], [D-Bus policy directory]),
783 [],
784 [with_dbuspolicydir=`pkg-config --variable=sysconfdir dbus-1`/dbus-1/system.d])
d122948d 785
d2d12cd1
LP
786AC_ARG_WITH([dbussessionservicedir],
787 AS_HELP_STRING([--with-dbussessionservicedir=DIR], [D-Bus session service directory]),
788 [],
789 [with_dbussessionservicedir=`pkg-config --variable=session_bus_services_dir dbus-1`])
d122948d 790
d2d12cd1
LP
791AC_ARG_WITH([dbussystemservicedir],
792 AS_HELP_STRING([--with-dbussystemservicedir=DIR], [D-Bus system service directory]),
793 [],
794 [with_dbussystemservicedir=`pkg-config --variable=session_bus_services_dir dbus-1`/../system-services])
d122948d 795
d2d12cd1
LP
796AC_ARG_WITH([dbusinterfacedir],
797 AS_HELP_STRING([--with-dbusinterfacedir=DIR], [D-Bus interface directory]),
798 [],
799 [with_dbusinterfacedir=`pkg-config --variable=session_bus_services_dir dbus-1`/../interfaces])
d122948d 800
b8079ae1
KS
801AC_ARG_WITH([rootprefix],
802 AS_HELP_STRING([--with-rootprefix=DIR], [rootfs directory prefix for config files and kernel modules]),
39ad55a9 803 [], [with_rootprefix=${ac_default_prefix}])
d2d12cd1 804
ae446765
KS
805AC_ARG_WITH([rootlibdir],
806 AS_HELP_STRING([--with-rootlibdir=DIR], [Root directory for libraries necessary for boot]),
807 [],
808 [with_rootlibdir=${libdir}])
809
9d3203b4 810AC_ARG_WITH([pamlibdir],
b0cca7d8 811 AS_HELP_STRING([--with-pamlibdir=DIR], [Directory for PAM modules]),
9d3203b4
KS
812 [],
813 [with_pamlibdir=${with_rootlibdir}/security])
814
bc9bdbba
MG
815AC_ARG_ENABLE([split-usr],
816 AS_HELP_STRING([--enable-split-usr], [Assume that /bin, /sbin aren\'t symlinks into /usr]),
817 [],
818 [AS_IF([test "x${ac_default_prefix}" != "x${with_rootprefix}"], [
819 enable_split_usr=yes
820 ], [
821 enable_split_usr=no
822 ])])
823
824AS_IF([test "x${enable_split_usr}" = "xyes"], [
2c6db6fb 825 AC_DEFINE(HAVE_SPLIT_USR, 1, [Define if /bin, /sbin aren't symlinks into /usr])
bc9bdbba 826])
2c6db6fb 827
d2d12cd1
LP
828AC_SUBST([dbuspolicydir], [$with_dbuspolicydir])
829AC_SUBST([dbussessionservicedir], [$with_dbussessionservicedir])
830AC_SUBST([dbussystemservicedir], [$with_dbussystemservicedir])
831AC_SUBST([dbusinterfacedir], [$with_dbusinterfacedir])
8c6db833 832AC_SUBST([pamlibdir], [$with_pamlibdir])
b8079ae1 833AC_SUBST([rootprefix], [$with_rootprefix])
ae446765 834AC_SUBST([rootlibdir], [$with_rootlibdir])
8c4a3079 835
3e214785
KS
836AC_CONFIG_FILES([
837 Makefile po/Makefile.in
bb061708
KS
838 docs/libudev/Makefile
839 docs/libudev/version.xml
840 docs/gudev/Makefile
841 docs/gudev/version.xml
3e214785
KS
842])
843
a45a909f 844AC_OUTPUT
ae446765 845AC_MSG_RESULT([
0571e011
LP
846 $PACKAGE_NAME $VERSION
847
2c696a96 848 Distribution: ${with_distro}
07459bb6 849 SysV compatibility: ${SYSTEM_SYSV_COMPAT}
0571e011
LP
850 SysV init scripts: ${SYSTEM_SYSVINIT_PATH}
851 SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH}
7f4e0805 852 libcryptsetup: ${have_libcryptsetup}
5b6319dc
LP
853 tcpwrap: ${have_tcpwrap}
854 PAM: ${have_pam}
12716238 855 AUDIT: ${have_audit}
81611586 856 IMA: ${have_ima}
12716238 857 SELinux: ${have_selinux}
807e17f0 858 XZ: ${have_xz}
5eda94dd 859 ACL: ${have_acl}
fb0951b0 860 XATTR: ${have_xattr}
7560fffc 861 GCRYPT: ${have_gcrypt}
f6a971bc 862 QRENCODE: ${have_qrencode}
7b17a7d7 863 MICROHTTPD: ${have_microhttpd}
27669061 864 binfmt: ${have_binfmt}
e5e83e83
LP
865 vconsole: ${have_vconsole}
866 readahead: ${have_readahead}
4de85612
LP
867 quotacheck: ${have_quotacheck}
868 randomseed: ${have_randomseed}
2a018e83 869 logind: ${have_logind}
b2e9fb99 870 hostnamed: ${have_hostnamed}
f47cd184 871 timedated: ${have_timedated}
4cd1eaa5 872 localed: ${have_localed}
f5e04665 873 coredump: ${have_coredump}
e3043162 874 kmod: ${have_kmod}
f553b3b1 875 blkid: ${have_blkid}
3e214785 876 firmware path: ${FIRMWARE_PATH}
3e214785
KS
877 gudev: ${enable_gudev}
878 gintrospection: ${enable_introspection}
879 keymap: ${enable_keymap}
8d7e170a
LP
880 Python: ${have_python}
881 Python Headers: ${have_python_devel}
3e214785 882
8c4a3079 883 prefix: ${prefix}
b8079ae1 884 rootprefix: ${with_rootprefix}
3e214785
KS
885 sysconf dir: ${sysconfdir}
886 datarootdir: ${datarootdir}
887 includedir: ${includedir}
888 include_prefix: ${INCLUDE_PREFIX}
ae446765
KS
889 lib dir: ${libdir}
890 rootlib dir: ${with_rootlibdir}
2c6db6fb 891 PAM modules dir: ${with_pamlibdir}
2c6db6fb
LP
892 D-Bus policy dir: ${with_dbuspolicydir}
893 D-Bus session dir: ${with_dbussessionservicedir}
894 D-Bus system dir: ${with_dbussystemservicedir}
895 D-Bus interfaces dir: ${with_dbusinterfacedir}
bc9bdbba 896 Split /usr: ${enable_split_usr}
5ee9f21e 897 man pages: ${have_manpages}
fe1fed02 898 gtk-doc: ${enable_gtk_doc}
66be6554 899
5a45a936
LP
900 CFLAGS: ${OUR_CFLAGS} ${CFLAGS}
901 CPPLAGS: ${OUR_CPPFLAGS} ${CPPFLAGS}
902 LDFLAGS: ${OUR_LDFLAGS} ${LDFLAGS}
568c7e02
ZJS
903 PYTHON_CFLAGS: ${PYTHON_CFLAGS}
904 PYTHON_LIBS: ${PYTHON_LIBS}
ae446765 905])