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.
diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in
index ae83a2e..053b17e 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 @@
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);