]> sjero.net Git - wget/commitdiff
[svn] Don't check for availability of C prototypes. Don't check for signal.h.
authorhniksic <devnull@localhost>
Wed, 22 Jun 2005 20:39:23 +0000 (13:39 -0700)
committerhniksic <devnull@localhost>
Wed, 22 Jun 2005 20:39:23 +0000 (13:39 -0700)
Don't check whether both time.h and sys/time.h can be included.

ChangeLog
configure.in

index 07758b685ecae39e6768c77746e473882ef9a199..cadb15aac90835173ef169fc2a5aca787925d79b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
index a38a36078564b6b874117241cc0d86c26db934b2..61065ca73bdc95404a9bcc5a092ae5284dd1110f 100644 (file)
@@ -151,27 +151,31 @@ dnl
 AC_C_CONST
 AC_C_INLINE
 AC_C_VOLATILE
 AC_C_CONST
 AC_C_INLINE
 AC_C_VOLATILE
+dnl Needed for GNU md5 code.
 AC_C_BIGENDIAN
 AC_C_BIGENDIAN
-AC_C_PROTOTYPES
 
 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_HEADER_STDC
 AC_HEADER_STDC
-AC_HEADER_STDBOOL
 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
 
 dnl
-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)
@@ -198,9 +202,7 @@ AC_CHECK_TYPES(sig_atomic_t, [], [], [
 #if HAVE_INTTYPES_H
 # include <inttypes.h>
 #endif
 #if HAVE_INTTYPES_H
 # include <inttypes.h>
 #endif
-#ifdef HAVE_SIGNAL_H
-# include <signal.h>
-#endif
+#include <signal.h>
 ])
 
 dnl
 ])
 
 dnl
@@ -215,7 +217,7 @@ AC_CHECK_FUNCS(usleep ftello sigblock sigsetjmp)
 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