]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
syntax-check: fix remaining violations of sc_prohibit_test_const_follows_var. gary/redo-test-operand-order
authorGary V. Vaughan <gary@gnu.org>
Fri, 21 Sep 2012 15:57:59 +0000 (22:57 +0700)
committerGary V. Vaughan <gary@gnu.org>
Fri, 21 Sep 2012 16:04:03 +0000 (23:04 +0700)
* configure.ac, doc/libtool.texi: Swap operands and remove resulting
spurious characters.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
configure.ac
doc/libtool.texi

index 5772c71c2667f8502fe574a3be066e18362a5883..517f70664759ba15ee3af6e8f386f349a19c6414 100644 (file)
@@ -114,7 +114,7 @@ AC_SUBST([pkgdatadir], ["\$(datadir)/$PACKAGE"])
 
 AC_ARG_ENABLE(ltdl-install,
     [AS_HELP_STRING([--disable-ltdl-install], [do not install libltdl])])
-if test "x${enable_ltdl_install+set}" != xset; then
+if test set != "${enable_ltdl_install+set}"; then
   enable_ltdl_install=yes
 fi
 
index 93803ac26f21c7f58779fc0a40626e03e369c6cc..77d65bcd31208bb082c213e7e196432d94dadd0a 100644 (file)
@@ -4756,7 +4756,7 @@ LT_INIT([dlopen])
 LTDL_INIT
 
 # The lt_dladvise_init symbol was added with libtool-2.2
-if test "x$with_included_ltdl" != "xyes"; then
+if test yes != "$with_included_ltdl"; then
   save_CFLAGS=$CFLAGS
   save_LDFLAGS=$LDFLAGS
   CFLAGS="$CFLAGS $LTDLINCL"