]> git.puffer.fish Git - mirror/frr.git/commitdiff
vtysh: [build] silence preprocessor errors in some cases
authorDmitrij Tejblum <tejblum@yandex-team.ru>
Tue, 27 Sep 2011 15:27:17 +0000 (19:27 +0400)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 17 Oct 2011 15:00:02 +0000 (19:00 +0400)
* extract.pl.in: use configured CPPFLAGS in cpp invocation.

vtysh/extract.pl.in

index 0b9ee516d16a6a72d02bbc48e9d8cf419ec93f46..6f1ee93377da66ceea7486e471fb6cecc36f7423 100755 (executable)
@@ -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);