use u32 instead, add --with

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@697 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-14 06:38:54 +00:00
parent 171c44c37a
commit 37b61be9f9
21 changed files with 17764 additions and 17744 deletions

View File

@@ -67,11 +67,14 @@ my @features_keys = (
);
foreach my $l (@ARGV) {
if ($l =~ /^--(with|enable)-(.+)$/) {
param_set($2, 1);
if($l =~ /^--with-([^=]+)=(.+)$/){
param_set($1, $2);
}
elsif ($l =~ /^--(without|disable)-(.+)$/) {
param_set($2, 0);
elsif ($l =~ /^--(?:with|enable)-(.+)$/) {
param_set($1, 1);
}
elsif ($l =~ /^--(?:without|disable)-(.+)$/) {
param_set($1, 0);
}
elsif ($l =~ /^--target=(.+)$/) {
$target = $1;