From: Gary V. Vaughan Date: Sun, 16 Sep 2012 10:47:04 +0000 (+0700) Subject: syntax-check: remove useless_braces_in_variable_derefs. X-Git-Tag: v2.4.2.418~168^2~20 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=692bc68dc9a580647a164d6338ca7e13cb593966;p=thirdparty%2Flibtool.git 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 --- diff --git a/build-aux/general.m4sh b/build-aux/general.m4sh index 2a448d030..cc1bce6f2 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 52d202678..e2d30b0fb 100644 --- a/build-aux/ltmain.m4sh +++ b/build-aux/ltmain.m4sh @@ -6652,7 +6652,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"