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.

35 lines
1.1 KiB

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