Don't check whether both time.h and sys/time.h can be included.
+2005-06-22 Hrvoje Niksic <hniksic@xemacs.org>
+
+ * configure.in: Don't check for signal.h. Remove the
+ AC_HEADER_TIME check. Remove the test for ANSI C prototypes.
+
2005-06-22 Hrvoje Niksic <hniksic@xemacs.org>
* configure.in: Check for C99 conformant stdbool.h.
2005-06-22 Hrvoje Niksic <hniksic@xemacs.org>
* configure.in: Check for C99 conformant stdbool.h.
AC_C_CONST
AC_C_INLINE
AC_C_VOLATILE
AC_C_CONST
AC_C_INLINE
AC_C_VOLATILE
+dnl Needed for GNU md5 code.
dnl
dnl Checks for header files that might be missing.
dnl
dnl Check for basic headers, even those we assume the presence of.
dnl
dnl Checks for header files that might be missing.
dnl
dnl Check for basic headers, even those we assume the presence of.
-dnl This is because Autoconf default includes check for STDC_HEADERS,
-dnl HAVE_SYS_TYPES_H, etc. before including them.
+dnl This is because test programs used by Autoconf macros check for
+dnl STDC_HEADERS, HAVE_SYS_TYPES_H, etc. before including them.
+dnl Without these checks they will fail to be included in test
+dnl programs, which will subsequently fail.
AC_CHECK_HEADERS(sys/types.h sys/stat.h)
AC_CHECK_HEADERS(sys/types.h sys/stat.h)
-dnl Now check for the others.
+
+dnl Now the real checks:
+AC_HEADER_STDBOOL
AC_CHECK_HEADERS(string.h strings.h limits.h unistd.h sys/time.h)
AC_CHECK_HEADERS(termios.h sys/ioctl.h sys/select.h utime.h sys/utime.h)
AC_CHECK_HEADERS(string.h strings.h limits.h unistd.h sys/time.h)
AC_CHECK_HEADERS(termios.h sys/ioctl.h sys/select.h utime.h sys/utime.h)
-AC_CHECK_HEADERS(stdint.h inttypes.h signal.h setjmp.h pwd.h)
-AC_HEADER_TIME
+AC_CHECK_HEADERS(stdint.h inttypes.h setjmp.h pwd.h)
-dnl Check integral type sizes.
+dnl Check sizes of signed integer types. These are used to find n-bit
+dnl integral types on older systems that fail to provide intN_t and
+dnl uintN_t typedefs.
dnl
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
dnl
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
#if HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#endif
-#ifdef HAVE_SIGNAL_H
-# include <signal.h>
-#endif
AC_CHECK_FUNCS(symlink isatty)
dnl
AC_CHECK_FUNCS(symlink isatty)
dnl
-dnl Call Wget's local macros defined in aclocal.
+dnl Call Wget-specific macros defined in aclocal.
dnl
WGET_STRUCT_UTIMBUF
WGET_SOCKLEN_T
dnl
WGET_STRUCT_UTIMBUF
WGET_SOCKLEN_T