IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 1, 2007, 12:36:20 AM (19 years ago)
Author:
eugene
Message:

fixing build tools

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/psconfig.sh

    r11942 r12133  
    33
    44# list the defined psconfig versions
     5set show_prefix = 0
     6set show_libs = 0
     7set show_bin = 0
     8set show_arch = 0
     9set show_path = 0
    510set show_configure = 0
    611set show_autogen = 0
    712set show_perlbuild = 0
     13set show_perdldir = 0
    814set show_perl5lib = 0
    9 set show_prefix = 0
    10 set show_libs = 0
    11 set show_bin = 0
     15set show_psversion = 0
     16set show_psconfdir = 0
     17set show_ld_library_path = 0
     18set show_pkg_config_path = 0
     19set show_aclocal_flags = 0
    1220set args = ""
    1321while ($#argv)
     
    3644      set show_perlbuild = 1
    3745      breaksw;
     46    case --perldir:
     47      set show_perldir = 1
     48      breaksw;
    3849    case --perl5lib:
    3950      set show_perl5lib = 1
     51      breaksw;
     52    case --psversion
     53      set show_psversion = 1
     54      breaksw;
     55    case --psconfdir
     56      set show_psconfdir = 1
     57      breaksw;
     58    case --ld_library_path
     59      set show_ld_library_path = 1
     60      breaksw;
     61    case --pkg_config_path
     62      set show_pkg_config_path = 1
     63      breaksw;
     64    case --arch
     65      set show_arch = 1
     66      breaksw;
     67    case --path
     68      set show_path = 1
     69      breaksw;
     70    case --aclocal_flags
     71      set show_aclocal_flags = 1
    4072      breaksw;
    4173    case -*:
     
    293325endif
    294326
     327if ($show_perldir) then
     328  echo $plibdir
     329  exit 0
     330endif
     331
    295332if ($show_perl5lib) then
    296   echo $plibdir
    297   exit 0
    298 endif
     333  echo $PERL5LIB
     334  exit 0
     335endif
     336
     337if ($show_psversion) then
     338  echo $PSVERSION
     339  exit 0
     340endif
     341
     342if ($show_psconfdir) then
     343  echo $PSCONFDIR
     344  exit 0
     345endif
     346
     347if ($show_ld_library_path) then
     348  echo $LD_LIBRARY_PATH
     349  exit 0
     350endif
     351
     352if ($show_pkg_config_path) then
     353  echo $PKG_CONFIG_PATH
     354  exit 0
     355endif
     356
     357if ($show_arch) then
     358  echo $ARCH
     359  exit 0
     360endif
     361
     362if ($show_path) then
     363  echo $PATH
     364  exit 0
     365endif
     366
     367if ($show_aclocal_flags) then
     368  echo $ACLOCAL_FLAGS
     369  exit 0
     370endif
     371
     372
    299373
    300374exit 0
Note: See TracChangeset for help on using the changeset viewer.