]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
maint: fix a syntax-check violation from commit 12641bd.
authorGary V. Vaughan <gary@gnu.org>
Fri, 25 Oct 2013 23:35:41 +0000 (12:35 +1300)
committerGary V. Vaughan <gary@gnu.org>
Fri, 25 Oct 2013 23:37:45 +0000 (12:37 +1300)
* build-aux/ltmain.in (func_mode_link): Reverse test operands to
forestall misinterpretation of contests of shell variable as
operand 1.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
build-aux/ltmain.in

index 58b443cd43c209ece8c02340aa50253be078297c..fba05c1563965d194a96007879b47e90da000df0 100644 (file)
@@ -6984,7 +6984,7 @@ func_mode_link ()
        # Check to see if the archive will have undefined symbols.
        if test yes = "$allow_undefined"; then
          if test unsupported = "$allow_undefined_flag"; then
-           if test "$build_old_libs" = yes; then
+           if test yes = "$build_old_libs"; then
              func_warning "undefined symbols not allowed in $host shared libraries; building static only"
              build_libtool_libs=no
            else