summaryrefslogtreecommitdiff
path: root/vtysh
diff options
context:
space:
mode:
authorhasso <hasso>2005-03-28 15:38:16 +0000
committerhasso <hasso>2005-03-28 15:38:16 +0000
commit7f22396bdc304c14f1c7ef0402ba9bd1450661b7 (patch)
tree45f231620cdec24c12b4b59be738dc144b4210d1 /vtysh
parent2d58228ecabb23b064e8a06e6241cf0d7e5ca785 (diff)
* extract.pl.in: Use SNMP_INCLUDES to avoid warnings if compiling with
snmp support.
Diffstat (limited to 'vtysh')
-rw-r--r--vtysh/ChangeLog5
-rwxr-xr-xvtysh/extract.pl.in2
2 files changed, 6 insertions, 1 deletions
diff --git a/vtysh/ChangeLog b/vtysh/ChangeLog
index 9d6d3c09..ecf7c2fc 100644
--- a/vtysh/ChangeLog
+++ b/vtysh/ChangeLog
@@ -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
diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in
index ef8c34ff..444fc9a5 100755
--- a/vtysh/extract.pl.in
+++ b/vtysh/extract.pl.in
@@ -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);