[project @ 2002-01-09 10:29:32 by simonmar]
authorsimonmar <unknown>
Wed, 9 Jan 2002 10:29:32 +0000 (10:29 +0000)
committersimonmar <unknown>
Wed, 9 Jan 2002 10:29:32 +0000 (10:29 +0000)
Back out previous fix, I've hacked it in a different place which is at
least closer to the source of the problem.

glafp-utils/mkdependC/mkdependC.prl

index 2bce81e..26ce208 100644 (file)
@@ -127,15 +127,8 @@ sub mangle_command_line_args {
                push(@Src_files, $_);
            }
 
-       } elsif ($Dashdashes_seen == 1) {
-           if ( /^-package-name$/ ) {
-               # Skip option argument
-               shift(@ARGV);
-           } elsif ( /^-/ ) {
-               # Ignore unknown option
-           } else {
-               push(@Src_files,$_);
-           }
+       } elsif ($Dashdashes_seen == 1) { # where we ignore unknown options
+           push(@Src_files,$_) if ! /^-/;
        }
     }
 }