From 17801d1e8bf377ec8e4962dda0293de935629903 Mon Sep 17 00:00:00 2001 From: Dmitrij Tejblum Date: Tue, 27 Sep 2011 19:27:17 +0400 Subject: vtysh: [build] silence preprocessor errors in some cases * extract.pl.in: use configured CPPFLAGS in cpp invocation. --- vtysh/extract.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vtysh') 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 = ; close (FH); -- cgit v1.2.1