1 2006-08-23 Bruno Haible <bruno@clisp.org>
3 * lock.m4 (gl_LOCK_EARLY): Renamed from gl_LOCK.
4 (gl_LOCK_BODY): Remove gl_PREREQ_LOCK invocation.
7 2006-08-22 Eric Blake <ebb9@byu.net>
9 * stdint_h.m4 (gl_AC_HEADER_STDINT_H): Avoid compiler warning.
10 * inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise.
11 * longlong.m4 (AC_TYPE_LONG_LONG_INT): Likewise.
12 * intmax_t.m4 (gt_AC_TYPE_INTMAX_T): Likewise.
14 2006-08-22 Bruno Haible <bruno@clisp.org>
16 * readutmp.m4 (gl_READUTMP): Compile readutmp.c only if <utmp.h> or
19 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
21 * rijndael.m4 (gl_ARCFOUR):
22 * arctwo.m4 (gl_ARCTWO):
23 * check-version.m4 (gl_CHECK_VERSION):
26 * gc-pbkdf2-sha1.m4 (gl_GC_PBKDF2_SHA1):
28 * getdelim.m4 (gl_FUNC_GETDELIM):
29 * getline.m4 (gl_FUNC_GETLINE):
30 * getlogin_r.m4 (gl_GETLOGIN_R_SUBSTITUTE):
31 * hmac-md5.m4 (gl_HMAC_MD5):
32 * hmac-sha1.m4 (gl_HMAC_SHA1):
35 * pagealign_alloc.m4 (gl_PAGEALIGN_ALLOC):
36 * read-file.m4 (gl_FUNC_READ_FILE):
37 * readline.m4 (gl_FUNC_READLINE):
38 * rijndael.m4 (gl_RIJNDAEL):
39 Don't use AC_LIBSOURCES; instead, rely on the files in ../modules/
40 to get the necessary .h files and whatnot.
42 2006-08-21 Paul Eggert <eggert@cs.ucla.edu>
44 * mkdir-p.m4 (gl_MKDIR_PARENTS): Check for fchmod.
46 * argmatch.m4: New file, from coreutils with AC_LIBSOURCES removed.
47 * dev-ino.m4, same-inode.m4: Remove.
49 * _inttypes_h.m4 (gl_INTTYPES_H):
50 * acl.m4 (AC_FUNC_ACL):
51 * backupfile.m4 (gl_BACKUPFILE):
52 * c-strtod.m4 (gl_C99_STRTOLD):
53 * canon-host.m4 (gl_CANON_HOST):
54 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME):
55 * chdir-long.m4 (gl_FUNC_CHDIR_LONG):
56 * chdir-safer.m4 (gl_CHDIR_SAFER):
57 * cloexec.m4 (gl_CLOEXEC):
58 * close-stream.m4 (gl_CLOSE_STREAM):
59 * closeout.m4 (gl_CLOSEOUT):
60 * dirfd.m4 (gl_FUNC_DIRFD):
61 * dirname.m4 (gl_DIRNAME):
62 * exclude.m4 (gl_EXCLUDE):
63 * exitfail.m4 (gl_EXITFAIL):
64 * fcntl-safer.m4 (gl_FCNTL_SAFER):
65 * file-type.m4 (gl_FILE_TYPE):
66 * filemode.m4 (gl_FILEMODE):
67 * filenamecat.m4 (gl_FILE_NAME_CONCAT):
68 * fpending.m4 (gl_FUNC_FPENDING):
69 * fprintftime.m4 (gl_FPRINTFTIME):
70 * fts.m4 (gl_FUNC_FTS):
71 * getcwd.m4 (gl_FUNC_GETCWD_NULL):
72 * getdate.m4 (gl_GETDATE):
73 * gethrxtime.m4 (gl_GETHRXTIME):
74 * getpagesize.m4 (gl_GETPAGESIZE):
75 * getpass.m4 (gl_FUNC_GETPASS):
76 * gettime.m4 (gl_GETTIME):
77 * getugroups.m4 (gl_GETUGROUPS):
78 * glob.m4 (gl_GLOB_SUBSTITUTE):
79 * group-member.m4 (gl_FUNC_GROUP_MEMBER):
80 * hard-locale.m4 (gl_HARD_LOCALE):
82 * idcache.m4 (gl_IDCACHE):
83 * lchmod.m4 (gl_FUNC_LCHMOD):
84 * lchown.m4 (gl_FUNC_LCHOWN):
85 * long-options.m4 (gl_LONG_OPTIONS):
86 * lstat.m4 (gl_FUNC_LSTAT):
88 * memcasecmp.m4 (gl_MEMCASECMP):
89 * memcoll.m4 (gl_MEMCOLL):
90 * mempcpy.m4 (gl_FUNC_MEMPCPY):
91 * memrchr.m4 (gl_FUNC_MEMRCHR):
92 * memxor.m4 (gl_MEMXOR):
93 * mkancesdirs.m4 (gl_MKANCESDIRS):
94 * mkdir-p.m4 (gl_MKDIR_PARENTS):
95 * modechange.m4 (gl_MODECHANGE):
96 * mountlist.m4 (gl_MOUNTLIST):
97 * nanosleep.m4 (gl_FUNC_NANOSLEEP):
98 * openat.m4 (gl_FUNC_OPENAT):
99 * pathmax.m4 (gl_PATHMAX):
100 * physmem.m4 (gl_PHYSMEM):
101 * posixtm.m4 (gl_POSIXTM):
102 * posixver.m4 (gl_POSIXVER):
103 * quote.m4 (gl_QUOTE):
104 * quotearg.m4 (gl_QUOTEARG):
105 * readtokens.m4 (gl_READTOKENS):
106 * readutmp.m4 (gl_READUTMP):
107 * regex.m4 (gl_REGEX):
108 * safe-read.m4 (gl_SAFE_READ):
109 * safe-write.m4 (gl_SAFE_WRITE):
111 * save-cwd.m4 (gl_SAVE_CWD):
112 * savedir.m4 (gl_SAVEDIR):
113 * settime.m4 (gl_SETTIME):
115 * sig2str.m4 (gl_FUNC_SIG2STR):
116 * stat-macros.m4 (gl_STAT_MACROS):
117 * stat-time.m4 (gl_STAT_TIME):
118 * stdio-safer.m4 (gl_FOPEN_SAFER):
119 * stdlib-safer.m4 (gl_STDLIB_SAFER):
120 * strdup.m4 (gl_FUNC_STRDUP):
121 * strftime.m4 (gl_FUNC_GNU_STRFTIME):
122 * strndup.m4 (gl_FUNC_STRNDUP):
123 * strnlen.m4 (gl_FUNC_STRNLEN):
124 * strverscmp.m4 (gl_FUNC_STRVERSCMP):
125 * time_r.m4 (gl_TIME_R):
126 * timespec.m4 (gl_TIMESPEC):
127 * unistd-safer.m4 (gl_UNISTD_SAFER):
128 * unlinkdir.m4 (gl_UNLINKDIR):
129 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO):
130 * userspec.m4 (gl_USERSPEC):
131 * utimecmp.m4 (gl_UTIMECMP):
132 * utimens.m4 (gl_UTIMENS):
133 * xalloc.m4 (gl_XALLOC):
134 * xgetcwd.m4 (gl_XGETCWD):
135 * xnanosleep.m4 (gl_XNANOSLEEP):
136 * xreadlink.m4 (gl_XREADLINK):
137 * xstrtod.m4 (gl_XSTRTOD):
138 * yesno.m4 (gl_YESNO):
139 Don't use AC_LIBSOURCES; instead, rely on the files in ../modules/
140 to get the necessary .h files and whatnot.
142 2006-08-19 Bruno Haible <bruno@clisp.org>
145 * mbchar.m4 (gl_MBCHAR): Compile mbchar.c also if <wctype.h> doesn't
148 2006-08-20 Paul Eggert <eggert@cs.ucla.edu>
150 Remove files that are no longer needed by their respective modules.
151 * obstack.m4: Remove.
152 * strerror_r.m4: Remove.
153 * uint32_t.m4: Remove.
154 * uintptr_t.m4: Remove.
155 * ullong_max.m4: Remove.
156 * xstrtoimax.m4: Remove.
157 * xstrtoumax.m4: Remove.
159 * cycle-check.m4 (gl_CYCLE_CHECK): Do not require gl_AC_TYPE_UINTMAX_T,
160 gl_STRUCT_DEV_INO, or gl_SAME_INODE, since gnulib dependencies now
163 * cycle-check.m4 (gl_CYCLE_CHECK):
164 Do not use AC_LIBSOURCES, since gnulib modules now do this.
165 * fsusage.m4 (gl_FSUSAGE): Likewise.
166 * human.m4 (gl_HUMAN): Likewise.
167 * inttostr.m4 (gl_INTTOSTR): Likewise.
168 * xstrtol.m4 (gl_XSTRTOL): Likewise.
170 * filemode.m4 (gl_FILEMODE): Require AC_STRUCT_ST_DM_MODE.
172 * filemode.m4 (gl_PREREQ_FSUSAGE_EXTRA): Do not require
173 gl_AC_TYPE_INTMAX_T or gl_AC_TYPE_UINTMAX_T, since we now require
175 * human.m4 (gl_HUMAN): Likewise.
176 * inttostr.m4 (gl_PREREQ_INTTOSTR): Likewise.
177 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Likewise.
178 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Likewise.
179 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Likewise.
180 * xstrtol (gl_XSTRTOL): Likewise.
182 * gethrxtime.m4 (gl_XTIME): gl_AC_TYPE_LONG_LONG ->
183 AC_TYPE_LONG_LONG_INT.
184 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Likewise.
185 * strtoll.m4 (gl_FUNC_STRTOLL): Likewise.
186 * strtoull.m4 (gl_FUNC_STRTOULL): Likewise, for unsigned long.
187 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Likewise.
189 * human.m4 (gl_HUMAN): Do not require AM_STDBOOL_H since we depend
192 * xstrtol.m4 (gl_PREREQ_XSTRTOL_H, gl_PREREQ_XSTRTOL): Remove.
193 (gl_PREREQ_XSTRTOUL): Remove.
195 * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Check for hasmntopt.
197 * posixver.m4: Fix comment since head -1 now works even in POSIX mode.
199 2006-08-18 Paul Eggert <eggert@cs.ucla.edu>
200 Bruno Haible <bruno@clisp.org>
202 * bison-i18n.m4 (BISON_I18N): Also handle the case where yacc exists
203 and is a script that invokes bison. Tighten the code. Add comments.
205 2006-08-18 Bruno Haible <bruno@clisp.org>
207 * bison-i18n.m4: New file, from bison.
209 2006-08-18 Bruno Haible <bruno@clisp.org>
211 * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Also check for
212 sys/statvfs.h. When getmntinfo was found, check its declaration and
213 set either MOUNTED_GETMNTINFO or MOUNTED_GETMNTINFO2 depending on it.
215 2006-08-18 Jim Meyering <jim@meyering.net>
217 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Also check for CLOCK_REALTIME,
218 since gethrxtime may revert to using clock_gettime via gettime.c.
219 Gabor Z. Papp reported that gethrxtime-using programs failed to
220 link due to unresolved clock_gettime on a linux-2.4.x system.
222 2006-08-17 Paul Eggert <eggert@cs.ucla.edu>
224 Update from coreutils.
226 2006-08-15 Jim Meyering <jim@meyering.net>
228 * openat.m4 (gl_FUNC_OPENAT): Add at-func.c via AC_LIBSOURCES.
230 2006-01-17 Jim Meyering <jim@meyering.net>
232 * fts.m4 (gl_FUNC_FTS_CORE): Depend on gl_FUNC_OPENAT.
234 2006-01-11 Jim Meyering <jim@meyering.net>
236 * openat.m4 (gl_FUNC_OPENAT): Require and compile fchmodat.c.
237 Check for the lchmod function.
239 2006-08-11 Bruno Haible <bruno@clisp.org>
241 * wcwidth.m4 (gl_FUNC_WCWIDTH): Include <stdio.h> and <time.h> before
242 <wchar.h>. Needed for OSF/1 and BSD/OS.
244 2006-08-10 Jim Meyering <jim@meyering.net>
246 * cycle-check.m4: New file.
247 Require gl_STRUCT_DEV_INO and gl_SAME_INODE.
248 * dev-ino.m4, same-inode.m4: New files.
250 2006-08-09 Paul Eggert <eggert@cs.ucla.edu>
252 * argp.m4 (gl_ARGP): Require AC_C_RESTRICT.
253 * gc.m4 (gl_PREREQ_GC): Likewise.
254 * glob.m4 (gl_PREREQ_GLOB): Likewise.
255 * inet_ntop.m4 (gl_PREREQ_INET_NTOP): Likewise.
256 * inet_pton.m4 (gl_PREREQ_INET_PTON): Likewise.
257 * memxor.m4 (gl_MEMXOR): Likewise.
258 * restrict.m4: Remove; no longer needed. All remaining uses of
259 gl_C_RESTRICT replaced by AC_C_RESTRICT.
261 Merge from coreutils.
262 * regex.m4 (gl_PREREQ_REGEX): Require AC_C_RESTRICT, not
263 gl_C_RESTRICT, now that we assume Autoconf 2.59 or later.
264 * strtok_r.m4 (gl_FUNC_STRTOK_R): Likewise.
265 * time_r.m4 (gl_TIME_R): Likewise.
267 2006-07-31 Bruno Haible <bruno@clisp.org>
269 * localcharset.m4 (gl_LOCALCHARSET): Remove tests for <stddef.h>,
270 <stdlib.h>, <string.h>.
272 2006-07-30 Bruno Haible <bruno@clisp.org>
274 * wcwidth.m4 (gl_FUNC_WCWIDTH): Assume <string.h> exists.
276 2006-07-28 Simon Josefsson <jas@extundo.com>
278 * netinet_in_h.m4: New file.
280 2006-07-28 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
282 * inet_pton.m4, inet_ntop.m4: Check for netinet/in.h too.
284 2006-07-28 Bruno Haible <bruno@clisp.org>
286 * mbchar.m4 (gl_MBCHAR): Also test for iswcntrl.
288 2006-07-27 Bruno Haible <bruno@clisp.org>
290 * stdint.m4 (gl_STDINT_H): Define __STDC_CONSTANT_MACROS during the
293 2006-07-26 Eric Blake <ebb9@byu.net>
295 * unistd-safer.m4 (gl_UNISTD_SAFER): Check for missing pipe.
297 2006-07-26 Bruno Haible <bruno@clisp.org>
299 * stdint.m4 (gl_STDINT_H): Also verify the existence of the macros
300 INT*_MIN, INT_LEAST*_MAX, INT_LEAST*_MIN, UINT_LEAST*_MAX,
301 INT_FAST*_MIN, INTPTR_MIN.
303 2006-07-25 Bruno Haible <bruno@clisp.org>
305 * stdint.m4 (gl_INTEGER_TYPE_SUFFIX): Avoid 'eval' in front of complex
308 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
310 * stdio-safer.m4 (gl_FOPEN_SAFER, gl_TMPFILE_SAFER): New macros.
311 (gl_STDIO_SAFER): Remove.
313 2006-07-24 Bruno Haible <bruno@clisp.org>
315 * tmpdir.m4: New file, from GNU gettext.
317 2006-07-23 Eric Blake <ebb9@byu.net>
319 * stdio-safer.m4 (gl_STDIO_SAFER): Add tmpfile-safer.c.
321 2006-07-22 Paul Eggert <eggert@cs.ucla.edu>
323 * close-stream.m4: New file.
325 2006-07-22 Bruno Haible <bruno@clisp.org>
327 Merge from GNU gettext 0.15.
329 2006-03-25 Bruno Haible <bruno@clisp.org>
331 * lib-link.m4 (AC_LIB_LINKFLAGS_FROM_LIBS): New macro.
333 2006-07-21 Bruno Haible <bruno@clisp.org>
335 * javacomp.m4 (gt_JAVACOMP): Convert target_version "null" to
338 2006-05-09 Bruno Haible <bruno@clisp.org>
340 * javacomp.m4 (gt_JAVACOMP): On Cygwin, set
341 CLASSPATH_SEPARATOR to a semicolon. Use CLASSPATH_SEPARATOR
342 for the conftestver execution.
344 2006-05-01 Bruno Haible <bruno@clisp.org>
346 * javacomp.m4 (gt_JAVACOMP): Accept a source-version and an
347 optional target-version argument. Verify that the compiler
348 groks source of the specified source-version, or add -source
349 option as necessary. Verify that the compiler produces
350 bytecode in the specified target-version, or add -target and
351 -source options as necessary. Make the result of the test
352 available as variable CONF_JAVAC. Also log error output in
355 2006-03-11 Bruno Haible <bruno@clisp.org>
357 * javacomp.m4 (gt_JAVACOMP): Treat gcj-4.x like gcj-3.x.
359 2006-05-09 Bruno Haible <bruno@clisp.org>
361 * javaexec.m4 (gt_JAVAEXEC): On Cygwin, set
362 CLASSPATH_SEPARATOR to a semicolon.
364 2006-03-12 Bruno Haible <bruno@clisp.org>
366 * javaexec.m4 (gt_JAVAEXEC): Make the result of the test
367 available as variable CONF_JAVA, for subsequent autoconf
368 tests. Also log error output in config.log.
370 2006-07-19 Bruno Haible <bruno@clisp.org>
372 * getline.m4 (AM_FUNC_GETLINE): When cross-compiling, assume
373 that getline works on glibc2 systems. Needed to avoid trouble
375 Reported by Nils Magnus Larsgard <nmlarsgaard@atmel.no>.
377 2005-12-04 Bruno Haible <bruno@clisp.org>
379 * csharpexec.m4 (gt_CSHARPEXEC): Add support for 'clix'
382 2005-12-04 Bruno Haible <bruno@clisp.org>
384 * csharpcomp.m4 (gt_CSHARPCOMP): Also set CSHARPCOMPFLAGS.
386 2006-07-22 Bruno Haible <bruno@clisp.org>
388 * gettext.m4: Update from GNU gettext-0.15.
391 * inttypes-pri.m4: Likewise.
392 * inttypes-h.m4: Renamed from inttypes.m4.
393 (gl_HEADER_INTTYPES_H): Renamed from gt_HEADER_INTTYPES_H.
395 2006-07-17 Bruno Haible <bruno@clisp.org>
397 * gl_list.m4: New file.
399 2006-07-16 Paul Eggert <eggert@cs.ucla.edu>
401 * mkancesdirs.m4: New file.
402 * mkdir-p.m4 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h.
403 Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed.
404 Require gl_FUNC_LCHOWN, since dirchownmod.c needs it.
406 2006-07-11 Eric Blake <ebb9@byu.net>
408 * absolute-header.m4: Fix comments to match recent change.
410 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
412 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Like today's change
415 2006-07-10 Derek R. Price <derek@ximbiot.com>
416 and Paul Eggert <eggert@cs.ucla.edu>
418 * backupfile.m4, d-ino.m4, d-type.m4, dirfd.m4, fts.m4, getcwd.m4:
420 Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN
421 macros into the GNU _D_EXACT_NAMLEN.
423 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
425 * stdint.m4 (gl_STDINT_H): Like yesterday's change to
426 absolute-header.m4. Also, set ABSOLUTE_STDINT_H to a string
427 "no/such/file/stdint.h" when there is no such file, so that
428 the resulting C code can be parsed by dodgy compilers.
429 Problems reported by Bob Proulx.
431 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
433 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
434 around the absolute name, to work around a problem with the HP-UX
435 11.23 native C compiler, reported by Bob Proulx.
437 2006-07-09 Jim Meyering <jim@meyering.net>
439 * glob.m4: Remove a doubled word in a comment.
441 2006-07-08 Jim Meyering <jim@meyering.net>
443 * link-follow.m4: Remove one of two adjacent "whether"s in a comment.
444 * getopt.m4: Remove one of two adjacent "your"s in a comment.
445 * regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment.
447 2006-07-06 Derek R. Price <derek@ximbiot.com>
448 and Paul Eggert <eggert@cs.ucla.edu>
450 * backupfile.m4 (gl_BACKUPFILE): Check for dirent.h, instead
451 of invoking obsolescent AC_HEADER_DIRENT macro.
452 * d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
453 * d-type.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Likewise.
454 * dirfd.m4 (gl_FUNC_DIRFD): Likewise.
455 * fts.m4 (gl_FUNC_FTS_CORE): Likewise.
456 * getcwd.m4 (gl_PREREQ_GETCWD): Likewise.
457 * glob.m4 (gl_PREREQ_GLOB): Likewise.
458 * savedir.m4 (gl_SAVEDIR): Likewise.
459 * readdir.m4: Remove; no longer needed.
461 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
463 * _inttypes_h.m4 (gl_INTTYPES_H): Use AC_CHECK_DECLS_ONCE
464 with only one argument, for Autoconf 2.60.
465 * fileblocks.m4 (gl_PREREQ_FILEBLOCKS): AC_CHECK_DECLS_ONCE may
466 expand to nothing, so add a shell command to avoid syntax error.
467 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
469 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
471 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't check for getenv decl;
472 no longer needed. Check for isblank decl.
473 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Don't check for getenv decl.
474 * regex.m4 (gl_PREREQ_REGEX): Dheck for isblank decl instead
477 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
479 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Use AC_CHECK_DECLS_ONCE
480 rather than AC_CHECK_DECLS for strtoimax and strtoumax.
481 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed.
483 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
484 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
485 * exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer needed.
486 * getdate.m4 (gl_GETDATE): Likewise.
487 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
488 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
489 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
490 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
491 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
492 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
493 * exclude.m4 (gl_EXCLUDE): Don't require AC_C_INLINE; no longer
496 2006-07-05 Derek R. Price <derek@ximbiot.com>
498 * calloc.m4 (_AC_FUNC_CALLOC_IF): Don't require AC_HEADER_STDC;
500 * exclude.m4 (gl_EXCLUDE): Likewise.
501 * getdate.m4 (gl_GETDATE): Likewise.
502 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
503 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
504 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
505 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
506 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
508 2006-07-05 Eric Blake <ebb9@byu.net>
510 * sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
511 to avoid 'header present but could not be compiled' on cygwin.
513 2006-07-03 Bruno Haible <bruno@clisp.org>
515 * strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, check whether
516 the function exists, before testing against AIX.
517 Reported by Martin Lambers <marlam@marlam.de>.
519 2006-07-04 Paul Eggert <eggert@cs.ucla.edu>
521 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
522 to the absolute name, not just one, to bypass Sun C 5.8's
523 "warning: #include of /usr/include/... may be non-portable".
525 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
527 * absolute-header.m4: Renamed from full-header-path.m4.
528 This is to keep the terminology clean; POSIX talks about
529 "absolute pathnames", not "full pathnames", but the GNU
530 Coding Standards say to use "path" for something else;
531 so use "absolute" to keep both sides happy.
532 (gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
533 Set gl_absolute_header, not gl_full_header_path.
534 Set gl_cv_absolute_<header>, not gl_full_path_<header>.
535 Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
538 Merge from coreutils.
540 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
542 * c-strtod.m4 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
543 Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
544 want to require the building of c-strtod.o.
545 * lib-check.m4 (cu_LIB_CHECK): Remove SEQ_LIBM, since seq no longer
547 * xstrtod.m4 (gl_XSTRTOLD): New macro.
549 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
551 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
552 --as-needed option if available. Problem reported by Albert Chin in
553 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
554 However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
555 cc merely issues a bunch of annoying warnings for --as-needed
556 (this problem was reported by Bob Proulx). Also, try linking with
557 -lm to detect a bug in binutils 2.16 (this problem was reported
560 2006-06-18 Jim Meyering <jim@meyering.net>
562 Test for a bug that causes glibc's getcwd to suffer a failed assertion.
563 * getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
564 * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
565 also check for glibc-2.4's abort-inducing bug.
567 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
568 Low-probability clean-up should be to use rmdir to get rid of
569 the just-created directory, not unlink.
571 * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
572 configure fail, and request a bug report to inform us about it.
573 Add a comment that, barring reports to the contrary, in 2007 we'll
574 assume ftruncate is universally available.
576 2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
578 * filemode.m4 (gl_FILEMODE): Check for strmode declaration.
580 2006-03-12 Jim Meyering <jim@meyering.net>
582 * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.
583 * cycle-check.m4 (gl_CYCLE_CHECK): Likewise.
584 * same.m4 (gl_SAME): Likewise.
585 * root-dev-ino.m4 (gl_ROOT_DEV_INO): Likewise.
587 2006-03-11 Eric Blake <ebb9@byu.net>
589 * double-slash-root.m4: New file, provides gl_DOUBLE_SLASH_ROOT.
590 * dirname.m4 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
591 * dos.m4 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
592 (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
594 2006-07-02 Eric Blake <ebb9@byu.net>
596 * wcwidth.m4 (gl_FUNC_WCWIDTH): Simplify by using AC_CHECK_DECLS.
598 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
600 * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
601 test cases, so that config.log is a bit easier to follow.
603 2006-07-01 Paul Eggert <eggert@cs.ucla.edu>
605 * longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60,
606 but fix a bug, by requiring at least 64 bits.
607 * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
608 * longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call
609 AC_TYPE_LONG_LONG_INT. This macro is obsolete and will go soon.
610 * ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise.
612 * stdint.m4 (gl_STDINT_H): Rewrite to accommodate stdint_.h
613 changes. Make 2.59 a prerequisite. Check and substitute for
614 HAVE_LONG_LONG_INT. Rely on Autoconf to check for stdint.h and
615 inttypes.h. Do not use special include files; just use the
616 defaults. Check for sys/inttypes.h and sys/bitypes.h in the usual
617 way now. Remove no-longer-needed tests for HAVE_LONG_64BIT,
618 HAVE_LONG_LONG_64BIT, int8_t, int16_t, int32_t, int64_t, uint8_t,
619 uint16_t, uint32_t uint64_t, int_least8_t, int_least16_t,
620 int_least32_t, int_least64_t, uint_least8_t, uint_least16_t,
621 uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t,
622 int_fast32_t, int_fast64_t, uint_fast8_t uint_fast16_t,
623 uint_fast32_t, uint_fast64_t, intptr_t, uintptr_t, intmax_t,
624 uintmax_t, INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX,
625 UINT16_MAX, INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN,
626 INT64_MAX, UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX,
627 UINT_LEAST8_MAX, INT_LEAST16_MIN, INT_LEAST16_MAX,
628 UINT_LEAST16_MAX, INT_LEAST32_MIN, INT_LEAST32_MAX,
629 UINT_LEAST32_MAX, INT_LEAST64_MIN, INT_LEAST64_MAX,
630 UINT_LEAST64_MAX, INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX,
631 INT_FAST16_MIN, INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN,
632 INT_FAST32_MAX, UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX,
633 UINT_FAST64_MAX, INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN,
634 INTMAX_MAX, UINTMAX_MAX, PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN,
635 SIG_ATOMIC_MAX, SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN,
636 WINT_MAX. Check for C99 conformance more strictly, by detecting
637 bugs in glibc 2.4, Solaris 10, and OpenBSD 3.9. On the other hand do
638 not check for things that C99 does not require, e.g., int8_t. If
639 a test isn't needed unless <stdint.h> isn't working, and is
640 unlikely to be needed for any other reason, then don't do it
641 unless <stdint.h> isn't working. Do not check for ptrdiff_t or
642 size_t, since we assume C89 freestanding at least. Do not check
643 for sig_atomic_t, wchar_t, or wint_t, since the code now does
644 the right thing even if the types are not defined. Instead use:
645 (gl_STDINT_TYPE_PROPERTIES): New macro.
646 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H): Remove. Don't bother
647 testing whether <sys/types.h> clashes, as Autoconf does this for
648 us now. All uses removed.
649 (gl_STDINT_CHECK_TYPES, gl_STDINT_MISSING_BOUND):
650 (gl_STDINT_MISSING_BOUNDS, gl_STDINT_MISSING_BOUNDS2):
651 (gl_CHECK_TYPE_SAME):
652 Remove; no longer needed.
653 (gl_STDINT_BITSIZEOF): Don't bother to check whether the type
654 exists, since we'll return 0 anyway in that case.
655 (gl_INTEGER_TYPE_SUFFIX, gl_STDINT_INCLUDES): New macros.
657 2006-07-01 Eric Blake <ebb9@byu.net>
659 * stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.
661 2006-07-01 Eric Blake <ebb9@byu.net>
663 * stdarg.m4 (gl_STDARG_H): Use proper AH_VERBATIM.
664 Reported by Andreas Buening.
666 2006-06-29 Eric Blake <ebb9@byu.net>
668 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Use AC_C_INLINE.
670 2006-06-29 Eric Blake <ebb9@byu.net>
672 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): New file.
674 2006-06-29 Derek R. Price <derek@ximbiot.com>
676 * strftime.m4: Don't call AC_FUNC_STRFTIME.
678 2006-06-29 Derek R. Price <derek@ximbiot.com>
680 * c-bs-a.m4: Removed.
682 2006-06-28 Derek R. Price <derek@ximbiot.com>
684 * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
686 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
688 * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
690 2006-06-28 Bruno Haible <bruno@clisp.org>
692 * wcwidth.m4 (gl_FUNC_WCWIDTH): Also require AC_C_INLINE and
695 2006-06-28 Eric Blake <ebb9@byu.net>
697 * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
698 * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
700 2006-06-28 Simon Josefsson <jas@extundo.com>
702 * getaddrinfo.m4: Look for getnameinfo prototypes too.
704 2006-06-27 Simon Josefsson <jas@extundo.com>
706 * sys_select_h.m4: New file, suggested by Bruno Haible, Paul
707 Eggert and Martin Lambers.
709 2006-06-27 Bruno Haible <bruno@clisp.org>
711 * stdint.m4 (gl_STDINT_BITSIZEOF): For nonexistent types, set the
712 result to 0, not to empty.
713 Reported by Martin Neitzel <neitzel@sco.gaertner.de>.
715 2006-06-26 Bruno Haible <bruno@clisp.org>
717 * stdint.m4 (gl_STDINT_H): Test also for <wchar.h>.
719 2006-06-26 Bruno Haible <bruno@clisp.org>
721 * stdint.m4 (gl_STDINT_H): Don't include <stdint.h> when using the
722 SGI C compiler in pre-C99 mode.
723 Suggested by Mark D. Baushke and Larry Jones.
725 2006-06-23 Mark D. Baushke <mdb@gnu.org>
727 * stdint.m4 (gl_STDINT_H): Treat BSD/OS like OpenBSD.
729 2006-06-26 Simon Josefsson <jas@extundo.com>
731 * inet_ntop.m4: Don't check for sys/types.h, we assume it is
734 2006-06-23 Bruno Haible <bruno@clisp.org>
736 * stdint.m4 (gl_STDINT_H): Treat IRIX like OpenBSD.
738 2006-06-22 Simon Josefsson <jas@extundo.com>
740 * sockpfaf.m4: Include winsock2.h too, to make it work under
743 2006-06-21 Simon Josefsson <jas@extundo.com>
745 * getaddrinfo.m4: Don't define WINVER. Look for gethostbyname in
746 -lws2_32 too. Fixes getaddrinfo on Windows 2000, with the price
747 of using the (limited) gnulib implementation on Windows XP.
749 * inet_pton.m4: New file.
751 2006-06-19 Bruno Haible <bruno@clisp.org>
753 * stdint.m4 (gl_STDINT_H): Enclose the values of FULL_PATH_STDINT_H
754 and FULL_PATH_INTTYPES_H in angle brackets.
755 Reported by Mark D. Baushke <mdb@gnu.org>.
757 2006-06-17 Bruno Haible <bruno@clisp.org>
759 * stdint.m4 (gl_STDINT_H) [FreeBSD >= 5]: Don't include
762 2006-06-16 Eric Blake <ebb9@byu.net>
764 * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
767 2006-06-17 Bruno Haible <bruno@clisp.org>
769 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
770 whether errno is declared. Assume <errno.h> declares errno.
772 2006-06-15 Bruno Haible <bruno@clisp.org>
774 * stdint.m4 (gl_STDINT_H): Rewritten to produce a complete stdint.h.
775 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H, gl_STDINT_CHECK_TYPES,
776 gl_STDINT_MISSING_BOUND, gl_STDINT_MISSING_BOUNDS,
777 gl_STDINT_MISSING_BOUNDS2, gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED,
778 gl_CHECK_TYPE_SAME): New macros.
780 2006-06-15 Bruno Haible <bruno@clisp.org>
782 * size_max.m4 (gl_SIZE_MAX): Make it work also when cross-compiling.
784 2006-06-15 Eric Blake <ebb9@byu.net>
786 * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
788 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
789 Bruno Haible <bruno@clisp.org>
791 * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
792 check for the declaration of strnlen and a run test that exposes the
793 AIX 5.1 strnlen bug. In the failure case, #define strndup to
796 2006-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
798 * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
799 compile test, for Tru64 4.0D.
801 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
803 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
804 gl_ rather than jm_. Link, don't run, so that cross-compiles are
805 allowed. Check that resulting type is arithmetic. Move AC_REQUIRE
806 and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
807 not really conditional on the cache.
808 (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
810 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
812 * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
813 test for C99 conformance; (bool) 0.5 is an integer constant
814 expression, but (bool) -0.5 is not. Problem reported by Fedor
815 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
817 2006-05-11 Simon Josefsson <jas@extundo.com>
819 * xvasprintf.m4: Fix obvious typo.
821 2006-05-09 Bruno Haible <bruno@clisp.org>
823 * xvasprintf.m4: New file.
825 2006-05-08 Bruno Haible <bruno@clisp.org>
827 * stdarg.m4: New file, from GNU gettext.
829 2006-05-05 Jim Meyering <jim@meyering.net>
831 * warning.m4: New file, derived from bison's file by the same name.
833 2006-05-02 Bruno Haible <bruno@clisp.org>
835 * full-header-path.m4 (gl_FULL_HEADER_PATH): Move the include_next
837 * _inttypes_h.m4 (gl_INTTYPES_H): ... to here.
839 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
841 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
842 to define main with arguments, for C++. Reported by Eric Blake.
843 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
844 Prefer 'int main ()' to 'int main (void)', for C++.
845 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
846 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
847 for 'main', for C99 and C++.
849 2006-04-23 Bruno Haible <bruno@clisp.org>
851 * poll.m4 (gl_FUNC_POLL): Rearrange code, so that POLL_H gets
852 assigned exactly once.
854 2006-04-23 Bruno Haible <bruno@clisp.org>
856 * poll.m4 (gl_FUNC_POLL): When cross-compiling, reject also the poll()
857 implementation in AIX.
858 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
860 2006-03-04 Eric Blake <ebb9@byu.net>
862 * strerror_r.m4 (AC_FUNC_STRERROR_R): Avoid unused variable warning.
864 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
866 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
867 Don't assume that exit status -1 is valid.
868 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
869 * putenv.m4 (gl_FUNC_PUTENV): Likewise.
870 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
871 * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
872 * rename.m4 (vb_FUNC_RENAME): Likewise.
873 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
874 not AC_TRY_RUN. Use return, not exit. Don't assume that
875 functions can be used without declaring them, or that you can
877 * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
879 2006-04-20 Bruno Haible <bruno@clisp.org>
881 * argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
882 one argument, so that the code will be portable to Autoconf 2.60.
883 * getlogin_r.m4 (gl_PREREQ_GETLOGIN_R): Likewise.
884 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
885 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
887 2006-04-19 Derek Price <derek@ximbiot.com>
888 Eric Blake <ebb9@byu.net>
890 * full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
891 than "/full/path.h". Update comment to match. Shorten & generalize
892 m4_translit call via AS_TR_CPP.
894 2006-04-18 Derek Price <derek@ximbiot.com>
895 Paul Eggert <eggert@cs.ucla.edu>
897 * _inttypes_h.m4, full-header-path.m4, include_next: New files.
899 2006-04-11 Paul Eggert <eggert@cs.ucla.edu>
901 * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
903 2006-04-09 Paul Eggert <eggert@cs.ucla.edu>
905 * regex.m4 (gl_REGEX): Check for new glibc interface to
908 2006-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
910 * argz.m4 (gl_FUNC_ARGZ): If we define `error_t', also define
911 `__error_t_defined', so argp.h will not typedef the former.
913 2006-03-25 Paul Eggert <eggert@cs.ucla.edu>
915 * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
916 REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
917 glibc names. Even if glibc is changed to conform to POSIX, the
918 traditional names will be available anyway, since regex depends on
919 the extensions module. Also, fix a longstanding typo in the
920 implementation of Spencer ERE test #75 from grep 2.3. Problems
921 reported by Emanuele Giaquinta. Also, change sense of cached
922 variable, so that the message makes sense.
924 2006-03-17 Jim Meyering <jim@meyering.net>
926 * regex.m4 (gl_REGEX): Fix typo in last change:
927 s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
929 2006-03-16 Paul Eggert <eggert@cs.ucla.edu>
931 * regex.m4 (gl_REGEX): Don't check for off_t, since the code
932 no longer needs it. Instead, check that regoff_t is as least
933 as wide as ptrdiff_t.
935 Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
936 so that our regex.h stays compatible with the installed regex.
937 This is helpful for installers who configure --without-included-regex.
938 Problem reported by Emanuele Giaquinta.
940 2006-03-15 Eric Blake <ebb9@byu.net>
942 * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
944 2006-03-08 Simon Josefsson <jas@extundo.com>
946 * gc-random.m4: Permit 'no' as variable values and fix warnings,
947 suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
949 2006-03-08 Simon Josefsson <jas@extundo.com>
951 * gc-random.m4: Call AC_CANONICAL_HOST and use $host_os instead of
952 $target, suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
954 2006-03-07 Paul Eggert <eggert@cs.ucla.edu>
956 * unistd_h.m4 (gl_HEADER_UNISTD): Rename, to match modules file.
957 Problem reported by Juan Manuel Guerrero.
959 2006-03-07 Simon Josefsson <jas@extundo.com>
961 * unistd_h.m4: New file.
963 2006-03-07 Simon Josefsson <jas@extundo.com>
965 * readline.m4 (gl_FUNC_READLINE): Rewrite the cached part of the
966 test to be side-effect free by storing the result in the cache
967 variable gl_cv_lib_readline, and moving the assignment of
968 LIBREADLINE and LTLIBREADLINE outside the COMMANDS-TO-SET-IT.
969 From Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
971 2006-03-07 Simon Josefsson <jas@extundo.com>
973 * gc-random.m4: New file, mostly from gc.m4. Warn instead of
974 error on missing devices (the functions will return an error).
976 * gc.m4: Move random stuff to gc-random.m4
978 2006-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
980 * poll.m4 (gl_FUNC_POLL): If we deem poll(2) unacceptable, use
981 our replacement poll.h in any case, to avoid a differing
982 declaration from a system header. Seen on AIX.
984 2006-03-01 Paul Eggert <eggert@cs.ucla.edu>
986 * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
987 not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
989 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
990 * timespec.m4 (gl_TIMESPEC): Likewise.
992 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
993 not "==". Reported by Ralf Wildenhues.
995 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
998 * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
1001 2006-02-22 Jim Meyering <jim@meyering.net>
1003 Sync from coreutils.
1004 * chdir-safer.m4: New file.
1006 2006-02-17 Eric Blake <address@hidden>
1008 * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
1010 2006-02-15 Eric Blake <ebb9@byu.net>
1012 * sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using
1013 winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes
1014 'present but cannot compile' warnings on cygwin.
1015 * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET. Don't
1016 use ws2tcpip.h if sys/socket.h works.
1017 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_HEADER_SYS_SOCKET.
1018 (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is present.
1020 2006-02-14 Jim Meyering <jim@meyering.net>
1022 Sync from coreutils.
1023 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
1024 unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
1025 gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
1026 variable, to accommodate the rare case in which getmntent is
1027 available in none of the libraries checked. This happens at
1028 least on FreeBSD 5.0.
1030 2006-02-05 Paul Eggert <eggert@cs.ucla.edu>
1032 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
1033 __EXTENSIONS__ if this causes compilation to fail. Problem
1034 reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
1035 c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
1037 2006-01-25 Simon Josefsson <jas@extundo.com>
1039 * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
1040 -lws2_32. Protect sys/socket.h and netdb.h #include's. Include
1041 ws2tcpip.h with WINVER=0x0501. All for mingw32.
1043 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
1045 * stdbool.m4 (AC_HEADER_STDBOOL): Check for xlc bug if __GCC__ too,
1046 so that we test the test.
1047 Check for yet another HP-UX cc bug involving *bool |= bool.
1049 2006-01-24 Bruno Haible <bruno@clisp.org>
1051 * stdbool.m4 (AC_HEADER_STDBOOL): Check for IBM and HP-UX bugs.
1052 Patch by Paul Eggert.
1054 2006-01-24 Jim Meyering <jim@meyering.net>
1056 * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
1057 Reported by Mark D. Baushke.
1059 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
1061 * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
1063 2006-01-20 Paul Eggert <eggert@cs.ucla.edu>
1065 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
1066 rather than -Xlinker -z -Xlinker ignore, as it's more portable.
1067 Suggested by Bruno Haible.
1069 2006-01-19 Simon Josefsson <jas@extundo.com>
1071 * socklen.m4: Look in ws2tcpip.h too, for mingw32.
1073 2006-01-16 Paul Eggert <eggert@cs.ucla.edu>
1075 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
1076 it's not portable and it doesn't work with cross-compiles.
1077 Problem reported by Bruno Haible. Fix missing-$ typo in
1078 'test "gl_cv_ignore_unused_libraries" ...' that prevented
1079 -zignore from being used with Sun's C compiler.
1081 2006-01-12 Bruno Haible <bruno@clisp.org>
1085 2006-01-08 Bruno Haible <bruno@clisp.org>
1087 Ensure automatic ordering between gl_LOCK and gl_ARGP.
1088 * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK.
1089 (gl_LOCK): New macro, requiring gl_LOCK_BODY.
1091 2006-01-10 Jim Meyering <jim@meyering.net>
1093 * fpending.m4: Also include <stdio.h>, for Dragonfly.
1094 Patch by Joerg Sonnenberger.
1096 2006-01-10 Paul Eggert <eggert@cs.ucla.edu>
1098 * memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
1099 the 2002-12-31 change. Problem and fix reported by Bruno Haible.
1100 People who are still concerned with buggy memcmp implementations
1101 can invoke gl_FUNC_MEMCMP themselves.
1103 2006-01-10 Simon Josefsson <jas@extundo.com>
1105 * sys_socket_h.m4: New file.
1107 2006-01-10 Bruno Haible <bruno@clisp.org>
1109 * localcharset.m4 (gl_LOCALCHARSET): Also test for getc_unlocked.
1110 Reported by Werner Lemberg <wl@gnu.org>.
1112 2006-01-09 Paul Eggert <eggert@cs.ucla.edu>
1114 Sync from coreutils.
1115 * lib-ignore.m4: New file.
1116 * lchmod.m4: New file.
1118 2006-01-09 Jim Meyering <jim@meyering.net>
1120 Sync from coreutils.
1121 * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
1122 Require openat-priv.h.
1124 2006-01-09 Andreas Gruenbacher <agruen@suse.de>
1126 Sync from coreutils.
1127 * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
1129 2005-10-16 Bruno Haible <bruno@clisp.org>
1131 * stdint.m4 (gl_STDINT_H): Also test for <sys/bitypes.h>.
1133 2005-12-16 Jim Meyering <jim@meyering.net>
1135 * fprintftime.m4: New file.
1137 2005-12-10 Sergey Poznyakoff <gray@gnu.org.ua>
1139 * argp.m4: Define HAVE_DECL_PROGRAM_INVOCATION_NAME and
1140 HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
1142 2005-12-09 Sergey Poznyakoff <gray@gnu.org.ua>
1144 * argp.m4: Check if program_invocation_name and
1145 program_invocation_short_name are declared and define appropriate
1146 macros if they are not.
1148 2005-12-07 Paul Eggert <eggert@cs.ucla.edu>
1150 * stat-time.m4 (gl_STAT_TIME): Add check for
1151 TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
1152 porting problem reported by Georg Schwarz in
1153 <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
1155 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
1157 * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
1158 Use implementation from Albert Chin, with some
1159 comments/corrections by Stepan Kasal and myself.
1161 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
1163 * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
1164 statement, to work around an HP-UX 10.20 compiler bug reported by
1167 2005-11-10 Paul Eggert <eggert@cs.ucla.edu>
1169 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
1170 or gettimeofday; no longer needed.
1172 2005-10-30 Paul Eggert <eggert@cs.ucla.edu>
1174 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
1175 variables to suggest the intended function of the PATH_MAX check.
1177 2005-10-30 Kean Johnston <jkj@sco.com>
1179 Trivial changes to support SCO systems.
1180 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
1182 * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
1183 where __ptr is null when no I/O is pending.
1185 2005-10-28 Simon Josefsson <jas@extundo.com>
1187 * inet_ntop.m4: More tests.
1189 * gc-md2.m4, md2.m4: New file.
1191 2005-10-22 Simon Josefsson <jas@extundo.com>
1193 * gc.m4: Don't be fooled by --disable-*random-device parameters,
1194 suggested by Bruno Haible <bruno@clisp.org>. Fix error messages.
1196 2005-10-21 Simon Josefsson <jas@extundo.com>
1198 * gc.m4: Don't use libgcrypt if gcrypt.h isn't found, suggested by
1199 Bruno Haible <bruno@clisp.org>.
1201 * gc-des.m4: New file.
1203 2005-10-21 Simon Josefsson <jas@extundo.com>
1205 * arctwo.m4: New file.
1207 * gc-arctwo.m4: New file.
1209 2005-10-19 Simon Josefsson <jas@extundo.com>
1211 * gc-arcfour.m4: New file.
1213 * gc-rijndael.m4: New file.
1215 2005-10-19 Simon Josefsson <jas@extundo.com>
1217 * gc-hmac-md5.m4, gc-hmac-sha1.m4, gc-md4.m4,
1218 gc-md5.m4, gc-sha1.m4: Fix typo, suggested by Stepan Kasal
1221 2005-10-19 Simon Josefsson <jas@extundo.com>
1223 * gc-md4.m4: New file.
1225 2005-10-18 Simon Josefsson <jas@extundo.com>
1229 2005-10-17 Bruno Haible <bruno@clisp.org>
1231 * stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so that
1232 it can also be used in a test.
1234 2005-10-11 Simon Josefsson <jas@extundo.com>
1236 * md5.m4: Remove call to uint32_t.m4.
1238 2005-10-15 Simon Josefsson <jas@extundo.com>
1240 * rijndael.m4: New file.
1242 2005-10-14 Simon Josefsson <jas@extundo.com>
1244 * arcfour.m4: New file.
1246 2005-10-12 Bruno Haible <bruno@clisp.org>
1248 * stdbool.m4 (gl_STDBOOL_H): Define as an alias of AM_STDBOOL_H.
1249 Reported by Stepan Kasal <kasal@ucw.cz>.
1251 2005-10-12 Simon Josefsson <jas@extundo.com>
1253 * gc-pbkdf2-sha1.m4: New file.
1255 * gc-hmac-sha1.m4: New file.
1257 * gc-sha1: New file.
1259 * hmac-sha1.m4: New file.
1261 2005-10-12 Simon Josefsson <jas@extundo.com>
1263 * gc-md5.m4, gc-hmac-md5: New files.
1265 * gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5.
1267 2005-10-11 Simon Josefsson <jas@extundo.com>
1271 2005-10-07 Simon Josefsson <jas@extundo.com>
1273 * memxor.m4: Remove gl_C_RESTRICT call.
1275 2005-10-06 Paul Eggert <eggert@cs.ucla.edu>
1277 * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
1278 promotes to int, not unsigned int, to catch the AIX 5.3
1281 2005-10-06 Simon Josefsson <jas@extundo.com>
1283 * hmac-md5.m4: New file.
1285 * memxor.m4: Require gl_C_RESTRICT.
1287 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
1289 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for
1290 sys/socket.h, netdb.h, sys/types.h; the checks areno longer
1291 needed, since the source code now assumes these .h files.
1293 2005-10-05 Simon Josefsson <jas@extundo.com>
1295 * memxor.m4: New file.
1297 2005-10-02 Paul Eggert <eggert@cs.ucla.edu>
1299 Sync from coreutils.
1300 * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
1301 * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
1302 defines ULONG_MAX_LT_ULLONG_MAX. Thomas M.Ott reports that
1303 ULLONG_MAX doesn't work with 2.7.2.1.
1305 2005-10-02 Jim Meyering <jim@meyering.net>
1307 Sync from coreutils.
1308 * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
1309 from glibc-2.2.5 that fails for read-only files.
1311 2005-10-02 Alfred M. Szmidt <ams@gnu.org>
1313 Sync from coreutils.
1314 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
1315 against `yes', rather than just testing for nonempty.
1317 2005-10-01 Simon Josefsson <jas@extundo.com>
1319 * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
1322 * getaddrinfo.m4: Use AC_GNU_SOURCE, GNU only declare getaddrinfo
1323 as an (POSIX) extension. Check for sys/types.h, sys/socket.h, and
1324 netdb.h too, needed by getaddrinfo.h. Check if getaddrinfo,
1325 freeaddrinfo and gai_strerror are declared by the POSIX headers.
1326 Check if struct addrinfo is declared.
1328 2005-10-01 Jim Meyering <jim@meyering.net>
1330 Sync from coreutils.
1332 * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
1333 libraries [inet nsl socket xnet]. Nelson Beebe reported that with
1334 native cc on Solaris 7, getaddrinfo.c requires -lsocket.
1335 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
1336 in the inet and nsl libraries. Required on Solaris 5.7.
1338 2005-09-24 Jim Meyering <jim@meyering.net>
1340 Sync from coreutils.
1341 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
1342 in the inet and nsl libraries. Required on Solaris 5.7.
1344 2005-09-26 Bruno Haible <bruno@clisp.org>
1346 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
1347 mbchar.c if they are not both present.
1348 * mbfile.m4 (gl_MBFILE): Require gl_FUNC_MBRTOWC.
1349 * mbiter.m4 (gl_MBITER): Likewise.
1350 * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
1351 * strcasestr.m4 (gl_PREREQ_STRCASESTR): Likewise.
1352 * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
1354 2005-09-23 Paul Eggert <eggert@cs.ucla.edu>
1356 * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
1357 and similarly for the other external symbols. Problem reported
1360 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
1361 bug reported by Jim Meyering.
1363 * utimens.m4 (gl_UTIMENS): Check for futimesat.
1364 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
1365 not needed, since socklen is a prerequisite module.
1367 2005-09-23 Jim Meyering <jim@meyering.net>
1369 Sync from coreutils.
1370 Correct build failure (socklen_t not defined) on at least
1371 mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
1372 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
1374 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
1376 Sync from coreutils.
1377 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
1379 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
1381 Sync from coreutils.
1383 * backupfile.m4, calloc.m4, chown.m4, cloexec.m4, dup2.m4:
1384 * fileblocks.m4, free.m4, ftruncate.m4, getcwd.m4, getpagesize.m4:
1385 * getugroups.m4, group-member.m4, idcache.m4, link-follow.m4:
1386 * mkstemp.m4, mktime.m4, mountlist.m4, nanosleep.m4, pathmax.m4:
1387 * physmem.m4, posixver.m4, putenv.m4, safe-read.m4, same.m4:
1388 * save-cwd.m4, stdio-safer.m4, unistd-safer.m4, unlinkdir.m4:
1389 * userspec.m4, xgetcwd.m4, xreadlink.m4:
1390 Don't bother checking for string.h, stdlib.h, unistd.h.
1391 * fts.m4 (gl_FUNC_FTS_CORE): Don't require
1392 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
1394 * jm-macros.m4 (gl_MACROS): Likewise.
1395 * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
1397 * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
1398 (gl_GETDATE): Use it.
1400 * mkdir-p.m4 (gl_MKDIR_PARENTS): Don't bother checking for unistd.h.
1402 2005-09-22 Jim Meyering <jim@meyering.net>
1404 Sync from coreutils.
1406 * lstat.m4 (gl_FUNC_LSTAT):
1407 Use AC_LIBSOURCES to require lstat.c and lstat.h.
1408 Remove obsolete comment.
1409 * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
1410 * xstrtod.m4: Likewise.
1412 * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
1414 2005-09-19 Simon Josefsson <jas@extundo.com>
1416 * socklen.m4: Fix typo.
1418 2005-09-15 Paul Eggert <eggert@cs.ucla.edu>
1420 * st_mtim.m4: Remove. Superseded by...
1421 * stat-time.m4: New file.
1422 * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
1423 Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
1425 2005-09-15 Derek Price <derek@ximbiot.com>
1427 * strstr.m4 (gl_FUNC_STRSTR): Don't define strstr here.
1429 2005-09-12 Derek Price <derek@ximbiot.com>
1431 Make canon-host require getaddrinfo.
1432 * canon-host.m4 (gl_CANON_HOST): Remove most dependencies.
1433 AC_LIBSOURCE canon-host.h. Call...
1434 (gl_PREREQ_CANON_HOST): ...this new function, which requires
1436 * getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when needed.
1438 2005-09-12 Derek Price <derek@ximbiot.com>
1439 Paul Eggert <eggert@cs.ucla.edu>
1441 * glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c,
1442 glob_.h, glob-libc.h.
1443 (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed.
1445 2005-08-31 Simon Josefsson <jas@extundo.com>
1447 * socklen.m4: New file.
1449 2005-09-03 Derek Price <derek@ximbiot.com>
1451 * getlogin_r (gl_GETLOGIN_R): Fix cut & paste error.
1452 From Larry Jones <lawrence.jones@ugs.com>.
1454 2005-08-27 Bruno Haible <bruno@clisp.org>
1456 Support for lib vs. lib64 distinction on biarch platforms.
1457 * lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): New macro.
1458 (AC_LIB_PREFIX): Require it. Use $acl_libdirstem instead of 'lib'.
1459 * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
1461 2005-09-01 Jim Meyering <jim@meyering.net>
1463 * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
1464 CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
1465 Require gl_STAT_MACROS, too.
1467 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
1469 * regex.m4 (gl_REGEX): Require AC_SYS_LARGEFILE, Define
1470 _REGEX_LARGE_OFFSETS). Test for regoff_t/off_t bug in 64-bit
1471 and large-file glibc and in 32-bit large-file Solaris.
1473 2005-08-28 Bruno Haible <bruno@clisp.org>
1475 * gnulib-tool.m4: New file.
1477 2005-08-27 Jim Meyering <jim@meyering.net>
1479 * stdlib-safer.m4: New file. From coreutils.
1480 * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h.
1481 * fcntl-safer.m4 (gl_FCNTL_SAFER): Add creat-safer.c to the
1482 AC_LIBSOURCES list and arrange to compile it via AC_LIBOBJ.
1483 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise, add pipe-safer.c.
1484 Add pipe-safer.c and unistd--.h to the AC_LIBSOURCES list.
1486 2005-08-24 Simon Josefsson <jas@extundo.com>
1488 * getpass.m4: Check for termios.h, tcgetattr, tcsetattr, and
1491 2005-08-25 Stepan Kasal <kasal@ucw.cz>
1493 * regex.m4: Add AC_PREREQ(2.50).
1494 (gl_REGEX): If --with-included-regex was given, skip the autodetection.
1496 2005-08-25 Bruno Haible <bruno@clisp.org>
1498 * minmax.m4: Require autoconf 2.52.
1499 (gl_MINMAX_IN_HEADER): Add comments. Use m4_pushdef/m4_popdef instead
1500 of define/undefine. Use AS_TR_SH and AS_TR_CPP as more robust
1501 alternatives of translit over the alphabet.
1502 Based on a patch from Stepan Kasal <kasal@ucw.cz>.
1504 2005-08-24 Paul Eggert <eggert@cs.ucla.edu>
1506 * regex.m4 (gl_REGEX): Use POSIX-compliant spellings when testing
1507 for GNU regex features.
1509 2005-08-24 Jim Meyering <jim@meyering.net>
1511 Sync from coreutils.
1512 * fcntl-safer.m4: New file.
1514 * xgetcwd.m4: Use AC_LIBSOURCES and AC_LIBOBJ to indicate source
1515 and object files for this module.
1517 2005-08-23 Paul Eggert <eggert@cs.ucla.edu>
1519 * regex.m4 (gl_INCLUDED_REGEX): Remove; no longer used.
1520 All contents moved to gl_REGEX.
1521 (gl_REGEX): Don't bother checking whether lib/regex.c exists;
1522 assume that it does.
1524 2005-08-20 Bruno Haible <bruno@clisp.org>
1526 * regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
1528 2005-08-17 Bruno Haible <bruno@clisp.org>
1530 * strcasestr.m4: New file.
1532 2005-08-17 Bruno Haible <bruno@clisp.org>
1534 * strstr.m4 (gl_FUNC_STRSTR): Use the replacement function always.
1535 (gl_PREREQ_STRSTR): Use gl_FUNC_MBRTOWC.
1537 2005-08-16 Paul Eggert <eggert@cs.ucla.edu>
1539 * getopt.m4 (gl_GETOPT_CHECK_HEADERS): Do not override the results
1540 of gl_GETOPT_SUBSTITUTE. That way, if both gl_GETOPT_SUBSTITUTE
1541 and gl_GETOPT are both invoked via different paths (as happens
1542 with GNU tar CVS because it uses both argp and getopt), the former
1545 2005-08-16 Bruno Haible <bruno@clisp.org>
1547 * strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function always.
1548 (gl_PREREQ_STRCASECMP): Use gl_FUNC_MBRTOWC.
1550 2005-08-16 Bruno Haible <bruno@clisp.org>
1552 * mbfile.m4: New file.
1554 2005-08-16 Bruno Haible <bruno@clisp.org>
1556 * mbiter.m4: New file.
1558 2005-08-16 Bruno Haible <bruno@clisp.org>
1560 * mbchar.m4: New file.
1562 2005-08-16 Bruno Haible <bruno@clisp.org>
1564 * tls.m4: New file, from GNU gettext.
1566 2005-08-12 Bruno Haible <bruno@clisp.org>
1568 * readline.m4 (gl_FUNC_READLINE): Look for ncurses first.
1570 2005-08-12 Simon Josefsson <jas@extundo.com>
1572 * readline.m4: Look for termcap, curses or ncurses if required.
1574 2005-08-11 Simon Josefsson <jas@extundo.com>
1576 * readline.m4: New file.
1578 2005-08-10 Simon Josefsson <jas@extundo.com>
1580 * strnlen.m4: New file.
1582 * strndup.m4: Don't check for strnlen declaration, done in
1585 2005-08-10 Stepan Kasal <kasal@ucw.cz>
1587 * onceonly_2_57.m4: Really require Autoconf 2.57.
1589 2005-08-02 Simon Josefsson <jas@extundo.com>
1591 * getline.m4: Separate out getdelim stuff into separate module.
1593 * getdelim.m4: New file.
1595 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1597 Add support to getopt for Emacs, which doesn't use LIBOBJS in the
1599 * getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER): New macro.
1600 (gl_GETOPT_SUBSTITUTE): Use it. Invoke gl_PREREQ_GETOPT.
1601 (gl_GETOPT_IFELSE, gl_GETOPT_CHECK_HEADERS): New macros.
1602 (gl_GETOPT): Use the new macros. Most of the implementation
1603 is moved to the new macros. This is for programs like Emacs
1604 that don't want all the functionality of gl_GETOPT.
1606 2005-07-26 Bruno Haible <bruno@clisp.org>
1608 * lock.m4: Update from GNU gettext.
1610 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1612 * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_IFELSE instead of the
1613 obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
1615 2005-07-24 Bruno Haible <bruno@clisp.org>
1617 * visibility.m4: New file.
1619 2005-07-18 Bruno Haible <bruno@clisp.org>
1621 * lock.m4: New file, from GNU gettext.
1623 2005-06-01 Bruno Haible <bruno@clisp.org>
1625 * poll.m4 (gl_FUNC_POLL): Check against MacOS X 10.4 poll() bug.
1626 When using lib/poll.c, define poll as rpl_poll.
1628 2005-07-14 Bruno Haible <bruno@clisp.org>
1630 * argp.m4 (gl_ARGP): Remove invocation of gl_FUNC_GLIBC_UNLOCKED_IO.
1631 Instead, test for *_unlocked function declarations directly.
1633 2005-07-14 Derek Price <derek@ximbiot.com>
1635 * glob.m4 (gl_GLOB): Cache glob interface check result. Add check for
1638 2005-07-10 Bruno Haible <bruno@clisp.org>
1640 * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t.
1641 Needed when size_t is smaller than 'unsigned int'.
1642 Reported by Paul Eggert.
1644 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1646 * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1647 * same.m4 (gl_SAME): Likewise.
1648 Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1650 * regex.m4: Adjust to new libc regex implementation.
1651 (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
1652 all the .c and .h parts of (the new) regex.
1653 Quote the m4 stuff better.
1654 Check for RE_ICASE bug of old gnulib.
1655 Check for REG_STARTEND of recent libc.
1656 Rename local variables from jm_* to gl_*.
1657 Quote operand of "test -f".
1658 Say "recent enough" version of libc, not "version 2".
1659 (gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a
1660 prerequisite module. Remove AC_HEADER_STDC; no longer needed.
1661 Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll.
1662 Remove check for btowc, isascii.
1663 Require AM_LANGINFO_CODESET.
1665 2005-07-05 Bruno Haible <bruno@clisp.org>
1667 * mbrtowc.m4 (gl_FUNC_MBRTOWC): Upgrade to version from current
1668 autoconf CVS. Needed for mingw.
1670 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1672 Remove the dependency of the strftime module on the tzset module.
1673 * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1675 2005-07-02 Jim Meyering <jim@meyering.net>
1677 * chown.m4, cloexec.m4, dup2.m4, fsusage.m4:
1678 * getcwd-path-max.m4, getcwd.m4, mkstemp.m4, mountlist.m4:
1679 * pagealign_alloc.m4, save-cwd.m4, unistd-safer.m4:
1680 Don't check for fcntl.h, and don't test for HAVE_FCNTL_H.
1682 2005-06-28 Simon Josefsson <jas@extundo.com>
1684 * check-version.m4: New file, suggested by Jim Meyering
1687 2005-06-24 Derek Price <derek@ximbiot.com>
1688 and Bruno Haible <bruno@clisp.org>
1690 Remove stat module & update lstat.
1691 * lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
1692 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1693 * stat.m4: Remove this file.
1695 2005-06-20 Derek Price <derek@ximbiot.com>
1697 * bison.m4: Note that precious decls of YACC & YFLAGS will be
1698 unnecessary for Autoconfs > 2.59c.
1700 2005-06-16 Derek Price <derek@ximbiot.com>
1702 * bison.m4: Declare YACC & YFLAGS precious.
1704 2005-06-08 Bruno Haible <bruno@clisp.org>
1706 * csharpcomp.m4: New file, from GNU gettext.
1708 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1710 Sync from coreutils.
1711 * mkdir-p.m4: Renamed from makepath.m4.
1712 (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed.
1713 Rename files from makepath.c to mkdir-p.c, and from
1714 makepath.h to mkdir-p.h.
1715 * filenamecat.m4: Renamed from path-concat.m4.
1716 (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed.
1717 Rename files from path-concat.c to filenamecat.c,
1718 and from path-concat.h to filenamecat.h.
1719 * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1720 "file name" in local variables or comments.
1721 * rename.m4: Likewise.
1723 2005-06-01 Bruno Haible <bruno@clisp.org>
1725 * csharp.m4: New file, from GNU gettext.
1726 * csharpexec.m4: New file, from GNU gettext.
1728 2005-05-31 Derek Price <derek@ximbiot.com>
1729 Paul Eggert <eggert@cs.ucla.edu>
1732 * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
1734 2005-05-29 Derek Price <derek@ximbiot.com>
1735 Paul Eggert <eggert@cs.ucla.edu>
1737 * glob.m4: New file.
1739 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1741 * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1742 and don't require gt_INTTYPES_PRI.
1744 2005-05-26 Paul Eggert <eggert@cs.ucla.edu>
1746 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Define
1747 _POSIX_PTHREAD_SEMANTICS for Solaris.
1749 2005-05-25 Derek Price <derek@ximbiot.com>
1750 Paul Eggert <eggert@cs.ucla.edu>
1752 * getlogin_r.m4: New files.
1754 2005-05-22 Bruno Haible <bruno@clisp.org>
1756 * minmax.m4: New file.
1757 Based on a patch by Derek Price <derek@ximbiot.com>.
1759 2005-05-20 Paul Eggert <eggert@cs.ucla.edu>
1761 * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1762 (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1764 2005-05-20 Eric Blake <ebb9@byu.net> (tiny change)
1766 * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1769 2005-05-18 Paul Eggert <eggert@cs.ucla.edu>
1771 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1772 Don't check for stddef.h.
1773 * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1774 don't use its results.
1775 Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1776 since we include them unconditionally. Don't require
1777 AM_STDBOOL_H, since stdbool is a prerequisite.
1778 Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1779 since we assume C89 or better.
1780 Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1781 as we don't use their results.
1782 Don't check for fchdir, memmove, memset, strrchr, as we use
1783 them unconditionally.
1784 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1785 GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1787 2005-05-18 Jim Meyering <jim@meyering.net>
1789 * fts.m4 (AC_LIBSOURCES): Add intprops.h to the list.
1790 Reported by Yoann Vandoorselaere.
1792 2005-05-17 Jim Meyering <jim@meyering.net>
1794 * fts.m4: New file, from coreutils.
1796 2005-05-14 Paul Eggert <eggert@cs.ucla.edu>
1798 Sync from coreutils.
1799 * unlinkdir.m4: New file.
1801 2005-05-10 Derek Price <derek@ximbiot.com>
1803 * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1806 2005-05-10 Simon Josefsson <jas@extundo.com>
1808 * getaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
1809 Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
1811 2005-05-09 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
1812 Bruno Haible <bruno@clisp.org>
1814 * inet_ntop.m4: New file.
1816 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1818 * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1821 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1823 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1824 * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1825 (gl_PREREQ_CHOWN): Remove.
1826 * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1827 it. Don't require AC_HEADER_STAT.
1828 (gl_PREREQ_LSTAT): Remove.
1829 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1830 Don't require AC_HEADER_STAT.
1831 * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1832 (gl_PREREQ_RMDIR): Remove.
1833 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1834 mention stat-macros.h or AC_HEADER_STAT, since we'll make
1835 the stat-macros module a prerequisite.
1836 * file-type.m4 (gl_FILE_TYPE): Likewise.
1837 * filemode.m4 (gl_FILEMODE): Likewise.
1838 * makepath.m4 (gl_MAKEPATH): Likewise.
1839 * modechange.m4 (gl_MODECHANGE): Likewise.
1840 * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1842 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1843 fetish_FUNC_RMDIR_NOTEMPTY. All uses changed. Use gl_ for
1845 * fcntl-safer.m4: Remove.
1846 * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1847 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1848 Invoke gl_PREREQ_FD_SAFER.
1849 (gl_PREREQ_FD_SAFER): New macro.
1850 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Check for siginterrupt.
1851 * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1852 Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1853 Remove duplicate call to AC_LIBOBJ(readutmp).
1854 (gl_PREREQ_READUTMP): Remove. All uses inlined.
1856 * mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check for message, not for
1857 MAP_ANON. Problem reported by Moriyoshi Koizumi to bug-cvs.
1859 2005-05-01 Oskar Liljeblad <oskar@osk.mine.nu>
1861 * byteswap.m4: New file.
1865 * gettext.m4: Update from GNU gettext 0.14.4.
1867 2005-04-15 Simon Josefsson <jas@extundo.com>
1869 * getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
1871 2005-03-28 Eric Blake <ebb9@byu.net> (tiny change)
1873 * getcwd-path-max.m4: Return success on systems such as Cygwin
1874 where no absolute path name can be longer than PATH_MAX.
1876 2005-03-22 Jim Meyering <jim@meyering.net>
1878 * stat-macros.m4 (gl_STAT_MACROS): New file/macro.
1880 2005-03-21 Jim Meyering <jim@meyering.net>
1881 and Paul Eggert <eggert@cs.ucla.edu>
1883 * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4,
1884 cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4,
1885 exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4,
1886 getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4,
1887 getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4,
1888 idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4,
1889 memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4,
1890 path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4,
1891 quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4,
1892 safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4,
1893 strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4,
1894 unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4,
1895 xnanosleep.m4, xstrtol.m4, yesno.m4:
1896 Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files
1899 2005-03-21 Jim Meyering <jim@meyering.net>
1901 * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Invoke gl_FUNC_MEMRCHR.
1902 * memrchr.m4 (gl_FUNC_MEMRCHR): Check for memrchr decl.
1904 2005-03-16 Bruno Haible <bruno@clisp.org>
1906 * stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
1907 HAVE_LONGLONG_64BIT.
1909 2005-03-14 Bruno Haible <bruno@clisp.org>
1911 * lib-link.m4, gettext.m4, nls.m4, po.m4:
1912 Update from GNU gettext 0.14.3.
1914 2005-03-10 Jim Meyering <jim@meyering.net>
1916 * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1918 2005-03-07 Bruno Haible <bruno@clisp.org>
1920 * mmap-anon.m4 (MAP_FILE, MAP_FAILED): Remove definitions.
1922 2005-03-03 Bruno Haible <bruno@clisp.org>
1924 * inttypes.m4, isc-posix.m4, once-only.m4:
1925 Use an all-permissive copyright notice, recommended by RMS.
1927 2005-03-03 Derek R. Price <derek@ximbiot.com>
1929 * mmap-anon.m4: New file.
1930 * pagealign_alloc.m4: New file.
1932 2005-01-28 Bruno Haible <bruno@clisp.org>
1934 * stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because of
1935 AIX, the replacement has to be done only after <string.h> is included,
1936 therefore not in config.h. stpncpy.h does the replacement, and
1939 2005-03-01 Paul Eggert <eggert@cs.ucla.edu>
1941 * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1942 to detect nanosleep bug.
1944 2005-02-25 Paul Eggert <eggert@cs.ucla.edu>
1946 * gethrxtime.m4, xnanosleep.m4: New files.
1947 * gettime.m4 (gl_GETTIME): Check for nanotime.
1949 2005-02-24 Bruno Haible <bruno@clisp.org>
1951 * gettext.m4, intdiv0.m4, intmax.m4, inttypes-pri.m4, lcmessage.m4:
1952 * lib-link.m4, lib-prefix.m4, nls.m4, po.m4, printf-posix.m4:
1954 Update from GNU gettext 0.14.2.
1955 * glibc2.m4: New file, from GNU gettext 0.14.2.
1957 2005-02-22 Simon Josefsson <jas@extundo.com>
1959 * iconvme.m4: New file.
1961 2005-02-23 Jim Meyering <jim@meyering.net>
1963 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
1964 Thanks to Bruno Haible for catching it.
1966 2005-02-22 Jim Meyering <jim@meyering.net>
1968 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
1970 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1972 * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
1974 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
1976 Sync from coreutils.
1977 * getloadavg.m4, glibc.m4, search-libs.m4: Remove.
1979 Remove files that are specific to coreutils.
1980 * check-decl.m4, jm-macros.m4, lib-check.m4, prereq.m4: Remove.
1982 2005-01-28 Bruno Haible <bruno@clisp.org>
1984 * javacomp.m4: New file, from GNU gettext.
1986 2005-01-26 Bruno Haible <bruno@clisp.org>
1988 * javaexec.m4: New file, from GNU gettext.
1990 2005-01-24 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1992 * sysexits.m4 (gl_SYSEXITS): Reverted logic. SYSEXITS_H
1993 must be defined if the header file was not found, in order
1994 to provide a replacement. Reported by Todd Vierling <tv@duh.org>
1996 2005-01-23 Paul Eggert <eggert@cs.ucla.edu>
1998 * acl.m4, afs.m4, alloca.m4, argp.m4, assert.m4, atexit.m4,
1999 backupfile.m4, base64.m4, bison.m4, c-bs-a.m4, c-stack.m4,
2000 c-strtod.m4, calloc.m4, canon-host.m4, canonicalize.m4,
2001 clock_time.m4, cloexec.m4, closeout.m4, d-ino.m4, d-type.m4,
2002 dirfd.m4, dirname.m4, dos.m4, dup2.m4, error.m4, euidaccess.m4,
2003 exclude.m4, exitfail.m4, extensions.m4, fcntl-safer.m4,
2004 file-type.m4, fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4,
2005 free.m4, fstypename.m4, fsusage.m4, ftruncate.m4, getaddrinfo.m4,
2006 getcwd-path-max.m4, getcwd.m4, getdate.m4, getdomainname.m4,
2007 getgroups.m4, gethostname.m4, getline.m4, getndelim2.m4,
2008 getnline.m4, getopt.m4, getpagesize.m4, getpass.m4, getsubopt.m4,
2009 gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4,
2010 group-member.m4, hard-locale.m4, hash.m4, host-os.m4, human.m4,
2011 idcache.m4, inttostr.m4, isdir.m4, jm-winsz1.m4, jm-winsz2.m4,
2012 link-follow.m4, long-options.m4, ls-mntd-fs.m4, lstat.m4,
2013 makepath.m4, mathl.m4, md5.m4, memcasecmp.m4, memchr.m4,
2014 memcmp.m4, memcoll.m4, memcpy.m4, memmem.m4, memmove.m4,
2015 memrchr.m4, memset.m4, mkdir-slash.m4, mkstemp.m4, mktime.m4,
2016 modechange.m4, mountlist.m4, nanosleep.m4, obstack.m4,
2017 path-concat.m4, pathmax.m4, perl.m4, physmem.m4, poll.m4,
2018 posixtm.m4, posixver.m4, putenv.m4, quote.m4, quotearg.m4,
2019 readdir.m4, readtokens.m4, readutmp.m4, regex.m4, rename.m4,
2020 restrict.m4, rmdir-errno.m4, rmdir.m4, rpmatch.m4, same.m4,
2021 savedir.m4, settime.m4, sha1.m4, sig2str.m4, snprintf.m4,
2022 sockpfaf.m4, st_dm_mode.m4, st_mtim.m4, stat.m4, stdint.m4,
2023 stdio-safer.m4, strchrnul.m4, strdup.m4, strerror.m4,
2024 strerror_r.m4, strftime.m4, strndup.m4, strnlen.m4, strsep.m4,
2025 strtod.m4, strtoimax.m4, strtok_r.m4, strtol.m4, strtoll.m4,
2026 strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4, sysexits.m4,
2027 time_r.m4, timegm.m4, timespec.m4, tm_gmtoff.m4, tzset.m4,
2028 uint32_t.m4, uintptr_t.m4, unistd-safer.m4, unlink-busy.m4,
2029 unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4, utime.m4,
2030 utimecmp.m4, utimens.m4, utimes-null.m4, vsnprintf.m4, xalloc.m4,
2031 xgetcwd.m4, xreadlink.m4, xstrndup.m4, xstrtod.m4, xstrtoimax.m4,
2032 xstrtol.m4, xstrtoumax.m4, yesno.m4:
2033 Use an all-permissive copyright notice, recommended by RMS.
2035 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
2037 * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
2039 2005-01-18 Paul Eggert <eggert@cs.ucla.edu>
2041 Merge from coreutils.
2042 * ullong_max.m4: New file.
2043 * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
2044 (gl_MACROS): Assume localeconv exists.
2046 2005-01-18 Jim Meyering <jim@meyering.net>
2048 Merge from coreutils.
2049 * chdir-long.m4, openat.m4: New files.
2050 * save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c,
2051 save-cwd.h. Add AC_LIBOBJ for save-cwd.
2052 * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
2053 is sane and DOES follow symlinks. Besides, testing 20 different
2054 systems found no broken chown implementations.
2055 Prompted by a change in rsync's copy of this macro.
2056 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR_LONG.
2058 * lchown.m4 (gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
2060 * utimes.m4: Work around tests/touch/empty-file failure on a system
2061 (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
2062 NULL-means-set-to-current-time semantics.
2063 Remove temporary file immediately, rather than waiting
2064 for configure's at-exit trap code to do it.
2066 2005-01-18 Bruno Haible <bruno@clisp.org>
2068 * allocsa.m4, codeset.m4, copy-file.m4, eaccess.m4, eealloc.m4:
2069 * eoverflow.m4, execute.m4, fatal-signal.m4, findprog.m4, glibc21.m4:
2070 * iconv.m4, intmax_t.m4, inttypes_h.m4, lib-ld.m4, lib-link.m4:
2071 * lib-prefix.m4, linebreak.m4, localcharset.m4, longdouble.m4:
2072 * longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mkdtemp.m4:
2073 * pipe.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4:
2074 * sig_atomic_t.m4, signalblocking.m4, signed.m4, size_max.m4:
2075 * ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4, stpncpy.m4:
2076 * strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, ucs4-utf.m4:
2077 * uintmax_t.m4, ulonglong.m4, unicodeio.m4, utf-ucs4.m4, vasnprintf.m4:
2078 * vasprintf.m4, wait-process.m4, wchar_t.m4, wint_t.m4, xsize.m4:
2079 Use an all-permissive copyright notice, recommended by RMS.
2081 2005-01-06 Bruno Haible <bruno@clisp.org>
2083 * stpncpy.m4 (gl_FUNC_STPNCPY): Rename stpncpy to gnu_stpncpy here.
2085 2005-01-04 Jim Meyering <jim@meyering.net>
2087 Changes imported from coreutils.
2088 * mkstemp.m4 (gl_FUNC_MKSTEMP): Rather than using "conftestXXXXXX"
2089 as the mkstemp template, use a temporary directory and an
2090 8.3-friendly template to avoid trouble on systems like DJGPP.
2091 Reported by Juan M. Guerrero via Stepan Kasal.
2092 * (gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of close.
2093 Remove the temporary directory right away, rather than waiting
2094 for configure's at-exit trap code to do it.
2095 Suggestion from Stepan Kasal.
2097 2004-12-24 Paul Eggert <eggert@cs.ucla.edu>
2099 * c-strtod.m4 (gl_C99_STRTOLD): New macro.
2100 (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
2102 2004-12-23 Paul Eggert <eggert@cs.ucla.edu>
2104 * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
2106 2004-12-18 Bruno Haible <bruno@clisp.org>
2108 * fatal-signal.m4 (gl_FATAL_SIGNAL): Also test for sigaction.
2110 2004-12-07 Paul Eggert <eggert@cs.ucla.edu>
2112 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
2113 spurious "-l"s. Problem reported by Stepan Kasal.
2115 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
2117 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
2118 in Autoconf 2.59. Problem reported by Mark D. Baushke.
2120 2004-12-04 Paul Eggert <eggert@cs.ucla.edu>
2122 Changes imported from coreutils.
2123 * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
2125 * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
2127 2004-11-30 Paul Eggert <eggert@cs.ucla.edu>
2129 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
2130 Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
2132 * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
2134 2004-11-30 Simon Josefsson <jas@extundo.com>
2136 * base64.m4: New file.
2138 2004-11-30 Simon Josefsson <jas@extundo.com>
2140 * restrict.m4: Add copyright and copying conditions.
2142 2004-11-25 Paul Eggert <eggert@cs.ucla.edu>
2144 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
2145 GL_FUNC_GETCWD_PATH_MAX for consistency. All uses changed.
2146 Use the _ONCE methods, for efficiency.
2147 Check for fcntl.h. In test program, include <errno.h>
2148 and <fcntl.h> if available. Remove old K&R cruft from
2149 test program. Check for common errors in GNU/Linux,
2150 OpenBSD, and Solaris. Just set gl_cv_func_getcwd_path_max;
2151 don't do AC_LIBOBJ, as that's getcwd.m4's job.
2152 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
2153 AC_FUNC_GETCWD_NULL. All used changed. Change cache variable
2155 (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros. Revamp to
2156 accommodate new getcwd.c.
2157 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
2158 * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
2159 * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
2160 that's all we need now.
2162 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
2164 * utimens.m4 (gl_UTIMENS): Check for futimes function.
2166 2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
2168 * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
2169 argp-parse.c depends on getopt internals, that means we should
2170 always use our getopt, to be on the safe side.
2171 * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
2172 order not to spoil the result of an eventual previous invocation
2173 of gl_GETOPT_SUBSTITUTE.
2175 2004-11-17 Paul Eggert <eggert@cs.ucla.edu>
2177 * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
2178 that mishandle size_t overflow.
2180 2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
2182 * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
2184 2004-11-13 Jim Meyering <jim@meyering.net>
2186 * jm-macros.m4: Do require gl_FUNC_FPENDING.
2188 2004-11-11 Paul Eggert <eggert@cs.ucla.edu>
2190 * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead
2191 of replacing opterr, getopt, etc. This should handle the
2192 powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson.
2194 2004-11-11 Simon Josefsson <jas@extundo.com>
2196 * strtok_r.m4: New file.
2198 * getopt.m4: Replace opterr.
2200 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
2202 * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
2204 2004-11-10 Jim Meyering <jim@meyering.net>
2206 * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING.
2208 2004-11-08 Simon Josefsson <jas@extundo.com>
2210 * getaddrinfo.m4: New file.
2212 2004-11-09 Paul Eggert <eggert@cs.ucla.edu>
2214 * strftime.m4 (_gl_STRFTIME_PREREQS): Remove. Move its body to
2216 (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE
2217 and AC_REQUIRE when possible, to avoid duplicate checks.
2218 Check for <wchar.h>.
2220 2004-11-09 Bruno Haible <bruno@clisp.org>
2222 * sockpfaf.m4: New file.
2224 2004-11-03 Albert Chin <china@thewrittenword.com>
2225 Paul Eggert <eggert@cs.ucla.edu>
2227 * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
2228 equivalent, substitute $ac_type for equivalent type rather than
2229 blindly using uint32_t *always* which won't work if uint32_t is not
2230 available. Define _UINT32_T to work around typedef of uint32_t if
2231 <sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
2234 2004-11-02 Paul Eggert <eggert@cs.ucla.edu>
2236 * jm-macros.m4: Sync from coreutils.
2237 (gl_MACROS): Check for mbrlen, for pathchk.
2238 (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
2240 2004-11-02 Bruno Haible <bruno@clisp.org>
2242 * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv()
2245 2004-11-01 Paul Eggert <eggert@cs.ucla.edu>
2247 * getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
2248 fflush_unlocked, flockfile, funlockfile, funlockfile,
2249 fputs_unlocked, putc_unlocked.
2251 2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
2253 * getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
2255 2004-10-15 Paul Eggert <eggert@cs.ucla.edu>
2257 * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
2258 implementation of getopt_long. Problem reported by Alexander Taler in:
2259 http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
2261 2004-10-11 Yoann Vandoorselaere <yoann@prelude-ids.org>
2263 * vsnprintf.m4: New file.
2265 2004-10-05 Bruno Haible <bruno@clisp.org>
2267 * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check
2268 for the declaration of strsep.
2270 2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
2272 * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove. All uses removed.
2274 * unlocked-io.m4: Add copyright notice.
2275 (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
2277 2004-10-04 Simon Josefsson <jas@extundo.com>
2279 * memmem.m4: New file.
2281 2004-10-01 Yoann Vandoorselaere <yoann@prelude-ids.org>
2283 * strsep.m4: New file.
2285 2004-09-30 Simon Josefsson <jas@extundo.com>
2287 * snprintf.m4: New file.
2289 2004-09-09 Bruno Haible <bruno@clisp.org>
2291 * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with
2293 * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
2295 2004-09-08 Bruno Haible <bruno@clisp.org>
2297 * stdint.m4: New file, taken from GNU clisp with modifications.
2299 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
2301 * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA.
2303 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
2305 * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody
2306 uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
2307 Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
2308 Check for program_invocation_name, program_invocation_short_name,
2309 flockfile, funlockfile, features.h, _getopt_long_only_r.
2311 2004-08-12 Simon Josefsson <jas@extundo.com>
2313 * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
2314 as discussed with Paul Eggert in threads rooted at
2315 <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
2317 <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
2318 Before, the test was empty, and relied on ELIDE_CODE in source
2320 (gl_PREREQ_GETOPT): New macro.
2321 (gl_GETOPT): Use them.
2323 2004-08-11 Paul Eggert <eggert@cs.ucla.edu>
2325 Merge from coreutils.
2327 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
2329 * obstack.m4 (gl_PREREQ_OBSTACK): Require
2330 gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
2332 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
2334 * uint32_t.m4, uintptr_t.m4: New files.
2335 * sha1.m4: Renamed from sha.m4.
2336 (gl_SHA1): Renamed from gl_SHA. All uses changed.
2338 2004-08-08 Simon Josefsson <jas@extundo.com>
2340 * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
2341 Check getpass declaration.
2343 2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
2345 More merge from coreutils.
2347 * utimens.m4, utimecmp.m4: New files.
2348 * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
2349 fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
2350 prereq.m4, sha.m4: Import changes from coreutils.
2352 2004-08-05 Paul Eggert <eggert@cs.ucla.edu>
2354 Merge from coreutils.
2356 * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
2359 * dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
2360 FILESYSTEM_PREFIX_LEN ->
2361 FILE_SYSTEM_PREFIX_LEN.
2362 FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX ->
2363 FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.
2364 FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR ->
2365 FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
2367 * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
2368 prerequisite modules now handle the DOS stuff.
2369 Don't check for unistd.h.
2371 2004-08-03 Simon Josefsson <jas@extundo.com>
2373 * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it.
2375 2004-08-02 Simon Josefsson <jas@extundo.com>
2377 * getsubopt.m4: New file.
2379 2004-08-03 Paul Eggert <eggert@cs.ucla.edu>
2381 * fatal.m4: Remove, as the "fatal" module wasn't used or working.
2383 2004-07-13 Robert Millan <robertmh@gnu.org>
2385 * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
2387 2004-06-22 Paul Eggert <eggert@cs.ucla.edu>
2389 * argz.m4: New file, which is autoupdated from libtool.
2391 2004-06-01 Jim Meyering <jim@meyering.net>
2393 * calloc.m4: New file.
2395 2004-06-01 Paul Eggert <eggert@cs.ucla.edu>
2397 Merge from coreutils CVS.
2399 * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4,
2400 makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4,
2401 putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4,
2402 strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4,
2403 xstrtol.m4: Fix copyright date and/or serial number.
2405 * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
2406 See if we need an fchown replacement.
2407 (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
2408 (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
2409 and use the replacement function if we detect either defect.
2411 * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR,
2414 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
2416 * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI
2417 C B3910B A.05.55 [Dec 04 2003]. Problem reported by Jim Meyering.
2418 Also, fix a typo in a diagnostic.
2420 2004-05-30 Paul Eggert <eggert@cs.ucla.edu>
2422 * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC
2425 2004-05-20 Andreas Schwab <schwab@suse.de>
2427 * free.m4: Replace free if it not known to work, not the other
2430 2004-05-17 Derek R. Price <derek@ximbiot.com>
2431 Paul Eggert <eggert@cs.ucla.edu>
2433 * argp: Depend on alloca.
2435 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
2437 * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
2438 for backward compatibility with older code. We need our own
2439 alloca.h if _AIX is defined. Define HAVE_ALLOCA if we discover
2440 it under some other name, and our alloca.h will define it.
2442 2004-05-13 Paul Eggert <eggert@cs.ucla.edu>
2444 * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC.
2445 Check for gettimeofday.
2446 * settime.m4 (gl_SETTIME): Require gl_TIMESPEC.
2447 Check for settimeofday, stime.
2449 2004-04-20 Paul Eggert <eggert@twinsun.com>
2451 * host-os.m4: Add a copyright notice.
2453 2004-04-20 Jim Meyering <jim@meyering.net>
2455 Change UTILS_ to gl_ in AC_DEFINE'd names.
2456 Change utils_- and jm_-prefixed variables, too.
2457 * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
2458 UTILS_FUNC_MKDIR_TRAILING_SLASH.
2459 * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
2461 * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
2462 Don't emit trailing blanks.
2463 Also rename jm_-prefixed variables to have gl_ prefix.
2465 * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS.
2466 Also rename jm_-prefixed variables to have gl_ prefix.
2468 * jm-macros.m4: Reflect the renamings.
2469 * prereq.m4: Likewise.
2471 2004-04-19 Jim Meyering <jim@meyering.net>
2473 * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
2474 now that readutmp.c may call `free (0)'.
2476 2004-04-19 Bruno Haible <bruno@clisp.org>
2478 * mbrtowc.m4: Change jm_ to gl_ in cache variables as well.
2479 * inttypes_h.m4: Likewise.
2480 * stdint_h.m4: Likewise.
2481 * intmax_t.m4: Likewise.
2482 * uintmax_t.m4: Likewise.
2484 2004-04-18 Jim Meyering <jim@meyering.net>
2486 * prereq.m4: Don't forbid jm_ prefix.
2488 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
2489 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4:
2490 * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4:
2491 * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4:
2492 * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4:
2493 * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4:
2494 * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
2495 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
2496 * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4:
2497 * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4:
2498 * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4:
2499 * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4:
2500 * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4:
2501 * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4:
2502 * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
2503 Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
2505 2004-04-16 Jim Meyering <jim@meyering.net>
2507 * prereq.m4 (jm_PREREQ_STAT): Remove macro. It is specific to
2508 coreutils' stat program.
2509 (gl_PREREQ): Don't require jm_PREREQ_STAT.
2511 2004-03-31 Jim Meyering <jim@meyering.net>
2513 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
2514 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2515 * xalloc.m4: Likewise.
2517 2004-03-30 Jim Meyering <jim@meyering.net>
2519 * realloc.m4: Remove file, since now it does no more than
2520 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
2521 the `configure.ac' section of module/realloc.
2522 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
2524 2004-03-30 Paul Eggert <eggert@twinsun.com>
2526 Merge from coreutils.
2528 * inttostr.m4: New file.
2529 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
2530 Require AM_STDBOOL_H and gl_TIMESPEC instead.
2531 Require gl_CLOCK_TIME.
2532 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
2534 2004-03-30 Jim Meyering <jim@meyering.net>
2536 Merge from coreutils.
2538 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
2539 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
2540 on some systems one must include <grp.h> before it.
2541 Reported by Christian Krackowizer.
2543 2004-03-29 Paul Eggert <eggert@twinsun.com>
2545 * cloexec.m4: New file.
2547 2004-03-18 Paul Eggert <eggert@twinsun.com>
2548 Bruno Haible <bruno@clisp.org>
2550 * mbswidth.m4 (gl_MBSWIDTH): Also test whether <wchar.h> declares
2553 2004-03-07 Paul Eggert <eggert@twinsun.com>
2555 * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
2556 All uses changed. Check for sa_sigaction member; this fixes
2557 a bug first reported by Jason Andrade in
2558 <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
2560 2004-01-18 Simon Josefsson <jas@extundo.com>
2562 * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared.
2564 2004-02-18 Bruno Haible <bruno@clisp.org>
2566 * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
2567 Reported by Derek Robert Price <derek@ximbiot.com>.
2569 2004-02-06 Karl Berry <karl@gnu.org>
2571 * po.m4: update from gettext 0.14.1.
2573 2004-02-03 Bruno Haible <bruno@clisp.org>
2575 * pipe.m4: New file, from GNU gettext.
2577 2004-01-27 Bruno Haible <bruno@clisp.org>
2579 * execute.m4: New file, from GNU gettext.
2581 2003-11-24 Bruno Haible <bruno@clisp.org>
2583 * allocsa.m4: New file, from GNU gettext.
2585 2003-11-24 Bruno Haible <bruno@clisp.org>
2587 * eealloc.m4: New file, from GNU gettext.
2589 2004-01-15 Paul Eggert <eggert@twinsun.com>
2591 Merge from coreutils.
2593 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
2594 * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
2595 (gl_DEFAULT_POSIX2_VERSION): Move
2596 the documentation from 'configure' into 'config.hin',
2597 so that 'configure --help' isn't burdened by it and
2598 we don't have to worry about its formatting there.
2599 Reword the documentation so that it's more succinct
2600 and can be run together into a single paragraph.
2601 * same.m4 (gl_SAME): Check for pathconf.
2603 2004-01-15 Jim Meyering <jim@meyering.net>
2605 Merge from coreutils.
2607 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2608 if no library is required.
2609 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2610 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2611 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2612 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2613 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2614 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2615 value, $ac_cv_search_crypt, if it's "none required".
2616 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2617 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2618 not gl_FUNC_GETLOADAVG.
2619 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2620 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2622 2004-01-15 Alexandre Duret-Lutz <adl@gnu.org>
2624 Merge from coreutils.
2626 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2627 value, $ac_cv_search_nanosleep, if it's "none required".
2629 2003-12-03 Bruno Haible <bruno@clisp.org>
2631 * gettext.m4: Upgrade from gettext-0.13.
2632 * po.m4: Upgrade from gettext-0.13.
2633 * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
2634 * intmax.m4: New file, from gettext-0.13.
2635 * printf-posix.m4: New file, from gettext-0.13.
2637 2003-11-25 Bruno Haible <bruno@clisp.org>
2639 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require
2642 2003-11-17 Bruno Haible <bruno@clisp.org>
2644 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T.
2646 2003-11-12 Paul Eggert <eggert@twinsun.com>
2648 * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or
2651 2003-11-11 Bruno Haible <bruno@clisp.org>
2653 * size_max.m4: New file.
2654 * ptrdiff_max.m4: New file.
2655 * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
2656 * xalloc.m4 (gl_PREREQ_XALLOC): New macro.
2657 (gl_XALLOC): Invoke it.
2659 2003-11-04 Bruno Haible <bruno@clisp.org>
2661 * xsize.m4: New file.
2663 2003-11-03 Bruno Haible <bruno@clisp.org>
2665 * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid.
2667 2003-10-30 Paul Eggert <eggert@cs.ucla.edu>
2669 * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to
2670 netbsd*-gnu*. Suggested by Robert Millan.
2672 2003-10-29 Paul Eggert <eggert@twinsun.com>
2674 * xalloc.m4 (gl_XALLOC): Undo previous change.
2676 2003-10-29 Paul Eggert <eggert@twinsun.com>
2678 * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu. Add comments
2679 to it, and to knetbsd*-gnu and kfreebsd*-gnu. Remove the '*' from
2680 after the 'gnu' in these cases. This fixes some bugs in the
2681 previous change, and is based on suggestions by Robert Millan.
2683 2003-10-28 Paul Eggert <eggert@twinsun.com>
2685 * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and
2686 GNU/KNetBSD. These implementations use glibc atop the FreeBSD and
2687 NetBSD kernels. Requested by Richard Stallman.
2689 2003-10-26 Paul Eggert <eggert@twinsun.com>
2691 * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
2694 2003-10-23 Paul Eggert <eggert@twinsun.com>
2696 * getline.m4 (AM_FUNC_GETLINE):
2697 Don't include getndelim2.o twice into LIBOBJS; this breaks on some
2698 hosts. Problem reported by Derek Robert Price in
2699 <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
2700 This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
2701 * getndelim2.m4 (gl_GETNDELIM2): Likewise.
2703 2003-10-20 Bruno Haible <bruno@clisp.org>
2705 * wait-process.m4: New file.
2707 2003-10-14 Bruno Haible <bruno@clisp.org>
2709 * sig_atomic_t: New file, from GNU gettext.
2710 * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T.
2712 2003-10-12 Paul Eggert <eggert@twinsun.com>
2714 * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE.
2716 2003-10-10 Simon Josefsson <jas@extundo.com>
2718 * argp.m4: Add AC_C_INLINE.
2720 2003-10-08 Paul Eggert <eggert@twinsun.com>
2722 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2724 2003-10-06 Bruno Haible <bruno@clisp.org>
2726 * fatal-signal.m4: New file.
2727 * signalblocking.m4: New file, from GNU gettext.
2729 2003-09-27 Paul Eggert <eggert@twinsun.com>
2731 * free.m4: New file.
2733 2003-09-26 Bruno Haible <bruno@clisp.org>
2735 * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
2736 Don't define stpncpy through config.h; it's now done through stpncpy.h.
2738 2003-09-25 Simon Josefsson <jas@extundo.com>
2739 Bruno Haible <bruno@clisp.org>
2741 * getdomainname.m4: New file.
2743 2003-09-17 Paul Eggert <eggert@twinsun.com>
2745 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2746 to avoid spurious warnings like "AC_RUN_IFELSE was called before
2747 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2749 2003-09-12 Paul Eggert <eggert@twinsun.com>
2751 * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it.
2753 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2754 and AC_MINIX, too, so that their extensions are available.
2756 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
2757 This macro has been superseded by gl_BACKUPFILE.
2759 More patches to assume C89 or better.
2761 * error.m4 (gl_ERROR): Don't check for vprintf.
2763 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2765 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2766 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2767 Include <string.h>, <stdlib.h> unconditionally.
2768 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2769 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2770 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2772 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h
2775 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2776 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2777 * userspec.m4 (gl_USERSPEC): Likewise.
2778 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2779 * xstrtod.m4 (gl_XSTRTOD): Likewise.
2780 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2781 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2783 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2784 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2785 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2786 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2787 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2788 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2791 2003-09-11 Paul Eggert <eggert@twinsun.com>
2793 More patches to assume C89 or better.
2794 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2795 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2796 string.h, memchr, STDC_HEADERS.
2798 2003-09-10 Bruno Haible <bruno@clisp.org>
2800 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2801 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2802 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2803 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2804 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove
2805 <stdlib.h> and <string.h> checks.
2806 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2807 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2809 2003-09-09 Paul Eggert <eggert@twinsun.com>
2811 More patches to assume C89 or better.
2812 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2813 * getopt.m4 (gl_GETOPT): Don't check for string.h.
2814 * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
2816 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2817 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2819 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2821 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2822 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2823 * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
2825 * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
2826 * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
2828 * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
2830 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2831 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2832 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2833 * memcoll.m4 (gl_MEMCOLL): Likewise.
2834 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2835 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2837 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2838 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2839 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2840 C headers, or for string.h.
2841 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2842 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2843 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2844 headers, memory.h, stdlib.h, string.h, strings.h.
2845 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2846 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2847 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2849 * readtokens.m4 (gl_READTOKENS): Don't check for standard C
2850 headers, memory.h, string.h.
2851 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2852 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2854 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2855 * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
2856 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2857 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2858 * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
2859 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2861 2003-09-09 Derek Robert Price <derek@ximbiot.com>
2863 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2866 2003-09-08 Paul Eggert <eggert@twinsun.com>
2868 Assume C89 or better; remove K&R cruft.
2869 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2870 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2871 string.h, getenv, malloc.
2872 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2874 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2875 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2876 do not check for strerror.
2877 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2878 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2879 * fatal.m4 (gl_FATAL): Do not require STDC headers, and
2880 do not check for doprnt or vprintf.
2881 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
2882 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2884 2003-09-06 Paul Eggert <eggert@twinsun.com>
2886 * time_r.m4: New file.
2887 * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
2888 * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
2889 Check for timegm declaration.
2890 (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
2891 Do not check for gmtime_r.
2892 Replace mktime if __mktime_internal does not exist and if mktime
2893 hasn't been replaced already.
2895 2003-08-31 Simon Josefsson <jas@extundo.com>
2897 * timegm.m4: New file.
2899 2003-08-26 Bruno Haible <bruno@clisp.org>
2901 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2902 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2903 followed by '#define fnmatch fnmatch_posix' gives an error.
2905 2003-08-27 Jim Meyering <jim@meyering.net>
2907 * mkstemp.m4: Require that the system mkstemp be able to create
2908 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
2909 would fail after 32. Reported by Danny Levinson. Details here:
2910 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2912 2003-08-20 Karl Berry <karl@gnu.org>
2914 * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
2916 2003-08-19 Jim Meyering <jim@meyering.net>
2918 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2919 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2921 2003-08-19 Bruno Haible <bruno@clisp.org>
2923 * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
2925 2003-08-18 Jim Meyering <jim@meyering.net>
2927 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2928 * lib-ld.m4: Likewise.
2930 2003-08-17 Simon Josefsson <jas@extundo.com>
2932 * argp.m4: New file.
2934 2003-08-17 Simon Josefsson <jas@extundo.com>
2936 * xstrndup.m4: New file.
2938 2003-08-16 Jim Meyering <jim@meyering.net>
2940 * utimes.m4 (gl_FUNC_UTIMES): New file.
2941 * utimes.m4: Removed.
2942 * utimes-null.m4: Renamed from utimes.m4.
2944 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2945 to 1MB, so as not to render systems with no stack size limit (e.g.,
2946 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2947 Include <unistd.h>. On some systems,
2948 it is required for the definition of _SC_PAGESIZE.
2950 2003-08-16 Paul Eggert <eggert@twinsun.com>
2952 Merges from coreutils, etc.
2953 * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
2954 error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28.
2955 * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
2957 * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
2958 * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
2960 2003-08-16 Jim Meyering <jim@meyering.net>
2961 and Paul Eggert <eggert@cs.ucla.edu>
2963 Merges from coreutils, etc.
2965 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
2966 using the latest version from cvs. This avoids problems with #line
2967 directives using a vendor (Sun) compiler.
2968 (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
2969 Don't set GETGROUPS_LIB here; now it's
2970 done via getgroups.m4's wrapper function.
2971 AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
2972 rather than just in sh-util/configure.in, so that the
2973 now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
2975 Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
2976 AC_FUNC_GETLOADAVG where to find getloadavg.c.
2977 Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
2978 UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
2979 gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
2980 Remove code that is now done by the newly-required macros.
2981 Append $(EXEEXT) to DF_PROG.
2982 AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
2983 Do not invoke or require the following here,
2984 since prereq.m4 or some gnulib .m4 now does this for us:
2985 gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
2986 jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
2987 jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
2988 jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
2989 jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
2990 AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
2991 vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
2993 Do not replace the following functions, as this is now the job
2994 of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
2995 getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
2996 strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
2997 atexit getpass, strdup, getpagesize.
2999 Do not check for the following functions, as this is now the job
3000 of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
3001 getcwd, getmntinfo, resolvepath. But check for sysctl, setreuid,
3003 (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
3004 Check for sys/sysctl.h.
3005 (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
3006 jm_CHECK_TYPE_STRUCT_TIMESPEC. Invoke gt_TYPE_SSIZE_T instead
3007 of checking for ssize_t ourselves.
3009 * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
3010 Require every macro that gnulib/modules/* suggests for us.
3011 (jm_PREREQ_ADDEXT): New macro.
3012 (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
3013 Require jm_AC_TYPE_LONG_LONG instead of invoking it.
3015 * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
3016 (gl_PHYSMEM): Use it.
3017 Also check for `table' function.
3018 Check for new headers and functions.
3019 Add check for sys/sysmp.h.
3020 With suggestions from Kaveh Ghazi.
3021 Ignore headers that are present but cannot be compiled. This
3022 avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
3025 2003-08-16 Jim Meyering <jim@meyering.net>
3027 Merges from coreutils.
3028 * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
3029 prefix. Adjust cache variables similarly. Create 500 rather than
3030 just 300 files, to exercise bug on Darwin6.5, too.
3031 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
3032 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
3033 Reported by mkc@mathdogs.com.
3034 Also change use of $am_cv_sys_posix_termios
3035 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
3036 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
3037 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
3038 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
3039 /proc/mounts until it finds one with matching device number. This is
3040 unnecessary when the FILE argument *is* a mount point. No stat call
3041 is necessary in that case. So, disable the statvfs-testing code on
3042 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
3043 as RedHat bug# 84846.
3044 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
3045 to 1MB, so as not to render systems with no stack size limit (e.g.,
3046 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
3047 Include <unistd.h>. On some systems,
3048 it is required for the definition of _SC_PAGESIZE.
3050 2003-08-15 Jim Meyering <jim@meyering.net>
3051 and Paul Eggert <eggert@cs.ucla.edu>
3053 Merges from coreutils, etc.
3054 * strftime.m4 (_jm_STRFTIME_PREREQS):
3055 Require gl_FUNC_TZSET_CLOBBER.
3056 * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
3057 ut_exit.ut_termination, and ut_exit.e_termination members.
3059 2003-08-14 Paul Eggert <eggert@twinsun.com>
3061 Help the merge from coreutils.
3062 * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
3063 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
3064 * tzset.m4: Use it too.
3066 2003-08-14 Jim Meyering <jim@meyering.net>
3068 Merge from coreutils.
3069 * tzset.m4: New file.
3070 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
3071 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
3072 systems would end up using the latter. MOUNTED_GETMNTENT1 support
3073 is inadequate on such systems: 1) detecting whether a file system
3074 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
3075 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
3076 merely /MOUNT_POINT. Reported by Mike Jetzer.
3078 2003-08-13 Paul Eggert <eggert@twinsun.com>
3080 * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
3083 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
3084 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
3085 Undo previous (whitespace-only) change.
3087 2003-08-12 Paul Eggert <eggert@twinsun.com>
3089 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
3090 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
3091 Normalize leading white space and remove trailing white space.
3093 Merge from coreutils
3094 * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
3096 * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
3097 0.12.1. These files are now being upgraded automatically by
3098 ../config/srclist-update.
3100 2003-08-11 Bruno Haible <bruno@clisp.org>
3102 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
3104 2003-08-09 Paul Eggert <eggert@twinsun.com>
3106 * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
3107 apparently Emacs's Unicode mode got confused before my 2003-08-05
3110 2003-08-08 Paul Eggert <eggert@twinsun.com>
3112 * extensions.m4: New file.
3113 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
3114 Require gl_USE_SYSTEM_EXTENSIONS.
3115 * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
3116 Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
3118 2003-08-07 Paul Eggert <eggert@twinsun.com>
3120 * restrict.m4: New file.
3121 * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
3123 2003-08-07 Bruno Haible <bruno@clisp.org>
3125 * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
3126 the module 'getndelim2' compatible with the module 'getline'.
3128 2003-08-05 Paul Eggert <eggert@twinsun.com>
3130 * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
3131 byte with "\201" to avoid glitches when editing that source file
3132 with multi-gnome-terminal.
3134 2003-07-31 Bruno Haible <bruno@clisp.org>
3136 * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
3138 2003-07-18 Bruno Haible <bruno@clisp.org>
3140 * getndelim2.m4: New file.
3141 * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
3142 invoke gl_PREREQ_GETNDELIM2.
3143 (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
3144 gl_PREREQ_GETNDELIM2.
3145 * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
3148 2003-07-17 Bruno Haible <bruno@clisp.org>
3150 * Makefile.am.in: Remove file.
3151 * Makefile.am: Remove file.
3152 * Makefile.in: Remove file.
3154 2003-07-17 Bruno Haible <bruno@clisp.org>
3156 * getnline.m4: New file.
3158 2003-07-14 Simon Josefsson <jas@extundo.com>
3160 * mempcpy.m4: New file.
3162 2003-07-10 Jim Meyering <jim@meyering.net>
3164 * clock_time.m4: Remove trailing blank.
3165 * intmax_t.m4: Likewise.
3167 2003-07-01 Paul Eggert <eggert@twinsun.com>
3169 * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
3170 xreadlink.c now includes it unconditionally.
3172 2003-07-01 Bruno Haible <bruno@clisp.org>
3174 * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
3175 should be sufficient.
3176 Reported by Paul Eggert.
3178 2003-06-25 Bruno Haible <bruno@clisp.org>
3180 * readlink.m4: New file.
3182 2003-06-22 Bruno Haible <bruno@clisp.org>
3184 Portability to mingw32.
3185 * ssize_t.m4: New file, from GNU gettext.
3186 * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
3187 * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
3189 2003-06-11 Bruno Haible <bruno@clisp.org>
3191 * sysexits.m4: New file.
3193 2003-06-10 Simon Josefsson <jas@extundo.com>
3195 * strchrnul.m4: New file.
3197 2003-06-07 Bruno Haible <bruno@clisp.org>
3199 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
3200 gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
3201 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
3203 * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
3204 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
3207 2003-06-04 Paul Eggert <eggert@twinsun.com>
3209 * human.m4 (gl_HUMAN): Require AM_STDBOOL_H. Check for
3210 locale.h, localeconv. This merges changes from coreutils.
3212 * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
3213 It can be removed after the next Autoconf is released.
3214 * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
3217 2003-05-30 Bruno Haible <bruno@clisp.org>
3219 * gettext.m4: Upgrade to gettext-0.12.1.
3220 * nls.m4: New file, from gettext-0.12.1.
3221 * po.m4: New file, from gettext-0.12.1.
3222 * progtest.m4: Upgrade to gettext-0.12.1.
3224 2003-05-28 Paul Eggert <eggert@twinsun.com>
3226 Assume the headers required for C89 freestanding compilers.
3227 * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
3228 * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
3229 * human.m4 (gl_HUMAN): Likewise.
3230 * pathmax.m4 (gl_PATHMAX): Likewise.
3231 * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
3232 * userspec.m4 (gl_USERSPEC): Likewise.
3233 * xreadlink.m4 (gl_XREADLINK): Likewise.
3234 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
3235 * quote.m4 (gl_QUOTE): Don't check for stddef.h.
3237 2003-05-26 Jim Meyering <jim@meyering.net>
3239 Merge in a change from coreutils:
3240 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
3241 that is guaranteed to be `no'. Use `no_such_member' to indicate
3242 that condition, rather than `-1' which is slightly misleading.
3243 Change the name of the cache variable to have the gl_ prefix.
3244 Prompted by a patch from Richard Dawe for DJGPP.
3246 2003-05-17 Bruno Haible <bruno@clisp.org>
3248 * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
3249 expansion for AC_EGREP_CPP.
3250 * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
3251 * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
3252 Suggested by Akim Demaille <akim@epita.fr> in
3253 http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
3255 2003-04-21 Paul Eggert <eggert@twinsun.com>
3257 * error.m4 (gl_ERROR): Do not put under dynamic conditions some
3258 code which expansion is under static control. Patch imported from
3259 Akim Demaille's patch to Bison; see
3260 <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
3262 2003-04-14 Bruno Haible <bruno@clisp.org>
3264 * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
3266 2003-04-10 Bruno Haible <bruno@clisp.org>
3268 * findprog.m4: New file.
3269 * eaccess.m4: New file.
3271 2003-04-04 Bruno Haible <bruno@clisp.org>
3273 * linebreak.m4: New file.
3275 2003-04-03 Bruno Haible <bruno@clisp.org>
3277 * utf-ucs4.m4: New file.
3278 * ucs4-utf.m4: New file.
3280 2003-03-30 Bruno Haible <bruno@clisp.org>
3282 * copy-file.m4 (gl_COPY_FILE): Add check for chown().
3284 2003-03-28 Bruno Haible <bruno@clisp.org>
3286 * copy-file.m4: New file.
3288 2003-03-18 Bruno Haible <bruno@clisp.org>
3290 * onceonly.m4: Use m4_defn instead of defn, for better error checking.
3291 * onceonly_2_57.m4: Likewise.
3293 2003-03-17 Bruno Haible <bruno@clisp.org>
3295 * onceonly.m4: Require autoconf 2.54 or newer.
3296 (m4_quote): Remove macro.
3297 * onceonly_2_57.m4: Require autoconf 2.54 or newer.
3299 2003-03-14 Bruno Haible <bruno@clisp.org>
3301 * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
3302 AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
3304 2003-03-13 Paul Eggert <eggert@twinsun.com>
3306 * onceonly.m4 (m4_quote): New macro.
3307 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
3308 Quote AC_FOREACH variable-expansions properly.
3310 2003-02-19 Paolo Bonzini <bonzini@gnu.org>
3312 * poll.m4: New file.
3314 2003-02-18 Paolo Bonzini <bonzini@gnu.org>
3316 * mathl.m4: New file.
3318 2003-02-17 Bruno Haible <bruno@clisp.org>
3320 * mkdtemp.m4: New file, from GNU gettext with modifications.
3322 2003-02-02 Jim Meyering <jim@meyering.net>
3324 * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
3327 2003-01-31 Bruno Haible <bruno@clisp.org>
3329 * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
3331 * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
3333 * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
3335 * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
3338 2003-01-30 Bruno Haible <bruno@clisp.org>
3340 * signed.m4: New file, from GNU gettext.
3341 * longdouble.m4: New file, from GNU gettext.
3342 * wchar_t.m4: New file, from GNU gettext.
3343 * wint_t.m4: New file, from GNU gettext.
3344 * vasnprintf.m4: New file.
3345 * vasprintf.m4: New file.
3347 2003-01-29 Bruno Haible <bruno@clisp.org>
3349 * stpncpy.m4: New file.
3351 2003-01-23 Jim Meyering <jim@meyering.net>
3353 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
3354 from working on systems without dirfd (at least Irix and OSF1/Tru64).
3356 2003-01-16 Jim Meyering <jim@meyering.net>
3358 * regex.m4: The `regex' struct is both input and output.
3359 Initialize it before each use. Patch by Tim Waugh.
3361 2003-01-11 Bruno Haible <bruno@clisp.org>
3363 * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
3364 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
3367 2003-01-11 Bruno Haible <bruno@clisp.org>
3369 * md5.m4 (gl_MD5): Require AC_C_INLINE.
3371 2003-01-11 Bruno Haible <bruno@clisp.org>
3373 * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
3375 2003-01-12 Paul Eggert <eggert@twinsun.com>
3377 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
3378 to avoid collisions with libcurses and libreadline.
3380 * getstr.m4: Remove.
3381 * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
3383 2003-01-10 Bruno Haible <bruno@clisp.org>
3385 * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
3387 2003-01-09 Bruno Haible <bruno@clisp.org>
3389 * stdbool.m4 (AM_STDBOOL_H): New macro.
3391 2002-12-31 Paul Eggert <eggert@twinsun.com>
3393 * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
3395 2002-12-24 Bruno Haible <bruno@clisp.org>
3397 General infrasructure.
3398 * README: Rewritten.
3399 * onceonly.m4: New file.
3400 * onceonly_2_57.m4: New file.
3403 * atexit.m4: New file.
3406 * strtod.m4: New file.
3409 * strtol.m4: New file.
3412 * strtoul.m4: New file.
3415 * memchr.m4: New file.
3418 * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
3419 (jm_FUNC_MEMCMP): Invoke it.
3422 * memcpy.m4: New file.
3425 * memmove.m4: New file.
3428 * memset.m4: New file.
3431 * strcspn.m4: New file.
3434 * strpbrk.m4: New file.
3437 * strstr.m4: New file.
3440 * strerror.m4: New file.
3443 * mktime.m4: Renamed from jm-mktime.m4.
3444 (gl_PREREQ_MKTIME): New macro.
3445 (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
3448 * malloc.m4 (gl_PREREQ_MALLOC): New macro.
3449 (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
3450 Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
3453 * realloc.m4 (gl_PREREQ_REALLOC): New macro.
3454 (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
3455 Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
3458 * tm_gmtoff.m4: New file, extracted from strftime.m4.
3459 * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
3460 Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
3462 (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
3465 * xalloc.m4: New file.
3468 * alloca.m4: New file.
3471 * putenv.m4 (gl_PREREQ_PUTENV): New macro.
3472 (jm_FUNC_PUTENV): Invoke it.
3475 * setenv.m4 (gt_FUNC_SETENV): New macro.
3476 (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
3478 (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
3482 * memrchr.m4: New file.
3485 * stpcpy.m4: New file.
3488 * strcase.m4: New file.
3491 * strdup.m4: New file.
3494 * strnlen.m4: New file.
3497 * strndup.m4: New file.
3500 * xstrtod.m4: New file.
3503 * xstrtol.m4: New file.
3506 * getdate.m4: New file.
3509 * unlocked-io.m4: Renamed from jm-glibc-io.m4.
3510 (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
3511 * jm-glibc-io.m4n: Remove file.
3513 Module long-options.
3514 * long-options.m4: New file.
3523 * getstr.m4: New file.
3526 * getline.m4 (gl_PREREQ_GETLINE): New macro.
3527 (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
3528 <sys/types.h>, for size_t. Use the function name gnu_getline, not
3529 simply getline. Infoke gl_PREREQ_GETLINE.
3532 * obstack.m4: New file.
3535 * hash.m4: New file.
3538 * readtokens.m4: New file.
3541 * strverscmp.m4: New file.
3544 * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
3547 * strtoll.m4: New file.
3550 * strtoull.m4: New file.
3553 * strtoimax.m4: New file.
3556 * strtoumax.m4: New file.
3559 * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
3560 Moved the strtol prerequisites to strtol.m4.
3561 Moved the strtoll prerequisites to strtoll.m4.
3562 Moved the strtoimax prerequisites to strtoimax.m4.
3565 * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
3566 Moved the strtoul prerequisites to strtoul.m4.
3567 Moved the strtoull prerequisites to strtoull.m4.
3568 Moved the strtoumax prerequisites to strtoumax.m4.
3571 * chown.m4 (gl_PREREQ_CHOWN): New macro.
3572 (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
3575 * dup2.m4: New file.
3578 * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
3579 (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
3582 * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
3583 (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
3585 Module gettimeofday.
3586 * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
3587 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
3588 gl_PREREQ_GETTIMEOFDAY.
3591 * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
3592 (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
3595 * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
3596 (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
3597 jm_AC_TYPE_UINTMAX_T.
3598 (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
3601 * stat.m4 (gl_PREREQ_STAT): New macro.
3602 (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
3605 * lstat.m4 (gl_PREREQ_LSTAT): New macro.
3606 (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
3609 * timespec.m4 (gl_TIMESPEC): New macro.
3610 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
3611 * st_mtim.m4: Indentation.
3614 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
3615 (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
3616 gl_PREREQ_NANOSLEEP.
3619 * regex.m4 (jm_PREREQ_REGEX): New macro.
3620 (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
3621 (gl_REGEX): New macro.
3624 * rename.m4 (gl_PREREQ_RENAME): New macro.
3625 (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
3628 * rmdir.m4: New file.
3631 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
3632 * utime.m4 (gl_PREREQ_UTIME): New macro.
3633 (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
3636 * dirname.m4: New file.
3639 * getopt.m4: New file.
3641 Module unistd-safer.
3642 * unistd-safer.m4: New file.
3645 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
3647 (gl_PREREQ_FNMATCH_EXTRA): New macro.
3648 (gl_FUNC_FNMATCH_POSIX): New macro.
3649 (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
3650 gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
3654 * exclude.m4: New file.
3657 * human.m4: New file.
3663 * backupfile.m4: New file.
3664 * d-ino.m4: Indentation.
3667 * fsusage.m4 (gl_FSUSAGE): New macro.
3668 (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
3669 (gl_PREREQ_FSUSAGE_EXTRA): New macro.
3672 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
3675 * euidaccess.m4: New file.
3678 * file-type.m4: New file.
3681 * fileblocks.m4: New file.
3684 * filemode.m4: New file.
3687 * isdir.m4: New file.
3690 * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
3691 (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
3694 * makepath.m4: New file.
3697 * modechange.m4: New file.
3700 * mountlist.m4: New file.
3701 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
3705 * path-concat.m4: New file.
3708 * pathmax.m4: New file.
3711 * same.m4: New file.
3714 * save-cwd.m4: New file.
3717 * savedir.m4: New file.
3720 * xgetcwd.m4: New file.
3721 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
3724 * xreadlink.m4: New file.
3727 * safe-read.m4: New file.
3730 * safe-write.m4: New file.
3733 * closeout.m4: New file.
3736 * stdio-safer.m4: New file.
3739 * getpass.m4: New file.
3742 * getugroups.m4: New file.
3744 Module group-member.
3745 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
3746 (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
3749 * idcache.m4: New file.
3752 * userspec.m4: New file.
3755 * clock_time.m4: New file.
3756 * gettime.m4: New file.
3759 * settime.m4: New file.
3762 * posixtm.m4: New file.
3765 * gethostname.m4: New file.
3768 * canon-host.m4: New file.
3771 * codeset.m4: New file, from gettext-0.11.5.
3772 * gettext.m4: New file, from gettext-0.11.5.
3773 * glibc21.m4: New file, from gettext-0.11.5.
3774 * iconv.m4: New file, from gettext-0.11.5.
3775 * intdiv0.m4: New file, from gettext-0.11.5.
3776 * inttypes-pri.m4: New file, from gettext-0.11.5.
3777 * inttypes.m4: New file, from gettext-0.11.5.
3778 * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
3779 * isc-posix.m4: New file, from gettext-0.11.5.
3780 * lcmessage.m4: New file, from gettext-0.11.5.
3781 * lib-ld.m4: New file, from gettext-0.11.5.
3782 * lib-link.m4: New file, from gettext-0.11.5.
3783 * lib-prefix.m4: New file, from gettext-0.11.5.
3784 * progtest.m4: New file, from gettext-0.11.5.
3785 * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
3786 * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
3787 * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
3789 Module localcharset.
3790 * localcharset.m4: New file.
3793 * hard-locale.m4: New file.
3796 * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
3798 * mbrtowc.m4: Add comment.
3801 * memcasecmp.m4: New file.
3804 * memcoll.m4: New file.
3807 * unicodeio.m4: New file.
3810 * rpmatch.m4: New file.
3813 * yesno.m4: New file.
3816 * exitfail.m4: New file.
3819 * c-stack.m4 (gl_C_STACK): New macro.
3820 (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
3823 * error.m4 (gl_ERROR): New macro.
3824 (jm_PREREQ_ERROR): Use onceonly macros.
3827 * fatal.m4: New file.
3830 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
3831 (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
3834 * getpagesize.m4: New file.
3836 Module getusershell.
3837 * getusershell.m4: New file.
3840 * physmem.m4: New file.
3843 * posixver.m4: New file.
3846 * quotearg.m4: New file.
3849 * quote.m4: New file.
3852 * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
3855 * sig2str.m4: New file.
3858 * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
3860 * intmax_t.m4: New file.
3861 * d-type.m4: Indentation.
3862 * jm-macros.m4: Update.
3863 * prereq.m4 (jm_PREREQ): Update.
3864 (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
3865 (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
3866 (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
3867 (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
3868 (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
3869 (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
3870 (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
3871 (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
3872 (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
3873 (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
3874 (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
3875 (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
3876 (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
3877 (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
3878 (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
3879 (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
3880 (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
3881 (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
3882 * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
3884 2002-12-18 Bruno Haible <bruno@clisp.org>
3886 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
3887 * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
3889 2002-12-17 Bruno Haible <bruno@clisp.org>
3891 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
3894 2002-12-11 Bruno Haible <bruno@clisp.org>
3896 * setenv.m4: New file, from gettext-0.11.5.
3898 2002-12-06 Paul Eggert <eggert@twinsun.com>
3900 Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
3901 a pain in practice to deal with generated m4 files. This change
3902 goes together with the 2002-12-04 unlocked-io.h change in ../lib.
3904 * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
3905 and jm-glibc-io.m4, as they are no longer a special case.
3906 * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
3907 kludge and the auto-generation stuff. Check only whether the
3908 functions are declared, not whether they exist, since older hosts
3909 that don't declare the functions can't use the optimization anyway.
3911 2002-07-06 Jim Meyering <meyering@lucent.com>
3913 * README: Don't mention Makefile.am.in.
3914 Outline how I've tested changes to .m4 files. Yep, it's a pain.
3916 2002-06-11 Paul Eggert <eggert@twinsun.com>
3918 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
3920 2002-06-22 Jim Meyering <meyering@lucent.com>
3922 * c-stack.m4: New file, from diffutils-2.8.2.
3923 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
3925 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
3926 now that configure.ac uses AC_GNU_SOURCE.
3927 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
3928 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
3930 Update to latest tools. Suggestions from Paul Eggert.
3931 * stdbool.m4: New file, from diffutils-2.8.2.
3932 * gnu-source.m4: Update from diffutils-2.8.2.
3933 * fnmatch.m4: Likewise.
3934 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
3935 to AC_HEADER_STDBOOL
3937 2002-06-21 Jim Meyering <meyering@lucent.com>
3939 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
3940 * mbrtowc.m4: Likewise.
3942 * mbstate_t.m4: Update from diffutils-2.8.2.
3943 * mbswidth.m4: Reflect name change:
3944 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
3945 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3947 * lib-link.m4: Update from gettext-0.11.2.
3948 * gettext.m4: Likewise.
3950 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
3951 From Alfred M. Szmidt.
3953 2002-05-19 Paul Eggert <eggert@twinsun.com>
3955 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
3957 2002-06-07 Jim Meyering <meyering@lucent.com>
3959 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
3960 They're needed at least for NetBSD 1.5.2.
3961 ($statxfs_includes): Include those same headers.
3962 ($statxfs_includes): Include sys/vfs.h if available.
3963 ($statxfs_includes): Likewise for sys/statvfs.h.
3964 Check for the following members in both structs statfs and statvfs:
3965 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
3967 2002-06-01 Jim Meyering <meyering@lucent.com>
3969 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
3970 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
3972 2002-05-28 Jim Meyering <meyering@lucent.com>
3974 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
3975 Reported by Volker Borchert.
3977 2002-05-27 Jim Meyering <meyering@lucent.com>
3979 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
3982 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
3983 use the replacement function; it wouldn't resolve at link time.
3984 Reported by Volker Borchert.
3986 2002-04-30 Jim Meyering <meyering@lucent.com>
3988 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
3990 2002-04-29 Paul Eggert <eggert@twinsun.com>
3992 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
3993 Do not check for alloca.h (no longer used) or stdbool.h (was never
3994 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
3996 2002-04-28 Paul Eggert <eggert@twinsun.com>
3998 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
4000 2002-04-29 Jim Meyering <meyering@lucent.com>
4002 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
4003 * prereq.m4: Add jm_PREREQ_STRNLEN.
4004 Use AC_FUNC_STRNLEN here instead.
4006 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
4007 With autoconf-2.53a, it's part of AC_PROG_CC.
4009 2002-04-28 Paul Eggert <eggert@twinsun.com>
4011 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
4012 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
4014 2002-04-24 Jim Meyering <meyering@lucent.com>
4016 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
4017 (jm_PREREQ): Use it.
4019 * getloadavg.m4: Check for these headers: locale.h unistd.h
4020 mach/mach.h fcntl.h.
4021 Check for this function: setlocale.
4023 2002-04-16 Jim Meyering <meyering@lucent.com>
4025 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
4026 ut_pid, ut_id, ut_exit.
4028 2002-04-12 Jim Meyering <meyering@lucent.com>
4030 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
4031 check for f_type in sys/mount.h. Instead, just test for the existence
4032 of the getmntinfo function. Needed for Darwin 5.3.
4034 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
4035 This is necessary at least on Darwin 5.3.
4037 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
4038 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
4039 in the library, and that makes some versions of ranlib object.
4041 2002-04-09 Jim Meyering <meyering@lucent.com>
4043 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
4044 to be more precise. Rather than saying we're checking whether the
4045 function `works', say what we're testing.
4046 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
4047 Reported by Bruno Haible.
4049 2002-02-27 Paul Eggert <eggert@twinsun.com>
4051 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
4052 Check for clock_settime.
4054 2002-02-25 Paul Eggert <eggert@twinsun.com>
4057 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
4058 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
4060 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
4062 * codeset.m4: Upgrade to gettext-0.11.
4063 * gettext.m4: Upgrade to gettext-0.11.
4064 * glibc21.m4: Upgrade to gettext-0.11.
4065 * iconv.m4: Upgrade to gettext-0.11.
4066 * isc-posix.m4: Upgrade to gettext-0.11.
4067 * lcmessage.m4: Upgrade to gettext-0.11.
4068 * lib-ld.m4: New file, from gettext-0.11.
4069 * lib-link.m4: New file, from gettext-0.11.
4070 * lib-prefix.m4: New file, from gettext-0.11.
4071 * progtest.m4: Upgrade to gettext-0.11.
4073 2002-02-15 Paul Eggert <eggert@twinsun.com>
4075 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
4076 (jm_PREREQ): Use it.
4078 2002-01-26 Jim Meyering <meyering@lucent.com>
4080 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
4081 * strnlen.m4: Remove file, now that it's part of autoconf.
4083 2002-01-22 Paul Eggert <eggert@twinsun.com>
4085 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
4087 2002-01-19 Jim Meyering <meyering@lucent.com>
4089 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
4090 Remove useless quotes: DF_PROG="df".
4091 * strnlen.m4: New file.
4093 2001-12-14 Jim Meyering <meyering@lucent.com>
4095 * jm-macros.m4 (jm_MACROS): Check for iswspace.
4096 Suggestion from Bruno Haible.
4098 2001-11-20 Jim Meyering <meyering@lucent.com>
4100 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
4101 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
4103 2001-11-19 Jim Meyering <meyering@lucent.com>
4105 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
4106 directory. Use "conftestXXXXXX" as the template.
4107 Suggestion from Paul Eggert.
4109 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
4110 so the test doesn't mistakenly hit the max-open-files limit.
4112 2001-11-18 Jim Meyering <meyering@lucent.com>
4114 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
4116 2001-11-17 Jim Meyering <meyering@lucent.com>
4118 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
4119 Prompted by a report from Bob Proulx.
4121 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
4122 Instead, require UTILS_FUNC_MKSTEMP.
4124 2001-11-11 Jim Meyering <meyering@lucent.com>
4126 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
4127 Now, that's done as part of AC_FUNC_STRTOD.
4129 2001-10-22 Paul Eggert <eggert@twinsun.com>
4131 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
4132 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
4134 2001-11-10 Jim Meyering <meyering@lucent.com>
4136 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
4137 (jm_PREREQ): Use it.
4139 2001-11-09 Jim Meyering <meyering@lucent.com>
4141 * jm-macros.m4: Require autoconf-2.52f.
4142 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
4143 Use these AC_-prefixed names, not the AM_-prefixed ones.
4145 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
4147 2001-11-04 Jim Meyering <meyering@lucent.com>
4149 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
4151 2001-11-03 Jim Meyering <meyering@lucent.com>
4153 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
4156 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
4157 know the name of the variable in the macro definition.
4159 2001-11-01 Jim Meyering <meyering@lucent.com>
4161 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
4162 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
4164 2001-10-20 Paul Eggert <eggert@twinsun.com>
4166 * error.m4 (jm_PREREQ_ERROR):
4167 Do not invoke AC_CHECK_FUNCS with strerror_r, as
4168 AC_FUNC_STRERROR_R does that.
4169 Check for strerror declaration.
4171 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
4172 are supposed to have them these days.
4173 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
4174 Merge changes from latest Autoconf CVS.
4175 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
4176 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
4177 POSIX decided to standardize on the int flavor of strerror_r.
4179 2001-09-30 Jim Meyering <meyering@lucent.com>
4181 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
4182 `struct fsstat' has the `f_fstypename' member.
4183 Use that to define FS_TYPE, which is now used to make
4184 the getfsstat link test tighter.
4186 2001-09-29 Jim Meyering <meyering@lucent.com>
4188 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
4189 [one-argument getmntent function]): Include stdio.h before mntent.h.
4190 SunOS 4.1.x needs it for the declaration of `FILE'.
4191 Patch by Volker Borchert.
4193 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
4194 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
4195 sys/fs_types.h, and make the link-test for getfsstat guard #include
4196 directives with appropriate #if HAVE_*_H tests so that we can
4197 detect getfsstat on Apple Darwin1.3.7 systems.
4198 Reported by Nelson Beebe.
4199 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
4201 2001-09-28 Paul Eggert <eggert@twinsun.com>
4203 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
4204 #defines strtoimax. Also treat the other strto* functions
4207 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
4208 Check for strtoul and strtoumax,
4209 as those declarations are made even in the signed case.
4210 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
4211 Likewise, for strtol and strtoimax.
4213 2001-09-24 Jim Meyering <meyering@lucent.com>
4215 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
4217 2001-09-23 Jim Meyering <meyering@lucent.com>
4219 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
4220 instead of the mere test for existence of mntent.h. The latter
4221 would get a false-positive on AIX 3.4 systems.
4222 In the outer getmntent if-block, don't die if neither of the getmntent
4223 tests succeeds. Instead, just fall through and continue with the
4226 2001-09-22 Jim Meyering <meyering@lucent.com>
4228 * gettext.m4: New file. From gettext.
4229 * lcmessage.m4: Sync with gettext -- this changes only comments.
4230 * progtest.m4: Likewise
4231 * isc-posix.m4: Decrement serial number to sync with gettext.
4232 * glibc21.m4: Likewise.
4234 * libintl.m4: Remove. No longer used.
4236 2001-09-20 Jim Meyering <meyering@lucent.com>
4238 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
4240 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
4243 2001-09-17 Jim Meyering <meyering@lucent.com>
4245 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
4246 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
4247 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
4248 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
4249 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
4250 whenever the right hand side need not be expanded by the shell.
4252 2001-09-16 Paul Eggert <eggert@twinsun.com>
4254 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
4255 library. It's not correct, as some older glibcs are buggy.
4256 fnmatch wasn't fixed until glibc 2.2.
4258 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
4259 special shell magic here.
4261 2001-09-16 Jim Meyering <meyering@lucent.com>
4263 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
4264 * jm-macros.m4: Require it.
4266 2001-09-15 Jim Meyering <meyering@lucent.com>
4268 * jm-macros.m4: Check for help2man.
4270 2001-09-11 Jim Meyering <meyering@lucent.com>
4272 * host-os.m4 (UTILS_HOST_OS): New file/macro.
4273 The body, by Paul Eggert, was moved here from configure.in.
4274 * jm-macros.m4: Require UTILS_HOST_OS.
4276 2001-09-04 Paul Eggert <eggert@twinsun.com>
4278 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
4279 (jm_PREREQ): Use it.
4281 2001-09-03 Paul Eggert <eggert@twinsun.com>
4283 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
4284 sys/param.h, as pathmax.h includes them.
4286 2001-09-03 Paul Eggert <eggert@twinsun.com>
4288 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
4289 (jm_PREREQ_XGETCWD): New macro.
4291 * getcwd.m4: New file.
4293 2001-09-01 Jim Meyering <meyering@lucent.com>
4295 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
4298 2001-08-30 Paul Eggert <eggert@twinsun.com>
4300 Simplify code, partly by assuming autoconf 2.52 semantics.
4302 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
4304 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
4305 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
4307 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
4308 Move AC_REQUIRE to next-to-top level, to avoid confusion.
4309 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
4310 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
4311 * jm-macros.m4 (jm_MACROS): Likewise.
4313 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
4315 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
4316 Quote first arg of AC_DEFUN.
4317 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
4318 since they are needed to parse the include file even if we need
4319 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
4320 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
4321 but with opposite signedness.
4323 2001-08-30 Paul Eggert <eggert@twinsun.com>
4325 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
4326 (jm_PREREQ_EXCLUDE): New macro.
4328 2001-08-26 Jim Meyering <meyering@lucent.com>
4330 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
4332 * xstrtoimax.m4: New file.
4333 * xstrtoumax.m4: Add comments explaining why we
4334 AC_REPLACE_FUNCS(strtol).
4336 2001-06-20 Paul Eggert <eggert@twinsun.com>
4338 * inttypes.m4: Add AC_PREREQ(2.13).
4339 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
4340 (jm_AC_TYPE_INTMAX_T): New macro.
4341 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
4343 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
4345 * longlong.m4: Renamed from ulonglong.m4.
4346 * inttypes.m4: Renamed from inttypes_h.m4.
4347 * uintmax_t.m4: Removed.
4349 2001-08-12 Jim Meyering <meyering@lucent.com>
4351 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
4352 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
4353 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
4354 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
4355 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
4356 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
4357 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
4358 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
4359 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
4360 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
4361 utime.m4, utimes.m4, xstrtoumax.m4:
4362 Quote the first argument in each use of AC_DEFUN.
4364 2001-08-05 Jim Meyering <meyering@lucent.com>
4366 * jm-macros.m4: Require autoconf-2.52.
4368 2001-08-03 Paul Eggert <eggert@twinsun.com>
4370 The following changes are from gettext 0.10.39 as maintained by
4371 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
4373 * codeset.m4: Upgrade to serial AM1.
4374 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
4375 all uses changed. Quote first arg of AC_DEFUN.
4376 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
4378 * iconv.m4: Upgrade to serial AM2.
4379 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
4380 Add --with-libconv-prefix.
4381 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
4382 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
4383 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
4384 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
4385 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
4387 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
4388 * getline.m4 (AM_FUNC_GETLINE): Likewise.
4389 * glibc21.m4 (jm_GLIBC21): Likewise.
4390 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
4391 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
4392 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
4393 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
4394 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
4395 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
4397 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
4400 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
4401 not the default value.
4403 2001-06-25 Bruno Haible <haible@clisp.cons.org>
4404 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
4405 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
4406 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
4407 Also check for iswcntrl, used for wcwidth fallback.
4408 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
4411 2001-08-03 Jim Meyering <meyering@lucent.com>
4413 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
4414 as it was in the original. Reported by Paul Eggert.
4416 2001-07-16 Jim Meyering <meyering@lucent.com>
4418 * gettimeofday.m4: New file.
4419 Prompted by a report from Bernhard Baehr.
4421 2001-07-15 Jim Meyering <meyering@lucent.com>
4423 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
4424 Now it's in ../Makefile.cfg.
4426 2001-07-04 Jim Meyering <meyering@lucent.com>
4428 * Makefile.am.in (glibc-io.struct): New target. Rework the code
4429 that generates jm-glibc-io.m4 so that it doesn't trigger any make
4432 2001-07-02 Jim Meyering <meyering@lucent.com>
4434 The following changes were prompted by suggestions from Bruno Haible.
4436 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
4438 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
4439 definition of EXTRA_DIST.
4440 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
4441 ensure that the generated file is created/updated whenever the list
4442 of $(unlocked_functions) is changed.
4443 (jm-glibc-io.m4): New rule.
4444 (unlocked-io.h): New rule -- currently unused.
4446 2001-06-24 Jim Meyering <meyering@lucent.com>
4448 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
4449 unmatched right bracket, rather than kludging it with an extra,
4450 falsely-matching quote in a comment. Patch by Akim Demaille.
4452 2001-05-27 Jim Meyering <meyering@lucent.com>
4454 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
4455 Check for ut_type in struct utmp.
4457 2001-05-22 Jim Meyering <meyering@lucent.com>
4459 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
4460 now that we use the package-supplied version unconditionally.
4461 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
4463 2001-05-21 Jim Meyering <meyering@lucent.com>
4465 * regex.m4: Change a couple backticks to single quotes to avoid shell
4468 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
4470 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
4472 2001-05-11 Paul Eggert <eggert@twinsun.com>
4474 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
4475 Don't bother to check library strftime, since
4476 we'll be using our own my_strftime function anyway.
4477 Define my_strftime instead of strftime.
4479 2001-05-15 Jim Meyering <meyering@lucent.com>
4481 * regex.m4: Use proper quoting so brackets appear in the test program.
4482 Reported by, and with help from, Bruno Haible.
4484 2001-05-13 Jim Meyering <meyering@lucent.com>
4486 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
4488 2000-11-26 Paul Eggert <eggert@twinsun.com>
4490 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
4492 2001-04-21 Jim Meyering <meyering@lucent.com>
4494 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
4497 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
4499 * ftruncate.m4: Check for chsize.
4500 Link with ftruncate.o unconditionally if ftruncate is missing.
4501 This was required when cross-compiling to i586-mingw32msvc.
4503 2001-03-24 Jim Meyering <meyering@lucent.com>
4505 * jm-macros.m4: Require autoconf-2.49d.
4507 2001-03-20 Bruno Haible <haible@clisp.cons.org>
4509 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
4511 2001-03-17 Jim Meyering <meyering@lucent.com>
4513 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
4514 now that the version in autoconf is equivalent.
4515 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
4517 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
4518 Suggestion from Akim Demaille.
4520 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
4521 (jm_PREREQ_TEMPNAME): New function.
4523 2001-02-25 Paul Eggert <eggert@twinsun.com>
4525 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
4526 lacks mkstemp. Compile our own tempname.c if we compile our own
4527 mkstemp.c, as mkstemp relies on tempname.
4529 2001-03-01 Jim Meyering <meyering@lucent.com>
4531 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
4532 AH_VERBATIM really does output its argument verbatim.
4534 2001-02-18 Paul Eggert <eggert@twinsun.com>
4536 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
4538 2001-02-17 Jim Meyering <meyering@lucent.com>
4540 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
4541 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
4542 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
4545 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
4546 rather than AC_CACHE_VAL.
4548 2001-02-17 Paul Eggert <eggert@twinsun.com>
4550 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
4551 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
4552 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
4553 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
4555 2001-02-07 Jim Meyering <meyering@lucent.com>
4557 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
4559 2001-02-05 Jim Meyering <meyering@lucent.com>
4561 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
4562 it includes the patch required for `large file' support with at least
4563 HP-UX's 10.20 /bin/cc.
4565 2001-02-03 Jim Meyering <meyering@lucent.com>
4567 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
4568 AS_IF, now that it works once again (mysteriously).
4569 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4571 2001-01-30 Jim Meyering <meyering@lucent.com>
4573 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
4574 * chown.m4: Rename conftestchown to conftest.chown.
4575 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
4576 * utimes.m4: s/conftestdata/conftest.data/
4577 Inspired by Pavel Roskin's change in autoconf.
4579 2001-01-27 Jim Meyering <meyering@lucent.com>
4581 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
4583 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4585 2001-01-26 Jim Meyering <meyering@lucent.com>
4587 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
4588 quotearg.c includes it.
4590 2001-01-15 Bruno Haible <haible@clisp.cons.org>
4592 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
4595 2001-01-20 Jim Meyering <meyering@lucent.com>
4597 Be sure that headers are checked before used in code compiled
4598 for the type checks.
4599 * jm-macros.m4 (jm_MACROS): Remove all header checks.
4600 In place of that, invoke jm_CHECK_ALL_TYPES.
4601 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
4602 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
4603 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
4604 The check for ssize_t was mistakenly run before the test for unistd.h.
4606 The configure-time check for stdbool.h was missing.
4607 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
4608 (jm_PREREQ_HASH): New function.
4610 2001-01-17 Jim Meyering <meyering@lucent.com>
4612 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
4614 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
4616 2001-01-14 Jim Meyering <meyering@lucent.com>
4618 * rename.m4: Use temporary directories named conftestdir{,2}, not
4619 foo and bar. Create conftestdir/ in the script, not in the C code.
4620 Remove directories in the script, not in the C code.
4621 Remove conftestdir{,2} before trying to create the directory.
4622 Make the entire configure script fail if the mkdir fails.
4624 2001-01-02 Volker Borchert <bt@teknon.de>
4626 * rename.m4: New file.
4627 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
4629 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
4631 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
4632 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
4633 so `make install' also works in VPATH builds.
4635 2001-01-01 Jim Meyering <meyering@lucent.com>
4637 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
4638 on systems with utmpx.h. It's necessary for the declaration of utmp's
4639 ut_user member. Reported by Andreas Jaeger.
4641 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
4642 They are required for the declarations of getgrgid and getpwuid resp.
4643 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
4644 Reported by Andreas Jaeger.
4646 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4648 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
4649 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
4650 can be used in subdirectories.
4652 2000-12-26 Jim Meyering <meyering@lucent.com>
4654 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
4657 2000-12-17 Jim Meyering <meyering@lucent.com>
4659 * dos.m4 (jm_AC_DOS): New file and macro.
4660 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
4662 2000-12-06 Paul Eggert <eggert@twinsun.com>
4664 * off_t-format.m4: Remove this file.
4665 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
4667 2000-12-06 Jim Meyering <meyering@lucent.com>
4669 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
4670 strtoull, we may well need the replacement strtoul, too.
4671 Check for declarations of strtoul and strtoull.
4672 Check for strtol. Mainly as a cue to cause automake to include
4673 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
4674 Check for limits.h -- strtol.c needs it.
4676 2000-12-02 Jim Meyering <meyering@lucent.com>
4678 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
4679 * jm-macros.m4 (jm_MACROS): require it.
4681 2000-11-30 Jim Meyering <meyering@lucent.com>
4683 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
4685 2000-11-30 Jim Meyering <meyering@lucent.com>
4687 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
4689 2000-11-03 Bruno Haible <haible@clisp.cons.org>
4691 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
4693 2000-11-04 Jim Meyering <meyering@lucent.com>
4695 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
4697 2000-10-29 Jim Meyering <meyering@lucent.com>
4699 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
4700 * ls-mntd-fs.m4: Likewise
4702 2000-10-28 Jim Meyering <meyering@lucent.com>
4704 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
4705 (jm_PREREQ_MEMCHR): New function.
4707 2000-10-21 Jim Meyering <meyering@lucent.com>
4709 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
4710 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
4711 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
4713 2000-09-18 Jim Meyering <meyering@lucent.com>
4715 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
4716 Otherwise, everyone ends up linking with -lelf for some configurations.
4717 Reported by Mike Stone.
4719 2000-08-26 Jim Meyering <meyering@lucent.com>
4721 * jm-macros.m4: Use jm_FUNC_FPENDING.
4722 * fpending.m4: New file.
4724 2000-08-20 Jim Meyering <meyering@lucent.com>
4726 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
4727 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
4728 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
4730 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
4732 Improve fileutils installation on systems where running
4733 programs (like install) can't be unlinked.
4734 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
4735 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
4737 2000-08-06 Paul Eggert <eggert@twinsun.com>
4739 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
4740 not char, for compatibility with glibc 2.1.3 strftime.c.
4742 2000-07-23 Paul Eggert <eggert@twinsun.com>
4744 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
4746 2000-07-23 Jim Meyering <meyering@lucent.com>
4748 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
4749 getgrgid, getpwuid, getuid.
4751 2000-07-16 Bruno Haible <haible@clisp.cons.org>
4753 * mbswidth.m4: New file.
4754 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
4756 2000-07-14 Jim Meyering <meyering@lucent.com>
4758 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
4760 2000-07-10 Paul Eggert <eggert@twinsun.com>
4762 From a suggestion by Bruno Haible.
4763 * mbstate_t.m4 (AC_MBSTATE_T):
4764 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
4765 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
4766 and mbstate_t, to a single-part test that simply defines mbstate_t.
4767 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
4769 2000-07-10 Jim Meyering <meyering@lucent.com>
4771 * strerror_r.m4: Mirror the correction made in autoconf.
4773 * gnu-source.m4: Output to confdefs.h directly.
4774 Suggestion from Akim Demaille.
4776 2000-07-09 Jim Meyering <meyering@lucent.com>
4778 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
4779 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
4781 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
4782 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
4784 2000-07-05 Bruno Haible <haible@clisp.cons.org>
4786 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
4788 Include <ctype.h> for use of isalpha.
4790 2000-07-05 Paul Eggert <eggert@twinsun.com>
4791 and Bruno Haible <haible@clisp.cons.org>
4793 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
4794 only if the test for an object-type mbstate_t fails. This
4795 prevents us from mistakenly reporting that mbstate_t is a
4796 system object type after we "#define mbstate_t int" to work
4799 2000-07-04 Jim Meyering <meyering@lucent.com>
4801 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
4802 of the deprecated AC_CHECKING.
4804 2000-07-03 Jim Meyering <meyering@lucent.com>
4806 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
4808 2000-07-03 Paul Eggert <eggert@twinsun.com>
4810 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
4811 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
4813 2000-07-02 Jim Meyering <meyering@lucent.com>
4815 * mbstate_t.m4: Also define mbstate_t, if necessary.
4817 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
4818 AC_LIBOBJ(function_name).
4819 * chown.m4: Likewise.
4820 * fnmatch.m4: Likewise.
4821 * ftruncate.m4: Likewise.
4822 * getgroups.m4: Likewise.
4823 * getline.m4: Likewise.
4824 * group-member.m4: Likewise.
4825 * jm-macros.m4: Likewise.
4826 * lstat.m4: Likewise.
4827 * malloc.m4: Likewise.
4828 * memcmp.m4: Likewise.
4829 * nanosleep.m4: Likewise.
4830 * putenv.m4: Likewise.
4831 * realloc.m4: Likewise.
4832 * regex.m4: Likewise.
4833 * stat.m4: Likewise.
4834 * strftime.m4: Likewise.
4836 2000-07-01 Jim Meyering <meyering@lucent.com>
4838 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
4841 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4843 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
4844 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
4846 2000-07-01 Jim Meyering <meyering@lucent.com>
4848 * uptime.m4: Put double quotes around use of $cross_compiling.
4850 2000-06-28 Jim Meyering <meyering@lucent.com>
4852 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
4853 by quotearg.c, for which we perform this test. From Bruno Haible.
4855 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4857 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
4858 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
4859 <utmpx.h> exists, put readutmp.o into LIBOBJS.
4861 2000-06-25 Jim Meyering <meyering@lucent.com>
4863 * mbstate_t.m4: Include stdio.h before wchar.h to work around
4864 Linux header bug when _XOPEN_SOURCE is defined to 500.
4866 2000-06-24 Jim Meyering <meyering@lucent.com>
4868 * strerror_r.m4: Revive this file -- to try out an experimental
4869 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
4870 for which strerror does return char*, but which lacks a conveniently
4871 accessible declaration of the function. If the compile-test says
4872 strerror_r doesn't work, then resort to a `run'-test that works on
4873 BeOS and segfaults on DEC Unix.
4875 2000-06-19 Paul Eggert <eggert@twinsun.com>
4877 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
4878 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
4880 2000-06-23 Jim Meyering <meyering@lucent.com>
4882 * afs.m4: Add missing AC_MSG_RESULT.
4883 Reported by Bruno Haible.
4885 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
4886 Suggestion from Bruno Haible.
4888 2000-06-21 Jim Meyering <meyering@lucent.com>
4890 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
4892 2000-06-18 Jim Meyering <meyering@lucent.com>
4894 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
4896 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
4897 `checking whether...' message to be consistent with that of the
4900 2000-06-16 Bruno Haible <haible@clisp.cons.org>
4902 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
4904 2000-06-12 Jim Meyering <meyering@lucent.com>
4906 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
4907 from autoconf, and tweak the latter to accept an optional argument.
4908 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
4909 the optional argument, `lib'.
4911 2000-06-08 Jim Meyering <meyering@lucent.com>
4913 * largefile.m4: Remove file (now that it's part of autoconf).
4915 2000-06-04 Paul Eggert <eggert@twinsun.com>
4917 Rewrite largefile configuration so that we don't need to run
4918 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
4919 AC_CANONICAL_HOST in configure.in -- jmm]
4921 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
4922 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
4923 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
4924 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
4925 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
4927 Instead of inspecting the output of getconf, try to compile the
4928 test program without and with the macro definition.
4929 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
4930 for getconf. Instead, check for the needed flags by compiling
4933 2000-06-03 Jim Meyering <meyering@lucent.com>
4935 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
4936 now that autoconf requires that.
4938 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
4939 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
4940 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
4942 2000-05-26 Bruno Haible <haible@clisp.cons.org>
4944 * glibc21.m4: New file.
4945 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
4947 2000-05-28 Jim Meyering <meyering@lucent.com>
4949 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
4950 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4951 * stat.m4: Likewise.
4952 * lstat.m4: Likewise.
4953 * lstat-slash.m4: Remove file (absorbed into autoconf).
4955 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
4956 * strerror_r.m4: Remove file (absorbed into autoconf).
4958 2000-05-26 Jim Meyering <meyering@lucent.com>
4960 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
4962 2000-05-24 Jim Meyering <meyering@lucent.com>
4964 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
4965 autoconf requires that.
4966 * lib-check.m4: Likewise.
4967 * jm-macros.m4: Likewise.
4968 * strftime.m4: Likewise.
4970 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
4971 now that autoconf requires that.
4973 2000-05-22 Jim Meyering <meyering@lucent.com>
4975 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4976 * lstat.m4: Likewise.
4978 2000-05-20 Jim Meyering <meyering@lucent.com>
4980 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
4981 (jm_PREREQ): Use it.
4983 2000-05-09 Jim Meyering <meyering@lucent.com>
4985 * gettext.m4: Rename this...
4986 * libintl.m4: ...to this.
4988 2000-05-06 Jim Meyering <meyering@lucent.com>
4990 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
4991 (AC_REPLACE_FUNCS): Add strnlen.
4993 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
4994 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
4996 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
4997 AC_SEARCH_LIBS call for nanosleep.
4998 (LIB_NANOSLEEP): Set and AC_SUBST.
5000 2000-05-03 Paul Eggert <eggert@twinsun.com>
5002 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
5003 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
5004 2.1.3 bug. This avoids a clash when files like regex.c define
5007 2000-05-05 Jim Meyering <meyering@lucent.com>
5009 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
5010 call for clock_gettime.
5011 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
5013 * search-libs.m4: Update from autoconf.
5015 su doesn't work on Solaris 2.6.
5016 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
5017 <shadow.h>. Reported by Dragos Harabor.
5019 2000-05-03 Jim Meyering <meyering@lucent.com>
5021 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
5023 2000-05-02 Paul Eggert <eggert@twinsun.com>
5025 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
5026 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
5027 compile-time test, rather than inspecting host and OS, to
5028 decide whether to define _LARGEFILE_SOURCE.
5030 2000-05-01 Jim Meyering <meyering@lucent.com>
5032 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
5034 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
5035 Based on a patch from Bruno Haible.
5037 2000-04-18 Jim Meyering <meyering@lucent.com>
5039 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
5040 (jm_PREREQ): Use it.
5042 2000-04-17 Jim Meyering <meyering@lucent.com>
5045 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
5046 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
5047 Suggestion from Akim Demaille.
5049 2000-04-14 Jim Meyering <meyering@lucent.com>
5051 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
5052 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
5054 2000-04-13 Jim Meyering <meyering@lucent.com>
5056 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
5057 to insert required #ifndef into config.h.in.
5058 Suggestion from Akim Demaille.
5060 2000-04-12 Jim Meyering <meyering@lucent.com>
5062 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
5063 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
5064 Christian Krackowizer.
5066 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
5067 * jm-macros.m4 (_GNU_SOURCE): Define.
5068 (AC_SYS_LARGEFILE): Require.
5069 (AM_C_PROTOTYPES): Require.
5071 2000-04-05 Paul Eggert <eggert@twinsun.com>
5073 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
5074 IRIX if the installer said otherwise.
5076 2000-04-05 Jim Meyering <meyering@lucent.com>
5078 Portability tweaks required for ultrix4.3.
5079 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
5080 (jm_CHECK_DECLS): Add getutent to the list of functions.
5081 (_jm_DECL_HEADERS): Add utmpx.h.
5082 From John David Anglin.
5084 * strftime.m4: Back out the 2000-04-02 change.
5085 Instead of that change, simply undefine putenv in the test program.
5087 2000-04-03 Jim Meyering <meyering@lucent.com>
5089 * gettext.m4: Fix typo in comment.
5091 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
5092 textutils/configure.in). Suggestion from Paul Eggert.
5093 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
5095 2000-04-02 Paul Eggert <eggert@twinsun.com>
5097 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
5098 variable in the shell rather than using putenv, which isn't
5099 portable. This avoids the configure-time inter-test dependency
5100 on the potentially-renamed putenv function.
5102 2000-03-30 Paul Eggert <eggert@twinsun.com>
5104 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
5105 before checking struct stat.st_blksize, so that
5106 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
5108 2000-03-29 Paul Eggert <eggert@twinsun.com>
5110 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
5111 since strftime.c uses HAVE_STRFTIME to decide whether to use
5112 the underlying strftime.
5114 2000-03-10 Jim Meyering <meyering@lucent.com>
5116 * lib-check.m4: Look for getspnam in -lgen, too.
5119 2000-02-02 Bruno Haible <haible@clisp.cons.org>
5121 * codeset.m4: New file.
5122 * iconv.m4: New file.
5123 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
5125 2000-03-04 Jim Meyering <meyering@lucent.com>
5127 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
5128 for lib/localcharset.c.
5130 2000-03-03 Jim Meyering <meyering@lucent.com>
5132 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
5134 2000-03-02 Jim Meyering <meyering@lucent.com>
5136 * timespec.m4: Require AC_HEADER_TIME before the cache check so
5137 the messages come out on separate lines.
5139 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
5140 rather than jm_CHECK_DECLARATIONS.
5141 * decl.m4: Remove now-unused file.
5143 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
5145 2000-02-27 Jim Meyering <meyering@lucent.com>
5147 * check-decl.m4: Add getenv to the list.
5149 2000-02-23 Jim Meyering <meyering@lucent.com>
5151 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
5152 in place of my hack.
5154 2000-02-10 Jim Meyering <meyering@lucent.com>
5156 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
5157 gnu_nanosleep to rpl_nanosleep.
5159 2000-02-09 Jim Meyering <meyering@lucent.com>
5161 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
5162 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
5164 2000-02-08 Akim Demaille <akim@epita.fr>
5166 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
5167 `[' and `]' and remove uses of `changequote'.
5168 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
5169 (AC_SYS_LARGEFILE): Likewise.
5170 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
5171 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
5173 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
5174 * readdir.m4 (jm_FUNC_READDIR): Likewise
5175 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
5176 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
5178 2000-02-05 Jim Meyering <meyering@lucent.com>
5180 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
5181 Remove explicit use of AC_HEADER_TIME. It is required by
5182 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
5183 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
5184 in autoconf whereby the expansion of the latter ended up preceding
5185 the expansion of its prerequisite, AC_HEADER_TIME.
5186 Reported by Volker Borchert.
5188 2000-02-03 Jim Meyering <meyering@lucent.com>
5190 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
5192 2000-02-02 Jim Meyering <meyering@lucent.com>
5194 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
5195 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
5196 Reported by Eli Zaretskii.
5198 2000-01-31 Jim Meyering <meyering@lucent.com>
5200 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
5201 functions. Add the time.h and sys/time.h headers along with the
5202 AC_REQUIRE'ment of AC_HEADER_TIME.
5204 2000-01-30 Jim Meyering <meyering@lucent.com>
5206 * lib-check.m4: Clean up some kludgy old shadow password tests.
5208 * prereq.m4 (utmp_includes): Define.
5209 Check for ut_user and ut_name members in both struct utmpx
5212 2000-01-29 Jim Meyering <meyering@lucent.com>
5214 * lib-check.m4: New file containing library-related checks from
5215 fileutils and sh-utils (textutils had none).
5217 2000-01-28 Jim Meyering <meyering@lucent.com>
5219 * perl.m4: Change format of warning message to look more like that
5220 from the missing script. Suggestion from François Pinard.
5222 2000-01-25 Jim Meyering <meyering@lucent.com>
5224 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
5225 as time.h in the compile check.
5226 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
5227 Fix typo in cross-compiling case: s/yes/no/.
5229 2000-01-23 Jim Meyering <meyering@lucent.com>
5231 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
5233 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
5234 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
5236 * fsusage.m4: New file. Extracted from fileutils/configure.in.
5237 s/space/ac_fsusage_space/.
5238 (jm_FILE_SYSTEM_USAGE): Take two parameters.
5240 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
5241 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
5242 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
5244 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
5245 AC_SUBST these here, rather than just in sh-util/configure.in, so
5246 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
5248 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
5249 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
5250 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
5251 (AC_SUBST(POW_LIBM)): Likewise.
5252 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
5254 2000-01-22 Jim Meyering <meyering@lucent.com>
5256 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
5258 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
5260 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
5262 (AC_CHECK_HEADERS): Likewise for sh-utils.
5263 (AC_CHECK_HEADERS): Likewise for textutils.
5264 Merge the three lists of headers.
5266 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
5267 from fileutils' configure.in.
5269 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
5270 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
5272 * check-decl.m4: Use #if rather than #ifdef.
5273 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
5274 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
5275 (_jm_DECL_HEADERS): Define new function.
5276 (jm_CHECK_DECLARATIONS): Require it.
5278 2000-01-19 Jim Meyering <meyering@lucent.com>
5280 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
5281 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
5282 defines `struct timespec' in <sys/time.h>
5284 * c-bs-a.m4: Remove uses of changequote altogether.
5285 Thanks to Akim for explaining.
5287 2000-01-16 Jim Meyering <meyering@lucent.com>
5289 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
5290 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
5291 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
5292 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
5294 2000-01-16 Jim Meyering <meyering@lucent.com>
5296 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
5297 because the latter didn't work.
5299 2000-01-15 Jim Meyering <meyering@lucent.com>
5301 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
5302 (AC_REPLACE_FUNCS): Add memcpy and memset.
5303 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
5305 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
5307 2000-01-12 Jim Meyering <meyering@lucent.com>
5309 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
5310 (jm_PREREQ): Use it.
5311 (jm_PREREQ_READUTMP): New macro.
5312 (jm_PREREQ): Use it.
5314 2000-01-11 Paul Eggert <eggert@twinsun.com>
5316 Quote multibyte characters correctly.
5317 * c-bs-a.m4: New file.
5318 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
5319 (jm_PREREQ): Use it.
5321 2000-01-11 Paul Eggert <eggert@twinsun.com>
5323 * uintmax_t.m4: Port to autoconf 2.13.
5325 2000-01-08 Jim Meyering <meyering@ascend.com>
5327 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
5328 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
5330 2000-01-04 Jim Meyering <meyering@ascend.com>
5332 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
5333 jm_STRUCT_DIRENT_D_TYPE.
5334 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
5335 jm_STRUCT_DIRENT_D_INO.
5336 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
5338 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
5339 * utime.m4: Likewise.
5341 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
5342 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
5344 2000-01-03 Paul Eggert <eggert@twinsun.com>
5346 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
5347 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
5349 2000-01-02 Jim Meyering <meyering@ascend.com>
5351 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
5352 remember if this is necessary.
5354 1999-12-26 Jim Meyering <meyering@ascend.com>
5356 * jm-macros.m4: Use it here.
5357 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
5359 1999-12-23 Jim Meyering <meyering@ascend.com>
5361 * jm-macros.m4: Check for clock_gettime (moved from
5362 fileutils/configure.in)
5363 Check for gettimeofday.
5365 1999-12-20 Jim Meyering <meyering@ascend.com>
5367 * strftime.m4: Remove kludge, now that I'm using the fixed
5368 autoconf-2.14a-1999-12-20.
5370 1999-12-19 Jim Meyering <meyering@ascend.com>
5372 * lstat-slash.m4: New file.
5373 * jm-macros.m4: Use the new macro:
5374 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
5376 1999-12-07 Jim Meyering <meyering@ascend.com>
5378 * perl.m4: Require that File::Compare be available, too.
5379 Too many systems seem to lack it.
5381 * strftime.m4: Add checks for most of the cpp macros tested in
5382 GNU's strftime.c. Prompted by a patch from Paul Eggert.
5384 1999-11-18 Paul Eggert <eggert@twinsun.com>
5386 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
5387 problem with the QNX 4.25 shell, which doesn't propagate exit
5388 status of failed commands inside shell assignments.
5390 1999-11-17 Jim Meyering <meyering@ascend.com>
5392 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
5394 1999-11-07 Jim Meyering <meyering@ascend.com>
5396 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
5398 1999-11-06 Jim Meyering <meyering@ascend.com>
5400 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
5401 * jm-macros.m4 (jm_MACROS): Use it here.
5403 1999-11-05 Jim Meyering <meyering@ascend.com>
5405 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
5406 of textutils, fileutils, and sh-utils into this one (shared between
5407 those packages) file.
5408 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
5409 AC_STRUCT_ST_BLKSIZE.
5411 1999-11-03 Jim Meyering <meyering@ascend.com>
5413 * ssize_t.m4: Remove file. No longer needed since the new version of
5414 AC_CHECK_TYPE checks includes unistd.h.
5415 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
5416 Suggestion from Akim Demaille.
5418 1999-10-30 Jim Meyering <meyering@ascend.com>
5420 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
5422 * ls-mntd-fs.m4: Likewise.
5423 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
5424 * jm-winsz1.m4: Likewise.
5426 * const.m4: Remove file, since the fix made it into the experimental
5427 version of autoconf.
5428 * mktime.m4: Likewise.
5430 * check-type.m4: Remove file, now that the latest version of
5431 AC_CHECK_TYPE takes a third arg to specify additional #includes.
5433 * ssize_t.m4: New file, requires experimental version of autoconf.
5434 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
5437 1999-10-04 Jim Meyering <meyering@ascend.com>
5439 * jm-macros.m4: Don't require autoconf-2.14.1.
5441 1999-09-22 Paul Eggert <eggert@twinsun.com>
5443 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
5444 2.95.1 bug with HP-UX 10.20.
5446 1999-09-17 Jim Meyering <meyering@ascend.com>
5448 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
5449 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
5450 due to missing strdup (against sh-utils-2.0).
5452 1999-08-29 Jim Meyering <meyering@ascend.com>
5454 * jm-macros.m4: Require jm_BISON.
5455 * bison.m4: New file.
5457 1999-08-17 Paul Eggert <eggert@twinsun.com>
5459 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
5460 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
5462 1999-08-05 Jim Meyering <meyering@ascend.com>
5464 * getline.m4: Rename test file from conftestdata to conftest.data
5465 to avoid conflicts with `conftest' on 8+3 filesystems.
5466 Suggestion from Eli Zaretskii.
5468 1999-08-04 Jim Meyering <meyering@ascend.com>
5470 * jm-macros.m4: Move a 4-line block of code from the configure.in of
5471 fileutils and sh-utils (textutils's getline test was inadequate).
5472 (AM_FUNC_GETLINE): Run this test.
5473 (AC_CHECK_FUNCS): Check for getdelim.
5474 Reported by Bob Proulx.
5476 1999-08-02 Jim Meyering <meyering@ascend.com>
5478 * jm-macros.m4: Add a comment.
5480 1999-08-01 Jim Meyering <meyering@ascend.com>
5482 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
5484 1999-08-01 Paul Eggert <eggert@twinsun.com>
5486 * lfs.m4: Remove this file.
5487 * largefile.m4: New file. It contains the old contents of
5488 lfs.m4, except that all names with prefix AC_LFS have been
5489 changed to use the prefix AC_SYS_LARGEFILE instead, to be
5490 compatible with future autoconf versions. Also, some minor m4
5491 quoting problems have been fixed.
5493 1999-07-16 Paul Eggert <eggert@twinsun.com>
5495 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
5496 that we can shift, multiply and divide unsigned long long
5497 values; Ultrix cc can't do it.
5499 1999-07-14 Paul Eggert <eggert@twinsun.com>
5501 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
5502 <inttypes.h> defines strtoumax as a macro (and not as a
5505 1999-07-05 Paul Eggert <eggert@twinsun.com>
5507 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
5508 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
5509 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
5510 and simplify the shell code.
5512 1999-07-03 Paul Eggert <eggert@twinsun.com>
5514 * mktime.m4: New file, which is a preview of what should appear
5515 in the next public autoconf release.
5517 1999-07-20 Jim Meyering <meyering@ascend.com>
5519 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
5521 1999-07-15 Jim Meyering <meyering@ascend.com>
5523 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
5525 1999-05-22 Jim Meyering <meyering@ascend.com>
5527 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
5529 1999-05-20 Jim Meyering <meyering@ascend.com>
5531 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
5532 Add a colon after each `then' in case $4 is empty.
5534 1999-05-16 Jim Meyering <meyering@ascend.com>
5536 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
5538 1999-05-10 Jim Meyering <meyering@ascend.com>
5540 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
5542 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
5545 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5547 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
5549 1999-05-04 Paul Eggert <eggert@twinsun.com>
5551 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
5552 not CPPFLAGS, so that linking works correctly in IRIX.
5554 1999-04-30 Paul Eggert <eggert@twinsun.com>
5556 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
5558 1999-04-20 Jim Meyering <meyering@ascend.com>
5560 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
5561 AC_REPLACE xstroull if necessary. From Paul Eggert.
5562 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
5564 1999-04-20 Paul Eggert <eggert@twinsun.com>
5566 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
5567 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
5568 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
5569 jm_AC_TYPE_UNSIGNED_LONG_LONG.
5570 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
5572 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
5574 1999-04-18 Jim Meyering <meyering@ascend.com>
5576 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
5577 * jm-macros.m4: Use it.
5579 1999-04-06 Jim Meyering <meyering@ascend.com>
5581 * strftime.m4: Remove test for %f.
5583 1999-03-29 Jim Meyering <meyering@ascend.com>
5585 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
5586 superset of the AC_TYPE_* checks in the textutils, fileutils,
5587 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
5590 1999-03-28 Jim Meyering <meyering@ascend.com>
5592 * jm-macros.m4: Define GNU_PACKAGE here.
5593 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
5594 replaced e.g., in the *.sh files of the sh-utils.
5596 1999-03-20 Jim Meyering <meyering@ascend.com>
5598 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
5599 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
5600 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
5602 1999-03-19 Jim Meyering <meyering@ascend.com>
5604 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
5606 1999-03-12 Jim Meyering <meyering@ascend.com>
5608 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
5610 1999-03-07 Jim Meyering <meyering@ascend.com>
5612 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
5614 1999-02-17 Jim Meyering <meyering@ascend.com>
5616 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
5617 in macro definition. From Eli Zaretskii and Alain Magloire.
5619 1999-02-07 Jim Meyering <meyering@ascend.com>
5621 * group-member.m4: New file -- extracted from sh-utils' configure.in.
5623 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
5624 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
5626 1999-02-06 Jim Meyering <meyering@ascend.com>
5628 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
5629 * fnmatch.m4: Likewise.
5630 * getgroups.m4: Likewise.
5631 * lstat.m4: Likewise.
5632 * malloc.m4: Likewise.
5633 * putenv.m4: Likewise.
5634 * realloc.m4: Likewise.
5635 * regex.m4: Likewise.
5636 * stat.m4: Likewise.
5637 * strftime.m4: Likewise.
5638 Suggestion from Alain Magloire.
5640 * chown.m4: Use `.$ac_objext', not `.o'.
5641 * fnmatch.m4: Likewise.
5642 * getgroups.m4: Likewise.
5643 * getline.m4: Likewise.
5644 * lstat.m4: Likewise.
5645 * malloc.m4: Likewise.
5646 * memcmp.m4: Likewise.
5647 * putenv.m4: Likewise.
5648 * realloc.m4: Likewise.
5649 * regex.m4: Likewise.
5650 * stat.m4: Likewise.
5651 * strftime.m4: Likewise.
5652 Suggestion from Alain Magloire.
5654 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
5657 * regex.m4: Add a run-time Test for proper operation of
5660 1999-01-31 Jim Meyering <meyering@ascend.com>
5662 * getloadavg.m4: Check for locale.h and the function, setlocale.
5664 1999-01-30 Jim Meyering <meyering@ascend.com>
5666 * check-type.m4: Use 3-arg form of AC_DEFINE.
5668 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
5669 rather than my private copy, now that the official one is up to date.
5670 * mktime.m4: Remove file.
5672 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
5673 * uptime.m4: Likewise.
5674 * uintmax_t.m4: Likewise.
5676 1999-01-28 Jim Meyering <meyering@ascend.com>
5678 * jm-macros.m4: Use jm_AFS.
5679 * afs.m4: New file (from fileutils' configure.in).
5681 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
5682 * chown.m4: Likewise.
5683 * d-ino.m4: Likewise.
5684 * d-type.m4: Likewise.
5685 * fnmatch.m4: Likewise.
5686 * getgroups.m4: Likewise.
5687 * gettext.m4: Likewise.
5688 * jm-mktime.m4: Likewise.
5689 * jm-winsz2.m4: Likewise.
5690 * lcmessage.m4: Likewise.
5691 * ls-mntd-fs.m4: Likewise.
5692 * malloc.m4: Likewise.
5693 * memcmp.m4: Likewise.
5694 * putenv.m4: Likewise.
5695 * realloc.m4: Likewise.
5696 * st_mtim.m4: Likewise.
5697 * strftime.m4: Likewise.
5699 1999-01-16 Jim Meyering <meyering@ascend.com>
5701 * jm-macros.m4 (ARGMATCH_DIE): Define.
5702 (ARGMATCH_DIE_DECL): Define.
5704 1999-01-12 Jim Meyering <meyering@ascend.com>
5706 * Makefile.am.in: Rewrite to avoid using fmt.
5707 Reported by Lars Hecking.
5709 1999-01-10 Jim Meyering <meyering@ascend.com>
5711 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
5713 * inttypes_h.m4: Likewise.
5714 * lstat.m4: Likewise.
5715 * malloc.m4: Likewise.
5716 * readdir.m4: Likewise.
5717 * realloc.m4: Likewise.
5718 * st_dm_mode.m4: Likewise.
5719 * stat.m4: Likewise.
5720 * utimbuf.m4: Likewise.
5721 * utimes.m4: Likewise.
5723 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
5724 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
5725 comments in config.h.in are meaningful.
5727 * jm-macros.m4: Require autoconf-2.13 here.
5729 * regex.m4: By default, don't use the included regex.c on systems
5730 with glibc 2. Suggestion from Uli Drepper.
5732 1999-01-02 Jim Meyering <meyering@ascend.com>
5734 * jm-macros.m4: Replace strcasecmp and strncasecmp.
5736 1998-12-18 Jim Meyering <meyering@ascend.com>
5738 * Makefile.am.in (Makefile.am): Simplify rule.
5739 Based on a suggestion from Lars Hecking.
5741 1998-11-16 Jim Meyering <meyering@ascend.com>
5743 * lfs.m4: Double-quote the `uname...` expression.
5745 1998-11-16 Paul Eggert <eggert@twinsun.com>
5747 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
5749 1998-11-14 Jim Meyering <meyering@ascend.com>
5751 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
5752 * stat.m4: Likewise.
5754 1998-11-03 Jim Meyering <meyering@ascend.com>
5756 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
5757 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
5759 1998-10-18 Jim Meyering <meyering@ascend.com>
5761 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
5763 1998-10-17 Jim Meyering <meyering@ascend.com>
5765 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
5766 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
5767 calls for those previously hard-coded headers. Instead, take a new
5769 (jm_CHECK_DECLARATIONS): Reflect interface change.
5770 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
5771 (jm_CHECK_DECL_LOCALTIME_R): New macro.
5773 * mktime.m4: Test for spring-forward gap before long-running test.
5775 1998-10-14 Jim Meyering <meyering@ascend.com>
5777 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
5778 instead of "TZ=America/Vancouver". From Paul Eggert.
5780 1998-10-11 Jim Meyering <meyering@ascend.com>
5782 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
5783 This adds a test for a recently added compatibility fix for mktime.c.
5784 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
5786 1998-09-27 Jim Meyering <meyering@ascend.com>
5788 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
5790 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
5791 ../configure.in, including a change from Gordon Matzigkeit to allow
5792 cross-compiling for the Hurd.
5794 * glibc.m4: New file/macro to test for the GNU C Library
5795 versions 1 and 2. From Gordon Matzigkeit.
5798 1998-09-21 Jim Meyering <meyering@ascend.com>
5800 * chown.m4: Declare locals: before, after. From Andries Brouwer.
5802 1998-08-18 Paul Eggert <eggert@twinsun.com>
5804 Port nanosecond-resolution times to UnixWare 2.1.2 and
5805 pedantic Solaris 2.6.
5807 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
5809 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
5810 Generate name of ns member, instead of just 1 or undef.
5811 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
5813 1998-08-15 Jim Meyering <meyering@ascend.com>
5815 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
5816 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
5817 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
5818 instead of jm_TYPE_SSIZE_T.
5820 1998-08-12 Jim Meyering <meyering@ascend.com>
5822 * st_dm_mode.m4: New file. From Johan Danielsson.
5824 1998-08-02 Jim Meyering <meyering@ascend.com>
5826 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
5827 in acconfig.h manually.
5829 1998-07-31 Paul Eggert <eggert@twinsun.com>
5831 * st_mtim.m4: New file.
5833 1998-07-28 Jim Meyering <meyering@ascend.com>
5835 * utimes.m4: Undef stat.
5837 1998-07-25 Jim Meyering <meyering@ascend.com>
5839 * utime.m4 (jm_FUNC_UTIME): New file and macro.
5840 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
5842 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
5844 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
5845 uid and gid actually remain unchanged.
5847 1998-07-07 Jim Meyering <meyering@ascend.com>
5849 * jm-glibc-io.m4: Remove fclose_unlocked.
5851 1998-07-04 Jim Meyering <meyering@ascend.com>
5853 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
5854 to prove that this macro can be used in packages without regex.c.
5856 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5858 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
5861 1998-07-03 Jim Meyering <meyering@ascend.com>
5863 * gettext.m4: Add -lintl if it's found to be necessary.
5865 * gettext.m4: New file -- from gettext-0.10.35.
5866 * lcmessage.m4: Likewise.
5867 * progtest.m4: Likewise.
5869 * regex.m4 (jm_WITH_REGEX): New file and macro.
5870 * jm-macros.m4: Require the new macro.
5872 1998-06-29 Jim Meyering <meyering@ascend.com>
5874 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
5875 for the definition of NGROUPS (used in a system header included
5878 1998-06-28 Jim Meyering <meyering@ascend.com>
5880 * ls-mntd-fs.m4: New file.
5881 * fstypename.m4: New file.
5883 * jm-macros.m4: Require the new macro.
5884 * jm-glibc-io.m4: New file.
5886 1998-05-19 Jim Meyering <meyering@ascend.com>
5888 * jm-macros.m4: Add jm_FUNC_LCHOWN.
5889 * lchown.m4: New file.
5891 * Makefile.am.in: New file.
5892 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
5894 1998-05-14 Jim Meyering <meyering@ascend.com>
5896 * Makefile.am (EXTRA_DIST): Add them.
5897 * jm-macros.m4: New file.
5898 * utimbuf.m4: New file.
5900 1998-05-12 Jim Meyering <meyering@ascend.com>
5902 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
5904 1998-05-11 Jim Meyering <meyering@ascend.com>
5906 * isc-posix.m4: New file.
5908 1998-05-10 Jim Meyering <meyering@ascend.com>
5910 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
5912 1998-05-09 Jim Meyering <meyering@ascend.com>
5914 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
5915 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
5918 * ssize_t.m4: New file.
5919 * mktime.m4: Remove file -- the new automake has this now.
5921 1998-04-26 Jim Meyering <meyering@ascend.com>
5923 * assert.m4: New file.
5924 * Makefile.am (EXTRA_DIST): Add assert.m4.
5926 1998-04-05 Jim Meyering <meyering@ascend.com>
5928 * prereq.m4 (jm_PREREQ_REGEX): New macro.
5929 (jm_PREREQ): Use it here.
5931 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
5933 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
5936 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
5938 * prereq.m4: New file.
5939 * error.m4: New file.
5940 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
5942 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
5944 * getline.m4: Don't set am_cv_func_working_getline before the
5945 cache-check for the same variable -- that defeated the purpose of
5946 the test; the test program was never run. This was a problem only
5947 on systems with losing getline functions -- HP-UX 10.20 is one.
5948 Reported by Bjorn Helgaas.
5950 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
5952 * Makefile.am (EXTRA_DIST): Add perl.m4.
5954 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
5956 * Makefile.am (EXTRA_DIST): Add const.m4.
5958 * const.m4: New file. Use an initializer in this declaration
5959 typedef int charset[2]; const charset x;
5960 Reported by Bob Glickstein.
5962 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
5964 * chown.m4: Fix reversed types on -1 args to chown.
5967 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
5969 * check-decl.m4: s/DECLARATION_/DECL_/g.
5970 Add lseek and memchr.
5972 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
5973 T.E.Dickey <dickey@clark.net> said that some older preprocessors
5974 have a 20-character limit on names.
5976 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
5978 * inttypes_h.m4: New file.
5979 * uintmax_t.m4: New file.
5980 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
5982 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
5983 Free Software Foundation, Inc.
5984 Copying and distribution of this file, with or without modification,
5985 are permitted provided the copyright notice and this notice are preserved.