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