From: Dmitrij Tejblum Date: Tue, 27 Sep 2011 15:27:17 +0000 (+0400) Subject: vtysh: [build] silence preprocessor errors in some cases X-Git-Tag: frr-2.0-rc1~2006 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=566b36ebf903fd873c974ba34c19097d8fb48ce4;p=mirror%2Ffrr.git vtysh: [build] silence preprocessor errors in some cases * extract.pl.in: use configured CPPFLAGS in cpp invocation. --- diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in index 0b9ee516d1..6f1ee93377 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 = ; close (FH);