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