]> git.puffer.fish Git - mirror/frr.git/commitdiff
* extract.pl.in: Use SNMP_INCLUDES to avoid warnings if compiling with
authorhasso <hasso>
Mon, 28 Mar 2005 15:38:16 +0000 (15:38 +0000)
committerhasso <hasso>
Mon, 28 Mar 2005 15:38:16 +0000 (15:38 +0000)
  snmp support.

vtysh/ChangeLog
vtysh/extract.pl.in

index 9d6d3c09a6f04cab49108433f149d0c839830ba0..ecf7c2fcc607452f7cdc0b722e48313d647e3f21 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-28 Hasso Tepper <hasso at quagga.net>
+
+       * extract.pl.in: Use SNMP_INCLUDES to avoid warnings if compiling with
+         snmp support.
+
 2005-03-09 Hasso Tepper <hasso at quagga.net>
 
        * vtysh_config.c: Move password commands to the AAA_NODE. It
index ef8c34ff3daec7fdb9f44108e6257185ba27f139..444fc9a544b3bbcc10bf5361baac859efe453403 100755 (executable)
@@ -61,7 +61,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 $file |");
+    open (FH, "cpp -DHAVE_CONFIG_H -DVTYSH_EXTRACT_PL -DHAVE_IPV6 -I@top_builddir@ -I@srcdir@/ -I@srcdir@/.. -I@top_srcdir@/lib @SNMP_INCLUDES@ $file |");
     local $/; undef $/;
     $line = <FH>;
     close (FH);