(AC_CHECK_HEADERS): Add checks from sh-utils' configure.in
[gnulib.git] / m4 / ChangeLog
index a9fd2df..8f0a440 100644 (file)
@@ -1,5 +1,26 @@
+2000-01-22  Jim Meyering  <meyering@lucent.com>
+
+       * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
+       configure.in
+
+       * prereq.m4 (jm_PREREQ_ADDEXT): New macro.  Parts moved here
+       from fileutils' configure.in.
+
+       * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
+       Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
+
+       * check-decl.m4: Use #if rather than #ifdef.
+       Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
+       (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
+       (_jm_DECL_HEADERS): Define new function.
+       (jm_CHECK_DECLARATIONS): Require it.
+
 2000-01-19  Jim Meyering  <meyering@lucent.com>
 
+       * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
+       Use AC_HEADER_TIME.  Volker Borchert reported that OpenBSD-2.3/sparc
+       defines `struct timespec' in <sys/time.h>
+
        * c-bs-a.m4: Remove uses of changequote altogether.
        Thanks to Akim for explaining.