From: Sergiy Vyshnevetskiy <serg@vostok.net>

Subject: [PATCH] sockdir

"configure.ac" script ignores absent socket directory. So do all demons
(with just a puzzling complaint to _stderr_ only!). I added /tmp and
/var/tmp to the list of possible dirs. They should be present in most
configurations.
This commit is contained in:
paul 2003-05-07 16:12:43 +00:00
parent ccd57affea
commit bca84274cf

View File

@ -871,7 +871,8 @@ if test "${localstatedir}" = '${prefix}/var'; then
[for ZEBRA_SOCK_DIR in ${ac_sock_prefix}/var/run/zebra dnl [for ZEBRA_SOCK_DIR in ${ac_sock_prefix}/var/run/zebra dnl
${ac_sock_prefix}/var/run dnl ${ac_sock_prefix}/var/run dnl
${ac_sock_prefix}/var/adm dnl ${ac_sock_prefix}/var/adm dnl
${ac_sock_prefix}/tmp; dnl ${ac_sock_prefix}/tmp dnl
/tmp /var/tmp; dnl
do do
test -d $ZEBRA_SOCK_DIR && break test -d $ZEBRA_SOCK_DIR && break
done done