--- snprintfv/configure.orig	Tue Sep 10 18:02:44 2002
+++ snprintfv/configure	Sun Oct 13 02:01:04 2002
@@ -10549,12 +10549,6 @@
     fi
     if test x$ac_cv_header_limits_h = xyes; then
       echo '#include <limits.h>' >> $tmpfile
-    elif test x$ac_cv_header_values_h = xyes; then
-      cat >> $tmpfile << '_EOF_'
-#ifndef MAXINT
-#  include <values.h>
-#endif /* MAXINT */
-_EOF_
     fi
     if test x$ac_cv_header_string_h = xyes; then
       echo '#include <string.h>' >> $tmpfile
@@ -10571,6 +10565,7 @@
       echo '#include <stdint.h>' >> $tmpfile
     fi
     if test x$ac_cv_type_intmax_t = xno; then
+      cat >> $tmpfile << '_EOF_'
 #if __GNUC__ >= 2
 typedef long long intmax_t;
 typedef unsigned long long uintmax_t;
