1 2006-07-30 Bruno Haible <bruno@clisp.org>
3 * wcwidth.m4 (gl_FUNC_WCWIDTH): Assume <string.h> exists.
5 2006-07-28 Simon Josefsson <jas@extundo.com>
7 * netinet_in_h.m4: New file.
9 2006-07-28 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
11 * inet_pton.m4, inet_ntop.m4: Check for netinet/in.h too.
13 2006-07-28 Bruno Haible <bruno@clisp.org>
15 * mbchar.m4 (gl_MBCHAR): Also test for iswcntrl.
17 2006-07-27 Bruno Haible <bruno@clisp.org>
19 * stdint.m4 (gl_STDINT_H): Define __STDC_CONSTANT_MACROS during the
22 2006-07-26 Eric Blake <ebb9@byu.net>
24 * unistd-safer.m4 (gl_UNISTD_SAFER): Check for missing pipe.
26 2006-07-26 Bruno Haible <bruno@clisp.org>
28 * stdint.m4 (gl_STDINT_H): Also verify the existence of the macros
29 INT*_MIN, INT_LEAST*_MAX, INT_LEAST*_MIN, UINT_LEAST*_MAX,
30 INT_FAST*_MIN, INTPTR_MIN.
32 2006-07-25 Bruno Haible <bruno@clisp.org>
34 * stdint.m4 (gl_INTEGER_TYPE_SUFFIX): Avoid 'eval' in front of complex
37 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
39 * stdio-safer.m4 (gl_FOPEN_SAFER, gl_TMPFILE_SAFER): New macros.
40 (gl_STDIO_SAFER): Remove.
42 2006-07-24 Bruno Haible <bruno@clisp.org>
44 * tmpdir.m4: New file, from GNU gettext.
46 2006-07-23 Eric Blake <ebb9@byu.net>
48 * stdio-safer.m4 (gl_STDIO_SAFER): Add tmpfile-safer.c.
50 2006-07-22 Paul Eggert <eggert@cs.ucla.edu>
52 * close-stream.m4: New file.
54 2006-07-22 Bruno Haible <bruno@clisp.org>
56 Merge from GNU gettext 0.15.
58 2006-03-25 Bruno Haible <bruno@clisp.org>
60 * lib-link.m4 (AC_LIB_LINKFLAGS_FROM_LIBS): New macro.
62 2006-07-21 Bruno Haible <bruno@clisp.org>
64 * javacomp.m4 (gt_JAVACOMP): Convert target_version "null" to
67 2006-05-09 Bruno Haible <bruno@clisp.org>
69 * javacomp.m4 (gt_JAVACOMP): On Cygwin, set
70 CLASSPATH_SEPARATOR to a semicolon. Use CLASSPATH_SEPARATOR
71 for the conftestver execution.
73 2006-05-01 Bruno Haible <bruno@clisp.org>
75 * javacomp.m4 (gt_JAVACOMP): Accept a source-version and an
76 optional target-version argument. Verify that the compiler
77 groks source of the specified source-version, or add -source
78 option as necessary. Verify that the compiler produces
79 bytecode in the specified target-version, or add -target and
80 -source options as necessary. Make the result of the test
81 available as variable CONF_JAVAC. Also log error output in
84 2006-03-11 Bruno Haible <bruno@clisp.org>
86 * javacomp.m4 (gt_JAVACOMP): Treat gcj-4.x like gcj-3.x.
88 2006-05-09 Bruno Haible <bruno@clisp.org>
90 * javaexec.m4 (gt_JAVAEXEC): On Cygwin, set
91 CLASSPATH_SEPARATOR to a semicolon.
93 2006-03-12 Bruno Haible <bruno@clisp.org>
95 * javaexec.m4 (gt_JAVAEXEC): Make the result of the test
96 available as variable CONF_JAVA, for subsequent autoconf
97 tests. Also log error output in config.log.
99 2006-07-19 Bruno Haible <bruno@clisp.org>
101 * getline.m4 (AM_FUNC_GETLINE): When cross-compiling, assume
102 that getline works on glibc2 systems. Needed to avoid trouble
104 Reported by Nils Magnus Larsgard <nmlarsgaard@atmel.no>.
106 2005-12-04 Bruno Haible <bruno@clisp.org>
108 * csharpexec.m4 (gt_CSHARPEXEC): Add support for 'clix'
111 2005-12-04 Bruno Haible <bruno@clisp.org>
113 * csharpcomp.m4 (gt_CSHARPCOMP): Also set CSHARPCOMPFLAGS.
115 2006-07-22 Bruno Haible <bruno@clisp.org>
117 * gettext.m4: Update from GNU gettext-0.15.
120 * inttypes-pri.m4: Likewise.
121 * inttypes-h.m4: Renamed from inttypes.m4.
122 (gl_HEADER_INTTYPES_H): Renamed from gt_HEADER_INTTYPES_H.
124 2006-07-17 Bruno Haible <bruno@clisp.org>
126 * gl_list.m4: New file.
128 2006-07-16 Paul Eggert <eggert@cs.ucla.edu>
130 * mkancesdirs.m4: New file.
131 * mkdir-p.m4 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h.
132 Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed.
133 Require gl_FUNC_LCHOWN, since dirchownmod.c needs it.
135 2006-07-11 Eric Blake <ebb9@byu.net>
137 * absolute-header.m4: Fix comments to match recent change.
139 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
141 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Like today's change
144 2006-07-10 Derek R. Price <derek@ximbiot.com>
145 and Paul Eggert <eggert@cs.ucla.edu>
147 * backupfile.m4, d-ino.m4, d-type.m4, dirfd.m4, fts.m4, getcwd.m4:
149 Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN
150 macros into the GNU _D_EXACT_NAMLEN.
152 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
154 * stdint.m4 (gl_STDINT_H): Like yesterday's change to
155 absolute-header.m4. Also, set ABSOLUTE_STDINT_H to a string
156 "no/such/file/stdint.h" when there is no such file, so that
157 the resulting C code can be parsed by dodgy compilers.
158 Problems reported by Bob Proulx.
160 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
162 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
163 around the absolute name, to work around a problem with the HP-UX
164 11.23 native C compiler, reported by Bob Proulx.
166 2006-07-09 Jim Meyering <jim@meyering.net>
168 * glob.m4: Remove a doubled word in a comment.
170 2006-07-08 Jim Meyering <jim@meyering.net>
172 * link-follow.m4: Remove one of two adjacent "whether"s in a comment.
173 * getopt.m4: Remove one of two adjacent "your"s in a comment.
174 * regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment.
176 2006-07-06 Derek R. Price <derek@ximbiot.com>
177 and Paul Eggert <eggert@cs.ucla.edu>
179 * backupfile.m4 (gl_BACKUPFILE): Check for dirent.h, instead
180 of invoking obsolescent AC_HEADER_DIRENT macro.
181 * d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
182 * d-type.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Likewise.
183 * dirfd.m4 (gl_FUNC_DIRFD): Likewise.
184 * fts.m4 (gl_FUNC_FTS_CORE): Likewise.
185 * getcwd.m4 (gl_PREREQ_GETCWD): Likewise.
186 * glob.m4 (gl_PREREQ_GLOB): Likewise.
187 * savedir.m4 (gl_SAVEDIR): Likewise.
188 * readdir.m4: Remove; no longer needed.
190 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
192 * _inttypes_h.m4 (gl_INTTYPES_H): Use AC_CHECK_DECLS_ONCE
193 with only one argument, for Autoconf 2.60.
194 * fileblocks.m4 (gl_PREREQ_FILEBLOCKS): AC_CHECK_DECLS_ONCE may
195 expand to nothing, so add a shell command to avoid syntax error.
196 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
198 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
200 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't check for getenv decl;
201 no longer needed. Check for isblank decl.
202 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Don't check for getenv decl.
203 * regex.m4 (gl_PREREQ_REGEX): Dheck for isblank decl instead
206 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
208 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Use AC_CHECK_DECLS_ONCE
209 rather than AC_CHECK_DECLS for strtoimax and strtoumax.
210 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed.
212 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
213 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
214 * exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer needed.
215 * getdate.m4 (gl_GETDATE): Likewise.
216 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
217 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
218 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
219 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
220 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
221 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
222 * exclude.m4 (gl_EXCLUDE): Don't require AC_C_INLINE; no longer
225 2006-07-05 Derek R. Price <derek@ximbiot.com>
227 * calloc.m4 (_AC_FUNC_CALLOC_IF): Don't require AC_HEADER_STDC;
229 * exclude.m4 (gl_EXCLUDE): Likewise.
230 * getdate.m4 (gl_GETDATE): Likewise.
231 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
232 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
233 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
234 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
235 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
237 2006-07-05 Eric Blake <ebb9@byu.net>
239 * sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
240 to avoid 'header present but could not be compiled' on cygwin.
242 2006-07-03 Bruno Haible <bruno@clisp.org>
244 * strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, check whether
245 the function exists, before testing against AIX.
246 Reported by Martin Lambers <marlam@marlam.de>.
248 2006-07-04 Paul Eggert <eggert@cs.ucla.edu>
250 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
251 to the absolute name, not just one, to bypass Sun C 5.8's
252 "warning: #include of /usr/include/... may be non-portable".
254 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
256 * absolute-header.m4: Renamed from full-header-path.m4.
257 This is to keep the terminology clean; POSIX talks about
258 "absolute pathnames", not "full pathnames", but the GNU
259 Coding Standards say to use "path" for something else;
260 so use "absolute" to keep both sides happy.
261 (gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
262 Set gl_absolute_header, not gl_full_header_path.
263 Set gl_cv_absolute_<header>, not gl_full_path_<header>.
264 Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
267 Merge from coreutils.
269 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
271 * c-strtod.m4 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
272 Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
273 want to require the building of c-strtod.o.
274 * lib-check.m4 (cu_LIB_CHECK): Remove SEQ_LIBM, since seq no longer
276 * xstrtod.m4 (gl_XSTRTOLD): New macro.
278 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
280 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
281 --as-needed option if available. Problem reported by Albert Chin in
282 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
283 However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
284 cc merely issues a bunch of annoying warnings for --as-needed
285 (this problem was reported by Bob Proulx). Also, try linking with
286 -lm to detect a bug in binutils 2.16 (this problem was reported
289 2006-06-18 Jim Meyering <jim@meyering.net>
291 Test for a bug that causes glibc's getcwd to suffer a failed assertion.
292 * getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
293 * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
294 also check for glibc-2.4's abort-inducing bug.
296 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
297 Low-probability clean-up should be to use rmdir to get rid of
298 the just-created directory, not unlink.
300 * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
301 configure fail, and request a bug report to inform us about it.
302 Add a comment that, barring reports to the contrary, in 2007 we'll
303 assume ftruncate is universally available.
305 2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
307 * filemode.m4 (gl_FILEMODE): Check for strmode declaration.
309 2006-03-12 Jim Meyering <jim@meyering.net>
311 * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.
312 * cycle-check.m4 (gl_CYCLE_CHECK): Likewise.
313 * same.m4 (gl_SAME): Likewise.
314 * root-dev-ino.m4 (gl_ROOT_DEV_INO): Likewise.
316 2006-03-11 Eric Blake <ebb9@byu.net>
318 * double-slash-root.m4: New file, provides gl_DOUBLE_SLASH_ROOT.
319 * dirname.m4 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
320 * dos.m4 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
321 (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
323 2006-07-02 Eric Blake <ebb9@byu.net>
325 * wcwidth.m4 (gl_FUNC_WCWIDTH): Simplify by using AC_CHECK_DECLS.
327 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
329 * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
330 test cases, so that config.log is a bit easier to follow.
332 2006-07-01 Paul Eggert <eggert@cs.ucla.edu>
334 * longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60,
335 but fix a bug, by requiring at least 64 bits.
336 * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
337 * longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call
338 AC_TYPE_LONG_LONG_INT. This macro is obsolete and will go soon.
339 * ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise.
341 * stdint.m4 (gl_STDINT_H): Rewrite to accommodate stdint_.h
342 changes. Make 2.59 a prerequisite. Check and substitute for
343 HAVE_LONG_LONG_INT. Rely on Autoconf to check for stdint.h and
344 inttypes.h. Do not use special include files; just use the
345 defaults. Check for sys/inttypes.h and sys/bitypes.h in the usual
346 way now. Remove no-longer-needed tests for HAVE_LONG_64BIT,
347 HAVE_LONG_LONG_64BIT, int8_t, int16_t, int32_t, int64_t, uint8_t,
348 uint16_t, uint32_t uint64_t, int_least8_t, int_least16_t,
349 int_least32_t, int_least64_t, uint_least8_t, uint_least16_t,
350 uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t,
351 int_fast32_t, int_fast64_t, uint_fast8_t uint_fast16_t,
352 uint_fast32_t, uint_fast64_t, intptr_t, uintptr_t, intmax_t,
353 uintmax_t, INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX,
354 UINT16_MAX, INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN,
355 INT64_MAX, UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX,
356 UINT_LEAST8_MAX, INT_LEAST16_MIN, INT_LEAST16_MAX,
357 UINT_LEAST16_MAX, INT_LEAST32_MIN, INT_LEAST32_MAX,
358 UINT_LEAST32_MAX, INT_LEAST64_MIN, INT_LEAST64_MAX,
359 UINT_LEAST64_MAX, INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX,
360 INT_FAST16_MIN, INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN,
361 INT_FAST32_MAX, UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX,
362 UINT_FAST64_MAX, INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN,
363 INTMAX_MAX, UINTMAX_MAX, PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN,
364 SIG_ATOMIC_MAX, SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN,
365 WINT_MAX. Check for C99 conformance more strictly, by detecting
366 bugs in glibc 2.4, Solaris 10, and OpenBSD 3.9. On the other hand do
367 not check for things that C99 does not require, e.g., int8_t. If
368 a test isn't needed unless <stdint.h> isn't working, and is
369 unlikely to be needed for any other reason, then don't do it
370 unless <stdint.h> isn't working. Do not check for ptrdiff_t or
371 size_t, since we assume C89 freestanding at least. Do not check
372 for sig_atomic_t, wchar_t, or wint_t, since the code now does
373 the right thing even if the types are not defined. Instead use:
374 (gl_STDINT_TYPE_PROPERTIES): New macro.
375 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H): Remove. Don't bother
376 testing whether <sys/types.h> clashes, as Autoconf does this for
377 us now. All uses removed.
378 (gl_STDINT_CHECK_TYPES, gl_STDINT_MISSING_BOUND):
379 (gl_STDINT_MISSING_BOUNDS, gl_STDINT_MISSING_BOUNDS2):
380 (gl_CHECK_TYPE_SAME):
381 Remove; no longer needed.
382 (gl_STDINT_BITSIZEOF): Don't bother to check whether the type
383 exists, since we'll return 0 anyway in that case.
384 (gl_INTEGER_TYPE_SUFFIX, gl_STDINT_INCLUDES): New macros.
386 2006-07-01 Eric Blake <ebb9@byu.net>
388 * stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.
390 2006-07-01 Eric Blake <ebb9@byu.net>
392 * stdarg.m4 (gl_STDARG_H): Use proper AH_VERBATIM.
393 Reported by Andreas Buening.
395 2006-06-29 Eric Blake <ebb9@byu.net>
397 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Use AC_C_INLINE.
399 2006-06-29 Eric Blake <ebb9@byu.net>
401 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): New file.
403 2006-06-29 Derek R. Price <derek@ximbiot.com>
405 * strftime.m4: Don't call AC_FUNC_STRFTIME.
407 2006-06-29 Derek R. Price <derek@ximbiot.com>
409 * c-bs-a.m4: Removed.
411 2006-06-28 Derek R. Price <derek@ximbiot.com>
413 * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
415 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
417 * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
419 2006-06-28 Bruno Haible <bruno@clisp.org>
421 * wcwidth.m4 (gl_FUNC_WCWIDTH): Also require AC_C_INLINE and
424 2006-06-28 Eric Blake <ebb9@byu.net>
426 * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
427 * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
429 2006-06-28 Simon Josefsson <jas@extundo.com>
431 * getaddrinfo.m4: Look for getnameinfo prototypes too.
433 2006-06-27 Simon Josefsson <jas@extundo.com>
435 * sys_select_h.m4: New file, suggested by Bruno Haible, Paul
436 Eggert and Martin Lambers.
438 2006-06-27 Bruno Haible <bruno@clisp.org>
440 * stdint.m4 (gl_STDINT_BITSIZEOF): For nonexistent types, set the
441 result to 0, not to empty.
442 Reported by Martin Neitzel <neitzel@sco.gaertner.de>.
444 2006-06-26 Bruno Haible <bruno@clisp.org>
446 * stdint.m4 (gl_STDINT_H): Test also for <wchar.h>.
448 2006-06-26 Bruno Haible <bruno@clisp.org>
450 * stdint.m4 (gl_STDINT_H): Don't include <stdint.h> when using the
451 SGI C compiler in pre-C99 mode.
452 Suggested by Mark D. Baushke and Larry Jones.
454 2006-06-23 Mark D. Baushke <mdb@gnu.org>
456 * stdint.m4 (gl_STDINT_H): Treat BSD/OS like OpenBSD.
458 2006-06-26 Simon Josefsson <jas@extundo.com>
460 * inet_ntop.m4: Don't check for sys/types.h, we assume it is
463 2006-06-23 Bruno Haible <bruno@clisp.org>
465 * stdint.m4 (gl_STDINT_H): Treat IRIX like OpenBSD.
467 2006-06-22 Simon Josefsson <jas@extundo.com>
469 * sockpfaf.m4: Include winsock2.h too, to make it work under
472 2006-06-21 Simon Josefsson <jas@extundo.com>
474 * getaddrinfo.m4: Don't define WINVER. Look for gethostbyname in
475 -lws2_32 too. Fixes getaddrinfo on Windows 2000, with the price
476 of using the (limited) gnulib implementation on Windows XP.
478 * inet_pton.m4: New file.
480 2006-06-19 Bruno Haible <bruno@clisp.org>
482 * stdint.m4 (gl_STDINT_H): Enclose the values of FULL_PATH_STDINT_H
483 and FULL_PATH_INTTYPES_H in angle brackets.
484 Reported by Mark D. Baushke <mdb@gnu.org>.
486 2006-06-17 Bruno Haible <bruno@clisp.org>
488 * stdint.m4 (gl_STDINT_H) [FreeBSD >= 5]: Don't include
491 2006-06-16 Eric Blake <ebb9@byu.net>
493 * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
496 2006-06-17 Bruno Haible <bruno@clisp.org>
498 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
499 whether errno is declared. Assume <errno.h> declares errno.
501 2006-06-15 Bruno Haible <bruno@clisp.org>
503 * stdint.m4 (gl_STDINT_H): Rewritten to produce a complete stdint.h.
504 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H, gl_STDINT_CHECK_TYPES,
505 gl_STDINT_MISSING_BOUND, gl_STDINT_MISSING_BOUNDS,
506 gl_STDINT_MISSING_BOUNDS2, gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED,
507 gl_CHECK_TYPE_SAME): New macros.
509 2006-06-15 Bruno Haible <bruno@clisp.org>
511 * size_max.m4 (gl_SIZE_MAX): Make it work also when cross-compiling.
513 2006-06-15 Eric Blake <ebb9@byu.net>
515 * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
517 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
518 Bruno Haible <bruno@clisp.org>
520 * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
521 check for the declaration of strnlen and a run test that exposes the
522 AIX 5.1 strnlen bug. In the failure case, #define strndup to
525 2006-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
527 * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
528 compile test, for Tru64 4.0D.
530 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
532 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
533 gl_ rather than jm_. Link, don't run, so that cross-compiles are
534 allowed. Check that resulting type is arithmetic. Move AC_REQUIRE
535 and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
536 not really conditional on the cache.
537 (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
539 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
541 * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
542 test for C99 conformance; (bool) 0.5 is an integer constant
543 expression, but (bool) -0.5 is not. Problem reported by Fedor
544 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
546 2006-05-11 Simon Josefsson <jas@extundo.com>
548 * xvasprintf.m4: Fix obvious typo.
550 2006-05-09 Bruno Haible <bruno@clisp.org>
552 * xvasprintf.m4: New file.
554 2006-05-08 Bruno Haible <bruno@clisp.org>
556 * stdarg.m4: New file, from GNU gettext.
558 2006-05-05 Jim Meyering <jim@meyering.net>
560 * warning.m4: New file, derived from bison's file by the same name.
562 2006-05-02 Bruno Haible <bruno@clisp.org>
564 * full-header-path.m4 (gl_FULL_HEADER_PATH): Move the include_next
566 * _inttypes_h.m4 (gl_INTTYPES_H): ... to here.
568 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
570 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
571 to define main with arguments, for C++. Reported by Eric Blake.
572 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
573 Prefer 'int main ()' to 'int main (void)', for C++.
574 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
575 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
576 for 'main', for C99 and C++.
578 2006-04-23 Bruno Haible <bruno@clisp.org>
580 * poll.m4 (gl_FUNC_POLL): Rearrange code, so that POLL_H gets
581 assigned exactly once.
583 2006-04-23 Bruno Haible <bruno@clisp.org>
585 * poll.m4 (gl_FUNC_POLL): When cross-compiling, reject also the poll()
586 implementation in AIX.
587 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
589 2006-03-04 Eric Blake <ebb9@byu.net>
591 * strerror_r.m4 (AC_FUNC_STRERROR_R): Avoid unused variable warning.
593 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
595 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
596 Don't assume that exit status -1 is valid.
597 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
598 * putenv.m4 (gl_FUNC_PUTENV): Likewise.
599 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
600 * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
601 * rename.m4 (vb_FUNC_RENAME): Likewise.
602 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
603 not AC_TRY_RUN. Use return, not exit. Don't assume that
604 functions can be used without declaring them, or that you can
606 * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
608 2006-04-20 Bruno Haible <bruno@clisp.org>
610 * argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
611 one argument, so that the code will be portable to Autoconf 2.60.
612 * getlogin_r.m4 (gl_PREREQ_GETLOGIN_R): Likewise.
613 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
614 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
616 2006-04-19 Derek Price <derek@ximbiot.com>
617 Eric Blake <ebb9@byu.net>
619 * full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
620 than "/full/path.h". Update comment to match. Shorten & generalize
621 m4_translit call via AS_TR_CPP.
623 2006-04-18 Derek Price <derek@ximbiot.com>
624 Paul Eggert <eggert@cs.ucla.edu>
626 * _inttypes_h.m4, full-header-path.m4, include_next: New files.
628 2006-04-11 Paul Eggert <eggert@cs.ucla.edu>
630 * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
632 2006-04-09 Paul Eggert <eggert@cs.ucla.edu>
634 * regex.m4 (gl_REGEX): Check for new glibc interface to
637 2006-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
639 * argz.m4 (gl_FUNC_ARGZ): If we define `error_t', also define
640 `__error_t_defined', so argp.h will not typedef the former.
642 2006-03-25 Paul Eggert <eggert@cs.ucla.edu>
644 * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
645 REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
646 glibc names. Even if glibc is changed to conform to POSIX, the
647 traditional names will be available anyway, since regex depends on
648 the extensions module. Also, fix a longstanding typo in the
649 implementation of Spencer ERE test #75 from grep 2.3. Problems
650 reported by Emanuele Giaquinta. Also, change sense of cached
651 variable, so that the message makes sense.
653 2006-03-17 Jim Meyering <jim@meyering.net>
655 * regex.m4 (gl_REGEX): Fix typo in last change:
656 s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
658 2006-03-16 Paul Eggert <eggert@cs.ucla.edu>
660 * regex.m4 (gl_REGEX): Don't check for off_t, since the code
661 no longer needs it. Instead, check that regoff_t is as least
662 as wide as ptrdiff_t.
664 Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
665 so that our regex.h stays compatible with the installed regex.
666 This is helpful for installers who configure --without-included-regex.
667 Problem reported by Emanuele Giaquinta.
669 2006-03-15 Eric Blake <ebb9@byu.net>
671 * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
673 2006-03-08 Simon Josefsson <jas@extundo.com>
675 * gc-random.m4: Permit 'no' as variable values and fix warnings,
676 suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
678 2006-03-08 Simon Josefsson <jas@extundo.com>
680 * gc-random.m4: Call AC_CANONICAL_HOST and use $host_os instead of
681 $target, suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
683 2006-03-07 Paul Eggert <eggert@cs.ucla.edu>
685 * unistd_h.m4 (gl_HEADER_UNISTD): Rename, to match modules file.
686 Problem reported by Juan Manuel Guerrero.
688 2006-03-07 Simon Josefsson <jas@extundo.com>
690 * unistd_h.m4: New file.
692 2006-03-07 Simon Josefsson <jas@extundo.com>
694 * readline.m4 (gl_FUNC_READLINE): Rewrite the cached part of the
695 test to be side-effect free by storing the result in the cache
696 variable gl_cv_lib_readline, and moving the assignment of
697 LIBREADLINE and LTLIBREADLINE outside the COMMANDS-TO-SET-IT.
698 From Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
700 2006-03-07 Simon Josefsson <jas@extundo.com>
702 * gc-random.m4: New file, mostly from gc.m4. Warn instead of
703 error on missing devices (the functions will return an error).
705 * gc.m4: Move random stuff to gc-random.m4
707 2006-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
709 * poll.m4 (gl_FUNC_POLL): If we deem poll(2) unacceptable, use
710 our replacement poll.h in any case, to avoid a differing
711 declaration from a system header. Seen on AIX.
713 2006-03-01 Paul Eggert <eggert@cs.ucla.edu>
715 * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
716 not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
718 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
719 * timespec.m4 (gl_TIMESPEC): Likewise.
721 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
722 not "==". Reported by Ralf Wildenhues.
724 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
727 * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
730 2006-02-22 Jim Meyering <jim@meyering.net>
733 * chdir-safer.m4: New file.
735 2006-02-17 Eric Blake <address@hidden>
737 * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
739 2006-02-15 Eric Blake <ebb9@byu.net>
741 * sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using
742 winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes
743 'present but cannot compile' warnings on cygwin.
744 * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET. Don't
745 use ws2tcpip.h if sys/socket.h works.
746 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_HEADER_SYS_SOCKET.
747 (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is present.
749 2006-02-14 Jim Meyering <jim@meyering.net>
752 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
753 unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
754 gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
755 variable, to accommodate the rare case in which getmntent is
756 available in none of the libraries checked. This happens at
757 least on FreeBSD 5.0.
759 2006-02-05 Paul Eggert <eggert@cs.ucla.edu>
761 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
762 __EXTENSIONS__ if this causes compilation to fail. Problem
763 reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
764 c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
766 2006-01-25 Simon Josefsson <jas@extundo.com>
768 * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
769 -lws2_32. Protect sys/socket.h and netdb.h #include's. Include
770 ws2tcpip.h with WINVER=0x0501. All for mingw32.
772 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
774 * stdbool.m4 (AC_HEADER_STDBOOL): Check for xlc bug if __GCC__ too,
775 so that we test the test.
776 Check for yet another HP-UX cc bug involving *bool |= bool.
778 2006-01-24 Bruno Haible <bruno@clisp.org>
780 * stdbool.m4 (AC_HEADER_STDBOOL): Check for IBM and HP-UX bugs.
781 Patch by Paul Eggert.
783 2006-01-24 Jim Meyering <jim@meyering.net>
785 * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
786 Reported by Mark D. Baushke.
788 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
790 * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
792 2006-01-20 Paul Eggert <eggert@cs.ucla.edu>
794 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
795 rather than -Xlinker -z -Xlinker ignore, as it's more portable.
796 Suggested by Bruno Haible.
798 2006-01-19 Simon Josefsson <jas@extundo.com>
800 * socklen.m4: Look in ws2tcpip.h too, for mingw32.
802 2006-01-16 Paul Eggert <eggert@cs.ucla.edu>
804 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
805 it's not portable and it doesn't work with cross-compiles.
806 Problem reported by Bruno Haible. Fix missing-$ typo in
807 'test "gl_cv_ignore_unused_libraries" ...' that prevented
808 -zignore from being used with Sun's C compiler.
810 2006-01-12 Bruno Haible <bruno@clisp.org>
814 2006-01-08 Bruno Haible <bruno@clisp.org>
816 Ensure automatic ordering between gl_LOCK and gl_ARGP.
817 * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK.
818 (gl_LOCK): New macro, requiring gl_LOCK_BODY.
820 2006-01-10 Jim Meyering <jim@meyering.net>
822 * fpending.m4: Also include <stdio.h>, for Dragonfly.
823 Patch by Joerg Sonnenberger.
825 2006-01-10 Paul Eggert <eggert@cs.ucla.edu>
827 * memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
828 the 2002-12-31 change. Problem and fix reported by Bruno Haible.
829 People who are still concerned with buggy memcmp implementations
830 can invoke gl_FUNC_MEMCMP themselves.
832 2006-01-10 Simon Josefsson <jas@extundo.com>
834 * sys_socket_h.m4: New file.
836 2006-01-10 Bruno Haible <bruno@clisp.org>
838 * localcharset.m4 (gl_LOCALCHARSET): Also test for getc_unlocked.
839 Reported by Werner Lemberg <wl@gnu.org>.
841 2006-01-09 Paul Eggert <eggert@cs.ucla.edu>
844 * lib-ignore.m4: New file.
845 * lchmod.m4: New file.
847 2006-01-09 Jim Meyering <jim@meyering.net>
850 * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
851 Require openat-priv.h.
853 2006-01-09 Andreas Gruenbacher <agruen@suse.de>
856 * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
858 2005-10-16 Bruno Haible <bruno@clisp.org>
860 * stdint.m4 (gl_STDINT_H): Also test for <sys/bitypes.h>.
862 2005-12-16 Jim Meyering <jim@meyering.net>
864 * fprintftime.m4: New file.
866 2005-12-10 Sergey Poznyakoff <gray@gnu.org.ua>
868 * argp.m4: Define HAVE_DECL_PROGRAM_INVOCATION_NAME and
869 HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
871 2005-12-09 Sergey Poznyakoff <gray@gnu.org.ua>
873 * argp.m4: Check if program_invocation_name and
874 program_invocation_short_name are declared and define appropriate
875 macros if they are not.
877 2005-12-07 Paul Eggert <eggert@cs.ucla.edu>
879 * stat-time.m4 (gl_STAT_TIME): Add check for
880 TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
881 porting problem reported by Georg Schwarz in
882 <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
884 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
886 * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
887 Use implementation from Albert Chin, with some
888 comments/corrections by Stepan Kasal and myself.
890 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
892 * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
893 statement, to work around an HP-UX 10.20 compiler bug reported by
896 2005-11-10 Paul Eggert <eggert@cs.ucla.edu>
898 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
899 or gettimeofday; no longer needed.
901 2005-10-30 Paul Eggert <eggert@cs.ucla.edu>
903 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
904 variables to suggest the intended function of the PATH_MAX check.
906 2005-10-30 Kean Johnston <jkj@sco.com>
908 Trivial changes to support SCO systems.
909 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
911 * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
912 where __ptr is null when no I/O is pending.
914 2005-10-28 Simon Josefsson <jas@extundo.com>
916 * inet_ntop.m4: More tests.
918 * gc-md2.m4, md2.m4: New file.
920 2005-10-22 Simon Josefsson <jas@extundo.com>
922 * gc.m4: Don't be fooled by --disable-*random-device parameters,
923 suggested by Bruno Haible <bruno@clisp.org>. Fix error messages.
925 2005-10-21 Simon Josefsson <jas@extundo.com>
927 * gc.m4: Don't use libgcrypt if gcrypt.h isn't found, suggested by
928 Bruno Haible <bruno@clisp.org>.
930 * gc-des.m4: New file.
932 2005-10-21 Simon Josefsson <jas@extundo.com>
934 * arctwo.m4: New file.
936 * gc-arctwo.m4: New file.
938 2005-10-19 Simon Josefsson <jas@extundo.com>
940 * gc-arcfour.m4: New file.
942 * gc-rijndael.m4: New file.
944 2005-10-19 Simon Josefsson <jas@extundo.com>
946 * m4/gc-hmac-md5.m4, m4/gc-hmac-sha1.m4, m4/gc-md4.m4,
947 m4/gc-md5.m4, m4/gc-sha1.m4: Fix typo, suggested by Stepan Kasal
950 2005-10-19 Simon Josefsson <jas@extundo.com>
952 * gc-md4.m4: New file.
954 2005-10-18 Simon Josefsson <jas@extundo.com>
958 2005-10-17 Bruno Haible <bruno@clisp.org>
960 * stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so that
961 it can also be used in a test.
963 2005-10-11 Simon Josefsson <jas@extundo.com>
965 * md5.m4: Remove call to uint32_t.m4.
967 2005-10-15 Simon Josefsson <jas@extundo.com>
969 * rijndael.m4: New file.
971 2005-10-14 Simon Josefsson <jas@extundo.com>
973 * arcfour.m4: New file.
975 2005-10-12 Bruno Haible <bruno@clisp.org>
977 * stdbool.m4 (gl_STDBOOL_H): Define as an alias of AM_STDBOOL_H.
978 Reported by Stepan Kasal <kasal@ucw.cz>.
980 2005-10-12 Simon Josefsson <jas@extundo.com>
982 * gc-pbkdf2-sha1.m4: New file.
984 * gc-hmac-sha1.m4: New file.
988 * hmac-sha1.m4: New file.
990 2005-10-12 Simon Josefsson <jas@extundo.com>
992 * gc-md5.m4, gc-hmac-md5: New files.
994 * gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5.
996 2005-10-11 Simon Josefsson <jas@extundo.com>
1000 2005-10-07 Simon Josefsson <jas@extundo.com>
1002 * memxor.m4: Remove gl_C_RESTRICT call.
1004 2005-10-06 Paul Eggert <eggert@cs.ucla.edu>
1006 * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
1007 promotes to int, not unsigned int, to catch the AIX 5.3
1010 2005-10-06 Simon Josefsson <jas@extundo.com>
1012 * hmac-md5.m4: New file.
1014 * memxor.m4: Require gl_C_RESTRICT.
1016 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
1018 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for
1019 sys/socket.h, netdb.h, sys/types.h; the checks areno longer
1020 needed, since the source code now assumes these .h files.
1022 2005-10-05 Simon Josefsson <jas@extundo.com>
1024 * memxor.m4: New file.
1026 2005-10-02 Paul Eggert <eggert@cs.ucla.edu>
1028 Sync from coreutils.
1029 * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
1030 * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
1031 defines ULONG_MAX_LT_ULLONG_MAX. Thomas M.Ott reports that
1032 ULLONG_MAX doesn't work with 2.7.2.1.
1034 2005-10-02 Jim Meyering <jim@meyering.net>
1036 Sync from coreutils.
1037 * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
1038 from glibc-2.2.5 that fails for read-only files.
1040 2005-10-02 Alfred M. Szmidt <ams@gnu.org>
1042 Sync from coreutils.
1043 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
1044 against `yes', rather than just testing for nonempty.
1046 2005-10-01 Simon Josefsson <jas@extundo.com>
1048 * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
1051 * getaddrinfo.m4: Use AC_GNU_SOURCE, GNU only declare getaddrinfo
1052 as an (POSIX) extension. Check for sys/types.h, sys/socket.h, and
1053 netdb.h too, needed by getaddrinfo.h. Check if getaddrinfo,
1054 freeaddrinfo and gai_strerror are declared by the POSIX headers.
1055 Check if struct addrinfo is declared.
1057 2005-10-01 Jim Meyering <jim@meyering.net>
1059 Sync from coreutils.
1061 * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
1062 libraries [inet nsl socket xnet]. Nelson Beebe reported that with
1063 native cc on Solaris 7, getaddrinfo.c requires -lsocket.
1064 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
1065 in the inet and nsl libraries. Required on Solaris 5.7.
1067 2005-09-24 Jim Meyering <jim@meyering.net>
1069 Sync from coreutils.
1070 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
1071 in the inet and nsl libraries. Required on Solaris 5.7.
1073 2005-09-26 Bruno Haible <bruno@clisp.org>
1075 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
1076 mbchar.c if they are not both present.
1077 * mbfile.m4 (gl_MBFILE): Require gl_FUNC_MBRTOWC.
1078 * mbiter.m4 (gl_MBITER): Likewise.
1079 * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
1080 * strcasestr.m4 (gl_PREREQ_STRCASESTR): Likewise.
1081 * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
1083 2005-09-23 Paul Eggert <eggert@cs.ucla.edu>
1085 * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
1086 and similarly for the other external symbols. Problem reported
1089 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
1090 bug reported by Jim Meyering.
1092 * utimens.m4 (gl_UTIMENS): Check for futimesat.
1093 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
1094 not needed, since socklen is a prerequisite module.
1096 2005-09-23 Jim Meyering <jim@meyering.net>
1098 Sync from coreutils.
1099 Correct build failure (socklen_t not defined) on at least
1100 mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
1101 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
1103 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
1105 Sync from coreutils.
1106 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
1108 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
1110 Sync from coreutils.
1112 * backupfile.m4, calloc.m4, chown.m4, cloexec.m4, dup2.m4:
1113 * fileblocks.m4, free.m4, ftruncate.m4, getcwd.m4, getpagesize.m4:
1114 * getugroups.m4, group-member.m4, idcache.m4, link-follow.m4:
1115 * mkstemp.m4, mktime.m4, mountlist.m4, nanosleep.m4, pathmax.m4:
1116 * physmem.m4, posixver.m4, putenv.m4, safe-read.m4, same.m4:
1117 * save-cwd.m4, stdio-safer.m4, unistd-safer.m4, unlinkdir.m4:
1118 * userspec.m4, xgetcwd.m4, xreadlink.m4:
1119 Don't bother checking for string.h, stdlib.h, unistd.h.
1120 * fts.m4 (gl_FUNC_FTS_CORE): Don't require
1121 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
1123 * jm-macros.m4 (gl_MACROS): Likewise.
1124 * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
1126 * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
1127 (gl_GETDATE): Use it.
1129 * mkdir-p.m4 (gl_MKDIR_PARENTS): Don't bother checking for unistd.h.
1131 2005-09-22 Jim Meyering <jim@meyering.net>
1133 Sync from coreutils.
1135 * lstat.m4 (gl_FUNC_LSTAT):
1136 Use AC_LIBSOURCES to require lstat.c and lstat.h.
1137 Remove obsolete comment.
1138 * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
1139 * xstrtod.m4: Likewise.
1141 * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
1143 2005-09-19 Simon Josefsson <jas@extundo.com>
1145 * socklen.m4: Fix typo.
1147 2005-09-15 Paul Eggert <eggert@cs.ucla.edu>
1149 * st_mtim.m4: Remove. Superseded by...
1150 * stat-time.m4: New file.
1151 * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
1152 Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
1154 2005-09-15 Derek Price <derek@ximbiot.com>
1156 * strstr.m4 (gl_FUNC_STRSTR): Don't define strstr here.
1158 2005-09-12 Derek Price <derek@ximbiot.com>
1160 Make canon-host require getaddrinfo.
1161 * canon-host.m4 (gl_CANON_HOST): Remove most dependencies.
1162 AC_LIBSOURCE canon-host.h. Call...
1163 (gl_PREREQ_CANON_HOST): ...this new function, which requires
1165 * getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when needed.
1167 2005-09-12 Derek Price <derek@ximbiot.com>
1168 Paul Eggert <eggert@cs.ucla.edu>
1170 * m4/glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c,
1171 glob_.h, glob-libc.h.
1172 (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed.
1174 2005-08-31 Simon Josefsson <jas@extundo.com>
1176 * socklen.m4: New file.
1178 2005-09-03 Derek Price <derek@ximbiot.com>
1180 * getlogin_r (gl_GETLOGIN_R): Fix cut & paste error.
1181 From Larry Jones <lawrence.jones@ugs.com>.
1183 2005-08-27 Bruno Haible <bruno@clisp.org>
1185 Support for lib vs. lib64 distinction on biarch platforms.
1186 * lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): New macro.
1187 (AC_LIB_PREFIX): Require it. Use $acl_libdirstem instead of 'lib'.
1188 * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
1190 2005-09-01 Jim Meyering <jim@meyering.net>
1192 * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
1193 CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
1194 Require gl_STAT_MACROS, too.
1196 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
1198 * regex.m4 (gl_REGEX): Require AC_SYS_LARGEFILE, Define
1199 _REGEX_LARGE_OFFSETS). Test for regoff_t/off_t bug in 64-bit
1200 and large-file glibc and in 32-bit large-file Solaris.
1202 2005-08-28 Bruno Haible <bruno@clisp.org>
1204 * gnulib-tool.m4: New file.
1206 2005-08-27 Jim Meyering <jim@meyering.net>
1208 * stdlib-safer.m4: New file. From coreutils.
1209 * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h.
1210 * fcntl-safer.m4 (gl_FCNTL_SAFER): Add creat-safer.c to the
1211 AC_LIBSOURCES list and arrange to compile it via AC_LIBOBJ.
1212 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise, add pipe-safer.c.
1213 Add pipe-safer.c and unistd--.h to the AC_LIBSOURCES list.
1215 2005-08-24 Simon Josefsson <jas@extundo.com>
1217 * getpass.m4: Check for termios.h, tcgetattr, tcsetattr, and
1220 2005-08-25 Stepan Kasal <kasal@ucw.cz>
1222 * regex.m4: Add AC_PREREQ(2.50).
1223 (gl_REGEX): If --with-included-regex was given, skip the autodetection.
1225 2005-08-25 Bruno Haible <bruno@clisp.org>
1227 * minmax.m4: Require autoconf 2.52.
1228 (gl_MINMAX_IN_HEADER): Add comments. Use m4_pushdef/m4_popdef instead
1229 of define/undefine. Use AS_TR_SH and AS_TR_CPP as more robust
1230 alternatives of translit over the alphabet.
1231 Based on a patch from Stepan Kasal <kasal@ucw.cz>.
1233 2005-08-24 Paul Eggert <eggert@cs.ucla.edu>
1235 * regex.m4 (gl_REGEX): Use POSIX-compliant spellings when testing
1236 for GNU regex features.
1238 2005-08-24 Jim Meyering <jim@meyering.net>
1240 Sync from coreutils.
1241 * fcntl-safer.m4: New file.
1243 * xgetcwd.m4: Use AC_LIBSOURCES and AC_LIBOBJ to indicate source
1244 and object files for this module.
1246 2005-08-23 Paul Eggert <eggert@cs.ucla.edu>
1248 * regex.m4 (gl_INCLUDED_REGEX): Remove; no longer used.
1249 All contents moved to gl_REGEX.
1250 (gl_REGEX): Don't bother checking whether lib/regex.c exists;
1251 assume that it does.
1253 2005-08-20 Bruno Haible <bruno@clisp.org>
1255 * regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
1257 2005-08-17 Bruno Haible <bruno@clisp.org>
1259 * strcasestr.m4: New file.
1261 2005-08-17 Bruno Haible <bruno@clisp.org>
1263 * strstr.m4 (gl_FUNC_STRSTR): Use the replacement function always.
1264 (gl_PREREQ_STRSTR): Use gl_FUNC_MBRTOWC.
1266 2005-08-16 Paul Eggert <eggert@cs.ucla.edu>
1268 * getopt.m4 (gl_GETOPT_CHECK_HEADERS): Do not override the results
1269 of gl_GETOPT_SUBSTITUTE. That way, if both gl_GETOPT_SUBSTITUTE
1270 and gl_GETOPT are both invoked via different paths (as happens
1271 with GNU tar CVS because it uses both argp and getopt), the former
1274 2005-08-16 Bruno Haible <bruno@clisp.org>
1276 * strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function always.
1277 (gl_PREREQ_STRCASECMP): Use gl_FUNC_MBRTOWC.
1279 2005-08-16 Bruno Haible <bruno@clisp.org>
1281 * mbfile.m4: New file.
1283 2005-08-16 Bruno Haible <bruno@clisp.org>
1285 * mbiter.m4: New file.
1287 2005-08-16 Bruno Haible <bruno@clisp.org>
1289 * mbchar.m4: New file.
1291 2005-08-16 Bruno Haible <bruno@clisp.org>
1293 * tls.m4: New file, from GNU gettext.
1295 2005-08-12 Bruno Haible <bruno@clisp.org>
1297 * readline.m4 (gl_FUNC_READLINE): Look for ncurses first.
1299 2005-08-12 Simon Josefsson <jas@extundo.com>
1301 * readline.m4: Look for termcap, curses or ncurses if required.
1303 2005-08-11 Simon Josefsson <jas@extundo.com>
1305 * readline.m4: New file.
1307 2005-08-10 Simon Josefsson <jas@extundo.com>
1309 * strnlen.m4: New file.
1311 * strndup.m4: Don't check for strnlen declaration, done in
1314 2005-08-10 Stepan Kasal <kasal@ucw.cz>
1316 * onceonly_2_57.m4: Really require Autoconf 2.57.
1318 2005-08-02 Simon Josefsson <jas@extundo.com>
1320 * getline.m4: Separate out getdelim stuff into separate module.
1322 * getdelim.m4: New file.
1324 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1326 Add support to getopt for Emacs, which doesn't use LIBOBJS in the
1328 * getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER): New macro.
1329 (gl_GETOPT_SUBSTITUTE): Use it. Invoke gl_PREREQ_GETOPT.
1330 (gl_GETOPT_IFELSE, gl_GETOPT_CHECK_HEADERS): New macros.
1331 (gl_GETOPT): Use the new macros. Most of the implementation
1332 is moved to the new macros. This is for programs like Emacs
1333 that don't want all the functionality of gl_GETOPT.
1335 2005-07-26 Bruno Haible <bruno@clisp.org>
1337 * lock.m4: Update from GNU gettext.
1339 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1341 * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_IFELSE instead of the
1342 obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
1344 2005-07-24 Bruno Haible <bruno@clisp.org>
1346 * visibility.m4: New file.
1348 2005-07-18 Bruno Haible <bruno@clisp.org>
1350 * lock.m4: New file, from GNU gettext.
1352 2005-06-01 Bruno Haible <bruno@clisp.org>
1354 * poll.m4 (gl_FUNC_POLL): Check against MacOS X 10.4 poll() bug.
1355 When using lib/poll.c, define poll as rpl_poll.
1357 2005-07-14 Bruno Haible <bruno@clisp.org>
1359 * argp.m4 (gl_ARGP): Remove invocation of gl_FUNC_GLIBC_UNLOCKED_IO.
1360 Instead, test for *_unlocked function declarations directly.
1362 2005-07-14 Derek Price <derek@ximbiot.com>
1364 * glob.m4 (gl_GLOB): Cache glob interface check result. Add check for
1367 2005-07-10 Bruno Haible <bruno@clisp.org>
1369 * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t.
1370 Needed when size_t is smaller than 'unsigned int'.
1371 Reported by Paul Eggert.
1373 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1375 * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1376 * same.m4 (gl_SAME): Likewise.
1377 Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1379 * regex.m4: Adjust to new libc regex implementation.
1380 (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
1381 all the .c and .h parts of (the new) regex.
1382 Quote the m4 stuff better.
1383 Check for RE_ICASE bug of old gnulib.
1384 Check for REG_STARTEND of recent libc.
1385 Rename local variables from jm_* to gl_*.
1386 Quote operand of "test -f".
1387 Say "recent enough" version of libc, not "version 2".
1388 (gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a
1389 prerequisite module. Remove AC_HEADER_STDC; no longer needed.
1390 Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll.
1391 Remove check for btowc, isascii.
1392 Require AM_LANGINFO_CODESET.
1394 2005-07-05 Bruno Haible <bruno@clisp.org>
1396 * mbrtowc.m4 (gl_FUNC_MBRTOWC): Upgrade to version from current
1397 autoconf CVS. Needed for mingw.
1399 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1401 Remove the dependency of the strftime module on the tzset module.
1402 * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1404 2005-07-02 Jim Meyering <jim@meyering.net>
1406 * chown.m4, cloexec.m4, dup2.m4, fsusage.m4:
1407 * getcwd-path-max.m4, getcwd.m4, mkstemp.m4, mountlist.m4:
1408 * pagealign_alloc.m4, save-cwd.m4, unistd-safer.m4:
1409 Don't check for fcntl.h, and don't test for HAVE_FCNTL_H.
1411 2005-06-28 Simon Josefsson <jas@extundo.com>
1413 * check-version.m4: New file, suggested by Jim Meyering
1416 2005-06-24 Derek Price <derek@ximbiot.com>
1417 and Bruno Haible <bruno@clisp.org>
1419 Remove stat module & update lstat.
1420 * lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
1421 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1422 * stat.m4: Remove this file.
1424 2005-06-20 Derek Price <derek@ximbiot.com>
1426 * bison.m4: Note that precious decls of YACC & YFLAGS will be
1427 unnecessary for Autoconfs > 2.59c.
1429 2005-06-16 Derek Price <derek@ximbiot.com>
1431 * bison.m4: Declare YACC & YFLAGS precious.
1433 2005-06-08 Bruno Haible <bruno@clisp.org>
1435 * csharpcomp.m4: New file, from GNU gettext.
1437 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1439 Sync from coreutils.
1440 * mkdir-p.m4: Renamed from makepath.m4.
1441 (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed.
1442 Rename files from makepath.c to mkdir-p.c, and from
1443 makepath.h to mkdir-p.h.
1444 * filenamecat.m4: Renamed from path-concat.m4.
1445 (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed.
1446 Rename files from path-concat.c to filenamecat.c,
1447 and from path-concat.h to filenamecat.h.
1448 * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1449 "file name" in local variables or comments.
1450 * rename.m4: Likewise.
1452 2005-06-01 Bruno Haible <bruno@clisp.org>
1454 * csharp.m4: New file, from GNU gettext.
1455 * csharpexec.m4: New file, from GNU gettext.
1457 2005-05-31 Derek Price <derek@ximbiot.com>
1458 Paul Eggert <eggert@cs.ucla.edu>
1461 * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
1463 2005-05-29 Derek Price <derek@ximbiot.com>
1464 Paul Eggert <eggert@cs.ucla.edu>
1466 * glob.m4: New file.
1468 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1470 * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1471 and don't require gt_INTTYPES_PRI.
1473 2005-05-26 Paul Eggert <eggert@cs.ucla.edu>
1475 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Define
1476 _POSIX_PTHREAD_SEMANTICS for Solaris.
1478 2005-05-25 Derek Price <derek@ximbiot.com>
1479 Paul Eggert <eggert@cs.ucla.edu>
1481 * getlogin_r.m4: New files.
1483 2005-05-22 Bruno Haible <bruno@clisp.org>
1485 * minmax.m4: New file.
1486 Based on a patch by Derek Price <derek@ximbiot.com>.
1488 2005-05-20 Paul Eggert <eggert@cs.ucla.edu>
1490 * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1491 (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1493 2005-05-20 Eric Blake <ebb9@byu.net> (tiny change)
1495 * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1498 2005-05-18 Paul Eggert <eggert@cs.ucla.edu>
1500 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1501 Don't check for stddef.h.
1502 * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1503 don't use its results.
1504 Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1505 since we include them unconditionally. Don't require
1506 AM_STDBOOL_H, since stdbool is a prerequisite.
1507 Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1508 since we assume C89 or better.
1509 Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1510 as we don't use their results.
1511 Don't check for fchdir, memmove, memset, strrchr, as we use
1512 them unconditionally.
1513 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1514 GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1516 2005-05-18 Jim Meyering <jim@meyering.net>
1518 * fts.m4 (AC_LIBSOURCES): Add intprops.h to the list.
1519 Reported by Yoann Vandoorselaere.
1521 2005-05-17 Jim Meyering <jim@meyering.net>
1523 * fts.m4: New file, from coreutils.
1525 2005-05-14 Paul Eggert <eggert@cs.ucla.edu>
1527 Sync from coreutils.
1528 * unlinkdir.m4: New file.
1530 2005-05-10 Derek Price <derek@ximbiot.com>
1532 * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1535 2005-05-10 Simon Josefsson <jas@extundo.com>
1537 * getaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
1538 Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
1540 2005-05-09 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
1541 Bruno Haible <bruno@clisp.org>
1543 * inet_ntop.m4: New file.
1545 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1547 * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1550 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1552 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1553 * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1554 (gl_PREREQ_CHOWN): Remove.
1555 * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1556 it. Don't require AC_HEADER_STAT.
1557 (gl_PREREQ_LSTAT): Remove.
1558 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1559 Don't require AC_HEADER_STAT.
1560 * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1561 (gl_PREREQ_RMDIR): Remove.
1562 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1563 mention stat-macros.h or AC_HEADER_STAT, since we'll make
1564 the stat-macros module a prerequisite.
1565 * file-type.m4 (gl_FILE_TYPE): Likewise.
1566 * filemode.m4 (gl_FILEMODE): Likewise.
1567 * makepath.m4 (gl_MAKEPATH): Likewise.
1568 * modechange.m4 (gl_MODECHANGE): Likewise.
1569 * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1571 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1572 fetish_FUNC_RMDIR_NOTEMPTY. All uses changed. Use gl_ for
1574 * fcntl-safer.m4: Remove.
1575 * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1576 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1577 Invoke gl_PREREQ_FD_SAFER.
1578 (gl_PREREQ_FD_SAFER): New macro.
1579 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Check for siginterrupt.
1580 * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1581 Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1582 Remove duplicate call to AC_LIBOBJ(readutmp).
1583 (gl_PREREQ_READUTMP): Remove. All uses inlined.
1585 * mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check for message, not for
1586 MAP_ANON. Problem reported by Moriyoshi Koizumi to bug-cvs.
1588 2005-05-01 Oskar Liljeblad <oskar@osk.mine.nu>
1590 * byteswap.m4: New file.
1594 * gettext.m4: Update from GNU gettext 0.14.4.
1596 2005-04-15 Simon Josefsson <jas@extundo.com>
1598 * getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
1600 2005-03-28 Eric Blake <ebb9@byu.net> (tiny change)
1602 * getcwd-path-max.m4: Return success on systems such as Cygwin
1603 where no absolute path name can be longer than PATH_MAX.
1605 2005-03-22 Jim Meyering <jim@meyering.net>
1607 * stat-macros.m4 (gl_STAT_MACROS): New file/macro.
1609 2005-03-21 Jim Meyering <jim@meyering.net>
1610 and Paul Eggert <eggert@cs.ucla.edu>
1612 * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4,
1613 cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4,
1614 exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4,
1615 getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4,
1616 getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4,
1617 idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4,
1618 memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4,
1619 path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4,
1620 quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4,
1621 safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4,
1622 strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4,
1623 unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4,
1624 xnanosleep.m4, xstrtol.m4, yesno.m4:
1625 Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files
1628 2005-03-21 Jim Meyering <jim@meyering.net>
1630 * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Invoke gl_FUNC_MEMRCHR.
1631 * memrchr.m4 (gl_FUNC_MEMRCHR): Check for memrchr decl.
1633 2005-03-16 Bruno Haible <bruno@clisp.org>
1635 * stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
1636 HAVE_LONGLONG_64BIT.
1638 2005-03-14 Bruno Haible <bruno@clisp.org>
1640 * lib-link.m4, gettext.m4, nls.m4, po.m4:
1641 Update from GNU gettext 0.14.3.
1643 2005-03-10 Jim Meyering <jim@meyering.net>
1645 * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1647 2005-03-07 Bruno Haible <bruno@clisp.org>
1649 * mmap-anon.m4 (MAP_FILE, MAP_FAILED): Remove definitions.
1651 2005-03-03 Bruno Haible <bruno@clisp.org>
1653 * inttypes.m4, isc-posix.m4, once-only.m4:
1654 Use an all-permissive copyright notice, recommended by RMS.
1656 2005-03-03 Derek R. Price <derek@ximbiot.com>
1658 * mmap-anon.m4: New file.
1659 * pagealign_alloc.m4: New file.
1661 2005-01-28 Bruno Haible <bruno@clisp.org>
1663 * stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because of
1664 AIX, the replacement has to be done only after <string.h> is included,
1665 therefore not in config.h. stpncpy.h does the replacement, and
1668 2005-03-01 Paul Eggert <eggert@cs.ucla.edu>
1670 * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1671 to detect nanosleep bug.
1673 2005-02-25 Paul Eggert <eggert@cs.ucla.edu>
1675 * gethrxtime.m4, xnanosleep.m4: New files.
1676 * gettime.m4 (gl_GETTIME): Check for nanotime.
1678 2005-02-24 Bruno Haible <bruno@clisp.org>
1680 * gettext.m4, intdiv0.m4, intmax.m4, inttypes-pri.m4, lcmessage.m4:
1681 * lib-link.m4, lib-prefix.m4, nls.m4, po.m4, printf-posix.m4:
1683 Update from GNU gettext 0.14.2.
1684 * glibc2.m4: New file, from GNU gettext 0.14.2.
1686 2005-02-22 Simon Josefsson <jas@extundo.com>
1688 * iconvme.m4: New file.
1690 2005-02-23 Jim Meyering <jim@meyering.net>
1692 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
1693 Thanks to Bruno Haible for catching it.
1695 2005-02-22 Jim Meyering <jim@meyering.net>
1697 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
1699 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1701 * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
1703 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
1705 Sync from coreutils.
1706 * getloadavg.m4, glibc.m4, search-libs.m4: Remove.
1708 Remove files that are specific to coreutils.
1709 * check-decl.m4, jm-macros.m4, lib-check.m4, prereq.m4: Remove.
1711 2005-01-28 Bruno Haible <bruno@clisp.org>
1713 * javacomp.m4: New file, from GNU gettext.
1715 2005-01-26 Bruno Haible <bruno@clisp.org>
1717 * javaexec.m4: New file, from GNU gettext.
1719 2005-01-24 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1721 * sysexits.m4 (gl_SYSEXITS): Reverted logic. SYSEXITS_H
1722 must be defined if the header file was not found, in order
1723 to provide a replacement. Reported by Todd Vierling <tv@duh.org>
1725 2005-01-23 Paul Eggert <eggert@cs.ucla.edu>
1727 * acl.m4, afs.m4, alloca.m4, argp.m4, assert.m4, atexit.m4,
1728 backupfile.m4, base64.m4, bison.m4, c-bs-a.m4, c-stack.m4,
1729 c-strtod.m4, calloc.m4, canon-host.m4, canonicalize.m4,
1730 clock_time.m4, cloexec.m4, closeout.m4, d-ino.m4, d-type.m4,
1731 dirfd.m4, dirname.m4, dos.m4, dup2.m4, error.m4, euidaccess.m4,
1732 exclude.m4, exitfail.m4, extensions.m4, fcntl-safer.m4,
1733 file-type.m4, fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4,
1734 free.m4, fstypename.m4, fsusage.m4, ftruncate.m4, getaddrinfo.m4,
1735 getcwd-path-max.m4, getcwd.m4, getdate.m4, getdomainname.m4,
1736 getgroups.m4, gethostname.m4, getline.m4, getndelim2.m4,
1737 getnline.m4, getopt.m4, getpagesize.m4, getpass.m4, getsubopt.m4,
1738 gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4,
1739 group-member.m4, hard-locale.m4, hash.m4, host-os.m4, human.m4,
1740 idcache.m4, inttostr.m4, isdir.m4, jm-winsz1.m4, jm-winsz2.m4,
1741 link-follow.m4, long-options.m4, ls-mntd-fs.m4, lstat.m4,
1742 makepath.m4, mathl.m4, md5.m4, memcasecmp.m4, memchr.m4,
1743 memcmp.m4, memcoll.m4, memcpy.m4, memmem.m4, memmove.m4,
1744 memrchr.m4, memset.m4, mkdir-slash.m4, mkstemp.m4, mktime.m4,
1745 modechange.m4, mountlist.m4, nanosleep.m4, obstack.m4,
1746 path-concat.m4, pathmax.m4, perl.m4, physmem.m4, poll.m4,
1747 posixtm.m4, posixver.m4, putenv.m4, quote.m4, quotearg.m4,
1748 readdir.m4, readtokens.m4, readutmp.m4, regex.m4, rename.m4,
1749 restrict.m4, rmdir-errno.m4, rmdir.m4, rpmatch.m4, same.m4,
1750 savedir.m4, settime.m4, sha1.m4, sig2str.m4, snprintf.m4,
1751 sockpfaf.m4, st_dm_mode.m4, st_mtim.m4, stat.m4, stdint.m4,
1752 stdio-safer.m4, strchrnul.m4, strdup.m4, strerror.m4,
1753 strerror_r.m4, strftime.m4, strndup.m4, strnlen.m4, strsep.m4,
1754 strtod.m4, strtoimax.m4, strtok_r.m4, strtol.m4, strtoll.m4,
1755 strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4, sysexits.m4,
1756 time_r.m4, timegm.m4, timespec.m4, tm_gmtoff.m4, tzset.m4,
1757 uint32_t.m4, uintptr_t.m4, unistd-safer.m4, unlink-busy.m4,
1758 unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4, utime.m4,
1759 utimecmp.m4, utimens.m4, utimes-null.m4, vsnprintf.m4, xalloc.m4,
1760 xgetcwd.m4, xreadlink.m4, xstrndup.m4, xstrtod.m4, xstrtoimax.m4,
1761 xstrtol.m4, xstrtoumax.m4, yesno.m4:
1762 Use an all-permissive copyright notice, recommended by RMS.
1764 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
1766 * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
1768 2005-01-18 Paul Eggert <eggert@cs.ucla.edu>
1770 Merge from coreutils.
1771 * ullong_max.m4: New file.
1772 * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
1773 (gl_MACROS): Assume localeconv exists.
1775 2005-01-18 Jim Meyering <jim@meyering.net>
1777 Merge from coreutils.
1778 * chdir-long.m4, openat.m4: New files.
1779 * save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c,
1780 save-cwd.h. Add AC_LIBOBJ for save-cwd.
1781 * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
1782 is sane and DOES follow symlinks. Besides, testing 20 different
1783 systems found no broken chown implementations.
1784 Prompted by a change in rsync's copy of this macro.
1785 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR_LONG.
1787 * lchown.m4 (gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
1789 * utimes.m4: Work around tests/touch/empty-file failure on a system
1790 (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
1791 NULL-means-set-to-current-time semantics.
1792 Remove temporary file immediately, rather than waiting
1793 for configure's at-exit trap code to do it.
1795 2005-01-18 Bruno Haible <bruno@clisp.org>
1797 * allocsa.m4, codeset.m4, copy-file.m4, eaccess.m4, eealloc.m4:
1798 * eoverflow.m4, execute.m4, fatal-signal.m4, findprog.m4, glibc21.m4:
1799 * iconv.m4, intmax_t.m4, inttypes_h.m4, lib-ld.m4, lib-link.m4:
1800 * lib-prefix.m4, linebreak.m4, localcharset.m4, longdouble.m4:
1801 * longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mkdtemp.m4:
1802 * pipe.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4:
1803 * sig_atomic_t.m4, signalblocking.m4, signed.m4, size_max.m4:
1804 * ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4, stpncpy.m4:
1805 * strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, ucs4-utf.m4:
1806 * uintmax_t.m4, ulonglong.m4, unicodeio.m4, utf-ucs4.m4, vasnprintf.m4:
1807 * vasprintf.m4, wait-process.m4, wchar_t.m4, wint_t.m4, xsize.m4:
1808 Use an all-permissive copyright notice, recommended by RMS.
1810 2005-01-06 Bruno Haible <bruno@clisp.org>
1812 * stpncpy.m4 (gl_FUNC_STPNCPY): Rename stpncpy to gnu_stpncpy here.
1814 2005-01-04 Jim Meyering <jim@meyering.net>
1816 Changes imported from coreutils.
1817 * mkstemp.m4 (gl_FUNC_MKSTEMP): Rather than using "conftestXXXXXX"
1818 as the mkstemp template, use a temporary directory and an
1819 8.3-friendly template to avoid trouble on systems like DJGPP.
1820 Reported by Juan M. Guerrero via Stepan Kasal.
1821 * (gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of close.
1822 Remove the temporary directory right away, rather than waiting
1823 for configure's at-exit trap code to do it.
1824 Suggestion from Stepan Kasal.
1826 2004-12-24 Paul Eggert <eggert@cs.ucla.edu>
1828 * c-strtod.m4 (gl_C99_STRTOLD): New macro.
1829 (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
1831 2004-12-23 Paul Eggert <eggert@cs.ucla.edu>
1833 * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
1835 2004-12-18 Bruno Haible <bruno@clisp.org>
1837 * fatal-signal.m4 (gl_FATAL_SIGNAL): Also test for sigaction.
1839 2004-12-07 Paul Eggert <eggert@cs.ucla.edu>
1841 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
1842 spurious "-l"s. Problem reported by Stepan Kasal.
1844 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1846 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
1847 in Autoconf 2.59. Problem reported by Mark D. Baushke.
1849 2004-12-04 Paul Eggert <eggert@cs.ucla.edu>
1851 Changes imported from coreutils.
1852 * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
1854 * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
1856 2004-11-30 Paul Eggert <eggert@cs.ucla.edu>
1858 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1859 Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
1861 * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
1863 2004-11-30 Simon Josefsson <jas@extundo.com>
1865 * base64.m4: New file.
1867 2004-11-30 Simon Josefsson <jas@extundo.com>
1869 * restrict.m4: Add copyright and copying conditions.
1871 2004-11-25 Paul Eggert <eggert@cs.ucla.edu>
1873 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
1874 GL_FUNC_GETCWD_PATH_MAX for consistency. All uses changed.
1875 Use the _ONCE methods, for efficiency.
1876 Check for fcntl.h. In test program, include <errno.h>
1877 and <fcntl.h> if available. Remove old K&R cruft from
1878 test program. Check for common errors in GNU/Linux,
1879 OpenBSD, and Solaris. Just set gl_cv_func_getcwd_path_max;
1880 don't do AC_LIBOBJ, as that's getcwd.m4's job.
1881 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
1882 AC_FUNC_GETCWD_NULL. All used changed. Change cache variable
1884 (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros. Revamp to
1885 accommodate new getcwd.c.
1886 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
1887 * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
1888 * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
1889 that's all we need now.
1891 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1893 * utimens.m4 (gl_UTIMENS): Check for futimes function.
1895 2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1897 * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
1898 argp-parse.c depends on getopt internals, that means we should
1899 always use our getopt, to be on the safe side.
1900 * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
1901 order not to spoil the result of an eventual previous invocation
1902 of gl_GETOPT_SUBSTITUTE.
1904 2004-11-17 Paul Eggert <eggert@cs.ucla.edu>
1906 * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
1907 that mishandle size_t overflow.
1909 2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
1911 * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
1913 2004-11-13 Jim Meyering <jim@meyering.net>
1915 * jm-macros.m4: Do require gl_FUNC_FPENDING.
1917 2004-11-11 Paul Eggert <eggert@cs.ucla.edu>
1919 * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead
1920 of replacing opterr, getopt, etc. This should handle the
1921 powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson.
1923 2004-11-11 Simon Josefsson <jas@extundo.com>
1925 * strtok_r.m4: New file.
1927 * getopt.m4: Replace opterr.
1929 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
1931 * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
1933 2004-11-10 Jim Meyering <jim@meyering.net>
1935 * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING.
1937 2004-11-08 Simon Josefsson <jas@extundo.com>
1939 * getaddrinfo.m4: New file.
1941 2004-11-09 Paul Eggert <eggert@cs.ucla.edu>
1943 * strftime.m4 (_gl_STRFTIME_PREREQS): Remove. Move its body to
1945 (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE
1946 and AC_REQUIRE when possible, to avoid duplicate checks.
1947 Check for <wchar.h>.
1949 2004-11-09 Bruno Haible <bruno@clisp.org>
1951 * sockpfaf.m4: New file.
1953 2004-11-03 Albert Chin <china@thewrittenword.com>
1954 Paul Eggert <eggert@cs.ucla.edu>
1956 * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
1957 equivalent, substitute $ac_type for equivalent type rather than
1958 blindly using uint32_t *always* which won't work if uint32_t is not
1959 available. Define _UINT32_T to work around typedef of uint32_t if
1960 <sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
1963 2004-11-02 Paul Eggert <eggert@cs.ucla.edu>
1965 * jm-macros.m4: Sync from coreutils.
1966 (gl_MACROS): Check for mbrlen, for pathchk.
1967 (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
1969 2004-11-02 Bruno Haible <bruno@clisp.org>
1971 * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv()
1974 2004-11-01 Paul Eggert <eggert@cs.ucla.edu>
1976 * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
1977 fflush_unlocked, flockfile, funlockfile, funlockfile,
1978 fputs_unlocked, putc_unlocked.
1980 2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
1982 * getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
1984 2004-10-15 Paul Eggert <eggert@cs.ucla.edu>
1986 * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
1987 implementation of getopt_long. Problem reported by Alexander Taler in:
1988 http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
1990 2004-10-11 Yoann Vandoorselaere <yoann@prelude-ids.org>
1992 * vsnprintf.m4: New file.
1994 2004-10-05 Bruno Haible <bruno@clisp.org>
1996 * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check
1997 for the declaration of strsep.
1999 2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
2001 * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove. All uses removed.
2003 * unlocked-io.m4: Add copyright notice.
2004 (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
2006 2004-10-04 Simon Josefsson <jas@extundo.com>
2008 * memmem.m4: New file.
2010 2004-10-01 Yoann Vandoorselaere <yoann@prelude-ids.org>
2012 * strsep.m4: New file.
2014 2004-09-30 Simon Josefsson <jas@extundo.com>
2016 * snprintf.m4: New file.
2018 2004-09-09 Bruno Haible <bruno@clisp.org>
2020 * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with
2022 * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
2024 2004-09-08 Bruno Haible <bruno@clisp.org>
2026 * stdint.m4: New file, taken from GNU clisp with modifications.
2028 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
2030 * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA.
2032 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
2034 * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody
2035 uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
2036 Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
2037 Check for program_invocation_name, program_invocation_short_name,
2038 flockfile, funlockfile, features.h, _getopt_long_only_r.
2040 2004-08-12 Simon Josefsson <jas@extundo.com>
2042 * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
2043 as discussed with Paul Eggert in threads rooted at
2044 <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
2046 <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
2047 Before, the test was empty, and relied on ELIDE_CODE in source
2049 (gl_PREREQ_GETOPT): New macro.
2050 (gl_GETOPT): Use them.
2052 2004-08-11 Paul Eggert <eggert@cs.ucla.edu>
2054 Merge from coreutils.
2056 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
2058 * obstack.m4 (gl_PREREQ_OBSTACK): Require
2059 gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
2061 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
2063 * uint32_t.m4, uintptr_t.m4: New files.
2064 * sha1.m4: Renamed from sha.m4.
2065 (gl_SHA1): Renamed from gl_SHA. All uses changed.
2067 2004-08-08 Simon Josefsson <jas@extundo.com>
2069 * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
2070 Check getpass declaration.
2072 2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
2074 More merge from coreutils.
2076 * utimens.m4, utimecmp.m4: New files.
2077 * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
2078 fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
2079 prereq.m4, sha.m4: Import changes from coreutils.
2081 2004-08-05 Paul Eggert <eggert@cs.ucla.edu>
2083 Merge from coreutils.
2085 * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
2088 * dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
2089 FILESYSTEM_PREFIX_LEN ->
2090 FILE_SYSTEM_PREFIX_LEN.
2091 FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX ->
2092 FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.
2093 FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR ->
2094 FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
2096 * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
2097 prerequisite modules now handle the DOS stuff.
2098 Don't check for unistd.h.
2100 2004-08-03 Simon Josefsson <jas@extundo.com>
2102 * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it.
2104 2004-08-02 Simon Josefsson <jas@extundo.com>
2106 * getsubopt.m4: New file.
2108 2004-08-03 Paul Eggert <eggert@cs.ucla.edu>
2110 * fatal.m4: Remove, as the "fatal" module wasn't used or working.
2112 2004-07-13 Robert Millan <robertmh@gnu.org>
2114 * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
2116 2004-06-22 Paul Eggert <eggert@cs.ucla.edu>
2118 * argz.m4: New file, which is autoupdated from libtool.
2120 2004-06-01 Jim Meyering <jim@meyering.net>
2122 * calloc.m4: New file.
2124 2004-06-01 Paul Eggert <eggert@cs.ucla.edu>
2126 Merge from coreutils CVS.
2128 * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4,
2129 makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4,
2130 putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4,
2131 strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4,
2132 xstrtol.m4: Fix copyright date and/or serial number.
2134 * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
2135 See if we need an fchown replacement.
2136 (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
2137 (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
2138 and use the replacement function if we detect either defect.
2140 * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR,
2143 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
2145 * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI
2146 C B3910B A.05.55 [Dec 04 2003]. Problem reported by Jim Meyering.
2147 Also, fix a typo in a diagnostic.
2149 2004-05-30 Paul Eggert <eggert@cs.ucla.edu>
2151 * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC
2154 2004-05-20 Andreas Schwab <schwab@suse.de>
2156 * free.m4: Replace free if it not known to work, not the other
2159 2004-05-17 Derek R. Price <derek@ximbiot.com>
2160 Paul Eggert <eggert@cs.ucla.edu>
2162 * argp: Depend on alloca.
2164 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
2166 * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
2167 for backward compatibility with older code. We need our own
2168 alloca.h if _AIX is defined. Define HAVE_ALLOCA if we discover
2169 it under some other name, and our alloca.h will define it.
2171 2004-05-13 Paul Eggert <eggert@cs.ucla.edu>
2173 * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC.
2174 Check for gettimeofday.
2175 * settime.m4 (gl_SETTIME): Require gl_TIMESPEC.
2176 Check for settimeofday, stime.
2178 2004-04-20 Paul Eggert <eggert@twinsun.com>
2180 * host-os.m4: Add a copyright notice.
2182 2004-04-20 Jim Meyering <jim@meyering.net>
2184 Change UTILS_ to gl_ in AC_DEFINE'd names.
2185 Change utils_- and jm_-prefixed variables, too.
2186 * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
2187 UTILS_FUNC_MKDIR_TRAILING_SLASH.
2188 * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
2190 * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
2191 Don't emit trailing blanks.
2192 Also rename jm_-prefixed variables to have gl_ prefix.
2194 * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS.
2195 Also rename jm_-prefixed variables to have gl_ prefix.
2197 * jm-macros.m4: Reflect the renamings.
2198 * prereq.m4: Likewise.
2200 2004-04-19 Jim Meyering <jim@meyering.net>
2202 * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
2203 now that readutmp.c may call `free (0)'.
2205 2004-04-19 Bruno Haible <bruno@clisp.org>
2207 * mbrtowc.m4: Change jm_ to gl_ in cache variables as well.
2208 * inttypes_h.m4: Likewise.
2209 * stdint_h.m4: Likewise.
2210 * intmax_t.m4: Likewise.
2211 * uintmax_t.m4: Likewise.
2213 2004-04-18 Jim Meyering <jim@meyering.net>
2215 * prereq.m4: Don't forbid jm_ prefix.
2217 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
2218 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4:
2219 * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4:
2220 * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4:
2221 * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4:
2222 * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4:
2223 * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
2224 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
2225 * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4:
2226 * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4:
2227 * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4:
2228 * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4:
2229 * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4:
2230 * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4:
2231 * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
2232 Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
2234 2004-04-16 Jim Meyering <jim@meyering.net>
2236 * prereq.m4 (jm_PREREQ_STAT): Remove macro. It is specific to
2237 coreutils' stat program.
2238 (gl_PREREQ): Don't require jm_PREREQ_STAT.
2240 2004-03-31 Jim Meyering <jim@meyering.net>
2242 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
2243 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2244 * xalloc.m4: Likewise.
2246 2004-03-30 Jim Meyering <jim@meyering.net>
2248 * realloc.m4: Remove file, since now it does no more than
2249 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
2250 the `configure.ac' section of module/realloc.
2251 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
2253 2004-03-30 Paul Eggert <eggert@twinsun.com>
2255 Merge from coreutils.
2257 * inttostr.m4: New file.
2258 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
2259 Require AM_STDBOOL_H and gl_TIMESPEC instead.
2260 Require gl_CLOCK_TIME.
2261 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
2263 2004-03-30 Jim Meyering <jim@meyering.net>
2265 Merge from coreutils.
2267 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
2268 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
2269 on some systems one must include <grp.h> before it.
2270 Reported by Christian Krackowizer.
2272 2004-03-29 Paul Eggert <eggert@twinsun.com>
2274 * cloexec.m4: New file.
2276 2004-03-18 Paul Eggert <eggert@twinsun.com>
2277 Bruno Haible <bruno@clisp.org>
2279 * mbswidth.m4 (gl_MBSWIDTH): Also test whether <wchar.h> declares
2282 2004-03-07 Paul Eggert <eggert@twinsun.com>
2284 * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
2285 All uses changed. Check for sa_sigaction member; this fixes
2286 a bug first reported by Jason Andrade in
2287 <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
2289 2004-01-18 Simon Josefsson <jas@extundo.com>
2291 * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared.
2293 2004-02-18 Bruno Haible <bruno@clisp.org>
2295 * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
2296 Reported by Derek Robert Price <derek@ximbiot.com>.
2298 2004-02-06 Karl Berry <karl@gnu.org>
2300 * po.m4: update from gettext 0.14.1.
2302 2004-02-03 Bruno Haible <bruno@clisp.org>
2304 * pipe.m4: New file, from GNU gettext.
2306 2004-01-27 Bruno Haible <bruno@clisp.org>
2308 * execute.m4: New file, from GNU gettext.
2310 2003-11-24 Bruno Haible <bruno@clisp.org>
2312 * allocsa.m4: New file, from GNU gettext.
2314 2003-11-24 Bruno Haible <bruno@clisp.org>
2316 * eealloc.m4: New file, from GNU gettext.
2318 2004-01-15 Paul Eggert <eggert@twinsun.com>
2320 Merge from coreutils.
2322 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
2323 * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
2324 (gl_DEFAULT_POSIX2_VERSION): Move
2325 the documentation from 'configure' into 'config.hin',
2326 so that 'configure --help' isn't burdened by it and
2327 we don't have to worry about its formatting there.
2328 Reword the documentation so that it's more succinct
2329 and can be run together into a single paragraph.
2330 * same.m4 (gl_SAME): Check for pathconf.
2332 2004-01-15 Jim Meyering <jim@meyering.net>
2334 Merge from coreutils.
2336 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2337 if no library is required.
2338 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2339 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2340 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2341 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2342 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2343 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2344 value, $ac_cv_search_crypt, if it's "none required".
2345 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2346 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2347 not gl_FUNC_GETLOADAVG.
2348 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2349 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2351 2004-01-15 Alexandre Duret-Lutz <adl@gnu.org>
2353 Merge from coreutils.
2355 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2356 value, $ac_cv_search_nanosleep, if it's "none required".
2358 2003-12-03 Bruno Haible <bruno@clisp.org>
2360 * gettext.m4: Upgrade from gettext-0.13.
2361 * po.m4: Upgrade from gettext-0.13.
2362 * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
2363 * intmax.m4: New file, from gettext-0.13.
2364 * printf-posix.m4: New file, from gettext-0.13.
2366 2003-11-25 Bruno Haible <bruno@clisp.org>
2368 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require
2371 2003-11-17 Bruno Haible <bruno@clisp.org>
2373 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T.
2375 2003-11-12 Paul Eggert <eggert@twinsun.com>
2377 * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or
2380 2003-11-11 Bruno Haible <bruno@clisp.org>
2382 * size_max.m4: New file.
2383 * ptrdiff_max.m4: New file.
2384 * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
2385 * xalloc.m4 (gl_PREREQ_XALLOC): New macro.
2386 (gl_XALLOC): Invoke it.
2388 2003-11-04 Bruno Haible <bruno@clisp.org>
2390 * xsize.m4: New file.
2392 2003-11-03 Bruno Haible <bruno@clisp.org>
2394 * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid.
2396 2003-10-30 Paul Eggert <eggert@cs.ucla.edu>
2398 * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to
2399 netbsd*-gnu*. Suggested by Robert Millan.
2401 2003-10-29 Paul Eggert <eggert@twinsun.com>
2403 * xalloc.m4 (gl_XALLOC): Undo previous change.
2405 2003-10-29 Paul Eggert <eggert@twinsun.com>
2407 * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu. Add comments
2408 to it, and to knetbsd*-gnu and kfreebsd*-gnu. Remove the '*' from
2409 after the 'gnu' in these cases. This fixes some bugs in the
2410 previous change, and is based on suggestions by Robert Millan.
2412 2003-10-28 Paul Eggert <eggert@twinsun.com>
2414 * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and
2415 GNU/KNetBSD. These implementations use glibc atop the FreeBSD and
2416 NetBSD kernels. Requested by Richard Stallman.
2418 2003-10-26 Paul Eggert <eggert@twinsun.com>
2420 * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
2423 2003-10-23 Paul Eggert <eggert@twinsun.com>
2425 * getline.m4 (AM_FUNC_GETLINE):
2426 Don't include getndelim2.o twice into LIBOBJS; this breaks on some
2427 hosts. Problem reported by Derek Robert Price in
2428 <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
2429 This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
2430 * getndelim2.m4 (gl_GETNDELIM2): Likewise.
2432 2003-10-20 Bruno Haible <bruno@clisp.org>
2434 * wait-process.m4: New file.
2436 2003-10-14 Bruno Haible <bruno@clisp.org>
2438 * sig_atomic_t: New file, from GNU gettext.
2439 * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T.
2441 2003-10-12 Paul Eggert <eggert@twinsun.com>
2443 * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE.
2445 2003-10-10 Simon Josefsson <jas@extundo.com>
2447 * argp.m4: Add AC_C_INLINE.
2449 2003-10-08 Paul Eggert <eggert@twinsun.com>
2451 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2453 2003-10-06 Bruno Haible <bruno@clisp.org>
2455 * fatal-signal.m4: New file.
2456 * signalblocking.m4: New file, from GNU gettext.
2458 2003-09-27 Paul Eggert <eggert@twinsun.com>
2460 * free.m4: New file.
2462 2003-09-26 Bruno Haible <bruno@clisp.org>
2464 * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
2465 Don't define stpncpy through config.h; it's now done through stpncpy.h.
2467 2003-09-25 Simon Josefsson <jas@extundo.com>
2468 Bruno Haible <bruno@clisp.org>
2470 * getdomainname.m4: New file.
2472 2003-09-17 Paul Eggert <eggert@twinsun.com>
2474 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2475 to avoid spurious warnings like "AC_RUN_IFELSE was called before
2476 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2478 2003-09-12 Paul Eggert <eggert@twinsun.com>
2480 * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it.
2482 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2483 and AC_MINIX, too, so that their extensions are available.
2485 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
2486 This macro has been superseded by gl_BACKUPFILE.
2488 More patches to assume C89 or better.
2490 * error.m4 (gl_ERROR): Don't check for vprintf.
2492 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2494 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2495 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2496 Include <string.h>, <stdlib.h> unconditionally.
2497 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2498 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2499 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2501 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h
2504 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2505 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2506 * userspec.m4 (gl_USERSPEC): Likewise.
2507 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2508 * xstrtod.m4 (gl_XSTRTOD): Likewise.
2509 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2510 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2512 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2513 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2514 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2515 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2516 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2517 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2520 2003-09-11 Paul Eggert <eggert@twinsun.com>
2522 More patches to assume C89 or better.
2523 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2524 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2525 string.h, memchr, STDC_HEADERS.
2527 2003-09-10 Bruno Haible <bruno@clisp.org>
2529 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2530 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2531 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2532 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2533 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove
2534 <stdlib.h> and <string.h> checks.
2535 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2536 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2538 2003-09-09 Paul Eggert <eggert@twinsun.com>
2540 More patches to assume C89 or better.
2541 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2542 * getopt.m4 (gl_GETOPT): Don't check for string.h.
2543 * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
2545 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2546 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2548 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2550 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2551 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2552 * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
2554 * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
2555 * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
2557 * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
2559 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2560 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2561 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2562 * memcoll.m4 (gl_MEMCOLL): Likewise.
2563 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2564 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2566 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2567 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2568 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2569 C headers, or for string.h.
2570 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2571 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2572 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2573 headers, memory.h, stdlib.h, string.h, strings.h.
2574 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2575 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2576 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2578 * readtokens.m4 (gl_READTOKENS): Don't check for standard C
2579 headers, memory.h, string.h.
2580 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2581 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2583 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2584 * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
2585 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2586 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2587 * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
2588 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2590 2003-09-09 Derek Robert Price <derek@ximbiot.com>
2592 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2595 2003-09-08 Paul Eggert <eggert@twinsun.com>
2597 Assume C89 or better; remove K&R cruft.
2598 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2599 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2600 string.h, getenv, malloc.
2601 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2603 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2604 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2605 do not check for strerror.
2606 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2607 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2608 * fatal.m4 (gl_FATAL): Do not require STDC headers, and
2609 do not check for doprnt or vprintf.
2610 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
2611 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2613 2003-09-06 Paul Eggert <eggert@twinsun.com>
2615 * time_r.m4: New file.
2616 * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
2617 * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
2618 Check for timegm declaration.
2619 (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
2620 Do not check for gmtime_r.
2621 Replace mktime if __mktime_internal does not exist and if mktime
2622 hasn't been replaced already.
2624 2003-08-31 Simon Josefsson <jas@extundo.com>
2626 * timegm.m4: New file.
2628 2003-08-26 Bruno Haible <bruno@clisp.org>
2630 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2631 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2632 followed by '#define fnmatch fnmatch_posix' gives an error.
2634 2003-08-27 Jim Meyering <jim@meyering.net>
2636 * mkstemp.m4: Require that the system mkstemp be able to create
2637 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
2638 would fail after 32. Reported by Danny Levinson. Details here:
2639 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2641 2003-08-20 Karl Berry <karl@gnu.org>
2643 * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
2645 2003-08-19 Jim Meyering <jim@meyering.net>
2647 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2648 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2650 2003-08-19 Bruno Haible <bruno@clisp.org>
2652 * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
2654 2003-08-18 Jim Meyering <jim@meyering.net>
2656 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2657 * lib-ld.m4: Likewise.
2659 2003-08-17 Simon Josefsson <jas@extundo.com>
2661 * argp.m4: New file.
2663 2003-08-17 Simon Josefsson <jas@extundo.com>
2665 * xstrndup.m4: New file.
2667 2003-08-16 Jim Meyering <jim@meyering.net>
2669 * utimes.m4 (gl_FUNC_UTIMES): New file.
2670 * utimes.m4: Removed.
2671 * utimes-null.m4: Renamed from utimes.m4.
2673 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2674 to 1MB, so as not to render systems with no stack size limit (e.g.,
2675 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2676 Include <unistd.h>. On some systems,
2677 it is required for the definition of _SC_PAGESIZE.
2679 2003-08-16 Paul Eggert <eggert@twinsun.com>
2681 Merges from coreutils, etc.
2682 * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
2683 error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28.
2684 * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
2686 * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
2687 * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
2689 2003-08-16 Jim Meyering <jim@meyering.net>
2690 and Paul Eggert <eggert@cs.ucla.edu>
2692 Merges from coreutils, etc.
2694 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
2695 using the latest version from cvs. This avoids problems with #line
2696 directives using a vendor (Sun) compiler.
2697 (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
2698 Don't set GETGROUPS_LIB here; now it's
2699 done via getgroups.m4's wrapper function.
2700 AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
2701 rather than just in sh-util/configure.in, so that the
2702 now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
2704 Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
2705 AC_FUNC_GETLOADAVG where to find getloadavg.c.
2706 Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
2707 UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
2708 gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
2709 Remove code that is now done by the newly-required macros.
2710 Append $(EXEEXT) to DF_PROG.
2711 AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
2712 Do not invoke or require the following here,
2713 since prereq.m4 or some gnulib .m4 now does this for us:
2714 gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
2715 jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
2716 jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
2717 jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
2718 jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
2719 AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
2720 vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
2722 Do not replace the following functions, as this is now the job
2723 of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
2724 getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
2725 strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
2726 atexit getpass, strdup, getpagesize.
2728 Do not check for the following functions, as this is now the job
2729 of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
2730 getcwd, getmntinfo, resolvepath. But check for sysctl, setreuid,
2732 (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
2733 Check for sys/sysctl.h.
2734 (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
2735 jm_CHECK_TYPE_STRUCT_TIMESPEC. Invoke gt_TYPE_SSIZE_T instead
2736 of checking for ssize_t ourselves.
2738 * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
2739 Require every macro that gnulib/modules/* suggests for us.
2740 (jm_PREREQ_ADDEXT): New macro.
2741 (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
2742 Require jm_AC_TYPE_LONG_LONG instead of invoking it.
2744 * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
2745 (gl_PHYSMEM): Use it.
2746 Also check for `table' function.
2747 Check for new headers and functions.
2748 Add check for sys/sysmp.h.
2749 With suggestions from Kaveh Ghazi.
2750 Ignore headers that are present but cannot be compiled. This
2751 avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
2754 2003-08-16 Jim Meyering <jim@meyering.net>
2756 Merges from coreutils.
2757 * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
2758 prefix. Adjust cache variables similarly. Create 500 rather than
2759 just 300 files, to exercise bug on Darwin6.5, too.
2760 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
2761 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
2762 Reported by mkc@mathdogs.com.
2763 Also change use of $am_cv_sys_posix_termios
2764 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
2765 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
2766 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
2767 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
2768 /proc/mounts until it finds one with matching device number. This is
2769 unnecessary when the FILE argument *is* a mount point. No stat call
2770 is necessary in that case. So, disable the statvfs-testing code on
2771 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
2772 as RedHat bug# 84846.
2773 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2774 to 1MB, so as not to render systems with no stack size limit (e.g.,
2775 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2776 Include <unistd.h>. On some systems,
2777 it is required for the definition of _SC_PAGESIZE.
2779 2003-08-15 Jim Meyering <jim@meyering.net>
2780 and Paul Eggert <eggert@cs.ucla.edu>
2782 Merges from coreutils, etc.
2783 * strftime.m4 (_jm_STRFTIME_PREREQS):
2784 Require gl_FUNC_TZSET_CLOBBER.
2785 * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
2786 ut_exit.ut_termination, and ut_exit.e_termination members.
2788 2003-08-14 Paul Eggert <eggert@twinsun.com>
2790 Help the merge from coreutils.
2791 * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
2792 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
2793 * tzset.m4: Use it too.
2795 2003-08-14 Jim Meyering <jim@meyering.net>
2797 Merge from coreutils.
2798 * tzset.m4: New file.
2799 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
2800 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
2801 systems would end up using the latter. MOUNTED_GETMNTENT1 support
2802 is inadequate on such systems: 1) detecting whether a file system
2803 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
2804 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
2805 merely /MOUNT_POINT. Reported by Mike Jetzer.
2807 2003-08-13 Paul Eggert <eggert@twinsun.com>
2809 * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
2812 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2813 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2814 Undo previous (whitespace-only) change.
2816 2003-08-12 Paul Eggert <eggert@twinsun.com>
2818 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2819 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2820 Normalize leading white space and remove trailing white space.
2822 Merge from coreutils
2823 * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
2825 * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
2826 0.12.1. These files are now being upgraded automatically by
2827 ../config/srclist-update.
2829 2003-08-11 Bruno Haible <bruno@clisp.org>
2831 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
2833 2003-08-09 Paul Eggert <eggert@twinsun.com>
2835 * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
2836 apparently Emacs's Unicode mode got confused before my 2003-08-05
2839 2003-08-08 Paul Eggert <eggert@twinsun.com>
2841 * extensions.m4: New file.
2842 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
2843 Require gl_USE_SYSTEM_EXTENSIONS.
2844 * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
2845 Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
2847 2003-08-07 Paul Eggert <eggert@twinsun.com>
2849 * restrict.m4: New file.
2850 * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
2852 2003-08-07 Bruno Haible <bruno@clisp.org>
2854 * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
2855 the module 'getndelim2' compatible with the module 'getline'.
2857 2003-08-05 Paul Eggert <eggert@twinsun.com>
2859 * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
2860 byte with "\201" to avoid glitches when editing that source file
2861 with multi-gnome-terminal.
2863 2003-07-31 Bruno Haible <bruno@clisp.org>
2865 * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
2867 2003-07-18 Bruno Haible <bruno@clisp.org>
2869 * getndelim2.m4: New file.
2870 * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
2871 invoke gl_PREREQ_GETNDELIM2.
2872 (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
2873 gl_PREREQ_GETNDELIM2.
2874 * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
2877 2003-07-17 Bruno Haible <bruno@clisp.org>
2879 * Makefile.am.in: Remove file.
2880 * Makefile.am: Remove file.
2881 * Makefile.in: Remove file.
2883 2003-07-17 Bruno Haible <bruno@clisp.org>
2885 * getnline.m4: New file.
2887 2003-07-14 Simon Josefsson <jas@extundo.com>
2889 * mempcpy.m4: New file.
2891 2003-07-10 Jim Meyering <jim@meyering.net>
2893 * clock_time.m4: Remove trailing blank.
2894 * intmax_t.m4: Likewise.
2896 2003-07-01 Paul Eggert <eggert@twinsun.com>
2898 * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
2899 xreadlink.c now includes it unconditionally.
2901 2003-07-01 Bruno Haible <bruno@clisp.org>
2903 * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
2904 should be sufficient.
2905 Reported by Paul Eggert.
2907 2003-06-25 Bruno Haible <bruno@clisp.org>
2909 * readlink.m4: New file.
2911 2003-06-22 Bruno Haible <bruno@clisp.org>
2913 Portability to mingw32.
2914 * ssize_t.m4: New file, from GNU gettext.
2915 * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
2916 * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
2918 2003-06-11 Bruno Haible <bruno@clisp.org>
2920 * sysexits.m4: New file.
2922 2003-06-10 Simon Josefsson <jas@extundo.com>
2924 * strchrnul.m4: New file.
2926 2003-06-07 Bruno Haible <bruno@clisp.org>
2928 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
2929 gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
2930 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2932 * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
2933 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2936 2003-06-04 Paul Eggert <eggert@twinsun.com>
2938 * human.m4 (gl_HUMAN): Require AM_STDBOOL_H. Check for
2939 locale.h, localeconv. This merges changes from coreutils.
2941 * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
2942 It can be removed after the next Autoconf is released.
2943 * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
2946 2003-05-30 Bruno Haible <bruno@clisp.org>
2948 * gettext.m4: Upgrade to gettext-0.12.1.
2949 * nls.m4: New file, from gettext-0.12.1.
2950 * po.m4: New file, from gettext-0.12.1.
2951 * progtest.m4: Upgrade to gettext-0.12.1.
2953 2003-05-28 Paul Eggert <eggert@twinsun.com>
2955 Assume the headers required for C89 freestanding compilers.
2956 * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
2957 * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
2958 * human.m4 (gl_HUMAN): Likewise.
2959 * pathmax.m4 (gl_PATHMAX): Likewise.
2960 * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
2961 * userspec.m4 (gl_USERSPEC): Likewise.
2962 * xreadlink.m4 (gl_XREADLINK): Likewise.
2963 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2964 * quote.m4 (gl_QUOTE): Don't check for stddef.h.
2966 2003-05-26 Jim Meyering <jim@meyering.net>
2968 Merge in a change from coreutils:
2969 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
2970 that is guaranteed to be `no'. Use `no_such_member' to indicate
2971 that condition, rather than `-1' which is slightly misleading.
2972 Change the name of the cache variable to have the gl_ prefix.
2973 Prompted by a patch from Richard Dawe for DJGPP.
2975 2003-05-17 Bruno Haible <bruno@clisp.org>
2977 * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
2978 expansion for AC_EGREP_CPP.
2979 * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
2980 * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
2981 Suggested by Akim Demaille <akim@epita.fr> in
2982 http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
2984 2003-04-21 Paul Eggert <eggert@twinsun.com>
2986 * error.m4 (gl_ERROR): Do not put under dynamic conditions some
2987 code which expansion is under static control. Patch imported from
2988 Akim Demaille's patch to Bison; see
2989 <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
2991 2003-04-14 Bruno Haible <bruno@clisp.org>
2993 * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
2995 2003-04-10 Bruno Haible <bruno@clisp.org>
2997 * findprog.m4: New file.
2998 * eaccess.m4: New file.
3000 2003-04-04 Bruno Haible <bruno@clisp.org>
3002 * linebreak.m4: New file.
3004 2003-04-03 Bruno Haible <bruno@clisp.org>
3006 * utf-ucs4.m4: New file.
3007 * ucs4-utf.m4: New file.
3009 2003-03-30 Bruno Haible <bruno@clisp.org>
3011 * copy-file.m4 (gl_COPY_FILE): Add check for chown().
3013 2003-03-28 Bruno Haible <bruno@clisp.org>
3015 * copy-file.m4: New file.
3017 2003-03-18 Bruno Haible <bruno@clisp.org>
3019 * onceonly.m4: Use m4_defn instead of defn, for better error checking.
3020 * onceonly_2_57.m4: Likewise.
3022 2003-03-17 Bruno Haible <bruno@clisp.org>
3024 * onceonly.m4: Require autoconf 2.54 or newer.
3025 (m4_quote): Remove macro.
3026 * onceonly_2_57.m4: Require autoconf 2.54 or newer.
3028 2003-03-14 Bruno Haible <bruno@clisp.org>
3030 * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
3031 AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
3033 2003-03-13 Paul Eggert <eggert@twinsun.com>
3035 * onceonly.m4 (m4_quote): New macro.
3036 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
3037 Quote AC_FOREACH variable-expansions properly.
3039 2003-02-19 Paolo Bonzini <bonzini@gnu.org>
3041 * poll.m4: New file.
3043 2003-02-18 Paolo Bonzini <bonzini@gnu.org>
3045 * mathl.m4: New file.
3047 2003-02-17 Bruno Haible <bruno@clisp.org>
3049 * mkdtemp.m4: New file, from GNU gettext with modifications.
3051 2003-02-02 Jim Meyering <jim@meyering.net>
3053 * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
3056 2003-01-31 Bruno Haible <bruno@clisp.org>
3058 * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
3060 * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
3062 * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
3064 * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
3067 2003-01-30 Bruno Haible <bruno@clisp.org>
3069 * signed.m4: New file, from GNU gettext.
3070 * longdouble.m4: New file, from GNU gettext.
3071 * wchar_t.m4: New file, from GNU gettext.
3072 * wint_t.m4: New file, from GNU gettext.
3073 * vasnprintf.m4: New file.
3074 * vasprintf.m4: New file.
3076 2003-01-29 Bruno Haible <bruno@clisp.org>
3078 * stpncpy.m4: New file.
3080 2003-01-23 Jim Meyering <jim@meyering.net>
3082 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
3083 from working on systems without dirfd (at least Irix and OSF1/Tru64).
3085 2003-01-16 Jim Meyering <jim@meyering.net>
3087 * regex.m4: The `regex' struct is both input and output.
3088 Initialize it before each use. Patch by Tim Waugh.
3090 2003-01-11 Bruno Haible <bruno@clisp.org>
3092 * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
3093 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
3096 2003-01-11 Bruno Haible <bruno@clisp.org>
3098 * md5.m4 (gl_MD5): Require AC_C_INLINE.
3100 2003-01-11 Bruno Haible <bruno@clisp.org>
3102 * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
3104 2003-01-12 Paul Eggert <eggert@twinsun.com>
3106 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
3107 to avoid collisions with libcurses and libreadline.
3109 * getstr.m4: Remove.
3110 * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
3112 2003-01-10 Bruno Haible <bruno@clisp.org>
3114 * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
3116 2003-01-09 Bruno Haible <bruno@clisp.org>
3118 * stdbool.m4 (AM_STDBOOL_H): New macro.
3120 2002-12-31 Paul Eggert <eggert@twinsun.com>
3122 * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
3124 2002-12-24 Bruno Haible <bruno@clisp.org>
3126 General infrasructure.
3127 * README: Rewritten.
3128 * onceonly.m4: New file.
3129 * onceonly_2_57.m4: New file.
3132 * atexit.m4: New file.
3135 * strtod.m4: New file.
3138 * strtol.m4: New file.
3141 * strtoul.m4: New file.
3144 * memchr.m4: New file.
3147 * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
3148 (jm_FUNC_MEMCMP): Invoke it.
3151 * memcpy.m4: New file.
3154 * memmove.m4: New file.
3157 * memset.m4: New file.
3160 * strcspn.m4: New file.
3163 * strpbrk.m4: New file.
3166 * strstr.m4: New file.
3169 * strerror.m4: New file.
3172 * mktime.m4: Renamed from jm-mktime.m4.
3173 (gl_PREREQ_MKTIME): New macro.
3174 (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
3177 * malloc.m4 (gl_PREREQ_MALLOC): New macro.
3178 (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
3179 Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
3182 * realloc.m4 (gl_PREREQ_REALLOC): New macro.
3183 (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
3184 Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
3187 * tm_gmtoff.m4: New file, extracted from strftime.m4.
3188 * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
3189 Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
3191 (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
3194 * xalloc.m4: New file.
3197 * alloca.m4: New file.
3200 * putenv.m4 (gl_PREREQ_PUTENV): New macro.
3201 (jm_FUNC_PUTENV): Invoke it.
3204 * setenv.m4 (gt_FUNC_SETENV): New macro.
3205 (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
3207 (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
3211 * memrchr.m4: New file.
3214 * stpcpy.m4: New file.
3217 * strcase.m4: New file.
3220 * strdup.m4: New file.
3223 * strnlen.m4: New file.
3226 * strndup.m4: New file.
3229 * xstrtod.m4: New file.
3232 * xstrtol.m4: New file.
3235 * getdate.m4: New file.
3238 * unlocked-io.m4: Renamed from jm-glibc-io.m4.
3239 (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
3240 * jm-glibc-io.m4n: Remove file.
3242 Module long-options.
3243 * long-options.m4: New file.
3252 * getstr.m4: New file.
3255 * getline.m4 (gl_PREREQ_GETLINE): New macro.
3256 (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
3257 <sys/types.h>, for size_t. Use the function name gnu_getline, not
3258 simply getline. Infoke gl_PREREQ_GETLINE.
3261 * obstack.m4: New file.
3264 * hash.m4: New file.
3267 * readtokens.m4: New file.
3270 * strverscmp.m4: New file.
3273 * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
3276 * strtoll.m4: New file.
3279 * strtoull.m4: New file.
3282 * strtoimax.m4: New file.
3285 * strtoumax.m4: New file.
3288 * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
3289 Moved the strtol prerequisites to strtol.m4.
3290 Moved the strtoll prerequisites to strtoll.m4.
3291 Moved the strtoimax prerequisites to strtoimax.m4.
3294 * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
3295 Moved the strtoul prerequisites to strtoul.m4.
3296 Moved the strtoull prerequisites to strtoull.m4.
3297 Moved the strtoumax prerequisites to strtoumax.m4.
3300 * chown.m4 (gl_PREREQ_CHOWN): New macro.
3301 (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
3304 * dup2.m4: New file.
3307 * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
3308 (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
3311 * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
3312 (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
3314 Module gettimeofday.
3315 * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
3316 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
3317 gl_PREREQ_GETTIMEOFDAY.
3320 * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
3321 (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
3324 * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
3325 (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
3326 jm_AC_TYPE_UINTMAX_T.
3327 (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
3330 * stat.m4 (gl_PREREQ_STAT): New macro.
3331 (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
3334 * lstat.m4 (gl_PREREQ_LSTAT): New macro.
3335 (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
3338 * timespec.m4 (gl_TIMESPEC): New macro.
3339 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
3340 * st_mtim.m4: Indentation.
3343 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
3344 (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
3345 gl_PREREQ_NANOSLEEP.
3348 * regex.m4 (jm_PREREQ_REGEX): New macro.
3349 (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
3350 (gl_REGEX): New macro.
3353 * rename.m4 (gl_PREREQ_RENAME): New macro.
3354 (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
3357 * rmdir.m4: New file.
3360 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
3361 * utime.m4 (gl_PREREQ_UTIME): New macro.
3362 (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
3365 * dirname.m4: New file.
3368 * getopt.m4: New file.
3370 Module unistd-safer.
3371 * unistd-safer.m4: New file.
3374 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
3376 (gl_PREREQ_FNMATCH_EXTRA): New macro.
3377 (gl_FUNC_FNMATCH_POSIX): New macro.
3378 (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
3379 gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
3383 * exclude.m4: New file.
3386 * human.m4: New file.
3392 * backupfile.m4: New file.
3393 * d-ino.m4: Indentation.
3396 * fsusage.m4 (gl_FSUSAGE): New macro.
3397 (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
3398 (gl_PREREQ_FSUSAGE_EXTRA): New macro.
3401 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
3404 * euidaccess.m4: New file.
3407 * file-type.m4: New file.
3410 * fileblocks.m4: New file.
3413 * filemode.m4: New file.
3416 * isdir.m4: New file.
3419 * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
3420 (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
3423 * makepath.m4: New file.
3426 * modechange.m4: New file.
3429 * mountlist.m4: New file.
3430 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
3434 * path-concat.m4: New file.
3437 * pathmax.m4: New file.
3440 * same.m4: New file.
3443 * save-cwd.m4: New file.
3446 * savedir.m4: New file.
3449 * xgetcwd.m4: New file.
3450 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
3453 * xreadlink.m4: New file.
3456 * safe-read.m4: New file.
3459 * safe-write.m4: New file.
3462 * closeout.m4: New file.
3465 * stdio-safer.m4: New file.
3468 * getpass.m4: New file.
3471 * getugroups.m4: New file.
3473 Module group-member.
3474 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
3475 (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
3478 * idcache.m4: New file.
3481 * userspec.m4: New file.
3484 * clock_time.m4: New file.
3485 * gettime.m4: New file.
3488 * settime.m4: New file.
3491 * posixtm.m4: New file.
3494 * gethostname.m4: New file.
3497 * canon-host.m4: New file.
3500 * codeset.m4: New file, from gettext-0.11.5.
3501 * gettext.m4: New file, from gettext-0.11.5.
3502 * glibc21.m4: New file, from gettext-0.11.5.
3503 * iconv.m4: New file, from gettext-0.11.5.
3504 * intdiv0.m4: New file, from gettext-0.11.5.
3505 * inttypes-pri.m4: New file, from gettext-0.11.5.
3506 * inttypes.m4: New file, from gettext-0.11.5.
3507 * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
3508 * isc-posix.m4: New file, from gettext-0.11.5.
3509 * lcmessage.m4: New file, from gettext-0.11.5.
3510 * lib-ld.m4: New file, from gettext-0.11.5.
3511 * lib-link.m4: New file, from gettext-0.11.5.
3512 * lib-prefix.m4: New file, from gettext-0.11.5.
3513 * progtest.m4: New file, from gettext-0.11.5.
3514 * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
3515 * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
3516 * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
3518 Module localcharset.
3519 * localcharset.m4: New file.
3522 * hard-locale.m4: New file.
3525 * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
3527 * mbrtowc.m4: Add comment.
3530 * memcasecmp.m4: New file.
3533 * memcoll.m4: New file.
3536 * unicodeio.m4: New file.
3539 * rpmatch.m4: New file.
3542 * yesno.m4: New file.
3545 * exitfail.m4: New file.
3548 * c-stack.m4 (gl_C_STACK): New macro.
3549 (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
3552 * error.m4 (gl_ERROR): New macro.
3553 (jm_PREREQ_ERROR): Use onceonly macros.
3556 * fatal.m4: New file.
3559 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
3560 (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
3563 * getpagesize.m4: New file.
3565 Module getusershell.
3566 * getusershell.m4: New file.
3569 * physmem.m4: New file.
3572 * posixver.m4: New file.
3575 * quotearg.m4: New file.
3578 * quote.m4: New file.
3581 * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
3584 * sig2str.m4: New file.
3587 * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
3589 * intmax_t.m4: New file.
3590 * d-type.m4: Indentation.
3591 * jm-macros.m4: Update.
3592 * prereq.m4 (jm_PREREQ): Update.
3593 (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
3594 (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
3595 (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
3596 (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
3597 (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
3598 (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
3599 (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
3600 (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
3601 (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
3602 (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
3603 (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
3604 (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
3605 (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
3606 (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
3607 (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
3608 (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
3609 (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
3610 (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
3611 * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
3613 2002-12-18 Bruno Haible <bruno@clisp.org>
3615 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
3616 * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
3618 2002-12-17 Bruno Haible <bruno@clisp.org>
3620 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
3623 2002-12-11 Bruno Haible <bruno@clisp.org>
3625 * setenv.m4: New file, from gettext-0.11.5.
3627 2002-12-06 Paul Eggert <eggert@twinsun.com>
3629 Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
3630 a pain in practice to deal with generated m4 files. This change
3631 goes together with the 2002-12-04 unlocked-io.h change in ../lib.
3633 * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
3634 and jm-glibc-io.m4, as they are no longer a special case.
3635 * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
3636 kludge and the auto-generation stuff. Check only whether the
3637 functions are declared, not whether they exist, since older hosts
3638 that don't declare the functions can't use the optimization anyway.
3640 2002-07-06 Jim Meyering <meyering@lucent.com>
3642 * README: Don't mention Makefile.am.in.
3643 Outline how I've tested changes to .m4 files. Yep, it's a pain.
3645 2002-06-11 Paul Eggert <eggert@twinsun.com>
3647 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
3649 2002-06-22 Jim Meyering <meyering@lucent.com>
3651 * c-stack.m4: New file, from diffutils-2.8.2.
3652 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
3654 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
3655 now that configure.ac uses AC_GNU_SOURCE.
3656 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
3657 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
3659 Update to latest tools. Suggestions from Paul Eggert.
3660 * stdbool.m4: New file, from diffutils-2.8.2.
3661 * gnu-source.m4: Update from diffutils-2.8.2.
3662 * fnmatch.m4: Likewise.
3663 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
3664 to AC_HEADER_STDBOOL
3666 2002-06-21 Jim Meyering <meyering@lucent.com>
3668 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
3669 * mbrtowc.m4: Likewise.
3671 * mbstate_t.m4: Update from diffutils-2.8.2.
3672 * mbswidth.m4: Reflect name change:
3673 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
3674 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3676 * lib-link.m4: Update from gettext-0.11.2.
3677 * gettext.m4: Likewise.
3679 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
3680 From Alfred M. Szmidt.
3682 2002-05-19 Paul Eggert <eggert@twinsun.com>
3684 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
3686 2002-06-07 Jim Meyering <meyering@lucent.com>
3688 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
3689 They're needed at least for NetBSD 1.5.2.
3690 ($statxfs_includes): Include those same headers.
3691 ($statxfs_includes): Include sys/vfs.h if available.
3692 ($statxfs_includes): Likewise for sys/statvfs.h.
3693 Check for the following members in both structs statfs and statvfs:
3694 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
3696 2002-06-01 Jim Meyering <meyering@lucent.com>
3698 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
3699 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
3701 2002-05-28 Jim Meyering <meyering@lucent.com>
3703 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
3704 Reported by Volker Borchert.
3706 2002-05-27 Jim Meyering <meyering@lucent.com>
3708 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
3711 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
3712 use the replacement function; it wouldn't resolve at link time.
3713 Reported by Volker Borchert.
3715 2002-04-30 Jim Meyering <meyering@lucent.com>
3717 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
3719 2002-04-29 Paul Eggert <eggert@twinsun.com>
3721 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
3722 Do not check for alloca.h (no longer used) or stdbool.h (was never
3723 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
3725 2002-04-28 Paul Eggert <eggert@twinsun.com>
3727 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
3729 2002-04-29 Jim Meyering <meyering@lucent.com>
3731 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
3732 * prereq.m4: Add jm_PREREQ_STRNLEN.
3733 Use AC_FUNC_STRNLEN here instead.
3735 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
3736 With autoconf-2.53a, it's part of AC_PROG_CC.
3738 2002-04-28 Paul Eggert <eggert@twinsun.com>
3740 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
3741 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
3743 2002-04-24 Jim Meyering <meyering@lucent.com>
3745 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
3746 (jm_PREREQ): Use it.
3748 * getloadavg.m4: Check for these headers: locale.h unistd.h
3749 mach/mach.h fcntl.h.
3750 Check for this function: setlocale.
3752 2002-04-16 Jim Meyering <meyering@lucent.com>
3754 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
3755 ut_pid, ut_id, ut_exit.
3757 2002-04-12 Jim Meyering <meyering@lucent.com>
3759 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
3760 check for f_type in sys/mount.h. Instead, just test for the existence
3761 of the getmntinfo function. Needed for Darwin 5.3.
3763 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
3764 This is necessary at least on Darwin 5.3.
3766 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
3767 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
3768 in the library, and that makes some versions of ranlib object.
3770 2002-04-09 Jim Meyering <meyering@lucent.com>
3772 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
3773 to be more precise. Rather than saying we're checking whether the
3774 function `works', say what we're testing.
3775 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
3776 Reported by Bruno Haible.
3778 2002-02-27 Paul Eggert <eggert@twinsun.com>
3780 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
3781 Check for clock_settime.
3783 2002-02-25 Paul Eggert <eggert@twinsun.com>
3786 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
3787 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
3789 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
3791 * codeset.m4: Upgrade to gettext-0.11.
3792 * gettext.m4: Upgrade to gettext-0.11.
3793 * glibc21.m4: Upgrade to gettext-0.11.
3794 * iconv.m4: Upgrade to gettext-0.11.
3795 * isc-posix.m4: Upgrade to gettext-0.11.
3796 * lcmessage.m4: Upgrade to gettext-0.11.
3797 * lib-ld.m4: New file, from gettext-0.11.
3798 * lib-link.m4: New file, from gettext-0.11.
3799 * lib-prefix.m4: New file, from gettext-0.11.
3800 * progtest.m4: Upgrade to gettext-0.11.
3802 2002-02-15 Paul Eggert <eggert@twinsun.com>
3804 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
3805 (jm_PREREQ): Use it.
3807 2002-01-26 Jim Meyering <meyering@lucent.com>
3809 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
3810 * strnlen.m4: Remove file, now that it's part of autoconf.
3812 2002-01-22 Paul Eggert <eggert@twinsun.com>
3814 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
3816 2002-01-19 Jim Meyering <meyering@lucent.com>
3818 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
3819 Remove useless quotes: DF_PROG="df".
3820 * strnlen.m4: New file.
3822 2001-12-14 Jim Meyering <meyering@lucent.com>
3824 * jm-macros.m4 (jm_MACROS): Check for iswspace.
3825 Suggestion from Bruno Haible.
3827 2001-11-20 Jim Meyering <meyering@lucent.com>
3829 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
3830 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
3832 2001-11-19 Jim Meyering <meyering@lucent.com>
3834 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
3835 directory. Use "conftestXXXXXX" as the template.
3836 Suggestion from Paul Eggert.
3838 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
3839 so the test doesn't mistakenly hit the max-open-files limit.
3841 2001-11-18 Jim Meyering <meyering@lucent.com>
3843 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
3845 2001-11-17 Jim Meyering <meyering@lucent.com>
3847 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
3848 Prompted by a report from Bob Proulx.
3850 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
3851 Instead, require UTILS_FUNC_MKSTEMP.
3853 2001-11-11 Jim Meyering <meyering@lucent.com>
3855 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
3856 Now, that's done as part of AC_FUNC_STRTOD.
3858 2001-10-22 Paul Eggert <eggert@twinsun.com>
3860 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
3861 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
3863 2001-11-10 Jim Meyering <meyering@lucent.com>
3865 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
3866 (jm_PREREQ): Use it.
3868 2001-11-09 Jim Meyering <meyering@lucent.com>
3870 * jm-macros.m4: Require autoconf-2.52f.
3871 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
3872 Use these AC_-prefixed names, not the AM_-prefixed ones.
3874 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
3876 2001-11-04 Jim Meyering <meyering@lucent.com>
3878 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
3880 2001-11-03 Jim Meyering <meyering@lucent.com>
3882 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
3885 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
3886 know the name of the variable in the macro definition.
3888 2001-11-01 Jim Meyering <meyering@lucent.com>
3890 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
3891 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
3893 2001-10-20 Paul Eggert <eggert@twinsun.com>
3895 * error.m4 (jm_PREREQ_ERROR):
3896 Do not invoke AC_CHECK_FUNCS with strerror_r, as
3897 AC_FUNC_STRERROR_R does that.
3898 Check for strerror declaration.
3900 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
3901 are supposed to have them these days.
3902 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
3903 Merge changes from latest Autoconf CVS.
3904 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3905 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3906 POSIX decided to standardize on the int flavor of strerror_r.
3908 2001-09-30 Jim Meyering <meyering@lucent.com>
3910 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
3911 `struct fsstat' has the `f_fstypename' member.
3912 Use that to define FS_TYPE, which is now used to make
3913 the getfsstat link test tighter.
3915 2001-09-29 Jim Meyering <meyering@lucent.com>
3917 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3918 [one-argument getmntent function]): Include stdio.h before mntent.h.
3919 SunOS 4.1.x needs it for the declaration of `FILE'.
3920 Patch by Volker Borchert.
3922 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3923 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
3924 sys/fs_types.h, and make the link-test for getfsstat guard #include
3925 directives with appropriate #if HAVE_*_H tests so that we can
3926 detect getfsstat on Apple Darwin1.3.7 systems.
3927 Reported by Nelson Beebe.
3928 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
3930 2001-09-28 Paul Eggert <eggert@twinsun.com>
3932 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
3933 #defines strtoimax. Also treat the other strto* functions
3936 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3937 Check for strtoul and strtoumax,
3938 as those declarations are made even in the signed case.
3939 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
3940 Likewise, for strtol and strtoimax.
3942 2001-09-24 Jim Meyering <meyering@lucent.com>
3944 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
3946 2001-09-23 Jim Meyering <meyering@lucent.com>
3948 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
3949 instead of the mere test for existence of mntent.h. The latter
3950 would get a false-positive on AIX 3.4 systems.
3951 In the outer getmntent if-block, don't die if neither of the getmntent
3952 tests succeeds. Instead, just fall through and continue with the
3955 2001-09-22 Jim Meyering <meyering@lucent.com>
3957 * gettext.m4: New file. From gettext.
3958 * lcmessage.m4: Sync with gettext -- this changes only comments.
3959 * progtest.m4: Likewise
3960 * isc-posix.m4: Decrement serial number to sync with gettext.
3961 * glibc21.m4: Likewise.
3963 * libintl.m4: Remove. No longer used.
3965 2001-09-20 Jim Meyering <meyering@lucent.com>
3967 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
3969 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
3972 2001-09-17 Jim Meyering <meyering@lucent.com>
3974 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
3975 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
3976 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
3977 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
3978 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
3979 whenever the right hand side need not be expanded by the shell.
3981 2001-09-16 Paul Eggert <eggert@twinsun.com>
3983 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
3984 library. It's not correct, as some older glibcs are buggy.
3985 fnmatch wasn't fixed until glibc 2.2.
3987 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
3988 special shell magic here.
3990 2001-09-16 Jim Meyering <meyering@lucent.com>
3992 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
3993 * jm-macros.m4: Require it.
3995 2001-09-15 Jim Meyering <meyering@lucent.com>
3997 * jm-macros.m4: Check for help2man.
3999 2001-09-11 Jim Meyering <meyering@lucent.com>
4001 * host-os.m4 (UTILS_HOST_OS): New file/macro.
4002 The body, by Paul Eggert, was moved here from configure.in.
4003 * jm-macros.m4: Require UTILS_HOST_OS.
4005 2001-09-04 Paul Eggert <eggert@twinsun.com>
4007 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
4008 (jm_PREREQ): Use it.
4010 2001-09-03 Paul Eggert <eggert@twinsun.com>
4012 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
4013 sys/param.h, as pathmax.h includes them.
4015 2001-09-03 Paul Eggert <eggert@twinsun.com>
4017 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
4018 (jm_PREREQ_XGETCWD): New macro.
4020 * getcwd.m4: New file.
4022 2001-09-01 Jim Meyering <meyering@lucent.com>
4024 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
4027 2001-08-30 Paul Eggert <eggert@twinsun.com>
4029 Simplify code, partly by assuming autoconf 2.52 semantics.
4031 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
4033 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
4034 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
4036 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
4037 Move AC_REQUIRE to next-to-top level, to avoid confusion.
4038 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
4039 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
4040 * jm-macros.m4 (jm_MACROS): Likewise.
4042 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
4044 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
4045 Quote first arg of AC_DEFUN.
4046 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
4047 since they are needed to parse the include file even if we need
4048 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
4049 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
4050 but with opposite signedness.
4052 2001-08-30 Paul Eggert <eggert@twinsun.com>
4054 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
4055 (jm_PREREQ_EXCLUDE): New macro.
4057 2001-08-26 Jim Meyering <meyering@lucent.com>
4059 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
4061 * xstrtoimax.m4: New file.
4062 * xstrtoumax.m4: Add comments explaining why we
4063 AC_REPLACE_FUNCS(strtol).
4065 2001-06-20 Paul Eggert <eggert@twinsun.com>
4067 * inttypes.m4: Add AC_PREREQ(2.13).
4068 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
4069 (jm_AC_TYPE_INTMAX_T): New macro.
4070 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
4072 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
4074 * longlong.m4: Renamed from ulonglong.m4.
4075 * inttypes.m4: Renamed from inttypes_h.m4.
4076 * uintmax_t.m4: Removed.
4078 2001-08-12 Jim Meyering <meyering@lucent.com>
4080 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
4081 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
4082 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
4083 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
4084 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
4085 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
4086 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
4087 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
4088 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
4089 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
4090 utime.m4, utimes.m4, xstrtoumax.m4:
4091 Quote the first argument in each use of AC_DEFUN.
4093 2001-08-05 Jim Meyering <meyering@lucent.com>
4095 * jm-macros.m4: Require autoconf-2.52.
4097 2001-08-03 Paul Eggert <eggert@twinsun.com>
4099 The following changes are from gettext 0.10.39 as maintained by
4100 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
4102 * codeset.m4: Upgrade to serial AM1.
4103 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
4104 all uses changed. Quote first arg of AC_DEFUN.
4105 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
4107 * iconv.m4: Upgrade to serial AM2.
4108 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
4109 Add --with-libconv-prefix.
4110 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
4111 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
4112 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
4113 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
4114 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
4116 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
4117 * getline.m4 (AM_FUNC_GETLINE): Likewise.
4118 * glibc21.m4 (jm_GLIBC21): Likewise.
4119 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
4120 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
4121 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
4122 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
4123 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
4124 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
4126 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
4129 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
4130 not the default value.
4132 2001-06-25 Bruno Haible <haible@clisp.cons.org>
4133 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
4134 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
4135 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
4136 Also check for iswcntrl, used for wcwidth fallback.
4137 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
4140 2001-08-03 Jim Meyering <meyering@lucent.com>
4142 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
4143 as it was in the original. Reported by Paul Eggert.
4145 2001-07-16 Jim Meyering <meyering@lucent.com>
4147 * gettimeofday.m4: New file.
4148 Prompted by a report from Bernhard Baehr.
4150 2001-07-15 Jim Meyering <meyering@lucent.com>
4152 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
4153 Now it's in ../Makefile.cfg.
4155 2001-07-04 Jim Meyering <meyering@lucent.com>
4157 * Makefile.am.in (glibc-io.struct): New target. Rework the code
4158 that generates jm-glibc-io.m4 so that it doesn't trigger any make
4161 2001-07-02 Jim Meyering <meyering@lucent.com>
4163 The following changes were prompted by suggestions from Bruno Haible.
4165 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
4167 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
4168 definition of EXTRA_DIST.
4169 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
4170 ensure that the generated file is created/updated whenever the list
4171 of $(unlocked_functions) is changed.
4172 (jm-glibc-io.m4): New rule.
4173 (unlocked-io.h): New rule -- currently unused.
4175 2001-06-24 Jim Meyering <meyering@lucent.com>
4177 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
4178 unmatched right bracket, rather than kludging it with an extra,
4179 falsely-matching quote in a comment. Patch by Akim Demaille.
4181 2001-05-27 Jim Meyering <meyering@lucent.com>
4183 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
4184 Check for ut_type in struct utmp.
4186 2001-05-22 Jim Meyering <meyering@lucent.com>
4188 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
4189 now that we use the package-supplied version unconditionally.
4190 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
4192 2001-05-21 Jim Meyering <meyering@lucent.com>
4194 * regex.m4: Change a couple backticks to single quotes to avoid shell
4197 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
4199 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
4201 2001-05-11 Paul Eggert <eggert@twinsun.com>
4203 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
4204 Don't bother to check library strftime, since
4205 we'll be using our own my_strftime function anyway.
4206 Define my_strftime instead of strftime.
4208 2001-05-15 Jim Meyering <meyering@lucent.com>
4210 * regex.m4: Use proper quoting so brackets appear in the test program.
4211 Reported by, and with help from, Bruno Haible.
4213 2001-05-13 Jim Meyering <meyering@lucent.com>
4215 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
4217 2000-11-26 Paul Eggert <eggert@twinsun.com>
4219 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
4221 2001-04-21 Jim Meyering <meyering@lucent.com>
4223 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
4226 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
4228 * ftruncate.m4: Check for chsize.
4229 Link with ftruncate.o unconditionally if ftruncate is missing.
4230 This was required when cross-compiling to i586-mingw32msvc.
4232 2001-03-24 Jim Meyering <meyering@lucent.com>
4234 * jm-macros.m4: Require autoconf-2.49d.
4236 2001-03-20 Bruno Haible <haible@clisp.cons.org>
4238 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
4240 2001-03-17 Jim Meyering <meyering@lucent.com>
4242 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
4243 now that the version in autoconf is equivalent.
4244 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
4246 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
4247 Suggestion from Akim Demaille.
4249 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
4250 (jm_PREREQ_TEMPNAME): New function.
4252 2001-02-25 Paul Eggert <eggert@twinsun.com>
4254 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
4255 lacks mkstemp. Compile our own tempname.c if we compile our own
4256 mkstemp.c, as mkstemp relies on tempname.
4258 2001-03-01 Jim Meyering <meyering@lucent.com>
4260 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
4261 AH_VERBATIM really does output its argument verbatim.
4263 2001-02-18 Paul Eggert <eggert@twinsun.com>
4265 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
4267 2001-02-17 Jim Meyering <meyering@lucent.com>
4269 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
4270 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
4271 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
4274 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
4275 rather than AC_CACHE_VAL.
4277 2001-02-17 Paul Eggert <eggert@twinsun.com>
4279 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
4280 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
4281 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
4282 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
4284 2001-02-07 Jim Meyering <meyering@lucent.com>
4286 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
4288 2001-02-05 Jim Meyering <meyering@lucent.com>
4290 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
4291 it includes the patch required for `large file' support with at least
4292 HP-UX's 10.20 /bin/cc.
4294 2001-02-03 Jim Meyering <meyering@lucent.com>
4296 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
4297 AS_IF, now that it works once again (mysteriously).
4298 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4300 2001-01-30 Jim Meyering <meyering@lucent.com>
4302 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
4303 * chown.m4: Rename conftestchown to conftest.chown.
4304 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
4305 * utimes.m4: s/conftestdata/conftest.data/
4306 Inspired by Pavel Roskin's change in autoconf.
4308 2001-01-27 Jim Meyering <meyering@lucent.com>
4310 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
4312 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4314 2001-01-26 Jim Meyering <meyering@lucent.com>
4316 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
4317 quotearg.c includes it.
4319 2001-01-15 Bruno Haible <haible@clisp.cons.org>
4321 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
4324 2001-01-20 Jim Meyering <meyering@lucent.com>
4326 Be sure that headers are checked before used in code compiled
4327 for the type checks.
4328 * jm-macros.m4 (jm_MACROS): Remove all header checks.
4329 In place of that, invoke jm_CHECK_ALL_TYPES.
4330 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
4331 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
4332 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
4333 The check for ssize_t was mistakenly run before the test for unistd.h.
4335 The configure-time check for stdbool.h was missing.
4336 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
4337 (jm_PREREQ_HASH): New function.
4339 2001-01-17 Jim Meyering <meyering@lucent.com>
4341 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
4343 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
4345 2001-01-14 Jim Meyering <meyering@lucent.com>
4347 * rename.m4: Use temporary directories named conftestdir{,2}, not
4348 foo and bar. Create conftestdir/ in the script, not in the C code.
4349 Remove directories in the script, not in the C code.
4350 Remove conftestdir{,2} before trying to create the directory.
4351 Make the entire configure script fail if the mkdir fails.
4353 2001-01-02 Volker Borchert <bt@teknon.de>
4355 * rename.m4: New file.
4356 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
4358 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
4360 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
4361 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
4362 so `make install' also works in VPATH builds.
4364 2001-01-01 Jim Meyering <meyering@lucent.com>
4366 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
4367 on systems with utmpx.h. It's necessary for the declaration of utmp's
4368 ut_user member. Reported by Andreas Jaeger.
4370 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
4371 They are required for the declarations of getgrgid and getpwuid resp.
4372 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
4373 Reported by Andreas Jaeger.
4375 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4377 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
4378 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
4379 can be used in subdirectories.
4381 2000-12-26 Jim Meyering <meyering@lucent.com>
4383 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
4386 2000-12-17 Jim Meyering <meyering@lucent.com>
4388 * dos.m4 (jm_AC_DOS): New file and macro.
4389 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
4391 2000-12-06 Paul Eggert <eggert@twinsun.com>
4393 * off_t-format.m4: Remove this file.
4394 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
4396 2000-12-06 Jim Meyering <meyering@lucent.com>
4398 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
4399 strtoull, we may well need the replacement strtoul, too.
4400 Check for declarations of strtoul and strtoull.
4401 Check for strtol. Mainly as a cue to cause automake to include
4402 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
4403 Check for limits.h -- strtol.c needs it.
4405 2000-12-02 Jim Meyering <meyering@lucent.com>
4407 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
4408 * jm-macros.m4 (jm_MACROS): require it.
4410 2000-11-30 Jim Meyering <meyering@lucent.com>
4412 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
4414 2000-11-30 Jim Meyering <meyering@lucent.com>
4416 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
4418 2000-11-03 Bruno Haible <haible@clisp.cons.org>
4420 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
4422 2000-11-04 Jim Meyering <meyering@lucent.com>
4424 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
4426 2000-10-29 Jim Meyering <meyering@lucent.com>
4428 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
4429 * ls-mntd-fs.m4: Likewise
4431 2000-10-28 Jim Meyering <meyering@lucent.com>
4433 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
4434 (jm_PREREQ_MEMCHR): New function.
4436 2000-10-21 Jim Meyering <meyering@lucent.com>
4438 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
4439 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
4440 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
4442 2000-09-18 Jim Meyering <meyering@lucent.com>
4444 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
4445 Otherwise, everyone ends up linking with -lelf for some configurations.
4446 Reported by Mike Stone.
4448 2000-08-26 Jim Meyering <meyering@lucent.com>
4450 * jm-macros.m4: Use jm_FUNC_FPENDING.
4451 * fpending.m4: New file.
4453 2000-08-20 Jim Meyering <meyering@lucent.com>
4455 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
4456 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
4457 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
4459 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
4461 Improve fileutils installation on systems where running
4462 programs (like install) can't be unlinked.
4463 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
4464 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
4466 2000-08-06 Paul Eggert <eggert@twinsun.com>
4468 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
4469 not char, for compatibility with glibc 2.1.3 strftime.c.
4471 2000-07-23 Paul Eggert <eggert@twinsun.com>
4473 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
4475 2000-07-23 Jim Meyering <meyering@lucent.com>
4477 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
4478 getgrgid, getpwuid, getuid.
4480 2000-07-16 Bruno Haible <haible@clisp.cons.org>
4482 * mbswidth.m4: New file.
4483 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
4485 2000-07-14 Jim Meyering <meyering@lucent.com>
4487 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
4489 2000-07-10 Paul Eggert <eggert@twinsun.com>
4491 From a suggestion by Bruno Haible.
4492 * mbstate_t.m4 (AC_MBSTATE_T):
4493 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
4494 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
4495 and mbstate_t, to a single-part test that simply defines mbstate_t.
4496 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
4498 2000-07-10 Jim Meyering <meyering@lucent.com>
4500 * strerror_r.m4: Mirror the correction made in autoconf.
4502 * gnu-source.m4: Output to confdefs.h directly.
4503 Suggestion from Akim Demaille.
4505 2000-07-09 Jim Meyering <meyering@lucent.com>
4507 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
4508 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
4510 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
4511 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
4513 2000-07-05 Bruno Haible <haible@clisp.cons.org>
4515 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
4517 Include <ctype.h> for use of isalpha.
4519 2000-07-05 Paul Eggert <eggert@twinsun.com>
4520 and Bruno Haible <haible@clisp.cons.org>
4522 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
4523 only if the test for an object-type mbstate_t fails. This
4524 prevents us from mistakenly reporting that mbstate_t is a
4525 system object type after we "#define mbstate_t int" to work
4528 2000-07-04 Jim Meyering <meyering@lucent.com>
4530 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
4531 of the deprecated AC_CHECKING.
4533 2000-07-03 Jim Meyering <meyering@lucent.com>
4535 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
4537 2000-07-03 Paul Eggert <eggert@twinsun.com>
4539 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
4540 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
4542 2000-07-02 Jim Meyering <meyering@lucent.com>
4544 * mbstate_t.m4: Also define mbstate_t, if necessary.
4546 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
4547 AC_LIBOBJ(function_name).
4548 * chown.m4: Likewise.
4549 * fnmatch.m4: Likewise.
4550 * ftruncate.m4: Likewise.
4551 * getgroups.m4: Likewise.
4552 * getline.m4: Likewise.
4553 * group-member.m4: Likewise.
4554 * jm-macros.m4: Likewise.
4555 * lstat.m4: Likewise.
4556 * malloc.m4: Likewise.
4557 * memcmp.m4: Likewise.
4558 * nanosleep.m4: Likewise.
4559 * putenv.m4: Likewise.
4560 * realloc.m4: Likewise.
4561 * regex.m4: Likewise.
4562 * stat.m4: Likewise.
4563 * strftime.m4: Likewise.
4565 2000-07-01 Jim Meyering <meyering@lucent.com>
4567 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
4570 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4572 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
4573 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
4575 2000-07-01 Jim Meyering <meyering@lucent.com>
4577 * uptime.m4: Put double quotes around use of $cross_compiling.
4579 2000-06-28 Jim Meyering <meyering@lucent.com>
4581 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
4582 by quotearg.c, for which we perform this test. From Bruno Haible.
4584 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4586 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
4587 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
4588 <utmpx.h> exists, put readutmp.o into LIBOBJS.
4590 2000-06-25 Jim Meyering <meyering@lucent.com>
4592 * mbstate_t.m4: Include stdio.h before wchar.h to work around
4593 Linux header bug when _XOPEN_SOURCE is defined to 500.
4595 2000-06-24 Jim Meyering <meyering@lucent.com>
4597 * strerror_r.m4: Revive this file -- to try out an experimental
4598 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
4599 for which strerror does return char*, but which lacks a conveniently
4600 accessible declaration of the function. If the compile-test says
4601 strerror_r doesn't work, then resort to a `run'-test that works on
4602 BeOS and segfaults on DEC Unix.
4604 2000-06-19 Paul Eggert <eggert@twinsun.com>
4606 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
4607 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
4609 2000-06-23 Jim Meyering <meyering@lucent.com>
4611 * afs.m4: Add missing AC_MSG_RESULT.
4612 Reported by Bruno Haible.
4614 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
4615 Suggestion from Bruno Haible.
4617 2000-06-21 Jim Meyering <meyering@lucent.com>
4619 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
4621 2000-06-18 Jim Meyering <meyering@lucent.com>
4623 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
4625 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
4626 `checking whether...' message to be consistent with that of the
4629 2000-06-16 Bruno Haible <haible@clisp.cons.org>
4631 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
4633 2000-06-12 Jim Meyering <meyering@lucent.com>
4635 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
4636 from autoconf, and tweak the latter to accept an optional argument.
4637 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
4638 the optional argument, `lib'.
4640 2000-06-08 Jim Meyering <meyering@lucent.com>
4642 * largefile.m4: Remove file (now that it's part of autoconf).
4644 2000-06-04 Paul Eggert <eggert@twinsun.com>
4646 Rewrite largefile configuration so that we don't need to run
4647 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
4648 AC_CANONICAL_HOST in configure.in -- jmm]
4650 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
4651 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
4652 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
4653 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
4654 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
4656 Instead of inspecting the output of getconf, try to compile the
4657 test program without and with the macro definition.
4658 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
4659 for getconf. Instead, check for the needed flags by compiling
4662 2000-06-03 Jim Meyering <meyering@lucent.com>
4664 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
4665 now that autoconf requires that.
4667 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
4668 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
4669 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
4671 2000-05-26 Bruno Haible <haible@clisp.cons.org>
4673 * glibc21.m4: New file.
4674 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
4676 2000-05-28 Jim Meyering <meyering@lucent.com>
4678 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
4679 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4680 * stat.m4: Likewise.
4681 * lstat.m4: Likewise.
4682 * lstat-slash.m4: Remove file (absorbed into autoconf).
4684 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
4685 * strerror_r.m4: Remove file (absorbed into autoconf).
4687 2000-05-26 Jim Meyering <meyering@lucent.com>
4689 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
4691 2000-05-24 Jim Meyering <meyering@lucent.com>
4693 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
4694 autoconf requires that.
4695 * lib-check.m4: Likewise.
4696 * jm-macros.m4: Likewise.
4697 * strftime.m4: Likewise.
4699 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
4700 now that autoconf requires that.
4702 2000-05-22 Jim Meyering <meyering@lucent.com>
4704 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4705 * lstat.m4: Likewise.
4707 2000-05-20 Jim Meyering <meyering@lucent.com>
4709 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
4710 (jm_PREREQ): Use it.
4712 2000-05-09 Jim Meyering <meyering@lucent.com>
4714 * gettext.m4: Rename this...
4715 * libintl.m4: ...to this.
4717 2000-05-06 Jim Meyering <meyering@lucent.com>
4719 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
4720 (AC_REPLACE_FUNCS): Add strnlen.
4722 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
4723 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
4725 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
4726 AC_SEARCH_LIBS call for nanosleep.
4727 (LIB_NANOSLEEP): Set and AC_SUBST.
4729 2000-05-03 Paul Eggert <eggert@twinsun.com>
4731 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
4732 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
4733 2.1.3 bug. This avoids a clash when files like regex.c define
4736 2000-05-05 Jim Meyering <meyering@lucent.com>
4738 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
4739 call for clock_gettime.
4740 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
4742 * search-libs.m4: Update from autoconf.
4744 su doesn't work on Solaris 2.6.
4745 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
4746 <shadow.h>. Reported by Dragos Harabor.
4748 2000-05-03 Jim Meyering <meyering@lucent.com>
4750 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
4752 2000-05-02 Paul Eggert <eggert@twinsun.com>
4754 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
4755 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
4756 compile-time test, rather than inspecting host and OS, to
4757 decide whether to define _LARGEFILE_SOURCE.
4759 2000-05-01 Jim Meyering <meyering@lucent.com>
4761 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
4763 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
4764 Based on a patch from Bruno Haible.
4766 2000-04-18 Jim Meyering <meyering@lucent.com>
4768 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
4769 (jm_PREREQ): Use it.
4771 2000-04-17 Jim Meyering <meyering@lucent.com>
4774 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
4775 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
4776 Suggestion from Akim Demaille.
4778 2000-04-14 Jim Meyering <meyering@lucent.com>
4780 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
4781 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
4783 2000-04-13 Jim Meyering <meyering@lucent.com>
4785 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
4786 to insert required #ifndef into config.h.in.
4787 Suggestion from Akim Demaille.
4789 2000-04-12 Jim Meyering <meyering@lucent.com>
4791 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
4792 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
4793 Christian Krackowizer.
4795 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
4796 * jm-macros.m4 (_GNU_SOURCE): Define.
4797 (AC_SYS_LARGEFILE): Require.
4798 (AM_C_PROTOTYPES): Require.
4800 2000-04-05 Paul Eggert <eggert@twinsun.com>
4802 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
4803 IRIX if the installer said otherwise.
4805 2000-04-05 Jim Meyering <meyering@lucent.com>
4807 Portability tweaks required for ultrix4.3.
4808 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
4809 (jm_CHECK_DECLS): Add getutent to the list of functions.
4810 (_jm_DECL_HEADERS): Add utmpx.h.
4811 From John David Anglin.
4813 * strftime.m4: Back out the 2000-04-02 change.
4814 Instead of that change, simply undefine putenv in the test program.
4816 2000-04-03 Jim Meyering <meyering@lucent.com>
4818 * gettext.m4: Fix typo in comment.
4820 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
4821 textutils/configure.in). Suggestion from Paul Eggert.
4822 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
4824 2000-04-02 Paul Eggert <eggert@twinsun.com>
4826 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
4827 variable in the shell rather than using putenv, which isn't
4828 portable. This avoids the configure-time inter-test dependency
4829 on the potentially-renamed putenv function.
4831 2000-03-30 Paul Eggert <eggert@twinsun.com>
4833 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
4834 before checking struct stat.st_blksize, so that
4835 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
4837 2000-03-29 Paul Eggert <eggert@twinsun.com>
4839 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
4840 since strftime.c uses HAVE_STRFTIME to decide whether to use
4841 the underlying strftime.
4843 2000-03-10 Jim Meyering <meyering@lucent.com>
4845 * lib-check.m4: Look for getspnam in -lgen, too.
4848 2000-02-02 Bruno Haible <haible@clisp.cons.org>
4850 * codeset.m4: New file.
4851 * iconv.m4: New file.
4852 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
4854 2000-03-04 Jim Meyering <meyering@lucent.com>
4856 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
4857 for lib/localcharset.c.
4859 2000-03-03 Jim Meyering <meyering@lucent.com>
4861 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
4863 2000-03-02 Jim Meyering <meyering@lucent.com>
4865 * timespec.m4: Require AC_HEADER_TIME before the cache check so
4866 the messages come out on separate lines.
4868 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
4869 rather than jm_CHECK_DECLARATIONS.
4870 * decl.m4: Remove now-unused file.
4872 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
4874 2000-02-27 Jim Meyering <meyering@lucent.com>
4876 * check-decl.m4: Add getenv to the list.
4878 2000-02-23 Jim Meyering <meyering@lucent.com>
4880 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
4881 in place of my hack.
4883 2000-02-10 Jim Meyering <meyering@lucent.com>
4885 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
4886 gnu_nanosleep to rpl_nanosleep.
4888 2000-02-09 Jim Meyering <meyering@lucent.com>
4890 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
4891 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
4893 2000-02-08 Akim Demaille <akim@epita.fr>
4895 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
4896 `[' and `]' and remove uses of `changequote'.
4897 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
4898 (AC_SYS_LARGEFILE): Likewise.
4899 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
4900 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
4902 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
4903 * readdir.m4 (jm_FUNC_READDIR): Likewise
4904 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
4905 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
4907 2000-02-05 Jim Meyering <meyering@lucent.com>
4909 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
4910 Remove explicit use of AC_HEADER_TIME. It is required by
4911 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
4912 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
4913 in autoconf whereby the expansion of the latter ended up preceding
4914 the expansion of its prerequisite, AC_HEADER_TIME.
4915 Reported by Volker Borchert.
4917 2000-02-03 Jim Meyering <meyering@lucent.com>
4919 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
4921 2000-02-02 Jim Meyering <meyering@lucent.com>
4923 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
4924 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
4925 Reported by Eli Zaretskii.
4927 2000-01-31 Jim Meyering <meyering@lucent.com>
4929 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
4930 functions. Add the time.h and sys/time.h headers along with the
4931 AC_REQUIRE'ment of AC_HEADER_TIME.
4933 2000-01-30 Jim Meyering <meyering@lucent.com>
4935 * lib-check.m4: Clean up some kludgy old shadow password tests.
4937 * prereq.m4 (utmp_includes): Define.
4938 Check for ut_user and ut_name members in both struct utmpx
4941 2000-01-29 Jim Meyering <meyering@lucent.com>
4943 * lib-check.m4: New file containing library-related checks from
4944 fileutils and sh-utils (textutils had none).
4946 2000-01-28 Jim Meyering <meyering@lucent.com>
4948 * perl.m4: Change format of warning message to look more like that
4949 from the missing script. Suggestion from François Pinard.
4951 2000-01-25 Jim Meyering <meyering@lucent.com>
4953 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
4954 as time.h in the compile check.
4955 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
4956 Fix typo in cross-compiling case: s/yes/no/.
4958 2000-01-23 Jim Meyering <meyering@lucent.com>
4960 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
4962 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
4963 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
4965 * fsusage.m4: New file. Extracted from fileutils/configure.in.
4966 s/space/ac_fsusage_space/.
4967 (jm_FILE_SYSTEM_USAGE): Take two parameters.
4969 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
4970 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
4971 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
4973 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
4974 AC_SUBST these here, rather than just in sh-util/configure.in, so
4975 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
4977 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
4978 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
4979 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
4980 (AC_SUBST(POW_LIBM)): Likewise.
4981 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
4983 2000-01-22 Jim Meyering <meyering@lucent.com>
4985 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
4987 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
4989 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
4991 (AC_CHECK_HEADERS): Likewise for sh-utils.
4992 (AC_CHECK_HEADERS): Likewise for textutils.
4993 Merge the three lists of headers.
4995 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
4996 from fileutils' configure.in.
4998 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
4999 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
5001 * check-decl.m4: Use #if rather than #ifdef.
5002 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
5003 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
5004 (_jm_DECL_HEADERS): Define new function.
5005 (jm_CHECK_DECLARATIONS): Require it.
5007 2000-01-19 Jim Meyering <meyering@lucent.com>
5009 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
5010 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
5011 defines `struct timespec' in <sys/time.h>
5013 * c-bs-a.m4: Remove uses of changequote altogether.
5014 Thanks to Akim for explaining.
5016 2000-01-16 Jim Meyering <meyering@lucent.com>
5018 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
5019 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
5020 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
5021 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
5023 2000-01-16 Jim Meyering <meyering@lucent.com>
5025 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
5026 because the latter didn't work.
5028 2000-01-15 Jim Meyering <meyering@lucent.com>
5030 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
5031 (AC_REPLACE_FUNCS): Add memcpy and memset.
5032 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
5034 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
5036 2000-01-12 Jim Meyering <meyering@lucent.com>
5038 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
5039 (jm_PREREQ): Use it.
5040 (jm_PREREQ_READUTMP): New macro.
5041 (jm_PREREQ): Use it.
5043 2000-01-11 Paul Eggert <eggert@twinsun.com>
5045 Quote multibyte characters correctly.
5046 * c-bs-a.m4: New file.
5047 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
5048 (jm_PREREQ): Use it.
5050 2000-01-11 Paul Eggert <eggert@twinsun.com>
5052 * uintmax_t.m4: Port to autoconf 2.13.
5054 2000-01-08 Jim Meyering <meyering@ascend.com>
5056 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
5057 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
5059 2000-01-04 Jim Meyering <meyering@ascend.com>
5061 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
5062 jm_STRUCT_DIRENT_D_TYPE.
5063 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
5064 jm_STRUCT_DIRENT_D_INO.
5065 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
5067 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
5068 * utime.m4: Likewise.
5070 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
5071 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
5073 2000-01-03 Paul Eggert <eggert@twinsun.com>
5075 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
5076 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
5078 2000-01-02 Jim Meyering <meyering@ascend.com>
5080 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
5081 remember if this is necessary.
5083 1999-12-26 Jim Meyering <meyering@ascend.com>
5085 * jm-macros.m4: Use it here.
5086 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
5088 1999-12-23 Jim Meyering <meyering@ascend.com>
5090 * jm-macros.m4: Check for clock_gettime (moved from
5091 fileutils/configure.in)
5092 Check for gettimeofday.
5094 1999-12-20 Jim Meyering <meyering@ascend.com>
5096 * strftime.m4: Remove kludge, now that I'm using the fixed
5097 autoconf-2.14a-1999-12-20.
5099 1999-12-19 Jim Meyering <meyering@ascend.com>
5101 * lstat-slash.m4: New file.
5102 * jm-macros.m4: Use the new macro:
5103 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
5105 1999-12-07 Jim Meyering <meyering@ascend.com>
5107 * perl.m4: Require that File::Compare be available, too.
5108 Too many systems seem to lack it.
5110 * strftime.m4: Add checks for most of the cpp macros tested in
5111 GNU's strftime.c. Prompted by a patch from Paul Eggert.
5113 1999-11-18 Paul Eggert <eggert@twinsun.com>
5115 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
5116 problem with the QNX 4.25 shell, which doesn't propagate exit
5117 status of failed commands inside shell assignments.
5119 1999-11-17 Jim Meyering <meyering@ascend.com>
5121 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
5123 1999-11-07 Jim Meyering <meyering@ascend.com>
5125 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
5127 1999-11-06 Jim Meyering <meyering@ascend.com>
5129 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
5130 * jm-macros.m4 (jm_MACROS): Use it here.
5132 1999-11-05 Jim Meyering <meyering@ascend.com>
5134 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
5135 of textutils, fileutils, and sh-utils into this one (shared between
5136 those packages) file.
5137 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
5138 AC_STRUCT_ST_BLKSIZE.
5140 1999-11-03 Jim Meyering <meyering@ascend.com>
5142 * ssize_t.m4: Remove file. No longer needed since the new version of
5143 AC_CHECK_TYPE checks includes unistd.h.
5144 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
5145 Suggestion from Akim Demaille.
5147 1999-10-30 Jim Meyering <meyering@ascend.com>
5149 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
5151 * ls-mntd-fs.m4: Likewise.
5152 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
5153 * jm-winsz1.m4: Likewise.
5155 * const.m4: Remove file, since the fix made it into the experimental
5156 version of autoconf.
5157 * mktime.m4: Likewise.
5159 * check-type.m4: Remove file, now that the latest version of
5160 AC_CHECK_TYPE takes a third arg to specify additional #includes.
5162 * ssize_t.m4: New file, requires experimental version of autoconf.
5163 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
5166 1999-10-04 Jim Meyering <meyering@ascend.com>
5168 * jm-macros.m4: Don't require autoconf-2.14.1.
5170 1999-09-22 Paul Eggert <eggert@twinsun.com>
5172 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
5173 2.95.1 bug with HP-UX 10.20.
5175 1999-09-17 Jim Meyering <meyering@ascend.com>
5177 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
5178 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
5179 due to missing strdup (against sh-utils-2.0).
5181 1999-08-29 Jim Meyering <meyering@ascend.com>
5183 * jm-macros.m4: Require jm_BISON.
5184 * bison.m4: New file.
5186 1999-08-17 Paul Eggert <eggert@twinsun.com>
5188 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
5189 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
5191 1999-08-05 Jim Meyering <meyering@ascend.com>
5193 * getline.m4: Rename test file from conftestdata to conftest.data
5194 to avoid conflicts with `conftest' on 8+3 filesystems.
5195 Suggestion from Eli Zaretskii.
5197 1999-08-04 Jim Meyering <meyering@ascend.com>
5199 * jm-macros.m4: Move a 4-line block of code from the configure.in of
5200 fileutils and sh-utils (textutils's getline test was inadequate).
5201 (AM_FUNC_GETLINE): Run this test.
5202 (AC_CHECK_FUNCS): Check for getdelim.
5203 Reported by Bob Proulx.
5205 1999-08-02 Jim Meyering <meyering@ascend.com>
5207 * jm-macros.m4: Add a comment.
5209 1999-08-01 Jim Meyering <meyering@ascend.com>
5211 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
5213 1999-08-01 Paul Eggert <eggert@twinsun.com>
5215 * lfs.m4: Remove this file.
5216 * largefile.m4: New file. It contains the old contents of
5217 lfs.m4, except that all names with prefix AC_LFS have been
5218 changed to use the prefix AC_SYS_LARGEFILE instead, to be
5219 compatible with future autoconf versions. Also, some minor m4
5220 quoting problems have been fixed.
5222 1999-07-16 Paul Eggert <eggert@twinsun.com>
5224 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
5225 that we can shift, multiply and divide unsigned long long
5226 values; Ultrix cc can't do it.
5228 1999-07-14 Paul Eggert <eggert@twinsun.com>
5230 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
5231 <inttypes.h> defines strtoumax as a macro (and not as a
5234 1999-07-05 Paul Eggert <eggert@twinsun.com>
5236 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
5237 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
5238 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
5239 and simplify the shell code.
5241 1999-07-03 Paul Eggert <eggert@twinsun.com>
5243 * mktime.m4: New file, which is a preview of what should appear
5244 in the next public autoconf release.
5246 1999-07-20 Jim Meyering <meyering@ascend.com>
5248 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
5250 1999-07-15 Jim Meyering <meyering@ascend.com>
5252 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
5254 1999-05-22 Jim Meyering <meyering@ascend.com>
5256 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
5258 1999-05-20 Jim Meyering <meyering@ascend.com>
5260 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
5261 Add a colon after each `then' in case $4 is empty.
5263 1999-05-16 Jim Meyering <meyering@ascend.com>
5265 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
5267 1999-05-10 Jim Meyering <meyering@ascend.com>
5269 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
5271 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
5274 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5276 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
5278 1999-05-04 Paul Eggert <eggert@twinsun.com>
5280 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
5281 not CPPFLAGS, so that linking works correctly in IRIX.
5283 1999-04-30 Paul Eggert <eggert@twinsun.com>
5285 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
5287 1999-04-20 Jim Meyering <meyering@ascend.com>
5289 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
5290 AC_REPLACE xstroull if necessary. From Paul Eggert.
5291 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
5293 1999-04-20 Paul Eggert <eggert@twinsun.com>
5295 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
5296 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
5297 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
5298 jm_AC_TYPE_UNSIGNED_LONG_LONG.
5299 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
5301 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
5303 1999-04-18 Jim Meyering <meyering@ascend.com>
5305 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
5306 * jm-macros.m4: Use it.
5308 1999-04-06 Jim Meyering <meyering@ascend.com>
5310 * strftime.m4: Remove test for %f.
5312 1999-03-29 Jim Meyering <meyering@ascend.com>
5314 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
5315 superset of the AC_TYPE_* checks in the textutils, fileutils,
5316 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
5319 1999-03-28 Jim Meyering <meyering@ascend.com>
5321 * jm-macros.m4: Define GNU_PACKAGE here.
5322 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
5323 replaced e.g., in the *.sh files of the sh-utils.
5325 1999-03-20 Jim Meyering <meyering@ascend.com>
5327 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
5328 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
5329 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
5331 1999-03-19 Jim Meyering <meyering@ascend.com>
5333 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
5335 1999-03-12 Jim Meyering <meyering@ascend.com>
5337 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
5339 1999-03-07 Jim Meyering <meyering@ascend.com>
5341 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
5343 1999-02-17 Jim Meyering <meyering@ascend.com>
5345 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
5346 in macro definition. From Eli Zaretskii and Alain Magloire.
5348 1999-02-07 Jim Meyering <meyering@ascend.com>
5350 * group-member.m4: New file -- extracted from sh-utils' configure.in.
5352 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
5353 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
5355 1999-02-06 Jim Meyering <meyering@ascend.com>
5357 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
5358 * fnmatch.m4: Likewise.
5359 * getgroups.m4: Likewise.
5360 * lstat.m4: Likewise.
5361 * malloc.m4: Likewise.
5362 * putenv.m4: Likewise.
5363 * realloc.m4: Likewise.
5364 * regex.m4: Likewise.
5365 * stat.m4: Likewise.
5366 * strftime.m4: Likewise.
5367 Suggestion from Alain Magloire.
5369 * chown.m4: Use `.$ac_objext', not `.o'.
5370 * fnmatch.m4: Likewise.
5371 * getgroups.m4: Likewise.
5372 * getline.m4: Likewise.
5373 * lstat.m4: Likewise.
5374 * malloc.m4: Likewise.
5375 * memcmp.m4: Likewise.
5376 * putenv.m4: Likewise.
5377 * realloc.m4: Likewise.
5378 * regex.m4: Likewise.
5379 * stat.m4: Likewise.
5380 * strftime.m4: Likewise.
5381 Suggestion from Alain Magloire.
5383 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
5386 * regex.m4: Add a run-time Test for proper operation of
5389 1999-01-31 Jim Meyering <meyering@ascend.com>
5391 * getloadavg.m4: Check for locale.h and the function, setlocale.
5393 1999-01-30 Jim Meyering <meyering@ascend.com>
5395 * check-type.m4: Use 3-arg form of AC_DEFINE.
5397 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
5398 rather than my private copy, now that the official one is up to date.
5399 * mktime.m4: Remove file.
5401 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
5402 * uptime.m4: Likewise.
5403 * uintmax_t.m4: Likewise.
5405 1999-01-28 Jim Meyering <meyering@ascend.com>
5407 * jm-macros.m4: Use jm_AFS.
5408 * afs.m4: New file (from fileutils' configure.in).
5410 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
5411 * chown.m4: Likewise.
5412 * d-ino.m4: Likewise.
5413 * d-type.m4: Likewise.
5414 * fnmatch.m4: Likewise.
5415 * getgroups.m4: Likewise.
5416 * gettext.m4: Likewise.
5417 * jm-mktime.m4: Likewise.
5418 * jm-winsz2.m4: Likewise.
5419 * lcmessage.m4: Likewise.
5420 * ls-mntd-fs.m4: Likewise.
5421 * malloc.m4: Likewise.
5422 * memcmp.m4: Likewise.
5423 * putenv.m4: Likewise.
5424 * realloc.m4: Likewise.
5425 * st_mtim.m4: Likewise.
5426 * strftime.m4: Likewise.
5428 1999-01-16 Jim Meyering <meyering@ascend.com>
5430 * jm-macros.m4 (ARGMATCH_DIE): Define.
5431 (ARGMATCH_DIE_DECL): Define.
5433 1999-01-12 Jim Meyering <meyering@ascend.com>
5435 * Makefile.am.in: Rewrite to avoid using fmt.
5436 Reported by Lars Hecking.
5438 1999-01-10 Jim Meyering <meyering@ascend.com>
5440 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
5442 * inttypes_h.m4: Likewise.
5443 * lstat.m4: Likewise.
5444 * malloc.m4: Likewise.
5445 * readdir.m4: Likewise.
5446 * realloc.m4: Likewise.
5447 * st_dm_mode.m4: Likewise.
5448 * stat.m4: Likewise.
5449 * utimbuf.m4: Likewise.
5450 * utimes.m4: Likewise.
5452 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
5453 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
5454 comments in config.h.in are meaningful.
5456 * jm-macros.m4: Require autoconf-2.13 here.
5458 * regex.m4: By default, don't use the included regex.c on systems
5459 with glibc 2. Suggestion from Uli Drepper.
5461 1999-01-02 Jim Meyering <meyering@ascend.com>
5463 * jm-macros.m4: Replace strcasecmp and strncasecmp.
5465 1998-12-18 Jim Meyering <meyering@ascend.com>
5467 * Makefile.am.in (Makefile.am): Simplify rule.
5468 Based on a suggestion from Lars Hecking.
5470 1998-11-16 Jim Meyering <meyering@ascend.com>
5472 * lfs.m4: Double-quote the `uname...` expression.
5474 1998-11-16 Paul Eggert <eggert@twinsun.com>
5476 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
5478 1998-11-14 Jim Meyering <meyering@ascend.com>
5480 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
5481 * stat.m4: Likewise.
5483 1998-11-03 Jim Meyering <meyering@ascend.com>
5485 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
5486 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
5488 1998-10-18 Jim Meyering <meyering@ascend.com>
5490 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
5492 1998-10-17 Jim Meyering <meyering@ascend.com>
5494 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
5495 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
5496 calls for those previously hard-coded headers. Instead, take a new
5498 (jm_CHECK_DECLARATIONS): Reflect interface change.
5499 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
5500 (jm_CHECK_DECL_LOCALTIME_R): New macro.
5502 * mktime.m4: Test for spring-forward gap before long-running test.
5504 1998-10-14 Jim Meyering <meyering@ascend.com>
5506 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
5507 instead of "TZ=America/Vancouver". From Paul Eggert.
5509 1998-10-11 Jim Meyering <meyering@ascend.com>
5511 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
5512 This adds a test for a recently added compatibility fix for mktime.c.
5513 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
5515 1998-09-27 Jim Meyering <meyering@ascend.com>
5517 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
5519 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
5520 ../configure.in, including a change from Gordon Matzigkeit to allow
5521 cross-compiling for the Hurd.
5523 * glibc.m4: New file/macro to test for the GNU C Library
5524 versions 1 and 2. From Gordon Matzigkeit.
5527 1998-09-21 Jim Meyering <meyering@ascend.com>
5529 * chown.m4: Declare locals: before, after. From Andries Brouwer.
5531 1998-08-18 Paul Eggert <eggert@twinsun.com>
5533 Port nanosecond-resolution times to UnixWare 2.1.2 and
5534 pedantic Solaris 2.6.
5536 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
5538 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
5539 Generate name of ns member, instead of just 1 or undef.
5540 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
5542 1998-08-15 Jim Meyering <meyering@ascend.com>
5544 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
5545 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
5546 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
5547 instead of jm_TYPE_SSIZE_T.
5549 1998-08-12 Jim Meyering <meyering@ascend.com>
5551 * st_dm_mode.m4: New file. From Johan Danielsson.
5553 1998-08-02 Jim Meyering <meyering@ascend.com>
5555 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
5556 in acconfig.h manually.
5558 1998-07-31 Paul Eggert <eggert@twinsun.com>
5560 * st_mtim.m4: New file.
5562 1998-07-28 Jim Meyering <meyering@ascend.com>
5564 * utimes.m4: Undef stat.
5566 1998-07-25 Jim Meyering <meyering@ascend.com>
5568 * utime.m4 (jm_FUNC_UTIME): New file and macro.
5569 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
5571 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
5573 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
5574 uid and gid actually remain unchanged.
5576 1998-07-07 Jim Meyering <meyering@ascend.com>
5578 * jm-glibc-io.m4: Remove fclose_unlocked.
5580 1998-07-04 Jim Meyering <meyering@ascend.com>
5582 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
5583 to prove that this macro can be used in packages without regex.c.
5585 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5587 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
5590 1998-07-03 Jim Meyering <meyering@ascend.com>
5592 * gettext.m4: Add -lintl if it's found to be necessary.
5594 * gettext.m4: New file -- from gettext-0.10.35.
5595 * lcmessage.m4: Likewise.
5596 * progtest.m4: Likewise.
5598 * regex.m4 (jm_WITH_REGEX): New file and macro.
5599 * jm-macros.m4: Require the new macro.
5601 1998-06-29 Jim Meyering <meyering@ascend.com>
5603 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
5604 for the definition of NGROUPS (used in a system header included
5607 1998-06-28 Jim Meyering <meyering@ascend.com>
5609 * ls-mntd-fs.m4: New file.
5610 * fstypename.m4: New file.
5612 * jm-macros.m4: Require the new macro.
5613 * jm-glibc-io.m4: New file.
5615 1998-05-19 Jim Meyering <meyering@ascend.com>
5617 * jm-macros.m4: Add jm_FUNC_LCHOWN.
5618 * lchown.m4: New file.
5620 * Makefile.am.in: New file.
5621 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
5623 1998-05-14 Jim Meyering <meyering@ascend.com>
5625 * Makefile.am (EXTRA_DIST): Add them.
5626 * jm-macros.m4: New file.
5627 * utimbuf.m4: New file.
5629 1998-05-12 Jim Meyering <meyering@ascend.com>
5631 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
5633 1998-05-11 Jim Meyering <meyering@ascend.com>
5635 * isc-posix.m4: New file.
5637 1998-05-10 Jim Meyering <meyering@ascend.com>
5639 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
5641 1998-05-09 Jim Meyering <meyering@ascend.com>
5643 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
5644 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
5647 * ssize_t.m4: New file.
5648 * mktime.m4: Remove file -- the new automake has this now.
5650 1998-04-26 Jim Meyering <meyering@ascend.com>
5652 * assert.m4: New file.
5653 * Makefile.am (EXTRA_DIST): Add assert.m4.
5655 1998-04-05 Jim Meyering <meyering@ascend.com>
5657 * prereq.m4 (jm_PREREQ_REGEX): New macro.
5658 (jm_PREREQ): Use it here.
5660 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
5662 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
5665 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
5667 * prereq.m4: New file.
5668 * error.m4: New file.
5669 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
5671 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
5673 * getline.m4: Don't set am_cv_func_working_getline before the
5674 cache-check for the same variable -- that defeated the purpose of
5675 the test; the test program was never run. This was a problem only
5676 on systems with losing getline functions -- HP-UX 10.20 is one.
5677 Reported by Bjorn Helgaas.
5679 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
5681 * Makefile.am (EXTRA_DIST): Add perl.m4.
5683 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
5685 * Makefile.am (EXTRA_DIST): Add const.m4.
5687 * const.m4: New file. Use an initializer in this declaration
5688 typedef int charset[2]; const charset x;
5689 Reported by Bob Glickstein.
5691 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
5693 * chown.m4: Fix reversed types on -1 args to chown.
5696 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
5698 * check-decl.m4: s/DECLARATION_/DECL_/g.
5699 Add lseek and memchr.
5701 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
5702 T.E.Dickey <dickey@clark.net> said that some older preprocessors
5703 have a 20-character limit on names.
5705 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
5707 * inttypes_h.m4: New file.
5708 * uintmax_t.m4: New file.
5709 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
5711 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
5712 Free Software Foundation, Inc.
5713 Copying and distribution of this file, with or without modification,
5714 are permitted provided the copyright notice and this notice are preserved.