IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 8, 2008, 4:40:22 PM (18 years ago)
Author:
Paul Price
Message:

Adjusting behaviour for building zlib.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/pschecklibs

    r17490 r17597  
    183183    my ($name, $tarball, $tardir, $use_equals, $configure_opts, $make_opts, $install_opts) = @_;
    184184
     185    if ($tarball eq "NONE") {
     186        print "No tarball available for $name.  You'll have to build it yourself.\n";
     187        exit 1;
     188    }
     189
    185190    if ($name eq "libz") {
    186         print "zlib doesn't like psconfigure --- you have to build this yourself.";
    187         return 1;
    188     }
    189 
    190     if ($tarball eq "NONE") {
    191         print "ERROR: require tarball for $name\n";
    192         exit 1;
    193     }
    194 
    195     $psconfigure = `csh psconfig.csh --psconfigure $version`; chomp $psconfigure;
     191        # zlib doesn't like the full list of arguments to configure
     192        $psconfigure = "./configure --prefix=$prefix";
     193    } else {
     194        $psconfigure = `csh psconfig.csh --psconfigure $version`; chomp $psconfigure;
     195    }
     196
    196197    print "psconfigure: $psconfigure";
    197198
Note: See TracChangeset for help on using the changeset viewer.