c26cfe70cf0025b6b07423537a31231b61360993
[gnulib.git] / m4 / ChangeLog
1 2006-07-06  Paul Eggert  <eggert@cs.ucla.edu>
2
3         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't check for getenv decl;
4         no longer needed.  Check for isblank decl.
5         * mkstemp.m4 (gl_PREREQ_TEMPNAME): Don't check for getenv decl.
6         * regex.m4 (gl_PREREQ_REGEX): Dheck for isblank decl instead
7         of existence.
8
9 2006-07-05  Paul Eggert  <eggert@cs.ucla.edu>
10
11         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Use AC_CHECK_DECLS_ONCE
12         rather than AC_CHECK_DECLS for strtoimax and strtoumax.
13         * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed.
14         All uses removed.
15         * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
16         * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
17         * exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer needed.
18         * getdate.m4 (gl_GETDATE): Likewise.
19         * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
20         * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
21         * strtod.m4 (gl_FUNC_STRTOD): Likewise.
22         * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
23         * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
24         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
25         * exclude.m4 (gl_EXCLUDE): Don't require AC_C_INLINE; no longer
26         needed.
27
28 2006-07-05  Derek R. Price  <derek@ximbiot.com>
29
30         * calloc.m4 (_AC_FUNC_CALLOC_IF): Don't require AC_HEADER_STDC;
31         no longer needed.
32         * exclude.m4 (gl_EXCLUDE): Likewise.
33         * getdate.m4 (gl_GETDATE): Likewise.
34         * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
35         * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
36         * strtod.m4 (gl_FUNC_STRTOD): Likewise.
37         * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
38         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
39
40 2006-07-05  Eric Blake  <ebb9@byu.net>
41
42         * sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
43         to avoid 'header present but could not be compiled' on cygwin.
44
45 2006-07-03  Bruno Haible  <bruno@clisp.org>
46
47         * strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, check whether
48         the function exists, before testing against AIX.
49         Reported by Martin Lambers <marlam@marlam.de>.
50
51 2006-07-04  Paul Eggert  <eggert@cs.ucla.edu>
52
53         * absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
54         to the absolute name, not just one, to bypass Sun C 5.8's
55         "warning: #include of /usr/include/... may be non-portable".
56
57 2006-07-03  Paul Eggert  <eggert@cs.ucla.edu>
58
59         * absolute-header.m4: Renamed from full-header-path.m4.
60         This is to keep the terminology clean; POSIX talks about
61         "absolute pathnames", not "full pathnames", but the GNU
62         Coding Standards say to use "path" for something else;
63         so use "absolute" to keep both sides happy.
64         (gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
65         Set gl_absolute_header, not gl_full_header_path.
66         Set gl_cv_absolute_<header>, not gl_full_path_<header>.
67         Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
68         All uses changed.
69
70         Merge from coreutils.
71
72         2006-06-30  Paul Eggert  <eggert@cs.ucla.edu>
73
74         * c-strtod.m4 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
75         Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
76         want to require the building of c-strtod.o.
77         * lib-check.m4 (cu_LIB_CHECK): Remove SEQ_LIBM, since seq no longer
78         needs -lm directly.
79         * xstrtod.m4 (gl_XSTRTOLD): New macro.
80
81         2006-06-19  Paul Eggert  <eggert@cs.ucla.edu>
82
83         * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
84         --as-needed option if available.  Problem reported by Albert Chin in
85         <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
86         However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
87         cc merely issues a bunch of annoying warnings for --as-needed
88         (this problem was reported by Bob Proulx).  Also, try linking with
89         -lm to detect a bug in binutils 2.16 (this problem was reported
90         by Ralf Wildenhues).
91
92         2006-06-18  Jim Meyering  <jim@meyering.net>
93
94         Test for a bug that causes glibc's getcwd to suffer a failed assertion.
95         * getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
96         * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
97         also check for glibc-2.4's abort-inducing bug.
98
99         * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
100         Low-probability clean-up should be to use rmdir to get rid of
101         the just-created directory, not unlink.
102
103         * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
104         configure fail, and request a bug report to inform us about it.
105         Add a comment that, barring reports to the contrary, in 2007 we'll
106         assume ftruncate is universally available.
107
108         2006-04-17  Paul Eggert  <eggert@cs.ucla.edu>
109
110         * filemode.m4 (gl_FILEMODE): Check for strmode declaration.
111
112         2006-03-12  Jim Meyering  <jim@meyering.net>
113
114         * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.
115         * cycle-check.m4 (gl_CYCLE_CHECK): Likewise.
116         * same.m4 (gl_SAME): Likewise.
117         * root-dev-ino.m4 (gl_ROOT_DEV_INO): Likewise.
118
119         2006-03-11  Eric Blake  <ebb9@byu.net>
120
121         * double-slash-root.m4: New file, provides gl_DOUBLE_SLASH_ROOT.
122         * dirname.m4 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
123         * dos.m4 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
124         (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
125
126 2006-07-02  Eric Blake  <ebb9@byu.net>
127
128         * wcwidth.m4 (gl_FUNC_WCWIDTH): Simplify by using AC_CHECK_DECLS.
129
130 2006-07-02  Paul Eggert  <eggert@cs.ucla.edu>
131
132         * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
133         test cases, so that config.log is a bit easier to follow.
134
135 2006-07-01  Paul Eggert  <eggert@cs.ucla.edu>
136
137         * longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60,
138         but fix a bug, by requiring at least 64 bits.
139         * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
140         * longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call
141         AC_TYPE_LONG_LONG_INT.  This macro is obsolete and will go soon.
142         * ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise.
143
144         * stdint.m4 (gl_STDINT_H): Rewrite to accommodate stdint_.h
145         changes.  Make 2.59 a prerequisite.  Check and substitute for
146         HAVE_LONG_LONG_INT.  Rely on Autoconf to check for stdint.h and
147         inttypes.h.  Do not use special include files; just use the
148         defaults.  Check for sys/inttypes.h and sys/bitypes.h in the usual
149         way now.  Remove no-longer-needed tests for HAVE_LONG_64BIT,
150         HAVE_LONG_LONG_64BIT, int8_t, int16_t, int32_t, int64_t, uint8_t,
151         uint16_t, uint32_t uint64_t, int_least8_t, int_least16_t,
152         int_least32_t, int_least64_t, uint_least8_t, uint_least16_t,
153         uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t,
154         int_fast32_t, int_fast64_t, uint_fast8_t uint_fast16_t,
155         uint_fast32_t, uint_fast64_t, intptr_t, uintptr_t, intmax_t,
156         uintmax_t, INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX,
157         UINT16_MAX, INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN,
158         INT64_MAX, UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX,
159         UINT_LEAST8_MAX, INT_LEAST16_MIN, INT_LEAST16_MAX,
160         UINT_LEAST16_MAX, INT_LEAST32_MIN, INT_LEAST32_MAX,
161         UINT_LEAST32_MAX, INT_LEAST64_MIN, INT_LEAST64_MAX,
162         UINT_LEAST64_MAX, INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX,
163         INT_FAST16_MIN, INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN,
164         INT_FAST32_MAX, UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX,
165         UINT_FAST64_MAX, INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN,
166         INTMAX_MAX, UINTMAX_MAX, PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN,
167         SIG_ATOMIC_MAX, SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN,
168         WINT_MAX.  Check for C99 conformance more strictly, by detecting
169         bugs in glibc 2.4, Solaris 10, and OpenBSD 3.9.  On the other hand do
170         not check for things that C99 does not require, e.g., int8_t.  If
171         a test isn't needed unless <stdint.h> isn't working, and is
172         unlikely to be needed for any other reason, then don't do it
173         unless <stdint.h> isn't working.  Do not check for ptrdiff_t or
174         size_t, since we assume C89 freestanding at least.  Do not check
175         for sig_atomic_t, wchar_t, or wint_t, since the code now does
176         the right thing even if the types are not defined.  Instead use:
177         (gl_STDINT_TYPE_PROPERTIES): New macro.
178         (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H): Remove.  Don't bother
179         testing whether <sys/types.h> clashes, as Autoconf does this for
180         us now.  All uses removed.
181         (gl_STDINT_CHECK_TYPES, gl_STDINT_MISSING_BOUND):
182         (gl_STDINT_MISSING_BOUNDS, gl_STDINT_MISSING_BOUNDS2):
183         (gl_CHECK_TYPE_SAME):
184         Remove; no longer needed.
185         (gl_STDINT_BITSIZEOF): Don't bother to check whether the type
186         exists, since we'll return 0 anyway in that case.
187         (gl_INTEGER_TYPE_SUFFIX, gl_STDINT_INCLUDES): New macros.
188
189 2006-07-01  Eric Blake  <ebb9@byu.net>
190
191         * stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.
192
193 2006-07-01  Eric Blake  <ebb9@byu.net>
194
195         * stdarg.m4 (gl_STDARG_H): Use proper AH_VERBATIM.
196         Reported by Andreas Buening.
197
198 2006-06-29  Eric Blake  <ebb9@byu.net>
199
200         * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Use AC_C_INLINE.
201
202 2006-06-29  Eric Blake  <ebb9@byu.net>
203
204         * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): New file.
205
206 2006-06-29  Derek R. Price  <derek@ximbiot.com>
207
208         * strftime.m4: Don't call AC_FUNC_STRFTIME.
209
210 2006-06-29  Derek R. Price  <derek@ximbiot.com>
211
212         * c-bs-a.m4: Removed.
213
214 2006-06-28  Derek R. Price  <derek@ximbiot.com>
215
216         * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
217
218         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
219         it's obsolete.
220         * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
221
222 2006-06-28  Bruno Haible  <bruno@clisp.org>
223
224         * wcwidth.m4 (gl_FUNC_WCWIDTH): Also require AC_C_INLINE and
225         gt_TYPE_WCHAR_T.
226
227 2006-06-28  Eric Blake  <ebb9@byu.net>
228
229         * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
230         * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
231
232 2006-06-28  Simon Josefsson  <jas@extundo.com>
233
234         * getaddrinfo.m4: Look for getnameinfo prototypes too.
235
236 2006-06-27  Simon Josefsson  <jas@extundo.com>
237
238         * sys_select_h.m4: New file, suggested by Bruno Haible, Paul
239         Eggert and Martin Lambers.
240
241 2006-06-27  Bruno Haible  <bruno@clisp.org>
242
243         * stdint.m4 (gl_STDINT_BITSIZEOF): For nonexistent types, set the
244         result to 0, not to empty.
245         Reported by Martin Neitzel <neitzel@sco.gaertner.de>.
246
247 2006-06-26  Bruno Haible  <bruno@clisp.org>
248
249         * stdint.m4 (gl_STDINT_H): Test also for <wchar.h>.
250
251 2006-06-26  Bruno Haible  <bruno@clisp.org>
252
253         * stdint.m4 (gl_STDINT_H): Don't include <stdint.h> when using the
254         SGI C compiler in pre-C99 mode.
255         Suggested by Mark D. Baushke and Larry Jones.
256
257 2006-06-23  Mark D. Baushke  <mdb@gnu.org>
258
259         * stdint.m4 (gl_STDINT_H): Treat BSD/OS like OpenBSD.
260
261 2006-06-26  Simon Josefsson  <jas@extundo.com>
262
263         * inet_ntop.m4: Don't check for sys/types.h, we assume it is
264         present.
265
266 2006-06-23  Bruno Haible  <bruno@clisp.org>
267
268         * stdint.m4 (gl_STDINT_H): Treat IRIX like OpenBSD.
269
270 2006-06-22  Simon Josefsson  <jas@extundo.com>
271
272         * sockpfaf.m4: Include winsock2.h too, to make it work under
273         MinGW.
274
275 2006-06-21  Simon Josefsson  <jas@extundo.com>
276
277         * getaddrinfo.m4: Don't define WINVER.  Look for gethostbyname in
278         -lws2_32 too.  Fixes getaddrinfo on Windows 2000, with the price
279         of using the (limited) gnulib implementation on Windows XP.
280
281         * inet_pton.m4: New file.
282
283 2006-06-19  Bruno Haible  <bruno@clisp.org>
284
285         * stdint.m4 (gl_STDINT_H): Enclose the values of FULL_PATH_STDINT_H
286         and FULL_PATH_INTTYPES_H in angle brackets.
287         Reported by Mark D. Baushke <mdb@gnu.org>.
288
289 2006-06-17  Bruno Haible  <bruno@clisp.org>
290
291         * stdint.m4 (gl_STDINT_H) [FreeBSD >= 5]: Don't include
292         <sys/inttypes.h>.
293
294 2006-06-16  Eric Blake  <ebb9@byu.net>
295
296         * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
297         errno.
298
299 2006-06-17  Bruno Haible  <bruno@clisp.org>
300
301         * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
302         whether errno is declared. Assume <errno.h> declares errno.
303
304 2006-06-15  Bruno Haible  <bruno@clisp.org>
305
306         * stdint.m4 (gl_STDINT_H): Rewritten to produce a complete stdint.h.
307         (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H, gl_STDINT_CHECK_TYPES,
308         gl_STDINT_MISSING_BOUND, gl_STDINT_MISSING_BOUNDS,
309         gl_STDINT_MISSING_BOUNDS2, gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED,
310         gl_CHECK_TYPE_SAME): New macros.
311
312 2006-06-15  Bruno Haible  <bruno@clisp.org>
313
314         * size_max.m4 (gl_SIZE_MAX): Make it work also when cross-compiling.
315
316 2006-06-15  Eric Blake  <ebb9@byu.net>
317
318         * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
319
320 2006-05-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
321             Bruno Haible  <bruno@clisp.org>
322
323         * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
324         check for the declaration of strnlen and a run test that exposes the
325         AIX 5.1 strnlen bug.  In the failure case, #define strndup to
326         rpl_strndup.
327
328 2006-05-28  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
329
330         * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
331         compile test, for Tru64 4.0D.
332
333 2006-05-19  Paul Eggert  <eggert@cs.ucla.edu>
334
335         * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
336         gl_ rather than jm_.  Link, don't run, so that cross-compiles are
337         allowed.  Check that resulting type is arithmetic.  Move AC_REQUIRE
338         and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
339         not really conditional on the cache.
340         (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
341
342 2006-05-14  Paul Eggert  <eggert@cs.ucla.edu>
343
344         * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
345         test for C99 conformance; (bool) 0.5 is an integer constant
346         expression, but (bool) -0.5 is not.  Problem reported by Fedor
347         Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
348
349 2006-05-11  Simon Josefsson  <jas@extundo.com>
350
351         * xvasprintf.m4: Fix obvious typo.
352
353 2006-05-09  Bruno Haible  <bruno@clisp.org>
354
355         * xvasprintf.m4: New file.
356
357 2006-05-08  Bruno Haible  <bruno@clisp.org>
358
359         * stdarg.m4: New file, from GNU gettext.
360
361 2006-05-05  Jim Meyering  <jim@meyering.net>
362
363         * warning.m4: New file, derived from bison's file by the same name.
364
365 2006-05-02  Bruno Haible  <bruno@clisp.org>
366
367         * full-header-path.m4 (gl_FULL_HEADER_PATH): Move the include_next
368         test from here...
369         * _inttypes_h.m4 (gl_INTTYPES_H): ... to here.
370
371 2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
372
373         * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
374         to define main with arguments, for C++.  Reported by Eric Blake.
375         * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
376         Prefer 'int main ()' to 'int main (void)', for C++.
377         * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
378         * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
379         for 'main', for C99 and C++.
380
381 2006-04-23  Bruno Haible  <bruno@clisp.org>
382
383         * poll.m4 (gl_FUNC_POLL): Rearrange code, so that POLL_H gets
384         assigned exactly once.
385
386 2006-04-23  Bruno Haible  <bruno@clisp.org>
387
388         * poll.m4 (gl_FUNC_POLL): When cross-compiling, reject also the poll()
389         implementation in AIX.
390         Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
391
392 2006-03-04  Eric Blake  <ebb9@byu.net>
393
394         * strerror_r.m4 (AC_FUNC_STRERROR_R): Avoid unused variable warning.
395
396 2006-04-24  Paul Eggert  <eggert@cs.ucla.edu>
397
398         * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
399         Don't assume that exit status -1 is valid.
400         * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
401         * putenv.m4 (gl_FUNC_PUTENV): Likewise.
402         * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
403         * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
404         * rename.m4 (vb_FUNC_RENAME): Likewise.
405         * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
406         not AC_TRY_RUN.  Use return, not exit.  Don't assume that
407         functions can be used without declaring them, or that you can
408         exit with status -1.
409         * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
410
411 2006-04-20  Bruno Haible  <bruno@clisp.org>
412
413         * argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
414         one argument, so that the code will be portable to Autoconf 2.60.
415         * getlogin_r.m4 (gl_PREREQ_GETLOGIN_R): Likewise.
416         * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
417         * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
418
419 2006-04-19  Derek Price  <derek@ximbiot.com>
420             Eric Blake  <ebb9@byu.net>
421
422         * full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
423         than "/full/path.h".  Update comment to match.  Shorten & generalize
424         m4_translit call via AS_TR_CPP.
425
426 2006-04-18  Derek Price  <derek@ximbiot.com>
427             Paul Eggert  <eggert@cs.ucla.edu>
428
429         * _inttypes_h.m4, full-header-path.m4, include_next: New files.
430
431 2006-04-11  Paul Eggert  <eggert@cs.ucla.edu>
432
433         * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
434
435 2006-04-09  Paul Eggert  <eggert@cs.ucla.edu>
436
437         * regex.m4 (gl_REGEX): Check for new glibc interface to
438         translation table.
439
440 2006-03-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
441
442         * argz.m4 (gl_FUNC_ARGZ): If we define `error_t', also define
443         `__error_t_defined', so argp.h will not typedef the former.
444
445 2006-03-25  Paul Eggert  <eggert@cs.ucla.edu>
446
447         * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
448         REG_SYNTAX_EMACS, and REG_IGNORE_CASE.  Settle for the traditional
449         glibc names.  Even if glibc is changed to conform to POSIX, the
450         traditional names will be available anyway, since regex depends on
451         the extensions module.  Also, fix a longstanding typo in the
452         implementation of Spencer ERE test #75 from grep 2.3.  Problems
453         reported by Emanuele Giaquinta.  Also, change sense of cached
454         variable, so that the message makes sense.
455
456 2006-03-17  Jim Meyering  <jim@meyering.net>
457
458         * regex.m4 (gl_REGEX): Fix typo in last change:
459         s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
460
461 2006-03-16  Paul Eggert  <eggert@cs.ucla.edu>
462
463         * regex.m4 (gl_REGEX): Don't check for off_t, since the code
464         no longer needs it.  Instead, check that regoff_t is as least
465         as wide as ptrdiff_t.
466
467         Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
468         so that our regex.h stays compatible with the installed regex.
469         This is helpful for installers who configure --without-included-regex.
470         Problem reported by Emanuele Giaquinta.
471
472 2006-03-15  Eric Blake  <ebb9@byu.net>
473
474         * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
475
476 2006-03-08  Simon Josefsson  <jas@extundo.com>
477
478         * gc-random.m4: Permit 'no' as variable values and fix warnings,
479         suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
480
481 2006-03-08  Simon Josefsson  <jas@extundo.com>
482
483         * gc-random.m4: Call AC_CANONICAL_HOST and use $host_os instead of
484         $target, suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
485
486 2006-03-07  Paul Eggert  <eggert@cs.ucla.edu>
487
488         * unistd_h.m4 (gl_HEADER_UNISTD): Rename, to match modules file.
489         Problem reported by Juan Manuel Guerrero.
490
491 2006-03-07  Simon Josefsson  <jas@extundo.com>
492
493         * unistd_h.m4: New file.
494
495 2006-03-07  Simon Josefsson  <jas@extundo.com>
496
497         * readline.m4 (gl_FUNC_READLINE): Rewrite the cached part of the
498         test to be side-effect free by storing the result in the cache
499         variable gl_cv_lib_readline, and moving the assignment of
500         LIBREADLINE and LTLIBREADLINE outside the COMMANDS-TO-SET-IT.
501         From Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
502
503 2006-03-07  Simon Josefsson  <jas@extundo.com>
504
505         * gc-random.m4: New file, mostly from gc.m4.  Warn instead of
506         error on missing devices (the functions will return an error).
507
508         * gc.m4: Move random stuff to gc-random.m4
509
510 2006-03-03  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de> (tiny change)
511
512         * poll.m4 (gl_FUNC_POLL): If we deem poll(2) unacceptable, use
513         our replacement poll.h in any case, to avoid a differing
514         declaration from a system header.  Seen on AIX.
515
516 2006-03-01  Paul Eggert  <eggert@cs.ucla.edu>
517
518         * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
519         not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
520         pedantically.
521         * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
522         * timespec.m4 (gl_TIMESPEC): Likewise.
523
524         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
525         not "==".  Reported by Ralf Wildenhues.
526
527 2006-02-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
528
529         Sync from coreutils.
530         * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
531         gl_CHDIR_SAFER.
532
533 2006-02-22  Jim Meyering  <jim@meyering.net>
534
535         Sync from coreutils.
536         * chdir-safer.m4: New file.
537
538 2006-02-17  Eric Blake  <address@hidden>
539
540         * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
541
542 2006-02-15  Eric Blake  <ebb9@byu.net>
543
544         * sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using
545         winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes
546         'present but cannot compile' warnings on cygwin.
547         * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET.  Don't
548         use ws2tcpip.h if sys/socket.h works.
549         * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_HEADER_SYS_SOCKET.
550         (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is present.
551
552 2006-02-14  Jim Meyering  <jim@meyering.net>
553
554         Sync from coreutils.
555         * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
556         unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
557         gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
558         variable, to accommodate the rare case in which getmntent is
559         available in none of the libraries checked.  This happens at
560         least on FreeBSD 5.0.
561
562 2006-02-05  Paul Eggert  <eggert@cs.ucla.edu>
563
564         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
565         __EXTENSIONS__ if this causes compilation to fail.  Problem
566         reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
567         c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
568
569 2006-01-25  Simon Josefsson  <jas@extundo.com>
570
571         * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
572         -lws2_32.  Protect sys/socket.h and netdb.h #include's.  Include
573         ws2tcpip.h with WINVER=0x0501.  All for mingw32.
574
575 2006-01-25  Paul Eggert  <eggert@cs.ucla.edu>
576
577         * stdbool.m4 (AC_HEADER_STDBOOL): Check for xlc bug if __GCC__ too,
578         so that we test the test.
579         Check for yet another HP-UX cc bug involving *bool |= bool.
580
581 2006-01-24  Bruno Haible  <bruno@clisp.org>
582
583         * stdbool.m4 (AC_HEADER_STDBOOL): Check for IBM and HP-UX bugs.
584         Patch by Paul Eggert.
585
586 2006-01-24  Jim Meyering  <jim@meyering.net>
587
588         * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
589         Reported by Mark D. Baushke.
590
591 2006-01-23  Paul Eggert  <eggert@cs.ucla.edu>
592
593         * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
594
595 2006-01-20  Paul Eggert  <eggert@cs.ucla.edu>
596
597         * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
598         rather than -Xlinker -z -Xlinker ignore, as it's more portable.
599         Suggested by Bruno Haible.
600
601 2006-01-19  Simon Josefsson  <jas@extundo.com>
602
603         * socklen.m4: Look in ws2tcpip.h too, for mingw32.
604
605 2006-01-16  Paul Eggert  <eggert@cs.ucla.edu>
606
607         * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
608         it's not portable and it doesn't work with cross-compiles.
609         Problem reported by Bruno Haible.  Fix missing-$ typo in
610         'test "gl_cv_ignore_unused_libraries" ...' that prevented
611         -zignore from being used with Sun's C compiler.
612
613 2006-01-12  Bruno Haible  <bruno@clisp.org>
614
615         * ldd.m4: New file.
616
617 2006-01-08  Bruno Haible  <bruno@clisp.org>
618
619         Ensure automatic ordering between gl_LOCK and gl_ARGP.
620         * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK.
621         (gl_LOCK): New macro, requiring gl_LOCK_BODY.
622
623 2006-01-10  Jim Meyering  <jim@meyering.net>
624
625         * fpending.m4: Also include <stdio.h>, for Dragonfly.
626         Patch by Joerg Sonnenberger.
627
628 2006-01-10  Paul Eggert  <eggert@cs.ucla.edu>
629
630         * memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
631         the 2002-12-31 change.  Problem and fix reported by Bruno Haible.
632         People who are still concerned with buggy memcmp implementations
633         can invoke gl_FUNC_MEMCMP themselves.
634
635 2006-01-10  Simon Josefsson  <jas@extundo.com>
636
637         * sys_socket_h.m4: New file.
638
639 2006-01-10  Bruno Haible  <bruno@clisp.org>
640
641         * localcharset.m4 (gl_LOCALCHARSET): Also test for getc_unlocked.
642         Reported by Werner Lemberg <wl@gnu.org>.
643
644 2006-01-09  Paul Eggert  <eggert@cs.ucla.edu>
645
646         Sync from coreutils.
647         * lib-ignore.m4: New file.
648         * lchmod.m4: New file.
649
650 2006-01-09  Jim Meyering  <jim@meyering.net>
651
652         Sync from coreutils.
653         * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
654         Require openat-priv.h.
655
656 2006-01-09  Andreas Gruenbacher  <agruen@suse.de>
657
658         Sync from coreutils.
659         * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
660
661 2005-10-16  Bruno Haible  <bruno@clisp.org>
662
663         * stdint.m4 (gl_STDINT_H): Also test for <sys/bitypes.h>.
664
665 2005-12-16  Jim Meyering  <jim@meyering.net>
666
667         * fprintftime.m4: New file.
668
669 2005-12-10  Sergey Poznyakoff  <gray@gnu.org.ua>
670
671         * argp.m4: Define HAVE_DECL_PROGRAM_INVOCATION_NAME and
672         HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
673
674 2005-12-09  Sergey Poznyakoff  <gray@gnu.org.ua>
675
676         * argp.m4:  Check if program_invocation_name and
677         program_invocation_short_name are declared and define appropriate
678         macros if they are not.
679
680 2005-12-07  Paul Eggert  <eggert@cs.ucla.edu>
681
682         * stat-time.m4 (gl_STAT_TIME): Add check for
683         TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
684         porting problem reported by Georg Schwarz in
685         <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
686
687 2005-12-02  Paul Eggert  <eggert@cs.ucla.edu>
688
689         * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
690         Use implementation from Albert Chin, with some
691         comments/corrections by Stepan Kasal and myself.
692
693 2005-12-01  Paul Eggert  <eggert@cs.ucla.edu>
694
695         * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
696         statement, to work around an HP-UX 10.20 compiler bug reported by
697         Peter O'Gorman.
698
699 2005-11-10  Paul Eggert  <eggert@cs.ucla.edu>
700
701         * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
702         or gettimeofday; no longer needed.
703
704 2005-10-30  Paul Eggert  <eggert@cs.ucla.edu>
705
706         * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
707         variables to suggest the intended function of the PATH_MAX check.
708
709 2005-10-30  Kean Johnston  <jkj@sco.com>
710
711         Trivial changes to support SCO systems.
712         * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
713         as PATH_MAX.
714         * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
715         where __ptr is null when no I/O is pending.
716
717 2005-10-28  Simon Josefsson  <jas@extundo.com>
718
719         * inet_ntop.m4: More tests.
720
721         * gc-md2.m4, md2.m4: New file.
722
723 2005-10-22  Simon Josefsson  <jas@extundo.com>
724
725         * gc.m4: Don't be fooled by --disable-*random-device parameters,
726         suggested by Bruno Haible <bruno@clisp.org>.  Fix error messages.
727
728 2005-10-21  Simon Josefsson  <jas@extundo.com>
729
730         * gc.m4: Don't use libgcrypt if gcrypt.h isn't found, suggested by
731         Bruno Haible <bruno@clisp.org>.
732
733         * gc-des.m4: New file.
734
735 2005-10-21  Simon Josefsson  <jas@extundo.com>
736
737         * arctwo.m4: New file.
738
739         * gc-arctwo.m4: New file.
740
741 2005-10-19  Simon Josefsson  <jas@extundo.com>
742
743         * gc-arcfour.m4: New file.
744
745         * gc-rijndael.m4: New file.
746
747 2005-10-19  Simon Josefsson  <jas@extundo.com>
748
749         * m4/gc-hmac-md5.m4, m4/gc-hmac-sha1.m4, m4/gc-md4.m4,
750         m4/gc-md5.m4, m4/gc-sha1.m4: Fix typo, suggested by Stepan Kasal
751         <kasal@ucw.cz>.
752
753 2005-10-19  Simon Josefsson  <jas@extundo.com>
754
755         * gc-md4.m4: New file.
756
757 2005-10-18  Simon Josefsson  <jas@extundo.com>
758
759         * md4.m4: New file.
760
761 2005-10-17  Bruno Haible  <bruno@clisp.org>
762
763         * stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so that
764         it can also be used in a test.
765
766 2005-10-11  Simon Josefsson  <jas@extundo.com>
767
768         * md5.m4: Remove call to uint32_t.m4.
769
770 2005-10-15  Simon Josefsson  <jas@extundo.com>
771
772         * rijndael.m4: New file.
773
774 2005-10-14  Simon Josefsson  <jas@extundo.com>
775
776         * arcfour.m4: New file.
777
778 2005-10-12  Bruno Haible  <bruno@clisp.org>
779
780         * stdbool.m4 (gl_STDBOOL_H): Define as an alias of AM_STDBOOL_H.
781         Reported by Stepan Kasal <kasal@ucw.cz>.
782
783 2005-10-12  Simon Josefsson  <jas@extundo.com>
784
785         * gc-pbkdf2-sha1.m4: New file.
786
787         * gc-hmac-sha1.m4: New file.
788
789         * gc-sha1: New file.
790
791         * hmac-sha1.m4: New file.
792
793 2005-10-12  Simon Josefsson  <jas@extundo.com>
794
795         * gc-md5.m4, gc-hmac-md5: New files.
796
797         * gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5.
798
799 2005-10-11  Simon Josefsson  <jas@extundo.com>
800
801         * crc.m4: New file.
802
803 2005-10-07  Simon Josefsson  <jas@extundo.com>
804
805         * memxor.m4: Remove gl_C_RESTRICT call.
806
807 2005-10-06  Paul Eggert  <eggert@cs.ucla.edu>
808
809         * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
810         promotes to int, not unsigned int, to catch the AIX 5.3
811         compiler bug.
812
813 2005-10-06  Simon Josefsson  <jas@extundo.com>
814
815         * hmac-md5.m4: New file.
816
817         * memxor.m4: Require gl_C_RESTRICT.
818
819 2005-10-05  Paul Eggert  <eggert@cs.ucla.edu>
820
821         * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for
822         sys/socket.h, netdb.h, sys/types.h; the checks areno longer
823         needed, since the source code now assumes these .h files.
824
825 2005-10-05  Simon Josefsson  <jas@extundo.com>
826
827         * memxor.m4: New file.
828
829 2005-10-02  Paul Eggert  <eggert@cs.ucla.edu>
830
831         Sync from coreutils.
832         * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
833         * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
834         defines ULONG_MAX_LT_ULLONG_MAX.  Thomas M.Ott reports that
835         ULLONG_MAX doesn't work with 2.7.2.1.
836
837 2005-10-02  Jim Meyering  <jim@meyering.net>
838
839         Sync from coreutils.
840         * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
841         from glibc-2.2.5 that fails for read-only files.
842
843 2005-10-02  Alfred M. Szmidt  <ams@gnu.org>
844
845         Sync from coreutils.
846         * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
847         against `yes', rather than just testing for nonempty.
848
849 2005-10-01  Simon Josefsson  <jas@extundo.com>
850
851         * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
852         and Darwin.
853
854         * getaddrinfo.m4: Use AC_GNU_SOURCE, GNU only declare getaddrinfo
855         as an (POSIX) extension.  Check for sys/types.h, sys/socket.h, and
856         netdb.h too, needed by getaddrinfo.h.  Check if getaddrinfo,
857         freeaddrinfo and gai_strerror are declared by the POSIX headers.
858         Check if struct addrinfo is declared.
859
860 2005-10-01  Jim Meyering  <jim@meyering.net>
861
862         Sync from coreutils.
863
864         * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
865         libraries [inet nsl socket xnet].  Nelson Beebe reported that with
866         native cc on Solaris 7, getaddrinfo.c requires -lsocket.
867         * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
868         in the inet and nsl libraries.  Required on Solaris 5.7.
869
870 2005-09-24  Jim Meyering  <jim@meyering.net>
871
872         Sync from coreutils.
873         * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
874         in the inet and nsl libraries.  Required on Solaris 5.7.
875
876 2005-09-26  Bruno Haible  <bruno@clisp.org>
877
878         * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
879         mbchar.c if they are not both present.
880         * mbfile.m4 (gl_MBFILE): Require gl_FUNC_MBRTOWC.
881         * mbiter.m4 (gl_MBITER): Likewise.
882         * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
883         * strcasestr.m4 (gl_PREREQ_STRCASESTR): Likewise.
884         * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
885
886 2005-09-23  Paul Eggert  <eggert@cs.ucla.edu>
887
888         * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
889         and similarly for the other external symbols.  Problem reported
890         by James Gallager.
891
892         * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
893         bug reported by Jim Meyering.
894
895         * utimens.m4 (gl_UTIMENS): Check for futimesat.
896         * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
897         not needed, since socklen is a prerequisite module.
898
899 2005-09-23  Jim Meyering  <jim@meyering.net>
900
901         Sync from coreutils.
902         Correct build failure (socklen_t not defined) on at least
903         mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
904         * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
905
906 2005-09-22  Paul Eggert  <eggert@cs.ucla.edu>
907
908         Sync from coreutils.
909         * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
910
911 2005-09-22  Paul Eggert  <eggert@cs.ucla.edu>
912
913         Sync from coreutils.
914
915         * backupfile.m4, calloc.m4, chown.m4, cloexec.m4, dup2.m4:
916         * fileblocks.m4, free.m4, ftruncate.m4, getcwd.m4, getpagesize.m4:
917         * getugroups.m4, group-member.m4, idcache.m4, link-follow.m4:
918         * mkstemp.m4, mktime.m4, mountlist.m4, nanosleep.m4, pathmax.m4:
919         * physmem.m4, posixver.m4, putenv.m4, safe-read.m4, same.m4:
920         * save-cwd.m4, stdio-safer.m4, unistd-safer.m4, unlinkdir.m4:
921         * userspec.m4, xgetcwd.m4, xreadlink.m4:
922         Don't bother checking for string.h, stdlib.h, unistd.h.
923         * fts.m4 (gl_FUNC_FTS_CORE): Don't require
924         AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
925         module's job.
926         * jm-macros.m4 (gl_MACROS): Likewise.
927         * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
928
929         * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
930         (gl_GETDATE): Use it.
931
932         * mkdir-p.m4 (gl_MKDIR_PARENTS): Don't bother checking for unistd.h.
933
934 2005-09-22  Jim Meyering  <jim@meyering.net>
935
936         Sync from coreutils.
937
938         * lstat.m4 (gl_FUNC_LSTAT):
939         Use AC_LIBSOURCES to require lstat.c and lstat.h.
940         Remove obsolete comment.
941         * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
942         * xstrtod.m4: Likewise.
943
944         * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
945
946 2005-09-19  Simon Josefsson  <jas@extundo.com>
947
948         * socklen.m4: Fix typo.
949
950 2005-09-15  Paul Eggert  <eggert@cs.ucla.edu>
951
952         * st_mtim.m4: Remove.  Superseded by...
953         * stat-time.m4: New file.
954         * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
955         Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
956
957 2005-09-15  Derek Price  <derek@ximbiot.com>
958
959         * strstr.m4 (gl_FUNC_STRSTR): Don't define strstr here.
960
961 2005-09-12  Derek Price  <derek@ximbiot.com>
962
963         Make canon-host require getaddrinfo.
964         * canon-host.m4 (gl_CANON_HOST): Remove most dependencies.
965         AC_LIBSOURCE canon-host.h.  Call...
966         (gl_PREREQ_CANON_HOST): ...this new function, which requires
967         gl_GETADDRINFO.
968         * getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when needed.
969
970 2005-09-12  Derek Price  <derek@ximbiot.com>
971             Paul Eggert  <eggert@cs.ucla.edu>
972
973         * m4/glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c,
974         glob_.h, glob-libc.h.
975         (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed.
976
977 2005-08-31  Simon Josefsson  <jas@extundo.com>
978
979         * socklen.m4: New file.
980
981 2005-09-03  Derek Price  <derek@ximbiot.com>
982
983         * getlogin_r (gl_GETLOGIN_R): Fix cut & paste error.
984         From Larry Jones <lawrence.jones@ugs.com>.
985
986 2005-08-27  Bruno Haible  <bruno@clisp.org>
987
988         Support for lib vs. lib64 distinction on biarch platforms.
989         * lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): New macro.
990         (AC_LIB_PREFIX): Require it. Use $acl_libdirstem instead of 'lib'.
991         * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
992
993 2005-09-01  Jim Meyering  <jim@meyering.net>
994
995         * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
996         CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
997         Require gl_STAT_MACROS, too.
998
999 2005-08-31  Paul Eggert  <eggert@cs.ucla.edu>
1000
1001         * regex.m4 (gl_REGEX): Require AC_SYS_LARGEFILE, Define
1002         _REGEX_LARGE_OFFSETS).  Test for regoff_t/off_t bug in 64-bit
1003         and large-file glibc and in 32-bit large-file Solaris.
1004
1005 2005-08-28  Bruno Haible  <bruno@clisp.org>
1006
1007         * gnulib-tool.m4: New file.
1008
1009 2005-08-27  Jim Meyering  <jim@meyering.net>
1010
1011         * stdlib-safer.m4: New file.  From coreutils.
1012         * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h.
1013         * fcntl-safer.m4 (gl_FCNTL_SAFER): Add creat-safer.c to the
1014         AC_LIBSOURCES list and arrange to compile it via AC_LIBOBJ.
1015         * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise, add pipe-safer.c.
1016         Add pipe-safer.c and unistd--.h to the AC_LIBSOURCES list.
1017
1018 2005-08-24  Simon Josefsson  <jas@extundo.com>
1019
1020         * getpass.m4: Check for termios.h, tcgetattr, tcsetattr, and
1021         __fsetlocking.
1022
1023 2005-08-25  Stepan Kasal  <kasal@ucw.cz>
1024
1025         * regex.m4: Add AC_PREREQ(2.50).
1026         (gl_REGEX): If --with-included-regex was given, skip the autodetection.
1027
1028 2005-08-25  Bruno Haible  <bruno@clisp.org>
1029
1030         * minmax.m4: Require autoconf 2.52.
1031         (gl_MINMAX_IN_HEADER): Add comments. Use m4_pushdef/m4_popdef instead
1032         of define/undefine. Use AS_TR_SH and AS_TR_CPP as more robust
1033         alternatives of translit over the alphabet.
1034         Based on a patch from Stepan Kasal <kasal@ucw.cz>.
1035
1036 2005-08-24  Paul Eggert  <eggert@cs.ucla.edu>
1037
1038         * regex.m4 (gl_REGEX): Use POSIX-compliant spellings when testing
1039         for GNU regex features.
1040
1041 2005-08-24  Jim Meyering  <jim@meyering.net>
1042
1043         Sync from coreutils.
1044         * fcntl-safer.m4: New file.
1045
1046         * xgetcwd.m4: Use AC_LIBSOURCES and AC_LIBOBJ to indicate source
1047         and object files for this module.
1048
1049 2005-08-23  Paul Eggert  <eggert@cs.ucla.edu>
1050
1051         * regex.m4 (gl_INCLUDED_REGEX): Remove; no longer used.
1052         All contents moved to gl_REGEX.
1053         (gl_REGEX): Don't bother checking whether lib/regex.c exists;
1054         assume that it does.
1055
1056 2005-08-20  Bruno Haible  <bruno@clisp.org>
1057
1058         * regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
1059
1060 2005-08-17  Bruno Haible  <bruno@clisp.org>
1061
1062         * strcasestr.m4: New file.
1063
1064 2005-08-17  Bruno Haible  <bruno@clisp.org>
1065
1066         * strstr.m4 (gl_FUNC_STRSTR): Use the replacement function always.
1067         (gl_PREREQ_STRSTR): Use gl_FUNC_MBRTOWC.
1068
1069 2005-08-16  Paul Eggert  <eggert@cs.ucla.edu>
1070
1071         * getopt.m4 (gl_GETOPT_CHECK_HEADERS): Do not override the results
1072         of gl_GETOPT_SUBSTITUTE.  That way, if both gl_GETOPT_SUBSTITUTE
1073         and gl_GETOPT are both invoked via different paths (as happens
1074         with GNU tar CVS because it uses both argp and getopt), the former
1075         wins.
1076
1077 2005-08-16  Bruno Haible  <bruno@clisp.org>
1078
1079         * strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function always.
1080         (gl_PREREQ_STRCASECMP): Use gl_FUNC_MBRTOWC.
1081
1082 2005-08-16  Bruno Haible  <bruno@clisp.org>
1083
1084         * mbfile.m4: New file.
1085
1086 2005-08-16  Bruno Haible  <bruno@clisp.org>
1087
1088         * mbiter.m4: New file.
1089
1090 2005-08-16  Bruno Haible  <bruno@clisp.org>
1091
1092         * mbchar.m4: New file.
1093
1094 2005-08-16  Bruno Haible  <bruno@clisp.org>
1095
1096         * tls.m4: New file, from GNU gettext.
1097
1098 2005-08-12  Bruno Haible  <bruno@clisp.org>
1099
1100         * readline.m4 (gl_FUNC_READLINE): Look for ncurses first.
1101
1102 2005-08-12  Simon Josefsson  <jas@extundo.com>
1103
1104         * readline.m4: Look for termcap, curses or ncurses if required.
1105
1106 2005-08-11  Simon Josefsson  <jas@extundo.com>
1107
1108         * readline.m4: New file.
1109
1110 2005-08-10  Simon Josefsson  <jas@extundo.com>
1111
1112         * strnlen.m4: New file.
1113
1114         * strndup.m4: Don't check for strnlen declaration, done in
1115         strnlen.m4.
1116
1117 2005-08-10  Stepan Kasal  <kasal@ucw.cz>
1118
1119         * onceonly_2_57.m4: Really require Autoconf 2.57.
1120
1121 2005-08-02  Simon Josefsson  <jas@extundo.com>
1122
1123         * getline.m4: Separate out getdelim stuff into separate module.
1124
1125         * getdelim.m4: New file.
1126
1127 2005-07-26  Paul Eggert  <eggert@cs.ucla.edu>
1128
1129         Add support to getopt for Emacs, which doesn't use LIBOBJS in the
1130         normal way.
1131         * getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER): New macro.
1132         (gl_GETOPT_SUBSTITUTE): Use it.  Invoke gl_PREREQ_GETOPT.
1133         (gl_GETOPT_IFELSE, gl_GETOPT_CHECK_HEADERS): New macros.
1134         (gl_GETOPT): Use the new macros.  Most of the implementation
1135         is moved to the new macros.  This is for programs like Emacs
1136         that don't want all the functionality of gl_GETOPT.
1137
1138 2005-07-26  Bruno Haible  <bruno@clisp.org>
1139
1140         * lock.m4: Update from GNU gettext.
1141
1142 2005-07-25  Paul Eggert  <eggert@cs.ucla.edu>
1143
1144         * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_IFELSE instead of the
1145         obsolescent AC_TRY_RUN.  Include the default includes files, for 'exit'.
1146
1147 2005-07-24  Bruno Haible  <bruno@clisp.org>
1148
1149         * visibility.m4: New file.
1150
1151 2005-07-18  Bruno Haible  <bruno@clisp.org>
1152
1153         * lock.m4: New file, from GNU gettext.
1154
1155 2005-06-01  Bruno Haible  <bruno@clisp.org>
1156
1157         * poll.m4 (gl_FUNC_POLL): Check against MacOS X 10.4 poll() bug.
1158         When using lib/poll.c, define poll as rpl_poll.
1159
1160 2005-07-14  Bruno Haible  <bruno@clisp.org>
1161
1162         * argp.m4 (gl_ARGP): Remove invocation of gl_FUNC_GLIBC_UNLOCKED_IO.
1163         Instead, test for *_unlocked function declarations directly.
1164
1165 2005-07-14  Derek Price  <derek@ximbiot.com>
1166
1167         * glob.m4 (gl_GLOB): Cache glob interface check result.  Add check for
1168         glob symlink bug.
1169
1170 2005-07-10  Bruno Haible  <bruno@clisp.org>
1171
1172         * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t.
1173         Needed when size_t is smaller than 'unsigned int'.
1174         Reported by Paul Eggert.
1175
1176 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
1177
1178         * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1179         * same.m4 (gl_SAME): Likewise.
1180         Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1181
1182         * regex.m4: Adjust to new libc regex implementation.
1183         (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
1184         all the .c and .h parts of (the new) regex.
1185         Quote the m4 stuff better.
1186         Check for RE_ICASE bug of old gnulib.
1187         Check for REG_STARTEND of recent libc.
1188         Rename local variables from jm_* to gl_*.
1189         Quote operand of "test -f".
1190         Say "recent enough" version of libc, not "version 2".
1191         (gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a
1192         prerequisite module.  Remove AC_HEADER_STDC; no longer needed.
1193         Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll.
1194         Remove check for btowc, isascii.
1195         Require AM_LANGINFO_CODESET.
1196
1197 2005-07-05  Bruno Haible  <bruno@clisp.org>
1198
1199         * mbrtowc.m4 (gl_FUNC_MBRTOWC): Upgrade to version from current
1200         autoconf CVS. Needed for mingw.
1201
1202 2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
1203
1204         Remove the dependency of the strftime module on the tzset module.
1205         * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1206
1207 2005-07-02  Jim Meyering  <jim@meyering.net>
1208
1209         * chown.m4, cloexec.m4, dup2.m4, fsusage.m4:
1210         * getcwd-path-max.m4, getcwd.m4, mkstemp.m4, mountlist.m4:
1211         * pagealign_alloc.m4, save-cwd.m4, unistd-safer.m4:
1212         Don't check for fcntl.h, and don't test for HAVE_FCNTL_H.
1213
1214 2005-06-28  Simon Josefsson  <jas@extundo.com>
1215
1216         * check-version.m4: New file, suggested by Jim Meyering
1217         <jim@meyering.net>.
1218
1219 2005-06-24  Derek Price  <derek@ximbiot.com>
1220         and Bruno Haible  <bruno@clisp.org>
1221
1222         Remove stat module & update lstat.
1223         * lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
1224         AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1225         * stat.m4: Remove this file.
1226
1227 2005-06-20  Derek Price  <derek@ximbiot.com>
1228
1229         * bison.m4: Note that precious decls of YACC & YFLAGS will be
1230         unnecessary for Autoconfs > 2.59c.
1231
1232 2005-06-16  Derek Price  <derek@ximbiot.com>
1233
1234         * bison.m4: Declare YACC & YFLAGS precious.
1235
1236 2005-06-08  Bruno Haible  <bruno@clisp.org>
1237
1238         * csharpcomp.m4: New file, from GNU gettext.
1239
1240 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
1241
1242         Sync from coreutils.
1243         * mkdir-p.m4: Renamed from makepath.m4.
1244         (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH.  All uses changed.
1245         Rename files from makepath.c to mkdir-p.c, and from
1246         makepath.h to mkdir-p.h.
1247         * filenamecat.m4: Renamed from path-concat.m4.
1248         (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT.  All uses changed.
1249         Rename files from path-concat.c to filenamecat.c,
1250         and from path-concat.h to filenamecat.h.
1251         * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1252         "file name" in local variables or comments.
1253         * rename.m4: Likewise.
1254
1255 2005-06-01  Bruno Haible  <bruno@clisp.org>
1256
1257         * csharp.m4: New file, from GNU gettext.
1258         * csharpexec.m4: New file, from GNU gettext.
1259
1260 2005-05-31  Derek Price  <derek@ximbiot.com>
1261             Paul Eggert  <eggert@cs.ucla.edu>
1262
1263         Sync from cvs.
1264         * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
1265
1266 2005-05-29  Derek Price  <derek@ximbiot.com>
1267             Paul Eggert  <eggert@cs.ucla.edu>
1268
1269         * glob.m4: New file.
1270
1271 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
1272
1273         * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1274         and don't require gt_INTTYPES_PRI.
1275
1276 2005-05-26  Paul Eggert  <eggert@cs.ucla.edu>
1277
1278         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Define
1279         _POSIX_PTHREAD_SEMANTICS for Solaris.
1280
1281 2005-05-25  Derek Price  <derek@ximbiot.com>
1282             Paul Eggert  <eggert@cs.ucla.edu>
1283
1284         * getlogin_r.m4: New files.
1285
1286 2005-05-22  Bruno Haible  <bruno@clisp.org>
1287
1288         * minmax.m4: New file.
1289         Based on a patch by Derek Price <derek@ximbiot.com>.
1290
1291 2005-05-20  Paul Eggert  <eggert@cs.ucla.edu>
1292
1293         * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1294         (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1295
1296 2005-05-20  Eric Blake  <ebb9@byu.net>  (tiny change)
1297
1298         * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1299         of -1.
1300
1301 2005-05-18  Paul Eggert  <eggert@cs.ucla.edu>
1302
1303         * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1304         Don't check for stddef.h.
1305         * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1306         don't use its results.
1307         Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1308         since we include them unconditionally.  Don't require
1309         AM_STDBOOL_H, since stdbool is a prerequisite.
1310         Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1311         since we assume C89 or better.
1312         Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1313         as we don't use their results.
1314         Don't check for fchdir, memmove, memset, strrchr, as we use
1315         them unconditionally.
1316         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1317         GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1318
1319 2005-05-18  Jim Meyering  <jim@meyering.net>
1320
1321         * fts.m4 (AC_LIBSOURCES): Add intprops.h to the list.
1322         Reported by Yoann Vandoorselaere.
1323
1324 2005-05-17  Jim Meyering  <jim@meyering.net>
1325
1326         * fts.m4: New file, from coreutils.
1327
1328 2005-05-14  Paul Eggert  <eggert@cs.ucla.edu>
1329
1330         Sync from coreutils.
1331         * unlinkdir.m4: New file.
1332
1333 2005-05-10  Derek Price  <derek@ximbiot.com>
1334
1335         * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1336         possible.
1337
1338 2005-05-10  Simon Josefsson  <jas@extundo.com>
1339
1340         * getaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
1341         Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
1342
1343 2005-05-09  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
1344             Bruno Haible  <bruno@clisp.org>
1345
1346         * inet_ntop.m4: New file.
1347
1348 2005-05-05  Paul Eggert  <eggert@cs.ucla.edu>
1349
1350         * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1351         needless checks.
1352
1353 2005-05-01  Paul Eggert  <eggert@cs.ucla.edu>
1354
1355         * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1356         * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1357         (gl_PREREQ_CHOWN): Remove.
1358         * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1359         it.  Don't require AC_HEADER_STAT.
1360         (gl_PREREQ_LSTAT): Remove.
1361         * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1362         Don't require AC_HEADER_STAT.
1363         * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1364         (gl_PREREQ_RMDIR): Remove.
1365         * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1366         mention stat-macros.h or AC_HEADER_STAT, since we'll make
1367         the stat-macros module a prerequisite.
1368         * file-type.m4 (gl_FILE_TYPE): Likewise.
1369         * filemode.m4 (gl_FILEMODE): Likewise.
1370         * makepath.m4 (gl_MAKEPATH): Likewise.
1371         * modechange.m4 (gl_MODECHANGE): Likewise.
1372         * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1373         variable names.
1374         * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1375         fetish_FUNC_RMDIR_NOTEMPTY.  All uses changed.  Use gl_ for
1376         variable prefixes.
1377         * fcntl-safer.m4: Remove.
1378         * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1379         * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1380         Invoke gl_PREREQ_FD_SAFER.
1381         (gl_PREREQ_FD_SAFER): New macro.
1382         * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Check for siginterrupt.
1383         * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1384         Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1385         Remove duplicate call to AC_LIBOBJ(readutmp).
1386         (gl_PREREQ_READUTMP): Remove.  All uses inlined.
1387
1388         * mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check for message, not for
1389         MAP_ANON.  Problem reported by Moriyoshi Koizumi to bug-cvs.
1390
1391 2005-05-01  Oskar Liljeblad  <oskar@osk.mine.nu>
1392
1393         * byteswap.m4: New file.
1394
1395 2005-04-25  karl
1396
1397         * gettext.m4: Update from GNU gettext 0.14.4.
1398
1399 2005-04-15  Simon Josefsson  <jas@extundo.com>
1400
1401         * getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
1402
1403 2005-03-28  Eric Blake  <ebb9@byu.net>  (tiny change)
1404
1405         * getcwd-path-max.m4: Return success on systems such as Cygwin
1406         where no absolute path name can be longer than PATH_MAX.
1407
1408 2005-03-22  Jim Meyering  <jim@meyering.net>
1409
1410         * stat-macros.m4 (gl_STAT_MACROS): New file/macro.
1411
1412 2005-03-21  Jim Meyering  <jim@meyering.net>
1413         and  Paul Eggert  <eggert@cs.ucla.edu>
1414
1415         * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4,
1416         cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4,
1417         exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4,
1418         getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4,
1419         getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4,
1420         idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4,
1421         memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4,
1422         path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4,
1423         quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4,
1424         safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4,
1425         strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4,
1426         unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4,
1427         xnanosleep.m4, xstrtol.m4, yesno.m4:
1428         Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files
1429         for these modules.
1430
1431 2005-03-21  Jim Meyering  <jim@meyering.net>
1432
1433         * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Invoke gl_FUNC_MEMRCHR.
1434         * memrchr.m4 (gl_FUNC_MEMRCHR): Check for memrchr decl.
1435
1436 2005-03-16  Bruno Haible  <bruno@clisp.org>
1437
1438         * stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
1439         HAVE_LONGLONG_64BIT.
1440
1441 2005-03-14  Bruno Haible  <bruno@clisp.org>
1442
1443         * lib-link.m4, gettext.m4, nls.m4, po.m4:
1444         Update from GNU gettext 0.14.3.
1445
1446 2005-03-10  Jim Meyering  <jim@meyering.net>
1447
1448         * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1449
1450 2005-03-07  Bruno Haible  <bruno@clisp.org>
1451
1452         * mmap-anon.m4 (MAP_FILE, MAP_FAILED): Remove definitions.
1453
1454 2005-03-03  Bruno Haible  <bruno@clisp.org>
1455
1456         * inttypes.m4, isc-posix.m4, once-only.m4:
1457         Use an all-permissive copyright notice, recommended by RMS.
1458
1459 2005-03-03  Derek R. Price  <derek@ximbiot.com>
1460
1461         * mmap-anon.m4: New file.
1462         * pagealign_alloc.m4: New file.
1463
1464 2005-01-28  Bruno Haible  <bruno@clisp.org>
1465
1466         * stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because of
1467         AIX, the replacement has to be done only after <string.h> is included,
1468         therefore not in config.h. stpncpy.h does the replacement, and
1469         stpncpy.c uses it.
1470
1471 2005-03-01  Paul Eggert  <eggert@cs.ucla.edu>
1472
1473         * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1474         to detect nanosleep bug.
1475
1476 2005-02-25  Paul Eggert  <eggert@cs.ucla.edu>
1477
1478         * gethrxtime.m4, xnanosleep.m4: New files.
1479         * gettime.m4 (gl_GETTIME): Check for nanotime.
1480
1481 2005-02-24  Bruno Haible  <bruno@clisp.org>
1482
1483         * gettext.m4, intdiv0.m4, intmax.m4, inttypes-pri.m4, lcmessage.m4:
1484         * lib-link.m4, lib-prefix.m4, nls.m4, po.m4, printf-posix.m4:
1485         * progtest.m4:
1486         Update from GNU gettext 0.14.2.
1487         * glibc2.m4: New file, from GNU gettext 0.14.2.
1488
1489 2005-02-22  Simon Josefsson  <jas@extundo.com>
1490
1491         * iconvme.m4: New file.
1492
1493 2005-02-23  Jim Meyering  <jim@meyering.net>
1494
1495         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
1496         Thanks to Bruno Haible for catching it.
1497
1498 2005-02-22  Jim Meyering  <jim@meyering.net>
1499
1500         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
1501
1502 2005-02-03  Paul Eggert  <eggert@cs.ucla.edu>
1503
1504         * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
1505
1506 2005-01-28  Paul Eggert  <eggert@cs.ucla.edu>
1507
1508         Sync from coreutils.
1509         * getloadavg.m4, glibc.m4, search-libs.m4: Remove.
1510
1511         Remove files that are specific to coreutils.
1512         * check-decl.m4, jm-macros.m4, lib-check.m4, prereq.m4: Remove.
1513
1514 2005-01-28  Bruno Haible  <bruno@clisp.org>
1515
1516         * javacomp.m4: New file, from GNU gettext.
1517
1518 2005-01-26  Bruno Haible  <bruno@clisp.org>
1519
1520         * javaexec.m4: New file, from GNU gettext.
1521
1522 2005-01-24  Sergey Poznyakoff  <gray@Mirddin.farlep.net>
1523
1524         * sysexits.m4 (gl_SYSEXITS): Reverted logic. SYSEXITS_H
1525         must be defined if the header file was not found, in order
1526         to provide a replacement. Reported by Todd Vierling <tv@duh.org>
1527
1528 2005-01-23  Paul Eggert  <eggert@cs.ucla.edu>
1529
1530         * acl.m4, afs.m4, alloca.m4, argp.m4, assert.m4, atexit.m4,
1531         backupfile.m4, base64.m4, bison.m4, c-bs-a.m4, c-stack.m4,
1532         c-strtod.m4, calloc.m4, canon-host.m4, canonicalize.m4,
1533         clock_time.m4, cloexec.m4, closeout.m4, d-ino.m4, d-type.m4,
1534         dirfd.m4, dirname.m4, dos.m4, dup2.m4, error.m4, euidaccess.m4,
1535         exclude.m4, exitfail.m4, extensions.m4, fcntl-safer.m4,
1536         file-type.m4, fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4,
1537         free.m4, fstypename.m4, fsusage.m4, ftruncate.m4, getaddrinfo.m4,
1538         getcwd-path-max.m4, getcwd.m4, getdate.m4, getdomainname.m4,
1539         getgroups.m4, gethostname.m4, getline.m4, getndelim2.m4,
1540         getnline.m4, getopt.m4, getpagesize.m4, getpass.m4, getsubopt.m4,
1541         gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4,
1542         group-member.m4, hard-locale.m4, hash.m4, host-os.m4, human.m4,
1543         idcache.m4, inttostr.m4, isdir.m4, jm-winsz1.m4, jm-winsz2.m4,
1544         link-follow.m4, long-options.m4, ls-mntd-fs.m4, lstat.m4,
1545         makepath.m4, mathl.m4, md5.m4, memcasecmp.m4, memchr.m4,
1546         memcmp.m4, memcoll.m4, memcpy.m4, memmem.m4, memmove.m4,
1547         memrchr.m4, memset.m4, mkdir-slash.m4, mkstemp.m4, mktime.m4,
1548         modechange.m4, mountlist.m4, nanosleep.m4, obstack.m4,
1549         path-concat.m4, pathmax.m4, perl.m4, physmem.m4, poll.m4,
1550         posixtm.m4, posixver.m4, putenv.m4, quote.m4, quotearg.m4,
1551         readdir.m4, readtokens.m4, readutmp.m4, regex.m4, rename.m4,
1552         restrict.m4, rmdir-errno.m4, rmdir.m4, rpmatch.m4, same.m4,
1553         savedir.m4, settime.m4, sha1.m4, sig2str.m4, snprintf.m4,
1554         sockpfaf.m4, st_dm_mode.m4, st_mtim.m4, stat.m4, stdint.m4,
1555         stdio-safer.m4, strchrnul.m4, strdup.m4, strerror.m4,
1556         strerror_r.m4, strftime.m4, strndup.m4, strnlen.m4, strsep.m4,
1557         strtod.m4, strtoimax.m4, strtok_r.m4, strtol.m4, strtoll.m4,
1558         strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4, sysexits.m4,
1559         time_r.m4, timegm.m4, timespec.m4, tm_gmtoff.m4, tzset.m4,
1560         uint32_t.m4, uintptr_t.m4, unistd-safer.m4, unlink-busy.m4,
1561         unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4, utime.m4,
1562         utimecmp.m4, utimens.m4, utimes-null.m4, vsnprintf.m4, xalloc.m4,
1563         xgetcwd.m4, xreadlink.m4, xstrndup.m4, xstrtod.m4, xstrtoimax.m4,
1564         xstrtol.m4, xstrtoumax.m4, yesno.m4:
1565         Use an all-permissive copyright notice, recommended by RMS.
1566
1567 2005-01-20  Paul Eggert  <eggert@cs.ucla.edu>
1568
1569         * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
1570
1571 2005-01-18  Paul Eggert  <eggert@cs.ucla.edu>
1572
1573         Merge from coreutils.
1574         * ullong_max.m4: New file.
1575         * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
1576         (gl_MACROS): Assume localeconv exists.
1577
1578 2005-01-18  Jim Meyering  <jim@meyering.net>
1579
1580         Merge from coreutils.
1581         * chdir-long.m4, openat.m4: New files.
1582         * save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c,
1583         save-cwd.h.  Add AC_LIBOBJ for save-cwd.
1584         * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
1585         is sane and DOES follow symlinks.  Besides, testing 20 different
1586         systems found no broken chown implementations.
1587         Prompted by a change in rsync's copy of this macro.
1588         * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR_LONG.
1589
1590         * lchown.m4 (gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
1591
1592         * utimes.m4: Work around tests/touch/empty-file failure on a system
1593         (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
1594         NULL-means-set-to-current-time semantics.
1595         Remove temporary file immediately, rather than waiting
1596         for configure's at-exit trap code to do it.
1597
1598 2005-01-18  Bruno Haible  <bruno@clisp.org>
1599
1600         * allocsa.m4, codeset.m4, copy-file.m4, eaccess.m4, eealloc.m4:
1601         * eoverflow.m4, execute.m4, fatal-signal.m4, findprog.m4, glibc21.m4:
1602         * iconv.m4, intmax_t.m4, inttypes_h.m4, lib-ld.m4, lib-link.m4:
1603         * lib-prefix.m4, linebreak.m4, localcharset.m4, longdouble.m4:
1604         * longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mkdtemp.m4:
1605         * pipe.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4:
1606         * sig_atomic_t.m4, signalblocking.m4, signed.m4, size_max.m4:
1607         * ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4, stpncpy.m4:
1608         * strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, ucs4-utf.m4:
1609         * uintmax_t.m4, ulonglong.m4, unicodeio.m4, utf-ucs4.m4, vasnprintf.m4:
1610         * vasprintf.m4, wait-process.m4, wchar_t.m4, wint_t.m4, xsize.m4:
1611         Use an all-permissive copyright notice, recommended by RMS.
1612
1613 2005-01-06  Bruno Haible  <bruno@clisp.org>
1614
1615         * stpncpy.m4 (gl_FUNC_STPNCPY): Rename stpncpy to gnu_stpncpy here.
1616
1617 2005-01-04  Jim Meyering  <jim@meyering.net>
1618
1619         Changes imported from coreutils.
1620         * mkstemp.m4 (gl_FUNC_MKSTEMP): Rather than using "conftestXXXXXX"
1621         as the mkstemp template, use a temporary directory and an
1622         8.3-friendly template to avoid trouble on systems like DJGPP.
1623         Reported by Juan M. Guerrero via Stepan Kasal.
1624         * (gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of close.
1625         Remove the temporary directory right away, rather than waiting
1626         for configure's at-exit trap code to do it.
1627         Suggestion from Stepan Kasal.
1628
1629 2004-12-24  Paul Eggert  <eggert@cs.ucla.edu>
1630
1631         * c-strtod.m4 (gl_C99_STRTOLD): New macro.
1632         (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
1633
1634 2004-12-23  Paul Eggert  <eggert@cs.ucla.edu>
1635
1636         * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
1637
1638 2004-12-18  Bruno Haible  <bruno@clisp.org>
1639
1640         * fatal-signal.m4 (gl_FATAL_SIGNAL): Also test for sigaction.
1641
1642 2004-12-07  Paul Eggert  <eggert@cs.ucla.edu>
1643
1644         * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
1645         spurious "-l"s.  Problem reported by Stepan Kasal.
1646
1647 2004-12-06  Paul Eggert  <eggert@cs.ucla.edu>
1648
1649         * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
1650         in Autoconf 2.59.  Problem reported by Mark D. Baushke.
1651
1652 2004-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1653
1654         Changes imported from coreutils.
1655         * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
1656         exist.
1657         * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
1658
1659 2004-11-30  Paul Eggert  <eggert@cs.ucla.edu>
1660
1661         * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1662         Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
1663
1664         * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
1665
1666 2004-11-30  Simon Josefsson  <jas@extundo.com>
1667
1668         * base64.m4: New file.
1669
1670 2004-11-30  Simon Josefsson  <jas@extundo.com>
1671
1672         * restrict.m4: Add copyright and copying conditions.
1673
1674 2004-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1675
1676         * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
1677         GL_FUNC_GETCWD_PATH_MAX for consistency.  All uses changed.
1678         Use the _ONCE methods, for efficiency.
1679         Check for fcntl.h.  In test program, include <errno.h>
1680         and <fcntl.h> if available.  Remove old K&R cruft from
1681         test program.  Check for common errors in GNU/Linux,
1682         OpenBSD, and Solaris.  Just set gl_cv_func_getcwd_path_max;
1683         don't do AC_LIBOBJ, as that's getcwd.m4's job.
1684         * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
1685         AC_FUNC_GETCWD_NULL.  All used changed.  Change cache variable
1686         name accordingly.
1687         (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros.  Revamp to
1688         accommodate new getcwd.c.
1689         * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
1690         * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
1691         * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
1692         that's all we need now.
1693
1694 2004-11-23  Paul Eggert  <eggert@cs.ucla.edu>
1695
1696         * utimens.m4 (gl_UTIMENS): Check for futimes function.
1697
1698 2004-11-23  Sergey Poznyakoff  <gray@Mirddin.farlep.net>
1699
1700         * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
1701         argp-parse.c depends on getopt internals, that means we should
1702         always use our getopt, to be on the safe side.
1703         * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
1704         order not to spoil the result of an eventual previous invocation
1705         of gl_GETOPT_SUBSTITUTE.
1706
1707 2004-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1708
1709         * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
1710         that mishandle size_t overflow.
1711
1712 2004-11-16  Paul Eggert  <eggert@cs.ucla.edu>
1713
1714         * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
1715
1716 2004-11-13  Jim Meyering  <jim@meyering.net>
1717
1718         * jm-macros.m4: Do require gl_FUNC_FPENDING.
1719
1720 2004-11-11  Paul Eggert  <eggert@cs.ucla.edu>
1721
1722         * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead
1723         of replacing opterr, getopt, etc.  This should handle the
1724         powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson.
1725
1726 2004-11-11  Simon Josefsson  <jas@extundo.com>
1727
1728         * strtok_r.m4: New file.
1729
1730         * getopt.m4: Replace opterr.
1731
1732 2004-11-10  Paul Eggert  <eggert@cs.ucla.edu>
1733
1734         * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
1735
1736 2004-11-10  Jim Meyering  <jim@meyering.net>
1737
1738         * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING.
1739
1740 2004-11-08  Simon Josefsson  <jas@extundo.com>
1741
1742         * getaddrinfo.m4: New file.
1743
1744 2004-11-09  Paul Eggert  <eggert@cs.ucla.edu>
1745
1746         * strftime.m4 (_gl_STRFTIME_PREREQS): Remove.  Move its body to
1747         gl_FUNC_STRFTIME.
1748         (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE
1749         and AC_REQUIRE when possible, to avoid duplicate checks.
1750         Check for <wchar.h>.
1751
1752 2004-11-09  Bruno Haible  <bruno@clisp.org>
1753
1754         * sockpfaf.m4: New file.
1755
1756 2004-11-03  Albert Chin <china@thewrittenword.com>
1757             Paul Eggert  <eggert@cs.ucla.edu>
1758
1759         * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
1760         equivalent, substitute $ac_type for equivalent type rather than
1761         blindly using uint32_t *always* which won't work if uint32_t is not
1762         available.  Define _UINT32_T to work around typedef of uint32_t if
1763         <sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
1764         2.5.1.
1765
1766 2004-11-02  Paul Eggert  <eggert@cs.ucla.edu>
1767
1768         * jm-macros.m4: Sync from coreutils.
1769         (gl_MACROS): Check for mbrlen, for pathchk.
1770         (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
1771
1772 2004-11-02  Bruno Haible  <bruno@clisp.org>
1773
1774         * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv()
1775         returns void.
1776
1777 2004-11-01  Paul Eggert  <eggert@cs.ucla.edu>
1778
1779         * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
1780         fflush_unlocked, flockfile, funlockfile, funlockfile,
1781         fputs_unlocked, putc_unlocked.
1782
1783 2004-10-22  Paul Eggert  <eggert@cs.ucla.edu>
1784
1785         * getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
1786
1787 2004-10-15  Paul Eggert  <eggert@cs.ucla.edu>
1788
1789         * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
1790         implementation of getopt_long.  Problem reported by Alexander Taler in:
1791         http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
1792
1793 2004-10-11  Yoann Vandoorselaere  <yoann@prelude-ids.org>
1794
1795         * vsnprintf.m4: New file.
1796
1797 2004-10-05  Bruno Haible  <bruno@clisp.org>
1798
1799         * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check
1800         for the declaration of strsep.
1801
1802 2004-10-04  Paul Eggert  <eggert@cs.ucla.edu>
1803
1804         * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove.  All uses removed.
1805
1806         * unlocked-io.m4: Add copyright notice.
1807         (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
1808
1809 2004-10-04  Simon Josefsson  <jas@extundo.com>
1810
1811         * memmem.m4: New file.
1812
1813 2004-10-01  Yoann Vandoorselaere <yoann@prelude-ids.org>
1814
1815         * strsep.m4: New file.
1816
1817 2004-09-30  Simon Josefsson  <jas@extundo.com>
1818
1819         * snprintf.m4: New file.
1820
1821 2004-09-09  Bruno Haible  <bruno@clisp.org>
1822
1823         * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with
1824         modifications.
1825         * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
1826
1827 2004-09-08  Bruno Haible  <bruno@clisp.org>
1828
1829         * stdint.m4: New file, taken from GNU clisp with modifications.
1830
1831 2004-08-19  Paul Eggert  <eggert@cs.ucla.edu>
1832
1833         * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA.
1834
1835 2004-08-12  Paul Eggert  <eggert@cs.ucla.edu>
1836
1837         * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody
1838         uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
1839         Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
1840         Check for program_invocation_name, program_invocation_short_name,
1841         flockfile, funlockfile, features.h, _getopt_long_only_r.
1842
1843 2004-08-12  Simon Josefsson  <jas@extundo.com>
1844
1845         * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
1846         as discussed with Paul Eggert in threads rooted at
1847         <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
1848         and
1849         <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
1850         Before, the test was empty, and relied on ELIDE_CODE in source
1851         code.)
1852         (gl_PREREQ_GETOPT): New macro.
1853         (gl_GETOPT): Use them.
1854
1855 2004-08-11  Paul Eggert  <eggert@cs.ucla.edu>
1856
1857         Merge from coreutils.
1858
1859         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
1860
1861         * obstack.m4 (gl_PREREQ_OBSTACK): Require
1862         gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
1863
1864 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
1865
1866         * uint32_t.m4, uintptr_t.m4: New files.
1867         * sha1.m4: Renamed from sha.m4.
1868         (gl_SHA1): Renamed from gl_SHA.  All uses changed.
1869
1870 2004-08-08  Simon Josefsson  <jas@extundo.com>
1871
1872         * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
1873         Check getpass declaration.
1874
1875 2004-08-06  Paul Eggert  <eggert@cs.ucla.edu>
1876
1877         More merge from coreutils.
1878
1879         * utimens.m4, utimecmp.m4: New files.
1880         * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
1881         fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
1882         prereq.m4, sha.m4: Import changes from coreutils.
1883
1884 2004-08-05  Paul Eggert  <eggert@cs.ucla.edu>
1885
1886         Merge from coreutils.
1887
1888         * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
1889         New files.
1890
1891         * dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
1892         FILESYSTEM_PREFIX_LEN ->
1893         FILE_SYSTEM_PREFIX_LEN.
1894         FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX ->
1895         FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.
1896         FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR ->
1897         FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
1898
1899         * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
1900         prerequisite modules now handle the DOS stuff.
1901         Don't check for unistd.h.
1902
1903 2004-08-03  Simon Josefsson  <jas@extundo.com>
1904
1905         * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it.
1906
1907 2004-08-02  Simon Josefsson  <jas@extundo.com>
1908
1909         * getsubopt.m4: New file.
1910
1911 2004-08-03  Paul Eggert  <eggert@cs.ucla.edu>
1912
1913         * fatal.m4: Remove, as the "fatal" module wasn't used or working.
1914
1915 2004-07-13  Robert Millan  <robertmh@gnu.org>
1916
1917         * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
1918
1919 2004-06-22  Paul Eggert  <eggert@cs.ucla.edu>
1920
1921         * argz.m4: New file, which is autoupdated from libtool.
1922
1923 2004-06-01  Jim Meyering  <jim@meyering.net>
1924
1925         * calloc.m4: New file.
1926
1927 2004-06-01  Paul Eggert  <eggert@cs.ucla.edu>
1928
1929         Merge from coreutils CVS.
1930
1931         * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4,
1932         makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4,
1933         putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4,
1934         strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4,
1935         xstrtol.m4: Fix copyright date and/or serial number.
1936
1937         * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
1938         See if we need an fchown replacement.
1939         (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
1940         (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
1941         and use the replacement function if we detect either defect.
1942
1943         * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR,
1944         gl_UTIMECMP.
1945
1946 2004-05-31  Paul Eggert  <eggert@cs.ucla.edu>
1947
1948         * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI
1949         C B3910B A.05.55 [Dec 04 2003].  Problem reported by Jim Meyering.
1950         Also, fix a typo in a diagnostic.
1951
1952 2004-05-30  Paul Eggert  <eggert@cs.ucla.edu>
1953
1954         * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC
1955         or AC_FUNC_REALLOC.
1956
1957 2004-05-20  Andreas Schwab  <schwab@suse.de>
1958
1959         * free.m4: Replace free if it not known to work, not the other
1960         way round.
1961
1962 2004-05-17  Derek R. Price  <derek@ximbiot.com>
1963             Paul Eggert  <eggert@cs.ucla.edu>
1964
1965         * argp: Depend on alloca.
1966
1967 2004-05-16  Paul Eggert  <eggert@cs.ucla.edu>
1968
1969         * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
1970         for backward compatibility with older code.  We need our own
1971         alloca.h if _AIX is defined.  Define HAVE_ALLOCA if we discover
1972         it under some other name, and our alloca.h will define it.
1973
1974 2004-05-13  Paul Eggert  <eggert@cs.ucla.edu>
1975
1976         * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC.
1977         Check for gettimeofday.
1978         * settime.m4 (gl_SETTIME): Require gl_TIMESPEC.
1979         Check for settimeofday, stime.
1980
1981 2004-04-20  Paul Eggert  <eggert@twinsun.com>
1982
1983         * host-os.m4: Add a copyright notice.
1984
1985 2004-04-20  Jim Meyering  <jim@meyering.net>
1986
1987         Change UTILS_ to gl_ in AC_DEFINE'd names.
1988         Change utils_- and jm_-prefixed variables, too.
1989         * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
1990         UTILS_FUNC_MKDIR_TRAILING_SLASH.
1991         * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
1992
1993         * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
1994         Don't emit trailing blanks.
1995         Also rename jm_-prefixed variables to have gl_ prefix.
1996
1997         * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS.
1998         Also rename jm_-prefixed variables to have gl_ prefix.
1999
2000         * jm-macros.m4: Reflect the renamings.
2001         * prereq.m4: Likewise.
2002
2003 2004-04-19  Jim Meyering  <jim@meyering.net>
2004
2005         * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
2006         now that readutmp.c may call `free (0)'.
2007
2008 2004-04-19  Bruno Haible  <bruno@clisp.org>
2009
2010         * mbrtowc.m4: Change jm_ to gl_ in cache variables as well.
2011         * inttypes_h.m4: Likewise.
2012         * stdint_h.m4: Likewise.
2013         * intmax_t.m4: Likewise.
2014         * uintmax_t.m4: Likewise.
2015
2016 2004-04-18  Jim Meyering  <jim@meyering.net>
2017
2018         * prereq.m4: Don't forbid jm_ prefix.
2019
2020         * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
2021         * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4:
2022         * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4:
2023         * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4:
2024         * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4:
2025         * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4:
2026         * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
2027         * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
2028         * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4:
2029         * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4:
2030         * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4:
2031         * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4:
2032         * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4:
2033         * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4:
2034         * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
2035         Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
2036
2037 2004-04-16  Jim Meyering  <jim@meyering.net>
2038
2039         * prereq.m4 (jm_PREREQ_STAT): Remove macro.  It is specific to
2040         coreutils' stat program.
2041         (gl_PREREQ): Don't require jm_PREREQ_STAT.
2042
2043 2004-03-31  Jim Meyering  <jim@meyering.net>
2044
2045         * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
2046         Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2047         * xalloc.m4: Likewise.
2048
2049 2004-03-30  Jim Meyering  <jim@meyering.net>
2050
2051         * realloc.m4: Remove file, since now it does no more than
2052         AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
2053         the `configure.ac' section of module/realloc.
2054         * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
2055
2056 2004-03-30  Paul Eggert  <eggert@twinsun.com>
2057
2058         Merge from coreutils.
2059
2060         * inttostr.m4: New file.
2061         * getdate.m4 (gl_GETDATE): Remove time-related stuff.
2062         Require AM_STDBOOL_H and gl_TIMESPEC instead.
2063         Require gl_CLOCK_TIME.
2064         * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
2065
2066 2004-03-30  Jim Meyering  <jim@meyering.net>
2067
2068         Merge from coreutils.
2069
2070         Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
2071         * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
2072         on some systems one must include <grp.h> before it.
2073         Reported by Christian Krackowizer.
2074
2075 2004-03-29  Paul Eggert  <eggert@twinsun.com>
2076
2077         * cloexec.m4: New file.
2078
2079 2004-03-18  Paul Eggert  <eggert@twinsun.com>
2080             Bruno Haible  <bruno@clisp.org>
2081
2082         * mbswidth.m4 (gl_MBSWIDTH): Also test whether <wchar.h> declares
2083         mbswidth.
2084
2085 2004-03-07  Paul Eggert  <eggert@twinsun.com>
2086
2087         * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
2088         All uses changed.  Check for sa_sigaction member; this fixes
2089         a bug first reported by Jason Andrade in
2090         <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
2091
2092 2004-01-18  Simon Josefsson  <jas@extundo.com>
2093
2094         * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared.
2095
2096 2004-02-18  Bruno Haible  <bruno@clisp.org>
2097
2098         * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
2099         Reported by Derek Robert Price <derek@ximbiot.com>.
2100
2101 2004-02-06  Karl Berry  <karl@gnu.org>
2102
2103         * po.m4: update from gettext 0.14.1.
2104
2105 2004-02-03  Bruno Haible  <bruno@clisp.org>
2106
2107         * pipe.m4: New file, from GNU gettext.
2108
2109 2004-01-27  Bruno Haible  <bruno@clisp.org>
2110
2111         * execute.m4: New file, from GNU gettext.
2112
2113 2003-11-24  Bruno Haible  <bruno@clisp.org>
2114
2115         * allocsa.m4: New file, from GNU gettext.
2116
2117 2003-11-24  Bruno Haible  <bruno@clisp.org>
2118
2119         * eealloc.m4: New file, from GNU gettext.
2120
2121 2004-01-15  Paul Eggert  <eggert@twinsun.com>
2122
2123         Merge from coreutils.
2124
2125         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
2126         * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
2127         (gl_DEFAULT_POSIX2_VERSION): Move
2128         the documentation from 'configure' into 'config.hin',
2129         so that 'configure --help' isn't burdened by it and
2130         we don't have to worry about its formatting there.
2131         Reword the documentation so that it's more succinct
2132         and can be run together into a single paragraph.
2133         * same.m4 (gl_SAME): Check for pathconf.
2134
2135 2004-01-15  Jim Meyering  <jim@meyering.net>
2136
2137         Merge from coreutils.
2138
2139         * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2140         if no library is required.
2141         * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2142         * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2143         * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2144         (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2145         * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2146         * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2147         value, $ac_cv_search_crypt, if it's "none required".
2148         * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2149         * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2150         not gl_FUNC_GETLOADAVG.
2151         * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2152         gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2153
2154 2004-01-15  Alexandre Duret-Lutz  <adl@gnu.org>
2155
2156         Merge from coreutils.
2157
2158         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2159         value, $ac_cv_search_nanosleep, if it's "none required".
2160
2161 2003-12-03  Bruno Haible  <bruno@clisp.org>
2162
2163         * gettext.m4: Upgrade from gettext-0.13.
2164         * po.m4: Upgrade from gettext-0.13.
2165         * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
2166         * intmax.m4: New file, from gettext-0.13.
2167         * printf-posix.m4: New file, from gettext-0.13.
2168
2169 2003-11-25  Bruno Haible  <bruno@clisp.org>
2170
2171         * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require
2172         gt_TYPE_SSIZE_T.
2173
2174 2003-11-17  Bruno Haible  <bruno@clisp.org>
2175
2176         * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T.
2177
2178 2003-11-12  Paul Eggert  <eggert@twinsun.com>
2179
2180         * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or
2181         gl_PTRDIFF_MAX.
2182
2183 2003-11-11  Bruno Haible  <bruno@clisp.org>
2184
2185         * size_max.m4: New file.
2186         * ptrdiff_max.m4: New file.
2187         * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
2188         * xalloc.m4 (gl_PREREQ_XALLOC): New macro.
2189         (gl_XALLOC): Invoke it.
2190
2191 2003-11-04  Bruno Haible  <bruno@clisp.org>
2192
2193         * xsize.m4: New file.
2194
2195 2003-11-03  Bruno Haible  <bruno@clisp.org>
2196
2197         * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid.
2198
2199 2003-10-30  Paul Eggert  <eggert@cs.ucla.edu>
2200
2201         * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to
2202         netbsd*-gnu*.  Suggested by Robert Millan.
2203
2204 2003-10-29  Paul Eggert  <eggert@twinsun.com>
2205
2206         * xalloc.m4 (gl_XALLOC): Undo previous change.
2207
2208 2003-10-29  Paul Eggert  <eggert@twinsun.com>
2209
2210         * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu.  Add comments
2211         to it, and to knetbsd*-gnu and kfreebsd*-gnu.  Remove the '*' from
2212         after the 'gnu' in these cases.  This fixes some bugs in the
2213         previous change, and is based on suggestions by Robert Millan.
2214
2215 2003-10-28  Paul Eggert  <eggert@twinsun.com>
2216
2217         * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and
2218         GNU/KNetBSD.  These implementations use glibc atop the FreeBSD and
2219         NetBSD kernels.  Requested by Richard Stallman.
2220
2221 2003-10-26  Paul Eggert  <eggert@twinsun.com>
2222
2223         * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
2224         now uses inline.
2225
2226 2003-10-23  Paul Eggert  <eggert@twinsun.com>
2227
2228         * getline.m4 (AM_FUNC_GETLINE):
2229         Don't include getndelim2.o twice into LIBOBJS; this breaks on some
2230         hosts.  Problem reported by Derek Robert Price in
2231         <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
2232         This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
2233         * getndelim2.m4 (gl_GETNDELIM2): Likewise.
2234
2235 2003-10-20  Bruno Haible  <bruno@clisp.org>
2236
2237         * wait-process.m4: New file.
2238
2239 2003-10-14  Bruno Haible  <bruno@clisp.org>
2240
2241         * sig_atomic_t: New file, from GNU gettext.
2242         * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T.
2243
2244 2003-10-12  Paul Eggert  <eggert@twinsun.com>
2245
2246         * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE.
2247
2248 2003-10-10  Simon Josefsson  <jas@extundo.com>
2249
2250         * argp.m4: Add AC_C_INLINE.
2251
2252 2003-10-08  Paul Eggert  <eggert@twinsun.com>
2253
2254         * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2255
2256 2003-10-06  Bruno Haible  <bruno@clisp.org>
2257
2258         * fatal-signal.m4: New file.
2259         * signalblocking.m4: New file, from GNU gettext.
2260
2261 2003-09-27  Paul Eggert  <eggert@twinsun.com>
2262
2263         * free.m4: New file.
2264
2265 2003-09-26  Bruno Haible  <bruno@clisp.org>
2266
2267         * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
2268         Don't define stpncpy through config.h; it's now done through stpncpy.h.
2269
2270 2003-09-25  Simon Josefsson  <jas@extundo.com>
2271             Bruno Haible  <bruno@clisp.org>
2272
2273         * getdomainname.m4: New file.
2274
2275 2003-09-17  Paul Eggert  <eggert@twinsun.com>
2276
2277         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2278         to avoid spurious warnings like "AC_RUN_IFELSE was called before
2279         gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2280
2281 2003-09-12  Paul Eggert  <eggert@twinsun.com>
2282
2283         * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it.
2284
2285         * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2286         and AC_MINIX, too, so that their extensions are available.
2287
2288         * prereq.m4 (jm_PREREQ_ADDEXT): Remove.  All uses removed.
2289         This macro has been superseded by gl_BACKUPFILE.
2290
2291         More patches to assume C89 or better.
2292
2293         * error.m4 (gl_ERROR): Don't check for vprintf.
2294
2295         * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2296         unconditionally.
2297         * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2298         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2299         Include <string.h>, <stdlib.h> unconditionally.
2300         * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2301         * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2302         * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2303         or for string.h.
2304         * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h
2305         or strtoul.
2306
2307         * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2308         * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2309         * userspec.m4 (gl_USERSPEC): Likewise.
2310         * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2311         * xstrtod.m4 (gl_XSTRTOD): Likewise.
2312         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2313         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2314         memcpy, memset.
2315         (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2316         * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2317         * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2318         * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2319         * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2320         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2321         strtoul.
2322
2323 2003-09-11  Paul Eggert  <eggert@twinsun.com>
2324
2325         More patches to assume C89 or better.
2326         * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2327         * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2328         string.h, memchr, STDC_HEADERS.
2329
2330 2003-09-10  Bruno Haible  <bruno@clisp.org>
2331
2332         * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2333         * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2334         * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2335         * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2336         * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove
2337         <stdlib.h> and <string.h> checks.
2338         * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2339         * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2340
2341 2003-09-09  Paul Eggert  <eggert@twinsun.com>
2342
2343         More patches to assume C89 or better.
2344         * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2345         * getopt.m4 (gl_GETOPT): Don't check for string.h.
2346         * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
2347         or for string.h.
2348         * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2349         * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2350         headers.
2351         * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2352         string.h.
2353         * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2354         * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2355         * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
2356         or for string.h.
2357         * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
2358         * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
2359         C headers.
2360         * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
2361         memcpy.
2362         * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2363         * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2364         * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2365         * memcoll.m4 (gl_MEMCOLL): Likewise.
2366         * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2367         * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2368         string.h, free.
2369         * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2370         * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2371         * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2372         C headers, or for string.h.
2373         * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2374         (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2375         * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2376         headers, memory.h, stdlib.h, string.h, strings.h.
2377         * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2378         * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2379         * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2380         strchr.
2381         * readtokens.m4 (gl_READTOKENS): Don't check for standard C
2382         headers, memory.h, string.h.
2383         * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2384         * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2385         free.
2386         * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2387         * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
2388         * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2389         * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2390         * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
2391         * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2392
2393 2003-09-09  Derek Robert Price  <derek@ximbiot.com>
2394
2395         * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2396         C89 spec.
2397
2398 2003-09-08  Paul Eggert  <eggert@twinsun.com>
2399
2400         Assume C89 or better; remove K&R cruft.
2401         * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2402         * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2403         string.h, getenv, malloc.
2404         * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2405         headers.
2406         * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2407         * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2408         do not check for strerror.
2409         * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2410         * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2411         * fatal.m4 (gl_FATAL): Do not require STDC headers, and
2412         do not check for doprnt or vprintf.
2413         * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove.  All uses removed.
2414         * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2415
2416 2003-09-06  Paul Eggert  <eggert@twinsun.com>
2417
2418         * time_r.m4: New file.
2419         * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
2420         * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
2421         Check for timegm declaration.
2422         (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
2423         Do not check for gmtime_r.
2424         Replace mktime if __mktime_internal does not exist and if mktime
2425         hasn't been replaced already.
2426
2427 2003-08-31  Simon Josefsson  <jas@extundo.com>
2428
2429         * timegm.m4: New file.
2430
2431 2003-08-26  Bruno Haible  <bruno@clisp.org>
2432
2433         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2434         This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2435         followed by '#define fnmatch fnmatch_posix' gives an error.
2436
2437 2003-08-27  Jim Meyering  <jim@meyering.net>
2438
2439         * mkstemp.m4: Require that the system mkstemp be able to create
2440         70 temporary files, not just 30.  Tru64 V4.0F's mkstemp function
2441         would fail after 32.  Reported by Danny Levinson.  Details here:
2442         http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2443
2444 2003-08-20  Karl Berry  <karl@gnu.org>
2445
2446         * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
2447
2448 2003-08-19  Jim Meyering  <jim@meyering.net>
2449
2450         * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2451         http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2452
2453 2003-08-19  Bruno Haible  <bruno@clisp.org>
2454
2455         * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
2456
2457 2003-08-18  Jim Meyering  <jim@meyering.net>
2458
2459         * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2460         * lib-ld.m4: Likewise.
2461
2462 2003-08-17  Simon Josefsson  <jas@extundo.com>
2463
2464         * argp.m4: New file.
2465
2466 2003-08-17  Simon Josefsson  <jas@extundo.com>
2467
2468         * xstrndup.m4: New file.
2469
2470 2003-08-16  Jim Meyering  <jim@meyering.net>
2471
2472         * utimes.m4 (gl_FUNC_UTIMES): New file.
2473         * utimes.m4: Removed.
2474         * utimes-null.m4: Renamed from utimes.m4.
2475
2476         * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2477         to 1MB, so as not to render systems with no stack size limit (e.g.,
2478         linux-2.2.x) unusable.  Suggestion and code from Bruno Haible.
2479         Include <unistd.h>.  On some systems,
2480         it is required for the definition of _SC_PAGESIZE.
2481
2482 2003-08-16  Paul Eggert  <eggert@twinsun.com>
2483
2484         Merges from coreutils, etc.
2485         * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
2486         error in gl_FUNC_MATCH.  This fixes a bug I introduced on 2003-05-28.
2487         * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
2488         fixing a typo.
2489         * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
2490         * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
2491
2492 2003-08-16  Jim Meyering  <jim@meyering.net>
2493         and Paul Eggert  <eggert@cs.ucla.edu>
2494
2495         Merges from coreutils, etc.
2496
2497         * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
2498         using the latest version from cvs.  This avoids problems with #line
2499         directives using a vendor (Sun) compiler.
2500         (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
2501         Don't set GETGROUPS_LIB here; now it's
2502         done via getgroups.m4's wrapper function.
2503         AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
2504         rather than just in sh-util/configure.in, so that the
2505         now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
2506         same.
2507         Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
2508         AC_FUNC_GETLOADAVG where to find getloadavg.c.
2509         Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
2510         UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
2511         gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
2512         Remove code that is now done by the newly-required macros.
2513         Append $(EXEEXT) to DF_PROG.
2514         AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
2515         Do not invoke or require the following here,
2516         since prereq.m4 or some gnulib .m4 now does this for us:
2517         gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
2518         jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
2519         jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
2520         jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
2521         jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
2522         AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
2523         vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
2524         AC_FUNC_OBSTACK.
2525         Do not replace the following functions, as this is now the job
2526         of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
2527         getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
2528         strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
2529         atexit getpass, strdup, getpagesize.
2530         Replace 'raise'.
2531         Do not check for the following functions, as this is now the job
2532         of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
2533         getcwd, getmntinfo, resolvepath.  But check for sysctl, setreuid,
2534         setregid.
2535         (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
2536         Check for sys/sysctl.h.
2537         (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
2538         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Invoke gt_TYPE_SSIZE_T instead
2539         of checking for ssize_t ourselves.
2540
2541         * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
2542         Require every macro that gnulib/modules/* suggests for us.
2543         (jm_PREREQ_ADDEXT): New macro.
2544         (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
2545         Require jm_AC_TYPE_LONG_LONG instead of invoking it.
2546
2547         * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
2548         (gl_PHYSMEM): Use it.
2549         Also check for `table' function.
2550         Check for new headers and functions.
2551         Add check for sys/sysmp.h.
2552         With suggestions from Kaveh Ghazi.
2553         Ignore headers that are present but cannot be compiled.  This
2554         avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
2555         C 5.4.
2556
2557 2003-08-16  Jim Meyering  <jim@meyering.net>
2558
2559         Merges from coreutils.
2560         * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
2561         prefix.  Adjust cache variables similarly.  Create 500 rather than
2562         just 300 files, to exercise bug on Darwin6.5, too.
2563         * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
2564         * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
2565         Reported by mkc@mathdogs.com.
2566         Also change use of $am_cv_sys_posix_termios
2567         to $ac_cv_sys_posix_termios.  Reported by Andreas Schwab.
2568         * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
2569         and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
2570         * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
2571         /proc/mounts until it finds one with matching device number.  This is
2572         unnecessary when the FILE argument *is* a mount point.  No stat call
2573         is necessary in that case.  So, disable the statvfs-testing code on
2574         systems with GNU libc.  Reported by Andrei Gaponenko via Tim Waugh
2575         as RedHat bug# 84846.
2576         * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2577         to 1MB, so as not to render systems with no stack size limit (e.g.,
2578         linux-2.2.x) unusable.  Suggestion and code from Bruno Haible.
2579         Include <unistd.h>.  On some systems,
2580         it is required for the definition of _SC_PAGESIZE.
2581
2582 2003-08-15  Jim Meyering  <jim@meyering.net>
2583         and Paul Eggert  <eggert@cs.ucla.edu>
2584
2585         Merges from coreutils, etc.
2586         * strftime.m4 (_jm_STRFTIME_PREREQS):
2587         Require gl_FUNC_TZSET_CLOBBER.
2588         * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
2589         ut_exit.ut_termination, and ut_exit.e_termination members.
2590
2591 2003-08-14  Paul Eggert  <eggert@twinsun.com>
2592
2593         Help the merge from coreutils.
2594         * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
2595         (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
2596         * tzset.m4: Use it too.
2597
2598 2003-08-14  Jim Meyering  <jim@meyering.net>
2599
2600         Merge from coreutils.
2601         * tzset.m4: New file.
2602         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
2603         test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
2604         systems would end up using the latter.  MOUNTED_GETMNTENT1 support
2605         is inadequate on such systems: 1) detecting whether a file system
2606         is remote doesn't work  2) the MOUNTED_VMOUNT code reports the
2607         HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
2608         merely /MOUNT_POINT.  Reported by Mike Jetzer.
2609
2610 2003-08-13  Paul Eggert  <eggert@twinsun.com>
2611
2612         * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
2613         Check for isascii.
2614
2615         * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2616         lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2617         Undo previous (whitespace-only) change.
2618
2619 2003-08-12  Paul Eggert  <eggert@twinsun.com>
2620
2621         * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2622         lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2623         Normalize leading white space and remove trailing white space.
2624
2625         Merge from coreutils
2626         * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
2627
2628         * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
2629         0.12.1.  These files are now being upgraded automatically by
2630         ../config/srclist-update.
2631
2632 2003-08-11  Bruno Haible  <bruno@clisp.org>
2633
2634         * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
2635
2636 2003-08-09  Paul Eggert  <eggert@twinsun.com>
2637
2638         * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
2639         apparently Emacs's Unicode mode got confused before my 2003-08-05
2640         checkin.
2641
2642 2003-08-08  Paul Eggert  <eggert@twinsun.com>
2643
2644         * extensions.m4: New file.
2645         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
2646         Require gl_USE_SYSTEM_EXTENSIONS.
2647         * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
2648         Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
2649
2650 2003-08-07  Paul Eggert  <eggert@twinsun.com>
2651
2652         * restrict.m4: New file.
2653         * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
2654
2655 2003-08-07  Bruno Haible  <bruno@clisp.org>
2656
2657         * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
2658         the module 'getndelim2' compatible with the module 'getline'.
2659
2660 2003-08-05  Paul Eggert  <eggert@twinsun.com>
2661
2662         * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
2663         byte with "\201" to avoid glitches when editing that source file
2664         with multi-gnome-terminal.
2665
2666 2003-07-31  Bruno Haible  <bruno@clisp.org>
2667
2668         * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
2669
2670 2003-07-18  Bruno Haible  <bruno@clisp.org>
2671
2672         * getndelim2.m4: New file.
2673         * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
2674         invoke gl_PREREQ_GETNDELIM2.
2675         (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
2676         gl_PREREQ_GETNDELIM2.
2677         * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
2678         gl_GETNDELIM2.
2679
2680 2003-07-17  Bruno Haible  <bruno@clisp.org>
2681
2682         * Makefile.am.in: Remove file.
2683         * Makefile.am: Remove file.
2684         * Makefile.in: Remove file.
2685
2686 2003-07-17  Bruno Haible  <bruno@clisp.org>
2687
2688         * getnline.m4: New file.
2689
2690 2003-07-14  Simon Josefsson  <jas@extundo.com>
2691
2692         * mempcpy.m4: New file.
2693
2694 2003-07-10  Jim Meyering  <jim@meyering.net>
2695
2696         * clock_time.m4: Remove trailing blank.
2697         * intmax_t.m4: Likewise.
2698
2699 2003-07-01  Paul Eggert  <eggert@twinsun.com>
2700
2701         * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
2702         xreadlink.c now includes it unconditionally.
2703
2704 2003-07-01  Bruno Haible  <bruno@clisp.org>
2705
2706         * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
2707         should be sufficient.
2708         Reported by Paul Eggert.
2709
2710 2003-06-25  Bruno Haible  <bruno@clisp.org>
2711
2712         * readlink.m4: New file.
2713
2714 2003-06-22  Bruno Haible  <bruno@clisp.org>
2715
2716         Portability to mingw32.
2717         * ssize_t.m4: New file, from GNU gettext.
2718         * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
2719         * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
2720
2721 2003-06-11  Bruno Haible  <bruno@clisp.org>
2722
2723         * sysexits.m4: New file.
2724
2725 2003-06-10  Simon Josefsson  <jas@extundo.com>
2726
2727         * strchrnul.m4: New file.
2728
2729 2003-06-07  Bruno Haible  <bruno@clisp.org>
2730
2731         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
2732         gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
2733         AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2734         directory.
2735         * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
2736         AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2737         directory.
2738
2739 2003-06-04  Paul Eggert  <eggert@twinsun.com>
2740
2741         * human.m4 (gl_HUMAN): Require AM_STDBOOL_H.  Check for
2742         locale.h, localeconv.  This merges changes from coreutils.
2743
2744         * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
2745         It can be removed after the next Autoconf is released.
2746         * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
2747         needed.
2748
2749 2003-05-30  Bruno Haible  <bruno@clisp.org>
2750
2751         * gettext.m4: Upgrade to gettext-0.12.1.
2752         * nls.m4: New file, from gettext-0.12.1.
2753         * po.m4: New file, from gettext-0.12.1.
2754         * progtest.m4: Upgrade to gettext-0.12.1.
2755
2756 2003-05-28  Paul Eggert  <eggert@twinsun.com>
2757
2758         Assume the headers required for C89 freestanding compilers.
2759         * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
2760         * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
2761         * human.m4 (gl_HUMAN): Likewise.
2762         * pathmax.m4 (gl_PATHMAX): Likewise.
2763         * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
2764         * userspec.m4 (gl_USERSPEC): Likewise.
2765         * xreadlink.m4 (gl_XREADLINK): Likewise.
2766         * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2767         * quote.m4 (gl_QUOTE): Don't check for stddef.h.
2768
2769 2003-05-26  Jim Meyering  <jim@meyering.net>
2770
2771         Merge in a change from coreutils:
2772         * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
2773         that is guaranteed to be `no'.  Use `no_such_member' to indicate
2774         that condition, rather than `-1' which is slightly misleading.
2775         Change the name of the cache variable to have the gl_ prefix.
2776         Prompted by a patch from Richard Dawe for DJGPP.
2777
2778 2003-05-17  Bruno Haible  <bruno@clisp.org>
2779
2780         * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
2781         expansion for AC_EGREP_CPP.
2782         * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
2783         * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
2784         Suggested by Akim Demaille <akim@epita.fr> in
2785         http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
2786
2787 2003-04-21  Paul Eggert  <eggert@twinsun.com>
2788
2789         * error.m4 (gl_ERROR): Do not put under dynamic conditions some
2790         code which expansion is under static control.  Patch imported from
2791         Akim Demaille's patch to Bison; see
2792         <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
2793
2794 2003-04-14  Bruno Haible  <bruno@clisp.org>
2795
2796         * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
2797
2798 2003-04-10  Bruno Haible  <bruno@clisp.org>
2799
2800         * findprog.m4: New file.
2801         * eaccess.m4: New file.
2802
2803 2003-04-04  Bruno Haible  <bruno@clisp.org>
2804
2805         * linebreak.m4: New file.
2806
2807 2003-04-03  Bruno Haible  <bruno@clisp.org>
2808
2809         * utf-ucs4.m4: New file.
2810         * ucs4-utf.m4: New file.
2811
2812 2003-03-30  Bruno Haible  <bruno@clisp.org>
2813
2814         * copy-file.m4 (gl_COPY_FILE): Add check for chown().
2815
2816 2003-03-28  Bruno Haible  <bruno@clisp.org>
2817
2818         * copy-file.m4: New file.
2819
2820 2003-03-18  Bruno Haible  <bruno@clisp.org>
2821
2822         * onceonly.m4: Use m4_defn instead of defn, for better error checking.
2823         * onceonly_2_57.m4: Likewise.
2824
2825 2003-03-17  Bruno Haible  <bruno@clisp.org>
2826
2827         * onceonly.m4: Require autoconf 2.54 or newer.
2828         (m4_quote): Remove macro.
2829         * onceonly_2_57.m4: Require autoconf 2.54 or newer.
2830
2831 2003-03-14  Bruno Haible  <bruno@clisp.org>
2832
2833         * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
2834         AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
2835
2836 2003-03-13  Paul Eggert  <eggert@twinsun.com>
2837
2838         * onceonly.m4 (m4_quote): New macro.
2839         (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
2840         Quote AC_FOREACH variable-expansions properly.
2841
2842 2003-02-19  Paolo Bonzini  <bonzini@gnu.org>
2843
2844         * poll.m4: New file.
2845
2846 2003-02-18  Paolo Bonzini  <bonzini@gnu.org>
2847
2848         * mathl.m4: New file.
2849
2850 2003-02-17  Bruno Haible  <bruno@clisp.org>
2851
2852         * mkdtemp.m4: New file, from GNU gettext with modifications.
2853
2854 2003-02-02  Jim Meyering  <jim@meyering.net>
2855
2856         * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
2857         e.g. glibc-2.2.93.
2858
2859 2003-01-31  Bruno Haible  <bruno@clisp.org>
2860
2861         * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
2862         'rpl_rename'.
2863         * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
2864         'rpl_strnlen'.
2865         * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
2866         'rpl_strtod'.
2867         * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
2868         'rpl_utime'.
2869
2870 2003-01-30  Bruno Haible  <bruno@clisp.org>
2871
2872         * signed.m4: New file, from GNU gettext.
2873         * longdouble.m4: New file, from GNU gettext.
2874         * wchar_t.m4: New file, from GNU gettext.
2875         * wint_t.m4: New file, from GNU gettext.
2876         * vasnprintf.m4: New file.
2877         * vasprintf.m4: New file.
2878
2879 2003-01-29  Bruno Haible  <bruno@clisp.org>
2880
2881         * stpncpy.m4: New file.
2882
2883 2003-01-23  Jim Meyering  <jim@meyering.net>
2884
2885         * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
2886         from working on systems without dirfd (at least Irix and OSF1/Tru64).
2887
2888 2003-01-16  Jim Meyering  <jim@meyering.net>
2889
2890         * regex.m4: The `regex' struct is both input and output.
2891         Initialize it before each use.  Patch by Tim Waugh.
2892
2893 2003-01-11  Bruno Haible  <bruno@clisp.org>
2894
2895         * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
2896         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
2897         suffix.
2898
2899 2003-01-11  Bruno Haible  <bruno@clisp.org>
2900
2901         * md5.m4 (gl_MD5): Require AC_C_INLINE.
2902
2903 2003-01-11  Bruno Haible  <bruno@clisp.org>
2904
2905         * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
2906
2907 2003-01-12  Paul Eggert  <eggert@twinsun.com>
2908
2909         Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
2910         to avoid collisions with libcurses and libreadline.
2911
2912         * getstr.m4: Remove.
2913         * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
2914
2915 2003-01-10  Bruno Haible  <bruno@clisp.org>
2916
2917         * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
2918
2919 2003-01-09  Bruno Haible  <bruno@clisp.org>
2920
2921         * stdbool.m4 (AM_STDBOOL_H): New macro.
2922
2923 2002-12-31  Paul Eggert  <eggert@twinsun.com>
2924
2925         * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
2926
2927 2002-12-24  Bruno Haible  <bruno@clisp.org>
2928
2929         General infrasructure.
2930         * README: Rewritten.
2931         * onceonly.m4: New file.
2932         * onceonly_2_57.m4: New file.
2933
2934         Module atexit.
2935         * atexit.m4: New file.
2936
2937         Module strtod.
2938         * strtod.m4: New file.
2939
2940         Module strtol.
2941         * strtol.m4: New file.
2942
2943         Module strtoul.
2944         * strtoul.m4: New file.
2945
2946         Module memchr.
2947         * memchr.m4: New file.
2948
2949         Module memcmp.
2950         * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
2951         (jm_FUNC_MEMCMP): Invoke it.
2952
2953         Module memcpy.
2954         * memcpy.m4: New file.
2955
2956         Module memmove.
2957         * memmove.m4: New file.
2958
2959         Module memset.
2960         * memset.m4: New file.
2961
2962         Module strcspn.
2963         * strcspn.m4: New file.
2964
2965         Module strpbrk.
2966         * strpbrk.m4: New file.
2967
2968         Module strstr.
2969         * strstr.m4: New file.
2970
2971         Module strerror.
2972         * strerror.m4: New file.
2973
2974         Module mktime.
2975         * mktime.m4: Renamed from jm-mktime.m4.
2976         (gl_PREREQ_MKTIME): New macro.
2977         (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
2978
2979         Module malloc.
2980         * malloc.m4 (gl_PREREQ_MALLOC): New macro.
2981         (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
2982         Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
2983
2984         Module realloc.
2985         * realloc.m4 (gl_PREREQ_REALLOC): New macro.
2986         (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
2987         Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
2988
2989         Module strftime.
2990         * tm_gmtoff.m4: New file, extracted from strftime.m4.
2991         * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
2992         Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
2993         gl_TM_GMTOFF.
2994         (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
2995
2996         Module xalloc.
2997         * xalloc.m4: New file.
2998
2999         Module alloca.
3000         * alloca.m4: New file.
3001
3002         Module putenv.
3003         * putenv.m4 (gl_PREREQ_PUTENV): New macro.
3004         (jm_FUNC_PUTENV): Invoke it.
3005
3006         Module setenv.
3007         * setenv.m4 (gt_FUNC_SETENV): New macro.
3008         (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
3009         when invoked twice.
3010         (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
3011         gt_FUNC_SETENV.
3012
3013         Module memrchr.
3014         * memrchr.m4: New file.
3015
3016         Module stpcpy.
3017         * stpcpy.m4: New file.
3018
3019         Module strcase.
3020         * strcase.m4: New file.
3021
3022         Module strdup.
3023         * strdup.m4: New file.
3024
3025         Module strnlen.
3026         * strnlen.m4: New file.
3027
3028         Module strndup.
3029         * strndup.m4: New file.
3030
3031         Module xstrtod.
3032         * xstrtod.m4: New file.
3033
3034         Module xstrtol.
3035         * xstrtol.m4: New file.
3036
3037         Module getdate.
3038         * getdate.m4: New file.
3039
3040         Module unlocked-io.
3041         * unlocked-io.m4: Renamed from jm-glibc-io.m4.
3042         (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
3043         * jm-glibc-io.m4n: Remove file.
3044
3045         Module long-options.
3046         * long-options.m4: New file.
3047
3048         Module md5.
3049         * md5.m4: New file.
3050
3051         Module sha.
3052         * sha.m4: New file.
3053
3054         Module getstr.
3055         * getstr.m4: New file.
3056
3057         Module getline.
3058         * getline.m4 (gl_PREREQ_GETLINE): New macro.
3059         (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
3060         <sys/types.h>, for size_t. Use the function name gnu_getline, not
3061         simply getline. Infoke gl_PREREQ_GETLINE.
3062
3063         Module obstack.
3064         * obstack.m4: New file.
3065
3066         Module hash.
3067         * hash.m4: New file.
3068
3069         Module readtokens.
3070         * readtokens.m4: New file.
3071
3072         Module strverscmp.
3073         * strverscmp.m4: New file.
3074
3075         Module stdbool.
3076         * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
3077
3078         Module strtoll.
3079         * strtoll.m4: New file.
3080
3081         Module strtoull.
3082         * strtoull.m4: New file.
3083
3084         Module strtoimax.
3085         * strtoimax.m4: New file.
3086
3087         Module strtoumax.
3088         * strtoumax.m4: New file.
3089
3090         Module xstrtoimax.
3091         * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
3092         Moved the strtol prerequisites to strtol.m4.
3093         Moved the strtoll prerequisites to strtoll.m4.
3094         Moved the strtoimax prerequisites to strtoimax.m4.
3095
3096         Module xstrtoumax.
3097         * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
3098         Moved the strtoul prerequisites to strtoul.m4.
3099         Moved the strtoull prerequisites to strtoull.m4.
3100         Moved the strtoumax prerequisites to strtoumax.m4.
3101
3102         Module chown.
3103         * chown.m4 (gl_PREREQ_CHOWN): New macro.
3104         (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
3105
3106         Module dup2.
3107         * dup2.m4: New file.
3108
3109         Module ftruncate.
3110         * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
3111         (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
3112
3113         Module getgroups.
3114         * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
3115         (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
3116
3117         Module gettimeofday.
3118         * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
3119         (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
3120         gl_PREREQ_GETTIMEOFDAY.
3121
3122         Module mkdir.
3123         * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
3124         (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
3125
3126         Module mkstemp.
3127         * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
3128         (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
3129         jm_AC_TYPE_UINTMAX_T.
3130         (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
3131
3132         Module stat.
3133         * stat.m4 (gl_PREREQ_STAT): New macro.
3134         (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
3135
3136         Module lstat.
3137         * lstat.m4 (gl_PREREQ_LSTAT): New macro.
3138         (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
3139
3140         Module timespec.
3141         * timespec.m4 (gl_TIMESPEC): New macro.
3142         (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
3143         * st_mtim.m4: Indentation.
3144
3145         Module nanosleep.
3146         * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
3147         (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
3148         gl_PREREQ_NANOSLEEP.
3149
3150         Module regex.
3151         * regex.m4 (jm_PREREQ_REGEX): New macro.
3152         (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
3153         (gl_REGEX): New macro.
3154
3155         Module rename.
3156         * rename.m4 (gl_PREREQ_RENAME): New macro.
3157         (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
3158
3159         Module rmdir.
3160         * rmdir.m4: New file.
3161
3162         Module utime.
3163         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
3164         * utime.m4 (gl_PREREQ_UTIME): New macro.
3165         (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
3166
3167         Module dirname.
3168         * dirname.m4: New file.
3169
3170         Module getopt.
3171         * getopt.m4: New file.
3172
3173         Module unistd-safer.
3174         * unistd-safer.m4: New file.
3175
3176         Module fnmatch.
3177         * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
3178         declaration.
3179         (gl_PREREQ_FNMATCH_EXTRA): New macro.
3180         (gl_FUNC_FNMATCH_POSIX): New macro.
3181         (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
3182         gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
3183         simply fnmatch.
3184
3185         Module exclude.
3186         * exclude.m4: New file.
3187
3188         Module human.
3189         * human.m4: New file.
3190
3191         Module acl.
3192         * acl.m4: Nop.
3193
3194         Module backupfile.
3195         * backupfile.m4: New file.
3196         * d-ino.m4: Indentation.
3197
3198         Module fsusage.
3199         * fsusage.m4 (gl_FSUSAGE): New macro.
3200         (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
3201         (gl_PREREQ_FSUSAGE_EXTRA): New macro.
3202
3203         Module dirfd.
3204         * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
3205
3206         Module euidaccess.
3207         * euidaccess.m4: New file.
3208
3209         Module file-type.
3210         * file-type.m4: New file.
3211
3212         Module fileblocks.
3213         * fileblocks.m4: New file.
3214
3215         Module filemode.
3216         * filemode.m4: New file.
3217
3218         Module isdir.
3219         * isdir.m4: New file.
3220
3221         Module lchown.
3222         * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
3223         (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
3224
3225         Module makepath.
3226         * makepath.m4: New file.
3227
3228         Module modechange.
3229         * modechange.m4: New file.
3230
3231         Module mountlist.
3232         * mountlist.m4: New file.
3233         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
3234         Indentation.
3235
3236         Module path-concat.
3237         * path-concat.m4: New file.
3238
3239         Module pathmax.
3240         * pathmax.m4: New file.
3241
3242         Module same.
3243         * same.m4: New file.
3244
3245         Module save-cwd.
3246         * save-cwd.m4: New file.
3247
3248         Module savedir.
3249         * savedir.m4: New file.
3250
3251         Module xgetcwd.
3252         * xgetcwd.m4: New file.
3253         * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
3254
3255         Module xreadlink.
3256         * xreadlink.m4: New file.
3257
3258         Module safe-read.
3259         * safe-read.m4: New file.
3260
3261         Module safe-write.
3262         * safe-write.m4: New file.
3263
3264         Module closeout.
3265         * closeout.m4: New file.
3266
3267         Module stdio-safer.
3268         * stdio-safer.m4: New file.
3269
3270         Module getpass.
3271         * getpass.m4: New file.
3272
3273         Module getugroups.
3274         * getugroups.m4: New file.
3275
3276         Module group-member.
3277         * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
3278         (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
3279
3280         Module idcache.
3281         * idcache.m4: New file.
3282
3283         Module userspec.
3284         * userspec.m4: New file.
3285
3286         Module gettime.
3287         * clock_time.m4: New file.
3288         * gettime.m4: New file.
3289
3290         Module settime.
3291         * settime.m4: New file.
3292
3293         Module posixtm.
3294         * posixtm.m4: New file.
3295
3296         Module gethostname.
3297         * gethostname.m4: New file.
3298
3299         Module canon-host.
3300         * canon-host.m4: New file.
3301
3302         Module gettext.
3303         * codeset.m4: New file, from gettext-0.11.5.
3304         * gettext.m4: New file, from gettext-0.11.5.
3305         * glibc21.m4: New file, from gettext-0.11.5.
3306         * iconv.m4: New file, from gettext-0.11.5.
3307         * intdiv0.m4: New file, from gettext-0.11.5.
3308         * inttypes-pri.m4: New file, from gettext-0.11.5.
3309         * inttypes.m4: New file, from gettext-0.11.5.
3310         * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
3311         * isc-posix.m4: New file, from gettext-0.11.5.
3312         * lcmessage.m4: New file, from gettext-0.11.5.
3313         * lib-ld.m4: New file, from gettext-0.11.5.
3314         * lib-link.m4: New file, from gettext-0.11.5.
3315         * lib-prefix.m4: New file, from gettext-0.11.5.
3316         * progtest.m4: New file, from gettext-0.11.5.
3317         * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
3318         * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
3319         * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
3320
3321         Module localcharset.
3322         * localcharset.m4: New file.
3323
3324         Module hard-locale.
3325         * hard-locale.m4: New file.
3326
3327         Module mbswidth.
3328         * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
3329         onceonly macros.
3330         * mbrtowc.m4: Add comment.
3331
3332         Module memcasecmp.
3333         * memcasecmp.m4: New file.
3334
3335         Module memcoll.
3336         * memcoll.m4: New file.
3337
3338         Module unicodeio.
3339         * unicodeio.m4: New file.
3340
3341         Module rpmatch.
3342         * rpmatch.m4: New file.
3343
3344         Module yesno.
3345         * yesno.m4: New file.
3346
3347         Module exitfail.
3348         * exitfail.m4: New file.
3349
3350         Module c-stack.
3351         * c-stack.m4 (gl_C_STACK): New macro.
3352         (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
3353
3354         Module error.
3355         * error.m4 (gl_ERROR): New macro.
3356         (jm_PREREQ_ERROR): Use onceonly macros.
3357
3358         Module fatal.
3359         * fatal.m4: New file.
3360
3361         Module getloadavg.
3362         * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
3363         (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
3364
3365         Module getpagesize.
3366         * getpagesize.m4: New file.
3367
3368         Module getusershell.
3369         * getusershell.m4: New file.
3370
3371         Module physmem.
3372         * physmem.m4: New file.
3373
3374         Module posixver.
3375         * posixver.m4: New file.
3376
3377         Module quotearg.
3378         * quotearg.m4: New file.
3379
3380         Module quote.
3381         * quote.m4: New file.
3382
3383         Module readutmp.
3384         * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
3385
3386         Module sig2str.
3387         * sig2str.m4: New file.
3388
3389         Other.
3390         * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
3391         ulonglong.m4.
3392         * intmax_t.m4: New file.
3393         * d-type.m4: Indentation.
3394         * jm-macros.m4: Update.
3395         * prereq.m4 (jm_PREREQ): Update.
3396         (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
3397         (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
3398         (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
3399         (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
3400         (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
3401         (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
3402         (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
3403         (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
3404         (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
3405         (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
3406         (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
3407         (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
3408         (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
3409         (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
3410         (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
3411         (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
3412         (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
3413         (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
3414         * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
3415
3416 2002-12-18  Bruno Haible  <bruno@clisp.org>
3417
3418         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
3419         * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
3420
3421 2002-12-17  Bruno Haible  <bruno@clisp.org>
3422
3423         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
3424         stdlib.h, string.h.
3425
3426 2002-12-11  Bruno Haible  <bruno@clisp.org>
3427
3428         * setenv.m4: New file, from gettext-0.11.5.
3429
3430 2002-12-06  Paul Eggert  <eggert@twinsun.com>
3431
3432         Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
3433         a pain in practice to deal with generated m4 files.  This change
3434         goes together with the 2002-12-04 unlocked-io.h change in ../lib.
3435
3436         * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
3437         and jm-glibc-io.m4, as they are no longer a special case.
3438         * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
3439         kludge and the auto-generation stuff.  Check only whether the
3440         functions are declared, not whether they exist, since older hosts
3441         that don't declare the functions can't use the optimization anyway.
3442
3443 2002-07-06  Jim Meyering  <meyering@lucent.com>
3444
3445         * README: Don't mention Makefile.am.in.
3446         Outline how I've tested changes to .m4 files.  Yep, it's a pain.
3447
3448 2002-06-11  Paul Eggert  <eggert@twinsun.com>
3449
3450         * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
3451
3452 2002-06-22  Jim Meyering  <meyering@lucent.com>
3453
3454         * c-stack.m4: New file, from diffutils-2.8.2.
3455         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
3456
3457         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
3458         now that configure.ac uses AC_GNU_SOURCE.
3459         (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
3460         * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
3461
3462         Update to latest tools.  Suggestions from Paul Eggert.
3463         * stdbool.m4: New file, from diffutils-2.8.2.
3464         * gnu-source.m4: Update from diffutils-2.8.2.
3465         * fnmatch.m4: Likewise.
3466         * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
3467         to AC_HEADER_STDBOOL
3468
3469 2002-06-21  Jim Meyering  <meyering@lucent.com>
3470
3471         * c-bs-a.m4: Add comment, from diffutils-2.8.2.
3472         * mbrtowc.m4: Likewise.
3473
3474         * mbstate_t.m4: Update from diffutils-2.8.2.
3475         * mbswidth.m4: Reflect name change:
3476         s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
3477         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3478
3479         * lib-link.m4: Update from gettext-0.11.2.
3480         * gettext.m4: Likewise.
3481
3482         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
3483         From Alfred M. Szmidt.
3484
3485 2002-05-19  Paul Eggert  <eggert@twinsun.com>
3486
3487         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
3488
3489 2002-06-07  Jim Meyering  <meyering@lucent.com>
3490
3491         * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
3492         They're needed at least for NetBSD 1.5.2.
3493         ($statxfs_includes): Include those same headers.
3494         ($statxfs_includes): Include sys/vfs.h if available.
3495         ($statxfs_includes): Likewise for sys/statvfs.h.
3496         Check for the following members in both structs statfs and statvfs:
3497         f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
3498
3499 2002-06-01  Jim Meyering  <meyering@lucent.com>
3500
3501         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
3502         s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
3503
3504 2002-05-28  Jim Meyering  <meyering@lucent.com>
3505
3506         * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
3507         Reported by Volker Borchert.
3508
3509 2002-05-27  Jim Meyering  <meyering@lucent.com>
3510
3511         * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
3512         localtime.
3513
3514         * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
3515         use the replacement function; it wouldn't resolve at link time.
3516         Reported by Volker Borchert.
3517
3518 2002-04-30  Jim Meyering  <meyering@lucent.com>
3519
3520         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
3521
3522 2002-04-29  Paul Eggert  <eggert@twinsun.com>
3523
3524         * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
3525         Do not check for alloca.h (no longer used) or stdbool.h (was never
3526         used?).  Add AM_C_PROTOTYPES since hard-locale.h uses it.
3527
3528 2002-04-28  Paul Eggert  <eggert@twinsun.com>
3529
3530         * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
3531
3532 2002-04-29  Jim Meyering  <meyering@lucent.com>
3533
3534         * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
3535         * prereq.m4: Add jm_PREREQ_STRNLEN.
3536         Use AC_FUNC_STRNLEN here instead.
3537
3538         * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
3539         With autoconf-2.53a, it's part of AC_PROG_CC.
3540
3541 2002-04-28  Paul Eggert  <eggert@twinsun.com>
3542
3543         * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
3544         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
3545
3546 2002-04-24  Jim Meyering  <meyering@lucent.com>
3547
3548         * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
3549         (jm_PREREQ): Use it.
3550
3551         * getloadavg.m4: Check for these headers: locale.h unistd.h
3552         mach/mach.h fcntl.h.
3553         Check for this function: setlocale.
3554
3555 2002-04-16  Jim Meyering  <meyering@lucent.com>
3556
3557         * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
3558         ut_pid, ut_id, ut_exit.
3559
3560 2002-04-12  Jim Meyering  <meyering@lucent.com>
3561
3562         * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
3563         check for f_type in sys/mount.h.  Instead, just test for the existence
3564         of the getmntinfo function.  Needed for Darwin 5.3.
3565
3566         * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
3567         This is necessary at least on Darwin 5.3.
3568
3569         * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
3570         AC_FUNC_STRNLEN.  Otherwise, we'd end up putting two copies of strnlen.o
3571         in the library, and that makes some versions of ranlib object.
3572
3573 2002-04-09  Jim Meyering  <meyering@lucent.com>
3574
3575         * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
3576         to be more precise.  Rather than saying we're checking whether the
3577         function `works', say what we're testing.
3578         * realloc.m4 (jm_FUNC_REALLOC): Likewise.
3579         Reported by Bruno Haible.
3580
3581 2002-02-27  Paul Eggert  <eggert@twinsun.com>
3582
3583         * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
3584         Check for clock_settime.
3585
3586 2002-02-25  Paul Eggert  <eggert@twinsun.com>
3587
3588         * acl.m4: New file.
3589         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
3590         Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
3591
3592 2002-02-16  gettextize  <bug-gnu-gettext@gnu.org>
3593
3594         * codeset.m4: Upgrade to gettext-0.11.
3595         * gettext.m4: Upgrade to gettext-0.11.
3596         * glibc21.m4: Upgrade to gettext-0.11.
3597         * iconv.m4: Upgrade to gettext-0.11.
3598         * isc-posix.m4: Upgrade to gettext-0.11.
3599         * lcmessage.m4: Upgrade to gettext-0.11.
3600         * lib-ld.m4: New file, from gettext-0.11.
3601         * lib-link.m4: New file, from gettext-0.11.
3602         * lib-prefix.m4: New file, from gettext-0.11.
3603         * progtest.m4: Upgrade to gettext-0.11.
3604
3605 2002-02-15  Paul Eggert  <eggert@twinsun.com>
3606
3607         * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
3608         (jm_PREREQ): Use it.
3609
3610 2002-01-26  Jim Meyering  <meyering@lucent.com>
3611
3612         * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
3613         * strnlen.m4: Remove file, now that it's part of autoconf.
3614
3615 2002-01-22  Paul Eggert  <eggert@twinsun.com>
3616
3617         * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
3618
3619 2002-01-19  Jim Meyering  <meyering@lucent.com>
3620
3621         * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
3622         Remove useless quotes: DF_PROG="df".
3623         * strnlen.m4: New file.
3624
3625 2001-12-14  Jim Meyering  <meyering@lucent.com>
3626
3627         * jm-macros.m4 (jm_MACROS): Check for iswspace.
3628         Suggestion from Bruno Haible.
3629
3630 2001-11-20  Jim Meyering  <meyering@lucent.com>
3631
3632         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
3633         SunOS 4.1.4 and Solaris 2.5.1 lose, too.
3634
3635 2001-11-19  Jim Meyering  <meyering@lucent.com>
3636
3637         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
3638         directory.  Use "conftestXXXXXX" as the template.
3639         Suggestion from Paul Eggert.
3640
3641         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
3642         so the test doesn't mistakenly hit the max-open-files limit.
3643
3644 2001-11-18  Jim Meyering  <meyering@lucent.com>
3645
3646         * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
3647
3648 2001-11-17  Jim Meyering  <meyering@lucent.com>
3649
3650         * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
3651         Prompted by a report from Bob Proulx.
3652
3653         * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
3654         Instead, require UTILS_FUNC_MKSTEMP.
3655
3656 2001-11-11  Jim Meyering  <meyering@lucent.com>
3657
3658         * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
3659         Now, that's done as part of AC_FUNC_STRTOD.
3660
3661 2001-10-22  Paul Eggert  <eggert@twinsun.com>
3662
3663         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
3664         WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
3665
3666 2001-11-10  Jim Meyering  <meyering@lucent.com>
3667
3668         * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
3669         (jm_PREREQ): Use it.
3670
3671 2001-11-09  Jim Meyering  <meyering@lucent.com>
3672
3673         * jm-macros.m4: Require autoconf-2.52f.
3674         (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
3675         Use these AC_-prefixed names, not the AM_-prefixed ones.
3676
3677         * afs.m4 (jm_AFS): Quote the body.  Patch by Akim Demaille.
3678
3679 2001-11-04  Jim Meyering  <meyering@lucent.com>
3680
3681         * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
3682
3683 2001-11-03  Jim Meyering  <meyering@lucent.com>
3684
3685         * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
3686         of AC_DEFUN.
3687
3688         * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
3689         know the name of the variable in the macro definition.
3690
3691 2001-11-01  Jim Meyering  <meyering@lucent.com>
3692
3693         * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
3694         * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
3695
3696 2001-10-20  Paul Eggert  <eggert@twinsun.com>
3697
3698         * error.m4 (jm_PREREQ_ERROR):
3699         Do not invoke AC_CHECK_FUNCS with strerror_r, as
3700         AC_FUNC_STRERROR_R does that.
3701         Check for strerror declaration.
3702
3703         * strerror_r.m4: Add copyright notice, as nontrivial m4 files
3704         are supposed to have them these days.
3705         (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
3706         Merge changes from latest Autoconf CVS.
3707         Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3708         and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3709         POSIX decided to standardize on the int flavor of strerror_r.
3710
3711 2001-09-30  Jim Meyering  <meyering@lucent.com>
3712
3713         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
3714         `struct fsstat' has the `f_fstypename' member.
3715         Use that to define FS_TYPE, which is now used to make
3716         the getfsstat link test tighter.
3717
3718 2001-09-29  Jim Meyering  <meyering@lucent.com>
3719
3720         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3721         [one-argument getmntent function]): Include stdio.h before mntent.h.
3722         SunOS 4.1.x needs it for the declaration of `FILE'.
3723         Patch by Volker Borchert.
3724
3725         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3726         Check for these headers: sys/param.h sys/ucred.h sys/mount.h
3727         sys/fs_types.h, and make the link-test for getfsstat guard #include
3728         directives with appropriate #if HAVE_*_H tests so that we can
3729         detect getfsstat on Apple Darwin1.3.7 systems.
3730         Reported by Nelson Beebe.
3731         Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
3732
3733 2001-09-28  Paul Eggert  <eggert@twinsun.com>
3734
3735         Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
3736         #defines strtoimax.  Also treat the other strto* functions
3737         like strtoimax.
3738
3739         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3740         Check for strtoul and strtoumax,
3741         as those declarations are made even in the signed case.
3742         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
3743         Likewise, for strtol and strtoimax.
3744
3745 2001-09-24  Jim Meyering  <meyering@lucent.com>
3746
3747         * gettext.m4: Use the version from gettext-0.10.40, not CVS.
3748
3749 2001-09-23  Jim Meyering  <meyering@lucent.com>
3750
3751         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
3752         instead of the mere test for existence of mntent.h.  The latter
3753         would get a false-positive on AIX 3.4 systems.
3754         In the outer getmntent if-block, don't die if neither of the getmntent
3755         tests succeeds.  Instead, just fall through and continue with the
3756         remaining tests.
3757
3758 2001-09-22  Jim Meyering  <meyering@lucent.com>
3759
3760         * gettext.m4: New file.  From gettext.
3761         * lcmessage.m4: Sync with gettext -- this changes only comments.
3762         * progtest.m4: Likewise
3763         * isc-posix.m4: Decrement serial number to sync with gettext.
3764         * glibc21.m4: Likewise.
3765
3766         * libintl.m4: Remove.  No longer used.
3767
3768 2001-09-20  Jim Meyering  <meyering@lucent.com>
3769
3770         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
3771         strtoimax.
3772         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
3773         strtoumax.
3774
3775 2001-09-17  Jim Meyering  <meyering@lucent.com>
3776
3777         * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
3778         * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
3779         * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
3780         * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
3781         * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
3782         whenever the right hand side need not be expanded by the shell.
3783
3784 2001-09-16  Paul Eggert  <eggert@twinsun.com>
3785
3786         * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
3787         library.  It's not correct, as some older glibcs are buggy.
3788         fnmatch wasn't fixed until glibc 2.2.
3789
3790         Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
3791         special shell magic here.
3792
3793 2001-09-16  Jim Meyering  <meyering@lucent.com>
3794
3795         * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
3796         * jm-macros.m4: Require it.
3797
3798 2001-09-15  Jim Meyering  <meyering@lucent.com>
3799
3800         * jm-macros.m4: Check for help2man.
3801
3802 2001-09-11  Jim Meyering  <meyering@lucent.com>
3803
3804         * host-os.m4 (UTILS_HOST_OS): New file/macro.
3805         The body, by Paul Eggert, was moved here from configure.in.
3806         * jm-macros.m4: Require UTILS_HOST_OS.
3807
3808 2001-09-04  Paul Eggert  <eggert@twinsun.com>
3809
3810         * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
3811         (jm_PREREQ): Use it.
3812
3813 2001-09-03  Paul Eggert  <eggert@twinsun.com>
3814
3815         * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
3816         sys/param.h, as pathmax.h includes them.
3817
3818 2001-09-03  Paul Eggert  <eggert@twinsun.com>
3819
3820         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
3821         (jm_PREREQ_XGETCWD): New macro.
3822
3823         * getcwd.m4: New file.
3824
3825 2001-09-01  Jim Meyering  <meyering@lucent.com>
3826
3827         * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
3828         Used by df.
3829
3830 2001-08-30  Paul Eggert  <eggert@twinsun.com>
3831
3832         Simplify code, partly by assuming autoconf 2.52 semantics.
3833
3834         * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
3835
3836         * inttypes.m4 (AC_PREREQ): Bump to 2.52.
3837         (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
3838         All uses removed.
3839         (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
3840         Move AC_REQUIRE to next-to-top level, to avoid confusion.
3841         Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
3842         * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
3843         * jm-macros.m4 (jm_MACROS): Likewise.
3844
3845         * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
3846
3847         * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3848         Quote first arg of AC_DEFUN.
3849         Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
3850         since they are needed to parse the include file even if we need
3851         only xstrtoimax.  Simplify logic behind the args to AC_REPLACE.
3852         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
3853         but with opposite signedness.
3854
3855 2001-08-30  Paul Eggert  <eggert@twinsun.com>
3856
3857         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
3858         (jm_PREREQ_EXCLUDE): New macro.
3859
3860 2001-08-26  Jim Meyering  <meyering@lucent.com>
3861
3862         * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
3863
3864         * xstrtoimax.m4: New file.
3865         * xstrtoumax.m4: Add comments explaining why we
3866         AC_REPLACE_FUNCS(strtol).
3867
3868 2001-06-20  Paul Eggert  <eggert@twinsun.com>
3869
3870         * inttypes.m4: Add AC_PREREQ(2.13).
3871         (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
3872         (jm_AC_TYPE_INTMAX_T): New macro.
3873         (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
3874
3875         * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
3876
3877         * longlong.m4: Renamed from ulonglong.m4.
3878         * inttypes.m4: Renamed from inttypes_h.m4.
3879         * uintmax_t.m4: Removed.
3880
3881 2001-08-12  Jim Meyering  <meyering@lucent.com>
3882
3883         * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
3884         d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
3885         fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
3886         group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
3887         jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
3888         link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
3889         mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
3890         prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
3891         rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
3892         strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
3893         utime.m4, utimes.m4, xstrtoumax.m4:
3894         Quote the first argument in each use of AC_DEFUN.
3895
3896 2001-08-05  Jim Meyering  <meyering@lucent.com>
3897
3898         * jm-macros.m4: Require autoconf-2.52.
3899
3900 2001-08-03  Paul Eggert  <eggert@twinsun.com>
3901
3902         The following changes are from gettext 0.10.39 as maintained by
3903         Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
3904
3905         * codeset.m4: Upgrade to serial AM1.
3906         (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
3907         all uses changed.  Quote first arg of AC_DEFUN.
3908         (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
3909
3910         * iconv.m4: Upgrade to serial AM2.
3911         (AM_ICONV): Renamed from jm_ICONV; all uses changed.
3912         Add --with-libconv-prefix.
3913         Quote first arg of AC_DEFUN.  Add description for ICONV_CONST.
3914         (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
3915         (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
3916         (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
3917         * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
3918
3919         * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
3920         * getline.m4 (AM_FUNC_GETLINE): Likewise.
3921         * glibc21.m4 (jm_GLIBC21): Likewise.
3922         * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
3923         * isc-posix.m4 (AC_ISC_POSIX): Likewise.
3924         * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
3925         * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
3926         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
3927         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
3928
3929         * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
3930         string.h any more.
3931
3932         * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
3933         not the default value.
3934
3935         2001-06-25  Bruno Haible  <haible@clisp.cons.org>
3936         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
3937         Also check for mbsinit.  Needed for SCO 3.2v5.0.2.
3938         Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
3939         Also check for iswcntrl, used for wcwidth fallback.
3940         Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
3941         to Autoconf 2.13.
3942
3943 2001-08-03  Jim Meyering  <meyering@lucent.com>
3944
3945         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
3946         as it was in the original.  Reported by Paul Eggert.
3947
3948 2001-07-16  Jim Meyering  <meyering@lucent.com>
3949
3950         * gettimeofday.m4: New file.
3951         Prompted by a report from Bernhard Baehr.
3952
3953 2001-07-15  Jim Meyering  <meyering@lucent.com>
3954
3955         * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
3956         Now it's in ../Makefile.cfg.
3957
3958 2001-07-04  Jim Meyering  <meyering@lucent.com>
3959
3960         * Makefile.am.in (glibc-io.struct): New target.  Rework the code
3961         that generates jm-glibc-io.m4 so that it doesn't trigger any make
3962         distcheck failure.
3963
3964 2001-07-02  Jim Meyering  <meyering@lucent.com>
3965
3966         The following changes were prompted by suggestions from Bruno Haible.
3967
3968         * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
3969         is now generated.
3970         * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
3971         definition of EXTRA_DIST.
3972         (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
3973         ensure that the generated file is created/updated whenever the list
3974         of $(unlocked_functions) is changed.
3975         (jm-glibc-io.m4): New rule.
3976         (unlocked-io.h): New rule -- currently unused.
3977
3978 2001-06-24  Jim Meyering  <meyering@lucent.com>
3979
3980         * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
3981         unmatched right bracket, rather than kludging it with an extra,
3982         falsely-matching quote in a comment.  Patch by Akim Demaille.
3983
3984 2001-05-27  Jim Meyering  <meyering@lucent.com>
3985
3986         * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
3987         Check for ut_type in struct utmp.
3988
3989 2001-05-22  Jim Meyering  <meyering@lucent.com>
3990
3991         * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
3992         now that we use the package-supplied version unconditionally.
3993         (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
3994
3995 2001-05-21  Jim Meyering  <meyering@lucent.com>
3996
3997         * regex.m4: Change a couple backticks to single quotes to avoid shell
3998         syntax errors.
3999
4000 2001-05-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
4001
4002         * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
4003
4004 2001-05-11  Paul Eggert  <eggert@twinsun.com>
4005
4006         * strftime.m4 (jm_FUNC_GNU_STRFTIME):
4007         Don't bother to check library strftime, since
4008         we'll be using our own my_strftime function anyway.
4009         Define my_strftime instead of strftime.
4010
4011 2001-05-15  Jim Meyering  <meyering@lucent.com>
4012
4013         * regex.m4: Use proper quoting so brackets appear in the test program.
4014         Reported by, and with help from, Bruno Haible.
4015
4016 2001-05-13  Jim Meyering  <meyering@lucent.com>
4017
4018         * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
4019
4020 2000-11-26  Paul Eggert  <eggert@twinsun.com>
4021
4022         * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
4023
4024 2001-04-21  Jim Meyering  <meyering@lucent.com>
4025
4026         * rmdir-errno.m4: Write to a new file, so that a restrictive umask
4027         doesn't interfere.
4028
4029 2001-04-21  Alexandre Duret-Lutz  <duret_g@epita.fr>
4030
4031         * ftruncate.m4: Check for chsize.
4032         Link with ftruncate.o unconditionally if ftruncate is missing.
4033         This was required when cross-compiling to i586-mingw32msvc.
4034
4035 2001-03-24  Jim Meyering  <meyering@lucent.com>
4036
4037         * jm-macros.m4: Require autoconf-2.49d.
4038
4039 2001-03-20  Bruno Haible  <haible@clisp.cons.org>
4040
4041         * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
4042
4043 2001-03-17  Jim Meyering  <meyering@lucent.com>
4044
4045         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
4046         now that the version in autoconf is equivalent.
4047         (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
4048
4049         * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
4050         Suggestion from Akim Demaille.
4051
4052         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
4053         (jm_PREREQ_TEMPNAME): New function.
4054
4055 2001-02-25  Paul Eggert  <eggert@twinsun.com>
4056
4057         * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
4058         lacks mkstemp.  Compile our own tempname.c if we compile our own
4059         mkstemp.c, as mkstemp relies on tempname.
4060
4061 2001-03-01  Jim Meyering  <meyering@lucent.com>
4062
4063         * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
4064         AH_VERBATIM really does output its argument verbatim.
4065
4066 2001-02-18  Paul Eggert  <eggert@twinsun.com>
4067
4068         * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
4069
4070 2001-02-17  Jim Meyering  <meyering@lucent.com>
4071
4072         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
4073         getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
4074         further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
4075         UnixWare 7.1.1.
4076
4077         * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
4078         rather than AC_CACHE_VAL.
4079
4080 2001-02-17  Paul Eggert  <eggert@twinsun.com>
4081
4082         * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
4083         * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
4084         Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
4085         * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
4086
4087 2001-02-07  Jim Meyering  <meyering@lucent.com>
4088
4089         * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
4090
4091 2001-02-05  Jim Meyering  <meyering@lucent.com>
4092
4093         * jm-macros.m4: Require autoconf-2.14d (not yet released), because
4094         it includes the patch required for `large file' support with at least
4095         HP-UX's 10.20 /bin/cc.
4096
4097 2001-02-03  Jim Meyering  <meyering@lucent.com>
4098
4099         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
4100         AS_IF, now that it works once again (mysteriously).
4101         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4102
4103 2001-01-30  Jim Meyering  <meyering@lucent.com>
4104
4105         Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
4106         * chown.m4: Rename conftestchown to conftest.chown.
4107         * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
4108         * utimes.m4: s/conftestdata/conftest.data/
4109         Inspired by Pavel Roskin's change in autoconf.
4110
4111 2001-01-27  Jim Meyering  <meyering@lucent.com>
4112
4113         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
4114         a use of AS_IF.
4115         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4116
4117 2001-01-26  Jim Meyering  <meyering@lucent.com>
4118
4119         * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
4120         quotearg.c includes it.
4121
4122 2001-01-15  Bruno Haible  <haible@clisp.cons.org>
4123
4124         * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
4125         has const.
4126
4127 2001-01-20  Jim Meyering  <meyering@lucent.com>
4128
4129         Be sure that headers are checked before used in code compiled
4130         for the type checks.
4131         * jm-macros.m4 (jm_MACROS): Remove all header checks.
4132         In place of that, invoke jm_CHECK_ALL_TYPES.
4133         (jm_CHECK_ALL_HEADERS): New functions with the above checks.
4134         (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
4135         Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
4136         The check for ssize_t was mistakenly run before the test for unistd.h.
4137
4138         The configure-time check for stdbool.h was missing.
4139         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
4140         (jm_PREREQ_HASH): New function.
4141
4142 2001-01-17  Jim Meyering  <meyering@lucent.com>
4143
4144         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
4145         for autoconf-2.49c.
4146         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
4147
4148 2001-01-14  Jim Meyering  <meyering@lucent.com>
4149
4150         * rename.m4: Use temporary directories named conftestdir{,2}, not
4151         foo and bar.  Create conftestdir/ in the script, not in the C code.
4152         Remove directories in the script, not in the C code.
4153         Remove conftestdir{,2} before trying to create the directory.
4154         Make the entire configure script fail if the mkdir fails.
4155
4156 2001-01-02  Volker Borchert  <bt@teknon.de>
4157
4158         * rename.m4: New file.
4159         * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
4160
4161 2001-01-01  Alexandre Duret-Lutz  <duret_g@epita.fr>
4162
4163         * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
4164         expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
4165         so `make install' also works in VPATH builds.
4166
4167 2001-01-01  Jim Meyering  <meyering@lucent.com>
4168
4169         * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
4170         on systems with utmpx.h.  It's necessary for the declaration of utmp's
4171         ut_user member.  Reported by Andreas Jaeger.
4172
4173         * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
4174         They are required for the declarations of getgrgid and getpwuid resp.
4175         (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
4176         Reported by Andreas Jaeger.
4177
4178 2000-12-25  Alexandre Duret-Lutz  <duret_g@epita.fr>
4179
4180         * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
4181         prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
4182         can be used in subdirectories.
4183
4184 2000-12-26  Jim Meyering  <meyering@lucent.com>
4185
4186         * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
4187         with autoheader.
4188
4189 2000-12-17  Jim Meyering  <meyering@lucent.com>
4190
4191         * dos.m4 (jm_AC_DOS): New file and macro.
4192         * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
4193
4194 2000-12-06  Paul Eggert  <eggert@twinsun.com>
4195
4196         * off_t-format.m4: Remove this file.
4197         * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
4198
4199 2000-12-06  Jim Meyering  <meyering@lucent.com>
4200
4201         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
4202         strtoull, we may well need the replacement strtoul, too.
4203         Check for declarations of strtoul and strtoull.
4204         Check for strtol.  Mainly as a cue to cause automake to include
4205         strtol.c -- that file is included by each of strtoul.c and strtoull.c.
4206         Check for limits.h -- strtol.c needs it.
4207
4208 2000-12-02  Jim Meyering  <meyering@lucent.com>
4209
4210         * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
4211         * jm-macros.m4 (jm_MACROS): require it.
4212
4213 2000-11-30  Jim Meyering  <meyering@lucent.com>
4214
4215         * jm-macros.m4 (jm_MACROS): Check for stdint.h.
4216
4217 2000-11-30  Jim Meyering  <meyering@lucent.com>
4218
4219         * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
4220
4221 2000-11-03  Bruno Haible  <haible@clisp.cons.org>
4222
4223         * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
4224
4225 2000-11-04  Jim Meyering  <meyering@lucent.com>
4226
4227         * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
4228
4229 2000-10-29  Jim Meyering  <meyering@lucent.com>
4230
4231         * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
4232         * ls-mntd-fs.m4: Likewise
4233
4234 2000-10-28  Jim Meyering  <meyering@lucent.com>
4235
4236         * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
4237         (jm_PREREQ_MEMCHR): New function.
4238
4239 2000-10-21  Jim Meyering  <meyering@lucent.com>
4240
4241         * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
4242         * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
4243         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
4244
4245 2000-09-18  Jim Meyering  <meyering@lucent.com>
4246
4247         * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
4248         Otherwise, everyone ends up linking with -lelf for some configurations.
4249         Reported by Mike Stone.
4250
4251 2000-08-26  Jim Meyering  <meyering@lucent.com>
4252
4253         * jm-macros.m4: Use jm_FUNC_FPENDING.
4254         * fpending.m4: New file.
4255
4256 2000-08-20  Jim Meyering  <meyering@lucent.com>
4257
4258         * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
4259         `#if !HAVE_UTMPX_H'.  The latter would lose on systems with neither
4260         utmp.h nor utmpx.h.  Reported by Eli Zaretskii.
4261
4262 2000-08-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
4263
4264         Improve fileutils installation on systems where running
4265         programs (like install) can't be unlinked.
4266         * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
4267         * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
4268
4269 2000-08-06  Paul Eggert  <eggert@twinsun.com>
4270
4271         * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
4272         not char, for compatibility with glibc 2.1.3 strftime.c.
4273
4274 2000-07-23  Paul Eggert  <eggert@twinsun.com>
4275
4276         * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
4277
4278 2000-07-23  Jim Meyering  <meyering@lucent.com>
4279
4280         * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
4281         getgrgid, getpwuid, getuid.
4282
4283 2000-07-16  Bruno Haible  <haible@clisp.cons.org>
4284
4285         * mbswidth.m4: New file.
4286         * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
4287
4288 2000-07-14  Jim Meyering  <meyering@lucent.com>
4289
4290         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
4291
4292 2000-07-10  Paul Eggert  <eggert@twinsun.com>
4293
4294         From a suggestion by Bruno Haible.
4295         * mbstate_t.m4 (AC_MBSTATE_T):
4296         Renamed from AC_MBSTATE_T_OBJECT.  All uses changed.
4297         Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
4298         and mbstate_t, to a single-part test that simply defines mbstate_t.
4299         * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
4300
4301 2000-07-10  Jim Meyering  <meyering@lucent.com>
4302
4303         * strerror_r.m4: Mirror the correction made in autoconf.
4304
4305         * gnu-source.m4: Output to confdefs.h directly.
4306         Suggestion from Akim Demaille.
4307
4308 2000-07-09  Jim Meyering  <meyering@lucent.com>
4309
4310         * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
4311         to link seq.  If so, set SEQ_LIBM to -lm.  From Bruno Haible.
4312
4313         * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
4314         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
4315
4316 2000-07-05  Bruno Haible  <haible@clisp.cons.org>
4317
4318         * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
4319         to strerror_r.
4320         Include <ctype.h> for use of isalpha.
4321
4322 2000-07-05  Paul Eggert  <eggert@twinsun.com>
4323         and Bruno Haible  <haible@clisp.cons.org>
4324
4325         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
4326         only if the test for an object-type mbstate_t fails.  This
4327         prevents us from mistakenly reporting that mbstate_t is a
4328         system object type after we "#define mbstate_t int" to work
4329         around its lack.
4330
4331 2000-07-04  Jim Meyering  <meyering@lucent.com>
4332
4333         * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
4334         of the deprecated AC_CHECKING.
4335
4336 2000-07-03  Jim Meyering  <meyering@lucent.com>
4337
4338         * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
4339
4340 2000-07-03  Paul Eggert  <eggert@twinsun.com>
4341
4342         * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
4343         Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
4344
4345 2000-07-02  Jim Meyering  <meyering@lucent.com>
4346
4347         * mbstate_t.m4: Also define mbstate_t, if necessary.
4348
4349         * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
4350         AC_LIBOBJ(function_name).
4351         * chown.m4: Likewise.
4352         * fnmatch.m4: Likewise.
4353         * ftruncate.m4: Likewise.
4354         * getgroups.m4: Likewise.
4355         * getline.m4: Likewise.
4356         * group-member.m4: Likewise.
4357         * jm-macros.m4: Likewise.
4358         * lstat.m4: Likewise.
4359         * malloc.m4: Likewise.
4360         * memcmp.m4: Likewise.
4361         * nanosleep.m4: Likewise.
4362         * putenv.m4: Likewise.
4363         * realloc.m4: Likewise.
4364         * regex.m4: Likewise.
4365         * stat.m4: Likewise.
4366         * strftime.m4: Likewise.
4367
4368 2000-07-01  Jim Meyering  <meyering@lucent.com>
4369
4370         * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
4371         problem.
4372
4373 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
4374
4375         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
4376         macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
4377
4378 2000-07-01  Jim Meyering  <meyering@lucent.com>
4379
4380         * uptime.m4: Put double quotes around use of $cross_compiling.
4381
4382 2000-06-28  Jim Meyering  <meyering@lucent.com>
4383
4384         * mbstate_t.m4: Use stdlib.h, not stdio.h.  The latter is not included
4385         by quotearg.c, for which we perform this test.  From Bruno Haible.
4386
4387 2000-06-17  Bruno Haible  <haible@clisp.cons.org>
4388
4389         * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
4390         * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
4391         <utmpx.h> exists, put readutmp.o into LIBOBJS.
4392
4393 2000-06-25  Jim Meyering  <meyering@lucent.com>
4394
4395         * mbstate_t.m4: Include stdio.h before wchar.h to work around
4396         Linux header bug when _XOPEN_SOURCE is defined to 500.
4397
4398 2000-06-24  Jim Meyering  <meyering@lucent.com>
4399
4400         * strerror_r.m4: Revive this file -- to try out an experimental
4401         version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
4402         for which strerror does return char*, but which lacks a conveniently
4403         accessible declaration of the function.  If the compile-test says
4404         strerror_r doesn't work, then resort to a `run'-test that works on
4405         BeOS and segfaults on DEC Unix.
4406
4407 2000-06-19  Paul Eggert  <eggert@twinsun.com>
4408
4409         * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
4410         * prereq.m4 (jm_PREREQ_QUOTEARG): Use it.  Add check for iswprint.
4411
4412 2000-06-23  Jim Meyering  <meyering@lucent.com>
4413
4414         * afs.m4: Add missing AC_MSG_RESULT.
4415         Reported by Bruno Haible.
4416
4417         * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
4418         Suggestion from Bruno Haible.
4419
4420 2000-06-21  Jim Meyering  <meyering@lucent.com>
4421
4422         * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
4423
4424 2000-06-18  Jim Meyering  <meyering@lucent.com>
4425
4426         * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
4427
4428         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
4429         `checking whether...' message to be consistent with that of the
4430         lstat test.
4431
4432 2000-06-16  Bruno Haible  <haible@clisp.cons.org>
4433
4434         * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
4435
4436 2000-06-12  Jim Meyering  <meyering@lucent.com>
4437
4438         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
4439         from autoconf, and tweak the latter to accept an optional argument.
4440         * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
4441         the optional argument, `lib'.
4442
4443 2000-06-08  Jim Meyering  <meyering@lucent.com>
4444
4445         * largefile.m4: Remove file (now that it's part of autoconf).
4446
4447 2000-06-04  Paul Eggert  <eggert@twinsun.com>
4448
4449         Rewrite largefile configuration so that we don't need to run
4450         getconf and don't need AC_CANONICAL_HOST.  [I'm leaving the use of
4451         AC_CANONICAL_HOST in configure.in -- jmm]
4452
4453         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
4454         AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
4455         (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
4456         (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
4457         CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
4458         All uses changed.
4459         Instead of inspecting the output of getconf, try to compile the
4460         test program without and with the macro definition.
4461         (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
4462         for getconf.  Instead, check for the needed flags by compiling
4463         test programs.
4464
4465 2000-06-03  Jim Meyering  <meyering@lucent.com>
4466
4467         * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
4468         now that autoconf requires that.
4469
4470         * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
4471         #undefs.  E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
4472         Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
4473
4474 2000-05-26  Bruno Haible  <haible@clisp.cons.org>
4475
4476         * glibc21.m4: New file.
4477         * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
4478
4479 2000-05-28  Jim Meyering  <meyering@lucent.com>
4480
4481         * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
4482         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4483         * stat.m4: Likewise.
4484         * lstat.m4: Likewise.
4485         * lstat-slash.m4: Remove file (absorbed into autoconf).
4486
4487         * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
4488         * strerror_r.m4: Remove file (absorbed into autoconf).
4489
4490 2000-05-26  Jim Meyering  <meyering@lucent.com>
4491
4492         * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
4493
4494 2000-05-24  Jim Meyering  <meyering@lucent.com>
4495
4496         * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
4497         autoconf requires that.
4498         * lib-check.m4: Likewise.
4499         * jm-macros.m4: Likewise.
4500         * strftime.m4: Likewise.
4501
4502         * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
4503         now that autoconf requires that.
4504
4505 2000-05-22  Jim Meyering  <meyering@lucent.com>
4506
4507         * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4508         * lstat.m4: Likewise.
4509
4510 2000-05-20  Jim Meyering  <meyering@lucent.com>
4511
4512         * prereq.m4 (jm_PREREQ_HUMAN): New macro.
4513         (jm_PREREQ): Use it.
4514
4515 2000-05-09  Jim Meyering  <meyering@lucent.com>
4516
4517         * gettext.m4: Rename this...
4518         * libintl.m4: ...to this.
4519
4520 2000-05-06  Jim Meyering  <meyering@lucent.com>
4521
4522         * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
4523         (AC_REPLACE_FUNCS): Add strnlen.
4524
4525         * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
4526         * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
4527
4528         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
4529         AC_SEARCH_LIBS call for nanosleep.
4530         (LIB_NANOSLEEP): Set and AC_SUBST.
4531
4532 2000-05-03  Paul Eggert  <eggert@twinsun.com>
4533
4534         * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
4535         be 500, instead of _GNU_SOURCE to be 1, to work around glibc
4536         2.1.3 bug.  This avoids a clash when files like regex.c define
4537         _GNU_SOURCE.
4538
4539 2000-05-05  Jim Meyering  <meyering@lucent.com>
4540
4541         * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
4542         call for clock_gettime.
4543         (LIB_CLOCK_GETTIME): Set and AC_SUBST.
4544
4545         * search-libs.m4: Update from autoconf.
4546
4547         su doesn't work on Solaris 2.6.
4548         * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
4549         <shadow.h>.  Reported by Dragos Harabor.
4550
4551 2000-05-03  Jim Meyering  <meyering@lucent.com>
4552
4553         * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
4554
4555 2000-05-02  Paul Eggert  <eggert@twinsun.com>
4556
4557         * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
4558         this is needed to make ftello visible (e.g. glibc 2.1.3).  Use
4559         compile-time test, rather than inspecting host and OS, to
4560         decide whether to define _LARGEFILE_SOURCE.
4561
4562 2000-05-01  Jim Meyering  <meyering@lucent.com>
4563
4564         * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
4565
4566         * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
4567         Based on a patch from Bruno Haible.
4568
4569 2000-04-18  Jim Meyering  <meyering@lucent.com>
4570
4571         * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
4572         (jm_PREREQ): Use it.
4573
4574 2000-04-17  Jim Meyering  <meyering@lucent.com>
4575
4576         Get it right :-)
4577         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
4578         actual #define via AH_VERBATIM.  Don't need separate AC_DEFINE.
4579         Suggestion from Akim Demaille.
4580
4581 2000-04-14  Jim Meyering  <meyering@lucent.com>
4582
4583         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
4584         of AC_DEFINE.  Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
4585
4586 2000-04-13  Jim Meyering  <meyering@lucent.com>
4587
4588         * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
4589         to insert required #ifndef into config.h.in.
4590         Suggestion from Akim Demaille.
4591
4592 2000-04-12  Jim Meyering  <meyering@lucent.com>
4593
4594         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
4595         `AC_CHECK_HEADER' to check for locale.h.  Thanks to a report from
4596         Christian Krackowizer.
4597
4598         More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
4599         * jm-macros.m4 (_GNU_SOURCE): Define.
4600         (AC_SYS_LARGEFILE): Require.
4601         (AM_C_PROTOTYPES): Require.
4602
4603 2000-04-05  Paul Eggert  <eggert@twinsun.com>
4604
4605         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
4606         IRIX if the installer said otherwise.
4607
4608 2000-04-05  Jim Meyering  <meyering@lucent.com>
4609
4610         Portability tweaks required for ultrix4.3.
4611         * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
4612         (jm_CHECK_DECLS): Add getutent to the list of functions.
4613         (_jm_DECL_HEADERS): Add utmpx.h.
4614         From John David Anglin.
4615
4616         * strftime.m4: Back out the 2000-04-02 change.
4617         Instead of that change, simply undefine putenv in the test program.
4618
4619 2000-04-03  Jim Meyering  <meyering@lucent.com>
4620
4621         * gettext.m4: Fix typo in comment.
4622
4623         * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
4624         textutils/configure.in).  Suggestion from Paul Eggert.
4625         (AC_CHECK_FUNCS): Add nl_langinfo.  (also from textutils/configure.in)
4626
4627 2000-04-02  Paul Eggert  <eggert@twinsun.com>
4628
4629         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
4630         variable in the shell rather than using putenv, which isn't
4631         portable.  This avoids the configure-time inter-test dependency
4632         on the potentially-renamed putenv function.
4633
4634 2000-03-30  Paul Eggert  <eggert@twinsun.com>
4635
4636         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
4637         before checking struct stat.st_blksize, so that
4638         HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
4639
4640 2000-03-29  Paul Eggert  <eggert@twinsun.com>
4641
4642         * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
4643         since strftime.c uses HAVE_STRFTIME to decide whether to use
4644         the underlying strftime.
4645
4646 2000-03-10  Jim Meyering  <meyering@lucent.com>
4647
4648         * lib-check.m4: Look for getspnam in -lgen, too.
4649         From Marco Franzen.
4650
4651 2000-02-02  Bruno Haible  <haible@clisp.cons.org>
4652
4653         * codeset.m4: New file.
4654         * iconv.m4: New file.
4655         * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
4656
4657 2000-03-04  Jim Meyering  <meyering@lucent.com>
4658
4659         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
4660         for lib/localcharset.c.
4661
4662 2000-03-03  Jim Meyering  <meyering@lucent.com>
4663
4664         * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
4665
4666 2000-03-02  Jim Meyering  <meyering@lucent.com>
4667
4668         * timespec.m4: Require AC_HEADER_TIME before the cache check so
4669         the messages come out on separate lines.
4670
4671         * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
4672         rather than jm_CHECK_DECLARATIONS.
4673         * decl.m4: Remove now-unused file.
4674
4675         * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
4676
4677 2000-02-27  Jim Meyering  <meyering@lucent.com>
4678
4679         * check-decl.m4: Add getenv to the list.
4680
4681 2000-02-23  Jim Meyering  <meyering@lucent.com>
4682
4683         * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
4684         in place of my hack.
4685
4686 2000-02-10  Jim Meyering  <meyering@lucent.com>
4687
4688         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
4689         gnu_nanosleep to rpl_nanosleep.
4690
4691 2000-02-09  Jim Meyering  <meyering@lucent.com>
4692
4693         * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
4694         struct spwd, rather than in struct passwd.  Reported by Gaël Quéri.
4695
4696 2000-02-08  Akim Demaille  <akim@epita.fr>
4697
4698         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
4699         `[' and `]' and remove uses of `changequote'.
4700         (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
4701         (AC_SYS_LARGEFILE): Likewise.
4702         * gettext.m4 (AM_GNU_GETTEXT): Likewise.
4703         * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
4704         of changequote.
4705         * regex.m4 (jm_INCLUDED_REGEX): Likewise.
4706         * readdir.m4 (jm_FUNC_READDIR): Likewise
4707         * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
4708         * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
4709
4710 2000-02-05  Jim Meyering  <meyering@lucent.com>
4711
4712         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
4713         Remove explicit use of AC_HEADER_TIME.  It is required by
4714         jm_CHECK_TYPE_STRUCT_TIMESPEC.  Using AC_HEADER_TIME and
4715         `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
4716         in autoconf whereby the expansion of the latter ended up preceding
4717         the expansion of its prerequisite, AC_HEADER_TIME.
4718         Reported by Volker Borchert.
4719
4720 2000-02-03  Jim Meyering  <meyering@lucent.com>
4721
4722         * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
4723
4724 2000-02-02  Jim Meyering  <meyering@lucent.com>
4725
4726         * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
4727         definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
4728         Reported by Eli Zaretskii.
4729
4730 2000-01-31  Jim Meyering  <meyering@lucent.com>
4731
4732         * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
4733         functions.  Add the time.h and sys/time.h headers along with the
4734         AC_REQUIRE'ment of AC_HEADER_TIME.
4735
4736 2000-01-30  Jim Meyering  <meyering@lucent.com>
4737
4738         * lib-check.m4: Clean up some kludgy old shadow password tests.
4739
4740         * prereq.m4 (utmp_includes): Define.
4741         Check for ut_user and ut_name members in both struct utmpx
4742         and struct utmp.
4743
4744 2000-01-29  Jim Meyering  <meyering@lucent.com>
4745
4746         * lib-check.m4: New file containing library-related checks from
4747         fileutils and sh-utils (textutils had none).
4748
4749 2000-01-28  Jim Meyering  <meyering@lucent.com>
4750
4751         * perl.m4: Change format of warning message to look more like that
4752         from the missing script.  Suggestion from François Pinard.
4753
4754 2000-01-25  Jim Meyering  <meyering@lucent.com>
4755
4756         * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
4757         as time.h in the compile check.
4758         * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
4759         Fix typo in cross-compiling case: s/yes/no/.
4760
4761 2000-01-23  Jim Meyering  <meyering@lucent.com>
4762
4763         * jm-macros.m4: Move df-related tests here from fileutils/configure.in
4764
4765         * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
4766         (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
4767
4768         * fsusage.m4: New file.  Extracted from fileutils/configure.in.
4769         s/space/ac_fsusage_space/.
4770         (jm_FILE_SYSTEM_USAGE): Take two parameters.
4771
4772         * ftruncate.m4: New file (derived from part of fileutils/configure.in).
4773         * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
4774         (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
4775
4776         * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
4777         AC_SUBST these here, rather than just in sh-util/configure.in, so
4778         that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
4779         all the same.
4780         (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
4781         (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
4782         (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
4783         (AC_SUBST(POW_LIBM)): Likewise.
4784         (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
4785
4786 2000-01-22  Jim Meyering  <meyering@lucent.com>
4787
4788         * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
4789
4790         * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
4791
4792         * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
4793         configure.in
4794         (AC_CHECK_HEADERS): Likewise for sh-utils.
4795         (AC_CHECK_HEADERS): Likewise for textutils.
4796         Merge the three lists of headers.
4797
4798         * prereq.m4 (jm_PREREQ_ADDEXT): New macro.  Parts moved here
4799         from fileutils' configure.in.
4800
4801         * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
4802         Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
4803
4804         * check-decl.m4: Use #if rather than #ifdef.
4805         Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
4806         (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
4807         (_jm_DECL_HEADERS): Define new function.
4808         (jm_CHECK_DECLARATIONS): Require it.
4809
4810 2000-01-19  Jim Meyering  <meyering@lucent.com>
4811
4812         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
4813         Use AC_HEADER_TIME.  Volker Borchert reported that OpenBSD-2.3/sparc
4814         defines `struct timespec' in <sys/time.h>
4815
4816         * c-bs-a.m4: Remove uses of changequote altogether.
4817         Thanks to Akim for explaining.
4818
4819 2000-01-16  Jim Meyering  <meyering@lucent.com>
4820
4821         * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
4822         AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
4823         jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
4824         AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
4825
4826 2000-01-16  Jim Meyering  <meyering@lucent.com>
4827
4828         * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
4829         because the latter didn't work.
4830
4831 2000-01-15  Jim Meyering  <meyering@lucent.com>
4832
4833         * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
4834         (AC_REPLACE_FUNCS): Add memcpy and memset.
4835         Add these, too: stime strcspn stpcpy strstr strtol strtoul.
4836         Add strpbrk.
4837         Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
4838
4839 2000-01-12  Jim Meyering  <meyering@lucent.com>
4840
4841         * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
4842         (jm_PREREQ): Use it.
4843         (jm_PREREQ_READUTMP): New macro.
4844         (jm_PREREQ): Use it.
4845
4846 2000-01-11  Paul Eggert  <eggert@twinsun.com>
4847
4848         Quote multibyte characters correctly.
4849         * c-bs-a.m4: New file.
4850         * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
4851         (jm_PREREQ): Use it.
4852
4853 2000-01-11  Paul Eggert  <eggert@twinsun.com>
4854
4855         * uintmax_t.m4: Port to autoconf 2.13.
4856
4857 2000-01-08  Jim Meyering  <meyering@ascend.com>
4858
4859         * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
4860         * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
4861
4862 2000-01-04  Jim Meyering  <meyering@ascend.com>
4863
4864         * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
4865         jm_STRUCT_DIRENT_D_TYPE.
4866         * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
4867         jm_STRUCT_DIRENT_D_INO.
4868         * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
4869         jm_STRUCT_UTIMBUF.
4870         * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
4871         * utime.m4: Likewise.
4872
4873         * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
4874         * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
4875
4876 2000-01-03  Paul Eggert  <eggert@twinsun.com>
4877
4878         * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
4879         (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
4880
4881 2000-01-02  Jim Meyering  <meyering@ascend.com>
4882
4883         * search-libs.m4: Escape `$' in $3 of dnl comment.  I no longer
4884         remember if this is necessary.
4885
4886 1999-12-26  Jim Meyering  <meyering@ascend.com>
4887
4888         * jm-macros.m4: Use it here.
4889         * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
4890
4891 1999-12-23  Jim Meyering  <meyering@ascend.com>
4892
4893         * jm-macros.m4: Check for clock_gettime (moved from
4894         fileutils/configure.in)
4895         Check for gettimeofday.
4896
4897 1999-12-20  Jim Meyering  <meyering@ascend.com>
4898
4899         * strftime.m4: Remove kludge, now that I'm using the fixed
4900         autoconf-2.14a-1999-12-20.
4901
4902 1999-12-19  Jim Meyering  <meyering@ascend.com>
4903
4904         * lstat-slash.m4: New file.
4905         * jm-macros.m4: Use the new macro:
4906         jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4907
4908 1999-12-07  Jim Meyering  <meyering@ascend.com>
4909
4910         * perl.m4: Require that File::Compare be available, too.
4911         Too many systems seem to lack it.
4912
4913         * strftime.m4: Add checks for most of the cpp macros tested in
4914         GNU's strftime.c.  Prompted by a patch from Paul Eggert.
4915
4916 1999-11-18  Paul Eggert  <eggert@twinsun.com>
4917
4918         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
4919         problem with the QNX 4.25 shell, which doesn't propagate exit
4920         status of failed commands inside shell assignments.
4921
4922 1999-11-17  Jim Meyering  <meyering@ascend.com>
4923
4924         * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
4925
4926 1999-11-07  Jim Meyering  <meyering@ascend.com>
4927
4928         * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
4929
4930 1999-11-06  Jim Meyering  <meyering@ascend.com>
4931
4932         * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
4933         * jm-macros.m4 (jm_MACROS): Use it here.
4934
4935 1999-11-05  Jim Meyering  <meyering@ascend.com>
4936
4937         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
4938         of textutils, fileutils, and sh-utils into this one (shared between
4939         those packages) file.
4940         Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
4941         AC_STRUCT_ST_BLKSIZE.
4942
4943 1999-11-03  Jim Meyering  <meyering@ascend.com>
4944
4945         * ssize_t.m4: Remove file.  No longer needed since the new version of
4946         AC_CHECK_TYPE checks includes unistd.h.
4947         * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
4948         Suggestion from Akim Demaille.
4949
4950 1999-10-30  Jim Meyering  <meyering@ascend.com>
4951
4952         * uintmax_t.m4: Require 2.14a.  Remove backslash before backtick in
4953         m4-quoted string.
4954         * ls-mntd-fs.m4: Likewise.
4955         * jm-macros.m4: Likewise.  Also, use AC_TYPE_SSIZE_T instead
4956         * jm-winsz1.m4: Likewise.
4957
4958         * const.m4: Remove file, since the fix made it into the experimental
4959         version of autoconf.
4960         * mktime.m4: Likewise.
4961
4962         * check-type.m4: Remove file, now that the latest version of
4963         AC_CHECK_TYPE takes a third arg to specify additional #includes.
4964
4965         * ssize_t.m4: New file, requires experimental version of autoconf.
4966         * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
4967         AC_CHECK_TYPE.
4968
4969 1999-10-04  Jim Meyering  <meyering@ascend.com>
4970
4971         * jm-macros.m4: Don't require autoconf-2.14.1.
4972
4973 1999-09-22  Paul Eggert  <eggert@twinsun.com>
4974
4975         * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
4976         2.95.1 bug with HP-UX 10.20.
4977
4978 1999-09-17  Jim Meyering  <meyering@ascend.com>
4979
4980         * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
4981         Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
4982         due to missing strdup (against sh-utils-2.0).
4983
4984 1999-08-29  Jim Meyering  <meyering@ascend.com>
4985
4986         * jm-macros.m4: Require jm_BISON.
4987         * bison.m4: New file.
4988
4989 1999-08-17  Paul Eggert  <eggert@twinsun.com>
4990
4991         * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
4992         in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
4993
4994 1999-08-05  Jim Meyering  <meyering@ascend.com>
4995
4996         * getline.m4: Rename test file from conftestdata to conftest.data
4997         to avoid conflicts with `conftest' on 8+3 filesystems.
4998         Suggestion from Eli Zaretskii.
4999
5000 1999-08-04  Jim Meyering  <meyering@ascend.com>
5001
5002         * jm-macros.m4: Move a 4-line block of code from the configure.in of
5003         fileutils and sh-utils (textutils's getline test was inadequate).
5004         (AM_FUNC_GETLINE): Run this test.
5005         (AC_CHECK_FUNCS): Check for getdelim.
5006         Reported by Bob Proulx.
5007
5008 1999-08-02  Jim Meyering  <meyering@ascend.com>
5009
5010         * jm-macros.m4: Add a comment.
5011
5012 1999-08-01  Jim Meyering  <meyering@ascend.com>
5013
5014         * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
5015
5016 1999-08-01  Paul Eggert  <eggert@twinsun.com>
5017
5018         * lfs.m4: Remove this file.
5019         * largefile.m4: New file.  It contains the old contents of
5020         lfs.m4, except that all names with prefix AC_LFS have been
5021         changed to use the prefix AC_SYS_LARGEFILE instead, to be
5022         compatible with future autoconf versions.  Also, some minor m4
5023         quoting problems have been fixed.
5024
5025 1999-07-16  Paul Eggert  <eggert@twinsun.com>
5026
5027         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
5028         that we can shift, multiply and divide unsigned long long
5029         values; Ultrix cc can't do it.
5030
5031 1999-07-14  Paul Eggert  <eggert@twinsun.com>
5032
5033         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
5034         <inttypes.h> defines strtoumax as a macro (and not as a
5035         function).
5036
5037 1999-07-05  Paul Eggert  <eggert@twinsun.com>
5038
5039         * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
5040         Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
5041         (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
5042         and simplify the shell code.
5043
5044 1999-07-03  Paul Eggert  <eggert@twinsun.com>
5045
5046         * mktime.m4: New file, which is a preview of what should appear
5047         in the next public autoconf release.
5048
5049 1999-07-20  Jim Meyering  <meyering@ascend.com>
5050
5051         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
5052
5053 1999-07-15  Jim Meyering  <meyering@ascend.com>
5054
5055         * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
5056
5057 1999-05-22  Jim Meyering  <meyering@ascend.com>
5058
5059         * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
5060
5061 1999-05-20  Jim Meyering  <meyering@ascend.com>
5062
5063         * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
5064         Add a colon after each `then' in case $4 is empty.
5065
5066 1999-05-16  Jim Meyering  <meyering@ascend.com>
5067
5068         * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
5069
5070 1999-05-10  Jim Meyering  <meyering@ascend.com>
5071
5072         * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
5073
5074         * jm-macros.m4: Require 2.14.1, since we use newly-renamed
5075         AC_FUNC_MKTIME.
5076
5077 1999-05-10  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5078
5079         * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
5080
5081 1999-05-04  Paul Eggert  <eggert@twinsun.com>
5082
5083         * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
5084         not CPPFLAGS, so that linking works correctly in IRIX.
5085
5086 1999-04-30  Paul Eggert  <eggert@twinsun.com>
5087
5088         * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
5089
5090 1999-04-20  Jim Meyering  <meyering@ascend.com>
5091
5092         * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
5093         AC_REPLACE xstroull if necessary.  From Paul Eggert.
5094         (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
5095
5096 1999-04-20  Paul Eggert  <eggert@twinsun.com>
5097
5098         * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
5099         long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
5100         * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
5101         jm_AC_TYPE_UNSIGNED_LONG_LONG.
5102         * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
5103
5104         * lfs.m4: Port to AIX and HP-UX.  Support cross-compilation.
5105
5106 1999-04-18  Jim Meyering  <meyering@ascend.com>
5107
5108         * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
5109         * jm-macros.m4: Use it.
5110
5111 1999-04-06  Jim Meyering  <meyering@ascend.com>
5112
5113         * strftime.m4: Remove test for %f.
5114
5115 1999-03-29  Jim Meyering  <meyering@ascend.com>
5116
5117         * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
5118         superset of the AC_TYPE_* checks in the textutils, fileutils,
5119         and sh-utils, plus AC_TYPE_PID_T.  Paul Eggert suggested adding
5120         AC_TYPE_PID_T.
5121
5122 1999-03-28  Jim Meyering  <meyering@ascend.com>
5123
5124         * jm-macros.m4: Define GNU_PACKAGE here.
5125         Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
5126         replaced e.g., in the *.sh files of the sh-utils.
5127
5128 1999-03-20  Jim Meyering  <meyering@ascend.com>
5129
5130         * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
5131         * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
5132         Don't depend on AM_GLIBC.  Suggestions from Alain Magloire.
5133
5134 1999-03-19  Jim Meyering  <meyering@ascend.com>
5135
5136         * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
5137
5138 1999-03-12  Jim Meyering  <meyering@ascend.com>
5139
5140         * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
5141
5142 1999-03-07  Jim Meyering  <meyering@ascend.com>
5143
5144         * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
5145
5146 1999-02-17  Jim Meyering  <meyering@ascend.com>
5147
5148         * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
5149         in macro definition.  From Eli Zaretskii and Alain Magloire.
5150
5151 1999-02-07  Jim Meyering  <meyering@ascend.com>
5152
5153         * group-member.m4: New file -- extracted from sh-utils' configure.in.
5154
5155         1999-02-05  Eli Zaretskii  <eliz@is.elta.co.il>
5156         * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
5157
5158 1999-02-06  Jim Meyering  <meyering@ascend.com>
5159
5160         * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
5161         * fnmatch.m4: Likewise.
5162         * getgroups.m4: Likewise.
5163         * lstat.m4: Likewise.
5164         * malloc.m4: Likewise.
5165         * putenv.m4: Likewise.
5166         * realloc.m4: Likewise.
5167         * regex.m4: Likewise.
5168         * stat.m4: Likewise.
5169         * strftime.m4: Likewise.
5170         Suggestion from Alain Magloire.
5171
5172         * chown.m4: Use `.$ac_objext', not `.o'.
5173         * fnmatch.m4: Likewise.
5174         * getgroups.m4: Likewise.
5175         * getline.m4: Likewise.
5176         * lstat.m4: Likewise.
5177         * malloc.m4: Likewise.
5178         * memcmp.m4: Likewise.
5179         * putenv.m4: Likewise.
5180         * realloc.m4: Likewise.
5181         * regex.m4: Likewise.
5182         * stat.m4: Likewise.
5183         * strftime.m4: Likewise.
5184         Suggestion from Alain Magloire.
5185
5186         * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
5187         an argument.
5188
5189         * regex.m4: Add a run-time Test for proper operation of
5190         re_compile_pattern.
5191
5192 1999-01-31  Jim Meyering  <meyering@ascend.com>
5193
5194         * getloadavg.m4: Check for locale.h and the function, setlocale.
5195
5196 1999-01-30  Jim Meyering  <meyering@ascend.com>
5197
5198         * check-type.m4: Use 3-arg form of AC_DEFINE.
5199
5200         * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
5201         rather than my private copy, now that the official one is up to date.
5202         * mktime.m4: Remove file.
5203
5204         * getloadavg.m4: Use 3-arg form of AC_DEFINE.
5205         * uptime.m4: Likewise.
5206         * uintmax_t.m4: Likewise.
5207
5208 1999-01-28  Jim Meyering  <meyering@ascend.com>
5209
5210         * jm-macros.m4: Use jm_AFS.
5211         * afs.m4: New file (from fileutils' configure.in).
5212
5213         * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
5214         * chown.m4: Likewise.
5215         * d-ino.m4: Likewise.
5216         * d-type.m4: Likewise.
5217         * fnmatch.m4: Likewise.
5218         * getgroups.m4: Likewise.
5219         * gettext.m4: Likewise.
5220         * jm-mktime.m4: Likewise.
5221         * jm-winsz2.m4: Likewise.
5222         * lcmessage.m4: Likewise.
5223         * ls-mntd-fs.m4: Likewise.
5224         * malloc.m4: Likewise.
5225         * memcmp.m4: Likewise.
5226         * putenv.m4: Likewise.
5227         * realloc.m4: Likewise.
5228         * st_mtim.m4: Likewise.
5229         * strftime.m4: Likewise.
5230
5231 1999-01-16  Jim Meyering  <meyering@ascend.com>
5232
5233         * jm-macros.m4 (ARGMATCH_DIE): Define.
5234         (ARGMATCH_DIE_DECL): Define.
5235
5236 1999-01-12  Jim Meyering  <meyering@ascend.com>
5237
5238         * Makefile.am.in: Rewrite to avoid using fmt.
5239         Reported by Lars Hecking.
5240
5241 1999-01-10  Jim Meyering  <meyering@ascend.com>
5242
5243         * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
5244         gross kludge.
5245         * inttypes_h.m4: Likewise.
5246         * lstat.m4: Likewise.
5247         * malloc.m4: Likewise.
5248         * readdir.m4: Likewise.
5249         * realloc.m4: Likewise.
5250         * st_dm_mode.m4: Likewise.
5251         * stat.m4: Likewise.
5252         * utimbuf.m4: Likewise.
5253         * utimes.m4: Likewise.
5254
5255         * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
5256         AC_CHECK_FUNCS hack.  Now, it's still a hack, but at least the
5257         comments in config.h.in are meaningful.
5258
5259         * jm-macros.m4: Require autoconf-2.13 here.
5260
5261         * regex.m4: By default, don't use the included regex.c on systems
5262         with glibc 2.  Suggestion from Uli Drepper.
5263
5264 1999-01-02  Jim Meyering  <meyering@ascend.com>
5265
5266         * jm-macros.m4: Replace strcasecmp and strncasecmp.
5267
5268 1998-12-18  Jim Meyering  <meyering@ascend.com>
5269
5270         * Makefile.am.in (Makefile.am): Simplify rule.
5271         Based on a suggestion from Lars Hecking.
5272
5273 1998-11-16  Jim Meyering  <meyering@ascend.com>
5274
5275         * lfs.m4: Double-quote the `uname...` expression.
5276
5277 1998-11-16  Paul Eggert  <eggert@twinsun.com>
5278
5279         * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
5280
5281 1998-11-14  Jim Meyering  <meyering@ascend.com>
5282
5283         * lstat.m4: Correct comment.  POSIX does not permit it to succeed.
5284         * stat.m4: Likewise.
5285
5286 1998-11-03  Jim Meyering  <meyering@ascend.com>
5287
5288         * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
5289         * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
5290
5291 1998-10-18  Jim Meyering  <meyering@ascend.com>
5292
5293         * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
5294
5295 1998-10-17  Jim Meyering  <meyering@ascend.com>
5296
5297         * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
5298         include, though we still hard-code the `require'-like AC_CHECK_HEADERS
5299         calls for those previously hard-coded headers.  Instead, take a new
5300         parameter.
5301         (jm_CHECK_DECLARATIONS): Reflect interface change.
5302         * check-decl.m4 (jm_CHECK_DECLS): Likewise.
5303         (jm_CHECK_DECL_LOCALTIME_R): New macro.
5304
5305         * mktime.m4: Test for spring-forward gap before long-running test.
5306
5307 1998-10-14  Jim Meyering  <meyering@ascend.com>
5308
5309         * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
5310         instead of "TZ=America/Vancouver".  From Paul Eggert.
5311
5312 1998-10-11  Jim Meyering  <meyering@ascend.com>
5313
5314         * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
5315         This adds a test for a recently added compatibility fix for mktime.c.
5316         * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
5317
5318 1998-09-27  Jim Meyering  <meyering@ascend.com>
5319
5320         * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
5321
5322         * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro.  Extracted from
5323         ../configure.in, including a change from Gordon Matzigkeit to allow
5324         cross-compiling for the Hurd.
5325
5326         * glibc.m4: New file/macro to test for the GNU C Library
5327         versions 1 and 2.  From Gordon Matzigkeit.
5328         Indent.
5329
5330 1998-09-21  Jim Meyering  <meyering@ascend.com>
5331
5332         * chown.m4: Declare locals: before, after.  From Andries Brouwer.
5333
5334 1998-08-18  Paul Eggert  <eggert@twinsun.com>
5335
5336         Port nanosecond-resolution times to UnixWare 2.1.2 and
5337         pedantic Solaris 2.6.
5338
5339         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
5340         AC_STRUCT_ST_MTIM.
5341         * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
5342         Generate name of ns member, instead of just 1 or undef.
5343         Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
5344
5345 1998-08-15  Jim Meyering  <meyering@ascend.com>
5346
5347         * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
5348         * check-type.m4: New file.  Replacement for AC_CHECK_TYPE.
5349         * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
5350         instead of jm_TYPE_SSIZE_T.
5351
5352 1998-08-12  Jim Meyering  <meyering@ascend.com>
5353
5354         * st_dm_mode.m4: New file.  From Johan Danielsson.
5355
5356 1998-08-02  Jim Meyering  <meyering@ascend.com>
5357
5358         * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
5359         in acconfig.h manually.
5360
5361 1998-07-31  Paul Eggert  <eggert@twinsun.com>
5362
5363         * st_mtim.m4: New file.
5364
5365 1998-07-28  Jim Meyering  <meyering@ascend.com>
5366
5367         * utimes.m4: Undef stat.
5368
5369 1998-07-25  Jim Meyering  <meyering@ascend.com>
5370
5371         * utime.m4 (jm_FUNC_UTIME): New file and macro.
5372         * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
5373
5374 1998-07-09  Manfred Hollstein  <manfred@s-direktnet.de>
5375
5376         * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
5377         uid and gid actually remain unchanged.
5378
5379 1998-07-07  Jim Meyering  <meyering@ascend.com>
5380
5381         * jm-glibc-io.m4: Remove fclose_unlocked.
5382
5383 1998-07-04  Jim Meyering  <meyering@ascend.com>
5384
5385         * regex.m4: Use syscmd, ifelse, and sysval.  Mainly as an exercise
5386         to prove that this macro can be used in packages without regex.c.
5387
5388 1998-07-02  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
5389
5390         * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
5391         is to be used.
5392
5393 1998-07-03  Jim Meyering  <meyering@ascend.com>
5394
5395         * gettext.m4: Add -lintl if it's found to be necessary.
5396
5397         * gettext.m4: New file -- from gettext-0.10.35.
5398         * lcmessage.m4: Likewise.
5399         * progtest.m4: Likewise.
5400
5401         * regex.m4 (jm_WITH_REGEX): New file and macro.
5402         * jm-macros.m4: Require the new macro.
5403
5404 1998-06-29  Jim Meyering  <meyering@ascend.com>
5405
5406         * fstypename.m4: Include sys/param.h.  NetBSD 1.3.1 requires this
5407         for the definition of NGROUPS (used in a system header included
5408         by sys/mount.h).
5409
5410 1998-06-28  Jim Meyering  <meyering@ascend.com>
5411
5412         * ls-mntd-fs.m4: New file.
5413         * fstypename.m4: New file.
5414
5415         * jm-macros.m4: Require the new macro.
5416         * jm-glibc-io.m4: New file.
5417
5418 1998-05-19  Jim Meyering  <meyering@ascend.com>
5419
5420         * jm-macros.m4: Add jm_FUNC_LCHOWN.
5421         * lchown.m4: New file.
5422
5423         * Makefile.am.in: New file.
5424         * Makefile.am (Makefile.am): Depend on Makefile.am.in.
5425
5426 1998-05-14  Jim Meyering  <meyering@ascend.com>
5427
5428         * Makefile.am (EXTRA_DIST): Add them.
5429         * jm-macros.m4: New file.
5430         * utimbuf.m4: New file.
5431
5432 1998-05-12  Jim Meyering  <meyering@ascend.com>
5433
5434         * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
5435
5436 1998-05-11  Jim Meyering  <meyering@ascend.com>
5437
5438         * isc-posix.m4: New file.
5439
5440 1998-05-10  Jim Meyering  <meyering@ascend.com>
5441
5442         * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
5443
5444 1998-05-09  Jim Meyering  <meyering@ascend.com>
5445
5446         * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
5447         (EXTRA_DIST): Remove mktime.m4, now that the new version is included
5448         with automake.
5449
5450         * ssize_t.m4: New file.
5451         * mktime.m4: Remove file -- the new automake has this now.
5452
5453 1998-04-26  Jim Meyering  <meyering@ascend.com>
5454
5455         * assert.m4: New file.
5456         * Makefile.am (EXTRA_DIST): Add assert.m4.
5457
5458 1998-04-05  Jim Meyering  <meyering@ascend.com>
5459
5460         * prereq.m4 (jm_PREREQ_REGEX): New macro.
5461         (jm_PREREQ): Use it here.
5462
5463 1998-03-23  Jim Meyering  <meyering@eng.ascend.com>
5464
5465         * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
5466         in acconfig.h.
5467
5468 1998-03-15  Jim Meyering  <meyering@eng.ascend.com>
5469
5470         * prereq.m4: New file.
5471         * error.m4: New file.
5472         * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
5473
5474 1998-02-07  Jim Meyering  <meyering@eng.ascend.com>
5475
5476         * getline.m4: Don't set am_cv_func_working_getline before the
5477         cache-check for the same variable -- that defeated the purpose of
5478         the test; the test program was never run.  This was a problem only
5479         on systems with losing getline functions -- HP-UX 10.20 is one.
5480         Reported by Bjorn Helgaas.
5481
5482 1998-02-06  Jim Meyering  <meyering@eng.ascend.com>
5483
5484         * Makefile.am (EXTRA_DIST): Add perl.m4.
5485
5486 1998-01-10  Jim Meyering  <meyering@na-net.ornl.gov>
5487
5488         * Makefile.am (EXTRA_DIST): Add const.m4.
5489
5490         * const.m4: New file.  Use an initializer in this declaration
5491         typedef int charset[2]; const charset x;
5492         Reported by Bob Glickstein.
5493
5494 1997-12-21  Jim Meyering  <meyering@na-net.ornl.gov>
5495
5496         * chown.m4: Fix reversed types on -1 args to chown.
5497         From Kaveh Ghazi.
5498
5499 1997-12-14  Jim Meyering  <meyering@na-net.ornl.gov>
5500
5501         * check-decl.m4: s/DECLARATION_/DECL_/g.
5502         Add lseek and memchr.
5503
5504         * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
5505         T.E.Dickey <dickey@clark.net> said that some older preprocessors
5506         have a 20-character limit on names.
5507
5508 1997-11-30  Jim Meyering  <meyering@na-net.ornl.gov>
5509
5510         * inttypes_h.m4: New file.
5511         * uintmax_t.m4: New file.
5512         * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
5513
5514 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
5515   Free Software Foundation, Inc.
5516 Copying and distribution of this file, with or without modification,
5517 are permitted provided the copyright notice and this notice are preserved.