2 # This file is part of systemd.
4 # Copyright 2010-2012 Lennart Poettering
5 # Copyright 2010-2012 Kay Sievers
7 # systemd is free software; you can redistribute it and/or modify it
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
10 # (at your option) any later version.
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
15 # Lesser General Public License for more details.
17 # You should have received a copy of the GNU Lesser General Public License
18 # along with systemd; If not, see <http://www.gnu.org/licenses/>.
24 [http://bugs.freedesktop.org/enter_bug.cgi?product=systemd],
26 [http://www.freedesktop.org/wiki/Software/systemd])
28 AC_CONFIG_SRCDIR([src/core/main.c])
29 AC_CONFIG_MACRO_DIR([m4])
30 AC_CONFIG_HEADERS([config.h])
31 AC_CONFIG_AUX_DIR([build-aux])
33 AC_USE_SYSTEM_EXTENSIONS
35 AC_PREFIX_DEFAULT([/usr])
36 AM_MAINTAINER_MODE([enable])
37 AM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax no-dist-gzip dist-xz subdir-objects check-news])
38 AM_SILENT_RULES([yes])
40 AC_DEFINE_UNQUOTED([CANONICAL_HOST], "$host", [Canonical host string.])
41 AS_IF([test "x$host_cpu" = "xmips" || test "x$host_cpu" = "xmipsel" ||
42 test "x$host_cpu" = "xmips64" || test "x$host_cpu" = "xmips64el"],
43 [AC_DEFINE(ARCH_MIPS, [], [Whether on mips arch])])
46 LT_INIT([disable-static])
48 AS_IF([test "x$enable_static" = "xyes"], [AC_MSG_ERROR([--enable-static is not supported by systemd])])
49 AS_IF([test "x$enable_largefile" = "xno"], [AC_MSG_ERROR([--disable-largefile is not supported by systemd])])
51 # i18n stuff for the PolicyKit policy files
52 IT_PROG_INTLTOOL([0.40.0])
54 GETTEXT_PACKAGE=systemd
55 AC_SUBST(GETTEXT_PACKAGE)
65 AC_PATH_PROG([M4], [m4])
66 AC_PATH_PROG([XSLTPROC], [xsltproc])
68 AC_PATH_PROG([QUOTAON], [quotaon], [/usr/sbin/quotaon], [$PATH:/usr/sbin:/sbin])
69 AC_PATH_PROG([QUOTACHECK], [quotacheck], [/usr/sbin/quotacheck], [$PATH:/usr/sbin:/sbin])
71 AC_PATH_PROG([SETCAP], [setcap], [/usr/sbin/setcap], [$PATH:/usr/sbin:/sbin])
73 AC_PATH_PROG([KILL], [kill], [/usr/bin/kill], [$PATH:/usr/sbin:/sbin])
75 AC_PATH_PROG([KMOD], [kmod], [/usr/bin/kmod], [$PATH:/usr/sbin:/sbin])
77 AC_PATH_PROG([KEXEC], [kexec], [/usr/sbin/kexec], [$PATH:/usr/sbin:/sbin])
81 # gtkdocize greps for '^GTK_DOC_CHECK', so it needs to be on its own line
82 m4_ifdef([GTK_DOC_CHECK], [
83 GTK_DOC_CHECK([1.18],[--flavour no-tmpl])],
84 [AM_CONDITIONAL([ENABLE_GTK_DOC], [false])
87 AS_IF([test "x$enable_gtk_doc" = "xyes" -a "x$XSLTPROC" = x], [
88 AC_MSG_ERROR([*** GTK doc requested but xsltproc not found])
91 m4_ifdef([GOBJECT_INTROSPECTION_CHECK], [
92 GOBJECT_INTROSPECTION_CHECK([1.31.1])
94 AM_CONDITIONAL([HAVE_INTROSPECTION], [false])
95 enable_introspection=no])
97 AC_CHECK_TOOL(STRINGS, strings)
98 AC_CHECK_TOOL(GPERF, gperf)
99 if test -z "$GPERF" ; then
100 AC_MSG_ERROR([*** gperf not found])
103 # ------------------------------------------------------------------------------
104 address_sanitizer_cflags=
105 address_sanitizer_cppflags=
106 address_sanitizer_ldflags=
107 AC_ARG_ENABLE(address-sanitizer, AS_HELP_STRING([--enable-address-sanitizer], [enable -fsanitize=address]))
108 AS_IF([test "x$enable_address_sanitizer" = "xyes"], [
109 CC_CHECK_FLAG_APPEND([with_as_cflags], [CFLAGS], [-fsanitize=address])
110 AS_IF([test -z "$with_as_cflags"],
111 [AC_MSG_ERROR([*** -fsanitize=address is not supported])])
112 address_sanitizer_cflags="$with_as_cflags -fno-omit-frame-pointer -DVALGRIND=1"
113 address_sanitizer_cppflags="-DVALGRIND=1"
114 address_sanitizer_ldflags="-Wc,-fsanitize=address"
117 undefined_sanitizer_cflags=
118 undefined_sanitizer_cppflags=
119 undefined_sanitizer_ldflags=
120 AC_ARG_ENABLE(undefined-sanitizer, AS_HELP_STRING([--enable-undefined-sanitizer], [enable -fsanitize=undefined]))
121 AS_IF([test "x$enable_undefined_sanitizer" = "xyes"], [
122 CC_CHECK_FLAG_APPEND([with_us_cflags], [CFLAGS], [-fsanitize=undefined])
123 AS_IF([test -z "$with_us_cflags"],
124 [AC_MSG_ERROR([*** -fsanitize=undefined is not supported])])
125 undefined_sanitizer_cflags="$with_us_cflags -fno-omit-frame-pointer -DVALGRIND=1"
126 undefined_sanitizer_cppflags="-DVALGRIND=1"
127 undefined_sanitizer_ldflags="-Wc,-fsanitize=undefined"
130 sanitizer_cflags="$address_sanitizer_cflags $undefined_sanitizer_cflags"
131 sanitizer_cppflags="$address_sanitizer_cppflags $undefined_sanitizer_cppflags"
132 sanitizer_ldflags="$address_sanitizer_ldflags $undefined_sanitizer_ldflags"
134 CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
140 "-Wformat=2 -Wformat-security -Wformat-nonliteral" \
143 -Wmissing-include-dirs \
144 -Wold-style-definition \
147 -Wdeclaration-after-statement \
149 -Wsuggest-attribute=noreturn \
150 -Wmissing-prototypes \
151 -Wstrict-prototypes \
153 -Wmissing-declarations \
157 -Wstrict-aliasing=2 \
160 -Wno-overlength-strings \
161 -Wno-unused-parameter \
162 -Wno-missing-field-initializers \
169 -fdiagnostics-show-option \
170 -fdiagnostics-color \
171 -fno-strict-aliasing \
172 -fvisibility=hidden \
173 -ffunction-sections \
176 -fstack-protector-strong \
177 --param=ssp-buffer-size=4])
178 AS_CASE([$CFLAGS], [*-O[[12345\ ]]*],
179 [CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
181 [AC_MSG_RESULT([skipping -flto, optimization not enabled])])
182 AC_SUBST([OUR_CFLAGS], "$with_cflags $sanitizer_cflags")
184 AS_CASE([$CFLAGS], [*-O[[12345\ ]]*],
185 [CC_CHECK_FLAGS_APPEND([with_cppflags], [CPPFLAGS], [\
186 -Wp,-D_FORTIFY_SOURCE=2])],
187 [AC_MSG_RESULT([skipping -D_FORTIFY_SOURCE, optimization not enabled])])
188 AC_SUBST([OUR_CPPFLAGS], "$with_cppflags $sanitizer_cppflags")
190 CC_CHECK_FLAGS_APPEND([with_ldflags], [LDFLAGS], [\
197 AC_SUBST([OUR_LDFLAGS], "$with_ldflags $sanitizer_ldflags")
199 AC_CHECK_SIZEOF(pid_t)
200 AC_CHECK_SIZEOF(uid_t)
201 AC_CHECK_SIZEOF(gid_t)
203 # ------------------------------------------------------------------------------
204 # we use python to build the man page index, and for systemd-python
206 AC_ARG_WITH([python],
207 [AS_HELP_STRING([--without-python], [Disable building the man page index and systemd-python (default: test)])])
210 AS_IF([test "x$with_python" != "xno"], [
211 AM_PATH_PYTHON(,, [:])
212 AS_IF(["$PYTHON" -c 'import lxml' 2>/dev/null], [have_lxml=yes], [have_lxml=no])
213 AS_IF([test "$PYTHON" != : -a $have_lxml = yes], [have_python=yes])
215 AM_CONDITIONAL([HAVE_PYTHON], [test "x$have_python" = "xyes"])
216 AS_IF([test "x$PYTHON_BINARY" = "x"],
217 [AS_IF([test "x$have_python" = "xyes"],
218 [PYTHON_BINARY="$(which "$PYTHON")"],
219 [PYTHON_BINARY=/usr/bin/python])])
220 AC_ARG_VAR(PYTHON_BINARY, [Python binary used to launch installed scripts])
222 AS_IF([test "x$have_python" != "xyes" -a "x$enable_python_devel" = "xyes"],
223 [AC_MSG_ERROR([*** python-devel support requires --with-python])])
226 AC_ARG_ENABLE(python_devel, AS_HELP_STRING([--disable-python-devel], [Do not build python modules]))
227 AS_IF([test "x$have_python" = "xyes" -a "x$enable_python_devel" != "xno"], [
228 PKG_CHECK_MODULES([PYTHON_DEVEL], [python-${PYTHON_VERSION}],
229 [have_python_devel=yes],
230 [PKG_CHECK_MODULES([PYTHON_DEVEL], [python],
231 [have_python_devel=yes],
232 [have_python_devel=no])])
233 AS_IF([test "x$have_python_devel" = xno -a "x$enable_python_devel" = xyes],
234 [AC_MSG_ERROR([*** python-devel support requested but libraries not found])])
235 AC_PATH_PROGS(SPHINX_BUILD, sphinx-build-${PYTHON_VERSION} sphinx-build)
237 AM_CONDITIONAL([HAVE_PYTHON_DEVEL], [test "$have_python_devel" = "yes"])
239 # ------------------------------------------------------------------------------
241 AC_SEARCH_LIBS([dlsym], [dl], [], [AC_MSG_ERROR([*** Dynamic linking loader library not found])])
242 AC_CHECK_HEADERS([sys/capability.h], [], [AC_MSG_ERROR([*** POSIX caps headers not found])])
243 AC_CHECK_HEADERS([linux/btrfs.h], [], [])
245 # unconditionally pull-in librt with old glibc versions
246 AC_SEARCH_LIBS([clock_gettime], [rt], [], [])
250 AC_SEARCH_LIBS([cap_init], [cap], [], [AC_MSG_ERROR([*** POSIX caps library not found])])
255 AC_SEARCH_LIBS([mq_open], [rt], [], [AC_MSG_ERROR([*** POSIX RT library not found])])
260 AC_CHECK_FUNCS([fanotify_init fanotify_mark])
261 AC_CHECK_FUNCS([__secure_getenv secure_getenv])
262 AC_CHECK_DECLS([gettid, pivot_root, name_to_handle_at, setns, LO_FLAGS_PARTSCAN], [], [], [[#include <sys/types.h>
264 #include <sys/mount.h>
267 #include <linux/loop.h>]])
269 # This makes sure pkg.m4 is available.
270 m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-config])
272 # ------------------------------------------------------------------------------
274 AC_ARG_ENABLE(dbus, AS_HELP_STRING([--disable-dbus], [disable usage of dbus-1 in tests]))
275 AS_IF([test "x$enable_dbus" != "xno"], [
276 PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.3.2],
277 [AC_DEFINE(HAVE_DBUS, 1, [Define if dbus-1 library is available]) have_dbus=yes],
279 AS_IF([test "x$have_dbus" = "xno" -a "x$enable_dbus" = "xyes"],
280 [AC_MSG_ERROR([*** dbus-1 support requested but libraries not found])])])
281 AM_CONDITIONAL(HAVE_DBUS, [test "$have_dbus" = "yes"])
283 # ------------------------------------------------------------------------------
285 AC_ARG_ENABLE([compat_libs], AS_HELP_STRING([--enable-compat-libs],[Enable creation of compatibility libraries]),
286 [case "${enableval}" in
287 yes) have_compat_libs=yes ;;
288 no) have_compat_libs=no ;;
289 *) AC_MSG_ERROR(bad value ${enableval} for --enable-compat-libs) ;;
291 [have_compat_libs=no])
292 AM_CONDITIONAL([ENABLE_COMPAT_LIBS], [test "$have_compat_libs" = "yes"])
294 # ------------------------------------------------------------------------------
296 AC_ARG_ENABLE(coverage, AS_HELP_STRING([--enable-coverage], [enable test coverage]))
297 if test "x$enable_coverage" = "xyes" ; then
298 AC_CHECK_PROG(lcov_found, [lcov], [yes], [no])
299 if test "x$lcov_found" = xno ; then
300 AC_MSG_ERROR([*** lcov support requested but the program was not found])
302 lcov_version_major="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 1`"
303 lcov_version_minor="`lcov --version | cut -d ' ' -f 4 | cut -d '.' -f 2`"
304 if test "$lcov_version_major" -eq 1 -a "$lcov_version_minor" -lt 10; then
305 AC_MSG_ERROR([*** lcov version is too old. 1.10 required])
308 CC_CHECK_FLAGS_APPEND([with_coverage_cflags], [CFLAGS], [\
311 AC_SUBST([OUR_CFLAGS], "$with_cflags $with_coverage_cflags")
315 AM_CONDITIONAL(ENABLE_COVERAGE, [test "$have_coverage" = "yes"])
317 # ------------------------------------------------------------------------------
319 AC_ARG_ENABLE(kmod, AS_HELP_STRING([--disable-kmod], [disable loadable modules support]))
320 if test "x$enable_kmod" != "xno"; then
321 PKG_CHECK_EXISTS([ libkmod ], have_kmod=yes, have_kmod=no)
322 if test "x$have_kmod" = "xyes"; then
323 PKG_CHECK_MODULES(KMOD, [ libkmod >= 15 ],
324 [AC_DEFINE(HAVE_KMOD, 1, [Define if kmod is available])],
325 AC_MSG_ERROR([*** kmod version >= 15 not found]))
327 if test "x$have_kmod" = xno -a "x$enable_kmod" = xyes; then
328 AC_MSG_ERROR([*** kmod support requested, but libraries not found])
331 AM_CONDITIONAL(HAVE_KMOD, [test "$have_kmod" = "yes"])
333 # ------------------------------------------------------------------------------
335 AC_ARG_ENABLE(blkid, AS_HELP_STRING([--disable-blkid], [disable blkid support]))
336 if test "x$enable_blkid" != "xno"; then
337 PKG_CHECK_MODULES(BLKID, [ blkid >= 2.20 ],
338 [AC_DEFINE(HAVE_BLKID, 1, [Define if blkid is available]) have_blkid=yes], have_blkid=no)
339 if test "x$have_blkid" = xno -a "x$enable_blkid" = xyes; then
340 AC_MSG_ERROR([*** blkid support requested but libraries not found])
343 AM_CONDITIONAL(HAVE_BLKID, [test "$have_blkid" = "yes"])
345 # ------------------------------------------------------------------------------
347 AC_ARG_ENABLE(seccomp, AS_HELP_STRING([--disable-seccomp], [Disable optional SECCOMP support]))
348 if test "x$enable_seccomp" != "xno"; then
349 PKG_CHECK_MODULES(SECCOMP, [libseccomp >= 1.0.0],
350 [AC_DEFINE(HAVE_SECCOMP, 1, [Define if seccomp is available])
352 M4_DEFINES="$M4_DEFINES -DHAVE_SECCOMP"],
354 if test "x$have_seccomp" = "xno" -a "x$enable_seccomp" = "xyes"; then
355 AC_MSG_ERROR([*** seccomp support requested but libraries not found])
358 AM_CONDITIONAL(HAVE_SECCOMP, [test "$have_seccomp" = "yes"])
360 # ------------------------------------------------------------------------------
362 AC_ARG_ENABLE([ima], AS_HELP_STRING([--disable-ima],[Disable optional IMA support]),
363 [case "${enableval}" in
366 *) AC_MSG_ERROR(bad value ${enableval} for --disable-ima) ;;
370 if test "x${have_ima}" != xno ; then
371 AC_DEFINE(HAVE_IMA, 1, [Define if IMA is available])
374 # ------------------------------------------------------------------------------
376 AC_ARG_ENABLE([chkconfig], AS_HELP_STRING([--disable-chkconfig],[Disable optional chkconfig support]),
377 [case "${enableval}" in
378 yes) have_chkconfig=yes ;;
379 no) have_chkconfig=no ;;
380 *) AC_MSG_ERROR(bad value ${enableval} for --disable-chkconfig) ;;
382 [AC_PATH_PROG(CHKCONFIG, chkconfig)
383 if test -z "$CHKCONFIG"; then
389 if test "x${have_chkconfig}" != xno ; then
390 AC_DEFINE(HAVE_CHKCONFIG, 1, [Define if CHKCONFIG is available])
393 # ------------------------------------------------------------------------------
395 AC_ARG_ENABLE(selinux, AS_HELP_STRING([--disable-selinux], [Disable optional SELINUX support]))
396 if test "x$enable_selinux" != "xno"; then
397 PKG_CHECK_MODULES([SELINUX], [libselinux >= 2.1.9],
398 [AC_DEFINE(HAVE_SELINUX, 1, [Define if SELinux is available])
400 M4_DEFINES="$M4_DEFINES -DHAVE_SELINUX"],
402 if test "x$have_selinux" = xno -a "x$enable_selinux" = xyes; then
403 AC_MSG_ERROR([*** SELinux support requested but libraries not found])
406 AM_CONDITIONAL(HAVE_SELINUX, [test "$have_selinux" = "yes"])
409 AC_ARG_ENABLE(apparmor, AS_HELP_STRING([--disable-apparmor], [Disable optional AppArmor support]))
410 if test "x$enable_apparmor" != "xno"; then
411 PKG_CHECK_MODULES([APPARMOR], [libapparmor],
412 [AC_DEFINE(HAVE_APPARMOR, 1, [Define if AppArmor is available])
414 M4_DEFINES="$M4_DEFINES -DHAVE_APPARMOR"],
416 if test "x$have_apparmor" = xno -a "x$enable_apparmor" = xyes; then
417 AC_MSG_ERROR([*** AppArmor support requested but libraries not found])
420 AM_CONDITIONAL(HAVE_APPARMOR, [test "$have_apparmor" = "yes"])
423 AC_ARG_WITH(debug-shell,
424 AS_HELP_STRING([--with-debug-shell=PATH],
425 [Path to debug shell binary]),
426 [SUSHELL="$withval"],[
427 AS_IF([test "x${have_selinux}" != "xno"], [SUSHELL="/sbin/sushell"] , [SUSHELL="/bin/sh"])])
431 AC_ARG_WITH([debug-tty],
432 AS_HELP_STRING([--with-debug-tty=PATH],
433 [Specify the tty device for debug shell]),
434 [DEBUGTTY="$withval"],
435 [DEBUGTTY=/dev/tty9])
439 # ------------------------------------------------------------------------------
441 AC_ARG_ENABLE(xz, AS_HELP_STRING([--disable-xz], [Disable optional XZ support]))
442 if test "x$enable_xz" != "xno"; then
443 PKG_CHECK_MODULES(XZ, [ liblzma ],
444 [AC_DEFINE(HAVE_XZ, 1, [Define if XZ is available]) have_xz=yes], have_xz=no)
445 if test "x$have_xz" = xno -a "x$enable_xz" = xyes; then
446 AC_MSG_ERROR([*** Xz support requested but libraries not found])
449 AM_CONDITIONAL(HAVE_XZ, [test "$have_xz" = "yes"])
451 # ------------------------------------------------------------------------------
453 AS_HELP_STRING([--disable-pam],[Disable optional PAM support]),
454 [case "${enableval}" in
457 *) AC_MSG_ERROR(bad value ${enableval} for --disable-pam) ;;
461 if test "x${have_pam}" != xno ; then
463 [security/pam_modules.h security/pam_modutil.h security/pam_ext.h],
465 [if test "x$have_pam" = xyes ; then
466 AC_MSG_ERROR([*** PAM headers not found.])
473 [if test "x$have_pam" = xyes ; then
474 AC_MSG_ERROR([*** libpam not found.])
477 if test "x$have_pam" = xyes ; then
478 PAM_LIBS="-lpam -lpam_misc"
479 AC_DEFINE(HAVE_PAM, 1, [PAM available])
480 M4_DEFINES="$M4_DEFINES -DHAVE_PAM"
488 AM_CONDITIONAL([HAVE_PAM], [test "x$have_pam" != xno])
490 # ------------------------------------------------------------------------------
492 AS_HELP_STRING([--disable-acl],[Disable optional ACL support]),
493 [case "${enableval}" in
496 *) AC_MSG_ERROR(bad value ${enableval} for --disable-acl) ;;
500 if test "x${have_acl}" != xno ; then
502 [sys/acl.h acl/libacl.h],
504 [if test "x$have_acl" = xyes ; then
505 AC_MSG_ERROR([*** ACL headers not found.])
512 [if test "x$have_acl" = xyes ; then
513 AC_MSG_ERROR([*** libacl not found.])
516 if test "x$have_acl" = xyes ; then
518 AC_DEFINE(HAVE_ACL, 1, [ACL available])
526 AM_CONDITIONAL([HAVE_ACL], [test "x$have_acl" != xno])
528 # ------------------------------------------------------------------------------
529 AC_ARG_ENABLE([xattr],
530 AS_HELP_STRING([--disable-xattr],[Disable optional XATTR support]),
531 [case "${enableval}" in
532 yes) have_xattr=yes ;;
534 *) AC_MSG_ERROR(bad value ${enableval} for --disable-xattr) ;;
538 if test "x${have_xattr}" != xno ; then
542 [if test "x$have_xattr" = xyes ; then
543 AC_MSG_ERROR([*** XATTR headers not found.])
550 [if test "x$have_xattr" = xyes ; then
551 AC_MSG_ERROR([*** libattr not found.])
554 if test "x$have_xattr" = xyes ; then
556 AC_DEFINE(HAVE_XATTR, 1, [XATTR available])
564 AM_CONDITIONAL([HAVE_XATTR], [test "x$have_xattr" != xno])
566 # ------------------------------------------------------------------------------
567 AC_ARG_ENABLE([smack], AS_HELP_STRING([--disable-smack],[Disable optional SMACK support]),
568 [case "${enableval}" in
569 yes) have_smack=yes ;;
571 *) AC_MSG_ERROR(bad value ${enableval} for --disable-smack) ;;
575 if test "x${have_xattr}" = xno; then
576 if test "x${have_smack}" = xyes; then
577 AC_MSG_ERROR(SMACK requires xattr support)
582 if test "x${have_smack}" = xauto; then
583 M4_DEFINES="$M4_DEFINES -DHAVE_SMACK"
588 AC_ARG_WITH(smack-run-label,
589 AS_HELP_STRING([--with-smack-run-label=STRING],
590 [run systemd --system with a specific SMACK label]),
591 [AC_DEFINE_UNQUOTED(SMACK_RUN_LABEL, ["$withval"], [Run with a smack label])],
594 if test "x${have_smack}" = xyes ; then
595 AC_DEFINE(HAVE_SMACK, 1, [Define if SMACK is available])
598 # ------------------------------------------------------------------------------
599 AC_ARG_ENABLE([gcrypt],
600 AS_HELP_STRING([--disable-gcrypt],[Disable optional GCRYPT support]),
601 [case "${enableval}" in
602 yes) have_gcrypt=yes ;;
603 no) have_gcrypt=no ;;
604 *) AC_MSG_ERROR(bad value ${enableval} for --disable-gcrypt) ;;
608 if test "x${have_gcrypt}" != xno ; then
612 [if test "x$have_gcrypt" = xyes ; then
613 AC_MSG_ERROR([*** GCRYPT headers not found.])
616 if test "x$have_gcrypt" = xyes ; then
617 GCRYPT_LIBS="$LIBGCRYPT_LIBS"
618 GCRYPT_CFLAGS="$LIBGCRYPT_CFLAGS"
619 AC_DEFINE(HAVE_GCRYPT, 1, [GCRYPT available])
627 AC_SUBST(GCRYPT_LIBS)
628 AC_SUBST(GCRYPT_CFLAGS)
629 AM_CONDITIONAL([HAVE_GCRYPT], [test "x$have_gcrypt" != xno])
631 # ------------------------------------------------------------------------------
632 AC_ARG_ENABLE([audit],
633 AS_HELP_STRING([--disable-audit],[Disable optional AUDIT support]),
634 [case "${enableval}" in
635 yes) have_audit=yes ;;
637 *) AC_MSG_ERROR(bad value ${enableval} for --disable-audit) ;;
641 if test "x${have_audit}" != xno ; then
645 [if test "x$have_audit" = xyes ; then
646 AC_MSG_ERROR([*** AUDIT headers not found.])
653 [if test "x$have_audit" = xyes ; then
654 AC_MSG_ERROR([*** libaudit not found.])
657 if test "x$have_audit" = xyes ; then
659 AC_DEFINE(HAVE_AUDIT, 1, [AUDIT available])
668 # ------------------------------------------------------------------------------
669 have_libcryptsetup=no
670 AC_ARG_ENABLE(libcryptsetup, AS_HELP_STRING([--disable-libcryptsetup], [disable libcryptsetup tools]))
671 if test "x$enable_libcryptsetup" != "xno"; then
672 PKG_CHECK_MODULES(LIBCRYPTSETUP, [ libcryptsetup >= 1.6.0 ],
673 [AC_DEFINE(HAVE_LIBCRYPTSETUP, 1, [Define if libcryptsetup is available]) have_libcryptsetup=yes], have_libcryptsetup=no)
674 if test "x$have_libcryptsetup" = xno -a "x$enable_libcryptsetup" = xyes; then
675 AC_MSG_ERROR([*** libcryptsetup support requested but libraries not found])
678 AM_CONDITIONAL(HAVE_LIBCRYPTSETUP, [test "$have_libcryptsetup" = "yes"])
680 # ------------------------------------------------------------------------------
682 AC_ARG_ENABLE(qrencode, AS_HELP_STRING([--disable-qrencode], [disable qrencode support]))
683 if test "x$enable_qrencode" != "xno"; then
684 PKG_CHECK_MODULES(QRENCODE, [ libqrencode ],
685 [AC_DEFINE(HAVE_QRENCODE, 1, [Define if qrencode is available]) have_qrencode=yes], have_qrencode=no)
686 if test "x$have_qrencode" = xno -a "x$enable_qrencode" = xyes; then
687 AC_MSG_ERROR([*** qrencode support requested but libraries not found])
690 AM_CONDITIONAL(HAVE_QRENCODE, [test "$have_qrencode" = "yes"])
692 # ------------------------------------------------------------------------------
694 AC_ARG_ENABLE(microhttpd, AS_HELP_STRING([--disable-microhttpd], [disable microhttpd support]))
695 if test "x$enable_microhttpd" != "xno"; then
696 PKG_CHECK_MODULES(MICROHTTPD, [libmicrohttpd >= 0.9.33],
697 [AC_DEFINE(HAVE_MICROHTTPD, 1, [Define if microhttpd is available]) have_microhttpd=yes], have_microhttpd=no)
698 if test "x$have_microhttpd" = xno -a "x$enable_microhttpd" = xyes; then
699 AC_MSG_ERROR([*** microhttpd support requested but libraries not found])
702 AM_CONDITIONAL(HAVE_MICROHTTPD, [test "$have_microhttpd" = "yes"])
704 # ------------------------------------------------------------------------------
706 AC_ARG_ENABLE(gnutls, AS_HELP_STRING([--disable-gnutls], [disable gnutls support]))
707 if test "x$enable_gnutls" != "xno"; then
708 PKG_CHECK_MODULES(GNUTLS, [gnutls >= 3.1.4],
709 [AC_DEFINE(HAVE_GNUTLS, 1, [Define if gnutls is available]) have_gnutls=yes], have_gnutls=no)
710 if test "x$have_gnutls" = xno -a "x$enable_gnutls" = xyes; then
711 AC_MSG_ERROR([*** gnutls support requested but libraries not found])
714 AM_CONDITIONAL(HAVE_GNUTLS, [test "$have_gnutls" = "yes"])
716 # ------------------------------------------------------------------------------
718 AC_ARG_ENABLE(binfmt, AS_HELP_STRING([--disable-binfmt], [disable binfmt tool]))
719 if test "x$enable_binfmt" != "xno"; then
722 AM_CONDITIONAL(ENABLE_BINFMT, [test "$have_binfmt" = "yes"])
724 # ------------------------------------------------------------------------------
726 AC_ARG_ENABLE(vconsole, AS_HELP_STRING([--disable-vconsole], [disable vconsole tool]))
727 if test "x$enable_vconsole" != "xno"; then
730 AM_CONDITIONAL(ENABLE_VCONSOLE, [test "$have_vconsole" = "yes"])
732 # ------------------------------------------------------------------------------
734 AC_ARG_ENABLE(readahead, AS_HELP_STRING([--disable-readahead], [disable readahead tools]))
735 if test "x$enable_readahead" != "xno"; then
738 AM_CONDITIONAL(ENABLE_READAHEAD, [test "$have_readahead" = "yes"])
740 # ------------------------------------------------------------------------------
742 AC_ARG_ENABLE(bootchart, AS_HELP_STRING([--disable-bootchart], [disable bootchart tool]))
743 if test "x$enable_bootchart" != "xno"; then
746 AM_CONDITIONAL(ENABLE_BOOTCHART, [test "$have_bootchart" = "yes"])
748 # ------------------------------------------------------------------------------
750 AC_ARG_ENABLE(quotacheck, AS_HELP_STRING([--disable-quotacheck], [disable quotacheck tools]))
751 if test "x$enable_quotacheck" != "xno"; then
754 AM_CONDITIONAL(ENABLE_QUOTACHECK, [test "$have_quotacheck" = "yes"])
756 # ------------------------------------------------------------------------------
758 AC_ARG_ENABLE(tmpfiles, AS_HELP_STRING([--disable-tmpfiles], [disable tmpfiles support]))
759 if test "x$enable_tmpfiles" != "xno"; then
762 AM_CONDITIONAL(ENABLE_TMPFILES, [test "$have_tmpfiles" = "yes"])
764 # ------------------------------------------------------------------------------
766 AC_ARG_ENABLE(randomseed, AS_HELP_STRING([--disable-randomseed], [disable randomseed tools]))
767 if test "x$enable_randomseed" != "xno"; then
770 AM_CONDITIONAL(ENABLE_RANDOMSEED, [test "$have_randomseed" = "yes"])
772 # ------------------------------------------------------------------------------
774 AC_ARG_ENABLE(backlight, AS_HELP_STRING([--disable-backlight], [disable backlight tools]))
775 if test "x$enable_backlight" != "xno"; then
778 AM_CONDITIONAL(ENABLE_BACKLIGHT, [test "$have_backlight" = "yes"])
780 # ------------------------------------------------------------------------------
782 AC_ARG_ENABLE(rfkill, AS_HELP_STRING([--disable-rfkill], [disable rfkill tools]))
783 if test "x$enable_rfkill" != "xno"; then
786 AM_CONDITIONAL(ENABLE_RFKILL, [test "$have_rfkill" = "yes"])
788 # ------------------------------------------------------------------------------
790 AC_ARG_ENABLE(logind, AS_HELP_STRING([--disable-logind], [disable login daemon]))
791 if test "x$enable_logind" != "xno"; then
794 AM_CONDITIONAL(ENABLE_LOGIND, [test "$have_logind" = "yes"])
795 AS_IF([test "$have_logind" = "yes"], [ AC_DEFINE(HAVE_LOGIND, [1], [Logind support available]) ])
797 # ------------------------------------------------------------------------------
799 AC_ARG_ENABLE(machined, AS_HELP_STRING([--disable-machined], [disable machine daemon]))
800 if test "x$enable_machined" != "xno"; then
803 AM_CONDITIONAL(ENABLE_MACHINED, [test "$have_machined" = "yes"])
804 AS_IF([test "$have_machined" = "yes"], [ AC_DEFINE(HAVE_MACHINED, [1], [Machined support available]) ])
806 # ------------------------------------------------------------------------------
808 AC_ARG_ENABLE(hostnamed, AS_HELP_STRING([--disable-hostnamed], [disable hostname daemon]))
809 if test "x$enable_hostnamed" != "xno"; then
812 AM_CONDITIONAL(ENABLE_HOSTNAMED, [test "$have_hostnamed" = "yes"])
814 # ------------------------------------------------------------------------------
816 AC_ARG_ENABLE(timedated, AS_HELP_STRING([--disable-timedated], [disable timedate daemon]))
817 if test "x$enable_timedated" != "xno"; then
820 AM_CONDITIONAL(ENABLE_TIMEDATED, [test "$have_timedated" = "yes"])
822 # ------------------------------------------------------------------------------
824 AC_ARG_ENABLE(timesyncd, AS_HELP_STRING([--disable-timesyncd], [disable timesync daemon]))
825 if test "x$enable_timesyncd" != "xno"; then
828 AM_CONDITIONAL(ENABLE_TIMESYNCD, [test "$have_timesyncd" = "yes"])
830 AC_ARG_WITH(ntp-servers,
831 AS_HELP_STRING([--with-ntp-servers=NTPSERVERS],
832 [Space-separated list of default NTP servers]),
833 [NTP_SERVERS="$withval"],
834 [NTP_SERVERS="time1.google.com time2.google.com time3.google.com time4.google.com"])
836 AC_DEFINE_UNQUOTED(NTP_SERVERS, ["$NTP_SERVERS"], [Default NTP Servers])
837 AC_SUBST(NTP_SERVERS)
839 AC_ARG_WITH(time-epoch,
840 AS_HELP_STRING([--with-time-epoch=SECONDS],
841 [TIme epoch for time clients]),
842 [TIME_EPOCH="$withval"],
843 [TIME_EPOCH="`stat -c %Y ${srcdir}/NEWS 2>/dev/null || echo 0`"])
845 AC_DEFINE_UNQUOTED(TIME_EPOCH, [$TIME_EPOCH], [Time Epoch])
847 # ------------------------------------------------------------------------------
849 AC_ARG_ENABLE(localed, AS_HELP_STRING([--disable-localed], [disable locale daemon]))
850 if test "x$enable_localed" != "xno"; then
853 AM_CONDITIONAL(ENABLE_LOCALED, [test "$have_localed" = "yes"])
855 # ------------------------------------------------------------------------------
857 AC_ARG_ENABLE(coredump, AS_HELP_STRING([--disable-coredump], [disable coredump hook]))
858 if test "x$enable_coredump" != "xno"; then
861 AM_CONDITIONAL(ENABLE_COREDUMP, [test "$have_coredump" = "yes"])
863 # ------------------------------------------------------------------------------
865 AC_ARG_ENABLE(polkit, AS_HELP_STRING([--disable-polkit], [disable PolicyKit support]))
866 if test "x$enable_polkit" != "xno"; then
867 AC_DEFINE(ENABLE_POLKIT, 1, [Define if PolicyKit support is to be enabled])
870 AM_CONDITIONAL(ENABLE_POLKIT, [test "x$have_polkit" = "xyes"])
872 # ------------------------------------------------------------------------------
873 AC_ARG_ENABLE(networkd, AS_HELP_STRING([--disable-networkd], [disable networkd]))
874 if test "x$enable_networkd" != "xno"; then
875 AC_DEFINE(ENABLE_NETWORKD, 1, [Define if networkd support is to be enabled])
878 AM_CONDITIONAL(ENABLE_NETWORKD, [test "x$have_networkd" = "xyes"])
880 # ------------------------------------------------------------------------------
882 AC_ARG_ENABLE(efi, AS_HELP_STRING([--disable-efi], [disable EFI support]))
883 if test "x$enable_efi" != "xno"; then
884 AC_DEFINE(ENABLE_EFI, 1, [Define if EFI support is to be enabled])
887 AM_CONDITIONAL(ENABLE_EFI, [test "x$have_efi" = "xyes"])
889 # ------------------------------------------------------------------------------
891 AC_ARG_ENABLE(multi_seat_x, AS_HELP_STRING([--disable-multi-seat-x], [do not build multi-seat-x]))
892 if test "x$enable_multi_seat_x" != "xno"; then
893 have_multi_seat_x=yes
895 AM_CONDITIONAL(ENABLE_MULTI_SEAT_X, [test "$have_multi_seat_x" = "yes"])
897 # ------------------------------------------------------------------------------
899 AC_ARG_ENABLE(kdbus, AS_HELP_STRING([--enable-kdbus], [do connect to kdbus by default]))
900 if test "x$enable_kdbus" = "xyes"; then
901 AC_DEFINE(ENABLE_KDBUS, 1, [Define if kdbus support is to be enabled])
903 M4_DEFINES="$M4_DEFINES -DENABLE_KDBUS"
905 AM_CONDITIONAL(ENABLE_KDBUS, [test "$have_kdbus" = "yes"])
907 # ------------------------------------------------------------------------------
908 AC_ARG_WITH(rc-local-script-path-start,
909 AS_HELP_STRING([--with-rc-local-script-path-start=PATH],
910 [Path to /etc/rc.local]),
911 [RC_LOCAL_SCRIPT_PATH_START="$withval"],
912 [RC_LOCAL_SCRIPT_PATH_START="/etc/rc.local"])
914 AC_ARG_WITH(rc-local-script-path-stop,
915 AS_HELP_STRING([--with-rc-local-script-path-stop=PATH],
916 [Path to /usr/sbin/halt.local]),
917 [RC_LOCAL_SCRIPT_PATH_STOP="$withval"],
918 [RC_LOCAL_SCRIPT_PATH_STOP="/usr/sbin/halt.local"])
920 AC_DEFINE_UNQUOTED(RC_LOCAL_SCRIPT_PATH_START, ["$RC_LOCAL_SCRIPT_PATH_START"], [Path of /etc/rc.local script])
921 AC_DEFINE_UNQUOTED(RC_LOCAL_SCRIPT_PATH_STOP, ["$RC_LOCAL_SCRIPT_PATH_STOP"], [Path of /usr/sbin/halt.local script])
923 AC_SUBST(RC_LOCAL_SCRIPT_PATH_START)
924 AC_SUBST(RC_LOCAL_SCRIPT_PATH_STOP)
926 # ------------------------------------------------------------------------------
927 AC_ARG_WITH(kbd-loadkeys,
928 AS_HELP_STRING([--with-kbd-loadkeys=PATH],
930 [KBD_LOADKEYS="$withval"],
931 [KBD_LOADKEYS="/usr/bin/loadkeys"])
933 AC_ARG_WITH(kbd-setfont,
934 AS_HELP_STRING([--with-kbd-setfont=PATH],
936 [KBD_SETFONT="$withval"],
937 [KBD_SETFONT="/usr/bin/setfont"])
939 AC_DEFINE_UNQUOTED(KBD_LOADKEYS, ["$KBD_LOADKEYS"], [Path of loadkeys])
940 AC_DEFINE_UNQUOTED(KBD_SETFONT, ["$KBD_SETFONT"], [Path of setfont])
942 AC_SUBST(KBD_LOADKEYS)
943 AC_SUBST(KBD_SETFONT)
946 AS_HELP_STRING([--with-telinit=PATH],
948 [TELINIT="$withval"],
949 [TELINIT="/lib/sysvinit/telinit"])
951 AC_DEFINE_UNQUOTED(TELINIT, ["$TELINIT"], [Path to telinit])
955 AC_CHECK_HEADERS_ONCE([valgrind/memcheck.h valgrind/valgrind.h])
957 # ------------------------------------------------------------------------------
959 AC_ARG_ENABLE(myhostname, AS_HELP_STRING([--disable-myhostname], [disable nss-myhostname support]))
960 if test "x$enable_myhostname" != "xno"; then
962 AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h netdb.h netinet/in.h stdlib.h string.h sys/socket.h sys/time.h unistd.h nss.h sys/ioctl.h sys/auxv.h])
969 AC_FUNC_SELECT_ARGTYPES
970 AC_CHECK_FUNCS([gethostbyaddr gethostbyname gettimeofday inet_ntoa memset select socket strcspn strdup strerror strncasecmp strcasecmp strspn])
974 AM_CONDITIONAL(HAVE_MYHOSTNAME, [test "$have_myhostname" = "yes"])
976 # ------------------------------------------------------------------------------
977 AC_ARG_WITH(firmware-path,
978 AS_HELP_STRING([--with-firmware-path=DIR[[[:DIR[...]]]]],
979 [Firmware search path (default="")]),
980 [], [with_firmware_path=""])
983 for i in $with_firmware_path; do
984 if test "x${FIRMWARE_PATH}" = "x"; then
985 FIRMWARE_PATH="\\\"${i}/\\\""
987 FIRMWARE_PATH="${FIRMWARE_PATH}, \\\"${i}/\\\""
991 AC_SUBST(FIRMWARE_PATH)
992 AS_IF([test "x${FIRMWARE_PATH}" != "x"], [ AC_DEFINE(HAVE_FIRMWARE, 1, [Define if FIRMWARE is available]) ])
993 AM_CONDITIONAL(ENABLE_FIRMWARE, [test "x${FIRMWARE_PATH}" != "x"])
995 # ------------------------------------------------------------------------------
996 AC_ARG_ENABLE([gudev],
997 AS_HELP_STRING([--disable-gudev], [disable Gobject libudev support @<:@default=enabled@:>@]),
998 [], [enable_gudev=yes])
999 AS_IF([test "x$enable_gudev" = "xyes"], [ PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.22.0 gobject-2.0 >= 2.22.0 gio-2.0]) ])
1000 AM_CONDITIONAL([ENABLE_GUDEV], [test "x$enable_gudev" = "xyes"])
1001 AS_IF([test "x$enable_gudev" = "xyes"], [ AC_DEFINE(HAVE_GLIB, 1, [Define if glib is available]) ])
1003 # ------------------------------------------------------------------------------
1005 AC_ARG_ENABLE(manpages, AS_HELP_STRING([--disable-manpages], [disable manpages]))
1006 AS_IF([test "x$enable_manpages" != xno], [have_manpages=yes])
1007 AM_CONDITIONAL(ENABLE_MANPAGES, [test "x$have_manpages" = "xyes"])
1009 # ------------------------------------------------------------------------------
1011 # Location of the init scripts as mandated by LSB
1012 SYSTEM_SYSVINIT_PATH=/etc/init.d
1013 SYSTEM_SYSVRCND_PATH=/etc/rc.d
1015 AC_ARG_WITH([sysvinit-path],
1016 [AS_HELP_STRING([--with-sysvinit-path=PATH],
1017 [Specify the path to where the SysV init scripts are located])],
1018 [SYSTEM_SYSVINIT_PATH="$withval"],
1021 AC_ARG_WITH([sysvrcnd-path],
1022 [AS_HELP_STRING([--with-sysvrcnd-path=PATH],
1023 [Specify the path to the base directory for the SysV rcN.d directories])],
1024 [SYSTEM_SYSVRCND_PATH="$withval"],
1027 if test "x${SYSTEM_SYSVINIT_PATH}" != "x" -a "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
1028 AC_DEFINE(HAVE_SYSV_COMPAT, [], [SysV init scripts and rcN.d links are supported.])
1029 SYSTEM_SYSV_COMPAT="yes"
1030 M4_DEFINES="$M4_DEFINES -DHAVE_SYSV_COMPAT"
1031 elif test "x${SYSTEM_SYSVINIT_PATH}" != "x" -o "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
1032 AC_MSG_ERROR([*** You need both --with-sysvinit-path=PATH and --with-sysvrcnd-path=PATH to enable SysV compatibility support, or both empty to disable it.])
1034 SYSTEM_SYSV_COMPAT="no"
1037 AC_SUBST(SYSTEM_SYSVINIT_PATH)
1038 AC_SUBST(SYSTEM_SYSVRCND_PATH)
1039 AC_SUBST(M4_DEFINES)
1041 AM_CONDITIONAL(HAVE_SYSV_COMPAT, test "$SYSTEM_SYSV_COMPAT" = "yes")
1043 AC_ARG_WITH([tty-gid],
1044 [AS_HELP_STRING([--with-tty-gid=GID],
1045 [Specify the numeric GID of the 'tty' group])],
1046 [AC_DEFINE_UNQUOTED(TTY_GID, [$withval], [GID of the 'tty' group])],
1049 AC_ARG_WITH([dbuspolicydir],
1050 AS_HELP_STRING([--with-dbuspolicydir=DIR], [D-Bus policy directory]),
1052 [with_dbuspolicydir=$($PKG_CONFIG --variable=sysconfdir dbus-1)/dbus-1/system.d])
1054 AC_ARG_WITH([dbussessionservicedir],
1055 AS_HELP_STRING([--with-dbussessionservicedir=DIR], [D-Bus session service directory]),
1057 [with_dbussessionservicedir=$($PKG_CONFIG --variable=session_bus_services_dir dbus-1)])
1059 AC_ARG_WITH([dbussystemservicedir],
1060 AS_HELP_STRING([--with-dbussystemservicedir=DIR], [D-Bus system service directory]),
1062 [with_dbussystemservicedir=$(readlink -m $($PKG_CONFIG --variable=session_bus_services_dir dbus-1)/../system-services)])
1064 AC_ARG_WITH([dbusinterfacedir],
1065 AS_HELP_STRING([--with-dbusinterfacedir=DIR], [D-Bus interface directory]),
1067 [with_dbusinterfacedir=$(readlink -m $($PKG_CONFIG --variable=session_bus_services_dir dbus-1)/../interfaces)])
1069 AC_ARG_WITH([bashcompletiondir],
1070 AS_HELP_STRING([--with-bashcompletiondir=DIR], [Bash completions directory]),
1072 [AS_IF([$($PKG_CONFIG --exists bash-completion)], [
1073 with_bashcompletiondir=$($PKG_CONFIG --variable=completionsdir bash-completion)
1075 with_bashcompletiondir=${datadir}/bash-completion/completions
1078 AC_ARG_WITH([zshcompletiondir],
1079 AS_HELP_STRING([--with-zshcompletiondir=DIR], [Zsh completions directory]),
1080 [], [with_zshcompletiondir=${datadir}/zsh/site-functions])
1082 AC_ARG_WITH([rootprefix],
1083 AS_HELP_STRING([--with-rootprefix=DIR], [rootfs directory prefix for config files and kernel modules]),
1084 [], [with_rootprefix=${ac_default_prefix}])
1086 AC_ARG_WITH([rootlibdir],
1087 AS_HELP_STRING([--with-rootlibdir=DIR], [Root directory for libraries necessary for boot]),
1089 [with_rootlibdir=${libdir}])
1091 AC_ARG_WITH([pamlibdir],
1092 AS_HELP_STRING([--with-pamlibdir=DIR], [Directory for PAM modules]),
1094 [with_pamlibdir=${with_rootlibdir}/security])
1096 AC_ARG_WITH([pamconfdir],
1097 AS_HELP_STRING([--with-pamconfdir=DIR], [Directory for PAM configuration]),
1099 [with_pamconfdir=${sysconfdir}/pam.d])
1101 AC_ARG_ENABLE([split-usr],
1102 AS_HELP_STRING([--enable-split-usr], [Assume that /bin, /sbin aren\'t symlinks into /usr]),
1104 [AS_IF([test "x${ac_default_prefix}" != "x${with_rootprefix}"], [
1105 enable_split_usr=yes
1110 AS_IF([test "x${enable_split_usr}" = "xyes"], [
1111 AC_DEFINE(HAVE_SPLIT_USR, 1, [Define if /bin, /sbin aren't symlinks into /usr])
1114 # Work around intltoolize and gtk-doc problems in VPATH builds
1115 AM_CONDITIONAL([ENABLE_GTK_DOC_TESTS], [test "x$0" = "x./configure"],
1116 [Define to do gtk-doc tests])
1117 AS_IF([test "x$0" != "x./configure"], [
1118 AC_SUBST([INTLTOOL_UPDATE], [/bin/true])
1121 AC_ARG_ENABLE(tests,
1122 [AC_HELP_STRING([--disable-tests], [disable tests])],
1123 enable_tests=$enableval, enable_tests=yes)
1124 AM_CONDITIONAL(ENABLE_TESTS, [test x$enable_tests = xyes])
1126 AC_SUBST([dbuspolicydir], [$with_dbuspolicydir])
1127 AC_SUBST([dbussessionservicedir], [$with_dbussessionservicedir])
1128 AC_SUBST([dbussystemservicedir], [$with_dbussystemservicedir])
1129 AC_SUBST([dbusinterfacedir], [$with_dbusinterfacedir])
1130 AC_SUBST([bashcompletiondir], [$with_bashcompletiondir])
1131 AC_SUBST([zshcompletiondir], [$with_zshcompletiondir])
1132 AC_SUBST([pamlibdir], [$with_pamlibdir])
1133 AC_SUBST([pamconfdir], [$with_pamconfdir])
1134 AC_SUBST([rootprefix], [$with_rootprefix])
1135 AC_SUBST([rootlibdir], [$with_rootlibdir])
1138 Makefile po/Makefile.in
1139 docs/libudev/Makefile
1140 docs/libudev/version.xml
1142 docs/gudev/version.xml
1147 $PACKAGE_NAME $VERSION
1149 libcryptsetup: ${have_libcryptsetup}
1151 AUDIT: ${have_audit}
1153 AppArmor: ${have_apparmor}
1154 SELinux: ${have_selinux}
1155 SECCOMP: ${have_seccomp}
1156 SMACK: ${have_smack}
1159 XATTR: ${have_xattr}
1160 GCRYPT: ${have_gcrypt}
1161 QRENCODE: ${have_qrencode}
1162 MICROHTTPD: ${have_microhttpd}
1163 CHKCONFIG: ${have_chkconfig}
1164 GNUTLS: ${have_gnutls}
1165 binfmt: ${have_binfmt}
1166 vconsole: ${have_vconsole}
1167 readahead: ${have_readahead}
1168 bootchart: ${have_bootchart}
1169 quotacheck: ${have_quotacheck}
1170 tmpfiles: ${have_tmpfiles}
1171 randomseed: ${have_randomseed}
1172 backlight: ${have_backlight}
1173 rfkill: ${have_rfkill}
1174 logind: ${have_logind}
1175 machined: ${have_machined}
1176 hostnamed: ${have_hostnamed}
1177 timedated: ${have_timedated}
1178 timesyncd: ${have_timesyncd}
1179 default NTP servers: ${NTP_SERVERS}
1180 time epoch: ${TIME_EPOCH}
1181 localed: ${have_localed}
1182 networkd: ${have_networkd}
1183 coredump: ${have_coredump}
1184 polkit: ${have_polkit}
1187 blkid: ${have_blkid}
1189 nss-myhostname: ${have_myhostname}
1190 gudev: ${enable_gudev}
1191 gintrospection: ${enable_introspection}
1192 multi-seat-x: ${have_multi_seat_x}
1193 kdbus: ${have_kdbus}
1194 Python: ${have_python}
1195 Python Headers: ${have_python_devel}
1196 man pages: ${have_manpages}
1197 gtk-doc: ${enable_gtk_doc}
1198 test coverage: ${have_coverage}
1199 Split /usr: ${enable_split_usr}
1200 SysV compatibility: ${SYSTEM_SYSV_COMPAT}
1201 compatibility libraries: ${have_compat_libs}
1204 rootprefix: ${with_rootprefix}
1205 sysconf dir: ${sysconfdir}
1206 datarootdir: ${datarootdir}
1207 includedir: ${includedir}
1208 include_prefix: ${INCLUDE_PREFIX}
1210 rootlib dir: ${with_rootlibdir}
1211 SysV init scripts: ${SYSTEM_SYSVINIT_PATH}
1212 SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH}
1213 Build Python: ${PYTHON}
1214 Installation Python: ${PYTHON_BINARY}
1215 sphinx binary: ${SPHINX_BUILD}
1216 firmware path: ${FIRMWARE_PATH}
1217 PAM modules dir: ${with_pamlibdir}
1218 PAM configuration dir: ${with_pamconfdir}
1219 D-Bus policy dir: ${with_dbuspolicydir}
1220 D-Bus session dir: ${with_dbussessionservicedir}
1221 D-Bus system dir: ${with_dbussystemservicedir}
1222 D-Bus interfaces dir: ${with_dbusinterfacedir}
1223 Bash completions dir: ${with_bashcompletiondir}
1224 Zsh completions dir: ${with_zshcompletiondir}
1225 Extra start script: ${RC_LOCAL_SCRIPT_PATH_START}
1226 Extra stop script: ${RC_LOCAL_SCRIPT_PATH_STOP}
1227 Debug shell: ${SUSHELL} @ ${DEBUGTTY}
1229 CFLAGS: ${OUR_CFLAGS} ${CFLAGS}
1230 CPPFLAGS: ${OUR_CPPFLAGS} ${CPPFLAGS}
1231 LDFLAGS: ${OUR_LDFLAGS} ${LDFLAGS}
1232 PYTHON_CFLAGS: ${PYTHON_DEVEL_CFLAGS}
1233 PYTHON_LIBS: ${PYTHON_DEVEL_LIBS}