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.
diff --git a/configure.ac b/configure.ac
index 6a0cf3b..bdc87e3 100755
--- a/configure.ac
+++ b/configure.ac
@@ -871,7 +871,8 @@
[for ZEBRA_SOCK_DIR in ${ac_sock_prefix}/var/run/zebra dnl
${ac_sock_prefix}/var/run dnl
${ac_sock_prefix}/var/adm dnl
- ${ac_sock_prefix}/tmp; dnl
+ ${ac_sock_prefix}/tmp dnl
+ /tmp /var/tmp; dnl
do
test -d $ZEBRA_SOCK_DIR && break
done