Shift correctly in numbered option argument collection.

* libltdl/config/getopt.m4sh (_m4go_option): Argument list also
needs to be `shift'ed in the shell option loop after processing a
numbered argument collection.
This commit is contained in:
Gary V. Vaughan 2010-06-05 04:19:11 +07:00
parent f369e07974
commit fd9aeebfe9
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,10 @@
2010-06-05 Gary V. Vaughan <gary@gnu.org>
Shift correctly in numbered option argument collection.
* libltdl/config/getopt.m4sh (_m4go_option): Argument list also
needs to be `shift'ed in the shell option loop after processing a
numbered argument collection.
Fetch from new upstream host for config.guess and config.sub.
* Makefile.maint (WGET_CGIT): Location of newest config.guess and
config.sub upstream.

View File

@ -357,7 +357,7 @@ dnl only write the file_arg fragment when we didn't already write opt_file_arg:
m4_bmatch([$3], [@], [m4_bmatch([$3], [?], [],
[m4_expand([m4go_file_arg([$1])])
])])m4_n(m4go_unindent([$6]))[]dnl
m4_bmatch([$3], [[!+]], [ shift
m4_bmatch([$3], [[!+;]], [ shift
]) ;;
])],
[m4_ifnblank([$2],