IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 15, 2008, 6:01:17 PM (19 years ago)
Author:
eugene
Message:

fixing various build issues: where to get mysql, options passed to extlibs, name cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/pschecklibs

    r16043 r16092  
    6363$mandir      = `csh psconfig.csh --man $version`;         chomp $mandir;
    6464$incdir      = `csh psconfig.csh --include $version`;     chomp $incdir;
     65$prefix      = `csh psconfig.csh --prefix $version`;      chomp $prefix;
     66
     67$homedir     = `pwd`; chomp $homedir;
     68$psconfdir   = `csh psconfig.csh --psconfdir $version`;   chomp $psconfdir;
    6569$psconfigure = `csh psconfig.csh --psconfigure $version`; chomp $psconfigure;
    66 $prefix      = `csh psconfig.csh --prefix $version`;      chomp $prefix;
    67 $homedir     = `pwd`; chomp $homedir;
    6870
    6971print "psconfig version: $version\n";
     
    113115print "\n";
    114116
    115 if ($build && ! -d $PSCONFDIR) {
    116     mkdir $PSCONFDIR || die "unable to create psconfig dir $PSCONFDIR";
     117if ($build && ! -d $psconfdir) {
     118    mkdir $psconfdir || die "unable to create psconfig dir $psconfdir";
    117119}
    118120
     
    200202    # build the library using psconfigure, make, make install
    201203    if ($configure_opts eq "NONE") {
    202         if ($use_equals eq "Y") {
    203             vsystem ("configure --prefix=$prefix");
    204         } else {
    205             vsystem ("configure --prefix $prefix");
    206         }
     204        vsystem ("$psconfigure");
    207205    } else {
    208206        $configure_opts = join (' ', split (',', $configure_opts));
    209         vsystem ("configure --prefix=$prefix $configure_opts");
     207        vsystem ("$psconfigure $configure_opts");
    210208    }
    211209    if ($?) { &failure($name, "failure in configure"); }
Note: See TracChangeset for help on using the changeset viewer.