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