Changeset 16128
- Timestamp:
- Jan 17, 2008, 4:43:26 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psconfig/psbuild (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psconfig/psbuild
r16124 r16128 13 13 $verbose = 0; 14 14 15 $extlibs = "none"; 16 $extperl = "none"; 17 15 18 @tARGV = (); 16 19 for (; @ARGV > 0; ) { … … 23 26 shift; next; 24 27 } 28 if ($ARGV[0] eq "-extlibs") { 29 $extlibs = $ARGV[1]; 30 shift; shift; next; 31 } 32 if ($ARGV[0] eq "-extperl") { 33 $extperl = $ARGV[1]; 34 shift; shift; next; 35 } 25 36 if ($ARGV[0] eq "-clean") { 26 37 $clean = 1; 38 shift; next; 39 } 40 if ($ARGV[0] eq "-extcheck") { 41 $extlibs = "check"; 42 $extperl = "check"; 43 shift; next; 44 } 45 if ($ARGV[0] eq "-extbuild") { 46 $extlibs = "build"; 47 $extperl = "build"; 27 48 shift; next; 28 49 } … … 118 139 # use psconfig.csh to set needed build aliases 119 140 141 if ($extlibs eq "check") { 142 $status = vsystem ("pschecklibs"); 143 if ($status) { die "failed to find external libraries\n"; } 144 } 145 if ($extlibs eq "build") { 146 $status = vsystem ("pschecklibs -build"); 147 if ($status) { die "failed to build external libraries\n"; } 148 } 149 150 if ($extperl eq "check") { 151 $status = vsystem ("pschecklperl"); 152 if ($status) { die "failed to find external perl modules\n"; } 153 } 154 if ($extperl eq "build") { 155 $status = vsystem ("pscheckperl -build"); 156 if ($status) { die "failed to build external perl modules\n"; } 157 } 158 120 159 # set the psconfig version: 121 160 if ("$version" eq "") { … … 221 260 } 222 261 223 if (! -e "Makefile") { &failure($cvsname[$i], "missing makefile "); }262 if (! -e "Makefile") { &failure($cvsname[$i], "missing makefile: do you need to run the -dev developer build?"); } 224 263 225 264 if ($clean) {
Note:
See TracChangeset
for help on using the changeset viewer.
