1 2006-08-10 Jim Meyering <jim@meyering.net>
3 * cycle-check.m4: New file.
4 Require gl_STRUCT_DEV_INO and gl_SAME_INODE.
5 * dev-ino.m4, same-inode.m4: New files.
7 2006-08-09 Paul Eggert <eggert@cs.ucla.edu>
9 * argp.m4 (gl_ARGP): Require AC_C_RESTRICT.
10 * gc.m4 (gl_PREREQ_GC): Likewise.
11 * glob.m4 (gl_PREREQ_GLOB): Likewise.
12 * inet_ntop.m4 (gl_PREREQ_INET_NTOP): Likewise.
13 * inet_pton.m4 (gl_PREREQ_INET_PTON): Likewise.
14 * memxor.m4 (gl_MEMXOR): Likewise.
15 * restrict.m4: Remove; no longer needed. All remaining uses of
16 gl_C_RESTRICT replaced by AC_C_RESTRICT.
19 * regex.m4 (gl_PREREQ_REGEX): Require AC_C_RESTRICT, not
20 gl_C_RESTRICT, now that we assume Autoconf 2.59 or later.
21 * strtok_r.m4 (gl_FUNC_STRTOK_R): Likewise.
22 * time_r.m4 (gl_TIME_R): Likewise.
24 2006-07-31 Bruno Haible <bruno@clisp.org>
26 * localcharset.m4 (gl_LOCALCHARSET): Remove tests for <stddef.h>,
27 <stdlib.h>, <string.h>.
29 2006-07-30 Bruno Haible <bruno@clisp.org>
31 * wcwidth.m4 (gl_FUNC_WCWIDTH): Assume <string.h> exists.
33 2006-07-28 Simon Josefsson <jas@extundo.com>
35 * netinet_in_h.m4: New file.
37 2006-07-28 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
39 * inet_pton.m4, inet_ntop.m4: Check for netinet/in.h too.
41 2006-07-28 Bruno Haible <bruno@clisp.org>
43 * mbchar.m4 (gl_MBCHAR): Also test for iswcntrl.
45 2006-07-27 Bruno Haible <bruno@clisp.org>
47 * stdint.m4 (gl_STDINT_H): Define __STDC_CONSTANT_MACROS during the
50 2006-07-26 Eric Blake <ebb9@byu.net>
52 * unistd-safer.m4 (gl_UNISTD_SAFER): Check for missing pipe.
54 2006-07-26 Bruno Haible <bruno@clisp.org>
56 * stdint.m4 (gl_STDINT_H): Also verify the existence of the macros
57 INT*_MIN, INT_LEAST*_MAX, INT_LEAST*_MIN, UINT_LEAST*_MAX,
58 INT_FAST*_MIN, INTPTR_MIN.
60 2006-07-25 Bruno Haible <bruno@clisp.org>
62 * stdint.m4 (gl_INTEGER_TYPE_SUFFIX): Avoid 'eval' in front of complex
65 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
67 * stdio-safer.m4 (gl_FOPEN_SAFER, gl_TMPFILE_SAFER): New macros.
68 (gl_STDIO_SAFER): Remove.
70 2006-07-24 Bruno Haible <bruno@clisp.org>
72 * tmpdir.m4: New file, from GNU gettext.
74 2006-07-23 Eric Blake <ebb9@byu.net>
76 * stdio-safer.m4 (gl_STDIO_SAFER): Add tmpfile-safer.c.
78 2006-07-22 Paul Eggert <eggert@cs.ucla.edu>
80 * close-stream.m4: New file.
82 2006-07-22 Bruno Haible <bruno@clisp.org>
84 Merge from GNU gettext 0.15.
86 2006-03-25 Bruno Haible <bruno@clisp.org>
88 * lib-link.m4 (AC_LIB_LINKFLAGS_FROM_LIBS): New macro.
90 2006-07-21 Bruno Haible <bruno@clisp.org>
92 * javacomp.m4 (gt_JAVACOMP): Convert target_version "null" to
95 2006-05-09 Bruno Haible <bruno@clisp.org>
97 * javacomp.m4 (gt_JAVACOMP): On Cygwin, set
98 CLASSPATH_SEPARATOR to a semicolon. Use CLASSPATH_SEPARATOR
99 for the conftestver execution.
101 2006-05-01 Bruno Haible <bruno@clisp.org>
103 * javacomp.m4 (gt_JAVACOMP): Accept a source-version and an
104 optional target-version argument. Verify that the compiler
105 groks source of the specified source-version, or add -source
106 option as necessary. Verify that the compiler produces
107 bytecode in the specified target-version, or add -target and
108 -source options as necessary. Make the result of the test
109 available as variable CONF_JAVAC. Also log error output in
112 2006-03-11 Bruno Haible <bruno@clisp.org>
114 * javacomp.m4 (gt_JAVACOMP): Treat gcj-4.x like gcj-3.x.
116 2006-05-09 Bruno Haible <bruno@clisp.org>
118 * javaexec.m4 (gt_JAVAEXEC): On Cygwin, set
119 CLASSPATH_SEPARATOR to a semicolon.
121 2006-03-12 Bruno Haible <bruno@clisp.org>
123 * javaexec.m4 (gt_JAVAEXEC): Make the result of the test
124 available as variable CONF_JAVA, for subsequent autoconf
125 tests. Also log error output in config.log.
127 2006-07-19 Bruno Haible <bruno@clisp.org>
129 * getline.m4 (AM_FUNC_GETLINE): When cross-compiling, assume
130 that getline works on glibc2 systems. Needed to avoid trouble
132 Reported by Nils Magnus Larsgard <nmlarsgaard@atmel.no>.
134 2005-12-04 Bruno Haible <bruno@clisp.org>
136 * csharpexec.m4 (gt_CSHARPEXEC): Add support for 'clix'
139 2005-12-04 Bruno Haible <bruno@clisp.org>
141 * csharpcomp.m4 (gt_CSHARPCOMP): Also set CSHARPCOMPFLAGS.
143 2006-07-22 Bruno Haible <bruno@clisp.org>
145 * gettext.m4: Update from GNU gettext-0.15.
148 * inttypes-pri.m4: Likewise.
149 * inttypes-h.m4: Renamed from inttypes.m4.
150 (gl_HEADER_INTTYPES_H): Renamed from gt_HEADER_INTTYPES_H.
152 2006-07-17 Bruno Haible <bruno@clisp.org>
154 * gl_list.m4: New file.
156 2006-07-16 Paul Eggert <eggert@cs.ucla.edu>
158 * mkancesdirs.m4: New file.
159 * mkdir-p.m4 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h.
160 Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed.
161 Require gl_FUNC_LCHOWN, since dirchownmod.c needs it.
163 2006-07-11 Eric Blake <ebb9@byu.net>
165 * absolute-header.m4: Fix comments to match recent change.
167 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
169 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Like today's change
172 2006-07-10 Derek R. Price <derek@ximbiot.com>
173 and Paul Eggert <eggert@cs.ucla.edu>
175 * backupfile.m4, d-ino.m4, d-type.m4, dirfd.m4, fts.m4, getcwd.m4:
177 Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN
178 macros into the GNU _D_EXACT_NAMLEN.
180 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
182 * stdint.m4 (gl_STDINT_H): Like yesterday's change to
183 absolute-header.m4. Also, set ABSOLUTE_STDINT_H to a string
184 "no/such/file/stdint.h" when there is no such file, so that
185 the resulting C code can be parsed by dodgy compilers.
186 Problems reported by Bob Proulx.
188 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
190 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
191 around the absolute name, to work around a problem with the HP-UX
192 11.23 native C compiler, reported by Bob Proulx.
194 2006-07-09 Jim Meyering <jim@meyering.net>
196 * glob.m4: Remove a doubled word in a comment.
198 2006-07-08 Jim Meyering <jim@meyering.net>
200 * link-follow.m4: Remove one of two adjacent "whether"s in a comment.
201 * getopt.m4: Remove one of two adjacent "your"s in a comment.
202 * regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment.
204 2006-07-06 Derek R. Price <derek@ximbiot.com>
205 and Paul Eggert <eggert@cs.ucla.edu>
207 * backupfile.m4 (gl_BACKUPFILE): Check for dirent.h, instead
208 of invoking obsolescent AC_HEADER_DIRENT macro.
209 * d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
210 * d-type.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Likewise.
211 * dirfd.m4 (gl_FUNC_DIRFD): Likewise.
212 * fts.m4 (gl_FUNC_FTS_CORE): Likewise.
213 * getcwd.m4 (gl_PREREQ_GETCWD): Likewise.
214 * glob.m4 (gl_PREREQ_GLOB): Likewise.
215 * savedir.m4 (gl_SAVEDIR): Likewise.
216 * readdir.m4: Remove; no longer needed.
218 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
220 * _inttypes_h.m4 (gl_INTTYPES_H): Use AC_CHECK_DECLS_ONCE
221 with only one argument, for Autoconf 2.60.
222 * fileblocks.m4 (gl_PREREQ_FILEBLOCKS): AC_CHECK_DECLS_ONCE may
223 expand to nothing, so add a shell command to avoid syntax error.
224 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
226 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
228 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't check for getenv decl;
229 no longer needed. Check for isblank decl.
230 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Don't check for getenv decl.
231 * regex.m4 (gl_PREREQ_REGEX): Dheck for isblank decl instead
234 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
236 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Use AC_CHECK_DECLS_ONCE
237 rather than AC_CHECK_DECLS for strtoimax and strtoumax.
238 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed.
240 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
241 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
242 * exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer needed.
243 * getdate.m4 (gl_GETDATE): Likewise.
244 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
245 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
246 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
247 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
248 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
249 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
250 * exclude.m4 (gl_EXCLUDE): Don't require AC_C_INLINE; no longer
253 2006-07-05 Derek R. Price <derek@ximbiot.com>
255 * calloc.m4 (_AC_FUNC_CALLOC_IF): Don't require AC_HEADER_STDC;
257 * exclude.m4 (gl_EXCLUDE): Likewise.
258 * getdate.m4 (gl_GETDATE): Likewise.
259 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
260 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
261 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
262 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
263 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
265 2006-07-05 Eric Blake <ebb9@byu.net>
267 * sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
268 to avoid 'header present but could not be compiled' on cygwin.
270 2006-07-03 Bruno Haible <bruno@clisp.org>
272 * strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, check whether
273 the function exists, before testing against AIX.
274 Reported by Martin Lambers <marlam@marlam.de>.
276 2006-07-04 Paul Eggert <eggert@cs.ucla.edu>
278 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
279 to the absolute name, not just one, to bypass Sun C 5.8's
280 "warning: #include of /usr/include/... may be non-portable".
282 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
284 * absolute-header.m4: Renamed from full-header-path.m4.
285 This is to keep the terminology clean; POSIX talks about
286 "absolute pathnames", not "full pathnames", but the GNU
287 Coding Standards say to use "path" for something else;
288 so use "absolute" to keep both sides happy.
289 (gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
290 Set gl_absolute_header, not gl_full_header_path.
291 Set gl_cv_absolute_<header>, not gl_full_path_<header>.
292 Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
295 Merge from coreutils.
297 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
299 * c-strtod.m4 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
300 Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
301 want to require the building of c-strtod.o.
302 * lib-check.m4 (cu_LIB_CHECK): Remove SEQ_LIBM, since seq no longer
304 * xstrtod.m4 (gl_XSTRTOLD): New macro.
306 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
308 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
309 --as-needed option if available. Problem reported by Albert Chin in
310 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
311 However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
312 cc merely issues a bunch of annoying warnings for --as-needed
313 (this problem was reported by Bob Proulx). Also, try linking with
314 -lm to detect a bug in binutils 2.16 (this problem was reported
317 2006-06-18 Jim Meyering <jim@meyering.net>
319 Test for a bug that causes glibc's getcwd to suffer a failed assertion.
320 * getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
321 * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
322 also check for glibc-2.4's abort-inducing bug.
324 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
325 Low-probability clean-up should be to use rmdir to get rid of
326 the just-created directory, not unlink.
328 * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
329 configure fail, and request a bug report to inform us about it.
330 Add a comment that, barring reports to the contrary, in 2007 we'll
331 assume ftruncate is universally available.
333 2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
335 * filemode.m4 (gl_FILEMODE): Check for strmode declaration.
337 2006-03-12 Jim Meyering <jim@meyering.net>
339 * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.
340 * cycle-check.m4 (gl_CYCLE_CHECK): Likewise.
341 * same.m4 (gl_SAME): Likewise.
342 * root-dev-ino.m4 (gl_ROOT_DEV_INO): Likewise.
344 2006-03-11 Eric Blake <ebb9@byu.net>
346 * double-slash-root.m4: New file, provides gl_DOUBLE_SLASH_ROOT.
347 * dirname.m4 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
348 * dos.m4 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
349 (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
351 2006-07-02 Eric Blake <ebb9@byu.net>
353 * wcwidth.m4 (gl_FUNC_WCWIDTH): Simplify by using AC_CHECK_DECLS.
355 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
357 * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
358 test cases, so that config.log is a bit easier to follow.
360 2006-07-01 Paul Eggert <eggert@cs.ucla.edu>
362 * longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60,
363 but fix a bug, by requiring at least 64 bits.
364 * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
365 * longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call
366 AC_TYPE_LONG_LONG_INT. This macro is obsolete and will go soon.
367 * ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise.
369 * stdint.m4 (gl_STDINT_H): Rewrite to accommodate stdint_.h
370 changes. Make 2.59 a prerequisite. Check and substitute for
371 HAVE_LONG_LONG_INT. Rely on Autoconf to check for stdint.h and
372 inttypes.h. Do not use special include files; just use the
373 defaults. Check for sys/inttypes.h and sys/bitypes.h in the usual
374 way now. Remove no-longer-needed tests for HAVE_LONG_64BIT,
375 HAVE_LONG_LONG_64BIT, int8_t, int16_t, int32_t, int64_t, uint8_t,
376 uint16_t, uint32_t uint64_t, int_least8_t, int_least16_t,
377 int_least32_t, int_least64_t, uint_least8_t, uint_least16_t,
378 uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t,
379 int_fast32_t, int_fast64_t, uint_fast8_t uint_fast16_t,
380 uint_fast32_t, uint_fast64_t, intptr_t, uintptr_t, intmax_t,
381 uintmax_t, INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX,
382 UINT16_MAX, INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN,
383 INT64_MAX, UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX,
384 UINT_LEAST8_MAX, INT_LEAST16_MIN, INT_LEAST16_MAX,
385 UINT_LEAST16_MAX, INT_LEAST32_MIN, INT_LEAST32_MAX,
386 UINT_LEAST32_MAX, INT_LEAST64_MIN, INT_LEAST64_MAX,
387 UINT_LEAST64_MAX, INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX,
388 INT_FAST16_MIN, INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN,
389 INT_FAST32_MAX, UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX,
390 UINT_FAST64_MAX, INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN,
391 INTMAX_MAX, UINTMAX_MAX, PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN,
392 SIG_ATOMIC_MAX, SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN,
393 WINT_MAX. Check for C99 conformance more strictly, by detecting
394 bugs in glibc 2.4, Solaris 10, and OpenBSD 3.9. On the other hand do
395 not check for things that C99 does not require, e.g., int8_t. If
396 a test isn't needed unless <stdint.h> isn't working, and is
397 unlikely to be needed for any other reason, then don't do it
398 unless <stdint.h> isn't working. Do not check for ptrdiff_t or
399 size_t, since we assume C89 freestanding at least. Do not check
400 for sig_atomic_t, wchar_t, or wint_t, since the code now does
401 the right thing even if the types are not defined. Instead use:
402 (gl_STDINT_TYPE_PROPERTIES): New macro.
403 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H): Remove. Don't bother
404 testing whether <sys/types.h> clashes, as Autoconf does this for
405 us now. All uses removed.
406 (gl_STDINT_CHECK_TYPES, gl_STDINT_MISSING_BOUND):
407 (gl_STDINT_MISSING_BOUNDS, gl_STDINT_MISSING_BOUNDS2):
408 (gl_CHECK_TYPE_SAME):
409 Remove; no longer needed.
410 (gl_STDINT_BITSIZEOF): Don't bother to check whether the type
411 exists, since we'll return 0 anyway in that case.
412 (gl_INTEGER_TYPE_SUFFIX, gl_STDINT_INCLUDES): New macros.
414 2006-07-01 Eric Blake <ebb9@byu.net>
416 * stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.
418 2006-07-01 Eric Blake <ebb9@byu.net>
420 * stdarg.m4 (gl_STDARG_H): Use proper AH_VERBATIM.
421 Reported by Andreas Buening.
423 2006-06-29 Eric Blake <ebb9@byu.net>
425 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Use AC_C_INLINE.
427 2006-06-29 Eric Blake <ebb9@byu.net>
429 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): New file.
431 2006-06-29 Derek R. Price <derek@ximbiot.com>
433 * strftime.m4: Don't call AC_FUNC_STRFTIME.
435 2006-06-29 Derek R. Price <derek@ximbiot.com>
437 * c-bs-a.m4: Removed.
439 2006-06-28 Derek R. Price <derek@ximbiot.com>
441 * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
443 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
445 * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
447 2006-06-28 Bruno Haible <bruno@clisp.org>
449 * wcwidth.m4 (gl_FUNC_WCWIDTH): Also require AC_C_INLINE and
452 2006-06-28 Eric Blake <ebb9@byu.net>
454 * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
455 * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
457 2006-06-28 Simon Josefsson <jas@extundo.com>
459 * getaddrinfo.m4: Look for getnameinfo prototypes too.
461 2006-06-27 Simon Josefsson <jas@extundo.com>
463 * sys_select_h.m4: New file, suggested by Bruno Haible, Paul
464 Eggert and Martin Lambers.
466 2006-06-27 Bruno Haible <bruno@clisp.org>
468 * stdint.m4 (gl_STDINT_BITSIZEOF): For nonexistent types, set the
469 result to 0, not to empty.
470 Reported by Martin Neitzel <neitzel@sco.gaertner.de>.
472 2006-06-26 Bruno Haible <bruno@clisp.org>
474 * stdint.m4 (gl_STDINT_H): Test also for <wchar.h>.
476 2006-06-26 Bruno Haible <bruno@clisp.org>
478 * stdint.m4 (gl_STDINT_H): Don't include <stdint.h> when using the
479 SGI C compiler in pre-C99 mode.
480 Suggested by Mark D. Baushke and Larry Jones.
482 2006-06-23 Mark D. Baushke <mdb@gnu.org>
484 * stdint.m4 (gl_STDINT_H): Treat BSD/OS like OpenBSD.
486 2006-06-26 Simon Josefsson <jas@extundo.com>
488 * inet_ntop.m4: Don't check for sys/types.h, we assume it is
491 2006-06-23 Bruno Haible <bruno@clisp.org>
493 * stdint.m4 (gl_STDINT_H): Treat IRIX like OpenBSD.
495 2006-06-22 Simon Josefsson <jas@extundo.com>
497 * sockpfaf.m4: Include winsock2.h too, to make it work under
500 2006-06-21 Simon Josefsson <jas@extundo.com>
502 * getaddrinfo.m4: Don't define WINVER. Look for gethostbyname in
503 -lws2_32 too. Fixes getaddrinfo on Windows 2000, with the price
504 of using the (limited) gnulib implementation on Windows XP.
506 * inet_pton.m4: New file.
508 2006-06-19 Bruno Haible <bruno@clisp.org>
510 * stdint.m4 (gl_STDINT_H): Enclose the values of FULL_PATH_STDINT_H
511 and FULL_PATH_INTTYPES_H in angle brackets.
512 Reported by Mark D. Baushke <mdb@gnu.org>.
514 2006-06-17 Bruno Haible <bruno@clisp.org>
516 * stdint.m4 (gl_STDINT_H) [FreeBSD >= 5]: Don't include
519 2006-06-16 Eric Blake <ebb9@byu.net>
521 * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
524 2006-06-17 Bruno Haible <bruno@clisp.org>
526 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
527 whether errno is declared. Assume <errno.h> declares errno.
529 2006-06-15 Bruno Haible <bruno@clisp.org>
531 * stdint.m4 (gl_STDINT_H): Rewritten to produce a complete stdint.h.
532 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H, gl_STDINT_CHECK_TYPES,
533 gl_STDINT_MISSING_BOUND, gl_STDINT_MISSING_BOUNDS,
534 gl_STDINT_MISSING_BOUNDS2, gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED,
535 gl_CHECK_TYPE_SAME): New macros.
537 2006-06-15 Bruno Haible <bruno@clisp.org>
539 * size_max.m4 (gl_SIZE_MAX): Make it work also when cross-compiling.
541 2006-06-15 Eric Blake <ebb9@byu.net>
543 * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
545 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
546 Bruno Haible <bruno@clisp.org>
548 * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
549 check for the declaration of strnlen and a run test that exposes the
550 AIX 5.1 strnlen bug. In the failure case, #define strndup to
553 2006-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
555 * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
556 compile test, for Tru64 4.0D.
558 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
560 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
561 gl_ rather than jm_. Link, don't run, so that cross-compiles are
562 allowed. Check that resulting type is arithmetic. Move AC_REQUIRE
563 and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
564 not really conditional on the cache.
565 (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
567 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
569 * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
570 test for C99 conformance; (bool) 0.5 is an integer constant
571 expression, but (bool) -0.5 is not. Problem reported by Fedor
572 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
574 2006-05-11 Simon Josefsson <jas@extundo.com>
576 * xvasprintf.m4: Fix obvious typo.
578 2006-05-09 Bruno Haible <bruno@clisp.org>
580 * xvasprintf.m4: New file.
582 2006-05-08 Bruno Haible <bruno@clisp.org>
584 * stdarg.m4: New file, from GNU gettext.
586 2006-05-05 Jim Meyering <jim@meyering.net>
588 * warning.m4: New file, derived from bison's file by the same name.
590 2006-05-02 Bruno Haible <bruno@clisp.org>
592 * full-header-path.m4 (gl_FULL_HEADER_PATH): Move the include_next
594 * _inttypes_h.m4 (gl_INTTYPES_H): ... to here.
596 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
598 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
599 to define main with arguments, for C++. Reported by Eric Blake.
600 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
601 Prefer 'int main ()' to 'int main (void)', for C++.
602 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
603 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
604 for 'main', for C99 and C++.
606 2006-04-23 Bruno Haible <bruno@clisp.org>
608 * poll.m4 (gl_FUNC_POLL): Rearrange code, so that POLL_H gets
609 assigned exactly once.
611 2006-04-23 Bruno Haible <bruno@clisp.org>
613 * poll.m4 (gl_FUNC_POLL): When cross-compiling, reject also the poll()
614 implementation in AIX.
615 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
617 2006-03-04 Eric Blake <ebb9@byu.net>
619 * strerror_r.m4 (AC_FUNC_STRERROR_R): Avoid unused variable warning.
621 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
623 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
624 Don't assume that exit status -1 is valid.
625 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
626 * putenv.m4 (gl_FUNC_PUTENV): Likewise.
627 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
628 * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
629 * rename.m4 (vb_FUNC_RENAME): Likewise.
630 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
631 not AC_TRY_RUN. Use return, not exit. Don't assume that
632 functions can be used without declaring them, or that you can
634 * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
636 2006-04-20 Bruno Haible <bruno@clisp.org>
638 * argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
639 one argument, so that the code will be portable to Autoconf 2.60.
640 * getlogin_r.m4 (gl_PREREQ_GETLOGIN_R): Likewise.
641 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
642 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
644 2006-04-19 Derek Price <derek@ximbiot.com>
645 Eric Blake <ebb9@byu.net>
647 * full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
648 than "/full/path.h". Update comment to match. Shorten & generalize
649 m4_translit call via AS_TR_CPP.
651 2006-04-18 Derek Price <derek@ximbiot.com>
652 Paul Eggert <eggert@cs.ucla.edu>
654 * _inttypes_h.m4, full-header-path.m4, include_next: New files.
656 2006-04-11 Paul Eggert <eggert@cs.ucla.edu>
658 * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
660 2006-04-09 Paul Eggert <eggert@cs.ucla.edu>
662 * regex.m4 (gl_REGEX): Check for new glibc interface to
665 2006-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
667 * argz.m4 (gl_FUNC_ARGZ): If we define `error_t', also define
668 `__error_t_defined', so argp.h will not typedef the former.
670 2006-03-25 Paul Eggert <eggert@cs.ucla.edu>
672 * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
673 REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
674 glibc names. Even if glibc is changed to conform to POSIX, the
675 traditional names will be available anyway, since regex depends on
676 the extensions module. Also, fix a longstanding typo in the
677 implementation of Spencer ERE test #75 from grep 2.3. Problems
678 reported by Emanuele Giaquinta. Also, change sense of cached
679 variable, so that the message makes sense.
681 2006-03-17 Jim Meyering <jim@meyering.net>
683 * regex.m4 (gl_REGEX): Fix typo in last change:
684 s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
686 2006-03-16 Paul Eggert <eggert@cs.ucla.edu>
688 * regex.m4 (gl_REGEX): Don't check for off_t, since the code
689 no longer needs it. Instead, check that regoff_t is as least
690 as wide as ptrdiff_t.
692 Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
693 so that our regex.h stays compatible with the installed regex.
694 This is helpful for installers who configure --without-included-regex.
695 Problem reported by Emanuele Giaquinta.
697 2006-03-15 Eric Blake <ebb9@byu.net>
699 * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
701 2006-03-08 Simon Josefsson <jas@extundo.com>
703 * gc-random.m4: Permit 'no' as variable values and fix warnings,
704 suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
706 2006-03-08 Simon Josefsson <jas@extundo.com>
708 * gc-random.m4: Call AC_CANONICAL_HOST and use $host_os instead of
709 $target, suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
711 2006-03-07 Paul Eggert <eggert@cs.ucla.edu>
713 * unistd_h.m4 (gl_HEADER_UNISTD): Rename, to match modules file.
714 Problem reported by Juan Manuel Guerrero.
716 2006-03-07 Simon Josefsson <jas@extundo.com>
718 * unistd_h.m4: New file.
720 2006-03-07 Simon Josefsson <jas@extundo.com>
722 * readline.m4 (gl_FUNC_READLINE): Rewrite the cached part of the
723 test to be side-effect free by storing the result in the cache
724 variable gl_cv_lib_readline, and moving the assignment of
725 LIBREADLINE and LTLIBREADLINE outside the COMMANDS-TO-SET-IT.
726 From Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
728 2006-03-07 Simon Josefsson <jas@extundo.com>
730 * gc-random.m4: New file, mostly from gc.m4. Warn instead of
731 error on missing devices (the functions will return an error).
733 * gc.m4: Move random stuff to gc-random.m4
735 2006-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
737 * poll.m4 (gl_FUNC_POLL): If we deem poll(2) unacceptable, use
738 our replacement poll.h in any case, to avoid a differing
739 declaration from a system header. Seen on AIX.
741 2006-03-01 Paul Eggert <eggert@cs.ucla.edu>
743 * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
744 not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
746 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
747 * timespec.m4 (gl_TIMESPEC): Likewise.
749 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
750 not "==". Reported by Ralf Wildenhues.
752 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
755 * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
758 2006-02-22 Jim Meyering <jim@meyering.net>
761 * chdir-safer.m4: New file.
763 2006-02-17 Eric Blake <address@hidden>
765 * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
767 2006-02-15 Eric Blake <ebb9@byu.net>
769 * sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using
770 winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes
771 'present but cannot compile' warnings on cygwin.
772 * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET. Don't
773 use ws2tcpip.h if sys/socket.h works.
774 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_HEADER_SYS_SOCKET.
775 (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is present.
777 2006-02-14 Jim Meyering <jim@meyering.net>
780 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
781 unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
782 gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
783 variable, to accommodate the rare case in which getmntent is
784 available in none of the libraries checked. This happens at
785 least on FreeBSD 5.0.
787 2006-02-05 Paul Eggert <eggert@cs.ucla.edu>
789 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
790 __EXTENSIONS__ if this causes compilation to fail. Problem
791 reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
792 c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
794 2006-01-25 Simon Josefsson <jas@extundo.com>
796 * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
797 -lws2_32. Protect sys/socket.h and netdb.h #include's. Include
798 ws2tcpip.h with WINVER=0x0501. All for mingw32.
800 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
802 * stdbool.m4 (AC_HEADER_STDBOOL): Check for xlc bug if __GCC__ too,
803 so that we test the test.
804 Check for yet another HP-UX cc bug involving *bool |= bool.
806 2006-01-24 Bruno Haible <bruno@clisp.org>
808 * stdbool.m4 (AC_HEADER_STDBOOL): Check for IBM and HP-UX bugs.
809 Patch by Paul Eggert.
811 2006-01-24 Jim Meyering <jim@meyering.net>
813 * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
814 Reported by Mark D. Baushke.
816 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
818 * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
820 2006-01-20 Paul Eggert <eggert@cs.ucla.edu>
822 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
823 rather than -Xlinker -z -Xlinker ignore, as it's more portable.
824 Suggested by Bruno Haible.
826 2006-01-19 Simon Josefsson <jas@extundo.com>
828 * socklen.m4: Look in ws2tcpip.h too, for mingw32.
830 2006-01-16 Paul Eggert <eggert@cs.ucla.edu>
832 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
833 it's not portable and it doesn't work with cross-compiles.
834 Problem reported by Bruno Haible. Fix missing-$ typo in
835 'test "gl_cv_ignore_unused_libraries" ...' that prevented
836 -zignore from being used with Sun's C compiler.
838 2006-01-12 Bruno Haible <bruno@clisp.org>
842 2006-01-08 Bruno Haible <bruno@clisp.org>
844 Ensure automatic ordering between gl_LOCK and gl_ARGP.
845 * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK.
846 (gl_LOCK): New macro, requiring gl_LOCK_BODY.
848 2006-01-10 Jim Meyering <jim@meyering.net>
850 * fpending.m4: Also include <stdio.h>, for Dragonfly.
851 Patch by Joerg Sonnenberger.
853 2006-01-10 Paul Eggert <eggert@cs.ucla.edu>
855 * memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
856 the 2002-12-31 change. Problem and fix reported by Bruno Haible.
857 People who are still concerned with buggy memcmp implementations
858 can invoke gl_FUNC_MEMCMP themselves.
860 2006-01-10 Simon Josefsson <jas@extundo.com>
862 * sys_socket_h.m4: New file.
864 2006-01-10 Bruno Haible <bruno@clisp.org>
866 * localcharset.m4 (gl_LOCALCHARSET): Also test for getc_unlocked.
867 Reported by Werner Lemberg <wl@gnu.org>.
869 2006-01-09 Paul Eggert <eggert@cs.ucla.edu>
872 * lib-ignore.m4: New file.
873 * lchmod.m4: New file.
875 2006-01-09 Jim Meyering <jim@meyering.net>
878 * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
879 Require openat-priv.h.
881 2006-01-09 Andreas Gruenbacher <agruen@suse.de>
884 * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
886 2005-10-16 Bruno Haible <bruno@clisp.org>
888 * stdint.m4 (gl_STDINT_H): Also test for <sys/bitypes.h>.
890 2005-12-16 Jim Meyering <jim@meyering.net>
892 * fprintftime.m4: New file.
894 2005-12-10 Sergey Poznyakoff <gray@gnu.org.ua>
896 * argp.m4: Define HAVE_DECL_PROGRAM_INVOCATION_NAME and
897 HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
899 2005-12-09 Sergey Poznyakoff <gray@gnu.org.ua>
901 * argp.m4: Check if program_invocation_name and
902 program_invocation_short_name are declared and define appropriate
903 macros if they are not.
905 2005-12-07 Paul Eggert <eggert@cs.ucla.edu>
907 * stat-time.m4 (gl_STAT_TIME): Add check for
908 TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
909 porting problem reported by Georg Schwarz in
910 <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
912 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
914 * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
915 Use implementation from Albert Chin, with some
916 comments/corrections by Stepan Kasal and myself.
918 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
920 * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
921 statement, to work around an HP-UX 10.20 compiler bug reported by
924 2005-11-10 Paul Eggert <eggert@cs.ucla.edu>
926 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
927 or gettimeofday; no longer needed.
929 2005-10-30 Paul Eggert <eggert@cs.ucla.edu>
931 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
932 variables to suggest the intended function of the PATH_MAX check.
934 2005-10-30 Kean Johnston <jkj@sco.com>
936 Trivial changes to support SCO systems.
937 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
939 * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
940 where __ptr is null when no I/O is pending.
942 2005-10-28 Simon Josefsson <jas@extundo.com>
944 * inet_ntop.m4: More tests.
946 * gc-md2.m4, md2.m4: New file.
948 2005-10-22 Simon Josefsson <jas@extundo.com>
950 * gc.m4: Don't be fooled by --disable-*random-device parameters,
951 suggested by Bruno Haible <bruno@clisp.org>. Fix error messages.
953 2005-10-21 Simon Josefsson <jas@extundo.com>
955 * gc.m4: Don't use libgcrypt if gcrypt.h isn't found, suggested by
956 Bruno Haible <bruno@clisp.org>.
958 * gc-des.m4: New file.
960 2005-10-21 Simon Josefsson <jas@extundo.com>
962 * arctwo.m4: New file.
964 * gc-arctwo.m4: New file.
966 2005-10-19 Simon Josefsson <jas@extundo.com>
968 * gc-arcfour.m4: New file.
970 * gc-rijndael.m4: New file.
972 2005-10-19 Simon Josefsson <jas@extundo.com>
974 * m4/gc-hmac-md5.m4, m4/gc-hmac-sha1.m4, m4/gc-md4.m4,
975 m4/gc-md5.m4, m4/gc-sha1.m4: Fix typo, suggested by Stepan Kasal
978 2005-10-19 Simon Josefsson <jas@extundo.com>
980 * gc-md4.m4: New file.
982 2005-10-18 Simon Josefsson <jas@extundo.com>
986 2005-10-17 Bruno Haible <bruno@clisp.org>
988 * stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so that
989 it can also be used in a test.
991 2005-10-11 Simon Josefsson <jas@extundo.com>
993 * md5.m4: Remove call to uint32_t.m4.
995 2005-10-15 Simon Josefsson <jas@extundo.com>
997 * rijndael.m4: New file.
999 2005-10-14 Simon Josefsson <jas@extundo.com>
1001 * arcfour.m4: New file.
1003 2005-10-12 Bruno Haible <bruno@clisp.org>
1005 * stdbool.m4 (gl_STDBOOL_H): Define as an alias of AM_STDBOOL_H.
1006 Reported by Stepan Kasal <kasal@ucw.cz>.
1008 2005-10-12 Simon Josefsson <jas@extundo.com>
1010 * gc-pbkdf2-sha1.m4: New file.
1012 * gc-hmac-sha1.m4: New file.
1014 * gc-sha1: New file.
1016 * hmac-sha1.m4: New file.
1018 2005-10-12 Simon Josefsson <jas@extundo.com>
1020 * gc-md5.m4, gc-hmac-md5: New files.
1022 * gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5.
1024 2005-10-11 Simon Josefsson <jas@extundo.com>
1028 2005-10-07 Simon Josefsson <jas@extundo.com>
1030 * memxor.m4: Remove gl_C_RESTRICT call.
1032 2005-10-06 Paul Eggert <eggert@cs.ucla.edu>
1034 * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
1035 promotes to int, not unsigned int, to catch the AIX 5.3
1038 2005-10-06 Simon Josefsson <jas@extundo.com>
1040 * hmac-md5.m4: New file.
1042 * memxor.m4: Require gl_C_RESTRICT.
1044 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
1046 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for
1047 sys/socket.h, netdb.h, sys/types.h; the checks areno longer
1048 needed, since the source code now assumes these .h files.
1050 2005-10-05 Simon Josefsson <jas@extundo.com>
1052 * memxor.m4: New file.
1054 2005-10-02 Paul Eggert <eggert@cs.ucla.edu>
1056 Sync from coreutils.
1057 * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
1058 * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
1059 defines ULONG_MAX_LT_ULLONG_MAX. Thomas M.Ott reports that
1060 ULLONG_MAX doesn't work with 2.7.2.1.
1062 2005-10-02 Jim Meyering <jim@meyering.net>
1064 Sync from coreutils.
1065 * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
1066 from glibc-2.2.5 that fails for read-only files.
1068 2005-10-02 Alfred M. Szmidt <ams@gnu.org>
1070 Sync from coreutils.
1071 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
1072 against `yes', rather than just testing for nonempty.
1074 2005-10-01 Simon Josefsson <jas@extundo.com>
1076 * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
1079 * getaddrinfo.m4: Use AC_GNU_SOURCE, GNU only declare getaddrinfo
1080 as an (POSIX) extension. Check for sys/types.h, sys/socket.h, and
1081 netdb.h too, needed by getaddrinfo.h. Check if getaddrinfo,
1082 freeaddrinfo and gai_strerror are declared by the POSIX headers.
1083 Check if struct addrinfo is declared.
1085 2005-10-01 Jim Meyering <jim@meyering.net>
1087 Sync from coreutils.
1089 * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
1090 libraries [inet nsl socket xnet]. Nelson Beebe reported that with
1091 native cc on Solaris 7, getaddrinfo.c requires -lsocket.
1092 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
1093 in the inet and nsl libraries. Required on Solaris 5.7.
1095 2005-09-24 Jim Meyering <jim@meyering.net>
1097 Sync from coreutils.
1098 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
1099 in the inet and nsl libraries. Required on Solaris 5.7.
1101 2005-09-26 Bruno Haible <bruno@clisp.org>
1103 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
1104 mbchar.c if they are not both present.
1105 * mbfile.m4 (gl_MBFILE): Require gl_FUNC_MBRTOWC.
1106 * mbiter.m4 (gl_MBITER): Likewise.
1107 * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
1108 * strcasestr.m4 (gl_PREREQ_STRCASESTR): Likewise.
1109 * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
1111 2005-09-23 Paul Eggert <eggert@cs.ucla.edu>
1113 * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
1114 and similarly for the other external symbols. Problem reported
1117 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
1118 bug reported by Jim Meyering.
1120 * utimens.m4 (gl_UTIMENS): Check for futimesat.
1121 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
1122 not needed, since socklen is a prerequisite module.
1124 2005-09-23 Jim Meyering <jim@meyering.net>
1126 Sync from coreutils.
1127 Correct build failure (socklen_t not defined) on at least
1128 mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
1129 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
1131 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
1133 Sync from coreutils.
1134 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
1136 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
1138 Sync from coreutils.
1140 * backupfile.m4, calloc.m4, chown.m4, cloexec.m4, dup2.m4:
1141 * fileblocks.m4, free.m4, ftruncate.m4, getcwd.m4, getpagesize.m4:
1142 * getugroups.m4, group-member.m4, idcache.m4, link-follow.m4:
1143 * mkstemp.m4, mktime.m4, mountlist.m4, nanosleep.m4, pathmax.m4:
1144 * physmem.m4, posixver.m4, putenv.m4, safe-read.m4, same.m4:
1145 * save-cwd.m4, stdio-safer.m4, unistd-safer.m4, unlinkdir.m4:
1146 * userspec.m4, xgetcwd.m4, xreadlink.m4:
1147 Don't bother checking for string.h, stdlib.h, unistd.h.
1148 * fts.m4 (gl_FUNC_FTS_CORE): Don't require
1149 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
1151 * jm-macros.m4 (gl_MACROS): Likewise.
1152 * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
1154 * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
1155 (gl_GETDATE): Use it.
1157 * mkdir-p.m4 (gl_MKDIR_PARENTS): Don't bother checking for unistd.h.
1159 2005-09-22 Jim Meyering <jim@meyering.net>
1161 Sync from coreutils.
1163 * lstat.m4 (gl_FUNC_LSTAT):
1164 Use AC_LIBSOURCES to require lstat.c and lstat.h.
1165 Remove obsolete comment.
1166 * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
1167 * xstrtod.m4: Likewise.
1169 * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
1171 2005-09-19 Simon Josefsson <jas@extundo.com>
1173 * socklen.m4: Fix typo.
1175 2005-09-15 Paul Eggert <eggert@cs.ucla.edu>
1177 * st_mtim.m4: Remove. Superseded by...
1178 * stat-time.m4: New file.
1179 * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
1180 Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
1182 2005-09-15 Derek Price <derek@ximbiot.com>
1184 * strstr.m4 (gl_FUNC_STRSTR): Don't define strstr here.
1186 2005-09-12 Derek Price <derek@ximbiot.com>
1188 Make canon-host require getaddrinfo.
1189 * canon-host.m4 (gl_CANON_HOST): Remove most dependencies.
1190 AC_LIBSOURCE canon-host.h. Call...
1191 (gl_PREREQ_CANON_HOST): ...this new function, which requires
1193 * getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when needed.
1195 2005-09-12 Derek Price <derek@ximbiot.com>
1196 Paul Eggert <eggert@cs.ucla.edu>
1198 * m4/glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c,
1199 glob_.h, glob-libc.h.
1200 (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed.
1202 2005-08-31 Simon Josefsson <jas@extundo.com>
1204 * socklen.m4: New file.
1206 2005-09-03 Derek Price <derek@ximbiot.com>
1208 * getlogin_r (gl_GETLOGIN_R): Fix cut & paste error.
1209 From Larry Jones <lawrence.jones@ugs.com>.
1211 2005-08-27 Bruno Haible <bruno@clisp.org>
1213 Support for lib vs. lib64 distinction on biarch platforms.
1214 * lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): New macro.
1215 (AC_LIB_PREFIX): Require it. Use $acl_libdirstem instead of 'lib'.
1216 * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
1218 2005-09-01 Jim Meyering <jim@meyering.net>
1220 * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
1221 CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
1222 Require gl_STAT_MACROS, too.
1224 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
1226 * regex.m4 (gl_REGEX): Require AC_SYS_LARGEFILE, Define
1227 _REGEX_LARGE_OFFSETS). Test for regoff_t/off_t bug in 64-bit
1228 and large-file glibc and in 32-bit large-file Solaris.
1230 2005-08-28 Bruno Haible <bruno@clisp.org>
1232 * gnulib-tool.m4: New file.
1234 2005-08-27 Jim Meyering <jim@meyering.net>
1236 * stdlib-safer.m4: New file. From coreutils.
1237 * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h.
1238 * fcntl-safer.m4 (gl_FCNTL_SAFER): Add creat-safer.c to the
1239 AC_LIBSOURCES list and arrange to compile it via AC_LIBOBJ.
1240 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise, add pipe-safer.c.
1241 Add pipe-safer.c and unistd--.h to the AC_LIBSOURCES list.
1243 2005-08-24 Simon Josefsson <jas@extundo.com>
1245 * getpass.m4: Check for termios.h, tcgetattr, tcsetattr, and
1248 2005-08-25 Stepan Kasal <kasal@ucw.cz>
1250 * regex.m4: Add AC_PREREQ(2.50).
1251 (gl_REGEX): If --with-included-regex was given, skip the autodetection.
1253 2005-08-25 Bruno Haible <bruno@clisp.org>
1255 * minmax.m4: Require autoconf 2.52.
1256 (gl_MINMAX_IN_HEADER): Add comments. Use m4_pushdef/m4_popdef instead
1257 of define/undefine. Use AS_TR_SH and AS_TR_CPP as more robust
1258 alternatives of translit over the alphabet.
1259 Based on a patch from Stepan Kasal <kasal@ucw.cz>.
1261 2005-08-24 Paul Eggert <eggert@cs.ucla.edu>
1263 * regex.m4 (gl_REGEX): Use POSIX-compliant spellings when testing
1264 for GNU regex features.
1266 2005-08-24 Jim Meyering <jim@meyering.net>
1268 Sync from coreutils.
1269 * fcntl-safer.m4: New file.
1271 * xgetcwd.m4: Use AC_LIBSOURCES and AC_LIBOBJ to indicate source
1272 and object files for this module.
1274 2005-08-23 Paul Eggert <eggert@cs.ucla.edu>
1276 * regex.m4 (gl_INCLUDED_REGEX): Remove; no longer used.
1277 All contents moved to gl_REGEX.
1278 (gl_REGEX): Don't bother checking whether lib/regex.c exists;
1279 assume that it does.
1281 2005-08-20 Bruno Haible <bruno@clisp.org>
1283 * regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
1285 2005-08-17 Bruno Haible <bruno@clisp.org>
1287 * strcasestr.m4: New file.
1289 2005-08-17 Bruno Haible <bruno@clisp.org>
1291 * strstr.m4 (gl_FUNC_STRSTR): Use the replacement function always.
1292 (gl_PREREQ_STRSTR): Use gl_FUNC_MBRTOWC.
1294 2005-08-16 Paul Eggert <eggert@cs.ucla.edu>
1296 * getopt.m4 (gl_GETOPT_CHECK_HEADERS): Do not override the results
1297 of gl_GETOPT_SUBSTITUTE. That way, if both gl_GETOPT_SUBSTITUTE
1298 and gl_GETOPT are both invoked via different paths (as happens
1299 with GNU tar CVS because it uses both argp and getopt), the former
1302 2005-08-16 Bruno Haible <bruno@clisp.org>
1304 * strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function always.
1305 (gl_PREREQ_STRCASECMP): Use gl_FUNC_MBRTOWC.
1307 2005-08-16 Bruno Haible <bruno@clisp.org>
1309 * mbfile.m4: New file.
1311 2005-08-16 Bruno Haible <bruno@clisp.org>
1313 * mbiter.m4: New file.
1315 2005-08-16 Bruno Haible <bruno@clisp.org>
1317 * mbchar.m4: New file.
1319 2005-08-16 Bruno Haible <bruno@clisp.org>
1321 * tls.m4: New file, from GNU gettext.
1323 2005-08-12 Bruno Haible <bruno@clisp.org>
1325 * readline.m4 (gl_FUNC_READLINE): Look for ncurses first.
1327 2005-08-12 Simon Josefsson <jas@extundo.com>
1329 * readline.m4: Look for termcap, curses or ncurses if required.
1331 2005-08-11 Simon Josefsson <jas@extundo.com>
1333 * readline.m4: New file.
1335 2005-08-10 Simon Josefsson <jas@extundo.com>
1337 * strnlen.m4: New file.
1339 * strndup.m4: Don't check for strnlen declaration, done in
1342 2005-08-10 Stepan Kasal <kasal@ucw.cz>
1344 * onceonly_2_57.m4: Really require Autoconf 2.57.
1346 2005-08-02 Simon Josefsson <jas@extundo.com>
1348 * getline.m4: Separate out getdelim stuff into separate module.
1350 * getdelim.m4: New file.
1352 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1354 Add support to getopt for Emacs, which doesn't use LIBOBJS in the
1356 * getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER): New macro.
1357 (gl_GETOPT_SUBSTITUTE): Use it. Invoke gl_PREREQ_GETOPT.
1358 (gl_GETOPT_IFELSE, gl_GETOPT_CHECK_HEADERS): New macros.
1359 (gl_GETOPT): Use the new macros. Most of the implementation
1360 is moved to the new macros. This is for programs like Emacs
1361 that don't want all the functionality of gl_GETOPT.
1363 2005-07-26 Bruno Haible <bruno@clisp.org>
1365 * lock.m4: Update from GNU gettext.
1367 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1369 * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_IFELSE instead of the
1370 obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
1372 2005-07-24 Bruno Haible <bruno@clisp.org>
1374 * visibility.m4: New file.
1376 2005-07-18 Bruno Haible <bruno@clisp.org>
1378 * lock.m4: New file, from GNU gettext.
1380 2005-06-01 Bruno Haible <bruno@clisp.org>
1382 * poll.m4 (gl_FUNC_POLL): Check against MacOS X 10.4 poll() bug.
1383 When using lib/poll.c, define poll as rpl_poll.
1385 2005-07-14 Bruno Haible <bruno@clisp.org>
1387 * argp.m4 (gl_ARGP): Remove invocation of gl_FUNC_GLIBC_UNLOCKED_IO.
1388 Instead, test for *_unlocked function declarations directly.
1390 2005-07-14 Derek Price <derek@ximbiot.com>
1392 * glob.m4 (gl_GLOB): Cache glob interface check result. Add check for
1395 2005-07-10 Bruno Haible <bruno@clisp.org>
1397 * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t.
1398 Needed when size_t is smaller than 'unsigned int'.
1399 Reported by Paul Eggert.
1401 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1403 * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1404 * same.m4 (gl_SAME): Likewise.
1405 Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1407 * regex.m4: Adjust to new libc regex implementation.
1408 (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
1409 all the .c and .h parts of (the new) regex.
1410 Quote the m4 stuff better.
1411 Check for RE_ICASE bug of old gnulib.
1412 Check for REG_STARTEND of recent libc.
1413 Rename local variables from jm_* to gl_*.
1414 Quote operand of "test -f".
1415 Say "recent enough" version of libc, not "version 2".
1416 (gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a
1417 prerequisite module. Remove AC_HEADER_STDC; no longer needed.
1418 Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll.
1419 Remove check for btowc, isascii.
1420 Require AM_LANGINFO_CODESET.
1422 2005-07-05 Bruno Haible <bruno@clisp.org>
1424 * mbrtowc.m4 (gl_FUNC_MBRTOWC): Upgrade to version from current
1425 autoconf CVS. Needed for mingw.
1427 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1429 Remove the dependency of the strftime module on the tzset module.
1430 * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1432 2005-07-02 Jim Meyering <jim@meyering.net>
1434 * chown.m4, cloexec.m4, dup2.m4, fsusage.m4:
1435 * getcwd-path-max.m4, getcwd.m4, mkstemp.m4, mountlist.m4:
1436 * pagealign_alloc.m4, save-cwd.m4, unistd-safer.m4:
1437 Don't check for fcntl.h, and don't test for HAVE_FCNTL_H.
1439 2005-06-28 Simon Josefsson <jas@extundo.com>
1441 * check-version.m4: New file, suggested by Jim Meyering
1444 2005-06-24 Derek Price <derek@ximbiot.com>
1445 and Bruno Haible <bruno@clisp.org>
1447 Remove stat module & update lstat.
1448 * lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
1449 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1450 * stat.m4: Remove this file.
1452 2005-06-20 Derek Price <derek@ximbiot.com>
1454 * bison.m4: Note that precious decls of YACC & YFLAGS will be
1455 unnecessary for Autoconfs > 2.59c.
1457 2005-06-16 Derek Price <derek@ximbiot.com>
1459 * bison.m4: Declare YACC & YFLAGS precious.
1461 2005-06-08 Bruno Haible <bruno@clisp.org>
1463 * csharpcomp.m4: New file, from GNU gettext.
1465 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1467 Sync from coreutils.
1468 * mkdir-p.m4: Renamed from makepath.m4.
1469 (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed.
1470 Rename files from makepath.c to mkdir-p.c, and from
1471 makepath.h to mkdir-p.h.
1472 * filenamecat.m4: Renamed from path-concat.m4.
1473 (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed.
1474 Rename files from path-concat.c to filenamecat.c,
1475 and from path-concat.h to filenamecat.h.
1476 * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1477 "file name" in local variables or comments.
1478 * rename.m4: Likewise.
1480 2005-06-01 Bruno Haible <bruno@clisp.org>
1482 * csharp.m4: New file, from GNU gettext.
1483 * csharpexec.m4: New file, from GNU gettext.
1485 2005-05-31 Derek Price <derek@ximbiot.com>
1486 Paul Eggert <eggert@cs.ucla.edu>
1489 * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
1491 2005-05-29 Derek Price <derek@ximbiot.com>
1492 Paul Eggert <eggert@cs.ucla.edu>
1494 * glob.m4: New file.
1496 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1498 * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1499 and don't require gt_INTTYPES_PRI.
1501 2005-05-26 Paul Eggert <eggert@cs.ucla.edu>
1503 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Define
1504 _POSIX_PTHREAD_SEMANTICS for Solaris.
1506 2005-05-25 Derek Price <derek@ximbiot.com>
1507 Paul Eggert <eggert@cs.ucla.edu>
1509 * getlogin_r.m4: New files.
1511 2005-05-22 Bruno Haible <bruno@clisp.org>
1513 * minmax.m4: New file.
1514 Based on a patch by Derek Price <derek@ximbiot.com>.
1516 2005-05-20 Paul Eggert <eggert@cs.ucla.edu>
1518 * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1519 (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1521 2005-05-20 Eric Blake <ebb9@byu.net> (tiny change)
1523 * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1526 2005-05-18 Paul Eggert <eggert@cs.ucla.edu>
1528 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1529 Don't check for stddef.h.
1530 * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1531 don't use its results.
1532 Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1533 since we include them unconditionally. Don't require
1534 AM_STDBOOL_H, since stdbool is a prerequisite.
1535 Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1536 since we assume C89 or better.
1537 Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1538 as we don't use their results.
1539 Don't check for fchdir, memmove, memset, strrchr, as we use
1540 them unconditionally.
1541 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1542 GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1544 2005-05-18 Jim Meyering <jim@meyering.net>
1546 * fts.m4 (AC_LIBSOURCES): Add intprops.h to the list.
1547 Reported by Yoann Vandoorselaere.
1549 2005-05-17 Jim Meyering <jim@meyering.net>
1551 * fts.m4: New file, from coreutils.
1553 2005-05-14 Paul Eggert <eggert@cs.ucla.edu>
1555 Sync from coreutils.
1556 * unlinkdir.m4: New file.
1558 2005-05-10 Derek Price <derek@ximbiot.com>
1560 * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1563 2005-05-10 Simon Josefsson <jas@extundo.com>
1565 * getaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
1566 Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
1568 2005-05-09 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
1569 Bruno Haible <bruno@clisp.org>
1571 * inet_ntop.m4: New file.
1573 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1575 * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1578 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1580 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1581 * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1582 (gl_PREREQ_CHOWN): Remove.
1583 * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1584 it. Don't require AC_HEADER_STAT.
1585 (gl_PREREQ_LSTAT): Remove.
1586 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1587 Don't require AC_HEADER_STAT.
1588 * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1589 (gl_PREREQ_RMDIR): Remove.
1590 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1591 mention stat-macros.h or AC_HEADER_STAT, since we'll make
1592 the stat-macros module a prerequisite.
1593 * file-type.m4 (gl_FILE_TYPE): Likewise.
1594 * filemode.m4 (gl_FILEMODE): Likewise.
1595 * makepath.m4 (gl_MAKEPATH): Likewise.
1596 * modechange.m4 (gl_MODECHANGE): Likewise.
1597 * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1599 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1600 fetish_FUNC_RMDIR_NOTEMPTY. All uses changed. Use gl_ for
1602 * fcntl-safer.m4: Remove.
1603 * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1604 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1605 Invoke gl_PREREQ_FD_SAFER.
1606 (gl_PREREQ_FD_SAFER): New macro.
1607 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Check for siginterrupt.
1608 * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1609 Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1610 Remove duplicate call to AC_LIBOBJ(readutmp).
1611 (gl_PREREQ_READUTMP): Remove. All uses inlined.
1613 * mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check for message, not for
1614 MAP_ANON. Problem reported by Moriyoshi Koizumi to bug-cvs.
1616 2005-05-01 Oskar Liljeblad <oskar@osk.mine.nu>
1618 * byteswap.m4: New file.
1622 * gettext.m4: Update from GNU gettext 0.14.4.
1624 2005-04-15 Simon Josefsson <jas@extundo.com>
1626 * getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
1628 2005-03-28 Eric Blake <ebb9@byu.net> (tiny change)
1630 * getcwd-path-max.m4: Return success on systems such as Cygwin
1631 where no absolute path name can be longer than PATH_MAX.
1633 2005-03-22 Jim Meyering <jim@meyering.net>
1635 * stat-macros.m4 (gl_STAT_MACROS): New file/macro.
1637 2005-03-21 Jim Meyering <jim@meyering.net>
1638 and Paul Eggert <eggert@cs.ucla.edu>
1640 * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4,
1641 cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4,
1642 exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4,
1643 getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4,
1644 getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4,
1645 idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4,
1646 memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4,
1647 path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4,
1648 quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4,
1649 safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4,
1650 strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4,
1651 unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4,
1652 xnanosleep.m4, xstrtol.m4, yesno.m4:
1653 Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files
1656 2005-03-21 Jim Meyering <jim@meyering.net>
1658 * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Invoke gl_FUNC_MEMRCHR.
1659 * memrchr.m4 (gl_FUNC_MEMRCHR): Check for memrchr decl.
1661 2005-03-16 Bruno Haible <bruno@clisp.org>
1663 * stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
1664 HAVE_LONGLONG_64BIT.
1666 2005-03-14 Bruno Haible <bruno@clisp.org>
1668 * lib-link.m4, gettext.m4, nls.m4, po.m4:
1669 Update from GNU gettext 0.14.3.
1671 2005-03-10 Jim Meyering <jim@meyering.net>
1673 * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1675 2005-03-07 Bruno Haible <bruno@clisp.org>
1677 * mmap-anon.m4 (MAP_FILE, MAP_FAILED): Remove definitions.
1679 2005-03-03 Bruno Haible <bruno@clisp.org>
1681 * inttypes.m4, isc-posix.m4, once-only.m4:
1682 Use an all-permissive copyright notice, recommended by RMS.
1684 2005-03-03 Derek R. Price <derek@ximbiot.com>
1686 * mmap-anon.m4: New file.
1687 * pagealign_alloc.m4: New file.
1689 2005-01-28 Bruno Haible <bruno@clisp.org>
1691 * stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because of
1692 AIX, the replacement has to be done only after <string.h> is included,
1693 therefore not in config.h. stpncpy.h does the replacement, and
1696 2005-03-01 Paul Eggert <eggert@cs.ucla.edu>
1698 * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1699 to detect nanosleep bug.
1701 2005-02-25 Paul Eggert <eggert@cs.ucla.edu>
1703 * gethrxtime.m4, xnanosleep.m4: New files.
1704 * gettime.m4 (gl_GETTIME): Check for nanotime.
1706 2005-02-24 Bruno Haible <bruno@clisp.org>
1708 * gettext.m4, intdiv0.m4, intmax.m4, inttypes-pri.m4, lcmessage.m4:
1709 * lib-link.m4, lib-prefix.m4, nls.m4, po.m4, printf-posix.m4:
1711 Update from GNU gettext 0.14.2.
1712 * glibc2.m4: New file, from GNU gettext 0.14.2.
1714 2005-02-22 Simon Josefsson <jas@extundo.com>
1716 * iconvme.m4: New file.
1718 2005-02-23 Jim Meyering <jim@meyering.net>
1720 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
1721 Thanks to Bruno Haible for catching it.
1723 2005-02-22 Jim Meyering <jim@meyering.net>
1725 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
1727 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1729 * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
1731 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
1733 Sync from coreutils.
1734 * getloadavg.m4, glibc.m4, search-libs.m4: Remove.
1736 Remove files that are specific to coreutils.
1737 * check-decl.m4, jm-macros.m4, lib-check.m4, prereq.m4: Remove.
1739 2005-01-28 Bruno Haible <bruno@clisp.org>
1741 * javacomp.m4: New file, from GNU gettext.
1743 2005-01-26 Bruno Haible <bruno@clisp.org>
1745 * javaexec.m4: New file, from GNU gettext.
1747 2005-01-24 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1749 * sysexits.m4 (gl_SYSEXITS): Reverted logic. SYSEXITS_H
1750 must be defined if the header file was not found, in order
1751 to provide a replacement. Reported by Todd Vierling <tv@duh.org>
1753 2005-01-23 Paul Eggert <eggert@cs.ucla.edu>
1755 * acl.m4, afs.m4, alloca.m4, argp.m4, assert.m4, atexit.m4,
1756 backupfile.m4, base64.m4, bison.m4, c-bs-a.m4, c-stack.m4,
1757 c-strtod.m4, calloc.m4, canon-host.m4, canonicalize.m4,
1758 clock_time.m4, cloexec.m4, closeout.m4, d-ino.m4, d-type.m4,
1759 dirfd.m4, dirname.m4, dos.m4, dup2.m4, error.m4, euidaccess.m4,
1760 exclude.m4, exitfail.m4, extensions.m4, fcntl-safer.m4,
1761 file-type.m4, fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4,
1762 free.m4, fstypename.m4, fsusage.m4, ftruncate.m4, getaddrinfo.m4,
1763 getcwd-path-max.m4, getcwd.m4, getdate.m4, getdomainname.m4,
1764 getgroups.m4, gethostname.m4, getline.m4, getndelim2.m4,
1765 getnline.m4, getopt.m4, getpagesize.m4, getpass.m4, getsubopt.m4,
1766 gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4,
1767 group-member.m4, hard-locale.m4, hash.m4, host-os.m4, human.m4,
1768 idcache.m4, inttostr.m4, isdir.m4, jm-winsz1.m4, jm-winsz2.m4,
1769 link-follow.m4, long-options.m4, ls-mntd-fs.m4, lstat.m4,
1770 makepath.m4, mathl.m4, md5.m4, memcasecmp.m4, memchr.m4,
1771 memcmp.m4, memcoll.m4, memcpy.m4, memmem.m4, memmove.m4,
1772 memrchr.m4, memset.m4, mkdir-slash.m4, mkstemp.m4, mktime.m4,
1773 modechange.m4, mountlist.m4, nanosleep.m4, obstack.m4,
1774 path-concat.m4, pathmax.m4, perl.m4, physmem.m4, poll.m4,
1775 posixtm.m4, posixver.m4, putenv.m4, quote.m4, quotearg.m4,
1776 readdir.m4, readtokens.m4, readutmp.m4, regex.m4, rename.m4,
1777 restrict.m4, rmdir-errno.m4, rmdir.m4, rpmatch.m4, same.m4,
1778 savedir.m4, settime.m4, sha1.m4, sig2str.m4, snprintf.m4,
1779 sockpfaf.m4, st_dm_mode.m4, st_mtim.m4, stat.m4, stdint.m4,
1780 stdio-safer.m4, strchrnul.m4, strdup.m4, strerror.m4,
1781 strerror_r.m4, strftime.m4, strndup.m4, strnlen.m4, strsep.m4,
1782 strtod.m4, strtoimax.m4, strtok_r.m4, strtol.m4, strtoll.m4,
1783 strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4, sysexits.m4,
1784 time_r.m4, timegm.m4, timespec.m4, tm_gmtoff.m4, tzset.m4,
1785 uint32_t.m4, uintptr_t.m4, unistd-safer.m4, unlink-busy.m4,
1786 unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4, utime.m4,
1787 utimecmp.m4, utimens.m4, utimes-null.m4, vsnprintf.m4, xalloc.m4,
1788 xgetcwd.m4, xreadlink.m4, xstrndup.m4, xstrtod.m4, xstrtoimax.m4,
1789 xstrtol.m4, xstrtoumax.m4, yesno.m4:
1790 Use an all-permissive copyright notice, recommended by RMS.
1792 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
1794 * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
1796 2005-01-18 Paul Eggert <eggert@cs.ucla.edu>
1798 Merge from coreutils.
1799 * ullong_max.m4: New file.
1800 * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
1801 (gl_MACROS): Assume localeconv exists.
1803 2005-01-18 Jim Meyering <jim@meyering.net>
1805 Merge from coreutils.
1806 * chdir-long.m4, openat.m4: New files.
1807 * save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c,
1808 save-cwd.h. Add AC_LIBOBJ for save-cwd.
1809 * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
1810 is sane and DOES follow symlinks. Besides, testing 20 different
1811 systems found no broken chown implementations.
1812 Prompted by a change in rsync's copy of this macro.
1813 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR_LONG.
1815 * lchown.m4 (gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
1817 * utimes.m4: Work around tests/touch/empty-file failure on a system
1818 (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
1819 NULL-means-set-to-current-time semantics.
1820 Remove temporary file immediately, rather than waiting
1821 for configure's at-exit trap code to do it.
1823 2005-01-18 Bruno Haible <bruno@clisp.org>
1825 * allocsa.m4, codeset.m4, copy-file.m4, eaccess.m4, eealloc.m4:
1826 * eoverflow.m4, execute.m4, fatal-signal.m4, findprog.m4, glibc21.m4:
1827 * iconv.m4, intmax_t.m4, inttypes_h.m4, lib-ld.m4, lib-link.m4:
1828 * lib-prefix.m4, linebreak.m4, localcharset.m4, longdouble.m4:
1829 * longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mkdtemp.m4:
1830 * pipe.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4:
1831 * sig_atomic_t.m4, signalblocking.m4, signed.m4, size_max.m4:
1832 * ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4, stpncpy.m4:
1833 * strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, ucs4-utf.m4:
1834 * uintmax_t.m4, ulonglong.m4, unicodeio.m4, utf-ucs4.m4, vasnprintf.m4:
1835 * vasprintf.m4, wait-process.m4, wchar_t.m4, wint_t.m4, xsize.m4:
1836 Use an all-permissive copyright notice, recommended by RMS.
1838 2005-01-06 Bruno Haible <bruno@clisp.org>
1840 * stpncpy.m4 (gl_FUNC_STPNCPY): Rename stpncpy to gnu_stpncpy here.
1842 2005-01-04 Jim Meyering <jim@meyering.net>
1844 Changes imported from coreutils.
1845 * mkstemp.m4 (gl_FUNC_MKSTEMP): Rather than using "conftestXXXXXX"
1846 as the mkstemp template, use a temporary directory and an
1847 8.3-friendly template to avoid trouble on systems like DJGPP.
1848 Reported by Juan M. Guerrero via Stepan Kasal.
1849 * (gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of close.
1850 Remove the temporary directory right away, rather than waiting
1851 for configure's at-exit trap code to do it.
1852 Suggestion from Stepan Kasal.
1854 2004-12-24 Paul Eggert <eggert@cs.ucla.edu>
1856 * c-strtod.m4 (gl_C99_STRTOLD): New macro.
1857 (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
1859 2004-12-23 Paul Eggert <eggert@cs.ucla.edu>
1861 * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
1863 2004-12-18 Bruno Haible <bruno@clisp.org>
1865 * fatal-signal.m4 (gl_FATAL_SIGNAL): Also test for sigaction.
1867 2004-12-07 Paul Eggert <eggert@cs.ucla.edu>
1869 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
1870 spurious "-l"s. Problem reported by Stepan Kasal.
1872 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1874 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
1875 in Autoconf 2.59. Problem reported by Mark D. Baushke.
1877 2004-12-04 Paul Eggert <eggert@cs.ucla.edu>
1879 Changes imported from coreutils.
1880 * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
1882 * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
1884 2004-11-30 Paul Eggert <eggert@cs.ucla.edu>
1886 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1887 Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
1889 * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
1891 2004-11-30 Simon Josefsson <jas@extundo.com>
1893 * base64.m4: New file.
1895 2004-11-30 Simon Josefsson <jas@extundo.com>
1897 * restrict.m4: Add copyright and copying conditions.
1899 2004-11-25 Paul Eggert <eggert@cs.ucla.edu>
1901 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
1902 GL_FUNC_GETCWD_PATH_MAX for consistency. All uses changed.
1903 Use the _ONCE methods, for efficiency.
1904 Check for fcntl.h. In test program, include <errno.h>
1905 and <fcntl.h> if available. Remove old K&R cruft from
1906 test program. Check for common errors in GNU/Linux,
1907 OpenBSD, and Solaris. Just set gl_cv_func_getcwd_path_max;
1908 don't do AC_LIBOBJ, as that's getcwd.m4's job.
1909 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
1910 AC_FUNC_GETCWD_NULL. All used changed. Change cache variable
1912 (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros. Revamp to
1913 accommodate new getcwd.c.
1914 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
1915 * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
1916 * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
1917 that's all we need now.
1919 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1921 * utimens.m4 (gl_UTIMENS): Check for futimes function.
1923 2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1925 * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
1926 argp-parse.c depends on getopt internals, that means we should
1927 always use our getopt, to be on the safe side.
1928 * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
1929 order not to spoil the result of an eventual previous invocation
1930 of gl_GETOPT_SUBSTITUTE.
1932 2004-11-17 Paul Eggert <eggert@cs.ucla.edu>
1934 * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
1935 that mishandle size_t overflow.
1937 2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
1939 * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
1941 2004-11-13 Jim Meyering <jim@meyering.net>
1943 * jm-macros.m4: Do require gl_FUNC_FPENDING.
1945 2004-11-11 Paul Eggert <eggert@cs.ucla.edu>
1947 * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead
1948 of replacing opterr, getopt, etc. This should handle the
1949 powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson.
1951 2004-11-11 Simon Josefsson <jas@extundo.com>
1953 * strtok_r.m4: New file.
1955 * getopt.m4: Replace opterr.
1957 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
1959 * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
1961 2004-11-10 Jim Meyering <jim@meyering.net>
1963 * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING.
1965 2004-11-08 Simon Josefsson <jas@extundo.com>
1967 * getaddrinfo.m4: New file.
1969 2004-11-09 Paul Eggert <eggert@cs.ucla.edu>
1971 * strftime.m4 (_gl_STRFTIME_PREREQS): Remove. Move its body to
1973 (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE
1974 and AC_REQUIRE when possible, to avoid duplicate checks.
1975 Check for <wchar.h>.
1977 2004-11-09 Bruno Haible <bruno@clisp.org>
1979 * sockpfaf.m4: New file.
1981 2004-11-03 Albert Chin <china@thewrittenword.com>
1982 Paul Eggert <eggert@cs.ucla.edu>
1984 * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
1985 equivalent, substitute $ac_type for equivalent type rather than
1986 blindly using uint32_t *always* which won't work if uint32_t is not
1987 available. Define _UINT32_T to work around typedef of uint32_t if
1988 <sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
1991 2004-11-02 Paul Eggert <eggert@cs.ucla.edu>
1993 * jm-macros.m4: Sync from coreutils.
1994 (gl_MACROS): Check for mbrlen, for pathchk.
1995 (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
1997 2004-11-02 Bruno Haible <bruno@clisp.org>
1999 * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv()
2002 2004-11-01 Paul Eggert <eggert@cs.ucla.edu>
2004 * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
2005 fflush_unlocked, flockfile, funlockfile, funlockfile,
2006 fputs_unlocked, putc_unlocked.
2008 2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
2010 * getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
2012 2004-10-15 Paul Eggert <eggert@cs.ucla.edu>
2014 * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
2015 implementation of getopt_long. Problem reported by Alexander Taler in:
2016 http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
2018 2004-10-11 Yoann Vandoorselaere <yoann@prelude-ids.org>
2020 * vsnprintf.m4: New file.
2022 2004-10-05 Bruno Haible <bruno@clisp.org>
2024 * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check
2025 for the declaration of strsep.
2027 2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
2029 * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove. All uses removed.
2031 * unlocked-io.m4: Add copyright notice.
2032 (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
2034 2004-10-04 Simon Josefsson <jas@extundo.com>
2036 * memmem.m4: New file.
2038 2004-10-01 Yoann Vandoorselaere <yoann@prelude-ids.org>
2040 * strsep.m4: New file.
2042 2004-09-30 Simon Josefsson <jas@extundo.com>
2044 * snprintf.m4: New file.
2046 2004-09-09 Bruno Haible <bruno@clisp.org>
2048 * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with
2050 * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
2052 2004-09-08 Bruno Haible <bruno@clisp.org>
2054 * stdint.m4: New file, taken from GNU clisp with modifications.
2056 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
2058 * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA.
2060 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
2062 * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody
2063 uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
2064 Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
2065 Check for program_invocation_name, program_invocation_short_name,
2066 flockfile, funlockfile, features.h, _getopt_long_only_r.
2068 2004-08-12 Simon Josefsson <jas@extundo.com>
2070 * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
2071 as discussed with Paul Eggert in threads rooted at
2072 <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
2074 <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
2075 Before, the test was empty, and relied on ELIDE_CODE in source
2077 (gl_PREREQ_GETOPT): New macro.
2078 (gl_GETOPT): Use them.
2080 2004-08-11 Paul Eggert <eggert@cs.ucla.edu>
2082 Merge from coreutils.
2084 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
2086 * obstack.m4 (gl_PREREQ_OBSTACK): Require
2087 gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
2089 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
2091 * uint32_t.m4, uintptr_t.m4: New files.
2092 * sha1.m4: Renamed from sha.m4.
2093 (gl_SHA1): Renamed from gl_SHA. All uses changed.
2095 2004-08-08 Simon Josefsson <jas@extundo.com>
2097 * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
2098 Check getpass declaration.
2100 2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
2102 More merge from coreutils.
2104 * utimens.m4, utimecmp.m4: New files.
2105 * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
2106 fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
2107 prereq.m4, sha.m4: Import changes from coreutils.
2109 2004-08-05 Paul Eggert <eggert@cs.ucla.edu>
2111 Merge from coreutils.
2113 * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
2116 * dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
2117 FILESYSTEM_PREFIX_LEN ->
2118 FILE_SYSTEM_PREFIX_LEN.
2119 FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX ->
2120 FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.
2121 FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR ->
2122 FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
2124 * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
2125 prerequisite modules now handle the DOS stuff.
2126 Don't check for unistd.h.
2128 2004-08-03 Simon Josefsson <jas@extundo.com>
2130 * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it.
2132 2004-08-02 Simon Josefsson <jas@extundo.com>
2134 * getsubopt.m4: New file.
2136 2004-08-03 Paul Eggert <eggert@cs.ucla.edu>
2138 * fatal.m4: Remove, as the "fatal" module wasn't used or working.
2140 2004-07-13 Robert Millan <robertmh@gnu.org>
2142 * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
2144 2004-06-22 Paul Eggert <eggert@cs.ucla.edu>
2146 * argz.m4: New file, which is autoupdated from libtool.
2148 2004-06-01 Jim Meyering <jim@meyering.net>
2150 * calloc.m4: New file.
2152 2004-06-01 Paul Eggert <eggert@cs.ucla.edu>
2154 Merge from coreutils CVS.
2156 * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4,
2157 makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4,
2158 putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4,
2159 strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4,
2160 xstrtol.m4: Fix copyright date and/or serial number.
2162 * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
2163 See if we need an fchown replacement.
2164 (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
2165 (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
2166 and use the replacement function if we detect either defect.
2168 * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR,
2171 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
2173 * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI
2174 C B3910B A.05.55 [Dec 04 2003]. Problem reported by Jim Meyering.
2175 Also, fix a typo in a diagnostic.
2177 2004-05-30 Paul Eggert <eggert@cs.ucla.edu>
2179 * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC
2182 2004-05-20 Andreas Schwab <schwab@suse.de>
2184 * free.m4: Replace free if it not known to work, not the other
2187 2004-05-17 Derek R. Price <derek@ximbiot.com>
2188 Paul Eggert <eggert@cs.ucla.edu>
2190 * argp: Depend on alloca.
2192 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
2194 * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
2195 for backward compatibility with older code. We need our own
2196 alloca.h if _AIX is defined. Define HAVE_ALLOCA if we discover
2197 it under some other name, and our alloca.h will define it.
2199 2004-05-13 Paul Eggert <eggert@cs.ucla.edu>
2201 * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC.
2202 Check for gettimeofday.
2203 * settime.m4 (gl_SETTIME): Require gl_TIMESPEC.
2204 Check for settimeofday, stime.
2206 2004-04-20 Paul Eggert <eggert@twinsun.com>
2208 * host-os.m4: Add a copyright notice.
2210 2004-04-20 Jim Meyering <jim@meyering.net>
2212 Change UTILS_ to gl_ in AC_DEFINE'd names.
2213 Change utils_- and jm_-prefixed variables, too.
2214 * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
2215 UTILS_FUNC_MKDIR_TRAILING_SLASH.
2216 * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
2218 * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
2219 Don't emit trailing blanks.
2220 Also rename jm_-prefixed variables to have gl_ prefix.
2222 * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS.
2223 Also rename jm_-prefixed variables to have gl_ prefix.
2225 * jm-macros.m4: Reflect the renamings.
2226 * prereq.m4: Likewise.
2228 2004-04-19 Jim Meyering <jim@meyering.net>
2230 * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
2231 now that readutmp.c may call `free (0)'.
2233 2004-04-19 Bruno Haible <bruno@clisp.org>
2235 * mbrtowc.m4: Change jm_ to gl_ in cache variables as well.
2236 * inttypes_h.m4: Likewise.
2237 * stdint_h.m4: Likewise.
2238 * intmax_t.m4: Likewise.
2239 * uintmax_t.m4: Likewise.
2241 2004-04-18 Jim Meyering <jim@meyering.net>
2243 * prereq.m4: Don't forbid jm_ prefix.
2245 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
2246 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4:
2247 * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4:
2248 * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4:
2249 * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4:
2250 * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4:
2251 * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
2252 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
2253 * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4:
2254 * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4:
2255 * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4:
2256 * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4:
2257 * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4:
2258 * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4:
2259 * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
2260 Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
2262 2004-04-16 Jim Meyering <jim@meyering.net>
2264 * prereq.m4 (jm_PREREQ_STAT): Remove macro. It is specific to
2265 coreutils' stat program.
2266 (gl_PREREQ): Don't require jm_PREREQ_STAT.
2268 2004-03-31 Jim Meyering <jim@meyering.net>
2270 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
2271 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2272 * xalloc.m4: Likewise.
2274 2004-03-30 Jim Meyering <jim@meyering.net>
2276 * realloc.m4: Remove file, since now it does no more than
2277 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
2278 the `configure.ac' section of module/realloc.
2279 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
2281 2004-03-30 Paul Eggert <eggert@twinsun.com>
2283 Merge from coreutils.
2285 * inttostr.m4: New file.
2286 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
2287 Require AM_STDBOOL_H and gl_TIMESPEC instead.
2288 Require gl_CLOCK_TIME.
2289 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
2291 2004-03-30 Jim Meyering <jim@meyering.net>
2293 Merge from coreutils.
2295 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
2296 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
2297 on some systems one must include <grp.h> before it.
2298 Reported by Christian Krackowizer.
2300 2004-03-29 Paul Eggert <eggert@twinsun.com>
2302 * cloexec.m4: New file.
2304 2004-03-18 Paul Eggert <eggert@twinsun.com>
2305 Bruno Haible <bruno@clisp.org>
2307 * mbswidth.m4 (gl_MBSWIDTH): Also test whether <wchar.h> declares
2310 2004-03-07 Paul Eggert <eggert@twinsun.com>
2312 * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
2313 All uses changed. Check for sa_sigaction member; this fixes
2314 a bug first reported by Jason Andrade in
2315 <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
2317 2004-01-18 Simon Josefsson <jas@extundo.com>
2319 * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared.
2321 2004-02-18 Bruno Haible <bruno@clisp.org>
2323 * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
2324 Reported by Derek Robert Price <derek@ximbiot.com>.
2326 2004-02-06 Karl Berry <karl@gnu.org>
2328 * po.m4: update from gettext 0.14.1.
2330 2004-02-03 Bruno Haible <bruno@clisp.org>
2332 * pipe.m4: New file, from GNU gettext.
2334 2004-01-27 Bruno Haible <bruno@clisp.org>
2336 * execute.m4: New file, from GNU gettext.
2338 2003-11-24 Bruno Haible <bruno@clisp.org>
2340 * allocsa.m4: New file, from GNU gettext.
2342 2003-11-24 Bruno Haible <bruno@clisp.org>
2344 * eealloc.m4: New file, from GNU gettext.
2346 2004-01-15 Paul Eggert <eggert@twinsun.com>
2348 Merge from coreutils.
2350 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
2351 * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
2352 (gl_DEFAULT_POSIX2_VERSION): Move
2353 the documentation from 'configure' into 'config.hin',
2354 so that 'configure --help' isn't burdened by it and
2355 we don't have to worry about its formatting there.
2356 Reword the documentation so that it's more succinct
2357 and can be run together into a single paragraph.
2358 * same.m4 (gl_SAME): Check for pathconf.
2360 2004-01-15 Jim Meyering <jim@meyering.net>
2362 Merge from coreutils.
2364 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2365 if no library is required.
2366 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2367 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2368 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2369 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2370 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2371 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2372 value, $ac_cv_search_crypt, if it's "none required".
2373 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2374 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2375 not gl_FUNC_GETLOADAVG.
2376 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2377 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2379 2004-01-15 Alexandre Duret-Lutz <adl@gnu.org>
2381 Merge from coreutils.
2383 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2384 value, $ac_cv_search_nanosleep, if it's "none required".
2386 2003-12-03 Bruno Haible <bruno@clisp.org>
2388 * gettext.m4: Upgrade from gettext-0.13.
2389 * po.m4: Upgrade from gettext-0.13.
2390 * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
2391 * intmax.m4: New file, from gettext-0.13.
2392 * printf-posix.m4: New file, from gettext-0.13.
2394 2003-11-25 Bruno Haible <bruno@clisp.org>
2396 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require
2399 2003-11-17 Bruno Haible <bruno@clisp.org>
2401 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T.
2403 2003-11-12 Paul Eggert <eggert@twinsun.com>
2405 * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or
2408 2003-11-11 Bruno Haible <bruno@clisp.org>
2410 * size_max.m4: New file.
2411 * ptrdiff_max.m4: New file.
2412 * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
2413 * xalloc.m4 (gl_PREREQ_XALLOC): New macro.
2414 (gl_XALLOC): Invoke it.
2416 2003-11-04 Bruno Haible <bruno@clisp.org>
2418 * xsize.m4: New file.
2420 2003-11-03 Bruno Haible <bruno@clisp.org>
2422 * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid.
2424 2003-10-30 Paul Eggert <eggert@cs.ucla.edu>
2426 * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to
2427 netbsd*-gnu*. Suggested by Robert Millan.
2429 2003-10-29 Paul Eggert <eggert@twinsun.com>
2431 * xalloc.m4 (gl_XALLOC): Undo previous change.
2433 2003-10-29 Paul Eggert <eggert@twinsun.com>
2435 * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu. Add comments
2436 to it, and to knetbsd*-gnu and kfreebsd*-gnu. Remove the '*' from
2437 after the 'gnu' in these cases. This fixes some bugs in the
2438 previous change, and is based on suggestions by Robert Millan.
2440 2003-10-28 Paul Eggert <eggert@twinsun.com>
2442 * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and
2443 GNU/KNetBSD. These implementations use glibc atop the FreeBSD and
2444 NetBSD kernels. Requested by Richard Stallman.
2446 2003-10-26 Paul Eggert <eggert@twinsun.com>
2448 * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
2451 2003-10-23 Paul Eggert <eggert@twinsun.com>
2453 * getline.m4 (AM_FUNC_GETLINE):
2454 Don't include getndelim2.o twice into LIBOBJS; this breaks on some
2455 hosts. Problem reported by Derek Robert Price in
2456 <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
2457 This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
2458 * getndelim2.m4 (gl_GETNDELIM2): Likewise.
2460 2003-10-20 Bruno Haible <bruno@clisp.org>
2462 * wait-process.m4: New file.
2464 2003-10-14 Bruno Haible <bruno@clisp.org>
2466 * sig_atomic_t: New file, from GNU gettext.
2467 * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T.
2469 2003-10-12 Paul Eggert <eggert@twinsun.com>
2471 * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE.
2473 2003-10-10 Simon Josefsson <jas@extundo.com>
2475 * argp.m4: Add AC_C_INLINE.
2477 2003-10-08 Paul Eggert <eggert@twinsun.com>
2479 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2481 2003-10-06 Bruno Haible <bruno@clisp.org>
2483 * fatal-signal.m4: New file.
2484 * signalblocking.m4: New file, from GNU gettext.
2486 2003-09-27 Paul Eggert <eggert@twinsun.com>
2488 * free.m4: New file.
2490 2003-09-26 Bruno Haible <bruno@clisp.org>
2492 * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
2493 Don't define stpncpy through config.h; it's now done through stpncpy.h.
2495 2003-09-25 Simon Josefsson <jas@extundo.com>
2496 Bruno Haible <bruno@clisp.org>
2498 * getdomainname.m4: New file.
2500 2003-09-17 Paul Eggert <eggert@twinsun.com>
2502 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2503 to avoid spurious warnings like "AC_RUN_IFELSE was called before
2504 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2506 2003-09-12 Paul Eggert <eggert@twinsun.com>
2508 * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it.
2510 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2511 and AC_MINIX, too, so that their extensions are available.
2513 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
2514 This macro has been superseded by gl_BACKUPFILE.
2516 More patches to assume C89 or better.
2518 * error.m4 (gl_ERROR): Don't check for vprintf.
2520 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2522 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2523 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2524 Include <string.h>, <stdlib.h> unconditionally.
2525 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2526 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2527 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2529 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h
2532 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2533 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2534 * userspec.m4 (gl_USERSPEC): Likewise.
2535 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2536 * xstrtod.m4 (gl_XSTRTOD): Likewise.
2537 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2538 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2540 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2541 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2542 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2543 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2544 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2545 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2548 2003-09-11 Paul Eggert <eggert@twinsun.com>
2550 More patches to assume C89 or better.
2551 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2552 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2553 string.h, memchr, STDC_HEADERS.
2555 2003-09-10 Bruno Haible <bruno@clisp.org>
2557 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2558 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2559 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2560 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2561 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove
2562 <stdlib.h> and <string.h> checks.
2563 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2564 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2566 2003-09-09 Paul Eggert <eggert@twinsun.com>
2568 More patches to assume C89 or better.
2569 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2570 * getopt.m4 (gl_GETOPT): Don't check for string.h.
2571 * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
2573 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2574 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2576 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2578 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2579 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2580 * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
2582 * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
2583 * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
2585 * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
2587 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2588 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2589 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2590 * memcoll.m4 (gl_MEMCOLL): Likewise.
2591 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2592 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2594 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2595 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2596 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2597 C headers, or for string.h.
2598 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2599 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2600 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2601 headers, memory.h, stdlib.h, string.h, strings.h.
2602 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2603 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2604 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2606 * readtokens.m4 (gl_READTOKENS): Don't check for standard C
2607 headers, memory.h, string.h.
2608 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2609 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2611 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2612 * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
2613 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2614 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2615 * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
2616 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2618 2003-09-09 Derek Robert Price <derek@ximbiot.com>
2620 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2623 2003-09-08 Paul Eggert <eggert@twinsun.com>
2625 Assume C89 or better; remove K&R cruft.
2626 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2627 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2628 string.h, getenv, malloc.
2629 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2631 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2632 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2633 do not check for strerror.
2634 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2635 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2636 * fatal.m4 (gl_FATAL): Do not require STDC headers, and
2637 do not check for doprnt or vprintf.
2638 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
2639 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2641 2003-09-06 Paul Eggert <eggert@twinsun.com>
2643 * time_r.m4: New file.
2644 * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
2645 * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
2646 Check for timegm declaration.
2647 (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
2648 Do not check for gmtime_r.
2649 Replace mktime if __mktime_internal does not exist and if mktime
2650 hasn't been replaced already.
2652 2003-08-31 Simon Josefsson <jas@extundo.com>
2654 * timegm.m4: New file.
2656 2003-08-26 Bruno Haible <bruno@clisp.org>
2658 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2659 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2660 followed by '#define fnmatch fnmatch_posix' gives an error.
2662 2003-08-27 Jim Meyering <jim@meyering.net>
2664 * mkstemp.m4: Require that the system mkstemp be able to create
2665 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
2666 would fail after 32. Reported by Danny Levinson. Details here:
2667 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2669 2003-08-20 Karl Berry <karl@gnu.org>
2671 * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
2673 2003-08-19 Jim Meyering <jim@meyering.net>
2675 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2676 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2678 2003-08-19 Bruno Haible <bruno@clisp.org>
2680 * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
2682 2003-08-18 Jim Meyering <jim@meyering.net>
2684 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2685 * lib-ld.m4: Likewise.
2687 2003-08-17 Simon Josefsson <jas@extundo.com>
2689 * argp.m4: New file.
2691 2003-08-17 Simon Josefsson <jas@extundo.com>
2693 * xstrndup.m4: New file.
2695 2003-08-16 Jim Meyering <jim@meyering.net>
2697 * utimes.m4 (gl_FUNC_UTIMES): New file.
2698 * utimes.m4: Removed.
2699 * utimes-null.m4: Renamed from utimes.m4.
2701 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2702 to 1MB, so as not to render systems with no stack size limit (e.g.,
2703 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2704 Include <unistd.h>. On some systems,
2705 it is required for the definition of _SC_PAGESIZE.
2707 2003-08-16 Paul Eggert <eggert@twinsun.com>
2709 Merges from coreutils, etc.
2710 * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
2711 error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28.
2712 * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
2714 * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
2715 * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
2717 2003-08-16 Jim Meyering <jim@meyering.net>
2718 and Paul Eggert <eggert@cs.ucla.edu>
2720 Merges from coreutils, etc.
2722 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
2723 using the latest version from cvs. This avoids problems with #line
2724 directives using a vendor (Sun) compiler.
2725 (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
2726 Don't set GETGROUPS_LIB here; now it's
2727 done via getgroups.m4's wrapper function.
2728 AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
2729 rather than just in sh-util/configure.in, so that the
2730 now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
2732 Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
2733 AC_FUNC_GETLOADAVG where to find getloadavg.c.
2734 Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
2735 UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
2736 gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
2737 Remove code that is now done by the newly-required macros.
2738 Append $(EXEEXT) to DF_PROG.
2739 AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
2740 Do not invoke or require the following here,
2741 since prereq.m4 or some gnulib .m4 now does this for us:
2742 gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
2743 jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
2744 jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
2745 jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
2746 jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
2747 AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
2748 vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
2750 Do not replace the following functions, as this is now the job
2751 of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
2752 getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
2753 strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
2754 atexit getpass, strdup, getpagesize.
2756 Do not check for the following functions, as this is now the job
2757 of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
2758 getcwd, getmntinfo, resolvepath. But check for sysctl, setreuid,
2760 (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
2761 Check for sys/sysctl.h.
2762 (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
2763 jm_CHECK_TYPE_STRUCT_TIMESPEC. Invoke gt_TYPE_SSIZE_T instead
2764 of checking for ssize_t ourselves.
2766 * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
2767 Require every macro that gnulib/modules/* suggests for us.
2768 (jm_PREREQ_ADDEXT): New macro.
2769 (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
2770 Require jm_AC_TYPE_LONG_LONG instead of invoking it.
2772 * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
2773 (gl_PHYSMEM): Use it.
2774 Also check for `table' function.
2775 Check for new headers and functions.
2776 Add check for sys/sysmp.h.
2777 With suggestions from Kaveh Ghazi.
2778 Ignore headers that are present but cannot be compiled. This
2779 avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
2782 2003-08-16 Jim Meyering <jim@meyering.net>
2784 Merges from coreutils.
2785 * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
2786 prefix. Adjust cache variables similarly. Create 500 rather than
2787 just 300 files, to exercise bug on Darwin6.5, too.
2788 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
2789 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
2790 Reported by mkc@mathdogs.com.
2791 Also change use of $am_cv_sys_posix_termios
2792 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
2793 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
2794 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
2795 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
2796 /proc/mounts until it finds one with matching device number. This is
2797 unnecessary when the FILE argument *is* a mount point. No stat call
2798 is necessary in that case. So, disable the statvfs-testing code on
2799 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
2800 as RedHat bug# 84846.
2801 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2802 to 1MB, so as not to render systems with no stack size limit (e.g.,
2803 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2804 Include <unistd.h>. On some systems,
2805 it is required for the definition of _SC_PAGESIZE.
2807 2003-08-15 Jim Meyering <jim@meyering.net>
2808 and Paul Eggert <eggert@cs.ucla.edu>
2810 Merges from coreutils, etc.
2811 * strftime.m4 (_jm_STRFTIME_PREREQS):
2812 Require gl_FUNC_TZSET_CLOBBER.
2813 * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
2814 ut_exit.ut_termination, and ut_exit.e_termination members.
2816 2003-08-14 Paul Eggert <eggert@twinsun.com>
2818 Help the merge from coreutils.
2819 * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
2820 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
2821 * tzset.m4: Use it too.
2823 2003-08-14 Jim Meyering <jim@meyering.net>
2825 Merge from coreutils.
2826 * tzset.m4: New file.
2827 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
2828 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
2829 systems would end up using the latter. MOUNTED_GETMNTENT1 support
2830 is inadequate on such systems: 1) detecting whether a file system
2831 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
2832 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
2833 merely /MOUNT_POINT. Reported by Mike Jetzer.
2835 2003-08-13 Paul Eggert <eggert@twinsun.com>
2837 * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
2840 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2841 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2842 Undo previous (whitespace-only) change.
2844 2003-08-12 Paul Eggert <eggert@twinsun.com>
2846 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2847 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2848 Normalize leading white space and remove trailing white space.
2850 Merge from coreutils
2851 * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
2853 * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
2854 0.12.1. These files are now being upgraded automatically by
2855 ../config/srclist-update.
2857 2003-08-11 Bruno Haible <bruno@clisp.org>
2859 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
2861 2003-08-09 Paul Eggert <eggert@twinsun.com>
2863 * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
2864 apparently Emacs's Unicode mode got confused before my 2003-08-05
2867 2003-08-08 Paul Eggert <eggert@twinsun.com>
2869 * extensions.m4: New file.
2870 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
2871 Require gl_USE_SYSTEM_EXTENSIONS.
2872 * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
2873 Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
2875 2003-08-07 Paul Eggert <eggert@twinsun.com>
2877 * restrict.m4: New file.
2878 * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
2880 2003-08-07 Bruno Haible <bruno@clisp.org>
2882 * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
2883 the module 'getndelim2' compatible with the module 'getline'.
2885 2003-08-05 Paul Eggert <eggert@twinsun.com>
2887 * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
2888 byte with "\201" to avoid glitches when editing that source file
2889 with multi-gnome-terminal.
2891 2003-07-31 Bruno Haible <bruno@clisp.org>
2893 * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
2895 2003-07-18 Bruno Haible <bruno@clisp.org>
2897 * getndelim2.m4: New file.
2898 * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
2899 invoke gl_PREREQ_GETNDELIM2.
2900 (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
2901 gl_PREREQ_GETNDELIM2.
2902 * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
2905 2003-07-17 Bruno Haible <bruno@clisp.org>
2907 * Makefile.am.in: Remove file.
2908 * Makefile.am: Remove file.
2909 * Makefile.in: Remove file.
2911 2003-07-17 Bruno Haible <bruno@clisp.org>
2913 * getnline.m4: New file.
2915 2003-07-14 Simon Josefsson <jas@extundo.com>
2917 * mempcpy.m4: New file.
2919 2003-07-10 Jim Meyering <jim@meyering.net>
2921 * clock_time.m4: Remove trailing blank.
2922 * intmax_t.m4: Likewise.
2924 2003-07-01 Paul Eggert <eggert@twinsun.com>
2926 * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
2927 xreadlink.c now includes it unconditionally.
2929 2003-07-01 Bruno Haible <bruno@clisp.org>
2931 * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
2932 should be sufficient.
2933 Reported by Paul Eggert.
2935 2003-06-25 Bruno Haible <bruno@clisp.org>
2937 * readlink.m4: New file.
2939 2003-06-22 Bruno Haible <bruno@clisp.org>
2941 Portability to mingw32.
2942 * ssize_t.m4: New file, from GNU gettext.
2943 * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
2944 * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
2946 2003-06-11 Bruno Haible <bruno@clisp.org>
2948 * sysexits.m4: New file.
2950 2003-06-10 Simon Josefsson <jas@extundo.com>
2952 * strchrnul.m4: New file.
2954 2003-06-07 Bruno Haible <bruno@clisp.org>
2956 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
2957 gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
2958 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2960 * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
2961 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2964 2003-06-04 Paul Eggert <eggert@twinsun.com>
2966 * human.m4 (gl_HUMAN): Require AM_STDBOOL_H. Check for
2967 locale.h, localeconv. This merges changes from coreutils.
2969 * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
2970 It can be removed after the next Autoconf is released.
2971 * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
2974 2003-05-30 Bruno Haible <bruno@clisp.org>
2976 * gettext.m4: Upgrade to gettext-0.12.1.
2977 * nls.m4: New file, from gettext-0.12.1.
2978 * po.m4: New file, from gettext-0.12.1.
2979 * progtest.m4: Upgrade to gettext-0.12.1.
2981 2003-05-28 Paul Eggert <eggert@twinsun.com>
2983 Assume the headers required for C89 freestanding compilers.
2984 * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
2985 * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
2986 * human.m4 (gl_HUMAN): Likewise.
2987 * pathmax.m4 (gl_PATHMAX): Likewise.
2988 * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
2989 * userspec.m4 (gl_USERSPEC): Likewise.
2990 * xreadlink.m4 (gl_XREADLINK): Likewise.
2991 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2992 * quote.m4 (gl_QUOTE): Don't check for stddef.h.
2994 2003-05-26 Jim Meyering <jim@meyering.net>
2996 Merge in a change from coreutils:
2997 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
2998 that is guaranteed to be `no'. Use `no_such_member' to indicate
2999 that condition, rather than `-1' which is slightly misleading.
3000 Change the name of the cache variable to have the gl_ prefix.
3001 Prompted by a patch from Richard Dawe for DJGPP.
3003 2003-05-17 Bruno Haible <bruno@clisp.org>
3005 * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
3006 expansion for AC_EGREP_CPP.
3007 * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
3008 * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
3009 Suggested by Akim Demaille <akim@epita.fr> in
3010 http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
3012 2003-04-21 Paul Eggert <eggert@twinsun.com>
3014 * error.m4 (gl_ERROR): Do not put under dynamic conditions some
3015 code which expansion is under static control. Patch imported from
3016 Akim Demaille's patch to Bison; see
3017 <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
3019 2003-04-14 Bruno Haible <bruno@clisp.org>
3021 * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
3023 2003-04-10 Bruno Haible <bruno@clisp.org>
3025 * findprog.m4: New file.
3026 * eaccess.m4: New file.
3028 2003-04-04 Bruno Haible <bruno@clisp.org>
3030 * linebreak.m4: New file.
3032 2003-04-03 Bruno Haible <bruno@clisp.org>
3034 * utf-ucs4.m4: New file.
3035 * ucs4-utf.m4: New file.
3037 2003-03-30 Bruno Haible <bruno@clisp.org>
3039 * copy-file.m4 (gl_COPY_FILE): Add check for chown().
3041 2003-03-28 Bruno Haible <bruno@clisp.org>
3043 * copy-file.m4: New file.
3045 2003-03-18 Bruno Haible <bruno@clisp.org>
3047 * onceonly.m4: Use m4_defn instead of defn, for better error checking.
3048 * onceonly_2_57.m4: Likewise.
3050 2003-03-17 Bruno Haible <bruno@clisp.org>
3052 * onceonly.m4: Require autoconf 2.54 or newer.
3053 (m4_quote): Remove macro.
3054 * onceonly_2_57.m4: Require autoconf 2.54 or newer.
3056 2003-03-14 Bruno Haible <bruno@clisp.org>
3058 * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
3059 AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
3061 2003-03-13 Paul Eggert <eggert@twinsun.com>
3063 * onceonly.m4 (m4_quote): New macro.
3064 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
3065 Quote AC_FOREACH variable-expansions properly.
3067 2003-02-19 Paolo Bonzini <bonzini@gnu.org>
3069 * poll.m4: New file.
3071 2003-02-18 Paolo Bonzini <bonzini@gnu.org>
3073 * mathl.m4: New file.
3075 2003-02-17 Bruno Haible <bruno@clisp.org>
3077 * mkdtemp.m4: New file, from GNU gettext with modifications.
3079 2003-02-02 Jim Meyering <jim@meyering.net>
3081 * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
3084 2003-01-31 Bruno Haible <bruno@clisp.org>
3086 * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
3088 * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
3090 * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
3092 * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
3095 2003-01-30 Bruno Haible <bruno@clisp.org>
3097 * signed.m4: New file, from GNU gettext.
3098 * longdouble.m4: New file, from GNU gettext.
3099 * wchar_t.m4: New file, from GNU gettext.
3100 * wint_t.m4: New file, from GNU gettext.
3101 * vasnprintf.m4: New file.
3102 * vasprintf.m4: New file.
3104 2003-01-29 Bruno Haible <bruno@clisp.org>
3106 * stpncpy.m4: New file.
3108 2003-01-23 Jim Meyering <jim@meyering.net>
3110 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
3111 from working on systems without dirfd (at least Irix and OSF1/Tru64).
3113 2003-01-16 Jim Meyering <jim@meyering.net>
3115 * regex.m4: The `regex' struct is both input and output.
3116 Initialize it before each use. Patch by Tim Waugh.
3118 2003-01-11 Bruno Haible <bruno@clisp.org>
3120 * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
3121 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
3124 2003-01-11 Bruno Haible <bruno@clisp.org>
3126 * md5.m4 (gl_MD5): Require AC_C_INLINE.
3128 2003-01-11 Bruno Haible <bruno@clisp.org>
3130 * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
3132 2003-01-12 Paul Eggert <eggert@twinsun.com>
3134 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
3135 to avoid collisions with libcurses and libreadline.
3137 * getstr.m4: Remove.
3138 * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
3140 2003-01-10 Bruno Haible <bruno@clisp.org>
3142 * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
3144 2003-01-09 Bruno Haible <bruno@clisp.org>
3146 * stdbool.m4 (AM_STDBOOL_H): New macro.
3148 2002-12-31 Paul Eggert <eggert@twinsun.com>
3150 * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
3152 2002-12-24 Bruno Haible <bruno@clisp.org>
3154 General infrasructure.
3155 * README: Rewritten.
3156 * onceonly.m4: New file.
3157 * onceonly_2_57.m4: New file.
3160 * atexit.m4: New file.
3163 * strtod.m4: New file.
3166 * strtol.m4: New file.
3169 * strtoul.m4: New file.
3172 * memchr.m4: New file.
3175 * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
3176 (jm_FUNC_MEMCMP): Invoke it.
3179 * memcpy.m4: New file.
3182 * memmove.m4: New file.
3185 * memset.m4: New file.
3188 * strcspn.m4: New file.
3191 * strpbrk.m4: New file.
3194 * strstr.m4: New file.
3197 * strerror.m4: New file.
3200 * mktime.m4: Renamed from jm-mktime.m4.
3201 (gl_PREREQ_MKTIME): New macro.
3202 (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
3205 * malloc.m4 (gl_PREREQ_MALLOC): New macro.
3206 (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
3207 Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
3210 * realloc.m4 (gl_PREREQ_REALLOC): New macro.
3211 (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
3212 Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
3215 * tm_gmtoff.m4: New file, extracted from strftime.m4.
3216 * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
3217 Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
3219 (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
3222 * xalloc.m4: New file.
3225 * alloca.m4: New file.
3228 * putenv.m4 (gl_PREREQ_PUTENV): New macro.
3229 (jm_FUNC_PUTENV): Invoke it.
3232 * setenv.m4 (gt_FUNC_SETENV): New macro.
3233 (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
3235 (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
3239 * memrchr.m4: New file.
3242 * stpcpy.m4: New file.
3245 * strcase.m4: New file.
3248 * strdup.m4: New file.
3251 * strnlen.m4: New file.
3254 * strndup.m4: New file.
3257 * xstrtod.m4: New file.
3260 * xstrtol.m4: New file.
3263 * getdate.m4: New file.
3266 * unlocked-io.m4: Renamed from jm-glibc-io.m4.
3267 (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
3268 * jm-glibc-io.m4n: Remove file.
3270 Module long-options.
3271 * long-options.m4: New file.
3280 * getstr.m4: New file.
3283 * getline.m4 (gl_PREREQ_GETLINE): New macro.
3284 (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
3285 <sys/types.h>, for size_t. Use the function name gnu_getline, not
3286 simply getline. Infoke gl_PREREQ_GETLINE.
3289 * obstack.m4: New file.
3292 * hash.m4: New file.
3295 * readtokens.m4: New file.
3298 * strverscmp.m4: New file.
3301 * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
3304 * strtoll.m4: New file.
3307 * strtoull.m4: New file.
3310 * strtoimax.m4: New file.
3313 * strtoumax.m4: New file.
3316 * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
3317 Moved the strtol prerequisites to strtol.m4.
3318 Moved the strtoll prerequisites to strtoll.m4.
3319 Moved the strtoimax prerequisites to strtoimax.m4.
3322 * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
3323 Moved the strtoul prerequisites to strtoul.m4.
3324 Moved the strtoull prerequisites to strtoull.m4.
3325 Moved the strtoumax prerequisites to strtoumax.m4.
3328 * chown.m4 (gl_PREREQ_CHOWN): New macro.
3329 (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
3332 * dup2.m4: New file.
3335 * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
3336 (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
3339 * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
3340 (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
3342 Module gettimeofday.
3343 * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
3344 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
3345 gl_PREREQ_GETTIMEOFDAY.
3348 * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
3349 (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
3352 * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
3353 (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
3354 jm_AC_TYPE_UINTMAX_T.
3355 (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
3358 * stat.m4 (gl_PREREQ_STAT): New macro.
3359 (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
3362 * lstat.m4 (gl_PREREQ_LSTAT): New macro.
3363 (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
3366 * timespec.m4 (gl_TIMESPEC): New macro.
3367 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
3368 * st_mtim.m4: Indentation.
3371 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
3372 (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
3373 gl_PREREQ_NANOSLEEP.
3376 * regex.m4 (jm_PREREQ_REGEX): New macro.
3377 (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
3378 (gl_REGEX): New macro.
3381 * rename.m4 (gl_PREREQ_RENAME): New macro.
3382 (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
3385 * rmdir.m4: New file.
3388 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
3389 * utime.m4 (gl_PREREQ_UTIME): New macro.
3390 (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
3393 * dirname.m4: New file.
3396 * getopt.m4: New file.
3398 Module unistd-safer.
3399 * unistd-safer.m4: New file.
3402 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
3404 (gl_PREREQ_FNMATCH_EXTRA): New macro.
3405 (gl_FUNC_FNMATCH_POSIX): New macro.
3406 (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
3407 gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
3411 * exclude.m4: New file.
3414 * human.m4: New file.
3420 * backupfile.m4: New file.
3421 * d-ino.m4: Indentation.
3424 * fsusage.m4 (gl_FSUSAGE): New macro.
3425 (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
3426 (gl_PREREQ_FSUSAGE_EXTRA): New macro.
3429 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
3432 * euidaccess.m4: New file.
3435 * file-type.m4: New file.
3438 * fileblocks.m4: New file.
3441 * filemode.m4: New file.
3444 * isdir.m4: New file.
3447 * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
3448 (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
3451 * makepath.m4: New file.
3454 * modechange.m4: New file.
3457 * mountlist.m4: New file.
3458 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
3462 * path-concat.m4: New file.
3465 * pathmax.m4: New file.
3468 * same.m4: New file.
3471 * save-cwd.m4: New file.
3474 * savedir.m4: New file.
3477 * xgetcwd.m4: New file.
3478 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
3481 * xreadlink.m4: New file.
3484 * safe-read.m4: New file.
3487 * safe-write.m4: New file.
3490 * closeout.m4: New file.
3493 * stdio-safer.m4: New file.
3496 * getpass.m4: New file.
3499 * getugroups.m4: New file.
3501 Module group-member.
3502 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
3503 (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
3506 * idcache.m4: New file.
3509 * userspec.m4: New file.
3512 * clock_time.m4: New file.
3513 * gettime.m4: New file.
3516 * settime.m4: New file.
3519 * posixtm.m4: New file.
3522 * gethostname.m4: New file.
3525 * canon-host.m4: New file.
3528 * codeset.m4: New file, from gettext-0.11.5.
3529 * gettext.m4: New file, from gettext-0.11.5.
3530 * glibc21.m4: New file, from gettext-0.11.5.
3531 * iconv.m4: New file, from gettext-0.11.5.
3532 * intdiv0.m4: New file, from gettext-0.11.5.
3533 * inttypes-pri.m4: New file, from gettext-0.11.5.
3534 * inttypes.m4: New file, from gettext-0.11.5.
3535 * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
3536 * isc-posix.m4: New file, from gettext-0.11.5.
3537 * lcmessage.m4: New file, from gettext-0.11.5.
3538 * lib-ld.m4: New file, from gettext-0.11.5.
3539 * lib-link.m4: New file, from gettext-0.11.5.
3540 * lib-prefix.m4: New file, from gettext-0.11.5.
3541 * progtest.m4: New file, from gettext-0.11.5.
3542 * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
3543 * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
3544 * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
3546 Module localcharset.
3547 * localcharset.m4: New file.
3550 * hard-locale.m4: New file.
3553 * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
3555 * mbrtowc.m4: Add comment.
3558 * memcasecmp.m4: New file.
3561 * memcoll.m4: New file.
3564 * unicodeio.m4: New file.
3567 * rpmatch.m4: New file.
3570 * yesno.m4: New file.
3573 * exitfail.m4: New file.
3576 * c-stack.m4 (gl_C_STACK): New macro.
3577 (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
3580 * error.m4 (gl_ERROR): New macro.
3581 (jm_PREREQ_ERROR): Use onceonly macros.
3584 * fatal.m4: New file.
3587 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
3588 (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
3591 * getpagesize.m4: New file.
3593 Module getusershell.
3594 * getusershell.m4: New file.
3597 * physmem.m4: New file.
3600 * posixver.m4: New file.
3603 * quotearg.m4: New file.
3606 * quote.m4: New file.
3609 * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
3612 * sig2str.m4: New file.
3615 * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
3617 * intmax_t.m4: New file.
3618 * d-type.m4: Indentation.
3619 * jm-macros.m4: Update.
3620 * prereq.m4 (jm_PREREQ): Update.
3621 (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
3622 (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
3623 (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
3624 (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
3625 (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
3626 (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
3627 (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
3628 (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
3629 (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
3630 (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
3631 (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
3632 (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
3633 (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
3634 (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
3635 (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
3636 (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
3637 (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
3638 (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
3639 * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
3641 2002-12-18 Bruno Haible <bruno@clisp.org>
3643 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
3644 * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
3646 2002-12-17 Bruno Haible <bruno@clisp.org>
3648 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
3651 2002-12-11 Bruno Haible <bruno@clisp.org>
3653 * setenv.m4: New file, from gettext-0.11.5.
3655 2002-12-06 Paul Eggert <eggert@twinsun.com>
3657 Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
3658 a pain in practice to deal with generated m4 files. This change
3659 goes together with the 2002-12-04 unlocked-io.h change in ../lib.
3661 * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
3662 and jm-glibc-io.m4, as they are no longer a special case.
3663 * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
3664 kludge and the auto-generation stuff. Check only whether the
3665 functions are declared, not whether they exist, since older hosts
3666 that don't declare the functions can't use the optimization anyway.
3668 2002-07-06 Jim Meyering <meyering@lucent.com>
3670 * README: Don't mention Makefile.am.in.
3671 Outline how I've tested changes to .m4 files. Yep, it's a pain.
3673 2002-06-11 Paul Eggert <eggert@twinsun.com>
3675 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
3677 2002-06-22 Jim Meyering <meyering@lucent.com>
3679 * c-stack.m4: New file, from diffutils-2.8.2.
3680 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
3682 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
3683 now that configure.ac uses AC_GNU_SOURCE.
3684 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
3685 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
3687 Update to latest tools. Suggestions from Paul Eggert.
3688 * stdbool.m4: New file, from diffutils-2.8.2.
3689 * gnu-source.m4: Update from diffutils-2.8.2.
3690 * fnmatch.m4: Likewise.
3691 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
3692 to AC_HEADER_STDBOOL
3694 2002-06-21 Jim Meyering <meyering@lucent.com>
3696 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
3697 * mbrtowc.m4: Likewise.
3699 * mbstate_t.m4: Update from diffutils-2.8.2.
3700 * mbswidth.m4: Reflect name change:
3701 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
3702 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3704 * lib-link.m4: Update from gettext-0.11.2.
3705 * gettext.m4: Likewise.
3707 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
3708 From Alfred M. Szmidt.
3710 2002-05-19 Paul Eggert <eggert@twinsun.com>
3712 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
3714 2002-06-07 Jim Meyering <meyering@lucent.com>
3716 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
3717 They're needed at least for NetBSD 1.5.2.
3718 ($statxfs_includes): Include those same headers.
3719 ($statxfs_includes): Include sys/vfs.h if available.
3720 ($statxfs_includes): Likewise for sys/statvfs.h.
3721 Check for the following members in both structs statfs and statvfs:
3722 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
3724 2002-06-01 Jim Meyering <meyering@lucent.com>
3726 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
3727 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
3729 2002-05-28 Jim Meyering <meyering@lucent.com>
3731 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
3732 Reported by Volker Borchert.
3734 2002-05-27 Jim Meyering <meyering@lucent.com>
3736 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
3739 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
3740 use the replacement function; it wouldn't resolve at link time.
3741 Reported by Volker Borchert.
3743 2002-04-30 Jim Meyering <meyering@lucent.com>
3745 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
3747 2002-04-29 Paul Eggert <eggert@twinsun.com>
3749 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
3750 Do not check for alloca.h (no longer used) or stdbool.h (was never
3751 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
3753 2002-04-28 Paul Eggert <eggert@twinsun.com>
3755 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
3757 2002-04-29 Jim Meyering <meyering@lucent.com>
3759 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
3760 * prereq.m4: Add jm_PREREQ_STRNLEN.
3761 Use AC_FUNC_STRNLEN here instead.
3763 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
3764 With autoconf-2.53a, it's part of AC_PROG_CC.
3766 2002-04-28 Paul Eggert <eggert@twinsun.com>
3768 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
3769 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
3771 2002-04-24 Jim Meyering <meyering@lucent.com>
3773 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
3774 (jm_PREREQ): Use it.
3776 * getloadavg.m4: Check for these headers: locale.h unistd.h
3777 mach/mach.h fcntl.h.
3778 Check for this function: setlocale.
3780 2002-04-16 Jim Meyering <meyering@lucent.com>
3782 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
3783 ut_pid, ut_id, ut_exit.
3785 2002-04-12 Jim Meyering <meyering@lucent.com>
3787 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
3788 check for f_type in sys/mount.h. Instead, just test for the existence
3789 of the getmntinfo function. Needed for Darwin 5.3.
3791 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
3792 This is necessary at least on Darwin 5.3.
3794 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
3795 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
3796 in the library, and that makes some versions of ranlib object.
3798 2002-04-09 Jim Meyering <meyering@lucent.com>
3800 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
3801 to be more precise. Rather than saying we're checking whether the
3802 function `works', say what we're testing.
3803 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
3804 Reported by Bruno Haible.
3806 2002-02-27 Paul Eggert <eggert@twinsun.com>
3808 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
3809 Check for clock_settime.
3811 2002-02-25 Paul Eggert <eggert@twinsun.com>
3814 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
3815 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
3817 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
3819 * codeset.m4: Upgrade to gettext-0.11.
3820 * gettext.m4: Upgrade to gettext-0.11.
3821 * glibc21.m4: Upgrade to gettext-0.11.
3822 * iconv.m4: Upgrade to gettext-0.11.
3823 * isc-posix.m4: Upgrade to gettext-0.11.
3824 * lcmessage.m4: Upgrade to gettext-0.11.
3825 * lib-ld.m4: New file, from gettext-0.11.
3826 * lib-link.m4: New file, from gettext-0.11.
3827 * lib-prefix.m4: New file, from gettext-0.11.
3828 * progtest.m4: Upgrade to gettext-0.11.
3830 2002-02-15 Paul Eggert <eggert@twinsun.com>
3832 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
3833 (jm_PREREQ): Use it.
3835 2002-01-26 Jim Meyering <meyering@lucent.com>
3837 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
3838 * strnlen.m4: Remove file, now that it's part of autoconf.
3840 2002-01-22 Paul Eggert <eggert@twinsun.com>
3842 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
3844 2002-01-19 Jim Meyering <meyering@lucent.com>
3846 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
3847 Remove useless quotes: DF_PROG="df".
3848 * strnlen.m4: New file.
3850 2001-12-14 Jim Meyering <meyering@lucent.com>
3852 * jm-macros.m4 (jm_MACROS): Check for iswspace.
3853 Suggestion from Bruno Haible.
3855 2001-11-20 Jim Meyering <meyering@lucent.com>
3857 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
3858 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
3860 2001-11-19 Jim Meyering <meyering@lucent.com>
3862 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
3863 directory. Use "conftestXXXXXX" as the template.
3864 Suggestion from Paul Eggert.
3866 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
3867 so the test doesn't mistakenly hit the max-open-files limit.
3869 2001-11-18 Jim Meyering <meyering@lucent.com>
3871 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
3873 2001-11-17 Jim Meyering <meyering@lucent.com>
3875 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
3876 Prompted by a report from Bob Proulx.
3878 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
3879 Instead, require UTILS_FUNC_MKSTEMP.
3881 2001-11-11 Jim Meyering <meyering@lucent.com>
3883 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
3884 Now, that's done as part of AC_FUNC_STRTOD.
3886 2001-10-22 Paul Eggert <eggert@twinsun.com>
3888 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
3889 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
3891 2001-11-10 Jim Meyering <meyering@lucent.com>
3893 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
3894 (jm_PREREQ): Use it.
3896 2001-11-09 Jim Meyering <meyering@lucent.com>
3898 * jm-macros.m4: Require autoconf-2.52f.
3899 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
3900 Use these AC_-prefixed names, not the AM_-prefixed ones.
3902 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
3904 2001-11-04 Jim Meyering <meyering@lucent.com>
3906 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
3908 2001-11-03 Jim Meyering <meyering@lucent.com>
3910 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
3913 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
3914 know the name of the variable in the macro definition.
3916 2001-11-01 Jim Meyering <meyering@lucent.com>
3918 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
3919 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
3921 2001-10-20 Paul Eggert <eggert@twinsun.com>
3923 * error.m4 (jm_PREREQ_ERROR):
3924 Do not invoke AC_CHECK_FUNCS with strerror_r, as
3925 AC_FUNC_STRERROR_R does that.
3926 Check for strerror declaration.
3928 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
3929 are supposed to have them these days.
3930 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
3931 Merge changes from latest Autoconf CVS.
3932 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3933 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3934 POSIX decided to standardize on the int flavor of strerror_r.
3936 2001-09-30 Jim Meyering <meyering@lucent.com>
3938 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
3939 `struct fsstat' has the `f_fstypename' member.
3940 Use that to define FS_TYPE, which is now used to make
3941 the getfsstat link test tighter.
3943 2001-09-29 Jim Meyering <meyering@lucent.com>
3945 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3946 [one-argument getmntent function]): Include stdio.h before mntent.h.
3947 SunOS 4.1.x needs it for the declaration of `FILE'.
3948 Patch by Volker Borchert.
3950 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3951 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
3952 sys/fs_types.h, and make the link-test for getfsstat guard #include
3953 directives with appropriate #if HAVE_*_H tests so that we can
3954 detect getfsstat on Apple Darwin1.3.7 systems.
3955 Reported by Nelson Beebe.
3956 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
3958 2001-09-28 Paul Eggert <eggert@twinsun.com>
3960 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
3961 #defines strtoimax. Also treat the other strto* functions
3964 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3965 Check for strtoul and strtoumax,
3966 as those declarations are made even in the signed case.
3967 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
3968 Likewise, for strtol and strtoimax.
3970 2001-09-24 Jim Meyering <meyering@lucent.com>
3972 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
3974 2001-09-23 Jim Meyering <meyering@lucent.com>
3976 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
3977 instead of the mere test for existence of mntent.h. The latter
3978 would get a false-positive on AIX 3.4 systems.
3979 In the outer getmntent if-block, don't die if neither of the getmntent
3980 tests succeeds. Instead, just fall through and continue with the
3983 2001-09-22 Jim Meyering <meyering@lucent.com>
3985 * gettext.m4: New file. From gettext.
3986 * lcmessage.m4: Sync with gettext -- this changes only comments.
3987 * progtest.m4: Likewise
3988 * isc-posix.m4: Decrement serial number to sync with gettext.
3989 * glibc21.m4: Likewise.
3991 * libintl.m4: Remove. No longer used.
3993 2001-09-20 Jim Meyering <meyering@lucent.com>
3995 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
3997 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
4000 2001-09-17 Jim Meyering <meyering@lucent.com>
4002 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
4003 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
4004 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
4005 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
4006 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
4007 whenever the right hand side need not be expanded by the shell.
4009 2001-09-16 Paul Eggert <eggert@twinsun.com>
4011 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
4012 library. It's not correct, as some older glibcs are buggy.
4013 fnmatch wasn't fixed until glibc 2.2.
4015 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
4016 special shell magic here.
4018 2001-09-16 Jim Meyering <meyering@lucent.com>
4020 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
4021 * jm-macros.m4: Require it.
4023 2001-09-15 Jim Meyering <meyering@lucent.com>
4025 * jm-macros.m4: Check for help2man.
4027 2001-09-11 Jim Meyering <meyering@lucent.com>
4029 * host-os.m4 (UTILS_HOST_OS): New file/macro.
4030 The body, by Paul Eggert, was moved here from configure.in.
4031 * jm-macros.m4: Require UTILS_HOST_OS.
4033 2001-09-04 Paul Eggert <eggert@twinsun.com>
4035 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
4036 (jm_PREREQ): Use it.
4038 2001-09-03 Paul Eggert <eggert@twinsun.com>
4040 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
4041 sys/param.h, as pathmax.h includes them.
4043 2001-09-03 Paul Eggert <eggert@twinsun.com>
4045 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
4046 (jm_PREREQ_XGETCWD): New macro.
4048 * getcwd.m4: New file.
4050 2001-09-01 Jim Meyering <meyering@lucent.com>
4052 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
4055 2001-08-30 Paul Eggert <eggert@twinsun.com>
4057 Simplify code, partly by assuming autoconf 2.52 semantics.
4059 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
4061 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
4062 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
4064 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
4065 Move AC_REQUIRE to next-to-top level, to avoid confusion.
4066 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
4067 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
4068 * jm-macros.m4 (jm_MACROS): Likewise.
4070 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
4072 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
4073 Quote first arg of AC_DEFUN.
4074 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
4075 since they are needed to parse the include file even if we need
4076 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
4077 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
4078 but with opposite signedness.
4080 2001-08-30 Paul Eggert <eggert@twinsun.com>
4082 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
4083 (jm_PREREQ_EXCLUDE): New macro.
4085 2001-08-26 Jim Meyering <meyering@lucent.com>
4087 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
4089 * xstrtoimax.m4: New file.
4090 * xstrtoumax.m4: Add comments explaining why we
4091 AC_REPLACE_FUNCS(strtol).
4093 2001-06-20 Paul Eggert <eggert@twinsun.com>
4095 * inttypes.m4: Add AC_PREREQ(2.13).
4096 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
4097 (jm_AC_TYPE_INTMAX_T): New macro.
4098 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
4100 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
4102 * longlong.m4: Renamed from ulonglong.m4.
4103 * inttypes.m4: Renamed from inttypes_h.m4.
4104 * uintmax_t.m4: Removed.
4106 2001-08-12 Jim Meyering <meyering@lucent.com>
4108 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
4109 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
4110 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
4111 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
4112 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
4113 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
4114 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
4115 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
4116 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
4117 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
4118 utime.m4, utimes.m4, xstrtoumax.m4:
4119 Quote the first argument in each use of AC_DEFUN.
4121 2001-08-05 Jim Meyering <meyering@lucent.com>
4123 * jm-macros.m4: Require autoconf-2.52.
4125 2001-08-03 Paul Eggert <eggert@twinsun.com>
4127 The following changes are from gettext 0.10.39 as maintained by
4128 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
4130 * codeset.m4: Upgrade to serial AM1.
4131 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
4132 all uses changed. Quote first arg of AC_DEFUN.
4133 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
4135 * iconv.m4: Upgrade to serial AM2.
4136 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
4137 Add --with-libconv-prefix.
4138 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
4139 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
4140 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
4141 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
4142 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
4144 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
4145 * getline.m4 (AM_FUNC_GETLINE): Likewise.
4146 * glibc21.m4 (jm_GLIBC21): Likewise.
4147 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
4148 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
4149 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
4150 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
4151 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
4152 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
4154 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
4157 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
4158 not the default value.
4160 2001-06-25 Bruno Haible <haible@clisp.cons.org>
4161 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
4162 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
4163 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
4164 Also check for iswcntrl, used for wcwidth fallback.
4165 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
4168 2001-08-03 Jim Meyering <meyering@lucent.com>
4170 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
4171 as it was in the original. Reported by Paul Eggert.
4173 2001-07-16 Jim Meyering <meyering@lucent.com>
4175 * gettimeofday.m4: New file.
4176 Prompted by a report from Bernhard Baehr.
4178 2001-07-15 Jim Meyering <meyering@lucent.com>
4180 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
4181 Now it's in ../Makefile.cfg.
4183 2001-07-04 Jim Meyering <meyering@lucent.com>
4185 * Makefile.am.in (glibc-io.struct): New target. Rework the code
4186 that generates jm-glibc-io.m4 so that it doesn't trigger any make
4189 2001-07-02 Jim Meyering <meyering@lucent.com>
4191 The following changes were prompted by suggestions from Bruno Haible.
4193 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
4195 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
4196 definition of EXTRA_DIST.
4197 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
4198 ensure that the generated file is created/updated whenever the list
4199 of $(unlocked_functions) is changed.
4200 (jm-glibc-io.m4): New rule.
4201 (unlocked-io.h): New rule -- currently unused.
4203 2001-06-24 Jim Meyering <meyering@lucent.com>
4205 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
4206 unmatched right bracket, rather than kludging it with an extra,
4207 falsely-matching quote in a comment. Patch by Akim Demaille.
4209 2001-05-27 Jim Meyering <meyering@lucent.com>
4211 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
4212 Check for ut_type in struct utmp.
4214 2001-05-22 Jim Meyering <meyering@lucent.com>
4216 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
4217 now that we use the package-supplied version unconditionally.
4218 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
4220 2001-05-21 Jim Meyering <meyering@lucent.com>
4222 * regex.m4: Change a couple backticks to single quotes to avoid shell
4225 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
4227 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
4229 2001-05-11 Paul Eggert <eggert@twinsun.com>
4231 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
4232 Don't bother to check library strftime, since
4233 we'll be using our own my_strftime function anyway.
4234 Define my_strftime instead of strftime.
4236 2001-05-15 Jim Meyering <meyering@lucent.com>
4238 * regex.m4: Use proper quoting so brackets appear in the test program.
4239 Reported by, and with help from, Bruno Haible.
4241 2001-05-13 Jim Meyering <meyering@lucent.com>
4243 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
4245 2000-11-26 Paul Eggert <eggert@twinsun.com>
4247 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
4249 2001-04-21 Jim Meyering <meyering@lucent.com>
4251 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
4254 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
4256 * ftruncate.m4: Check for chsize.
4257 Link with ftruncate.o unconditionally if ftruncate is missing.
4258 This was required when cross-compiling to i586-mingw32msvc.
4260 2001-03-24 Jim Meyering <meyering@lucent.com>
4262 * jm-macros.m4: Require autoconf-2.49d.
4264 2001-03-20 Bruno Haible <haible@clisp.cons.org>
4266 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
4268 2001-03-17 Jim Meyering <meyering@lucent.com>
4270 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
4271 now that the version in autoconf is equivalent.
4272 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
4274 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
4275 Suggestion from Akim Demaille.
4277 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
4278 (jm_PREREQ_TEMPNAME): New function.
4280 2001-02-25 Paul Eggert <eggert@twinsun.com>
4282 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
4283 lacks mkstemp. Compile our own tempname.c if we compile our own
4284 mkstemp.c, as mkstemp relies on tempname.
4286 2001-03-01 Jim Meyering <meyering@lucent.com>
4288 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
4289 AH_VERBATIM really does output its argument verbatim.
4291 2001-02-18 Paul Eggert <eggert@twinsun.com>
4293 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
4295 2001-02-17 Jim Meyering <meyering@lucent.com>
4297 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
4298 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
4299 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
4302 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
4303 rather than AC_CACHE_VAL.
4305 2001-02-17 Paul Eggert <eggert@twinsun.com>
4307 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
4308 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
4309 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
4310 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
4312 2001-02-07 Jim Meyering <meyering@lucent.com>
4314 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
4316 2001-02-05 Jim Meyering <meyering@lucent.com>
4318 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
4319 it includes the patch required for `large file' support with at least
4320 HP-UX's 10.20 /bin/cc.
4322 2001-02-03 Jim Meyering <meyering@lucent.com>
4324 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
4325 AS_IF, now that it works once again (mysteriously).
4326 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4328 2001-01-30 Jim Meyering <meyering@lucent.com>
4330 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
4331 * chown.m4: Rename conftestchown to conftest.chown.
4332 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
4333 * utimes.m4: s/conftestdata/conftest.data/
4334 Inspired by Pavel Roskin's change in autoconf.
4336 2001-01-27 Jim Meyering <meyering@lucent.com>
4338 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
4340 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4342 2001-01-26 Jim Meyering <meyering@lucent.com>
4344 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
4345 quotearg.c includes it.
4347 2001-01-15 Bruno Haible <haible@clisp.cons.org>
4349 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
4352 2001-01-20 Jim Meyering <meyering@lucent.com>
4354 Be sure that headers are checked before used in code compiled
4355 for the type checks.
4356 * jm-macros.m4 (jm_MACROS): Remove all header checks.
4357 In place of that, invoke jm_CHECK_ALL_TYPES.
4358 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
4359 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
4360 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
4361 The check for ssize_t was mistakenly run before the test for unistd.h.
4363 The configure-time check for stdbool.h was missing.
4364 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
4365 (jm_PREREQ_HASH): New function.
4367 2001-01-17 Jim Meyering <meyering@lucent.com>
4369 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
4371 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
4373 2001-01-14 Jim Meyering <meyering@lucent.com>
4375 * rename.m4: Use temporary directories named conftestdir{,2}, not
4376 foo and bar. Create conftestdir/ in the script, not in the C code.
4377 Remove directories in the script, not in the C code.
4378 Remove conftestdir{,2} before trying to create the directory.
4379 Make the entire configure script fail if the mkdir fails.
4381 2001-01-02 Volker Borchert <bt@teknon.de>
4383 * rename.m4: New file.
4384 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
4386 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
4388 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
4389 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
4390 so `make install' also works in VPATH builds.
4392 2001-01-01 Jim Meyering <meyering@lucent.com>
4394 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
4395 on systems with utmpx.h. It's necessary for the declaration of utmp's
4396 ut_user member. Reported by Andreas Jaeger.
4398 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
4399 They are required for the declarations of getgrgid and getpwuid resp.
4400 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
4401 Reported by Andreas Jaeger.
4403 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4405 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
4406 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
4407 can be used in subdirectories.
4409 2000-12-26 Jim Meyering <meyering@lucent.com>
4411 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
4414 2000-12-17 Jim Meyering <meyering@lucent.com>
4416 * dos.m4 (jm_AC_DOS): New file and macro.
4417 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
4419 2000-12-06 Paul Eggert <eggert@twinsun.com>
4421 * off_t-format.m4: Remove this file.
4422 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
4424 2000-12-06 Jim Meyering <meyering@lucent.com>
4426 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
4427 strtoull, we may well need the replacement strtoul, too.
4428 Check for declarations of strtoul and strtoull.
4429 Check for strtol. Mainly as a cue to cause automake to include
4430 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
4431 Check for limits.h -- strtol.c needs it.
4433 2000-12-02 Jim Meyering <meyering@lucent.com>
4435 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
4436 * jm-macros.m4 (jm_MACROS): require it.
4438 2000-11-30 Jim Meyering <meyering@lucent.com>
4440 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
4442 2000-11-30 Jim Meyering <meyering@lucent.com>
4444 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
4446 2000-11-03 Bruno Haible <haible@clisp.cons.org>
4448 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
4450 2000-11-04 Jim Meyering <meyering@lucent.com>
4452 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
4454 2000-10-29 Jim Meyering <meyering@lucent.com>
4456 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
4457 * ls-mntd-fs.m4: Likewise
4459 2000-10-28 Jim Meyering <meyering@lucent.com>
4461 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
4462 (jm_PREREQ_MEMCHR): New function.
4464 2000-10-21 Jim Meyering <meyering@lucent.com>
4466 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
4467 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
4468 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
4470 2000-09-18 Jim Meyering <meyering@lucent.com>
4472 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
4473 Otherwise, everyone ends up linking with -lelf for some configurations.
4474 Reported by Mike Stone.
4476 2000-08-26 Jim Meyering <meyering@lucent.com>
4478 * jm-macros.m4: Use jm_FUNC_FPENDING.
4479 * fpending.m4: New file.
4481 2000-08-20 Jim Meyering <meyering@lucent.com>
4483 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
4484 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
4485 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
4487 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
4489 Improve fileutils installation on systems where running
4490 programs (like install) can't be unlinked.
4491 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
4492 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
4494 2000-08-06 Paul Eggert <eggert@twinsun.com>
4496 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
4497 not char, for compatibility with glibc 2.1.3 strftime.c.
4499 2000-07-23 Paul Eggert <eggert@twinsun.com>
4501 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
4503 2000-07-23 Jim Meyering <meyering@lucent.com>
4505 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
4506 getgrgid, getpwuid, getuid.
4508 2000-07-16 Bruno Haible <haible@clisp.cons.org>
4510 * mbswidth.m4: New file.
4511 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
4513 2000-07-14 Jim Meyering <meyering@lucent.com>
4515 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
4517 2000-07-10 Paul Eggert <eggert@twinsun.com>
4519 From a suggestion by Bruno Haible.
4520 * mbstate_t.m4 (AC_MBSTATE_T):
4521 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
4522 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
4523 and mbstate_t, to a single-part test that simply defines mbstate_t.
4524 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
4526 2000-07-10 Jim Meyering <meyering@lucent.com>
4528 * strerror_r.m4: Mirror the correction made in autoconf.
4530 * gnu-source.m4: Output to confdefs.h directly.
4531 Suggestion from Akim Demaille.
4533 2000-07-09 Jim Meyering <meyering@lucent.com>
4535 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
4536 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
4538 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
4539 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
4541 2000-07-05 Bruno Haible <haible@clisp.cons.org>
4543 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
4545 Include <ctype.h> for use of isalpha.
4547 2000-07-05 Paul Eggert <eggert@twinsun.com>
4548 and Bruno Haible <haible@clisp.cons.org>
4550 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
4551 only if the test for an object-type mbstate_t fails. This
4552 prevents us from mistakenly reporting that mbstate_t is a
4553 system object type after we "#define mbstate_t int" to work
4556 2000-07-04 Jim Meyering <meyering@lucent.com>
4558 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
4559 of the deprecated AC_CHECKING.
4561 2000-07-03 Jim Meyering <meyering@lucent.com>
4563 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
4565 2000-07-03 Paul Eggert <eggert@twinsun.com>
4567 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
4568 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
4570 2000-07-02 Jim Meyering <meyering@lucent.com>
4572 * mbstate_t.m4: Also define mbstate_t, if necessary.
4574 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
4575 AC_LIBOBJ(function_name).
4576 * chown.m4: Likewise.
4577 * fnmatch.m4: Likewise.
4578 * ftruncate.m4: Likewise.
4579 * getgroups.m4: Likewise.
4580 * getline.m4: Likewise.
4581 * group-member.m4: Likewise.
4582 * jm-macros.m4: Likewise.
4583 * lstat.m4: Likewise.
4584 * malloc.m4: Likewise.
4585 * memcmp.m4: Likewise.
4586 * nanosleep.m4: Likewise.
4587 * putenv.m4: Likewise.
4588 * realloc.m4: Likewise.
4589 * regex.m4: Likewise.
4590 * stat.m4: Likewise.
4591 * strftime.m4: Likewise.
4593 2000-07-01 Jim Meyering <meyering@lucent.com>
4595 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
4598 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4600 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
4601 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
4603 2000-07-01 Jim Meyering <meyering@lucent.com>
4605 * uptime.m4: Put double quotes around use of $cross_compiling.
4607 2000-06-28 Jim Meyering <meyering@lucent.com>
4609 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
4610 by quotearg.c, for which we perform this test. From Bruno Haible.
4612 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4614 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
4615 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
4616 <utmpx.h> exists, put readutmp.o into LIBOBJS.
4618 2000-06-25 Jim Meyering <meyering@lucent.com>
4620 * mbstate_t.m4: Include stdio.h before wchar.h to work around
4621 Linux header bug when _XOPEN_SOURCE is defined to 500.
4623 2000-06-24 Jim Meyering <meyering@lucent.com>
4625 * strerror_r.m4: Revive this file -- to try out an experimental
4626 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
4627 for which strerror does return char*, but which lacks a conveniently
4628 accessible declaration of the function. If the compile-test says
4629 strerror_r doesn't work, then resort to a `run'-test that works on
4630 BeOS and segfaults on DEC Unix.
4632 2000-06-19 Paul Eggert <eggert@twinsun.com>
4634 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
4635 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
4637 2000-06-23 Jim Meyering <meyering@lucent.com>
4639 * afs.m4: Add missing AC_MSG_RESULT.
4640 Reported by Bruno Haible.
4642 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
4643 Suggestion from Bruno Haible.
4645 2000-06-21 Jim Meyering <meyering@lucent.com>
4647 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
4649 2000-06-18 Jim Meyering <meyering@lucent.com>
4651 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
4653 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
4654 `checking whether...' message to be consistent with that of the
4657 2000-06-16 Bruno Haible <haible@clisp.cons.org>
4659 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
4661 2000-06-12 Jim Meyering <meyering@lucent.com>
4663 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
4664 from autoconf, and tweak the latter to accept an optional argument.
4665 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
4666 the optional argument, `lib'.
4668 2000-06-08 Jim Meyering <meyering@lucent.com>
4670 * largefile.m4: Remove file (now that it's part of autoconf).
4672 2000-06-04 Paul Eggert <eggert@twinsun.com>
4674 Rewrite largefile configuration so that we don't need to run
4675 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
4676 AC_CANONICAL_HOST in configure.in -- jmm]
4678 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
4679 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
4680 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
4681 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
4682 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
4684 Instead of inspecting the output of getconf, try to compile the
4685 test program without and with the macro definition.
4686 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
4687 for getconf. Instead, check for the needed flags by compiling
4690 2000-06-03 Jim Meyering <meyering@lucent.com>
4692 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
4693 now that autoconf requires that.
4695 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
4696 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
4697 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
4699 2000-05-26 Bruno Haible <haible@clisp.cons.org>
4701 * glibc21.m4: New file.
4702 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
4704 2000-05-28 Jim Meyering <meyering@lucent.com>
4706 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
4707 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4708 * stat.m4: Likewise.
4709 * lstat.m4: Likewise.
4710 * lstat-slash.m4: Remove file (absorbed into autoconf).
4712 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
4713 * strerror_r.m4: Remove file (absorbed into autoconf).
4715 2000-05-26 Jim Meyering <meyering@lucent.com>
4717 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
4719 2000-05-24 Jim Meyering <meyering@lucent.com>
4721 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
4722 autoconf requires that.
4723 * lib-check.m4: Likewise.
4724 * jm-macros.m4: Likewise.
4725 * strftime.m4: Likewise.
4727 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
4728 now that autoconf requires that.
4730 2000-05-22 Jim Meyering <meyering@lucent.com>
4732 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4733 * lstat.m4: Likewise.
4735 2000-05-20 Jim Meyering <meyering@lucent.com>
4737 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
4738 (jm_PREREQ): Use it.
4740 2000-05-09 Jim Meyering <meyering@lucent.com>
4742 * gettext.m4: Rename this...
4743 * libintl.m4: ...to this.
4745 2000-05-06 Jim Meyering <meyering@lucent.com>
4747 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
4748 (AC_REPLACE_FUNCS): Add strnlen.
4750 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
4751 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
4753 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
4754 AC_SEARCH_LIBS call for nanosleep.
4755 (LIB_NANOSLEEP): Set and AC_SUBST.
4757 2000-05-03 Paul Eggert <eggert@twinsun.com>
4759 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
4760 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
4761 2.1.3 bug. This avoids a clash when files like regex.c define
4764 2000-05-05 Jim Meyering <meyering@lucent.com>
4766 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
4767 call for clock_gettime.
4768 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
4770 * search-libs.m4: Update from autoconf.
4772 su doesn't work on Solaris 2.6.
4773 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
4774 <shadow.h>. Reported by Dragos Harabor.
4776 2000-05-03 Jim Meyering <meyering@lucent.com>
4778 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
4780 2000-05-02 Paul Eggert <eggert@twinsun.com>
4782 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
4783 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
4784 compile-time test, rather than inspecting host and OS, to
4785 decide whether to define _LARGEFILE_SOURCE.
4787 2000-05-01 Jim Meyering <meyering@lucent.com>
4789 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
4791 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
4792 Based on a patch from Bruno Haible.
4794 2000-04-18 Jim Meyering <meyering@lucent.com>
4796 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
4797 (jm_PREREQ): Use it.
4799 2000-04-17 Jim Meyering <meyering@lucent.com>
4802 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
4803 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
4804 Suggestion from Akim Demaille.
4806 2000-04-14 Jim Meyering <meyering@lucent.com>
4808 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
4809 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
4811 2000-04-13 Jim Meyering <meyering@lucent.com>
4813 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
4814 to insert required #ifndef into config.h.in.
4815 Suggestion from Akim Demaille.
4817 2000-04-12 Jim Meyering <meyering@lucent.com>
4819 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
4820 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
4821 Christian Krackowizer.
4823 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
4824 * jm-macros.m4 (_GNU_SOURCE): Define.
4825 (AC_SYS_LARGEFILE): Require.
4826 (AM_C_PROTOTYPES): Require.
4828 2000-04-05 Paul Eggert <eggert@twinsun.com>
4830 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
4831 IRIX if the installer said otherwise.
4833 2000-04-05 Jim Meyering <meyering@lucent.com>
4835 Portability tweaks required for ultrix4.3.
4836 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
4837 (jm_CHECK_DECLS): Add getutent to the list of functions.
4838 (_jm_DECL_HEADERS): Add utmpx.h.
4839 From John David Anglin.
4841 * strftime.m4: Back out the 2000-04-02 change.
4842 Instead of that change, simply undefine putenv in the test program.
4844 2000-04-03 Jim Meyering <meyering@lucent.com>
4846 * gettext.m4: Fix typo in comment.
4848 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
4849 textutils/configure.in). Suggestion from Paul Eggert.
4850 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
4852 2000-04-02 Paul Eggert <eggert@twinsun.com>
4854 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
4855 variable in the shell rather than using putenv, which isn't
4856 portable. This avoids the configure-time inter-test dependency
4857 on the potentially-renamed putenv function.
4859 2000-03-30 Paul Eggert <eggert@twinsun.com>
4861 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
4862 before checking struct stat.st_blksize, so that
4863 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
4865 2000-03-29 Paul Eggert <eggert@twinsun.com>
4867 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
4868 since strftime.c uses HAVE_STRFTIME to decide whether to use
4869 the underlying strftime.
4871 2000-03-10 Jim Meyering <meyering@lucent.com>
4873 * lib-check.m4: Look for getspnam in -lgen, too.
4876 2000-02-02 Bruno Haible <haible@clisp.cons.org>
4878 * codeset.m4: New file.
4879 * iconv.m4: New file.
4880 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
4882 2000-03-04 Jim Meyering <meyering@lucent.com>
4884 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
4885 for lib/localcharset.c.
4887 2000-03-03 Jim Meyering <meyering@lucent.com>
4889 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
4891 2000-03-02 Jim Meyering <meyering@lucent.com>
4893 * timespec.m4: Require AC_HEADER_TIME before the cache check so
4894 the messages come out on separate lines.
4896 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
4897 rather than jm_CHECK_DECLARATIONS.
4898 * decl.m4: Remove now-unused file.
4900 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
4902 2000-02-27 Jim Meyering <meyering@lucent.com>
4904 * check-decl.m4: Add getenv to the list.
4906 2000-02-23 Jim Meyering <meyering@lucent.com>
4908 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
4909 in place of my hack.
4911 2000-02-10 Jim Meyering <meyering@lucent.com>
4913 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
4914 gnu_nanosleep to rpl_nanosleep.
4916 2000-02-09 Jim Meyering <meyering@lucent.com>
4918 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
4919 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
4921 2000-02-08 Akim Demaille <akim@epita.fr>
4923 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
4924 `[' and `]' and remove uses of `changequote'.
4925 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
4926 (AC_SYS_LARGEFILE): Likewise.
4927 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
4928 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
4930 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
4931 * readdir.m4 (jm_FUNC_READDIR): Likewise
4932 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
4933 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
4935 2000-02-05 Jim Meyering <meyering@lucent.com>
4937 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
4938 Remove explicit use of AC_HEADER_TIME. It is required by
4939 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
4940 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
4941 in autoconf whereby the expansion of the latter ended up preceding
4942 the expansion of its prerequisite, AC_HEADER_TIME.
4943 Reported by Volker Borchert.
4945 2000-02-03 Jim Meyering <meyering@lucent.com>
4947 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
4949 2000-02-02 Jim Meyering <meyering@lucent.com>
4951 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
4952 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
4953 Reported by Eli Zaretskii.
4955 2000-01-31 Jim Meyering <meyering@lucent.com>
4957 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
4958 functions. Add the time.h and sys/time.h headers along with the
4959 AC_REQUIRE'ment of AC_HEADER_TIME.
4961 2000-01-30 Jim Meyering <meyering@lucent.com>
4963 * lib-check.m4: Clean up some kludgy old shadow password tests.
4965 * prereq.m4 (utmp_includes): Define.
4966 Check for ut_user and ut_name members in both struct utmpx
4969 2000-01-29 Jim Meyering <meyering@lucent.com>
4971 * lib-check.m4: New file containing library-related checks from
4972 fileutils and sh-utils (textutils had none).
4974 2000-01-28 Jim Meyering <meyering@lucent.com>
4976 * perl.m4: Change format of warning message to look more like that
4977 from the missing script. Suggestion from François Pinard.
4979 2000-01-25 Jim Meyering <meyering@lucent.com>
4981 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
4982 as time.h in the compile check.
4983 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
4984 Fix typo in cross-compiling case: s/yes/no/.
4986 2000-01-23 Jim Meyering <meyering@lucent.com>
4988 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
4990 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
4991 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
4993 * fsusage.m4: New file. Extracted from fileutils/configure.in.
4994 s/space/ac_fsusage_space/.
4995 (jm_FILE_SYSTEM_USAGE): Take two parameters.
4997 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
4998 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
4999 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
5001 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
5002 AC_SUBST these here, rather than just in sh-util/configure.in, so
5003 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
5005 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
5006 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
5007 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
5008 (AC_SUBST(POW_LIBM)): Likewise.
5009 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
5011 2000-01-22 Jim Meyering <meyering@lucent.com>
5013 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
5015 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
5017 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
5019 (AC_CHECK_HEADERS): Likewise for sh-utils.
5020 (AC_CHECK_HEADERS): Likewise for textutils.
5021 Merge the three lists of headers.
5023 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
5024 from fileutils' configure.in.
5026 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
5027 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
5029 * check-decl.m4: Use #if rather than #ifdef.
5030 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
5031 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
5032 (_jm_DECL_HEADERS): Define new function.
5033 (jm_CHECK_DECLARATIONS): Require it.
5035 2000-01-19 Jim Meyering <meyering@lucent.com>
5037 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
5038 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
5039 defines `struct timespec' in <sys/time.h>
5041 * c-bs-a.m4: Remove uses of changequote altogether.
5042 Thanks to Akim for explaining.
5044 2000-01-16 Jim Meyering <meyering@lucent.com>
5046 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
5047 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
5048 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
5049 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
5051 2000-01-16 Jim Meyering <meyering@lucent.com>
5053 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
5054 because the latter didn't work.
5056 2000-01-15 Jim Meyering <meyering@lucent.com>
5058 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
5059 (AC_REPLACE_FUNCS): Add memcpy and memset.
5060 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
5062 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
5064 2000-01-12 Jim Meyering <meyering@lucent.com>
5066 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
5067 (jm_PREREQ): Use it.
5068 (jm_PREREQ_READUTMP): New macro.
5069 (jm_PREREQ): Use it.
5071 2000-01-11 Paul Eggert <eggert@twinsun.com>
5073 Quote multibyte characters correctly.
5074 * c-bs-a.m4: New file.
5075 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
5076 (jm_PREREQ): Use it.
5078 2000-01-11 Paul Eggert <eggert@twinsun.com>
5080 * uintmax_t.m4: Port to autoconf 2.13.
5082 2000-01-08 Jim Meyering <meyering@ascend.com>
5084 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
5085 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
5087 2000-01-04 Jim Meyering <meyering@ascend.com>
5089 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
5090 jm_STRUCT_DIRENT_D_TYPE.
5091 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
5092 jm_STRUCT_DIRENT_D_INO.
5093 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
5095 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
5096 * utime.m4: Likewise.
5098 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
5099 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
5101 2000-01-03 Paul Eggert <eggert@twinsun.com>
5103 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
5104 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
5106 2000-01-02 Jim Meyering <meyering@ascend.com>
5108 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
5109 remember if this is necessary.
5111 1999-12-26 Jim Meyering <meyering@ascend.com>
5113 * jm-macros.m4: Use it here.
5114 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
5116 1999-12-23 Jim Meyering <meyering@ascend.com>
5118 * jm-macros.m4: Check for clock_gettime (moved from
5119 fileutils/configure.in)
5120 Check for gettimeofday.
5122 1999-12-20 Jim Meyering <meyering@ascend.com>
5124 * strftime.m4: Remove kludge, now that I'm using the fixed
5125 autoconf-2.14a-1999-12-20.
5127 1999-12-19 Jim Meyering <meyering@ascend.com>
5129 * lstat-slash.m4: New file.
5130 * jm-macros.m4: Use the new macro:
5131 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
5133 1999-12-07 Jim Meyering <meyering@ascend.com>
5135 * perl.m4: Require that File::Compare be available, too.
5136 Too many systems seem to lack it.
5138 * strftime.m4: Add checks for most of the cpp macros tested in
5139 GNU's strftime.c. Prompted by a patch from Paul Eggert.
5141 1999-11-18 Paul Eggert <eggert@twinsun.com>
5143 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
5144 problem with the QNX 4.25 shell, which doesn't propagate exit
5145 status of failed commands inside shell assignments.
5147 1999-11-17 Jim Meyering <meyering@ascend.com>
5149 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
5151 1999-11-07 Jim Meyering <meyering@ascend.com>
5153 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
5155 1999-11-06 Jim Meyering <meyering@ascend.com>
5157 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
5158 * jm-macros.m4 (jm_MACROS): Use it here.
5160 1999-11-05 Jim Meyering <meyering@ascend.com>
5162 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
5163 of textutils, fileutils, and sh-utils into this one (shared between
5164 those packages) file.
5165 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
5166 AC_STRUCT_ST_BLKSIZE.
5168 1999-11-03 Jim Meyering <meyering@ascend.com>
5170 * ssize_t.m4: Remove file. No longer needed since the new version of
5171 AC_CHECK_TYPE checks includes unistd.h.
5172 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
5173 Suggestion from Akim Demaille.
5175 1999-10-30 Jim Meyering <meyering@ascend.com>
5177 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
5179 * ls-mntd-fs.m4: Likewise.
5180 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
5181 * jm-winsz1.m4: Likewise.
5183 * const.m4: Remove file, since the fix made it into the experimental
5184 version of autoconf.
5185 * mktime.m4: Likewise.
5187 * check-type.m4: Remove file, now that the latest version of
5188 AC_CHECK_TYPE takes a third arg to specify additional #includes.
5190 * ssize_t.m4: New file, requires experimental version of autoconf.
5191 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
5194 1999-10-04 Jim Meyering <meyering@ascend.com>
5196 * jm-macros.m4: Don't require autoconf-2.14.1.
5198 1999-09-22 Paul Eggert <eggert@twinsun.com>
5200 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
5201 2.95.1 bug with HP-UX 10.20.
5203 1999-09-17 Jim Meyering <meyering@ascend.com>
5205 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
5206 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
5207 due to missing strdup (against sh-utils-2.0).
5209 1999-08-29 Jim Meyering <meyering@ascend.com>
5211 * jm-macros.m4: Require jm_BISON.
5212 * bison.m4: New file.
5214 1999-08-17 Paul Eggert <eggert@twinsun.com>
5216 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
5217 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
5219 1999-08-05 Jim Meyering <meyering@ascend.com>
5221 * getline.m4: Rename test file from conftestdata to conftest.data
5222 to avoid conflicts with `conftest' on 8+3 filesystems.
5223 Suggestion from Eli Zaretskii.
5225 1999-08-04 Jim Meyering <meyering@ascend.com>
5227 * jm-macros.m4: Move a 4-line block of code from the configure.in of
5228 fileutils and sh-utils (textutils's getline test was inadequate).
5229 (AM_FUNC_GETLINE): Run this test.
5230 (AC_CHECK_FUNCS): Check for getdelim.
5231 Reported by Bob Proulx.
5233 1999-08-02 Jim Meyering <meyering@ascend.com>
5235 * jm-macros.m4: Add a comment.
5237 1999-08-01 Jim Meyering <meyering@ascend.com>
5239 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
5241 1999-08-01 Paul Eggert <eggert@twinsun.com>
5243 * lfs.m4: Remove this file.
5244 * largefile.m4: New file. It contains the old contents of
5245 lfs.m4, except that all names with prefix AC_LFS have been
5246 changed to use the prefix AC_SYS_LARGEFILE instead, to be
5247 compatible with future autoconf versions. Also, some minor m4
5248 quoting problems have been fixed.
5250 1999-07-16 Paul Eggert <eggert@twinsun.com>
5252 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
5253 that we can shift, multiply and divide unsigned long long
5254 values; Ultrix cc can't do it.
5256 1999-07-14 Paul Eggert <eggert@twinsun.com>
5258 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
5259 <inttypes.h> defines strtoumax as a macro (and not as a
5262 1999-07-05 Paul Eggert <eggert@twinsun.com>
5264 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
5265 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
5266 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
5267 and simplify the shell code.
5269 1999-07-03 Paul Eggert <eggert@twinsun.com>
5271 * mktime.m4: New file, which is a preview of what should appear
5272 in the next public autoconf release.
5274 1999-07-20 Jim Meyering <meyering@ascend.com>
5276 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
5278 1999-07-15 Jim Meyering <meyering@ascend.com>
5280 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
5282 1999-05-22 Jim Meyering <meyering@ascend.com>
5284 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
5286 1999-05-20 Jim Meyering <meyering@ascend.com>
5288 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
5289 Add a colon after each `then' in case $4 is empty.
5291 1999-05-16 Jim Meyering <meyering@ascend.com>
5293 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
5295 1999-05-10 Jim Meyering <meyering@ascend.com>
5297 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
5299 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
5302 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5304 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
5306 1999-05-04 Paul Eggert <eggert@twinsun.com>
5308 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
5309 not CPPFLAGS, so that linking works correctly in IRIX.
5311 1999-04-30 Paul Eggert <eggert@twinsun.com>
5313 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
5315 1999-04-20 Jim Meyering <meyering@ascend.com>
5317 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
5318 AC_REPLACE xstroull if necessary. From Paul Eggert.
5319 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
5321 1999-04-20 Paul Eggert <eggert@twinsun.com>
5323 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
5324 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
5325 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
5326 jm_AC_TYPE_UNSIGNED_LONG_LONG.
5327 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
5329 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
5331 1999-04-18 Jim Meyering <meyering@ascend.com>
5333 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
5334 * jm-macros.m4: Use it.
5336 1999-04-06 Jim Meyering <meyering@ascend.com>
5338 * strftime.m4: Remove test for %f.
5340 1999-03-29 Jim Meyering <meyering@ascend.com>
5342 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
5343 superset of the AC_TYPE_* checks in the textutils, fileutils,
5344 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
5347 1999-03-28 Jim Meyering <meyering@ascend.com>
5349 * jm-macros.m4: Define GNU_PACKAGE here.
5350 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
5351 replaced e.g., in the *.sh files of the sh-utils.
5353 1999-03-20 Jim Meyering <meyering@ascend.com>
5355 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
5356 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
5357 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
5359 1999-03-19 Jim Meyering <meyering@ascend.com>
5361 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
5363 1999-03-12 Jim Meyering <meyering@ascend.com>
5365 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
5367 1999-03-07 Jim Meyering <meyering@ascend.com>
5369 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
5371 1999-02-17 Jim Meyering <meyering@ascend.com>
5373 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
5374 in macro definition. From Eli Zaretskii and Alain Magloire.
5376 1999-02-07 Jim Meyering <meyering@ascend.com>
5378 * group-member.m4: New file -- extracted from sh-utils' configure.in.
5380 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
5381 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
5383 1999-02-06 Jim Meyering <meyering@ascend.com>
5385 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
5386 * fnmatch.m4: Likewise.
5387 * getgroups.m4: Likewise.
5388 * lstat.m4: Likewise.
5389 * malloc.m4: Likewise.
5390 * putenv.m4: Likewise.
5391 * realloc.m4: Likewise.
5392 * regex.m4: Likewise.
5393 * stat.m4: Likewise.
5394 * strftime.m4: Likewise.
5395 Suggestion from Alain Magloire.
5397 * chown.m4: Use `.$ac_objext', not `.o'.
5398 * fnmatch.m4: Likewise.
5399 * getgroups.m4: Likewise.
5400 * getline.m4: Likewise.
5401 * lstat.m4: Likewise.
5402 * malloc.m4: Likewise.
5403 * memcmp.m4: Likewise.
5404 * putenv.m4: Likewise.
5405 * realloc.m4: Likewise.
5406 * regex.m4: Likewise.
5407 * stat.m4: Likewise.
5408 * strftime.m4: Likewise.
5409 Suggestion from Alain Magloire.
5411 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
5414 * regex.m4: Add a run-time Test for proper operation of
5417 1999-01-31 Jim Meyering <meyering@ascend.com>
5419 * getloadavg.m4: Check for locale.h and the function, setlocale.
5421 1999-01-30 Jim Meyering <meyering@ascend.com>
5423 * check-type.m4: Use 3-arg form of AC_DEFINE.
5425 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
5426 rather than my private copy, now that the official one is up to date.
5427 * mktime.m4: Remove file.
5429 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
5430 * uptime.m4: Likewise.
5431 * uintmax_t.m4: Likewise.
5433 1999-01-28 Jim Meyering <meyering@ascend.com>
5435 * jm-macros.m4: Use jm_AFS.
5436 * afs.m4: New file (from fileutils' configure.in).
5438 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
5439 * chown.m4: Likewise.
5440 * d-ino.m4: Likewise.
5441 * d-type.m4: Likewise.
5442 * fnmatch.m4: Likewise.
5443 * getgroups.m4: Likewise.
5444 * gettext.m4: Likewise.
5445 * jm-mktime.m4: Likewise.
5446 * jm-winsz2.m4: Likewise.
5447 * lcmessage.m4: Likewise.
5448 * ls-mntd-fs.m4: Likewise.
5449 * malloc.m4: Likewise.
5450 * memcmp.m4: Likewise.
5451 * putenv.m4: Likewise.
5452 * realloc.m4: Likewise.
5453 * st_mtim.m4: Likewise.
5454 * strftime.m4: Likewise.
5456 1999-01-16 Jim Meyering <meyering@ascend.com>
5458 * jm-macros.m4 (ARGMATCH_DIE): Define.
5459 (ARGMATCH_DIE_DECL): Define.
5461 1999-01-12 Jim Meyering <meyering@ascend.com>
5463 * Makefile.am.in: Rewrite to avoid using fmt.
5464 Reported by Lars Hecking.
5466 1999-01-10 Jim Meyering <meyering@ascend.com>
5468 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
5470 * inttypes_h.m4: Likewise.
5471 * lstat.m4: Likewise.
5472 * malloc.m4: Likewise.
5473 * readdir.m4: Likewise.
5474 * realloc.m4: Likewise.
5475 * st_dm_mode.m4: Likewise.
5476 * stat.m4: Likewise.
5477 * utimbuf.m4: Likewise.
5478 * utimes.m4: Likewise.
5480 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
5481 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
5482 comments in config.h.in are meaningful.
5484 * jm-macros.m4: Require autoconf-2.13 here.
5486 * regex.m4: By default, don't use the included regex.c on systems
5487 with glibc 2. Suggestion from Uli Drepper.
5489 1999-01-02 Jim Meyering <meyering@ascend.com>
5491 * jm-macros.m4: Replace strcasecmp and strncasecmp.
5493 1998-12-18 Jim Meyering <meyering@ascend.com>
5495 * Makefile.am.in (Makefile.am): Simplify rule.
5496 Based on a suggestion from Lars Hecking.
5498 1998-11-16 Jim Meyering <meyering@ascend.com>
5500 * lfs.m4: Double-quote the `uname...` expression.
5502 1998-11-16 Paul Eggert <eggert@twinsun.com>
5504 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
5506 1998-11-14 Jim Meyering <meyering@ascend.com>
5508 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
5509 * stat.m4: Likewise.
5511 1998-11-03 Jim Meyering <meyering@ascend.com>
5513 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
5514 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
5516 1998-10-18 Jim Meyering <meyering@ascend.com>
5518 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
5520 1998-10-17 Jim Meyering <meyering@ascend.com>
5522 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
5523 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
5524 calls for those previously hard-coded headers. Instead, take a new
5526 (jm_CHECK_DECLARATIONS): Reflect interface change.
5527 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
5528 (jm_CHECK_DECL_LOCALTIME_R): New macro.
5530 * mktime.m4: Test for spring-forward gap before long-running test.
5532 1998-10-14 Jim Meyering <meyering@ascend.com>
5534 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
5535 instead of "TZ=America/Vancouver". From Paul Eggert.
5537 1998-10-11 Jim Meyering <meyering@ascend.com>
5539 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
5540 This adds a test for a recently added compatibility fix for mktime.c.
5541 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
5543 1998-09-27 Jim Meyering <meyering@ascend.com>
5545 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
5547 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
5548 ../configure.in, including a change from Gordon Matzigkeit to allow
5549 cross-compiling for the Hurd.
5551 * glibc.m4: New file/macro to test for the GNU C Library
5552 versions 1 and 2. From Gordon Matzigkeit.
5555 1998-09-21 Jim Meyering <meyering@ascend.com>
5557 * chown.m4: Declare locals: before, after. From Andries Brouwer.
5559 1998-08-18 Paul Eggert <eggert@twinsun.com>
5561 Port nanosecond-resolution times to UnixWare 2.1.2 and
5562 pedantic Solaris 2.6.
5564 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
5566 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
5567 Generate name of ns member, instead of just 1 or undef.
5568 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
5570 1998-08-15 Jim Meyering <meyering@ascend.com>
5572 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
5573 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
5574 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
5575 instead of jm_TYPE_SSIZE_T.
5577 1998-08-12 Jim Meyering <meyering@ascend.com>
5579 * st_dm_mode.m4: New file. From Johan Danielsson.
5581 1998-08-02 Jim Meyering <meyering@ascend.com>
5583 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
5584 in acconfig.h manually.
5586 1998-07-31 Paul Eggert <eggert@twinsun.com>
5588 * st_mtim.m4: New file.
5590 1998-07-28 Jim Meyering <meyering@ascend.com>
5592 * utimes.m4: Undef stat.
5594 1998-07-25 Jim Meyering <meyering@ascend.com>
5596 * utime.m4 (jm_FUNC_UTIME): New file and macro.
5597 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
5599 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
5601 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
5602 uid and gid actually remain unchanged.
5604 1998-07-07 Jim Meyering <meyering@ascend.com>
5606 * jm-glibc-io.m4: Remove fclose_unlocked.
5608 1998-07-04 Jim Meyering <meyering@ascend.com>
5610 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
5611 to prove that this macro can be used in packages without regex.c.
5613 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5615 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
5618 1998-07-03 Jim Meyering <meyering@ascend.com>
5620 * gettext.m4: Add -lintl if it's found to be necessary.
5622 * gettext.m4: New file -- from gettext-0.10.35.
5623 * lcmessage.m4: Likewise.
5624 * progtest.m4: Likewise.
5626 * regex.m4 (jm_WITH_REGEX): New file and macro.
5627 * jm-macros.m4: Require the new macro.
5629 1998-06-29 Jim Meyering <meyering@ascend.com>
5631 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
5632 for the definition of NGROUPS (used in a system header included
5635 1998-06-28 Jim Meyering <meyering@ascend.com>
5637 * ls-mntd-fs.m4: New file.
5638 * fstypename.m4: New file.
5640 * jm-macros.m4: Require the new macro.
5641 * jm-glibc-io.m4: New file.
5643 1998-05-19 Jim Meyering <meyering@ascend.com>
5645 * jm-macros.m4: Add jm_FUNC_LCHOWN.
5646 * lchown.m4: New file.
5648 * Makefile.am.in: New file.
5649 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
5651 1998-05-14 Jim Meyering <meyering@ascend.com>
5653 * Makefile.am (EXTRA_DIST): Add them.
5654 * jm-macros.m4: New file.
5655 * utimbuf.m4: New file.
5657 1998-05-12 Jim Meyering <meyering@ascend.com>
5659 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
5661 1998-05-11 Jim Meyering <meyering@ascend.com>
5663 * isc-posix.m4: New file.
5665 1998-05-10 Jim Meyering <meyering@ascend.com>
5667 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
5669 1998-05-09 Jim Meyering <meyering@ascend.com>
5671 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
5672 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
5675 * ssize_t.m4: New file.
5676 * mktime.m4: Remove file -- the new automake has this now.
5678 1998-04-26 Jim Meyering <meyering@ascend.com>
5680 * assert.m4: New file.
5681 * Makefile.am (EXTRA_DIST): Add assert.m4.
5683 1998-04-05 Jim Meyering <meyering@ascend.com>
5685 * prereq.m4 (jm_PREREQ_REGEX): New macro.
5686 (jm_PREREQ): Use it here.
5688 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
5690 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
5693 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
5695 * prereq.m4: New file.
5696 * error.m4: New file.
5697 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
5699 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
5701 * getline.m4: Don't set am_cv_func_working_getline before the
5702 cache-check for the same variable -- that defeated the purpose of
5703 the test; the test program was never run. This was a problem only
5704 on systems with losing getline functions -- HP-UX 10.20 is one.
5705 Reported by Bjorn Helgaas.
5707 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
5709 * Makefile.am (EXTRA_DIST): Add perl.m4.
5711 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
5713 * Makefile.am (EXTRA_DIST): Add const.m4.
5715 * const.m4: New file. Use an initializer in this declaration
5716 typedef int charset[2]; const charset x;
5717 Reported by Bob Glickstein.
5719 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
5721 * chown.m4: Fix reversed types on -1 args to chown.
5724 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
5726 * check-decl.m4: s/DECLARATION_/DECL_/g.
5727 Add lseek and memchr.
5729 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
5730 T.E.Dickey <dickey@clark.net> said that some older preprocessors
5731 have a 20-character limit on names.
5733 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
5735 * inttypes_h.m4: New file.
5736 * uintmax_t.m4: New file.
5737 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
5739 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
5740 Free Software Foundation, Inc.
5741 Copying and distribution of this file, with or without modification,
5742 are permitted provided the copyright notice and this notice are preserved.