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