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.

36 lines
872 B

  1. --- a/configure
  2. +++ b/configure
  3. @@ -14436,14 +14436,7 @@ fi
  4. # Find the right directory to put the root-mode PID file in
  5. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pid file location" >&5
  6. $as_echo_n "checking pid file location... " >&6; }
  7. -if test -d "/run"
  8. -then
  9. - piddir="/run"
  10. -elif test -d "/var/run"; then
  11. - piddir="/var/run"
  12. -elif test -d "/etc"; then
  13. - piddir="/etc"
  14. -fi
  15. +piddir="/var/run"
  16. cat >>confdefs.h <<_ACEOF
  17. --- a/configure.ac
  18. +++ b/configure.ac
  19. @@ -501,14 +501,7 @@ fi
  20. # Find the right directory to put the root-mode PID file in
  21. AC_MSG_CHECKING([pid file location])
  22. -if test -d "/run"
  23. -then
  24. - piddir="/run"
  25. -elif test -d "/var/run"; then
  26. - piddir="/var/run"
  27. -elif test -d "/etc"; then
  28. - piddir="/etc"
  29. -fi
  30. +piddir="/var/run"
  31. AC_DEFINE_UNQUOTED([PIDDIR], "$piddir",
  32. [Define to the pid storage directory.])