Changeset 22709
- Timestamp:
- Feb 27, 2009, 12:41:31 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/psconfig/pschecklibs (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psconfig/pschecklibs
r21932 r22709 157 157 158 158 if ($auto_force eq "Y") { 159 print "$name will be built\n";159 print "$name will be built\n"; 160 160 } 161 161 162 162 if ($found) { 163 if ($found eq "runtime-only") {164 print "runtime $name ($found)\n";165 push @faillibs, "$name";166 } else {167 print "pass $name ($found)\n";168 }163 if ($found eq "runtime-only") { 164 print "runtime $name ($found)\n"; 165 push @faillibs, "$name"; 166 } else { 167 print "pass $name ($found)\n"; 168 } 169 169 next; 170 170 } else { … … 174 174 175 175 if ($auto_force eq "Y") { 176 print "$name will be built\n";176 print "$name will be built\n"; 177 177 } 178 178 … … 254 254 if ($?) { &failure($name, "failure in configure"); } 255 255 256 my $make = "make"; # Command for make 257 $make .= ' ' . $ENV{'PSCONFIG_MAKEOPTS'} if defined $ENV{'PSCONFIG_MAKEOPTS'}; 258 256 259 if ($make_opts eq "NONE") { 257 vsystem ( "make");260 vsystem ($make); 258 261 } else { 259 262 $make_opts = join (' ', split (',', $make_opts)); 260 vsystem (" make $make_opts");263 vsystem ("$make $make_opts"); 261 264 } 262 265 if ($?) { &failure($name, "failure in make"); } 263 266 264 267 if ($install_opts eq "NONE") { 265 vsystem (" make install");268 vsystem ("$make install"); 266 269 } else { 267 270 $install_opts = join (' ', split (',', $install_opts)); 268 vsystem (" make install $install_opts");271 vsystem ("$make install $install_opts"); 269 272 } 270 273 if ($?) { &failure($name, "failure in make install"); } … … 315 318 # versions libraries if we find only a .so.N without a matching 316 319 # .so, we link this in the installed libdir 317 # XXX this was probably a mistake to allow some systems to build without supplied libs318 if (1) {319 foreach $topdir ( @libpath ) {320 foreach $subdir ( @subdirs ) {321 if ($subdir eq ".") {322 $path = $topdir;323 } else {324 $path = "$topdir/$subdir";325 }326 if (! -e $path) { next; }327 @libnames = <$path/$tryname.$dlltype*>;328 if (@libnames > 0) {329 $libname = @libnames[-1];330 $needdev = 1;331 # print " *** need developer version of $name\n";332 return "runtime-only";333 334 # XXX old option: link in existing library335 # symlink $libname, "$libdir/$f.$dlltype";336 # if ($?) { exit 1; }337 # return $libname;338 }339 }340 }341 }320 # XXX this was probably a mistake to allow some systems to build without supplied libs 321 if (1) { 322 foreach $topdir ( @libpath ) { 323 foreach $subdir ( @subdirs ) { 324 if ($subdir eq ".") { 325 $path = $topdir; 326 } else { 327 $path = "$topdir/$subdir"; 328 } 329 if (! -e $path) { next; } 330 @libnames = <$path/$tryname.$dlltype*>; 331 if (@libnames > 0) { 332 $libname = @libnames[-1]; 333 $needdev = 1; 334 # print " *** need developer version of $name\n"; 335 return "runtime-only"; 336 337 # XXX old option: link in existing library 338 # symlink $libname, "$libdir/$f.$dlltype"; 339 # if ($?) { exit 1; } 340 # return $libname; 341 } 342 } 343 } 344 } 342 345 } 343 346 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.
