summaryrefslogtreecommitdiff
path: root/vtysh
diff options
context:
space:
mode:
authorVincent Bernat <bernat@luffy.cx>2012-05-22 22:29:17 +0200
committerVincent Bernat <bernat@luffy.cx>2012-06-25 19:03:23 +0200
commit08d7f6533ecc0f935a76918c462982004534864d (patch)
tree0e67590a8a2aba551439c46bfa8b33d7fba4feb7 /vtysh
parent6b1e37f8537fa2a4560de32e83ca5089763e2d39 (diff)
build: use net-snmp-config to configure NetSNMP
The correct method to link to NetSNMP is to use net-snmp-config (which is like pkg-config). Explicit link to libcrypto is also dropped (NetSNMP libs are linked to libcrypto, no need to link Quagga to it). Moreover, @SNMP_INCLUDES@ is dropped because useless. Due to a bug in configure.ac, it was properly populated.
Diffstat (limited to 'vtysh')
-rwxr-xr-xvtysh/extract.pl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/extract.pl.in b/vtysh/extract.pl.in
index 99224f80..2dbaf0a1 100755
--- a/vtysh/extract.pl.in
+++ b/vtysh/extract.pl.in
@@ -63,7 +63,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_builddir@/lib -I@top_srcdir@/isisd/topology @SNMP_INCLUDES@ @CPPFLAGS@ $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_builddir@/lib -I@top_srcdir@/isisd/topology @CPPFLAGS@ $file |");
local $/; undef $/;
$line = <FH>;
close (FH);