IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17490


Ignore:
Timestamp:
Apr 29, 2008, 7:18:58 AM (18 years ago)
Author:
Paul Price
Message:

Allowing force all, and turning off building zlib, since it won't build under psconfig.

Location:
trunk/psconfig
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/pschecklibs

    r17160 r17490  
    131131
    132132    if ($force ne "") {
    133         if ($force eq $name) {
     133        if ($force eq $name or (lc($force) eq "all" and lc($tarball) ne "none")) {
    134134            &buildlib ($name, $tarball, $tardir, $use_equals, $configure_opts, $make_opts, $install_opts);
    135             exit 0;
     135#           exit 0;
    136136        }
    137137        next;
     
    182182sub buildlib {
    183183    my ($name, $tarball, $tardir, $use_equals, $configure_opts, $make_opts, $install_opts) = @_;
     184
     185    if ($name eq "libz") {
     186        print "zlib doesn't like psconfigure --- you have to build this yourself.";
     187        return 1;
     188    }
    184189
    185190    if ($tarball eq "NONE") {
  • trunk/psconfig/pscheckperl

    r16523 r17490  
    55$version = "";
    66$build = 0;
     7my %force;   # Names of module to force build
    78@tARGV = ();
    89for (; @ARGV > 0; ) {
     
    1415        $build = 1;
    1516        shift; next;
     17    }
     18    if ($ARGV[0] eq "-force") {
     19        $force{$ARGV[1]} = 1;
     20        shift; shift; next;
    1621    }
    1722    if ($ARGV[0] eq "-h")     { &usage (); }
     
    7984
    8085    print "$module: missing\n";
    81     if (!$build) {
     86    unless ($build or defined $force{$module} or defined $force{'all'}) {
    8287        $Nmissing ++;
    8388        push @missing, $module;
Note: See TracChangeset for help on using the changeset viewer.