summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2012-09-16 17:47:04 +0700
committerGary V. Vaughan <gary@gnu.org>2012-09-16 17:59:49 +0700
commit864f33316d1d17ea1677fc0a4faa34a3d380d71e (patch)
treef20c38f8c79ddd06d443de0a99ee8364bae6cf7f
parent22f7f568aa24a7cc4764bec723c7531e69cee947 (diff)
downloadlibtool-864f33316d1d17ea1677fc0a4faa34a3d380d71e.tar.gz
syntax-check: remove useless_braces_in_variable_derefs.
* build-aux/general.m4sh: Remove spurious braces around ${ZSH_VERSION} dereference. * build-aux/ltmain.m4sh (func_mode_link): Likewise for ${wl}. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
-rw-r--r--build-aux/general.m4sh2
-rw-r--r--build-aux/ltmain.m4sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/general.m4sh b/build-aux/general.m4sh
index d505ba5b..82d932c6 100644
--- a/build-aux/general.m4sh
+++ b/build-aux/general.m4sh
@@ -78,7 +78,7 @@ basename='s|^.*/||'
# We should try to minimise forks, especially on Windows where they are
# unreasonably slow, so skip the feature probes when bash or zsh are
# being used:
-if test set = "${BASH_VERSION+set}${ZSH_VERSION}"; then
+if test set = "${BASH_VERSION+set}$ZSH_VERSION"; then
: ${lt_HAVE_ARITH_OP="yes"}
: ${lt_HAVE_XSI_OPS="yes"}
# The += operator was introduced in bash 3.1
diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh
index e26095f4..14f3c37e 100644
--- a/build-aux/ltmain.m4sh
+++ b/build-aux/ltmain.m4sh
@@ -6648,7 +6648,7 @@ func_mode_link ()
# On Darwin other compilers
case $CC in
nagfor*)
- verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
+ verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
;;
*)
verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"