1 2006-07-04 Paul Eggert <eggert@cs.ucla.edu>
3 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
4 to the absolute name, not just one, to bypass Sun C 5.8's
5 "warning: #include of /usr/include/... may be non-portable".
7 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
9 * absolute-header.m4: Renamed from full-header-path.m4.
10 This is to keep the terminology clean; POSIX talks about
11 "absolute pathnames", not "full pathnames", but the GNU
12 Coding Standards say to use "path" for something else;
13 so use "absolute" to keep both sides happy.
14 (gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
15 Set gl_absolute_header, not gl_full_header_path.
16 Set gl_cv_absolute_<header>, not gl_full_path_<header>.
17 Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
22 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
24 * c-strtod.m4 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
25 Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
26 want to require the building of c-strtod.o.
27 * lib-check.m4 (cu_LIB_CHECK): Remove SEQ_LIBM, since seq no longer
29 * xstrtod.m4 (gl_XSTRTOLD): New macro.
31 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
33 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
34 --as-needed option if available. Problem reported by Albert Chin in
35 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
36 However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
37 cc merely issues a bunch of annoying warnings for --as-needed
38 (this problem was reported by Bob Proulx). Also, try linking with
39 -lm to detect a bug in binutils 2.16 (this problem was reported
42 2006-06-18 Jim Meyering <jim@meyering.net>
44 Test for a bug that causes glibc's getcwd to suffer a failed assertion.
45 * getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
46 * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
47 also check for glibc-2.4's abort-inducing bug.
49 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
50 Low-probability clean-up should be to use rmdir to get rid of
51 the just-created directory, not unlink.
53 * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
54 configure fail, and request a bug report to inform us about it.
55 Add a comment that, barring reports to the contrary, in 2007 we'll
56 assume ftruncate is universally available.
58 2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
60 * filemode.m4 (gl_FILEMODE): Check for strmode declaration.
62 2006-03-12 Jim Meyering <jim@meyering.net>
64 * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.
65 * cycle-check.m4 (gl_CYCLE_CHECK): Likewise.
66 * same.m4 (gl_SAME): Likewise.
67 * root-dev-ino.m4 (gl_ROOT_DEV_INO): Likewise.
69 2006-03-11 Eric Blake <ebb9@byu.net>
71 * double-slash-root.m4: New file, provides gl_DOUBLE_SLASH_ROOT.
72 * dirname.m4 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
73 * dos.m4 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
74 (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
76 2006-07-02 Eric Blake <ebb9@byu.net>
78 * wcwidth.m4 (gl_FUNC_WCWIDTH): Simplify by using AC_CHECK_DECLS.
80 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
82 * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
83 test cases, so that config.log is a bit easier to follow.
85 2006-07-01 Paul Eggert <eggert@cs.ucla.edu>
87 * longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60,
88 but fix a bug, by requiring at least 64 bits.
89 * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
90 * longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call
91 AC_TYPE_LONG_LONG_INT. This macro is obsolete and will go soon.
92 * ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise.
94 * stdint.m4 (gl_STDINT_H): Rewrite to accommodate stdint_.h
95 changes. Make 2.59 a prerequisite. Check and substitute for
96 HAVE_LONG_LONG_INT. Rely on Autoconf to check for stdint.h and
97 inttypes.h. Do not use special include files; just use the
98 defaults. Check for sys/inttypes.h and sys/bitypes.h in the usual
99 way now. Remove no-longer-needed tests for HAVE_LONG_64BIT,
100 HAVE_LONG_LONG_64BIT, int8_t, int16_t, int32_t, int64_t, uint8_t,
101 uint16_t, uint32_t uint64_t, int_least8_t, int_least16_t,
102 int_least32_t, int_least64_t, uint_least8_t, uint_least16_t,
103 uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t,
104 int_fast32_t, int_fast64_t, uint_fast8_t uint_fast16_t,
105 uint_fast32_t, uint_fast64_t, intptr_t, uintptr_t, intmax_t,
106 uintmax_t, INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX,
107 UINT16_MAX, INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN,
108 INT64_MAX, UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX,
109 UINT_LEAST8_MAX, INT_LEAST16_MIN, INT_LEAST16_MAX,
110 UINT_LEAST16_MAX, INT_LEAST32_MIN, INT_LEAST32_MAX,
111 UINT_LEAST32_MAX, INT_LEAST64_MIN, INT_LEAST64_MAX,
112 UINT_LEAST64_MAX, INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX,
113 INT_FAST16_MIN, INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN,
114 INT_FAST32_MAX, UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX,
115 UINT_FAST64_MAX, INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN,
116 INTMAX_MAX, UINTMAX_MAX, PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN,
117 SIG_ATOMIC_MAX, SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN,
118 WINT_MAX. Check for C99 conformance more strictly, by detecting
119 bugs in glibc 2.4, Solaris 10, and OpenBSD 3.9. On the other hand do
120 not check for things that C99 does not require, e.g., int8_t. If
121 a test isn't needed unless <stdint.h> isn't working, and is
122 unlikely to be needed for any other reason, then don't do it
123 unless <stdint.h> isn't working. Do not check for ptrdiff_t or
124 size_t, since we assume C89 freestanding at least. Do not check
125 for sig_atomic_t, wchar_t, or wint_t, since the code now does
126 the right thing even if the types are not defined. Instead use:
127 (gl_STDINT_TYPE_PROPERTIES): New macro.
128 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H): Remove. Don't bother
129 testing whether <sys/types.h> clashes, as Autoconf does this for
130 us now. All uses removed.
131 (gl_STDINT_CHECK_TYPES, gl_STDINT_MISSING_BOUND):
132 (gl_STDINT_MISSING_BOUNDS, gl_STDINT_MISSING_BOUNDS2):
133 (gl_CHECK_TYPE_SAME):
134 Remove; no longer needed.
135 (gl_STDINT_BITSIZEOF): Don't bother to check whether the type
136 exists, since we'll return 0 anyway in that case.
137 (gl_INTEGER_TYPE_SUFFIX, gl_STDINT_INCLUDES): New macros.
139 2006-07-01 Eric Blake <ebb9@byu.net>
141 * stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.
143 2006-07-01 Eric Blake <ebb9@byu.net>
145 * stdarg.m4 (gl_STDARG_H): Use proper AH_VERBATIM.
146 Reported by Andreas Buening.
148 2006-06-29 Eric Blake <ebb9@byu.net>
150 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Use AC_C_INLINE.
152 2006-06-29 Eric Blake <ebb9@byu.net>
154 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): New file.
156 2006-06-29 Derek R. Price <derek@ximbiot.com>
158 * strftime.m4: Don't call AC_FUNC_STRFTIME.
160 2006-06-29 Derek R. Price <derek@ximbiot.com>
162 * c-bs-a.m4: Removed.
164 2006-06-28 Derek R. Price <derek@ximbiot.com>
166 * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
168 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
170 * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
172 2006-06-28 Bruno Haible <bruno@clisp.org>
174 * wcwidth.m4 (gl_FUNC_WCWIDTH): Also require AC_C_INLINE and
177 2006-06-28 Eric Blake <ebb9@byu.net>
179 * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
180 * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
182 2006-06-28 Simon Josefsson <jas@extundo.com>
184 * getaddrinfo.m4: Look for getnameinfo prototypes too.
186 2006-06-27 Simon Josefsson <jas@extundo.com>
188 * sys_select_h.m4: New file, suggested by Bruno Haible, Paul
189 Eggert and Martin Lambers.
191 2006-06-27 Bruno Haible <bruno@clisp.org>
193 * stdint.m4 (gl_STDINT_BITSIZEOF): For nonexistent types, set the
194 result to 0, not to empty.
195 Reported by Martin Neitzel <neitzel@sco.gaertner.de>.
197 2006-06-26 Bruno Haible <bruno@clisp.org>
199 * stdint.m4 (gl_STDINT_H): Test also for <wchar.h>.
201 2006-06-26 Bruno Haible <bruno@clisp.org>
203 * stdint.m4 (gl_STDINT_H): Don't include <stdint.h> when using the
204 SGI C compiler in pre-C99 mode.
205 Suggested by Mark D. Baushke and Larry Jones.
207 2006-06-23 Mark D. Baushke <mdb@gnu.org>
209 * stdint.m4 (gl_STDINT_H): Treat BSD/OS like OpenBSD.
211 2006-06-26 Simon Josefsson <jas@extundo.com>
213 * inet_ntop.m4: Don't check for sys/types.h, we assume it is
216 2006-06-23 Bruno Haible <bruno@clisp.org>
218 * stdint.m4 (gl_STDINT_H): Treat IRIX like OpenBSD.
220 2006-06-22 Simon Josefsson <jas@extundo.com>
222 * sockpfaf.m4: Include winsock2.h too, to make it work under
225 2006-06-21 Simon Josefsson <jas@extundo.com>
227 * getaddrinfo.m4: Don't define WINVER. Look for gethostbyname in
228 -lws2_32 too. Fixes getaddrinfo on Windows 2000, with the price
229 of using the (limited) gnulib implementation on Windows XP.
231 * inet_pton.m4: New file.
233 2006-06-19 Bruno Haible <bruno@clisp.org>
235 * stdint.m4 (gl_STDINT_H): Enclose the values of FULL_PATH_STDINT_H
236 and FULL_PATH_INTTYPES_H in angle brackets.
237 Reported by Mark D. Baushke <mdb@gnu.org>.
239 2006-06-17 Bruno Haible <bruno@clisp.org>
241 * stdint.m4 (gl_STDINT_H) [FreeBSD >= 5]: Don't include
244 2006-06-16 Eric Blake <ebb9@byu.net>
246 * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
249 2006-06-17 Bruno Haible <bruno@clisp.org>
251 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
252 whether errno is declared. Assume <errno.h> declares errno.
254 2006-06-15 Bruno Haible <bruno@clisp.org>
256 * stdint.m4 (gl_STDINT_H): Rewritten to produce a complete stdint.h.
257 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H, gl_STDINT_CHECK_TYPES,
258 gl_STDINT_MISSING_BOUND, gl_STDINT_MISSING_BOUNDS,
259 gl_STDINT_MISSING_BOUNDS2, gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED,
260 gl_CHECK_TYPE_SAME): New macros.
262 2006-06-15 Bruno Haible <bruno@clisp.org>
264 * size_max.m4 (gl_SIZE_MAX): Make it work also when cross-compiling.
266 2006-06-15 Eric Blake <ebb9@byu.net>
268 * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
270 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
271 Bruno Haible <bruno@clisp.org>
273 * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
274 check for the declaration of strnlen and a run test that exposes the
275 AIX 5.1 strnlen bug. In the failure case, #define strndup to
278 2006-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
280 * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
281 compile test, for Tru64 4.0D.
283 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
285 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
286 gl_ rather than jm_. Link, don't run, so that cross-compiles are
287 allowed. Check that resulting type is arithmetic. Move AC_REQUIRE
288 and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
289 not really conditional on the cache.
290 (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
292 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
294 * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
295 test for C99 conformance; (bool) 0.5 is an integer constant
296 expression, but (bool) -0.5 is not. Problem reported by Fedor
297 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
299 2006-05-11 Simon Josefsson <jas@extundo.com>
301 * xvasprintf.m4: Fix obvious typo.
303 2006-05-09 Bruno Haible <bruno@clisp.org>
305 * xvasprintf.m4: New file.
307 2006-05-08 Bruno Haible <bruno@clisp.org>
309 * stdarg.m4: New file, from GNU gettext.
311 2006-05-05 Jim Meyering <jim@meyering.net>
313 * warning.m4: New file, derived from bison's file by the same name.
315 2006-05-02 Bruno Haible <bruno@clisp.org>
317 * full-header-path.m4 (gl_FULL_HEADER_PATH): Move the include_next
319 * _inttypes_h.m4 (gl_INTTYPES_H): ... to here.
321 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
323 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
324 to define main with arguments, for C++. Reported by Eric Blake.
325 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
326 Prefer 'int main ()' to 'int main (void)', for C++.
327 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
328 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
329 for 'main', for C99 and C++.
331 2006-04-23 Bruno Haible <bruno@clisp.org>
333 * poll.m4 (gl_FUNC_POLL): Rearrange code, so that POLL_H gets
334 assigned exactly once.
336 2006-04-23 Bruno Haible <bruno@clisp.org>
338 * poll.m4 (gl_FUNC_POLL): When cross-compiling, reject also the poll()
339 implementation in AIX.
340 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
342 2006-03-04 Eric Blake <ebb9@byu.net>
344 * strerror_r.m4 (AC_FUNC_STRERROR_R): Avoid unused variable warning.
346 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
348 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
349 Don't assume that exit status -1 is valid.
350 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
351 * putenv.m4 (gl_FUNC_PUTENV): Likewise.
352 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
353 * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
354 * rename.m4 (vb_FUNC_RENAME): Likewise.
355 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
356 not AC_TRY_RUN. Use return, not exit. Don't assume that
357 functions can be used without declaring them, or that you can
359 * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
361 2006-04-20 Bruno Haible <bruno@clisp.org>
363 * argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
364 one argument, so that the code will be portable to Autoconf 2.60.
365 * getlogin_r.m4 (gl_PREREQ_GETLOGIN_R): Likewise.
366 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
367 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
369 2006-04-19 Derek Price <derek@ximbiot.com>
370 Eric Blake <ebb9@byu.net>
372 * full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
373 than "/full/path.h". Update comment to match. Shorten & generalize
374 m4_translit call via AS_TR_CPP.
376 2006-04-18 Derek Price <derek@ximbiot.com>
377 Paul Eggert <eggert@cs.ucla.edu>
379 * _inttypes_h.m4, full-header-path.m4, include_next: New files.
381 2006-04-11 Paul Eggert <eggert@cs.ucla.edu>
383 * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
385 2006-04-09 Paul Eggert <eggert@cs.ucla.edu>
387 * regex.m4 (gl_REGEX): Check for new glibc interface to
390 2006-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
392 * argz.m4 (gl_FUNC_ARGZ): If we define `error_t', also define
393 `__error_t_defined', so argp.h will not typedef the former.
395 2006-03-25 Paul Eggert <eggert@cs.ucla.edu>
397 * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
398 REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
399 glibc names. Even if glibc is changed to conform to POSIX, the
400 traditional names will be available anyway, since regex depends on
401 the extensions module. Also, fix a longstanding typo in the
402 implementation of Spencer ERE test #75 from grep 2.3. Problems
403 reported by Emanuele Giaquinta. Also, change sense of cached
404 variable, so that the message makes sense.
406 2006-03-17 Jim Meyering <jim@meyering.net>
408 * regex.m4 (gl_REGEX): Fix typo in last change:
409 s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
411 2006-03-16 Paul Eggert <eggert@cs.ucla.edu>
413 * regex.m4 (gl_REGEX): Don't check for off_t, since the code
414 no longer needs it. Instead, check that regoff_t is as least
415 as wide as ptrdiff_t.
417 Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
418 so that our regex.h stays compatible with the installed regex.
419 This is helpful for installers who configure --without-included-regex.
420 Problem reported by Emanuele Giaquinta.
422 2006-03-15 Eric Blake <ebb9@byu.net>
424 * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
426 2006-03-08 Simon Josefsson <jas@extundo.com>
428 * gc-random.m4: Permit 'no' as variable values and fix warnings,
429 suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
431 2006-03-08 Simon Josefsson <jas@extundo.com>
433 * gc-random.m4: Call AC_CANONICAL_HOST and use $host_os instead of
434 $target, suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
436 2006-03-07 Paul Eggert <eggert@cs.ucla.edu>
438 * unistd_h.m4 (gl_HEADER_UNISTD): Rename, to match modules file.
439 Problem reported by Juan Manuel Guerrero.
441 2006-03-07 Simon Josefsson <jas@extundo.com>
443 * unistd_h.m4: New file.
445 2006-03-07 Simon Josefsson <jas@extundo.com>
447 * readline.m4 (gl_FUNC_READLINE): Rewrite the cached part of the
448 test to be side-effect free by storing the result in the cache
449 variable gl_cv_lib_readline, and moving the assignment of
450 LIBREADLINE and LTLIBREADLINE outside the COMMANDS-TO-SET-IT.
451 From Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
453 2006-03-07 Simon Josefsson <jas@extundo.com>
455 * gc-random.m4: New file, mostly from gc.m4. Warn instead of
456 error on missing devices (the functions will return an error).
458 * gc.m4: Move random stuff to gc-random.m4
460 2006-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
462 * poll.m4 (gl_FUNC_POLL): If we deem poll(2) unacceptable, use
463 our replacement poll.h in any case, to avoid a differing
464 declaration from a system header. Seen on AIX.
466 2006-03-01 Paul Eggert <eggert@cs.ucla.edu>
468 * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
469 not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
471 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
472 * timespec.m4 (gl_TIMESPEC): Likewise.
474 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
475 not "==". Reported by Ralf Wildenhues.
477 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
480 * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
483 2006-02-22 Jim Meyering <jim@meyering.net>
486 * chdir-safer.m4: New file.
488 2006-02-17 Eric Blake <address@hidden>
490 * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
492 2006-02-15 Eric Blake <ebb9@byu.net>
494 * sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using
495 winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes
496 'present but cannot compile' warnings on cygwin.
497 * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET. Don't
498 use ws2tcpip.h if sys/socket.h works.
499 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_HEADER_SYS_SOCKET.
500 (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is present.
502 2006-02-14 Jim Meyering <jim@meyering.net>
505 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
506 unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
507 gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
508 variable, to accommodate the rare case in which getmntent is
509 available in none of the libraries checked. This happens at
510 least on FreeBSD 5.0.
512 2006-02-05 Paul Eggert <eggert@cs.ucla.edu>
514 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
515 __EXTENSIONS__ if this causes compilation to fail. Problem
516 reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
517 c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
519 2006-01-25 Simon Josefsson <jas@extundo.com>
521 * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
522 -lws2_32. Protect sys/socket.h and netdb.h #include's. Include
523 ws2tcpip.h with WINVER=0x0501. All for mingw32.
525 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
527 * stdbool.m4 (AC_HEADER_STDBOOL): Check for xlc bug if __GCC__ too,
528 so that we test the test.
529 Check for yet another HP-UX cc bug involving *bool |= bool.
531 2006-01-24 Bruno Haible <bruno@clisp.org>
533 * stdbool.m4 (AC_HEADER_STDBOOL): Check for IBM and HP-UX bugs.
534 Patch by Paul Eggert.
536 2006-01-24 Jim Meyering <jim@meyering.net>
538 * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
539 Reported by Mark D. Baushke.
541 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
543 * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
545 2006-01-20 Paul Eggert <eggert@cs.ucla.edu>
547 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
548 rather than -Xlinker -z -Xlinker ignore, as it's more portable.
549 Suggested by Bruno Haible.
551 2006-01-19 Simon Josefsson <jas@extundo.com>
553 * socklen.m4: Look in ws2tcpip.h too, for mingw32.
555 2006-01-16 Paul Eggert <eggert@cs.ucla.edu>
557 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
558 it's not portable and it doesn't work with cross-compiles.
559 Problem reported by Bruno Haible. Fix missing-$ typo in
560 'test "gl_cv_ignore_unused_libraries" ...' that prevented
561 -zignore from being used with Sun's C compiler.
563 2006-01-12 Bruno Haible <bruno@clisp.org>
567 2006-01-08 Bruno Haible <bruno@clisp.org>
569 Ensure automatic ordering between gl_LOCK and gl_ARGP.
570 * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK.
571 (gl_LOCK): New macro, requiring gl_LOCK_BODY.
573 2006-01-10 Jim Meyering <jim@meyering.net>
575 * fpending.m4: Also include <stdio.h>, for Dragonfly.
576 Patch by Joerg Sonnenberger.
578 2006-01-10 Paul Eggert <eggert@cs.ucla.edu>
580 * memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
581 the 2002-12-31 change. Problem and fix reported by Bruno Haible.
582 People who are still concerned with buggy memcmp implementations
583 can invoke gl_FUNC_MEMCMP themselves.
585 2006-01-10 Simon Josefsson <jas@extundo.com>
587 * sys_socket_h.m4: New file.
589 2006-01-10 Bruno Haible <bruno@clisp.org>
591 * localcharset.m4 (gl_LOCALCHARSET): Also test for getc_unlocked.
592 Reported by Werner Lemberg <wl@gnu.org>.
594 2006-01-09 Paul Eggert <eggert@cs.ucla.edu>
597 * lib-ignore.m4: New file.
598 * lchmod.m4: New file.
600 2006-01-09 Jim Meyering <jim@meyering.net>
603 * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
604 Require openat-priv.h.
606 2006-01-09 Andreas Gruenbacher <agruen@suse.de>
609 * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
611 2005-10-16 Bruno Haible <bruno@clisp.org>
613 * stdint.m4 (gl_STDINT_H): Also test for <sys/bitypes.h>.
615 2005-12-16 Jim Meyering <jim@meyering.net>
617 * fprintftime.m4: New file.
619 2005-12-10 Sergey Poznyakoff <gray@gnu.org.ua>
621 * argp.m4: Define HAVE_DECL_PROGRAM_INVOCATION_NAME and
622 HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
624 2005-12-09 Sergey Poznyakoff <gray@gnu.org.ua>
626 * argp.m4: Check if program_invocation_name and
627 program_invocation_short_name are declared and define appropriate
628 macros if they are not.
630 2005-12-07 Paul Eggert <eggert@cs.ucla.edu>
632 * stat-time.m4 (gl_STAT_TIME): Add check for
633 TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
634 porting problem reported by Georg Schwarz in
635 <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
637 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
639 * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
640 Use implementation from Albert Chin, with some
641 comments/corrections by Stepan Kasal and myself.
643 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
645 * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
646 statement, to work around an HP-UX 10.20 compiler bug reported by
649 2005-11-10 Paul Eggert <eggert@cs.ucla.edu>
651 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
652 or gettimeofday; no longer needed.
654 2005-10-30 Paul Eggert <eggert@cs.ucla.edu>
656 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
657 variables to suggest the intended function of the PATH_MAX check.
659 2005-10-30 Kean Johnston <jkj@sco.com>
661 Trivial changes to support SCO systems.
662 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
664 * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
665 where __ptr is null when no I/O is pending.
667 2005-10-28 Simon Josefsson <jas@extundo.com>
669 * inet_ntop.m4: More tests.
671 * gc-md2.m4, md2.m4: New file.
673 2005-10-22 Simon Josefsson <jas@extundo.com>
675 * gc.m4: Don't be fooled by --disable-*random-device parameters,
676 suggested by Bruno Haible <bruno@clisp.org>. Fix error messages.
678 2005-10-21 Simon Josefsson <jas@extundo.com>
680 * gc.m4: Don't use libgcrypt if gcrypt.h isn't found, suggested by
681 Bruno Haible <bruno@clisp.org>.
683 * gc-des.m4: New file.
685 2005-10-21 Simon Josefsson <jas@extundo.com>
687 * arctwo.m4: New file.
689 * gc-arctwo.m4: New file.
691 2005-10-19 Simon Josefsson <jas@extundo.com>
693 * gc-arcfour.m4: New file.
695 * gc-rijndael.m4: New file.
697 2005-10-19 Simon Josefsson <jas@extundo.com>
699 * m4/gc-hmac-md5.m4, m4/gc-hmac-sha1.m4, m4/gc-md4.m4,
700 m4/gc-md5.m4, m4/gc-sha1.m4: Fix typo, suggested by Stepan Kasal
703 2005-10-19 Simon Josefsson <jas@extundo.com>
705 * gc-md4.m4: New file.
707 2005-10-18 Simon Josefsson <jas@extundo.com>
711 2005-10-17 Bruno Haible <bruno@clisp.org>
713 * stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so that
714 it can also be used in a test.
716 2005-10-11 Simon Josefsson <jas@extundo.com>
718 * md5.m4: Remove call to uint32_t.m4.
720 2005-10-15 Simon Josefsson <jas@extundo.com>
722 * rijndael.m4: New file.
724 2005-10-14 Simon Josefsson <jas@extundo.com>
726 * arcfour.m4: New file.
728 2005-10-12 Bruno Haible <bruno@clisp.org>
730 * stdbool.m4 (gl_STDBOOL_H): Define as an alias of AM_STDBOOL_H.
731 Reported by Stepan Kasal <kasal@ucw.cz>.
733 2005-10-12 Simon Josefsson <jas@extundo.com>
735 * gc-pbkdf2-sha1.m4: New file.
737 * gc-hmac-sha1.m4: New file.
741 * hmac-sha1.m4: New file.
743 2005-10-12 Simon Josefsson <jas@extundo.com>
745 * gc-md5.m4, gc-hmac-md5: New files.
747 * gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5.
749 2005-10-11 Simon Josefsson <jas@extundo.com>
753 2005-10-07 Simon Josefsson <jas@extundo.com>
755 * memxor.m4: Remove gl_C_RESTRICT call.
757 2005-10-06 Paul Eggert <eggert@cs.ucla.edu>
759 * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
760 promotes to int, not unsigned int, to catch the AIX 5.3
763 2005-10-06 Simon Josefsson <jas@extundo.com>
765 * hmac-md5.m4: New file.
767 * memxor.m4: Require gl_C_RESTRICT.
769 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
771 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for
772 sys/socket.h, netdb.h, sys/types.h; the checks areno longer
773 needed, since the source code now assumes these .h files.
775 2005-10-05 Simon Josefsson <jas@extundo.com>
777 * memxor.m4: New file.
779 2005-10-02 Paul Eggert <eggert@cs.ucla.edu>
782 * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
783 * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
784 defines ULONG_MAX_LT_ULLONG_MAX. Thomas M.Ott reports that
785 ULLONG_MAX doesn't work with 2.7.2.1.
787 2005-10-02 Jim Meyering <jim@meyering.net>
790 * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
791 from glibc-2.2.5 that fails for read-only files.
793 2005-10-02 Alfred M. Szmidt <ams@gnu.org>
796 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
797 against `yes', rather than just testing for nonempty.
799 2005-10-01 Simon Josefsson <jas@extundo.com>
801 * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
804 * getaddrinfo.m4: Use AC_GNU_SOURCE, GNU only declare getaddrinfo
805 as an (POSIX) extension. Check for sys/types.h, sys/socket.h, and
806 netdb.h too, needed by getaddrinfo.h. Check if getaddrinfo,
807 freeaddrinfo and gai_strerror are declared by the POSIX headers.
808 Check if struct addrinfo is declared.
810 2005-10-01 Jim Meyering <jim@meyering.net>
814 * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
815 libraries [inet nsl socket xnet]. Nelson Beebe reported that with
816 native cc on Solaris 7, getaddrinfo.c requires -lsocket.
817 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
818 in the inet and nsl libraries. Required on Solaris 5.7.
820 2005-09-24 Jim Meyering <jim@meyering.net>
823 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
824 in the inet and nsl libraries. Required on Solaris 5.7.
826 2005-09-26 Bruno Haible <bruno@clisp.org>
828 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
829 mbchar.c if they are not both present.
830 * mbfile.m4 (gl_MBFILE): Require gl_FUNC_MBRTOWC.
831 * mbiter.m4 (gl_MBITER): Likewise.
832 * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
833 * strcasestr.m4 (gl_PREREQ_STRCASESTR): Likewise.
834 * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
836 2005-09-23 Paul Eggert <eggert@cs.ucla.edu>
838 * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
839 and similarly for the other external symbols. Problem reported
842 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
843 bug reported by Jim Meyering.
845 * utimens.m4 (gl_UTIMENS): Check for futimesat.
846 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
847 not needed, since socklen is a prerequisite module.
849 2005-09-23 Jim Meyering <jim@meyering.net>
852 Correct build failure (socklen_t not defined) on at least
853 mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
854 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
856 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
859 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
861 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
865 * backupfile.m4, calloc.m4, chown.m4, cloexec.m4, dup2.m4:
866 * fileblocks.m4, free.m4, ftruncate.m4, getcwd.m4, getpagesize.m4:
867 * getugroups.m4, group-member.m4, idcache.m4, link-follow.m4:
868 * mkstemp.m4, mktime.m4, mountlist.m4, nanosleep.m4, pathmax.m4:
869 * physmem.m4, posixver.m4, putenv.m4, safe-read.m4, same.m4:
870 * save-cwd.m4, stdio-safer.m4, unistd-safer.m4, unlinkdir.m4:
871 * userspec.m4, xgetcwd.m4, xreadlink.m4:
872 Don't bother checking for string.h, stdlib.h, unistd.h.
873 * fts.m4 (gl_FUNC_FTS_CORE): Don't require
874 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
876 * jm-macros.m4 (gl_MACROS): Likewise.
877 * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
879 * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
880 (gl_GETDATE): Use it.
882 * mkdir-p.m4 (gl_MKDIR_PARENTS): Don't bother checking for unistd.h.
884 2005-09-22 Jim Meyering <jim@meyering.net>
888 * lstat.m4 (gl_FUNC_LSTAT):
889 Use AC_LIBSOURCES to require lstat.c and lstat.h.
890 Remove obsolete comment.
891 * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
892 * xstrtod.m4: Likewise.
894 * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
896 2005-09-19 Simon Josefsson <jas@extundo.com>
898 * socklen.m4: Fix typo.
900 2005-09-15 Paul Eggert <eggert@cs.ucla.edu>
902 * st_mtim.m4: Remove. Superseded by...
903 * stat-time.m4: New file.
904 * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
905 Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
907 2005-09-15 Derek Price <derek@ximbiot.com>
909 * strstr.m4 (gl_FUNC_STRSTR): Don't define strstr here.
911 2005-09-12 Derek Price <derek@ximbiot.com>
913 Make canon-host require getaddrinfo.
914 * canon-host.m4 (gl_CANON_HOST): Remove most dependencies.
915 AC_LIBSOURCE canon-host.h. Call...
916 (gl_PREREQ_CANON_HOST): ...this new function, which requires
918 * getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when needed.
920 2005-09-12 Derek Price <derek@ximbiot.com>
921 Paul Eggert <eggert@cs.ucla.edu>
923 * m4/glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c,
924 glob_.h, glob-libc.h.
925 (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed.
927 2005-08-31 Simon Josefsson <jas@extundo.com>
929 * socklen.m4: New file.
931 2005-09-03 Derek Price <derek@ximbiot.com>
933 * getlogin_r (gl_GETLOGIN_R): Fix cut & paste error.
934 From Larry Jones <lawrence.jones@ugs.com>.
936 2005-08-27 Bruno Haible <bruno@clisp.org>
938 Support for lib vs. lib64 distinction on biarch platforms.
939 * lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): New macro.
940 (AC_LIB_PREFIX): Require it. Use $acl_libdirstem instead of 'lib'.
941 * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
943 2005-09-01 Jim Meyering <jim@meyering.net>
945 * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
946 CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
947 Require gl_STAT_MACROS, too.
949 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
951 * regex.m4 (gl_REGEX): Require AC_SYS_LARGEFILE, Define
952 _REGEX_LARGE_OFFSETS). Test for regoff_t/off_t bug in 64-bit
953 and large-file glibc and in 32-bit large-file Solaris.
955 2005-08-28 Bruno Haible <bruno@clisp.org>
957 * gnulib-tool.m4: New file.
959 2005-08-27 Jim Meyering <jim@meyering.net>
961 * stdlib-safer.m4: New file. From coreutils.
962 * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h.
963 * fcntl-safer.m4 (gl_FCNTL_SAFER): Add creat-safer.c to the
964 AC_LIBSOURCES list and arrange to compile it via AC_LIBOBJ.
965 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise, add pipe-safer.c.
966 Add pipe-safer.c and unistd--.h to the AC_LIBSOURCES list.
968 2005-08-24 Simon Josefsson <jas@extundo.com>
970 * getpass.m4: Check for termios.h, tcgetattr, tcsetattr, and
973 2005-08-25 Stepan Kasal <kasal@ucw.cz>
975 * regex.m4: Add AC_PREREQ(2.50).
976 (gl_REGEX): If --with-included-regex was given, skip the autodetection.
978 2005-08-25 Bruno Haible <bruno@clisp.org>
980 * minmax.m4: Require autoconf 2.52.
981 (gl_MINMAX_IN_HEADER): Add comments. Use m4_pushdef/m4_popdef instead
982 of define/undefine. Use AS_TR_SH and AS_TR_CPP as more robust
983 alternatives of translit over the alphabet.
984 Based on a patch from Stepan Kasal <kasal@ucw.cz>.
986 2005-08-24 Paul Eggert <eggert@cs.ucla.edu>
988 * regex.m4 (gl_REGEX): Use POSIX-compliant spellings when testing
989 for GNU regex features.
991 2005-08-24 Jim Meyering <jim@meyering.net>
994 * fcntl-safer.m4: New file.
996 * xgetcwd.m4: Use AC_LIBSOURCES and AC_LIBOBJ to indicate source
997 and object files for this module.
999 2005-08-23 Paul Eggert <eggert@cs.ucla.edu>
1001 * regex.m4 (gl_INCLUDED_REGEX): Remove; no longer used.
1002 All contents moved to gl_REGEX.
1003 (gl_REGEX): Don't bother checking whether lib/regex.c exists;
1004 assume that it does.
1006 2005-08-20 Bruno Haible <bruno@clisp.org>
1008 * regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
1010 2005-08-17 Bruno Haible <bruno@clisp.org>
1012 * strcasestr.m4: New file.
1014 2005-08-17 Bruno Haible <bruno@clisp.org>
1016 * strstr.m4 (gl_FUNC_STRSTR): Use the replacement function always.
1017 (gl_PREREQ_STRSTR): Use gl_FUNC_MBRTOWC.
1019 2005-08-16 Paul Eggert <eggert@cs.ucla.edu>
1021 * getopt.m4 (gl_GETOPT_CHECK_HEADERS): Do not override the results
1022 of gl_GETOPT_SUBSTITUTE. That way, if both gl_GETOPT_SUBSTITUTE
1023 and gl_GETOPT are both invoked via different paths (as happens
1024 with GNU tar CVS because it uses both argp and getopt), the former
1027 2005-08-16 Bruno Haible <bruno@clisp.org>
1029 * strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function always.
1030 (gl_PREREQ_STRCASECMP): Use gl_FUNC_MBRTOWC.
1032 2005-08-16 Bruno Haible <bruno@clisp.org>
1034 * mbfile.m4: New file.
1036 2005-08-16 Bruno Haible <bruno@clisp.org>
1038 * mbiter.m4: New file.
1040 2005-08-16 Bruno Haible <bruno@clisp.org>
1042 * mbchar.m4: New file.
1044 2005-08-16 Bruno Haible <bruno@clisp.org>
1046 * tls.m4: New file, from GNU gettext.
1048 2005-08-12 Bruno Haible <bruno@clisp.org>
1050 * readline.m4 (gl_FUNC_READLINE): Look for ncurses first.
1052 2005-08-12 Simon Josefsson <jas@extundo.com>
1054 * readline.m4: Look for termcap, curses or ncurses if required.
1056 2005-08-11 Simon Josefsson <jas@extundo.com>
1058 * readline.m4: New file.
1060 2005-08-10 Simon Josefsson <jas@extundo.com>
1062 * strnlen.m4: New file.
1064 * strndup.m4: Don't check for strnlen declaration, done in
1067 2005-08-10 Stepan Kasal <kasal@ucw.cz>
1069 * onceonly_2_57.m4: Really require Autoconf 2.57.
1071 2005-08-02 Simon Josefsson <jas@extundo.com>
1073 * getline.m4: Separate out getdelim stuff into separate module.
1075 * getdelim.m4: New file.
1077 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1079 Add support to getopt for Emacs, which doesn't use LIBOBJS in the
1081 * getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER): New macro.
1082 (gl_GETOPT_SUBSTITUTE): Use it. Invoke gl_PREREQ_GETOPT.
1083 (gl_GETOPT_IFELSE, gl_GETOPT_CHECK_HEADERS): New macros.
1084 (gl_GETOPT): Use the new macros. Most of the implementation
1085 is moved to the new macros. This is for programs like Emacs
1086 that don't want all the functionality of gl_GETOPT.
1088 2005-07-26 Bruno Haible <bruno@clisp.org>
1090 * lock.m4: Update from GNU gettext.
1092 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1094 * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_IFELSE instead of the
1095 obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
1097 2005-07-24 Bruno Haible <bruno@clisp.org>
1099 * visibility.m4: New file.
1101 2005-07-18 Bruno Haible <bruno@clisp.org>
1103 * lock.m4: New file, from GNU gettext.
1105 2005-06-01 Bruno Haible <bruno@clisp.org>
1107 * poll.m4 (gl_FUNC_POLL): Check against MacOS X 10.4 poll() bug.
1108 When using lib/poll.c, define poll as rpl_poll.
1110 2005-07-14 Bruno Haible <bruno@clisp.org>
1112 * argp.m4 (gl_ARGP): Remove invocation of gl_FUNC_GLIBC_UNLOCKED_IO.
1113 Instead, test for *_unlocked function declarations directly.
1115 2005-07-14 Derek Price <derek@ximbiot.com>
1117 * glob.m4 (gl_GLOB): Cache glob interface check result. Add check for
1120 2005-07-10 Bruno Haible <bruno@clisp.org>
1122 * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t.
1123 Needed when size_t is smaller than 'unsigned int'.
1124 Reported by Paul Eggert.
1126 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1128 * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1129 * same.m4 (gl_SAME): Likewise.
1130 Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1132 * regex.m4: Adjust to new libc regex implementation.
1133 (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
1134 all the .c and .h parts of (the new) regex.
1135 Quote the m4 stuff better.
1136 Check for RE_ICASE bug of old gnulib.
1137 Check for REG_STARTEND of recent libc.
1138 Rename local variables from jm_* to gl_*.
1139 Quote operand of "test -f".
1140 Say "recent enough" version of libc, not "version 2".
1141 (gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a
1142 prerequisite module. Remove AC_HEADER_STDC; no longer needed.
1143 Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll.
1144 Remove check for btowc, isascii.
1145 Require AM_LANGINFO_CODESET.
1147 2005-07-05 Bruno Haible <bruno@clisp.org>
1149 * mbrtowc.m4 (gl_FUNC_MBRTOWC): Upgrade to version from current
1150 autoconf CVS. Needed for mingw.
1152 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1154 Remove the dependency of the strftime module on the tzset module.
1155 * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1157 2005-07-02 Jim Meyering <jim@meyering.net>
1159 * chown.m4, cloexec.m4, dup2.m4, fsusage.m4:
1160 * getcwd-path-max.m4, getcwd.m4, mkstemp.m4, mountlist.m4:
1161 * pagealign_alloc.m4, save-cwd.m4, unistd-safer.m4:
1162 Don't check for fcntl.h, and don't test for HAVE_FCNTL_H.
1164 2005-06-28 Simon Josefsson <jas@extundo.com>
1166 * check-version.m4: New file, suggested by Jim Meyering
1169 2005-06-24 Derek Price <derek@ximbiot.com>
1170 and Bruno Haible <bruno@clisp.org>
1172 Remove stat module & update lstat.
1173 * lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
1174 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1175 * stat.m4: Remove this file.
1177 2005-06-20 Derek Price <derek@ximbiot.com>
1179 * bison.m4: Note that precious decls of YACC & YFLAGS will be
1180 unnecessary for Autoconfs > 2.59c.
1182 2005-06-16 Derek Price <derek@ximbiot.com>
1184 * bison.m4: Declare YACC & YFLAGS precious.
1186 2005-06-08 Bruno Haible <bruno@clisp.org>
1188 * csharpcomp.m4: New file, from GNU gettext.
1190 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1192 Sync from coreutils.
1193 * mkdir-p.m4: Renamed from makepath.m4.
1194 (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed.
1195 Rename files from makepath.c to mkdir-p.c, and from
1196 makepath.h to mkdir-p.h.
1197 * filenamecat.m4: Renamed from path-concat.m4.
1198 (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed.
1199 Rename files from path-concat.c to filenamecat.c,
1200 and from path-concat.h to filenamecat.h.
1201 * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1202 "file name" in local variables or comments.
1203 * rename.m4: Likewise.
1205 2005-06-01 Bruno Haible <bruno@clisp.org>
1207 * csharp.m4: New file, from GNU gettext.
1208 * csharpexec.m4: New file, from GNU gettext.
1210 2005-05-31 Derek Price <derek@ximbiot.com>
1211 Paul Eggert <eggert@cs.ucla.edu>
1214 * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
1216 2005-05-29 Derek Price <derek@ximbiot.com>
1217 Paul Eggert <eggert@cs.ucla.edu>
1219 * glob.m4: New file.
1221 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1223 * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1224 and don't require gt_INTTYPES_PRI.
1226 2005-05-26 Paul Eggert <eggert@cs.ucla.edu>
1228 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Define
1229 _POSIX_PTHREAD_SEMANTICS for Solaris.
1231 2005-05-25 Derek Price <derek@ximbiot.com>
1232 Paul Eggert <eggert@cs.ucla.edu>
1234 * getlogin_r.m4: New files.
1236 2005-05-22 Bruno Haible <bruno@clisp.org>
1238 * minmax.m4: New file.
1239 Based on a patch by Derek Price <derek@ximbiot.com>.
1241 2005-05-20 Paul Eggert <eggert@cs.ucla.edu>
1243 * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1244 (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1246 2005-05-20 Eric Blake <ebb9@byu.net> (tiny change)
1248 * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1251 2005-05-18 Paul Eggert <eggert@cs.ucla.edu>
1253 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1254 Don't check for stddef.h.
1255 * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1256 don't use its results.
1257 Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1258 since we include them unconditionally. Don't require
1259 AM_STDBOOL_H, since stdbool is a prerequisite.
1260 Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1261 since we assume C89 or better.
1262 Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1263 as we don't use their results.
1264 Don't check for fchdir, memmove, memset, strrchr, as we use
1265 them unconditionally.
1266 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1267 GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1269 2005-05-18 Jim Meyering <jim@meyering.net>
1271 * fts.m4 (AC_LIBSOURCES): Add intprops.h to the list.
1272 Reported by Yoann Vandoorselaere.
1274 2005-05-17 Jim Meyering <jim@meyering.net>
1276 * fts.m4: New file, from coreutils.
1278 2005-05-14 Paul Eggert <eggert@cs.ucla.edu>
1280 Sync from coreutils.
1281 * unlinkdir.m4: New file.
1283 2005-05-10 Derek Price <derek@ximbiot.com>
1285 * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1288 2005-05-10 Simon Josefsson <jas@extundo.com>
1290 * getaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
1291 Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
1293 2005-05-09 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
1294 Bruno Haible <bruno@clisp.org>
1296 * inet_ntop.m4: New file.
1298 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1300 * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1303 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1305 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1306 * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1307 (gl_PREREQ_CHOWN): Remove.
1308 * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1309 it. Don't require AC_HEADER_STAT.
1310 (gl_PREREQ_LSTAT): Remove.
1311 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1312 Don't require AC_HEADER_STAT.
1313 * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1314 (gl_PREREQ_RMDIR): Remove.
1315 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1316 mention stat-macros.h or AC_HEADER_STAT, since we'll make
1317 the stat-macros module a prerequisite.
1318 * file-type.m4 (gl_FILE_TYPE): Likewise.
1319 * filemode.m4 (gl_FILEMODE): Likewise.
1320 * makepath.m4 (gl_MAKEPATH): Likewise.
1321 * modechange.m4 (gl_MODECHANGE): Likewise.
1322 * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1324 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1325 fetish_FUNC_RMDIR_NOTEMPTY. All uses changed. Use gl_ for
1327 * fcntl-safer.m4: Remove.
1328 * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1329 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1330 Invoke gl_PREREQ_FD_SAFER.
1331 (gl_PREREQ_FD_SAFER): New macro.
1332 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Check for siginterrupt.
1333 * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1334 Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1335 Remove duplicate call to AC_LIBOBJ(readutmp).
1336 (gl_PREREQ_READUTMP): Remove. All uses inlined.
1338 * mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check for message, not for
1339 MAP_ANON. Problem reported by Moriyoshi Koizumi to bug-cvs.
1341 2005-05-01 Oskar Liljeblad <oskar@osk.mine.nu>
1343 * byteswap.m4: New file.
1347 * gettext.m4: Update from GNU gettext 0.14.4.
1349 2005-04-15 Simon Josefsson <jas@extundo.com>
1351 * getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
1353 2005-03-28 Eric Blake <ebb9@byu.net> (tiny change)
1355 * getcwd-path-max.m4: Return success on systems such as Cygwin
1356 where no absolute path name can be longer than PATH_MAX.
1358 2005-03-22 Jim Meyering <jim@meyering.net>
1360 * stat-macros.m4 (gl_STAT_MACROS): New file/macro.
1362 2005-03-21 Jim Meyering <jim@meyering.net>
1363 and Paul Eggert <eggert@cs.ucla.edu>
1365 * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4,
1366 cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4,
1367 exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4,
1368 getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4,
1369 getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4,
1370 idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4,
1371 memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4,
1372 path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4,
1373 quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4,
1374 safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4,
1375 strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4,
1376 unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4,
1377 xnanosleep.m4, xstrtol.m4, yesno.m4:
1378 Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files
1381 2005-03-21 Jim Meyering <jim@meyering.net>
1383 * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Invoke gl_FUNC_MEMRCHR.
1384 * memrchr.m4 (gl_FUNC_MEMRCHR): Check for memrchr decl.
1386 2005-03-16 Bruno Haible <bruno@clisp.org>
1388 * stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
1389 HAVE_LONGLONG_64BIT.
1391 2005-03-14 Bruno Haible <bruno@clisp.org>
1393 * lib-link.m4, gettext.m4, nls.m4, po.m4:
1394 Update from GNU gettext 0.14.3.
1396 2005-03-10 Jim Meyering <jim@meyering.net>
1398 * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1400 2005-03-07 Bruno Haible <bruno@clisp.org>
1402 * mmap-anon.m4 (MAP_FILE, MAP_FAILED): Remove definitions.
1404 2005-03-03 Bruno Haible <bruno@clisp.org>
1406 * inttypes.m4, isc-posix.m4, once-only.m4:
1407 Use an all-permissive copyright notice, recommended by RMS.
1409 2005-03-03 Derek R. Price <derek@ximbiot.com>
1411 * mmap-anon.m4: New file.
1412 * pagealign_alloc.m4: New file.
1414 2005-01-28 Bruno Haible <bruno@clisp.org>
1416 * stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because of
1417 AIX, the replacement has to be done only after <string.h> is included,
1418 therefore not in config.h. stpncpy.h does the replacement, and
1421 2005-03-01 Paul Eggert <eggert@cs.ucla.edu>
1423 * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1424 to detect nanosleep bug.
1426 2005-02-25 Paul Eggert <eggert@cs.ucla.edu>
1428 * gethrxtime.m4, xnanosleep.m4: New files.
1429 * gettime.m4 (gl_GETTIME): Check for nanotime.
1431 2005-02-24 Bruno Haible <bruno@clisp.org>
1433 * gettext.m4, intdiv0.m4, intmax.m4, inttypes-pri.m4, lcmessage.m4:
1434 * lib-link.m4, lib-prefix.m4, nls.m4, po.m4, printf-posix.m4:
1436 Update from GNU gettext 0.14.2.
1437 * glibc2.m4: New file, from GNU gettext 0.14.2.
1439 2005-02-22 Simon Josefsson <jas@extundo.com>
1441 * iconvme.m4: New file.
1443 2005-02-23 Jim Meyering <jim@meyering.net>
1445 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
1446 Thanks to Bruno Haible for catching it.
1448 2005-02-22 Jim Meyering <jim@meyering.net>
1450 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
1452 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1454 * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
1456 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
1458 Sync from coreutils.
1459 * getloadavg.m4, glibc.m4, search-libs.m4: Remove.
1461 Remove files that are specific to coreutils.
1462 * check-decl.m4, jm-macros.m4, lib-check.m4, prereq.m4: Remove.
1464 2005-01-28 Bruno Haible <bruno@clisp.org>
1466 * javacomp.m4: New file, from GNU gettext.
1468 2005-01-26 Bruno Haible <bruno@clisp.org>
1470 * javaexec.m4: New file, from GNU gettext.
1472 2005-01-24 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1474 * sysexits.m4 (gl_SYSEXITS): Reverted logic. SYSEXITS_H
1475 must be defined if the header file was not found, in order
1476 to provide a replacement. Reported by Todd Vierling <tv@duh.org>
1478 2005-01-23 Paul Eggert <eggert@cs.ucla.edu>
1480 * acl.m4, afs.m4, alloca.m4, argp.m4, assert.m4, atexit.m4,
1481 backupfile.m4, base64.m4, bison.m4, c-bs-a.m4, c-stack.m4,
1482 c-strtod.m4, calloc.m4, canon-host.m4, canonicalize.m4,
1483 clock_time.m4, cloexec.m4, closeout.m4, d-ino.m4, d-type.m4,
1484 dirfd.m4, dirname.m4, dos.m4, dup2.m4, error.m4, euidaccess.m4,
1485 exclude.m4, exitfail.m4, extensions.m4, fcntl-safer.m4,
1486 file-type.m4, fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4,
1487 free.m4, fstypename.m4, fsusage.m4, ftruncate.m4, getaddrinfo.m4,
1488 getcwd-path-max.m4, getcwd.m4, getdate.m4, getdomainname.m4,
1489 getgroups.m4, gethostname.m4, getline.m4, getndelim2.m4,
1490 getnline.m4, getopt.m4, getpagesize.m4, getpass.m4, getsubopt.m4,
1491 gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4,
1492 group-member.m4, hard-locale.m4, hash.m4, host-os.m4, human.m4,
1493 idcache.m4, inttostr.m4, isdir.m4, jm-winsz1.m4, jm-winsz2.m4,
1494 link-follow.m4, long-options.m4, ls-mntd-fs.m4, lstat.m4,
1495 makepath.m4, mathl.m4, md5.m4, memcasecmp.m4, memchr.m4,
1496 memcmp.m4, memcoll.m4, memcpy.m4, memmem.m4, memmove.m4,
1497 memrchr.m4, memset.m4, mkdir-slash.m4, mkstemp.m4, mktime.m4,
1498 modechange.m4, mountlist.m4, nanosleep.m4, obstack.m4,
1499 path-concat.m4, pathmax.m4, perl.m4, physmem.m4, poll.m4,
1500 posixtm.m4, posixver.m4, putenv.m4, quote.m4, quotearg.m4,
1501 readdir.m4, readtokens.m4, readutmp.m4, regex.m4, rename.m4,
1502 restrict.m4, rmdir-errno.m4, rmdir.m4, rpmatch.m4, same.m4,
1503 savedir.m4, settime.m4, sha1.m4, sig2str.m4, snprintf.m4,
1504 sockpfaf.m4, st_dm_mode.m4, st_mtim.m4, stat.m4, stdint.m4,
1505 stdio-safer.m4, strchrnul.m4, strdup.m4, strerror.m4,
1506 strerror_r.m4, strftime.m4, strndup.m4, strnlen.m4, strsep.m4,
1507 strtod.m4, strtoimax.m4, strtok_r.m4, strtol.m4, strtoll.m4,
1508 strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4, sysexits.m4,
1509 time_r.m4, timegm.m4, timespec.m4, tm_gmtoff.m4, tzset.m4,
1510 uint32_t.m4, uintptr_t.m4, unistd-safer.m4, unlink-busy.m4,
1511 unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4, utime.m4,
1512 utimecmp.m4, utimens.m4, utimes-null.m4, vsnprintf.m4, xalloc.m4,
1513 xgetcwd.m4, xreadlink.m4, xstrndup.m4, xstrtod.m4, xstrtoimax.m4,
1514 xstrtol.m4, xstrtoumax.m4, yesno.m4:
1515 Use an all-permissive copyright notice, recommended by RMS.
1517 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
1519 * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
1521 2005-01-18 Paul Eggert <eggert@cs.ucla.edu>
1523 Merge from coreutils.
1524 * ullong_max.m4: New file.
1525 * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
1526 (gl_MACROS): Assume localeconv exists.
1528 2005-01-18 Jim Meyering <jim@meyering.net>
1530 Merge from coreutils.
1531 * chdir-long.m4, openat.m4: New files.
1532 * save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c,
1533 save-cwd.h. Add AC_LIBOBJ for save-cwd.
1534 * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
1535 is sane and DOES follow symlinks. Besides, testing 20 different
1536 systems found no broken chown implementations.
1537 Prompted by a change in rsync's copy of this macro.
1538 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR_LONG.
1540 * lchown.m4 (gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
1542 * utimes.m4: Work around tests/touch/empty-file failure on a system
1543 (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
1544 NULL-means-set-to-current-time semantics.
1545 Remove temporary file immediately, rather than waiting
1546 for configure's at-exit trap code to do it.
1548 2005-01-18 Bruno Haible <bruno@clisp.org>
1550 * allocsa.m4, codeset.m4, copy-file.m4, eaccess.m4, eealloc.m4:
1551 * eoverflow.m4, execute.m4, fatal-signal.m4, findprog.m4, glibc21.m4:
1552 * iconv.m4, intmax_t.m4, inttypes_h.m4, lib-ld.m4, lib-link.m4:
1553 * lib-prefix.m4, linebreak.m4, localcharset.m4, longdouble.m4:
1554 * longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mkdtemp.m4:
1555 * pipe.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4:
1556 * sig_atomic_t.m4, signalblocking.m4, signed.m4, size_max.m4:
1557 * ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4, stpncpy.m4:
1558 * strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, ucs4-utf.m4:
1559 * uintmax_t.m4, ulonglong.m4, unicodeio.m4, utf-ucs4.m4, vasnprintf.m4:
1560 * vasprintf.m4, wait-process.m4, wchar_t.m4, wint_t.m4, xsize.m4:
1561 Use an all-permissive copyright notice, recommended by RMS.
1563 2005-01-06 Bruno Haible <bruno@clisp.org>
1565 * stpncpy.m4 (gl_FUNC_STPNCPY): Rename stpncpy to gnu_stpncpy here.
1567 2005-01-04 Jim Meyering <jim@meyering.net>
1569 Changes imported from coreutils.
1570 * mkstemp.m4 (gl_FUNC_MKSTEMP): Rather than using "conftestXXXXXX"
1571 as the mkstemp template, use a temporary directory and an
1572 8.3-friendly template to avoid trouble on systems like DJGPP.
1573 Reported by Juan M. Guerrero via Stepan Kasal.
1574 * (gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of close.
1575 Remove the temporary directory right away, rather than waiting
1576 for configure's at-exit trap code to do it.
1577 Suggestion from Stepan Kasal.
1579 2004-12-24 Paul Eggert <eggert@cs.ucla.edu>
1581 * c-strtod.m4 (gl_C99_STRTOLD): New macro.
1582 (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
1584 2004-12-23 Paul Eggert <eggert@cs.ucla.edu>
1586 * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
1588 2004-12-18 Bruno Haible <bruno@clisp.org>
1590 * fatal-signal.m4 (gl_FATAL_SIGNAL): Also test for sigaction.
1592 2004-12-07 Paul Eggert <eggert@cs.ucla.edu>
1594 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
1595 spurious "-l"s. Problem reported by Stepan Kasal.
1597 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1599 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
1600 in Autoconf 2.59. Problem reported by Mark D. Baushke.
1602 2004-12-04 Paul Eggert <eggert@cs.ucla.edu>
1604 Changes imported from coreutils.
1605 * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
1607 * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
1609 2004-11-30 Paul Eggert <eggert@cs.ucla.edu>
1611 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1612 Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
1614 * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
1616 2004-11-30 Simon Josefsson <jas@extundo.com>
1618 * base64.m4: New file.
1620 2004-11-30 Simon Josefsson <jas@extundo.com>
1622 * restrict.m4: Add copyright and copying conditions.
1624 2004-11-25 Paul Eggert <eggert@cs.ucla.edu>
1626 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
1627 GL_FUNC_GETCWD_PATH_MAX for consistency. All uses changed.
1628 Use the _ONCE methods, for efficiency.
1629 Check for fcntl.h. In test program, include <errno.h>
1630 and <fcntl.h> if available. Remove old K&R cruft from
1631 test program. Check for common errors in GNU/Linux,
1632 OpenBSD, and Solaris. Just set gl_cv_func_getcwd_path_max;
1633 don't do AC_LIBOBJ, as that's getcwd.m4's job.
1634 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
1635 AC_FUNC_GETCWD_NULL. All used changed. Change cache variable
1637 (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros. Revamp to
1638 accommodate new getcwd.c.
1639 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
1640 * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
1641 * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
1642 that's all we need now.
1644 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1646 * utimens.m4 (gl_UTIMENS): Check for futimes function.
1648 2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1650 * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
1651 argp-parse.c depends on getopt internals, that means we should
1652 always use our getopt, to be on the safe side.
1653 * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
1654 order not to spoil the result of an eventual previous invocation
1655 of gl_GETOPT_SUBSTITUTE.
1657 2004-11-17 Paul Eggert <eggert@cs.ucla.edu>
1659 * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
1660 that mishandle size_t overflow.
1662 2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
1664 * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
1666 2004-11-13 Jim Meyering <jim@meyering.net>
1668 * jm-macros.m4: Do require gl_FUNC_FPENDING.
1670 2004-11-11 Paul Eggert <eggert@cs.ucla.edu>
1672 * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead
1673 of replacing opterr, getopt, etc. This should handle the
1674 powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson.
1676 2004-11-11 Simon Josefsson <jas@extundo.com>
1678 * strtok_r.m4: New file.
1680 * getopt.m4: Replace opterr.
1682 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
1684 * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
1686 2004-11-10 Jim Meyering <jim@meyering.net>
1688 * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING.
1690 2004-11-08 Simon Josefsson <jas@extundo.com>
1692 * getaddrinfo.m4: New file.
1694 2004-11-09 Paul Eggert <eggert@cs.ucla.edu>
1696 * strftime.m4 (_gl_STRFTIME_PREREQS): Remove. Move its body to
1698 (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE
1699 and AC_REQUIRE when possible, to avoid duplicate checks.
1700 Check for <wchar.h>.
1702 2004-11-09 Bruno Haible <bruno@clisp.org>
1704 * sockpfaf.m4: New file.
1706 2004-11-03 Albert Chin <china@thewrittenword.com>
1707 Paul Eggert <eggert@cs.ucla.edu>
1709 * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
1710 equivalent, substitute $ac_type for equivalent type rather than
1711 blindly using uint32_t *always* which won't work if uint32_t is not
1712 available. Define _UINT32_T to work around typedef of uint32_t if
1713 <sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
1716 2004-11-02 Paul Eggert <eggert@cs.ucla.edu>
1718 * jm-macros.m4: Sync from coreutils.
1719 (gl_MACROS): Check for mbrlen, for pathchk.
1720 (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
1722 2004-11-02 Bruno Haible <bruno@clisp.org>
1724 * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv()
1727 2004-11-01 Paul Eggert <eggert@cs.ucla.edu>
1729 * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
1730 fflush_unlocked, flockfile, funlockfile, funlockfile,
1731 fputs_unlocked, putc_unlocked.
1733 2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
1735 * getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
1737 2004-10-15 Paul Eggert <eggert@cs.ucla.edu>
1739 * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
1740 implementation of getopt_long. Problem reported by Alexander Taler in:
1741 http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
1743 2004-10-11 Yoann Vandoorselaere <yoann@prelude-ids.org>
1745 * vsnprintf.m4: New file.
1747 2004-10-05 Bruno Haible <bruno@clisp.org>
1749 * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check
1750 for the declaration of strsep.
1752 2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
1754 * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove. All uses removed.
1756 * unlocked-io.m4: Add copyright notice.
1757 (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
1759 2004-10-04 Simon Josefsson <jas@extundo.com>
1761 * memmem.m4: New file.
1763 2004-10-01 Yoann Vandoorselaere <yoann@prelude-ids.org>
1765 * strsep.m4: New file.
1767 2004-09-30 Simon Josefsson <jas@extundo.com>
1769 * snprintf.m4: New file.
1771 2004-09-09 Bruno Haible <bruno@clisp.org>
1773 * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with
1775 * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
1777 2004-09-08 Bruno Haible <bruno@clisp.org>
1779 * stdint.m4: New file, taken from GNU clisp with modifications.
1781 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
1783 * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA.
1785 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
1787 * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody
1788 uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
1789 Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
1790 Check for program_invocation_name, program_invocation_short_name,
1791 flockfile, funlockfile, features.h, _getopt_long_only_r.
1793 2004-08-12 Simon Josefsson <jas@extundo.com>
1795 * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
1796 as discussed with Paul Eggert in threads rooted at
1797 <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
1799 <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
1800 Before, the test was empty, and relied on ELIDE_CODE in source
1802 (gl_PREREQ_GETOPT): New macro.
1803 (gl_GETOPT): Use them.
1805 2004-08-11 Paul Eggert <eggert@cs.ucla.edu>
1807 Merge from coreutils.
1809 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
1811 * obstack.m4 (gl_PREREQ_OBSTACK): Require
1812 gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
1814 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
1816 * uint32_t.m4, uintptr_t.m4: New files.
1817 * sha1.m4: Renamed from sha.m4.
1818 (gl_SHA1): Renamed from gl_SHA. All uses changed.
1820 2004-08-08 Simon Josefsson <jas@extundo.com>
1822 * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
1823 Check getpass declaration.
1825 2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
1827 More merge from coreutils.
1829 * utimens.m4, utimecmp.m4: New files.
1830 * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
1831 fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
1832 prereq.m4, sha.m4: Import changes from coreutils.
1834 2004-08-05 Paul Eggert <eggert@cs.ucla.edu>
1836 Merge from coreutils.
1838 * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
1841 * dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
1842 FILESYSTEM_PREFIX_LEN ->
1843 FILE_SYSTEM_PREFIX_LEN.
1844 FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX ->
1845 FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.
1846 FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR ->
1847 FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
1849 * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
1850 prerequisite modules now handle the DOS stuff.
1851 Don't check for unistd.h.
1853 2004-08-03 Simon Josefsson <jas@extundo.com>
1855 * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it.
1857 2004-08-02 Simon Josefsson <jas@extundo.com>
1859 * getsubopt.m4: New file.
1861 2004-08-03 Paul Eggert <eggert@cs.ucla.edu>
1863 * fatal.m4: Remove, as the "fatal" module wasn't used or working.
1865 2004-07-13 Robert Millan <robertmh@gnu.org>
1867 * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
1869 2004-06-22 Paul Eggert <eggert@cs.ucla.edu>
1871 * argz.m4: New file, which is autoupdated from libtool.
1873 2004-06-01 Jim Meyering <jim@meyering.net>
1875 * calloc.m4: New file.
1877 2004-06-01 Paul Eggert <eggert@cs.ucla.edu>
1879 Merge from coreutils CVS.
1881 * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4,
1882 makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4,
1883 putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4,
1884 strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4,
1885 xstrtol.m4: Fix copyright date and/or serial number.
1887 * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
1888 See if we need an fchown replacement.
1889 (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
1890 (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
1891 and use the replacement function if we detect either defect.
1893 * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR,
1896 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
1898 * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI
1899 C B3910B A.05.55 [Dec 04 2003]. Problem reported by Jim Meyering.
1900 Also, fix a typo in a diagnostic.
1902 2004-05-30 Paul Eggert <eggert@cs.ucla.edu>
1904 * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC
1907 2004-05-20 Andreas Schwab <schwab@suse.de>
1909 * free.m4: Replace free if it not known to work, not the other
1912 2004-05-17 Derek R. Price <derek@ximbiot.com>
1913 Paul Eggert <eggert@cs.ucla.edu>
1915 * argp: Depend on alloca.
1917 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
1919 * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
1920 for backward compatibility with older code. We need our own
1921 alloca.h if _AIX is defined. Define HAVE_ALLOCA if we discover
1922 it under some other name, and our alloca.h will define it.
1924 2004-05-13 Paul Eggert <eggert@cs.ucla.edu>
1926 * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC.
1927 Check for gettimeofday.
1928 * settime.m4 (gl_SETTIME): Require gl_TIMESPEC.
1929 Check for settimeofday, stime.
1931 2004-04-20 Paul Eggert <eggert@twinsun.com>
1933 * host-os.m4: Add a copyright notice.
1935 2004-04-20 Jim Meyering <jim@meyering.net>
1937 Change UTILS_ to gl_ in AC_DEFINE'd names.
1938 Change utils_- and jm_-prefixed variables, too.
1939 * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
1940 UTILS_FUNC_MKDIR_TRAILING_SLASH.
1941 * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
1943 * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
1944 Don't emit trailing blanks.
1945 Also rename jm_-prefixed variables to have gl_ prefix.
1947 * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS.
1948 Also rename jm_-prefixed variables to have gl_ prefix.
1950 * jm-macros.m4: Reflect the renamings.
1951 * prereq.m4: Likewise.
1953 2004-04-19 Jim Meyering <jim@meyering.net>
1955 * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
1956 now that readutmp.c may call `free (0)'.
1958 2004-04-19 Bruno Haible <bruno@clisp.org>
1960 * mbrtowc.m4: Change jm_ to gl_ in cache variables as well.
1961 * inttypes_h.m4: Likewise.
1962 * stdint_h.m4: Likewise.
1963 * intmax_t.m4: Likewise.
1964 * uintmax_t.m4: Likewise.
1966 2004-04-18 Jim Meyering <jim@meyering.net>
1968 * prereq.m4: Don't forbid jm_ prefix.
1970 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
1971 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4:
1972 * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4:
1973 * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4:
1974 * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4:
1975 * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4:
1976 * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
1977 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
1978 * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4:
1979 * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4:
1980 * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4:
1981 * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4:
1982 * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4:
1983 * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4:
1984 * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
1985 Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
1987 2004-04-16 Jim Meyering <jim@meyering.net>
1989 * prereq.m4 (jm_PREREQ_STAT): Remove macro. It is specific to
1990 coreutils' stat program.
1991 (gl_PREREQ): Don't require jm_PREREQ_STAT.
1993 2004-03-31 Jim Meyering <jim@meyering.net>
1995 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
1996 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
1997 * xalloc.m4: Likewise.
1999 2004-03-30 Jim Meyering <jim@meyering.net>
2001 * realloc.m4: Remove file, since now it does no more than
2002 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
2003 the `configure.ac' section of module/realloc.
2004 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
2006 2004-03-30 Paul Eggert <eggert@twinsun.com>
2008 Merge from coreutils.
2010 * inttostr.m4: New file.
2011 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
2012 Require AM_STDBOOL_H and gl_TIMESPEC instead.
2013 Require gl_CLOCK_TIME.
2014 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
2016 2004-03-30 Jim Meyering <jim@meyering.net>
2018 Merge from coreutils.
2020 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
2021 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
2022 on some systems one must include <grp.h> before it.
2023 Reported by Christian Krackowizer.
2025 2004-03-29 Paul Eggert <eggert@twinsun.com>
2027 * cloexec.m4: New file.
2029 2004-03-18 Paul Eggert <eggert@twinsun.com>
2030 Bruno Haible <bruno@clisp.org>
2032 * mbswidth.m4 (gl_MBSWIDTH): Also test whether <wchar.h> declares
2035 2004-03-07 Paul Eggert <eggert@twinsun.com>
2037 * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
2038 All uses changed. Check for sa_sigaction member; this fixes
2039 a bug first reported by Jason Andrade in
2040 <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
2042 2004-01-18 Simon Josefsson <jas@extundo.com>
2044 * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared.
2046 2004-02-18 Bruno Haible <bruno@clisp.org>
2048 * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
2049 Reported by Derek Robert Price <derek@ximbiot.com>.
2051 2004-02-06 Karl Berry <karl@gnu.org>
2053 * po.m4: update from gettext 0.14.1.
2055 2004-02-03 Bruno Haible <bruno@clisp.org>
2057 * pipe.m4: New file, from GNU gettext.
2059 2004-01-27 Bruno Haible <bruno@clisp.org>
2061 * execute.m4: New file, from GNU gettext.
2063 2003-11-24 Bruno Haible <bruno@clisp.org>
2065 * allocsa.m4: New file, from GNU gettext.
2067 2003-11-24 Bruno Haible <bruno@clisp.org>
2069 * eealloc.m4: New file, from GNU gettext.
2071 2004-01-15 Paul Eggert <eggert@twinsun.com>
2073 Merge from coreutils.
2075 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
2076 * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
2077 (gl_DEFAULT_POSIX2_VERSION): Move
2078 the documentation from 'configure' into 'config.hin',
2079 so that 'configure --help' isn't burdened by it and
2080 we don't have to worry about its formatting there.
2081 Reword the documentation so that it's more succinct
2082 and can be run together into a single paragraph.
2083 * same.m4 (gl_SAME): Check for pathconf.
2085 2004-01-15 Jim Meyering <jim@meyering.net>
2087 Merge from coreutils.
2089 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2090 if no library is required.
2091 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2092 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2093 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2094 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2095 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2096 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2097 value, $ac_cv_search_crypt, if it's "none required".
2098 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2099 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2100 not gl_FUNC_GETLOADAVG.
2101 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2102 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2104 2004-01-15 Alexandre Duret-Lutz <adl@gnu.org>
2106 Merge from coreutils.
2108 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2109 value, $ac_cv_search_nanosleep, if it's "none required".
2111 2003-12-03 Bruno Haible <bruno@clisp.org>
2113 * gettext.m4: Upgrade from gettext-0.13.
2114 * po.m4: Upgrade from gettext-0.13.
2115 * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
2116 * intmax.m4: New file, from gettext-0.13.
2117 * printf-posix.m4: New file, from gettext-0.13.
2119 2003-11-25 Bruno Haible <bruno@clisp.org>
2121 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require
2124 2003-11-17 Bruno Haible <bruno@clisp.org>
2126 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T.
2128 2003-11-12 Paul Eggert <eggert@twinsun.com>
2130 * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or
2133 2003-11-11 Bruno Haible <bruno@clisp.org>
2135 * size_max.m4: New file.
2136 * ptrdiff_max.m4: New file.
2137 * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
2138 * xalloc.m4 (gl_PREREQ_XALLOC): New macro.
2139 (gl_XALLOC): Invoke it.
2141 2003-11-04 Bruno Haible <bruno@clisp.org>
2143 * xsize.m4: New file.
2145 2003-11-03 Bruno Haible <bruno@clisp.org>
2147 * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid.
2149 2003-10-30 Paul Eggert <eggert@cs.ucla.edu>
2151 * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to
2152 netbsd*-gnu*. Suggested by Robert Millan.
2154 2003-10-29 Paul Eggert <eggert@twinsun.com>
2156 * xalloc.m4 (gl_XALLOC): Undo previous change.
2158 2003-10-29 Paul Eggert <eggert@twinsun.com>
2160 * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu. Add comments
2161 to it, and to knetbsd*-gnu and kfreebsd*-gnu. Remove the '*' from
2162 after the 'gnu' in these cases. This fixes some bugs in the
2163 previous change, and is based on suggestions by Robert Millan.
2165 2003-10-28 Paul Eggert <eggert@twinsun.com>
2167 * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and
2168 GNU/KNetBSD. These implementations use glibc atop the FreeBSD and
2169 NetBSD kernels. Requested by Richard Stallman.
2171 2003-10-26 Paul Eggert <eggert@twinsun.com>
2173 * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
2176 2003-10-23 Paul Eggert <eggert@twinsun.com>
2178 * getline.m4 (AM_FUNC_GETLINE):
2179 Don't include getndelim2.o twice into LIBOBJS; this breaks on some
2180 hosts. Problem reported by Derek Robert Price in
2181 <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
2182 This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
2183 * getndelim2.m4 (gl_GETNDELIM2): Likewise.
2185 2003-10-20 Bruno Haible <bruno@clisp.org>
2187 * wait-process.m4: New file.
2189 2003-10-14 Bruno Haible <bruno@clisp.org>
2191 * sig_atomic_t: New file, from GNU gettext.
2192 * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T.
2194 2003-10-12 Paul Eggert <eggert@twinsun.com>
2196 * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE.
2198 2003-10-10 Simon Josefsson <jas@extundo.com>
2200 * argp.m4: Add AC_C_INLINE.
2202 2003-10-08 Paul Eggert <eggert@twinsun.com>
2204 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2206 2003-10-06 Bruno Haible <bruno@clisp.org>
2208 * fatal-signal.m4: New file.
2209 * signalblocking.m4: New file, from GNU gettext.
2211 2003-09-27 Paul Eggert <eggert@twinsun.com>
2213 * free.m4: New file.
2215 2003-09-26 Bruno Haible <bruno@clisp.org>
2217 * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
2218 Don't define stpncpy through config.h; it's now done through stpncpy.h.
2220 2003-09-25 Simon Josefsson <jas@extundo.com>
2221 Bruno Haible <bruno@clisp.org>
2223 * getdomainname.m4: New file.
2225 2003-09-17 Paul Eggert <eggert@twinsun.com>
2227 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2228 to avoid spurious warnings like "AC_RUN_IFELSE was called before
2229 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2231 2003-09-12 Paul Eggert <eggert@twinsun.com>
2233 * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it.
2235 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2236 and AC_MINIX, too, so that their extensions are available.
2238 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
2239 This macro has been superseded by gl_BACKUPFILE.
2241 More patches to assume C89 or better.
2243 * error.m4 (gl_ERROR): Don't check for vprintf.
2245 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2247 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2248 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2249 Include <string.h>, <stdlib.h> unconditionally.
2250 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2251 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2252 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2254 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h
2257 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2258 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2259 * userspec.m4 (gl_USERSPEC): Likewise.
2260 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2261 * xstrtod.m4 (gl_XSTRTOD): Likewise.
2262 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2263 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2265 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2266 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2267 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2268 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2269 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2270 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2273 2003-09-11 Paul Eggert <eggert@twinsun.com>
2275 More patches to assume C89 or better.
2276 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2277 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2278 string.h, memchr, STDC_HEADERS.
2280 2003-09-10 Bruno Haible <bruno@clisp.org>
2282 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2283 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2284 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2285 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2286 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove
2287 <stdlib.h> and <string.h> checks.
2288 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2289 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2291 2003-09-09 Paul Eggert <eggert@twinsun.com>
2293 More patches to assume C89 or better.
2294 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2295 * getopt.m4 (gl_GETOPT): Don't check for string.h.
2296 * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
2298 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2299 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2301 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2303 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2304 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2305 * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
2307 * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
2308 * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
2310 * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
2312 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2313 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2314 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2315 * memcoll.m4 (gl_MEMCOLL): Likewise.
2316 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2317 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2319 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2320 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2321 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2322 C headers, or for string.h.
2323 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2324 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2325 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2326 headers, memory.h, stdlib.h, string.h, strings.h.
2327 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2328 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2329 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2331 * readtokens.m4 (gl_READTOKENS): Don't check for standard C
2332 headers, memory.h, string.h.
2333 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2334 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2336 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2337 * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
2338 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2339 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2340 * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
2341 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2343 2003-09-09 Derek Robert Price <derek@ximbiot.com>
2345 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2348 2003-09-08 Paul Eggert <eggert@twinsun.com>
2350 Assume C89 or better; remove K&R cruft.
2351 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2352 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2353 string.h, getenv, malloc.
2354 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2356 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2357 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2358 do not check for strerror.
2359 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2360 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2361 * fatal.m4 (gl_FATAL): Do not require STDC headers, and
2362 do not check for doprnt or vprintf.
2363 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
2364 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2366 2003-09-06 Paul Eggert <eggert@twinsun.com>
2368 * time_r.m4: New file.
2369 * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
2370 * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
2371 Check for timegm declaration.
2372 (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
2373 Do not check for gmtime_r.
2374 Replace mktime if __mktime_internal does not exist and if mktime
2375 hasn't been replaced already.
2377 2003-08-31 Simon Josefsson <jas@extundo.com>
2379 * timegm.m4: New file.
2381 2003-08-26 Bruno Haible <bruno@clisp.org>
2383 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2384 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2385 followed by '#define fnmatch fnmatch_posix' gives an error.
2387 2003-08-27 Jim Meyering <jim@meyering.net>
2389 * mkstemp.m4: Require that the system mkstemp be able to create
2390 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
2391 would fail after 32. Reported by Danny Levinson. Details here:
2392 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2394 2003-08-20 Karl Berry <karl@gnu.org>
2396 * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
2398 2003-08-19 Jim Meyering <jim@meyering.net>
2400 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2401 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2403 2003-08-19 Bruno Haible <bruno@clisp.org>
2405 * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
2407 2003-08-18 Jim Meyering <jim@meyering.net>
2409 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2410 * lib-ld.m4: Likewise.
2412 2003-08-17 Simon Josefsson <jas@extundo.com>
2414 * argp.m4: New file.
2416 2003-08-17 Simon Josefsson <jas@extundo.com>
2418 * xstrndup.m4: New file.
2420 2003-08-16 Jim Meyering <jim@meyering.net>
2422 * utimes.m4 (gl_FUNC_UTIMES): New file.
2423 * utimes.m4: Removed.
2424 * utimes-null.m4: Renamed from utimes.m4.
2426 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2427 to 1MB, so as not to render systems with no stack size limit (e.g.,
2428 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2429 Include <unistd.h>. On some systems,
2430 it is required for the definition of _SC_PAGESIZE.
2432 2003-08-16 Paul Eggert <eggert@twinsun.com>
2434 Merges from coreutils, etc.
2435 * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
2436 error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28.
2437 * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
2439 * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
2440 * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
2442 2003-08-16 Jim Meyering <jim@meyering.net>
2443 and Paul Eggert <eggert@cs.ucla.edu>
2445 Merges from coreutils, etc.
2447 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
2448 using the latest version from cvs. This avoids problems with #line
2449 directives using a vendor (Sun) compiler.
2450 (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
2451 Don't set GETGROUPS_LIB here; now it's
2452 done via getgroups.m4's wrapper function.
2453 AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
2454 rather than just in sh-util/configure.in, so that the
2455 now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
2457 Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
2458 AC_FUNC_GETLOADAVG where to find getloadavg.c.
2459 Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
2460 UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
2461 gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
2462 Remove code that is now done by the newly-required macros.
2463 Append $(EXEEXT) to DF_PROG.
2464 AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
2465 Do not invoke or require the following here,
2466 since prereq.m4 or some gnulib .m4 now does this for us:
2467 gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
2468 jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
2469 jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
2470 jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
2471 jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
2472 AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
2473 vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
2475 Do not replace the following functions, as this is now the job
2476 of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
2477 getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
2478 strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
2479 atexit getpass, strdup, getpagesize.
2481 Do not check for the following functions, as this is now the job
2482 of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
2483 getcwd, getmntinfo, resolvepath. But check for sysctl, setreuid,
2485 (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
2486 Check for sys/sysctl.h.
2487 (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
2488 jm_CHECK_TYPE_STRUCT_TIMESPEC. Invoke gt_TYPE_SSIZE_T instead
2489 of checking for ssize_t ourselves.
2491 * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
2492 Require every macro that gnulib/modules/* suggests for us.
2493 (jm_PREREQ_ADDEXT): New macro.
2494 (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
2495 Require jm_AC_TYPE_LONG_LONG instead of invoking it.
2497 * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
2498 (gl_PHYSMEM): Use it.
2499 Also check for `table' function.
2500 Check for new headers and functions.
2501 Add check for sys/sysmp.h.
2502 With suggestions from Kaveh Ghazi.
2503 Ignore headers that are present but cannot be compiled. This
2504 avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
2507 2003-08-16 Jim Meyering <jim@meyering.net>
2509 Merges from coreutils.
2510 * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
2511 prefix. Adjust cache variables similarly. Create 500 rather than
2512 just 300 files, to exercise bug on Darwin6.5, too.
2513 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
2514 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
2515 Reported by mkc@mathdogs.com.
2516 Also change use of $am_cv_sys_posix_termios
2517 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
2518 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
2519 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
2520 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
2521 /proc/mounts until it finds one with matching device number. This is
2522 unnecessary when the FILE argument *is* a mount point. No stat call
2523 is necessary in that case. So, disable the statvfs-testing code on
2524 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
2525 as RedHat bug# 84846.
2526 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2527 to 1MB, so as not to render systems with no stack size limit (e.g.,
2528 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2529 Include <unistd.h>. On some systems,
2530 it is required for the definition of _SC_PAGESIZE.
2532 2003-08-15 Jim Meyering <jim@meyering.net>
2533 and Paul Eggert <eggert@cs.ucla.edu>
2535 Merges from coreutils, etc.
2536 * strftime.m4 (_jm_STRFTIME_PREREQS):
2537 Require gl_FUNC_TZSET_CLOBBER.
2538 * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
2539 ut_exit.ut_termination, and ut_exit.e_termination members.
2541 2003-08-14 Paul Eggert <eggert@twinsun.com>
2543 Help the merge from coreutils.
2544 * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
2545 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
2546 * tzset.m4: Use it too.
2548 2003-08-14 Jim Meyering <jim@meyering.net>
2550 Merge from coreutils.
2551 * tzset.m4: New file.
2552 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
2553 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
2554 systems would end up using the latter. MOUNTED_GETMNTENT1 support
2555 is inadequate on such systems: 1) detecting whether a file system
2556 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
2557 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
2558 merely /MOUNT_POINT. Reported by Mike Jetzer.
2560 2003-08-13 Paul Eggert <eggert@twinsun.com>
2562 * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
2565 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2566 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2567 Undo previous (whitespace-only) change.
2569 2003-08-12 Paul Eggert <eggert@twinsun.com>
2571 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2572 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2573 Normalize leading white space and remove trailing white space.
2575 Merge from coreutils
2576 * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
2578 * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
2579 0.12.1. These files are now being upgraded automatically by
2580 ../config/srclist-update.
2582 2003-08-11 Bruno Haible <bruno@clisp.org>
2584 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
2586 2003-08-09 Paul Eggert <eggert@twinsun.com>
2588 * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
2589 apparently Emacs's Unicode mode got confused before my 2003-08-05
2592 2003-08-08 Paul Eggert <eggert@twinsun.com>
2594 * extensions.m4: New file.
2595 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
2596 Require gl_USE_SYSTEM_EXTENSIONS.
2597 * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
2598 Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
2600 2003-08-07 Paul Eggert <eggert@twinsun.com>
2602 * restrict.m4: New file.
2603 * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
2605 2003-08-07 Bruno Haible <bruno@clisp.org>
2607 * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
2608 the module 'getndelim2' compatible with the module 'getline'.
2610 2003-08-05 Paul Eggert <eggert@twinsun.com>
2612 * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
2613 byte with "\201" to avoid glitches when editing that source file
2614 with multi-gnome-terminal.
2616 2003-07-31 Bruno Haible <bruno@clisp.org>
2618 * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
2620 2003-07-18 Bruno Haible <bruno@clisp.org>
2622 * getndelim2.m4: New file.
2623 * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
2624 invoke gl_PREREQ_GETNDELIM2.
2625 (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
2626 gl_PREREQ_GETNDELIM2.
2627 * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
2630 2003-07-17 Bruno Haible <bruno@clisp.org>
2632 * Makefile.am.in: Remove file.
2633 * Makefile.am: Remove file.
2634 * Makefile.in: Remove file.
2636 2003-07-17 Bruno Haible <bruno@clisp.org>
2638 * getnline.m4: New file.
2640 2003-07-14 Simon Josefsson <jas@extundo.com>
2642 * mempcpy.m4: New file.
2644 2003-07-10 Jim Meyering <jim@meyering.net>
2646 * clock_time.m4: Remove trailing blank.
2647 * intmax_t.m4: Likewise.
2649 2003-07-01 Paul Eggert <eggert@twinsun.com>
2651 * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
2652 xreadlink.c now includes it unconditionally.
2654 2003-07-01 Bruno Haible <bruno@clisp.org>
2656 * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
2657 should be sufficient.
2658 Reported by Paul Eggert.
2660 2003-06-25 Bruno Haible <bruno@clisp.org>
2662 * readlink.m4: New file.
2664 2003-06-22 Bruno Haible <bruno@clisp.org>
2666 Portability to mingw32.
2667 * ssize_t.m4: New file, from GNU gettext.
2668 * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
2669 * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
2671 2003-06-11 Bruno Haible <bruno@clisp.org>
2673 * sysexits.m4: New file.
2675 2003-06-10 Simon Josefsson <jas@extundo.com>
2677 * strchrnul.m4: New file.
2679 2003-06-07 Bruno Haible <bruno@clisp.org>
2681 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
2682 gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
2683 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2685 * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
2686 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2689 2003-06-04 Paul Eggert <eggert@twinsun.com>
2691 * human.m4 (gl_HUMAN): Require AM_STDBOOL_H. Check for
2692 locale.h, localeconv. This merges changes from coreutils.
2694 * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
2695 It can be removed after the next Autoconf is released.
2696 * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
2699 2003-05-30 Bruno Haible <bruno@clisp.org>
2701 * gettext.m4: Upgrade to gettext-0.12.1.
2702 * nls.m4: New file, from gettext-0.12.1.
2703 * po.m4: New file, from gettext-0.12.1.
2704 * progtest.m4: Upgrade to gettext-0.12.1.
2706 2003-05-28 Paul Eggert <eggert@twinsun.com>
2708 Assume the headers required for C89 freestanding compilers.
2709 * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
2710 * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
2711 * human.m4 (gl_HUMAN): Likewise.
2712 * pathmax.m4 (gl_PATHMAX): Likewise.
2713 * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
2714 * userspec.m4 (gl_USERSPEC): Likewise.
2715 * xreadlink.m4 (gl_XREADLINK): Likewise.
2716 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2717 * quote.m4 (gl_QUOTE): Don't check for stddef.h.
2719 2003-05-26 Jim Meyering <jim@meyering.net>
2721 Merge in a change from coreutils:
2722 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
2723 that is guaranteed to be `no'. Use `no_such_member' to indicate
2724 that condition, rather than `-1' which is slightly misleading.
2725 Change the name of the cache variable to have the gl_ prefix.
2726 Prompted by a patch from Richard Dawe for DJGPP.
2728 2003-05-17 Bruno Haible <bruno@clisp.org>
2730 * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
2731 expansion for AC_EGREP_CPP.
2732 * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
2733 * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
2734 Suggested by Akim Demaille <akim@epita.fr> in
2735 http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
2737 2003-04-21 Paul Eggert <eggert@twinsun.com>
2739 * error.m4 (gl_ERROR): Do not put under dynamic conditions some
2740 code which expansion is under static control. Patch imported from
2741 Akim Demaille's patch to Bison; see
2742 <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
2744 2003-04-14 Bruno Haible <bruno@clisp.org>
2746 * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
2748 2003-04-10 Bruno Haible <bruno@clisp.org>
2750 * findprog.m4: New file.
2751 * eaccess.m4: New file.
2753 2003-04-04 Bruno Haible <bruno@clisp.org>
2755 * linebreak.m4: New file.
2757 2003-04-03 Bruno Haible <bruno@clisp.org>
2759 * utf-ucs4.m4: New file.
2760 * ucs4-utf.m4: New file.
2762 2003-03-30 Bruno Haible <bruno@clisp.org>
2764 * copy-file.m4 (gl_COPY_FILE): Add check for chown().
2766 2003-03-28 Bruno Haible <bruno@clisp.org>
2768 * copy-file.m4: New file.
2770 2003-03-18 Bruno Haible <bruno@clisp.org>
2772 * onceonly.m4: Use m4_defn instead of defn, for better error checking.
2773 * onceonly_2_57.m4: Likewise.
2775 2003-03-17 Bruno Haible <bruno@clisp.org>
2777 * onceonly.m4: Require autoconf 2.54 or newer.
2778 (m4_quote): Remove macro.
2779 * onceonly_2_57.m4: Require autoconf 2.54 or newer.
2781 2003-03-14 Bruno Haible <bruno@clisp.org>
2783 * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
2784 AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
2786 2003-03-13 Paul Eggert <eggert@twinsun.com>
2788 * onceonly.m4 (m4_quote): New macro.
2789 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
2790 Quote AC_FOREACH variable-expansions properly.
2792 2003-02-19 Paolo Bonzini <bonzini@gnu.org>
2794 * poll.m4: New file.
2796 2003-02-18 Paolo Bonzini <bonzini@gnu.org>
2798 * mathl.m4: New file.
2800 2003-02-17 Bruno Haible <bruno@clisp.org>
2802 * mkdtemp.m4: New file, from GNU gettext with modifications.
2804 2003-02-02 Jim Meyering <jim@meyering.net>
2806 * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
2809 2003-01-31 Bruno Haible <bruno@clisp.org>
2811 * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
2813 * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
2815 * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
2817 * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
2820 2003-01-30 Bruno Haible <bruno@clisp.org>
2822 * signed.m4: New file, from GNU gettext.
2823 * longdouble.m4: New file, from GNU gettext.
2824 * wchar_t.m4: New file, from GNU gettext.
2825 * wint_t.m4: New file, from GNU gettext.
2826 * vasnprintf.m4: New file.
2827 * vasprintf.m4: New file.
2829 2003-01-29 Bruno Haible <bruno@clisp.org>
2831 * stpncpy.m4: New file.
2833 2003-01-23 Jim Meyering <jim@meyering.net>
2835 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
2836 from working on systems without dirfd (at least Irix and OSF1/Tru64).
2838 2003-01-16 Jim Meyering <jim@meyering.net>
2840 * regex.m4: The `regex' struct is both input and output.
2841 Initialize it before each use. Patch by Tim Waugh.
2843 2003-01-11 Bruno Haible <bruno@clisp.org>
2845 * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
2846 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
2849 2003-01-11 Bruno Haible <bruno@clisp.org>
2851 * md5.m4 (gl_MD5): Require AC_C_INLINE.
2853 2003-01-11 Bruno Haible <bruno@clisp.org>
2855 * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
2857 2003-01-12 Paul Eggert <eggert@twinsun.com>
2859 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
2860 to avoid collisions with libcurses and libreadline.
2862 * getstr.m4: Remove.
2863 * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
2865 2003-01-10 Bruno Haible <bruno@clisp.org>
2867 * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
2869 2003-01-09 Bruno Haible <bruno@clisp.org>
2871 * stdbool.m4 (AM_STDBOOL_H): New macro.
2873 2002-12-31 Paul Eggert <eggert@twinsun.com>
2875 * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
2877 2002-12-24 Bruno Haible <bruno@clisp.org>
2879 General infrasructure.
2880 * README: Rewritten.
2881 * onceonly.m4: New file.
2882 * onceonly_2_57.m4: New file.
2885 * atexit.m4: New file.
2888 * strtod.m4: New file.
2891 * strtol.m4: New file.
2894 * strtoul.m4: New file.
2897 * memchr.m4: New file.
2900 * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
2901 (jm_FUNC_MEMCMP): Invoke it.
2904 * memcpy.m4: New file.
2907 * memmove.m4: New file.
2910 * memset.m4: New file.
2913 * strcspn.m4: New file.
2916 * strpbrk.m4: New file.
2919 * strstr.m4: New file.
2922 * strerror.m4: New file.
2925 * mktime.m4: Renamed from jm-mktime.m4.
2926 (gl_PREREQ_MKTIME): New macro.
2927 (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
2930 * malloc.m4 (gl_PREREQ_MALLOC): New macro.
2931 (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
2932 Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
2935 * realloc.m4 (gl_PREREQ_REALLOC): New macro.
2936 (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
2937 Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
2940 * tm_gmtoff.m4: New file, extracted from strftime.m4.
2941 * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
2942 Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
2944 (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
2947 * xalloc.m4: New file.
2950 * alloca.m4: New file.
2953 * putenv.m4 (gl_PREREQ_PUTENV): New macro.
2954 (jm_FUNC_PUTENV): Invoke it.
2957 * setenv.m4 (gt_FUNC_SETENV): New macro.
2958 (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
2960 (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
2964 * memrchr.m4: New file.
2967 * stpcpy.m4: New file.
2970 * strcase.m4: New file.
2973 * strdup.m4: New file.
2976 * strnlen.m4: New file.
2979 * strndup.m4: New file.
2982 * xstrtod.m4: New file.
2985 * xstrtol.m4: New file.
2988 * getdate.m4: New file.
2991 * unlocked-io.m4: Renamed from jm-glibc-io.m4.
2992 (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
2993 * jm-glibc-io.m4n: Remove file.
2995 Module long-options.
2996 * long-options.m4: New file.
3005 * getstr.m4: New file.
3008 * getline.m4 (gl_PREREQ_GETLINE): New macro.
3009 (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
3010 <sys/types.h>, for size_t. Use the function name gnu_getline, not
3011 simply getline. Infoke gl_PREREQ_GETLINE.
3014 * obstack.m4: New file.
3017 * hash.m4: New file.
3020 * readtokens.m4: New file.
3023 * strverscmp.m4: New file.
3026 * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
3029 * strtoll.m4: New file.
3032 * strtoull.m4: New file.
3035 * strtoimax.m4: New file.
3038 * strtoumax.m4: New file.
3041 * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
3042 Moved the strtol prerequisites to strtol.m4.
3043 Moved the strtoll prerequisites to strtoll.m4.
3044 Moved the strtoimax prerequisites to strtoimax.m4.
3047 * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
3048 Moved the strtoul prerequisites to strtoul.m4.
3049 Moved the strtoull prerequisites to strtoull.m4.
3050 Moved the strtoumax prerequisites to strtoumax.m4.
3053 * chown.m4 (gl_PREREQ_CHOWN): New macro.
3054 (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
3057 * dup2.m4: New file.
3060 * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
3061 (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
3064 * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
3065 (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
3067 Module gettimeofday.
3068 * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
3069 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
3070 gl_PREREQ_GETTIMEOFDAY.
3073 * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
3074 (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
3077 * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
3078 (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
3079 jm_AC_TYPE_UINTMAX_T.
3080 (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
3083 * stat.m4 (gl_PREREQ_STAT): New macro.
3084 (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
3087 * lstat.m4 (gl_PREREQ_LSTAT): New macro.
3088 (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
3091 * timespec.m4 (gl_TIMESPEC): New macro.
3092 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
3093 * st_mtim.m4: Indentation.
3096 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
3097 (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
3098 gl_PREREQ_NANOSLEEP.
3101 * regex.m4 (jm_PREREQ_REGEX): New macro.
3102 (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
3103 (gl_REGEX): New macro.
3106 * rename.m4 (gl_PREREQ_RENAME): New macro.
3107 (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
3110 * rmdir.m4: New file.
3113 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
3114 * utime.m4 (gl_PREREQ_UTIME): New macro.
3115 (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
3118 * dirname.m4: New file.
3121 * getopt.m4: New file.
3123 Module unistd-safer.
3124 * unistd-safer.m4: New file.
3127 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
3129 (gl_PREREQ_FNMATCH_EXTRA): New macro.
3130 (gl_FUNC_FNMATCH_POSIX): New macro.
3131 (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
3132 gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
3136 * exclude.m4: New file.
3139 * human.m4: New file.
3145 * backupfile.m4: New file.
3146 * d-ino.m4: Indentation.
3149 * fsusage.m4 (gl_FSUSAGE): New macro.
3150 (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
3151 (gl_PREREQ_FSUSAGE_EXTRA): New macro.
3154 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
3157 * euidaccess.m4: New file.
3160 * file-type.m4: New file.
3163 * fileblocks.m4: New file.
3166 * filemode.m4: New file.
3169 * isdir.m4: New file.
3172 * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
3173 (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
3176 * makepath.m4: New file.
3179 * modechange.m4: New file.
3182 * mountlist.m4: New file.
3183 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
3187 * path-concat.m4: New file.
3190 * pathmax.m4: New file.
3193 * same.m4: New file.
3196 * save-cwd.m4: New file.
3199 * savedir.m4: New file.
3202 * xgetcwd.m4: New file.
3203 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
3206 * xreadlink.m4: New file.
3209 * safe-read.m4: New file.
3212 * safe-write.m4: New file.
3215 * closeout.m4: New file.
3218 * stdio-safer.m4: New file.
3221 * getpass.m4: New file.
3224 * getugroups.m4: New file.
3226 Module group-member.
3227 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
3228 (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
3231 * idcache.m4: New file.
3234 * userspec.m4: New file.
3237 * clock_time.m4: New file.
3238 * gettime.m4: New file.
3241 * settime.m4: New file.
3244 * posixtm.m4: New file.
3247 * gethostname.m4: New file.
3250 * canon-host.m4: New file.
3253 * codeset.m4: New file, from gettext-0.11.5.
3254 * gettext.m4: New file, from gettext-0.11.5.
3255 * glibc21.m4: New file, from gettext-0.11.5.
3256 * iconv.m4: New file, from gettext-0.11.5.
3257 * intdiv0.m4: New file, from gettext-0.11.5.
3258 * inttypes-pri.m4: New file, from gettext-0.11.5.
3259 * inttypes.m4: New file, from gettext-0.11.5.
3260 * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
3261 * isc-posix.m4: New file, from gettext-0.11.5.
3262 * lcmessage.m4: New file, from gettext-0.11.5.
3263 * lib-ld.m4: New file, from gettext-0.11.5.
3264 * lib-link.m4: New file, from gettext-0.11.5.
3265 * lib-prefix.m4: New file, from gettext-0.11.5.
3266 * progtest.m4: New file, from gettext-0.11.5.
3267 * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
3268 * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
3269 * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
3271 Module localcharset.
3272 * localcharset.m4: New file.
3275 * hard-locale.m4: New file.
3278 * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
3280 * mbrtowc.m4: Add comment.
3283 * memcasecmp.m4: New file.
3286 * memcoll.m4: New file.
3289 * unicodeio.m4: New file.
3292 * rpmatch.m4: New file.
3295 * yesno.m4: New file.
3298 * exitfail.m4: New file.
3301 * c-stack.m4 (gl_C_STACK): New macro.
3302 (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
3305 * error.m4 (gl_ERROR): New macro.
3306 (jm_PREREQ_ERROR): Use onceonly macros.
3309 * fatal.m4: New file.
3312 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
3313 (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
3316 * getpagesize.m4: New file.
3318 Module getusershell.
3319 * getusershell.m4: New file.
3322 * physmem.m4: New file.
3325 * posixver.m4: New file.
3328 * quotearg.m4: New file.
3331 * quote.m4: New file.
3334 * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
3337 * sig2str.m4: New file.
3340 * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
3342 * intmax_t.m4: New file.
3343 * d-type.m4: Indentation.
3344 * jm-macros.m4: Update.
3345 * prereq.m4 (jm_PREREQ): Update.
3346 (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
3347 (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
3348 (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
3349 (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
3350 (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
3351 (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
3352 (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
3353 (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
3354 (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
3355 (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
3356 (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
3357 (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
3358 (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
3359 (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
3360 (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
3361 (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
3362 (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
3363 (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
3364 * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
3366 2002-12-18 Bruno Haible <bruno@clisp.org>
3368 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
3369 * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
3371 2002-12-17 Bruno Haible <bruno@clisp.org>
3373 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
3376 2002-12-11 Bruno Haible <bruno@clisp.org>
3378 * setenv.m4: New file, from gettext-0.11.5.
3380 2002-12-06 Paul Eggert <eggert@twinsun.com>
3382 Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
3383 a pain in practice to deal with generated m4 files. This change
3384 goes together with the 2002-12-04 unlocked-io.h change in ../lib.
3386 * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
3387 and jm-glibc-io.m4, as they are no longer a special case.
3388 * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
3389 kludge and the auto-generation stuff. Check only whether the
3390 functions are declared, not whether they exist, since older hosts
3391 that don't declare the functions can't use the optimization anyway.
3393 2002-07-06 Jim Meyering <meyering@lucent.com>
3395 * README: Don't mention Makefile.am.in.
3396 Outline how I've tested changes to .m4 files. Yep, it's a pain.
3398 2002-06-11 Paul Eggert <eggert@twinsun.com>
3400 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
3402 2002-06-22 Jim Meyering <meyering@lucent.com>
3404 * c-stack.m4: New file, from diffutils-2.8.2.
3405 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
3407 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
3408 now that configure.ac uses AC_GNU_SOURCE.
3409 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
3410 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
3412 Update to latest tools. Suggestions from Paul Eggert.
3413 * stdbool.m4: New file, from diffutils-2.8.2.
3414 * gnu-source.m4: Update from diffutils-2.8.2.
3415 * fnmatch.m4: Likewise.
3416 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
3417 to AC_HEADER_STDBOOL
3419 2002-06-21 Jim Meyering <meyering@lucent.com>
3421 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
3422 * mbrtowc.m4: Likewise.
3424 * mbstate_t.m4: Update from diffutils-2.8.2.
3425 * mbswidth.m4: Reflect name change:
3426 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
3427 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3429 * lib-link.m4: Update from gettext-0.11.2.
3430 * gettext.m4: Likewise.
3432 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
3433 From Alfred M. Szmidt.
3435 2002-05-19 Paul Eggert <eggert@twinsun.com>
3437 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
3439 2002-06-07 Jim Meyering <meyering@lucent.com>
3441 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
3442 They're needed at least for NetBSD 1.5.2.
3443 ($statxfs_includes): Include those same headers.
3444 ($statxfs_includes): Include sys/vfs.h if available.
3445 ($statxfs_includes): Likewise for sys/statvfs.h.
3446 Check for the following members in both structs statfs and statvfs:
3447 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
3449 2002-06-01 Jim Meyering <meyering@lucent.com>
3451 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
3452 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
3454 2002-05-28 Jim Meyering <meyering@lucent.com>
3456 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
3457 Reported by Volker Borchert.
3459 2002-05-27 Jim Meyering <meyering@lucent.com>
3461 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
3464 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
3465 use the replacement function; it wouldn't resolve at link time.
3466 Reported by Volker Borchert.
3468 2002-04-30 Jim Meyering <meyering@lucent.com>
3470 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
3472 2002-04-29 Paul Eggert <eggert@twinsun.com>
3474 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
3475 Do not check for alloca.h (no longer used) or stdbool.h (was never
3476 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
3478 2002-04-28 Paul Eggert <eggert@twinsun.com>
3480 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
3482 2002-04-29 Jim Meyering <meyering@lucent.com>
3484 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
3485 * prereq.m4: Add jm_PREREQ_STRNLEN.
3486 Use AC_FUNC_STRNLEN here instead.
3488 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
3489 With autoconf-2.53a, it's part of AC_PROG_CC.
3491 2002-04-28 Paul Eggert <eggert@twinsun.com>
3493 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
3494 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
3496 2002-04-24 Jim Meyering <meyering@lucent.com>
3498 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
3499 (jm_PREREQ): Use it.
3501 * getloadavg.m4: Check for these headers: locale.h unistd.h
3502 mach/mach.h fcntl.h.
3503 Check for this function: setlocale.
3505 2002-04-16 Jim Meyering <meyering@lucent.com>
3507 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
3508 ut_pid, ut_id, ut_exit.
3510 2002-04-12 Jim Meyering <meyering@lucent.com>
3512 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
3513 check for f_type in sys/mount.h. Instead, just test for the existence
3514 of the getmntinfo function. Needed for Darwin 5.3.
3516 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
3517 This is necessary at least on Darwin 5.3.
3519 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
3520 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
3521 in the library, and that makes some versions of ranlib object.
3523 2002-04-09 Jim Meyering <meyering@lucent.com>
3525 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
3526 to be more precise. Rather than saying we're checking whether the
3527 function `works', say what we're testing.
3528 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
3529 Reported by Bruno Haible.
3531 2002-02-27 Paul Eggert <eggert@twinsun.com>
3533 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
3534 Check for clock_settime.
3536 2002-02-25 Paul Eggert <eggert@twinsun.com>
3539 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
3540 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
3542 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
3544 * codeset.m4: Upgrade to gettext-0.11.
3545 * gettext.m4: Upgrade to gettext-0.11.
3546 * glibc21.m4: Upgrade to gettext-0.11.
3547 * iconv.m4: Upgrade to gettext-0.11.
3548 * isc-posix.m4: Upgrade to gettext-0.11.
3549 * lcmessage.m4: Upgrade to gettext-0.11.
3550 * lib-ld.m4: New file, from gettext-0.11.
3551 * lib-link.m4: New file, from gettext-0.11.
3552 * lib-prefix.m4: New file, from gettext-0.11.
3553 * progtest.m4: Upgrade to gettext-0.11.
3555 2002-02-15 Paul Eggert <eggert@twinsun.com>
3557 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
3558 (jm_PREREQ): Use it.
3560 2002-01-26 Jim Meyering <meyering@lucent.com>
3562 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
3563 * strnlen.m4: Remove file, now that it's part of autoconf.
3565 2002-01-22 Paul Eggert <eggert@twinsun.com>
3567 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
3569 2002-01-19 Jim Meyering <meyering@lucent.com>
3571 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
3572 Remove useless quotes: DF_PROG="df".
3573 * strnlen.m4: New file.
3575 2001-12-14 Jim Meyering <meyering@lucent.com>
3577 * jm-macros.m4 (jm_MACROS): Check for iswspace.
3578 Suggestion from Bruno Haible.
3580 2001-11-20 Jim Meyering <meyering@lucent.com>
3582 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
3583 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
3585 2001-11-19 Jim Meyering <meyering@lucent.com>
3587 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
3588 directory. Use "conftestXXXXXX" as the template.
3589 Suggestion from Paul Eggert.
3591 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
3592 so the test doesn't mistakenly hit the max-open-files limit.
3594 2001-11-18 Jim Meyering <meyering@lucent.com>
3596 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
3598 2001-11-17 Jim Meyering <meyering@lucent.com>
3600 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
3601 Prompted by a report from Bob Proulx.
3603 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
3604 Instead, require UTILS_FUNC_MKSTEMP.
3606 2001-11-11 Jim Meyering <meyering@lucent.com>
3608 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
3609 Now, that's done as part of AC_FUNC_STRTOD.
3611 2001-10-22 Paul Eggert <eggert@twinsun.com>
3613 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
3614 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
3616 2001-11-10 Jim Meyering <meyering@lucent.com>
3618 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
3619 (jm_PREREQ): Use it.
3621 2001-11-09 Jim Meyering <meyering@lucent.com>
3623 * jm-macros.m4: Require autoconf-2.52f.
3624 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
3625 Use these AC_-prefixed names, not the AM_-prefixed ones.
3627 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
3629 2001-11-04 Jim Meyering <meyering@lucent.com>
3631 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
3633 2001-11-03 Jim Meyering <meyering@lucent.com>
3635 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
3638 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
3639 know the name of the variable in the macro definition.
3641 2001-11-01 Jim Meyering <meyering@lucent.com>
3643 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
3644 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
3646 2001-10-20 Paul Eggert <eggert@twinsun.com>
3648 * error.m4 (jm_PREREQ_ERROR):
3649 Do not invoke AC_CHECK_FUNCS with strerror_r, as
3650 AC_FUNC_STRERROR_R does that.
3651 Check for strerror declaration.
3653 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
3654 are supposed to have them these days.
3655 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
3656 Merge changes from latest Autoconf CVS.
3657 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3658 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3659 POSIX decided to standardize on the int flavor of strerror_r.
3661 2001-09-30 Jim Meyering <meyering@lucent.com>
3663 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
3664 `struct fsstat' has the `f_fstypename' member.
3665 Use that to define FS_TYPE, which is now used to make
3666 the getfsstat link test tighter.
3668 2001-09-29 Jim Meyering <meyering@lucent.com>
3670 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3671 [one-argument getmntent function]): Include stdio.h before mntent.h.
3672 SunOS 4.1.x needs it for the declaration of `FILE'.
3673 Patch by Volker Borchert.
3675 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3676 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
3677 sys/fs_types.h, and make the link-test for getfsstat guard #include
3678 directives with appropriate #if HAVE_*_H tests so that we can
3679 detect getfsstat on Apple Darwin1.3.7 systems.
3680 Reported by Nelson Beebe.
3681 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
3683 2001-09-28 Paul Eggert <eggert@twinsun.com>
3685 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
3686 #defines strtoimax. Also treat the other strto* functions
3689 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3690 Check for strtoul and strtoumax,
3691 as those declarations are made even in the signed case.
3692 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
3693 Likewise, for strtol and strtoimax.
3695 2001-09-24 Jim Meyering <meyering@lucent.com>
3697 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
3699 2001-09-23 Jim Meyering <meyering@lucent.com>
3701 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
3702 instead of the mere test for existence of mntent.h. The latter
3703 would get a false-positive on AIX 3.4 systems.
3704 In the outer getmntent if-block, don't die if neither of the getmntent
3705 tests succeeds. Instead, just fall through and continue with the
3708 2001-09-22 Jim Meyering <meyering@lucent.com>
3710 * gettext.m4: New file. From gettext.
3711 * lcmessage.m4: Sync with gettext -- this changes only comments.
3712 * progtest.m4: Likewise
3713 * isc-posix.m4: Decrement serial number to sync with gettext.
3714 * glibc21.m4: Likewise.
3716 * libintl.m4: Remove. No longer used.
3718 2001-09-20 Jim Meyering <meyering@lucent.com>
3720 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
3722 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
3725 2001-09-17 Jim Meyering <meyering@lucent.com>
3727 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
3728 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
3729 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
3730 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
3731 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
3732 whenever the right hand side need not be expanded by the shell.
3734 2001-09-16 Paul Eggert <eggert@twinsun.com>
3736 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
3737 library. It's not correct, as some older glibcs are buggy.
3738 fnmatch wasn't fixed until glibc 2.2.
3740 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
3741 special shell magic here.
3743 2001-09-16 Jim Meyering <meyering@lucent.com>
3745 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
3746 * jm-macros.m4: Require it.
3748 2001-09-15 Jim Meyering <meyering@lucent.com>
3750 * jm-macros.m4: Check for help2man.
3752 2001-09-11 Jim Meyering <meyering@lucent.com>
3754 * host-os.m4 (UTILS_HOST_OS): New file/macro.
3755 The body, by Paul Eggert, was moved here from configure.in.
3756 * jm-macros.m4: Require UTILS_HOST_OS.
3758 2001-09-04 Paul Eggert <eggert@twinsun.com>
3760 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
3761 (jm_PREREQ): Use it.
3763 2001-09-03 Paul Eggert <eggert@twinsun.com>
3765 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
3766 sys/param.h, as pathmax.h includes them.
3768 2001-09-03 Paul Eggert <eggert@twinsun.com>
3770 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
3771 (jm_PREREQ_XGETCWD): New macro.
3773 * getcwd.m4: New file.
3775 2001-09-01 Jim Meyering <meyering@lucent.com>
3777 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
3780 2001-08-30 Paul Eggert <eggert@twinsun.com>
3782 Simplify code, partly by assuming autoconf 2.52 semantics.
3784 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
3786 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
3787 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
3789 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
3790 Move AC_REQUIRE to next-to-top level, to avoid confusion.
3791 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
3792 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
3793 * jm-macros.m4 (jm_MACROS): Likewise.
3795 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
3797 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3798 Quote first arg of AC_DEFUN.
3799 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
3800 since they are needed to parse the include file even if we need
3801 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
3802 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
3803 but with opposite signedness.
3805 2001-08-30 Paul Eggert <eggert@twinsun.com>
3807 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
3808 (jm_PREREQ_EXCLUDE): New macro.
3810 2001-08-26 Jim Meyering <meyering@lucent.com>
3812 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
3814 * xstrtoimax.m4: New file.
3815 * xstrtoumax.m4: Add comments explaining why we
3816 AC_REPLACE_FUNCS(strtol).
3818 2001-06-20 Paul Eggert <eggert@twinsun.com>
3820 * inttypes.m4: Add AC_PREREQ(2.13).
3821 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
3822 (jm_AC_TYPE_INTMAX_T): New macro.
3823 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
3825 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
3827 * longlong.m4: Renamed from ulonglong.m4.
3828 * inttypes.m4: Renamed from inttypes_h.m4.
3829 * uintmax_t.m4: Removed.
3831 2001-08-12 Jim Meyering <meyering@lucent.com>
3833 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
3834 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
3835 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
3836 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
3837 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
3838 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
3839 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
3840 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
3841 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
3842 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
3843 utime.m4, utimes.m4, xstrtoumax.m4:
3844 Quote the first argument in each use of AC_DEFUN.
3846 2001-08-05 Jim Meyering <meyering@lucent.com>
3848 * jm-macros.m4: Require autoconf-2.52.
3850 2001-08-03 Paul Eggert <eggert@twinsun.com>
3852 The following changes are from gettext 0.10.39 as maintained by
3853 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
3855 * codeset.m4: Upgrade to serial AM1.
3856 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
3857 all uses changed. Quote first arg of AC_DEFUN.
3858 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
3860 * iconv.m4: Upgrade to serial AM2.
3861 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
3862 Add --with-libconv-prefix.
3863 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
3864 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
3865 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
3866 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
3867 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
3869 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
3870 * getline.m4 (AM_FUNC_GETLINE): Likewise.
3871 * glibc21.m4 (jm_GLIBC21): Likewise.
3872 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
3873 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
3874 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
3875 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
3876 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
3877 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
3879 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
3882 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
3883 not the default value.
3885 2001-06-25 Bruno Haible <haible@clisp.cons.org>
3886 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
3887 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
3888 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
3889 Also check for iswcntrl, used for wcwidth fallback.
3890 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
3893 2001-08-03 Jim Meyering <meyering@lucent.com>
3895 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
3896 as it was in the original. Reported by Paul Eggert.
3898 2001-07-16 Jim Meyering <meyering@lucent.com>
3900 * gettimeofday.m4: New file.
3901 Prompted by a report from Bernhard Baehr.
3903 2001-07-15 Jim Meyering <meyering@lucent.com>
3905 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
3906 Now it's in ../Makefile.cfg.
3908 2001-07-04 Jim Meyering <meyering@lucent.com>
3910 * Makefile.am.in (glibc-io.struct): New target. Rework the code
3911 that generates jm-glibc-io.m4 so that it doesn't trigger any make
3914 2001-07-02 Jim Meyering <meyering@lucent.com>
3916 The following changes were prompted by suggestions from Bruno Haible.
3918 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
3920 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
3921 definition of EXTRA_DIST.
3922 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
3923 ensure that the generated file is created/updated whenever the list
3924 of $(unlocked_functions) is changed.
3925 (jm-glibc-io.m4): New rule.
3926 (unlocked-io.h): New rule -- currently unused.
3928 2001-06-24 Jim Meyering <meyering@lucent.com>
3930 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
3931 unmatched right bracket, rather than kludging it with an extra,
3932 falsely-matching quote in a comment. Patch by Akim Demaille.
3934 2001-05-27 Jim Meyering <meyering@lucent.com>
3936 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
3937 Check for ut_type in struct utmp.
3939 2001-05-22 Jim Meyering <meyering@lucent.com>
3941 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
3942 now that we use the package-supplied version unconditionally.
3943 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
3945 2001-05-21 Jim Meyering <meyering@lucent.com>
3947 * regex.m4: Change a couple backticks to single quotes to avoid shell
3950 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
3952 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
3954 2001-05-11 Paul Eggert <eggert@twinsun.com>
3956 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
3957 Don't bother to check library strftime, since
3958 we'll be using our own my_strftime function anyway.
3959 Define my_strftime instead of strftime.
3961 2001-05-15 Jim Meyering <meyering@lucent.com>
3963 * regex.m4: Use proper quoting so brackets appear in the test program.
3964 Reported by, and with help from, Bruno Haible.
3966 2001-05-13 Jim Meyering <meyering@lucent.com>
3968 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
3970 2000-11-26 Paul Eggert <eggert@twinsun.com>
3972 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
3974 2001-04-21 Jim Meyering <meyering@lucent.com>
3976 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
3979 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
3981 * ftruncate.m4: Check for chsize.
3982 Link with ftruncate.o unconditionally if ftruncate is missing.
3983 This was required when cross-compiling to i586-mingw32msvc.
3985 2001-03-24 Jim Meyering <meyering@lucent.com>
3987 * jm-macros.m4: Require autoconf-2.49d.
3989 2001-03-20 Bruno Haible <haible@clisp.cons.org>
3991 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
3993 2001-03-17 Jim Meyering <meyering@lucent.com>
3995 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
3996 now that the version in autoconf is equivalent.
3997 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
3999 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
4000 Suggestion from Akim Demaille.
4002 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
4003 (jm_PREREQ_TEMPNAME): New function.
4005 2001-02-25 Paul Eggert <eggert@twinsun.com>
4007 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
4008 lacks mkstemp. Compile our own tempname.c if we compile our own
4009 mkstemp.c, as mkstemp relies on tempname.
4011 2001-03-01 Jim Meyering <meyering@lucent.com>
4013 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
4014 AH_VERBATIM really does output its argument verbatim.
4016 2001-02-18 Paul Eggert <eggert@twinsun.com>
4018 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
4020 2001-02-17 Jim Meyering <meyering@lucent.com>
4022 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
4023 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
4024 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
4027 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
4028 rather than AC_CACHE_VAL.
4030 2001-02-17 Paul Eggert <eggert@twinsun.com>
4032 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
4033 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
4034 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
4035 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
4037 2001-02-07 Jim Meyering <meyering@lucent.com>
4039 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
4041 2001-02-05 Jim Meyering <meyering@lucent.com>
4043 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
4044 it includes the patch required for `large file' support with at least
4045 HP-UX's 10.20 /bin/cc.
4047 2001-02-03 Jim Meyering <meyering@lucent.com>
4049 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
4050 AS_IF, now that it works once again (mysteriously).
4051 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4053 2001-01-30 Jim Meyering <meyering@lucent.com>
4055 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
4056 * chown.m4: Rename conftestchown to conftest.chown.
4057 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
4058 * utimes.m4: s/conftestdata/conftest.data/
4059 Inspired by Pavel Roskin's change in autoconf.
4061 2001-01-27 Jim Meyering <meyering@lucent.com>
4063 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
4065 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4067 2001-01-26 Jim Meyering <meyering@lucent.com>
4069 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
4070 quotearg.c includes it.
4072 2001-01-15 Bruno Haible <haible@clisp.cons.org>
4074 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
4077 2001-01-20 Jim Meyering <meyering@lucent.com>
4079 Be sure that headers are checked before used in code compiled
4080 for the type checks.
4081 * jm-macros.m4 (jm_MACROS): Remove all header checks.
4082 In place of that, invoke jm_CHECK_ALL_TYPES.
4083 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
4084 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
4085 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
4086 The check for ssize_t was mistakenly run before the test for unistd.h.
4088 The configure-time check for stdbool.h was missing.
4089 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
4090 (jm_PREREQ_HASH): New function.
4092 2001-01-17 Jim Meyering <meyering@lucent.com>
4094 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
4096 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
4098 2001-01-14 Jim Meyering <meyering@lucent.com>
4100 * rename.m4: Use temporary directories named conftestdir{,2}, not
4101 foo and bar. Create conftestdir/ in the script, not in the C code.
4102 Remove directories in the script, not in the C code.
4103 Remove conftestdir{,2} before trying to create the directory.
4104 Make the entire configure script fail if the mkdir fails.
4106 2001-01-02 Volker Borchert <bt@teknon.de>
4108 * rename.m4: New file.
4109 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
4111 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
4113 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
4114 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
4115 so `make install' also works in VPATH builds.
4117 2001-01-01 Jim Meyering <meyering@lucent.com>
4119 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
4120 on systems with utmpx.h. It's necessary for the declaration of utmp's
4121 ut_user member. Reported by Andreas Jaeger.
4123 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
4124 They are required for the declarations of getgrgid and getpwuid resp.
4125 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
4126 Reported by Andreas Jaeger.
4128 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4130 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
4131 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
4132 can be used in subdirectories.
4134 2000-12-26 Jim Meyering <meyering@lucent.com>
4136 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
4139 2000-12-17 Jim Meyering <meyering@lucent.com>
4141 * dos.m4 (jm_AC_DOS): New file and macro.
4142 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
4144 2000-12-06 Paul Eggert <eggert@twinsun.com>
4146 * off_t-format.m4: Remove this file.
4147 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
4149 2000-12-06 Jim Meyering <meyering@lucent.com>
4151 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
4152 strtoull, we may well need the replacement strtoul, too.
4153 Check for declarations of strtoul and strtoull.
4154 Check for strtol. Mainly as a cue to cause automake to include
4155 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
4156 Check for limits.h -- strtol.c needs it.
4158 2000-12-02 Jim Meyering <meyering@lucent.com>
4160 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
4161 * jm-macros.m4 (jm_MACROS): require it.
4163 2000-11-30 Jim Meyering <meyering@lucent.com>
4165 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
4167 2000-11-30 Jim Meyering <meyering@lucent.com>
4169 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
4171 2000-11-03 Bruno Haible <haible@clisp.cons.org>
4173 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
4175 2000-11-04 Jim Meyering <meyering@lucent.com>
4177 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
4179 2000-10-29 Jim Meyering <meyering@lucent.com>
4181 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
4182 * ls-mntd-fs.m4: Likewise
4184 2000-10-28 Jim Meyering <meyering@lucent.com>
4186 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
4187 (jm_PREREQ_MEMCHR): New function.
4189 2000-10-21 Jim Meyering <meyering@lucent.com>
4191 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
4192 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
4193 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
4195 2000-09-18 Jim Meyering <meyering@lucent.com>
4197 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
4198 Otherwise, everyone ends up linking with -lelf for some configurations.
4199 Reported by Mike Stone.
4201 2000-08-26 Jim Meyering <meyering@lucent.com>
4203 * jm-macros.m4: Use jm_FUNC_FPENDING.
4204 * fpending.m4: New file.
4206 2000-08-20 Jim Meyering <meyering@lucent.com>
4208 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
4209 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
4210 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
4212 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
4214 Improve fileutils installation on systems where running
4215 programs (like install) can't be unlinked.
4216 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
4217 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
4219 2000-08-06 Paul Eggert <eggert@twinsun.com>
4221 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
4222 not char, for compatibility with glibc 2.1.3 strftime.c.
4224 2000-07-23 Paul Eggert <eggert@twinsun.com>
4226 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
4228 2000-07-23 Jim Meyering <meyering@lucent.com>
4230 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
4231 getgrgid, getpwuid, getuid.
4233 2000-07-16 Bruno Haible <haible@clisp.cons.org>
4235 * mbswidth.m4: New file.
4236 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
4238 2000-07-14 Jim Meyering <meyering@lucent.com>
4240 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
4242 2000-07-10 Paul Eggert <eggert@twinsun.com>
4244 From a suggestion by Bruno Haible.
4245 * mbstate_t.m4 (AC_MBSTATE_T):
4246 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
4247 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
4248 and mbstate_t, to a single-part test that simply defines mbstate_t.
4249 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
4251 2000-07-10 Jim Meyering <meyering@lucent.com>
4253 * strerror_r.m4: Mirror the correction made in autoconf.
4255 * gnu-source.m4: Output to confdefs.h directly.
4256 Suggestion from Akim Demaille.
4258 2000-07-09 Jim Meyering <meyering@lucent.com>
4260 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
4261 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
4263 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
4264 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
4266 2000-07-05 Bruno Haible <haible@clisp.cons.org>
4268 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
4270 Include <ctype.h> for use of isalpha.
4272 2000-07-05 Paul Eggert <eggert@twinsun.com>
4273 and Bruno Haible <haible@clisp.cons.org>
4275 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
4276 only if the test for an object-type mbstate_t fails. This
4277 prevents us from mistakenly reporting that mbstate_t is a
4278 system object type after we "#define mbstate_t int" to work
4281 2000-07-04 Jim Meyering <meyering@lucent.com>
4283 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
4284 of the deprecated AC_CHECKING.
4286 2000-07-03 Jim Meyering <meyering@lucent.com>
4288 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
4290 2000-07-03 Paul Eggert <eggert@twinsun.com>
4292 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
4293 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
4295 2000-07-02 Jim Meyering <meyering@lucent.com>
4297 * mbstate_t.m4: Also define mbstate_t, if necessary.
4299 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
4300 AC_LIBOBJ(function_name).
4301 * chown.m4: Likewise.
4302 * fnmatch.m4: Likewise.
4303 * ftruncate.m4: Likewise.
4304 * getgroups.m4: Likewise.
4305 * getline.m4: Likewise.
4306 * group-member.m4: Likewise.
4307 * jm-macros.m4: Likewise.
4308 * lstat.m4: Likewise.
4309 * malloc.m4: Likewise.
4310 * memcmp.m4: Likewise.
4311 * nanosleep.m4: Likewise.
4312 * putenv.m4: Likewise.
4313 * realloc.m4: Likewise.
4314 * regex.m4: Likewise.
4315 * stat.m4: Likewise.
4316 * strftime.m4: Likewise.
4318 2000-07-01 Jim Meyering <meyering@lucent.com>
4320 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
4323 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4325 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
4326 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
4328 2000-07-01 Jim Meyering <meyering@lucent.com>
4330 * uptime.m4: Put double quotes around use of $cross_compiling.
4332 2000-06-28 Jim Meyering <meyering@lucent.com>
4334 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
4335 by quotearg.c, for which we perform this test. From Bruno Haible.
4337 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4339 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
4340 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
4341 <utmpx.h> exists, put readutmp.o into LIBOBJS.
4343 2000-06-25 Jim Meyering <meyering@lucent.com>
4345 * mbstate_t.m4: Include stdio.h before wchar.h to work around
4346 Linux header bug when _XOPEN_SOURCE is defined to 500.
4348 2000-06-24 Jim Meyering <meyering@lucent.com>
4350 * strerror_r.m4: Revive this file -- to try out an experimental
4351 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
4352 for which strerror does return char*, but which lacks a conveniently
4353 accessible declaration of the function. If the compile-test says
4354 strerror_r doesn't work, then resort to a `run'-test that works on
4355 BeOS and segfaults on DEC Unix.
4357 2000-06-19 Paul Eggert <eggert@twinsun.com>
4359 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
4360 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
4362 2000-06-23 Jim Meyering <meyering@lucent.com>
4364 * afs.m4: Add missing AC_MSG_RESULT.
4365 Reported by Bruno Haible.
4367 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
4368 Suggestion from Bruno Haible.
4370 2000-06-21 Jim Meyering <meyering@lucent.com>
4372 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
4374 2000-06-18 Jim Meyering <meyering@lucent.com>
4376 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
4378 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
4379 `checking whether...' message to be consistent with that of the
4382 2000-06-16 Bruno Haible <haible@clisp.cons.org>
4384 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
4386 2000-06-12 Jim Meyering <meyering@lucent.com>
4388 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
4389 from autoconf, and tweak the latter to accept an optional argument.
4390 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
4391 the optional argument, `lib'.
4393 2000-06-08 Jim Meyering <meyering@lucent.com>
4395 * largefile.m4: Remove file (now that it's part of autoconf).
4397 2000-06-04 Paul Eggert <eggert@twinsun.com>
4399 Rewrite largefile configuration so that we don't need to run
4400 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
4401 AC_CANONICAL_HOST in configure.in -- jmm]
4403 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
4404 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
4405 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
4406 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
4407 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
4409 Instead of inspecting the output of getconf, try to compile the
4410 test program without and with the macro definition.
4411 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
4412 for getconf. Instead, check for the needed flags by compiling
4415 2000-06-03 Jim Meyering <meyering@lucent.com>
4417 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
4418 now that autoconf requires that.
4420 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
4421 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
4422 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
4424 2000-05-26 Bruno Haible <haible@clisp.cons.org>
4426 * glibc21.m4: New file.
4427 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
4429 2000-05-28 Jim Meyering <meyering@lucent.com>
4431 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
4432 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4433 * stat.m4: Likewise.
4434 * lstat.m4: Likewise.
4435 * lstat-slash.m4: Remove file (absorbed into autoconf).
4437 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
4438 * strerror_r.m4: Remove file (absorbed into autoconf).
4440 2000-05-26 Jim Meyering <meyering@lucent.com>
4442 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
4444 2000-05-24 Jim Meyering <meyering@lucent.com>
4446 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
4447 autoconf requires that.
4448 * lib-check.m4: Likewise.
4449 * jm-macros.m4: Likewise.
4450 * strftime.m4: Likewise.
4452 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
4453 now that autoconf requires that.
4455 2000-05-22 Jim Meyering <meyering@lucent.com>
4457 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4458 * lstat.m4: Likewise.
4460 2000-05-20 Jim Meyering <meyering@lucent.com>
4462 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
4463 (jm_PREREQ): Use it.
4465 2000-05-09 Jim Meyering <meyering@lucent.com>
4467 * gettext.m4: Rename this...
4468 * libintl.m4: ...to this.
4470 2000-05-06 Jim Meyering <meyering@lucent.com>
4472 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
4473 (AC_REPLACE_FUNCS): Add strnlen.
4475 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
4476 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
4478 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
4479 AC_SEARCH_LIBS call for nanosleep.
4480 (LIB_NANOSLEEP): Set and AC_SUBST.
4482 2000-05-03 Paul Eggert <eggert@twinsun.com>
4484 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
4485 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
4486 2.1.3 bug. This avoids a clash when files like regex.c define
4489 2000-05-05 Jim Meyering <meyering@lucent.com>
4491 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
4492 call for clock_gettime.
4493 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
4495 * search-libs.m4: Update from autoconf.
4497 su doesn't work on Solaris 2.6.
4498 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
4499 <shadow.h>. Reported by Dragos Harabor.
4501 2000-05-03 Jim Meyering <meyering@lucent.com>
4503 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
4505 2000-05-02 Paul Eggert <eggert@twinsun.com>
4507 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
4508 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
4509 compile-time test, rather than inspecting host and OS, to
4510 decide whether to define _LARGEFILE_SOURCE.
4512 2000-05-01 Jim Meyering <meyering@lucent.com>
4514 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
4516 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
4517 Based on a patch from Bruno Haible.
4519 2000-04-18 Jim Meyering <meyering@lucent.com>
4521 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
4522 (jm_PREREQ): Use it.
4524 2000-04-17 Jim Meyering <meyering@lucent.com>
4527 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
4528 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
4529 Suggestion from Akim Demaille.
4531 2000-04-14 Jim Meyering <meyering@lucent.com>
4533 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
4534 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
4536 2000-04-13 Jim Meyering <meyering@lucent.com>
4538 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
4539 to insert required #ifndef into config.h.in.
4540 Suggestion from Akim Demaille.
4542 2000-04-12 Jim Meyering <meyering@lucent.com>
4544 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
4545 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
4546 Christian Krackowizer.
4548 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
4549 * jm-macros.m4 (_GNU_SOURCE): Define.
4550 (AC_SYS_LARGEFILE): Require.
4551 (AM_C_PROTOTYPES): Require.
4553 2000-04-05 Paul Eggert <eggert@twinsun.com>
4555 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
4556 IRIX if the installer said otherwise.
4558 2000-04-05 Jim Meyering <meyering@lucent.com>
4560 Portability tweaks required for ultrix4.3.
4561 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
4562 (jm_CHECK_DECLS): Add getutent to the list of functions.
4563 (_jm_DECL_HEADERS): Add utmpx.h.
4564 From John David Anglin.
4566 * strftime.m4: Back out the 2000-04-02 change.
4567 Instead of that change, simply undefine putenv in the test program.
4569 2000-04-03 Jim Meyering <meyering@lucent.com>
4571 * gettext.m4: Fix typo in comment.
4573 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
4574 textutils/configure.in). Suggestion from Paul Eggert.
4575 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
4577 2000-04-02 Paul Eggert <eggert@twinsun.com>
4579 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
4580 variable in the shell rather than using putenv, which isn't
4581 portable. This avoids the configure-time inter-test dependency
4582 on the potentially-renamed putenv function.
4584 2000-03-30 Paul Eggert <eggert@twinsun.com>
4586 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
4587 before checking struct stat.st_blksize, so that
4588 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
4590 2000-03-29 Paul Eggert <eggert@twinsun.com>
4592 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
4593 since strftime.c uses HAVE_STRFTIME to decide whether to use
4594 the underlying strftime.
4596 2000-03-10 Jim Meyering <meyering@lucent.com>
4598 * lib-check.m4: Look for getspnam in -lgen, too.
4601 2000-02-02 Bruno Haible <haible@clisp.cons.org>
4603 * codeset.m4: New file.
4604 * iconv.m4: New file.
4605 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
4607 2000-03-04 Jim Meyering <meyering@lucent.com>
4609 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
4610 for lib/localcharset.c.
4612 2000-03-03 Jim Meyering <meyering@lucent.com>
4614 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
4616 2000-03-02 Jim Meyering <meyering@lucent.com>
4618 * timespec.m4: Require AC_HEADER_TIME before the cache check so
4619 the messages come out on separate lines.
4621 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
4622 rather than jm_CHECK_DECLARATIONS.
4623 * decl.m4: Remove now-unused file.
4625 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
4627 2000-02-27 Jim Meyering <meyering@lucent.com>
4629 * check-decl.m4: Add getenv to the list.
4631 2000-02-23 Jim Meyering <meyering@lucent.com>
4633 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
4634 in place of my hack.
4636 2000-02-10 Jim Meyering <meyering@lucent.com>
4638 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
4639 gnu_nanosleep to rpl_nanosleep.
4641 2000-02-09 Jim Meyering <meyering@lucent.com>
4643 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
4644 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
4646 2000-02-08 Akim Demaille <akim@epita.fr>
4648 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
4649 `[' and `]' and remove uses of `changequote'.
4650 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
4651 (AC_SYS_LARGEFILE): Likewise.
4652 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
4653 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
4655 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
4656 * readdir.m4 (jm_FUNC_READDIR): Likewise
4657 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
4658 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
4660 2000-02-05 Jim Meyering <meyering@lucent.com>
4662 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
4663 Remove explicit use of AC_HEADER_TIME. It is required by
4664 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
4665 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
4666 in autoconf whereby the expansion of the latter ended up preceding
4667 the expansion of its prerequisite, AC_HEADER_TIME.
4668 Reported by Volker Borchert.
4670 2000-02-03 Jim Meyering <meyering@lucent.com>
4672 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
4674 2000-02-02 Jim Meyering <meyering@lucent.com>
4676 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
4677 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
4678 Reported by Eli Zaretskii.
4680 2000-01-31 Jim Meyering <meyering@lucent.com>
4682 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
4683 functions. Add the time.h and sys/time.h headers along with the
4684 AC_REQUIRE'ment of AC_HEADER_TIME.
4686 2000-01-30 Jim Meyering <meyering@lucent.com>
4688 * lib-check.m4: Clean up some kludgy old shadow password tests.
4690 * prereq.m4 (utmp_includes): Define.
4691 Check for ut_user and ut_name members in both struct utmpx
4694 2000-01-29 Jim Meyering <meyering@lucent.com>
4696 * lib-check.m4: New file containing library-related checks from
4697 fileutils and sh-utils (textutils had none).
4699 2000-01-28 Jim Meyering <meyering@lucent.com>
4701 * perl.m4: Change format of warning message to look more like that
4702 from the missing script. Suggestion from François Pinard.
4704 2000-01-25 Jim Meyering <meyering@lucent.com>
4706 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
4707 as time.h in the compile check.
4708 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
4709 Fix typo in cross-compiling case: s/yes/no/.
4711 2000-01-23 Jim Meyering <meyering@lucent.com>
4713 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
4715 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
4716 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
4718 * fsusage.m4: New file. Extracted from fileutils/configure.in.
4719 s/space/ac_fsusage_space/.
4720 (jm_FILE_SYSTEM_USAGE): Take two parameters.
4722 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
4723 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
4724 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
4726 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
4727 AC_SUBST these here, rather than just in sh-util/configure.in, so
4728 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
4730 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
4731 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
4732 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
4733 (AC_SUBST(POW_LIBM)): Likewise.
4734 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
4736 2000-01-22 Jim Meyering <meyering@lucent.com>
4738 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
4740 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
4742 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
4744 (AC_CHECK_HEADERS): Likewise for sh-utils.
4745 (AC_CHECK_HEADERS): Likewise for textutils.
4746 Merge the three lists of headers.
4748 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
4749 from fileutils' configure.in.
4751 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
4752 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
4754 * check-decl.m4: Use #if rather than #ifdef.
4755 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
4756 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
4757 (_jm_DECL_HEADERS): Define new function.
4758 (jm_CHECK_DECLARATIONS): Require it.
4760 2000-01-19 Jim Meyering <meyering@lucent.com>
4762 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
4763 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
4764 defines `struct timespec' in <sys/time.h>
4766 * c-bs-a.m4: Remove uses of changequote altogether.
4767 Thanks to Akim for explaining.
4769 2000-01-16 Jim Meyering <meyering@lucent.com>
4771 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
4772 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
4773 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
4774 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
4776 2000-01-16 Jim Meyering <meyering@lucent.com>
4778 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
4779 because the latter didn't work.
4781 2000-01-15 Jim Meyering <meyering@lucent.com>
4783 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
4784 (AC_REPLACE_FUNCS): Add memcpy and memset.
4785 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
4787 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
4789 2000-01-12 Jim Meyering <meyering@lucent.com>
4791 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
4792 (jm_PREREQ): Use it.
4793 (jm_PREREQ_READUTMP): New macro.
4794 (jm_PREREQ): Use it.
4796 2000-01-11 Paul Eggert <eggert@twinsun.com>
4798 Quote multibyte characters correctly.
4799 * c-bs-a.m4: New file.
4800 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
4801 (jm_PREREQ): Use it.
4803 2000-01-11 Paul Eggert <eggert@twinsun.com>
4805 * uintmax_t.m4: Port to autoconf 2.13.
4807 2000-01-08 Jim Meyering <meyering@ascend.com>
4809 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
4810 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
4812 2000-01-04 Jim Meyering <meyering@ascend.com>
4814 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
4815 jm_STRUCT_DIRENT_D_TYPE.
4816 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
4817 jm_STRUCT_DIRENT_D_INO.
4818 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
4820 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
4821 * utime.m4: Likewise.
4823 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
4824 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
4826 2000-01-03 Paul Eggert <eggert@twinsun.com>
4828 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
4829 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
4831 2000-01-02 Jim Meyering <meyering@ascend.com>
4833 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
4834 remember if this is necessary.
4836 1999-12-26 Jim Meyering <meyering@ascend.com>
4838 * jm-macros.m4: Use it here.
4839 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
4841 1999-12-23 Jim Meyering <meyering@ascend.com>
4843 * jm-macros.m4: Check for clock_gettime (moved from
4844 fileutils/configure.in)
4845 Check for gettimeofday.
4847 1999-12-20 Jim Meyering <meyering@ascend.com>
4849 * strftime.m4: Remove kludge, now that I'm using the fixed
4850 autoconf-2.14a-1999-12-20.
4852 1999-12-19 Jim Meyering <meyering@ascend.com>
4854 * lstat-slash.m4: New file.
4855 * jm-macros.m4: Use the new macro:
4856 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4858 1999-12-07 Jim Meyering <meyering@ascend.com>
4860 * perl.m4: Require that File::Compare be available, too.
4861 Too many systems seem to lack it.
4863 * strftime.m4: Add checks for most of the cpp macros tested in
4864 GNU's strftime.c. Prompted by a patch from Paul Eggert.
4866 1999-11-18 Paul Eggert <eggert@twinsun.com>
4868 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
4869 problem with the QNX 4.25 shell, which doesn't propagate exit
4870 status of failed commands inside shell assignments.
4872 1999-11-17 Jim Meyering <meyering@ascend.com>
4874 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
4876 1999-11-07 Jim Meyering <meyering@ascend.com>
4878 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
4880 1999-11-06 Jim Meyering <meyering@ascend.com>
4882 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
4883 * jm-macros.m4 (jm_MACROS): Use it here.
4885 1999-11-05 Jim Meyering <meyering@ascend.com>
4887 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
4888 of textutils, fileutils, and sh-utils into this one (shared between
4889 those packages) file.
4890 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
4891 AC_STRUCT_ST_BLKSIZE.
4893 1999-11-03 Jim Meyering <meyering@ascend.com>
4895 * ssize_t.m4: Remove file. No longer needed since the new version of
4896 AC_CHECK_TYPE checks includes unistd.h.
4897 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
4898 Suggestion from Akim Demaille.
4900 1999-10-30 Jim Meyering <meyering@ascend.com>
4902 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
4904 * ls-mntd-fs.m4: Likewise.
4905 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
4906 * jm-winsz1.m4: Likewise.
4908 * const.m4: Remove file, since the fix made it into the experimental
4909 version of autoconf.
4910 * mktime.m4: Likewise.
4912 * check-type.m4: Remove file, now that the latest version of
4913 AC_CHECK_TYPE takes a third arg to specify additional #includes.
4915 * ssize_t.m4: New file, requires experimental version of autoconf.
4916 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
4919 1999-10-04 Jim Meyering <meyering@ascend.com>
4921 * jm-macros.m4: Don't require autoconf-2.14.1.
4923 1999-09-22 Paul Eggert <eggert@twinsun.com>
4925 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
4926 2.95.1 bug with HP-UX 10.20.
4928 1999-09-17 Jim Meyering <meyering@ascend.com>
4930 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
4931 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
4932 due to missing strdup (against sh-utils-2.0).
4934 1999-08-29 Jim Meyering <meyering@ascend.com>
4936 * jm-macros.m4: Require jm_BISON.
4937 * bison.m4: New file.
4939 1999-08-17 Paul Eggert <eggert@twinsun.com>
4941 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
4942 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
4944 1999-08-05 Jim Meyering <meyering@ascend.com>
4946 * getline.m4: Rename test file from conftestdata to conftest.data
4947 to avoid conflicts with `conftest' on 8+3 filesystems.
4948 Suggestion from Eli Zaretskii.
4950 1999-08-04 Jim Meyering <meyering@ascend.com>
4952 * jm-macros.m4: Move a 4-line block of code from the configure.in of
4953 fileutils and sh-utils (textutils's getline test was inadequate).
4954 (AM_FUNC_GETLINE): Run this test.
4955 (AC_CHECK_FUNCS): Check for getdelim.
4956 Reported by Bob Proulx.
4958 1999-08-02 Jim Meyering <meyering@ascend.com>
4960 * jm-macros.m4: Add a comment.
4962 1999-08-01 Jim Meyering <meyering@ascend.com>
4964 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
4966 1999-08-01 Paul Eggert <eggert@twinsun.com>
4968 * lfs.m4: Remove this file.
4969 * largefile.m4: New file. It contains the old contents of
4970 lfs.m4, except that all names with prefix AC_LFS have been
4971 changed to use the prefix AC_SYS_LARGEFILE instead, to be
4972 compatible with future autoconf versions. Also, some minor m4
4973 quoting problems have been fixed.
4975 1999-07-16 Paul Eggert <eggert@twinsun.com>
4977 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
4978 that we can shift, multiply and divide unsigned long long
4979 values; Ultrix cc can't do it.
4981 1999-07-14 Paul Eggert <eggert@twinsun.com>
4983 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
4984 <inttypes.h> defines strtoumax as a macro (and not as a
4987 1999-07-05 Paul Eggert <eggert@twinsun.com>
4989 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
4990 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
4991 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
4992 and simplify the shell code.
4994 1999-07-03 Paul Eggert <eggert@twinsun.com>
4996 * mktime.m4: New file, which is a preview of what should appear
4997 in the next public autoconf release.
4999 1999-07-20 Jim Meyering <meyering@ascend.com>
5001 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
5003 1999-07-15 Jim Meyering <meyering@ascend.com>
5005 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
5007 1999-05-22 Jim Meyering <meyering@ascend.com>
5009 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
5011 1999-05-20 Jim Meyering <meyering@ascend.com>
5013 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
5014 Add a colon after each `then' in case $4 is empty.
5016 1999-05-16 Jim Meyering <meyering@ascend.com>
5018 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
5020 1999-05-10 Jim Meyering <meyering@ascend.com>
5022 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
5024 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
5027 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5029 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
5031 1999-05-04 Paul Eggert <eggert@twinsun.com>
5033 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
5034 not CPPFLAGS, so that linking works correctly in IRIX.
5036 1999-04-30 Paul Eggert <eggert@twinsun.com>
5038 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
5040 1999-04-20 Jim Meyering <meyering@ascend.com>
5042 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
5043 AC_REPLACE xstroull if necessary. From Paul Eggert.
5044 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
5046 1999-04-20 Paul Eggert <eggert@twinsun.com>
5048 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
5049 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
5050 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
5051 jm_AC_TYPE_UNSIGNED_LONG_LONG.
5052 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
5054 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
5056 1999-04-18 Jim Meyering <meyering@ascend.com>
5058 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
5059 * jm-macros.m4: Use it.
5061 1999-04-06 Jim Meyering <meyering@ascend.com>
5063 * strftime.m4: Remove test for %f.
5065 1999-03-29 Jim Meyering <meyering@ascend.com>
5067 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
5068 superset of the AC_TYPE_* checks in the textutils, fileutils,
5069 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
5072 1999-03-28 Jim Meyering <meyering@ascend.com>
5074 * jm-macros.m4: Define GNU_PACKAGE here.
5075 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
5076 replaced e.g., in the *.sh files of the sh-utils.
5078 1999-03-20 Jim Meyering <meyering@ascend.com>
5080 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
5081 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
5082 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
5084 1999-03-19 Jim Meyering <meyering@ascend.com>
5086 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
5088 1999-03-12 Jim Meyering <meyering@ascend.com>
5090 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
5092 1999-03-07 Jim Meyering <meyering@ascend.com>
5094 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
5096 1999-02-17 Jim Meyering <meyering@ascend.com>
5098 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
5099 in macro definition. From Eli Zaretskii and Alain Magloire.
5101 1999-02-07 Jim Meyering <meyering@ascend.com>
5103 * group-member.m4: New file -- extracted from sh-utils' configure.in.
5105 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
5106 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
5108 1999-02-06 Jim Meyering <meyering@ascend.com>
5110 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
5111 * fnmatch.m4: Likewise.
5112 * getgroups.m4: Likewise.
5113 * lstat.m4: Likewise.
5114 * malloc.m4: Likewise.
5115 * putenv.m4: Likewise.
5116 * realloc.m4: Likewise.
5117 * regex.m4: Likewise.
5118 * stat.m4: Likewise.
5119 * strftime.m4: Likewise.
5120 Suggestion from Alain Magloire.
5122 * chown.m4: Use `.$ac_objext', not `.o'.
5123 * fnmatch.m4: Likewise.
5124 * getgroups.m4: Likewise.
5125 * getline.m4: Likewise.
5126 * lstat.m4: Likewise.
5127 * malloc.m4: Likewise.
5128 * memcmp.m4: Likewise.
5129 * putenv.m4: Likewise.
5130 * realloc.m4: Likewise.
5131 * regex.m4: Likewise.
5132 * stat.m4: Likewise.
5133 * strftime.m4: Likewise.
5134 Suggestion from Alain Magloire.
5136 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
5139 * regex.m4: Add a run-time Test for proper operation of
5142 1999-01-31 Jim Meyering <meyering@ascend.com>
5144 * getloadavg.m4: Check for locale.h and the function, setlocale.
5146 1999-01-30 Jim Meyering <meyering@ascend.com>
5148 * check-type.m4: Use 3-arg form of AC_DEFINE.
5150 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
5151 rather than my private copy, now that the official one is up to date.
5152 * mktime.m4: Remove file.
5154 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
5155 * uptime.m4: Likewise.
5156 * uintmax_t.m4: Likewise.
5158 1999-01-28 Jim Meyering <meyering@ascend.com>
5160 * jm-macros.m4: Use jm_AFS.
5161 * afs.m4: New file (from fileutils' configure.in).
5163 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
5164 * chown.m4: Likewise.
5165 * d-ino.m4: Likewise.
5166 * d-type.m4: Likewise.
5167 * fnmatch.m4: Likewise.
5168 * getgroups.m4: Likewise.
5169 * gettext.m4: Likewise.
5170 * jm-mktime.m4: Likewise.
5171 * jm-winsz2.m4: Likewise.
5172 * lcmessage.m4: Likewise.
5173 * ls-mntd-fs.m4: Likewise.
5174 * malloc.m4: Likewise.
5175 * memcmp.m4: Likewise.
5176 * putenv.m4: Likewise.
5177 * realloc.m4: Likewise.
5178 * st_mtim.m4: Likewise.
5179 * strftime.m4: Likewise.
5181 1999-01-16 Jim Meyering <meyering@ascend.com>
5183 * jm-macros.m4 (ARGMATCH_DIE): Define.
5184 (ARGMATCH_DIE_DECL): Define.
5186 1999-01-12 Jim Meyering <meyering@ascend.com>
5188 * Makefile.am.in: Rewrite to avoid using fmt.
5189 Reported by Lars Hecking.
5191 1999-01-10 Jim Meyering <meyering@ascend.com>
5193 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
5195 * inttypes_h.m4: Likewise.
5196 * lstat.m4: Likewise.
5197 * malloc.m4: Likewise.
5198 * readdir.m4: Likewise.
5199 * realloc.m4: Likewise.
5200 * st_dm_mode.m4: Likewise.
5201 * stat.m4: Likewise.
5202 * utimbuf.m4: Likewise.
5203 * utimes.m4: Likewise.
5205 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
5206 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
5207 comments in config.h.in are meaningful.
5209 * jm-macros.m4: Require autoconf-2.13 here.
5211 * regex.m4: By default, don't use the included regex.c on systems
5212 with glibc 2. Suggestion from Uli Drepper.
5214 1999-01-02 Jim Meyering <meyering@ascend.com>
5216 * jm-macros.m4: Replace strcasecmp and strncasecmp.
5218 1998-12-18 Jim Meyering <meyering@ascend.com>
5220 * Makefile.am.in (Makefile.am): Simplify rule.
5221 Based on a suggestion from Lars Hecking.
5223 1998-11-16 Jim Meyering <meyering@ascend.com>
5225 * lfs.m4: Double-quote the `uname...` expression.
5227 1998-11-16 Paul Eggert <eggert@twinsun.com>
5229 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
5231 1998-11-14 Jim Meyering <meyering@ascend.com>
5233 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
5234 * stat.m4: Likewise.
5236 1998-11-03 Jim Meyering <meyering@ascend.com>
5238 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
5239 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
5241 1998-10-18 Jim Meyering <meyering@ascend.com>
5243 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
5245 1998-10-17 Jim Meyering <meyering@ascend.com>
5247 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
5248 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
5249 calls for those previously hard-coded headers. Instead, take a new
5251 (jm_CHECK_DECLARATIONS): Reflect interface change.
5252 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
5253 (jm_CHECK_DECL_LOCALTIME_R): New macro.
5255 * mktime.m4: Test for spring-forward gap before long-running test.
5257 1998-10-14 Jim Meyering <meyering@ascend.com>
5259 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
5260 instead of "TZ=America/Vancouver". From Paul Eggert.
5262 1998-10-11 Jim Meyering <meyering@ascend.com>
5264 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
5265 This adds a test for a recently added compatibility fix for mktime.c.
5266 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
5268 1998-09-27 Jim Meyering <meyering@ascend.com>
5270 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
5272 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
5273 ../configure.in, including a change from Gordon Matzigkeit to allow
5274 cross-compiling for the Hurd.
5276 * glibc.m4: New file/macro to test for the GNU C Library
5277 versions 1 and 2. From Gordon Matzigkeit.
5280 1998-09-21 Jim Meyering <meyering@ascend.com>
5282 * chown.m4: Declare locals: before, after. From Andries Brouwer.
5284 1998-08-18 Paul Eggert <eggert@twinsun.com>
5286 Port nanosecond-resolution times to UnixWare 2.1.2 and
5287 pedantic Solaris 2.6.
5289 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
5291 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
5292 Generate name of ns member, instead of just 1 or undef.
5293 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
5295 1998-08-15 Jim Meyering <meyering@ascend.com>
5297 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
5298 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
5299 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
5300 instead of jm_TYPE_SSIZE_T.
5302 1998-08-12 Jim Meyering <meyering@ascend.com>
5304 * st_dm_mode.m4: New file. From Johan Danielsson.
5306 1998-08-02 Jim Meyering <meyering@ascend.com>
5308 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
5309 in acconfig.h manually.
5311 1998-07-31 Paul Eggert <eggert@twinsun.com>
5313 * st_mtim.m4: New file.
5315 1998-07-28 Jim Meyering <meyering@ascend.com>
5317 * utimes.m4: Undef stat.
5319 1998-07-25 Jim Meyering <meyering@ascend.com>
5321 * utime.m4 (jm_FUNC_UTIME): New file and macro.
5322 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
5324 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
5326 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
5327 uid and gid actually remain unchanged.
5329 1998-07-07 Jim Meyering <meyering@ascend.com>
5331 * jm-glibc-io.m4: Remove fclose_unlocked.
5333 1998-07-04 Jim Meyering <meyering@ascend.com>
5335 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
5336 to prove that this macro can be used in packages without regex.c.
5338 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5340 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
5343 1998-07-03 Jim Meyering <meyering@ascend.com>
5345 * gettext.m4: Add -lintl if it's found to be necessary.
5347 * gettext.m4: New file -- from gettext-0.10.35.
5348 * lcmessage.m4: Likewise.
5349 * progtest.m4: Likewise.
5351 * regex.m4 (jm_WITH_REGEX): New file and macro.
5352 * jm-macros.m4: Require the new macro.
5354 1998-06-29 Jim Meyering <meyering@ascend.com>
5356 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
5357 for the definition of NGROUPS (used in a system header included
5360 1998-06-28 Jim Meyering <meyering@ascend.com>
5362 * ls-mntd-fs.m4: New file.
5363 * fstypename.m4: New file.
5365 * jm-macros.m4: Require the new macro.
5366 * jm-glibc-io.m4: New file.
5368 1998-05-19 Jim Meyering <meyering@ascend.com>
5370 * jm-macros.m4: Add jm_FUNC_LCHOWN.
5371 * lchown.m4: New file.
5373 * Makefile.am.in: New file.
5374 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
5376 1998-05-14 Jim Meyering <meyering@ascend.com>
5378 * Makefile.am (EXTRA_DIST): Add them.
5379 * jm-macros.m4: New file.
5380 * utimbuf.m4: New file.
5382 1998-05-12 Jim Meyering <meyering@ascend.com>
5384 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
5386 1998-05-11 Jim Meyering <meyering@ascend.com>
5388 * isc-posix.m4: New file.
5390 1998-05-10 Jim Meyering <meyering@ascend.com>
5392 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
5394 1998-05-09 Jim Meyering <meyering@ascend.com>
5396 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
5397 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
5400 * ssize_t.m4: New file.
5401 * mktime.m4: Remove file -- the new automake has this now.
5403 1998-04-26 Jim Meyering <meyering@ascend.com>
5405 * assert.m4: New file.
5406 * Makefile.am (EXTRA_DIST): Add assert.m4.
5408 1998-04-05 Jim Meyering <meyering@ascend.com>
5410 * prereq.m4 (jm_PREREQ_REGEX): New macro.
5411 (jm_PREREQ): Use it here.
5413 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
5415 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
5418 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
5420 * prereq.m4: New file.
5421 * error.m4: New file.
5422 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
5424 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
5426 * getline.m4: Don't set am_cv_func_working_getline before the
5427 cache-check for the same variable -- that defeated the purpose of
5428 the test; the test program was never run. This was a problem only
5429 on systems with losing getline functions -- HP-UX 10.20 is one.
5430 Reported by Bjorn Helgaas.
5432 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
5434 * Makefile.am (EXTRA_DIST): Add perl.m4.
5436 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
5438 * Makefile.am (EXTRA_DIST): Add const.m4.
5440 * const.m4: New file. Use an initializer in this declaration
5441 typedef int charset[2]; const charset x;
5442 Reported by Bob Glickstein.
5444 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
5446 * chown.m4: Fix reversed types on -1 args to chown.
5449 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
5451 * check-decl.m4: s/DECLARATION_/DECL_/g.
5452 Add lseek and memchr.
5454 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
5455 T.E.Dickey <dickey@clark.net> said that some older preprocessors
5456 have a 20-character limit on names.
5458 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
5460 * inttypes_h.m4: New file.
5461 * uintmax_t.m4: New file.
5462 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
5464 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
5465 Free Software Foundation, Inc.
5466 Copying and distribution of this file, with or without modification,
5467 are permitted provided the copyright notice and this notice are preserved.