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