remove pointless [] around if tests and make sure we quote properly for -z tests
authorMike Frysinger <vapier@gentoo.org>
Wed, 12 Oct 2005 23:22:34 +0000 (23:22 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 12 Oct 2005 23:22:34 +0000 (23:22 +0000)
SVN revision: 17472

configure.in

index 663ed76..be54ece 100644 (file)
@@ -43,7 +43,7 @@ have_valgrind="no"
 PKG_CHECK_MODULES(VALGRIND, valgrind >= 2.4.0, have_valgrind=yes, have_valgrind=no)
 AC_ARG_ENABLE(valgrind,
   [  --enable-valgrind               enable valgrind support], [
-      if [ test "$enableval" = "yes" ]; then
+      if test x"$enableval" = x"yes" ; then
         AC_MSG_RESULT(yes)
         have_valgrind="yes"
       else