configure.ac revision ab85c225e0bf0ea432027715976cea00182f03c5
fb0951b02ebf51a93acf12721d8857d31ce57ba3Lennart Poettering# This file is part of systemd.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Copyright 2010 Lennart Poettering
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers# systemd is free software; you can redistribute it and/or modify it
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# under the terms of the GNU General Public License as published by
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# the Free Software Foundation; either version 2 of the License, or
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# (at your option) any later version.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# systemd is distributed in the hope that it will be useful, but
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# WITHOUT ANY WARRANTY; without even the implied warranty of
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# General Public License for more details.
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering# You should have received a copy of the GNU General Public License
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# along with systemd; If not, see <http://www.gnu.org/licenses/>.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_PREREQ(2.63)
4e949c11a1df4547d5f102e4131e07b026369cd7Javier JardónAC_INIT([systemd],[15],[systemd-devel@lists.freedesktop.org])
4e949c11a1df4547d5f102e4131e07b026369cd7Javier JardónAC_CONFIG_SRCDIR([src/main.c])
4e949c11a1df4547d5f102e4131e07b026369cd7Javier JardónAC_CONFIG_MACRO_DIR([m4])
98077125580d5600842a6d13d0597e50dfb9572aLennart PoetteringAC_CONFIG_HEADERS([config.h])
4e949c11a1df4547d5f102e4131e07b026369cd7Javier JardónAM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax subdir-objects dist-bzip2])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_SUBST(PACKAGE_URL, [http://www.freedesktop.org/wiki/Software/systemd])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_CANONICAL_HOST
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_DEFINE_UNQUOTED([CANONICAL_HOST], "$host", [Canonical host string.])
a80db8bd5f7f15859e8891aab9fc3694ce4cd0bdJavier JardónAM_SILENT_RULES([yes])
907dd1953b7517534d646f5b2777780020c896e2Kay SieversAC_CHECK_PROG([STOW], [stow], [yes], [no])
6aad7f2cd75c88f990c7857bb173b3e8d0faee0fUmut Tezduyar LindskogAS_IF([test "x$STOW" = "xyes" && test -d /usr/local/stow], [
4196a3ead3cfb823670d225eefcb3e60e34c7d95Kay Sievers AC_MSG_NOTICE([*** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***])
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}"
d59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2bceeAC_PROG_MKDIR_P
d59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2bceeAC_PROG_LN_S
d59d0a2b4b41a75eaf618b26b8f8bd1e17de7e2bceeAC_PROG_SED
8666abb452db73d9a11ead61251eec42bc531cceKay SieversAC_PROG_CC_C99
5e63ce78b5018ba612e794a610a6f13c5eefade7Cristian RodríguezAC_PROG_GCC_TRADITIONAL
3d585edbb14b9705c80183aeb16dfd0a28df0ac9Lennart PoetteringAC_USE_SYSTEM_EXTENSIONS
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien NoceraAC_CHECK_TOOL(OBJCOPY, objcopy)
f15515b5e6a9ebe95c938cc670df6e576fcf9176Filipe BrandenburgerAC_CHECK_TOOL(STRINGS, strings)
f15515b5e6a9ebe95c938cc670df6e576fcf9176Filipe BrandenburgerCC_CHECK_CFLAGS_APPEND([ \
f15515b5e6a9ebe95c938cc670df6e576fcf9176Filipe Brandenburger -Wlogical-op \
2f96919bcdd0978164c801b21e053fb3b31e8bacFilipe Brandenburger -Wsign-compare \
a59f16ce4a11c440cb2136ad3d5e3184714c545eRobert Schiele -Wformat-security \
2f96919bcdd0978164c801b21e053fb3b31e8bacFilipe Brandenburger -Wmissing-include-dirs \
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien Nocera -Wformat-nonliteral \
2f96919bcdd0978164c801b21e053fb3b31e8bacFilipe Brandenburger -Wold-style-definition \
2f96919bcdd0978164c801b21e053fb3b31e8bacFilipe Brandenburger -Wpointer-arith \
2f96919bcdd0978164c801b21e053fb3b31e8bacFilipe Brandenburger -Wdeclaration-after-statement \
2f96919bcdd0978164c801b21e053fb3b31e8bacFilipe Brandenburger -Wfloat-equal \
2f96919bcdd0978164c801b21e053fb3b31e8bacFilipe Brandenburger -Wmissing-prototypes \
2f96919bcdd0978164c801b21e053fb3b31e8bacFilipe Brandenburger -Wstrict-prototypes \
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien Nocera -Wredundant-decls \
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien Nocera -Wmissing-declarations \
1c7dde3e475978c569a982d65fd86d4b4e3caad8Bastien Nocera -Wmissing-noreturn \
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart Poettering -Wendif-labels \
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart Poettering -Wcast-align \
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart Poettering -Wstrict-aliasing=2 \
3ce4fad8f548db9edb19869ea540e3192d2123f4Kay Sievers -Wwrite-strings \
f975e971accc4d50c73ae53167db3df7a7099cf2Lennart Poettering -Wno-long-long \
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart Poettering -Wno-overlength-strings \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering -Wno-unused-parameter \
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering -Wno-missing-field-initializers \
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers -Wno-unused-result \
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-Szmek -Wp,-D_FORTIFY_SOURCE=2 \
92ec4495f76a7a2a6c31f5bb2a5240f78dcfe1d2Javier Jardón -ffast-math \
2d0efdf1af5ff77441228854343c61d42a89840cSamuli Suominen -fno-common \
2d0efdf1af5ff77441228854343c61d42a89840cSamuli Suominen -fdiagnostics-show-option \
b51fc639f01ee6194af3e7e944a79accce474fe1Dave Reisner -fno-strict-aliasing \
dd5ae4c36c89da5dbe8d1628939b26c00db98753Przemyslaw Kedzierski -fvisibility=hidden \
dd5ae4c36c89da5dbe8d1628939b26c00db98753Przemyslaw Kedzierski -ffunction-sections \
2d0efdf1af5ff77441228854343c61d42a89840cSamuli Suominen -fdata-sections \
96ede2601f27cd5fe52eed96b873bef55cd0ce23Lennart Poettering -Wl,--as-needed \
2d0efdf1af5ff77441228854343c61d42a89840cSamuli Suominen -Wl,--gc-sections])
2d0efdf1af5ff77441228854343c61d42a89840cSamuli SuominenLT_PREREQ(2.2)
446883528524429283626208928b51f49f28f810Lennart PoetteringAC_SEARCH_LIBS([clock_gettime], [rt], [], [AC_MSG_ERROR([*** POSIX RT library not found])])
4acbce79798347cddf1e1d42e9be571e0a041873Zbigniew Jędrzejewski-SzmekAC_SEARCH_LIBS([dlsym], [dl], [], [AC_MSG_ERROR([*** Dynamic linking loader library not found])])
4acbce79798347cddf1e1d42e9be571e0a041873Zbigniew Jędrzejewski-SzmekAC_SEARCH_LIBS([cap_init], [cap], [], [AC_MSG_ERROR([*** POSIX caps library not found])])
80a5cbace45a6adbf2f9119edc5a4b10db493064Kay SieversAC_CHECK_HEADERS([sys/capability.h], [], [AC_MSG_ERROR([*** POSIX caps headers not found])])
b37250d661ed67d07c734630617d73e64f6d7e49Zbigniew Jędrzejewski-Szmek# This makes sure pkg.m4 is available.
6581f00f7eabdaccf587a4b6af60ed4696dd2791Zbigniew Jędrzejewski-Szmekm4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-config])
92ec4495f76a7a2a6c31f5bb2a5240f78dcfe1d2Javier JardónPKG_CHECK_MODULES(UDEV, [ libudev >= 160 ])
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-SzmekAC_SUBST(UDEV_CFLAGS)
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-SzmekAC_SUBST(UDEV_LIBS)
fe1fed02c7637a2c18cd575f78be7fda27972148Zbigniew Jędrzejewski-SzmekPKG_CHECK_MODULES(DBUS, [ dbus-1 >= 1.3.2 ])
6e92b23f0d6dd398848376bbaf47e54a90ed3389Kay SieversAC_SUBST(DBUS_CFLAGS)
0eaeca1f2373a323b98c86b47561d98e59c67b25Kay SieversAC_SUBST(DBUS_LIBS)
d66ee73a3dd7b5433fc0da3125bbdff740de7745Zbigniew Jędrzejewski-SzmekAC_ARG_ENABLE(selinux, AS_HELP_STRING([--disable-selinux], [Disable optional SELINUX support]))
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sieversif test "x$enable_selinux" != "xno"; then
ac714a78fdca481488d88f84b6332d28083a4511Martin Jansa # not using PKG_CHECK_MODULES as for some reason libselinux didn't
ac714a78fdca481488d88f84b6332d28083a4511Martin Jansa # install any pkg-config modules here
b62cfcea00862ccbf0e5e297f8a339f70987edefMichael Biebl AC_SEARCH_LIBS([getcon], [selinux],
b62cfcea00862ccbf0e5e297f8a339f70987edefMichael Biebl [AC_DEFINE(HAVE_SELINUX, 1, [Define if SELINUX is available]) have_selinux=yes],
b62cfcea00862ccbf0e5e297f8a339f70987edefMichael Biebl have_selinux=no)
9a60da2834074d970ca063c210fe9d2f05c70532Thierry Reding AC_SUBST(SELINUX_CFLAGS)
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmek AC_SUBST(SELINUX_LIBS)
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmek if test "x$have_selinux" = xno -a "x$enable_selinux" = xyes; then
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmek AC_MSG_ERROR([*** selinux support requested but libraries not found])
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-SzmekAM_CONDITIONAL(HAVE_SELINUX, [test "$have_selinux" = "yes"])
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-SzmekAC_ARG_ENABLE([tcpwrap],
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmek AS_HELP_STRING([--disable-tcpwrap],[Disable optional TCP wrappers support]),
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmek [case "${enableval}" in
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmek yes) have_tcpwrap=yes ;;
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmek no) have_tcpwrap=no ;;
732bfe09aeffc3cd78b80ee9e20c9c3babd944d6Zbigniew Jędrzejewski-Szmek *) AC_MSG_ERROR(bad value ${enableval} for --disable-tcpwrap) ;;
ae0ceefc2f432bc1068889fcff53d929eca8a3c4Zbigniew Jędrzejewski-Szmek [have_tcpwrap=auto])
ae0ceefc2f432bc1068889fcff53d929eca8a3c4Zbigniew Jędrzejewski-Szmekif test "x${have_tcpwrap}" != xno ; then
ae0ceefc2f432bc1068889fcff53d929eca8a3c4Zbigniew Jędrzejewski-Szmek if test "x${LIBWRAP_LIBS}" = x ; then
ae0ceefc2f432bc1068889fcff53d929eca8a3c4Zbigniew Jędrzejewski-Szmek if test "x$have_tcpwrap" = xyes ; then
ae0ceefc2f432bc1068889fcff53d929eca8a3c4Zbigniew Jędrzejewski-Szmek AC_MSG_ERROR([*** TCP wrappers support not found.])
ae0ceefc2f432bc1068889fcff53d929eca8a3c4Zbigniew Jędrzejewski-Szmek have_tcpwrap=yes
ae0ceefc2f432bc1068889fcff53d929eca8a3c4Zbigniew Jędrzejewski-SzmekAC_SUBST(LIBWRAP_LIBS)
eb2e280f9c59b66965c9316eadc4c113a13ca744Lucas De MarchiAC_ARG_ENABLE([pam],
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart Poettering AS_HELP_STRING([--disable-pam],[Disable optional PAM support]),
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering [case "${enableval}" in
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering yes) have_pam=yes ;;
27765dfc7a32d790badb29e6498b34edb0b60c33Lennart Poettering no) have_pam=no ;;
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering *) AC_MSG_ERROR(bad value ${enableval} for --disable-pam) ;;
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering [have_pam=auto])
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poetteringif test "x${have_pam}" != xno ; then
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering AC_CHECK_HEADERS(
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering [security/pam_modules.h security/pam_modutil.h security/pam_ext.h],
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering [have_pam=yes],
03930e48636e86ad84946253ca2bf4f91deeb645Lennart Poettering [if test "x$have_pam" = xyes ; then
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering AC_MSG_ERROR([*** PAM headers not found.])
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering [have_pam=yes],
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering [if test "x$have_pam" = xyes ; then
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering AC_MSG_ERROR([*** libpam not found.])
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart Poettering if test "x$have_pam" = xyes ; then
be1a67d9d63bfdd4a5f8ba9cfc804030f10f5833Lennart Poettering PAM_LIBS="-lpam -lpam_misc"
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering AC_DEFINE(HAVE_PAM, 1, [PAM available])
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringAC_SUBST(PAM_LIBS)
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringAM_CONDITIONAL([HAVE_PAM], [test "x$have_pam" != xno])
9b85fc6a89386582bfe792dba881800b0a093839Gustavo Sverzut BarbieriAC_ARG_ENABLE([audit],
9b85fc6a89386582bfe792dba881800b0a093839Gustavo Sverzut Barbieri AS_HELP_STRING([--disable-audit],[Disable optional AUDIT support]),
5a45a93627609451784a04366cfa1150d32611d1Lennart Poettering [case "${enableval}" in
c1663b9daf5a43425e54bbe3daf6b10e64578f80Lennart Poettering yes) have_audit=yes ;;
aca33b078cd32c5416a7fa3d5020a5d461c130eeCristian Rodríguez no) have_audit=no ;;
2a4d1ec1520c926b0160efe14142634e164ddc30Cristian Rodríguez *) AC_MSG_ERROR(bad value ${enableval} for --disable-audit) ;;
4f47bb8c5e5f234c614dc14532a9483328e61002Zbigniew Jędrzejewski-Szmek [have_audit=auto])
4f47bb8c5e5f234c614dc14532a9483328e61002Zbigniew Jędrzejewski-Szmekif test "x${have_audit}" != xno ; then
65e3a2cf7c3b399853dd309f702ca5078b7d16eaZbigniew Jędrzejewski-Szmek AC_CHECK_HEADERS(
65e3a2cf7c3b399853dd309f702ca5078b7d16eaZbigniew Jędrzejewski-Szmek [have_audit=yes],
4f47bb8c5e5f234c614dc14532a9483328e61002Zbigniew Jędrzejewski-Szmek [if test "x$have_audit" = xyes ; then
b850b06e1efcc7e27cfd785759a3a913ac9ed196Kay Sievers AC_MSG_ERROR([*** AUDIT headers not found.])
b850b06e1efcc7e27cfd785759a3a913ac9ed196Kay Sievers AC_CHECK_LIB(
03a170c03cd4a09721369ece48affb70d66c6b90Kay Sievers [have_audit=yes],
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek [if test "x$have_audit" = xyes ; then
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek AC_MSG_ERROR([*** libaudit not found.])
9e7adc3ae1133fa08a468768a490812299fad030Lucas De Marchi if test "x$have_audit" = xyes ; then
9e7adc3ae1133fa08a468768a490812299fad030Lucas De Marchi AUDIT_LIBS="-laudit"
9b85fc6a89386582bfe792dba881800b0a093839Gustavo Sverzut Barbieri AC_DEFINE(HAVE_AUDIT, 1, [AUDIT available])
ae0ceefc2f432bc1068889fcff53d929eca8a3c4Zbigniew Jędrzejewski-SzmekAC_SUBST(AUDIT_LIBS)
ccd06097c79218f7d5ea4c21721bbcbc7c467dcaZbigniew Jędrzejewski-Szmekhave_libcryptsetup=no
ccd06097c79218f7d5ea4c21721bbcbc7c467dcaZbigniew Jędrzejewski-SzmekAC_ARG_ENABLE(libcryptsetup, AS_HELP_STRING([--disable-libcryptsetup], [disable libcryptsetup tools]))
1c231f56482546725c4dbd3303f70300bd3c63e9Lennart Poetteringif test "x$enable_libcryptsetup" != "xno"; then
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-Szmek PKG_CHECK_MODULES(LIBCRYPTSETUP, [ libcryptsetup ],
de99c9dcbaf6e474551266d8f0b519bf2d8d0522Lennart Poettering [AC_DEFINE(HAVE_LIBCRYPTSETUP, 1, [Define if libcryptsetup is available]) have_libcryptsetup=yes], have_libcryptsetup=no)
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-Szmek AC_SUBST(LIBCRYPTSETUP_CFLAGS)
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-Szmek AC_SUBST(LIBCRYPTSETUP_LIBS)
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-Szmek if test "x$have_libcryptsetup" = xno -a "x$enable_libcryptsetup" = xyes; then
de0671ee7fe465e108f62dcbbbe9366f81dd9e9aZbigniew Jędrzejewski-Szmek AC_MSG_ERROR([*** libcryptsetup support requested but libraries not found])
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-SzmekAM_CONDITIONAL(HAVE_LIBCRYPTSETUP, [test "$have_libcryptsetup" = "yes"])
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-SzmekAC_ARG_ENABLE(gtk, AS_HELP_STRING([--disable-gtk], [disable GTK tools]))
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmekif test "x$enable_gtk" != "xno"; then
32dcef3ab1eb91ee469c3246ef859578dccd8a45Zbigniew Jędrzejewski-Szmek PKG_CHECK_MODULES(GTK, [ gtk+-2.0 gio-unix-2.0 ],
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek [AC_DEFINE(HAVE_GTK, 1, [Define if GTK is available]) have_gtk=yes], have_gtk=no)
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek AC_SUBST(GTK_CFLAGS)
be8737ae386166d2f279767ac87b226204c0de7eFilipe Brandenburger AC_SUBST(GTK_LIBS)
be8737ae386166d2f279767ac87b226204c0de7eFilipe Brandenburger if test "x$have_gtk" = xno -a "x$enable_gtk" = xyes; then
be8737ae386166d2f279767ac87b226204c0de7eFilipe Brandenburger AC_MSG_ERROR([*** gtk support requested but libraries not found])
be8737ae386166d2f279767ac87b226204c0de7eFilipe BrandenburgerAM_CONDITIONAL(HAVE_GTK, [test "$have_gtk" = "yes"])
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmekif test "$have_gtk" = "yes"; then
747cf8cdf61cdad068c727e42eac699f2505ae77Zbigniew Jędrzejewski-Szmek PKG_CHECK_MODULES(DBUSGLIB, [ dbus-glib-1 ])
747cf8cdf61cdad068c727e42eac699f2505ae77Zbigniew Jędrzejewski-Szmek AC_SUBST(DBUSGLIB_CFLAGS)
747cf8cdf61cdad068c727e42eac699f2505ae77Zbigniew Jędrzejewski-Szmek AC_SUBST(DBUSGLIB_LIBS)
747cf8cdf61cdad068c727e42eac699f2505ae77Zbigniew Jędrzejewski-Szmek PKG_CHECK_MODULES(LIBNOTIFY, [ libnotify ])
747cf8cdf61cdad068c727e42eac699f2505ae77Zbigniew Jędrzejewski-Szmek PKG_CHECK_EXISTS([ libnotify >= 0.7.0 ], [ libnotify07=yes ])
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek AC_SUBST(LIBNOTIFY_CFLAGS)
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek AC_SUBST(LIBNOTIFY_LIBS)
25ee45f9953c121fc26a54a85ad7bb3a3180152bMichael BieblAM_CONDITIONAL(LIBNOTIFY07, [ test "$libnotify07" = "yes" ])
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-SzmekAM_PROG_VALAC([0.10])
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-SzmekAC_SUBST(VAPIDIR)
1864b0e39505cd44a98eee61c97916b86491c0b4Zbigniew Jędrzejewski-SzmekAM_CONDITIONAL(HAVE_VALAC, test x"$VALAC" != x)
1864b0e39505cd44a98eee61c97916b86491c0b4Zbigniew Jędrzejewski-SzmekAC_PATH_PROG([XSLTPROC], [xsltproc])
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-SzmekAM_CONDITIONAL(HAVE_XSLTPROC, test x"$XSLTPROC" != x)
1864b0e39505cd44a98eee61c97916b86491c0b4Zbigniew Jędrzejewski-SzmekAC_PATH_PROG([M4], [m4])
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-SzmekAC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO],[Specify the distribution to target: One of fedora, suse, debian, ubuntu, arch, gentoo, slackware or other]))
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmekif test "z$with_distro" = "z"; then
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek if test "$cross_compiling" = yes; then
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek 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)])
a6c0b31d509f76023d8efbcd5e912863c8fb254cZbigniew Jędrzejewski-Szmek AC_CHECK_FILE(/etc/redhat-release,with_distro="fedora")
f2ec0646aba7c6703a6c79603957e805b74c3befZbigniew Jędrzejewski-Szmek AC_CHECK_FILE(/etc/SuSE-release,with_distro="suse")
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek AC_CHECK_FILE(/etc/debian_version,with_distro="debian")
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek if test "x`lsb_release -is 2>/dev/null`" = "xUbuntu"; then
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek with_distro="ubuntu"
c937e0d5c579863677e0fcb5508517f7714c332dZbigniew Jędrzejewski-Szmek AC_CHECK_FILE(/etc/arch-release,with_distro="arch")
afea26ad7d406d8b6c95d2642cb5a1d807b87546Lennart Poettering AC_CHECK_FILE(/etc/gentoo-release,with_distro="gentoo")
7959ff9914a6f3a59dbff95c199bcc540b70ac94Kay Sievers AC_CHECK_FILE(/etc/slackware-version,with_distro="slackware")
27c64db6dff88ebe9761dfe3b0c073d2a9bf2e41Zbigniew Jędrzejewski-Szmek if test "z$with_distro" = "z"; then
7959ff9914a6f3a59dbff95c199bcc540b70ac94Kay Sievers with_distro=`uname -s`
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael Bieblwith_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]' `
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael BieblAC_DEFINE_UNQUOTED(DISTRIBUTION, ["${with_distro}"], [Target Distribution])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Default generic names
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael BieblSPECIAL_SYSLOG_SERVICE=syslog.service
7959ff9914a6f3a59dbff95c199bcc540b70ac94Kay Sievers# Location of the init scripts as mandated by LSB
7959ff9914a6f3a59dbff95c199bcc540b70ac94Kay SieversSYSTEM_SYSVINIT_PATH=/etc/init.d
fba1ea06bb5b653e9eb0cc1b6004af8da273a4abShawn LanddenM4_DISTRO_FLAG=
85f19d825e7504676f3a80c78c1d9a7ec35a3b3fMichael Bieblcase $with_distro in
27c64db6dff88ebe9761dfe3b0c073d2a9bf2e41Zbigniew Jędrzejewski-Szmek SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
4db17f291c627c885de668200ff8cce2e57c933fZbigniew Jędrzejewski-Szmek SYSTEM_SYSVRCND_PATH=/etc/rc.d
81577dc22887debaf9b19bf1034a2887fb9069c7Zbigniew Jędrzejewski-Szmek # A little background why we define this special unit
81577dc22887debaf9b19bf1034a2887fb9069c7Zbigniew Jędrzejewski-Szmek # names here in configure.ac: SysV services currently
a8348796c0d39435b1c3d85ce6e95dad1ac85fecLennart Poettering # cannot have aliases. As long as syslog is started
9388e99e208a6487b26dcbda86005ee9eba8d93dMichael Olbrich # via a SysV init script we hence define this name to
3b794314149e40afaf3c456285e1e529747b6560Holger Schurig # the actual SysV name here. Later on when SysV init
5f381b355a95b953654e46ba3ccdc81bdec165eaLennart Poettering # scripts are not used anymore it is advisable to use
81577dc22887debaf9b19bf1034a2887fb9069c7Zbigniew Jędrzejewski-Szmek # the generic name instead and use symlinks in the
539618a0ddc2dc7f0fbe28de2ae0e07b34c81e60Lennart Poettering # unit directories to point to the right native unit
75616a1332aff00d27db713cda3bd93c508a5b59Zbigniew Jędrzejewski-Szmek SPECIAL_SYSLOG_SERVICE=rsyslog.service
6589d0dba2b1ccf2406db527c2c1b51c7143e117Jean-André Santoni AC_DEFINE(TARGET_FEDORA, [], [Target is Fedora/RHEL])
75616a1332aff00d27db713cda3bd93c508a5b59Zbigniew Jędrzejewski-Szmek M4_DISTRO_FLAG=-DTARGET_FEDORA=1
81577dc22887debaf9b19bf1034a2887fb9069c7Zbigniew Jędrzejewski-Szmek SYSTEM_SYSVRCND_PATH=/etc/init.d
81577dc22887debaf9b19bf1034a2887fb9069c7Zbigniew Jędrzejewski-Szmek AC_DEFINE(TARGET_SUSE, [], [Target is openSUSE/SLE])
8ecec322fe6b34b64868d8cc3808b5613f09e8d3Zbigniew Jędrzejewski-Szmek M4_DISTRO_FLAG=-DTARGET_SUSE=1
81577dc22887debaf9b19bf1034a2887fb9069c7Zbigniew Jędrzejewski-Szmek SYSTEM_SYSVRCND_PATH=/etc
81577dc22887debaf9b19bf1034a2887fb9069c7Zbigniew Jędrzejewski-Szmek SPECIAL_SYSLOG_SERVICE=rsyslog.service
81577dc22887debaf9b19bf1034a2887fb9069c7Zbigniew Jędrzejewski-Szmek AC_DEFINE(TARGET_DEBIAN, [], [Target is Debian])
81577dc22887debaf9b19bf1034a2887fb9069c7Zbigniew Jędrzejewski-Szmek M4_DISTRO_FLAG=-DTARGET_DEBIAN=1
81577dc22887debaf9b19bf1034a2887fb9069c7Zbigniew Jędrzejewski-Szmek SYSTEM_SYSVRCND_PATH=/etc
81577dc22887debaf9b19bf1034a2887fb9069c7Zbigniew Jędrzejewski-Szmek SPECIAL_SYSLOG_SERVICE=rsyslog.service
81577dc22887debaf9b19bf1034a2887fb9069c7Zbigniew Jędrzejewski-Szmek AC_DEFINE(TARGET_UBUNTU, [], [Target is Ubuntu])
81577dc22887debaf9b19bf1034a2887fb9069c7Zbigniew Jędrzejewski-Szmek M4_DISTRO_FLAG=-DTARGET_UBUNTU=1
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer SYSTEM_SYSVINIT_PATH=/etc/rc.d
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering SYSTEM_SYSVRCND_PATH=/etc
2270309471213a3c960543e523130627e9cb10e2Kay Sievers SPECIAL_SYSLOG_SERVICE=syslog-ng.service
ac6b760ceedd4b21921b6a682cf1479af3d3024fZbigniew Jędrzejewski-Szmek AC_DEFINE(TARGET_ARCH, [], [Target is ArchLinux])
ac6b760ceedd4b21921b6a682cf1479af3d3024fZbigniew Jędrzejewski-Szmek M4_DISTRO_FLAG=-DTARGET_ARCH=1
ac6b760ceedd4b21921b6a682cf1479af3d3024fZbigniew Jędrzejewski-Szmek SYSTEM_SYSVINIT_PATH=
ac6b760ceedd4b21921b6a682cf1479af3d3024fZbigniew Jędrzejewski-Szmek SYSTEM_SYSVRCND_PATH=
ac6b760ceedd4b21921b6a682cf1479af3d3024fZbigniew Jędrzejewski-Szmek SPECIAL_SYSLOG_SERVICE=syslog-ng.service
ac6b760ceedd4b21921b6a682cf1479af3d3024fZbigniew Jędrzejewski-Szmek AC_DEFINE(TARGET_GENTOO, [], [Target is Gentoo])
2270309471213a3c960543e523130627e9cb10e2Kay Sievers M4_DISTRO_FLAG=-DTARGET_GENTOO=1
37161c5148396448921841ae1026b281c7949652Emil Renner Berthing SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
37161c5148396448921841ae1026b281c7949652Emil Renner Berthing SYSTEM_SYSVRCND_PATH=/etc/rc.d
37161c5148396448921841ae1026b281c7949652Emil Renner Berthing AC_DEFINE(TARGET_SLACKWARE, [], [Target is Slackware])
37161c5148396448921841ae1026b281c7949652Emil Renner Berthing M4_DISTRO_FLAG=-DTARGET_SLACKWARE=1
37161c5148396448921841ae1026b281c7949652Emil Renner Berthing AS_IF([test "x$with_syslog_service" = "x"],
37161c5148396448921841ae1026b281c7949652Emil Renner Berthing [AC_MSG_ERROR([With --distro=other, you must pass --with-syslog-service= to configure])])
53e856e16ac37fe30b8bb59153ff69aad0fa9c27Zbigniew Jędrzejewski-Szmek 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])
53e856e16ac37fe30b8bb59153ff69aad0fa9c27Zbigniew Jędrzejewski-SzmekAC_ARG_WITH([sysvinit-path],
53e856e16ac37fe30b8bb59153ff69aad0fa9c27Zbigniew Jędrzejewski-Szmek [AS_HELP_STRING([--with-sysvinit-path=PATH],
53e856e16ac37fe30b8bb59153ff69aad0fa9c27Zbigniew Jędrzejewski-Szmek [Specify the path to where the SysV init scripts are located @<:@default=based on distro@:>@])],
53e856e16ac37fe30b8bb59153ff69aad0fa9c27Zbigniew Jędrzejewski-Szmek [SYSTEM_SYSVINIT_PATH="$withval"],
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. AndersenAC_ARG_WITH([sysvrcd-path],
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen [AS_HELP_STRING([--with-sysvrcd-path=PATH],
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen [Specify the path to the base directory for the SysV rcN.d directories @<:@default=based on distro@:>@])],
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen [SYSTEM_SYSVRCND_PATH="$withval"],
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. AndersenAC_ARG_WITH([syslog-service],
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen [AS_HELP_STRING([--with-syslog-service=UNIT],
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen [Specify the name of the special syslog service @<:@default=based on distro@:>@])],
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen [SPECIAL_SYSLOG_SERVICE="$withval"],
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. AndersenAC_SUBST(SYSTEM_SYSVINIT_PATH)
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. AndersenAC_SUBST(SYSTEM_SYSVRCND_PATH)
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. AndersenAC_SUBST(SPECIAL_SYSLOG_SERVICE)
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. AndersenAC_SUBST(M4_DISTRO_FLAG)
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersenif test "x${SYSTEM_SYSVINIT_PATH}" != "x" -a "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen AC_DEFINE(HAVE_SYSV_COMPAT, [], [SysV init scripts and rcN.d links are supported.])
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen SYSTEM_SYSV_COMPAT="yes"
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersenelif test "x${SYSTEM_SYSVINIT_PATH}" != "x" -o "x${SYSTEM_SYSVRCND_PATH}" != "x"; then
6aea6d10f460853111ca8744201ec8dade97de3cThomas H.P. Andersen 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.])
e30431623a7d871da123cc37055ac49abf2c20eaTom Gundersen SYSTEM_SYSV_COMPAT="no"
e30431623a7d871da123cc37055ac49abf2c20eaTom GundersenAM_CONDITIONAL(TARGET_FEDORA, test x"$with_distro" = xfedora)
e2ca86cf78f911a8be51f0224796e24883019139Dave ReisnerAM_CONDITIONAL(TARGET_SUSE, test x"$with_distro" = xsuse)
e2ca86cf78f911a8be51f0224796e24883019139Dave ReisnerAM_CONDITIONAL(TARGET_DEBIAN, test x"$with_distro" = xdebian)
a18535d9e138c525d0443ec9f30a90b3e2184686Tom GundersenAM_CONDITIONAL(TARGET_UBUNTU, test x"$with_distro" = xubuntu)
e2ca86cf78f911a8be51f0224796e24883019139Dave ReisnerAM_CONDITIONAL(TARGET_DEBIAN_OR_UBUNTU, test x"$with_distro" = xdebian -o x"$with_distro" = xubuntu)
70d8320978dcbce022d9acbb953a10a7aca049abDavid StraussAM_CONDITIONAL(TARGET_ARCH, test x"$with_distro" = xarch)
e2ca86cf78f911a8be51f0224796e24883019139Dave ReisnerAM_CONDITIONAL(TARGET_GENTOO, test x"$with_distro" = xgentoo)
e30431623a7d871da123cc37055ac49abf2c20eaTom GundersenAM_CONDITIONAL(TARGET_SLACKWARE, test x"$with_distro" = xslackware)
e30431623a7d871da123cc37055ac49abf2c20eaTom GundersenAC_DEFINE_UNQUOTED(SPECIAL_SYSLOG_SERVICE, ["$SPECIAL_SYSLOG_SERVICE"], [Syslog service name])
e30431623a7d871da123cc37055ac49abf2c20eaTom GundersenAC_ARG_WITH([dbuspolicydir],
f553b3b1074151200187df916427a1468186435eAnders Olofsson AS_HELP_STRING([--with-dbuspolicydir=DIR], [D-Bus policy directory]),
d4f5a1f47dbd04f26f2ddf951c97c4cb0ebbbe62David Herrmann [with_dbuspolicydir=`pkg-config --variable=sysconfdir dbus-1`/dbus-1/system.d])
d4f5a1f47dbd04f26f2ddf951c97c4cb0ebbbe62David HerrmannAC_ARG_WITH([dbussessionservicedir],
d4f5a1f47dbd04f26f2ddf951c97c4cb0ebbbe62David Herrmann AS_HELP_STRING([--with-dbussessionservicedir=DIR], [D-Bus session service directory]),
d4f5a1f47dbd04f26f2ddf951c97c4cb0ebbbe62David Herrmann [with_dbussessionservicedir=`pkg-config --variable=session_bus_services_dir dbus-1`])
d4f5a1f47dbd04f26f2ddf951c97c4cb0ebbbe62David HerrmannAC_ARG_WITH([dbussystemservicedir],
d4f5a1f47dbd04f26f2ddf951c97c4cb0ebbbe62David Herrmann AS_HELP_STRING([--with-dbussystemservicedir=DIR], [D-Bus system service directory]),
d4f5a1f47dbd04f26f2ddf951c97c4cb0ebbbe62David Herrmann [with_dbussystemservicedir=`pkg-config --variable=session_bus_services_dir dbus-1`/../system-services])
f553b3b1074151200187df916427a1468186435eAnders OlofssonAC_ARG_WITH([dbusinterfacedir],
f553b3b1074151200187df916427a1468186435eAnders Olofsson AS_HELP_STRING([--with-dbusinterfacedir=DIR], [D-Bus interface directory]),
d47f6ca5f9b7a0b400d8bdb050151a0284fb4bdbGabriel de Perthuis [with_dbusinterfacedir=`pkg-config --variable=session_bus_services_dir dbus-1`/../interfaces])
f553b3b1074151200187df916427a1468186435eAnders OlofssonAC_ARG_WITH([udevrulesdir],
f553b3b1074151200187df916427a1468186435eAnders Olofsson AS_HELP_STRING([--with-udevrulesdir=DIR], [Diectory for udev rules]),
f553b3b1074151200187df916427a1468186435eAnders Olofsson [with_udevrulesdir=`pkg-config --variable=udevdir udev`/rules.d])
728beb28a713709f521d374c9f8f3da781969d26Tom GundersenAC_ARG_WITH([pamlibdir],
8d3ae2bd4c9bf9fc2e57f7b3776325a1c750ca30Chris Leech AS_HELP_STRING([--with-pamlibdir=DIR], [Diectory for PAM modules]),
8d3ae2bd4c9bf9fc2e57f7b3776325a1c750ca30Chris Leech [with_pamlibdir=/lib/`$CC -print-multi-os-directory`/security])
8d3ae2bd4c9bf9fc2e57f7b3776325a1c750ca30Chris LeechAC_ARG_WITH([rootdir],
8d3ae2bd4c9bf9fc2e57f7b3776325a1c750ca30Chris Leech AS_HELP_STRING([--with-rootdir=DIR], [Root directory for files necessary for boot]),
8d3ae2bd4c9bf9fc2e57f7b3776325a1c750ca30Chris Leech [with_rootdir=${ac_default_prefix}])
c0467cf387548dc98c0254f63553d862b35a84e5Ronny ChevalierAC_SUBST([dbuspolicydir], [$with_dbuspolicydir])
c0467cf387548dc98c0254f63553d862b35a84e5Ronny ChevalierAC_SUBST([dbussessionservicedir], [$with_dbussessionservicedir])
c0467cf387548dc98c0254f63553d862b35a84e5Ronny ChevalierAC_SUBST([dbussystemservicedir], [$with_dbussystemservicedir])
c0467cf387548dc98c0254f63553d862b35a84e5Ronny ChevalierAC_SUBST([dbusinterfacedir], [$with_dbusinterfacedir])
c0467cf387548dc98c0254f63553d862b35a84e5Ronny ChevalierAC_SUBST([udevrulesdir], [$with_udevrulesdir])
17df7223be064b1542dbe868e3b35cca977ee639Lennart PoetteringAC_SUBST([pamlibdir], [$with_pamlibdir])
17df7223be064b1542dbe868e3b35cca977ee639Lennart PoetteringAC_SUBST([rootdir], [$with_rootdir])
c0467cf387548dc98c0254f63553d862b35a84e5Ronny ChevalierAC_CONFIG_FILES([Makefile])
c0467cf387548dc98c0254f63553d862b35a84e5Ronny Chevalier $PACKAGE_NAME $VERSION
c0467cf387548dc98c0254f63553d862b35a84e5Ronny Chevalier Distribution: ${with_distro}
3e2147858f21943d5f4a781c60f33ac22c6096edKay Sievers SysV compatibility: ${SYSTEM_SYSV_COMPAT}
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu SysV init scripts: ${SYSTEM_SYSVINIT_PATH}
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH}
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu Syslog service: ${SPECIAL_SYSLOG_SERVICE}
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu Gtk: ${have_gtk}
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu libcryptsetup: ${have_libcryptsetup}
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu tcpwrap: ${have_tcpwrap}
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu PAM: ${have_pam}
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu AUDIT: ${have_audit}
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu SELinux: ${have_selinux}
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu prefix: ${prefix}
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu root dir: ${with_rootdir}
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu udev rules dir: ${with_udevrulesdir}
816115863962548a9a0d9fbfe429c7f8e685beacRoberto Sassu pam modules dir: ${with_pamlibdir}
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering dbus policy dir: ${with_dbuspolicydir}
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering dbus session dir: ${with_dbussessionservicedir}
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering dbus system dir: ${with_dbussystemservicedir}
77e68fa2f0bd018bab2621a31919bfaa6a6b0a35Lennart Poettering dbus interfaces dir: ${with_dbusinterfacedir}