summaryrefslogtreecommitdiff
path: root/vtysh/extract.pl.in
diff options
context:
space:
mode:
authorpaul <paul>2004-09-13 12:59:08 +0000
committerpaul <paul>2004-09-13 12:59:08 +0000
commitb63dc1f30ee935184918becd4dbfd535c632c620 (patch)
tree101c63423965284c7a0a7e8aeb67bd7c4425b4f5 /vtysh/extract.pl.in
parent33394766a502eff6315bd8d9b1c43a773b2ec35b (diff)
2004-09-13 Paul Jakma <paul@dishone.st>
* Makefile.am: remove zebra/irdp.c from list - dead. * extract.pl.in: Substitute in the autoconf srcdir/builddir paths for includes to cpp.
Diffstat (limited to 'vtysh/extract.pl.in')
-rwxr-xr-xvtysh/extract.pl.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in
index ae83a2e8..053b17e9 100755
--- a/vtysh/extract.pl.in
+++ b/vtysh/extract.pl.in
@@ -1,5 +1,7 @@
#! @PERL@
##
+## @configure_input@
+##
## Virtual terminal interface shell command extractor.
## Copyright (C) 2000 Kunihiro Ishiguro
##
@@ -54,7 +56,7 @@ $ignore{'"show route-map"'} = "ignore";
foreach (@ARGV) {
$file = $_;
- open (FH, "cpp -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I. -I.. -I../lib $file |");
+ open (FH, "cpp -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib $file |");
local $/; undef $/;
$line = <FH>;
close (FH);