* lib/Autom4te/General.pm (getopt): Use a more concise test.
+2012-01-15 Jim Meyering <meyering@redhat.com>
+
+ getopt: refine syntax of previous change
+ * lib/Autom4te/General.pm (getopt): Use a more concise test.
+
2011-01-15 Stefano Lattarini <stefano.lattarini@gmail.com>
getopt: remove hack for special handling of "-" argument
# FIXME: Lot of code duplication with automake here. It would probably
# be best to generalize our getopt() func and rip it out in a new module
# from which automake can sync.
- if (defined $ARGV[0] && $ARGV[0] =~ /^-./)
+ if (@ARGV && $ARGV[0] =~ /^-./)
{
my %argopts;
for my $k (keys %option)