From: Akim Demaille Date: Mon, 4 Sep 2000 14:50:50 +0000 (+0000) Subject: * autoscan.pl: Repair broken Getopt::Long use. X-Git-Tag: autoconf-2.50~649 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=287ac9cdb89738633966ea686a89fa63902cb1db;p=thirdparty%2Fautoconf.git * autoscan.pl: Repair broken Getopt::Long use. --- diff --git a/ChangeLog b/ChangeLog index 6db0c02b3..1d0ae47e2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2000-09-04 Peter Eisentraut + + * autoscan.pl: Repair broken Getopt::Long use. + 2000-09-04 Akim Demaille * configure.in: Bump version to 2.49b. diff --git a/autoscan.in b/autoscan.in index a64bee843..6f2a0d6e7 100644 --- a/autoscan.in +++ b/autoscan.in @@ -76,11 +76,11 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"; # Process any command line arguments. sub parse_args { - Getopt::Long::Configure ("bundling"); + Getopt::Long::config ("bundling"); Getopt::Long::GetOptions ("A|autoconf-dir|m|macrodir=s" => \$datadir, "h|help" => \&print_usage, "V|version" => \&print_version, - "v|verbose+" => \$verbose) + "v|verbose" => \$verbose) or exit 1; die "$me: too many arguments diff --git a/autoscan.pl b/autoscan.pl index a64bee843..6f2a0d6e7 100644 --- a/autoscan.pl +++ b/autoscan.pl @@ -76,11 +76,11 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"; # Process any command line arguments. sub parse_args { - Getopt::Long::Configure ("bundling"); + Getopt::Long::config ("bundling"); Getopt::Long::GetOptions ("A|autoconf-dir|m|macrodir=s" => \$datadir, "h|help" => \&print_usage, "V|version" => \&print_version, - "v|verbose+" => \$verbose) + "v|verbose" => \$verbose) or exit 1; die "$me: too many arguments diff --git a/bin/autoscan.in b/bin/autoscan.in index a64bee843..6f2a0d6e7 100644 --- a/bin/autoscan.in +++ b/bin/autoscan.in @@ -76,11 +76,11 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"; # Process any command line arguments. sub parse_args { - Getopt::Long::Configure ("bundling"); + Getopt::Long::config ("bundling"); Getopt::Long::GetOptions ("A|autoconf-dir|m|macrodir=s" => \$datadir, "h|help" => \&print_usage, "V|version" => \&print_version, - "v|verbose+" => \$verbose) + "v|verbose" => \$verbose) or exit 1; die "$me: too many arguments