From fd9aeebfe95b73aa7f1b5539806eee8b4b23f0c6 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Sat, 5 Jun 2010 04:19:11 +0700 Subject: [PATCH] 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. --- ChangeLog | 5 +++++ libltdl/config/getopt.m4sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 89be0939d..756752721 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-06-05 Gary V. Vaughan + 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. diff --git a/libltdl/config/getopt.m4sh b/libltdl/config/getopt.m4sh index 6e0e2c61e..74491d0cd 100644 --- a/libltdl/config/getopt.m4sh +++ b/libltdl/config/getopt.m4sh @@ -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], -- 2.47.3