IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30904


Ignore:
Timestamp:
Mar 14, 2011, 3:21:56 PM (15 years ago)
Author:
eugene
Message:

add option to use the fink-installed packages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/psconfig/psconfig.csh.in

    r28191 r30904  
    2222set show_pkg_config_path = 0
    2323set show_aclocal_flags = 0
     24set use_fink = 0
    2425set args = ""
    2526while ($#argv)
     
    8889      set show_aclocal_flags = 1
    8990      breaksw;
     91    case --use-fink
     92      set use_fink = 1
     93      breaksw;
    9094    case -*:
    9195      echo "unknown option $1"
     
    323327 case darwin:
    324328 case darwin_x86:
    325    set xtralibs = ( $xtralibs "/sw/lib" )
    326    set xtrapath = ( $xtrapath "/sw/include" )
     329   if ($use_fink)
     330     set xtralibs = ( $xtralibs "/sw/lib" )
     331     set xtrapath = ( $xtrapath "/sw/include" )
     332   endif
    327333   breaksw;
    328334
     
    550556  echo "       psconfig --cpath"
    551557  echo "       psconfig --aclocal_flags"
     558  echo "       psconfig --use-fink"
    552559  echo
    553560  echo "       psconfig --list    : list currently availabe configuration versions"
Note: See TracChangeset for help on using the changeset viewer.