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