summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-10-29 10:08:09 +0000
committerMartin Mares <mj@ucw.cz>1999-10-29 10:08:09 +0000
commit54165b1315dd09b0ea97705367b73086131c1ed8 (patch)
treefbe41c0c4d17a728b7d703f15940511e4f267a02 /sysdep
parented6081502ad814289b9b7b5537658c3b1ad435e5 (diff)
Configure PATH_CONTROL_SOCKET.
autoconf.h is now written to obj/sysdep, the source tree is hopefully completely read-only now.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/autoconf.h.in3
-rw-r--r--sysdep/config.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/sysdep/autoconf.h.in b/sysdep/autoconf.h.in
index 6c76f1a9..8d2ebf38 100644
--- a/sysdep/autoconf.h.in
+++ b/sysdep/autoconf.h.in
@@ -44,5 +44,8 @@
/* Path to configuration files */
#define PATH_CONFIG_DIR ?
+/* Path to control socket */
+#define PATH_CONTROL_SOCKET_DIR ?
+
/* Are we using dmalloc? */
#undef HAVE_LIBDMALLOC
diff --git a/sysdep/config.h b/sysdep/config.h
index 6b2f94ab..4699b4f7 100644
--- a/sysdep/config.h
+++ b/sysdep/config.h
@@ -39,5 +39,6 @@ typedef u16 word;
/* Path to configuration file */
#define PATH_CONFIG PATH_CONFIG_DIR "/bird.conf"
+#define PATH_CONTROL_SOCKET PATH_CONTROL_SOCKET_DIR "/bird.ctl"
#endif