IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11753


Ignore:
Timestamp:
Feb 12, 2007, 1:02:17 PM (19 years ago)
Author:
eugene
Message:

adding libpaths needed on solaris

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/configure.tcsh

    r11748 r11753  
    117117if ($#args != 1) goto usage
    118118
    119 set syslibpath = "/lib /usr/lib /usr/X11R6/lib /usr/openwin/lib"
     119set syslibpath = "/lib /usr/lib /usr/X11R6/lib /usr/openwin/lib /usr/local/lib"
    120120set needlibs   = "png z jpeg readline X11 pthread m"
    121121
    122 set sysincpath = "/usr/include /usr/X11R6/include /usr/openwin/include"
     122# /usr/local/include/libpng is really pretty lame...
     123set sysincpath = "/usr/include /usr/local/include /usr/X11R6/include /usr/openwin/include /usr/local/include/libpng"
    123124
    124125set needincs = ""
     
    185186   endif
    186187   # sun (at least) seems to need the socket library (linux does not)
    187    set needlibs = "$needlibs libsocket libnsl"
     188   # set needlibs = "$needlibs libsocket libnsl"
    188189   breaksw;
    189190 case Linux:
     
    193194   if ("$mach" == "x86_64") then
    194195    set arch="lin64";
    195     set syslibpath = "/lib64 /lib /usr/lib64 /usr/lib /usr/X11R6/lib64 /usr/X11R6/lib"
     196    set syslibpath = "/lib64 /usr/lib64 /usr/X11R6/lib64 $syslibpath"
    196197   endif
    197198   breaksw;
     
    232233foreach f ( $needlibs )
    233234    foreach g ( $syslibpath $lib $libpath )
     235        if (! -e $g) continue
    234236        set name = $g/lib$f.a
    235237        if (-e $name[1]) goto got_lib;
Note: See TracChangeset for help on using the changeset viewer.