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