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