76
79
$Params{'CCFLAGS'} = `$opts->{'nsconfig'} --cflags`;
77
80
chomp($Params{'CCFLAGS'});
78
81
$Params{'CCFLAGS'} .= " " . $Config{'ccflags'};
80
84
if (lc($opts->{'insource'}) eq "true") {
81
85
$Params{'LIBS'} = "-L../../snmplib/.libs -L../../snmplib/ " . $Params{'LIBS'};
82
86
$Params{'CCFLAGS'} = "-I../../include " . $Params{'CCFLAGS'};
85
89
if ($Params{'LIBS'} eq "" || $Params{'CCFLAGS'} eq "") {
86
90
die "You need to install net-snmp first (I can't find net-snmp-config)";