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