From: Gary V. Vaughan Date: Tue, 2 Oct 2012 13:44:54 +0000 (+0700) Subject: libtool: unroll complex nested compound statements X-Git-Tag: v2.4.2.418~168^2~1 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=aab804836706faa5538b56f5b4bfe5af6f2b048b;p=thirdparty%2Flibtool.git libtool: unroll complex nested compound statements * build-aux/ltmain.m4sh: Use an if statement instead of ugified compound statements. Signed-off-by: Gary V. Vaughan --- diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh index 5e879e8b8..1692eb8c6 100644 --- a/build-aux/ltmain.m4sh +++ b/build-aux/ltmain.m4sh @@ -8680,8 +8680,9 @@ relink_command=\"$relink_command\"" exit $EXIT_SUCCESS } -{ test link = "$opt_mode" || test relink = "$opt_mode"; } && - func_mode_link ${1+"$@"} +if test link = "$opt_mode" || test relink = "$opt_mode"; then + func_mode_link ${1+"$@"} +fi # func_mode_uninstall arg... @@ -8853,8 +8854,9 @@ func_mode_uninstall () exit $exit_status } -{ test uninstall = "$opt_mode" || test clean = "$opt_mode"; } && - func_mode_uninstall ${1+"$@"} +if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then + func_mode_uninstall ${1+"$@"} +fi test -z "$opt_mode" && { help=$generic_help