X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=configure.ac;h=010f1a10439c0e0472f0e1eb83c6d0353d43d7f3;hb=1decba500f8892e607c39716a0783a0ff291e0a8;hp=bec7f7b95cc4c768b098ae090a82740b65a17756;hpb=5148a70c207434530ce2da7ede3e841be62bb4e1;p=elogind.git diff --git a/configure.ac b/configure.ac index bec7f7b95..010f1a104 100644 --- a/configure.ac +++ b/configure.ac @@ -485,107 +485,6 @@ fi AM_CONDITIONAL([HAVE_SMACK], [test "x$have_smack" = "xyes"]) -# ------------------------------------------------------------------------------ -have_firstboot=no -AC_ARG_ENABLE(firstboot, AS_HELP_STRING([--disable-firstboot], [disable firstboot support])) -if test "x$enable_firstboot" != "xno"; then - have_firstboot=yes -fi -AM_CONDITIONAL(ENABLE_FIRSTBOOT, [test "$have_firstboot" = "yes"]) - -# ------------------------------------------------------------------------------ -have_randomseed=no -AC_ARG_ENABLE(randomseed, AS_HELP_STRING([--disable-randomseed], [disable randomseed tools])) -if test "x$enable_randomseed" != "xno"; then - have_randomseed=yes -fi -AM_CONDITIONAL(ENABLE_RANDOMSEED, [test "$have_randomseed" = "yes"]) - -# ------------------------------------------------------------------------------ -have_backlight=no -AC_ARG_ENABLE(backlight, AS_HELP_STRING([--disable-backlight], [disable backlight tools])) -if test "x$enable_backlight" != "xno"; then - have_backlight=yes -fi -AM_CONDITIONAL(ENABLE_BACKLIGHT, [test "$have_backlight" = "yes"]) - -# ------------------------------------------------------------------------------ -have_rfkill=no -AC_ARG_ENABLE(rfkill, AS_HELP_STRING([--disable-rfkill], [disable rfkill tools])) -if test "x$enable_rfkill" != "xno"; then - have_rfkill=yes -fi -AM_CONDITIONAL(ENABLE_RFKILL, [test "$have_rfkill" = "yes"]) - -# ------------------------------------------------------------------------------ -have_logind=no -AC_ARG_ENABLE(logind, AS_HELP_STRING([--disable-logind], [disable login daemon])) -if test "x$enable_logind" != "xno"; then - have_logind=yes -fi -AM_CONDITIONAL(ENABLE_LOGIND, [test "$have_logind" = "yes"]) -AS_IF([test "$have_logind" = "yes"], [ AC_DEFINE(HAVE_LOGIND, [1], [Logind support available]) ]) - -# ------------------------------------------------------------------------------ -have_machined=no -AC_ARG_ENABLE(machined, AS_HELP_STRING([--disable-machined], [disable machine daemon])) -if test "x$enable_machined" != "xno"; then - have_machined=yes -fi -AM_CONDITIONAL(ENABLE_MACHINED, [test "$have_machined" = "yes"]) -AS_IF([test "$have_machined" = "yes"], [ AC_DEFINE(HAVE_MACHINED, [1], [Machined support available]) ]) - -# ------------------------------------------------------------------------------ -have_importd=no -AC_ARG_ENABLE(importd, AS_HELP_STRING([--disable-importd], [disable import daemon])) -if test "x$enable_importd" != "xno"; then - have_importd=yes -fi -AM_CONDITIONAL(ENABLE_IMPORTD, [test "$have_importd" = "yes"]) -AS_IF([test "$have_importd" = "yes"], [ AC_DEFINE(HAVE_IMPORTD, [1], [Importd support available]) ]) - -# ------------------------------------------------------------------------------ -have_hostnamed=no -AC_ARG_ENABLE(hostnamed, AS_HELP_STRING([--disable-hostnamed], [disable hostname daemon])) -if test "x$enable_hostnamed" != "xno"; then - have_hostnamed=yes -fi -AM_CONDITIONAL(ENABLE_HOSTNAMED, [test "$have_hostnamed" = "yes"]) - -# ------------------------------------------------------------------------------ -have_timedated=no -AC_ARG_ENABLE(timedated, AS_HELP_STRING([--disable-timedated], [disable timedate daemon])) -if test "x$enable_timedated" != "xno"; then - have_timedated=yes -fi -AM_CONDITIONAL(ENABLE_TIMEDATED, [test "$have_timedated" = "yes"]) - -# ------------------------------------------------------------------------------ -have_timesyncd=no -AC_ARG_ENABLE(timesyncd, AS_HELP_STRING([--disable-timesyncd], [disable timesync daemon])) -if test "x$enable_timesyncd" != "xno"; then - have_timesyncd=yes - M4_DEFINES="$M4_DEFINES -DENABLE_TIMESYNCD" -fi -AM_CONDITIONAL(ENABLE_TIMESYNCD, [test "$have_timesyncd" = "yes"]) - -AC_ARG_WITH(ntp-servers, - AS_HELP_STRING([--with-ntp-servers=NTPSERVERS], - [Space-separated list of default NTP servers]), - [NTP_SERVERS="$withval"], - [NTP_SERVERS="time1.google.com time2.google.com time3.google.com time4.google.com"]) - -AC_DEFINE_UNQUOTED(NTP_SERVERS, ["$NTP_SERVERS"], [Default NTP Servers]) -AC_SUBST(NTP_SERVERS) - -AC_ARG_WITH(time-epoch, - AS_HELP_STRING([--with-time-epoch=SECONDS], - [Time epoch for time clients]), - [TIME_EPOCH="$withval"], - [TIME_EPOCH="`stat -c %Y ${srcdir}/NEWS 2>/dev/null || echo 0`"]) - -AC_DEFINE_UNQUOTED(TIME_EPOCH, [$TIME_EPOCH], [Time Epoch]) - # ------------------------------------------------------------------------------ AC_ARG_WITH(system-uid-max, AS_HELP_STRING([--with-system-uid-max=UID] @@ -606,14 +505,6 @@ AC_ARG_WITH(system-gid-max, AC_DEFINE_UNQUOTED(SYSTEM_GID_MAX, [$SYSTEM_GID_MAX], [Maximum System GID]) AC_SUBST(SYSTEM_GID_MAX) -# ------------------------------------------------------------------------------ -have_localed=no -AC_ARG_ENABLE(localed, AS_HELP_STRING([--disable-localed], [disable locale daemon])) -if test "x$enable_localed" != "xno"; then - have_localed=yes -fi -AM_CONDITIONAL(ENABLE_LOCALED, [test "$have_localed" = "yes"]) - # ------------------------------------------------------------------------------ have_coredump=no AC_ARG_ENABLE(coredump, AS_HELP_STRING([--disable-coredump], [disable coredump hook])) @@ -649,25 +540,6 @@ AC_ARG_WITH(dns-servers, AC_DEFINE_UNQUOTED(DNS_SERVERS, ["$DNS_SERVERS"], [Default DNS Servers]) AC_SUBST(DNS_SERVERS) -# ------------------------------------------------------------------------------ -have_networkd=no -AC_ARG_ENABLE(networkd, AS_HELP_STRING([--disable-networkd], [disable networkd])) -AS_IF([test "x$enable_networkd" != "xno"], [ - AC_DEFINE(ENABLE_NETWORKD, 1, [Define if networkd support is to be enabled]) - have_networkd=yes - M4_DEFINES="$M4_DEFINES -DENABLE_NETWORKD" -]) -AM_CONDITIONAL(ENABLE_NETWORKD, [test "x$have_networkd" = "xyes"]) - -# ------------------------------------------------------------------------------ -have_efi=no -AC_ARG_ENABLE(efi, AS_HELP_STRING([--disable-efi], [disable EFI support])) -if test "x$enable_efi" != "xno"; then - AC_DEFINE(ENABLE_EFI, 1, [Define if EFI support is to be enabled]) - have_efi=yes -fi -AM_CONDITIONAL(ENABLE_EFI, [test "x$have_efi" = "xyes"]) - # ------------------------------------------------------------------------------ EFI_CC=gcc AC_SUBST([EFI_CC]) @@ -988,25 +860,10 @@ AC_MSG_RESULT([ SECCOMP: ${have_seccomp} SMACK: ${have_smack} ACL: ${have_acl} - firstboot: ${have_firstboot} - randomseed: ${have_randomseed} - backlight: ${have_backlight} - rfkill: ${have_rfkill} - logind: ${have_logind} - machined: ${have_machined} - importd: ${have_importd} - hostnamed: ${have_hostnamed} - timedated: ${have_timedated} - timesyncd: ${have_timesyncd} - default NTP servers: ${NTP_SERVERS} - time epoch: ${TIME_EPOCH} - localed: ${have_localed} - networkd: ${have_networkd} resolved: ${have_resolved} default DNS servers: ${DNS_SERVERS} coredump: ${have_coredump} polkit: ${have_polkit} - efi: ${have_efi} gnuefi: ${have_gnuefi} efi arch: ${EFI_ARCH} EFI machine type: ${EFI_MACHINE_TYPE_NAME}