$NetBSD: patch-ai,v 1.2.2.3 2003/03/02 10:43:12 agc Exp $

--- configure.orig	Sat Dec 21 01:44:21 2002
+++ configure
@@ -21496,7 +21496,7 @@ main ()
 
  char buf[20];
   buf[0]='\0';
-  strlat(buf, "KDE function test", sizeof(buf));
+  strlcat(buf, "KDE function test", sizeof(buf));
 
   ;
   return 0;
@@ -22108,57 +22108,6 @@ echo "${ECHO_T}$ac_cv_sizeof_unsigned_in
 cat >>confdefs.h <<EOF
 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
 EOF
-
-  echo "$as_me:22112: checking sizeof(size_t) == sizeof(unsigned int)" >&5
-echo $ECHO_N "checking sizeof(size_t) == sizeof(unsigned int)... $ECHO_C" >&6
-  cat >conftest.$ac_ext <<_ACEOF
-#line 22115 "configure"
-#include "confdefs.h"
-
-int
-main ()
-{
-
-    #if SIZEOF_SIZE_T != SIZEOF_UNSIGNED_INT
-       choke me
-    #endif
-
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:22131: \"$ac_compile\"") >&5
-  (eval $ac_compile) 2>&5
-  ac_status=$?
-  echo "$as_me:22134: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-         { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:22137: \"$ac_try\"") >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  echo "$as_me:22140: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-  echo "$as_me:22142: result: yes" >&5
-echo "${ECHO_T}yes" >&6
-else
-  echo "$as_me: failed program was:" >&5
-cat conftest.$ac_ext >&5
-
-      echo "$as_me:22148: result: no" >&5
-echo "${ECHO_T}no" >&6
-      { { echo "$as_me:22150: error:
-      Apparently on your system our assumption sizeof(size_t) == sizeof(unsigned int)
-       does not apply. Please mail kde-devel@kde.org with a description of your system!
-      " >&5
-echo "$as_me: error:
-      Apparently on your system our assumption sizeof(size_t) == sizeof(unsigned int)
-       does not apply. Please mail kde-devel@kde.org with a description of your system!
-      " >&2;}
-   { (exit 1); exit 1; }; }
-
-fi
-rm -f conftest.$ac_objext conftest.$ac_ext
 
 for ac_header in fcntl.h sys/sysctl.h sys/param.h sys/time.h sys/types.h unistd.h
 do
