1 2006-03-25 Bruno Haible <bruno@clisp.org>
3 * lib-link.m4 (AC_LIB_LINKFLAGS_FROM_LIBS): New macro.
5 2006-07-21 Bruno Haible <bruno@clisp.org>
7 * javacomp.m4 (gt_JAVACOMP): Convert target_version "null" to "1.1".
9 2006-05-09 Bruno Haible <bruno@clisp.org>
11 * javacomp.m4 (gt_JAVACOMP): On Cygwin, set CLASSPATH_SEPARATOR to
12 a semicolon. Use CLASSPATH_SEPARATOR for the conftestver execution.
14 2006-05-01 Bruno Haible <bruno@clisp.org>
16 * javacomp.m4 (gt_JAVACOMP): Accept a source-version and an optional
17 target-version argument. Verify that the compiler groks source of the
18 specified source-version, or add -source option as necessary. Verify
19 that the compiler produces bytecode in the specified target-version,
20 or add -target and -source options as necessary. Make the result of
21 the test available as variable CONF_JAVAC. Also log error output in
24 2006-03-11 Bruno Haible <bruno@clisp.org>
26 * javacomp.m4 (gt_JAVACOMP): Treat gcj-4.x like gcj-3.x.
28 2006-05-09 Bruno Haible <bruno@clisp.org>
30 * javaexec.m4 (gt_JAVAEXEC): On Cygwin, set CLASSPATH_SEPARATOR to a
33 2006-03-12 Bruno Haible <bruno@clisp.org>
35 * javaexec.m4 (gt_JAVAEXEC): Make the result of the test available as
36 variable CONF_JAVA, for subsequent autoconf tests. Also log error
39 2006-07-19 Bruno Haible <bruno@clisp.org>
41 * getline.m4 (AM_FUNC_GETLINE): When cross-compiling, assume that
42 getline works on glibc2 systems. Needed to avoid trouble in
44 Reported by Nils Magnus Larsgard <nmlarsgaard@atmel.no>.
46 2005-12-04 Bruno Haible <bruno@clisp.org>
48 * csharpexec.m4 (gt_CSHARPEXEC): Add support for 'clix' launcher
51 2005-12-04 Bruno Haible <bruno@clisp.org>
53 * csharpcomp.m4 (gt_CSHARPCOMP): Also set CSHARPCOMPFLAGS.
55 2006-07-22 Bruno Haible <bruno@clisp.org>
57 * gettext.m4: Update from GNU gettext-0.15.
60 * inttypes-pri.m4: Likewise.
61 * inttypes-h.m4: Renamed from inttypes.m4.
62 (gl_HEADER_INTTYPES_H): Renamed from gt_HEADER_INTTYPES_H.
64 2006-07-17 Bruno Haible <bruno@clisp.org>
66 * gl_list.m4: New file.
68 2006-07-16 Paul Eggert <eggert@cs.ucla.edu>
70 * mkancesdirs.m4: New file.
71 * mkdir-p.m4 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h.
72 Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed.
73 Require gl_FUNC_LCHOWN, since dirchownmod.c needs it.
75 2006-07-11 Eric Blake <ebb9@byu.net>
77 * absolute-header.m4: Fix comments to match recent change.
79 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
81 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Like today's change
84 2006-07-10 Derek R. Price <derek@ximbiot.com>
85 and Paul Eggert <eggert@cs.ucla.edu>
87 * backupfile.m4, d-ino.m4, d-type.m4, dirfd.m4, fts.m4, getcwd.m4:
89 Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN
90 macros into the GNU _D_EXACT_NAMLEN.
92 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
94 * stdint.m4 (gl_STDINT_H): Like yesterday's change to
95 absolute-header.m4. Also, set ABSOLUTE_STDINT_H to a string
96 "no/such/file/stdint.h" when there is no such file, so that
97 the resulting C code can be parsed by dodgy compilers.
98 Problems reported by Bob Proulx.
100 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
102 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
103 around the absolute name, to work around a problem with the HP-UX
104 11.23 native C compiler, reported by Bob Proulx.
106 2006-07-09 Jim Meyering <jim@meyering.net>
108 * glob.m4: Remove a doubled word in a comment.
110 2006-07-08 Jim Meyering <jim@meyering.net>
112 * link-follow.m4: Remove one of two adjacent "whether"s in a comment.
113 * getopt.m4: Remove one of two adjacent "your"s in a comment.
114 * regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment.
116 2006-07-06 Derek R. Price <derek@ximbiot.com>
117 and Paul Eggert <eggert@cs.ucla.edu>
119 * backupfile.m4 (gl_BACKUPFILE): Check for dirent.h, instead
120 of invoking obsolescent AC_HEADER_DIRENT macro.
121 * d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
122 * d-type.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Likewise.
123 * dirfd.m4 (gl_FUNC_DIRFD): Likewise.
124 * fts.m4 (gl_FUNC_FTS_CORE): Likewise.
125 * getcwd.m4 (gl_PREREQ_GETCWD): Likewise.
126 * glob.m4 (gl_PREREQ_GLOB): Likewise.
127 * savedir.m4 (gl_SAVEDIR): Likewise.
128 * readdir.m4: Remove; no longer needed.
130 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
132 * _inttypes_h.m4 (gl_INTTYPES_H): Use AC_CHECK_DECLS_ONCE
133 with only one argument, for Autoconf 2.60.
134 * fileblocks.m4 (gl_PREREQ_FILEBLOCKS): AC_CHECK_DECLS_ONCE may
135 expand to nothing, so add a shell command to avoid syntax error.
136 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
138 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
140 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't check for getenv decl;
141 no longer needed. Check for isblank decl.
142 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Don't check for getenv decl.
143 * regex.m4 (gl_PREREQ_REGEX): Dheck for isblank decl instead
146 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
148 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Use AC_CHECK_DECLS_ONCE
149 rather than AC_CHECK_DECLS for strtoimax and strtoumax.
150 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed.
152 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
153 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
154 * exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer needed.
155 * getdate.m4 (gl_GETDATE): Likewise.
156 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
157 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
158 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
159 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
160 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
161 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
162 * exclude.m4 (gl_EXCLUDE): Don't require AC_C_INLINE; no longer
165 2006-07-05 Derek R. Price <derek@ximbiot.com>
167 * calloc.m4 (_AC_FUNC_CALLOC_IF): Don't require AC_HEADER_STDC;
169 * exclude.m4 (gl_EXCLUDE): Likewise.
170 * getdate.m4 (gl_GETDATE): Likewise.
171 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
172 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
173 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
174 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
175 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
177 2006-07-05 Eric Blake <ebb9@byu.net>
179 * sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
180 to avoid 'header present but could not be compiled' on cygwin.
182 2006-07-03 Bruno Haible <bruno@clisp.org>
184 * strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, check whether
185 the function exists, before testing against AIX.
186 Reported by Martin Lambers <marlam@marlam.de>.
188 2006-07-04 Paul Eggert <eggert@cs.ucla.edu>
190 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
191 to the absolute name, not just one, to bypass Sun C 5.8's
192 "warning: #include of /usr/include/... may be non-portable".
194 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
196 * absolute-header.m4: Renamed from full-header-path.m4.
197 This is to keep the terminology clean; POSIX talks about
198 "absolute pathnames", not "full pathnames", but the GNU
199 Coding Standards say to use "path" for something else;
200 so use "absolute" to keep both sides happy.
201 (gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
202 Set gl_absolute_header, not gl_full_header_path.
203 Set gl_cv_absolute_<header>, not gl_full_path_<header>.
204 Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
207 Merge from coreutils.
209 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
211 * c-strtod.m4 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
212 Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
213 want to require the building of c-strtod.o.
214 * lib-check.m4 (cu_LIB_CHECK): Remove SEQ_LIBM, since seq no longer
216 * xstrtod.m4 (gl_XSTRTOLD): New macro.
218 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
220 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
221 --as-needed option if available. Problem reported by Albert Chin in
222 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
223 However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
224 cc merely issues a bunch of annoying warnings for --as-needed
225 (this problem was reported by Bob Proulx). Also, try linking with
226 -lm to detect a bug in binutils 2.16 (this problem was reported
229 2006-06-18 Jim Meyering <jim@meyering.net>
231 Test for a bug that causes glibc's getcwd to suffer a failed assertion.
232 * getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
233 * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
234 also check for glibc-2.4's abort-inducing bug.
236 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
237 Low-probability clean-up should be to use rmdir to get rid of
238 the just-created directory, not unlink.
240 * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
241 configure fail, and request a bug report to inform us about it.
242 Add a comment that, barring reports to the contrary, in 2007 we'll
243 assume ftruncate is universally available.
245 2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
247 * filemode.m4 (gl_FILEMODE): Check for strmode declaration.
249 2006-03-12 Jim Meyering <jim@meyering.net>
251 * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.
252 * cycle-check.m4 (gl_CYCLE_CHECK): Likewise.
253 * same.m4 (gl_SAME): Likewise.
254 * root-dev-ino.m4 (gl_ROOT_DEV_INO): Likewise.
256 2006-03-11 Eric Blake <ebb9@byu.net>
258 * double-slash-root.m4: New file, provides gl_DOUBLE_SLASH_ROOT.
259 * dirname.m4 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
260 * dos.m4 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
261 (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
263 2006-07-02 Eric Blake <ebb9@byu.net>
265 * wcwidth.m4 (gl_FUNC_WCWIDTH): Simplify by using AC_CHECK_DECLS.
267 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
269 * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
270 test cases, so that config.log is a bit easier to follow.
272 2006-07-01 Paul Eggert <eggert@cs.ucla.edu>
274 * longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60,
275 but fix a bug, by requiring at least 64 bits.
276 * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
277 * longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call
278 AC_TYPE_LONG_LONG_INT. This macro is obsolete and will go soon.
279 * ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise.
281 * stdint.m4 (gl_STDINT_H): Rewrite to accommodate stdint_.h
282 changes. Make 2.59 a prerequisite. Check and substitute for
283 HAVE_LONG_LONG_INT. Rely on Autoconf to check for stdint.h and
284 inttypes.h. Do not use special include files; just use the
285 defaults. Check for sys/inttypes.h and sys/bitypes.h in the usual
286 way now. Remove no-longer-needed tests for HAVE_LONG_64BIT,
287 HAVE_LONG_LONG_64BIT, int8_t, int16_t, int32_t, int64_t, uint8_t,
288 uint16_t, uint32_t uint64_t, int_least8_t, int_least16_t,
289 int_least32_t, int_least64_t, uint_least8_t, uint_least16_t,
290 uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t,
291 int_fast32_t, int_fast64_t, uint_fast8_t uint_fast16_t,
292 uint_fast32_t, uint_fast64_t, intptr_t, uintptr_t, intmax_t,
293 uintmax_t, INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX,
294 UINT16_MAX, INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN,
295 INT64_MAX, UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX,
296 UINT_LEAST8_MAX, INT_LEAST16_MIN, INT_LEAST16_MAX,
297 UINT_LEAST16_MAX, INT_LEAST32_MIN, INT_LEAST32_MAX,
298 UINT_LEAST32_MAX, INT_LEAST64_MIN, INT_LEAST64_MAX,
299 UINT_LEAST64_MAX, INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX,
300 INT_FAST16_MIN, INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN,
301 INT_FAST32_MAX, UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX,
302 UINT_FAST64_MAX, INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN,
303 INTMAX_MAX, UINTMAX_MAX, PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN,
304 SIG_ATOMIC_MAX, SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN,
305 WINT_MAX. Check for C99 conformance more strictly, by detecting
306 bugs in glibc 2.4, Solaris 10, and OpenBSD 3.9. On the other hand do
307 not check for things that C99 does not require, e.g., int8_t. If
308 a test isn't needed unless <stdint.h> isn't working, and is
309 unlikely to be needed for any other reason, then don't do it
310 unless <stdint.h> isn't working. Do not check for ptrdiff_t or
311 size_t, since we assume C89 freestanding at least. Do not check
312 for sig_atomic_t, wchar_t, or wint_t, since the code now does
313 the right thing even if the types are not defined. Instead use:
314 (gl_STDINT_TYPE_PROPERTIES): New macro.
315 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H): Remove. Don't bother
316 testing whether <sys/types.h> clashes, as Autoconf does this for
317 us now. All uses removed.
318 (gl_STDINT_CHECK_TYPES, gl_STDINT_MISSING_BOUND):
319 (gl_STDINT_MISSING_BOUNDS, gl_STDINT_MISSING_BOUNDS2):
320 (gl_CHECK_TYPE_SAME):
321 Remove; no longer needed.
322 (gl_STDINT_BITSIZEOF): Don't bother to check whether the type
323 exists, since we'll return 0 anyway in that case.
324 (gl_INTEGER_TYPE_SUFFIX, gl_STDINT_INCLUDES): New macros.
326 2006-07-01 Eric Blake <ebb9@byu.net>
328 * stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.
330 2006-07-01 Eric Blake <ebb9@byu.net>
332 * stdarg.m4 (gl_STDARG_H): Use proper AH_VERBATIM.
333 Reported by Andreas Buening.
335 2006-06-29 Eric Blake <ebb9@byu.net>
337 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Use AC_C_INLINE.
339 2006-06-29 Eric Blake <ebb9@byu.net>
341 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): New file.
343 2006-06-29 Derek R. Price <derek@ximbiot.com>
345 * strftime.m4: Don't call AC_FUNC_STRFTIME.
347 2006-06-29 Derek R. Price <derek@ximbiot.com>
349 * c-bs-a.m4: Removed.
351 2006-06-28 Derek R. Price <derek@ximbiot.com>
353 * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
355 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
357 * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
359 2006-06-28 Bruno Haible <bruno@clisp.org>
361 * wcwidth.m4 (gl_FUNC_WCWIDTH): Also require AC_C_INLINE and
364 2006-06-28 Eric Blake <ebb9@byu.net>
366 * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
367 * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
369 2006-06-28 Simon Josefsson <jas@extundo.com>
371 * getaddrinfo.m4: Look for getnameinfo prototypes too.
373 2006-06-27 Simon Josefsson <jas@extundo.com>
375 * sys_select_h.m4: New file, suggested by Bruno Haible, Paul
376 Eggert and Martin Lambers.
378 2006-06-27 Bruno Haible <bruno@clisp.org>
380 * stdint.m4 (gl_STDINT_BITSIZEOF): For nonexistent types, set the
381 result to 0, not to empty.
382 Reported by Martin Neitzel <neitzel@sco.gaertner.de>.
384 2006-06-26 Bruno Haible <bruno@clisp.org>
386 * stdint.m4 (gl_STDINT_H): Test also for <wchar.h>.
388 2006-06-26 Bruno Haible <bruno@clisp.org>
390 * stdint.m4 (gl_STDINT_H): Don't include <stdint.h> when using the
391 SGI C compiler in pre-C99 mode.
392 Suggested by Mark D. Baushke and Larry Jones.
394 2006-06-23 Mark D. Baushke <mdb@gnu.org>
396 * stdint.m4 (gl_STDINT_H): Treat BSD/OS like OpenBSD.
398 2006-06-26 Simon Josefsson <jas@extundo.com>
400 * inet_ntop.m4: Don't check for sys/types.h, we assume it is
403 2006-06-23 Bruno Haible <bruno@clisp.org>
405 * stdint.m4 (gl_STDINT_H): Treat IRIX like OpenBSD.
407 2006-06-22 Simon Josefsson <jas@extundo.com>
409 * sockpfaf.m4: Include winsock2.h too, to make it work under
412 2006-06-21 Simon Josefsson <jas@extundo.com>
414 * getaddrinfo.m4: Don't define WINVER. Look for gethostbyname in
415 -lws2_32 too. Fixes getaddrinfo on Windows 2000, with the price
416 of using the (limited) gnulib implementation on Windows XP.
418 * inet_pton.m4: New file.
420 2006-06-19 Bruno Haible <bruno@clisp.org>
422 * stdint.m4 (gl_STDINT_H): Enclose the values of FULL_PATH_STDINT_H
423 and FULL_PATH_INTTYPES_H in angle brackets.
424 Reported by Mark D. Baushke <mdb@gnu.org>.
426 2006-06-17 Bruno Haible <bruno@clisp.org>
428 * stdint.m4 (gl_STDINT_H) [FreeBSD >= 5]: Don't include
431 2006-06-16 Eric Blake <ebb9@byu.net>
433 * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
436 2006-06-17 Bruno Haible <bruno@clisp.org>
438 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
439 whether errno is declared. Assume <errno.h> declares errno.
441 2006-06-15 Bruno Haible <bruno@clisp.org>
443 * stdint.m4 (gl_STDINT_H): Rewritten to produce a complete stdint.h.
444 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H, gl_STDINT_CHECK_TYPES,
445 gl_STDINT_MISSING_BOUND, gl_STDINT_MISSING_BOUNDS,
446 gl_STDINT_MISSING_BOUNDS2, gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED,
447 gl_CHECK_TYPE_SAME): New macros.
449 2006-06-15 Bruno Haible <bruno@clisp.org>
451 * size_max.m4 (gl_SIZE_MAX): Make it work also when cross-compiling.
453 2006-06-15 Eric Blake <ebb9@byu.net>
455 * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
457 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
458 Bruno Haible <bruno@clisp.org>
460 * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
461 check for the declaration of strnlen and a run test that exposes the
462 AIX 5.1 strnlen bug. In the failure case, #define strndup to
465 2006-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
467 * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
468 compile test, for Tru64 4.0D.
470 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
472 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
473 gl_ rather than jm_. Link, don't run, so that cross-compiles are
474 allowed. Check that resulting type is arithmetic. Move AC_REQUIRE
475 and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
476 not really conditional on the cache.
477 (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
479 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
481 * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
482 test for C99 conformance; (bool) 0.5 is an integer constant
483 expression, but (bool) -0.5 is not. Problem reported by Fedor
484 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
486 2006-05-11 Simon Josefsson <jas@extundo.com>
488 * xvasprintf.m4: Fix obvious typo.
490 2006-05-09 Bruno Haible <bruno@clisp.org>
492 * xvasprintf.m4: New file.
494 2006-05-08 Bruno Haible <bruno@clisp.org>
496 * stdarg.m4: New file, from GNU gettext.
498 2006-05-05 Jim Meyering <jim@meyering.net>
500 * warning.m4: New file, derived from bison's file by the same name.
502 2006-05-02 Bruno Haible <bruno@clisp.org>
504 * full-header-path.m4 (gl_FULL_HEADER_PATH): Move the include_next
506 * _inttypes_h.m4 (gl_INTTYPES_H): ... to here.
508 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
510 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
511 to define main with arguments, for C++. Reported by Eric Blake.
512 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
513 Prefer 'int main ()' to 'int main (void)', for C++.
514 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
515 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
516 for 'main', for C99 and C++.
518 2006-04-23 Bruno Haible <bruno@clisp.org>
520 * poll.m4 (gl_FUNC_POLL): Rearrange code, so that POLL_H gets
521 assigned exactly once.
523 2006-04-23 Bruno Haible <bruno@clisp.org>
525 * poll.m4 (gl_FUNC_POLL): When cross-compiling, reject also the poll()
526 implementation in AIX.
527 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
529 2006-03-04 Eric Blake <ebb9@byu.net>
531 * strerror_r.m4 (AC_FUNC_STRERROR_R): Avoid unused variable warning.
533 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
535 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
536 Don't assume that exit status -1 is valid.
537 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
538 * putenv.m4 (gl_FUNC_PUTENV): Likewise.
539 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
540 * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
541 * rename.m4 (vb_FUNC_RENAME): Likewise.
542 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
543 not AC_TRY_RUN. Use return, not exit. Don't assume that
544 functions can be used without declaring them, or that you can
546 * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
548 2006-04-20 Bruno Haible <bruno@clisp.org>
550 * argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
551 one argument, so that the code will be portable to Autoconf 2.60.
552 * getlogin_r.m4 (gl_PREREQ_GETLOGIN_R): Likewise.
553 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
554 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
556 2006-04-19 Derek Price <derek@ximbiot.com>
557 Eric Blake <ebb9@byu.net>
559 * full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
560 than "/full/path.h". Update comment to match. Shorten & generalize
561 m4_translit call via AS_TR_CPP.
563 2006-04-18 Derek Price <derek@ximbiot.com>
564 Paul Eggert <eggert@cs.ucla.edu>
566 * _inttypes_h.m4, full-header-path.m4, include_next: New files.
568 2006-04-11 Paul Eggert <eggert@cs.ucla.edu>
570 * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
572 2006-04-09 Paul Eggert <eggert@cs.ucla.edu>
574 * regex.m4 (gl_REGEX): Check for new glibc interface to
577 2006-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
579 * argz.m4 (gl_FUNC_ARGZ): If we define `error_t', also define
580 `__error_t_defined', so argp.h will not typedef the former.
582 2006-03-25 Paul Eggert <eggert@cs.ucla.edu>
584 * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
585 REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
586 glibc names. Even if glibc is changed to conform to POSIX, the
587 traditional names will be available anyway, since regex depends on
588 the extensions module. Also, fix a longstanding typo in the
589 implementation of Spencer ERE test #75 from grep 2.3. Problems
590 reported by Emanuele Giaquinta. Also, change sense of cached
591 variable, so that the message makes sense.
593 2006-03-17 Jim Meyering <jim@meyering.net>
595 * regex.m4 (gl_REGEX): Fix typo in last change:
596 s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
598 2006-03-16 Paul Eggert <eggert@cs.ucla.edu>
600 * regex.m4 (gl_REGEX): Don't check for off_t, since the code
601 no longer needs it. Instead, check that regoff_t is as least
602 as wide as ptrdiff_t.
604 Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
605 so that our regex.h stays compatible with the installed regex.
606 This is helpful for installers who configure --without-included-regex.
607 Problem reported by Emanuele Giaquinta.
609 2006-03-15 Eric Blake <ebb9@byu.net>
611 * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
613 2006-03-08 Simon Josefsson <jas@extundo.com>
615 * gc-random.m4: Permit 'no' as variable values and fix warnings,
616 suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
618 2006-03-08 Simon Josefsson <jas@extundo.com>
620 * gc-random.m4: Call AC_CANONICAL_HOST and use $host_os instead of
621 $target, suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
623 2006-03-07 Paul Eggert <eggert@cs.ucla.edu>
625 * unistd_h.m4 (gl_HEADER_UNISTD): Rename, to match modules file.
626 Problem reported by Juan Manuel Guerrero.
628 2006-03-07 Simon Josefsson <jas@extundo.com>
630 * unistd_h.m4: New file.
632 2006-03-07 Simon Josefsson <jas@extundo.com>
634 * readline.m4 (gl_FUNC_READLINE): Rewrite the cached part of the
635 test to be side-effect free by storing the result in the cache
636 variable gl_cv_lib_readline, and moving the assignment of
637 LIBREADLINE and LTLIBREADLINE outside the COMMANDS-TO-SET-IT.
638 From Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
640 2006-03-07 Simon Josefsson <jas@extundo.com>
642 * gc-random.m4: New file, mostly from gc.m4. Warn instead of
643 error on missing devices (the functions will return an error).
645 * gc.m4: Move random stuff to gc-random.m4
647 2006-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
649 * poll.m4 (gl_FUNC_POLL): If we deem poll(2) unacceptable, use
650 our replacement poll.h in any case, to avoid a differing
651 declaration from a system header. Seen on AIX.
653 2006-03-01 Paul Eggert <eggert@cs.ucla.edu>
655 * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
656 not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
658 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
659 * timespec.m4 (gl_TIMESPEC): Likewise.
661 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
662 not "==". Reported by Ralf Wildenhues.
664 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
667 * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
670 2006-02-22 Jim Meyering <jim@meyering.net>
673 * chdir-safer.m4: New file.
675 2006-02-17 Eric Blake <address@hidden>
677 * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
679 2006-02-15 Eric Blake <ebb9@byu.net>
681 * sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using
682 winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes
683 'present but cannot compile' warnings on cygwin.
684 * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET. Don't
685 use ws2tcpip.h if sys/socket.h works.
686 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_HEADER_SYS_SOCKET.
687 (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is present.
689 2006-02-14 Jim Meyering <jim@meyering.net>
692 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
693 unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
694 gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
695 variable, to accommodate the rare case in which getmntent is
696 available in none of the libraries checked. This happens at
697 least on FreeBSD 5.0.
699 2006-02-05 Paul Eggert <eggert@cs.ucla.edu>
701 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
702 __EXTENSIONS__ if this causes compilation to fail. Problem
703 reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
704 c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
706 2006-01-25 Simon Josefsson <jas@extundo.com>
708 * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
709 -lws2_32. Protect sys/socket.h and netdb.h #include's. Include
710 ws2tcpip.h with WINVER=0x0501. All for mingw32.
712 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
714 * stdbool.m4 (AC_HEADER_STDBOOL): Check for xlc bug if __GCC__ too,
715 so that we test the test.
716 Check for yet another HP-UX cc bug involving *bool |= bool.
718 2006-01-24 Bruno Haible <bruno@clisp.org>
720 * stdbool.m4 (AC_HEADER_STDBOOL): Check for IBM and HP-UX bugs.
721 Patch by Paul Eggert.
723 2006-01-24 Jim Meyering <jim@meyering.net>
725 * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
726 Reported by Mark D. Baushke.
728 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
730 * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
732 2006-01-20 Paul Eggert <eggert@cs.ucla.edu>
734 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
735 rather than -Xlinker -z -Xlinker ignore, as it's more portable.
736 Suggested by Bruno Haible.
738 2006-01-19 Simon Josefsson <jas@extundo.com>
740 * socklen.m4: Look in ws2tcpip.h too, for mingw32.
742 2006-01-16 Paul Eggert <eggert@cs.ucla.edu>
744 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
745 it's not portable and it doesn't work with cross-compiles.
746 Problem reported by Bruno Haible. Fix missing-$ typo in
747 'test "gl_cv_ignore_unused_libraries" ...' that prevented
748 -zignore from being used with Sun's C compiler.
750 2006-01-12 Bruno Haible <bruno@clisp.org>
754 2006-01-08 Bruno Haible <bruno@clisp.org>
756 Ensure automatic ordering between gl_LOCK and gl_ARGP.
757 * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK.
758 (gl_LOCK): New macro, requiring gl_LOCK_BODY.
760 2006-01-10 Jim Meyering <jim@meyering.net>
762 * fpending.m4: Also include <stdio.h>, for Dragonfly.
763 Patch by Joerg Sonnenberger.
765 2006-01-10 Paul Eggert <eggert@cs.ucla.edu>
767 * memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
768 the 2002-12-31 change. Problem and fix reported by Bruno Haible.
769 People who are still concerned with buggy memcmp implementations
770 can invoke gl_FUNC_MEMCMP themselves.
772 2006-01-10 Simon Josefsson <jas@extundo.com>
774 * sys_socket_h.m4: New file.
776 2006-01-10 Bruno Haible <bruno@clisp.org>
778 * localcharset.m4 (gl_LOCALCHARSET): Also test for getc_unlocked.
779 Reported by Werner Lemberg <wl@gnu.org>.
781 2006-01-09 Paul Eggert <eggert@cs.ucla.edu>
784 * lib-ignore.m4: New file.
785 * lchmod.m4: New file.
787 2006-01-09 Jim Meyering <jim@meyering.net>
790 * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
791 Require openat-priv.h.
793 2006-01-09 Andreas Gruenbacher <agruen@suse.de>
796 * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
798 2005-10-16 Bruno Haible <bruno@clisp.org>
800 * stdint.m4 (gl_STDINT_H): Also test for <sys/bitypes.h>.
802 2005-12-16 Jim Meyering <jim@meyering.net>
804 * fprintftime.m4: New file.
806 2005-12-10 Sergey Poznyakoff <gray@gnu.org.ua>
808 * argp.m4: Define HAVE_DECL_PROGRAM_INVOCATION_NAME and
809 HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
811 2005-12-09 Sergey Poznyakoff <gray@gnu.org.ua>
813 * argp.m4: Check if program_invocation_name and
814 program_invocation_short_name are declared and define appropriate
815 macros if they are not.
817 2005-12-07 Paul Eggert <eggert@cs.ucla.edu>
819 * stat-time.m4 (gl_STAT_TIME): Add check for
820 TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
821 porting problem reported by Georg Schwarz in
822 <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
824 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
826 * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
827 Use implementation from Albert Chin, with some
828 comments/corrections by Stepan Kasal and myself.
830 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
832 * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
833 statement, to work around an HP-UX 10.20 compiler bug reported by
836 2005-11-10 Paul Eggert <eggert@cs.ucla.edu>
838 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
839 or gettimeofday; no longer needed.
841 2005-10-30 Paul Eggert <eggert@cs.ucla.edu>
843 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
844 variables to suggest the intended function of the PATH_MAX check.
846 2005-10-30 Kean Johnston <jkj@sco.com>
848 Trivial changes to support SCO systems.
849 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
851 * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
852 where __ptr is null when no I/O is pending.
854 2005-10-28 Simon Josefsson <jas@extundo.com>
856 * inet_ntop.m4: More tests.
858 * gc-md2.m4, md2.m4: New file.
860 2005-10-22 Simon Josefsson <jas@extundo.com>
862 * gc.m4: Don't be fooled by --disable-*random-device parameters,
863 suggested by Bruno Haible <bruno@clisp.org>. Fix error messages.
865 2005-10-21 Simon Josefsson <jas@extundo.com>
867 * gc.m4: Don't use libgcrypt if gcrypt.h isn't found, suggested by
868 Bruno Haible <bruno@clisp.org>.
870 * gc-des.m4: New file.
872 2005-10-21 Simon Josefsson <jas@extundo.com>
874 * arctwo.m4: New file.
876 * gc-arctwo.m4: New file.
878 2005-10-19 Simon Josefsson <jas@extundo.com>
880 * gc-arcfour.m4: New file.
882 * gc-rijndael.m4: New file.
884 2005-10-19 Simon Josefsson <jas@extundo.com>
886 * m4/gc-hmac-md5.m4, m4/gc-hmac-sha1.m4, m4/gc-md4.m4,
887 m4/gc-md5.m4, m4/gc-sha1.m4: Fix typo, suggested by Stepan Kasal
890 2005-10-19 Simon Josefsson <jas@extundo.com>
892 * gc-md4.m4: New file.
894 2005-10-18 Simon Josefsson <jas@extundo.com>
898 2005-10-17 Bruno Haible <bruno@clisp.org>
900 * stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so that
901 it can also be used in a test.
903 2005-10-11 Simon Josefsson <jas@extundo.com>
905 * md5.m4: Remove call to uint32_t.m4.
907 2005-10-15 Simon Josefsson <jas@extundo.com>
909 * rijndael.m4: New file.
911 2005-10-14 Simon Josefsson <jas@extundo.com>
913 * arcfour.m4: New file.
915 2005-10-12 Bruno Haible <bruno@clisp.org>
917 * stdbool.m4 (gl_STDBOOL_H): Define as an alias of AM_STDBOOL_H.
918 Reported by Stepan Kasal <kasal@ucw.cz>.
920 2005-10-12 Simon Josefsson <jas@extundo.com>
922 * gc-pbkdf2-sha1.m4: New file.
924 * gc-hmac-sha1.m4: New file.
928 * hmac-sha1.m4: New file.
930 2005-10-12 Simon Josefsson <jas@extundo.com>
932 * gc-md5.m4, gc-hmac-md5: New files.
934 * gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5.
936 2005-10-11 Simon Josefsson <jas@extundo.com>
940 2005-10-07 Simon Josefsson <jas@extundo.com>
942 * memxor.m4: Remove gl_C_RESTRICT call.
944 2005-10-06 Paul Eggert <eggert@cs.ucla.edu>
946 * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
947 promotes to int, not unsigned int, to catch the AIX 5.3
950 2005-10-06 Simon Josefsson <jas@extundo.com>
952 * hmac-md5.m4: New file.
954 * memxor.m4: Require gl_C_RESTRICT.
956 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
958 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for
959 sys/socket.h, netdb.h, sys/types.h; the checks areno longer
960 needed, since the source code now assumes these .h files.
962 2005-10-05 Simon Josefsson <jas@extundo.com>
964 * memxor.m4: New file.
966 2005-10-02 Paul Eggert <eggert@cs.ucla.edu>
969 * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
970 * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
971 defines ULONG_MAX_LT_ULLONG_MAX. Thomas M.Ott reports that
972 ULLONG_MAX doesn't work with 2.7.2.1.
974 2005-10-02 Jim Meyering <jim@meyering.net>
977 * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
978 from glibc-2.2.5 that fails for read-only files.
980 2005-10-02 Alfred M. Szmidt <ams@gnu.org>
983 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
984 against `yes', rather than just testing for nonempty.
986 2005-10-01 Simon Josefsson <jas@extundo.com>
988 * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
991 * getaddrinfo.m4: Use AC_GNU_SOURCE, GNU only declare getaddrinfo
992 as an (POSIX) extension. Check for sys/types.h, sys/socket.h, and
993 netdb.h too, needed by getaddrinfo.h. Check if getaddrinfo,
994 freeaddrinfo and gai_strerror are declared by the POSIX headers.
995 Check if struct addrinfo is declared.
997 2005-10-01 Jim Meyering <jim@meyering.net>
1001 * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
1002 libraries [inet nsl socket xnet]. Nelson Beebe reported that with
1003 native cc on Solaris 7, getaddrinfo.c requires -lsocket.
1004 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
1005 in the inet and nsl libraries. Required on Solaris 5.7.
1007 2005-09-24 Jim Meyering <jim@meyering.net>
1009 Sync from coreutils.
1010 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
1011 in the inet and nsl libraries. Required on Solaris 5.7.
1013 2005-09-26 Bruno Haible <bruno@clisp.org>
1015 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
1016 mbchar.c if they are not both present.
1017 * mbfile.m4 (gl_MBFILE): Require gl_FUNC_MBRTOWC.
1018 * mbiter.m4 (gl_MBITER): Likewise.
1019 * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
1020 * strcasestr.m4 (gl_PREREQ_STRCASESTR): Likewise.
1021 * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
1023 2005-09-23 Paul Eggert <eggert@cs.ucla.edu>
1025 * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
1026 and similarly for the other external symbols. Problem reported
1029 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
1030 bug reported by Jim Meyering.
1032 * utimens.m4 (gl_UTIMENS): Check for futimesat.
1033 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
1034 not needed, since socklen is a prerequisite module.
1036 2005-09-23 Jim Meyering <jim@meyering.net>
1038 Sync from coreutils.
1039 Correct build failure (socklen_t not defined) on at least
1040 mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
1041 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
1043 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
1045 Sync from coreutils.
1046 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
1048 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
1050 Sync from coreutils.
1052 * backupfile.m4, calloc.m4, chown.m4, cloexec.m4, dup2.m4:
1053 * fileblocks.m4, free.m4, ftruncate.m4, getcwd.m4, getpagesize.m4:
1054 * getugroups.m4, group-member.m4, idcache.m4, link-follow.m4:
1055 * mkstemp.m4, mktime.m4, mountlist.m4, nanosleep.m4, pathmax.m4:
1056 * physmem.m4, posixver.m4, putenv.m4, safe-read.m4, same.m4:
1057 * save-cwd.m4, stdio-safer.m4, unistd-safer.m4, unlinkdir.m4:
1058 * userspec.m4, xgetcwd.m4, xreadlink.m4:
1059 Don't bother checking for string.h, stdlib.h, unistd.h.
1060 * fts.m4 (gl_FUNC_FTS_CORE): Don't require
1061 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
1063 * jm-macros.m4 (gl_MACROS): Likewise.
1064 * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
1066 * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
1067 (gl_GETDATE): Use it.
1069 * mkdir-p.m4 (gl_MKDIR_PARENTS): Don't bother checking for unistd.h.
1071 2005-09-22 Jim Meyering <jim@meyering.net>
1073 Sync from coreutils.
1075 * lstat.m4 (gl_FUNC_LSTAT):
1076 Use AC_LIBSOURCES to require lstat.c and lstat.h.
1077 Remove obsolete comment.
1078 * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
1079 * xstrtod.m4: Likewise.
1081 * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
1083 2005-09-19 Simon Josefsson <jas@extundo.com>
1085 * socklen.m4: Fix typo.
1087 2005-09-15 Paul Eggert <eggert@cs.ucla.edu>
1089 * st_mtim.m4: Remove. Superseded by...
1090 * stat-time.m4: New file.
1091 * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
1092 Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
1094 2005-09-15 Derek Price <derek@ximbiot.com>
1096 * strstr.m4 (gl_FUNC_STRSTR): Don't define strstr here.
1098 2005-09-12 Derek Price <derek@ximbiot.com>
1100 Make canon-host require getaddrinfo.
1101 * canon-host.m4 (gl_CANON_HOST): Remove most dependencies.
1102 AC_LIBSOURCE canon-host.h. Call...
1103 (gl_PREREQ_CANON_HOST): ...this new function, which requires
1105 * getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when needed.
1107 2005-09-12 Derek Price <derek@ximbiot.com>
1108 Paul Eggert <eggert@cs.ucla.edu>
1110 * m4/glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c,
1111 glob_.h, glob-libc.h.
1112 (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed.
1114 2005-08-31 Simon Josefsson <jas@extundo.com>
1116 * socklen.m4: New file.
1118 2005-09-03 Derek Price <derek@ximbiot.com>
1120 * getlogin_r (gl_GETLOGIN_R): Fix cut & paste error.
1121 From Larry Jones <lawrence.jones@ugs.com>.
1123 2005-08-27 Bruno Haible <bruno@clisp.org>
1125 Support for lib vs. lib64 distinction on biarch platforms.
1126 * lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): New macro.
1127 (AC_LIB_PREFIX): Require it. Use $acl_libdirstem instead of 'lib'.
1128 * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
1130 2005-09-01 Jim Meyering <jim@meyering.net>
1132 * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
1133 CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
1134 Require gl_STAT_MACROS, too.
1136 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
1138 * regex.m4 (gl_REGEX): Require AC_SYS_LARGEFILE, Define
1139 _REGEX_LARGE_OFFSETS). Test for regoff_t/off_t bug in 64-bit
1140 and large-file glibc and in 32-bit large-file Solaris.
1142 2005-08-28 Bruno Haible <bruno@clisp.org>
1144 * gnulib-tool.m4: New file.
1146 2005-08-27 Jim Meyering <jim@meyering.net>
1148 * stdlib-safer.m4: New file. From coreutils.
1149 * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h.
1150 * fcntl-safer.m4 (gl_FCNTL_SAFER): Add creat-safer.c to the
1151 AC_LIBSOURCES list and arrange to compile it via AC_LIBOBJ.
1152 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise, add pipe-safer.c.
1153 Add pipe-safer.c and unistd--.h to the AC_LIBSOURCES list.
1155 2005-08-24 Simon Josefsson <jas@extundo.com>
1157 * getpass.m4: Check for termios.h, tcgetattr, tcsetattr, and
1160 2005-08-25 Stepan Kasal <kasal@ucw.cz>
1162 * regex.m4: Add AC_PREREQ(2.50).
1163 (gl_REGEX): If --with-included-regex was given, skip the autodetection.
1165 2005-08-25 Bruno Haible <bruno@clisp.org>
1167 * minmax.m4: Require autoconf 2.52.
1168 (gl_MINMAX_IN_HEADER): Add comments. Use m4_pushdef/m4_popdef instead
1169 of define/undefine. Use AS_TR_SH and AS_TR_CPP as more robust
1170 alternatives of translit over the alphabet.
1171 Based on a patch from Stepan Kasal <kasal@ucw.cz>.
1173 2005-08-24 Paul Eggert <eggert@cs.ucla.edu>
1175 * regex.m4 (gl_REGEX): Use POSIX-compliant spellings when testing
1176 for GNU regex features.
1178 2005-08-24 Jim Meyering <jim@meyering.net>
1180 Sync from coreutils.
1181 * fcntl-safer.m4: New file.
1183 * xgetcwd.m4: Use AC_LIBSOURCES and AC_LIBOBJ to indicate source
1184 and object files for this module.
1186 2005-08-23 Paul Eggert <eggert@cs.ucla.edu>
1188 * regex.m4 (gl_INCLUDED_REGEX): Remove; no longer used.
1189 All contents moved to gl_REGEX.
1190 (gl_REGEX): Don't bother checking whether lib/regex.c exists;
1191 assume that it does.
1193 2005-08-20 Bruno Haible <bruno@clisp.org>
1195 * regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
1197 2005-08-17 Bruno Haible <bruno@clisp.org>
1199 * strcasestr.m4: New file.
1201 2005-08-17 Bruno Haible <bruno@clisp.org>
1203 * strstr.m4 (gl_FUNC_STRSTR): Use the replacement function always.
1204 (gl_PREREQ_STRSTR): Use gl_FUNC_MBRTOWC.
1206 2005-08-16 Paul Eggert <eggert@cs.ucla.edu>
1208 * getopt.m4 (gl_GETOPT_CHECK_HEADERS): Do not override the results
1209 of gl_GETOPT_SUBSTITUTE. That way, if both gl_GETOPT_SUBSTITUTE
1210 and gl_GETOPT are both invoked via different paths (as happens
1211 with GNU tar CVS because it uses both argp and getopt), the former
1214 2005-08-16 Bruno Haible <bruno@clisp.org>
1216 * strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function always.
1217 (gl_PREREQ_STRCASECMP): Use gl_FUNC_MBRTOWC.
1219 2005-08-16 Bruno Haible <bruno@clisp.org>
1221 * mbfile.m4: New file.
1223 2005-08-16 Bruno Haible <bruno@clisp.org>
1225 * mbiter.m4: New file.
1227 2005-08-16 Bruno Haible <bruno@clisp.org>
1229 * mbchar.m4: New file.
1231 2005-08-16 Bruno Haible <bruno@clisp.org>
1233 * tls.m4: New file, from GNU gettext.
1235 2005-08-12 Bruno Haible <bruno@clisp.org>
1237 * readline.m4 (gl_FUNC_READLINE): Look for ncurses first.
1239 2005-08-12 Simon Josefsson <jas@extundo.com>
1241 * readline.m4: Look for termcap, curses or ncurses if required.
1243 2005-08-11 Simon Josefsson <jas@extundo.com>
1245 * readline.m4: New file.
1247 2005-08-10 Simon Josefsson <jas@extundo.com>
1249 * strnlen.m4: New file.
1251 * strndup.m4: Don't check for strnlen declaration, done in
1254 2005-08-10 Stepan Kasal <kasal@ucw.cz>
1256 * onceonly_2_57.m4: Really require Autoconf 2.57.
1258 2005-08-02 Simon Josefsson <jas@extundo.com>
1260 * getline.m4: Separate out getdelim stuff into separate module.
1262 * getdelim.m4: New file.
1264 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1266 Add support to getopt for Emacs, which doesn't use LIBOBJS in the
1268 * getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER): New macro.
1269 (gl_GETOPT_SUBSTITUTE): Use it. Invoke gl_PREREQ_GETOPT.
1270 (gl_GETOPT_IFELSE, gl_GETOPT_CHECK_HEADERS): New macros.
1271 (gl_GETOPT): Use the new macros. Most of the implementation
1272 is moved to the new macros. This is for programs like Emacs
1273 that don't want all the functionality of gl_GETOPT.
1275 2005-07-26 Bruno Haible <bruno@clisp.org>
1277 * lock.m4: Update from GNU gettext.
1279 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1281 * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_IFELSE instead of the
1282 obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
1284 2005-07-24 Bruno Haible <bruno@clisp.org>
1286 * visibility.m4: New file.
1288 2005-07-18 Bruno Haible <bruno@clisp.org>
1290 * lock.m4: New file, from GNU gettext.
1292 2005-06-01 Bruno Haible <bruno@clisp.org>
1294 * poll.m4 (gl_FUNC_POLL): Check against MacOS X 10.4 poll() bug.
1295 When using lib/poll.c, define poll as rpl_poll.
1297 2005-07-14 Bruno Haible <bruno@clisp.org>
1299 * argp.m4 (gl_ARGP): Remove invocation of gl_FUNC_GLIBC_UNLOCKED_IO.
1300 Instead, test for *_unlocked function declarations directly.
1302 2005-07-14 Derek Price <derek@ximbiot.com>
1304 * glob.m4 (gl_GLOB): Cache glob interface check result. Add check for
1307 2005-07-10 Bruno Haible <bruno@clisp.org>
1309 * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t.
1310 Needed when size_t is smaller than 'unsigned int'.
1311 Reported by Paul Eggert.
1313 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1315 * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1316 * same.m4 (gl_SAME): Likewise.
1317 Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1319 * regex.m4: Adjust to new libc regex implementation.
1320 (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
1321 all the .c and .h parts of (the new) regex.
1322 Quote the m4 stuff better.
1323 Check for RE_ICASE bug of old gnulib.
1324 Check for REG_STARTEND of recent libc.
1325 Rename local variables from jm_* to gl_*.
1326 Quote operand of "test -f".
1327 Say "recent enough" version of libc, not "version 2".
1328 (gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a
1329 prerequisite module. Remove AC_HEADER_STDC; no longer needed.
1330 Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll.
1331 Remove check for btowc, isascii.
1332 Require AM_LANGINFO_CODESET.
1334 2005-07-05 Bruno Haible <bruno@clisp.org>
1336 * mbrtowc.m4 (gl_FUNC_MBRTOWC): Upgrade to version from current
1337 autoconf CVS. Needed for mingw.
1339 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1341 Remove the dependency of the strftime module on the tzset module.
1342 * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1344 2005-07-02 Jim Meyering <jim@meyering.net>
1346 * chown.m4, cloexec.m4, dup2.m4, fsusage.m4:
1347 * getcwd-path-max.m4, getcwd.m4, mkstemp.m4, mountlist.m4:
1348 * pagealign_alloc.m4, save-cwd.m4, unistd-safer.m4:
1349 Don't check for fcntl.h, and don't test for HAVE_FCNTL_H.
1351 2005-06-28 Simon Josefsson <jas@extundo.com>
1353 * check-version.m4: New file, suggested by Jim Meyering
1356 2005-06-24 Derek Price <derek@ximbiot.com>
1357 and Bruno Haible <bruno@clisp.org>
1359 Remove stat module & update lstat.
1360 * lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
1361 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1362 * stat.m4: Remove this file.
1364 2005-06-20 Derek Price <derek@ximbiot.com>
1366 * bison.m4: Note that precious decls of YACC & YFLAGS will be
1367 unnecessary for Autoconfs > 2.59c.
1369 2005-06-16 Derek Price <derek@ximbiot.com>
1371 * bison.m4: Declare YACC & YFLAGS precious.
1373 2005-06-08 Bruno Haible <bruno@clisp.org>
1375 * csharpcomp.m4: New file, from GNU gettext.
1377 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1379 Sync from coreutils.
1380 * mkdir-p.m4: Renamed from makepath.m4.
1381 (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed.
1382 Rename files from makepath.c to mkdir-p.c, and from
1383 makepath.h to mkdir-p.h.
1384 * filenamecat.m4: Renamed from path-concat.m4.
1385 (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed.
1386 Rename files from path-concat.c to filenamecat.c,
1387 and from path-concat.h to filenamecat.h.
1388 * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1389 "file name" in local variables or comments.
1390 * rename.m4: Likewise.
1392 2005-06-01 Bruno Haible <bruno@clisp.org>
1394 * csharp.m4: New file, from GNU gettext.
1395 * csharpexec.m4: New file, from GNU gettext.
1397 2005-05-31 Derek Price <derek@ximbiot.com>
1398 Paul Eggert <eggert@cs.ucla.edu>
1401 * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
1403 2005-05-29 Derek Price <derek@ximbiot.com>
1404 Paul Eggert <eggert@cs.ucla.edu>
1406 * glob.m4: New file.
1408 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1410 * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1411 and don't require gt_INTTYPES_PRI.
1413 2005-05-26 Paul Eggert <eggert@cs.ucla.edu>
1415 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Define
1416 _POSIX_PTHREAD_SEMANTICS for Solaris.
1418 2005-05-25 Derek Price <derek@ximbiot.com>
1419 Paul Eggert <eggert@cs.ucla.edu>
1421 * getlogin_r.m4: New files.
1423 2005-05-22 Bruno Haible <bruno@clisp.org>
1425 * minmax.m4: New file.
1426 Based on a patch by Derek Price <derek@ximbiot.com>.
1428 2005-05-20 Paul Eggert <eggert@cs.ucla.edu>
1430 * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1431 (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1433 2005-05-20 Eric Blake <ebb9@byu.net> (tiny change)
1435 * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1438 2005-05-18 Paul Eggert <eggert@cs.ucla.edu>
1440 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1441 Don't check for stddef.h.
1442 * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1443 don't use its results.
1444 Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1445 since we include them unconditionally. Don't require
1446 AM_STDBOOL_H, since stdbool is a prerequisite.
1447 Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1448 since we assume C89 or better.
1449 Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1450 as we don't use their results.
1451 Don't check for fchdir, memmove, memset, strrchr, as we use
1452 them unconditionally.
1453 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1454 GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1456 2005-05-18 Jim Meyering <jim@meyering.net>
1458 * fts.m4 (AC_LIBSOURCES): Add intprops.h to the list.
1459 Reported by Yoann Vandoorselaere.
1461 2005-05-17 Jim Meyering <jim@meyering.net>
1463 * fts.m4: New file, from coreutils.
1465 2005-05-14 Paul Eggert <eggert@cs.ucla.edu>
1467 Sync from coreutils.
1468 * unlinkdir.m4: New file.
1470 2005-05-10 Derek Price <derek@ximbiot.com>
1472 * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1475 2005-05-10 Simon Josefsson <jas@extundo.com>
1477 * getaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
1478 Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
1480 2005-05-09 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
1481 Bruno Haible <bruno@clisp.org>
1483 * inet_ntop.m4: New file.
1485 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1487 * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1490 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1492 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1493 * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1494 (gl_PREREQ_CHOWN): Remove.
1495 * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1496 it. Don't require AC_HEADER_STAT.
1497 (gl_PREREQ_LSTAT): Remove.
1498 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1499 Don't require AC_HEADER_STAT.
1500 * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1501 (gl_PREREQ_RMDIR): Remove.
1502 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1503 mention stat-macros.h or AC_HEADER_STAT, since we'll make
1504 the stat-macros module a prerequisite.
1505 * file-type.m4 (gl_FILE_TYPE): Likewise.
1506 * filemode.m4 (gl_FILEMODE): Likewise.
1507 * makepath.m4 (gl_MAKEPATH): Likewise.
1508 * modechange.m4 (gl_MODECHANGE): Likewise.
1509 * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1511 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1512 fetish_FUNC_RMDIR_NOTEMPTY. All uses changed. Use gl_ for
1514 * fcntl-safer.m4: Remove.
1515 * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1516 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1517 Invoke gl_PREREQ_FD_SAFER.
1518 (gl_PREREQ_FD_SAFER): New macro.
1519 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Check for siginterrupt.
1520 * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1521 Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1522 Remove duplicate call to AC_LIBOBJ(readutmp).
1523 (gl_PREREQ_READUTMP): Remove. All uses inlined.
1525 * mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check for message, not for
1526 MAP_ANON. Problem reported by Moriyoshi Koizumi to bug-cvs.
1528 2005-05-01 Oskar Liljeblad <oskar@osk.mine.nu>
1530 * byteswap.m4: New file.
1534 * gettext.m4: Update from GNU gettext 0.14.4.
1536 2005-04-15 Simon Josefsson <jas@extundo.com>
1538 * getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
1540 2005-03-28 Eric Blake <ebb9@byu.net> (tiny change)
1542 * getcwd-path-max.m4: Return success on systems such as Cygwin
1543 where no absolute path name can be longer than PATH_MAX.
1545 2005-03-22 Jim Meyering <jim@meyering.net>
1547 * stat-macros.m4 (gl_STAT_MACROS): New file/macro.
1549 2005-03-21 Jim Meyering <jim@meyering.net>
1550 and Paul Eggert <eggert@cs.ucla.edu>
1552 * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4,
1553 cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4,
1554 exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4,
1555 getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4,
1556 getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4,
1557 idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4,
1558 memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4,
1559 path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4,
1560 quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4,
1561 safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4,
1562 strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4,
1563 unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4,
1564 xnanosleep.m4, xstrtol.m4, yesno.m4:
1565 Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files
1568 2005-03-21 Jim Meyering <jim@meyering.net>
1570 * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Invoke gl_FUNC_MEMRCHR.
1571 * memrchr.m4 (gl_FUNC_MEMRCHR): Check for memrchr decl.
1573 2005-03-16 Bruno Haible <bruno@clisp.org>
1575 * stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
1576 HAVE_LONGLONG_64BIT.
1578 2005-03-14 Bruno Haible <bruno@clisp.org>
1580 * lib-link.m4, gettext.m4, nls.m4, po.m4:
1581 Update from GNU gettext 0.14.3.
1583 2005-03-10 Jim Meyering <jim@meyering.net>
1585 * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1587 2005-03-07 Bruno Haible <bruno@clisp.org>
1589 * mmap-anon.m4 (MAP_FILE, MAP_FAILED): Remove definitions.
1591 2005-03-03 Bruno Haible <bruno@clisp.org>
1593 * inttypes.m4, isc-posix.m4, once-only.m4:
1594 Use an all-permissive copyright notice, recommended by RMS.
1596 2005-03-03 Derek R. Price <derek@ximbiot.com>
1598 * mmap-anon.m4: New file.
1599 * pagealign_alloc.m4: New file.
1601 2005-01-28 Bruno Haible <bruno@clisp.org>
1603 * stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because of
1604 AIX, the replacement has to be done only after <string.h> is included,
1605 therefore not in config.h. stpncpy.h does the replacement, and
1608 2005-03-01 Paul Eggert <eggert@cs.ucla.edu>
1610 * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1611 to detect nanosleep bug.
1613 2005-02-25 Paul Eggert <eggert@cs.ucla.edu>
1615 * gethrxtime.m4, xnanosleep.m4: New files.
1616 * gettime.m4 (gl_GETTIME): Check for nanotime.
1618 2005-02-24 Bruno Haible <bruno@clisp.org>
1620 * gettext.m4, intdiv0.m4, intmax.m4, inttypes-pri.m4, lcmessage.m4:
1621 * lib-link.m4, lib-prefix.m4, nls.m4, po.m4, printf-posix.m4:
1623 Update from GNU gettext 0.14.2.
1624 * glibc2.m4: New file, from GNU gettext 0.14.2.
1626 2005-02-22 Simon Josefsson <jas@extundo.com>
1628 * iconvme.m4: New file.
1630 2005-02-23 Jim Meyering <jim@meyering.net>
1632 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
1633 Thanks to Bruno Haible for catching it.
1635 2005-02-22 Jim Meyering <jim@meyering.net>
1637 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
1639 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1641 * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
1643 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
1645 Sync from coreutils.
1646 * getloadavg.m4, glibc.m4, search-libs.m4: Remove.
1648 Remove files that are specific to coreutils.
1649 * check-decl.m4, jm-macros.m4, lib-check.m4, prereq.m4: Remove.
1651 2005-01-28 Bruno Haible <bruno@clisp.org>
1653 * javacomp.m4: New file, from GNU gettext.
1655 2005-01-26 Bruno Haible <bruno@clisp.org>
1657 * javaexec.m4: New file, from GNU gettext.
1659 2005-01-24 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1661 * sysexits.m4 (gl_SYSEXITS): Reverted logic. SYSEXITS_H
1662 must be defined if the header file was not found, in order
1663 to provide a replacement. Reported by Todd Vierling <tv@duh.org>
1665 2005-01-23 Paul Eggert <eggert@cs.ucla.edu>
1667 * acl.m4, afs.m4, alloca.m4, argp.m4, assert.m4, atexit.m4,
1668 backupfile.m4, base64.m4, bison.m4, c-bs-a.m4, c-stack.m4,
1669 c-strtod.m4, calloc.m4, canon-host.m4, canonicalize.m4,
1670 clock_time.m4, cloexec.m4, closeout.m4, d-ino.m4, d-type.m4,
1671 dirfd.m4, dirname.m4, dos.m4, dup2.m4, error.m4, euidaccess.m4,
1672 exclude.m4, exitfail.m4, extensions.m4, fcntl-safer.m4,
1673 file-type.m4, fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4,
1674 free.m4, fstypename.m4, fsusage.m4, ftruncate.m4, getaddrinfo.m4,
1675 getcwd-path-max.m4, getcwd.m4, getdate.m4, getdomainname.m4,
1676 getgroups.m4, gethostname.m4, getline.m4, getndelim2.m4,
1677 getnline.m4, getopt.m4, getpagesize.m4, getpass.m4, getsubopt.m4,
1678 gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4,
1679 group-member.m4, hard-locale.m4, hash.m4, host-os.m4, human.m4,
1680 idcache.m4, inttostr.m4, isdir.m4, jm-winsz1.m4, jm-winsz2.m4,
1681 link-follow.m4, long-options.m4, ls-mntd-fs.m4, lstat.m4,
1682 makepath.m4, mathl.m4, md5.m4, memcasecmp.m4, memchr.m4,
1683 memcmp.m4, memcoll.m4, memcpy.m4, memmem.m4, memmove.m4,
1684 memrchr.m4, memset.m4, mkdir-slash.m4, mkstemp.m4, mktime.m4,
1685 modechange.m4, mountlist.m4, nanosleep.m4, obstack.m4,
1686 path-concat.m4, pathmax.m4, perl.m4, physmem.m4, poll.m4,
1687 posixtm.m4, posixver.m4, putenv.m4, quote.m4, quotearg.m4,
1688 readdir.m4, readtokens.m4, readutmp.m4, regex.m4, rename.m4,
1689 restrict.m4, rmdir-errno.m4, rmdir.m4, rpmatch.m4, same.m4,
1690 savedir.m4, settime.m4, sha1.m4, sig2str.m4, snprintf.m4,
1691 sockpfaf.m4, st_dm_mode.m4, st_mtim.m4, stat.m4, stdint.m4,
1692 stdio-safer.m4, strchrnul.m4, strdup.m4, strerror.m4,
1693 strerror_r.m4, strftime.m4, strndup.m4, strnlen.m4, strsep.m4,
1694 strtod.m4, strtoimax.m4, strtok_r.m4, strtol.m4, strtoll.m4,
1695 strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4, sysexits.m4,
1696 time_r.m4, timegm.m4, timespec.m4, tm_gmtoff.m4, tzset.m4,
1697 uint32_t.m4, uintptr_t.m4, unistd-safer.m4, unlink-busy.m4,
1698 unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4, utime.m4,
1699 utimecmp.m4, utimens.m4, utimes-null.m4, vsnprintf.m4, xalloc.m4,
1700 xgetcwd.m4, xreadlink.m4, xstrndup.m4, xstrtod.m4, xstrtoimax.m4,
1701 xstrtol.m4, xstrtoumax.m4, yesno.m4:
1702 Use an all-permissive copyright notice, recommended by RMS.
1704 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
1706 * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
1708 2005-01-18 Paul Eggert <eggert@cs.ucla.edu>
1710 Merge from coreutils.
1711 * ullong_max.m4: New file.
1712 * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
1713 (gl_MACROS): Assume localeconv exists.
1715 2005-01-18 Jim Meyering <jim@meyering.net>
1717 Merge from coreutils.
1718 * chdir-long.m4, openat.m4: New files.
1719 * save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c,
1720 save-cwd.h. Add AC_LIBOBJ for save-cwd.
1721 * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
1722 is sane and DOES follow symlinks. Besides, testing 20 different
1723 systems found no broken chown implementations.
1724 Prompted by a change in rsync's copy of this macro.
1725 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR_LONG.
1727 * lchown.m4 (gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
1729 * utimes.m4: Work around tests/touch/empty-file failure on a system
1730 (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
1731 NULL-means-set-to-current-time semantics.
1732 Remove temporary file immediately, rather than waiting
1733 for configure's at-exit trap code to do it.
1735 2005-01-18 Bruno Haible <bruno@clisp.org>
1737 * allocsa.m4, codeset.m4, copy-file.m4, eaccess.m4, eealloc.m4:
1738 * eoverflow.m4, execute.m4, fatal-signal.m4, findprog.m4, glibc21.m4:
1739 * iconv.m4, intmax_t.m4, inttypes_h.m4, lib-ld.m4, lib-link.m4:
1740 * lib-prefix.m4, linebreak.m4, localcharset.m4, longdouble.m4:
1741 * longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mkdtemp.m4:
1742 * pipe.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4:
1743 * sig_atomic_t.m4, signalblocking.m4, signed.m4, size_max.m4:
1744 * ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4, stpncpy.m4:
1745 * strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, ucs4-utf.m4:
1746 * uintmax_t.m4, ulonglong.m4, unicodeio.m4, utf-ucs4.m4, vasnprintf.m4:
1747 * vasprintf.m4, wait-process.m4, wchar_t.m4, wint_t.m4, xsize.m4:
1748 Use an all-permissive copyright notice, recommended by RMS.
1750 2005-01-06 Bruno Haible <bruno@clisp.org>
1752 * stpncpy.m4 (gl_FUNC_STPNCPY): Rename stpncpy to gnu_stpncpy here.
1754 2005-01-04 Jim Meyering <jim@meyering.net>
1756 Changes imported from coreutils.
1757 * mkstemp.m4 (gl_FUNC_MKSTEMP): Rather than using "conftestXXXXXX"
1758 as the mkstemp template, use a temporary directory and an
1759 8.3-friendly template to avoid trouble on systems like DJGPP.
1760 Reported by Juan M. Guerrero via Stepan Kasal.
1761 * (gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of close.
1762 Remove the temporary directory right away, rather than waiting
1763 for configure's at-exit trap code to do it.
1764 Suggestion from Stepan Kasal.
1766 2004-12-24 Paul Eggert <eggert@cs.ucla.edu>
1768 * c-strtod.m4 (gl_C99_STRTOLD): New macro.
1769 (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
1771 2004-12-23 Paul Eggert <eggert@cs.ucla.edu>
1773 * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
1775 2004-12-18 Bruno Haible <bruno@clisp.org>
1777 * fatal-signal.m4 (gl_FATAL_SIGNAL): Also test for sigaction.
1779 2004-12-07 Paul Eggert <eggert@cs.ucla.edu>
1781 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
1782 spurious "-l"s. Problem reported by Stepan Kasal.
1784 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1786 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
1787 in Autoconf 2.59. Problem reported by Mark D. Baushke.
1789 2004-12-04 Paul Eggert <eggert@cs.ucla.edu>
1791 Changes imported from coreutils.
1792 * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
1794 * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
1796 2004-11-30 Paul Eggert <eggert@cs.ucla.edu>
1798 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1799 Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
1801 * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
1803 2004-11-30 Simon Josefsson <jas@extundo.com>
1805 * base64.m4: New file.
1807 2004-11-30 Simon Josefsson <jas@extundo.com>
1809 * restrict.m4: Add copyright and copying conditions.
1811 2004-11-25 Paul Eggert <eggert@cs.ucla.edu>
1813 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
1814 GL_FUNC_GETCWD_PATH_MAX for consistency. All uses changed.
1815 Use the _ONCE methods, for efficiency.
1816 Check for fcntl.h. In test program, include <errno.h>
1817 and <fcntl.h> if available. Remove old K&R cruft from
1818 test program. Check for common errors in GNU/Linux,
1819 OpenBSD, and Solaris. Just set gl_cv_func_getcwd_path_max;
1820 don't do AC_LIBOBJ, as that's getcwd.m4's job.
1821 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
1822 AC_FUNC_GETCWD_NULL. All used changed. Change cache variable
1824 (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros. Revamp to
1825 accommodate new getcwd.c.
1826 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
1827 * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
1828 * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
1829 that's all we need now.
1831 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1833 * utimens.m4 (gl_UTIMENS): Check for futimes function.
1835 2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1837 * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
1838 argp-parse.c depends on getopt internals, that means we should
1839 always use our getopt, to be on the safe side.
1840 * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
1841 order not to spoil the result of an eventual previous invocation
1842 of gl_GETOPT_SUBSTITUTE.
1844 2004-11-17 Paul Eggert <eggert@cs.ucla.edu>
1846 * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
1847 that mishandle size_t overflow.
1849 2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
1851 * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
1853 2004-11-13 Jim Meyering <jim@meyering.net>
1855 * jm-macros.m4: Do require gl_FUNC_FPENDING.
1857 2004-11-11 Paul Eggert <eggert@cs.ucla.edu>
1859 * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead
1860 of replacing opterr, getopt, etc. This should handle the
1861 powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson.
1863 2004-11-11 Simon Josefsson <jas@extundo.com>
1865 * strtok_r.m4: New file.
1867 * getopt.m4: Replace opterr.
1869 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
1871 * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
1873 2004-11-10 Jim Meyering <jim@meyering.net>
1875 * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING.
1877 2004-11-08 Simon Josefsson <jas@extundo.com>
1879 * getaddrinfo.m4: New file.
1881 2004-11-09 Paul Eggert <eggert@cs.ucla.edu>
1883 * strftime.m4 (_gl_STRFTIME_PREREQS): Remove. Move its body to
1885 (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE
1886 and AC_REQUIRE when possible, to avoid duplicate checks.
1887 Check for <wchar.h>.
1889 2004-11-09 Bruno Haible <bruno@clisp.org>
1891 * sockpfaf.m4: New file.
1893 2004-11-03 Albert Chin <china@thewrittenword.com>
1894 Paul Eggert <eggert@cs.ucla.edu>
1896 * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
1897 equivalent, substitute $ac_type for equivalent type rather than
1898 blindly using uint32_t *always* which won't work if uint32_t is not
1899 available. Define _UINT32_T to work around typedef of uint32_t if
1900 <sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
1903 2004-11-02 Paul Eggert <eggert@cs.ucla.edu>
1905 * jm-macros.m4: Sync from coreutils.
1906 (gl_MACROS): Check for mbrlen, for pathchk.
1907 (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
1909 2004-11-02 Bruno Haible <bruno@clisp.org>
1911 * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv()
1914 2004-11-01 Paul Eggert <eggert@cs.ucla.edu>
1916 * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
1917 fflush_unlocked, flockfile, funlockfile, funlockfile,
1918 fputs_unlocked, putc_unlocked.
1920 2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
1922 * getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
1924 2004-10-15 Paul Eggert <eggert@cs.ucla.edu>
1926 * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
1927 implementation of getopt_long. Problem reported by Alexander Taler in:
1928 http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
1930 2004-10-11 Yoann Vandoorselaere <yoann@prelude-ids.org>
1932 * vsnprintf.m4: New file.
1934 2004-10-05 Bruno Haible <bruno@clisp.org>
1936 * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check
1937 for the declaration of strsep.
1939 2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
1941 * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove. All uses removed.
1943 * unlocked-io.m4: Add copyright notice.
1944 (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
1946 2004-10-04 Simon Josefsson <jas@extundo.com>
1948 * memmem.m4: New file.
1950 2004-10-01 Yoann Vandoorselaere <yoann@prelude-ids.org>
1952 * strsep.m4: New file.
1954 2004-09-30 Simon Josefsson <jas@extundo.com>
1956 * snprintf.m4: New file.
1958 2004-09-09 Bruno Haible <bruno@clisp.org>
1960 * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with
1962 * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
1964 2004-09-08 Bruno Haible <bruno@clisp.org>
1966 * stdint.m4: New file, taken from GNU clisp with modifications.
1968 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
1970 * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA.
1972 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
1974 * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody
1975 uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
1976 Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
1977 Check for program_invocation_name, program_invocation_short_name,
1978 flockfile, funlockfile, features.h, _getopt_long_only_r.
1980 2004-08-12 Simon Josefsson <jas@extundo.com>
1982 * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
1983 as discussed with Paul Eggert in threads rooted at
1984 <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
1986 <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
1987 Before, the test was empty, and relied on ELIDE_CODE in source
1989 (gl_PREREQ_GETOPT): New macro.
1990 (gl_GETOPT): Use them.
1992 2004-08-11 Paul Eggert <eggert@cs.ucla.edu>
1994 Merge from coreutils.
1996 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
1998 * obstack.m4 (gl_PREREQ_OBSTACK): Require
1999 gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
2001 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
2003 * uint32_t.m4, uintptr_t.m4: New files.
2004 * sha1.m4: Renamed from sha.m4.
2005 (gl_SHA1): Renamed from gl_SHA. All uses changed.
2007 2004-08-08 Simon Josefsson <jas@extundo.com>
2009 * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
2010 Check getpass declaration.
2012 2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
2014 More merge from coreutils.
2016 * utimens.m4, utimecmp.m4: New files.
2017 * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
2018 fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
2019 prereq.m4, sha.m4: Import changes from coreutils.
2021 2004-08-05 Paul Eggert <eggert@cs.ucla.edu>
2023 Merge from coreutils.
2025 * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
2028 * dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
2029 FILESYSTEM_PREFIX_LEN ->
2030 FILE_SYSTEM_PREFIX_LEN.
2031 FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX ->
2032 FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.
2033 FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR ->
2034 FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
2036 * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
2037 prerequisite modules now handle the DOS stuff.
2038 Don't check for unistd.h.
2040 2004-08-03 Simon Josefsson <jas@extundo.com>
2042 * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it.
2044 2004-08-02 Simon Josefsson <jas@extundo.com>
2046 * getsubopt.m4: New file.
2048 2004-08-03 Paul Eggert <eggert@cs.ucla.edu>
2050 * fatal.m4: Remove, as the "fatal" module wasn't used or working.
2052 2004-07-13 Robert Millan <robertmh@gnu.org>
2054 * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
2056 2004-06-22 Paul Eggert <eggert@cs.ucla.edu>
2058 * argz.m4: New file, which is autoupdated from libtool.
2060 2004-06-01 Jim Meyering <jim@meyering.net>
2062 * calloc.m4: New file.
2064 2004-06-01 Paul Eggert <eggert@cs.ucla.edu>
2066 Merge from coreutils CVS.
2068 * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4,
2069 makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4,
2070 putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4,
2071 strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4,
2072 xstrtol.m4: Fix copyright date and/or serial number.
2074 * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
2075 See if we need an fchown replacement.
2076 (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
2077 (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
2078 and use the replacement function if we detect either defect.
2080 * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR,
2083 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
2085 * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI
2086 C B3910B A.05.55 [Dec 04 2003]. Problem reported by Jim Meyering.
2087 Also, fix a typo in a diagnostic.
2089 2004-05-30 Paul Eggert <eggert@cs.ucla.edu>
2091 * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC
2094 2004-05-20 Andreas Schwab <schwab@suse.de>
2096 * free.m4: Replace free if it not known to work, not the other
2099 2004-05-17 Derek R. Price <derek@ximbiot.com>
2100 Paul Eggert <eggert@cs.ucla.edu>
2102 * argp: Depend on alloca.
2104 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
2106 * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
2107 for backward compatibility with older code. We need our own
2108 alloca.h if _AIX is defined. Define HAVE_ALLOCA if we discover
2109 it under some other name, and our alloca.h will define it.
2111 2004-05-13 Paul Eggert <eggert@cs.ucla.edu>
2113 * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC.
2114 Check for gettimeofday.
2115 * settime.m4 (gl_SETTIME): Require gl_TIMESPEC.
2116 Check for settimeofday, stime.
2118 2004-04-20 Paul Eggert <eggert@twinsun.com>
2120 * host-os.m4: Add a copyright notice.
2122 2004-04-20 Jim Meyering <jim@meyering.net>
2124 Change UTILS_ to gl_ in AC_DEFINE'd names.
2125 Change utils_- and jm_-prefixed variables, too.
2126 * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
2127 UTILS_FUNC_MKDIR_TRAILING_SLASH.
2128 * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
2130 * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
2131 Don't emit trailing blanks.
2132 Also rename jm_-prefixed variables to have gl_ prefix.
2134 * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS.
2135 Also rename jm_-prefixed variables to have gl_ prefix.
2137 * jm-macros.m4: Reflect the renamings.
2138 * prereq.m4: Likewise.
2140 2004-04-19 Jim Meyering <jim@meyering.net>
2142 * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
2143 now that readutmp.c may call `free (0)'.
2145 2004-04-19 Bruno Haible <bruno@clisp.org>
2147 * mbrtowc.m4: Change jm_ to gl_ in cache variables as well.
2148 * inttypes_h.m4: Likewise.
2149 * stdint_h.m4: Likewise.
2150 * intmax_t.m4: Likewise.
2151 * uintmax_t.m4: Likewise.
2153 2004-04-18 Jim Meyering <jim@meyering.net>
2155 * prereq.m4: Don't forbid jm_ prefix.
2157 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
2158 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4:
2159 * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4:
2160 * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4:
2161 * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4:
2162 * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4:
2163 * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
2164 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
2165 * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4:
2166 * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4:
2167 * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4:
2168 * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4:
2169 * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4:
2170 * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4:
2171 * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
2172 Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
2174 2004-04-16 Jim Meyering <jim@meyering.net>
2176 * prereq.m4 (jm_PREREQ_STAT): Remove macro. It is specific to
2177 coreutils' stat program.
2178 (gl_PREREQ): Don't require jm_PREREQ_STAT.
2180 2004-03-31 Jim Meyering <jim@meyering.net>
2182 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
2183 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2184 * xalloc.m4: Likewise.
2186 2004-03-30 Jim Meyering <jim@meyering.net>
2188 * realloc.m4: Remove file, since now it does no more than
2189 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
2190 the `configure.ac' section of module/realloc.
2191 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
2193 2004-03-30 Paul Eggert <eggert@twinsun.com>
2195 Merge from coreutils.
2197 * inttostr.m4: New file.
2198 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
2199 Require AM_STDBOOL_H and gl_TIMESPEC instead.
2200 Require gl_CLOCK_TIME.
2201 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
2203 2004-03-30 Jim Meyering <jim@meyering.net>
2205 Merge from coreutils.
2207 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
2208 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
2209 on some systems one must include <grp.h> before it.
2210 Reported by Christian Krackowizer.
2212 2004-03-29 Paul Eggert <eggert@twinsun.com>
2214 * cloexec.m4: New file.
2216 2004-03-18 Paul Eggert <eggert@twinsun.com>
2217 Bruno Haible <bruno@clisp.org>
2219 * mbswidth.m4 (gl_MBSWIDTH): Also test whether <wchar.h> declares
2222 2004-03-07 Paul Eggert <eggert@twinsun.com>
2224 * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
2225 All uses changed. Check for sa_sigaction member; this fixes
2226 a bug first reported by Jason Andrade in
2227 <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
2229 2004-01-18 Simon Josefsson <jas@extundo.com>
2231 * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared.
2233 2004-02-18 Bruno Haible <bruno@clisp.org>
2235 * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
2236 Reported by Derek Robert Price <derek@ximbiot.com>.
2238 2004-02-06 Karl Berry <karl@gnu.org>
2240 * po.m4: update from gettext 0.14.1.
2242 2004-02-03 Bruno Haible <bruno@clisp.org>
2244 * pipe.m4: New file, from GNU gettext.
2246 2004-01-27 Bruno Haible <bruno@clisp.org>
2248 * execute.m4: New file, from GNU gettext.
2250 2003-11-24 Bruno Haible <bruno@clisp.org>
2252 * allocsa.m4: New file, from GNU gettext.
2254 2003-11-24 Bruno Haible <bruno@clisp.org>
2256 * eealloc.m4: New file, from GNU gettext.
2258 2004-01-15 Paul Eggert <eggert@twinsun.com>
2260 Merge from coreutils.
2262 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
2263 * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
2264 (gl_DEFAULT_POSIX2_VERSION): Move
2265 the documentation from 'configure' into 'config.hin',
2266 so that 'configure --help' isn't burdened by it and
2267 we don't have to worry about its formatting there.
2268 Reword the documentation so that it's more succinct
2269 and can be run together into a single paragraph.
2270 * same.m4 (gl_SAME): Check for pathconf.
2272 2004-01-15 Jim Meyering <jim@meyering.net>
2274 Merge from coreutils.
2276 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2277 if no library is required.
2278 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2279 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2280 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2281 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2282 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2283 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2284 value, $ac_cv_search_crypt, if it's "none required".
2285 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2286 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2287 not gl_FUNC_GETLOADAVG.
2288 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2289 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2291 2004-01-15 Alexandre Duret-Lutz <adl@gnu.org>
2293 Merge from coreutils.
2295 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2296 value, $ac_cv_search_nanosleep, if it's "none required".
2298 2003-12-03 Bruno Haible <bruno@clisp.org>
2300 * gettext.m4: Upgrade from gettext-0.13.
2301 * po.m4: Upgrade from gettext-0.13.
2302 * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
2303 * intmax.m4: New file, from gettext-0.13.
2304 * printf-posix.m4: New file, from gettext-0.13.
2306 2003-11-25 Bruno Haible <bruno@clisp.org>
2308 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require
2311 2003-11-17 Bruno Haible <bruno@clisp.org>
2313 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T.
2315 2003-11-12 Paul Eggert <eggert@twinsun.com>
2317 * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or
2320 2003-11-11 Bruno Haible <bruno@clisp.org>
2322 * size_max.m4: New file.
2323 * ptrdiff_max.m4: New file.
2324 * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
2325 * xalloc.m4 (gl_PREREQ_XALLOC): New macro.
2326 (gl_XALLOC): Invoke it.
2328 2003-11-04 Bruno Haible <bruno@clisp.org>
2330 * xsize.m4: New file.
2332 2003-11-03 Bruno Haible <bruno@clisp.org>
2334 * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid.
2336 2003-10-30 Paul Eggert <eggert@cs.ucla.edu>
2338 * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to
2339 netbsd*-gnu*. Suggested by Robert Millan.
2341 2003-10-29 Paul Eggert <eggert@twinsun.com>
2343 * xalloc.m4 (gl_XALLOC): Undo previous change.
2345 2003-10-29 Paul Eggert <eggert@twinsun.com>
2347 * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu. Add comments
2348 to it, and to knetbsd*-gnu and kfreebsd*-gnu. Remove the '*' from
2349 after the 'gnu' in these cases. This fixes some bugs in the
2350 previous change, and is based on suggestions by Robert Millan.
2352 2003-10-28 Paul Eggert <eggert@twinsun.com>
2354 * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and
2355 GNU/KNetBSD. These implementations use glibc atop the FreeBSD and
2356 NetBSD kernels. Requested by Richard Stallman.
2358 2003-10-26 Paul Eggert <eggert@twinsun.com>
2360 * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
2363 2003-10-23 Paul Eggert <eggert@twinsun.com>
2365 * getline.m4 (AM_FUNC_GETLINE):
2366 Don't include getndelim2.o twice into LIBOBJS; this breaks on some
2367 hosts. Problem reported by Derek Robert Price in
2368 <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
2369 This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
2370 * getndelim2.m4 (gl_GETNDELIM2): Likewise.
2372 2003-10-20 Bruno Haible <bruno@clisp.org>
2374 * wait-process.m4: New file.
2376 2003-10-14 Bruno Haible <bruno@clisp.org>
2378 * sig_atomic_t: New file, from GNU gettext.
2379 * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T.
2381 2003-10-12 Paul Eggert <eggert@twinsun.com>
2383 * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE.
2385 2003-10-10 Simon Josefsson <jas@extundo.com>
2387 * argp.m4: Add AC_C_INLINE.
2389 2003-10-08 Paul Eggert <eggert@twinsun.com>
2391 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2393 2003-10-06 Bruno Haible <bruno@clisp.org>
2395 * fatal-signal.m4: New file.
2396 * signalblocking.m4: New file, from GNU gettext.
2398 2003-09-27 Paul Eggert <eggert@twinsun.com>
2400 * free.m4: New file.
2402 2003-09-26 Bruno Haible <bruno@clisp.org>
2404 * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
2405 Don't define stpncpy through config.h; it's now done through stpncpy.h.
2407 2003-09-25 Simon Josefsson <jas@extundo.com>
2408 Bruno Haible <bruno@clisp.org>
2410 * getdomainname.m4: New file.
2412 2003-09-17 Paul Eggert <eggert@twinsun.com>
2414 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2415 to avoid spurious warnings like "AC_RUN_IFELSE was called before
2416 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2418 2003-09-12 Paul Eggert <eggert@twinsun.com>
2420 * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it.
2422 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2423 and AC_MINIX, too, so that their extensions are available.
2425 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
2426 This macro has been superseded by gl_BACKUPFILE.
2428 More patches to assume C89 or better.
2430 * error.m4 (gl_ERROR): Don't check for vprintf.
2432 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2434 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2435 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2436 Include <string.h>, <stdlib.h> unconditionally.
2437 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2438 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2439 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2441 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h
2444 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2445 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2446 * userspec.m4 (gl_USERSPEC): Likewise.
2447 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2448 * xstrtod.m4 (gl_XSTRTOD): Likewise.
2449 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2450 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2452 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2453 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2454 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2455 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2456 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2457 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2460 2003-09-11 Paul Eggert <eggert@twinsun.com>
2462 More patches to assume C89 or better.
2463 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2464 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2465 string.h, memchr, STDC_HEADERS.
2467 2003-09-10 Bruno Haible <bruno@clisp.org>
2469 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2470 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2471 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2472 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2473 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove
2474 <stdlib.h> and <string.h> checks.
2475 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2476 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2478 2003-09-09 Paul Eggert <eggert@twinsun.com>
2480 More patches to assume C89 or better.
2481 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2482 * getopt.m4 (gl_GETOPT): Don't check for string.h.
2483 * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
2485 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2486 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2488 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2490 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2491 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2492 * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
2494 * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
2495 * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
2497 * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
2499 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2500 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2501 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2502 * memcoll.m4 (gl_MEMCOLL): Likewise.
2503 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2504 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2506 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2507 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2508 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2509 C headers, or for string.h.
2510 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2511 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2512 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2513 headers, memory.h, stdlib.h, string.h, strings.h.
2514 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2515 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2516 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2518 * readtokens.m4 (gl_READTOKENS): Don't check for standard C
2519 headers, memory.h, string.h.
2520 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2521 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2523 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2524 * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
2525 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2526 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2527 * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
2528 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2530 2003-09-09 Derek Robert Price <derek@ximbiot.com>
2532 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2535 2003-09-08 Paul Eggert <eggert@twinsun.com>
2537 Assume C89 or better; remove K&R cruft.
2538 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2539 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2540 string.h, getenv, malloc.
2541 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2543 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2544 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2545 do not check for strerror.
2546 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2547 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2548 * fatal.m4 (gl_FATAL): Do not require STDC headers, and
2549 do not check for doprnt or vprintf.
2550 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
2551 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2553 2003-09-06 Paul Eggert <eggert@twinsun.com>
2555 * time_r.m4: New file.
2556 * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
2557 * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
2558 Check for timegm declaration.
2559 (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
2560 Do not check for gmtime_r.
2561 Replace mktime if __mktime_internal does not exist and if mktime
2562 hasn't been replaced already.
2564 2003-08-31 Simon Josefsson <jas@extundo.com>
2566 * timegm.m4: New file.
2568 2003-08-26 Bruno Haible <bruno@clisp.org>
2570 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2571 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2572 followed by '#define fnmatch fnmatch_posix' gives an error.
2574 2003-08-27 Jim Meyering <jim@meyering.net>
2576 * mkstemp.m4: Require that the system mkstemp be able to create
2577 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
2578 would fail after 32. Reported by Danny Levinson. Details here:
2579 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2581 2003-08-20 Karl Berry <karl@gnu.org>
2583 * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
2585 2003-08-19 Jim Meyering <jim@meyering.net>
2587 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2588 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2590 2003-08-19 Bruno Haible <bruno@clisp.org>
2592 * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
2594 2003-08-18 Jim Meyering <jim@meyering.net>
2596 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2597 * lib-ld.m4: Likewise.
2599 2003-08-17 Simon Josefsson <jas@extundo.com>
2601 * argp.m4: New file.
2603 2003-08-17 Simon Josefsson <jas@extundo.com>
2605 * xstrndup.m4: New file.
2607 2003-08-16 Jim Meyering <jim@meyering.net>
2609 * utimes.m4 (gl_FUNC_UTIMES): New file.
2610 * utimes.m4: Removed.
2611 * utimes-null.m4: Renamed from utimes.m4.
2613 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2614 to 1MB, so as not to render systems with no stack size limit (e.g.,
2615 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2616 Include <unistd.h>. On some systems,
2617 it is required for the definition of _SC_PAGESIZE.
2619 2003-08-16 Paul Eggert <eggert@twinsun.com>
2621 Merges from coreutils, etc.
2622 * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
2623 error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28.
2624 * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
2626 * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
2627 * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
2629 2003-08-16 Jim Meyering <jim@meyering.net>
2630 and Paul Eggert <eggert@cs.ucla.edu>
2632 Merges from coreutils, etc.
2634 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
2635 using the latest version from cvs. This avoids problems with #line
2636 directives using a vendor (Sun) compiler.
2637 (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
2638 Don't set GETGROUPS_LIB here; now it's
2639 done via getgroups.m4's wrapper function.
2640 AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
2641 rather than just in sh-util/configure.in, so that the
2642 now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
2644 Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
2645 AC_FUNC_GETLOADAVG where to find getloadavg.c.
2646 Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
2647 UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
2648 gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
2649 Remove code that is now done by the newly-required macros.
2650 Append $(EXEEXT) to DF_PROG.
2651 AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
2652 Do not invoke or require the following here,
2653 since prereq.m4 or some gnulib .m4 now does this for us:
2654 gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
2655 jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
2656 jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
2657 jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
2658 jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
2659 AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
2660 vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
2662 Do not replace the following functions, as this is now the job
2663 of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
2664 getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
2665 strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
2666 atexit getpass, strdup, getpagesize.
2668 Do not check for the following functions, as this is now the job
2669 of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
2670 getcwd, getmntinfo, resolvepath. But check for sysctl, setreuid,
2672 (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
2673 Check for sys/sysctl.h.
2674 (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
2675 jm_CHECK_TYPE_STRUCT_TIMESPEC. Invoke gt_TYPE_SSIZE_T instead
2676 of checking for ssize_t ourselves.
2678 * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
2679 Require every macro that gnulib/modules/* suggests for us.
2680 (jm_PREREQ_ADDEXT): New macro.
2681 (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
2682 Require jm_AC_TYPE_LONG_LONG instead of invoking it.
2684 * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
2685 (gl_PHYSMEM): Use it.
2686 Also check for `table' function.
2687 Check for new headers and functions.
2688 Add check for sys/sysmp.h.
2689 With suggestions from Kaveh Ghazi.
2690 Ignore headers that are present but cannot be compiled. This
2691 avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
2694 2003-08-16 Jim Meyering <jim@meyering.net>
2696 Merges from coreutils.
2697 * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
2698 prefix. Adjust cache variables similarly. Create 500 rather than
2699 just 300 files, to exercise bug on Darwin6.5, too.
2700 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
2701 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
2702 Reported by mkc@mathdogs.com.
2703 Also change use of $am_cv_sys_posix_termios
2704 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
2705 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
2706 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
2707 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
2708 /proc/mounts until it finds one with matching device number. This is
2709 unnecessary when the FILE argument *is* a mount point. No stat call
2710 is necessary in that case. So, disable the statvfs-testing code on
2711 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
2712 as RedHat bug# 84846.
2713 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2714 to 1MB, so as not to render systems with no stack size limit (e.g.,
2715 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2716 Include <unistd.h>. On some systems,
2717 it is required for the definition of _SC_PAGESIZE.
2719 2003-08-15 Jim Meyering <jim@meyering.net>
2720 and Paul Eggert <eggert@cs.ucla.edu>
2722 Merges from coreutils, etc.
2723 * strftime.m4 (_jm_STRFTIME_PREREQS):
2724 Require gl_FUNC_TZSET_CLOBBER.
2725 * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
2726 ut_exit.ut_termination, and ut_exit.e_termination members.
2728 2003-08-14 Paul Eggert <eggert@twinsun.com>
2730 Help the merge from coreutils.
2731 * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
2732 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
2733 * tzset.m4: Use it too.
2735 2003-08-14 Jim Meyering <jim@meyering.net>
2737 Merge from coreutils.
2738 * tzset.m4: New file.
2739 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
2740 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
2741 systems would end up using the latter. MOUNTED_GETMNTENT1 support
2742 is inadequate on such systems: 1) detecting whether a file system
2743 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
2744 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
2745 merely /MOUNT_POINT. Reported by Mike Jetzer.
2747 2003-08-13 Paul Eggert <eggert@twinsun.com>
2749 * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
2752 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2753 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2754 Undo previous (whitespace-only) change.
2756 2003-08-12 Paul Eggert <eggert@twinsun.com>
2758 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2759 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2760 Normalize leading white space and remove trailing white space.
2762 Merge from coreutils
2763 * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
2765 * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
2766 0.12.1. These files are now being upgraded automatically by
2767 ../config/srclist-update.
2769 2003-08-11 Bruno Haible <bruno@clisp.org>
2771 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
2773 2003-08-09 Paul Eggert <eggert@twinsun.com>
2775 * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
2776 apparently Emacs's Unicode mode got confused before my 2003-08-05
2779 2003-08-08 Paul Eggert <eggert@twinsun.com>
2781 * extensions.m4: New file.
2782 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
2783 Require gl_USE_SYSTEM_EXTENSIONS.
2784 * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
2785 Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
2787 2003-08-07 Paul Eggert <eggert@twinsun.com>
2789 * restrict.m4: New file.
2790 * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
2792 2003-08-07 Bruno Haible <bruno@clisp.org>
2794 * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
2795 the module 'getndelim2' compatible with the module 'getline'.
2797 2003-08-05 Paul Eggert <eggert@twinsun.com>
2799 * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
2800 byte with "\201" to avoid glitches when editing that source file
2801 with multi-gnome-terminal.
2803 2003-07-31 Bruno Haible <bruno@clisp.org>
2805 * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
2807 2003-07-18 Bruno Haible <bruno@clisp.org>
2809 * getndelim2.m4: New file.
2810 * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
2811 invoke gl_PREREQ_GETNDELIM2.
2812 (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
2813 gl_PREREQ_GETNDELIM2.
2814 * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
2817 2003-07-17 Bruno Haible <bruno@clisp.org>
2819 * Makefile.am.in: Remove file.
2820 * Makefile.am: Remove file.
2821 * Makefile.in: Remove file.
2823 2003-07-17 Bruno Haible <bruno@clisp.org>
2825 * getnline.m4: New file.
2827 2003-07-14 Simon Josefsson <jas@extundo.com>
2829 * mempcpy.m4: New file.
2831 2003-07-10 Jim Meyering <jim@meyering.net>
2833 * clock_time.m4: Remove trailing blank.
2834 * intmax_t.m4: Likewise.
2836 2003-07-01 Paul Eggert <eggert@twinsun.com>
2838 * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
2839 xreadlink.c now includes it unconditionally.
2841 2003-07-01 Bruno Haible <bruno@clisp.org>
2843 * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
2844 should be sufficient.
2845 Reported by Paul Eggert.
2847 2003-06-25 Bruno Haible <bruno@clisp.org>
2849 * readlink.m4: New file.
2851 2003-06-22 Bruno Haible <bruno@clisp.org>
2853 Portability to mingw32.
2854 * ssize_t.m4: New file, from GNU gettext.
2855 * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
2856 * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
2858 2003-06-11 Bruno Haible <bruno@clisp.org>
2860 * sysexits.m4: New file.
2862 2003-06-10 Simon Josefsson <jas@extundo.com>
2864 * strchrnul.m4: New file.
2866 2003-06-07 Bruno Haible <bruno@clisp.org>
2868 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
2869 gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
2870 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2872 * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
2873 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2876 2003-06-04 Paul Eggert <eggert@twinsun.com>
2878 * human.m4 (gl_HUMAN): Require AM_STDBOOL_H. Check for
2879 locale.h, localeconv. This merges changes from coreutils.
2881 * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
2882 It can be removed after the next Autoconf is released.
2883 * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
2886 2003-05-30 Bruno Haible <bruno@clisp.org>
2888 * gettext.m4: Upgrade to gettext-0.12.1.
2889 * nls.m4: New file, from gettext-0.12.1.
2890 * po.m4: New file, from gettext-0.12.1.
2891 * progtest.m4: Upgrade to gettext-0.12.1.
2893 2003-05-28 Paul Eggert <eggert@twinsun.com>
2895 Assume the headers required for C89 freestanding compilers.
2896 * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
2897 * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
2898 * human.m4 (gl_HUMAN): Likewise.
2899 * pathmax.m4 (gl_PATHMAX): Likewise.
2900 * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
2901 * userspec.m4 (gl_USERSPEC): Likewise.
2902 * xreadlink.m4 (gl_XREADLINK): Likewise.
2903 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2904 * quote.m4 (gl_QUOTE): Don't check for stddef.h.
2906 2003-05-26 Jim Meyering <jim@meyering.net>
2908 Merge in a change from coreutils:
2909 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
2910 that is guaranteed to be `no'. Use `no_such_member' to indicate
2911 that condition, rather than `-1' which is slightly misleading.
2912 Change the name of the cache variable to have the gl_ prefix.
2913 Prompted by a patch from Richard Dawe for DJGPP.
2915 2003-05-17 Bruno Haible <bruno@clisp.org>
2917 * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
2918 expansion for AC_EGREP_CPP.
2919 * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
2920 * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
2921 Suggested by Akim Demaille <akim@epita.fr> in
2922 http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
2924 2003-04-21 Paul Eggert <eggert@twinsun.com>
2926 * error.m4 (gl_ERROR): Do not put under dynamic conditions some
2927 code which expansion is under static control. Patch imported from
2928 Akim Demaille's patch to Bison; see
2929 <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
2931 2003-04-14 Bruno Haible <bruno@clisp.org>
2933 * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
2935 2003-04-10 Bruno Haible <bruno@clisp.org>
2937 * findprog.m4: New file.
2938 * eaccess.m4: New file.
2940 2003-04-04 Bruno Haible <bruno@clisp.org>
2942 * linebreak.m4: New file.
2944 2003-04-03 Bruno Haible <bruno@clisp.org>
2946 * utf-ucs4.m4: New file.
2947 * ucs4-utf.m4: New file.
2949 2003-03-30 Bruno Haible <bruno@clisp.org>
2951 * copy-file.m4 (gl_COPY_FILE): Add check for chown().
2953 2003-03-28 Bruno Haible <bruno@clisp.org>
2955 * copy-file.m4: New file.
2957 2003-03-18 Bruno Haible <bruno@clisp.org>
2959 * onceonly.m4: Use m4_defn instead of defn, for better error checking.
2960 * onceonly_2_57.m4: Likewise.
2962 2003-03-17 Bruno Haible <bruno@clisp.org>
2964 * onceonly.m4: Require autoconf 2.54 or newer.
2965 (m4_quote): Remove macro.
2966 * onceonly_2_57.m4: Require autoconf 2.54 or newer.
2968 2003-03-14 Bruno Haible <bruno@clisp.org>
2970 * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
2971 AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
2973 2003-03-13 Paul Eggert <eggert@twinsun.com>
2975 * onceonly.m4 (m4_quote): New macro.
2976 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
2977 Quote AC_FOREACH variable-expansions properly.
2979 2003-02-19 Paolo Bonzini <bonzini@gnu.org>
2981 * poll.m4: New file.
2983 2003-02-18 Paolo Bonzini <bonzini@gnu.org>
2985 * mathl.m4: New file.
2987 2003-02-17 Bruno Haible <bruno@clisp.org>
2989 * mkdtemp.m4: New file, from GNU gettext with modifications.
2991 2003-02-02 Jim Meyering <jim@meyering.net>
2993 * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
2996 2003-01-31 Bruno Haible <bruno@clisp.org>
2998 * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
3000 * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
3002 * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
3004 * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
3007 2003-01-30 Bruno Haible <bruno@clisp.org>
3009 * signed.m4: New file, from GNU gettext.
3010 * longdouble.m4: New file, from GNU gettext.
3011 * wchar_t.m4: New file, from GNU gettext.
3012 * wint_t.m4: New file, from GNU gettext.
3013 * vasnprintf.m4: New file.
3014 * vasprintf.m4: New file.
3016 2003-01-29 Bruno Haible <bruno@clisp.org>
3018 * stpncpy.m4: New file.
3020 2003-01-23 Jim Meyering <jim@meyering.net>
3022 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
3023 from working on systems without dirfd (at least Irix and OSF1/Tru64).
3025 2003-01-16 Jim Meyering <jim@meyering.net>
3027 * regex.m4: The `regex' struct is both input and output.
3028 Initialize it before each use. Patch by Tim Waugh.
3030 2003-01-11 Bruno Haible <bruno@clisp.org>
3032 * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
3033 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
3036 2003-01-11 Bruno Haible <bruno@clisp.org>
3038 * md5.m4 (gl_MD5): Require AC_C_INLINE.
3040 2003-01-11 Bruno Haible <bruno@clisp.org>
3042 * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
3044 2003-01-12 Paul Eggert <eggert@twinsun.com>
3046 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
3047 to avoid collisions with libcurses and libreadline.
3049 * getstr.m4: Remove.
3050 * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
3052 2003-01-10 Bruno Haible <bruno@clisp.org>
3054 * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
3056 2003-01-09 Bruno Haible <bruno@clisp.org>
3058 * stdbool.m4 (AM_STDBOOL_H): New macro.
3060 2002-12-31 Paul Eggert <eggert@twinsun.com>
3062 * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
3064 2002-12-24 Bruno Haible <bruno@clisp.org>
3066 General infrasructure.
3067 * README: Rewritten.
3068 * onceonly.m4: New file.
3069 * onceonly_2_57.m4: New file.
3072 * atexit.m4: New file.
3075 * strtod.m4: New file.
3078 * strtol.m4: New file.
3081 * strtoul.m4: New file.
3084 * memchr.m4: New file.
3087 * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
3088 (jm_FUNC_MEMCMP): Invoke it.
3091 * memcpy.m4: New file.
3094 * memmove.m4: New file.
3097 * memset.m4: New file.
3100 * strcspn.m4: New file.
3103 * strpbrk.m4: New file.
3106 * strstr.m4: New file.
3109 * strerror.m4: New file.
3112 * mktime.m4: Renamed from jm-mktime.m4.
3113 (gl_PREREQ_MKTIME): New macro.
3114 (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
3117 * malloc.m4 (gl_PREREQ_MALLOC): New macro.
3118 (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
3119 Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
3122 * realloc.m4 (gl_PREREQ_REALLOC): New macro.
3123 (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
3124 Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
3127 * tm_gmtoff.m4: New file, extracted from strftime.m4.
3128 * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
3129 Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
3131 (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
3134 * xalloc.m4: New file.
3137 * alloca.m4: New file.
3140 * putenv.m4 (gl_PREREQ_PUTENV): New macro.
3141 (jm_FUNC_PUTENV): Invoke it.
3144 * setenv.m4 (gt_FUNC_SETENV): New macro.
3145 (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
3147 (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
3151 * memrchr.m4: New file.
3154 * stpcpy.m4: New file.
3157 * strcase.m4: New file.
3160 * strdup.m4: New file.
3163 * strnlen.m4: New file.
3166 * strndup.m4: New file.
3169 * xstrtod.m4: New file.
3172 * xstrtol.m4: New file.
3175 * getdate.m4: New file.
3178 * unlocked-io.m4: Renamed from jm-glibc-io.m4.
3179 (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
3180 * jm-glibc-io.m4n: Remove file.
3182 Module long-options.
3183 * long-options.m4: New file.
3192 * getstr.m4: New file.
3195 * getline.m4 (gl_PREREQ_GETLINE): New macro.
3196 (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
3197 <sys/types.h>, for size_t. Use the function name gnu_getline, not
3198 simply getline. Infoke gl_PREREQ_GETLINE.
3201 * obstack.m4: New file.
3204 * hash.m4: New file.
3207 * readtokens.m4: New file.
3210 * strverscmp.m4: New file.
3213 * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
3216 * strtoll.m4: New file.
3219 * strtoull.m4: New file.
3222 * strtoimax.m4: New file.
3225 * strtoumax.m4: New file.
3228 * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
3229 Moved the strtol prerequisites to strtol.m4.
3230 Moved the strtoll prerequisites to strtoll.m4.
3231 Moved the strtoimax prerequisites to strtoimax.m4.
3234 * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
3235 Moved the strtoul prerequisites to strtoul.m4.
3236 Moved the strtoull prerequisites to strtoull.m4.
3237 Moved the strtoumax prerequisites to strtoumax.m4.
3240 * chown.m4 (gl_PREREQ_CHOWN): New macro.
3241 (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
3244 * dup2.m4: New file.
3247 * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
3248 (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
3251 * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
3252 (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
3254 Module gettimeofday.
3255 * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
3256 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
3257 gl_PREREQ_GETTIMEOFDAY.
3260 * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
3261 (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
3264 * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
3265 (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
3266 jm_AC_TYPE_UINTMAX_T.
3267 (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
3270 * stat.m4 (gl_PREREQ_STAT): New macro.
3271 (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
3274 * lstat.m4 (gl_PREREQ_LSTAT): New macro.
3275 (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
3278 * timespec.m4 (gl_TIMESPEC): New macro.
3279 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
3280 * st_mtim.m4: Indentation.
3283 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
3284 (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
3285 gl_PREREQ_NANOSLEEP.
3288 * regex.m4 (jm_PREREQ_REGEX): New macro.
3289 (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
3290 (gl_REGEX): New macro.
3293 * rename.m4 (gl_PREREQ_RENAME): New macro.
3294 (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
3297 * rmdir.m4: New file.
3300 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
3301 * utime.m4 (gl_PREREQ_UTIME): New macro.
3302 (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
3305 * dirname.m4: New file.
3308 * getopt.m4: New file.
3310 Module unistd-safer.
3311 * unistd-safer.m4: New file.
3314 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
3316 (gl_PREREQ_FNMATCH_EXTRA): New macro.
3317 (gl_FUNC_FNMATCH_POSIX): New macro.
3318 (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
3319 gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
3323 * exclude.m4: New file.
3326 * human.m4: New file.
3332 * backupfile.m4: New file.
3333 * d-ino.m4: Indentation.
3336 * fsusage.m4 (gl_FSUSAGE): New macro.
3337 (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
3338 (gl_PREREQ_FSUSAGE_EXTRA): New macro.
3341 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
3344 * euidaccess.m4: New file.
3347 * file-type.m4: New file.
3350 * fileblocks.m4: New file.
3353 * filemode.m4: New file.
3356 * isdir.m4: New file.
3359 * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
3360 (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
3363 * makepath.m4: New file.
3366 * modechange.m4: New file.
3369 * mountlist.m4: New file.
3370 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
3374 * path-concat.m4: New file.
3377 * pathmax.m4: New file.
3380 * same.m4: New file.
3383 * save-cwd.m4: New file.
3386 * savedir.m4: New file.
3389 * xgetcwd.m4: New file.
3390 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
3393 * xreadlink.m4: New file.
3396 * safe-read.m4: New file.
3399 * safe-write.m4: New file.
3402 * closeout.m4: New file.
3405 * stdio-safer.m4: New file.
3408 * getpass.m4: New file.
3411 * getugroups.m4: New file.
3413 Module group-member.
3414 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
3415 (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
3418 * idcache.m4: New file.
3421 * userspec.m4: New file.
3424 * clock_time.m4: New file.
3425 * gettime.m4: New file.
3428 * settime.m4: New file.
3431 * posixtm.m4: New file.
3434 * gethostname.m4: New file.
3437 * canon-host.m4: New file.
3440 * codeset.m4: New file, from gettext-0.11.5.
3441 * gettext.m4: New file, from gettext-0.11.5.
3442 * glibc21.m4: New file, from gettext-0.11.5.
3443 * iconv.m4: New file, from gettext-0.11.5.
3444 * intdiv0.m4: New file, from gettext-0.11.5.
3445 * inttypes-pri.m4: New file, from gettext-0.11.5.
3446 * inttypes.m4: New file, from gettext-0.11.5.
3447 * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
3448 * isc-posix.m4: New file, from gettext-0.11.5.
3449 * lcmessage.m4: New file, from gettext-0.11.5.
3450 * lib-ld.m4: New file, from gettext-0.11.5.
3451 * lib-link.m4: New file, from gettext-0.11.5.
3452 * lib-prefix.m4: New file, from gettext-0.11.5.
3453 * progtest.m4: New file, from gettext-0.11.5.
3454 * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
3455 * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
3456 * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
3458 Module localcharset.
3459 * localcharset.m4: New file.
3462 * hard-locale.m4: New file.
3465 * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
3467 * mbrtowc.m4: Add comment.
3470 * memcasecmp.m4: New file.
3473 * memcoll.m4: New file.
3476 * unicodeio.m4: New file.
3479 * rpmatch.m4: New file.
3482 * yesno.m4: New file.
3485 * exitfail.m4: New file.
3488 * c-stack.m4 (gl_C_STACK): New macro.
3489 (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
3492 * error.m4 (gl_ERROR): New macro.
3493 (jm_PREREQ_ERROR): Use onceonly macros.
3496 * fatal.m4: New file.
3499 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
3500 (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
3503 * getpagesize.m4: New file.
3505 Module getusershell.
3506 * getusershell.m4: New file.
3509 * physmem.m4: New file.
3512 * posixver.m4: New file.
3515 * quotearg.m4: New file.
3518 * quote.m4: New file.
3521 * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
3524 * sig2str.m4: New file.
3527 * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
3529 * intmax_t.m4: New file.
3530 * d-type.m4: Indentation.
3531 * jm-macros.m4: Update.
3532 * prereq.m4 (jm_PREREQ): Update.
3533 (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
3534 (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
3535 (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
3536 (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
3537 (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
3538 (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
3539 (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
3540 (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
3541 (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
3542 (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
3543 (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
3544 (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
3545 (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
3546 (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
3547 (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
3548 (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
3549 (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
3550 (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
3551 * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
3553 2002-12-18 Bruno Haible <bruno@clisp.org>
3555 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
3556 * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
3558 2002-12-17 Bruno Haible <bruno@clisp.org>
3560 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
3563 2002-12-11 Bruno Haible <bruno@clisp.org>
3565 * setenv.m4: New file, from gettext-0.11.5.
3567 2002-12-06 Paul Eggert <eggert@twinsun.com>
3569 Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
3570 a pain in practice to deal with generated m4 files. This change
3571 goes together with the 2002-12-04 unlocked-io.h change in ../lib.
3573 * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
3574 and jm-glibc-io.m4, as they are no longer a special case.
3575 * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
3576 kludge and the auto-generation stuff. Check only whether the
3577 functions are declared, not whether they exist, since older hosts
3578 that don't declare the functions can't use the optimization anyway.
3580 2002-07-06 Jim Meyering <meyering@lucent.com>
3582 * README: Don't mention Makefile.am.in.
3583 Outline how I've tested changes to .m4 files. Yep, it's a pain.
3585 2002-06-11 Paul Eggert <eggert@twinsun.com>
3587 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
3589 2002-06-22 Jim Meyering <meyering@lucent.com>
3591 * c-stack.m4: New file, from diffutils-2.8.2.
3592 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
3594 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
3595 now that configure.ac uses AC_GNU_SOURCE.
3596 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
3597 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
3599 Update to latest tools. Suggestions from Paul Eggert.
3600 * stdbool.m4: New file, from diffutils-2.8.2.
3601 * gnu-source.m4: Update from diffutils-2.8.2.
3602 * fnmatch.m4: Likewise.
3603 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
3604 to AC_HEADER_STDBOOL
3606 2002-06-21 Jim Meyering <meyering@lucent.com>
3608 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
3609 * mbrtowc.m4: Likewise.
3611 * mbstate_t.m4: Update from diffutils-2.8.2.
3612 * mbswidth.m4: Reflect name change:
3613 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
3614 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3616 * lib-link.m4: Update from gettext-0.11.2.
3617 * gettext.m4: Likewise.
3619 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
3620 From Alfred M. Szmidt.
3622 2002-05-19 Paul Eggert <eggert@twinsun.com>
3624 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
3626 2002-06-07 Jim Meyering <meyering@lucent.com>
3628 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
3629 They're needed at least for NetBSD 1.5.2.
3630 ($statxfs_includes): Include those same headers.
3631 ($statxfs_includes): Include sys/vfs.h if available.
3632 ($statxfs_includes): Likewise for sys/statvfs.h.
3633 Check for the following members in both structs statfs and statvfs:
3634 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
3636 2002-06-01 Jim Meyering <meyering@lucent.com>
3638 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
3639 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
3641 2002-05-28 Jim Meyering <meyering@lucent.com>
3643 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
3644 Reported by Volker Borchert.
3646 2002-05-27 Jim Meyering <meyering@lucent.com>
3648 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
3651 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
3652 use the replacement function; it wouldn't resolve at link time.
3653 Reported by Volker Borchert.
3655 2002-04-30 Jim Meyering <meyering@lucent.com>
3657 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
3659 2002-04-29 Paul Eggert <eggert@twinsun.com>
3661 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
3662 Do not check for alloca.h (no longer used) or stdbool.h (was never
3663 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
3665 2002-04-28 Paul Eggert <eggert@twinsun.com>
3667 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
3669 2002-04-29 Jim Meyering <meyering@lucent.com>
3671 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
3672 * prereq.m4: Add jm_PREREQ_STRNLEN.
3673 Use AC_FUNC_STRNLEN here instead.
3675 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
3676 With autoconf-2.53a, it's part of AC_PROG_CC.
3678 2002-04-28 Paul Eggert <eggert@twinsun.com>
3680 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
3681 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
3683 2002-04-24 Jim Meyering <meyering@lucent.com>
3685 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
3686 (jm_PREREQ): Use it.
3688 * getloadavg.m4: Check for these headers: locale.h unistd.h
3689 mach/mach.h fcntl.h.
3690 Check for this function: setlocale.
3692 2002-04-16 Jim Meyering <meyering@lucent.com>
3694 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
3695 ut_pid, ut_id, ut_exit.
3697 2002-04-12 Jim Meyering <meyering@lucent.com>
3699 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
3700 check for f_type in sys/mount.h. Instead, just test for the existence
3701 of the getmntinfo function. Needed for Darwin 5.3.
3703 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
3704 This is necessary at least on Darwin 5.3.
3706 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
3707 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
3708 in the library, and that makes some versions of ranlib object.
3710 2002-04-09 Jim Meyering <meyering@lucent.com>
3712 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
3713 to be more precise. Rather than saying we're checking whether the
3714 function `works', say what we're testing.
3715 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
3716 Reported by Bruno Haible.
3718 2002-02-27 Paul Eggert <eggert@twinsun.com>
3720 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
3721 Check for clock_settime.
3723 2002-02-25 Paul Eggert <eggert@twinsun.com>
3726 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
3727 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
3729 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
3731 * codeset.m4: Upgrade to gettext-0.11.
3732 * gettext.m4: Upgrade to gettext-0.11.
3733 * glibc21.m4: Upgrade to gettext-0.11.
3734 * iconv.m4: Upgrade to gettext-0.11.
3735 * isc-posix.m4: Upgrade to gettext-0.11.
3736 * lcmessage.m4: Upgrade to gettext-0.11.
3737 * lib-ld.m4: New file, from gettext-0.11.
3738 * lib-link.m4: New file, from gettext-0.11.
3739 * lib-prefix.m4: New file, from gettext-0.11.
3740 * progtest.m4: Upgrade to gettext-0.11.
3742 2002-02-15 Paul Eggert <eggert@twinsun.com>
3744 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
3745 (jm_PREREQ): Use it.
3747 2002-01-26 Jim Meyering <meyering@lucent.com>
3749 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
3750 * strnlen.m4: Remove file, now that it's part of autoconf.
3752 2002-01-22 Paul Eggert <eggert@twinsun.com>
3754 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
3756 2002-01-19 Jim Meyering <meyering@lucent.com>
3758 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
3759 Remove useless quotes: DF_PROG="df".
3760 * strnlen.m4: New file.
3762 2001-12-14 Jim Meyering <meyering@lucent.com>
3764 * jm-macros.m4 (jm_MACROS): Check for iswspace.
3765 Suggestion from Bruno Haible.
3767 2001-11-20 Jim Meyering <meyering@lucent.com>
3769 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
3770 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
3772 2001-11-19 Jim Meyering <meyering@lucent.com>
3774 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
3775 directory. Use "conftestXXXXXX" as the template.
3776 Suggestion from Paul Eggert.
3778 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
3779 so the test doesn't mistakenly hit the max-open-files limit.
3781 2001-11-18 Jim Meyering <meyering@lucent.com>
3783 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
3785 2001-11-17 Jim Meyering <meyering@lucent.com>
3787 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
3788 Prompted by a report from Bob Proulx.
3790 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
3791 Instead, require UTILS_FUNC_MKSTEMP.
3793 2001-11-11 Jim Meyering <meyering@lucent.com>
3795 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
3796 Now, that's done as part of AC_FUNC_STRTOD.
3798 2001-10-22 Paul Eggert <eggert@twinsun.com>
3800 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
3801 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
3803 2001-11-10 Jim Meyering <meyering@lucent.com>
3805 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
3806 (jm_PREREQ): Use it.
3808 2001-11-09 Jim Meyering <meyering@lucent.com>
3810 * jm-macros.m4: Require autoconf-2.52f.
3811 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
3812 Use these AC_-prefixed names, not the AM_-prefixed ones.
3814 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
3816 2001-11-04 Jim Meyering <meyering@lucent.com>
3818 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
3820 2001-11-03 Jim Meyering <meyering@lucent.com>
3822 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
3825 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
3826 know the name of the variable in the macro definition.
3828 2001-11-01 Jim Meyering <meyering@lucent.com>
3830 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
3831 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
3833 2001-10-20 Paul Eggert <eggert@twinsun.com>
3835 * error.m4 (jm_PREREQ_ERROR):
3836 Do not invoke AC_CHECK_FUNCS with strerror_r, as
3837 AC_FUNC_STRERROR_R does that.
3838 Check for strerror declaration.
3840 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
3841 are supposed to have them these days.
3842 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
3843 Merge changes from latest Autoconf CVS.
3844 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3845 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3846 POSIX decided to standardize on the int flavor of strerror_r.
3848 2001-09-30 Jim Meyering <meyering@lucent.com>
3850 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
3851 `struct fsstat' has the `f_fstypename' member.
3852 Use that to define FS_TYPE, which is now used to make
3853 the getfsstat link test tighter.
3855 2001-09-29 Jim Meyering <meyering@lucent.com>
3857 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3858 [one-argument getmntent function]): Include stdio.h before mntent.h.
3859 SunOS 4.1.x needs it for the declaration of `FILE'.
3860 Patch by Volker Borchert.
3862 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3863 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
3864 sys/fs_types.h, and make the link-test for getfsstat guard #include
3865 directives with appropriate #if HAVE_*_H tests so that we can
3866 detect getfsstat on Apple Darwin1.3.7 systems.
3867 Reported by Nelson Beebe.
3868 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
3870 2001-09-28 Paul Eggert <eggert@twinsun.com>
3872 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
3873 #defines strtoimax. Also treat the other strto* functions
3876 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3877 Check for strtoul and strtoumax,
3878 as those declarations are made even in the signed case.
3879 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
3880 Likewise, for strtol and strtoimax.
3882 2001-09-24 Jim Meyering <meyering@lucent.com>
3884 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
3886 2001-09-23 Jim Meyering <meyering@lucent.com>
3888 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
3889 instead of the mere test for existence of mntent.h. The latter
3890 would get a false-positive on AIX 3.4 systems.
3891 In the outer getmntent if-block, don't die if neither of the getmntent
3892 tests succeeds. Instead, just fall through and continue with the
3895 2001-09-22 Jim Meyering <meyering@lucent.com>
3897 * gettext.m4: New file. From gettext.
3898 * lcmessage.m4: Sync with gettext -- this changes only comments.
3899 * progtest.m4: Likewise
3900 * isc-posix.m4: Decrement serial number to sync with gettext.
3901 * glibc21.m4: Likewise.
3903 * libintl.m4: Remove. No longer used.
3905 2001-09-20 Jim Meyering <meyering@lucent.com>
3907 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
3909 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
3912 2001-09-17 Jim Meyering <meyering@lucent.com>
3914 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
3915 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
3916 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
3917 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
3918 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
3919 whenever the right hand side need not be expanded by the shell.
3921 2001-09-16 Paul Eggert <eggert@twinsun.com>
3923 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
3924 library. It's not correct, as some older glibcs are buggy.
3925 fnmatch wasn't fixed until glibc 2.2.
3927 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
3928 special shell magic here.
3930 2001-09-16 Jim Meyering <meyering@lucent.com>
3932 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
3933 * jm-macros.m4: Require it.
3935 2001-09-15 Jim Meyering <meyering@lucent.com>
3937 * jm-macros.m4: Check for help2man.
3939 2001-09-11 Jim Meyering <meyering@lucent.com>
3941 * host-os.m4 (UTILS_HOST_OS): New file/macro.
3942 The body, by Paul Eggert, was moved here from configure.in.
3943 * jm-macros.m4: Require UTILS_HOST_OS.
3945 2001-09-04 Paul Eggert <eggert@twinsun.com>
3947 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
3948 (jm_PREREQ): Use it.
3950 2001-09-03 Paul Eggert <eggert@twinsun.com>
3952 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
3953 sys/param.h, as pathmax.h includes them.
3955 2001-09-03 Paul Eggert <eggert@twinsun.com>
3957 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
3958 (jm_PREREQ_XGETCWD): New macro.
3960 * getcwd.m4: New file.
3962 2001-09-01 Jim Meyering <meyering@lucent.com>
3964 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
3967 2001-08-30 Paul Eggert <eggert@twinsun.com>
3969 Simplify code, partly by assuming autoconf 2.52 semantics.
3971 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
3973 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
3974 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
3976 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
3977 Move AC_REQUIRE to next-to-top level, to avoid confusion.
3978 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
3979 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
3980 * jm-macros.m4 (jm_MACROS): Likewise.
3982 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
3984 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3985 Quote first arg of AC_DEFUN.
3986 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
3987 since they are needed to parse the include file even if we need
3988 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
3989 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
3990 but with opposite signedness.
3992 2001-08-30 Paul Eggert <eggert@twinsun.com>
3994 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
3995 (jm_PREREQ_EXCLUDE): New macro.
3997 2001-08-26 Jim Meyering <meyering@lucent.com>
3999 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
4001 * xstrtoimax.m4: New file.
4002 * xstrtoumax.m4: Add comments explaining why we
4003 AC_REPLACE_FUNCS(strtol).
4005 2001-06-20 Paul Eggert <eggert@twinsun.com>
4007 * inttypes.m4: Add AC_PREREQ(2.13).
4008 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
4009 (jm_AC_TYPE_INTMAX_T): New macro.
4010 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
4012 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
4014 * longlong.m4: Renamed from ulonglong.m4.
4015 * inttypes.m4: Renamed from inttypes_h.m4.
4016 * uintmax_t.m4: Removed.
4018 2001-08-12 Jim Meyering <meyering@lucent.com>
4020 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
4021 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
4022 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
4023 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
4024 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
4025 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
4026 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
4027 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
4028 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
4029 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
4030 utime.m4, utimes.m4, xstrtoumax.m4:
4031 Quote the first argument in each use of AC_DEFUN.
4033 2001-08-05 Jim Meyering <meyering@lucent.com>
4035 * jm-macros.m4: Require autoconf-2.52.
4037 2001-08-03 Paul Eggert <eggert@twinsun.com>
4039 The following changes are from gettext 0.10.39 as maintained by
4040 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
4042 * codeset.m4: Upgrade to serial AM1.
4043 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
4044 all uses changed. Quote first arg of AC_DEFUN.
4045 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
4047 * iconv.m4: Upgrade to serial AM2.
4048 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
4049 Add --with-libconv-prefix.
4050 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
4051 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
4052 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
4053 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
4054 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
4056 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
4057 * getline.m4 (AM_FUNC_GETLINE): Likewise.
4058 * glibc21.m4 (jm_GLIBC21): Likewise.
4059 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
4060 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
4061 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
4062 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
4063 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
4064 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
4066 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
4069 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
4070 not the default value.
4072 2001-06-25 Bruno Haible <haible@clisp.cons.org>
4073 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
4074 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
4075 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
4076 Also check for iswcntrl, used for wcwidth fallback.
4077 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
4080 2001-08-03 Jim Meyering <meyering@lucent.com>
4082 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
4083 as it was in the original. Reported by Paul Eggert.
4085 2001-07-16 Jim Meyering <meyering@lucent.com>
4087 * gettimeofday.m4: New file.
4088 Prompted by a report from Bernhard Baehr.
4090 2001-07-15 Jim Meyering <meyering@lucent.com>
4092 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
4093 Now it's in ../Makefile.cfg.
4095 2001-07-04 Jim Meyering <meyering@lucent.com>
4097 * Makefile.am.in (glibc-io.struct): New target. Rework the code
4098 that generates jm-glibc-io.m4 so that it doesn't trigger any make
4101 2001-07-02 Jim Meyering <meyering@lucent.com>
4103 The following changes were prompted by suggestions from Bruno Haible.
4105 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
4107 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
4108 definition of EXTRA_DIST.
4109 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
4110 ensure that the generated file is created/updated whenever the list
4111 of $(unlocked_functions) is changed.
4112 (jm-glibc-io.m4): New rule.
4113 (unlocked-io.h): New rule -- currently unused.
4115 2001-06-24 Jim Meyering <meyering@lucent.com>
4117 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
4118 unmatched right bracket, rather than kludging it with an extra,
4119 falsely-matching quote in a comment. Patch by Akim Demaille.
4121 2001-05-27 Jim Meyering <meyering@lucent.com>
4123 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
4124 Check for ut_type in struct utmp.
4126 2001-05-22 Jim Meyering <meyering@lucent.com>
4128 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
4129 now that we use the package-supplied version unconditionally.
4130 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
4132 2001-05-21 Jim Meyering <meyering@lucent.com>
4134 * regex.m4: Change a couple backticks to single quotes to avoid shell
4137 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
4139 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
4141 2001-05-11 Paul Eggert <eggert@twinsun.com>
4143 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
4144 Don't bother to check library strftime, since
4145 we'll be using our own my_strftime function anyway.
4146 Define my_strftime instead of strftime.
4148 2001-05-15 Jim Meyering <meyering@lucent.com>
4150 * regex.m4: Use proper quoting so brackets appear in the test program.
4151 Reported by, and with help from, Bruno Haible.
4153 2001-05-13 Jim Meyering <meyering@lucent.com>
4155 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
4157 2000-11-26 Paul Eggert <eggert@twinsun.com>
4159 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
4161 2001-04-21 Jim Meyering <meyering@lucent.com>
4163 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
4166 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
4168 * ftruncate.m4: Check for chsize.
4169 Link with ftruncate.o unconditionally if ftruncate is missing.
4170 This was required when cross-compiling to i586-mingw32msvc.
4172 2001-03-24 Jim Meyering <meyering@lucent.com>
4174 * jm-macros.m4: Require autoconf-2.49d.
4176 2001-03-20 Bruno Haible <haible@clisp.cons.org>
4178 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
4180 2001-03-17 Jim Meyering <meyering@lucent.com>
4182 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
4183 now that the version in autoconf is equivalent.
4184 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
4186 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
4187 Suggestion from Akim Demaille.
4189 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
4190 (jm_PREREQ_TEMPNAME): New function.
4192 2001-02-25 Paul Eggert <eggert@twinsun.com>
4194 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
4195 lacks mkstemp. Compile our own tempname.c if we compile our own
4196 mkstemp.c, as mkstemp relies on tempname.
4198 2001-03-01 Jim Meyering <meyering@lucent.com>
4200 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
4201 AH_VERBATIM really does output its argument verbatim.
4203 2001-02-18 Paul Eggert <eggert@twinsun.com>
4205 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
4207 2001-02-17 Jim Meyering <meyering@lucent.com>
4209 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
4210 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
4211 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
4214 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
4215 rather than AC_CACHE_VAL.
4217 2001-02-17 Paul Eggert <eggert@twinsun.com>
4219 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
4220 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
4221 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
4222 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
4224 2001-02-07 Jim Meyering <meyering@lucent.com>
4226 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
4228 2001-02-05 Jim Meyering <meyering@lucent.com>
4230 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
4231 it includes the patch required for `large file' support with at least
4232 HP-UX's 10.20 /bin/cc.
4234 2001-02-03 Jim Meyering <meyering@lucent.com>
4236 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
4237 AS_IF, now that it works once again (mysteriously).
4238 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4240 2001-01-30 Jim Meyering <meyering@lucent.com>
4242 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
4243 * chown.m4: Rename conftestchown to conftest.chown.
4244 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
4245 * utimes.m4: s/conftestdata/conftest.data/
4246 Inspired by Pavel Roskin's change in autoconf.
4248 2001-01-27 Jim Meyering <meyering@lucent.com>
4250 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
4252 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4254 2001-01-26 Jim Meyering <meyering@lucent.com>
4256 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
4257 quotearg.c includes it.
4259 2001-01-15 Bruno Haible <haible@clisp.cons.org>
4261 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
4264 2001-01-20 Jim Meyering <meyering@lucent.com>
4266 Be sure that headers are checked before used in code compiled
4267 for the type checks.
4268 * jm-macros.m4 (jm_MACROS): Remove all header checks.
4269 In place of that, invoke jm_CHECK_ALL_TYPES.
4270 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
4271 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
4272 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
4273 The check for ssize_t was mistakenly run before the test for unistd.h.
4275 The configure-time check for stdbool.h was missing.
4276 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
4277 (jm_PREREQ_HASH): New function.
4279 2001-01-17 Jim Meyering <meyering@lucent.com>
4281 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
4283 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
4285 2001-01-14 Jim Meyering <meyering@lucent.com>
4287 * rename.m4: Use temporary directories named conftestdir{,2}, not
4288 foo and bar. Create conftestdir/ in the script, not in the C code.
4289 Remove directories in the script, not in the C code.
4290 Remove conftestdir{,2} before trying to create the directory.
4291 Make the entire configure script fail if the mkdir fails.
4293 2001-01-02 Volker Borchert <bt@teknon.de>
4295 * rename.m4: New file.
4296 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
4298 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
4300 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
4301 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
4302 so `make install' also works in VPATH builds.
4304 2001-01-01 Jim Meyering <meyering@lucent.com>
4306 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
4307 on systems with utmpx.h. It's necessary for the declaration of utmp's
4308 ut_user member. Reported by Andreas Jaeger.
4310 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
4311 They are required for the declarations of getgrgid and getpwuid resp.
4312 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
4313 Reported by Andreas Jaeger.
4315 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4317 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
4318 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
4319 can be used in subdirectories.
4321 2000-12-26 Jim Meyering <meyering@lucent.com>
4323 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
4326 2000-12-17 Jim Meyering <meyering@lucent.com>
4328 * dos.m4 (jm_AC_DOS): New file and macro.
4329 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
4331 2000-12-06 Paul Eggert <eggert@twinsun.com>
4333 * off_t-format.m4: Remove this file.
4334 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
4336 2000-12-06 Jim Meyering <meyering@lucent.com>
4338 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
4339 strtoull, we may well need the replacement strtoul, too.
4340 Check for declarations of strtoul and strtoull.
4341 Check for strtol. Mainly as a cue to cause automake to include
4342 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
4343 Check for limits.h -- strtol.c needs it.
4345 2000-12-02 Jim Meyering <meyering@lucent.com>
4347 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
4348 * jm-macros.m4 (jm_MACROS): require it.
4350 2000-11-30 Jim Meyering <meyering@lucent.com>
4352 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
4354 2000-11-30 Jim Meyering <meyering@lucent.com>
4356 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
4358 2000-11-03 Bruno Haible <haible@clisp.cons.org>
4360 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
4362 2000-11-04 Jim Meyering <meyering@lucent.com>
4364 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
4366 2000-10-29 Jim Meyering <meyering@lucent.com>
4368 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
4369 * ls-mntd-fs.m4: Likewise
4371 2000-10-28 Jim Meyering <meyering@lucent.com>
4373 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
4374 (jm_PREREQ_MEMCHR): New function.
4376 2000-10-21 Jim Meyering <meyering@lucent.com>
4378 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
4379 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
4380 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
4382 2000-09-18 Jim Meyering <meyering@lucent.com>
4384 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
4385 Otherwise, everyone ends up linking with -lelf for some configurations.
4386 Reported by Mike Stone.
4388 2000-08-26 Jim Meyering <meyering@lucent.com>
4390 * jm-macros.m4: Use jm_FUNC_FPENDING.
4391 * fpending.m4: New file.
4393 2000-08-20 Jim Meyering <meyering@lucent.com>
4395 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
4396 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
4397 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
4399 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
4401 Improve fileutils installation on systems where running
4402 programs (like install) can't be unlinked.
4403 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
4404 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
4406 2000-08-06 Paul Eggert <eggert@twinsun.com>
4408 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
4409 not char, for compatibility with glibc 2.1.3 strftime.c.
4411 2000-07-23 Paul Eggert <eggert@twinsun.com>
4413 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
4415 2000-07-23 Jim Meyering <meyering@lucent.com>
4417 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
4418 getgrgid, getpwuid, getuid.
4420 2000-07-16 Bruno Haible <haible@clisp.cons.org>
4422 * mbswidth.m4: New file.
4423 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
4425 2000-07-14 Jim Meyering <meyering@lucent.com>
4427 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
4429 2000-07-10 Paul Eggert <eggert@twinsun.com>
4431 From a suggestion by Bruno Haible.
4432 * mbstate_t.m4 (AC_MBSTATE_T):
4433 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
4434 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
4435 and mbstate_t, to a single-part test that simply defines mbstate_t.
4436 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
4438 2000-07-10 Jim Meyering <meyering@lucent.com>
4440 * strerror_r.m4: Mirror the correction made in autoconf.
4442 * gnu-source.m4: Output to confdefs.h directly.
4443 Suggestion from Akim Demaille.
4445 2000-07-09 Jim Meyering <meyering@lucent.com>
4447 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
4448 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
4450 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
4451 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
4453 2000-07-05 Bruno Haible <haible@clisp.cons.org>
4455 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
4457 Include <ctype.h> for use of isalpha.
4459 2000-07-05 Paul Eggert <eggert@twinsun.com>
4460 and Bruno Haible <haible@clisp.cons.org>
4462 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
4463 only if the test for an object-type mbstate_t fails. This
4464 prevents us from mistakenly reporting that mbstate_t is a
4465 system object type after we "#define mbstate_t int" to work
4468 2000-07-04 Jim Meyering <meyering@lucent.com>
4470 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
4471 of the deprecated AC_CHECKING.
4473 2000-07-03 Jim Meyering <meyering@lucent.com>
4475 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
4477 2000-07-03 Paul Eggert <eggert@twinsun.com>
4479 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
4480 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
4482 2000-07-02 Jim Meyering <meyering@lucent.com>
4484 * mbstate_t.m4: Also define mbstate_t, if necessary.
4486 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
4487 AC_LIBOBJ(function_name).
4488 * chown.m4: Likewise.
4489 * fnmatch.m4: Likewise.
4490 * ftruncate.m4: Likewise.
4491 * getgroups.m4: Likewise.
4492 * getline.m4: Likewise.
4493 * group-member.m4: Likewise.
4494 * jm-macros.m4: Likewise.
4495 * lstat.m4: Likewise.
4496 * malloc.m4: Likewise.
4497 * memcmp.m4: Likewise.
4498 * nanosleep.m4: Likewise.
4499 * putenv.m4: Likewise.
4500 * realloc.m4: Likewise.
4501 * regex.m4: Likewise.
4502 * stat.m4: Likewise.
4503 * strftime.m4: Likewise.
4505 2000-07-01 Jim Meyering <meyering@lucent.com>
4507 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
4510 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4512 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
4513 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
4515 2000-07-01 Jim Meyering <meyering@lucent.com>
4517 * uptime.m4: Put double quotes around use of $cross_compiling.
4519 2000-06-28 Jim Meyering <meyering@lucent.com>
4521 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
4522 by quotearg.c, for which we perform this test. From Bruno Haible.
4524 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4526 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
4527 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
4528 <utmpx.h> exists, put readutmp.o into LIBOBJS.
4530 2000-06-25 Jim Meyering <meyering@lucent.com>
4532 * mbstate_t.m4: Include stdio.h before wchar.h to work around
4533 Linux header bug when _XOPEN_SOURCE is defined to 500.
4535 2000-06-24 Jim Meyering <meyering@lucent.com>
4537 * strerror_r.m4: Revive this file -- to try out an experimental
4538 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
4539 for which strerror does return char*, but which lacks a conveniently
4540 accessible declaration of the function. If the compile-test says
4541 strerror_r doesn't work, then resort to a `run'-test that works on
4542 BeOS and segfaults on DEC Unix.
4544 2000-06-19 Paul Eggert <eggert@twinsun.com>
4546 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
4547 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
4549 2000-06-23 Jim Meyering <meyering@lucent.com>
4551 * afs.m4: Add missing AC_MSG_RESULT.
4552 Reported by Bruno Haible.
4554 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
4555 Suggestion from Bruno Haible.
4557 2000-06-21 Jim Meyering <meyering@lucent.com>
4559 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
4561 2000-06-18 Jim Meyering <meyering@lucent.com>
4563 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
4565 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
4566 `checking whether...' message to be consistent with that of the
4569 2000-06-16 Bruno Haible <haible@clisp.cons.org>
4571 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
4573 2000-06-12 Jim Meyering <meyering@lucent.com>
4575 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
4576 from autoconf, and tweak the latter to accept an optional argument.
4577 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
4578 the optional argument, `lib'.
4580 2000-06-08 Jim Meyering <meyering@lucent.com>
4582 * largefile.m4: Remove file (now that it's part of autoconf).
4584 2000-06-04 Paul Eggert <eggert@twinsun.com>
4586 Rewrite largefile configuration so that we don't need to run
4587 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
4588 AC_CANONICAL_HOST in configure.in -- jmm]
4590 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
4591 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
4592 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
4593 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
4594 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
4596 Instead of inspecting the output of getconf, try to compile the
4597 test program without and with the macro definition.
4598 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
4599 for getconf. Instead, check for the needed flags by compiling
4602 2000-06-03 Jim Meyering <meyering@lucent.com>
4604 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
4605 now that autoconf requires that.
4607 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
4608 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
4609 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
4611 2000-05-26 Bruno Haible <haible@clisp.cons.org>
4613 * glibc21.m4: New file.
4614 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
4616 2000-05-28 Jim Meyering <meyering@lucent.com>
4618 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
4619 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4620 * stat.m4: Likewise.
4621 * lstat.m4: Likewise.
4622 * lstat-slash.m4: Remove file (absorbed into autoconf).
4624 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
4625 * strerror_r.m4: Remove file (absorbed into autoconf).
4627 2000-05-26 Jim Meyering <meyering@lucent.com>
4629 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
4631 2000-05-24 Jim Meyering <meyering@lucent.com>
4633 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
4634 autoconf requires that.
4635 * lib-check.m4: Likewise.
4636 * jm-macros.m4: Likewise.
4637 * strftime.m4: Likewise.
4639 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
4640 now that autoconf requires that.
4642 2000-05-22 Jim Meyering <meyering@lucent.com>
4644 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4645 * lstat.m4: Likewise.
4647 2000-05-20 Jim Meyering <meyering@lucent.com>
4649 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
4650 (jm_PREREQ): Use it.
4652 2000-05-09 Jim Meyering <meyering@lucent.com>
4654 * gettext.m4: Rename this...
4655 * libintl.m4: ...to this.
4657 2000-05-06 Jim Meyering <meyering@lucent.com>
4659 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
4660 (AC_REPLACE_FUNCS): Add strnlen.
4662 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
4663 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
4665 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
4666 AC_SEARCH_LIBS call for nanosleep.
4667 (LIB_NANOSLEEP): Set and AC_SUBST.
4669 2000-05-03 Paul Eggert <eggert@twinsun.com>
4671 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
4672 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
4673 2.1.3 bug. This avoids a clash when files like regex.c define
4676 2000-05-05 Jim Meyering <meyering@lucent.com>
4678 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
4679 call for clock_gettime.
4680 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
4682 * search-libs.m4: Update from autoconf.
4684 su doesn't work on Solaris 2.6.
4685 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
4686 <shadow.h>. Reported by Dragos Harabor.
4688 2000-05-03 Jim Meyering <meyering@lucent.com>
4690 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
4692 2000-05-02 Paul Eggert <eggert@twinsun.com>
4694 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
4695 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
4696 compile-time test, rather than inspecting host and OS, to
4697 decide whether to define _LARGEFILE_SOURCE.
4699 2000-05-01 Jim Meyering <meyering@lucent.com>
4701 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
4703 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
4704 Based on a patch from Bruno Haible.
4706 2000-04-18 Jim Meyering <meyering@lucent.com>
4708 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
4709 (jm_PREREQ): Use it.
4711 2000-04-17 Jim Meyering <meyering@lucent.com>
4714 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
4715 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
4716 Suggestion from Akim Demaille.
4718 2000-04-14 Jim Meyering <meyering@lucent.com>
4720 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
4721 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
4723 2000-04-13 Jim Meyering <meyering@lucent.com>
4725 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
4726 to insert required #ifndef into config.h.in.
4727 Suggestion from Akim Demaille.
4729 2000-04-12 Jim Meyering <meyering@lucent.com>
4731 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
4732 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
4733 Christian Krackowizer.
4735 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
4736 * jm-macros.m4 (_GNU_SOURCE): Define.
4737 (AC_SYS_LARGEFILE): Require.
4738 (AM_C_PROTOTYPES): Require.
4740 2000-04-05 Paul Eggert <eggert@twinsun.com>
4742 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
4743 IRIX if the installer said otherwise.
4745 2000-04-05 Jim Meyering <meyering@lucent.com>
4747 Portability tweaks required for ultrix4.3.
4748 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
4749 (jm_CHECK_DECLS): Add getutent to the list of functions.
4750 (_jm_DECL_HEADERS): Add utmpx.h.
4751 From John David Anglin.
4753 * strftime.m4: Back out the 2000-04-02 change.
4754 Instead of that change, simply undefine putenv in the test program.
4756 2000-04-03 Jim Meyering <meyering@lucent.com>
4758 * gettext.m4: Fix typo in comment.
4760 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
4761 textutils/configure.in). Suggestion from Paul Eggert.
4762 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
4764 2000-04-02 Paul Eggert <eggert@twinsun.com>
4766 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
4767 variable in the shell rather than using putenv, which isn't
4768 portable. This avoids the configure-time inter-test dependency
4769 on the potentially-renamed putenv function.
4771 2000-03-30 Paul Eggert <eggert@twinsun.com>
4773 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
4774 before checking struct stat.st_blksize, so that
4775 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
4777 2000-03-29 Paul Eggert <eggert@twinsun.com>
4779 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
4780 since strftime.c uses HAVE_STRFTIME to decide whether to use
4781 the underlying strftime.
4783 2000-03-10 Jim Meyering <meyering@lucent.com>
4785 * lib-check.m4: Look for getspnam in -lgen, too.
4788 2000-02-02 Bruno Haible <haible@clisp.cons.org>
4790 * codeset.m4: New file.
4791 * iconv.m4: New file.
4792 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
4794 2000-03-04 Jim Meyering <meyering@lucent.com>
4796 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
4797 for lib/localcharset.c.
4799 2000-03-03 Jim Meyering <meyering@lucent.com>
4801 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
4803 2000-03-02 Jim Meyering <meyering@lucent.com>
4805 * timespec.m4: Require AC_HEADER_TIME before the cache check so
4806 the messages come out on separate lines.
4808 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
4809 rather than jm_CHECK_DECLARATIONS.
4810 * decl.m4: Remove now-unused file.
4812 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
4814 2000-02-27 Jim Meyering <meyering@lucent.com>
4816 * check-decl.m4: Add getenv to the list.
4818 2000-02-23 Jim Meyering <meyering@lucent.com>
4820 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
4821 in place of my hack.
4823 2000-02-10 Jim Meyering <meyering@lucent.com>
4825 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
4826 gnu_nanosleep to rpl_nanosleep.
4828 2000-02-09 Jim Meyering <meyering@lucent.com>
4830 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
4831 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
4833 2000-02-08 Akim Demaille <akim@epita.fr>
4835 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
4836 `[' and `]' and remove uses of `changequote'.
4837 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
4838 (AC_SYS_LARGEFILE): Likewise.
4839 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
4840 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
4842 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
4843 * readdir.m4 (jm_FUNC_READDIR): Likewise
4844 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
4845 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
4847 2000-02-05 Jim Meyering <meyering@lucent.com>
4849 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
4850 Remove explicit use of AC_HEADER_TIME. It is required by
4851 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
4852 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
4853 in autoconf whereby the expansion of the latter ended up preceding
4854 the expansion of its prerequisite, AC_HEADER_TIME.
4855 Reported by Volker Borchert.
4857 2000-02-03 Jim Meyering <meyering@lucent.com>
4859 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
4861 2000-02-02 Jim Meyering <meyering@lucent.com>
4863 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
4864 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
4865 Reported by Eli Zaretskii.
4867 2000-01-31 Jim Meyering <meyering@lucent.com>
4869 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
4870 functions. Add the time.h and sys/time.h headers along with the
4871 AC_REQUIRE'ment of AC_HEADER_TIME.
4873 2000-01-30 Jim Meyering <meyering@lucent.com>
4875 * lib-check.m4: Clean up some kludgy old shadow password tests.
4877 * prereq.m4 (utmp_includes): Define.
4878 Check for ut_user and ut_name members in both struct utmpx
4881 2000-01-29 Jim Meyering <meyering@lucent.com>
4883 * lib-check.m4: New file containing library-related checks from
4884 fileutils and sh-utils (textutils had none).
4886 2000-01-28 Jim Meyering <meyering@lucent.com>
4888 * perl.m4: Change format of warning message to look more like that
4889 from the missing script. Suggestion from François Pinard.
4891 2000-01-25 Jim Meyering <meyering@lucent.com>
4893 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
4894 as time.h in the compile check.
4895 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
4896 Fix typo in cross-compiling case: s/yes/no/.
4898 2000-01-23 Jim Meyering <meyering@lucent.com>
4900 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
4902 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
4903 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
4905 * fsusage.m4: New file. Extracted from fileutils/configure.in.
4906 s/space/ac_fsusage_space/.
4907 (jm_FILE_SYSTEM_USAGE): Take two parameters.
4909 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
4910 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
4911 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
4913 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
4914 AC_SUBST these here, rather than just in sh-util/configure.in, so
4915 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
4917 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
4918 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
4919 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
4920 (AC_SUBST(POW_LIBM)): Likewise.
4921 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
4923 2000-01-22 Jim Meyering <meyering@lucent.com>
4925 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
4927 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
4929 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
4931 (AC_CHECK_HEADERS): Likewise for sh-utils.
4932 (AC_CHECK_HEADERS): Likewise for textutils.
4933 Merge the three lists of headers.
4935 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
4936 from fileutils' configure.in.
4938 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
4939 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
4941 * check-decl.m4: Use #if rather than #ifdef.
4942 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
4943 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
4944 (_jm_DECL_HEADERS): Define new function.
4945 (jm_CHECK_DECLARATIONS): Require it.
4947 2000-01-19 Jim Meyering <meyering@lucent.com>
4949 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
4950 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
4951 defines `struct timespec' in <sys/time.h>
4953 * c-bs-a.m4: Remove uses of changequote altogether.
4954 Thanks to Akim for explaining.
4956 2000-01-16 Jim Meyering <meyering@lucent.com>
4958 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
4959 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
4960 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
4961 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
4963 2000-01-16 Jim Meyering <meyering@lucent.com>
4965 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
4966 because the latter didn't work.
4968 2000-01-15 Jim Meyering <meyering@lucent.com>
4970 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
4971 (AC_REPLACE_FUNCS): Add memcpy and memset.
4972 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
4974 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
4976 2000-01-12 Jim Meyering <meyering@lucent.com>
4978 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
4979 (jm_PREREQ): Use it.
4980 (jm_PREREQ_READUTMP): New macro.
4981 (jm_PREREQ): Use it.
4983 2000-01-11 Paul Eggert <eggert@twinsun.com>
4985 Quote multibyte characters correctly.
4986 * c-bs-a.m4: New file.
4987 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
4988 (jm_PREREQ): Use it.
4990 2000-01-11 Paul Eggert <eggert@twinsun.com>
4992 * uintmax_t.m4: Port to autoconf 2.13.
4994 2000-01-08 Jim Meyering <meyering@ascend.com>
4996 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
4997 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
4999 2000-01-04 Jim Meyering <meyering@ascend.com>
5001 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
5002 jm_STRUCT_DIRENT_D_TYPE.
5003 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
5004 jm_STRUCT_DIRENT_D_INO.
5005 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
5007 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
5008 * utime.m4: Likewise.
5010 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
5011 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
5013 2000-01-03 Paul Eggert <eggert@twinsun.com>
5015 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
5016 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
5018 2000-01-02 Jim Meyering <meyering@ascend.com>
5020 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
5021 remember if this is necessary.
5023 1999-12-26 Jim Meyering <meyering@ascend.com>
5025 * jm-macros.m4: Use it here.
5026 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
5028 1999-12-23 Jim Meyering <meyering@ascend.com>
5030 * jm-macros.m4: Check for clock_gettime (moved from
5031 fileutils/configure.in)
5032 Check for gettimeofday.
5034 1999-12-20 Jim Meyering <meyering@ascend.com>
5036 * strftime.m4: Remove kludge, now that I'm using the fixed
5037 autoconf-2.14a-1999-12-20.
5039 1999-12-19 Jim Meyering <meyering@ascend.com>
5041 * lstat-slash.m4: New file.
5042 * jm-macros.m4: Use the new macro:
5043 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
5045 1999-12-07 Jim Meyering <meyering@ascend.com>
5047 * perl.m4: Require that File::Compare be available, too.
5048 Too many systems seem to lack it.
5050 * strftime.m4: Add checks for most of the cpp macros tested in
5051 GNU's strftime.c. Prompted by a patch from Paul Eggert.
5053 1999-11-18 Paul Eggert <eggert@twinsun.com>
5055 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
5056 problem with the QNX 4.25 shell, which doesn't propagate exit
5057 status of failed commands inside shell assignments.
5059 1999-11-17 Jim Meyering <meyering@ascend.com>
5061 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
5063 1999-11-07 Jim Meyering <meyering@ascend.com>
5065 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
5067 1999-11-06 Jim Meyering <meyering@ascend.com>
5069 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
5070 * jm-macros.m4 (jm_MACROS): Use it here.
5072 1999-11-05 Jim Meyering <meyering@ascend.com>
5074 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
5075 of textutils, fileutils, and sh-utils into this one (shared between
5076 those packages) file.
5077 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
5078 AC_STRUCT_ST_BLKSIZE.
5080 1999-11-03 Jim Meyering <meyering@ascend.com>
5082 * ssize_t.m4: Remove file. No longer needed since the new version of
5083 AC_CHECK_TYPE checks includes unistd.h.
5084 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
5085 Suggestion from Akim Demaille.
5087 1999-10-30 Jim Meyering <meyering@ascend.com>
5089 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
5091 * ls-mntd-fs.m4: Likewise.
5092 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
5093 * jm-winsz1.m4: Likewise.
5095 * const.m4: Remove file, since the fix made it into the experimental
5096 version of autoconf.
5097 * mktime.m4: Likewise.
5099 * check-type.m4: Remove file, now that the latest version of
5100 AC_CHECK_TYPE takes a third arg to specify additional #includes.
5102 * ssize_t.m4: New file, requires experimental version of autoconf.
5103 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
5106 1999-10-04 Jim Meyering <meyering@ascend.com>
5108 * jm-macros.m4: Don't require autoconf-2.14.1.
5110 1999-09-22 Paul Eggert <eggert@twinsun.com>
5112 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
5113 2.95.1 bug with HP-UX 10.20.
5115 1999-09-17 Jim Meyering <meyering@ascend.com>
5117 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
5118 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
5119 due to missing strdup (against sh-utils-2.0).
5121 1999-08-29 Jim Meyering <meyering@ascend.com>
5123 * jm-macros.m4: Require jm_BISON.
5124 * bison.m4: New file.
5126 1999-08-17 Paul Eggert <eggert@twinsun.com>
5128 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
5129 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
5131 1999-08-05 Jim Meyering <meyering@ascend.com>
5133 * getline.m4: Rename test file from conftestdata to conftest.data
5134 to avoid conflicts with `conftest' on 8+3 filesystems.
5135 Suggestion from Eli Zaretskii.
5137 1999-08-04 Jim Meyering <meyering@ascend.com>
5139 * jm-macros.m4: Move a 4-line block of code from the configure.in of
5140 fileutils and sh-utils (textutils's getline test was inadequate).
5141 (AM_FUNC_GETLINE): Run this test.
5142 (AC_CHECK_FUNCS): Check for getdelim.
5143 Reported by Bob Proulx.
5145 1999-08-02 Jim Meyering <meyering@ascend.com>
5147 * jm-macros.m4: Add a comment.
5149 1999-08-01 Jim Meyering <meyering@ascend.com>
5151 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
5153 1999-08-01 Paul Eggert <eggert@twinsun.com>
5155 * lfs.m4: Remove this file.
5156 * largefile.m4: New file. It contains the old contents of
5157 lfs.m4, except that all names with prefix AC_LFS have been
5158 changed to use the prefix AC_SYS_LARGEFILE instead, to be
5159 compatible with future autoconf versions. Also, some minor m4
5160 quoting problems have been fixed.
5162 1999-07-16 Paul Eggert <eggert@twinsun.com>
5164 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
5165 that we can shift, multiply and divide unsigned long long
5166 values; Ultrix cc can't do it.
5168 1999-07-14 Paul Eggert <eggert@twinsun.com>
5170 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
5171 <inttypes.h> defines strtoumax as a macro (and not as a
5174 1999-07-05 Paul Eggert <eggert@twinsun.com>
5176 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
5177 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
5178 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
5179 and simplify the shell code.
5181 1999-07-03 Paul Eggert <eggert@twinsun.com>
5183 * mktime.m4: New file, which is a preview of what should appear
5184 in the next public autoconf release.
5186 1999-07-20 Jim Meyering <meyering@ascend.com>
5188 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
5190 1999-07-15 Jim Meyering <meyering@ascend.com>
5192 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
5194 1999-05-22 Jim Meyering <meyering@ascend.com>
5196 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
5198 1999-05-20 Jim Meyering <meyering@ascend.com>
5200 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
5201 Add a colon after each `then' in case $4 is empty.
5203 1999-05-16 Jim Meyering <meyering@ascend.com>
5205 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
5207 1999-05-10 Jim Meyering <meyering@ascend.com>
5209 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
5211 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
5214 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5216 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
5218 1999-05-04 Paul Eggert <eggert@twinsun.com>
5220 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
5221 not CPPFLAGS, so that linking works correctly in IRIX.
5223 1999-04-30 Paul Eggert <eggert@twinsun.com>
5225 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
5227 1999-04-20 Jim Meyering <meyering@ascend.com>
5229 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
5230 AC_REPLACE xstroull if necessary. From Paul Eggert.
5231 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
5233 1999-04-20 Paul Eggert <eggert@twinsun.com>
5235 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
5236 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
5237 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
5238 jm_AC_TYPE_UNSIGNED_LONG_LONG.
5239 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
5241 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
5243 1999-04-18 Jim Meyering <meyering@ascend.com>
5245 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
5246 * jm-macros.m4: Use it.
5248 1999-04-06 Jim Meyering <meyering@ascend.com>
5250 * strftime.m4: Remove test for %f.
5252 1999-03-29 Jim Meyering <meyering@ascend.com>
5254 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
5255 superset of the AC_TYPE_* checks in the textutils, fileutils,
5256 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
5259 1999-03-28 Jim Meyering <meyering@ascend.com>
5261 * jm-macros.m4: Define GNU_PACKAGE here.
5262 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
5263 replaced e.g., in the *.sh files of the sh-utils.
5265 1999-03-20 Jim Meyering <meyering@ascend.com>
5267 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
5268 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
5269 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
5271 1999-03-19 Jim Meyering <meyering@ascend.com>
5273 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
5275 1999-03-12 Jim Meyering <meyering@ascend.com>
5277 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
5279 1999-03-07 Jim Meyering <meyering@ascend.com>
5281 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
5283 1999-02-17 Jim Meyering <meyering@ascend.com>
5285 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
5286 in macro definition. From Eli Zaretskii and Alain Magloire.
5288 1999-02-07 Jim Meyering <meyering@ascend.com>
5290 * group-member.m4: New file -- extracted from sh-utils' configure.in.
5292 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
5293 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
5295 1999-02-06 Jim Meyering <meyering@ascend.com>
5297 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
5298 * fnmatch.m4: Likewise.
5299 * getgroups.m4: Likewise.
5300 * lstat.m4: Likewise.
5301 * malloc.m4: Likewise.
5302 * putenv.m4: Likewise.
5303 * realloc.m4: Likewise.
5304 * regex.m4: Likewise.
5305 * stat.m4: Likewise.
5306 * strftime.m4: Likewise.
5307 Suggestion from Alain Magloire.
5309 * chown.m4: Use `.$ac_objext', not `.o'.
5310 * fnmatch.m4: Likewise.
5311 * getgroups.m4: Likewise.
5312 * getline.m4: Likewise.
5313 * lstat.m4: Likewise.
5314 * malloc.m4: Likewise.
5315 * memcmp.m4: Likewise.
5316 * putenv.m4: Likewise.
5317 * realloc.m4: Likewise.
5318 * regex.m4: Likewise.
5319 * stat.m4: Likewise.
5320 * strftime.m4: Likewise.
5321 Suggestion from Alain Magloire.
5323 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
5326 * regex.m4: Add a run-time Test for proper operation of
5329 1999-01-31 Jim Meyering <meyering@ascend.com>
5331 * getloadavg.m4: Check for locale.h and the function, setlocale.
5333 1999-01-30 Jim Meyering <meyering@ascend.com>
5335 * check-type.m4: Use 3-arg form of AC_DEFINE.
5337 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
5338 rather than my private copy, now that the official one is up to date.
5339 * mktime.m4: Remove file.
5341 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
5342 * uptime.m4: Likewise.
5343 * uintmax_t.m4: Likewise.
5345 1999-01-28 Jim Meyering <meyering@ascend.com>
5347 * jm-macros.m4: Use jm_AFS.
5348 * afs.m4: New file (from fileutils' configure.in).
5350 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
5351 * chown.m4: Likewise.
5352 * d-ino.m4: Likewise.
5353 * d-type.m4: Likewise.
5354 * fnmatch.m4: Likewise.
5355 * getgroups.m4: Likewise.
5356 * gettext.m4: Likewise.
5357 * jm-mktime.m4: Likewise.
5358 * jm-winsz2.m4: Likewise.
5359 * lcmessage.m4: Likewise.
5360 * ls-mntd-fs.m4: Likewise.
5361 * malloc.m4: Likewise.
5362 * memcmp.m4: Likewise.
5363 * putenv.m4: Likewise.
5364 * realloc.m4: Likewise.
5365 * st_mtim.m4: Likewise.
5366 * strftime.m4: Likewise.
5368 1999-01-16 Jim Meyering <meyering@ascend.com>
5370 * jm-macros.m4 (ARGMATCH_DIE): Define.
5371 (ARGMATCH_DIE_DECL): Define.
5373 1999-01-12 Jim Meyering <meyering@ascend.com>
5375 * Makefile.am.in: Rewrite to avoid using fmt.
5376 Reported by Lars Hecking.
5378 1999-01-10 Jim Meyering <meyering@ascend.com>
5380 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
5382 * inttypes_h.m4: Likewise.
5383 * lstat.m4: Likewise.
5384 * malloc.m4: Likewise.
5385 * readdir.m4: Likewise.
5386 * realloc.m4: Likewise.
5387 * st_dm_mode.m4: Likewise.
5388 * stat.m4: Likewise.
5389 * utimbuf.m4: Likewise.
5390 * utimes.m4: Likewise.
5392 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
5393 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
5394 comments in config.h.in are meaningful.
5396 * jm-macros.m4: Require autoconf-2.13 here.
5398 * regex.m4: By default, don't use the included regex.c on systems
5399 with glibc 2. Suggestion from Uli Drepper.
5401 1999-01-02 Jim Meyering <meyering@ascend.com>
5403 * jm-macros.m4: Replace strcasecmp and strncasecmp.
5405 1998-12-18 Jim Meyering <meyering@ascend.com>
5407 * Makefile.am.in (Makefile.am): Simplify rule.
5408 Based on a suggestion from Lars Hecking.
5410 1998-11-16 Jim Meyering <meyering@ascend.com>
5412 * lfs.m4: Double-quote the `uname...` expression.
5414 1998-11-16 Paul Eggert <eggert@twinsun.com>
5416 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
5418 1998-11-14 Jim Meyering <meyering@ascend.com>
5420 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
5421 * stat.m4: Likewise.
5423 1998-11-03 Jim Meyering <meyering@ascend.com>
5425 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
5426 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
5428 1998-10-18 Jim Meyering <meyering@ascend.com>
5430 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
5432 1998-10-17 Jim Meyering <meyering@ascend.com>
5434 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
5435 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
5436 calls for those previously hard-coded headers. Instead, take a new
5438 (jm_CHECK_DECLARATIONS): Reflect interface change.
5439 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
5440 (jm_CHECK_DECL_LOCALTIME_R): New macro.
5442 * mktime.m4: Test for spring-forward gap before long-running test.
5444 1998-10-14 Jim Meyering <meyering@ascend.com>
5446 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
5447 instead of "TZ=America/Vancouver". From Paul Eggert.
5449 1998-10-11 Jim Meyering <meyering@ascend.com>
5451 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
5452 This adds a test for a recently added compatibility fix for mktime.c.
5453 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
5455 1998-09-27 Jim Meyering <meyering@ascend.com>
5457 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
5459 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
5460 ../configure.in, including a change from Gordon Matzigkeit to allow
5461 cross-compiling for the Hurd.
5463 * glibc.m4: New file/macro to test for the GNU C Library
5464 versions 1 and 2. From Gordon Matzigkeit.
5467 1998-09-21 Jim Meyering <meyering@ascend.com>
5469 * chown.m4: Declare locals: before, after. From Andries Brouwer.
5471 1998-08-18 Paul Eggert <eggert@twinsun.com>
5473 Port nanosecond-resolution times to UnixWare 2.1.2 and
5474 pedantic Solaris 2.6.
5476 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
5478 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
5479 Generate name of ns member, instead of just 1 or undef.
5480 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
5482 1998-08-15 Jim Meyering <meyering@ascend.com>
5484 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
5485 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
5486 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
5487 instead of jm_TYPE_SSIZE_T.
5489 1998-08-12 Jim Meyering <meyering@ascend.com>
5491 * st_dm_mode.m4: New file. From Johan Danielsson.
5493 1998-08-02 Jim Meyering <meyering@ascend.com>
5495 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
5496 in acconfig.h manually.
5498 1998-07-31 Paul Eggert <eggert@twinsun.com>
5500 * st_mtim.m4: New file.
5502 1998-07-28 Jim Meyering <meyering@ascend.com>
5504 * utimes.m4: Undef stat.
5506 1998-07-25 Jim Meyering <meyering@ascend.com>
5508 * utime.m4 (jm_FUNC_UTIME): New file and macro.
5509 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
5511 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
5513 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
5514 uid and gid actually remain unchanged.
5516 1998-07-07 Jim Meyering <meyering@ascend.com>
5518 * jm-glibc-io.m4: Remove fclose_unlocked.
5520 1998-07-04 Jim Meyering <meyering@ascend.com>
5522 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
5523 to prove that this macro can be used in packages without regex.c.
5525 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5527 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
5530 1998-07-03 Jim Meyering <meyering@ascend.com>
5532 * gettext.m4: Add -lintl if it's found to be necessary.
5534 * gettext.m4: New file -- from gettext-0.10.35.
5535 * lcmessage.m4: Likewise.
5536 * progtest.m4: Likewise.
5538 * regex.m4 (jm_WITH_REGEX): New file and macro.
5539 * jm-macros.m4: Require the new macro.
5541 1998-06-29 Jim Meyering <meyering@ascend.com>
5543 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
5544 for the definition of NGROUPS (used in a system header included
5547 1998-06-28 Jim Meyering <meyering@ascend.com>
5549 * ls-mntd-fs.m4: New file.
5550 * fstypename.m4: New file.
5552 * jm-macros.m4: Require the new macro.
5553 * jm-glibc-io.m4: New file.
5555 1998-05-19 Jim Meyering <meyering@ascend.com>
5557 * jm-macros.m4: Add jm_FUNC_LCHOWN.
5558 * lchown.m4: New file.
5560 * Makefile.am.in: New file.
5561 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
5563 1998-05-14 Jim Meyering <meyering@ascend.com>
5565 * Makefile.am (EXTRA_DIST): Add them.
5566 * jm-macros.m4: New file.
5567 * utimbuf.m4: New file.
5569 1998-05-12 Jim Meyering <meyering@ascend.com>
5571 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
5573 1998-05-11 Jim Meyering <meyering@ascend.com>
5575 * isc-posix.m4: New file.
5577 1998-05-10 Jim Meyering <meyering@ascend.com>
5579 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
5581 1998-05-09 Jim Meyering <meyering@ascend.com>
5583 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
5584 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
5587 * ssize_t.m4: New file.
5588 * mktime.m4: Remove file -- the new automake has this now.
5590 1998-04-26 Jim Meyering <meyering@ascend.com>
5592 * assert.m4: New file.
5593 * Makefile.am (EXTRA_DIST): Add assert.m4.
5595 1998-04-05 Jim Meyering <meyering@ascend.com>
5597 * prereq.m4 (jm_PREREQ_REGEX): New macro.
5598 (jm_PREREQ): Use it here.
5600 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
5602 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
5605 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
5607 * prereq.m4: New file.
5608 * error.m4: New file.
5609 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
5611 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
5613 * getline.m4: Don't set am_cv_func_working_getline before the
5614 cache-check for the same variable -- that defeated the purpose of
5615 the test; the test program was never run. This was a problem only
5616 on systems with losing getline functions -- HP-UX 10.20 is one.
5617 Reported by Bjorn Helgaas.
5619 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
5621 * Makefile.am (EXTRA_DIST): Add perl.m4.
5623 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
5625 * Makefile.am (EXTRA_DIST): Add const.m4.
5627 * const.m4: New file. Use an initializer in this declaration
5628 typedef int charset[2]; const charset x;
5629 Reported by Bob Glickstein.
5631 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
5633 * chown.m4: Fix reversed types on -1 args to chown.
5636 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
5638 * check-decl.m4: s/DECLARATION_/DECL_/g.
5639 Add lseek and memchr.
5641 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
5642 T.E.Dickey <dickey@clark.net> said that some older preprocessors
5643 have a 20-character limit on names.
5645 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
5647 * inttypes_h.m4: New file.
5648 * uintmax_t.m4: New file.
5649 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
5651 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
5652 Free Software Foundation, Inc.
5653 Copying and distribution of this file, with or without modification,
5654 are permitted provided the copyright notice and this notice are preserved.