1 2006-07-27 Bruno Haible <bruno@clisp.org>
3 * stdint.m4 (gl_STDINT_H): Define __STDC_CONSTANT_MACROS during the
6 2006-07-26 Eric Blake <ebb9@byu.net>
8 * unistd-safer.m4 (gl_UNISTD_SAFER): Check for missing pipe.
10 2006-07-26 Bruno Haible <bruno@clisp.org>
12 * stdint.m4 (gl_STDINT_H): Also verify the existence of the macros
13 INT*_MIN, INT_LEAST*_MAX, INT_LEAST*_MIN, UINT_LEAST*_MAX,
14 INT_FAST*_MIN, INTPTR_MIN.
16 2006-07-25 Bruno Haible <bruno@clisp.org>
18 * stdint.m4 (gl_INTEGER_TYPE_SUFFIX): Avoid 'eval' in front of complex
21 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
23 * stdio-safer.m4 (gl_FOPEN_SAFER, gl_TMPFILE_SAFER): New macros.
24 (gl_STDIO_SAFER): Remove.
26 2006-07-24 Bruno Haible <bruno@clisp.org>
28 * tmpdir.m4: New file, from GNU gettext.
30 2006-07-23 Eric Blake <ebb9@byu.net>
32 * stdio-safer.m4 (gl_STDIO_SAFER): Add tmpfile-safer.c.
34 2006-07-22 Paul Eggert <eggert@cs.ucla.edu>
36 * close-stream.m4: New file.
38 2006-07-22 Bruno Haible <bruno@clisp.org>
40 Merge from GNU gettext 0.15.
42 2006-03-25 Bruno Haible <bruno@clisp.org>
44 * lib-link.m4 (AC_LIB_LINKFLAGS_FROM_LIBS): New macro.
46 2006-07-21 Bruno Haible <bruno@clisp.org>
48 * javacomp.m4 (gt_JAVACOMP): Convert target_version "null" to
51 2006-05-09 Bruno Haible <bruno@clisp.org>
53 * javacomp.m4 (gt_JAVACOMP): On Cygwin, set
54 CLASSPATH_SEPARATOR to a semicolon. Use CLASSPATH_SEPARATOR
55 for the conftestver execution.
57 2006-05-01 Bruno Haible <bruno@clisp.org>
59 * javacomp.m4 (gt_JAVACOMP): Accept a source-version and an
60 optional target-version argument. Verify that the compiler
61 groks source of the specified source-version, or add -source
62 option as necessary. Verify that the compiler produces
63 bytecode in the specified target-version, or add -target and
64 -source options as necessary. Make the result of the test
65 available as variable CONF_JAVAC. Also log error output in
68 2006-03-11 Bruno Haible <bruno@clisp.org>
70 * javacomp.m4 (gt_JAVACOMP): Treat gcj-4.x like gcj-3.x.
72 2006-05-09 Bruno Haible <bruno@clisp.org>
74 * javaexec.m4 (gt_JAVAEXEC): On Cygwin, set
75 CLASSPATH_SEPARATOR to a semicolon.
77 2006-03-12 Bruno Haible <bruno@clisp.org>
79 * javaexec.m4 (gt_JAVAEXEC): Make the result of the test
80 available as variable CONF_JAVA, for subsequent autoconf
81 tests. Also log error output in config.log.
83 2006-07-19 Bruno Haible <bruno@clisp.org>
85 * getline.m4 (AM_FUNC_GETLINE): When cross-compiling, assume
86 that getline works on glibc2 systems. Needed to avoid trouble
88 Reported by Nils Magnus Larsgard <nmlarsgaard@atmel.no>.
90 2005-12-04 Bruno Haible <bruno@clisp.org>
92 * csharpexec.m4 (gt_CSHARPEXEC): Add support for 'clix'
95 2005-12-04 Bruno Haible <bruno@clisp.org>
97 * csharpcomp.m4 (gt_CSHARPCOMP): Also set CSHARPCOMPFLAGS.
99 2006-07-22 Bruno Haible <bruno@clisp.org>
101 * gettext.m4: Update from GNU gettext-0.15.
104 * inttypes-pri.m4: Likewise.
105 * inttypes-h.m4: Renamed from inttypes.m4.
106 (gl_HEADER_INTTYPES_H): Renamed from gt_HEADER_INTTYPES_H.
108 2006-07-17 Bruno Haible <bruno@clisp.org>
110 * gl_list.m4: New file.
112 2006-07-16 Paul Eggert <eggert@cs.ucla.edu>
114 * mkancesdirs.m4: New file.
115 * mkdir-p.m4 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h.
116 Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed.
117 Require gl_FUNC_LCHOWN, since dirchownmod.c needs it.
119 2006-07-11 Eric Blake <ebb9@byu.net>
121 * absolute-header.m4: Fix comments to match recent change.
123 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
125 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Like today's change
128 2006-07-10 Derek R. Price <derek@ximbiot.com>
129 and Paul Eggert <eggert@cs.ucla.edu>
131 * backupfile.m4, d-ino.m4, d-type.m4, dirfd.m4, fts.m4, getcwd.m4:
133 Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN
134 macros into the GNU _D_EXACT_NAMLEN.
136 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
138 * stdint.m4 (gl_STDINT_H): Like yesterday's change to
139 absolute-header.m4. Also, set ABSOLUTE_STDINT_H to a string
140 "no/such/file/stdint.h" when there is no such file, so that
141 the resulting C code can be parsed by dodgy compilers.
142 Problems reported by Bob Proulx.
144 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
146 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
147 around the absolute name, to work around a problem with the HP-UX
148 11.23 native C compiler, reported by Bob Proulx.
150 2006-07-09 Jim Meyering <jim@meyering.net>
152 * glob.m4: Remove a doubled word in a comment.
154 2006-07-08 Jim Meyering <jim@meyering.net>
156 * link-follow.m4: Remove one of two adjacent "whether"s in a comment.
157 * getopt.m4: Remove one of two adjacent "your"s in a comment.
158 * regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment.
160 2006-07-06 Derek R. Price <derek@ximbiot.com>
161 and Paul Eggert <eggert@cs.ucla.edu>
163 * backupfile.m4 (gl_BACKUPFILE): Check for dirent.h, instead
164 of invoking obsolescent AC_HEADER_DIRENT macro.
165 * d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
166 * d-type.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Likewise.
167 * dirfd.m4 (gl_FUNC_DIRFD): Likewise.
168 * fts.m4 (gl_FUNC_FTS_CORE): Likewise.
169 * getcwd.m4 (gl_PREREQ_GETCWD): Likewise.
170 * glob.m4 (gl_PREREQ_GLOB): Likewise.
171 * savedir.m4 (gl_SAVEDIR): Likewise.
172 * readdir.m4: Remove; no longer needed.
174 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
176 * _inttypes_h.m4 (gl_INTTYPES_H): Use AC_CHECK_DECLS_ONCE
177 with only one argument, for Autoconf 2.60.
178 * fileblocks.m4 (gl_PREREQ_FILEBLOCKS): AC_CHECK_DECLS_ONCE may
179 expand to nothing, so add a shell command to avoid syntax error.
180 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
182 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
184 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't check for getenv decl;
185 no longer needed. Check for isblank decl.
186 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Don't check for getenv decl.
187 * regex.m4 (gl_PREREQ_REGEX): Dheck for isblank decl instead
190 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
192 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Use AC_CHECK_DECLS_ONCE
193 rather than AC_CHECK_DECLS for strtoimax and strtoumax.
194 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed.
196 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
197 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
198 * exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer needed.
199 * getdate.m4 (gl_GETDATE): Likewise.
200 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
201 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
202 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
203 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
204 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
205 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
206 * exclude.m4 (gl_EXCLUDE): Don't require AC_C_INLINE; no longer
209 2006-07-05 Derek R. Price <derek@ximbiot.com>
211 * calloc.m4 (_AC_FUNC_CALLOC_IF): Don't require AC_HEADER_STDC;
213 * exclude.m4 (gl_EXCLUDE): Likewise.
214 * getdate.m4 (gl_GETDATE): Likewise.
215 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
216 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
217 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
218 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
219 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
221 2006-07-05 Eric Blake <ebb9@byu.net>
223 * sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
224 to avoid 'header present but could not be compiled' on cygwin.
226 2006-07-03 Bruno Haible <bruno@clisp.org>
228 * strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, check whether
229 the function exists, before testing against AIX.
230 Reported by Martin Lambers <marlam@marlam.de>.
232 2006-07-04 Paul Eggert <eggert@cs.ucla.edu>
234 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
235 to the absolute name, not just one, to bypass Sun C 5.8's
236 "warning: #include of /usr/include/... may be non-portable".
238 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
240 * absolute-header.m4: Renamed from full-header-path.m4.
241 This is to keep the terminology clean; POSIX talks about
242 "absolute pathnames", not "full pathnames", but the GNU
243 Coding Standards say to use "path" for something else;
244 so use "absolute" to keep both sides happy.
245 (gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
246 Set gl_absolute_header, not gl_full_header_path.
247 Set gl_cv_absolute_<header>, not gl_full_path_<header>.
248 Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
251 Merge from coreutils.
253 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
255 * c-strtod.m4 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
256 Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
257 want to require the building of c-strtod.o.
258 * lib-check.m4 (cu_LIB_CHECK): Remove SEQ_LIBM, since seq no longer
260 * xstrtod.m4 (gl_XSTRTOLD): New macro.
262 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
264 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
265 --as-needed option if available. Problem reported by Albert Chin in
266 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
267 However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
268 cc merely issues a bunch of annoying warnings for --as-needed
269 (this problem was reported by Bob Proulx). Also, try linking with
270 -lm to detect a bug in binutils 2.16 (this problem was reported
273 2006-06-18 Jim Meyering <jim@meyering.net>
275 Test for a bug that causes glibc's getcwd to suffer a failed assertion.
276 * getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
277 * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
278 also check for glibc-2.4's abort-inducing bug.
280 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
281 Low-probability clean-up should be to use rmdir to get rid of
282 the just-created directory, not unlink.
284 * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
285 configure fail, and request a bug report to inform us about it.
286 Add a comment that, barring reports to the contrary, in 2007 we'll
287 assume ftruncate is universally available.
289 2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
291 * filemode.m4 (gl_FILEMODE): Check for strmode declaration.
293 2006-03-12 Jim Meyering <jim@meyering.net>
295 * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.
296 * cycle-check.m4 (gl_CYCLE_CHECK): Likewise.
297 * same.m4 (gl_SAME): Likewise.
298 * root-dev-ino.m4 (gl_ROOT_DEV_INO): Likewise.
300 2006-03-11 Eric Blake <ebb9@byu.net>
302 * double-slash-root.m4: New file, provides gl_DOUBLE_SLASH_ROOT.
303 * dirname.m4 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
304 * dos.m4 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
305 (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
307 2006-07-02 Eric Blake <ebb9@byu.net>
309 * wcwidth.m4 (gl_FUNC_WCWIDTH): Simplify by using AC_CHECK_DECLS.
311 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
313 * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
314 test cases, so that config.log is a bit easier to follow.
316 2006-07-01 Paul Eggert <eggert@cs.ucla.edu>
318 * longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60,
319 but fix a bug, by requiring at least 64 bits.
320 * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
321 * longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call
322 AC_TYPE_LONG_LONG_INT. This macro is obsolete and will go soon.
323 * ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise.
325 * stdint.m4 (gl_STDINT_H): Rewrite to accommodate stdint_.h
326 changes. Make 2.59 a prerequisite. Check and substitute for
327 HAVE_LONG_LONG_INT. Rely on Autoconf to check for stdint.h and
328 inttypes.h. Do not use special include files; just use the
329 defaults. Check for sys/inttypes.h and sys/bitypes.h in the usual
330 way now. Remove no-longer-needed tests for HAVE_LONG_64BIT,
331 HAVE_LONG_LONG_64BIT, int8_t, int16_t, int32_t, int64_t, uint8_t,
332 uint16_t, uint32_t uint64_t, int_least8_t, int_least16_t,
333 int_least32_t, int_least64_t, uint_least8_t, uint_least16_t,
334 uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t,
335 int_fast32_t, int_fast64_t, uint_fast8_t uint_fast16_t,
336 uint_fast32_t, uint_fast64_t, intptr_t, uintptr_t, intmax_t,
337 uintmax_t, INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX,
338 UINT16_MAX, INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN,
339 INT64_MAX, UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX,
340 UINT_LEAST8_MAX, INT_LEAST16_MIN, INT_LEAST16_MAX,
341 UINT_LEAST16_MAX, INT_LEAST32_MIN, INT_LEAST32_MAX,
342 UINT_LEAST32_MAX, INT_LEAST64_MIN, INT_LEAST64_MAX,
343 UINT_LEAST64_MAX, INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX,
344 INT_FAST16_MIN, INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN,
345 INT_FAST32_MAX, UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX,
346 UINT_FAST64_MAX, INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN,
347 INTMAX_MAX, UINTMAX_MAX, PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN,
348 SIG_ATOMIC_MAX, SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN,
349 WINT_MAX. Check for C99 conformance more strictly, by detecting
350 bugs in glibc 2.4, Solaris 10, and OpenBSD 3.9. On the other hand do
351 not check for things that C99 does not require, e.g., int8_t. If
352 a test isn't needed unless <stdint.h> isn't working, and is
353 unlikely to be needed for any other reason, then don't do it
354 unless <stdint.h> isn't working. Do not check for ptrdiff_t or
355 size_t, since we assume C89 freestanding at least. Do not check
356 for sig_atomic_t, wchar_t, or wint_t, since the code now does
357 the right thing even if the types are not defined. Instead use:
358 (gl_STDINT_TYPE_PROPERTIES): New macro.
359 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H): Remove. Don't bother
360 testing whether <sys/types.h> clashes, as Autoconf does this for
361 us now. All uses removed.
362 (gl_STDINT_CHECK_TYPES, gl_STDINT_MISSING_BOUND):
363 (gl_STDINT_MISSING_BOUNDS, gl_STDINT_MISSING_BOUNDS2):
364 (gl_CHECK_TYPE_SAME):
365 Remove; no longer needed.
366 (gl_STDINT_BITSIZEOF): Don't bother to check whether the type
367 exists, since we'll return 0 anyway in that case.
368 (gl_INTEGER_TYPE_SUFFIX, gl_STDINT_INCLUDES): New macros.
370 2006-07-01 Eric Blake <ebb9@byu.net>
372 * stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.
374 2006-07-01 Eric Blake <ebb9@byu.net>
376 * stdarg.m4 (gl_STDARG_H): Use proper AH_VERBATIM.
377 Reported by Andreas Buening.
379 2006-06-29 Eric Blake <ebb9@byu.net>
381 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Use AC_C_INLINE.
383 2006-06-29 Eric Blake <ebb9@byu.net>
385 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): New file.
387 2006-06-29 Derek R. Price <derek@ximbiot.com>
389 * strftime.m4: Don't call AC_FUNC_STRFTIME.
391 2006-06-29 Derek R. Price <derek@ximbiot.com>
393 * c-bs-a.m4: Removed.
395 2006-06-28 Derek R. Price <derek@ximbiot.com>
397 * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
399 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
401 * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
403 2006-06-28 Bruno Haible <bruno@clisp.org>
405 * wcwidth.m4 (gl_FUNC_WCWIDTH): Also require AC_C_INLINE and
408 2006-06-28 Eric Blake <ebb9@byu.net>
410 * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
411 * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
413 2006-06-28 Simon Josefsson <jas@extundo.com>
415 * getaddrinfo.m4: Look for getnameinfo prototypes too.
417 2006-06-27 Simon Josefsson <jas@extundo.com>
419 * sys_select_h.m4: New file, suggested by Bruno Haible, Paul
420 Eggert and Martin Lambers.
422 2006-06-27 Bruno Haible <bruno@clisp.org>
424 * stdint.m4 (gl_STDINT_BITSIZEOF): For nonexistent types, set the
425 result to 0, not to empty.
426 Reported by Martin Neitzel <neitzel@sco.gaertner.de>.
428 2006-06-26 Bruno Haible <bruno@clisp.org>
430 * stdint.m4 (gl_STDINT_H): Test also for <wchar.h>.
432 2006-06-26 Bruno Haible <bruno@clisp.org>
434 * stdint.m4 (gl_STDINT_H): Don't include <stdint.h> when using the
435 SGI C compiler in pre-C99 mode.
436 Suggested by Mark D. Baushke and Larry Jones.
438 2006-06-23 Mark D. Baushke <mdb@gnu.org>
440 * stdint.m4 (gl_STDINT_H): Treat BSD/OS like OpenBSD.
442 2006-06-26 Simon Josefsson <jas@extundo.com>
444 * inet_ntop.m4: Don't check for sys/types.h, we assume it is
447 2006-06-23 Bruno Haible <bruno@clisp.org>
449 * stdint.m4 (gl_STDINT_H): Treat IRIX like OpenBSD.
451 2006-06-22 Simon Josefsson <jas@extundo.com>
453 * sockpfaf.m4: Include winsock2.h too, to make it work under
456 2006-06-21 Simon Josefsson <jas@extundo.com>
458 * getaddrinfo.m4: Don't define WINVER. Look for gethostbyname in
459 -lws2_32 too. Fixes getaddrinfo on Windows 2000, with the price
460 of using the (limited) gnulib implementation on Windows XP.
462 * inet_pton.m4: New file.
464 2006-06-19 Bruno Haible <bruno@clisp.org>
466 * stdint.m4 (gl_STDINT_H): Enclose the values of FULL_PATH_STDINT_H
467 and FULL_PATH_INTTYPES_H in angle brackets.
468 Reported by Mark D. Baushke <mdb@gnu.org>.
470 2006-06-17 Bruno Haible <bruno@clisp.org>
472 * stdint.m4 (gl_STDINT_H) [FreeBSD >= 5]: Don't include
475 2006-06-16 Eric Blake <ebb9@byu.net>
477 * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
480 2006-06-17 Bruno Haible <bruno@clisp.org>
482 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
483 whether errno is declared. Assume <errno.h> declares errno.
485 2006-06-15 Bruno Haible <bruno@clisp.org>
487 * stdint.m4 (gl_STDINT_H): Rewritten to produce a complete stdint.h.
488 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H, gl_STDINT_CHECK_TYPES,
489 gl_STDINT_MISSING_BOUND, gl_STDINT_MISSING_BOUNDS,
490 gl_STDINT_MISSING_BOUNDS2, gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED,
491 gl_CHECK_TYPE_SAME): New macros.
493 2006-06-15 Bruno Haible <bruno@clisp.org>
495 * size_max.m4 (gl_SIZE_MAX): Make it work also when cross-compiling.
497 2006-06-15 Eric Blake <ebb9@byu.net>
499 * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
501 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
502 Bruno Haible <bruno@clisp.org>
504 * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
505 check for the declaration of strnlen and a run test that exposes the
506 AIX 5.1 strnlen bug. In the failure case, #define strndup to
509 2006-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
511 * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
512 compile test, for Tru64 4.0D.
514 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
516 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
517 gl_ rather than jm_. Link, don't run, so that cross-compiles are
518 allowed. Check that resulting type is arithmetic. Move AC_REQUIRE
519 and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
520 not really conditional on the cache.
521 (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
523 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
525 * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
526 test for C99 conformance; (bool) 0.5 is an integer constant
527 expression, but (bool) -0.5 is not. Problem reported by Fedor
528 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
530 2006-05-11 Simon Josefsson <jas@extundo.com>
532 * xvasprintf.m4: Fix obvious typo.
534 2006-05-09 Bruno Haible <bruno@clisp.org>
536 * xvasprintf.m4: New file.
538 2006-05-08 Bruno Haible <bruno@clisp.org>
540 * stdarg.m4: New file, from GNU gettext.
542 2006-05-05 Jim Meyering <jim@meyering.net>
544 * warning.m4: New file, derived from bison's file by the same name.
546 2006-05-02 Bruno Haible <bruno@clisp.org>
548 * full-header-path.m4 (gl_FULL_HEADER_PATH): Move the include_next
550 * _inttypes_h.m4 (gl_INTTYPES_H): ... to here.
552 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
554 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
555 to define main with arguments, for C++. Reported by Eric Blake.
556 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
557 Prefer 'int main ()' to 'int main (void)', for C++.
558 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
559 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
560 for 'main', for C99 and C++.
562 2006-04-23 Bruno Haible <bruno@clisp.org>
564 * poll.m4 (gl_FUNC_POLL): Rearrange code, so that POLL_H gets
565 assigned exactly once.
567 2006-04-23 Bruno Haible <bruno@clisp.org>
569 * poll.m4 (gl_FUNC_POLL): When cross-compiling, reject also the poll()
570 implementation in AIX.
571 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
573 2006-03-04 Eric Blake <ebb9@byu.net>
575 * strerror_r.m4 (AC_FUNC_STRERROR_R): Avoid unused variable warning.
577 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
579 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
580 Don't assume that exit status -1 is valid.
581 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
582 * putenv.m4 (gl_FUNC_PUTENV): Likewise.
583 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
584 * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
585 * rename.m4 (vb_FUNC_RENAME): Likewise.
586 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
587 not AC_TRY_RUN. Use return, not exit. Don't assume that
588 functions can be used without declaring them, or that you can
590 * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
592 2006-04-20 Bruno Haible <bruno@clisp.org>
594 * argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
595 one argument, so that the code will be portable to Autoconf 2.60.
596 * getlogin_r.m4 (gl_PREREQ_GETLOGIN_R): Likewise.
597 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
598 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
600 2006-04-19 Derek Price <derek@ximbiot.com>
601 Eric Blake <ebb9@byu.net>
603 * full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
604 than "/full/path.h". Update comment to match. Shorten & generalize
605 m4_translit call via AS_TR_CPP.
607 2006-04-18 Derek Price <derek@ximbiot.com>
608 Paul Eggert <eggert@cs.ucla.edu>
610 * _inttypes_h.m4, full-header-path.m4, include_next: New files.
612 2006-04-11 Paul Eggert <eggert@cs.ucla.edu>
614 * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
616 2006-04-09 Paul Eggert <eggert@cs.ucla.edu>
618 * regex.m4 (gl_REGEX): Check for new glibc interface to
621 2006-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
623 * argz.m4 (gl_FUNC_ARGZ): If we define `error_t', also define
624 `__error_t_defined', so argp.h will not typedef the former.
626 2006-03-25 Paul Eggert <eggert@cs.ucla.edu>
628 * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
629 REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
630 glibc names. Even if glibc is changed to conform to POSIX, the
631 traditional names will be available anyway, since regex depends on
632 the extensions module. Also, fix a longstanding typo in the
633 implementation of Spencer ERE test #75 from grep 2.3. Problems
634 reported by Emanuele Giaquinta. Also, change sense of cached
635 variable, so that the message makes sense.
637 2006-03-17 Jim Meyering <jim@meyering.net>
639 * regex.m4 (gl_REGEX): Fix typo in last change:
640 s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
642 2006-03-16 Paul Eggert <eggert@cs.ucla.edu>
644 * regex.m4 (gl_REGEX): Don't check for off_t, since the code
645 no longer needs it. Instead, check that regoff_t is as least
646 as wide as ptrdiff_t.
648 Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
649 so that our regex.h stays compatible with the installed regex.
650 This is helpful for installers who configure --without-included-regex.
651 Problem reported by Emanuele Giaquinta.
653 2006-03-15 Eric Blake <ebb9@byu.net>
655 * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
657 2006-03-08 Simon Josefsson <jas@extundo.com>
659 * gc-random.m4: Permit 'no' as variable values and fix warnings,
660 suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
662 2006-03-08 Simon Josefsson <jas@extundo.com>
664 * gc-random.m4: Call AC_CANONICAL_HOST and use $host_os instead of
665 $target, suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
667 2006-03-07 Paul Eggert <eggert@cs.ucla.edu>
669 * unistd_h.m4 (gl_HEADER_UNISTD): Rename, to match modules file.
670 Problem reported by Juan Manuel Guerrero.
672 2006-03-07 Simon Josefsson <jas@extundo.com>
674 * unistd_h.m4: New file.
676 2006-03-07 Simon Josefsson <jas@extundo.com>
678 * readline.m4 (gl_FUNC_READLINE): Rewrite the cached part of the
679 test to be side-effect free by storing the result in the cache
680 variable gl_cv_lib_readline, and moving the assignment of
681 LIBREADLINE and LTLIBREADLINE outside the COMMANDS-TO-SET-IT.
682 From Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
684 2006-03-07 Simon Josefsson <jas@extundo.com>
686 * gc-random.m4: New file, mostly from gc.m4. Warn instead of
687 error on missing devices (the functions will return an error).
689 * gc.m4: Move random stuff to gc-random.m4
691 2006-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
693 * poll.m4 (gl_FUNC_POLL): If we deem poll(2) unacceptable, use
694 our replacement poll.h in any case, to avoid a differing
695 declaration from a system header. Seen on AIX.
697 2006-03-01 Paul Eggert <eggert@cs.ucla.edu>
699 * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
700 not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
702 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
703 * timespec.m4 (gl_TIMESPEC): Likewise.
705 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
706 not "==". Reported by Ralf Wildenhues.
708 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
711 * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
714 2006-02-22 Jim Meyering <jim@meyering.net>
717 * chdir-safer.m4: New file.
719 2006-02-17 Eric Blake <address@hidden>
721 * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
723 2006-02-15 Eric Blake <ebb9@byu.net>
725 * sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using
726 winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes
727 'present but cannot compile' warnings on cygwin.
728 * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET. Don't
729 use ws2tcpip.h if sys/socket.h works.
730 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_HEADER_SYS_SOCKET.
731 (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is present.
733 2006-02-14 Jim Meyering <jim@meyering.net>
736 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
737 unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
738 gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
739 variable, to accommodate the rare case in which getmntent is
740 available in none of the libraries checked. This happens at
741 least on FreeBSD 5.0.
743 2006-02-05 Paul Eggert <eggert@cs.ucla.edu>
745 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
746 __EXTENSIONS__ if this causes compilation to fail. Problem
747 reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
748 c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
750 2006-01-25 Simon Josefsson <jas@extundo.com>
752 * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
753 -lws2_32. Protect sys/socket.h and netdb.h #include's. Include
754 ws2tcpip.h with WINVER=0x0501. All for mingw32.
756 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
758 * stdbool.m4 (AC_HEADER_STDBOOL): Check for xlc bug if __GCC__ too,
759 so that we test the test.
760 Check for yet another HP-UX cc bug involving *bool |= bool.
762 2006-01-24 Bruno Haible <bruno@clisp.org>
764 * stdbool.m4 (AC_HEADER_STDBOOL): Check for IBM and HP-UX bugs.
765 Patch by Paul Eggert.
767 2006-01-24 Jim Meyering <jim@meyering.net>
769 * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
770 Reported by Mark D. Baushke.
772 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
774 * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
776 2006-01-20 Paul Eggert <eggert@cs.ucla.edu>
778 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
779 rather than -Xlinker -z -Xlinker ignore, as it's more portable.
780 Suggested by Bruno Haible.
782 2006-01-19 Simon Josefsson <jas@extundo.com>
784 * socklen.m4: Look in ws2tcpip.h too, for mingw32.
786 2006-01-16 Paul Eggert <eggert@cs.ucla.edu>
788 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
789 it's not portable and it doesn't work with cross-compiles.
790 Problem reported by Bruno Haible. Fix missing-$ typo in
791 'test "gl_cv_ignore_unused_libraries" ...' that prevented
792 -zignore from being used with Sun's C compiler.
794 2006-01-12 Bruno Haible <bruno@clisp.org>
798 2006-01-08 Bruno Haible <bruno@clisp.org>
800 Ensure automatic ordering between gl_LOCK and gl_ARGP.
801 * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK.
802 (gl_LOCK): New macro, requiring gl_LOCK_BODY.
804 2006-01-10 Jim Meyering <jim@meyering.net>
806 * fpending.m4: Also include <stdio.h>, for Dragonfly.
807 Patch by Joerg Sonnenberger.
809 2006-01-10 Paul Eggert <eggert@cs.ucla.edu>
811 * memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
812 the 2002-12-31 change. Problem and fix reported by Bruno Haible.
813 People who are still concerned with buggy memcmp implementations
814 can invoke gl_FUNC_MEMCMP themselves.
816 2006-01-10 Simon Josefsson <jas@extundo.com>
818 * sys_socket_h.m4: New file.
820 2006-01-10 Bruno Haible <bruno@clisp.org>
822 * localcharset.m4 (gl_LOCALCHARSET): Also test for getc_unlocked.
823 Reported by Werner Lemberg <wl@gnu.org>.
825 2006-01-09 Paul Eggert <eggert@cs.ucla.edu>
828 * lib-ignore.m4: New file.
829 * lchmod.m4: New file.
831 2006-01-09 Jim Meyering <jim@meyering.net>
834 * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
835 Require openat-priv.h.
837 2006-01-09 Andreas Gruenbacher <agruen@suse.de>
840 * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
842 2005-10-16 Bruno Haible <bruno@clisp.org>
844 * stdint.m4 (gl_STDINT_H): Also test for <sys/bitypes.h>.
846 2005-12-16 Jim Meyering <jim@meyering.net>
848 * fprintftime.m4: New file.
850 2005-12-10 Sergey Poznyakoff <gray@gnu.org.ua>
852 * argp.m4: Define HAVE_DECL_PROGRAM_INVOCATION_NAME and
853 HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
855 2005-12-09 Sergey Poznyakoff <gray@gnu.org.ua>
857 * argp.m4: Check if program_invocation_name and
858 program_invocation_short_name are declared and define appropriate
859 macros if they are not.
861 2005-12-07 Paul Eggert <eggert@cs.ucla.edu>
863 * stat-time.m4 (gl_STAT_TIME): Add check for
864 TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
865 porting problem reported by Georg Schwarz in
866 <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
868 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
870 * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
871 Use implementation from Albert Chin, with some
872 comments/corrections by Stepan Kasal and myself.
874 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
876 * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
877 statement, to work around an HP-UX 10.20 compiler bug reported by
880 2005-11-10 Paul Eggert <eggert@cs.ucla.edu>
882 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
883 or gettimeofday; no longer needed.
885 2005-10-30 Paul Eggert <eggert@cs.ucla.edu>
887 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
888 variables to suggest the intended function of the PATH_MAX check.
890 2005-10-30 Kean Johnston <jkj@sco.com>
892 Trivial changes to support SCO systems.
893 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
895 * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
896 where __ptr is null when no I/O is pending.
898 2005-10-28 Simon Josefsson <jas@extundo.com>
900 * inet_ntop.m4: More tests.
902 * gc-md2.m4, md2.m4: New file.
904 2005-10-22 Simon Josefsson <jas@extundo.com>
906 * gc.m4: Don't be fooled by --disable-*random-device parameters,
907 suggested by Bruno Haible <bruno@clisp.org>. Fix error messages.
909 2005-10-21 Simon Josefsson <jas@extundo.com>
911 * gc.m4: Don't use libgcrypt if gcrypt.h isn't found, suggested by
912 Bruno Haible <bruno@clisp.org>.
914 * gc-des.m4: New file.
916 2005-10-21 Simon Josefsson <jas@extundo.com>
918 * arctwo.m4: New file.
920 * gc-arctwo.m4: New file.
922 2005-10-19 Simon Josefsson <jas@extundo.com>
924 * gc-arcfour.m4: New file.
926 * gc-rijndael.m4: New file.
928 2005-10-19 Simon Josefsson <jas@extundo.com>
930 * m4/gc-hmac-md5.m4, m4/gc-hmac-sha1.m4, m4/gc-md4.m4,
931 m4/gc-md5.m4, m4/gc-sha1.m4: Fix typo, suggested by Stepan Kasal
934 2005-10-19 Simon Josefsson <jas@extundo.com>
936 * gc-md4.m4: New file.
938 2005-10-18 Simon Josefsson <jas@extundo.com>
942 2005-10-17 Bruno Haible <bruno@clisp.org>
944 * stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so that
945 it can also be used in a test.
947 2005-10-11 Simon Josefsson <jas@extundo.com>
949 * md5.m4: Remove call to uint32_t.m4.
951 2005-10-15 Simon Josefsson <jas@extundo.com>
953 * rijndael.m4: New file.
955 2005-10-14 Simon Josefsson <jas@extundo.com>
957 * arcfour.m4: New file.
959 2005-10-12 Bruno Haible <bruno@clisp.org>
961 * stdbool.m4 (gl_STDBOOL_H): Define as an alias of AM_STDBOOL_H.
962 Reported by Stepan Kasal <kasal@ucw.cz>.
964 2005-10-12 Simon Josefsson <jas@extundo.com>
966 * gc-pbkdf2-sha1.m4: New file.
968 * gc-hmac-sha1.m4: New file.
972 * hmac-sha1.m4: New file.
974 2005-10-12 Simon Josefsson <jas@extundo.com>
976 * gc-md5.m4, gc-hmac-md5: New files.
978 * gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5.
980 2005-10-11 Simon Josefsson <jas@extundo.com>
984 2005-10-07 Simon Josefsson <jas@extundo.com>
986 * memxor.m4: Remove gl_C_RESTRICT call.
988 2005-10-06 Paul Eggert <eggert@cs.ucla.edu>
990 * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
991 promotes to int, not unsigned int, to catch the AIX 5.3
994 2005-10-06 Simon Josefsson <jas@extundo.com>
996 * hmac-md5.m4: New file.
998 * memxor.m4: Require gl_C_RESTRICT.
1000 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
1002 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for
1003 sys/socket.h, netdb.h, sys/types.h; the checks areno longer
1004 needed, since the source code now assumes these .h files.
1006 2005-10-05 Simon Josefsson <jas@extundo.com>
1008 * memxor.m4: New file.
1010 2005-10-02 Paul Eggert <eggert@cs.ucla.edu>
1012 Sync from coreutils.
1013 * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
1014 * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
1015 defines ULONG_MAX_LT_ULLONG_MAX. Thomas M.Ott reports that
1016 ULLONG_MAX doesn't work with 2.7.2.1.
1018 2005-10-02 Jim Meyering <jim@meyering.net>
1020 Sync from coreutils.
1021 * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
1022 from glibc-2.2.5 that fails for read-only files.
1024 2005-10-02 Alfred M. Szmidt <ams@gnu.org>
1026 Sync from coreutils.
1027 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
1028 against `yes', rather than just testing for nonempty.
1030 2005-10-01 Simon Josefsson <jas@extundo.com>
1032 * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
1035 * getaddrinfo.m4: Use AC_GNU_SOURCE, GNU only declare getaddrinfo
1036 as an (POSIX) extension. Check for sys/types.h, sys/socket.h, and
1037 netdb.h too, needed by getaddrinfo.h. Check if getaddrinfo,
1038 freeaddrinfo and gai_strerror are declared by the POSIX headers.
1039 Check if struct addrinfo is declared.
1041 2005-10-01 Jim Meyering <jim@meyering.net>
1043 Sync from coreutils.
1045 * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
1046 libraries [inet nsl socket xnet]. Nelson Beebe reported that with
1047 native cc on Solaris 7, getaddrinfo.c requires -lsocket.
1048 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
1049 in the inet and nsl libraries. Required on Solaris 5.7.
1051 2005-09-24 Jim Meyering <jim@meyering.net>
1053 Sync from coreutils.
1054 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
1055 in the inet and nsl libraries. Required on Solaris 5.7.
1057 2005-09-26 Bruno Haible <bruno@clisp.org>
1059 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
1060 mbchar.c if they are not both present.
1061 * mbfile.m4 (gl_MBFILE): Require gl_FUNC_MBRTOWC.
1062 * mbiter.m4 (gl_MBITER): Likewise.
1063 * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
1064 * strcasestr.m4 (gl_PREREQ_STRCASESTR): Likewise.
1065 * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
1067 2005-09-23 Paul Eggert <eggert@cs.ucla.edu>
1069 * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
1070 and similarly for the other external symbols. Problem reported
1073 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
1074 bug reported by Jim Meyering.
1076 * utimens.m4 (gl_UTIMENS): Check for futimesat.
1077 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
1078 not needed, since socklen is a prerequisite module.
1080 2005-09-23 Jim Meyering <jim@meyering.net>
1082 Sync from coreutils.
1083 Correct build failure (socklen_t not defined) on at least
1084 mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
1085 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
1087 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
1089 Sync from coreutils.
1090 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
1092 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
1094 Sync from coreutils.
1096 * backupfile.m4, calloc.m4, chown.m4, cloexec.m4, dup2.m4:
1097 * fileblocks.m4, free.m4, ftruncate.m4, getcwd.m4, getpagesize.m4:
1098 * getugroups.m4, group-member.m4, idcache.m4, link-follow.m4:
1099 * mkstemp.m4, mktime.m4, mountlist.m4, nanosleep.m4, pathmax.m4:
1100 * physmem.m4, posixver.m4, putenv.m4, safe-read.m4, same.m4:
1101 * save-cwd.m4, stdio-safer.m4, unistd-safer.m4, unlinkdir.m4:
1102 * userspec.m4, xgetcwd.m4, xreadlink.m4:
1103 Don't bother checking for string.h, stdlib.h, unistd.h.
1104 * fts.m4 (gl_FUNC_FTS_CORE): Don't require
1105 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
1107 * jm-macros.m4 (gl_MACROS): Likewise.
1108 * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
1110 * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
1111 (gl_GETDATE): Use it.
1113 * mkdir-p.m4 (gl_MKDIR_PARENTS): Don't bother checking for unistd.h.
1115 2005-09-22 Jim Meyering <jim@meyering.net>
1117 Sync from coreutils.
1119 * lstat.m4 (gl_FUNC_LSTAT):
1120 Use AC_LIBSOURCES to require lstat.c and lstat.h.
1121 Remove obsolete comment.
1122 * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
1123 * xstrtod.m4: Likewise.
1125 * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
1127 2005-09-19 Simon Josefsson <jas@extundo.com>
1129 * socklen.m4: Fix typo.
1131 2005-09-15 Paul Eggert <eggert@cs.ucla.edu>
1133 * st_mtim.m4: Remove. Superseded by...
1134 * stat-time.m4: New file.
1135 * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
1136 Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
1138 2005-09-15 Derek Price <derek@ximbiot.com>
1140 * strstr.m4 (gl_FUNC_STRSTR): Don't define strstr here.
1142 2005-09-12 Derek Price <derek@ximbiot.com>
1144 Make canon-host require getaddrinfo.
1145 * canon-host.m4 (gl_CANON_HOST): Remove most dependencies.
1146 AC_LIBSOURCE canon-host.h. Call...
1147 (gl_PREREQ_CANON_HOST): ...this new function, which requires
1149 * getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when needed.
1151 2005-09-12 Derek Price <derek@ximbiot.com>
1152 Paul Eggert <eggert@cs.ucla.edu>
1154 * m4/glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c,
1155 glob_.h, glob-libc.h.
1156 (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed.
1158 2005-08-31 Simon Josefsson <jas@extundo.com>
1160 * socklen.m4: New file.
1162 2005-09-03 Derek Price <derek@ximbiot.com>
1164 * getlogin_r (gl_GETLOGIN_R): Fix cut & paste error.
1165 From Larry Jones <lawrence.jones@ugs.com>.
1167 2005-08-27 Bruno Haible <bruno@clisp.org>
1169 Support for lib vs. lib64 distinction on biarch platforms.
1170 * lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): New macro.
1171 (AC_LIB_PREFIX): Require it. Use $acl_libdirstem instead of 'lib'.
1172 * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
1174 2005-09-01 Jim Meyering <jim@meyering.net>
1176 * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
1177 CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
1178 Require gl_STAT_MACROS, too.
1180 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
1182 * regex.m4 (gl_REGEX): Require AC_SYS_LARGEFILE, Define
1183 _REGEX_LARGE_OFFSETS). Test for regoff_t/off_t bug in 64-bit
1184 and large-file glibc and in 32-bit large-file Solaris.
1186 2005-08-28 Bruno Haible <bruno@clisp.org>
1188 * gnulib-tool.m4: New file.
1190 2005-08-27 Jim Meyering <jim@meyering.net>
1192 * stdlib-safer.m4: New file. From coreutils.
1193 * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h.
1194 * fcntl-safer.m4 (gl_FCNTL_SAFER): Add creat-safer.c to the
1195 AC_LIBSOURCES list and arrange to compile it via AC_LIBOBJ.
1196 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise, add pipe-safer.c.
1197 Add pipe-safer.c and unistd--.h to the AC_LIBSOURCES list.
1199 2005-08-24 Simon Josefsson <jas@extundo.com>
1201 * getpass.m4: Check for termios.h, tcgetattr, tcsetattr, and
1204 2005-08-25 Stepan Kasal <kasal@ucw.cz>
1206 * regex.m4: Add AC_PREREQ(2.50).
1207 (gl_REGEX): If --with-included-regex was given, skip the autodetection.
1209 2005-08-25 Bruno Haible <bruno@clisp.org>
1211 * minmax.m4: Require autoconf 2.52.
1212 (gl_MINMAX_IN_HEADER): Add comments. Use m4_pushdef/m4_popdef instead
1213 of define/undefine. Use AS_TR_SH and AS_TR_CPP as more robust
1214 alternatives of translit over the alphabet.
1215 Based on a patch from Stepan Kasal <kasal@ucw.cz>.
1217 2005-08-24 Paul Eggert <eggert@cs.ucla.edu>
1219 * regex.m4 (gl_REGEX): Use POSIX-compliant spellings when testing
1220 for GNU regex features.
1222 2005-08-24 Jim Meyering <jim@meyering.net>
1224 Sync from coreutils.
1225 * fcntl-safer.m4: New file.
1227 * xgetcwd.m4: Use AC_LIBSOURCES and AC_LIBOBJ to indicate source
1228 and object files for this module.
1230 2005-08-23 Paul Eggert <eggert@cs.ucla.edu>
1232 * regex.m4 (gl_INCLUDED_REGEX): Remove; no longer used.
1233 All contents moved to gl_REGEX.
1234 (gl_REGEX): Don't bother checking whether lib/regex.c exists;
1235 assume that it does.
1237 2005-08-20 Bruno Haible <bruno@clisp.org>
1239 * regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
1241 2005-08-17 Bruno Haible <bruno@clisp.org>
1243 * strcasestr.m4: New file.
1245 2005-08-17 Bruno Haible <bruno@clisp.org>
1247 * strstr.m4 (gl_FUNC_STRSTR): Use the replacement function always.
1248 (gl_PREREQ_STRSTR): Use gl_FUNC_MBRTOWC.
1250 2005-08-16 Paul Eggert <eggert@cs.ucla.edu>
1252 * getopt.m4 (gl_GETOPT_CHECK_HEADERS): Do not override the results
1253 of gl_GETOPT_SUBSTITUTE. That way, if both gl_GETOPT_SUBSTITUTE
1254 and gl_GETOPT are both invoked via different paths (as happens
1255 with GNU tar CVS because it uses both argp and getopt), the former
1258 2005-08-16 Bruno Haible <bruno@clisp.org>
1260 * strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function always.
1261 (gl_PREREQ_STRCASECMP): Use gl_FUNC_MBRTOWC.
1263 2005-08-16 Bruno Haible <bruno@clisp.org>
1265 * mbfile.m4: New file.
1267 2005-08-16 Bruno Haible <bruno@clisp.org>
1269 * mbiter.m4: New file.
1271 2005-08-16 Bruno Haible <bruno@clisp.org>
1273 * mbchar.m4: New file.
1275 2005-08-16 Bruno Haible <bruno@clisp.org>
1277 * tls.m4: New file, from GNU gettext.
1279 2005-08-12 Bruno Haible <bruno@clisp.org>
1281 * readline.m4 (gl_FUNC_READLINE): Look for ncurses first.
1283 2005-08-12 Simon Josefsson <jas@extundo.com>
1285 * readline.m4: Look for termcap, curses or ncurses if required.
1287 2005-08-11 Simon Josefsson <jas@extundo.com>
1289 * readline.m4: New file.
1291 2005-08-10 Simon Josefsson <jas@extundo.com>
1293 * strnlen.m4: New file.
1295 * strndup.m4: Don't check for strnlen declaration, done in
1298 2005-08-10 Stepan Kasal <kasal@ucw.cz>
1300 * onceonly_2_57.m4: Really require Autoconf 2.57.
1302 2005-08-02 Simon Josefsson <jas@extundo.com>
1304 * getline.m4: Separate out getdelim stuff into separate module.
1306 * getdelim.m4: New file.
1308 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1310 Add support to getopt for Emacs, which doesn't use LIBOBJS in the
1312 * getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER): New macro.
1313 (gl_GETOPT_SUBSTITUTE): Use it. Invoke gl_PREREQ_GETOPT.
1314 (gl_GETOPT_IFELSE, gl_GETOPT_CHECK_HEADERS): New macros.
1315 (gl_GETOPT): Use the new macros. Most of the implementation
1316 is moved to the new macros. This is for programs like Emacs
1317 that don't want all the functionality of gl_GETOPT.
1319 2005-07-26 Bruno Haible <bruno@clisp.org>
1321 * lock.m4: Update from GNU gettext.
1323 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1325 * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_IFELSE instead of the
1326 obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
1328 2005-07-24 Bruno Haible <bruno@clisp.org>
1330 * visibility.m4: New file.
1332 2005-07-18 Bruno Haible <bruno@clisp.org>
1334 * lock.m4: New file, from GNU gettext.
1336 2005-06-01 Bruno Haible <bruno@clisp.org>
1338 * poll.m4 (gl_FUNC_POLL): Check against MacOS X 10.4 poll() bug.
1339 When using lib/poll.c, define poll as rpl_poll.
1341 2005-07-14 Bruno Haible <bruno@clisp.org>
1343 * argp.m4 (gl_ARGP): Remove invocation of gl_FUNC_GLIBC_UNLOCKED_IO.
1344 Instead, test for *_unlocked function declarations directly.
1346 2005-07-14 Derek Price <derek@ximbiot.com>
1348 * glob.m4 (gl_GLOB): Cache glob interface check result. Add check for
1351 2005-07-10 Bruno Haible <bruno@clisp.org>
1353 * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t.
1354 Needed when size_t is smaller than 'unsigned int'.
1355 Reported by Paul Eggert.
1357 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1359 * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1360 * same.m4 (gl_SAME): Likewise.
1361 Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1363 * regex.m4: Adjust to new libc regex implementation.
1364 (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
1365 all the .c and .h parts of (the new) regex.
1366 Quote the m4 stuff better.
1367 Check for RE_ICASE bug of old gnulib.
1368 Check for REG_STARTEND of recent libc.
1369 Rename local variables from jm_* to gl_*.
1370 Quote operand of "test -f".
1371 Say "recent enough" version of libc, not "version 2".
1372 (gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a
1373 prerequisite module. Remove AC_HEADER_STDC; no longer needed.
1374 Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll.
1375 Remove check for btowc, isascii.
1376 Require AM_LANGINFO_CODESET.
1378 2005-07-05 Bruno Haible <bruno@clisp.org>
1380 * mbrtowc.m4 (gl_FUNC_MBRTOWC): Upgrade to version from current
1381 autoconf CVS. Needed for mingw.
1383 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1385 Remove the dependency of the strftime module on the tzset module.
1386 * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1388 2005-07-02 Jim Meyering <jim@meyering.net>
1390 * chown.m4, cloexec.m4, dup2.m4, fsusage.m4:
1391 * getcwd-path-max.m4, getcwd.m4, mkstemp.m4, mountlist.m4:
1392 * pagealign_alloc.m4, save-cwd.m4, unistd-safer.m4:
1393 Don't check for fcntl.h, and don't test for HAVE_FCNTL_H.
1395 2005-06-28 Simon Josefsson <jas@extundo.com>
1397 * check-version.m4: New file, suggested by Jim Meyering
1400 2005-06-24 Derek Price <derek@ximbiot.com>
1401 and Bruno Haible <bruno@clisp.org>
1403 Remove stat module & update lstat.
1404 * lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
1405 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1406 * stat.m4: Remove this file.
1408 2005-06-20 Derek Price <derek@ximbiot.com>
1410 * bison.m4: Note that precious decls of YACC & YFLAGS will be
1411 unnecessary for Autoconfs > 2.59c.
1413 2005-06-16 Derek Price <derek@ximbiot.com>
1415 * bison.m4: Declare YACC & YFLAGS precious.
1417 2005-06-08 Bruno Haible <bruno@clisp.org>
1419 * csharpcomp.m4: New file, from GNU gettext.
1421 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1423 Sync from coreutils.
1424 * mkdir-p.m4: Renamed from makepath.m4.
1425 (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed.
1426 Rename files from makepath.c to mkdir-p.c, and from
1427 makepath.h to mkdir-p.h.
1428 * filenamecat.m4: Renamed from path-concat.m4.
1429 (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed.
1430 Rename files from path-concat.c to filenamecat.c,
1431 and from path-concat.h to filenamecat.h.
1432 * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1433 "file name" in local variables or comments.
1434 * rename.m4: Likewise.
1436 2005-06-01 Bruno Haible <bruno@clisp.org>
1438 * csharp.m4: New file, from GNU gettext.
1439 * csharpexec.m4: New file, from GNU gettext.
1441 2005-05-31 Derek Price <derek@ximbiot.com>
1442 Paul Eggert <eggert@cs.ucla.edu>
1445 * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
1447 2005-05-29 Derek Price <derek@ximbiot.com>
1448 Paul Eggert <eggert@cs.ucla.edu>
1450 * glob.m4: New file.
1452 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1454 * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1455 and don't require gt_INTTYPES_PRI.
1457 2005-05-26 Paul Eggert <eggert@cs.ucla.edu>
1459 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Define
1460 _POSIX_PTHREAD_SEMANTICS for Solaris.
1462 2005-05-25 Derek Price <derek@ximbiot.com>
1463 Paul Eggert <eggert@cs.ucla.edu>
1465 * getlogin_r.m4: New files.
1467 2005-05-22 Bruno Haible <bruno@clisp.org>
1469 * minmax.m4: New file.
1470 Based on a patch by Derek Price <derek@ximbiot.com>.
1472 2005-05-20 Paul Eggert <eggert@cs.ucla.edu>
1474 * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1475 (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1477 2005-05-20 Eric Blake <ebb9@byu.net> (tiny change)
1479 * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1482 2005-05-18 Paul Eggert <eggert@cs.ucla.edu>
1484 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1485 Don't check for stddef.h.
1486 * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1487 don't use its results.
1488 Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1489 since we include them unconditionally. Don't require
1490 AM_STDBOOL_H, since stdbool is a prerequisite.
1491 Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1492 since we assume C89 or better.
1493 Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1494 as we don't use their results.
1495 Don't check for fchdir, memmove, memset, strrchr, as we use
1496 them unconditionally.
1497 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1498 GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1500 2005-05-18 Jim Meyering <jim@meyering.net>
1502 * fts.m4 (AC_LIBSOURCES): Add intprops.h to the list.
1503 Reported by Yoann Vandoorselaere.
1505 2005-05-17 Jim Meyering <jim@meyering.net>
1507 * fts.m4: New file, from coreutils.
1509 2005-05-14 Paul Eggert <eggert@cs.ucla.edu>
1511 Sync from coreutils.
1512 * unlinkdir.m4: New file.
1514 2005-05-10 Derek Price <derek@ximbiot.com>
1516 * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1519 2005-05-10 Simon Josefsson <jas@extundo.com>
1521 * getaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
1522 Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
1524 2005-05-09 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
1525 Bruno Haible <bruno@clisp.org>
1527 * inet_ntop.m4: New file.
1529 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1531 * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1534 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1536 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1537 * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1538 (gl_PREREQ_CHOWN): Remove.
1539 * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1540 it. Don't require AC_HEADER_STAT.
1541 (gl_PREREQ_LSTAT): Remove.
1542 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1543 Don't require AC_HEADER_STAT.
1544 * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1545 (gl_PREREQ_RMDIR): Remove.
1546 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1547 mention stat-macros.h or AC_HEADER_STAT, since we'll make
1548 the stat-macros module a prerequisite.
1549 * file-type.m4 (gl_FILE_TYPE): Likewise.
1550 * filemode.m4 (gl_FILEMODE): Likewise.
1551 * makepath.m4 (gl_MAKEPATH): Likewise.
1552 * modechange.m4 (gl_MODECHANGE): Likewise.
1553 * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1555 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1556 fetish_FUNC_RMDIR_NOTEMPTY. All uses changed. Use gl_ for
1558 * fcntl-safer.m4: Remove.
1559 * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1560 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1561 Invoke gl_PREREQ_FD_SAFER.
1562 (gl_PREREQ_FD_SAFER): New macro.
1563 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Check for siginterrupt.
1564 * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1565 Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1566 Remove duplicate call to AC_LIBOBJ(readutmp).
1567 (gl_PREREQ_READUTMP): Remove. All uses inlined.
1569 * mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check for message, not for
1570 MAP_ANON. Problem reported by Moriyoshi Koizumi to bug-cvs.
1572 2005-05-01 Oskar Liljeblad <oskar@osk.mine.nu>
1574 * byteswap.m4: New file.
1578 * gettext.m4: Update from GNU gettext 0.14.4.
1580 2005-04-15 Simon Josefsson <jas@extundo.com>
1582 * getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
1584 2005-03-28 Eric Blake <ebb9@byu.net> (tiny change)
1586 * getcwd-path-max.m4: Return success on systems such as Cygwin
1587 where no absolute path name can be longer than PATH_MAX.
1589 2005-03-22 Jim Meyering <jim@meyering.net>
1591 * stat-macros.m4 (gl_STAT_MACROS): New file/macro.
1593 2005-03-21 Jim Meyering <jim@meyering.net>
1594 and Paul Eggert <eggert@cs.ucla.edu>
1596 * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4,
1597 cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4,
1598 exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4,
1599 getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4,
1600 getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4,
1601 idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4,
1602 memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4,
1603 path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4,
1604 quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4,
1605 safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4,
1606 strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4,
1607 unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4,
1608 xnanosleep.m4, xstrtol.m4, yesno.m4:
1609 Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files
1612 2005-03-21 Jim Meyering <jim@meyering.net>
1614 * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Invoke gl_FUNC_MEMRCHR.
1615 * memrchr.m4 (gl_FUNC_MEMRCHR): Check for memrchr decl.
1617 2005-03-16 Bruno Haible <bruno@clisp.org>
1619 * stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
1620 HAVE_LONGLONG_64BIT.
1622 2005-03-14 Bruno Haible <bruno@clisp.org>
1624 * lib-link.m4, gettext.m4, nls.m4, po.m4:
1625 Update from GNU gettext 0.14.3.
1627 2005-03-10 Jim Meyering <jim@meyering.net>
1629 * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1631 2005-03-07 Bruno Haible <bruno@clisp.org>
1633 * mmap-anon.m4 (MAP_FILE, MAP_FAILED): Remove definitions.
1635 2005-03-03 Bruno Haible <bruno@clisp.org>
1637 * inttypes.m4, isc-posix.m4, once-only.m4:
1638 Use an all-permissive copyright notice, recommended by RMS.
1640 2005-03-03 Derek R. Price <derek@ximbiot.com>
1642 * mmap-anon.m4: New file.
1643 * pagealign_alloc.m4: New file.
1645 2005-01-28 Bruno Haible <bruno@clisp.org>
1647 * stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because of
1648 AIX, the replacement has to be done only after <string.h> is included,
1649 therefore not in config.h. stpncpy.h does the replacement, and
1652 2005-03-01 Paul Eggert <eggert@cs.ucla.edu>
1654 * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1655 to detect nanosleep bug.
1657 2005-02-25 Paul Eggert <eggert@cs.ucla.edu>
1659 * gethrxtime.m4, xnanosleep.m4: New files.
1660 * gettime.m4 (gl_GETTIME): Check for nanotime.
1662 2005-02-24 Bruno Haible <bruno@clisp.org>
1664 * gettext.m4, intdiv0.m4, intmax.m4, inttypes-pri.m4, lcmessage.m4:
1665 * lib-link.m4, lib-prefix.m4, nls.m4, po.m4, printf-posix.m4:
1667 Update from GNU gettext 0.14.2.
1668 * glibc2.m4: New file, from GNU gettext 0.14.2.
1670 2005-02-22 Simon Josefsson <jas@extundo.com>
1672 * iconvme.m4: New file.
1674 2005-02-23 Jim Meyering <jim@meyering.net>
1676 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
1677 Thanks to Bruno Haible for catching it.
1679 2005-02-22 Jim Meyering <jim@meyering.net>
1681 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
1683 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1685 * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
1687 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
1689 Sync from coreutils.
1690 * getloadavg.m4, glibc.m4, search-libs.m4: Remove.
1692 Remove files that are specific to coreutils.
1693 * check-decl.m4, jm-macros.m4, lib-check.m4, prereq.m4: Remove.
1695 2005-01-28 Bruno Haible <bruno@clisp.org>
1697 * javacomp.m4: New file, from GNU gettext.
1699 2005-01-26 Bruno Haible <bruno@clisp.org>
1701 * javaexec.m4: New file, from GNU gettext.
1703 2005-01-24 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1705 * sysexits.m4 (gl_SYSEXITS): Reverted logic. SYSEXITS_H
1706 must be defined if the header file was not found, in order
1707 to provide a replacement. Reported by Todd Vierling <tv@duh.org>
1709 2005-01-23 Paul Eggert <eggert@cs.ucla.edu>
1711 * acl.m4, afs.m4, alloca.m4, argp.m4, assert.m4, atexit.m4,
1712 backupfile.m4, base64.m4, bison.m4, c-bs-a.m4, c-stack.m4,
1713 c-strtod.m4, calloc.m4, canon-host.m4, canonicalize.m4,
1714 clock_time.m4, cloexec.m4, closeout.m4, d-ino.m4, d-type.m4,
1715 dirfd.m4, dirname.m4, dos.m4, dup2.m4, error.m4, euidaccess.m4,
1716 exclude.m4, exitfail.m4, extensions.m4, fcntl-safer.m4,
1717 file-type.m4, fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4,
1718 free.m4, fstypename.m4, fsusage.m4, ftruncate.m4, getaddrinfo.m4,
1719 getcwd-path-max.m4, getcwd.m4, getdate.m4, getdomainname.m4,
1720 getgroups.m4, gethostname.m4, getline.m4, getndelim2.m4,
1721 getnline.m4, getopt.m4, getpagesize.m4, getpass.m4, getsubopt.m4,
1722 gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4,
1723 group-member.m4, hard-locale.m4, hash.m4, host-os.m4, human.m4,
1724 idcache.m4, inttostr.m4, isdir.m4, jm-winsz1.m4, jm-winsz2.m4,
1725 link-follow.m4, long-options.m4, ls-mntd-fs.m4, lstat.m4,
1726 makepath.m4, mathl.m4, md5.m4, memcasecmp.m4, memchr.m4,
1727 memcmp.m4, memcoll.m4, memcpy.m4, memmem.m4, memmove.m4,
1728 memrchr.m4, memset.m4, mkdir-slash.m4, mkstemp.m4, mktime.m4,
1729 modechange.m4, mountlist.m4, nanosleep.m4, obstack.m4,
1730 path-concat.m4, pathmax.m4, perl.m4, physmem.m4, poll.m4,
1731 posixtm.m4, posixver.m4, putenv.m4, quote.m4, quotearg.m4,
1732 readdir.m4, readtokens.m4, readutmp.m4, regex.m4, rename.m4,
1733 restrict.m4, rmdir-errno.m4, rmdir.m4, rpmatch.m4, same.m4,
1734 savedir.m4, settime.m4, sha1.m4, sig2str.m4, snprintf.m4,
1735 sockpfaf.m4, st_dm_mode.m4, st_mtim.m4, stat.m4, stdint.m4,
1736 stdio-safer.m4, strchrnul.m4, strdup.m4, strerror.m4,
1737 strerror_r.m4, strftime.m4, strndup.m4, strnlen.m4, strsep.m4,
1738 strtod.m4, strtoimax.m4, strtok_r.m4, strtol.m4, strtoll.m4,
1739 strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4, sysexits.m4,
1740 time_r.m4, timegm.m4, timespec.m4, tm_gmtoff.m4, tzset.m4,
1741 uint32_t.m4, uintptr_t.m4, unistd-safer.m4, unlink-busy.m4,
1742 unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4, utime.m4,
1743 utimecmp.m4, utimens.m4, utimes-null.m4, vsnprintf.m4, xalloc.m4,
1744 xgetcwd.m4, xreadlink.m4, xstrndup.m4, xstrtod.m4, xstrtoimax.m4,
1745 xstrtol.m4, xstrtoumax.m4, yesno.m4:
1746 Use an all-permissive copyright notice, recommended by RMS.
1748 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
1750 * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
1752 2005-01-18 Paul Eggert <eggert@cs.ucla.edu>
1754 Merge from coreutils.
1755 * ullong_max.m4: New file.
1756 * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
1757 (gl_MACROS): Assume localeconv exists.
1759 2005-01-18 Jim Meyering <jim@meyering.net>
1761 Merge from coreutils.
1762 * chdir-long.m4, openat.m4: New files.
1763 * save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c,
1764 save-cwd.h. Add AC_LIBOBJ for save-cwd.
1765 * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
1766 is sane and DOES follow symlinks. Besides, testing 20 different
1767 systems found no broken chown implementations.
1768 Prompted by a change in rsync's copy of this macro.
1769 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR_LONG.
1771 * lchown.m4 (gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
1773 * utimes.m4: Work around tests/touch/empty-file failure on a system
1774 (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
1775 NULL-means-set-to-current-time semantics.
1776 Remove temporary file immediately, rather than waiting
1777 for configure's at-exit trap code to do it.
1779 2005-01-18 Bruno Haible <bruno@clisp.org>
1781 * allocsa.m4, codeset.m4, copy-file.m4, eaccess.m4, eealloc.m4:
1782 * eoverflow.m4, execute.m4, fatal-signal.m4, findprog.m4, glibc21.m4:
1783 * iconv.m4, intmax_t.m4, inttypes_h.m4, lib-ld.m4, lib-link.m4:
1784 * lib-prefix.m4, linebreak.m4, localcharset.m4, longdouble.m4:
1785 * longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mkdtemp.m4:
1786 * pipe.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4:
1787 * sig_atomic_t.m4, signalblocking.m4, signed.m4, size_max.m4:
1788 * ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4, stpncpy.m4:
1789 * strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, ucs4-utf.m4:
1790 * uintmax_t.m4, ulonglong.m4, unicodeio.m4, utf-ucs4.m4, vasnprintf.m4:
1791 * vasprintf.m4, wait-process.m4, wchar_t.m4, wint_t.m4, xsize.m4:
1792 Use an all-permissive copyright notice, recommended by RMS.
1794 2005-01-06 Bruno Haible <bruno@clisp.org>
1796 * stpncpy.m4 (gl_FUNC_STPNCPY): Rename stpncpy to gnu_stpncpy here.
1798 2005-01-04 Jim Meyering <jim@meyering.net>
1800 Changes imported from coreutils.
1801 * mkstemp.m4 (gl_FUNC_MKSTEMP): Rather than using "conftestXXXXXX"
1802 as the mkstemp template, use a temporary directory and an
1803 8.3-friendly template to avoid trouble on systems like DJGPP.
1804 Reported by Juan M. Guerrero via Stepan Kasal.
1805 * (gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of close.
1806 Remove the temporary directory right away, rather than waiting
1807 for configure's at-exit trap code to do it.
1808 Suggestion from Stepan Kasal.
1810 2004-12-24 Paul Eggert <eggert@cs.ucla.edu>
1812 * c-strtod.m4 (gl_C99_STRTOLD): New macro.
1813 (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
1815 2004-12-23 Paul Eggert <eggert@cs.ucla.edu>
1817 * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
1819 2004-12-18 Bruno Haible <bruno@clisp.org>
1821 * fatal-signal.m4 (gl_FATAL_SIGNAL): Also test for sigaction.
1823 2004-12-07 Paul Eggert <eggert@cs.ucla.edu>
1825 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
1826 spurious "-l"s. Problem reported by Stepan Kasal.
1828 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1830 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
1831 in Autoconf 2.59. Problem reported by Mark D. Baushke.
1833 2004-12-04 Paul Eggert <eggert@cs.ucla.edu>
1835 Changes imported from coreutils.
1836 * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
1838 * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
1840 2004-11-30 Paul Eggert <eggert@cs.ucla.edu>
1842 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1843 Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
1845 * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
1847 2004-11-30 Simon Josefsson <jas@extundo.com>
1849 * base64.m4: New file.
1851 2004-11-30 Simon Josefsson <jas@extundo.com>
1853 * restrict.m4: Add copyright and copying conditions.
1855 2004-11-25 Paul Eggert <eggert@cs.ucla.edu>
1857 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
1858 GL_FUNC_GETCWD_PATH_MAX for consistency. All uses changed.
1859 Use the _ONCE methods, for efficiency.
1860 Check for fcntl.h. In test program, include <errno.h>
1861 and <fcntl.h> if available. Remove old K&R cruft from
1862 test program. Check for common errors in GNU/Linux,
1863 OpenBSD, and Solaris. Just set gl_cv_func_getcwd_path_max;
1864 don't do AC_LIBOBJ, as that's getcwd.m4's job.
1865 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
1866 AC_FUNC_GETCWD_NULL. All used changed. Change cache variable
1868 (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros. Revamp to
1869 accommodate new getcwd.c.
1870 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
1871 * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
1872 * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
1873 that's all we need now.
1875 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1877 * utimens.m4 (gl_UTIMENS): Check for futimes function.
1879 2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1881 * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
1882 argp-parse.c depends on getopt internals, that means we should
1883 always use our getopt, to be on the safe side.
1884 * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
1885 order not to spoil the result of an eventual previous invocation
1886 of gl_GETOPT_SUBSTITUTE.
1888 2004-11-17 Paul Eggert <eggert@cs.ucla.edu>
1890 * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
1891 that mishandle size_t overflow.
1893 2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
1895 * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
1897 2004-11-13 Jim Meyering <jim@meyering.net>
1899 * jm-macros.m4: Do require gl_FUNC_FPENDING.
1901 2004-11-11 Paul Eggert <eggert@cs.ucla.edu>
1903 * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead
1904 of replacing opterr, getopt, etc. This should handle the
1905 powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson.
1907 2004-11-11 Simon Josefsson <jas@extundo.com>
1909 * strtok_r.m4: New file.
1911 * getopt.m4: Replace opterr.
1913 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
1915 * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
1917 2004-11-10 Jim Meyering <jim@meyering.net>
1919 * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING.
1921 2004-11-08 Simon Josefsson <jas@extundo.com>
1923 * getaddrinfo.m4: New file.
1925 2004-11-09 Paul Eggert <eggert@cs.ucla.edu>
1927 * strftime.m4 (_gl_STRFTIME_PREREQS): Remove. Move its body to
1929 (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE
1930 and AC_REQUIRE when possible, to avoid duplicate checks.
1931 Check for <wchar.h>.
1933 2004-11-09 Bruno Haible <bruno@clisp.org>
1935 * sockpfaf.m4: New file.
1937 2004-11-03 Albert Chin <china@thewrittenword.com>
1938 Paul Eggert <eggert@cs.ucla.edu>
1940 * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
1941 equivalent, substitute $ac_type for equivalent type rather than
1942 blindly using uint32_t *always* which won't work if uint32_t is not
1943 available. Define _UINT32_T to work around typedef of uint32_t if
1944 <sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
1947 2004-11-02 Paul Eggert <eggert@cs.ucla.edu>
1949 * jm-macros.m4: Sync from coreutils.
1950 (gl_MACROS): Check for mbrlen, for pathchk.
1951 (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
1953 2004-11-02 Bruno Haible <bruno@clisp.org>
1955 * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv()
1958 2004-11-01 Paul Eggert <eggert@cs.ucla.edu>
1960 * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
1961 fflush_unlocked, flockfile, funlockfile, funlockfile,
1962 fputs_unlocked, putc_unlocked.
1964 2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
1966 * getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
1968 2004-10-15 Paul Eggert <eggert@cs.ucla.edu>
1970 * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
1971 implementation of getopt_long. Problem reported by Alexander Taler in:
1972 http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
1974 2004-10-11 Yoann Vandoorselaere <yoann@prelude-ids.org>
1976 * vsnprintf.m4: New file.
1978 2004-10-05 Bruno Haible <bruno@clisp.org>
1980 * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check
1981 for the declaration of strsep.
1983 2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
1985 * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove. All uses removed.
1987 * unlocked-io.m4: Add copyright notice.
1988 (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
1990 2004-10-04 Simon Josefsson <jas@extundo.com>
1992 * memmem.m4: New file.
1994 2004-10-01 Yoann Vandoorselaere <yoann@prelude-ids.org>
1996 * strsep.m4: New file.
1998 2004-09-30 Simon Josefsson <jas@extundo.com>
2000 * snprintf.m4: New file.
2002 2004-09-09 Bruno Haible <bruno@clisp.org>
2004 * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with
2006 * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
2008 2004-09-08 Bruno Haible <bruno@clisp.org>
2010 * stdint.m4: New file, taken from GNU clisp with modifications.
2012 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
2014 * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA.
2016 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
2018 * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody
2019 uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
2020 Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
2021 Check for program_invocation_name, program_invocation_short_name,
2022 flockfile, funlockfile, features.h, _getopt_long_only_r.
2024 2004-08-12 Simon Josefsson <jas@extundo.com>
2026 * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
2027 as discussed with Paul Eggert in threads rooted at
2028 <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
2030 <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
2031 Before, the test was empty, and relied on ELIDE_CODE in source
2033 (gl_PREREQ_GETOPT): New macro.
2034 (gl_GETOPT): Use them.
2036 2004-08-11 Paul Eggert <eggert@cs.ucla.edu>
2038 Merge from coreutils.
2040 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
2042 * obstack.m4 (gl_PREREQ_OBSTACK): Require
2043 gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
2045 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
2047 * uint32_t.m4, uintptr_t.m4: New files.
2048 * sha1.m4: Renamed from sha.m4.
2049 (gl_SHA1): Renamed from gl_SHA. All uses changed.
2051 2004-08-08 Simon Josefsson <jas@extundo.com>
2053 * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
2054 Check getpass declaration.
2056 2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
2058 More merge from coreutils.
2060 * utimens.m4, utimecmp.m4: New files.
2061 * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
2062 fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
2063 prereq.m4, sha.m4: Import changes from coreutils.
2065 2004-08-05 Paul Eggert <eggert@cs.ucla.edu>
2067 Merge from coreutils.
2069 * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
2072 * dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
2073 FILESYSTEM_PREFIX_LEN ->
2074 FILE_SYSTEM_PREFIX_LEN.
2075 FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX ->
2076 FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.
2077 FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR ->
2078 FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
2080 * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
2081 prerequisite modules now handle the DOS stuff.
2082 Don't check for unistd.h.
2084 2004-08-03 Simon Josefsson <jas@extundo.com>
2086 * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it.
2088 2004-08-02 Simon Josefsson <jas@extundo.com>
2090 * getsubopt.m4: New file.
2092 2004-08-03 Paul Eggert <eggert@cs.ucla.edu>
2094 * fatal.m4: Remove, as the "fatal" module wasn't used or working.
2096 2004-07-13 Robert Millan <robertmh@gnu.org>
2098 * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
2100 2004-06-22 Paul Eggert <eggert@cs.ucla.edu>
2102 * argz.m4: New file, which is autoupdated from libtool.
2104 2004-06-01 Jim Meyering <jim@meyering.net>
2106 * calloc.m4: New file.
2108 2004-06-01 Paul Eggert <eggert@cs.ucla.edu>
2110 Merge from coreutils CVS.
2112 * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4,
2113 makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4,
2114 putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4,
2115 strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4,
2116 xstrtol.m4: Fix copyright date and/or serial number.
2118 * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
2119 See if we need an fchown replacement.
2120 (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
2121 (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
2122 and use the replacement function if we detect either defect.
2124 * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR,
2127 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
2129 * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI
2130 C B3910B A.05.55 [Dec 04 2003]. Problem reported by Jim Meyering.
2131 Also, fix a typo in a diagnostic.
2133 2004-05-30 Paul Eggert <eggert@cs.ucla.edu>
2135 * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC
2138 2004-05-20 Andreas Schwab <schwab@suse.de>
2140 * free.m4: Replace free if it not known to work, not the other
2143 2004-05-17 Derek R. Price <derek@ximbiot.com>
2144 Paul Eggert <eggert@cs.ucla.edu>
2146 * argp: Depend on alloca.
2148 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
2150 * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
2151 for backward compatibility with older code. We need our own
2152 alloca.h if _AIX is defined. Define HAVE_ALLOCA if we discover
2153 it under some other name, and our alloca.h will define it.
2155 2004-05-13 Paul Eggert <eggert@cs.ucla.edu>
2157 * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC.
2158 Check for gettimeofday.
2159 * settime.m4 (gl_SETTIME): Require gl_TIMESPEC.
2160 Check for settimeofday, stime.
2162 2004-04-20 Paul Eggert <eggert@twinsun.com>
2164 * host-os.m4: Add a copyright notice.
2166 2004-04-20 Jim Meyering <jim@meyering.net>
2168 Change UTILS_ to gl_ in AC_DEFINE'd names.
2169 Change utils_- and jm_-prefixed variables, too.
2170 * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
2171 UTILS_FUNC_MKDIR_TRAILING_SLASH.
2172 * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
2174 * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
2175 Don't emit trailing blanks.
2176 Also rename jm_-prefixed variables to have gl_ prefix.
2178 * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS.
2179 Also rename jm_-prefixed variables to have gl_ prefix.
2181 * jm-macros.m4: Reflect the renamings.
2182 * prereq.m4: Likewise.
2184 2004-04-19 Jim Meyering <jim@meyering.net>
2186 * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
2187 now that readutmp.c may call `free (0)'.
2189 2004-04-19 Bruno Haible <bruno@clisp.org>
2191 * mbrtowc.m4: Change jm_ to gl_ in cache variables as well.
2192 * inttypes_h.m4: Likewise.
2193 * stdint_h.m4: Likewise.
2194 * intmax_t.m4: Likewise.
2195 * uintmax_t.m4: Likewise.
2197 2004-04-18 Jim Meyering <jim@meyering.net>
2199 * prereq.m4: Don't forbid jm_ prefix.
2201 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
2202 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4:
2203 * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4:
2204 * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4:
2205 * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4:
2206 * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4:
2207 * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
2208 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
2209 * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4:
2210 * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4:
2211 * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4:
2212 * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4:
2213 * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4:
2214 * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4:
2215 * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
2216 Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
2218 2004-04-16 Jim Meyering <jim@meyering.net>
2220 * prereq.m4 (jm_PREREQ_STAT): Remove macro. It is specific to
2221 coreutils' stat program.
2222 (gl_PREREQ): Don't require jm_PREREQ_STAT.
2224 2004-03-31 Jim Meyering <jim@meyering.net>
2226 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
2227 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2228 * xalloc.m4: Likewise.
2230 2004-03-30 Jim Meyering <jim@meyering.net>
2232 * realloc.m4: Remove file, since now it does no more than
2233 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
2234 the `configure.ac' section of module/realloc.
2235 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
2237 2004-03-30 Paul Eggert <eggert@twinsun.com>
2239 Merge from coreutils.
2241 * inttostr.m4: New file.
2242 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
2243 Require AM_STDBOOL_H and gl_TIMESPEC instead.
2244 Require gl_CLOCK_TIME.
2245 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
2247 2004-03-30 Jim Meyering <jim@meyering.net>
2249 Merge from coreutils.
2251 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
2252 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
2253 on some systems one must include <grp.h> before it.
2254 Reported by Christian Krackowizer.
2256 2004-03-29 Paul Eggert <eggert@twinsun.com>
2258 * cloexec.m4: New file.
2260 2004-03-18 Paul Eggert <eggert@twinsun.com>
2261 Bruno Haible <bruno@clisp.org>
2263 * mbswidth.m4 (gl_MBSWIDTH): Also test whether <wchar.h> declares
2266 2004-03-07 Paul Eggert <eggert@twinsun.com>
2268 * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
2269 All uses changed. Check for sa_sigaction member; this fixes
2270 a bug first reported by Jason Andrade in
2271 <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
2273 2004-01-18 Simon Josefsson <jas@extundo.com>
2275 * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared.
2277 2004-02-18 Bruno Haible <bruno@clisp.org>
2279 * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
2280 Reported by Derek Robert Price <derek@ximbiot.com>.
2282 2004-02-06 Karl Berry <karl@gnu.org>
2284 * po.m4: update from gettext 0.14.1.
2286 2004-02-03 Bruno Haible <bruno@clisp.org>
2288 * pipe.m4: New file, from GNU gettext.
2290 2004-01-27 Bruno Haible <bruno@clisp.org>
2292 * execute.m4: New file, from GNU gettext.
2294 2003-11-24 Bruno Haible <bruno@clisp.org>
2296 * allocsa.m4: New file, from GNU gettext.
2298 2003-11-24 Bruno Haible <bruno@clisp.org>
2300 * eealloc.m4: New file, from GNU gettext.
2302 2004-01-15 Paul Eggert <eggert@twinsun.com>
2304 Merge from coreutils.
2306 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
2307 * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
2308 (gl_DEFAULT_POSIX2_VERSION): Move
2309 the documentation from 'configure' into 'config.hin',
2310 so that 'configure --help' isn't burdened by it and
2311 we don't have to worry about its formatting there.
2312 Reword the documentation so that it's more succinct
2313 and can be run together into a single paragraph.
2314 * same.m4 (gl_SAME): Check for pathconf.
2316 2004-01-15 Jim Meyering <jim@meyering.net>
2318 Merge from coreutils.
2320 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2321 if no library is required.
2322 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2323 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2324 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2325 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2326 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2327 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2328 value, $ac_cv_search_crypt, if it's "none required".
2329 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2330 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2331 not gl_FUNC_GETLOADAVG.
2332 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2333 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2335 2004-01-15 Alexandre Duret-Lutz <adl@gnu.org>
2337 Merge from coreutils.
2339 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2340 value, $ac_cv_search_nanosleep, if it's "none required".
2342 2003-12-03 Bruno Haible <bruno@clisp.org>
2344 * gettext.m4: Upgrade from gettext-0.13.
2345 * po.m4: Upgrade from gettext-0.13.
2346 * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
2347 * intmax.m4: New file, from gettext-0.13.
2348 * printf-posix.m4: New file, from gettext-0.13.
2350 2003-11-25 Bruno Haible <bruno@clisp.org>
2352 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require
2355 2003-11-17 Bruno Haible <bruno@clisp.org>
2357 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T.
2359 2003-11-12 Paul Eggert <eggert@twinsun.com>
2361 * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or
2364 2003-11-11 Bruno Haible <bruno@clisp.org>
2366 * size_max.m4: New file.
2367 * ptrdiff_max.m4: New file.
2368 * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
2369 * xalloc.m4 (gl_PREREQ_XALLOC): New macro.
2370 (gl_XALLOC): Invoke it.
2372 2003-11-04 Bruno Haible <bruno@clisp.org>
2374 * xsize.m4: New file.
2376 2003-11-03 Bruno Haible <bruno@clisp.org>
2378 * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid.
2380 2003-10-30 Paul Eggert <eggert@cs.ucla.edu>
2382 * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to
2383 netbsd*-gnu*. Suggested by Robert Millan.
2385 2003-10-29 Paul Eggert <eggert@twinsun.com>
2387 * xalloc.m4 (gl_XALLOC): Undo previous change.
2389 2003-10-29 Paul Eggert <eggert@twinsun.com>
2391 * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu. Add comments
2392 to it, and to knetbsd*-gnu and kfreebsd*-gnu. Remove the '*' from
2393 after the 'gnu' in these cases. This fixes some bugs in the
2394 previous change, and is based on suggestions by Robert Millan.
2396 2003-10-28 Paul Eggert <eggert@twinsun.com>
2398 * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and
2399 GNU/KNetBSD. These implementations use glibc atop the FreeBSD and
2400 NetBSD kernels. Requested by Richard Stallman.
2402 2003-10-26 Paul Eggert <eggert@twinsun.com>
2404 * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
2407 2003-10-23 Paul Eggert <eggert@twinsun.com>
2409 * getline.m4 (AM_FUNC_GETLINE):
2410 Don't include getndelim2.o twice into LIBOBJS; this breaks on some
2411 hosts. Problem reported by Derek Robert Price in
2412 <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
2413 This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
2414 * getndelim2.m4 (gl_GETNDELIM2): Likewise.
2416 2003-10-20 Bruno Haible <bruno@clisp.org>
2418 * wait-process.m4: New file.
2420 2003-10-14 Bruno Haible <bruno@clisp.org>
2422 * sig_atomic_t: New file, from GNU gettext.
2423 * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T.
2425 2003-10-12 Paul Eggert <eggert@twinsun.com>
2427 * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE.
2429 2003-10-10 Simon Josefsson <jas@extundo.com>
2431 * argp.m4: Add AC_C_INLINE.
2433 2003-10-08 Paul Eggert <eggert@twinsun.com>
2435 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2437 2003-10-06 Bruno Haible <bruno@clisp.org>
2439 * fatal-signal.m4: New file.
2440 * signalblocking.m4: New file, from GNU gettext.
2442 2003-09-27 Paul Eggert <eggert@twinsun.com>
2444 * free.m4: New file.
2446 2003-09-26 Bruno Haible <bruno@clisp.org>
2448 * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
2449 Don't define stpncpy through config.h; it's now done through stpncpy.h.
2451 2003-09-25 Simon Josefsson <jas@extundo.com>
2452 Bruno Haible <bruno@clisp.org>
2454 * getdomainname.m4: New file.
2456 2003-09-17 Paul Eggert <eggert@twinsun.com>
2458 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2459 to avoid spurious warnings like "AC_RUN_IFELSE was called before
2460 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2462 2003-09-12 Paul Eggert <eggert@twinsun.com>
2464 * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it.
2466 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2467 and AC_MINIX, too, so that their extensions are available.
2469 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
2470 This macro has been superseded by gl_BACKUPFILE.
2472 More patches to assume C89 or better.
2474 * error.m4 (gl_ERROR): Don't check for vprintf.
2476 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2478 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2479 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2480 Include <string.h>, <stdlib.h> unconditionally.
2481 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2482 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2483 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2485 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h
2488 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2489 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2490 * userspec.m4 (gl_USERSPEC): Likewise.
2491 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2492 * xstrtod.m4 (gl_XSTRTOD): Likewise.
2493 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2494 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2496 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2497 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2498 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2499 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2500 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2501 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2504 2003-09-11 Paul Eggert <eggert@twinsun.com>
2506 More patches to assume C89 or better.
2507 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2508 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2509 string.h, memchr, STDC_HEADERS.
2511 2003-09-10 Bruno Haible <bruno@clisp.org>
2513 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2514 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2515 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2516 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2517 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove
2518 <stdlib.h> and <string.h> checks.
2519 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2520 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2522 2003-09-09 Paul Eggert <eggert@twinsun.com>
2524 More patches to assume C89 or better.
2525 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2526 * getopt.m4 (gl_GETOPT): Don't check for string.h.
2527 * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
2529 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2530 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2532 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2534 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2535 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2536 * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
2538 * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
2539 * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
2541 * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
2543 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2544 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2545 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2546 * memcoll.m4 (gl_MEMCOLL): Likewise.
2547 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2548 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2550 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2551 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2552 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2553 C headers, or for string.h.
2554 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2555 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2556 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2557 headers, memory.h, stdlib.h, string.h, strings.h.
2558 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2559 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2560 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2562 * readtokens.m4 (gl_READTOKENS): Don't check for standard C
2563 headers, memory.h, string.h.
2564 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2565 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2567 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2568 * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
2569 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2570 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2571 * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
2572 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2574 2003-09-09 Derek Robert Price <derek@ximbiot.com>
2576 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2579 2003-09-08 Paul Eggert <eggert@twinsun.com>
2581 Assume C89 or better; remove K&R cruft.
2582 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2583 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2584 string.h, getenv, malloc.
2585 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2587 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2588 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2589 do not check for strerror.
2590 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2591 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2592 * fatal.m4 (gl_FATAL): Do not require STDC headers, and
2593 do not check for doprnt or vprintf.
2594 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
2595 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2597 2003-09-06 Paul Eggert <eggert@twinsun.com>
2599 * time_r.m4: New file.
2600 * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
2601 * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
2602 Check for timegm declaration.
2603 (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
2604 Do not check for gmtime_r.
2605 Replace mktime if __mktime_internal does not exist and if mktime
2606 hasn't been replaced already.
2608 2003-08-31 Simon Josefsson <jas@extundo.com>
2610 * timegm.m4: New file.
2612 2003-08-26 Bruno Haible <bruno@clisp.org>
2614 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2615 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2616 followed by '#define fnmatch fnmatch_posix' gives an error.
2618 2003-08-27 Jim Meyering <jim@meyering.net>
2620 * mkstemp.m4: Require that the system mkstemp be able to create
2621 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
2622 would fail after 32. Reported by Danny Levinson. Details here:
2623 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2625 2003-08-20 Karl Berry <karl@gnu.org>
2627 * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
2629 2003-08-19 Jim Meyering <jim@meyering.net>
2631 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2632 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2634 2003-08-19 Bruno Haible <bruno@clisp.org>
2636 * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
2638 2003-08-18 Jim Meyering <jim@meyering.net>
2640 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2641 * lib-ld.m4: Likewise.
2643 2003-08-17 Simon Josefsson <jas@extundo.com>
2645 * argp.m4: New file.
2647 2003-08-17 Simon Josefsson <jas@extundo.com>
2649 * xstrndup.m4: New file.
2651 2003-08-16 Jim Meyering <jim@meyering.net>
2653 * utimes.m4 (gl_FUNC_UTIMES): New file.
2654 * utimes.m4: Removed.
2655 * utimes-null.m4: Renamed from utimes.m4.
2657 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2658 to 1MB, so as not to render systems with no stack size limit (e.g.,
2659 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2660 Include <unistd.h>. On some systems,
2661 it is required for the definition of _SC_PAGESIZE.
2663 2003-08-16 Paul Eggert <eggert@twinsun.com>
2665 Merges from coreutils, etc.
2666 * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
2667 error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28.
2668 * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
2670 * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
2671 * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
2673 2003-08-16 Jim Meyering <jim@meyering.net>
2674 and Paul Eggert <eggert@cs.ucla.edu>
2676 Merges from coreutils, etc.
2678 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
2679 using the latest version from cvs. This avoids problems with #line
2680 directives using a vendor (Sun) compiler.
2681 (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
2682 Don't set GETGROUPS_LIB here; now it's
2683 done via getgroups.m4's wrapper function.
2684 AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
2685 rather than just in sh-util/configure.in, so that the
2686 now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
2688 Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
2689 AC_FUNC_GETLOADAVG where to find getloadavg.c.
2690 Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
2691 UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
2692 gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
2693 Remove code that is now done by the newly-required macros.
2694 Append $(EXEEXT) to DF_PROG.
2695 AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
2696 Do not invoke or require the following here,
2697 since prereq.m4 or some gnulib .m4 now does this for us:
2698 gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
2699 jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
2700 jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
2701 jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
2702 jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
2703 AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
2704 vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
2706 Do not replace the following functions, as this is now the job
2707 of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
2708 getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
2709 strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
2710 atexit getpass, strdup, getpagesize.
2712 Do not check for the following functions, as this is now the job
2713 of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
2714 getcwd, getmntinfo, resolvepath. But check for sysctl, setreuid,
2716 (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
2717 Check for sys/sysctl.h.
2718 (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
2719 jm_CHECK_TYPE_STRUCT_TIMESPEC. Invoke gt_TYPE_SSIZE_T instead
2720 of checking for ssize_t ourselves.
2722 * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
2723 Require every macro that gnulib/modules/* suggests for us.
2724 (jm_PREREQ_ADDEXT): New macro.
2725 (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
2726 Require jm_AC_TYPE_LONG_LONG instead of invoking it.
2728 * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
2729 (gl_PHYSMEM): Use it.
2730 Also check for `table' function.
2731 Check for new headers and functions.
2732 Add check for sys/sysmp.h.
2733 With suggestions from Kaveh Ghazi.
2734 Ignore headers that are present but cannot be compiled. This
2735 avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
2738 2003-08-16 Jim Meyering <jim@meyering.net>
2740 Merges from coreutils.
2741 * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
2742 prefix. Adjust cache variables similarly. Create 500 rather than
2743 just 300 files, to exercise bug on Darwin6.5, too.
2744 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
2745 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
2746 Reported by mkc@mathdogs.com.
2747 Also change use of $am_cv_sys_posix_termios
2748 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
2749 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
2750 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
2751 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
2752 /proc/mounts until it finds one with matching device number. This is
2753 unnecessary when the FILE argument *is* a mount point. No stat call
2754 is necessary in that case. So, disable the statvfs-testing code on
2755 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
2756 as RedHat bug# 84846.
2757 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2758 to 1MB, so as not to render systems with no stack size limit (e.g.,
2759 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2760 Include <unistd.h>. On some systems,
2761 it is required for the definition of _SC_PAGESIZE.
2763 2003-08-15 Jim Meyering <jim@meyering.net>
2764 and Paul Eggert <eggert@cs.ucla.edu>
2766 Merges from coreutils, etc.
2767 * strftime.m4 (_jm_STRFTIME_PREREQS):
2768 Require gl_FUNC_TZSET_CLOBBER.
2769 * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
2770 ut_exit.ut_termination, and ut_exit.e_termination members.
2772 2003-08-14 Paul Eggert <eggert@twinsun.com>
2774 Help the merge from coreutils.
2775 * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
2776 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
2777 * tzset.m4: Use it too.
2779 2003-08-14 Jim Meyering <jim@meyering.net>
2781 Merge from coreutils.
2782 * tzset.m4: New file.
2783 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
2784 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
2785 systems would end up using the latter. MOUNTED_GETMNTENT1 support
2786 is inadequate on such systems: 1) detecting whether a file system
2787 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
2788 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
2789 merely /MOUNT_POINT. Reported by Mike Jetzer.
2791 2003-08-13 Paul Eggert <eggert@twinsun.com>
2793 * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
2796 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2797 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2798 Undo previous (whitespace-only) change.
2800 2003-08-12 Paul Eggert <eggert@twinsun.com>
2802 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2803 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2804 Normalize leading white space and remove trailing white space.
2806 Merge from coreutils
2807 * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
2809 * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
2810 0.12.1. These files are now being upgraded automatically by
2811 ../config/srclist-update.
2813 2003-08-11 Bruno Haible <bruno@clisp.org>
2815 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
2817 2003-08-09 Paul Eggert <eggert@twinsun.com>
2819 * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
2820 apparently Emacs's Unicode mode got confused before my 2003-08-05
2823 2003-08-08 Paul Eggert <eggert@twinsun.com>
2825 * extensions.m4: New file.
2826 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
2827 Require gl_USE_SYSTEM_EXTENSIONS.
2828 * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
2829 Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
2831 2003-08-07 Paul Eggert <eggert@twinsun.com>
2833 * restrict.m4: New file.
2834 * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
2836 2003-08-07 Bruno Haible <bruno@clisp.org>
2838 * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
2839 the module 'getndelim2' compatible with the module 'getline'.
2841 2003-08-05 Paul Eggert <eggert@twinsun.com>
2843 * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
2844 byte with "\201" to avoid glitches when editing that source file
2845 with multi-gnome-terminal.
2847 2003-07-31 Bruno Haible <bruno@clisp.org>
2849 * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
2851 2003-07-18 Bruno Haible <bruno@clisp.org>
2853 * getndelim2.m4: New file.
2854 * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
2855 invoke gl_PREREQ_GETNDELIM2.
2856 (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
2857 gl_PREREQ_GETNDELIM2.
2858 * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
2861 2003-07-17 Bruno Haible <bruno@clisp.org>
2863 * Makefile.am.in: Remove file.
2864 * Makefile.am: Remove file.
2865 * Makefile.in: Remove file.
2867 2003-07-17 Bruno Haible <bruno@clisp.org>
2869 * getnline.m4: New file.
2871 2003-07-14 Simon Josefsson <jas@extundo.com>
2873 * mempcpy.m4: New file.
2875 2003-07-10 Jim Meyering <jim@meyering.net>
2877 * clock_time.m4: Remove trailing blank.
2878 * intmax_t.m4: Likewise.
2880 2003-07-01 Paul Eggert <eggert@twinsun.com>
2882 * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
2883 xreadlink.c now includes it unconditionally.
2885 2003-07-01 Bruno Haible <bruno@clisp.org>
2887 * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
2888 should be sufficient.
2889 Reported by Paul Eggert.
2891 2003-06-25 Bruno Haible <bruno@clisp.org>
2893 * readlink.m4: New file.
2895 2003-06-22 Bruno Haible <bruno@clisp.org>
2897 Portability to mingw32.
2898 * ssize_t.m4: New file, from GNU gettext.
2899 * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
2900 * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
2902 2003-06-11 Bruno Haible <bruno@clisp.org>
2904 * sysexits.m4: New file.
2906 2003-06-10 Simon Josefsson <jas@extundo.com>
2908 * strchrnul.m4: New file.
2910 2003-06-07 Bruno Haible <bruno@clisp.org>
2912 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
2913 gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
2914 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2916 * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
2917 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2920 2003-06-04 Paul Eggert <eggert@twinsun.com>
2922 * human.m4 (gl_HUMAN): Require AM_STDBOOL_H. Check for
2923 locale.h, localeconv. This merges changes from coreutils.
2925 * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
2926 It can be removed after the next Autoconf is released.
2927 * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
2930 2003-05-30 Bruno Haible <bruno@clisp.org>
2932 * gettext.m4: Upgrade to gettext-0.12.1.
2933 * nls.m4: New file, from gettext-0.12.1.
2934 * po.m4: New file, from gettext-0.12.1.
2935 * progtest.m4: Upgrade to gettext-0.12.1.
2937 2003-05-28 Paul Eggert <eggert@twinsun.com>
2939 Assume the headers required for C89 freestanding compilers.
2940 * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
2941 * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
2942 * human.m4 (gl_HUMAN): Likewise.
2943 * pathmax.m4 (gl_PATHMAX): Likewise.
2944 * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
2945 * userspec.m4 (gl_USERSPEC): Likewise.
2946 * xreadlink.m4 (gl_XREADLINK): Likewise.
2947 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2948 * quote.m4 (gl_QUOTE): Don't check for stddef.h.
2950 2003-05-26 Jim Meyering <jim@meyering.net>
2952 Merge in a change from coreutils:
2953 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
2954 that is guaranteed to be `no'. Use `no_such_member' to indicate
2955 that condition, rather than `-1' which is slightly misleading.
2956 Change the name of the cache variable to have the gl_ prefix.
2957 Prompted by a patch from Richard Dawe for DJGPP.
2959 2003-05-17 Bruno Haible <bruno@clisp.org>
2961 * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
2962 expansion for AC_EGREP_CPP.
2963 * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
2964 * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
2965 Suggested by Akim Demaille <akim@epita.fr> in
2966 http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
2968 2003-04-21 Paul Eggert <eggert@twinsun.com>
2970 * error.m4 (gl_ERROR): Do not put under dynamic conditions some
2971 code which expansion is under static control. Patch imported from
2972 Akim Demaille's patch to Bison; see
2973 <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
2975 2003-04-14 Bruno Haible <bruno@clisp.org>
2977 * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
2979 2003-04-10 Bruno Haible <bruno@clisp.org>
2981 * findprog.m4: New file.
2982 * eaccess.m4: New file.
2984 2003-04-04 Bruno Haible <bruno@clisp.org>
2986 * linebreak.m4: New file.
2988 2003-04-03 Bruno Haible <bruno@clisp.org>
2990 * utf-ucs4.m4: New file.
2991 * ucs4-utf.m4: New file.
2993 2003-03-30 Bruno Haible <bruno@clisp.org>
2995 * copy-file.m4 (gl_COPY_FILE): Add check for chown().
2997 2003-03-28 Bruno Haible <bruno@clisp.org>
2999 * copy-file.m4: New file.
3001 2003-03-18 Bruno Haible <bruno@clisp.org>
3003 * onceonly.m4: Use m4_defn instead of defn, for better error checking.
3004 * onceonly_2_57.m4: Likewise.
3006 2003-03-17 Bruno Haible <bruno@clisp.org>
3008 * onceonly.m4: Require autoconf 2.54 or newer.
3009 (m4_quote): Remove macro.
3010 * onceonly_2_57.m4: Require autoconf 2.54 or newer.
3012 2003-03-14 Bruno Haible <bruno@clisp.org>
3014 * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
3015 AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
3017 2003-03-13 Paul Eggert <eggert@twinsun.com>
3019 * onceonly.m4 (m4_quote): New macro.
3020 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
3021 Quote AC_FOREACH variable-expansions properly.
3023 2003-02-19 Paolo Bonzini <bonzini@gnu.org>
3025 * poll.m4: New file.
3027 2003-02-18 Paolo Bonzini <bonzini@gnu.org>
3029 * mathl.m4: New file.
3031 2003-02-17 Bruno Haible <bruno@clisp.org>
3033 * mkdtemp.m4: New file, from GNU gettext with modifications.
3035 2003-02-02 Jim Meyering <jim@meyering.net>
3037 * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
3040 2003-01-31 Bruno Haible <bruno@clisp.org>
3042 * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
3044 * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
3046 * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
3048 * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
3051 2003-01-30 Bruno Haible <bruno@clisp.org>
3053 * signed.m4: New file, from GNU gettext.
3054 * longdouble.m4: New file, from GNU gettext.
3055 * wchar_t.m4: New file, from GNU gettext.
3056 * wint_t.m4: New file, from GNU gettext.
3057 * vasnprintf.m4: New file.
3058 * vasprintf.m4: New file.
3060 2003-01-29 Bruno Haible <bruno@clisp.org>
3062 * stpncpy.m4: New file.
3064 2003-01-23 Jim Meyering <jim@meyering.net>
3066 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
3067 from working on systems without dirfd (at least Irix and OSF1/Tru64).
3069 2003-01-16 Jim Meyering <jim@meyering.net>
3071 * regex.m4: The `regex' struct is both input and output.
3072 Initialize it before each use. Patch by Tim Waugh.
3074 2003-01-11 Bruno Haible <bruno@clisp.org>
3076 * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
3077 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
3080 2003-01-11 Bruno Haible <bruno@clisp.org>
3082 * md5.m4 (gl_MD5): Require AC_C_INLINE.
3084 2003-01-11 Bruno Haible <bruno@clisp.org>
3086 * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
3088 2003-01-12 Paul Eggert <eggert@twinsun.com>
3090 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
3091 to avoid collisions with libcurses and libreadline.
3093 * getstr.m4: Remove.
3094 * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
3096 2003-01-10 Bruno Haible <bruno@clisp.org>
3098 * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
3100 2003-01-09 Bruno Haible <bruno@clisp.org>
3102 * stdbool.m4 (AM_STDBOOL_H): New macro.
3104 2002-12-31 Paul Eggert <eggert@twinsun.com>
3106 * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
3108 2002-12-24 Bruno Haible <bruno@clisp.org>
3110 General infrasructure.
3111 * README: Rewritten.
3112 * onceonly.m4: New file.
3113 * onceonly_2_57.m4: New file.
3116 * atexit.m4: New file.
3119 * strtod.m4: New file.
3122 * strtol.m4: New file.
3125 * strtoul.m4: New file.
3128 * memchr.m4: New file.
3131 * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
3132 (jm_FUNC_MEMCMP): Invoke it.
3135 * memcpy.m4: New file.
3138 * memmove.m4: New file.
3141 * memset.m4: New file.
3144 * strcspn.m4: New file.
3147 * strpbrk.m4: New file.
3150 * strstr.m4: New file.
3153 * strerror.m4: New file.
3156 * mktime.m4: Renamed from jm-mktime.m4.
3157 (gl_PREREQ_MKTIME): New macro.
3158 (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
3161 * malloc.m4 (gl_PREREQ_MALLOC): New macro.
3162 (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
3163 Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
3166 * realloc.m4 (gl_PREREQ_REALLOC): New macro.
3167 (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
3168 Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
3171 * tm_gmtoff.m4: New file, extracted from strftime.m4.
3172 * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
3173 Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
3175 (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
3178 * xalloc.m4: New file.
3181 * alloca.m4: New file.
3184 * putenv.m4 (gl_PREREQ_PUTENV): New macro.
3185 (jm_FUNC_PUTENV): Invoke it.
3188 * setenv.m4 (gt_FUNC_SETENV): New macro.
3189 (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
3191 (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
3195 * memrchr.m4: New file.
3198 * stpcpy.m4: New file.
3201 * strcase.m4: New file.
3204 * strdup.m4: New file.
3207 * strnlen.m4: New file.
3210 * strndup.m4: New file.
3213 * xstrtod.m4: New file.
3216 * xstrtol.m4: New file.
3219 * getdate.m4: New file.
3222 * unlocked-io.m4: Renamed from jm-glibc-io.m4.
3223 (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
3224 * jm-glibc-io.m4n: Remove file.
3226 Module long-options.
3227 * long-options.m4: New file.
3236 * getstr.m4: New file.
3239 * getline.m4 (gl_PREREQ_GETLINE): New macro.
3240 (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
3241 <sys/types.h>, for size_t. Use the function name gnu_getline, not
3242 simply getline. Infoke gl_PREREQ_GETLINE.
3245 * obstack.m4: New file.
3248 * hash.m4: New file.
3251 * readtokens.m4: New file.
3254 * strverscmp.m4: New file.
3257 * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
3260 * strtoll.m4: New file.
3263 * strtoull.m4: New file.
3266 * strtoimax.m4: New file.
3269 * strtoumax.m4: New file.
3272 * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
3273 Moved the strtol prerequisites to strtol.m4.
3274 Moved the strtoll prerequisites to strtoll.m4.
3275 Moved the strtoimax prerequisites to strtoimax.m4.
3278 * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
3279 Moved the strtoul prerequisites to strtoul.m4.
3280 Moved the strtoull prerequisites to strtoull.m4.
3281 Moved the strtoumax prerequisites to strtoumax.m4.
3284 * chown.m4 (gl_PREREQ_CHOWN): New macro.
3285 (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
3288 * dup2.m4: New file.
3291 * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
3292 (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
3295 * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
3296 (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
3298 Module gettimeofday.
3299 * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
3300 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
3301 gl_PREREQ_GETTIMEOFDAY.
3304 * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
3305 (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
3308 * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
3309 (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
3310 jm_AC_TYPE_UINTMAX_T.
3311 (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
3314 * stat.m4 (gl_PREREQ_STAT): New macro.
3315 (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
3318 * lstat.m4 (gl_PREREQ_LSTAT): New macro.
3319 (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
3322 * timespec.m4 (gl_TIMESPEC): New macro.
3323 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
3324 * st_mtim.m4: Indentation.
3327 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
3328 (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
3329 gl_PREREQ_NANOSLEEP.
3332 * regex.m4 (jm_PREREQ_REGEX): New macro.
3333 (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
3334 (gl_REGEX): New macro.
3337 * rename.m4 (gl_PREREQ_RENAME): New macro.
3338 (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
3341 * rmdir.m4: New file.
3344 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
3345 * utime.m4 (gl_PREREQ_UTIME): New macro.
3346 (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
3349 * dirname.m4: New file.
3352 * getopt.m4: New file.
3354 Module unistd-safer.
3355 * unistd-safer.m4: New file.
3358 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
3360 (gl_PREREQ_FNMATCH_EXTRA): New macro.
3361 (gl_FUNC_FNMATCH_POSIX): New macro.
3362 (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
3363 gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
3367 * exclude.m4: New file.
3370 * human.m4: New file.
3376 * backupfile.m4: New file.
3377 * d-ino.m4: Indentation.
3380 * fsusage.m4 (gl_FSUSAGE): New macro.
3381 (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
3382 (gl_PREREQ_FSUSAGE_EXTRA): New macro.
3385 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
3388 * euidaccess.m4: New file.
3391 * file-type.m4: New file.
3394 * fileblocks.m4: New file.
3397 * filemode.m4: New file.
3400 * isdir.m4: New file.
3403 * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
3404 (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
3407 * makepath.m4: New file.
3410 * modechange.m4: New file.
3413 * mountlist.m4: New file.
3414 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
3418 * path-concat.m4: New file.
3421 * pathmax.m4: New file.
3424 * same.m4: New file.
3427 * save-cwd.m4: New file.
3430 * savedir.m4: New file.
3433 * xgetcwd.m4: New file.
3434 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
3437 * xreadlink.m4: New file.
3440 * safe-read.m4: New file.
3443 * safe-write.m4: New file.
3446 * closeout.m4: New file.
3449 * stdio-safer.m4: New file.
3452 * getpass.m4: New file.
3455 * getugroups.m4: New file.
3457 Module group-member.
3458 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
3459 (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
3462 * idcache.m4: New file.
3465 * userspec.m4: New file.
3468 * clock_time.m4: New file.
3469 * gettime.m4: New file.
3472 * settime.m4: New file.
3475 * posixtm.m4: New file.
3478 * gethostname.m4: New file.
3481 * canon-host.m4: New file.
3484 * codeset.m4: New file, from gettext-0.11.5.
3485 * gettext.m4: New file, from gettext-0.11.5.
3486 * glibc21.m4: New file, from gettext-0.11.5.
3487 * iconv.m4: New file, from gettext-0.11.5.
3488 * intdiv0.m4: New file, from gettext-0.11.5.
3489 * inttypes-pri.m4: New file, from gettext-0.11.5.
3490 * inttypes.m4: New file, from gettext-0.11.5.
3491 * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
3492 * isc-posix.m4: New file, from gettext-0.11.5.
3493 * lcmessage.m4: New file, from gettext-0.11.5.
3494 * lib-ld.m4: New file, from gettext-0.11.5.
3495 * lib-link.m4: New file, from gettext-0.11.5.
3496 * lib-prefix.m4: New file, from gettext-0.11.5.
3497 * progtest.m4: New file, from gettext-0.11.5.
3498 * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
3499 * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
3500 * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
3502 Module localcharset.
3503 * localcharset.m4: New file.
3506 * hard-locale.m4: New file.
3509 * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
3511 * mbrtowc.m4: Add comment.
3514 * memcasecmp.m4: New file.
3517 * memcoll.m4: New file.
3520 * unicodeio.m4: New file.
3523 * rpmatch.m4: New file.
3526 * yesno.m4: New file.
3529 * exitfail.m4: New file.
3532 * c-stack.m4 (gl_C_STACK): New macro.
3533 (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
3536 * error.m4 (gl_ERROR): New macro.
3537 (jm_PREREQ_ERROR): Use onceonly macros.
3540 * fatal.m4: New file.
3543 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
3544 (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
3547 * getpagesize.m4: New file.
3549 Module getusershell.
3550 * getusershell.m4: New file.
3553 * physmem.m4: New file.
3556 * posixver.m4: New file.
3559 * quotearg.m4: New file.
3562 * quote.m4: New file.
3565 * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
3568 * sig2str.m4: New file.
3571 * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
3573 * intmax_t.m4: New file.
3574 * d-type.m4: Indentation.
3575 * jm-macros.m4: Update.
3576 * prereq.m4 (jm_PREREQ): Update.
3577 (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
3578 (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
3579 (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
3580 (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
3581 (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
3582 (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
3583 (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
3584 (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
3585 (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
3586 (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
3587 (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
3588 (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
3589 (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
3590 (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
3591 (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
3592 (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
3593 (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
3594 (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
3595 * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
3597 2002-12-18 Bruno Haible <bruno@clisp.org>
3599 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
3600 * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
3602 2002-12-17 Bruno Haible <bruno@clisp.org>
3604 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
3607 2002-12-11 Bruno Haible <bruno@clisp.org>
3609 * setenv.m4: New file, from gettext-0.11.5.
3611 2002-12-06 Paul Eggert <eggert@twinsun.com>
3613 Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
3614 a pain in practice to deal with generated m4 files. This change
3615 goes together with the 2002-12-04 unlocked-io.h change in ../lib.
3617 * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
3618 and jm-glibc-io.m4, as they are no longer a special case.
3619 * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
3620 kludge and the auto-generation stuff. Check only whether the
3621 functions are declared, not whether they exist, since older hosts
3622 that don't declare the functions can't use the optimization anyway.
3624 2002-07-06 Jim Meyering <meyering@lucent.com>
3626 * README: Don't mention Makefile.am.in.
3627 Outline how I've tested changes to .m4 files. Yep, it's a pain.
3629 2002-06-11 Paul Eggert <eggert@twinsun.com>
3631 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
3633 2002-06-22 Jim Meyering <meyering@lucent.com>
3635 * c-stack.m4: New file, from diffutils-2.8.2.
3636 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
3638 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
3639 now that configure.ac uses AC_GNU_SOURCE.
3640 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
3641 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
3643 Update to latest tools. Suggestions from Paul Eggert.
3644 * stdbool.m4: New file, from diffutils-2.8.2.
3645 * gnu-source.m4: Update from diffutils-2.8.2.
3646 * fnmatch.m4: Likewise.
3647 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
3648 to AC_HEADER_STDBOOL
3650 2002-06-21 Jim Meyering <meyering@lucent.com>
3652 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
3653 * mbrtowc.m4: Likewise.
3655 * mbstate_t.m4: Update from diffutils-2.8.2.
3656 * mbswidth.m4: Reflect name change:
3657 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
3658 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3660 * lib-link.m4: Update from gettext-0.11.2.
3661 * gettext.m4: Likewise.
3663 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
3664 From Alfred M. Szmidt.
3666 2002-05-19 Paul Eggert <eggert@twinsun.com>
3668 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
3670 2002-06-07 Jim Meyering <meyering@lucent.com>
3672 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
3673 They're needed at least for NetBSD 1.5.2.
3674 ($statxfs_includes): Include those same headers.
3675 ($statxfs_includes): Include sys/vfs.h if available.
3676 ($statxfs_includes): Likewise for sys/statvfs.h.
3677 Check for the following members in both structs statfs and statvfs:
3678 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
3680 2002-06-01 Jim Meyering <meyering@lucent.com>
3682 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
3683 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
3685 2002-05-28 Jim Meyering <meyering@lucent.com>
3687 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
3688 Reported by Volker Borchert.
3690 2002-05-27 Jim Meyering <meyering@lucent.com>
3692 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
3695 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
3696 use the replacement function; it wouldn't resolve at link time.
3697 Reported by Volker Borchert.
3699 2002-04-30 Jim Meyering <meyering@lucent.com>
3701 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
3703 2002-04-29 Paul Eggert <eggert@twinsun.com>
3705 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
3706 Do not check for alloca.h (no longer used) or stdbool.h (was never
3707 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
3709 2002-04-28 Paul Eggert <eggert@twinsun.com>
3711 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
3713 2002-04-29 Jim Meyering <meyering@lucent.com>
3715 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
3716 * prereq.m4: Add jm_PREREQ_STRNLEN.
3717 Use AC_FUNC_STRNLEN here instead.
3719 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
3720 With autoconf-2.53a, it's part of AC_PROG_CC.
3722 2002-04-28 Paul Eggert <eggert@twinsun.com>
3724 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
3725 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
3727 2002-04-24 Jim Meyering <meyering@lucent.com>
3729 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
3730 (jm_PREREQ): Use it.
3732 * getloadavg.m4: Check for these headers: locale.h unistd.h
3733 mach/mach.h fcntl.h.
3734 Check for this function: setlocale.
3736 2002-04-16 Jim Meyering <meyering@lucent.com>
3738 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
3739 ut_pid, ut_id, ut_exit.
3741 2002-04-12 Jim Meyering <meyering@lucent.com>
3743 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
3744 check for f_type in sys/mount.h. Instead, just test for the existence
3745 of the getmntinfo function. Needed for Darwin 5.3.
3747 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
3748 This is necessary at least on Darwin 5.3.
3750 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
3751 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
3752 in the library, and that makes some versions of ranlib object.
3754 2002-04-09 Jim Meyering <meyering@lucent.com>
3756 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
3757 to be more precise. Rather than saying we're checking whether the
3758 function `works', say what we're testing.
3759 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
3760 Reported by Bruno Haible.
3762 2002-02-27 Paul Eggert <eggert@twinsun.com>
3764 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
3765 Check for clock_settime.
3767 2002-02-25 Paul Eggert <eggert@twinsun.com>
3770 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
3771 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
3773 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
3775 * codeset.m4: Upgrade to gettext-0.11.
3776 * gettext.m4: Upgrade to gettext-0.11.
3777 * glibc21.m4: Upgrade to gettext-0.11.
3778 * iconv.m4: Upgrade to gettext-0.11.
3779 * isc-posix.m4: Upgrade to gettext-0.11.
3780 * lcmessage.m4: Upgrade to gettext-0.11.
3781 * lib-ld.m4: New file, from gettext-0.11.
3782 * lib-link.m4: New file, from gettext-0.11.
3783 * lib-prefix.m4: New file, from gettext-0.11.
3784 * progtest.m4: Upgrade to gettext-0.11.
3786 2002-02-15 Paul Eggert <eggert@twinsun.com>
3788 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
3789 (jm_PREREQ): Use it.
3791 2002-01-26 Jim Meyering <meyering@lucent.com>
3793 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
3794 * strnlen.m4: Remove file, now that it's part of autoconf.
3796 2002-01-22 Paul Eggert <eggert@twinsun.com>
3798 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
3800 2002-01-19 Jim Meyering <meyering@lucent.com>
3802 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
3803 Remove useless quotes: DF_PROG="df".
3804 * strnlen.m4: New file.
3806 2001-12-14 Jim Meyering <meyering@lucent.com>
3808 * jm-macros.m4 (jm_MACROS): Check for iswspace.
3809 Suggestion from Bruno Haible.
3811 2001-11-20 Jim Meyering <meyering@lucent.com>
3813 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
3814 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
3816 2001-11-19 Jim Meyering <meyering@lucent.com>
3818 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
3819 directory. Use "conftestXXXXXX" as the template.
3820 Suggestion from Paul Eggert.
3822 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
3823 so the test doesn't mistakenly hit the max-open-files limit.
3825 2001-11-18 Jim Meyering <meyering@lucent.com>
3827 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
3829 2001-11-17 Jim Meyering <meyering@lucent.com>
3831 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
3832 Prompted by a report from Bob Proulx.
3834 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
3835 Instead, require UTILS_FUNC_MKSTEMP.
3837 2001-11-11 Jim Meyering <meyering@lucent.com>
3839 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
3840 Now, that's done as part of AC_FUNC_STRTOD.
3842 2001-10-22 Paul Eggert <eggert@twinsun.com>
3844 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
3845 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
3847 2001-11-10 Jim Meyering <meyering@lucent.com>
3849 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
3850 (jm_PREREQ): Use it.
3852 2001-11-09 Jim Meyering <meyering@lucent.com>
3854 * jm-macros.m4: Require autoconf-2.52f.
3855 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
3856 Use these AC_-prefixed names, not the AM_-prefixed ones.
3858 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
3860 2001-11-04 Jim Meyering <meyering@lucent.com>
3862 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
3864 2001-11-03 Jim Meyering <meyering@lucent.com>
3866 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
3869 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
3870 know the name of the variable in the macro definition.
3872 2001-11-01 Jim Meyering <meyering@lucent.com>
3874 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
3875 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
3877 2001-10-20 Paul Eggert <eggert@twinsun.com>
3879 * error.m4 (jm_PREREQ_ERROR):
3880 Do not invoke AC_CHECK_FUNCS with strerror_r, as
3881 AC_FUNC_STRERROR_R does that.
3882 Check for strerror declaration.
3884 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
3885 are supposed to have them these days.
3886 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
3887 Merge changes from latest Autoconf CVS.
3888 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3889 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3890 POSIX decided to standardize on the int flavor of strerror_r.
3892 2001-09-30 Jim Meyering <meyering@lucent.com>
3894 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
3895 `struct fsstat' has the `f_fstypename' member.
3896 Use that to define FS_TYPE, which is now used to make
3897 the getfsstat link test tighter.
3899 2001-09-29 Jim Meyering <meyering@lucent.com>
3901 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3902 [one-argument getmntent function]): Include stdio.h before mntent.h.
3903 SunOS 4.1.x needs it for the declaration of `FILE'.
3904 Patch by Volker Borchert.
3906 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3907 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
3908 sys/fs_types.h, and make the link-test for getfsstat guard #include
3909 directives with appropriate #if HAVE_*_H tests so that we can
3910 detect getfsstat on Apple Darwin1.3.7 systems.
3911 Reported by Nelson Beebe.
3912 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
3914 2001-09-28 Paul Eggert <eggert@twinsun.com>
3916 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
3917 #defines strtoimax. Also treat the other strto* functions
3920 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3921 Check for strtoul and strtoumax,
3922 as those declarations are made even in the signed case.
3923 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
3924 Likewise, for strtol and strtoimax.
3926 2001-09-24 Jim Meyering <meyering@lucent.com>
3928 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
3930 2001-09-23 Jim Meyering <meyering@lucent.com>
3932 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
3933 instead of the mere test for existence of mntent.h. The latter
3934 would get a false-positive on AIX 3.4 systems.
3935 In the outer getmntent if-block, don't die if neither of the getmntent
3936 tests succeeds. Instead, just fall through and continue with the
3939 2001-09-22 Jim Meyering <meyering@lucent.com>
3941 * gettext.m4: New file. From gettext.
3942 * lcmessage.m4: Sync with gettext -- this changes only comments.
3943 * progtest.m4: Likewise
3944 * isc-posix.m4: Decrement serial number to sync with gettext.
3945 * glibc21.m4: Likewise.
3947 * libintl.m4: Remove. No longer used.
3949 2001-09-20 Jim Meyering <meyering@lucent.com>
3951 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
3953 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
3956 2001-09-17 Jim Meyering <meyering@lucent.com>
3958 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
3959 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
3960 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
3961 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
3962 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
3963 whenever the right hand side need not be expanded by the shell.
3965 2001-09-16 Paul Eggert <eggert@twinsun.com>
3967 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
3968 library. It's not correct, as some older glibcs are buggy.
3969 fnmatch wasn't fixed until glibc 2.2.
3971 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
3972 special shell magic here.
3974 2001-09-16 Jim Meyering <meyering@lucent.com>
3976 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
3977 * jm-macros.m4: Require it.
3979 2001-09-15 Jim Meyering <meyering@lucent.com>
3981 * jm-macros.m4: Check for help2man.
3983 2001-09-11 Jim Meyering <meyering@lucent.com>
3985 * host-os.m4 (UTILS_HOST_OS): New file/macro.
3986 The body, by Paul Eggert, was moved here from configure.in.
3987 * jm-macros.m4: Require UTILS_HOST_OS.
3989 2001-09-04 Paul Eggert <eggert@twinsun.com>
3991 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
3992 (jm_PREREQ): Use it.
3994 2001-09-03 Paul Eggert <eggert@twinsun.com>
3996 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
3997 sys/param.h, as pathmax.h includes them.
3999 2001-09-03 Paul Eggert <eggert@twinsun.com>
4001 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
4002 (jm_PREREQ_XGETCWD): New macro.
4004 * getcwd.m4: New file.
4006 2001-09-01 Jim Meyering <meyering@lucent.com>
4008 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
4011 2001-08-30 Paul Eggert <eggert@twinsun.com>
4013 Simplify code, partly by assuming autoconf 2.52 semantics.
4015 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
4017 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
4018 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
4020 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
4021 Move AC_REQUIRE to next-to-top level, to avoid confusion.
4022 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
4023 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
4024 * jm-macros.m4 (jm_MACROS): Likewise.
4026 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
4028 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
4029 Quote first arg of AC_DEFUN.
4030 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
4031 since they are needed to parse the include file even if we need
4032 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
4033 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
4034 but with opposite signedness.
4036 2001-08-30 Paul Eggert <eggert@twinsun.com>
4038 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
4039 (jm_PREREQ_EXCLUDE): New macro.
4041 2001-08-26 Jim Meyering <meyering@lucent.com>
4043 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
4045 * xstrtoimax.m4: New file.
4046 * xstrtoumax.m4: Add comments explaining why we
4047 AC_REPLACE_FUNCS(strtol).
4049 2001-06-20 Paul Eggert <eggert@twinsun.com>
4051 * inttypes.m4: Add AC_PREREQ(2.13).
4052 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
4053 (jm_AC_TYPE_INTMAX_T): New macro.
4054 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
4056 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
4058 * longlong.m4: Renamed from ulonglong.m4.
4059 * inttypes.m4: Renamed from inttypes_h.m4.
4060 * uintmax_t.m4: Removed.
4062 2001-08-12 Jim Meyering <meyering@lucent.com>
4064 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
4065 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
4066 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
4067 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
4068 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
4069 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
4070 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
4071 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
4072 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
4073 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
4074 utime.m4, utimes.m4, xstrtoumax.m4:
4075 Quote the first argument in each use of AC_DEFUN.
4077 2001-08-05 Jim Meyering <meyering@lucent.com>
4079 * jm-macros.m4: Require autoconf-2.52.
4081 2001-08-03 Paul Eggert <eggert@twinsun.com>
4083 The following changes are from gettext 0.10.39 as maintained by
4084 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
4086 * codeset.m4: Upgrade to serial AM1.
4087 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
4088 all uses changed. Quote first arg of AC_DEFUN.
4089 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
4091 * iconv.m4: Upgrade to serial AM2.
4092 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
4093 Add --with-libconv-prefix.
4094 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
4095 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
4096 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
4097 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
4098 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
4100 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
4101 * getline.m4 (AM_FUNC_GETLINE): Likewise.
4102 * glibc21.m4 (jm_GLIBC21): Likewise.
4103 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
4104 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
4105 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
4106 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
4107 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
4108 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
4110 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
4113 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
4114 not the default value.
4116 2001-06-25 Bruno Haible <haible@clisp.cons.org>
4117 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
4118 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
4119 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
4120 Also check for iswcntrl, used for wcwidth fallback.
4121 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
4124 2001-08-03 Jim Meyering <meyering@lucent.com>
4126 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
4127 as it was in the original. Reported by Paul Eggert.
4129 2001-07-16 Jim Meyering <meyering@lucent.com>
4131 * gettimeofday.m4: New file.
4132 Prompted by a report from Bernhard Baehr.
4134 2001-07-15 Jim Meyering <meyering@lucent.com>
4136 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
4137 Now it's in ../Makefile.cfg.
4139 2001-07-04 Jim Meyering <meyering@lucent.com>
4141 * Makefile.am.in (glibc-io.struct): New target. Rework the code
4142 that generates jm-glibc-io.m4 so that it doesn't trigger any make
4145 2001-07-02 Jim Meyering <meyering@lucent.com>
4147 The following changes were prompted by suggestions from Bruno Haible.
4149 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
4151 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
4152 definition of EXTRA_DIST.
4153 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
4154 ensure that the generated file is created/updated whenever the list
4155 of $(unlocked_functions) is changed.
4156 (jm-glibc-io.m4): New rule.
4157 (unlocked-io.h): New rule -- currently unused.
4159 2001-06-24 Jim Meyering <meyering@lucent.com>
4161 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
4162 unmatched right bracket, rather than kludging it with an extra,
4163 falsely-matching quote in a comment. Patch by Akim Demaille.
4165 2001-05-27 Jim Meyering <meyering@lucent.com>
4167 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
4168 Check for ut_type in struct utmp.
4170 2001-05-22 Jim Meyering <meyering@lucent.com>
4172 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
4173 now that we use the package-supplied version unconditionally.
4174 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
4176 2001-05-21 Jim Meyering <meyering@lucent.com>
4178 * regex.m4: Change a couple backticks to single quotes to avoid shell
4181 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
4183 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
4185 2001-05-11 Paul Eggert <eggert@twinsun.com>
4187 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
4188 Don't bother to check library strftime, since
4189 we'll be using our own my_strftime function anyway.
4190 Define my_strftime instead of strftime.
4192 2001-05-15 Jim Meyering <meyering@lucent.com>
4194 * regex.m4: Use proper quoting so brackets appear in the test program.
4195 Reported by, and with help from, Bruno Haible.
4197 2001-05-13 Jim Meyering <meyering@lucent.com>
4199 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
4201 2000-11-26 Paul Eggert <eggert@twinsun.com>
4203 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
4205 2001-04-21 Jim Meyering <meyering@lucent.com>
4207 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
4210 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
4212 * ftruncate.m4: Check for chsize.
4213 Link with ftruncate.o unconditionally if ftruncate is missing.
4214 This was required when cross-compiling to i586-mingw32msvc.
4216 2001-03-24 Jim Meyering <meyering@lucent.com>
4218 * jm-macros.m4: Require autoconf-2.49d.
4220 2001-03-20 Bruno Haible <haible@clisp.cons.org>
4222 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
4224 2001-03-17 Jim Meyering <meyering@lucent.com>
4226 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
4227 now that the version in autoconf is equivalent.
4228 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
4230 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
4231 Suggestion from Akim Demaille.
4233 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
4234 (jm_PREREQ_TEMPNAME): New function.
4236 2001-02-25 Paul Eggert <eggert@twinsun.com>
4238 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
4239 lacks mkstemp. Compile our own tempname.c if we compile our own
4240 mkstemp.c, as mkstemp relies on tempname.
4242 2001-03-01 Jim Meyering <meyering@lucent.com>
4244 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
4245 AH_VERBATIM really does output its argument verbatim.
4247 2001-02-18 Paul Eggert <eggert@twinsun.com>
4249 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
4251 2001-02-17 Jim Meyering <meyering@lucent.com>
4253 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
4254 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
4255 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
4258 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
4259 rather than AC_CACHE_VAL.
4261 2001-02-17 Paul Eggert <eggert@twinsun.com>
4263 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
4264 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
4265 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
4266 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
4268 2001-02-07 Jim Meyering <meyering@lucent.com>
4270 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
4272 2001-02-05 Jim Meyering <meyering@lucent.com>
4274 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
4275 it includes the patch required for `large file' support with at least
4276 HP-UX's 10.20 /bin/cc.
4278 2001-02-03 Jim Meyering <meyering@lucent.com>
4280 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
4281 AS_IF, now that it works once again (mysteriously).
4282 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4284 2001-01-30 Jim Meyering <meyering@lucent.com>
4286 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
4287 * chown.m4: Rename conftestchown to conftest.chown.
4288 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
4289 * utimes.m4: s/conftestdata/conftest.data/
4290 Inspired by Pavel Roskin's change in autoconf.
4292 2001-01-27 Jim Meyering <meyering@lucent.com>
4294 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
4296 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4298 2001-01-26 Jim Meyering <meyering@lucent.com>
4300 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
4301 quotearg.c includes it.
4303 2001-01-15 Bruno Haible <haible@clisp.cons.org>
4305 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
4308 2001-01-20 Jim Meyering <meyering@lucent.com>
4310 Be sure that headers are checked before used in code compiled
4311 for the type checks.
4312 * jm-macros.m4 (jm_MACROS): Remove all header checks.
4313 In place of that, invoke jm_CHECK_ALL_TYPES.
4314 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
4315 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
4316 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
4317 The check for ssize_t was mistakenly run before the test for unistd.h.
4319 The configure-time check for stdbool.h was missing.
4320 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
4321 (jm_PREREQ_HASH): New function.
4323 2001-01-17 Jim Meyering <meyering@lucent.com>
4325 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
4327 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
4329 2001-01-14 Jim Meyering <meyering@lucent.com>
4331 * rename.m4: Use temporary directories named conftestdir{,2}, not
4332 foo and bar. Create conftestdir/ in the script, not in the C code.
4333 Remove directories in the script, not in the C code.
4334 Remove conftestdir{,2} before trying to create the directory.
4335 Make the entire configure script fail if the mkdir fails.
4337 2001-01-02 Volker Borchert <bt@teknon.de>
4339 * rename.m4: New file.
4340 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
4342 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
4344 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
4345 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
4346 so `make install' also works in VPATH builds.
4348 2001-01-01 Jim Meyering <meyering@lucent.com>
4350 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
4351 on systems with utmpx.h. It's necessary for the declaration of utmp's
4352 ut_user member. Reported by Andreas Jaeger.
4354 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
4355 They are required for the declarations of getgrgid and getpwuid resp.
4356 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
4357 Reported by Andreas Jaeger.
4359 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4361 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
4362 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
4363 can be used in subdirectories.
4365 2000-12-26 Jim Meyering <meyering@lucent.com>
4367 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
4370 2000-12-17 Jim Meyering <meyering@lucent.com>
4372 * dos.m4 (jm_AC_DOS): New file and macro.
4373 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
4375 2000-12-06 Paul Eggert <eggert@twinsun.com>
4377 * off_t-format.m4: Remove this file.
4378 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
4380 2000-12-06 Jim Meyering <meyering@lucent.com>
4382 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
4383 strtoull, we may well need the replacement strtoul, too.
4384 Check for declarations of strtoul and strtoull.
4385 Check for strtol. Mainly as a cue to cause automake to include
4386 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
4387 Check for limits.h -- strtol.c needs it.
4389 2000-12-02 Jim Meyering <meyering@lucent.com>
4391 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
4392 * jm-macros.m4 (jm_MACROS): require it.
4394 2000-11-30 Jim Meyering <meyering@lucent.com>
4396 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
4398 2000-11-30 Jim Meyering <meyering@lucent.com>
4400 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
4402 2000-11-03 Bruno Haible <haible@clisp.cons.org>
4404 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
4406 2000-11-04 Jim Meyering <meyering@lucent.com>
4408 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
4410 2000-10-29 Jim Meyering <meyering@lucent.com>
4412 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
4413 * ls-mntd-fs.m4: Likewise
4415 2000-10-28 Jim Meyering <meyering@lucent.com>
4417 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
4418 (jm_PREREQ_MEMCHR): New function.
4420 2000-10-21 Jim Meyering <meyering@lucent.com>
4422 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
4423 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
4424 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
4426 2000-09-18 Jim Meyering <meyering@lucent.com>
4428 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
4429 Otherwise, everyone ends up linking with -lelf for some configurations.
4430 Reported by Mike Stone.
4432 2000-08-26 Jim Meyering <meyering@lucent.com>
4434 * jm-macros.m4: Use jm_FUNC_FPENDING.
4435 * fpending.m4: New file.
4437 2000-08-20 Jim Meyering <meyering@lucent.com>
4439 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
4440 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
4441 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
4443 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
4445 Improve fileutils installation on systems where running
4446 programs (like install) can't be unlinked.
4447 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
4448 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
4450 2000-08-06 Paul Eggert <eggert@twinsun.com>
4452 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
4453 not char, for compatibility with glibc 2.1.3 strftime.c.
4455 2000-07-23 Paul Eggert <eggert@twinsun.com>
4457 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
4459 2000-07-23 Jim Meyering <meyering@lucent.com>
4461 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
4462 getgrgid, getpwuid, getuid.
4464 2000-07-16 Bruno Haible <haible@clisp.cons.org>
4466 * mbswidth.m4: New file.
4467 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
4469 2000-07-14 Jim Meyering <meyering@lucent.com>
4471 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
4473 2000-07-10 Paul Eggert <eggert@twinsun.com>
4475 From a suggestion by Bruno Haible.
4476 * mbstate_t.m4 (AC_MBSTATE_T):
4477 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
4478 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
4479 and mbstate_t, to a single-part test that simply defines mbstate_t.
4480 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
4482 2000-07-10 Jim Meyering <meyering@lucent.com>
4484 * strerror_r.m4: Mirror the correction made in autoconf.
4486 * gnu-source.m4: Output to confdefs.h directly.
4487 Suggestion from Akim Demaille.
4489 2000-07-09 Jim Meyering <meyering@lucent.com>
4491 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
4492 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
4494 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
4495 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
4497 2000-07-05 Bruno Haible <haible@clisp.cons.org>
4499 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
4501 Include <ctype.h> for use of isalpha.
4503 2000-07-05 Paul Eggert <eggert@twinsun.com>
4504 and Bruno Haible <haible@clisp.cons.org>
4506 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
4507 only if the test for an object-type mbstate_t fails. This
4508 prevents us from mistakenly reporting that mbstate_t is a
4509 system object type after we "#define mbstate_t int" to work
4512 2000-07-04 Jim Meyering <meyering@lucent.com>
4514 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
4515 of the deprecated AC_CHECKING.
4517 2000-07-03 Jim Meyering <meyering@lucent.com>
4519 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
4521 2000-07-03 Paul Eggert <eggert@twinsun.com>
4523 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
4524 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
4526 2000-07-02 Jim Meyering <meyering@lucent.com>
4528 * mbstate_t.m4: Also define mbstate_t, if necessary.
4530 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
4531 AC_LIBOBJ(function_name).
4532 * chown.m4: Likewise.
4533 * fnmatch.m4: Likewise.
4534 * ftruncate.m4: Likewise.
4535 * getgroups.m4: Likewise.
4536 * getline.m4: Likewise.
4537 * group-member.m4: Likewise.
4538 * jm-macros.m4: Likewise.
4539 * lstat.m4: Likewise.
4540 * malloc.m4: Likewise.
4541 * memcmp.m4: Likewise.
4542 * nanosleep.m4: Likewise.
4543 * putenv.m4: Likewise.
4544 * realloc.m4: Likewise.
4545 * regex.m4: Likewise.
4546 * stat.m4: Likewise.
4547 * strftime.m4: Likewise.
4549 2000-07-01 Jim Meyering <meyering@lucent.com>
4551 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
4554 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4556 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
4557 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
4559 2000-07-01 Jim Meyering <meyering@lucent.com>
4561 * uptime.m4: Put double quotes around use of $cross_compiling.
4563 2000-06-28 Jim Meyering <meyering@lucent.com>
4565 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
4566 by quotearg.c, for which we perform this test. From Bruno Haible.
4568 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4570 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
4571 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
4572 <utmpx.h> exists, put readutmp.o into LIBOBJS.
4574 2000-06-25 Jim Meyering <meyering@lucent.com>
4576 * mbstate_t.m4: Include stdio.h before wchar.h to work around
4577 Linux header bug when _XOPEN_SOURCE is defined to 500.
4579 2000-06-24 Jim Meyering <meyering@lucent.com>
4581 * strerror_r.m4: Revive this file -- to try out an experimental
4582 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
4583 for which strerror does return char*, but which lacks a conveniently
4584 accessible declaration of the function. If the compile-test says
4585 strerror_r doesn't work, then resort to a `run'-test that works on
4586 BeOS and segfaults on DEC Unix.
4588 2000-06-19 Paul Eggert <eggert@twinsun.com>
4590 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
4591 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
4593 2000-06-23 Jim Meyering <meyering@lucent.com>
4595 * afs.m4: Add missing AC_MSG_RESULT.
4596 Reported by Bruno Haible.
4598 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
4599 Suggestion from Bruno Haible.
4601 2000-06-21 Jim Meyering <meyering@lucent.com>
4603 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
4605 2000-06-18 Jim Meyering <meyering@lucent.com>
4607 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
4609 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
4610 `checking whether...' message to be consistent with that of the
4613 2000-06-16 Bruno Haible <haible@clisp.cons.org>
4615 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
4617 2000-06-12 Jim Meyering <meyering@lucent.com>
4619 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
4620 from autoconf, and tweak the latter to accept an optional argument.
4621 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
4622 the optional argument, `lib'.
4624 2000-06-08 Jim Meyering <meyering@lucent.com>
4626 * largefile.m4: Remove file (now that it's part of autoconf).
4628 2000-06-04 Paul Eggert <eggert@twinsun.com>
4630 Rewrite largefile configuration so that we don't need to run
4631 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
4632 AC_CANONICAL_HOST in configure.in -- jmm]
4634 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
4635 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
4636 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
4637 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
4638 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
4640 Instead of inspecting the output of getconf, try to compile the
4641 test program without and with the macro definition.
4642 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
4643 for getconf. Instead, check for the needed flags by compiling
4646 2000-06-03 Jim Meyering <meyering@lucent.com>
4648 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
4649 now that autoconf requires that.
4651 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
4652 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
4653 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
4655 2000-05-26 Bruno Haible <haible@clisp.cons.org>
4657 * glibc21.m4: New file.
4658 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
4660 2000-05-28 Jim Meyering <meyering@lucent.com>
4662 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
4663 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4664 * stat.m4: Likewise.
4665 * lstat.m4: Likewise.
4666 * lstat-slash.m4: Remove file (absorbed into autoconf).
4668 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
4669 * strerror_r.m4: Remove file (absorbed into autoconf).
4671 2000-05-26 Jim Meyering <meyering@lucent.com>
4673 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
4675 2000-05-24 Jim Meyering <meyering@lucent.com>
4677 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
4678 autoconf requires that.
4679 * lib-check.m4: Likewise.
4680 * jm-macros.m4: Likewise.
4681 * strftime.m4: Likewise.
4683 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
4684 now that autoconf requires that.
4686 2000-05-22 Jim Meyering <meyering@lucent.com>
4688 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4689 * lstat.m4: Likewise.
4691 2000-05-20 Jim Meyering <meyering@lucent.com>
4693 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
4694 (jm_PREREQ): Use it.
4696 2000-05-09 Jim Meyering <meyering@lucent.com>
4698 * gettext.m4: Rename this...
4699 * libintl.m4: ...to this.
4701 2000-05-06 Jim Meyering <meyering@lucent.com>
4703 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
4704 (AC_REPLACE_FUNCS): Add strnlen.
4706 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
4707 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
4709 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
4710 AC_SEARCH_LIBS call for nanosleep.
4711 (LIB_NANOSLEEP): Set and AC_SUBST.
4713 2000-05-03 Paul Eggert <eggert@twinsun.com>
4715 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
4716 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
4717 2.1.3 bug. This avoids a clash when files like regex.c define
4720 2000-05-05 Jim Meyering <meyering@lucent.com>
4722 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
4723 call for clock_gettime.
4724 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
4726 * search-libs.m4: Update from autoconf.
4728 su doesn't work on Solaris 2.6.
4729 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
4730 <shadow.h>. Reported by Dragos Harabor.
4732 2000-05-03 Jim Meyering <meyering@lucent.com>
4734 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
4736 2000-05-02 Paul Eggert <eggert@twinsun.com>
4738 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
4739 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
4740 compile-time test, rather than inspecting host and OS, to
4741 decide whether to define _LARGEFILE_SOURCE.
4743 2000-05-01 Jim Meyering <meyering@lucent.com>
4745 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
4747 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
4748 Based on a patch from Bruno Haible.
4750 2000-04-18 Jim Meyering <meyering@lucent.com>
4752 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
4753 (jm_PREREQ): Use it.
4755 2000-04-17 Jim Meyering <meyering@lucent.com>
4758 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
4759 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
4760 Suggestion from Akim Demaille.
4762 2000-04-14 Jim Meyering <meyering@lucent.com>
4764 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
4765 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
4767 2000-04-13 Jim Meyering <meyering@lucent.com>
4769 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
4770 to insert required #ifndef into config.h.in.
4771 Suggestion from Akim Demaille.
4773 2000-04-12 Jim Meyering <meyering@lucent.com>
4775 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
4776 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
4777 Christian Krackowizer.
4779 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
4780 * jm-macros.m4 (_GNU_SOURCE): Define.
4781 (AC_SYS_LARGEFILE): Require.
4782 (AM_C_PROTOTYPES): Require.
4784 2000-04-05 Paul Eggert <eggert@twinsun.com>
4786 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
4787 IRIX if the installer said otherwise.
4789 2000-04-05 Jim Meyering <meyering@lucent.com>
4791 Portability tweaks required for ultrix4.3.
4792 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
4793 (jm_CHECK_DECLS): Add getutent to the list of functions.
4794 (_jm_DECL_HEADERS): Add utmpx.h.
4795 From John David Anglin.
4797 * strftime.m4: Back out the 2000-04-02 change.
4798 Instead of that change, simply undefine putenv in the test program.
4800 2000-04-03 Jim Meyering <meyering@lucent.com>
4802 * gettext.m4: Fix typo in comment.
4804 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
4805 textutils/configure.in). Suggestion from Paul Eggert.
4806 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
4808 2000-04-02 Paul Eggert <eggert@twinsun.com>
4810 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
4811 variable in the shell rather than using putenv, which isn't
4812 portable. This avoids the configure-time inter-test dependency
4813 on the potentially-renamed putenv function.
4815 2000-03-30 Paul Eggert <eggert@twinsun.com>
4817 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
4818 before checking struct stat.st_blksize, so that
4819 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
4821 2000-03-29 Paul Eggert <eggert@twinsun.com>
4823 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
4824 since strftime.c uses HAVE_STRFTIME to decide whether to use
4825 the underlying strftime.
4827 2000-03-10 Jim Meyering <meyering@lucent.com>
4829 * lib-check.m4: Look for getspnam in -lgen, too.
4832 2000-02-02 Bruno Haible <haible@clisp.cons.org>
4834 * codeset.m4: New file.
4835 * iconv.m4: New file.
4836 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
4838 2000-03-04 Jim Meyering <meyering@lucent.com>
4840 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
4841 for lib/localcharset.c.
4843 2000-03-03 Jim Meyering <meyering@lucent.com>
4845 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
4847 2000-03-02 Jim Meyering <meyering@lucent.com>
4849 * timespec.m4: Require AC_HEADER_TIME before the cache check so
4850 the messages come out on separate lines.
4852 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
4853 rather than jm_CHECK_DECLARATIONS.
4854 * decl.m4: Remove now-unused file.
4856 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
4858 2000-02-27 Jim Meyering <meyering@lucent.com>
4860 * check-decl.m4: Add getenv to the list.
4862 2000-02-23 Jim Meyering <meyering@lucent.com>
4864 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
4865 in place of my hack.
4867 2000-02-10 Jim Meyering <meyering@lucent.com>
4869 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
4870 gnu_nanosleep to rpl_nanosleep.
4872 2000-02-09 Jim Meyering <meyering@lucent.com>
4874 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
4875 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
4877 2000-02-08 Akim Demaille <akim@epita.fr>
4879 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
4880 `[' and `]' and remove uses of `changequote'.
4881 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
4882 (AC_SYS_LARGEFILE): Likewise.
4883 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
4884 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
4886 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
4887 * readdir.m4 (jm_FUNC_READDIR): Likewise
4888 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
4889 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
4891 2000-02-05 Jim Meyering <meyering@lucent.com>
4893 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
4894 Remove explicit use of AC_HEADER_TIME. It is required by
4895 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
4896 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
4897 in autoconf whereby the expansion of the latter ended up preceding
4898 the expansion of its prerequisite, AC_HEADER_TIME.
4899 Reported by Volker Borchert.
4901 2000-02-03 Jim Meyering <meyering@lucent.com>
4903 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
4905 2000-02-02 Jim Meyering <meyering@lucent.com>
4907 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
4908 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
4909 Reported by Eli Zaretskii.
4911 2000-01-31 Jim Meyering <meyering@lucent.com>
4913 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
4914 functions. Add the time.h and sys/time.h headers along with the
4915 AC_REQUIRE'ment of AC_HEADER_TIME.
4917 2000-01-30 Jim Meyering <meyering@lucent.com>
4919 * lib-check.m4: Clean up some kludgy old shadow password tests.
4921 * prereq.m4 (utmp_includes): Define.
4922 Check for ut_user and ut_name members in both struct utmpx
4925 2000-01-29 Jim Meyering <meyering@lucent.com>
4927 * lib-check.m4: New file containing library-related checks from
4928 fileutils and sh-utils (textutils had none).
4930 2000-01-28 Jim Meyering <meyering@lucent.com>
4932 * perl.m4: Change format of warning message to look more like that
4933 from the missing script. Suggestion from François Pinard.
4935 2000-01-25 Jim Meyering <meyering@lucent.com>
4937 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
4938 as time.h in the compile check.
4939 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
4940 Fix typo in cross-compiling case: s/yes/no/.
4942 2000-01-23 Jim Meyering <meyering@lucent.com>
4944 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
4946 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
4947 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
4949 * fsusage.m4: New file. Extracted from fileutils/configure.in.
4950 s/space/ac_fsusage_space/.
4951 (jm_FILE_SYSTEM_USAGE): Take two parameters.
4953 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
4954 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
4955 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
4957 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
4958 AC_SUBST these here, rather than just in sh-util/configure.in, so
4959 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
4961 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
4962 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
4963 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
4964 (AC_SUBST(POW_LIBM)): Likewise.
4965 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
4967 2000-01-22 Jim Meyering <meyering@lucent.com>
4969 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
4971 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
4973 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
4975 (AC_CHECK_HEADERS): Likewise for sh-utils.
4976 (AC_CHECK_HEADERS): Likewise for textutils.
4977 Merge the three lists of headers.
4979 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
4980 from fileutils' configure.in.
4982 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
4983 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
4985 * check-decl.m4: Use #if rather than #ifdef.
4986 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
4987 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
4988 (_jm_DECL_HEADERS): Define new function.
4989 (jm_CHECK_DECLARATIONS): Require it.
4991 2000-01-19 Jim Meyering <meyering@lucent.com>
4993 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
4994 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
4995 defines `struct timespec' in <sys/time.h>
4997 * c-bs-a.m4: Remove uses of changequote altogether.
4998 Thanks to Akim for explaining.
5000 2000-01-16 Jim Meyering <meyering@lucent.com>
5002 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
5003 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
5004 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
5005 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
5007 2000-01-16 Jim Meyering <meyering@lucent.com>
5009 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
5010 because the latter didn't work.
5012 2000-01-15 Jim Meyering <meyering@lucent.com>
5014 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
5015 (AC_REPLACE_FUNCS): Add memcpy and memset.
5016 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
5018 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
5020 2000-01-12 Jim Meyering <meyering@lucent.com>
5022 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
5023 (jm_PREREQ): Use it.
5024 (jm_PREREQ_READUTMP): New macro.
5025 (jm_PREREQ): Use it.
5027 2000-01-11 Paul Eggert <eggert@twinsun.com>
5029 Quote multibyte characters correctly.
5030 * c-bs-a.m4: New file.
5031 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
5032 (jm_PREREQ): Use it.
5034 2000-01-11 Paul Eggert <eggert@twinsun.com>
5036 * uintmax_t.m4: Port to autoconf 2.13.
5038 2000-01-08 Jim Meyering <meyering@ascend.com>
5040 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
5041 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
5043 2000-01-04 Jim Meyering <meyering@ascend.com>
5045 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
5046 jm_STRUCT_DIRENT_D_TYPE.
5047 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
5048 jm_STRUCT_DIRENT_D_INO.
5049 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
5051 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
5052 * utime.m4: Likewise.
5054 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
5055 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
5057 2000-01-03 Paul Eggert <eggert@twinsun.com>
5059 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
5060 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
5062 2000-01-02 Jim Meyering <meyering@ascend.com>
5064 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
5065 remember if this is necessary.
5067 1999-12-26 Jim Meyering <meyering@ascend.com>
5069 * jm-macros.m4: Use it here.
5070 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
5072 1999-12-23 Jim Meyering <meyering@ascend.com>
5074 * jm-macros.m4: Check for clock_gettime (moved from
5075 fileutils/configure.in)
5076 Check for gettimeofday.
5078 1999-12-20 Jim Meyering <meyering@ascend.com>
5080 * strftime.m4: Remove kludge, now that I'm using the fixed
5081 autoconf-2.14a-1999-12-20.
5083 1999-12-19 Jim Meyering <meyering@ascend.com>
5085 * lstat-slash.m4: New file.
5086 * jm-macros.m4: Use the new macro:
5087 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
5089 1999-12-07 Jim Meyering <meyering@ascend.com>
5091 * perl.m4: Require that File::Compare be available, too.
5092 Too many systems seem to lack it.
5094 * strftime.m4: Add checks for most of the cpp macros tested in
5095 GNU's strftime.c. Prompted by a patch from Paul Eggert.
5097 1999-11-18 Paul Eggert <eggert@twinsun.com>
5099 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
5100 problem with the QNX 4.25 shell, which doesn't propagate exit
5101 status of failed commands inside shell assignments.
5103 1999-11-17 Jim Meyering <meyering@ascend.com>
5105 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
5107 1999-11-07 Jim Meyering <meyering@ascend.com>
5109 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
5111 1999-11-06 Jim Meyering <meyering@ascend.com>
5113 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
5114 * jm-macros.m4 (jm_MACROS): Use it here.
5116 1999-11-05 Jim Meyering <meyering@ascend.com>
5118 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
5119 of textutils, fileutils, and sh-utils into this one (shared between
5120 those packages) file.
5121 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
5122 AC_STRUCT_ST_BLKSIZE.
5124 1999-11-03 Jim Meyering <meyering@ascend.com>
5126 * ssize_t.m4: Remove file. No longer needed since the new version of
5127 AC_CHECK_TYPE checks includes unistd.h.
5128 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
5129 Suggestion from Akim Demaille.
5131 1999-10-30 Jim Meyering <meyering@ascend.com>
5133 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
5135 * ls-mntd-fs.m4: Likewise.
5136 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
5137 * jm-winsz1.m4: Likewise.
5139 * const.m4: Remove file, since the fix made it into the experimental
5140 version of autoconf.
5141 * mktime.m4: Likewise.
5143 * check-type.m4: Remove file, now that the latest version of
5144 AC_CHECK_TYPE takes a third arg to specify additional #includes.
5146 * ssize_t.m4: New file, requires experimental version of autoconf.
5147 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
5150 1999-10-04 Jim Meyering <meyering@ascend.com>
5152 * jm-macros.m4: Don't require autoconf-2.14.1.
5154 1999-09-22 Paul Eggert <eggert@twinsun.com>
5156 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
5157 2.95.1 bug with HP-UX 10.20.
5159 1999-09-17 Jim Meyering <meyering@ascend.com>
5161 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
5162 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
5163 due to missing strdup (against sh-utils-2.0).
5165 1999-08-29 Jim Meyering <meyering@ascend.com>
5167 * jm-macros.m4: Require jm_BISON.
5168 * bison.m4: New file.
5170 1999-08-17 Paul Eggert <eggert@twinsun.com>
5172 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
5173 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
5175 1999-08-05 Jim Meyering <meyering@ascend.com>
5177 * getline.m4: Rename test file from conftestdata to conftest.data
5178 to avoid conflicts with `conftest' on 8+3 filesystems.
5179 Suggestion from Eli Zaretskii.
5181 1999-08-04 Jim Meyering <meyering@ascend.com>
5183 * jm-macros.m4: Move a 4-line block of code from the configure.in of
5184 fileutils and sh-utils (textutils's getline test was inadequate).
5185 (AM_FUNC_GETLINE): Run this test.
5186 (AC_CHECK_FUNCS): Check for getdelim.
5187 Reported by Bob Proulx.
5189 1999-08-02 Jim Meyering <meyering@ascend.com>
5191 * jm-macros.m4: Add a comment.
5193 1999-08-01 Jim Meyering <meyering@ascend.com>
5195 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
5197 1999-08-01 Paul Eggert <eggert@twinsun.com>
5199 * lfs.m4: Remove this file.
5200 * largefile.m4: New file. It contains the old contents of
5201 lfs.m4, except that all names with prefix AC_LFS have been
5202 changed to use the prefix AC_SYS_LARGEFILE instead, to be
5203 compatible with future autoconf versions. Also, some minor m4
5204 quoting problems have been fixed.
5206 1999-07-16 Paul Eggert <eggert@twinsun.com>
5208 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
5209 that we can shift, multiply and divide unsigned long long
5210 values; Ultrix cc can't do it.
5212 1999-07-14 Paul Eggert <eggert@twinsun.com>
5214 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
5215 <inttypes.h> defines strtoumax as a macro (and not as a
5218 1999-07-05 Paul Eggert <eggert@twinsun.com>
5220 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
5221 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
5222 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
5223 and simplify the shell code.
5225 1999-07-03 Paul Eggert <eggert@twinsun.com>
5227 * mktime.m4: New file, which is a preview of what should appear
5228 in the next public autoconf release.
5230 1999-07-20 Jim Meyering <meyering@ascend.com>
5232 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
5234 1999-07-15 Jim Meyering <meyering@ascend.com>
5236 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
5238 1999-05-22 Jim Meyering <meyering@ascend.com>
5240 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
5242 1999-05-20 Jim Meyering <meyering@ascend.com>
5244 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
5245 Add a colon after each `then' in case $4 is empty.
5247 1999-05-16 Jim Meyering <meyering@ascend.com>
5249 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
5251 1999-05-10 Jim Meyering <meyering@ascend.com>
5253 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
5255 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
5258 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5260 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
5262 1999-05-04 Paul Eggert <eggert@twinsun.com>
5264 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
5265 not CPPFLAGS, so that linking works correctly in IRIX.
5267 1999-04-30 Paul Eggert <eggert@twinsun.com>
5269 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
5271 1999-04-20 Jim Meyering <meyering@ascend.com>
5273 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
5274 AC_REPLACE xstroull if necessary. From Paul Eggert.
5275 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
5277 1999-04-20 Paul Eggert <eggert@twinsun.com>
5279 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
5280 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
5281 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
5282 jm_AC_TYPE_UNSIGNED_LONG_LONG.
5283 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
5285 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
5287 1999-04-18 Jim Meyering <meyering@ascend.com>
5289 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
5290 * jm-macros.m4: Use it.
5292 1999-04-06 Jim Meyering <meyering@ascend.com>
5294 * strftime.m4: Remove test for %f.
5296 1999-03-29 Jim Meyering <meyering@ascend.com>
5298 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
5299 superset of the AC_TYPE_* checks in the textutils, fileutils,
5300 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
5303 1999-03-28 Jim Meyering <meyering@ascend.com>
5305 * jm-macros.m4: Define GNU_PACKAGE here.
5306 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
5307 replaced e.g., in the *.sh files of the sh-utils.
5309 1999-03-20 Jim Meyering <meyering@ascend.com>
5311 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
5312 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
5313 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
5315 1999-03-19 Jim Meyering <meyering@ascend.com>
5317 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
5319 1999-03-12 Jim Meyering <meyering@ascend.com>
5321 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
5323 1999-03-07 Jim Meyering <meyering@ascend.com>
5325 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
5327 1999-02-17 Jim Meyering <meyering@ascend.com>
5329 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
5330 in macro definition. From Eli Zaretskii and Alain Magloire.
5332 1999-02-07 Jim Meyering <meyering@ascend.com>
5334 * group-member.m4: New file -- extracted from sh-utils' configure.in.
5336 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
5337 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
5339 1999-02-06 Jim Meyering <meyering@ascend.com>
5341 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
5342 * fnmatch.m4: Likewise.
5343 * getgroups.m4: Likewise.
5344 * lstat.m4: Likewise.
5345 * malloc.m4: Likewise.
5346 * putenv.m4: Likewise.
5347 * realloc.m4: Likewise.
5348 * regex.m4: Likewise.
5349 * stat.m4: Likewise.
5350 * strftime.m4: Likewise.
5351 Suggestion from Alain Magloire.
5353 * chown.m4: Use `.$ac_objext', not `.o'.
5354 * fnmatch.m4: Likewise.
5355 * getgroups.m4: Likewise.
5356 * getline.m4: Likewise.
5357 * lstat.m4: Likewise.
5358 * malloc.m4: Likewise.
5359 * memcmp.m4: Likewise.
5360 * putenv.m4: Likewise.
5361 * realloc.m4: Likewise.
5362 * regex.m4: Likewise.
5363 * stat.m4: Likewise.
5364 * strftime.m4: Likewise.
5365 Suggestion from Alain Magloire.
5367 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
5370 * regex.m4: Add a run-time Test for proper operation of
5373 1999-01-31 Jim Meyering <meyering@ascend.com>
5375 * getloadavg.m4: Check for locale.h and the function, setlocale.
5377 1999-01-30 Jim Meyering <meyering@ascend.com>
5379 * check-type.m4: Use 3-arg form of AC_DEFINE.
5381 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
5382 rather than my private copy, now that the official one is up to date.
5383 * mktime.m4: Remove file.
5385 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
5386 * uptime.m4: Likewise.
5387 * uintmax_t.m4: Likewise.
5389 1999-01-28 Jim Meyering <meyering@ascend.com>
5391 * jm-macros.m4: Use jm_AFS.
5392 * afs.m4: New file (from fileutils' configure.in).
5394 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
5395 * chown.m4: Likewise.
5396 * d-ino.m4: Likewise.
5397 * d-type.m4: Likewise.
5398 * fnmatch.m4: Likewise.
5399 * getgroups.m4: Likewise.
5400 * gettext.m4: Likewise.
5401 * jm-mktime.m4: Likewise.
5402 * jm-winsz2.m4: Likewise.
5403 * lcmessage.m4: Likewise.
5404 * ls-mntd-fs.m4: Likewise.
5405 * malloc.m4: Likewise.
5406 * memcmp.m4: Likewise.
5407 * putenv.m4: Likewise.
5408 * realloc.m4: Likewise.
5409 * st_mtim.m4: Likewise.
5410 * strftime.m4: Likewise.
5412 1999-01-16 Jim Meyering <meyering@ascend.com>
5414 * jm-macros.m4 (ARGMATCH_DIE): Define.
5415 (ARGMATCH_DIE_DECL): Define.
5417 1999-01-12 Jim Meyering <meyering@ascend.com>
5419 * Makefile.am.in: Rewrite to avoid using fmt.
5420 Reported by Lars Hecking.
5422 1999-01-10 Jim Meyering <meyering@ascend.com>
5424 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
5426 * inttypes_h.m4: Likewise.
5427 * lstat.m4: Likewise.
5428 * malloc.m4: Likewise.
5429 * readdir.m4: Likewise.
5430 * realloc.m4: Likewise.
5431 * st_dm_mode.m4: Likewise.
5432 * stat.m4: Likewise.
5433 * utimbuf.m4: Likewise.
5434 * utimes.m4: Likewise.
5436 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
5437 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
5438 comments in config.h.in are meaningful.
5440 * jm-macros.m4: Require autoconf-2.13 here.
5442 * regex.m4: By default, don't use the included regex.c on systems
5443 with glibc 2. Suggestion from Uli Drepper.
5445 1999-01-02 Jim Meyering <meyering@ascend.com>
5447 * jm-macros.m4: Replace strcasecmp and strncasecmp.
5449 1998-12-18 Jim Meyering <meyering@ascend.com>
5451 * Makefile.am.in (Makefile.am): Simplify rule.
5452 Based on a suggestion from Lars Hecking.
5454 1998-11-16 Jim Meyering <meyering@ascend.com>
5456 * lfs.m4: Double-quote the `uname...` expression.
5458 1998-11-16 Paul Eggert <eggert@twinsun.com>
5460 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
5462 1998-11-14 Jim Meyering <meyering@ascend.com>
5464 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
5465 * stat.m4: Likewise.
5467 1998-11-03 Jim Meyering <meyering@ascend.com>
5469 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
5470 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
5472 1998-10-18 Jim Meyering <meyering@ascend.com>
5474 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
5476 1998-10-17 Jim Meyering <meyering@ascend.com>
5478 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
5479 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
5480 calls for those previously hard-coded headers. Instead, take a new
5482 (jm_CHECK_DECLARATIONS): Reflect interface change.
5483 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
5484 (jm_CHECK_DECL_LOCALTIME_R): New macro.
5486 * mktime.m4: Test for spring-forward gap before long-running test.
5488 1998-10-14 Jim Meyering <meyering@ascend.com>
5490 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
5491 instead of "TZ=America/Vancouver". From Paul Eggert.
5493 1998-10-11 Jim Meyering <meyering@ascend.com>
5495 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
5496 This adds a test for a recently added compatibility fix for mktime.c.
5497 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
5499 1998-09-27 Jim Meyering <meyering@ascend.com>
5501 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
5503 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
5504 ../configure.in, including a change from Gordon Matzigkeit to allow
5505 cross-compiling for the Hurd.
5507 * glibc.m4: New file/macro to test for the GNU C Library
5508 versions 1 and 2. From Gordon Matzigkeit.
5511 1998-09-21 Jim Meyering <meyering@ascend.com>
5513 * chown.m4: Declare locals: before, after. From Andries Brouwer.
5515 1998-08-18 Paul Eggert <eggert@twinsun.com>
5517 Port nanosecond-resolution times to UnixWare 2.1.2 and
5518 pedantic Solaris 2.6.
5520 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
5522 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
5523 Generate name of ns member, instead of just 1 or undef.
5524 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
5526 1998-08-15 Jim Meyering <meyering@ascend.com>
5528 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
5529 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
5530 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
5531 instead of jm_TYPE_SSIZE_T.
5533 1998-08-12 Jim Meyering <meyering@ascend.com>
5535 * st_dm_mode.m4: New file. From Johan Danielsson.
5537 1998-08-02 Jim Meyering <meyering@ascend.com>
5539 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
5540 in acconfig.h manually.
5542 1998-07-31 Paul Eggert <eggert@twinsun.com>
5544 * st_mtim.m4: New file.
5546 1998-07-28 Jim Meyering <meyering@ascend.com>
5548 * utimes.m4: Undef stat.
5550 1998-07-25 Jim Meyering <meyering@ascend.com>
5552 * utime.m4 (jm_FUNC_UTIME): New file and macro.
5553 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
5555 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
5557 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
5558 uid and gid actually remain unchanged.
5560 1998-07-07 Jim Meyering <meyering@ascend.com>
5562 * jm-glibc-io.m4: Remove fclose_unlocked.
5564 1998-07-04 Jim Meyering <meyering@ascend.com>
5566 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
5567 to prove that this macro can be used in packages without regex.c.
5569 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5571 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
5574 1998-07-03 Jim Meyering <meyering@ascend.com>
5576 * gettext.m4: Add -lintl if it's found to be necessary.
5578 * gettext.m4: New file -- from gettext-0.10.35.
5579 * lcmessage.m4: Likewise.
5580 * progtest.m4: Likewise.
5582 * regex.m4 (jm_WITH_REGEX): New file and macro.
5583 * jm-macros.m4: Require the new macro.
5585 1998-06-29 Jim Meyering <meyering@ascend.com>
5587 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
5588 for the definition of NGROUPS (used in a system header included
5591 1998-06-28 Jim Meyering <meyering@ascend.com>
5593 * ls-mntd-fs.m4: New file.
5594 * fstypename.m4: New file.
5596 * jm-macros.m4: Require the new macro.
5597 * jm-glibc-io.m4: New file.
5599 1998-05-19 Jim Meyering <meyering@ascend.com>
5601 * jm-macros.m4: Add jm_FUNC_LCHOWN.
5602 * lchown.m4: New file.
5604 * Makefile.am.in: New file.
5605 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
5607 1998-05-14 Jim Meyering <meyering@ascend.com>
5609 * Makefile.am (EXTRA_DIST): Add them.
5610 * jm-macros.m4: New file.
5611 * utimbuf.m4: New file.
5613 1998-05-12 Jim Meyering <meyering@ascend.com>
5615 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
5617 1998-05-11 Jim Meyering <meyering@ascend.com>
5619 * isc-posix.m4: New file.
5621 1998-05-10 Jim Meyering <meyering@ascend.com>
5623 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
5625 1998-05-09 Jim Meyering <meyering@ascend.com>
5627 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
5628 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
5631 * ssize_t.m4: New file.
5632 * mktime.m4: Remove file -- the new automake has this now.
5634 1998-04-26 Jim Meyering <meyering@ascend.com>
5636 * assert.m4: New file.
5637 * Makefile.am (EXTRA_DIST): Add assert.m4.
5639 1998-04-05 Jim Meyering <meyering@ascend.com>
5641 * prereq.m4 (jm_PREREQ_REGEX): New macro.
5642 (jm_PREREQ): Use it here.
5644 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
5646 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
5649 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
5651 * prereq.m4: New file.
5652 * error.m4: New file.
5653 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
5655 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
5657 * getline.m4: Don't set am_cv_func_working_getline before the
5658 cache-check for the same variable -- that defeated the purpose of
5659 the test; the test program was never run. This was a problem only
5660 on systems with losing getline functions -- HP-UX 10.20 is one.
5661 Reported by Bjorn Helgaas.
5663 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
5665 * Makefile.am (EXTRA_DIST): Add perl.m4.
5667 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
5669 * Makefile.am (EXTRA_DIST): Add const.m4.
5671 * const.m4: New file. Use an initializer in this declaration
5672 typedef int charset[2]; const charset x;
5673 Reported by Bob Glickstein.
5675 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
5677 * chown.m4: Fix reversed types on -1 args to chown.
5680 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
5682 * check-decl.m4: s/DECLARATION_/DECL_/g.
5683 Add lseek and memchr.
5685 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
5686 T.E.Dickey <dickey@clark.net> said that some older preprocessors
5687 have a 20-character limit on names.
5689 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
5691 * inttypes_h.m4: New file.
5692 * uintmax_t.m4: New file.
5693 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
5695 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
5696 Free Software Foundation, Inc.
5697 Copying and distribution of this file, with or without modification,
5698 are permitted provided the copyright notice and this notice are preserved.