1 2006-07-03 Bruno Haible <bruno@clisp.org>
3 * strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, check whether
4 the function exists, before testing against AIX.
5 Reported by Martin Lambers <marlam@marlam.de>.
7 2006-07-04 Paul Eggert <eggert@cs.ucla.edu>
9 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
10 to the absolute name, not just one, to bypass Sun C 5.8's
11 "warning: #include of /usr/include/... may be non-portable".
13 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
15 * absolute-header.m4: Renamed from full-header-path.m4.
16 This is to keep the terminology clean; POSIX talks about
17 "absolute pathnames", not "full pathnames", but the GNU
18 Coding Standards say to use "path" for something else;
19 so use "absolute" to keep both sides happy.
20 (gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
21 Set gl_absolute_header, not gl_full_header_path.
22 Set gl_cv_absolute_<header>, not gl_full_path_<header>.
23 Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
28 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
30 * c-strtod.m4 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
31 Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
32 want to require the building of c-strtod.o.
33 * lib-check.m4 (cu_LIB_CHECK): Remove SEQ_LIBM, since seq no longer
35 * xstrtod.m4 (gl_XSTRTOLD): New macro.
37 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
39 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
40 --as-needed option if available. Problem reported by Albert Chin in
41 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
42 However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
43 cc merely issues a bunch of annoying warnings for --as-needed
44 (this problem was reported by Bob Proulx). Also, try linking with
45 -lm to detect a bug in binutils 2.16 (this problem was reported
48 2006-06-18 Jim Meyering <jim@meyering.net>
50 Test for a bug that causes glibc's getcwd to suffer a failed assertion.
51 * getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
52 * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
53 also check for glibc-2.4's abort-inducing bug.
55 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
56 Low-probability clean-up should be to use rmdir to get rid of
57 the just-created directory, not unlink.
59 * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
60 configure fail, and request a bug report to inform us about it.
61 Add a comment that, barring reports to the contrary, in 2007 we'll
62 assume ftruncate is universally available.
64 2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
66 * filemode.m4 (gl_FILEMODE): Check for strmode declaration.
68 2006-03-12 Jim Meyering <jim@meyering.net>
70 * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.
71 * cycle-check.m4 (gl_CYCLE_CHECK): Likewise.
72 * same.m4 (gl_SAME): Likewise.
73 * root-dev-ino.m4 (gl_ROOT_DEV_INO): Likewise.
75 2006-03-11 Eric Blake <ebb9@byu.net>
77 * double-slash-root.m4: New file, provides gl_DOUBLE_SLASH_ROOT.
78 * dirname.m4 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
79 * dos.m4 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
80 (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
82 2006-07-02 Eric Blake <ebb9@byu.net>
84 * wcwidth.m4 (gl_FUNC_WCWIDTH): Simplify by using AC_CHECK_DECLS.
86 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
88 * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
89 test cases, so that config.log is a bit easier to follow.
91 2006-07-01 Paul Eggert <eggert@cs.ucla.edu>
93 * longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60,
94 but fix a bug, by requiring at least 64 bits.
95 * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
96 * longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call
97 AC_TYPE_LONG_LONG_INT. This macro is obsolete and will go soon.
98 * ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise.
100 * stdint.m4 (gl_STDINT_H): Rewrite to accommodate stdint_.h
101 changes. Make 2.59 a prerequisite. Check and substitute for
102 HAVE_LONG_LONG_INT. Rely on Autoconf to check for stdint.h and
103 inttypes.h. Do not use special include files; just use the
104 defaults. Check for sys/inttypes.h and sys/bitypes.h in the usual
105 way now. Remove no-longer-needed tests for HAVE_LONG_64BIT,
106 HAVE_LONG_LONG_64BIT, int8_t, int16_t, int32_t, int64_t, uint8_t,
107 uint16_t, uint32_t uint64_t, int_least8_t, int_least16_t,
108 int_least32_t, int_least64_t, uint_least8_t, uint_least16_t,
109 uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t,
110 int_fast32_t, int_fast64_t, uint_fast8_t uint_fast16_t,
111 uint_fast32_t, uint_fast64_t, intptr_t, uintptr_t, intmax_t,
112 uintmax_t, INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX,
113 UINT16_MAX, INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN,
114 INT64_MAX, UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX,
115 UINT_LEAST8_MAX, INT_LEAST16_MIN, INT_LEAST16_MAX,
116 UINT_LEAST16_MAX, INT_LEAST32_MIN, INT_LEAST32_MAX,
117 UINT_LEAST32_MAX, INT_LEAST64_MIN, INT_LEAST64_MAX,
118 UINT_LEAST64_MAX, INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX,
119 INT_FAST16_MIN, INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN,
120 INT_FAST32_MAX, UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX,
121 UINT_FAST64_MAX, INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN,
122 INTMAX_MAX, UINTMAX_MAX, PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN,
123 SIG_ATOMIC_MAX, SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN,
124 WINT_MAX. Check for C99 conformance more strictly, by detecting
125 bugs in glibc 2.4, Solaris 10, and OpenBSD 3.9. On the other hand do
126 not check for things that C99 does not require, e.g., int8_t. If
127 a test isn't needed unless <stdint.h> isn't working, and is
128 unlikely to be needed for any other reason, then don't do it
129 unless <stdint.h> isn't working. Do not check for ptrdiff_t or
130 size_t, since we assume C89 freestanding at least. Do not check
131 for sig_atomic_t, wchar_t, or wint_t, since the code now does
132 the right thing even if the types are not defined. Instead use:
133 (gl_STDINT_TYPE_PROPERTIES): New macro.
134 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H): Remove. Don't bother
135 testing whether <sys/types.h> clashes, as Autoconf does this for
136 us now. All uses removed.
137 (gl_STDINT_CHECK_TYPES, gl_STDINT_MISSING_BOUND):
138 (gl_STDINT_MISSING_BOUNDS, gl_STDINT_MISSING_BOUNDS2):
139 (gl_CHECK_TYPE_SAME):
140 Remove; no longer needed.
141 (gl_STDINT_BITSIZEOF): Don't bother to check whether the type
142 exists, since we'll return 0 anyway in that case.
143 (gl_INTEGER_TYPE_SUFFIX, gl_STDINT_INCLUDES): New macros.
145 2006-07-01 Eric Blake <ebb9@byu.net>
147 * stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.
149 2006-07-01 Eric Blake <ebb9@byu.net>
151 * stdarg.m4 (gl_STDARG_H): Use proper AH_VERBATIM.
152 Reported by Andreas Buening.
154 2006-06-29 Eric Blake <ebb9@byu.net>
156 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Use AC_C_INLINE.
158 2006-06-29 Eric Blake <ebb9@byu.net>
160 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): New file.
162 2006-06-29 Derek R. Price <derek@ximbiot.com>
164 * strftime.m4: Don't call AC_FUNC_STRFTIME.
166 2006-06-29 Derek R. Price <derek@ximbiot.com>
168 * c-bs-a.m4: Removed.
170 2006-06-28 Derek R. Price <derek@ximbiot.com>
172 * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
174 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
176 * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
178 2006-06-28 Bruno Haible <bruno@clisp.org>
180 * wcwidth.m4 (gl_FUNC_WCWIDTH): Also require AC_C_INLINE and
183 2006-06-28 Eric Blake <ebb9@byu.net>
185 * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
186 * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
188 2006-06-28 Simon Josefsson <jas@extundo.com>
190 * getaddrinfo.m4: Look for getnameinfo prototypes too.
192 2006-06-27 Simon Josefsson <jas@extundo.com>
194 * sys_select_h.m4: New file, suggested by Bruno Haible, Paul
195 Eggert and Martin Lambers.
197 2006-06-27 Bruno Haible <bruno@clisp.org>
199 * stdint.m4 (gl_STDINT_BITSIZEOF): For nonexistent types, set the
200 result to 0, not to empty.
201 Reported by Martin Neitzel <neitzel@sco.gaertner.de>.
203 2006-06-26 Bruno Haible <bruno@clisp.org>
205 * stdint.m4 (gl_STDINT_H): Test also for <wchar.h>.
207 2006-06-26 Bruno Haible <bruno@clisp.org>
209 * stdint.m4 (gl_STDINT_H): Don't include <stdint.h> when using the
210 SGI C compiler in pre-C99 mode.
211 Suggested by Mark D. Baushke and Larry Jones.
213 2006-06-23 Mark D. Baushke <mdb@gnu.org>
215 * stdint.m4 (gl_STDINT_H): Treat BSD/OS like OpenBSD.
217 2006-06-26 Simon Josefsson <jas@extundo.com>
219 * inet_ntop.m4: Don't check for sys/types.h, we assume it is
222 2006-06-23 Bruno Haible <bruno@clisp.org>
224 * stdint.m4 (gl_STDINT_H): Treat IRIX like OpenBSD.
226 2006-06-22 Simon Josefsson <jas@extundo.com>
228 * sockpfaf.m4: Include winsock2.h too, to make it work under
231 2006-06-21 Simon Josefsson <jas@extundo.com>
233 * getaddrinfo.m4: Don't define WINVER. Look for gethostbyname in
234 -lws2_32 too. Fixes getaddrinfo on Windows 2000, with the price
235 of using the (limited) gnulib implementation on Windows XP.
237 * inet_pton.m4: New file.
239 2006-06-19 Bruno Haible <bruno@clisp.org>
241 * stdint.m4 (gl_STDINT_H): Enclose the values of FULL_PATH_STDINT_H
242 and FULL_PATH_INTTYPES_H in angle brackets.
243 Reported by Mark D. Baushke <mdb@gnu.org>.
245 2006-06-17 Bruno Haible <bruno@clisp.org>
247 * stdint.m4 (gl_STDINT_H) [FreeBSD >= 5]: Don't include
250 2006-06-16 Eric Blake <ebb9@byu.net>
252 * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
255 2006-06-17 Bruno Haible <bruno@clisp.org>
257 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
258 whether errno is declared. Assume <errno.h> declares errno.
260 2006-06-15 Bruno Haible <bruno@clisp.org>
262 * stdint.m4 (gl_STDINT_H): Rewritten to produce a complete stdint.h.
263 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H, gl_STDINT_CHECK_TYPES,
264 gl_STDINT_MISSING_BOUND, gl_STDINT_MISSING_BOUNDS,
265 gl_STDINT_MISSING_BOUNDS2, gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED,
266 gl_CHECK_TYPE_SAME): New macros.
268 2006-06-15 Bruno Haible <bruno@clisp.org>
270 * size_max.m4 (gl_SIZE_MAX): Make it work also when cross-compiling.
272 2006-06-15 Eric Blake <ebb9@byu.net>
274 * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
276 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
277 Bruno Haible <bruno@clisp.org>
279 * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
280 check for the declaration of strnlen and a run test that exposes the
281 AIX 5.1 strnlen bug. In the failure case, #define strndup to
284 2006-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
286 * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
287 compile test, for Tru64 4.0D.
289 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
291 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
292 gl_ rather than jm_. Link, don't run, so that cross-compiles are
293 allowed. Check that resulting type is arithmetic. Move AC_REQUIRE
294 and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
295 not really conditional on the cache.
296 (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
298 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
300 * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
301 test for C99 conformance; (bool) 0.5 is an integer constant
302 expression, but (bool) -0.5 is not. Problem reported by Fedor
303 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
305 2006-05-11 Simon Josefsson <jas@extundo.com>
307 * xvasprintf.m4: Fix obvious typo.
309 2006-05-09 Bruno Haible <bruno@clisp.org>
311 * xvasprintf.m4: New file.
313 2006-05-08 Bruno Haible <bruno@clisp.org>
315 * stdarg.m4: New file, from GNU gettext.
317 2006-05-05 Jim Meyering <jim@meyering.net>
319 * warning.m4: New file, derived from bison's file by the same name.
321 2006-05-02 Bruno Haible <bruno@clisp.org>
323 * full-header-path.m4 (gl_FULL_HEADER_PATH): Move the include_next
325 * _inttypes_h.m4 (gl_INTTYPES_H): ... to here.
327 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
329 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
330 to define main with arguments, for C++. Reported by Eric Blake.
331 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
332 Prefer 'int main ()' to 'int main (void)', for C++.
333 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
334 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
335 for 'main', for C99 and C++.
337 2006-04-23 Bruno Haible <bruno@clisp.org>
339 * poll.m4 (gl_FUNC_POLL): Rearrange code, so that POLL_H gets
340 assigned exactly once.
342 2006-04-23 Bruno Haible <bruno@clisp.org>
344 * poll.m4 (gl_FUNC_POLL): When cross-compiling, reject also the poll()
345 implementation in AIX.
346 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
348 2006-03-04 Eric Blake <ebb9@byu.net>
350 * strerror_r.m4 (AC_FUNC_STRERROR_R): Avoid unused variable warning.
352 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
354 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
355 Don't assume that exit status -1 is valid.
356 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
357 * putenv.m4 (gl_FUNC_PUTENV): Likewise.
358 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
359 * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
360 * rename.m4 (vb_FUNC_RENAME): Likewise.
361 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
362 not AC_TRY_RUN. Use return, not exit. Don't assume that
363 functions can be used without declaring them, or that you can
365 * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
367 2006-04-20 Bruno Haible <bruno@clisp.org>
369 * argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
370 one argument, so that the code will be portable to Autoconf 2.60.
371 * getlogin_r.m4 (gl_PREREQ_GETLOGIN_R): Likewise.
372 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
373 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
375 2006-04-19 Derek Price <derek@ximbiot.com>
376 Eric Blake <ebb9@byu.net>
378 * full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
379 than "/full/path.h". Update comment to match. Shorten & generalize
380 m4_translit call via AS_TR_CPP.
382 2006-04-18 Derek Price <derek@ximbiot.com>
383 Paul Eggert <eggert@cs.ucla.edu>
385 * _inttypes_h.m4, full-header-path.m4, include_next: New files.
387 2006-04-11 Paul Eggert <eggert@cs.ucla.edu>
389 * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
391 2006-04-09 Paul Eggert <eggert@cs.ucla.edu>
393 * regex.m4 (gl_REGEX): Check for new glibc interface to
396 2006-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
398 * argz.m4 (gl_FUNC_ARGZ): If we define `error_t', also define
399 `__error_t_defined', so argp.h will not typedef the former.
401 2006-03-25 Paul Eggert <eggert@cs.ucla.edu>
403 * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
404 REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
405 glibc names. Even if glibc is changed to conform to POSIX, the
406 traditional names will be available anyway, since regex depends on
407 the extensions module. Also, fix a longstanding typo in the
408 implementation of Spencer ERE test #75 from grep 2.3. Problems
409 reported by Emanuele Giaquinta. Also, change sense of cached
410 variable, so that the message makes sense.
412 2006-03-17 Jim Meyering <jim@meyering.net>
414 * regex.m4 (gl_REGEX): Fix typo in last change:
415 s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
417 2006-03-16 Paul Eggert <eggert@cs.ucla.edu>
419 * regex.m4 (gl_REGEX): Don't check for off_t, since the code
420 no longer needs it. Instead, check that regoff_t is as least
421 as wide as ptrdiff_t.
423 Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
424 so that our regex.h stays compatible with the installed regex.
425 This is helpful for installers who configure --without-included-regex.
426 Problem reported by Emanuele Giaquinta.
428 2006-03-15 Eric Blake <ebb9@byu.net>
430 * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
432 2006-03-08 Simon Josefsson <jas@extundo.com>
434 * gc-random.m4: Permit 'no' as variable values and fix warnings,
435 suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
437 2006-03-08 Simon Josefsson <jas@extundo.com>
439 * gc-random.m4: Call AC_CANONICAL_HOST and use $host_os instead of
440 $target, suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
442 2006-03-07 Paul Eggert <eggert@cs.ucla.edu>
444 * unistd_h.m4 (gl_HEADER_UNISTD): Rename, to match modules file.
445 Problem reported by Juan Manuel Guerrero.
447 2006-03-07 Simon Josefsson <jas@extundo.com>
449 * unistd_h.m4: New file.
451 2006-03-07 Simon Josefsson <jas@extundo.com>
453 * readline.m4 (gl_FUNC_READLINE): Rewrite the cached part of the
454 test to be side-effect free by storing the result in the cache
455 variable gl_cv_lib_readline, and moving the assignment of
456 LIBREADLINE and LTLIBREADLINE outside the COMMANDS-TO-SET-IT.
457 From Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
459 2006-03-07 Simon Josefsson <jas@extundo.com>
461 * gc-random.m4: New file, mostly from gc.m4. Warn instead of
462 error on missing devices (the functions will return an error).
464 * gc.m4: Move random stuff to gc-random.m4
466 2006-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
468 * poll.m4 (gl_FUNC_POLL): If we deem poll(2) unacceptable, use
469 our replacement poll.h in any case, to avoid a differing
470 declaration from a system header. Seen on AIX.
472 2006-03-01 Paul Eggert <eggert@cs.ucla.edu>
474 * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
475 not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
477 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
478 * timespec.m4 (gl_TIMESPEC): Likewise.
480 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
481 not "==". Reported by Ralf Wildenhues.
483 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
486 * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
489 2006-02-22 Jim Meyering <jim@meyering.net>
492 * chdir-safer.m4: New file.
494 2006-02-17 Eric Blake <address@hidden>
496 * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
498 2006-02-15 Eric Blake <ebb9@byu.net>
500 * sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using
501 winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes
502 'present but cannot compile' warnings on cygwin.
503 * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET. Don't
504 use ws2tcpip.h if sys/socket.h works.
505 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_HEADER_SYS_SOCKET.
506 (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is present.
508 2006-02-14 Jim Meyering <jim@meyering.net>
511 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
512 unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
513 gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
514 variable, to accommodate the rare case in which getmntent is
515 available in none of the libraries checked. This happens at
516 least on FreeBSD 5.0.
518 2006-02-05 Paul Eggert <eggert@cs.ucla.edu>
520 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
521 __EXTENSIONS__ if this causes compilation to fail. Problem
522 reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
523 c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
525 2006-01-25 Simon Josefsson <jas@extundo.com>
527 * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
528 -lws2_32. Protect sys/socket.h and netdb.h #include's. Include
529 ws2tcpip.h with WINVER=0x0501. All for mingw32.
531 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
533 * stdbool.m4 (AC_HEADER_STDBOOL): Check for xlc bug if __GCC__ too,
534 so that we test the test.
535 Check for yet another HP-UX cc bug involving *bool |= bool.
537 2006-01-24 Bruno Haible <bruno@clisp.org>
539 * stdbool.m4 (AC_HEADER_STDBOOL): Check for IBM and HP-UX bugs.
540 Patch by Paul Eggert.
542 2006-01-24 Jim Meyering <jim@meyering.net>
544 * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
545 Reported by Mark D. Baushke.
547 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
549 * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
551 2006-01-20 Paul Eggert <eggert@cs.ucla.edu>
553 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
554 rather than -Xlinker -z -Xlinker ignore, as it's more portable.
555 Suggested by Bruno Haible.
557 2006-01-19 Simon Josefsson <jas@extundo.com>
559 * socklen.m4: Look in ws2tcpip.h too, for mingw32.
561 2006-01-16 Paul Eggert <eggert@cs.ucla.edu>
563 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
564 it's not portable and it doesn't work with cross-compiles.
565 Problem reported by Bruno Haible. Fix missing-$ typo in
566 'test "gl_cv_ignore_unused_libraries" ...' that prevented
567 -zignore from being used with Sun's C compiler.
569 2006-01-12 Bruno Haible <bruno@clisp.org>
573 2006-01-08 Bruno Haible <bruno@clisp.org>
575 Ensure automatic ordering between gl_LOCK and gl_ARGP.
576 * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK.
577 (gl_LOCK): New macro, requiring gl_LOCK_BODY.
579 2006-01-10 Jim Meyering <jim@meyering.net>
581 * fpending.m4: Also include <stdio.h>, for Dragonfly.
582 Patch by Joerg Sonnenberger.
584 2006-01-10 Paul Eggert <eggert@cs.ucla.edu>
586 * memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
587 the 2002-12-31 change. Problem and fix reported by Bruno Haible.
588 People who are still concerned with buggy memcmp implementations
589 can invoke gl_FUNC_MEMCMP themselves.
591 2006-01-10 Simon Josefsson <jas@extundo.com>
593 * sys_socket_h.m4: New file.
595 2006-01-10 Bruno Haible <bruno@clisp.org>
597 * localcharset.m4 (gl_LOCALCHARSET): Also test for getc_unlocked.
598 Reported by Werner Lemberg <wl@gnu.org>.
600 2006-01-09 Paul Eggert <eggert@cs.ucla.edu>
603 * lib-ignore.m4: New file.
604 * lchmod.m4: New file.
606 2006-01-09 Jim Meyering <jim@meyering.net>
609 * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
610 Require openat-priv.h.
612 2006-01-09 Andreas Gruenbacher <agruen@suse.de>
615 * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
617 2005-10-16 Bruno Haible <bruno@clisp.org>
619 * stdint.m4 (gl_STDINT_H): Also test for <sys/bitypes.h>.
621 2005-12-16 Jim Meyering <jim@meyering.net>
623 * fprintftime.m4: New file.
625 2005-12-10 Sergey Poznyakoff <gray@gnu.org.ua>
627 * argp.m4: Define HAVE_DECL_PROGRAM_INVOCATION_NAME and
628 HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
630 2005-12-09 Sergey Poznyakoff <gray@gnu.org.ua>
632 * argp.m4: Check if program_invocation_name and
633 program_invocation_short_name are declared and define appropriate
634 macros if they are not.
636 2005-12-07 Paul Eggert <eggert@cs.ucla.edu>
638 * stat-time.m4 (gl_STAT_TIME): Add check for
639 TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
640 porting problem reported by Georg Schwarz in
641 <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
643 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
645 * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
646 Use implementation from Albert Chin, with some
647 comments/corrections by Stepan Kasal and myself.
649 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
651 * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
652 statement, to work around an HP-UX 10.20 compiler bug reported by
655 2005-11-10 Paul Eggert <eggert@cs.ucla.edu>
657 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
658 or gettimeofday; no longer needed.
660 2005-10-30 Paul Eggert <eggert@cs.ucla.edu>
662 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
663 variables to suggest the intended function of the PATH_MAX check.
665 2005-10-30 Kean Johnston <jkj@sco.com>
667 Trivial changes to support SCO systems.
668 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
670 * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
671 where __ptr is null when no I/O is pending.
673 2005-10-28 Simon Josefsson <jas@extundo.com>
675 * inet_ntop.m4: More tests.
677 * gc-md2.m4, md2.m4: New file.
679 2005-10-22 Simon Josefsson <jas@extundo.com>
681 * gc.m4: Don't be fooled by --disable-*random-device parameters,
682 suggested by Bruno Haible <bruno@clisp.org>. Fix error messages.
684 2005-10-21 Simon Josefsson <jas@extundo.com>
686 * gc.m4: Don't use libgcrypt if gcrypt.h isn't found, suggested by
687 Bruno Haible <bruno@clisp.org>.
689 * gc-des.m4: New file.
691 2005-10-21 Simon Josefsson <jas@extundo.com>
693 * arctwo.m4: New file.
695 * gc-arctwo.m4: New file.
697 2005-10-19 Simon Josefsson <jas@extundo.com>
699 * gc-arcfour.m4: New file.
701 * gc-rijndael.m4: New file.
703 2005-10-19 Simon Josefsson <jas@extundo.com>
705 * m4/gc-hmac-md5.m4, m4/gc-hmac-sha1.m4, m4/gc-md4.m4,
706 m4/gc-md5.m4, m4/gc-sha1.m4: Fix typo, suggested by Stepan Kasal
709 2005-10-19 Simon Josefsson <jas@extundo.com>
711 * gc-md4.m4: New file.
713 2005-10-18 Simon Josefsson <jas@extundo.com>
717 2005-10-17 Bruno Haible <bruno@clisp.org>
719 * stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so that
720 it can also be used in a test.
722 2005-10-11 Simon Josefsson <jas@extundo.com>
724 * md5.m4: Remove call to uint32_t.m4.
726 2005-10-15 Simon Josefsson <jas@extundo.com>
728 * rijndael.m4: New file.
730 2005-10-14 Simon Josefsson <jas@extundo.com>
732 * arcfour.m4: New file.
734 2005-10-12 Bruno Haible <bruno@clisp.org>
736 * stdbool.m4 (gl_STDBOOL_H): Define as an alias of AM_STDBOOL_H.
737 Reported by Stepan Kasal <kasal@ucw.cz>.
739 2005-10-12 Simon Josefsson <jas@extundo.com>
741 * gc-pbkdf2-sha1.m4: New file.
743 * gc-hmac-sha1.m4: New file.
747 * hmac-sha1.m4: New file.
749 2005-10-12 Simon Josefsson <jas@extundo.com>
751 * gc-md5.m4, gc-hmac-md5: New files.
753 * gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5.
755 2005-10-11 Simon Josefsson <jas@extundo.com>
759 2005-10-07 Simon Josefsson <jas@extundo.com>
761 * memxor.m4: Remove gl_C_RESTRICT call.
763 2005-10-06 Paul Eggert <eggert@cs.ucla.edu>
765 * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
766 promotes to int, not unsigned int, to catch the AIX 5.3
769 2005-10-06 Simon Josefsson <jas@extundo.com>
771 * hmac-md5.m4: New file.
773 * memxor.m4: Require gl_C_RESTRICT.
775 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
777 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for
778 sys/socket.h, netdb.h, sys/types.h; the checks areno longer
779 needed, since the source code now assumes these .h files.
781 2005-10-05 Simon Josefsson <jas@extundo.com>
783 * memxor.m4: New file.
785 2005-10-02 Paul Eggert <eggert@cs.ucla.edu>
788 * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
789 * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
790 defines ULONG_MAX_LT_ULLONG_MAX. Thomas M.Ott reports that
791 ULLONG_MAX doesn't work with 2.7.2.1.
793 2005-10-02 Jim Meyering <jim@meyering.net>
796 * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
797 from glibc-2.2.5 that fails for read-only files.
799 2005-10-02 Alfred M. Szmidt <ams@gnu.org>
802 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
803 against `yes', rather than just testing for nonempty.
805 2005-10-01 Simon Josefsson <jas@extundo.com>
807 * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
810 * getaddrinfo.m4: Use AC_GNU_SOURCE, GNU only declare getaddrinfo
811 as an (POSIX) extension. Check for sys/types.h, sys/socket.h, and
812 netdb.h too, needed by getaddrinfo.h. Check if getaddrinfo,
813 freeaddrinfo and gai_strerror are declared by the POSIX headers.
814 Check if struct addrinfo is declared.
816 2005-10-01 Jim Meyering <jim@meyering.net>
820 * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
821 libraries [inet nsl socket xnet]. Nelson Beebe reported that with
822 native cc on Solaris 7, getaddrinfo.c requires -lsocket.
823 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
824 in the inet and nsl libraries. Required on Solaris 5.7.
826 2005-09-24 Jim Meyering <jim@meyering.net>
829 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
830 in the inet and nsl libraries. Required on Solaris 5.7.
832 2005-09-26 Bruno Haible <bruno@clisp.org>
834 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
835 mbchar.c if they are not both present.
836 * mbfile.m4 (gl_MBFILE): Require gl_FUNC_MBRTOWC.
837 * mbiter.m4 (gl_MBITER): Likewise.
838 * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
839 * strcasestr.m4 (gl_PREREQ_STRCASESTR): Likewise.
840 * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
842 2005-09-23 Paul Eggert <eggert@cs.ucla.edu>
844 * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
845 and similarly for the other external symbols. Problem reported
848 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
849 bug reported by Jim Meyering.
851 * utimens.m4 (gl_UTIMENS): Check for futimesat.
852 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
853 not needed, since socklen is a prerequisite module.
855 2005-09-23 Jim Meyering <jim@meyering.net>
858 Correct build failure (socklen_t not defined) on at least
859 mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
860 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
862 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
865 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
867 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
871 * backupfile.m4, calloc.m4, chown.m4, cloexec.m4, dup2.m4:
872 * fileblocks.m4, free.m4, ftruncate.m4, getcwd.m4, getpagesize.m4:
873 * getugroups.m4, group-member.m4, idcache.m4, link-follow.m4:
874 * mkstemp.m4, mktime.m4, mountlist.m4, nanosleep.m4, pathmax.m4:
875 * physmem.m4, posixver.m4, putenv.m4, safe-read.m4, same.m4:
876 * save-cwd.m4, stdio-safer.m4, unistd-safer.m4, unlinkdir.m4:
877 * userspec.m4, xgetcwd.m4, xreadlink.m4:
878 Don't bother checking for string.h, stdlib.h, unistd.h.
879 * fts.m4 (gl_FUNC_FTS_CORE): Don't require
880 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
882 * jm-macros.m4 (gl_MACROS): Likewise.
883 * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
885 * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
886 (gl_GETDATE): Use it.
888 * mkdir-p.m4 (gl_MKDIR_PARENTS): Don't bother checking for unistd.h.
890 2005-09-22 Jim Meyering <jim@meyering.net>
894 * lstat.m4 (gl_FUNC_LSTAT):
895 Use AC_LIBSOURCES to require lstat.c and lstat.h.
896 Remove obsolete comment.
897 * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
898 * xstrtod.m4: Likewise.
900 * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
902 2005-09-19 Simon Josefsson <jas@extundo.com>
904 * socklen.m4: Fix typo.
906 2005-09-15 Paul Eggert <eggert@cs.ucla.edu>
908 * st_mtim.m4: Remove. Superseded by...
909 * stat-time.m4: New file.
910 * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
911 Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
913 2005-09-15 Derek Price <derek@ximbiot.com>
915 * strstr.m4 (gl_FUNC_STRSTR): Don't define strstr here.
917 2005-09-12 Derek Price <derek@ximbiot.com>
919 Make canon-host require getaddrinfo.
920 * canon-host.m4 (gl_CANON_HOST): Remove most dependencies.
921 AC_LIBSOURCE canon-host.h. Call...
922 (gl_PREREQ_CANON_HOST): ...this new function, which requires
924 * getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when needed.
926 2005-09-12 Derek Price <derek@ximbiot.com>
927 Paul Eggert <eggert@cs.ucla.edu>
929 * m4/glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c,
930 glob_.h, glob-libc.h.
931 (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed.
933 2005-08-31 Simon Josefsson <jas@extundo.com>
935 * socklen.m4: New file.
937 2005-09-03 Derek Price <derek@ximbiot.com>
939 * getlogin_r (gl_GETLOGIN_R): Fix cut & paste error.
940 From Larry Jones <lawrence.jones@ugs.com>.
942 2005-08-27 Bruno Haible <bruno@clisp.org>
944 Support for lib vs. lib64 distinction on biarch platforms.
945 * lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): New macro.
946 (AC_LIB_PREFIX): Require it. Use $acl_libdirstem instead of 'lib'.
947 * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
949 2005-09-01 Jim Meyering <jim@meyering.net>
951 * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
952 CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
953 Require gl_STAT_MACROS, too.
955 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
957 * regex.m4 (gl_REGEX): Require AC_SYS_LARGEFILE, Define
958 _REGEX_LARGE_OFFSETS). Test for regoff_t/off_t bug in 64-bit
959 and large-file glibc and in 32-bit large-file Solaris.
961 2005-08-28 Bruno Haible <bruno@clisp.org>
963 * gnulib-tool.m4: New file.
965 2005-08-27 Jim Meyering <jim@meyering.net>
967 * stdlib-safer.m4: New file. From coreutils.
968 * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h.
969 * fcntl-safer.m4 (gl_FCNTL_SAFER): Add creat-safer.c to the
970 AC_LIBSOURCES list and arrange to compile it via AC_LIBOBJ.
971 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise, add pipe-safer.c.
972 Add pipe-safer.c and unistd--.h to the AC_LIBSOURCES list.
974 2005-08-24 Simon Josefsson <jas@extundo.com>
976 * getpass.m4: Check for termios.h, tcgetattr, tcsetattr, and
979 2005-08-25 Stepan Kasal <kasal@ucw.cz>
981 * regex.m4: Add AC_PREREQ(2.50).
982 (gl_REGEX): If --with-included-regex was given, skip the autodetection.
984 2005-08-25 Bruno Haible <bruno@clisp.org>
986 * minmax.m4: Require autoconf 2.52.
987 (gl_MINMAX_IN_HEADER): Add comments. Use m4_pushdef/m4_popdef instead
988 of define/undefine. Use AS_TR_SH and AS_TR_CPP as more robust
989 alternatives of translit over the alphabet.
990 Based on a patch from Stepan Kasal <kasal@ucw.cz>.
992 2005-08-24 Paul Eggert <eggert@cs.ucla.edu>
994 * regex.m4 (gl_REGEX): Use POSIX-compliant spellings when testing
995 for GNU regex features.
997 2005-08-24 Jim Meyering <jim@meyering.net>
1000 * fcntl-safer.m4: New file.
1002 * xgetcwd.m4: Use AC_LIBSOURCES and AC_LIBOBJ to indicate source
1003 and object files for this module.
1005 2005-08-23 Paul Eggert <eggert@cs.ucla.edu>
1007 * regex.m4 (gl_INCLUDED_REGEX): Remove; no longer used.
1008 All contents moved to gl_REGEX.
1009 (gl_REGEX): Don't bother checking whether lib/regex.c exists;
1010 assume that it does.
1012 2005-08-20 Bruno Haible <bruno@clisp.org>
1014 * regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
1016 2005-08-17 Bruno Haible <bruno@clisp.org>
1018 * strcasestr.m4: New file.
1020 2005-08-17 Bruno Haible <bruno@clisp.org>
1022 * strstr.m4 (gl_FUNC_STRSTR): Use the replacement function always.
1023 (gl_PREREQ_STRSTR): Use gl_FUNC_MBRTOWC.
1025 2005-08-16 Paul Eggert <eggert@cs.ucla.edu>
1027 * getopt.m4 (gl_GETOPT_CHECK_HEADERS): Do not override the results
1028 of gl_GETOPT_SUBSTITUTE. That way, if both gl_GETOPT_SUBSTITUTE
1029 and gl_GETOPT are both invoked via different paths (as happens
1030 with GNU tar CVS because it uses both argp and getopt), the former
1033 2005-08-16 Bruno Haible <bruno@clisp.org>
1035 * strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function always.
1036 (gl_PREREQ_STRCASECMP): Use gl_FUNC_MBRTOWC.
1038 2005-08-16 Bruno Haible <bruno@clisp.org>
1040 * mbfile.m4: New file.
1042 2005-08-16 Bruno Haible <bruno@clisp.org>
1044 * mbiter.m4: New file.
1046 2005-08-16 Bruno Haible <bruno@clisp.org>
1048 * mbchar.m4: New file.
1050 2005-08-16 Bruno Haible <bruno@clisp.org>
1052 * tls.m4: New file, from GNU gettext.
1054 2005-08-12 Bruno Haible <bruno@clisp.org>
1056 * readline.m4 (gl_FUNC_READLINE): Look for ncurses first.
1058 2005-08-12 Simon Josefsson <jas@extundo.com>
1060 * readline.m4: Look for termcap, curses or ncurses if required.
1062 2005-08-11 Simon Josefsson <jas@extundo.com>
1064 * readline.m4: New file.
1066 2005-08-10 Simon Josefsson <jas@extundo.com>
1068 * strnlen.m4: New file.
1070 * strndup.m4: Don't check for strnlen declaration, done in
1073 2005-08-10 Stepan Kasal <kasal@ucw.cz>
1075 * onceonly_2_57.m4: Really require Autoconf 2.57.
1077 2005-08-02 Simon Josefsson <jas@extundo.com>
1079 * getline.m4: Separate out getdelim stuff into separate module.
1081 * getdelim.m4: New file.
1083 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1085 Add support to getopt for Emacs, which doesn't use LIBOBJS in the
1087 * getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER): New macro.
1088 (gl_GETOPT_SUBSTITUTE): Use it. Invoke gl_PREREQ_GETOPT.
1089 (gl_GETOPT_IFELSE, gl_GETOPT_CHECK_HEADERS): New macros.
1090 (gl_GETOPT): Use the new macros. Most of the implementation
1091 is moved to the new macros. This is for programs like Emacs
1092 that don't want all the functionality of gl_GETOPT.
1094 2005-07-26 Bruno Haible <bruno@clisp.org>
1096 * lock.m4: Update from GNU gettext.
1098 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1100 * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_IFELSE instead of the
1101 obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
1103 2005-07-24 Bruno Haible <bruno@clisp.org>
1105 * visibility.m4: New file.
1107 2005-07-18 Bruno Haible <bruno@clisp.org>
1109 * lock.m4: New file, from GNU gettext.
1111 2005-06-01 Bruno Haible <bruno@clisp.org>
1113 * poll.m4 (gl_FUNC_POLL): Check against MacOS X 10.4 poll() bug.
1114 When using lib/poll.c, define poll as rpl_poll.
1116 2005-07-14 Bruno Haible <bruno@clisp.org>
1118 * argp.m4 (gl_ARGP): Remove invocation of gl_FUNC_GLIBC_UNLOCKED_IO.
1119 Instead, test for *_unlocked function declarations directly.
1121 2005-07-14 Derek Price <derek@ximbiot.com>
1123 * glob.m4 (gl_GLOB): Cache glob interface check result. Add check for
1126 2005-07-10 Bruno Haible <bruno@clisp.org>
1128 * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t.
1129 Needed when size_t is smaller than 'unsigned int'.
1130 Reported by Paul Eggert.
1132 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1134 * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1135 * same.m4 (gl_SAME): Likewise.
1136 Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1138 * regex.m4: Adjust to new libc regex implementation.
1139 (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
1140 all the .c and .h parts of (the new) regex.
1141 Quote the m4 stuff better.
1142 Check for RE_ICASE bug of old gnulib.
1143 Check for REG_STARTEND of recent libc.
1144 Rename local variables from jm_* to gl_*.
1145 Quote operand of "test -f".
1146 Say "recent enough" version of libc, not "version 2".
1147 (gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a
1148 prerequisite module. Remove AC_HEADER_STDC; no longer needed.
1149 Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll.
1150 Remove check for btowc, isascii.
1151 Require AM_LANGINFO_CODESET.
1153 2005-07-05 Bruno Haible <bruno@clisp.org>
1155 * mbrtowc.m4 (gl_FUNC_MBRTOWC): Upgrade to version from current
1156 autoconf CVS. Needed for mingw.
1158 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1160 Remove the dependency of the strftime module on the tzset module.
1161 * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1163 2005-07-02 Jim Meyering <jim@meyering.net>
1165 * chown.m4, cloexec.m4, dup2.m4, fsusage.m4:
1166 * getcwd-path-max.m4, getcwd.m4, mkstemp.m4, mountlist.m4:
1167 * pagealign_alloc.m4, save-cwd.m4, unistd-safer.m4:
1168 Don't check for fcntl.h, and don't test for HAVE_FCNTL_H.
1170 2005-06-28 Simon Josefsson <jas@extundo.com>
1172 * check-version.m4: New file, suggested by Jim Meyering
1175 2005-06-24 Derek Price <derek@ximbiot.com>
1176 and Bruno Haible <bruno@clisp.org>
1178 Remove stat module & update lstat.
1179 * lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
1180 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1181 * stat.m4: Remove this file.
1183 2005-06-20 Derek Price <derek@ximbiot.com>
1185 * bison.m4: Note that precious decls of YACC & YFLAGS will be
1186 unnecessary for Autoconfs > 2.59c.
1188 2005-06-16 Derek Price <derek@ximbiot.com>
1190 * bison.m4: Declare YACC & YFLAGS precious.
1192 2005-06-08 Bruno Haible <bruno@clisp.org>
1194 * csharpcomp.m4: New file, from GNU gettext.
1196 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1198 Sync from coreutils.
1199 * mkdir-p.m4: Renamed from makepath.m4.
1200 (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed.
1201 Rename files from makepath.c to mkdir-p.c, and from
1202 makepath.h to mkdir-p.h.
1203 * filenamecat.m4: Renamed from path-concat.m4.
1204 (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed.
1205 Rename files from path-concat.c to filenamecat.c,
1206 and from path-concat.h to filenamecat.h.
1207 * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1208 "file name" in local variables or comments.
1209 * rename.m4: Likewise.
1211 2005-06-01 Bruno Haible <bruno@clisp.org>
1213 * csharp.m4: New file, from GNU gettext.
1214 * csharpexec.m4: New file, from GNU gettext.
1216 2005-05-31 Derek Price <derek@ximbiot.com>
1217 Paul Eggert <eggert@cs.ucla.edu>
1220 * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
1222 2005-05-29 Derek Price <derek@ximbiot.com>
1223 Paul Eggert <eggert@cs.ucla.edu>
1225 * glob.m4: New file.
1227 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1229 * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1230 and don't require gt_INTTYPES_PRI.
1232 2005-05-26 Paul Eggert <eggert@cs.ucla.edu>
1234 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Define
1235 _POSIX_PTHREAD_SEMANTICS for Solaris.
1237 2005-05-25 Derek Price <derek@ximbiot.com>
1238 Paul Eggert <eggert@cs.ucla.edu>
1240 * getlogin_r.m4: New files.
1242 2005-05-22 Bruno Haible <bruno@clisp.org>
1244 * minmax.m4: New file.
1245 Based on a patch by Derek Price <derek@ximbiot.com>.
1247 2005-05-20 Paul Eggert <eggert@cs.ucla.edu>
1249 * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1250 (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1252 2005-05-20 Eric Blake <ebb9@byu.net> (tiny change)
1254 * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1257 2005-05-18 Paul Eggert <eggert@cs.ucla.edu>
1259 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1260 Don't check for stddef.h.
1261 * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1262 don't use its results.
1263 Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1264 since we include them unconditionally. Don't require
1265 AM_STDBOOL_H, since stdbool is a prerequisite.
1266 Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1267 since we assume C89 or better.
1268 Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1269 as we don't use their results.
1270 Don't check for fchdir, memmove, memset, strrchr, as we use
1271 them unconditionally.
1272 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1273 GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1275 2005-05-18 Jim Meyering <jim@meyering.net>
1277 * fts.m4 (AC_LIBSOURCES): Add intprops.h to the list.
1278 Reported by Yoann Vandoorselaere.
1280 2005-05-17 Jim Meyering <jim@meyering.net>
1282 * fts.m4: New file, from coreutils.
1284 2005-05-14 Paul Eggert <eggert@cs.ucla.edu>
1286 Sync from coreutils.
1287 * unlinkdir.m4: New file.
1289 2005-05-10 Derek Price <derek@ximbiot.com>
1291 * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1294 2005-05-10 Simon Josefsson <jas@extundo.com>
1296 * getaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
1297 Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
1299 2005-05-09 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
1300 Bruno Haible <bruno@clisp.org>
1302 * inet_ntop.m4: New file.
1304 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1306 * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1309 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1311 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1312 * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1313 (gl_PREREQ_CHOWN): Remove.
1314 * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1315 it. Don't require AC_HEADER_STAT.
1316 (gl_PREREQ_LSTAT): Remove.
1317 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1318 Don't require AC_HEADER_STAT.
1319 * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1320 (gl_PREREQ_RMDIR): Remove.
1321 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1322 mention stat-macros.h or AC_HEADER_STAT, since we'll make
1323 the stat-macros module a prerequisite.
1324 * file-type.m4 (gl_FILE_TYPE): Likewise.
1325 * filemode.m4 (gl_FILEMODE): Likewise.
1326 * makepath.m4 (gl_MAKEPATH): Likewise.
1327 * modechange.m4 (gl_MODECHANGE): Likewise.
1328 * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1330 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1331 fetish_FUNC_RMDIR_NOTEMPTY. All uses changed. Use gl_ for
1333 * fcntl-safer.m4: Remove.
1334 * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1335 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1336 Invoke gl_PREREQ_FD_SAFER.
1337 (gl_PREREQ_FD_SAFER): New macro.
1338 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Check for siginterrupt.
1339 * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1340 Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1341 Remove duplicate call to AC_LIBOBJ(readutmp).
1342 (gl_PREREQ_READUTMP): Remove. All uses inlined.
1344 * mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check for message, not for
1345 MAP_ANON. Problem reported by Moriyoshi Koizumi to bug-cvs.
1347 2005-05-01 Oskar Liljeblad <oskar@osk.mine.nu>
1349 * byteswap.m4: New file.
1353 * gettext.m4: Update from GNU gettext 0.14.4.
1355 2005-04-15 Simon Josefsson <jas@extundo.com>
1357 * getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
1359 2005-03-28 Eric Blake <ebb9@byu.net> (tiny change)
1361 * getcwd-path-max.m4: Return success on systems such as Cygwin
1362 where no absolute path name can be longer than PATH_MAX.
1364 2005-03-22 Jim Meyering <jim@meyering.net>
1366 * stat-macros.m4 (gl_STAT_MACROS): New file/macro.
1368 2005-03-21 Jim Meyering <jim@meyering.net>
1369 and Paul Eggert <eggert@cs.ucla.edu>
1371 * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4,
1372 cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4,
1373 exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4,
1374 getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4,
1375 getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4,
1376 idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4,
1377 memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4,
1378 path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4,
1379 quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4,
1380 safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4,
1381 strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4,
1382 unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4,
1383 xnanosleep.m4, xstrtol.m4, yesno.m4:
1384 Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files
1387 2005-03-21 Jim Meyering <jim@meyering.net>
1389 * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Invoke gl_FUNC_MEMRCHR.
1390 * memrchr.m4 (gl_FUNC_MEMRCHR): Check for memrchr decl.
1392 2005-03-16 Bruno Haible <bruno@clisp.org>
1394 * stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
1395 HAVE_LONGLONG_64BIT.
1397 2005-03-14 Bruno Haible <bruno@clisp.org>
1399 * lib-link.m4, gettext.m4, nls.m4, po.m4:
1400 Update from GNU gettext 0.14.3.
1402 2005-03-10 Jim Meyering <jim@meyering.net>
1404 * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1406 2005-03-07 Bruno Haible <bruno@clisp.org>
1408 * mmap-anon.m4 (MAP_FILE, MAP_FAILED): Remove definitions.
1410 2005-03-03 Bruno Haible <bruno@clisp.org>
1412 * inttypes.m4, isc-posix.m4, once-only.m4:
1413 Use an all-permissive copyright notice, recommended by RMS.
1415 2005-03-03 Derek R. Price <derek@ximbiot.com>
1417 * mmap-anon.m4: New file.
1418 * pagealign_alloc.m4: New file.
1420 2005-01-28 Bruno Haible <bruno@clisp.org>
1422 * stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because of
1423 AIX, the replacement has to be done only after <string.h> is included,
1424 therefore not in config.h. stpncpy.h does the replacement, and
1427 2005-03-01 Paul Eggert <eggert@cs.ucla.edu>
1429 * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1430 to detect nanosleep bug.
1432 2005-02-25 Paul Eggert <eggert@cs.ucla.edu>
1434 * gethrxtime.m4, xnanosleep.m4: New files.
1435 * gettime.m4 (gl_GETTIME): Check for nanotime.
1437 2005-02-24 Bruno Haible <bruno@clisp.org>
1439 * gettext.m4, intdiv0.m4, intmax.m4, inttypes-pri.m4, lcmessage.m4:
1440 * lib-link.m4, lib-prefix.m4, nls.m4, po.m4, printf-posix.m4:
1442 Update from GNU gettext 0.14.2.
1443 * glibc2.m4: New file, from GNU gettext 0.14.2.
1445 2005-02-22 Simon Josefsson <jas@extundo.com>
1447 * iconvme.m4: New file.
1449 2005-02-23 Jim Meyering <jim@meyering.net>
1451 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
1452 Thanks to Bruno Haible for catching it.
1454 2005-02-22 Jim Meyering <jim@meyering.net>
1456 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
1458 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1460 * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
1462 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
1464 Sync from coreutils.
1465 * getloadavg.m4, glibc.m4, search-libs.m4: Remove.
1467 Remove files that are specific to coreutils.
1468 * check-decl.m4, jm-macros.m4, lib-check.m4, prereq.m4: Remove.
1470 2005-01-28 Bruno Haible <bruno@clisp.org>
1472 * javacomp.m4: New file, from GNU gettext.
1474 2005-01-26 Bruno Haible <bruno@clisp.org>
1476 * javaexec.m4: New file, from GNU gettext.
1478 2005-01-24 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1480 * sysexits.m4 (gl_SYSEXITS): Reverted logic. SYSEXITS_H
1481 must be defined if the header file was not found, in order
1482 to provide a replacement. Reported by Todd Vierling <tv@duh.org>
1484 2005-01-23 Paul Eggert <eggert@cs.ucla.edu>
1486 * acl.m4, afs.m4, alloca.m4, argp.m4, assert.m4, atexit.m4,
1487 backupfile.m4, base64.m4, bison.m4, c-bs-a.m4, c-stack.m4,
1488 c-strtod.m4, calloc.m4, canon-host.m4, canonicalize.m4,
1489 clock_time.m4, cloexec.m4, closeout.m4, d-ino.m4, d-type.m4,
1490 dirfd.m4, dirname.m4, dos.m4, dup2.m4, error.m4, euidaccess.m4,
1491 exclude.m4, exitfail.m4, extensions.m4, fcntl-safer.m4,
1492 file-type.m4, fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4,
1493 free.m4, fstypename.m4, fsusage.m4, ftruncate.m4, getaddrinfo.m4,
1494 getcwd-path-max.m4, getcwd.m4, getdate.m4, getdomainname.m4,
1495 getgroups.m4, gethostname.m4, getline.m4, getndelim2.m4,
1496 getnline.m4, getopt.m4, getpagesize.m4, getpass.m4, getsubopt.m4,
1497 gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4,
1498 group-member.m4, hard-locale.m4, hash.m4, host-os.m4, human.m4,
1499 idcache.m4, inttostr.m4, isdir.m4, jm-winsz1.m4, jm-winsz2.m4,
1500 link-follow.m4, long-options.m4, ls-mntd-fs.m4, lstat.m4,
1501 makepath.m4, mathl.m4, md5.m4, memcasecmp.m4, memchr.m4,
1502 memcmp.m4, memcoll.m4, memcpy.m4, memmem.m4, memmove.m4,
1503 memrchr.m4, memset.m4, mkdir-slash.m4, mkstemp.m4, mktime.m4,
1504 modechange.m4, mountlist.m4, nanosleep.m4, obstack.m4,
1505 path-concat.m4, pathmax.m4, perl.m4, physmem.m4, poll.m4,
1506 posixtm.m4, posixver.m4, putenv.m4, quote.m4, quotearg.m4,
1507 readdir.m4, readtokens.m4, readutmp.m4, regex.m4, rename.m4,
1508 restrict.m4, rmdir-errno.m4, rmdir.m4, rpmatch.m4, same.m4,
1509 savedir.m4, settime.m4, sha1.m4, sig2str.m4, snprintf.m4,
1510 sockpfaf.m4, st_dm_mode.m4, st_mtim.m4, stat.m4, stdint.m4,
1511 stdio-safer.m4, strchrnul.m4, strdup.m4, strerror.m4,
1512 strerror_r.m4, strftime.m4, strndup.m4, strnlen.m4, strsep.m4,
1513 strtod.m4, strtoimax.m4, strtok_r.m4, strtol.m4, strtoll.m4,
1514 strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4, sysexits.m4,
1515 time_r.m4, timegm.m4, timespec.m4, tm_gmtoff.m4, tzset.m4,
1516 uint32_t.m4, uintptr_t.m4, unistd-safer.m4, unlink-busy.m4,
1517 unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4, utime.m4,
1518 utimecmp.m4, utimens.m4, utimes-null.m4, vsnprintf.m4, xalloc.m4,
1519 xgetcwd.m4, xreadlink.m4, xstrndup.m4, xstrtod.m4, xstrtoimax.m4,
1520 xstrtol.m4, xstrtoumax.m4, yesno.m4:
1521 Use an all-permissive copyright notice, recommended by RMS.
1523 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
1525 * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
1527 2005-01-18 Paul Eggert <eggert@cs.ucla.edu>
1529 Merge from coreutils.
1530 * ullong_max.m4: New file.
1531 * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
1532 (gl_MACROS): Assume localeconv exists.
1534 2005-01-18 Jim Meyering <jim@meyering.net>
1536 Merge from coreutils.
1537 * chdir-long.m4, openat.m4: New files.
1538 * save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c,
1539 save-cwd.h. Add AC_LIBOBJ for save-cwd.
1540 * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
1541 is sane and DOES follow symlinks. Besides, testing 20 different
1542 systems found no broken chown implementations.
1543 Prompted by a change in rsync's copy of this macro.
1544 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR_LONG.
1546 * lchown.m4 (gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
1548 * utimes.m4: Work around tests/touch/empty-file failure on a system
1549 (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
1550 NULL-means-set-to-current-time semantics.
1551 Remove temporary file immediately, rather than waiting
1552 for configure's at-exit trap code to do it.
1554 2005-01-18 Bruno Haible <bruno@clisp.org>
1556 * allocsa.m4, codeset.m4, copy-file.m4, eaccess.m4, eealloc.m4:
1557 * eoverflow.m4, execute.m4, fatal-signal.m4, findprog.m4, glibc21.m4:
1558 * iconv.m4, intmax_t.m4, inttypes_h.m4, lib-ld.m4, lib-link.m4:
1559 * lib-prefix.m4, linebreak.m4, localcharset.m4, longdouble.m4:
1560 * longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mkdtemp.m4:
1561 * pipe.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4:
1562 * sig_atomic_t.m4, signalblocking.m4, signed.m4, size_max.m4:
1563 * ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4, stpncpy.m4:
1564 * strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, ucs4-utf.m4:
1565 * uintmax_t.m4, ulonglong.m4, unicodeio.m4, utf-ucs4.m4, vasnprintf.m4:
1566 * vasprintf.m4, wait-process.m4, wchar_t.m4, wint_t.m4, xsize.m4:
1567 Use an all-permissive copyright notice, recommended by RMS.
1569 2005-01-06 Bruno Haible <bruno@clisp.org>
1571 * stpncpy.m4 (gl_FUNC_STPNCPY): Rename stpncpy to gnu_stpncpy here.
1573 2005-01-04 Jim Meyering <jim@meyering.net>
1575 Changes imported from coreutils.
1576 * mkstemp.m4 (gl_FUNC_MKSTEMP): Rather than using "conftestXXXXXX"
1577 as the mkstemp template, use a temporary directory and an
1578 8.3-friendly template to avoid trouble on systems like DJGPP.
1579 Reported by Juan M. Guerrero via Stepan Kasal.
1580 * (gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of close.
1581 Remove the temporary directory right away, rather than waiting
1582 for configure's at-exit trap code to do it.
1583 Suggestion from Stepan Kasal.
1585 2004-12-24 Paul Eggert <eggert@cs.ucla.edu>
1587 * c-strtod.m4 (gl_C99_STRTOLD): New macro.
1588 (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
1590 2004-12-23 Paul Eggert <eggert@cs.ucla.edu>
1592 * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
1594 2004-12-18 Bruno Haible <bruno@clisp.org>
1596 * fatal-signal.m4 (gl_FATAL_SIGNAL): Also test for sigaction.
1598 2004-12-07 Paul Eggert <eggert@cs.ucla.edu>
1600 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
1601 spurious "-l"s. Problem reported by Stepan Kasal.
1603 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1605 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
1606 in Autoconf 2.59. Problem reported by Mark D. Baushke.
1608 2004-12-04 Paul Eggert <eggert@cs.ucla.edu>
1610 Changes imported from coreutils.
1611 * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
1613 * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
1615 2004-11-30 Paul Eggert <eggert@cs.ucla.edu>
1617 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1618 Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
1620 * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
1622 2004-11-30 Simon Josefsson <jas@extundo.com>
1624 * base64.m4: New file.
1626 2004-11-30 Simon Josefsson <jas@extundo.com>
1628 * restrict.m4: Add copyright and copying conditions.
1630 2004-11-25 Paul Eggert <eggert@cs.ucla.edu>
1632 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
1633 GL_FUNC_GETCWD_PATH_MAX for consistency. All uses changed.
1634 Use the _ONCE methods, for efficiency.
1635 Check for fcntl.h. In test program, include <errno.h>
1636 and <fcntl.h> if available. Remove old K&R cruft from
1637 test program. Check for common errors in GNU/Linux,
1638 OpenBSD, and Solaris. Just set gl_cv_func_getcwd_path_max;
1639 don't do AC_LIBOBJ, as that's getcwd.m4's job.
1640 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
1641 AC_FUNC_GETCWD_NULL. All used changed. Change cache variable
1643 (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros. Revamp to
1644 accommodate new getcwd.c.
1645 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
1646 * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
1647 * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
1648 that's all we need now.
1650 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1652 * utimens.m4 (gl_UTIMENS): Check for futimes function.
1654 2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1656 * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
1657 argp-parse.c depends on getopt internals, that means we should
1658 always use our getopt, to be on the safe side.
1659 * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
1660 order not to spoil the result of an eventual previous invocation
1661 of gl_GETOPT_SUBSTITUTE.
1663 2004-11-17 Paul Eggert <eggert@cs.ucla.edu>
1665 * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
1666 that mishandle size_t overflow.
1668 2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
1670 * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
1672 2004-11-13 Jim Meyering <jim@meyering.net>
1674 * jm-macros.m4: Do require gl_FUNC_FPENDING.
1676 2004-11-11 Paul Eggert <eggert@cs.ucla.edu>
1678 * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead
1679 of replacing opterr, getopt, etc. This should handle the
1680 powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson.
1682 2004-11-11 Simon Josefsson <jas@extundo.com>
1684 * strtok_r.m4: New file.
1686 * getopt.m4: Replace opterr.
1688 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
1690 * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
1692 2004-11-10 Jim Meyering <jim@meyering.net>
1694 * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING.
1696 2004-11-08 Simon Josefsson <jas@extundo.com>
1698 * getaddrinfo.m4: New file.
1700 2004-11-09 Paul Eggert <eggert@cs.ucla.edu>
1702 * strftime.m4 (_gl_STRFTIME_PREREQS): Remove. Move its body to
1704 (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE
1705 and AC_REQUIRE when possible, to avoid duplicate checks.
1706 Check for <wchar.h>.
1708 2004-11-09 Bruno Haible <bruno@clisp.org>
1710 * sockpfaf.m4: New file.
1712 2004-11-03 Albert Chin <china@thewrittenword.com>
1713 Paul Eggert <eggert@cs.ucla.edu>
1715 * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
1716 equivalent, substitute $ac_type for equivalent type rather than
1717 blindly using uint32_t *always* which won't work if uint32_t is not
1718 available. Define _UINT32_T to work around typedef of uint32_t if
1719 <sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
1722 2004-11-02 Paul Eggert <eggert@cs.ucla.edu>
1724 * jm-macros.m4: Sync from coreutils.
1725 (gl_MACROS): Check for mbrlen, for pathchk.
1726 (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
1728 2004-11-02 Bruno Haible <bruno@clisp.org>
1730 * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv()
1733 2004-11-01 Paul Eggert <eggert@cs.ucla.edu>
1735 * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
1736 fflush_unlocked, flockfile, funlockfile, funlockfile,
1737 fputs_unlocked, putc_unlocked.
1739 2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
1741 * getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
1743 2004-10-15 Paul Eggert <eggert@cs.ucla.edu>
1745 * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
1746 implementation of getopt_long. Problem reported by Alexander Taler in:
1747 http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
1749 2004-10-11 Yoann Vandoorselaere <yoann@prelude-ids.org>
1751 * vsnprintf.m4: New file.
1753 2004-10-05 Bruno Haible <bruno@clisp.org>
1755 * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check
1756 for the declaration of strsep.
1758 2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
1760 * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove. All uses removed.
1762 * unlocked-io.m4: Add copyright notice.
1763 (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
1765 2004-10-04 Simon Josefsson <jas@extundo.com>
1767 * memmem.m4: New file.
1769 2004-10-01 Yoann Vandoorselaere <yoann@prelude-ids.org>
1771 * strsep.m4: New file.
1773 2004-09-30 Simon Josefsson <jas@extundo.com>
1775 * snprintf.m4: New file.
1777 2004-09-09 Bruno Haible <bruno@clisp.org>
1779 * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with
1781 * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
1783 2004-09-08 Bruno Haible <bruno@clisp.org>
1785 * stdint.m4: New file, taken from GNU clisp with modifications.
1787 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
1789 * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA.
1791 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
1793 * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody
1794 uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
1795 Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
1796 Check for program_invocation_name, program_invocation_short_name,
1797 flockfile, funlockfile, features.h, _getopt_long_only_r.
1799 2004-08-12 Simon Josefsson <jas@extundo.com>
1801 * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
1802 as discussed with Paul Eggert in threads rooted at
1803 <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
1805 <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
1806 Before, the test was empty, and relied on ELIDE_CODE in source
1808 (gl_PREREQ_GETOPT): New macro.
1809 (gl_GETOPT): Use them.
1811 2004-08-11 Paul Eggert <eggert@cs.ucla.edu>
1813 Merge from coreutils.
1815 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
1817 * obstack.m4 (gl_PREREQ_OBSTACK): Require
1818 gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
1820 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
1822 * uint32_t.m4, uintptr_t.m4: New files.
1823 * sha1.m4: Renamed from sha.m4.
1824 (gl_SHA1): Renamed from gl_SHA. All uses changed.
1826 2004-08-08 Simon Josefsson <jas@extundo.com>
1828 * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
1829 Check getpass declaration.
1831 2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
1833 More merge from coreutils.
1835 * utimens.m4, utimecmp.m4: New files.
1836 * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
1837 fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
1838 prereq.m4, sha.m4: Import changes from coreutils.
1840 2004-08-05 Paul Eggert <eggert@cs.ucla.edu>
1842 Merge from coreutils.
1844 * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
1847 * dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
1848 FILESYSTEM_PREFIX_LEN ->
1849 FILE_SYSTEM_PREFIX_LEN.
1850 FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX ->
1851 FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.
1852 FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR ->
1853 FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
1855 * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
1856 prerequisite modules now handle the DOS stuff.
1857 Don't check for unistd.h.
1859 2004-08-03 Simon Josefsson <jas@extundo.com>
1861 * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it.
1863 2004-08-02 Simon Josefsson <jas@extundo.com>
1865 * getsubopt.m4: New file.
1867 2004-08-03 Paul Eggert <eggert@cs.ucla.edu>
1869 * fatal.m4: Remove, as the "fatal" module wasn't used or working.
1871 2004-07-13 Robert Millan <robertmh@gnu.org>
1873 * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
1875 2004-06-22 Paul Eggert <eggert@cs.ucla.edu>
1877 * argz.m4: New file, which is autoupdated from libtool.
1879 2004-06-01 Jim Meyering <jim@meyering.net>
1881 * calloc.m4: New file.
1883 2004-06-01 Paul Eggert <eggert@cs.ucla.edu>
1885 Merge from coreutils CVS.
1887 * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4,
1888 makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4,
1889 putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4,
1890 strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4,
1891 xstrtol.m4: Fix copyright date and/or serial number.
1893 * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
1894 See if we need an fchown replacement.
1895 (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
1896 (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
1897 and use the replacement function if we detect either defect.
1899 * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR,
1902 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
1904 * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI
1905 C B3910B A.05.55 [Dec 04 2003]. Problem reported by Jim Meyering.
1906 Also, fix a typo in a diagnostic.
1908 2004-05-30 Paul Eggert <eggert@cs.ucla.edu>
1910 * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC
1913 2004-05-20 Andreas Schwab <schwab@suse.de>
1915 * free.m4: Replace free if it not known to work, not the other
1918 2004-05-17 Derek R. Price <derek@ximbiot.com>
1919 Paul Eggert <eggert@cs.ucla.edu>
1921 * argp: Depend on alloca.
1923 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
1925 * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
1926 for backward compatibility with older code. We need our own
1927 alloca.h if _AIX is defined. Define HAVE_ALLOCA if we discover
1928 it under some other name, and our alloca.h will define it.
1930 2004-05-13 Paul Eggert <eggert@cs.ucla.edu>
1932 * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC.
1933 Check for gettimeofday.
1934 * settime.m4 (gl_SETTIME): Require gl_TIMESPEC.
1935 Check for settimeofday, stime.
1937 2004-04-20 Paul Eggert <eggert@twinsun.com>
1939 * host-os.m4: Add a copyright notice.
1941 2004-04-20 Jim Meyering <jim@meyering.net>
1943 Change UTILS_ to gl_ in AC_DEFINE'd names.
1944 Change utils_- and jm_-prefixed variables, too.
1945 * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
1946 UTILS_FUNC_MKDIR_TRAILING_SLASH.
1947 * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
1949 * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
1950 Don't emit trailing blanks.
1951 Also rename jm_-prefixed variables to have gl_ prefix.
1953 * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS.
1954 Also rename jm_-prefixed variables to have gl_ prefix.
1956 * jm-macros.m4: Reflect the renamings.
1957 * prereq.m4: Likewise.
1959 2004-04-19 Jim Meyering <jim@meyering.net>
1961 * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
1962 now that readutmp.c may call `free (0)'.
1964 2004-04-19 Bruno Haible <bruno@clisp.org>
1966 * mbrtowc.m4: Change jm_ to gl_ in cache variables as well.
1967 * inttypes_h.m4: Likewise.
1968 * stdint_h.m4: Likewise.
1969 * intmax_t.m4: Likewise.
1970 * uintmax_t.m4: Likewise.
1972 2004-04-18 Jim Meyering <jim@meyering.net>
1974 * prereq.m4: Don't forbid jm_ prefix.
1976 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
1977 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4:
1978 * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4:
1979 * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4:
1980 * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4:
1981 * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4:
1982 * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
1983 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
1984 * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4:
1985 * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4:
1986 * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4:
1987 * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4:
1988 * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4:
1989 * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4:
1990 * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
1991 Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
1993 2004-04-16 Jim Meyering <jim@meyering.net>
1995 * prereq.m4 (jm_PREREQ_STAT): Remove macro. It is specific to
1996 coreutils' stat program.
1997 (gl_PREREQ): Don't require jm_PREREQ_STAT.
1999 2004-03-31 Jim Meyering <jim@meyering.net>
2001 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
2002 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2003 * xalloc.m4: Likewise.
2005 2004-03-30 Jim Meyering <jim@meyering.net>
2007 * realloc.m4: Remove file, since now it does no more than
2008 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
2009 the `configure.ac' section of module/realloc.
2010 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
2012 2004-03-30 Paul Eggert <eggert@twinsun.com>
2014 Merge from coreutils.
2016 * inttostr.m4: New file.
2017 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
2018 Require AM_STDBOOL_H and gl_TIMESPEC instead.
2019 Require gl_CLOCK_TIME.
2020 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
2022 2004-03-30 Jim Meyering <jim@meyering.net>
2024 Merge from coreutils.
2026 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
2027 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
2028 on some systems one must include <grp.h> before it.
2029 Reported by Christian Krackowizer.
2031 2004-03-29 Paul Eggert <eggert@twinsun.com>
2033 * cloexec.m4: New file.
2035 2004-03-18 Paul Eggert <eggert@twinsun.com>
2036 Bruno Haible <bruno@clisp.org>
2038 * mbswidth.m4 (gl_MBSWIDTH): Also test whether <wchar.h> declares
2041 2004-03-07 Paul Eggert <eggert@twinsun.com>
2043 * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
2044 All uses changed. Check for sa_sigaction member; this fixes
2045 a bug first reported by Jason Andrade in
2046 <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
2048 2004-01-18 Simon Josefsson <jas@extundo.com>
2050 * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared.
2052 2004-02-18 Bruno Haible <bruno@clisp.org>
2054 * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
2055 Reported by Derek Robert Price <derek@ximbiot.com>.
2057 2004-02-06 Karl Berry <karl@gnu.org>
2059 * po.m4: update from gettext 0.14.1.
2061 2004-02-03 Bruno Haible <bruno@clisp.org>
2063 * pipe.m4: New file, from GNU gettext.
2065 2004-01-27 Bruno Haible <bruno@clisp.org>
2067 * execute.m4: New file, from GNU gettext.
2069 2003-11-24 Bruno Haible <bruno@clisp.org>
2071 * allocsa.m4: New file, from GNU gettext.
2073 2003-11-24 Bruno Haible <bruno@clisp.org>
2075 * eealloc.m4: New file, from GNU gettext.
2077 2004-01-15 Paul Eggert <eggert@twinsun.com>
2079 Merge from coreutils.
2081 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
2082 * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
2083 (gl_DEFAULT_POSIX2_VERSION): Move
2084 the documentation from 'configure' into 'config.hin',
2085 so that 'configure --help' isn't burdened by it and
2086 we don't have to worry about its formatting there.
2087 Reword the documentation so that it's more succinct
2088 and can be run together into a single paragraph.
2089 * same.m4 (gl_SAME): Check for pathconf.
2091 2004-01-15 Jim Meyering <jim@meyering.net>
2093 Merge from coreutils.
2095 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2096 if no library is required.
2097 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2098 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2099 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2100 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2101 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2102 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2103 value, $ac_cv_search_crypt, if it's "none required".
2104 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2105 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2106 not gl_FUNC_GETLOADAVG.
2107 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2108 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2110 2004-01-15 Alexandre Duret-Lutz <adl@gnu.org>
2112 Merge from coreutils.
2114 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2115 value, $ac_cv_search_nanosleep, if it's "none required".
2117 2003-12-03 Bruno Haible <bruno@clisp.org>
2119 * gettext.m4: Upgrade from gettext-0.13.
2120 * po.m4: Upgrade from gettext-0.13.
2121 * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
2122 * intmax.m4: New file, from gettext-0.13.
2123 * printf-posix.m4: New file, from gettext-0.13.
2125 2003-11-25 Bruno Haible <bruno@clisp.org>
2127 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require
2130 2003-11-17 Bruno Haible <bruno@clisp.org>
2132 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T.
2134 2003-11-12 Paul Eggert <eggert@twinsun.com>
2136 * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or
2139 2003-11-11 Bruno Haible <bruno@clisp.org>
2141 * size_max.m4: New file.
2142 * ptrdiff_max.m4: New file.
2143 * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
2144 * xalloc.m4 (gl_PREREQ_XALLOC): New macro.
2145 (gl_XALLOC): Invoke it.
2147 2003-11-04 Bruno Haible <bruno@clisp.org>
2149 * xsize.m4: New file.
2151 2003-11-03 Bruno Haible <bruno@clisp.org>
2153 * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid.
2155 2003-10-30 Paul Eggert <eggert@cs.ucla.edu>
2157 * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to
2158 netbsd*-gnu*. Suggested by Robert Millan.
2160 2003-10-29 Paul Eggert <eggert@twinsun.com>
2162 * xalloc.m4 (gl_XALLOC): Undo previous change.
2164 2003-10-29 Paul Eggert <eggert@twinsun.com>
2166 * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu. Add comments
2167 to it, and to knetbsd*-gnu and kfreebsd*-gnu. Remove the '*' from
2168 after the 'gnu' in these cases. This fixes some bugs in the
2169 previous change, and is based on suggestions by Robert Millan.
2171 2003-10-28 Paul Eggert <eggert@twinsun.com>
2173 * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and
2174 GNU/KNetBSD. These implementations use glibc atop the FreeBSD and
2175 NetBSD kernels. Requested by Richard Stallman.
2177 2003-10-26 Paul Eggert <eggert@twinsun.com>
2179 * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
2182 2003-10-23 Paul Eggert <eggert@twinsun.com>
2184 * getline.m4 (AM_FUNC_GETLINE):
2185 Don't include getndelim2.o twice into LIBOBJS; this breaks on some
2186 hosts. Problem reported by Derek Robert Price in
2187 <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
2188 This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
2189 * getndelim2.m4 (gl_GETNDELIM2): Likewise.
2191 2003-10-20 Bruno Haible <bruno@clisp.org>
2193 * wait-process.m4: New file.
2195 2003-10-14 Bruno Haible <bruno@clisp.org>
2197 * sig_atomic_t: New file, from GNU gettext.
2198 * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T.
2200 2003-10-12 Paul Eggert <eggert@twinsun.com>
2202 * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE.
2204 2003-10-10 Simon Josefsson <jas@extundo.com>
2206 * argp.m4: Add AC_C_INLINE.
2208 2003-10-08 Paul Eggert <eggert@twinsun.com>
2210 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2212 2003-10-06 Bruno Haible <bruno@clisp.org>
2214 * fatal-signal.m4: New file.
2215 * signalblocking.m4: New file, from GNU gettext.
2217 2003-09-27 Paul Eggert <eggert@twinsun.com>
2219 * free.m4: New file.
2221 2003-09-26 Bruno Haible <bruno@clisp.org>
2223 * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
2224 Don't define stpncpy through config.h; it's now done through stpncpy.h.
2226 2003-09-25 Simon Josefsson <jas@extundo.com>
2227 Bruno Haible <bruno@clisp.org>
2229 * getdomainname.m4: New file.
2231 2003-09-17 Paul Eggert <eggert@twinsun.com>
2233 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2234 to avoid spurious warnings like "AC_RUN_IFELSE was called before
2235 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2237 2003-09-12 Paul Eggert <eggert@twinsun.com>
2239 * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it.
2241 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2242 and AC_MINIX, too, so that their extensions are available.
2244 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
2245 This macro has been superseded by gl_BACKUPFILE.
2247 More patches to assume C89 or better.
2249 * error.m4 (gl_ERROR): Don't check for vprintf.
2251 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2253 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2254 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2255 Include <string.h>, <stdlib.h> unconditionally.
2256 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2257 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2258 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2260 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h
2263 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2264 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2265 * userspec.m4 (gl_USERSPEC): Likewise.
2266 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2267 * xstrtod.m4 (gl_XSTRTOD): Likewise.
2268 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2269 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2271 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2272 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2273 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2274 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2275 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2276 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2279 2003-09-11 Paul Eggert <eggert@twinsun.com>
2281 More patches to assume C89 or better.
2282 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2283 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2284 string.h, memchr, STDC_HEADERS.
2286 2003-09-10 Bruno Haible <bruno@clisp.org>
2288 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2289 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2290 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2291 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2292 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove
2293 <stdlib.h> and <string.h> checks.
2294 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2295 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2297 2003-09-09 Paul Eggert <eggert@twinsun.com>
2299 More patches to assume C89 or better.
2300 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2301 * getopt.m4 (gl_GETOPT): Don't check for string.h.
2302 * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
2304 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2305 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2307 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2309 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2310 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2311 * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
2313 * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
2314 * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
2316 * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
2318 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2319 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2320 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2321 * memcoll.m4 (gl_MEMCOLL): Likewise.
2322 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2323 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2325 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2326 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2327 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2328 C headers, or for string.h.
2329 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2330 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2331 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2332 headers, memory.h, stdlib.h, string.h, strings.h.
2333 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2334 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2335 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2337 * readtokens.m4 (gl_READTOKENS): Don't check for standard C
2338 headers, memory.h, string.h.
2339 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2340 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2342 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2343 * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
2344 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2345 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2346 * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
2347 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2349 2003-09-09 Derek Robert Price <derek@ximbiot.com>
2351 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2354 2003-09-08 Paul Eggert <eggert@twinsun.com>
2356 Assume C89 or better; remove K&R cruft.
2357 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2358 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2359 string.h, getenv, malloc.
2360 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2362 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2363 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2364 do not check for strerror.
2365 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2366 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2367 * fatal.m4 (gl_FATAL): Do not require STDC headers, and
2368 do not check for doprnt or vprintf.
2369 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
2370 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2372 2003-09-06 Paul Eggert <eggert@twinsun.com>
2374 * time_r.m4: New file.
2375 * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
2376 * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
2377 Check for timegm declaration.
2378 (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
2379 Do not check for gmtime_r.
2380 Replace mktime if __mktime_internal does not exist and if mktime
2381 hasn't been replaced already.
2383 2003-08-31 Simon Josefsson <jas@extundo.com>
2385 * timegm.m4: New file.
2387 2003-08-26 Bruno Haible <bruno@clisp.org>
2389 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2390 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2391 followed by '#define fnmatch fnmatch_posix' gives an error.
2393 2003-08-27 Jim Meyering <jim@meyering.net>
2395 * mkstemp.m4: Require that the system mkstemp be able to create
2396 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
2397 would fail after 32. Reported by Danny Levinson. Details here:
2398 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2400 2003-08-20 Karl Berry <karl@gnu.org>
2402 * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
2404 2003-08-19 Jim Meyering <jim@meyering.net>
2406 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2407 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2409 2003-08-19 Bruno Haible <bruno@clisp.org>
2411 * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
2413 2003-08-18 Jim Meyering <jim@meyering.net>
2415 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2416 * lib-ld.m4: Likewise.
2418 2003-08-17 Simon Josefsson <jas@extundo.com>
2420 * argp.m4: New file.
2422 2003-08-17 Simon Josefsson <jas@extundo.com>
2424 * xstrndup.m4: New file.
2426 2003-08-16 Jim Meyering <jim@meyering.net>
2428 * utimes.m4 (gl_FUNC_UTIMES): New file.
2429 * utimes.m4: Removed.
2430 * utimes-null.m4: Renamed from utimes.m4.
2432 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2433 to 1MB, so as not to render systems with no stack size limit (e.g.,
2434 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2435 Include <unistd.h>. On some systems,
2436 it is required for the definition of _SC_PAGESIZE.
2438 2003-08-16 Paul Eggert <eggert@twinsun.com>
2440 Merges from coreutils, etc.
2441 * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
2442 error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28.
2443 * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
2445 * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
2446 * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
2448 2003-08-16 Jim Meyering <jim@meyering.net>
2449 and Paul Eggert <eggert@cs.ucla.edu>
2451 Merges from coreutils, etc.
2453 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
2454 using the latest version from cvs. This avoids problems with #line
2455 directives using a vendor (Sun) compiler.
2456 (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
2457 Don't set GETGROUPS_LIB here; now it's
2458 done via getgroups.m4's wrapper function.
2459 AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
2460 rather than just in sh-util/configure.in, so that the
2461 now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
2463 Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
2464 AC_FUNC_GETLOADAVG where to find getloadavg.c.
2465 Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
2466 UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
2467 gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
2468 Remove code that is now done by the newly-required macros.
2469 Append $(EXEEXT) to DF_PROG.
2470 AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
2471 Do not invoke or require the following here,
2472 since prereq.m4 or some gnulib .m4 now does this for us:
2473 gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
2474 jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
2475 jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
2476 jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
2477 jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
2478 AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
2479 vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
2481 Do not replace the following functions, as this is now the job
2482 of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
2483 getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
2484 strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
2485 atexit getpass, strdup, getpagesize.
2487 Do not check for the following functions, as this is now the job
2488 of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
2489 getcwd, getmntinfo, resolvepath. But check for sysctl, setreuid,
2491 (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
2492 Check for sys/sysctl.h.
2493 (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
2494 jm_CHECK_TYPE_STRUCT_TIMESPEC. Invoke gt_TYPE_SSIZE_T instead
2495 of checking for ssize_t ourselves.
2497 * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
2498 Require every macro that gnulib/modules/* suggests for us.
2499 (jm_PREREQ_ADDEXT): New macro.
2500 (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
2501 Require jm_AC_TYPE_LONG_LONG instead of invoking it.
2503 * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
2504 (gl_PHYSMEM): Use it.
2505 Also check for `table' function.
2506 Check for new headers and functions.
2507 Add check for sys/sysmp.h.
2508 With suggestions from Kaveh Ghazi.
2509 Ignore headers that are present but cannot be compiled. This
2510 avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
2513 2003-08-16 Jim Meyering <jim@meyering.net>
2515 Merges from coreutils.
2516 * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
2517 prefix. Adjust cache variables similarly. Create 500 rather than
2518 just 300 files, to exercise bug on Darwin6.5, too.
2519 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
2520 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
2521 Reported by mkc@mathdogs.com.
2522 Also change use of $am_cv_sys_posix_termios
2523 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
2524 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
2525 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
2526 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
2527 /proc/mounts until it finds one with matching device number. This is
2528 unnecessary when the FILE argument *is* a mount point. No stat call
2529 is necessary in that case. So, disable the statvfs-testing code on
2530 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
2531 as RedHat bug# 84846.
2532 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2533 to 1MB, so as not to render systems with no stack size limit (e.g.,
2534 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2535 Include <unistd.h>. On some systems,
2536 it is required for the definition of _SC_PAGESIZE.
2538 2003-08-15 Jim Meyering <jim@meyering.net>
2539 and Paul Eggert <eggert@cs.ucla.edu>
2541 Merges from coreutils, etc.
2542 * strftime.m4 (_jm_STRFTIME_PREREQS):
2543 Require gl_FUNC_TZSET_CLOBBER.
2544 * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
2545 ut_exit.ut_termination, and ut_exit.e_termination members.
2547 2003-08-14 Paul Eggert <eggert@twinsun.com>
2549 Help the merge from coreutils.
2550 * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
2551 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
2552 * tzset.m4: Use it too.
2554 2003-08-14 Jim Meyering <jim@meyering.net>
2556 Merge from coreutils.
2557 * tzset.m4: New file.
2558 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
2559 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
2560 systems would end up using the latter. MOUNTED_GETMNTENT1 support
2561 is inadequate on such systems: 1) detecting whether a file system
2562 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
2563 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
2564 merely /MOUNT_POINT. Reported by Mike Jetzer.
2566 2003-08-13 Paul Eggert <eggert@twinsun.com>
2568 * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
2571 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2572 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2573 Undo previous (whitespace-only) change.
2575 2003-08-12 Paul Eggert <eggert@twinsun.com>
2577 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2578 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2579 Normalize leading white space and remove trailing white space.
2581 Merge from coreutils
2582 * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
2584 * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
2585 0.12.1. These files are now being upgraded automatically by
2586 ../config/srclist-update.
2588 2003-08-11 Bruno Haible <bruno@clisp.org>
2590 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
2592 2003-08-09 Paul Eggert <eggert@twinsun.com>
2594 * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
2595 apparently Emacs's Unicode mode got confused before my 2003-08-05
2598 2003-08-08 Paul Eggert <eggert@twinsun.com>
2600 * extensions.m4: New file.
2601 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
2602 Require gl_USE_SYSTEM_EXTENSIONS.
2603 * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
2604 Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
2606 2003-08-07 Paul Eggert <eggert@twinsun.com>
2608 * restrict.m4: New file.
2609 * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
2611 2003-08-07 Bruno Haible <bruno@clisp.org>
2613 * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
2614 the module 'getndelim2' compatible with the module 'getline'.
2616 2003-08-05 Paul Eggert <eggert@twinsun.com>
2618 * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
2619 byte with "\201" to avoid glitches when editing that source file
2620 with multi-gnome-terminal.
2622 2003-07-31 Bruno Haible <bruno@clisp.org>
2624 * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
2626 2003-07-18 Bruno Haible <bruno@clisp.org>
2628 * getndelim2.m4: New file.
2629 * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
2630 invoke gl_PREREQ_GETNDELIM2.
2631 (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
2632 gl_PREREQ_GETNDELIM2.
2633 * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
2636 2003-07-17 Bruno Haible <bruno@clisp.org>
2638 * Makefile.am.in: Remove file.
2639 * Makefile.am: Remove file.
2640 * Makefile.in: Remove file.
2642 2003-07-17 Bruno Haible <bruno@clisp.org>
2644 * getnline.m4: New file.
2646 2003-07-14 Simon Josefsson <jas@extundo.com>
2648 * mempcpy.m4: New file.
2650 2003-07-10 Jim Meyering <jim@meyering.net>
2652 * clock_time.m4: Remove trailing blank.
2653 * intmax_t.m4: Likewise.
2655 2003-07-01 Paul Eggert <eggert@twinsun.com>
2657 * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
2658 xreadlink.c now includes it unconditionally.
2660 2003-07-01 Bruno Haible <bruno@clisp.org>
2662 * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
2663 should be sufficient.
2664 Reported by Paul Eggert.
2666 2003-06-25 Bruno Haible <bruno@clisp.org>
2668 * readlink.m4: New file.
2670 2003-06-22 Bruno Haible <bruno@clisp.org>
2672 Portability to mingw32.
2673 * ssize_t.m4: New file, from GNU gettext.
2674 * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
2675 * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
2677 2003-06-11 Bruno Haible <bruno@clisp.org>
2679 * sysexits.m4: New file.
2681 2003-06-10 Simon Josefsson <jas@extundo.com>
2683 * strchrnul.m4: New file.
2685 2003-06-07 Bruno Haible <bruno@clisp.org>
2687 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
2688 gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
2689 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2691 * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
2692 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2695 2003-06-04 Paul Eggert <eggert@twinsun.com>
2697 * human.m4 (gl_HUMAN): Require AM_STDBOOL_H. Check for
2698 locale.h, localeconv. This merges changes from coreutils.
2700 * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
2701 It can be removed after the next Autoconf is released.
2702 * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
2705 2003-05-30 Bruno Haible <bruno@clisp.org>
2707 * gettext.m4: Upgrade to gettext-0.12.1.
2708 * nls.m4: New file, from gettext-0.12.1.
2709 * po.m4: New file, from gettext-0.12.1.
2710 * progtest.m4: Upgrade to gettext-0.12.1.
2712 2003-05-28 Paul Eggert <eggert@twinsun.com>
2714 Assume the headers required for C89 freestanding compilers.
2715 * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
2716 * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
2717 * human.m4 (gl_HUMAN): Likewise.
2718 * pathmax.m4 (gl_PATHMAX): Likewise.
2719 * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
2720 * userspec.m4 (gl_USERSPEC): Likewise.
2721 * xreadlink.m4 (gl_XREADLINK): Likewise.
2722 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2723 * quote.m4 (gl_QUOTE): Don't check for stddef.h.
2725 2003-05-26 Jim Meyering <jim@meyering.net>
2727 Merge in a change from coreutils:
2728 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
2729 that is guaranteed to be `no'. Use `no_such_member' to indicate
2730 that condition, rather than `-1' which is slightly misleading.
2731 Change the name of the cache variable to have the gl_ prefix.
2732 Prompted by a patch from Richard Dawe for DJGPP.
2734 2003-05-17 Bruno Haible <bruno@clisp.org>
2736 * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
2737 expansion for AC_EGREP_CPP.
2738 * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
2739 * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
2740 Suggested by Akim Demaille <akim@epita.fr> in
2741 http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
2743 2003-04-21 Paul Eggert <eggert@twinsun.com>
2745 * error.m4 (gl_ERROR): Do not put under dynamic conditions some
2746 code which expansion is under static control. Patch imported from
2747 Akim Demaille's patch to Bison; see
2748 <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
2750 2003-04-14 Bruno Haible <bruno@clisp.org>
2752 * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
2754 2003-04-10 Bruno Haible <bruno@clisp.org>
2756 * findprog.m4: New file.
2757 * eaccess.m4: New file.
2759 2003-04-04 Bruno Haible <bruno@clisp.org>
2761 * linebreak.m4: New file.
2763 2003-04-03 Bruno Haible <bruno@clisp.org>
2765 * utf-ucs4.m4: New file.
2766 * ucs4-utf.m4: New file.
2768 2003-03-30 Bruno Haible <bruno@clisp.org>
2770 * copy-file.m4 (gl_COPY_FILE): Add check for chown().
2772 2003-03-28 Bruno Haible <bruno@clisp.org>
2774 * copy-file.m4: New file.
2776 2003-03-18 Bruno Haible <bruno@clisp.org>
2778 * onceonly.m4: Use m4_defn instead of defn, for better error checking.
2779 * onceonly_2_57.m4: Likewise.
2781 2003-03-17 Bruno Haible <bruno@clisp.org>
2783 * onceonly.m4: Require autoconf 2.54 or newer.
2784 (m4_quote): Remove macro.
2785 * onceonly_2_57.m4: Require autoconf 2.54 or newer.
2787 2003-03-14 Bruno Haible <bruno@clisp.org>
2789 * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
2790 AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
2792 2003-03-13 Paul Eggert <eggert@twinsun.com>
2794 * onceonly.m4 (m4_quote): New macro.
2795 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
2796 Quote AC_FOREACH variable-expansions properly.
2798 2003-02-19 Paolo Bonzini <bonzini@gnu.org>
2800 * poll.m4: New file.
2802 2003-02-18 Paolo Bonzini <bonzini@gnu.org>
2804 * mathl.m4: New file.
2806 2003-02-17 Bruno Haible <bruno@clisp.org>
2808 * mkdtemp.m4: New file, from GNU gettext with modifications.
2810 2003-02-02 Jim Meyering <jim@meyering.net>
2812 * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
2815 2003-01-31 Bruno Haible <bruno@clisp.org>
2817 * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
2819 * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
2821 * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
2823 * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
2826 2003-01-30 Bruno Haible <bruno@clisp.org>
2828 * signed.m4: New file, from GNU gettext.
2829 * longdouble.m4: New file, from GNU gettext.
2830 * wchar_t.m4: New file, from GNU gettext.
2831 * wint_t.m4: New file, from GNU gettext.
2832 * vasnprintf.m4: New file.
2833 * vasprintf.m4: New file.
2835 2003-01-29 Bruno Haible <bruno@clisp.org>
2837 * stpncpy.m4: New file.
2839 2003-01-23 Jim Meyering <jim@meyering.net>
2841 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
2842 from working on systems without dirfd (at least Irix and OSF1/Tru64).
2844 2003-01-16 Jim Meyering <jim@meyering.net>
2846 * regex.m4: The `regex' struct is both input and output.
2847 Initialize it before each use. Patch by Tim Waugh.
2849 2003-01-11 Bruno Haible <bruno@clisp.org>
2851 * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
2852 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
2855 2003-01-11 Bruno Haible <bruno@clisp.org>
2857 * md5.m4 (gl_MD5): Require AC_C_INLINE.
2859 2003-01-11 Bruno Haible <bruno@clisp.org>
2861 * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
2863 2003-01-12 Paul Eggert <eggert@twinsun.com>
2865 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
2866 to avoid collisions with libcurses and libreadline.
2868 * getstr.m4: Remove.
2869 * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
2871 2003-01-10 Bruno Haible <bruno@clisp.org>
2873 * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
2875 2003-01-09 Bruno Haible <bruno@clisp.org>
2877 * stdbool.m4 (AM_STDBOOL_H): New macro.
2879 2002-12-31 Paul Eggert <eggert@twinsun.com>
2881 * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
2883 2002-12-24 Bruno Haible <bruno@clisp.org>
2885 General infrasructure.
2886 * README: Rewritten.
2887 * onceonly.m4: New file.
2888 * onceonly_2_57.m4: New file.
2891 * atexit.m4: New file.
2894 * strtod.m4: New file.
2897 * strtol.m4: New file.
2900 * strtoul.m4: New file.
2903 * memchr.m4: New file.
2906 * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
2907 (jm_FUNC_MEMCMP): Invoke it.
2910 * memcpy.m4: New file.
2913 * memmove.m4: New file.
2916 * memset.m4: New file.
2919 * strcspn.m4: New file.
2922 * strpbrk.m4: New file.
2925 * strstr.m4: New file.
2928 * strerror.m4: New file.
2931 * mktime.m4: Renamed from jm-mktime.m4.
2932 (gl_PREREQ_MKTIME): New macro.
2933 (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
2936 * malloc.m4 (gl_PREREQ_MALLOC): New macro.
2937 (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
2938 Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
2941 * realloc.m4 (gl_PREREQ_REALLOC): New macro.
2942 (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
2943 Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
2946 * tm_gmtoff.m4: New file, extracted from strftime.m4.
2947 * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
2948 Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
2950 (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
2953 * xalloc.m4: New file.
2956 * alloca.m4: New file.
2959 * putenv.m4 (gl_PREREQ_PUTENV): New macro.
2960 (jm_FUNC_PUTENV): Invoke it.
2963 * setenv.m4 (gt_FUNC_SETENV): New macro.
2964 (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
2966 (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
2970 * memrchr.m4: New file.
2973 * stpcpy.m4: New file.
2976 * strcase.m4: New file.
2979 * strdup.m4: New file.
2982 * strnlen.m4: New file.
2985 * strndup.m4: New file.
2988 * xstrtod.m4: New file.
2991 * xstrtol.m4: New file.
2994 * getdate.m4: New file.
2997 * unlocked-io.m4: Renamed from jm-glibc-io.m4.
2998 (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
2999 * jm-glibc-io.m4n: Remove file.
3001 Module long-options.
3002 * long-options.m4: New file.
3011 * getstr.m4: New file.
3014 * getline.m4 (gl_PREREQ_GETLINE): New macro.
3015 (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
3016 <sys/types.h>, for size_t. Use the function name gnu_getline, not
3017 simply getline. Infoke gl_PREREQ_GETLINE.
3020 * obstack.m4: New file.
3023 * hash.m4: New file.
3026 * readtokens.m4: New file.
3029 * strverscmp.m4: New file.
3032 * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
3035 * strtoll.m4: New file.
3038 * strtoull.m4: New file.
3041 * strtoimax.m4: New file.
3044 * strtoumax.m4: New file.
3047 * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
3048 Moved the strtol prerequisites to strtol.m4.
3049 Moved the strtoll prerequisites to strtoll.m4.
3050 Moved the strtoimax prerequisites to strtoimax.m4.
3053 * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
3054 Moved the strtoul prerequisites to strtoul.m4.
3055 Moved the strtoull prerequisites to strtoull.m4.
3056 Moved the strtoumax prerequisites to strtoumax.m4.
3059 * chown.m4 (gl_PREREQ_CHOWN): New macro.
3060 (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
3063 * dup2.m4: New file.
3066 * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
3067 (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
3070 * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
3071 (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
3073 Module gettimeofday.
3074 * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
3075 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
3076 gl_PREREQ_GETTIMEOFDAY.
3079 * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
3080 (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
3083 * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
3084 (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
3085 jm_AC_TYPE_UINTMAX_T.
3086 (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
3089 * stat.m4 (gl_PREREQ_STAT): New macro.
3090 (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
3093 * lstat.m4 (gl_PREREQ_LSTAT): New macro.
3094 (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
3097 * timespec.m4 (gl_TIMESPEC): New macro.
3098 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
3099 * st_mtim.m4: Indentation.
3102 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
3103 (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
3104 gl_PREREQ_NANOSLEEP.
3107 * regex.m4 (jm_PREREQ_REGEX): New macro.
3108 (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
3109 (gl_REGEX): New macro.
3112 * rename.m4 (gl_PREREQ_RENAME): New macro.
3113 (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
3116 * rmdir.m4: New file.
3119 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
3120 * utime.m4 (gl_PREREQ_UTIME): New macro.
3121 (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
3124 * dirname.m4: New file.
3127 * getopt.m4: New file.
3129 Module unistd-safer.
3130 * unistd-safer.m4: New file.
3133 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
3135 (gl_PREREQ_FNMATCH_EXTRA): New macro.
3136 (gl_FUNC_FNMATCH_POSIX): New macro.
3137 (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
3138 gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
3142 * exclude.m4: New file.
3145 * human.m4: New file.
3151 * backupfile.m4: New file.
3152 * d-ino.m4: Indentation.
3155 * fsusage.m4 (gl_FSUSAGE): New macro.
3156 (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
3157 (gl_PREREQ_FSUSAGE_EXTRA): New macro.
3160 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
3163 * euidaccess.m4: New file.
3166 * file-type.m4: New file.
3169 * fileblocks.m4: New file.
3172 * filemode.m4: New file.
3175 * isdir.m4: New file.
3178 * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
3179 (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
3182 * makepath.m4: New file.
3185 * modechange.m4: New file.
3188 * mountlist.m4: New file.
3189 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
3193 * path-concat.m4: New file.
3196 * pathmax.m4: New file.
3199 * same.m4: New file.
3202 * save-cwd.m4: New file.
3205 * savedir.m4: New file.
3208 * xgetcwd.m4: New file.
3209 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
3212 * xreadlink.m4: New file.
3215 * safe-read.m4: New file.
3218 * safe-write.m4: New file.
3221 * closeout.m4: New file.
3224 * stdio-safer.m4: New file.
3227 * getpass.m4: New file.
3230 * getugroups.m4: New file.
3232 Module group-member.
3233 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
3234 (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
3237 * idcache.m4: New file.
3240 * userspec.m4: New file.
3243 * clock_time.m4: New file.
3244 * gettime.m4: New file.
3247 * settime.m4: New file.
3250 * posixtm.m4: New file.
3253 * gethostname.m4: New file.
3256 * canon-host.m4: New file.
3259 * codeset.m4: New file, from gettext-0.11.5.
3260 * gettext.m4: New file, from gettext-0.11.5.
3261 * glibc21.m4: New file, from gettext-0.11.5.
3262 * iconv.m4: New file, from gettext-0.11.5.
3263 * intdiv0.m4: New file, from gettext-0.11.5.
3264 * inttypes-pri.m4: New file, from gettext-0.11.5.
3265 * inttypes.m4: New file, from gettext-0.11.5.
3266 * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
3267 * isc-posix.m4: New file, from gettext-0.11.5.
3268 * lcmessage.m4: New file, from gettext-0.11.5.
3269 * lib-ld.m4: New file, from gettext-0.11.5.
3270 * lib-link.m4: New file, from gettext-0.11.5.
3271 * lib-prefix.m4: New file, from gettext-0.11.5.
3272 * progtest.m4: New file, from gettext-0.11.5.
3273 * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
3274 * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
3275 * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
3277 Module localcharset.
3278 * localcharset.m4: New file.
3281 * hard-locale.m4: New file.
3284 * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
3286 * mbrtowc.m4: Add comment.
3289 * memcasecmp.m4: New file.
3292 * memcoll.m4: New file.
3295 * unicodeio.m4: New file.
3298 * rpmatch.m4: New file.
3301 * yesno.m4: New file.
3304 * exitfail.m4: New file.
3307 * c-stack.m4 (gl_C_STACK): New macro.
3308 (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
3311 * error.m4 (gl_ERROR): New macro.
3312 (jm_PREREQ_ERROR): Use onceonly macros.
3315 * fatal.m4: New file.
3318 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
3319 (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
3322 * getpagesize.m4: New file.
3324 Module getusershell.
3325 * getusershell.m4: New file.
3328 * physmem.m4: New file.
3331 * posixver.m4: New file.
3334 * quotearg.m4: New file.
3337 * quote.m4: New file.
3340 * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
3343 * sig2str.m4: New file.
3346 * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
3348 * intmax_t.m4: New file.
3349 * d-type.m4: Indentation.
3350 * jm-macros.m4: Update.
3351 * prereq.m4 (jm_PREREQ): Update.
3352 (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
3353 (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
3354 (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
3355 (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
3356 (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
3357 (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
3358 (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
3359 (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
3360 (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
3361 (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
3362 (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
3363 (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
3364 (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
3365 (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
3366 (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
3367 (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
3368 (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
3369 (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
3370 * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
3372 2002-12-18 Bruno Haible <bruno@clisp.org>
3374 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
3375 * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
3377 2002-12-17 Bruno Haible <bruno@clisp.org>
3379 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
3382 2002-12-11 Bruno Haible <bruno@clisp.org>
3384 * setenv.m4: New file, from gettext-0.11.5.
3386 2002-12-06 Paul Eggert <eggert@twinsun.com>
3388 Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
3389 a pain in practice to deal with generated m4 files. This change
3390 goes together with the 2002-12-04 unlocked-io.h change in ../lib.
3392 * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
3393 and jm-glibc-io.m4, as they are no longer a special case.
3394 * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
3395 kludge and the auto-generation stuff. Check only whether the
3396 functions are declared, not whether they exist, since older hosts
3397 that don't declare the functions can't use the optimization anyway.
3399 2002-07-06 Jim Meyering <meyering@lucent.com>
3401 * README: Don't mention Makefile.am.in.
3402 Outline how I've tested changes to .m4 files. Yep, it's a pain.
3404 2002-06-11 Paul Eggert <eggert@twinsun.com>
3406 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
3408 2002-06-22 Jim Meyering <meyering@lucent.com>
3410 * c-stack.m4: New file, from diffutils-2.8.2.
3411 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
3413 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
3414 now that configure.ac uses AC_GNU_SOURCE.
3415 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
3416 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
3418 Update to latest tools. Suggestions from Paul Eggert.
3419 * stdbool.m4: New file, from diffutils-2.8.2.
3420 * gnu-source.m4: Update from diffutils-2.8.2.
3421 * fnmatch.m4: Likewise.
3422 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
3423 to AC_HEADER_STDBOOL
3425 2002-06-21 Jim Meyering <meyering@lucent.com>
3427 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
3428 * mbrtowc.m4: Likewise.
3430 * mbstate_t.m4: Update from diffutils-2.8.2.
3431 * mbswidth.m4: Reflect name change:
3432 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
3433 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3435 * lib-link.m4: Update from gettext-0.11.2.
3436 * gettext.m4: Likewise.
3438 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
3439 From Alfred M. Szmidt.
3441 2002-05-19 Paul Eggert <eggert@twinsun.com>
3443 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
3445 2002-06-07 Jim Meyering <meyering@lucent.com>
3447 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
3448 They're needed at least for NetBSD 1.5.2.
3449 ($statxfs_includes): Include those same headers.
3450 ($statxfs_includes): Include sys/vfs.h if available.
3451 ($statxfs_includes): Likewise for sys/statvfs.h.
3452 Check for the following members in both structs statfs and statvfs:
3453 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
3455 2002-06-01 Jim Meyering <meyering@lucent.com>
3457 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
3458 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
3460 2002-05-28 Jim Meyering <meyering@lucent.com>
3462 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
3463 Reported by Volker Borchert.
3465 2002-05-27 Jim Meyering <meyering@lucent.com>
3467 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
3470 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
3471 use the replacement function; it wouldn't resolve at link time.
3472 Reported by Volker Borchert.
3474 2002-04-30 Jim Meyering <meyering@lucent.com>
3476 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
3478 2002-04-29 Paul Eggert <eggert@twinsun.com>
3480 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
3481 Do not check for alloca.h (no longer used) or stdbool.h (was never
3482 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
3484 2002-04-28 Paul Eggert <eggert@twinsun.com>
3486 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
3488 2002-04-29 Jim Meyering <meyering@lucent.com>
3490 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
3491 * prereq.m4: Add jm_PREREQ_STRNLEN.
3492 Use AC_FUNC_STRNLEN here instead.
3494 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
3495 With autoconf-2.53a, it's part of AC_PROG_CC.
3497 2002-04-28 Paul Eggert <eggert@twinsun.com>
3499 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
3500 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
3502 2002-04-24 Jim Meyering <meyering@lucent.com>
3504 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
3505 (jm_PREREQ): Use it.
3507 * getloadavg.m4: Check for these headers: locale.h unistd.h
3508 mach/mach.h fcntl.h.
3509 Check for this function: setlocale.
3511 2002-04-16 Jim Meyering <meyering@lucent.com>
3513 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
3514 ut_pid, ut_id, ut_exit.
3516 2002-04-12 Jim Meyering <meyering@lucent.com>
3518 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
3519 check for f_type in sys/mount.h. Instead, just test for the existence
3520 of the getmntinfo function. Needed for Darwin 5.3.
3522 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
3523 This is necessary at least on Darwin 5.3.
3525 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
3526 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
3527 in the library, and that makes some versions of ranlib object.
3529 2002-04-09 Jim Meyering <meyering@lucent.com>
3531 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
3532 to be more precise. Rather than saying we're checking whether the
3533 function `works', say what we're testing.
3534 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
3535 Reported by Bruno Haible.
3537 2002-02-27 Paul Eggert <eggert@twinsun.com>
3539 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
3540 Check for clock_settime.
3542 2002-02-25 Paul Eggert <eggert@twinsun.com>
3545 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
3546 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
3548 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
3550 * codeset.m4: Upgrade to gettext-0.11.
3551 * gettext.m4: Upgrade to gettext-0.11.
3552 * glibc21.m4: Upgrade to gettext-0.11.
3553 * iconv.m4: Upgrade to gettext-0.11.
3554 * isc-posix.m4: Upgrade to gettext-0.11.
3555 * lcmessage.m4: Upgrade to gettext-0.11.
3556 * lib-ld.m4: New file, from gettext-0.11.
3557 * lib-link.m4: New file, from gettext-0.11.
3558 * lib-prefix.m4: New file, from gettext-0.11.
3559 * progtest.m4: Upgrade to gettext-0.11.
3561 2002-02-15 Paul Eggert <eggert@twinsun.com>
3563 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
3564 (jm_PREREQ): Use it.
3566 2002-01-26 Jim Meyering <meyering@lucent.com>
3568 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
3569 * strnlen.m4: Remove file, now that it's part of autoconf.
3571 2002-01-22 Paul Eggert <eggert@twinsun.com>
3573 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
3575 2002-01-19 Jim Meyering <meyering@lucent.com>
3577 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
3578 Remove useless quotes: DF_PROG="df".
3579 * strnlen.m4: New file.
3581 2001-12-14 Jim Meyering <meyering@lucent.com>
3583 * jm-macros.m4 (jm_MACROS): Check for iswspace.
3584 Suggestion from Bruno Haible.
3586 2001-11-20 Jim Meyering <meyering@lucent.com>
3588 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
3589 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
3591 2001-11-19 Jim Meyering <meyering@lucent.com>
3593 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
3594 directory. Use "conftestXXXXXX" as the template.
3595 Suggestion from Paul Eggert.
3597 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
3598 so the test doesn't mistakenly hit the max-open-files limit.
3600 2001-11-18 Jim Meyering <meyering@lucent.com>
3602 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
3604 2001-11-17 Jim Meyering <meyering@lucent.com>
3606 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
3607 Prompted by a report from Bob Proulx.
3609 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
3610 Instead, require UTILS_FUNC_MKSTEMP.
3612 2001-11-11 Jim Meyering <meyering@lucent.com>
3614 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
3615 Now, that's done as part of AC_FUNC_STRTOD.
3617 2001-10-22 Paul Eggert <eggert@twinsun.com>
3619 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
3620 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
3622 2001-11-10 Jim Meyering <meyering@lucent.com>
3624 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
3625 (jm_PREREQ): Use it.
3627 2001-11-09 Jim Meyering <meyering@lucent.com>
3629 * jm-macros.m4: Require autoconf-2.52f.
3630 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
3631 Use these AC_-prefixed names, not the AM_-prefixed ones.
3633 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
3635 2001-11-04 Jim Meyering <meyering@lucent.com>
3637 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
3639 2001-11-03 Jim Meyering <meyering@lucent.com>
3641 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
3644 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
3645 know the name of the variable in the macro definition.
3647 2001-11-01 Jim Meyering <meyering@lucent.com>
3649 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
3650 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
3652 2001-10-20 Paul Eggert <eggert@twinsun.com>
3654 * error.m4 (jm_PREREQ_ERROR):
3655 Do not invoke AC_CHECK_FUNCS with strerror_r, as
3656 AC_FUNC_STRERROR_R does that.
3657 Check for strerror declaration.
3659 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
3660 are supposed to have them these days.
3661 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
3662 Merge changes from latest Autoconf CVS.
3663 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3664 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3665 POSIX decided to standardize on the int flavor of strerror_r.
3667 2001-09-30 Jim Meyering <meyering@lucent.com>
3669 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
3670 `struct fsstat' has the `f_fstypename' member.
3671 Use that to define FS_TYPE, which is now used to make
3672 the getfsstat link test tighter.
3674 2001-09-29 Jim Meyering <meyering@lucent.com>
3676 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3677 [one-argument getmntent function]): Include stdio.h before mntent.h.
3678 SunOS 4.1.x needs it for the declaration of `FILE'.
3679 Patch by Volker Borchert.
3681 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3682 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
3683 sys/fs_types.h, and make the link-test for getfsstat guard #include
3684 directives with appropriate #if HAVE_*_H tests so that we can
3685 detect getfsstat on Apple Darwin1.3.7 systems.
3686 Reported by Nelson Beebe.
3687 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
3689 2001-09-28 Paul Eggert <eggert@twinsun.com>
3691 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
3692 #defines strtoimax. Also treat the other strto* functions
3695 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3696 Check for strtoul and strtoumax,
3697 as those declarations are made even in the signed case.
3698 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
3699 Likewise, for strtol and strtoimax.
3701 2001-09-24 Jim Meyering <meyering@lucent.com>
3703 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
3705 2001-09-23 Jim Meyering <meyering@lucent.com>
3707 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
3708 instead of the mere test for existence of mntent.h. The latter
3709 would get a false-positive on AIX 3.4 systems.
3710 In the outer getmntent if-block, don't die if neither of the getmntent
3711 tests succeeds. Instead, just fall through and continue with the
3714 2001-09-22 Jim Meyering <meyering@lucent.com>
3716 * gettext.m4: New file. From gettext.
3717 * lcmessage.m4: Sync with gettext -- this changes only comments.
3718 * progtest.m4: Likewise
3719 * isc-posix.m4: Decrement serial number to sync with gettext.
3720 * glibc21.m4: Likewise.
3722 * libintl.m4: Remove. No longer used.
3724 2001-09-20 Jim Meyering <meyering@lucent.com>
3726 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
3728 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
3731 2001-09-17 Jim Meyering <meyering@lucent.com>
3733 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
3734 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
3735 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
3736 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
3737 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
3738 whenever the right hand side need not be expanded by the shell.
3740 2001-09-16 Paul Eggert <eggert@twinsun.com>
3742 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
3743 library. It's not correct, as some older glibcs are buggy.
3744 fnmatch wasn't fixed until glibc 2.2.
3746 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
3747 special shell magic here.
3749 2001-09-16 Jim Meyering <meyering@lucent.com>
3751 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
3752 * jm-macros.m4: Require it.
3754 2001-09-15 Jim Meyering <meyering@lucent.com>
3756 * jm-macros.m4: Check for help2man.
3758 2001-09-11 Jim Meyering <meyering@lucent.com>
3760 * host-os.m4 (UTILS_HOST_OS): New file/macro.
3761 The body, by Paul Eggert, was moved here from configure.in.
3762 * jm-macros.m4: Require UTILS_HOST_OS.
3764 2001-09-04 Paul Eggert <eggert@twinsun.com>
3766 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
3767 (jm_PREREQ): Use it.
3769 2001-09-03 Paul Eggert <eggert@twinsun.com>
3771 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
3772 sys/param.h, as pathmax.h includes them.
3774 2001-09-03 Paul Eggert <eggert@twinsun.com>
3776 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
3777 (jm_PREREQ_XGETCWD): New macro.
3779 * getcwd.m4: New file.
3781 2001-09-01 Jim Meyering <meyering@lucent.com>
3783 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
3786 2001-08-30 Paul Eggert <eggert@twinsun.com>
3788 Simplify code, partly by assuming autoconf 2.52 semantics.
3790 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
3792 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
3793 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
3795 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
3796 Move AC_REQUIRE to next-to-top level, to avoid confusion.
3797 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
3798 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
3799 * jm-macros.m4 (jm_MACROS): Likewise.
3801 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
3803 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3804 Quote first arg of AC_DEFUN.
3805 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
3806 since they are needed to parse the include file even if we need
3807 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
3808 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
3809 but with opposite signedness.
3811 2001-08-30 Paul Eggert <eggert@twinsun.com>
3813 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
3814 (jm_PREREQ_EXCLUDE): New macro.
3816 2001-08-26 Jim Meyering <meyering@lucent.com>
3818 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
3820 * xstrtoimax.m4: New file.
3821 * xstrtoumax.m4: Add comments explaining why we
3822 AC_REPLACE_FUNCS(strtol).
3824 2001-06-20 Paul Eggert <eggert@twinsun.com>
3826 * inttypes.m4: Add AC_PREREQ(2.13).
3827 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
3828 (jm_AC_TYPE_INTMAX_T): New macro.
3829 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
3831 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
3833 * longlong.m4: Renamed from ulonglong.m4.
3834 * inttypes.m4: Renamed from inttypes_h.m4.
3835 * uintmax_t.m4: Removed.
3837 2001-08-12 Jim Meyering <meyering@lucent.com>
3839 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
3840 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
3841 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
3842 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
3843 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
3844 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
3845 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
3846 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
3847 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
3848 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
3849 utime.m4, utimes.m4, xstrtoumax.m4:
3850 Quote the first argument in each use of AC_DEFUN.
3852 2001-08-05 Jim Meyering <meyering@lucent.com>
3854 * jm-macros.m4: Require autoconf-2.52.
3856 2001-08-03 Paul Eggert <eggert@twinsun.com>
3858 The following changes are from gettext 0.10.39 as maintained by
3859 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
3861 * codeset.m4: Upgrade to serial AM1.
3862 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
3863 all uses changed. Quote first arg of AC_DEFUN.
3864 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
3866 * iconv.m4: Upgrade to serial AM2.
3867 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
3868 Add --with-libconv-prefix.
3869 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
3870 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
3871 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
3872 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
3873 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
3875 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
3876 * getline.m4 (AM_FUNC_GETLINE): Likewise.
3877 * glibc21.m4 (jm_GLIBC21): Likewise.
3878 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
3879 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
3880 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
3881 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
3882 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
3883 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
3885 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
3888 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
3889 not the default value.
3891 2001-06-25 Bruno Haible <haible@clisp.cons.org>
3892 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
3893 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
3894 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
3895 Also check for iswcntrl, used for wcwidth fallback.
3896 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
3899 2001-08-03 Jim Meyering <meyering@lucent.com>
3901 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
3902 as it was in the original. Reported by Paul Eggert.
3904 2001-07-16 Jim Meyering <meyering@lucent.com>
3906 * gettimeofday.m4: New file.
3907 Prompted by a report from Bernhard Baehr.
3909 2001-07-15 Jim Meyering <meyering@lucent.com>
3911 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
3912 Now it's in ../Makefile.cfg.
3914 2001-07-04 Jim Meyering <meyering@lucent.com>
3916 * Makefile.am.in (glibc-io.struct): New target. Rework the code
3917 that generates jm-glibc-io.m4 so that it doesn't trigger any make
3920 2001-07-02 Jim Meyering <meyering@lucent.com>
3922 The following changes were prompted by suggestions from Bruno Haible.
3924 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
3926 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
3927 definition of EXTRA_DIST.
3928 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
3929 ensure that the generated file is created/updated whenever the list
3930 of $(unlocked_functions) is changed.
3931 (jm-glibc-io.m4): New rule.
3932 (unlocked-io.h): New rule -- currently unused.
3934 2001-06-24 Jim Meyering <meyering@lucent.com>
3936 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
3937 unmatched right bracket, rather than kludging it with an extra,
3938 falsely-matching quote in a comment. Patch by Akim Demaille.
3940 2001-05-27 Jim Meyering <meyering@lucent.com>
3942 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
3943 Check for ut_type in struct utmp.
3945 2001-05-22 Jim Meyering <meyering@lucent.com>
3947 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
3948 now that we use the package-supplied version unconditionally.
3949 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
3951 2001-05-21 Jim Meyering <meyering@lucent.com>
3953 * regex.m4: Change a couple backticks to single quotes to avoid shell
3956 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
3958 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
3960 2001-05-11 Paul Eggert <eggert@twinsun.com>
3962 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
3963 Don't bother to check library strftime, since
3964 we'll be using our own my_strftime function anyway.
3965 Define my_strftime instead of strftime.
3967 2001-05-15 Jim Meyering <meyering@lucent.com>
3969 * regex.m4: Use proper quoting so brackets appear in the test program.
3970 Reported by, and with help from, Bruno Haible.
3972 2001-05-13 Jim Meyering <meyering@lucent.com>
3974 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
3976 2000-11-26 Paul Eggert <eggert@twinsun.com>
3978 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
3980 2001-04-21 Jim Meyering <meyering@lucent.com>
3982 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
3985 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
3987 * ftruncate.m4: Check for chsize.
3988 Link with ftruncate.o unconditionally if ftruncate is missing.
3989 This was required when cross-compiling to i586-mingw32msvc.
3991 2001-03-24 Jim Meyering <meyering@lucent.com>
3993 * jm-macros.m4: Require autoconf-2.49d.
3995 2001-03-20 Bruno Haible <haible@clisp.cons.org>
3997 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
3999 2001-03-17 Jim Meyering <meyering@lucent.com>
4001 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
4002 now that the version in autoconf is equivalent.
4003 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
4005 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
4006 Suggestion from Akim Demaille.
4008 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
4009 (jm_PREREQ_TEMPNAME): New function.
4011 2001-02-25 Paul Eggert <eggert@twinsun.com>
4013 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
4014 lacks mkstemp. Compile our own tempname.c if we compile our own
4015 mkstemp.c, as mkstemp relies on tempname.
4017 2001-03-01 Jim Meyering <meyering@lucent.com>
4019 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
4020 AH_VERBATIM really does output its argument verbatim.
4022 2001-02-18 Paul Eggert <eggert@twinsun.com>
4024 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
4026 2001-02-17 Jim Meyering <meyering@lucent.com>
4028 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
4029 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
4030 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
4033 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
4034 rather than AC_CACHE_VAL.
4036 2001-02-17 Paul Eggert <eggert@twinsun.com>
4038 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
4039 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
4040 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
4041 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
4043 2001-02-07 Jim Meyering <meyering@lucent.com>
4045 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
4047 2001-02-05 Jim Meyering <meyering@lucent.com>
4049 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
4050 it includes the patch required for `large file' support with at least
4051 HP-UX's 10.20 /bin/cc.
4053 2001-02-03 Jim Meyering <meyering@lucent.com>
4055 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
4056 AS_IF, now that it works once again (mysteriously).
4057 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4059 2001-01-30 Jim Meyering <meyering@lucent.com>
4061 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
4062 * chown.m4: Rename conftestchown to conftest.chown.
4063 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
4064 * utimes.m4: s/conftestdata/conftest.data/
4065 Inspired by Pavel Roskin's change in autoconf.
4067 2001-01-27 Jim Meyering <meyering@lucent.com>
4069 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
4071 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4073 2001-01-26 Jim Meyering <meyering@lucent.com>
4075 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
4076 quotearg.c includes it.
4078 2001-01-15 Bruno Haible <haible@clisp.cons.org>
4080 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
4083 2001-01-20 Jim Meyering <meyering@lucent.com>
4085 Be sure that headers are checked before used in code compiled
4086 for the type checks.
4087 * jm-macros.m4 (jm_MACROS): Remove all header checks.
4088 In place of that, invoke jm_CHECK_ALL_TYPES.
4089 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
4090 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
4091 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
4092 The check for ssize_t was mistakenly run before the test for unistd.h.
4094 The configure-time check for stdbool.h was missing.
4095 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
4096 (jm_PREREQ_HASH): New function.
4098 2001-01-17 Jim Meyering <meyering@lucent.com>
4100 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
4102 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
4104 2001-01-14 Jim Meyering <meyering@lucent.com>
4106 * rename.m4: Use temporary directories named conftestdir{,2}, not
4107 foo and bar. Create conftestdir/ in the script, not in the C code.
4108 Remove directories in the script, not in the C code.
4109 Remove conftestdir{,2} before trying to create the directory.
4110 Make the entire configure script fail if the mkdir fails.
4112 2001-01-02 Volker Borchert <bt@teknon.de>
4114 * rename.m4: New file.
4115 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
4117 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
4119 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
4120 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
4121 so `make install' also works in VPATH builds.
4123 2001-01-01 Jim Meyering <meyering@lucent.com>
4125 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
4126 on systems with utmpx.h. It's necessary for the declaration of utmp's
4127 ut_user member. Reported by Andreas Jaeger.
4129 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
4130 They are required for the declarations of getgrgid and getpwuid resp.
4131 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
4132 Reported by Andreas Jaeger.
4134 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4136 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
4137 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
4138 can be used in subdirectories.
4140 2000-12-26 Jim Meyering <meyering@lucent.com>
4142 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
4145 2000-12-17 Jim Meyering <meyering@lucent.com>
4147 * dos.m4 (jm_AC_DOS): New file and macro.
4148 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
4150 2000-12-06 Paul Eggert <eggert@twinsun.com>
4152 * off_t-format.m4: Remove this file.
4153 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
4155 2000-12-06 Jim Meyering <meyering@lucent.com>
4157 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
4158 strtoull, we may well need the replacement strtoul, too.
4159 Check for declarations of strtoul and strtoull.
4160 Check for strtol. Mainly as a cue to cause automake to include
4161 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
4162 Check for limits.h -- strtol.c needs it.
4164 2000-12-02 Jim Meyering <meyering@lucent.com>
4166 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
4167 * jm-macros.m4 (jm_MACROS): require it.
4169 2000-11-30 Jim Meyering <meyering@lucent.com>
4171 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
4173 2000-11-30 Jim Meyering <meyering@lucent.com>
4175 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
4177 2000-11-03 Bruno Haible <haible@clisp.cons.org>
4179 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
4181 2000-11-04 Jim Meyering <meyering@lucent.com>
4183 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
4185 2000-10-29 Jim Meyering <meyering@lucent.com>
4187 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
4188 * ls-mntd-fs.m4: Likewise
4190 2000-10-28 Jim Meyering <meyering@lucent.com>
4192 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
4193 (jm_PREREQ_MEMCHR): New function.
4195 2000-10-21 Jim Meyering <meyering@lucent.com>
4197 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
4198 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
4199 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
4201 2000-09-18 Jim Meyering <meyering@lucent.com>
4203 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
4204 Otherwise, everyone ends up linking with -lelf for some configurations.
4205 Reported by Mike Stone.
4207 2000-08-26 Jim Meyering <meyering@lucent.com>
4209 * jm-macros.m4: Use jm_FUNC_FPENDING.
4210 * fpending.m4: New file.
4212 2000-08-20 Jim Meyering <meyering@lucent.com>
4214 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
4215 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
4216 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
4218 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
4220 Improve fileutils installation on systems where running
4221 programs (like install) can't be unlinked.
4222 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
4223 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
4225 2000-08-06 Paul Eggert <eggert@twinsun.com>
4227 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
4228 not char, for compatibility with glibc 2.1.3 strftime.c.
4230 2000-07-23 Paul Eggert <eggert@twinsun.com>
4232 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
4234 2000-07-23 Jim Meyering <meyering@lucent.com>
4236 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
4237 getgrgid, getpwuid, getuid.
4239 2000-07-16 Bruno Haible <haible@clisp.cons.org>
4241 * mbswidth.m4: New file.
4242 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
4244 2000-07-14 Jim Meyering <meyering@lucent.com>
4246 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
4248 2000-07-10 Paul Eggert <eggert@twinsun.com>
4250 From a suggestion by Bruno Haible.
4251 * mbstate_t.m4 (AC_MBSTATE_T):
4252 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
4253 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
4254 and mbstate_t, to a single-part test that simply defines mbstate_t.
4255 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
4257 2000-07-10 Jim Meyering <meyering@lucent.com>
4259 * strerror_r.m4: Mirror the correction made in autoconf.
4261 * gnu-source.m4: Output to confdefs.h directly.
4262 Suggestion from Akim Demaille.
4264 2000-07-09 Jim Meyering <meyering@lucent.com>
4266 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
4267 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
4269 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
4270 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
4272 2000-07-05 Bruno Haible <haible@clisp.cons.org>
4274 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
4276 Include <ctype.h> for use of isalpha.
4278 2000-07-05 Paul Eggert <eggert@twinsun.com>
4279 and Bruno Haible <haible@clisp.cons.org>
4281 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
4282 only if the test for an object-type mbstate_t fails. This
4283 prevents us from mistakenly reporting that mbstate_t is a
4284 system object type after we "#define mbstate_t int" to work
4287 2000-07-04 Jim Meyering <meyering@lucent.com>
4289 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
4290 of the deprecated AC_CHECKING.
4292 2000-07-03 Jim Meyering <meyering@lucent.com>
4294 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
4296 2000-07-03 Paul Eggert <eggert@twinsun.com>
4298 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
4299 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
4301 2000-07-02 Jim Meyering <meyering@lucent.com>
4303 * mbstate_t.m4: Also define mbstate_t, if necessary.
4305 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
4306 AC_LIBOBJ(function_name).
4307 * chown.m4: Likewise.
4308 * fnmatch.m4: Likewise.
4309 * ftruncate.m4: Likewise.
4310 * getgroups.m4: Likewise.
4311 * getline.m4: Likewise.
4312 * group-member.m4: Likewise.
4313 * jm-macros.m4: Likewise.
4314 * lstat.m4: Likewise.
4315 * malloc.m4: Likewise.
4316 * memcmp.m4: Likewise.
4317 * nanosleep.m4: Likewise.
4318 * putenv.m4: Likewise.
4319 * realloc.m4: Likewise.
4320 * regex.m4: Likewise.
4321 * stat.m4: Likewise.
4322 * strftime.m4: Likewise.
4324 2000-07-01 Jim Meyering <meyering@lucent.com>
4326 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
4329 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4331 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
4332 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
4334 2000-07-01 Jim Meyering <meyering@lucent.com>
4336 * uptime.m4: Put double quotes around use of $cross_compiling.
4338 2000-06-28 Jim Meyering <meyering@lucent.com>
4340 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
4341 by quotearg.c, for which we perform this test. From Bruno Haible.
4343 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4345 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
4346 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
4347 <utmpx.h> exists, put readutmp.o into LIBOBJS.
4349 2000-06-25 Jim Meyering <meyering@lucent.com>
4351 * mbstate_t.m4: Include stdio.h before wchar.h to work around
4352 Linux header bug when _XOPEN_SOURCE is defined to 500.
4354 2000-06-24 Jim Meyering <meyering@lucent.com>
4356 * strerror_r.m4: Revive this file -- to try out an experimental
4357 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
4358 for which strerror does return char*, but which lacks a conveniently
4359 accessible declaration of the function. If the compile-test says
4360 strerror_r doesn't work, then resort to a `run'-test that works on
4361 BeOS and segfaults on DEC Unix.
4363 2000-06-19 Paul Eggert <eggert@twinsun.com>
4365 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
4366 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
4368 2000-06-23 Jim Meyering <meyering@lucent.com>
4370 * afs.m4: Add missing AC_MSG_RESULT.
4371 Reported by Bruno Haible.
4373 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
4374 Suggestion from Bruno Haible.
4376 2000-06-21 Jim Meyering <meyering@lucent.com>
4378 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
4380 2000-06-18 Jim Meyering <meyering@lucent.com>
4382 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
4384 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
4385 `checking whether...' message to be consistent with that of the
4388 2000-06-16 Bruno Haible <haible@clisp.cons.org>
4390 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
4392 2000-06-12 Jim Meyering <meyering@lucent.com>
4394 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
4395 from autoconf, and tweak the latter to accept an optional argument.
4396 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
4397 the optional argument, `lib'.
4399 2000-06-08 Jim Meyering <meyering@lucent.com>
4401 * largefile.m4: Remove file (now that it's part of autoconf).
4403 2000-06-04 Paul Eggert <eggert@twinsun.com>
4405 Rewrite largefile configuration so that we don't need to run
4406 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
4407 AC_CANONICAL_HOST in configure.in -- jmm]
4409 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
4410 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
4411 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
4412 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
4413 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
4415 Instead of inspecting the output of getconf, try to compile the
4416 test program without and with the macro definition.
4417 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
4418 for getconf. Instead, check for the needed flags by compiling
4421 2000-06-03 Jim Meyering <meyering@lucent.com>
4423 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
4424 now that autoconf requires that.
4426 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
4427 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
4428 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
4430 2000-05-26 Bruno Haible <haible@clisp.cons.org>
4432 * glibc21.m4: New file.
4433 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
4435 2000-05-28 Jim Meyering <meyering@lucent.com>
4437 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
4438 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4439 * stat.m4: Likewise.
4440 * lstat.m4: Likewise.
4441 * lstat-slash.m4: Remove file (absorbed into autoconf).
4443 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
4444 * strerror_r.m4: Remove file (absorbed into autoconf).
4446 2000-05-26 Jim Meyering <meyering@lucent.com>
4448 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
4450 2000-05-24 Jim Meyering <meyering@lucent.com>
4452 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
4453 autoconf requires that.
4454 * lib-check.m4: Likewise.
4455 * jm-macros.m4: Likewise.
4456 * strftime.m4: Likewise.
4458 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
4459 now that autoconf requires that.
4461 2000-05-22 Jim Meyering <meyering@lucent.com>
4463 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4464 * lstat.m4: Likewise.
4466 2000-05-20 Jim Meyering <meyering@lucent.com>
4468 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
4469 (jm_PREREQ): Use it.
4471 2000-05-09 Jim Meyering <meyering@lucent.com>
4473 * gettext.m4: Rename this...
4474 * libintl.m4: ...to this.
4476 2000-05-06 Jim Meyering <meyering@lucent.com>
4478 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
4479 (AC_REPLACE_FUNCS): Add strnlen.
4481 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
4482 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
4484 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
4485 AC_SEARCH_LIBS call for nanosleep.
4486 (LIB_NANOSLEEP): Set and AC_SUBST.
4488 2000-05-03 Paul Eggert <eggert@twinsun.com>
4490 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
4491 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
4492 2.1.3 bug. This avoids a clash when files like regex.c define
4495 2000-05-05 Jim Meyering <meyering@lucent.com>
4497 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
4498 call for clock_gettime.
4499 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
4501 * search-libs.m4: Update from autoconf.
4503 su doesn't work on Solaris 2.6.
4504 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
4505 <shadow.h>. Reported by Dragos Harabor.
4507 2000-05-03 Jim Meyering <meyering@lucent.com>
4509 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
4511 2000-05-02 Paul Eggert <eggert@twinsun.com>
4513 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
4514 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
4515 compile-time test, rather than inspecting host and OS, to
4516 decide whether to define _LARGEFILE_SOURCE.
4518 2000-05-01 Jim Meyering <meyering@lucent.com>
4520 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
4522 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
4523 Based on a patch from Bruno Haible.
4525 2000-04-18 Jim Meyering <meyering@lucent.com>
4527 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
4528 (jm_PREREQ): Use it.
4530 2000-04-17 Jim Meyering <meyering@lucent.com>
4533 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
4534 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
4535 Suggestion from Akim Demaille.
4537 2000-04-14 Jim Meyering <meyering@lucent.com>
4539 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
4540 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
4542 2000-04-13 Jim Meyering <meyering@lucent.com>
4544 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
4545 to insert required #ifndef into config.h.in.
4546 Suggestion from Akim Demaille.
4548 2000-04-12 Jim Meyering <meyering@lucent.com>
4550 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
4551 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
4552 Christian Krackowizer.
4554 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
4555 * jm-macros.m4 (_GNU_SOURCE): Define.
4556 (AC_SYS_LARGEFILE): Require.
4557 (AM_C_PROTOTYPES): Require.
4559 2000-04-05 Paul Eggert <eggert@twinsun.com>
4561 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
4562 IRIX if the installer said otherwise.
4564 2000-04-05 Jim Meyering <meyering@lucent.com>
4566 Portability tweaks required for ultrix4.3.
4567 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
4568 (jm_CHECK_DECLS): Add getutent to the list of functions.
4569 (_jm_DECL_HEADERS): Add utmpx.h.
4570 From John David Anglin.
4572 * strftime.m4: Back out the 2000-04-02 change.
4573 Instead of that change, simply undefine putenv in the test program.
4575 2000-04-03 Jim Meyering <meyering@lucent.com>
4577 * gettext.m4: Fix typo in comment.
4579 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
4580 textutils/configure.in). Suggestion from Paul Eggert.
4581 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
4583 2000-04-02 Paul Eggert <eggert@twinsun.com>
4585 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
4586 variable in the shell rather than using putenv, which isn't
4587 portable. This avoids the configure-time inter-test dependency
4588 on the potentially-renamed putenv function.
4590 2000-03-30 Paul Eggert <eggert@twinsun.com>
4592 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
4593 before checking struct stat.st_blksize, so that
4594 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
4596 2000-03-29 Paul Eggert <eggert@twinsun.com>
4598 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
4599 since strftime.c uses HAVE_STRFTIME to decide whether to use
4600 the underlying strftime.
4602 2000-03-10 Jim Meyering <meyering@lucent.com>
4604 * lib-check.m4: Look for getspnam in -lgen, too.
4607 2000-02-02 Bruno Haible <haible@clisp.cons.org>
4609 * codeset.m4: New file.
4610 * iconv.m4: New file.
4611 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
4613 2000-03-04 Jim Meyering <meyering@lucent.com>
4615 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
4616 for lib/localcharset.c.
4618 2000-03-03 Jim Meyering <meyering@lucent.com>
4620 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
4622 2000-03-02 Jim Meyering <meyering@lucent.com>
4624 * timespec.m4: Require AC_HEADER_TIME before the cache check so
4625 the messages come out on separate lines.
4627 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
4628 rather than jm_CHECK_DECLARATIONS.
4629 * decl.m4: Remove now-unused file.
4631 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
4633 2000-02-27 Jim Meyering <meyering@lucent.com>
4635 * check-decl.m4: Add getenv to the list.
4637 2000-02-23 Jim Meyering <meyering@lucent.com>
4639 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
4640 in place of my hack.
4642 2000-02-10 Jim Meyering <meyering@lucent.com>
4644 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
4645 gnu_nanosleep to rpl_nanosleep.
4647 2000-02-09 Jim Meyering <meyering@lucent.com>
4649 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
4650 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
4652 2000-02-08 Akim Demaille <akim@epita.fr>
4654 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
4655 `[' and `]' and remove uses of `changequote'.
4656 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
4657 (AC_SYS_LARGEFILE): Likewise.
4658 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
4659 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
4661 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
4662 * readdir.m4 (jm_FUNC_READDIR): Likewise
4663 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
4664 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
4666 2000-02-05 Jim Meyering <meyering@lucent.com>
4668 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
4669 Remove explicit use of AC_HEADER_TIME. It is required by
4670 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
4671 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
4672 in autoconf whereby the expansion of the latter ended up preceding
4673 the expansion of its prerequisite, AC_HEADER_TIME.
4674 Reported by Volker Borchert.
4676 2000-02-03 Jim Meyering <meyering@lucent.com>
4678 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
4680 2000-02-02 Jim Meyering <meyering@lucent.com>
4682 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
4683 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
4684 Reported by Eli Zaretskii.
4686 2000-01-31 Jim Meyering <meyering@lucent.com>
4688 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
4689 functions. Add the time.h and sys/time.h headers along with the
4690 AC_REQUIRE'ment of AC_HEADER_TIME.
4692 2000-01-30 Jim Meyering <meyering@lucent.com>
4694 * lib-check.m4: Clean up some kludgy old shadow password tests.
4696 * prereq.m4 (utmp_includes): Define.
4697 Check for ut_user and ut_name members in both struct utmpx
4700 2000-01-29 Jim Meyering <meyering@lucent.com>
4702 * lib-check.m4: New file containing library-related checks from
4703 fileutils and sh-utils (textutils had none).
4705 2000-01-28 Jim Meyering <meyering@lucent.com>
4707 * perl.m4: Change format of warning message to look more like that
4708 from the missing script. Suggestion from François Pinard.
4710 2000-01-25 Jim Meyering <meyering@lucent.com>
4712 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
4713 as time.h in the compile check.
4714 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
4715 Fix typo in cross-compiling case: s/yes/no/.
4717 2000-01-23 Jim Meyering <meyering@lucent.com>
4719 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
4721 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
4722 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
4724 * fsusage.m4: New file. Extracted from fileutils/configure.in.
4725 s/space/ac_fsusage_space/.
4726 (jm_FILE_SYSTEM_USAGE): Take two parameters.
4728 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
4729 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
4730 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
4732 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
4733 AC_SUBST these here, rather than just in sh-util/configure.in, so
4734 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
4736 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
4737 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
4738 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
4739 (AC_SUBST(POW_LIBM)): Likewise.
4740 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
4742 2000-01-22 Jim Meyering <meyering@lucent.com>
4744 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
4746 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
4748 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
4750 (AC_CHECK_HEADERS): Likewise for sh-utils.
4751 (AC_CHECK_HEADERS): Likewise for textutils.
4752 Merge the three lists of headers.
4754 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
4755 from fileutils' configure.in.
4757 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
4758 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
4760 * check-decl.m4: Use #if rather than #ifdef.
4761 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
4762 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
4763 (_jm_DECL_HEADERS): Define new function.
4764 (jm_CHECK_DECLARATIONS): Require it.
4766 2000-01-19 Jim Meyering <meyering@lucent.com>
4768 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
4769 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
4770 defines `struct timespec' in <sys/time.h>
4772 * c-bs-a.m4: Remove uses of changequote altogether.
4773 Thanks to Akim for explaining.
4775 2000-01-16 Jim Meyering <meyering@lucent.com>
4777 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
4778 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
4779 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
4780 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
4782 2000-01-16 Jim Meyering <meyering@lucent.com>
4784 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
4785 because the latter didn't work.
4787 2000-01-15 Jim Meyering <meyering@lucent.com>
4789 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
4790 (AC_REPLACE_FUNCS): Add memcpy and memset.
4791 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
4793 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
4795 2000-01-12 Jim Meyering <meyering@lucent.com>
4797 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
4798 (jm_PREREQ): Use it.
4799 (jm_PREREQ_READUTMP): New macro.
4800 (jm_PREREQ): Use it.
4802 2000-01-11 Paul Eggert <eggert@twinsun.com>
4804 Quote multibyte characters correctly.
4805 * c-bs-a.m4: New file.
4806 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
4807 (jm_PREREQ): Use it.
4809 2000-01-11 Paul Eggert <eggert@twinsun.com>
4811 * uintmax_t.m4: Port to autoconf 2.13.
4813 2000-01-08 Jim Meyering <meyering@ascend.com>
4815 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
4816 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
4818 2000-01-04 Jim Meyering <meyering@ascend.com>
4820 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
4821 jm_STRUCT_DIRENT_D_TYPE.
4822 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
4823 jm_STRUCT_DIRENT_D_INO.
4824 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
4826 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
4827 * utime.m4: Likewise.
4829 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
4830 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
4832 2000-01-03 Paul Eggert <eggert@twinsun.com>
4834 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
4835 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
4837 2000-01-02 Jim Meyering <meyering@ascend.com>
4839 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
4840 remember if this is necessary.
4842 1999-12-26 Jim Meyering <meyering@ascend.com>
4844 * jm-macros.m4: Use it here.
4845 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
4847 1999-12-23 Jim Meyering <meyering@ascend.com>
4849 * jm-macros.m4: Check for clock_gettime (moved from
4850 fileutils/configure.in)
4851 Check for gettimeofday.
4853 1999-12-20 Jim Meyering <meyering@ascend.com>
4855 * strftime.m4: Remove kludge, now that I'm using the fixed
4856 autoconf-2.14a-1999-12-20.
4858 1999-12-19 Jim Meyering <meyering@ascend.com>
4860 * lstat-slash.m4: New file.
4861 * jm-macros.m4: Use the new macro:
4862 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4864 1999-12-07 Jim Meyering <meyering@ascend.com>
4866 * perl.m4: Require that File::Compare be available, too.
4867 Too many systems seem to lack it.
4869 * strftime.m4: Add checks for most of the cpp macros tested in
4870 GNU's strftime.c. Prompted by a patch from Paul Eggert.
4872 1999-11-18 Paul Eggert <eggert@twinsun.com>
4874 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
4875 problem with the QNX 4.25 shell, which doesn't propagate exit
4876 status of failed commands inside shell assignments.
4878 1999-11-17 Jim Meyering <meyering@ascend.com>
4880 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
4882 1999-11-07 Jim Meyering <meyering@ascend.com>
4884 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
4886 1999-11-06 Jim Meyering <meyering@ascend.com>
4888 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
4889 * jm-macros.m4 (jm_MACROS): Use it here.
4891 1999-11-05 Jim Meyering <meyering@ascend.com>
4893 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
4894 of textutils, fileutils, and sh-utils into this one (shared between
4895 those packages) file.
4896 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
4897 AC_STRUCT_ST_BLKSIZE.
4899 1999-11-03 Jim Meyering <meyering@ascend.com>
4901 * ssize_t.m4: Remove file. No longer needed since the new version of
4902 AC_CHECK_TYPE checks includes unistd.h.
4903 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
4904 Suggestion from Akim Demaille.
4906 1999-10-30 Jim Meyering <meyering@ascend.com>
4908 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
4910 * ls-mntd-fs.m4: Likewise.
4911 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
4912 * jm-winsz1.m4: Likewise.
4914 * const.m4: Remove file, since the fix made it into the experimental
4915 version of autoconf.
4916 * mktime.m4: Likewise.
4918 * check-type.m4: Remove file, now that the latest version of
4919 AC_CHECK_TYPE takes a third arg to specify additional #includes.
4921 * ssize_t.m4: New file, requires experimental version of autoconf.
4922 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
4925 1999-10-04 Jim Meyering <meyering@ascend.com>
4927 * jm-macros.m4: Don't require autoconf-2.14.1.
4929 1999-09-22 Paul Eggert <eggert@twinsun.com>
4931 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
4932 2.95.1 bug with HP-UX 10.20.
4934 1999-09-17 Jim Meyering <meyering@ascend.com>
4936 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
4937 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
4938 due to missing strdup (against sh-utils-2.0).
4940 1999-08-29 Jim Meyering <meyering@ascend.com>
4942 * jm-macros.m4: Require jm_BISON.
4943 * bison.m4: New file.
4945 1999-08-17 Paul Eggert <eggert@twinsun.com>
4947 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
4948 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
4950 1999-08-05 Jim Meyering <meyering@ascend.com>
4952 * getline.m4: Rename test file from conftestdata to conftest.data
4953 to avoid conflicts with `conftest' on 8+3 filesystems.
4954 Suggestion from Eli Zaretskii.
4956 1999-08-04 Jim Meyering <meyering@ascend.com>
4958 * jm-macros.m4: Move a 4-line block of code from the configure.in of
4959 fileutils and sh-utils (textutils's getline test was inadequate).
4960 (AM_FUNC_GETLINE): Run this test.
4961 (AC_CHECK_FUNCS): Check for getdelim.
4962 Reported by Bob Proulx.
4964 1999-08-02 Jim Meyering <meyering@ascend.com>
4966 * jm-macros.m4: Add a comment.
4968 1999-08-01 Jim Meyering <meyering@ascend.com>
4970 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
4972 1999-08-01 Paul Eggert <eggert@twinsun.com>
4974 * lfs.m4: Remove this file.
4975 * largefile.m4: New file. It contains the old contents of
4976 lfs.m4, except that all names with prefix AC_LFS have been
4977 changed to use the prefix AC_SYS_LARGEFILE instead, to be
4978 compatible with future autoconf versions. Also, some minor m4
4979 quoting problems have been fixed.
4981 1999-07-16 Paul Eggert <eggert@twinsun.com>
4983 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
4984 that we can shift, multiply and divide unsigned long long
4985 values; Ultrix cc can't do it.
4987 1999-07-14 Paul Eggert <eggert@twinsun.com>
4989 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
4990 <inttypes.h> defines strtoumax as a macro (and not as a
4993 1999-07-05 Paul Eggert <eggert@twinsun.com>
4995 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
4996 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
4997 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
4998 and simplify the shell code.
5000 1999-07-03 Paul Eggert <eggert@twinsun.com>
5002 * mktime.m4: New file, which is a preview of what should appear
5003 in the next public autoconf release.
5005 1999-07-20 Jim Meyering <meyering@ascend.com>
5007 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
5009 1999-07-15 Jim Meyering <meyering@ascend.com>
5011 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
5013 1999-05-22 Jim Meyering <meyering@ascend.com>
5015 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
5017 1999-05-20 Jim Meyering <meyering@ascend.com>
5019 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
5020 Add a colon after each `then' in case $4 is empty.
5022 1999-05-16 Jim Meyering <meyering@ascend.com>
5024 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
5026 1999-05-10 Jim Meyering <meyering@ascend.com>
5028 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
5030 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
5033 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5035 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
5037 1999-05-04 Paul Eggert <eggert@twinsun.com>
5039 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
5040 not CPPFLAGS, so that linking works correctly in IRIX.
5042 1999-04-30 Paul Eggert <eggert@twinsun.com>
5044 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
5046 1999-04-20 Jim Meyering <meyering@ascend.com>
5048 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
5049 AC_REPLACE xstroull if necessary. From Paul Eggert.
5050 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
5052 1999-04-20 Paul Eggert <eggert@twinsun.com>
5054 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
5055 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
5056 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
5057 jm_AC_TYPE_UNSIGNED_LONG_LONG.
5058 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
5060 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
5062 1999-04-18 Jim Meyering <meyering@ascend.com>
5064 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
5065 * jm-macros.m4: Use it.
5067 1999-04-06 Jim Meyering <meyering@ascend.com>
5069 * strftime.m4: Remove test for %f.
5071 1999-03-29 Jim Meyering <meyering@ascend.com>
5073 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
5074 superset of the AC_TYPE_* checks in the textutils, fileutils,
5075 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
5078 1999-03-28 Jim Meyering <meyering@ascend.com>
5080 * jm-macros.m4: Define GNU_PACKAGE here.
5081 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
5082 replaced e.g., in the *.sh files of the sh-utils.
5084 1999-03-20 Jim Meyering <meyering@ascend.com>
5086 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
5087 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
5088 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
5090 1999-03-19 Jim Meyering <meyering@ascend.com>
5092 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
5094 1999-03-12 Jim Meyering <meyering@ascend.com>
5096 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
5098 1999-03-07 Jim Meyering <meyering@ascend.com>
5100 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
5102 1999-02-17 Jim Meyering <meyering@ascend.com>
5104 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
5105 in macro definition. From Eli Zaretskii and Alain Magloire.
5107 1999-02-07 Jim Meyering <meyering@ascend.com>
5109 * group-member.m4: New file -- extracted from sh-utils' configure.in.
5111 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
5112 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
5114 1999-02-06 Jim Meyering <meyering@ascend.com>
5116 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
5117 * fnmatch.m4: Likewise.
5118 * getgroups.m4: Likewise.
5119 * lstat.m4: Likewise.
5120 * malloc.m4: Likewise.
5121 * putenv.m4: Likewise.
5122 * realloc.m4: Likewise.
5123 * regex.m4: Likewise.
5124 * stat.m4: Likewise.
5125 * strftime.m4: Likewise.
5126 Suggestion from Alain Magloire.
5128 * chown.m4: Use `.$ac_objext', not `.o'.
5129 * fnmatch.m4: Likewise.
5130 * getgroups.m4: Likewise.
5131 * getline.m4: Likewise.
5132 * lstat.m4: Likewise.
5133 * malloc.m4: Likewise.
5134 * memcmp.m4: Likewise.
5135 * putenv.m4: Likewise.
5136 * realloc.m4: Likewise.
5137 * regex.m4: Likewise.
5138 * stat.m4: Likewise.
5139 * strftime.m4: Likewise.
5140 Suggestion from Alain Magloire.
5142 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
5145 * regex.m4: Add a run-time Test for proper operation of
5148 1999-01-31 Jim Meyering <meyering@ascend.com>
5150 * getloadavg.m4: Check for locale.h and the function, setlocale.
5152 1999-01-30 Jim Meyering <meyering@ascend.com>
5154 * check-type.m4: Use 3-arg form of AC_DEFINE.
5156 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
5157 rather than my private copy, now that the official one is up to date.
5158 * mktime.m4: Remove file.
5160 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
5161 * uptime.m4: Likewise.
5162 * uintmax_t.m4: Likewise.
5164 1999-01-28 Jim Meyering <meyering@ascend.com>
5166 * jm-macros.m4: Use jm_AFS.
5167 * afs.m4: New file (from fileutils' configure.in).
5169 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
5170 * chown.m4: Likewise.
5171 * d-ino.m4: Likewise.
5172 * d-type.m4: Likewise.
5173 * fnmatch.m4: Likewise.
5174 * getgroups.m4: Likewise.
5175 * gettext.m4: Likewise.
5176 * jm-mktime.m4: Likewise.
5177 * jm-winsz2.m4: Likewise.
5178 * lcmessage.m4: Likewise.
5179 * ls-mntd-fs.m4: Likewise.
5180 * malloc.m4: Likewise.
5181 * memcmp.m4: Likewise.
5182 * putenv.m4: Likewise.
5183 * realloc.m4: Likewise.
5184 * st_mtim.m4: Likewise.
5185 * strftime.m4: Likewise.
5187 1999-01-16 Jim Meyering <meyering@ascend.com>
5189 * jm-macros.m4 (ARGMATCH_DIE): Define.
5190 (ARGMATCH_DIE_DECL): Define.
5192 1999-01-12 Jim Meyering <meyering@ascend.com>
5194 * Makefile.am.in: Rewrite to avoid using fmt.
5195 Reported by Lars Hecking.
5197 1999-01-10 Jim Meyering <meyering@ascend.com>
5199 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
5201 * inttypes_h.m4: Likewise.
5202 * lstat.m4: Likewise.
5203 * malloc.m4: Likewise.
5204 * readdir.m4: Likewise.
5205 * realloc.m4: Likewise.
5206 * st_dm_mode.m4: Likewise.
5207 * stat.m4: Likewise.
5208 * utimbuf.m4: Likewise.
5209 * utimes.m4: Likewise.
5211 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
5212 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
5213 comments in config.h.in are meaningful.
5215 * jm-macros.m4: Require autoconf-2.13 here.
5217 * regex.m4: By default, don't use the included regex.c on systems
5218 with glibc 2. Suggestion from Uli Drepper.
5220 1999-01-02 Jim Meyering <meyering@ascend.com>
5222 * jm-macros.m4: Replace strcasecmp and strncasecmp.
5224 1998-12-18 Jim Meyering <meyering@ascend.com>
5226 * Makefile.am.in (Makefile.am): Simplify rule.
5227 Based on a suggestion from Lars Hecking.
5229 1998-11-16 Jim Meyering <meyering@ascend.com>
5231 * lfs.m4: Double-quote the `uname...` expression.
5233 1998-11-16 Paul Eggert <eggert@twinsun.com>
5235 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
5237 1998-11-14 Jim Meyering <meyering@ascend.com>
5239 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
5240 * stat.m4: Likewise.
5242 1998-11-03 Jim Meyering <meyering@ascend.com>
5244 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
5245 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
5247 1998-10-18 Jim Meyering <meyering@ascend.com>
5249 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
5251 1998-10-17 Jim Meyering <meyering@ascend.com>
5253 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
5254 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
5255 calls for those previously hard-coded headers. Instead, take a new
5257 (jm_CHECK_DECLARATIONS): Reflect interface change.
5258 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
5259 (jm_CHECK_DECL_LOCALTIME_R): New macro.
5261 * mktime.m4: Test for spring-forward gap before long-running test.
5263 1998-10-14 Jim Meyering <meyering@ascend.com>
5265 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
5266 instead of "TZ=America/Vancouver". From Paul Eggert.
5268 1998-10-11 Jim Meyering <meyering@ascend.com>
5270 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
5271 This adds a test for a recently added compatibility fix for mktime.c.
5272 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
5274 1998-09-27 Jim Meyering <meyering@ascend.com>
5276 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
5278 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
5279 ../configure.in, including a change from Gordon Matzigkeit to allow
5280 cross-compiling for the Hurd.
5282 * glibc.m4: New file/macro to test for the GNU C Library
5283 versions 1 and 2. From Gordon Matzigkeit.
5286 1998-09-21 Jim Meyering <meyering@ascend.com>
5288 * chown.m4: Declare locals: before, after. From Andries Brouwer.
5290 1998-08-18 Paul Eggert <eggert@twinsun.com>
5292 Port nanosecond-resolution times to UnixWare 2.1.2 and
5293 pedantic Solaris 2.6.
5295 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
5297 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
5298 Generate name of ns member, instead of just 1 or undef.
5299 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
5301 1998-08-15 Jim Meyering <meyering@ascend.com>
5303 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
5304 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
5305 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
5306 instead of jm_TYPE_SSIZE_T.
5308 1998-08-12 Jim Meyering <meyering@ascend.com>
5310 * st_dm_mode.m4: New file. From Johan Danielsson.
5312 1998-08-02 Jim Meyering <meyering@ascend.com>
5314 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
5315 in acconfig.h manually.
5317 1998-07-31 Paul Eggert <eggert@twinsun.com>
5319 * st_mtim.m4: New file.
5321 1998-07-28 Jim Meyering <meyering@ascend.com>
5323 * utimes.m4: Undef stat.
5325 1998-07-25 Jim Meyering <meyering@ascend.com>
5327 * utime.m4 (jm_FUNC_UTIME): New file and macro.
5328 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
5330 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
5332 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
5333 uid and gid actually remain unchanged.
5335 1998-07-07 Jim Meyering <meyering@ascend.com>
5337 * jm-glibc-io.m4: Remove fclose_unlocked.
5339 1998-07-04 Jim Meyering <meyering@ascend.com>
5341 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
5342 to prove that this macro can be used in packages without regex.c.
5344 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5346 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
5349 1998-07-03 Jim Meyering <meyering@ascend.com>
5351 * gettext.m4: Add -lintl if it's found to be necessary.
5353 * gettext.m4: New file -- from gettext-0.10.35.
5354 * lcmessage.m4: Likewise.
5355 * progtest.m4: Likewise.
5357 * regex.m4 (jm_WITH_REGEX): New file and macro.
5358 * jm-macros.m4: Require the new macro.
5360 1998-06-29 Jim Meyering <meyering@ascend.com>
5362 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
5363 for the definition of NGROUPS (used in a system header included
5366 1998-06-28 Jim Meyering <meyering@ascend.com>
5368 * ls-mntd-fs.m4: New file.
5369 * fstypename.m4: New file.
5371 * jm-macros.m4: Require the new macro.
5372 * jm-glibc-io.m4: New file.
5374 1998-05-19 Jim Meyering <meyering@ascend.com>
5376 * jm-macros.m4: Add jm_FUNC_LCHOWN.
5377 * lchown.m4: New file.
5379 * Makefile.am.in: New file.
5380 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
5382 1998-05-14 Jim Meyering <meyering@ascend.com>
5384 * Makefile.am (EXTRA_DIST): Add them.
5385 * jm-macros.m4: New file.
5386 * utimbuf.m4: New file.
5388 1998-05-12 Jim Meyering <meyering@ascend.com>
5390 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
5392 1998-05-11 Jim Meyering <meyering@ascend.com>
5394 * isc-posix.m4: New file.
5396 1998-05-10 Jim Meyering <meyering@ascend.com>
5398 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
5400 1998-05-09 Jim Meyering <meyering@ascend.com>
5402 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
5403 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
5406 * ssize_t.m4: New file.
5407 * mktime.m4: Remove file -- the new automake has this now.
5409 1998-04-26 Jim Meyering <meyering@ascend.com>
5411 * assert.m4: New file.
5412 * Makefile.am (EXTRA_DIST): Add assert.m4.
5414 1998-04-05 Jim Meyering <meyering@ascend.com>
5416 * prereq.m4 (jm_PREREQ_REGEX): New macro.
5417 (jm_PREREQ): Use it here.
5419 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
5421 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
5424 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
5426 * prereq.m4: New file.
5427 * error.m4: New file.
5428 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
5430 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
5432 * getline.m4: Don't set am_cv_func_working_getline before the
5433 cache-check for the same variable -- that defeated the purpose of
5434 the test; the test program was never run. This was a problem only
5435 on systems with losing getline functions -- HP-UX 10.20 is one.
5436 Reported by Bjorn Helgaas.
5438 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
5440 * Makefile.am (EXTRA_DIST): Add perl.m4.
5442 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
5444 * Makefile.am (EXTRA_DIST): Add const.m4.
5446 * const.m4: New file. Use an initializer in this declaration
5447 typedef int charset[2]; const charset x;
5448 Reported by Bob Glickstein.
5450 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
5452 * chown.m4: Fix reversed types on -1 args to chown.
5455 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
5457 * check-decl.m4: s/DECLARATION_/DECL_/g.
5458 Add lseek and memchr.
5460 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
5461 T.E.Dickey <dickey@clark.net> said that some older preprocessors
5462 have a 20-character limit on names.
5464 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
5466 * inttypes_h.m4: New file.
5467 * uintmax_t.m4: New file.
5468 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
5470 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
5471 Free Software Foundation, Inc.
5472 Copying and distribution of this file, with or without modification,
5473 are permitted provided the copyright notice and this notice are preserved.