configure.ac revision b6c2bf61c5de1bb0c4996b0be016d55877d9688c
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# This file is part of systemd.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# Copyright 2010 Lennart Poettering
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering# 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
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart 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.
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart 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)
1b00a255225bd65bcc3f6257bd4b1e2089f231b4Tollef Fog HeenAC_INIT([systemd],[0],[systemd-devel@lists.freedesktop.org])
e99e38bbdcca3fe5956823bdb3d38544ccf93221Lennart PoetteringAC_CONFIG_SRCDIR([src/main.c])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_CONFIG_MACRO_DIR([m4])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_CONFIG_HEADERS([config.h])
e99e38bbdcca3fe5956823bdb3d38544ccf93221Lennart PoetteringAM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax subdir-objects])
1b322bdb2a147e999c3861cba8a6b3ac0f3b712aTollef Fog HeenAC_SUBST(PACKAGE_URL, [http://www.freedesktop.org/wiki/Software/systemd])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_CANONICAL_HOST
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAM_SILENT_RULES([yes])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_CHECK_PROG([STOW], [stow], [yes], [no])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAS_IF([test "x$STOW" = "xyes" && test -d /usr/local/stow], [
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering AC_MSG_NOTICE([*** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}"
e9da3678fcfc774b325dc1eaa054d0e00028a1fcLennart PoetteringAC_PROG_MKDIR_P
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_PROG_GCC_TRADITIONAL
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_USE_SYSTEM_EXTENSIONS
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringCC_CHECK_CFLAGS_APPEND([ \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wno-long-long \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wno-overlength-strings \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wlogical-op \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wsign-compare \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wformat-security \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wmissing-include-dirs \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wformat-nonliteral \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wold-style-definition \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wpointer-arith \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wdeclaration-after-statement \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wfloat-equal \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wmissing-prototypes \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wstrict-prototypes \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wredundant-decls \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wmissing-declarations \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wmissing-noreturn \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wendif-labels \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wcast-align \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wstrict-aliasing=2 \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wwrite-strings \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wno-unused-parameter \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wp,-D_FORTIFY_SOURCE=2 \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -fdiagnostics-show-option \
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering -Wno-missing-field-initializers])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_SEARCH_LIBS([clock_gettime], [rt], [], [AC_MSG_ERROR([*** POSIX RT library not found])])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_SEARCH_LIBS([cap_init], [cap], [], [AC_MSG_ERROR([*** POSIX caps library not found])])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_CHECK_HEADERS([sys/capability.h], [], [AC_MSG_ERROR([*** POSIX caps headers not found])])
b237ef2cfac7ab0b33170809e8cb64628606207dTollef Fog Heen# This makes sure pkg.m4 is available.
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremerm4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-config])
e1ce2c2782015579f042d4d6963ed039333fb8c2Lennart PoetteringPKG_CHECK_MODULES(UDEV, [ libudev ])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_SUBST(UDEV_CFLAGS)
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_SUBST(UDEV_LIBS)
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringPKG_CHECK_MODULES(DBUS, [ dbus-1 ])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_SUBST(DBUS_CFLAGS)
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_SUBST(DBUS_LIBS)
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringPKG_CHECK_MODULES(DBUSGLIB, [ dbus-glib-1 ])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_SUBST(DBUSGLIB_CFLAGS)
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_SUBST(DBUSGLIB_LIBS)
53f7d807bff9c39e9e565ad2fb20f29b4306af40Lennart PoetteringAC_ARG_ENABLE(gtk, AS_HELP_STRING([--disable-gtk], [disable GTK tools]))
53f7d807bff9c39e9e565ad2fb20f29b4306af40Lennart Poetteringif test "x$enable_gtk" != "xno"; then
53f7d807bff9c39e9e565ad2fb20f29b4306af40Lennart Poettering PKG_CHECK_MODULES(GTK, [ gtk+-2.0 ],
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer [AC_DEFINE(HAVE_GTK, 1, [Define if GTK is available]) have_gtk=yes], have_gtk=no)
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer AC_SUBST(GTK_CFLAGS)
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer AC_SUBST(GTK_LIBS)
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer if test "x$have_gtk" = xno -a "x$enable_gtk" = xyes; then
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer AC_MSG_ERROR([*** gtk support requested but libraries not found])
a9b5b03212f9c854938483b8901e433c2ba6619bMichael TremerAM_CONDITIONAL(HAVE_GTK, [test "$have_gtk" = "yes"])
a9b5b03212f9c854938483b8901e433c2ba6619bMichael TremerPKG_CHECK_MODULES( CGROUP, [ libcgroup >= 0.35 ], [], [
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer AC_CHECK_HEADER( [libcgroup.h], [], [AC_MSG_ERROR([*** libcgroup.h not found])], )
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer save_CPPFLAGS="$CPPFLAGS"
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer save_LIBS="$LIBS"
e12891f70c264683f4f2b99dd6c535c73f1d26a5Robert Gerus CGROUP_LIBS=${CGROUP_LIBS:--lcgroup}
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering LIBS="$LIBS $CGROUP_LIBS"
42e39f0b326d27f6392a81a7400f9af7cf0af3abLennart Poettering CPPFLAGS="$CPPFLAGS $CGROUP_CFLAGS"
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering AC_MSG_CHECKING([for libcgroup >= 0.35])
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering AC_LINK_IFELSE(
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering [AC_LANG_PROGRAM([[#include <libcgroup.h>]], [[ CGFLAG_DELETE_RECURSIVE; cgroup_init(); ]])],
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering [AC_MSG_RESULT([yes])],
5e6afdd3d359fc42de7ac432243e98673577e81fLennart Poettering [AC_MSG_RESULT([no]); AC_MSG_ERROR([*** systemd needs libcgroup 0.35 or newer])],
5e6afdd3d359fc42de7ac432243e98673577e81fLennart Poettering [${CGROUP_LIBS}])
9f2c5942e1e10099027f0da438aafdd9f40440baLennart Poettering CPPFLAGS="$save_CPPFLAGS"
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering LIBS="$save_LIBS"
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAC_SUBST(CGROUP_CFLAGS)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAC_SUBST(CGROUP_LIBS)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAM_PROG_VALAC([0.8])
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAC_SUBST(VAPIDIR)
f2b4af1cd4112df6ce56f8fc1e677639935e3d0eFabian HenzeAC_PATH_PROG([XSLTPROC], [xsltproc])
65c8976ab12f13fc339a16d108e620bf2fd703f4Malcolm StuddAM_CONDITIONAL(HAVE_XSLTPROC, test x"$XSLTPROC" != x)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAC_PATH_PROG([M4], [m4])
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAC_ARG_WITH(distro, AS_HELP_STRING([--with-distro=DISTRO],[Specify the distribution to target: One of fedora, suse, debian, arch, gentoo or other]))
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poetteringif test "z$with_distro" = "z"; then
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering if test "$cross_compiling" = yes; then
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering 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)])
34eff652cedec3cac34b92629ead5f140334b689Lennart Poettering AC_CHECK_FILE(/etc/redhat-release,with_distro="fedora")
34eff652cedec3cac34b92629ead5f140334b689Lennart Poettering AC_CHECK_FILE(/etc/SuSE-release,with_distro="suse")
34eff652cedec3cac34b92629ead5f140334b689Lennart Poettering AC_CHECK_FILE(/etc/debian_version,with_distro="debian")
34eff652cedec3cac34b92629ead5f140334b689Lennart Poettering AC_CHECK_FILE(/etc/arch-release,with_distro="arch")
34eff652cedec3cac34b92629ead5f140334b689Lennart Poettering AC_CHECK_FILE(/etc/gentoo-release,with_distro="gentoo")
34eff652cedec3cac34b92629ead5f140334b689Lennart Poettering AC_CHECK_FILE(/etc/slackware-version,with_distro="slackware")
12e84679cc81cdf5f042540e54131a0ce37147adLennart Poettering if test "z$with_distro" = "z"; then
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering with_distro=`uname -s`
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poetteringwith_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]' `
34eff652cedec3cac34b92629ead5f140334b689Lennart Poettering# Default generic names
34eff652cedec3cac34b92629ead5f140334b689Lennart PoetteringSPECIAL_DBUS_SERVICE=dbus.service
34eff652cedec3cac34b92629ead5f140334b689Lennart PoetteringSPECIAL_SYSLOG_SERVICE=syslog.service
34eff652cedec3cac34b92629ead5f140334b689Lennart Poettering# Location of the init scripts as mandated by LSB
34eff652cedec3cac34b92629ead5f140334b689Lennart PoetteringSYSTEM_SYSVINIT_PATH=/etc/init.d
34eff652cedec3cac34b92629ead5f140334b689Lennart Poetteringcase $with_distro in
34eff652cedec3cac34b92629ead5f140334b689Lennart Poettering SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
a7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0Lennart Poettering SYSTEM_SYSVRCND_PATH=/etc/rc.d
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart Poettering # A little background why we define these special unit
12e84679cc81cdf5f042540e54131a0ce37147adLennart Poettering # names here in configure.ac: SysV services currently
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering # cannot have aliases. As long as syslog is started
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering # via a SysV init script we hence define these names
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering # to the actual SysV name here. Later on when SysV
cfe243e3720062c2e0eecd8bb0bdd7b4059e156dKay Sievers # init scripts are not used anymore it is advisable to
12e84679cc81cdf5f042540e54131a0ce37147adLennart Poettering # use the generic names instead and use symlinks in
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering # the unit directories to point to the right native
a7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0Lennart Poettering SPECIAL_DBUS_SERVICE=messagebus.service
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart Poettering SPECIAL_SYSLOG_SERVICE=rsyslog.service
12e84679cc81cdf5f042540e54131a0ce37147adLennart Poettering AC_DEFINE(TARGET_FEDORA, [], [Target is Fedora/RHEL])
d7c114c00030309435fc56c77c8578a25d228ebeDave Reisner SYSTEM_SYSVRCND_PATH=/etc/init.d
d7c114c00030309435fc56c77c8578a25d228ebeDave Reisner AC_DEFINE(TARGET_SUSE, [], [Target is OpenSUSE/SLES])
12e84679cc81cdf5f042540e54131a0ce37147adLennart Poettering SYSTEM_SYSVRCND_PATH=/etc
d7c114c00030309435fc56c77c8578a25d228ebeDave Reisner SPECIAL_SYSLOG_SERVICE=rsyslog.service
f2b4af1cd4112df6ce56f8fc1e677639935e3d0eFabian Henze AC_DEFINE(TARGET_DEBIAN, [], [Target is Debian/Ubuntu])
f2b4af1cd4112df6ce56f8fc1e677639935e3d0eFabian Henze SYSTEM_SYSVINIT_PATH=/etc/rc.d
12e84679cc81cdf5f042540e54131a0ce37147adLennart Poettering SYSTEM_SYSVRCND_PATH=/etc
f2b4af1cd4112df6ce56f8fc1e677639935e3d0eFabian Henze SPECIAL_SYSLOG_SERVICE=syslog-ng.service
65c8976ab12f13fc339a16d108e620bf2fd703f4Malcolm Studd AC_DEFINE(TARGET_ARCH, [], [Target is ArchLinux])
a7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0Lennart Poettering SYSTEM_SYSVRCND_PATH=/etc
65c8976ab12f13fc339a16d108e620bf2fd703f4Malcolm Studd SPECIAL_SYSLOG_SERVICE=syslog-ng.service
12e84679cc81cdf5f042540e54131a0ce37147adLennart Poettering AC_DEFINE(TARGET_GENTOO, [], [Target is Gentoo])
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
b6c2bf61c5de1bb0c4996b0be016d55877d9688cLennart Poettering SYSTEM_SYSVRCND_PATH=/etc/rc.d
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen SPECIAL_DBUS_SERVICE=messagebus.service
b6c2bf61c5de1bb0c4996b0be016d55877d9688cLennart Poettering AC_DEFINE(TARGET_SLACKWARE, [], [Target is Slackware])
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen AS_IF([test "x$with_sysvinit_path" = "x"],
b6c2bf61c5de1bb0c4996b0be016d55877d9688cLennart Poettering [AC_MSG_ERROR([With --distro=other, you must pass --with-sysvinit-path= to configure])])
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering AS_IF([test "x$with_sysvrcd_path" = "x"],
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering [AC_MSG_ERROR([With --distro=other, you must pass --with-sysvrcd-path= to configure])])
bf024b022d9f53d2bb8d26107b4878cede3167b7Tollef Fog Heen AS_IF([test "x$with_dbus_service" = "x"],
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering [AC_MSG_ERROR([With --distro=other, you must pass --with-dbus-service= to configure])])
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering AS_IF([test "x$with_syslog_service" = "x"],
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering [AC_MSG_ERROR([With --distro=other, you must pass --with-syslog-service= to configure])])
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen 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])
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog HeenAC_ARG_WITH([sysvinit-path],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [AS_HELP_STRING([--with-sysvinit-path=PATH],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [Specify the path to where the SysV init scripts are located @<:@default=based on distro@:>@])],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [SYSTEM_SYSVINIT_PATH="$withval"],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog HeenAC_ARG_WITH([sysvrcd-path],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [AS_HELP_STRING([--with-sysvrcd-path=PATH],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [Specify the path to the base directory for the SysV rcN.d directories @<:@default=based on distro@:>@])],
a7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0Lennart Poettering [SYSTEM_SYSVRCND_PATH="$withval"],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog HeenAC_ARG_WITH([dbus-service],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [AS_HELP_STRING([--with-dbus-service=PATH],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [Specify the name of the special DBus service @<:@default=based on distro@:>@])],
a7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0Lennart Poettering [SPECIAL_DBUS_SERVICE="$withval"],
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAC_ARG_WITH([syslog-service],
d64b723a9e275ee4c6ccb947e3fd6ed6b3e4c359Lennart Poettering [AS_HELP_STRING([--with-syslog-service=PATH],
a7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0Lennart Poettering [Specify the name of the special syslog service @<:@default=based on distro@:>@])],
a7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0Lennart Poettering [SPECIAL_SYSLOG_SERVICE="$withval"],
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAC_SUBST(SYSTEM_SYSVINIT_PATH)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAC_SUBST(SYSTEM_SYSVRCND_PATH)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAC_SUBST(SPECIAL_DBUS_SERVICE)
d7c114c00030309435fc56c77c8578a25d228ebeDave ReisnerAC_SUBST(SPECIAL_SYSLOG_SERVICE)
65c8976ab12f13fc339a16d108e620bf2fd703f4Malcolm StuddAM_CONDITIONAL(TARGET_FEDORA, test x"$with_distro" = xfedora)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAM_CONDITIONAL(TARGET_SUSE, test x"$with_distro" = xsuse)
a7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0Lennart PoetteringAM_CONDITIONAL(TARGET_DEBIAN, test x"$with_distro" = xdebian)
a7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0Lennart PoetteringAM_CONDITIONAL(TARGET_ARCH, test x"$with_distro" = xarch)
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart PoetteringAM_CONDITIONAL(TARGET_GENTOO, test x"$with_distro" = xgentoo)
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringAM_CONDITIONAL(TARGET_SLACKWARE, test x"$with_distro" = xslackware)
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringAC_DEFINE_UNQUOTED(SPECIAL_DBUS_SERVICE, ["$SPECIAL_DBUS_SERVICE"], [D-Bus service name])
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringAC_DEFINE_UNQUOTED(SPECIAL_SYSLOG_SERVICE, ["$SPECIAL_SYSLOG_SERVICE"], [Syslog service name])
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringAC_ARG_WITH([udevrulesdir],
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart Poettering AS_HELP_STRING([--with-udevrulesdir=DIR], [Diectory for udev rules]),
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering [with_udevrulesdir=/lib/udev/rules.d])
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAC_SUBST([udevrulesdir], [$with_udevrulesdir])
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart PoetteringAC_OUTPUT([Makefile])
a7b6f8e578724c3b4f0cfc8777d9b4a8e29207b0Lennart Poettering $PACKAGE_NAME $VERSION
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer Distribution: ${with_distro}
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering SysV init scripts: ${SYSTEM_SYSVINIT_PATH}
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH}