--- a/configure
+++ b/configure
@@ -1734,7 +1734,7 @@
    JAGS_INCLUDE=${jags_include_path}
 else
    if test  -z "${JAGS_INCLUDE}"  ; then
-      if test  "$prefix" == "NONE" ; then
+      if test  "$prefix" = "NONE" ; then
          { { echo "$as_me:$LINENO: error: \"JAGS headers not found. Use --with-jags-include configure option\"" >&5
 echo "$as_me: error: \"JAGS headers not found. Use --with-jags-include configure option\"" >&2;}
    { (exit 1); exit 1; }; }
@@ -1775,7 +1775,7 @@
    JAGS_LIB=$jags_lib_path
 else
    if test  -z "${JAGS_LIB}"  ; then
-      if test  "${prefix}" == "NONE"  ; then
+      if test  "${prefix}" = "NONE"  ; then
          { { echo "$as_me:$LINENO: error: \"Location of JAGS library not defined. Use --with-jags-lib configure option\"" >&5
 echo "$as_me: error: \"Location of JAGS library not defined. Use --with-jags-lib configure option\"" >&2;}
    { (exit 1); exit 1; }; }