configure.ac revision 136337ff74f05be3d42a769d9f0cb99716c5c40f
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)
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_INIT([systemd],[0],[mzflfgrzq (at) 0pointer (dot) net])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_CONFIG_SRCDIR([main.c])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_CONFIG_MACRO_DIR([m4])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_CONFIG_HEADERS([config.h])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAM_INIT_AUTOMAKE([foreign 1.11 -Wall -Wno-portability silent-rules tar-pax])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_SUBST(PACKAGE_URL, [http://git.0pointer.de/?p=systemd.git])
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}"
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])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart 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)
a9b5b03212f9c854938483b8901e433c2ba6619bMichael TremerAC_ARG_ENABLE(gtk, AS_HELP_STRING([--disable-gtk], [disable GTK tools]))
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremerif test "x$enable_gtk" != "xno"; then
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer 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"
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer CGROUP_LIBS=${CGROUP_LIBS:--lcgroup}
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer LIBS="$LIBS $CGROUP_LIBS"
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer CPPFLAGS="$CPPFLAGS $CGROUP_CFLAGS"
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer AC_MSG_CHECKING([for libcgroup >= 0.35])
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer AC_LINK_IFELSE(
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer [AC_LANG_PROGRAM([[#include <libcgroup.h>]], [[ CGFLAG_DELETE_RECURSIVE; cgroup_init(); ]])],
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer [AC_MSG_RESULT([yes])],
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer [AC_MSG_RESULT([no]); AC_MSG_ERROR([*** systemd needs libcgroup 0.35 or newer])],
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer [${CGROUP_LIBS}])
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer CPPFLAGS="$save_CPPFLAGS"
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer LIBS="$save_LIBS"
8e27452380193a5f81bfd08a59aab8b07008ba0bLennart PoetteringAC_SUBST(CGROUP_CFLAGS)
8e27452380193a5f81bfd08a59aab8b07008ba0bLennart PoetteringAC_SUBST(CGROUP_LIBS)
e12891f70c264683f4f2b99dd6c535c73f1d26a5Robert GerusAM_PROG_VALAC([0.8])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_SUBST(VAPIDIR)
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringAC_PATH_PROG([XSLTPROC], [xsltproc])
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringAM_CONDITIONAL(HAVE_XSLTPROC, test x"$XSLTPROC" != x)
bf024b022d9f53d2bb8d26107b4878cede3167b7Tollef Fog HeenAC_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)])
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering AC_CHECK_FILE(/etc/redhat-release,with_distro="fedora")
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering AC_CHECK_FILE(/etc/SuSE-release,with_distro="suse")
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering AC_CHECK_FILE(/etc/debian_version,with_distro="debian")
d7c114c00030309435fc56c77c8578a25d228ebeDave Reisner AC_CHECK_FILE(/etc/arch-release,with_distro="arch")
f2b4af1cd4112df6ce56f8fc1e677639935e3d0eFabian Henze AC_CHECK_FILE(/etc/gentoo-release,with_distro="gentoo")
65c8976ab12f13fc339a16d108e620bf2fd703f4Malcolm Studd AC_CHECK_FILE(/etc/slackware-version,with_distro="slackware")
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering if test "z$with_distro" = "z"; then
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering with_distro=`uname -s`
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poetteringwith_distro=`echo ${with_distro} | tr '[[:upper:]]' '[[:lower:]]' `
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poetteringcase $with_distro in
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering SYSTEM_SYSVRCND_PATH=/etc/rc.d
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart Poettering special_dbus_service=messagebus.service
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart Poettering special_syslog_service=rsyslog.service
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart Poettering AC_DEFINE(TARGET_FEDORA, [], [Target is Fedora/RHEL])
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering SYSTEM_SYSVINIT_PATH=/etc/init.d
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering SYSTEM_SYSVRCND_PATH=/etc/init.d
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart Poettering special_dbus_service=dbus.service
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart Poettering special_syslog_service=syslog.service
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart Poettering AC_DEFINE(TARGET_SUSE, [], [Target is OpenSUSE/SLES])
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering SYSTEM_SYSVINIT_PATH=/etc/init.d
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering SYSTEM_SYSVRCND_PATH=/etc
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart Poettering special_dbus_service=dbus.service
924b4d5bcc97ee2dc395723c3b73a53f3772e2edLennart Poettering special_syslog_service=rsyslog.service
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart Poettering AC_DEFINE(TARGET_DEBIAN, [], [Target is Debian/Ubuntu])
d7c114c00030309435fc56c77c8578a25d228ebeDave Reisner SYSTEM_SYSVINIT_PATH=/etc/rc.d
d7c114c00030309435fc56c77c8578a25d228ebeDave Reisner SYSTEM_SYSVRCND_PATH=/etc
d7c114c00030309435fc56c77c8578a25d228ebeDave Reisner special_dbus_service=dbus.service
d7c114c00030309435fc56c77c8578a25d228ebeDave Reisner special_syslog_service=syslog-ng.service
d7c114c00030309435fc56c77c8578a25d228ebeDave Reisner AC_DEFINE(TARGET_ARCH, [], [Target is ArchLinux])
f2b4af1cd4112df6ce56f8fc1e677639935e3d0eFabian Henze SYSTEM_SYSVINIT_PATH=/etc/init.d
f2b4af1cd4112df6ce56f8fc1e677639935e3d0eFabian Henze SYSTEM_SYSVRCND_PATH=/etc
f2b4af1cd4112df6ce56f8fc1e677639935e3d0eFabian Henze special_dbus_service=dbus.service
f2b4af1cd4112df6ce56f8fc1e677639935e3d0eFabian Henze special_syslog_service=syslog-ng.service
f2b4af1cd4112df6ce56f8fc1e677639935e3d0eFabian Henze AC_DEFINE(TARGET_GENTOO, [], [Target is Gentoo])
65c8976ab12f13fc339a16d108e620bf2fd703f4Malcolm Studd SYSTEM_SYSVINIT_PATH=/etc/rc.d/init.d
65c8976ab12f13fc339a16d108e620bf2fd703f4Malcolm Studd SYSTEM_SYSVRCND_PATH=/etc/rc.d
65c8976ab12f13fc339a16d108e620bf2fd703f4Malcolm Studd special_dbus_service=messagebus.service
65c8976ab12f13fc339a16d108e620bf2fd703f4Malcolm Studd special_syslog_service=syslog.service
65c8976ab12f13fc339a16d108e620bf2fd703f4Malcolm Studd AC_DEFINE(TARGET_SLACKWARE, [], [Target is Slackware])
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen AS_IF([test "x$with_sysvinit_path" = "x"],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [AC_MSG_ERROR([With --distro=none, you must pass --with-sysvinit-path to configure])])
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen AS_IF([test "x$with_sysvrcd_path" = "x"],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [AC_MSG_ERROR([With --distro=none, you must pass --with-sysvrcd-path to configure])])
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen AS_IF([test "x$with_dbus_service" = "x"],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [AC_MSG_ERROR([With --distro=none, you must pass --with-dbus-service to configure])])
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen AS_IF([test "x$with_syslog_service" = "x"],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [AC_MSG_ERROR([With --distro=none, you must pass --with-syslog-service to configure])])
bf024b022d9f53d2bb8d26107b4878cede3167b7Tollef 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@:>@])],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [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@:>@])],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [special_dbus_service="$withval"],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog HeenAC_ARG_WITH([syslog-service],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [AS_HELP_STRING([--with-syslog-service=PATH],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [Specify the name of the special syslog service @<:@default=based on distro@:>@])],
136337ff74f05be3d42a769d9f0cb99716c5c40fTollef Fog Heen [special_syslog_service="$withval"],
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAC_SUBST(SYSTEM_SYSVINIT_PATH)
d64b723a9e275ee4c6ccb947e3fd6ed6b3e4c359Lennart PoetteringAC_SUBST(SYSTEM_SYSVRCND_PATH)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAM_CONDITIONAL(TARGET_FEDORA, test x"$with_distro" = xfedora)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAM_CONDITIONAL(TARGET_SUSE, test x"$with_distro" = xsuse)
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart PoetteringAM_CONDITIONAL(TARGET_DEBIAN, test x"$with_distro" = xdebian)
d7c114c00030309435fc56c77c8578a25d228ebeDave ReisnerAM_CONDITIONAL(TARGET_ARCH, test x"$with_distro" = xarch)
f2b4af1cd4112df6ce56f8fc1e677639935e3d0eFabian HenzeAM_CONDITIONAL(TARGET_GENTOO, test x"$with_distro" = xgentoo)
65c8976ab12f13fc339a16d108e620bf2fd703f4Malcolm StuddAM_CONDITIONAL(TARGET_SLACKWARE, test x"$with_distro" = xslackware)
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart PoetteringAC_DEFINE_UNQUOTED(SPECIAL_DBUS_SERVICE, ["$special_dbus_service"], [D-Bus service name])
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart PoetteringAC_DEFINE_UNQUOTED(SPECIAL_SYSLOG_SERVICE, ["$special_syslog_service"], [syslog service name])
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringAC_ARG_WITH([udevrulesdir],
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering AS_HELP_STRING([--with-udevrulesdir=DIR], [Diectory for udev rules]),
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering [with_udevrulesdir=/lib/udev/rules.d])
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart PoetteringAC_SUBST([udevrulesdir], [$with_udevrulesdir])
47be870bd83fb3719dffc3ee9348a409ab762a14Lennart PoetteringAC_OUTPUT([Makefile])
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering $PACKAGE_NAME $VERSION
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart Poettering Distribution: ${with_distro}
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering SysV init scripts: ${SYSTEM_SYSVINIT_PATH}
0571e0111d76cf96aa4069d9c7a6e24d97aa7e48Lennart Poettering SysV rc?.d directories: ${SYSTEM_SYSVRCND_PATH}
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart Poettering Syslog service: ${special_syslog_service}
2c696a96a2bd63d2ff0d5595622124ef9270b172Lennart Poettering D-Bus service: ${special_dbus_service}
a9b5b03212f9c854938483b8901e433c2ba6619bMichael Tremer Gtk: ${have_gtk}
d1ab0ca07372649dad70a0348d75e394f254e1b6Lennart Poettering udev rules dir: ${with_udevrulesdir}