From aab804836706faa5538b56f5b4bfe5af6f2b048b Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Tue, 2 Oct 2012 20:44:54 +0700 Subject: [PATCH] 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 --- build-aux/ltmain.m4sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 -- 2.47.2