IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 19, 2007, 1:03:48 PM (19 years ago)
Author:
eugene
Message:

added CPATH, fix order on paths

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/pschecklibs

    r12142 r12496  
    167167set nonomatch
    168168foreach f ( $needlibs )
    169     foreach g ( $syslibpath $libdir $libpath )
     169    foreach g ( $libdir $libpath $syslibpath )
    170170        if (! -e $g) continue
    171171        set name = $g/lib$f.a
     
    184184# check for termcap, curses, etc
    185185foreach f ( ncurses curses termcap )
    186     foreach g ( $syslibpath $libdir $libpath )
     186    foreach g ( $libdir $libpath $syslibpath )
    187187        set name = $g/lib$f.a
    188188        if (-e $name[1]) goto got_curses;
     
    207207endif   
    208208
     209# add the CPATH
     210if ($?CPATH) then
     211  set incpath = `echo $CPATH | tr ':' ' '`
     212else
     213  set incpath = ""
     214endif
     215
    209216# check for headers
    210217echo ""
     
    213220set incdirs = ""
    214221foreach f ( $needincs )
    215   foreach g ( $sysincpath $incdir )
     222  foreach g ( $incdir $incpath $sysincpath )
    216223    set name = "$g/$f"
    217224    if (-e $name) goto got_inc;
Note: See TracChangeset for help on using the changeset viewer.