Fix a test in ax_lib_zlib
authorDavid Reiss <dreiss@apache.org>
Fri, 13 Mar 2009 21:25:31 +0000 (21:25 +0000)
committerDavid Reiss <dreiss@apache.org>
Fri, 13 Mar 2009 21:25:31 +0000 (21:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@753429 13f79535-47bb-0310-9956-ffa450edef68

aclocal/ax_lib_zlib.m4

index 40e96df..64b0b85 100644 (file)
@@ -111,9 +111,9 @@ AC_DEFUN([AX_LIB_ZLIB],
           AC_ARG_WITH([zlib],
                       AS_HELP_STRING([--with-zlib@<:@=DIR@:>@], [use zlib (default is yes) - it is possible to specify an alternate root directory for zlib]),
                       [
-                       if test "$withval" = "xno"; then
+                       if test "x$withval" = "xno"; then
                          want_zlib="no"
-                       elif test "$withval" = "xyes"; then
+                       elif test "x$withval" = "xyes"; then
                          want_zlib="yes"
                          ax_zlib_path=""
                        else