Use macros to define --with options

This commit is contained in:
Martin Willi
2009-09-07 15:00:45 +02:00
parent b803bc82f4
commit b7b5653386
16 changed files with 69 additions and 127 deletions
+3 -3
View File
@@ -5,8 +5,8 @@ EXTRA_DIST = _updown.in
_updown : _updown.in
sed \
-e "s:@IPSEC_SBINDIR@:$(sbindir):" \
-e "s:\@IPSEC_ROUTING_TABLE\@:$(IPSEC_ROUTING_TABLE):" \
-e "s:\@IPSEC_ROUTING_TABLE_PRIO\@:$(IPSEC_ROUTING_TABLE_PRIO):" \
-e "s:\@sbindir\@:$(sbindir):" \
-e "s:\@routing_table\@:$(routing_table):" \
-e "s:\@routing_table_prio\@:$(routing_table_prio):" \
$(srcdir)/$@.in > $@
chmod +x $@