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