Changeset 20297
- Timestamp:
- Oct 21, 2008, 11:08:26 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psconfig/pschecklibs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psconfig/pschecklibs
r19604 r20297 131 131 if (($auto_force ne "Y") && ($auto_force ne "N")) { die "invalid value for auto_force field\n"; } 132 132 133 133 134 if ((defined $force{lc($name)} or defined $force{'all'}) and lc($tarball) ne "none") { 135 # remove it for the list so we can check for -force for a library 136 # not in the list 134 137 &buildlib ($name, $tarball, $tardir, $configure_opts, $make_opts, $install_opts); 138 $force{lc($name)} = undef; 135 139 next; 136 140 } … … 180 184 &buildlib ($name, $tarball, $tardir, $configure_opts, $make_opts, $install_opts); 181 185 } 182 if ($build) { exit 0; } 186 187 my $bad_force; 188 foreach $k (keys %force) { 189 print STDERR "\nERROR: -force used for $k which isn't in the list\n"; 190 $bad_force = 1; 191 } 192 if ($build) { 193 if ($bad_force) { 194 exit 1; 195 } 196 exit 0; 197 } 183 198 print "\n"; 184 199
Note:
See TracChangeset
for help on using the changeset viewer.
