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