$NetBSD: patch-ad,v 1.2 2010/05/23 10:50:42 tnn Exp $

--- acinclude.m4.orig	2010-05-20 13:37:32.000000000 +0000
+++ acinclude.m4
@@ -287,7 +287,7 @@ AC_DEFUN([FIND_JAVAH],
     JAVAH=no
   ])
   AC_MSG_RESULT(${JAVAH})
-  if test "x${JAVAH}" == "xno"; then
+  if test "x${JAVAH}" = "xno"; then
     JAVAH=${JAVAH_DEFAULT}
   fi
   AC_PATH_PROG(JAVAH, "${JAVAH}")
@@ -320,7 +320,7 @@ AC_DEFUN([FIND_JAR],
     JAR=no
   ])
   AC_MSG_RESULT(${JAR})
-  if test "x${JAR}" == "xno"; then
+  if test "x${JAR}" = "xno"; then
     JAR=${JAR_DEFAULT}
   fi
   AC_PATH_PROG(JAR, "${JAR}")
@@ -854,7 +854,7 @@ AC_DEFUN([ENABLE_HG],
 [
   AC_MSG_CHECKING(whether to retrieve the source code from Mercurial)
   AC_ARG_ENABLE([hg],
-                [AS_HELP_STRING(--enable-hg,download source code from Mercurial [[default=depends on project]])],
+                [AS_HELP_STRING(--enable-hg,download source code from Mercurial)],
   [
     case "${enableval}" in
       no)
