You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.2 KiB

  1. diff --git a/configure.ac b/configure.ac
  2. index b51bb31..4b37d30 100644
  3. --- a/configure.ac
  4. +++ b/configure.ac
  5. @@ -27,32 +27,6 @@ AC_CHECK_LIB([http_parser], [http_parser_execute],
  6. [AC_MSG_ERROR([http-parser required!])])
  7. PKG_CHECK_MODULES([jose], [jose >= 8])
  8. -PKG_CHECK_MODULES([systemd], [systemd])
  9. -
  10. -AC_ARG_WITH([systemdsystemunitdir],
  11. - [AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files])],
  12. - [],
  13. - [with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
  14. -
  15. -AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
  16. -
  17. -for ac_prog in systemd-socket-activate systemd-activate; do
  18. - AC_CHECK_PROG([SD_ACTIVATE], [$ac_prog], [$as_dir/$ac_prog], [],
  19. - [$PATH$PATH_SEPARATOR$($PKG_CONFIG --variable=systemdutildir systemd)])
  20. - test -n "$SD_ACTIVATE" && break
  21. -done
  22. -
  23. -test -n "$SD_ACTIVATE" || AC_MSG_ERROR([systemd-socket-activate required!])
  24. -
  25. -AC_MSG_CHECKING([systemd-socket-activate inetd flag])
  26. -if $SD_ACTIVATE --help | grep -q inetd; then
  27. - SD_ACTIVATE="$SD_ACTIVATE --inetd"
  28. - AC_MSG_RESULT([--inetd])
  29. -else
  30. - AC_MSG_RESULT([(default)])
  31. -fi
  32. -
  33. -AC_SUBST(SD_ACTIVATE)
  34. TANG_CFLAGS="\
  35. -Wall \