75
78
$Params{'CCFLAGS'} = `$opts->{'nsconfig'} --cflags`;
76
79
chomp($Params{'CCFLAGS'});
77
80
$Params{'CCFLAGS'} .= " " . $Config{'ccflags'};
78
82
if (lc($opts->{'insource'}) eq "true") {
79
83
$Params{'LIBS'} = "-L../../snmplib/.libs -L../../snmplib/ " . $Params{'LIBS'};
80
84
$Params{'CCFLAGS'} = "-I../../include " . $Params{'CCFLAGS'};
82
86
# $Params{'PREREQ_PM'} = {'SNMP' => '5.0'};
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)";