From 1d66f5047dbbe097467ba66cbf6a77cbd42174f8 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Tue, 25 Jan 2005 20:28:57 +0000 Subject: [PATCH] * config/ltmain.m4sh: Fix endless loop in cmdline parsing. --- ChangeLog | 4 ++++ config/ltmain.m4sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8d9a4f9cd..f73323195 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-01-25 Ralf Wildenhues + + * config/ltmain.m4sh: Fix endless loop in cmdline parsing. + 2005-01-25 Albert Chin-A-Young * config/ltmain.m4sh (func_mode_link) [irix]: Preserve processor diff --git a/config/ltmain.m4sh b/config/ltmain.m4sh index 047e27765..ea99a8327 100644 --- a/config/ltmain.m4sh +++ b/config/ltmain.m4sh @@ -402,8 +402,8 @@ Otherwise, only FILE itself is deleted using RM." # sed scripts: my_sed_single_opt='1s/^\(..\).*$/\1/;q' my_sed_single_rest='1s/^..\(.*\)$/\1/;q' - my_sed_long_opt='1s/^\(--[[^=]]*\)=.*/\1/;q' - my_sed_long_arg='1s/^--[[^=]]*=//' + my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q' + my_sed_long_arg='1s/^-[[^=]]*=//' # Shorthand for --mode=foo, only valid as the first argument case $1 in -- 2.47.2