blob: 92d2fff56acf5c31651cf5ea164915222706f7cf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
--- Makefile.PL.ORIG Wed Oct 21 11:12:12 1998
+++ Makefile.PL Wed Oct 21 11:24:10 1998
@@ -26,6 +26,10 @@
$snmp_lib = 'libsnmp.dll';
$snmp_llib = 'libsnmp';
$sep = '\\';
+} elsif ($Config{'osname'} eq 'freebsd') {
+ $snmp_lib = 'libsnmp.so';
+ $snmp_llib = 'snmp';
+ $sep = '/';
} else {
$snmp_lib = 'libsnmp.a';
$snmp_llib = 'snmp';
@@ -79,8 +83,8 @@
}
$host ||= 'localhost';
$comm ||= 'private';
- my $resp = prompt("Enter host and community for SNMP tests: ",
- "$host $comm");
+ $resp = "$host $comm";
+ # my $resp = prompt("Enter host and community for SNMP tests: ", "$host $comm");
open(H, ">host") || die "Error: could not open file 'host' ($!)";
print H "$resp\n";
close H;
|