$NetBSD: patch-configure,v 1.2 2018/01/18 19:19:41 fhajny Exp $

Portability.
Fix incorrect docs build arg.

--- configure.orig	2017-12-19 02:57:35.000000000 +0000
+++ configure
@@ -4741,14 +4741,14 @@ fi
 done
 test -n "$CURL_CONFIG" || CURL_CONFIG="no"
 
-    if test "$CURL_CONFIG" == "no"; then :
+    if test "$CURL_CONFIG" = "no"; then :
 
       :
 
 
 else
 
-            if test x"" == x; then :
+            if test x"" = x; then :
 
 	CURL_CFLAGS="`$CURL_CONFIG $curl_config_args --cflags`"
 
@@ -4758,7 +4758,7 @@ else
 
 fi
 
-            if test x"" == x; then :
+            if test x"" = x; then :
 
 	CURL_LIBS="`$CURL_CONFIG $curl_config_args --libs`"
 
@@ -4931,13 +4931,13 @@ $as_echo_n "checking whether to build do
 if test "${enable_docs+set}" = set; then :
   enableval=$enable_docs;
 else
-  enable_doc_build=no
+  enable_docs=no
 
 fi
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_doc_build" >&5
-$as_echo "$enable_doc_build" >&6; }
- if test "xyes" = "x$enable_doc_build"; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_docs" >&5
+$as_echo "$enable_docs" >&6; }
+ if test "xyes" = "x$enable_docs"; then
   BUILD_DOCS_TRUE=
   BUILD_DOCS_FALSE='#'
 else
@@ -21352,7 +21352,7 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 
 
-if test "x$ac_cv_sizeof_voidp" == "x"; then
+if test "x$ac_cv_sizeof_voidp" = "x"; then
   as_fn_error $? "Cannot determine size of void*" "$LINENO" 5
 fi
 
@@ -25058,7 +25058,7 @@ $as_echo "could not find ${TCL_BIN_DIR}/
 
 
 # expect tclConfig.sh to populate TCL_LIB_FLAG and TCL_INCLUDE_SPEC
-if test "$host_os_def" == "darwin"; then
+if test "$host_os_def" = "darwin"; then
     TCL_LIB_SPEC="-ltcl" # OSX fails to populate this variable
 fi
 LIBTCL=$TCL_LIB_SPEC
@@ -26111,7 +26111,7 @@ if test "x$ac_cv_lib_cap_cap_set_proc" =
 
 else
 
-     if test "x$enable_posix_cap" == "xyes"; then :
+     if test "x$enable_posix_cap" = "xyes"; then :
 
       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
