1997-07-02 13:06:58 +00:00
|
|
|
--- Makefile.PL.orig Tue Feb 27 20:35:19 1996
|
|
|
|
+++ Makefile.PL Wed Jul 2 09:04:10 1997
|
|
|
|
@@ -17,13 +17,9 @@
|
1997-06-27 01:53:14 +00:00
|
|
|
my @IncludeFiles = qw[asn1.h parse.h snmp.h snmp_api.h
|
|
|
|
snmp_client.h snmp_impl.h];
|
|
|
|
|
|
|
|
-my @IncludeDirs = qw[/usr/include /usr/local/include];
|
1997-07-02 13:06:58 +00:00
|
|
|
+my $IncludeDir = find_files(\@IncludeFiles, [ ( "$ENV{PREFIX}/include/snmp" ) ] );
|
1997-06-27 01:53:14 +00:00
|
|
|
|
1997-07-02 13:06:58 +00:00
|
|
|
-my $IncludeDir = find_files(\@IncludeFiles,\@IncludeDirs) ||
|
|
|
|
- prompt("Where are the cmu-snmpv2 include files installed?","/usr/local/include");
|
|
|
|
-
|
|
|
|
-my $LibDir = find_files(["libsnmp.a"],[qw[/usr/lib /usr/local/lib]]) ||
|
|
|
|
- prompt("Where is libsnmp.a installed?","/usr/local/lib");
|
|
|
|
+my $LibDir = find_files(["libsnmp.a"], [ ( "$ENV{PREFIX}/lib" ) ] );
|
|
|
|
|
|
|
|
@IncludeFiles = map {"$IncludeDir/$_";} @IncludeFiles;
|
|
|
|
$Params{LIBS} = "-L$LibDir -lsnmp";
|