summaryrefslogtreecommitdiff
path: root/vtysh
diff options
context:
space:
mode:
authorDmitrij Tejblum <tejblum@yandex-team.ru>2011-09-27 19:27:17 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2011-10-17 18:14:36 +0400
commit17801d1e8bf377ec8e4962dda0293de935629903 (patch)
tree25c820e49717f2016ac7d403ef70359c07e0e4da /vtysh
parentd14a71d7209dc642f83929e48b525631a1bb09cb (diff)
vtysh: [build] silence preprocessor errors in some cases
* extract.pl.in: use configured CPPFLAGS in cpp invocation.
Diffstat (limited to 'vtysh')
-rwxr-xr-xvtysh/extract.pl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in
index 0b9ee516..6f1ee933 100755
--- a/vtysh/extract.pl.in
+++ b/vtysh/extract.pl.in
@@ -62,7 +62,7 @@ $ignore{'"show history"'} = "ignore";
foreach (@ARGV) {
$file = $_;
- open (FH, "cpp -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib -I@top_srcdir@/isisd/topology @SNMP_INCLUDES@ $file |");
+ open (FH, "cpp -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib -I@top_srcdir@/isisd/topology @SNMP_INCLUDES@ @CPPFLAGS@ $file |");
local $/; undef $/;
$line = <FH>;
close (FH);