--- configure.orig	2018-03-23 03:21:09.000000000 +1100
+++ configure	2022-09-28 13:50:22.000000000 +1000
@@ -2029,7 +2029,7 @@
     ITCL_LIB_DIR=$itcl_SRC_DIR/library
 fi
 
-if test -z "$ITCL_LIB_DIR"; then
+if test -z "dummy"; then
     { { echo "$as_me:$LINENO: error: Can't find Itcl source.  Use --with-itcl to specify the the toplevel incr Tcl directory on your system.  This directory should contain library/itcl.tcl." >&5
 echo "$as_me: error: Can't find Itcl source.  Use --with-itcl to specify the the toplevel incr Tcl directory on your system.  This directory should contain library/itcl.tcl." >&2;}
    { (exit 1); exit 1; }; }
@@ -2050,7 +2050,7 @@
     ITK_SRC_DIR=$itk_search
 fi
 
-if test -z "$ITK_LIB_DIR"; then
+if test -z "dummy"; then
     { { echo "$as_me:$LINENO: error: Can't find Itk source.  Use --with-itk to specify the the toplevel incr Tk directory on your system.  This directory should contain library/itk.tcl." >&5
 echo "$as_me: error: Can't find Itk source.  Use --with-itk to specify the the toplevel incr Tk directory on your system.  This directory should contain library/itk.tcl." >&2;}
    { (exit 1); exit 1; }; }
@@ -3445,8 +3445,8 @@
   for (i = 0; i < 256; i++)
     if (XOR (islower (i), ISLOWER (i))
 	|| toupper (i) != TOUPPER (i))
-      exit(2);
-  exit (0);
+      return (2);
+  return (0);
 }
 _ACEOF
 rm -f conftest$ac_exeext
