From 864f33316d1d17ea1677fc0a4faa34a3d380d71e Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Sun, 16 Sep 2012 17:47:04 +0700 Subject: [PATCH] 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 --- build-aux/general.m4sh | 2 +- build-aux/ltmain.m4sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-aux/general.m4sh b/build-aux/general.m4sh index d505ba5b1..82d932c63 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 e26095f45..14f3c37ea 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" -- 2.47.2