$NetBSD: patch-configure,v 1.3 2018/02/05 18:52:05 minskim Exp $

Fix configure.

--- configure.orig	2017-11-10 13:42:05.000000000 +0000
+++ configure
@@ -2265,7 +2265,7 @@ if test "${enable_gcc_debug+set}" = set;
   enableval=$enable_gcc_debug;
 fi
 
-if test "x$enable_gcc_debug" == "xyes"; then
+if test "x$enable_gcc_debug" = "xyes"; then
    enable_gcc_debug="yes"
 else
    enable_gcc_debug="no"
@@ -2276,7 +2276,7 @@ if test "${enable_gcc_pedantic+set}" = s
   enableval=$enable_gcc_pedantic;
 fi
 
-if test "x$enable_gcc_pedantic" == "xyes"; then
+if test "x$enable_gcc_pedantic" = "xyes"; then
    enable_gcc_pedantic="yes"
 else
    enable_gcc_pedantic="no"
@@ -2382,13 +2382,13 @@ $as_echo "$R_PATH" >&6; }
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for R >= 3.1.0 for C++11 use" >&5
 $as_echo_n "checking for R >= 3.1.0 for C++11 use... " >&6; }
 R_GE_31=`"${R_PATH}" --vanilla --slave -e 'cat(if (getRversion() >= numeric_version("3.1.0")) "yes" else "no")'`
-if test "x$R_GE_31" == "xyes"; then
+if test "x$R_GE_31" = "xyes"; then
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
 else
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
-   if test "x$enable_cxx11" == "xyes"; then
+   if test "x$enable_cxx11" = "xyes"; then
       echo "*** disabling C++11 use"
       enable_cxx11="no"
    fi
@@ -2397,7 +2397,7 @@ fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for R < 3.4.0 for CXX1X flag use" >&5
 $as_echo_n "checking for R < 3.4.0 for CXX1X flag use... " >&6; }
 R_GE_34=`"${R_PATH}" --vanilla --slave -e 'cat(if (getRversion() >= numeric_version("3.4.0")) "yes" else "no")'`
-if test "x$R_GE_34" == "xyes"; then
+if test "x$R_GE_34" = "xyes"; then
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
    STRINGI_CXX1X="CXX11"
@@ -2460,14 +2460,14 @@ fi
 
 ###### SETUP COMPILER FLAGS FOR TESTING ######################################
 
-if test "x$enable_gcc_debug" == "xyes"; then
+if test "x$enable_gcc_debug" = "xyes"; then
    #  -fsanitize=address -fno-omit-frame-pointer
    with_extra_cppflags="${with_extra_cppflags} -DDEBUG -UNDEBUG"
 else
    with_extra_cppflags="${with_extra_cppflags} -UDEBUG -DNDEBUG"
 fi
 
-if test "x$enable_gcc_pedantic" == "xyes"; then
+if test "x$enable_gcc_pedantic" = "xyes"; then
    with_extra_cflags="${with_extra_cflags} -Wall -Wextra -ansi -pedantic -std=c99"
    with_extra_cxxflags="${with_extra_cxxflags} -Wall -Wextra -ansi -pedantic -std=c++98 -Wlong-long"
 fi
@@ -2482,7 +2482,7 @@ CPPFLAGS=`"${R_PATH}" CMD config CPPFLAG
 LIBS=
 LDFLAGS=
 
-if test "x$enable_cxx11" == "xyes"; then
+if test "x$enable_cxx11" = "xyes"; then
    CXX_tmp1=`"${R_PATH}" CMD config ${STRINGI_CXX1X}`
    CXX_tmp2=`"${R_PATH}" CMD config ${STRINGI_CXX1X}STD`
    CXX="${CXX_tmp1} ${CXX_tmp2}"
@@ -4153,7 +4153,7 @@ CPP_OK=0
 check_cpp
 
 if test $CPP_OK = 0; then
-   if test "x$enable_cxx11" == "xyes"; then
+   if test "x$enable_cxx11" = "xyes"; then
       echo "*** trying with disabled C++11 compiler"
       CXX=`"${R_PATH}" CMD config CXX`
       CXXFLAGS_base=`"${R_PATH}" CMD config CXXFLAGS`
