Changeset 9847 for trunk/tools


Ignore:
Timestamp:
Feb 24, 2003, 3:51:46 PM (23 years ago)
Author:
bird
Message:

perl v5.00455

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/bin/buildenv.cmd

    r9724 r9847  
    1 /* $Id: buildenv.cmd,v 1.45 2003-01-23 14:10:20 bird Exp $
     1/* $Id: buildenv.cmd,v 1.46 2003-02-24 14:51:46 bird Exp $
    22 *
    33 * This is the master tools environment script. It contains environment
     
    2727     * Version
    2828     */
    29     sVersion = '1.0.16 [2003-01-23]';
     29    sVersion = '1.0.17 [2003-02-24]';
    3030
    3131    /*
     
    7474        say '   shownotconfigured   Show all tools which isn''t configured.'
    7575        say ''
    76         say 'Copyright (c) 1999-2002 knut st. osmundsen'
     76        say 'Copyright (c) 1999-2003 knut st. osmundsen'
    7777        say 'Published under GPL v2'
    7878        return 8;
     
    959959        aPath.i.sPId = 'mscv7-16';                  aPath.i.sPath = 'd:\dev\msc\v7.0';              i = i + 1;
    960960        aPath.i.sPId = 'mysql';                     aPath.i.sPath = 'd:\apps\mysql\v3.23.50b1';     i = i + 1;
    961       /*aPath.i.sPId = 'netqos2';                   aPath.i.sPath = 'e:\netqos2';                   i = i + 1;
    962         aPath.i.sPId = 'perl';                      aPath.i.sPath = 'e:\perllib';                   i = i + 1;
    963         aPath.i.sPId = 'python';                    aPath.i.sPath = 'e:\python';                    i = i + 1;*/
     961      /*aPath.i.sPId = 'netqos2';                   aPath.i.sPath = 'e:\netqos2';                   i = i + 1;*/
     962        aPath.i.sPId = 'perl';                      aPath.i.sPath = 'd:\dev\perl\v5.00455';         i = i + 1;
     963      /*aPath.i.sPId = 'python';                    aPath.i.sPath = 'e:\python';                    i = i + 1;*/
    964964        aPath.i.sPId = 'toolkit40';                 aPath.i.sPath = 'd:\dev\toolkit\v40csd1';       i = i + 1;
    965965      /*aPath.i.sPId = 'toolkit45';                 aPath.i.sPath = 'e:\toolkit45';                 i = i + 1;
     
    27782778return 0;
    27792779
    2780 /*
    2781  * PERL 5005_53
     2780
     2781/*
     2782 * PERL 5005_53 or 5.004_55
    27822783 */
    27832784Perl: procedure expose aCfg. aPath. sPathFile
     
    27872788     * Perl main directory.
    27882789     */
    2789 /* BAD
    2790     sPathPerl       = PathQuery('perl', sToolId, sOperation);
    2791     if (sPathPerl = '') then
    2792         return 1;
    2793     /* If config operation we're done now. */
    2794     if (pos('config', sOperation) > 0) then
    2795         return 0;
    2796 
    2797     /*
    2798      * Installing the environment variables.
    2799      */
    2800     sPathPerlForw   = translate(sPathPerl, '/', '\');
    2801     call EnvSet      fRM, 'PATH_PERL',      sPathPerl;
    2802     call EnvAddFront fRM, 'path',           sPathPerl'\bin;'
    2803     call EnvAddFront fRM, 'beginlibpath',   sPathPerl'\dll;'
    2804     call EnvAddEnd   fRM, 'bookshelf',      sPathPerl'\book;'
    2805     call EnvSet      fRM, 'perllib_prefix', sPathPerlForw'/lib;'sPathPerl'\lib'
    2806     call EnvSet      fRM, 'perl5lib',       sPathPerlForw'/lib/site_perl/5.00553/os2;'sPathPerlForw'/lib/site_perl/5.00553'
    2807     call EnvSet      fRM, 'perl5load',      '2'
    2808     call EnvSet      fRM, 'perl_sh_dir',    sPathPerlForw'/bin_sh/sh.exe'
    2809     call EnvSet      fRM, 'manpath',        sPathPerlForw'/man'
    2810     call EnvSet      fRM, 'perl_badlang',   '0'
    2811 /*    call EnvSet      fRM, 'LANG',           'en_US' /* dirty fix... */*/
    2812 */
    2813 /* seems ok */
    28142790    sPathPerl       = PathQuery('perl', sToolId, sOperation);
    28152791    if (sPathPerl = '') then
     
    28382814    if (pos('verify', sOperation) <= 0) then
    28392815        return 0;
     2816
     2817    sPerlDLL = 'perl.dll';
     2818    sVer     = '5.004_55';
     2819    f5005_53 = FileExists(sPathPerl'\dll\perlE0AC.dll');
     2820    if (f5005_53) then
     2821    do
     2822        sPerlDLL = 'perlE0AC.dll';
     2823        sVer     = '5.005_53';
     2824    end
    28402825    if (    \CfgVerifyFile(sPathPerl'\bin\perl.exe', fQuiet),
    2841         |   \CfgVerifyFile(sPathPerl'\dll\perlE0AC.dll', fQuiet),
     2826        |   \CfgVerifyFile(sPathPerl'\dll\'||sPerlDLL, fQuiet),
    28422827        ) then
    28432828        return 2;
    2844     rc = CheckCmdOutput('perl --version', 0, fQuiet, 'This is perl, version 5.005_53 built for os2');
     2829    rc = CheckCmdOutput('perl --version', 0, fQuiet, 'This is perl, version '||sVer||' built for os2');
    28452830return rc;
    28462831
Note: See TracChangeset for help on using the changeset viewer.