summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2011-04-28 00:31:37 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2011-04-28 00:31:37 +0200
commitacc93efd4c754cc995ee8edf52ce0bc45511062e (patch)
tree9e96b4b3b0801444d683770c5155acd27474d026 /tools
parent73272f04af40484b72451f541a986da996b0da58 (diff)
Use constants from /etc/iproute2/rt_* files.
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in
index 99ae2251..556eba5f 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -50,6 +50,7 @@ sysdep/paths.h:
echo >sysdep/paths.h "/* Generated by Makefile, don't edit manually! */"
echo >>sysdep/paths.h "#define PATH_CONFIG_DIR \"$(sysconfdir)\""
echo >>sysdep/paths.h "#define PATH_CONTROL_SOCKET_DIR \"$(localstatedir)/run\""
+ if test -n "@iproutedir@" ; then echo >>sysdep/paths.h "#define PATH_IPROUTE_DIR \"@iproutedir@\"" ; fi
tags:
cd $(srcdir) ; etags -lc `find $(static-dirs) $(addprefix $(objdir)/,$(dynamic-dirs)) $(client-dirs) -name *.[chY]`