Skip to content

Commit

Permalink
use new library finding scheme for HP's (look in /usr/local/lib expli…
Browse files Browse the repository at this point in the history
…citly)
  • Loading branch information
Jeff Schacter committed Apr 22, 1999
1 parent 0d190b3 commit 51fa64a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 4 additions & 3 deletions idl/mdsconnect.pro
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ Function MdsIPImage
'OSF' : return,'libMdsIpShr.so'
'sunos' : return,'libMdsIpShr.so'
'hp-ux' : begin
if getenv('MDS_SHLIB_PATH') eq '' then setenv_,'MDS_SHLIB_PATH=/usr/lib'
return,getenv('MDS_SHLIB_PATH')+'/libMdsIpShr.sl'
end
a=getenv('MDS_SHLIB_PATH')
if (a eq '') then a = '/usr/local/lib'
return,a+'/libMdsIpShr.sl'
end
'MacOS': return,!dir+'libMdsIpShr.lib'
'linux': return,'/home_ejet/ntcdemo/twf/mdsplus/shlib/libMdsIpShr.so'
else : message,'MDS is not supported on this platform',/IOERROR
Expand Down
6 changes: 5 additions & 1 deletion idl/mdsidlimage.pro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ Function MdsIdlImage
'IRIX' : return,'libMdsLibIdl.so'
'OSF' : return,'libMdsLibIdl.so'
'sunos' : return,'libMdsLibIdl.so'
'hp-ux' : return,getenv('MDS_SHLIB_PATH')+'/libMdsLibIdl.sl'
'hp-ux' : begin
a = getenv('MDS_SHLIB_PATH')
if (a eq '') then a = '/usr/local/lib'
return,a+'/libMdsLibIdl.sl'
end
'linux' : return,'libMdsLibIdl.so'
else : message,'MDS is not supported on this platform',/IOERROR
endcase
Expand Down

0 comments on commit 51fa64a

Please sign in to comment.