summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2012-10-02 20:44:54 +0700
committerGary V. Vaughan <gary@gnu.org>2012-10-02 21:08:00 +0700
commitaab804836706faa5538b56f5b4bfe5af6f2b048b (patch)
tree101bce928d375015443a3115c5e451b86830604f
parenta252d59d913c9635845721575695f78ca492757e (diff)
downloadlibtool-aab804836706faa5538b56f5b4bfe5af6f2b048b.tar.gz
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 <gary@gnu.org>
-rw-r--r--build-aux/ltmain.m4sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh
index 5e879e8b..1692eb8c 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