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