1 2006-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
4 compile test, for Tru64 4.0D.
6 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
8 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
9 gl_ rather than jm_. Link, don't run, so that cross-compiles are
10 allowed. Check that resulting type is arithmetic. Move AC_REQUIRE
11 and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
12 not really conditional on the cache.
13 (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
15 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
17 * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
18 test for C99 conformance; (bool) 0.5 is an integer constant
19 expression, but (bool) -0.5 is not. Problem reported by Fedor
20 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
22 2006-05-11 Simon Josefsson <jas@extundo.com>
24 * xvasprintf.m4: Fix obvious typo.
26 2006-05-09 Bruno Haible <bruno@clisp.org>
28 * xvasprintf.m4: New file.
30 2006-05-08 Bruno Haible <bruno@clisp.org>
32 * stdarg.m4: New file, from GNU gettext.
34 2006-05-05 Jim Meyering <jim@meyering.net>
36 * warning.m4: New file, derived from bison's file by the same name.
38 2006-05-02 Bruno Haible <bruno@clisp.org>
40 * full-header-path.m4 (gl_FULL_HEADER_PATH): Move the include_next
42 * _inttypes_h.m4 (gl_INTTYPES_H): ... to here.
44 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
46 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
47 to define main with arguments, for C++. Reported by Eric Blake.
48 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
49 Prefer 'int main ()' to 'int main (void)', for C++.
50 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
51 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
52 for 'main', for C99 and C++.
54 2006-04-23 Bruno Haible <bruno@clisp.org>
56 * poll.m4 (gl_FUNC_POLL): Rearrange code, so that POLL_H gets
57 assigned exactly once.
59 2006-04-23 Bruno Haible <bruno@clisp.org>
61 * poll.m4 (gl_FUNC_POLL): When cross-compiling, reject also the poll()
62 implementation in AIX.
63 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
65 2006-03-04 Eric Blake <ebb9@byu.net>
67 * strerror_r.m4 (AC_FUNC_STRERROR_R): Avoid unused variable warning.
69 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
71 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
72 Don't assume that exit status -1 is valid.
73 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
74 * putenv.m4 (gl_FUNC_PUTENV): Likewise.
75 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
76 * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
77 * rename.m4 (vb_FUNC_RENAME): Likewise.
78 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
79 not AC_TRY_RUN. Use return, not exit. Don't assume that
80 functions can be used without declaring them, or that you can
82 * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
84 2006-04-20 Bruno Haible <bruno@clisp.org>
86 * argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
87 one argument, so that the code will be portable to Autoconf 2.60.
88 * getlogin_r.m4 (gl_PREREQ_GETLOGIN_R): Likewise.
89 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
90 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
92 2006-04-19 Derek Price <derek@ximbiot.com>
93 Eric Blake <ebb9@byu.net>
95 * full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
96 than "/full/path.h". Update comment to match. Shorten & generalize
97 m4_translit call via AS_TR_CPP.
99 2006-04-18 Derek Price <derek@ximbiot.com>
100 Paul Eggert <eggert@cs.ucla.edu>
102 * _inttypes_h.m4, full-header-path.m4, include_next: New files.
104 2006-04-11 Paul Eggert <eggert@cs.ucla.edu>
106 * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
108 2006-04-09 Paul Eggert <eggert@cs.ucla.edu>
110 * regex.m4 (gl_REGEX): Check for new glibc interface to
113 2006-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
115 * argz.m4 (gl_FUNC_ARGZ): If we define `error_t', also define
116 `__error_t_defined', so argp.h will not typedef the former.
118 2006-03-25 Paul Eggert <eggert@cs.ucla.edu>
120 * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
121 REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
122 glibc names. Even if glibc is changed to conform to POSIX, the
123 traditional names will be available anyway, since regex depends on
124 the extensions module. Also, fix a longstanding typo in the
125 implementation of Spencer ERE test #75 from grep 2.3. Problems
126 reported by Emanuele Giaquinta. Also, change sense of cached
127 variable, so that the message makes sense.
129 2006-03-17 Jim Meyering <jim@meyering.net>
131 * regex.m4 (gl_REGEX): Fix typo in last change:
132 s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
134 2006-03-16 Paul Eggert <eggert@cs.ucla.edu>
136 * regex.m4 (gl_REGEX): Don't check for off_t, since the code
137 no longer needs it. Instead, check that regoff_t is as least
138 as wide as ptrdiff_t.
140 Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
141 so that our regex.h stays compatible with the installed regex.
142 This is helpful for installers who configure --without-included-regex.
143 Problem reported by Emanuele Giaquinta.
145 2006-03-15 Eric Blake <ebb9@byu.net>
147 * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
149 2006-03-08 Simon Josefsson <jas@extundo.com>
151 * gc-random.m4: Permit 'no' as variable values and fix warnings,
152 suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
154 2006-03-08 Simon Josefsson <jas@extundo.com>
156 * gc-random.m4: Call AC_CANONICAL_HOST and use $host_os instead of
157 $target, suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
159 2006-03-07 Paul Eggert <eggert@cs.ucla.edu>
161 * unistd_h.m4 (gl_HEADER_UNISTD): Rename, to match modules file.
162 Problem reported by Juan Manuel Guerrero.
164 2006-03-07 Simon Josefsson <jas@extundo.com>
166 * unistd_h.m4: New file.
168 2006-03-07 Simon Josefsson <jas@extundo.com>
170 * readline.m4 (gl_FUNC_READLINE): Rewrite the cached part of the
171 test to be side-effect free by storing the result in the cache
172 variable gl_cv_lib_readline, and moving the assignment of
173 LIBREADLINE and LTLIBREADLINE outside the COMMANDS-TO-SET-IT.
174 From Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
176 2006-03-07 Simon Josefsson <jas@extundo.com>
178 * gc-random.m4: New file, mostly from gc.m4. Warn instead of
179 error on missing devices (the functions will return an error).
181 * gc.m4: Move random stuff to gc-random.m4
183 2006-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
185 * poll.m4 (gl_FUNC_POLL): If we deem poll(2) unacceptable, use
186 our replacement poll.h in any case, to avoid a differing
187 declaration from a system header. Seen on AIX.
189 2006-03-01 Paul Eggert <eggert@cs.ucla.edu>
191 * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
192 not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
194 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
195 * timespec.m4 (gl_TIMESPEC): Likewise.
197 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
198 not "==". Reported by Ralf Wildenhues.
200 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
203 * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
206 2006-02-22 Jim Meyering <jim@meyering.net>
209 * chdir-safer.m4: New file.
211 2006-02-17 Eric Blake <address@hidden>
213 * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
215 2006-02-15 Eric Blake <ebb9@byu.net>
217 * sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using
218 winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes
219 'present but cannot compile' warnings on cygwin.
220 * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET. Don't
221 use ws2tcpip.h if sys/socket.h works.
222 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_HEADER_SYS_SOCKET.
223 (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is present.
225 2006-02-14 Jim Meyering <jim@meyering.net>
228 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
229 unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
230 gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
231 variable, to accommodate the rare case in which getmntent is
232 available in none of the libraries checked. This happens at
233 least on FreeBSD 5.0.
235 2006-02-05 Paul Eggert <eggert@cs.ucla.edu>
237 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
238 __EXTENSIONS__ if this causes compilation to fail. Problem
239 reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
240 c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
242 2006-01-25 Simon Josefsson <jas@extundo.com>
244 * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
245 -lws2_32. Protect sys/socket.h and netdb.h #include's. Include
246 ws2tcpip.h with WINVER=0x0501. All for mingw32.
248 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
250 * stdbool.m4 (AC_HEADER_STDBOOL): Check for xlc bug if __GCC__ too,
251 so that we test the test.
252 Check for yet another HP-UX cc bug involving *bool |= bool.
254 2006-01-24 Bruno Haible <bruno@clisp.org>
256 * stdbool.m4 (AC_HEADER_STDBOOL): Check for IBM and HP-UX bugs.
257 Patch by Paul Eggert.
259 2006-01-24 Jim Meyering <jim@meyering.net>
261 * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
262 Reported by Mark D. Baushke.
264 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
266 * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
268 2006-01-20 Paul Eggert <eggert@cs.ucla.edu>
270 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
271 rather than -Xlinker -z -Xlinker ignore, as it's more portable.
272 Suggested by Bruno Haible.
274 2006-01-19 Simon Josefsson <jas@extundo.com>
276 * socklen.m4: Look in ws2tcpip.h too, for mingw32.
278 2006-01-16 Paul Eggert <eggert@cs.ucla.edu>
280 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
281 it's not portable and it doesn't work with cross-compiles.
282 Problem reported by Bruno Haible. Fix missing-$ typo in
283 'test "gl_cv_ignore_unused_libraries" ...' that prevented
284 -zignore from being used with Sun's C compiler.
286 2006-01-12 Bruno Haible <bruno@clisp.org>
290 2006-01-08 Bruno Haible <bruno@clisp.org>
292 Ensure automatic ordering between gl_LOCK and gl_ARGP.
293 * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK.
294 (gl_LOCK): New macro, requiring gl_LOCK_BODY.
296 2006-01-10 Jim Meyering <jim@meyering.net>
298 * fpending.m4: Also include <stdio.h>, for Dragonfly.
299 Patch by Joerg Sonnenberger.
301 2006-01-10 Paul Eggert <eggert@cs.ucla.edu>
303 * memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
304 the 2002-12-31 change. Problem and fix reported by Bruno Haible.
305 People who are still concerned with buggy memcmp implementations
306 can invoke gl_FUNC_MEMCMP themselves.
308 2006-01-10 Simon Josefsson <jas@extundo.com>
310 * sys_socket_h.m4: New file.
312 2006-01-10 Bruno Haible <bruno@clisp.org>
314 * localcharset.m4 (gl_LOCALCHARSET): Also test for getc_unlocked.
315 Reported by Werner Lemberg <wl@gnu.org>.
317 2006-01-09 Paul Eggert <eggert@cs.ucla.edu>
320 * lib-ignore.m4: New file.
321 * lchmod.m4: New file.
323 2006-01-09 Jim Meyering <jim@meyering.net>
326 * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
327 Require openat-priv.h.
329 2006-01-09 Andreas Gruenbacher <agruen@suse.de>
332 * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
334 2005-10-16 Bruno Haible <bruno@clisp.org>
336 * stdint.m4 (gl_STDINT_H): Also test for <sys/bitypes.h>.
338 2005-12-16 Jim Meyering <jim@meyering.net>
340 * fprintftime.m4: New file.
342 2005-12-10 Sergey Poznyakoff <gray@gnu.org.ua>
344 * argp.m4: Define HAVE_DECL_PROGRAM_INVOCATION_NAME and
345 HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
347 2005-12-09 Sergey Poznyakoff <gray@gnu.org.ua>
349 * argp.m4: Check if program_invocation_name and
350 program_invocation_short_name are declared and define appropriate
351 macros if they are not.
353 2005-12-07 Paul Eggert <eggert@cs.ucla.edu>
355 * stat-time.m4 (gl_STAT_TIME): Add check for
356 TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
357 porting problem reported by Georg Schwarz in
358 <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
360 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
362 * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
363 Use implementation from Albert Chin, with some
364 comments/corrections by Stepan Kasal and myself.
366 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
368 * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
369 statement, to work around an HP-UX 10.20 compiler bug reported by
372 2005-11-10 Paul Eggert <eggert@cs.ucla.edu>
374 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
375 or gettimeofday; no longer needed.
377 2005-10-30 Paul Eggert <eggert@cs.ucla.edu>
379 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
380 variables to suggest the intended function of the PATH_MAX check.
382 2005-10-30 Kean Johnston <jkj@sco.com>
384 Trivial changes to support SCO systems.
385 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
387 * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
388 where __ptr is null when no I/O is pending.
390 2005-10-28 Simon Josefsson <jas@extundo.com>
392 * inet_ntop.m4: More tests.
394 * gc-md2.m4, md2.m4: New file.
396 2005-10-22 Simon Josefsson <jas@extundo.com>
398 * gc.m4: Don't be fooled by --disable-*random-device parameters,
399 suggested by Bruno Haible <bruno@clisp.org>. Fix error messages.
401 2005-10-21 Simon Josefsson <jas@extundo.com>
403 * gc.m4: Don't use libgcrypt if gcrypt.h isn't found, suggested by
404 Bruno Haible <bruno@clisp.org>.
406 * gc-des.m4: New file.
408 2005-10-21 Simon Josefsson <jas@extundo.com>
410 * arctwo.m4: New file.
412 * gc-arctwo.m4: New file.
414 2005-10-19 Simon Josefsson <jas@extundo.com>
416 * gc-arcfour.m4: New file.
418 * gc-rijndael.m4: New file.
420 2005-10-19 Simon Josefsson <jas@extundo.com>
422 * m4/gc-hmac-md5.m4, m4/gc-hmac-sha1.m4, m4/gc-md4.m4,
423 m4/gc-md5.m4, m4/gc-sha1.m4: Fix typo, suggested by Stepan Kasal
426 2005-10-19 Simon Josefsson <jas@extundo.com>
428 * gc-md4.m4: New file.
430 2005-10-18 Simon Josefsson <jas@extundo.com>
434 2005-10-17 Bruno Haible <bruno@clisp.org>
436 * stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so that
437 it can also be used in a test.
439 2005-10-11 Simon Josefsson <jas@extundo.com>
441 * md5.m4: Remove call to uint32_t.m4.
443 2005-10-15 Simon Josefsson <jas@extundo.com>
445 * rijndael.m4: New file.
447 2005-10-14 Simon Josefsson <jas@extundo.com>
449 * arcfour.m4: New file.
451 2005-10-12 Bruno Haible <bruno@clisp.org>
453 * stdbool.m4 (gl_STDBOOL_H): Define as an alias of AM_STDBOOL_H.
454 Reported by Stepan Kasal <kasal@ucw.cz>.
456 2005-10-12 Simon Josefsson <jas@extundo.com>
458 * gc-pbkdf2-sha1.m4: New file.
460 * gc-hmac-sha1.m4: New file.
464 * hmac-sha1.m4: New file.
466 2005-10-12 Simon Josefsson <jas@extundo.com>
468 * gc-md5.m4, gc-hmac-md5: New files.
470 * gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5.
472 2005-10-11 Simon Josefsson <jas@extundo.com>
476 2005-10-07 Simon Josefsson <jas@extundo.com>
478 * memxor.m4: Remove gl_C_RESTRICT call.
480 2005-10-06 Paul Eggert <eggert@cs.ucla.edu>
482 * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
483 promotes to int, not unsigned int, to catch the AIX 5.3
486 2005-10-06 Simon Josefsson <jas@extundo.com>
488 * hmac-md5.m4: New file.
490 * memxor.m4: Require gl_C_RESTRICT.
492 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
494 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for
495 sys/socket.h, netdb.h, sys/types.h; the checks areno longer
496 needed, since the source code now assumes these .h files.
498 2005-10-05 Simon Josefsson <jas@extundo.com>
500 * memxor.m4: New file.
502 2005-10-02 Paul Eggert <eggert@cs.ucla.edu>
505 * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
506 * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
507 defines ULONG_MAX_LT_ULLONG_MAX. Thomas M.Ott reports that
508 ULLONG_MAX doesn't work with 2.7.2.1.
510 2005-10-02 Jim Meyering <jim@meyering.net>
513 * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
514 from glibc-2.2.5 that fails for read-only files.
516 2005-10-02 Alfred M. Szmidt <ams@gnu.org>
519 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
520 against `yes', rather than just testing for nonempty.
522 2005-10-01 Simon Josefsson <jas@extundo.com>
524 * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
527 * getaddrinfo.m4: Use AC_GNU_SOURCE, GNU only declare getaddrinfo
528 as an (POSIX) extension. Check for sys/types.h, sys/socket.h, and
529 netdb.h too, needed by getaddrinfo.h. Check if getaddrinfo,
530 freeaddrinfo and gai_strerror are declared by the POSIX headers.
531 Check if struct addrinfo is declared.
533 2005-10-01 Jim Meyering <jim@meyering.net>
537 * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
538 libraries [inet nsl socket xnet]. Nelson Beebe reported that with
539 native cc on Solaris 7, getaddrinfo.c requires -lsocket.
540 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
541 in the inet and nsl libraries. Required on Solaris 5.7.
543 2005-09-24 Jim Meyering <jim@meyering.net>
546 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
547 in the inet and nsl libraries. Required on Solaris 5.7.
549 2005-09-26 Bruno Haible <bruno@clisp.org>
551 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
552 mbchar.c if they are not both present.
553 * mbfile.m4 (gl_MBFILE): Require gl_FUNC_MBRTOWC.
554 * mbiter.m4 (gl_MBITER): Likewise.
555 * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
556 * strcasestr.m4 (gl_PREREQ_STRCASESTR): Likewise.
557 * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
559 2005-09-23 Paul Eggert <eggert@cs.ucla.edu>
561 * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
562 and similarly for the other external symbols. Problem reported
565 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
566 bug reported by Jim Meyering.
568 * utimens.m4 (gl_UTIMENS): Check for futimesat.
569 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
570 not needed, since socklen is a prerequisite module.
572 2005-09-23 Jim Meyering <jim@meyering.net>
575 Correct build failure (socklen_t not defined) on at least
576 mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
577 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
579 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
582 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
584 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
588 * backupfile.m4, calloc.m4, chown.m4, cloexec.m4, dup2.m4:
589 * fileblocks.m4, free.m4, ftruncate.m4, getcwd.m4, getpagesize.m4:
590 * getugroups.m4, group-member.m4, idcache.m4, link-follow.m4:
591 * mkstemp.m4, mktime.m4, mountlist.m4, nanosleep.m4, pathmax.m4:
592 * physmem.m4, posixver.m4, putenv.m4, safe-read.m4, same.m4:
593 * save-cwd.m4, stdio-safer.m4, unistd-safer.m4, unlinkdir.m4:
594 * userspec.m4, xgetcwd.m4, xreadlink.m4:
595 Don't bother checking for string.h, stdlib.h, unistd.h.
596 * fts.m4 (gl_FUNC_FTS_CORE): Don't require
597 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
599 * jm-macros.m4 (gl_MACROS): Likewise.
600 * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
602 * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
603 (gl_GETDATE): Use it.
605 * mkdir-p.m4 (gl_MKDIR_PARENTS): Don't bother checking for unistd.h.
607 2005-09-22 Jim Meyering <jim@meyering.net>
611 * lstat.m4 (gl_FUNC_LSTAT):
612 Use AC_LIBSOURCES to require lstat.c and lstat.h.
613 Remove obsolete comment.
614 * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
615 * xstrtod.m4: Likewise.
617 * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
619 2005-09-19 Simon Josefsson <jas@extundo.com>
621 * socklen.m4: Fix typo.
623 2005-09-15 Paul Eggert <eggert@cs.ucla.edu>
625 * st_mtim.m4: Remove. Superseded by...
626 * stat-time.m4: New file.
627 * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
628 Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
630 2005-09-15 Derek Price <derek@ximbiot.com>
632 * strstr.m4 (gl_FUNC_STRSTR): Don't define strstr here.
634 2005-09-12 Derek Price <derek@ximbiot.com>
636 Make canon-host require getaddrinfo.
637 * canon-host.m4 (gl_CANON_HOST): Remove most dependencies.
638 AC_LIBSOURCE canon-host.h. Call...
639 (gl_PREREQ_CANON_HOST): ...this new function, which requires
641 * getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when needed.
643 2005-09-12 Derek Price <derek@ximbiot.com>
644 Paul Eggert <eggert@cs.ucla.edu>
646 * m4/glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c,
647 glob_.h, glob-libc.h.
648 (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed.
650 2005-08-31 Simon Josefsson <jas@extundo.com>
652 * socklen.m4: New file.
654 2005-09-03 Derek Price <derek@ximbiot.com>
656 * getlogin_r (gl_GETLOGIN_R): Fix cut & paste error.
657 From Larry Jones <lawrence.jones@ugs.com>.
659 2005-08-27 Bruno Haible <bruno@clisp.org>
661 Support for lib vs. lib64 distinction on biarch platforms.
662 * lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): New macro.
663 (AC_LIB_PREFIX): Require it. Use $acl_libdirstem instead of 'lib'.
664 * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
666 2005-09-01 Jim Meyering <jim@meyering.net>
668 * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
669 CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
670 Require gl_STAT_MACROS, too.
672 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
674 * regex.m4 (gl_REGEX): Require AC_SYS_LARGEFILE, Define
675 _REGEX_LARGE_OFFSETS). Test for regoff_t/off_t bug in 64-bit
676 and large-file glibc and in 32-bit large-file Solaris.
678 2005-08-28 Bruno Haible <bruno@clisp.org>
680 * gnulib-tool.m4: New file.
682 2005-08-27 Jim Meyering <jim@meyering.net>
684 * stdlib-safer.m4: New file. From coreutils.
685 * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h.
686 * fcntl-safer.m4 (gl_FCNTL_SAFER): Add creat-safer.c to the
687 AC_LIBSOURCES list and arrange to compile it via AC_LIBOBJ.
688 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise, add pipe-safer.c.
689 Add pipe-safer.c and unistd--.h to the AC_LIBSOURCES list.
691 2005-08-24 Simon Josefsson <jas@extundo.com>
693 * getpass.m4: Check for termios.h, tcgetattr, tcsetattr, and
696 2005-08-25 Stepan Kasal <kasal@ucw.cz>
698 * regex.m4: Add AC_PREREQ(2.50).
699 (gl_REGEX): If --with-included-regex was given, skip the autodetection.
701 2005-08-25 Bruno Haible <bruno@clisp.org>
703 * minmax.m4: Require autoconf 2.52.
704 (gl_MINMAX_IN_HEADER): Add comments. Use m4_pushdef/m4_popdef instead
705 of define/undefine. Use AS_TR_SH and AS_TR_CPP as more robust
706 alternatives of translit over the alphabet.
707 Based on a patch from Stepan Kasal <kasal@ucw.cz>.
709 2005-08-24 Paul Eggert <eggert@cs.ucla.edu>
711 * regex.m4 (gl_REGEX): Use POSIX-compliant spellings when testing
712 for GNU regex features.
714 2005-08-24 Jim Meyering <jim@meyering.net>
717 * fcntl-safer.m4: New file.
719 * xgetcwd.m4: Use AC_LIBSOURCES and AC_LIBOBJ to indicate source
720 and object files for this module.
722 2005-08-23 Paul Eggert <eggert@cs.ucla.edu>
724 * regex.m4 (gl_INCLUDED_REGEX): Remove; no longer used.
725 All contents moved to gl_REGEX.
726 (gl_REGEX): Don't bother checking whether lib/regex.c exists;
729 2005-08-20 Bruno Haible <bruno@clisp.org>
731 * regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
733 2005-08-17 Bruno Haible <bruno@clisp.org>
735 * strcasestr.m4: New file.
737 2005-08-17 Bruno Haible <bruno@clisp.org>
739 * strstr.m4 (gl_FUNC_STRSTR): Use the replacement function always.
740 (gl_PREREQ_STRSTR): Use gl_FUNC_MBRTOWC.
742 2005-08-16 Paul Eggert <eggert@cs.ucla.edu>
744 * getopt.m4 (gl_GETOPT_CHECK_HEADERS): Do not override the results
745 of gl_GETOPT_SUBSTITUTE. That way, if both gl_GETOPT_SUBSTITUTE
746 and gl_GETOPT are both invoked via different paths (as happens
747 with GNU tar CVS because it uses both argp and getopt), the former
750 2005-08-16 Bruno Haible <bruno@clisp.org>
752 * strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function always.
753 (gl_PREREQ_STRCASECMP): Use gl_FUNC_MBRTOWC.
755 2005-08-16 Bruno Haible <bruno@clisp.org>
757 * mbfile.m4: New file.
759 2005-08-16 Bruno Haible <bruno@clisp.org>
761 * mbiter.m4: New file.
763 2005-08-16 Bruno Haible <bruno@clisp.org>
765 * mbchar.m4: New file.
767 2005-08-16 Bruno Haible <bruno@clisp.org>
769 * tls.m4: New file, from GNU gettext.
771 2005-08-12 Bruno Haible <bruno@clisp.org>
773 * readline.m4 (gl_FUNC_READLINE): Look for ncurses first.
775 2005-08-12 Simon Josefsson <jas@extundo.com>
777 * readline.m4: Look for termcap, curses or ncurses if required.
779 2005-08-11 Simon Josefsson <jas@extundo.com>
781 * readline.m4: New file.
783 2005-08-10 Simon Josefsson <jas@extundo.com>
785 * strnlen.m4: New file.
787 * strndup.m4: Don't check for strnlen declaration, done in
790 2005-08-10 Stepan Kasal <kasal@ucw.cz>
792 * onceonly_2_57.m4: Really require Autoconf 2.57.
794 2005-08-02 Simon Josefsson <jas@extundo.com>
796 * getline.m4: Separate out getdelim stuff into separate module.
798 * getdelim.m4: New file.
800 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
802 Add support to getopt for Emacs, which doesn't use LIBOBJS in the
804 * getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER): New macro.
805 (gl_GETOPT_SUBSTITUTE): Use it. Invoke gl_PREREQ_GETOPT.
806 (gl_GETOPT_IFELSE, gl_GETOPT_CHECK_HEADERS): New macros.
807 (gl_GETOPT): Use the new macros. Most of the implementation
808 is moved to the new macros. This is for programs like Emacs
809 that don't want all the functionality of gl_GETOPT.
811 2005-07-26 Bruno Haible <bruno@clisp.org>
813 * lock.m4: Update from GNU gettext.
815 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
817 * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_IFELSE instead of the
818 obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
820 2005-07-24 Bruno Haible <bruno@clisp.org>
822 * visibility.m4: New file.
824 2005-07-18 Bruno Haible <bruno@clisp.org>
826 * lock.m4: New file, from GNU gettext.
828 2005-06-01 Bruno Haible <bruno@clisp.org>
830 * poll.m4 (gl_FUNC_POLL): Check against MacOS X 10.4 poll() bug.
831 When using lib/poll.c, define poll as rpl_poll.
833 2005-07-14 Bruno Haible <bruno@clisp.org>
835 * argp.m4 (gl_ARGP): Remove invocation of gl_FUNC_GLIBC_UNLOCKED_IO.
836 Instead, test for *_unlocked function declarations directly.
838 2005-07-14 Derek Price <derek@ximbiot.com>
840 * glob.m4 (gl_GLOB): Cache glob interface check result. Add check for
843 2005-07-10 Bruno Haible <bruno@clisp.org>
845 * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t.
846 Needed when size_t is smaller than 'unsigned int'.
847 Reported by Paul Eggert.
849 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
851 * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
852 * same.m4 (gl_SAME): Likewise.
853 Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
855 * regex.m4: Adjust to new libc regex implementation.
856 (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
857 all the .c and .h parts of (the new) regex.
858 Quote the m4 stuff better.
859 Check for RE_ICASE bug of old gnulib.
860 Check for REG_STARTEND of recent libc.
861 Rename local variables from jm_* to gl_*.
862 Quote operand of "test -f".
863 Say "recent enough" version of libc, not "version 2".
864 (gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a
865 prerequisite module. Remove AC_HEADER_STDC; no longer needed.
866 Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll.
867 Remove check for btowc, isascii.
868 Require AM_LANGINFO_CODESET.
870 2005-07-05 Bruno Haible <bruno@clisp.org>
872 * mbrtowc.m4 (gl_FUNC_MBRTOWC): Upgrade to version from current
873 autoconf CVS. Needed for mingw.
875 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
877 Remove the dependency of the strftime module on the tzset module.
878 * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
880 2005-07-02 Jim Meyering <jim@meyering.net>
882 * chown.m4, cloexec.m4, dup2.m4, fsusage.m4:
883 * getcwd-path-max.m4, getcwd.m4, mkstemp.m4, mountlist.m4:
884 * pagealign_alloc.m4, save-cwd.m4, unistd-safer.m4:
885 Don't check for fcntl.h, and don't test for HAVE_FCNTL_H.
887 2005-06-28 Simon Josefsson <jas@extundo.com>
889 * check-version.m4: New file, suggested by Jim Meyering
892 2005-06-24 Derek Price <derek@ximbiot.com>
893 and Bruno Haible <bruno@clisp.org>
895 Remove stat module & update lstat.
896 * lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
897 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
898 * stat.m4: Remove this file.
900 2005-06-20 Derek Price <derek@ximbiot.com>
902 * bison.m4: Note that precious decls of YACC & YFLAGS will be
903 unnecessary for Autoconfs > 2.59c.
905 2005-06-16 Derek Price <derek@ximbiot.com>
907 * bison.m4: Declare YACC & YFLAGS precious.
909 2005-06-08 Bruno Haible <bruno@clisp.org>
911 * csharpcomp.m4: New file, from GNU gettext.
913 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
916 * mkdir-p.m4: Renamed from makepath.m4.
917 (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed.
918 Rename files from makepath.c to mkdir-p.c, and from
919 makepath.h to mkdir-p.h.
920 * filenamecat.m4: Renamed from path-concat.m4.
921 (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed.
922 Rename files from path-concat.c to filenamecat.c,
923 and from path-concat.h to filenamecat.h.
924 * getcwd-path-max.m4: Don't use "path" or "filename" to mean
925 "file name" in local variables or comments.
926 * rename.m4: Likewise.
928 2005-06-01 Bruno Haible <bruno@clisp.org>
930 * csharp.m4: New file, from GNU gettext.
931 * csharpexec.m4: New file, from GNU gettext.
933 2005-05-31 Derek Price <derek@ximbiot.com>
934 Paul Eggert <eggert@cs.ucla.edu>
937 * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
939 2005-05-29 Derek Price <derek@ximbiot.com>
940 Paul Eggert <eggert@cs.ucla.edu>
944 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
946 * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
947 and don't require gt_INTTYPES_PRI.
949 2005-05-26 Paul Eggert <eggert@cs.ucla.edu>
951 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Define
952 _POSIX_PTHREAD_SEMANTICS for Solaris.
954 2005-05-25 Derek Price <derek@ximbiot.com>
955 Paul Eggert <eggert@cs.ucla.edu>
957 * getlogin_r.m4: New files.
959 2005-05-22 Bruno Haible <bruno@clisp.org>
961 * minmax.m4: New file.
962 Based on a patch by Derek Price <derek@ximbiot.com>.
964 2005-05-20 Paul Eggert <eggert@cs.ucla.edu>
966 * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
967 (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
969 2005-05-20 Eric Blake <ebb9@byu.net> (tiny change)
971 * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
974 2005-05-18 Paul Eggert <eggert@cs.ucla.edu>
976 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
977 Don't check for stddef.h.
978 * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
979 don't use its results.
980 Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
981 since we include them unconditionally. Don't require
982 AM_STDBOOL_H, since stdbool is a prerequisite.
983 Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
984 since we assume C89 or better.
985 Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
986 as we don't use their results.
987 Don't check for fchdir, memmove, memset, strrchr, as we use
988 them unconditionally.
989 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
990 GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
992 2005-05-18 Jim Meyering <jim@meyering.net>
994 * fts.m4 (AC_LIBSOURCES): Add intprops.h to the list.
995 Reported by Yoann Vandoorselaere.
997 2005-05-17 Jim Meyering <jim@meyering.net>
999 * fts.m4: New file, from coreutils.
1001 2005-05-14 Paul Eggert <eggert@cs.ucla.edu>
1003 Sync from coreutils.
1004 * unlinkdir.m4: New file.
1006 2005-05-10 Derek Price <derek@ximbiot.com>
1008 * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1011 2005-05-10 Simon Josefsson <jas@extundo.com>
1013 * getaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
1014 Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
1016 2005-05-09 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
1017 Bruno Haible <bruno@clisp.org>
1019 * inet_ntop.m4: New file.
1021 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1023 * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1026 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1028 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1029 * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1030 (gl_PREREQ_CHOWN): Remove.
1031 * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1032 it. Don't require AC_HEADER_STAT.
1033 (gl_PREREQ_LSTAT): Remove.
1034 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1035 Don't require AC_HEADER_STAT.
1036 * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1037 (gl_PREREQ_RMDIR): Remove.
1038 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1039 mention stat-macros.h or AC_HEADER_STAT, since we'll make
1040 the stat-macros module a prerequisite.
1041 * file-type.m4 (gl_FILE_TYPE): Likewise.
1042 * filemode.m4 (gl_FILEMODE): Likewise.
1043 * makepath.m4 (gl_MAKEPATH): Likewise.
1044 * modechange.m4 (gl_MODECHANGE): Likewise.
1045 * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1047 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1048 fetish_FUNC_RMDIR_NOTEMPTY. All uses changed. Use gl_ for
1050 * fcntl-safer.m4: Remove.
1051 * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1052 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1053 Invoke gl_PREREQ_FD_SAFER.
1054 (gl_PREREQ_FD_SAFER): New macro.
1055 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Check for siginterrupt.
1056 * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1057 Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1058 Remove duplicate call to AC_LIBOBJ(readutmp).
1059 (gl_PREREQ_READUTMP): Remove. All uses inlined.
1061 * mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check for message, not for
1062 MAP_ANON. Problem reported by Moriyoshi Koizumi to bug-cvs.
1064 2005-05-01 Oskar Liljeblad <oskar@osk.mine.nu>
1066 * byteswap.m4: New file.
1070 * gettext.m4: Update from GNU gettext 0.14.4.
1072 2005-04-15 Simon Josefsson <jas@extundo.com>
1074 * getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
1076 2005-03-28 Eric Blake <ebb9@byu.net> (tiny change)
1078 * getcwd-path-max.m4: Return success on systems such as Cygwin
1079 where no absolute path name can be longer than PATH_MAX.
1081 2005-03-22 Jim Meyering <jim@meyering.net>
1083 * stat-macros.m4 (gl_STAT_MACROS): New file/macro.
1085 2005-03-21 Jim Meyering <jim@meyering.net>
1086 and Paul Eggert <eggert@cs.ucla.edu>
1088 * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4,
1089 cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4,
1090 exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4,
1091 getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4,
1092 getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4,
1093 idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4,
1094 memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4,
1095 path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4,
1096 quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4,
1097 safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4,
1098 strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4,
1099 unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4,
1100 xnanosleep.m4, xstrtol.m4, yesno.m4:
1101 Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files
1104 2005-03-21 Jim Meyering <jim@meyering.net>
1106 * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Invoke gl_FUNC_MEMRCHR.
1107 * memrchr.m4 (gl_FUNC_MEMRCHR): Check for memrchr decl.
1109 2005-03-16 Bruno Haible <bruno@clisp.org>
1111 * stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
1112 HAVE_LONGLONG_64BIT.
1114 2005-03-14 Bruno Haible <bruno@clisp.org>
1116 * lib-link.m4, gettext.m4, nls.m4, po.m4:
1117 Update from GNU gettext 0.14.3.
1119 2005-03-10 Jim Meyering <jim@meyering.net>
1121 * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1123 2005-03-07 Bruno Haible <bruno@clisp.org>
1125 * mmap-anon.m4 (MAP_FILE, MAP_FAILED): Remove definitions.
1127 2005-03-03 Bruno Haible <bruno@clisp.org>
1129 * inttypes.m4, isc-posix.m4, once-only.m4:
1130 Use an all-permissive copyright notice, recommended by RMS.
1132 2005-03-03 Derek R. Price <derek@ximbiot.com>
1134 * mmap-anon.m4: New file.
1135 * pagealign_alloc.m4: New file.
1137 2005-01-28 Bruno Haible <bruno@clisp.org>
1139 * stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because of
1140 AIX, the replacement has to be done only after <string.h> is included,
1141 therefore not in config.h. stpncpy.h does the replacement, and
1144 2005-03-01 Paul Eggert <eggert@cs.ucla.edu>
1146 * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1147 to detect nanosleep bug.
1149 2005-02-25 Paul Eggert <eggert@cs.ucla.edu>
1151 * gethrxtime.m4, xnanosleep.m4: New files.
1152 * gettime.m4 (gl_GETTIME): Check for nanotime.
1154 2005-02-24 Bruno Haible <bruno@clisp.org>
1156 * gettext.m4, intdiv0.m4, intmax.m4, inttypes-pri.m4, lcmessage.m4:
1157 * lib-link.m4, lib-prefix.m4, nls.m4, po.m4, printf-posix.m4:
1159 Update from GNU gettext 0.14.2.
1160 * glibc2.m4: New file, from GNU gettext 0.14.2.
1162 2005-02-22 Simon Josefsson <jas@extundo.com>
1164 * iconvme.m4: New file.
1166 2005-02-23 Jim Meyering <jim@meyering.net>
1168 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
1169 Thanks to Bruno Haible for catching it.
1171 2005-02-22 Jim Meyering <jim@meyering.net>
1173 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
1175 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1177 * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
1179 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
1181 Sync from coreutils.
1182 * getloadavg.m4, glibc.m4, search-libs.m4: Remove.
1184 Remove files that are specific to coreutils.
1185 * check-decl.m4, jm-macros.m4, lib-check.m4, prereq.m4: Remove.
1187 2005-01-28 Bruno Haible <bruno@clisp.org>
1189 * javacomp.m4: New file, from GNU gettext.
1191 2005-01-26 Bruno Haible <bruno@clisp.org>
1193 * javaexec.m4: New file, from GNU gettext.
1195 2005-01-24 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1197 * sysexits.m4 (gl_SYSEXITS): Reverted logic. SYSEXITS_H
1198 must be defined if the header file was not found, in order
1199 to provide a replacement. Reported by Todd Vierling <tv@duh.org>
1201 2005-01-23 Paul Eggert <eggert@cs.ucla.edu>
1203 * acl.m4, afs.m4, alloca.m4, argp.m4, assert.m4, atexit.m4,
1204 backupfile.m4, base64.m4, bison.m4, c-bs-a.m4, c-stack.m4,
1205 c-strtod.m4, calloc.m4, canon-host.m4, canonicalize.m4,
1206 clock_time.m4, cloexec.m4, closeout.m4, d-ino.m4, d-type.m4,
1207 dirfd.m4, dirname.m4, dos.m4, dup2.m4, error.m4, euidaccess.m4,
1208 exclude.m4, exitfail.m4, extensions.m4, fcntl-safer.m4,
1209 file-type.m4, fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4,
1210 free.m4, fstypename.m4, fsusage.m4, ftruncate.m4, getaddrinfo.m4,
1211 getcwd-path-max.m4, getcwd.m4, getdate.m4, getdomainname.m4,
1212 getgroups.m4, gethostname.m4, getline.m4, getndelim2.m4,
1213 getnline.m4, getopt.m4, getpagesize.m4, getpass.m4, getsubopt.m4,
1214 gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4,
1215 group-member.m4, hard-locale.m4, hash.m4, host-os.m4, human.m4,
1216 idcache.m4, inttostr.m4, isdir.m4, jm-winsz1.m4, jm-winsz2.m4,
1217 link-follow.m4, long-options.m4, ls-mntd-fs.m4, lstat.m4,
1218 makepath.m4, mathl.m4, md5.m4, memcasecmp.m4, memchr.m4,
1219 memcmp.m4, memcoll.m4, memcpy.m4, memmem.m4, memmove.m4,
1220 memrchr.m4, memset.m4, mkdir-slash.m4, mkstemp.m4, mktime.m4,
1221 modechange.m4, mountlist.m4, nanosleep.m4, obstack.m4,
1222 path-concat.m4, pathmax.m4, perl.m4, physmem.m4, poll.m4,
1223 posixtm.m4, posixver.m4, putenv.m4, quote.m4, quotearg.m4,
1224 readdir.m4, readtokens.m4, readutmp.m4, regex.m4, rename.m4,
1225 restrict.m4, rmdir-errno.m4, rmdir.m4, rpmatch.m4, same.m4,
1226 savedir.m4, settime.m4, sha1.m4, sig2str.m4, snprintf.m4,
1227 sockpfaf.m4, st_dm_mode.m4, st_mtim.m4, stat.m4, stdint.m4,
1228 stdio-safer.m4, strchrnul.m4, strdup.m4, strerror.m4,
1229 strerror_r.m4, strftime.m4, strndup.m4, strnlen.m4, strsep.m4,
1230 strtod.m4, strtoimax.m4, strtok_r.m4, strtol.m4, strtoll.m4,
1231 strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4, sysexits.m4,
1232 time_r.m4, timegm.m4, timespec.m4, tm_gmtoff.m4, tzset.m4,
1233 uint32_t.m4, uintptr_t.m4, unistd-safer.m4, unlink-busy.m4,
1234 unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4, utime.m4,
1235 utimecmp.m4, utimens.m4, utimes-null.m4, vsnprintf.m4, xalloc.m4,
1236 xgetcwd.m4, xreadlink.m4, xstrndup.m4, xstrtod.m4, xstrtoimax.m4,
1237 xstrtol.m4, xstrtoumax.m4, yesno.m4:
1238 Use an all-permissive copyright notice, recommended by RMS.
1240 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
1242 * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
1244 2005-01-18 Paul Eggert <eggert@cs.ucla.edu>
1246 Merge from coreutils.
1247 * ullong_max.m4: New file.
1248 * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
1249 (gl_MACROS): Assume localeconv exists.
1251 2005-01-18 Jim Meyering <jim@meyering.net>
1253 Merge from coreutils.
1254 * chdir-long.m4, openat.m4: New files.
1255 * save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c,
1256 save-cwd.h. Add AC_LIBOBJ for save-cwd.
1257 * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
1258 is sane and DOES follow symlinks. Besides, testing 20 different
1259 systems found no broken chown implementations.
1260 Prompted by a change in rsync's copy of this macro.
1261 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR_LONG.
1263 * lchown.m4 (gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
1265 * utimes.m4: Work around tests/touch/empty-file failure on a system
1266 (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
1267 NULL-means-set-to-current-time semantics.
1268 Remove temporary file immediately, rather than waiting
1269 for configure's at-exit trap code to do it.
1271 2005-01-18 Bruno Haible <bruno@clisp.org>
1273 * allocsa.m4, codeset.m4, copy-file.m4, eaccess.m4, eealloc.m4:
1274 * eoverflow.m4, execute.m4, fatal-signal.m4, findprog.m4, glibc21.m4:
1275 * iconv.m4, intmax_t.m4, inttypes_h.m4, lib-ld.m4, lib-link.m4:
1276 * lib-prefix.m4, linebreak.m4, localcharset.m4, longdouble.m4:
1277 * longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mkdtemp.m4:
1278 * pipe.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4:
1279 * sig_atomic_t.m4, signalblocking.m4, signed.m4, size_max.m4:
1280 * ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4, stpncpy.m4:
1281 * strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, ucs4-utf.m4:
1282 * uintmax_t.m4, ulonglong.m4, unicodeio.m4, utf-ucs4.m4, vasnprintf.m4:
1283 * vasprintf.m4, wait-process.m4, wchar_t.m4, wint_t.m4, xsize.m4:
1284 Use an all-permissive copyright notice, recommended by RMS.
1286 2005-01-06 Bruno Haible <bruno@clisp.org>
1288 * stpncpy.m4 (gl_FUNC_STPNCPY): Rename stpncpy to gnu_stpncpy here.
1290 2005-01-04 Jim Meyering <jim@meyering.net>
1292 Changes imported from coreutils.
1293 * mkstemp.m4 (gl_FUNC_MKSTEMP): Rather than using "conftestXXXXXX"
1294 as the mkstemp template, use a temporary directory and an
1295 8.3-friendly template to avoid trouble on systems like DJGPP.
1296 Reported by Juan M. Guerrero via Stepan Kasal.
1297 * (gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of close.
1298 Remove the temporary directory right away, rather than waiting
1299 for configure's at-exit trap code to do it.
1300 Suggestion from Stepan Kasal.
1302 2004-12-24 Paul Eggert <eggert@cs.ucla.edu>
1304 * c-strtod.m4 (gl_C99_STRTOLD): New macro.
1305 (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
1307 2004-12-23 Paul Eggert <eggert@cs.ucla.edu>
1309 * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
1311 2004-12-18 Bruno Haible <bruno@clisp.org>
1313 * fatal-signal.m4 (gl_FATAL_SIGNAL): Also test for sigaction.
1315 2004-12-07 Paul Eggert <eggert@cs.ucla.edu>
1317 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
1318 spurious "-l"s. Problem reported by Stepan Kasal.
1320 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1322 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
1323 in Autoconf 2.59. Problem reported by Mark D. Baushke.
1325 2004-12-04 Paul Eggert <eggert@cs.ucla.edu>
1327 Changes imported from coreutils.
1328 * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
1330 * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
1332 2004-11-30 Paul Eggert <eggert@cs.ucla.edu>
1334 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1335 Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
1337 * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
1339 2004-11-30 Simon Josefsson <jas@extundo.com>
1341 * base64.m4: New file.
1343 2004-11-30 Simon Josefsson <jas@extundo.com>
1345 * restrict.m4: Add copyright and copying conditions.
1347 2004-11-25 Paul Eggert <eggert@cs.ucla.edu>
1349 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
1350 GL_FUNC_GETCWD_PATH_MAX for consistency. All uses changed.
1351 Use the _ONCE methods, for efficiency.
1352 Check for fcntl.h. In test program, include <errno.h>
1353 and <fcntl.h> if available. Remove old K&R cruft from
1354 test program. Check for common errors in GNU/Linux,
1355 OpenBSD, and Solaris. Just set gl_cv_func_getcwd_path_max;
1356 don't do AC_LIBOBJ, as that's getcwd.m4's job.
1357 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
1358 AC_FUNC_GETCWD_NULL. All used changed. Change cache variable
1360 (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros. Revamp to
1361 accommodate new getcwd.c.
1362 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
1363 * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
1364 * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
1365 that's all we need now.
1367 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1369 * utimens.m4 (gl_UTIMENS): Check for futimes function.
1371 2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1373 * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
1374 argp-parse.c depends on getopt internals, that means we should
1375 always use our getopt, to be on the safe side.
1376 * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
1377 order not to spoil the result of an eventual previous invocation
1378 of gl_GETOPT_SUBSTITUTE.
1380 2004-11-17 Paul Eggert <eggert@cs.ucla.edu>
1382 * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
1383 that mishandle size_t overflow.
1385 2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
1387 * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
1389 2004-11-13 Jim Meyering <jim@meyering.net>
1391 * jm-macros.m4: Do require gl_FUNC_FPENDING.
1393 2004-11-11 Paul Eggert <eggert@cs.ucla.edu>
1395 * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead
1396 of replacing opterr, getopt, etc. This should handle the
1397 powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson.
1399 2004-11-11 Simon Josefsson <jas@extundo.com>
1401 * strtok_r.m4: New file.
1403 * getopt.m4: Replace opterr.
1405 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
1407 * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
1409 2004-11-10 Jim Meyering <jim@meyering.net>
1411 * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING.
1413 2004-11-08 Simon Josefsson <jas@extundo.com>
1415 * getaddrinfo.m4: New file.
1417 2004-11-09 Paul Eggert <eggert@cs.ucla.edu>
1419 * strftime.m4 (_gl_STRFTIME_PREREQS): Remove. Move its body to
1421 (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE
1422 and AC_REQUIRE when possible, to avoid duplicate checks.
1423 Check for <wchar.h>.
1425 2004-11-09 Bruno Haible <bruno@clisp.org>
1427 * sockpfaf.m4: New file.
1429 2004-11-03 Albert Chin <china@thewrittenword.com>
1430 Paul Eggert <eggert@cs.ucla.edu>
1432 * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
1433 equivalent, substitute $ac_type for equivalent type rather than
1434 blindly using uint32_t *always* which won't work if uint32_t is not
1435 available. Define _UINT32_T to work around typedef of uint32_t if
1436 <sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
1439 2004-11-02 Paul Eggert <eggert@cs.ucla.edu>
1441 * jm-macros.m4: Sync from coreutils.
1442 (gl_MACROS): Check for mbrlen, for pathchk.
1443 (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
1445 2004-11-02 Bruno Haible <bruno@clisp.org>
1447 * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv()
1450 2004-11-01 Paul Eggert <eggert@cs.ucla.edu>
1452 * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
1453 fflush_unlocked, flockfile, funlockfile, funlockfile,
1454 fputs_unlocked, putc_unlocked.
1456 2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
1458 * getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
1460 2004-10-15 Paul Eggert <eggert@cs.ucla.edu>
1462 * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
1463 implementation of getopt_long. Problem reported by Alexander Taler in:
1464 http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
1466 2004-10-11 Yoann Vandoorselaere <yoann@prelude-ids.org>
1468 * vsnprintf.m4: New file.
1470 2004-10-05 Bruno Haible <bruno@clisp.org>
1472 * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check
1473 for the declaration of strsep.
1475 2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
1477 * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove. All uses removed.
1479 * unlocked-io.m4: Add copyright notice.
1480 (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
1482 2004-10-04 Simon Josefsson <jas@extundo.com>
1484 * memmem.m4: New file.
1486 2004-10-01 Yoann Vandoorselaere <yoann@prelude-ids.org>
1488 * strsep.m4: New file.
1490 2004-09-30 Simon Josefsson <jas@extundo.com>
1492 * snprintf.m4: New file.
1494 2004-09-09 Bruno Haible <bruno@clisp.org>
1496 * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with
1498 * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
1500 2004-09-08 Bruno Haible <bruno@clisp.org>
1502 * stdint.m4: New file, taken from GNU clisp with modifications.
1504 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
1506 * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA.
1508 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
1510 * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody
1511 uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
1512 Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
1513 Check for program_invocation_name, program_invocation_short_name,
1514 flockfile, funlockfile, features.h, _getopt_long_only_r.
1516 2004-08-12 Simon Josefsson <jas@extundo.com>
1518 * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
1519 as discussed with Paul Eggert in threads rooted at
1520 <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
1522 <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
1523 Before, the test was empty, and relied on ELIDE_CODE in source
1525 (gl_PREREQ_GETOPT): New macro.
1526 (gl_GETOPT): Use them.
1528 2004-08-11 Paul Eggert <eggert@cs.ucla.edu>
1530 Merge from coreutils.
1532 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
1534 * obstack.m4 (gl_PREREQ_OBSTACK): Require
1535 gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
1537 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
1539 * uint32_t.m4, uintptr_t.m4: New files.
1540 * sha1.m4: Renamed from sha.m4.
1541 (gl_SHA1): Renamed from gl_SHA. All uses changed.
1543 2004-08-08 Simon Josefsson <jas@extundo.com>
1545 * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
1546 Check getpass declaration.
1548 2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
1550 More merge from coreutils.
1552 * utimens.m4, utimecmp.m4: New files.
1553 * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
1554 fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
1555 prereq.m4, sha.m4: Import changes from coreutils.
1557 2004-08-05 Paul Eggert <eggert@cs.ucla.edu>
1559 Merge from coreutils.
1561 * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
1564 * dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
1565 FILESYSTEM_PREFIX_LEN ->
1566 FILE_SYSTEM_PREFIX_LEN.
1567 FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX ->
1568 FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.
1569 FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR ->
1570 FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
1572 * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
1573 prerequisite modules now handle the DOS stuff.
1574 Don't check for unistd.h.
1576 2004-08-03 Simon Josefsson <jas@extundo.com>
1578 * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it.
1580 2004-08-02 Simon Josefsson <jas@extundo.com>
1582 * getsubopt.m4: New file.
1584 2004-08-03 Paul Eggert <eggert@cs.ucla.edu>
1586 * fatal.m4: Remove, as the "fatal" module wasn't used or working.
1588 2004-07-13 Robert Millan <robertmh@gnu.org>
1590 * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
1592 2004-06-22 Paul Eggert <eggert@cs.ucla.edu>
1594 * argz.m4: New file, which is autoupdated from libtool.
1596 2004-06-01 Jim Meyering <jim@meyering.net>
1598 * calloc.m4: New file.
1600 2004-06-01 Paul Eggert <eggert@cs.ucla.edu>
1602 Merge from coreutils CVS.
1604 * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4,
1605 makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4,
1606 putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4,
1607 strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4,
1608 xstrtol.m4: Fix copyright date and/or serial number.
1610 * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
1611 See if we need an fchown replacement.
1612 (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
1613 (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
1614 and use the replacement function if we detect either defect.
1616 * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR,
1619 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
1621 * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI
1622 C B3910B A.05.55 [Dec 04 2003]. Problem reported by Jim Meyering.
1623 Also, fix a typo in a diagnostic.
1625 2004-05-30 Paul Eggert <eggert@cs.ucla.edu>
1627 * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC
1630 2004-05-20 Andreas Schwab <schwab@suse.de>
1632 * free.m4: Replace free if it not known to work, not the other
1635 2004-05-17 Derek R. Price <derek@ximbiot.com>
1636 Paul Eggert <eggert@cs.ucla.edu>
1638 * argp: Depend on alloca.
1640 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
1642 * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
1643 for backward compatibility with older code. We need our own
1644 alloca.h if _AIX is defined. Define HAVE_ALLOCA if we discover
1645 it under some other name, and our alloca.h will define it.
1647 2004-05-13 Paul Eggert <eggert@cs.ucla.edu>
1649 * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC.
1650 Check for gettimeofday.
1651 * settime.m4 (gl_SETTIME): Require gl_TIMESPEC.
1652 Check for settimeofday, stime.
1654 2004-04-20 Paul Eggert <eggert@twinsun.com>
1656 * host-os.m4: Add a copyright notice.
1658 2004-04-20 Jim Meyering <jim@meyering.net>
1660 Change UTILS_ to gl_ in AC_DEFINE'd names.
1661 Change utils_- and jm_-prefixed variables, too.
1662 * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
1663 UTILS_FUNC_MKDIR_TRAILING_SLASH.
1664 * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
1666 * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
1667 Don't emit trailing blanks.
1668 Also rename jm_-prefixed variables to have gl_ prefix.
1670 * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS.
1671 Also rename jm_-prefixed variables to have gl_ prefix.
1673 * jm-macros.m4: Reflect the renamings.
1674 * prereq.m4: Likewise.
1676 2004-04-19 Jim Meyering <jim@meyering.net>
1678 * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
1679 now that readutmp.c may call `free (0)'.
1681 2004-04-19 Bruno Haible <bruno@clisp.org>
1683 * mbrtowc.m4: Change jm_ to gl_ in cache variables as well.
1684 * inttypes_h.m4: Likewise.
1685 * stdint_h.m4: Likewise.
1686 * intmax_t.m4: Likewise.
1687 * uintmax_t.m4: Likewise.
1689 2004-04-18 Jim Meyering <jim@meyering.net>
1691 * prereq.m4: Don't forbid jm_ prefix.
1693 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
1694 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4:
1695 * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4:
1696 * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4:
1697 * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4:
1698 * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4:
1699 * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
1700 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
1701 * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4:
1702 * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4:
1703 * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4:
1704 * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4:
1705 * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4:
1706 * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4:
1707 * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
1708 Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
1710 2004-04-16 Jim Meyering <jim@meyering.net>
1712 * prereq.m4 (jm_PREREQ_STAT): Remove macro. It is specific to
1713 coreutils' stat program.
1714 (gl_PREREQ): Don't require jm_PREREQ_STAT.
1716 2004-03-31 Jim Meyering <jim@meyering.net>
1718 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
1719 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
1720 * xalloc.m4: Likewise.
1722 2004-03-30 Jim Meyering <jim@meyering.net>
1724 * realloc.m4: Remove file, since now it does no more than
1725 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
1726 the `configure.ac' section of module/realloc.
1727 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
1729 2004-03-30 Paul Eggert <eggert@twinsun.com>
1731 Merge from coreutils.
1733 * inttostr.m4: New file.
1734 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
1735 Require AM_STDBOOL_H and gl_TIMESPEC instead.
1736 Require gl_CLOCK_TIME.
1737 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
1739 2004-03-30 Jim Meyering <jim@meyering.net>
1741 Merge from coreutils.
1743 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
1744 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
1745 on some systems one must include <grp.h> before it.
1746 Reported by Christian Krackowizer.
1748 2004-03-29 Paul Eggert <eggert@twinsun.com>
1750 * cloexec.m4: New file.
1752 2004-03-18 Paul Eggert <eggert@twinsun.com>
1753 Bruno Haible <bruno@clisp.org>
1755 * mbswidth.m4 (gl_MBSWIDTH): Also test whether <wchar.h> declares
1758 2004-03-07 Paul Eggert <eggert@twinsun.com>
1760 * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
1761 All uses changed. Check for sa_sigaction member; this fixes
1762 a bug first reported by Jason Andrade in
1763 <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
1765 2004-01-18 Simon Josefsson <jas@extundo.com>
1767 * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared.
1769 2004-02-18 Bruno Haible <bruno@clisp.org>
1771 * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
1772 Reported by Derek Robert Price <derek@ximbiot.com>.
1774 2004-02-06 Karl Berry <karl@gnu.org>
1776 * po.m4: update from gettext 0.14.1.
1778 2004-02-03 Bruno Haible <bruno@clisp.org>
1780 * pipe.m4: New file, from GNU gettext.
1782 2004-01-27 Bruno Haible <bruno@clisp.org>
1784 * execute.m4: New file, from GNU gettext.
1786 2003-11-24 Bruno Haible <bruno@clisp.org>
1788 * allocsa.m4: New file, from GNU gettext.
1790 2003-11-24 Bruno Haible <bruno@clisp.org>
1792 * eealloc.m4: New file, from GNU gettext.
1794 2004-01-15 Paul Eggert <eggert@twinsun.com>
1796 Merge from coreutils.
1798 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
1799 * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
1800 (gl_DEFAULT_POSIX2_VERSION): Move
1801 the documentation from 'configure' into 'config.hin',
1802 so that 'configure --help' isn't burdened by it and
1803 we don't have to worry about its formatting there.
1804 Reword the documentation so that it's more succinct
1805 and can be run together into a single paragraph.
1806 * same.m4 (gl_SAME): Check for pathconf.
1808 2004-01-15 Jim Meyering <jim@meyering.net>
1810 Merge from coreutils.
1812 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
1813 if no library is required.
1814 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
1815 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
1816 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
1817 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
1818 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
1819 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
1820 value, $ac_cv_search_crypt, if it's "none required".
1821 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
1822 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
1823 not gl_FUNC_GETLOADAVG.
1824 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
1825 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
1827 2004-01-15 Alexandre Duret-Lutz <adl@gnu.org>
1829 Merge from coreutils.
1831 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
1832 value, $ac_cv_search_nanosleep, if it's "none required".
1834 2003-12-03 Bruno Haible <bruno@clisp.org>
1836 * gettext.m4: Upgrade from gettext-0.13.
1837 * po.m4: Upgrade from gettext-0.13.
1838 * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
1839 * intmax.m4: New file, from gettext-0.13.
1840 * printf-posix.m4: New file, from gettext-0.13.
1842 2003-11-25 Bruno Haible <bruno@clisp.org>
1844 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require
1847 2003-11-17 Bruno Haible <bruno@clisp.org>
1849 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T.
1851 2003-11-12 Paul Eggert <eggert@twinsun.com>
1853 * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or
1856 2003-11-11 Bruno Haible <bruno@clisp.org>
1858 * size_max.m4: New file.
1859 * ptrdiff_max.m4: New file.
1860 * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
1861 * xalloc.m4 (gl_PREREQ_XALLOC): New macro.
1862 (gl_XALLOC): Invoke it.
1864 2003-11-04 Bruno Haible <bruno@clisp.org>
1866 * xsize.m4: New file.
1868 2003-11-03 Bruno Haible <bruno@clisp.org>
1870 * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid.
1872 2003-10-30 Paul Eggert <eggert@cs.ucla.edu>
1874 * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to
1875 netbsd*-gnu*. Suggested by Robert Millan.
1877 2003-10-29 Paul Eggert <eggert@twinsun.com>
1879 * xalloc.m4 (gl_XALLOC): Undo previous change.
1881 2003-10-29 Paul Eggert <eggert@twinsun.com>
1883 * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu. Add comments
1884 to it, and to knetbsd*-gnu and kfreebsd*-gnu. Remove the '*' from
1885 after the 'gnu' in these cases. This fixes some bugs in the
1886 previous change, and is based on suggestions by Robert Millan.
1888 2003-10-28 Paul Eggert <eggert@twinsun.com>
1890 * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and
1891 GNU/KNetBSD. These implementations use glibc atop the FreeBSD and
1892 NetBSD kernels. Requested by Richard Stallman.
1894 2003-10-26 Paul Eggert <eggert@twinsun.com>
1896 * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
1899 2003-10-23 Paul Eggert <eggert@twinsun.com>
1901 * getline.m4 (AM_FUNC_GETLINE):
1902 Don't include getndelim2.o twice into LIBOBJS; this breaks on some
1903 hosts. Problem reported by Derek Robert Price in
1904 <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
1905 This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
1906 * getndelim2.m4 (gl_GETNDELIM2): Likewise.
1908 2003-10-20 Bruno Haible <bruno@clisp.org>
1910 * wait-process.m4: New file.
1912 2003-10-14 Bruno Haible <bruno@clisp.org>
1914 * sig_atomic_t: New file, from GNU gettext.
1915 * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T.
1917 2003-10-12 Paul Eggert <eggert@twinsun.com>
1919 * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE.
1921 2003-10-10 Simon Josefsson <jas@extundo.com>
1923 * argp.m4: Add AC_C_INLINE.
1925 2003-10-08 Paul Eggert <eggert@twinsun.com>
1927 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
1929 2003-10-06 Bruno Haible <bruno@clisp.org>
1931 * fatal-signal.m4: New file.
1932 * signalblocking.m4: New file, from GNU gettext.
1934 2003-09-27 Paul Eggert <eggert@twinsun.com>
1936 * free.m4: New file.
1938 2003-09-26 Bruno Haible <bruno@clisp.org>
1940 * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
1941 Don't define stpncpy through config.h; it's now done through stpncpy.h.
1943 2003-09-25 Simon Josefsson <jas@extundo.com>
1944 Bruno Haible <bruno@clisp.org>
1946 * getdomainname.m4: New file.
1948 2003-09-17 Paul Eggert <eggert@twinsun.com>
1950 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
1951 to avoid spurious warnings like "AC_RUN_IFELSE was called before
1952 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
1954 2003-09-12 Paul Eggert <eggert@twinsun.com>
1956 * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it.
1958 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
1959 and AC_MINIX, too, so that their extensions are available.
1961 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
1962 This macro has been superseded by gl_BACKUPFILE.
1964 More patches to assume C89 or better.
1966 * error.m4 (gl_ERROR): Don't check for vprintf.
1968 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
1970 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
1971 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
1972 Include <string.h>, <stdlib.h> unconditionally.
1973 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
1974 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
1975 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
1977 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h
1980 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
1981 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
1982 * userspec.m4 (gl_USERSPEC): Likewise.
1983 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
1984 * xstrtod.m4 (gl_XSTRTOD): Likewise.
1985 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
1986 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
1988 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
1989 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
1990 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
1991 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
1992 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
1993 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
1996 2003-09-11 Paul Eggert <eggert@twinsun.com>
1998 More patches to assume C89 or better.
1999 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2000 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2001 string.h, memchr, STDC_HEADERS.
2003 2003-09-10 Bruno Haible <bruno@clisp.org>
2005 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2006 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2007 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2008 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2009 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove
2010 <stdlib.h> and <string.h> checks.
2011 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2012 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2014 2003-09-09 Paul Eggert <eggert@twinsun.com>
2016 More patches to assume C89 or better.
2017 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2018 * getopt.m4 (gl_GETOPT): Don't check for string.h.
2019 * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
2021 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2022 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2024 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2026 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2027 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2028 * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
2030 * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
2031 * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
2033 * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
2035 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2036 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2037 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2038 * memcoll.m4 (gl_MEMCOLL): Likewise.
2039 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2040 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2042 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2043 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2044 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2045 C headers, or for string.h.
2046 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2047 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2048 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2049 headers, memory.h, stdlib.h, string.h, strings.h.
2050 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2051 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2052 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2054 * readtokens.m4 (gl_READTOKENS): Don't check for standard C
2055 headers, memory.h, string.h.
2056 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2057 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2059 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2060 * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
2061 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2062 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2063 * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
2064 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2066 2003-09-09 Derek Robert Price <derek@ximbiot.com>
2068 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2071 2003-09-08 Paul Eggert <eggert@twinsun.com>
2073 Assume C89 or better; remove K&R cruft.
2074 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2075 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2076 string.h, getenv, malloc.
2077 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2079 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2080 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2081 do not check for strerror.
2082 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2083 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2084 * fatal.m4 (gl_FATAL): Do not require STDC headers, and
2085 do not check for doprnt or vprintf.
2086 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
2087 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2089 2003-09-06 Paul Eggert <eggert@twinsun.com>
2091 * time_r.m4: New file.
2092 * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
2093 * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
2094 Check for timegm declaration.
2095 (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
2096 Do not check for gmtime_r.
2097 Replace mktime if __mktime_internal does not exist and if mktime
2098 hasn't been replaced already.
2100 2003-08-31 Simon Josefsson <jas@extundo.com>
2102 * timegm.m4: New file.
2104 2003-08-26 Bruno Haible <bruno@clisp.org>
2106 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2107 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2108 followed by '#define fnmatch fnmatch_posix' gives an error.
2110 2003-08-27 Jim Meyering <jim@meyering.net>
2112 * mkstemp.m4: Require that the system mkstemp be able to create
2113 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
2114 would fail after 32. Reported by Danny Levinson. Details here:
2115 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2117 2003-08-20 Karl Berry <karl@gnu.org>
2119 * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
2121 2003-08-19 Jim Meyering <jim@meyering.net>
2123 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2124 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2126 2003-08-19 Bruno Haible <bruno@clisp.org>
2128 * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
2130 2003-08-18 Jim Meyering <jim@meyering.net>
2132 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2133 * lib-ld.m4: Likewise.
2135 2003-08-17 Simon Josefsson <jas@extundo.com>
2137 * argp.m4: New file.
2139 2003-08-17 Simon Josefsson <jas@extundo.com>
2141 * xstrndup.m4: New file.
2143 2003-08-16 Jim Meyering <jim@meyering.net>
2145 * utimes.m4 (gl_FUNC_UTIMES): New file.
2146 * utimes.m4: Removed.
2147 * utimes-null.m4: Renamed from utimes.m4.
2149 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2150 to 1MB, so as not to render systems with no stack size limit (e.g.,
2151 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2152 Include <unistd.h>. On some systems,
2153 it is required for the definition of _SC_PAGESIZE.
2155 2003-08-16 Paul Eggert <eggert@twinsun.com>
2157 Merges from coreutils, etc.
2158 * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
2159 error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28.
2160 * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
2162 * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
2163 * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
2165 2003-08-16 Jim Meyering <jim@meyering.net>
2166 and Paul Eggert <eggert@cs.ucla.edu>
2168 Merges from coreutils, etc.
2170 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
2171 using the latest version from cvs. This avoids problems with #line
2172 directives using a vendor (Sun) compiler.
2173 (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
2174 Don't set GETGROUPS_LIB here; now it's
2175 done via getgroups.m4's wrapper function.
2176 AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
2177 rather than just in sh-util/configure.in, so that the
2178 now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
2180 Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
2181 AC_FUNC_GETLOADAVG where to find getloadavg.c.
2182 Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
2183 UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
2184 gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
2185 Remove code that is now done by the newly-required macros.
2186 Append $(EXEEXT) to DF_PROG.
2187 AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
2188 Do not invoke or require the following here,
2189 since prereq.m4 or some gnulib .m4 now does this for us:
2190 gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
2191 jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
2192 jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
2193 jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
2194 jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
2195 AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
2196 vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
2198 Do not replace the following functions, as this is now the job
2199 of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
2200 getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
2201 strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
2202 atexit getpass, strdup, getpagesize.
2204 Do not check for the following functions, as this is now the job
2205 of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
2206 getcwd, getmntinfo, resolvepath. But check for sysctl, setreuid,
2208 (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
2209 Check for sys/sysctl.h.
2210 (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
2211 jm_CHECK_TYPE_STRUCT_TIMESPEC. Invoke gt_TYPE_SSIZE_T instead
2212 of checking for ssize_t ourselves.
2214 * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
2215 Require every macro that gnulib/modules/* suggests for us.
2216 (jm_PREREQ_ADDEXT): New macro.
2217 (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
2218 Require jm_AC_TYPE_LONG_LONG instead of invoking it.
2220 * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
2221 (gl_PHYSMEM): Use it.
2222 Also check for `table' function.
2223 Check for new headers and functions.
2224 Add check for sys/sysmp.h.
2225 With suggestions from Kaveh Ghazi.
2226 Ignore headers that are present but cannot be compiled. This
2227 avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
2230 2003-08-16 Jim Meyering <jim@meyering.net>
2232 Merges from coreutils.
2233 * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
2234 prefix. Adjust cache variables similarly. Create 500 rather than
2235 just 300 files, to exercise bug on Darwin6.5, too.
2236 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
2237 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
2238 Reported by mkc@mathdogs.com.
2239 Also change use of $am_cv_sys_posix_termios
2240 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
2241 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
2242 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
2243 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
2244 /proc/mounts until it finds one with matching device number. This is
2245 unnecessary when the FILE argument *is* a mount point. No stat call
2246 is necessary in that case. So, disable the statvfs-testing code on
2247 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
2248 as RedHat bug# 84846.
2249 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2250 to 1MB, so as not to render systems with no stack size limit (e.g.,
2251 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2252 Include <unistd.h>. On some systems,
2253 it is required for the definition of _SC_PAGESIZE.
2255 2003-08-15 Jim Meyering <jim@meyering.net>
2256 and Paul Eggert <eggert@cs.ucla.edu>
2258 Merges from coreutils, etc.
2259 * strftime.m4 (_jm_STRFTIME_PREREQS):
2260 Require gl_FUNC_TZSET_CLOBBER.
2261 * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
2262 ut_exit.ut_termination, and ut_exit.e_termination members.
2264 2003-08-14 Paul Eggert <eggert@twinsun.com>
2266 Help the merge from coreutils.
2267 * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
2268 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
2269 * tzset.m4: Use it too.
2271 2003-08-14 Jim Meyering <jim@meyering.net>
2273 Merge from coreutils.
2274 * tzset.m4: New file.
2275 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
2276 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
2277 systems would end up using the latter. MOUNTED_GETMNTENT1 support
2278 is inadequate on such systems: 1) detecting whether a file system
2279 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
2280 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
2281 merely /MOUNT_POINT. Reported by Mike Jetzer.
2283 2003-08-13 Paul Eggert <eggert@twinsun.com>
2285 * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
2288 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2289 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2290 Undo previous (whitespace-only) change.
2292 2003-08-12 Paul Eggert <eggert@twinsun.com>
2294 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2295 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2296 Normalize leading white space and remove trailing white space.
2298 Merge from coreutils
2299 * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
2301 * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
2302 0.12.1. These files are now being upgraded automatically by
2303 ../config/srclist-update.
2305 2003-08-11 Bruno Haible <bruno@clisp.org>
2307 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
2309 2003-08-09 Paul Eggert <eggert@twinsun.com>
2311 * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
2312 apparently Emacs's Unicode mode got confused before my 2003-08-05
2315 2003-08-08 Paul Eggert <eggert@twinsun.com>
2317 * extensions.m4: New file.
2318 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
2319 Require gl_USE_SYSTEM_EXTENSIONS.
2320 * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
2321 Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
2323 2003-08-07 Paul Eggert <eggert@twinsun.com>
2325 * restrict.m4: New file.
2326 * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
2328 2003-08-07 Bruno Haible <bruno@clisp.org>
2330 * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
2331 the module 'getndelim2' compatible with the module 'getline'.
2333 2003-08-05 Paul Eggert <eggert@twinsun.com>
2335 * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
2336 byte with "\201" to avoid glitches when editing that source file
2337 with multi-gnome-terminal.
2339 2003-07-31 Bruno Haible <bruno@clisp.org>
2341 * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
2343 2003-07-18 Bruno Haible <bruno@clisp.org>
2345 * getndelim2.m4: New file.
2346 * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
2347 invoke gl_PREREQ_GETNDELIM2.
2348 (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
2349 gl_PREREQ_GETNDELIM2.
2350 * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
2353 2003-07-17 Bruno Haible <bruno@clisp.org>
2355 * Makefile.am.in: Remove file.
2356 * Makefile.am: Remove file.
2357 * Makefile.in: Remove file.
2359 2003-07-17 Bruno Haible <bruno@clisp.org>
2361 * getnline.m4: New file.
2363 2003-07-14 Simon Josefsson <jas@extundo.com>
2365 * mempcpy.m4: New file.
2367 2003-07-10 Jim Meyering <jim@meyering.net>
2369 * clock_time.m4: Remove trailing blank.
2370 * intmax_t.m4: Likewise.
2372 2003-07-01 Paul Eggert <eggert@twinsun.com>
2374 * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
2375 xreadlink.c now includes it unconditionally.
2377 2003-07-01 Bruno Haible <bruno@clisp.org>
2379 * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
2380 should be sufficient.
2381 Reported by Paul Eggert.
2383 2003-06-25 Bruno Haible <bruno@clisp.org>
2385 * readlink.m4: New file.
2387 2003-06-22 Bruno Haible <bruno@clisp.org>
2389 Portability to mingw32.
2390 * ssize_t.m4: New file, from GNU gettext.
2391 * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
2392 * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
2394 2003-06-11 Bruno Haible <bruno@clisp.org>
2396 * sysexits.m4: New file.
2398 2003-06-10 Simon Josefsson <jas@extundo.com>
2400 * strchrnul.m4: New file.
2402 2003-06-07 Bruno Haible <bruno@clisp.org>
2404 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
2405 gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
2406 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2408 * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
2409 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2412 2003-06-04 Paul Eggert <eggert@twinsun.com>
2414 * human.m4 (gl_HUMAN): Require AM_STDBOOL_H. Check for
2415 locale.h, localeconv. This merges changes from coreutils.
2417 * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
2418 It can be removed after the next Autoconf is released.
2419 * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
2422 2003-05-30 Bruno Haible <bruno@clisp.org>
2424 * gettext.m4: Upgrade to gettext-0.12.1.
2425 * nls.m4: New file, from gettext-0.12.1.
2426 * po.m4: New file, from gettext-0.12.1.
2427 * progtest.m4: Upgrade to gettext-0.12.1.
2429 2003-05-28 Paul Eggert <eggert@twinsun.com>
2431 Assume the headers required for C89 freestanding compilers.
2432 * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
2433 * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
2434 * human.m4 (gl_HUMAN): Likewise.
2435 * pathmax.m4 (gl_PATHMAX): Likewise.
2436 * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
2437 * userspec.m4 (gl_USERSPEC): Likewise.
2438 * xreadlink.m4 (gl_XREADLINK): Likewise.
2439 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2440 * quote.m4 (gl_QUOTE): Don't check for stddef.h.
2442 2003-05-26 Jim Meyering <jim@meyering.net>
2444 Merge in a change from coreutils:
2445 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
2446 that is guaranteed to be `no'. Use `no_such_member' to indicate
2447 that condition, rather than `-1' which is slightly misleading.
2448 Change the name of the cache variable to have the gl_ prefix.
2449 Prompted by a patch from Richard Dawe for DJGPP.
2451 2003-05-17 Bruno Haible <bruno@clisp.org>
2453 * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
2454 expansion for AC_EGREP_CPP.
2455 * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
2456 * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
2457 Suggested by Akim Demaille <akim@epita.fr> in
2458 http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
2460 2003-04-21 Paul Eggert <eggert@twinsun.com>
2462 * error.m4 (gl_ERROR): Do not put under dynamic conditions some
2463 code which expansion is under static control. Patch imported from
2464 Akim Demaille's patch to Bison; see
2465 <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
2467 2003-04-14 Bruno Haible <bruno@clisp.org>
2469 * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
2471 2003-04-10 Bruno Haible <bruno@clisp.org>
2473 * findprog.m4: New file.
2474 * eaccess.m4: New file.
2476 2003-04-04 Bruno Haible <bruno@clisp.org>
2478 * linebreak.m4: New file.
2480 2003-04-03 Bruno Haible <bruno@clisp.org>
2482 * utf-ucs4.m4: New file.
2483 * ucs4-utf.m4: New file.
2485 2003-03-30 Bruno Haible <bruno@clisp.org>
2487 * copy-file.m4 (gl_COPY_FILE): Add check for chown().
2489 2003-03-28 Bruno Haible <bruno@clisp.org>
2491 * copy-file.m4: New file.
2493 2003-03-18 Bruno Haible <bruno@clisp.org>
2495 * onceonly.m4: Use m4_defn instead of defn, for better error checking.
2496 * onceonly_2_57.m4: Likewise.
2498 2003-03-17 Bruno Haible <bruno@clisp.org>
2500 * onceonly.m4: Require autoconf 2.54 or newer.
2501 (m4_quote): Remove macro.
2502 * onceonly_2_57.m4: Require autoconf 2.54 or newer.
2504 2003-03-14 Bruno Haible <bruno@clisp.org>
2506 * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
2507 AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
2509 2003-03-13 Paul Eggert <eggert@twinsun.com>
2511 * onceonly.m4 (m4_quote): New macro.
2512 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
2513 Quote AC_FOREACH variable-expansions properly.
2515 2003-02-19 Paolo Bonzini <bonzini@gnu.org>
2517 * poll.m4: New file.
2519 2003-02-18 Paolo Bonzini <bonzini@gnu.org>
2521 * mathl.m4: New file.
2523 2003-02-17 Bruno Haible <bruno@clisp.org>
2525 * mkdtemp.m4: New file, from GNU gettext with modifications.
2527 2003-02-02 Jim Meyering <jim@meyering.net>
2529 * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
2532 2003-01-31 Bruno Haible <bruno@clisp.org>
2534 * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
2536 * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
2538 * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
2540 * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
2543 2003-01-30 Bruno Haible <bruno@clisp.org>
2545 * signed.m4: New file, from GNU gettext.
2546 * longdouble.m4: New file, from GNU gettext.
2547 * wchar_t.m4: New file, from GNU gettext.
2548 * wint_t.m4: New file, from GNU gettext.
2549 * vasnprintf.m4: New file.
2550 * vasprintf.m4: New file.
2552 2003-01-29 Bruno Haible <bruno@clisp.org>
2554 * stpncpy.m4: New file.
2556 2003-01-23 Jim Meyering <jim@meyering.net>
2558 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
2559 from working on systems without dirfd (at least Irix and OSF1/Tru64).
2561 2003-01-16 Jim Meyering <jim@meyering.net>
2563 * regex.m4: The `regex' struct is both input and output.
2564 Initialize it before each use. Patch by Tim Waugh.
2566 2003-01-11 Bruno Haible <bruno@clisp.org>
2568 * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
2569 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
2572 2003-01-11 Bruno Haible <bruno@clisp.org>
2574 * md5.m4 (gl_MD5): Require AC_C_INLINE.
2576 2003-01-11 Bruno Haible <bruno@clisp.org>
2578 * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
2580 2003-01-12 Paul Eggert <eggert@twinsun.com>
2582 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
2583 to avoid collisions with libcurses and libreadline.
2585 * getstr.m4: Remove.
2586 * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
2588 2003-01-10 Bruno Haible <bruno@clisp.org>
2590 * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
2592 2003-01-09 Bruno Haible <bruno@clisp.org>
2594 * stdbool.m4 (AM_STDBOOL_H): New macro.
2596 2002-12-31 Paul Eggert <eggert@twinsun.com>
2598 * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
2600 2002-12-24 Bruno Haible <bruno@clisp.org>
2602 General infrasructure.
2603 * README: Rewritten.
2604 * onceonly.m4: New file.
2605 * onceonly_2_57.m4: New file.
2608 * atexit.m4: New file.
2611 * strtod.m4: New file.
2614 * strtol.m4: New file.
2617 * strtoul.m4: New file.
2620 * memchr.m4: New file.
2623 * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
2624 (jm_FUNC_MEMCMP): Invoke it.
2627 * memcpy.m4: New file.
2630 * memmove.m4: New file.
2633 * memset.m4: New file.
2636 * strcspn.m4: New file.
2639 * strpbrk.m4: New file.
2642 * strstr.m4: New file.
2645 * strerror.m4: New file.
2648 * mktime.m4: Renamed from jm-mktime.m4.
2649 (gl_PREREQ_MKTIME): New macro.
2650 (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
2653 * malloc.m4 (gl_PREREQ_MALLOC): New macro.
2654 (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
2655 Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
2658 * realloc.m4 (gl_PREREQ_REALLOC): New macro.
2659 (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
2660 Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
2663 * tm_gmtoff.m4: New file, extracted from strftime.m4.
2664 * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
2665 Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
2667 (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
2670 * xalloc.m4: New file.
2673 * alloca.m4: New file.
2676 * putenv.m4 (gl_PREREQ_PUTENV): New macro.
2677 (jm_FUNC_PUTENV): Invoke it.
2680 * setenv.m4 (gt_FUNC_SETENV): New macro.
2681 (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
2683 (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
2687 * memrchr.m4: New file.
2690 * stpcpy.m4: New file.
2693 * strcase.m4: New file.
2696 * strdup.m4: New file.
2699 * strnlen.m4: New file.
2702 * strndup.m4: New file.
2705 * xstrtod.m4: New file.
2708 * xstrtol.m4: New file.
2711 * getdate.m4: New file.
2714 * unlocked-io.m4: Renamed from jm-glibc-io.m4.
2715 (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
2716 * jm-glibc-io.m4n: Remove file.
2718 Module long-options.
2719 * long-options.m4: New file.
2728 * getstr.m4: New file.
2731 * getline.m4 (gl_PREREQ_GETLINE): New macro.
2732 (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
2733 <sys/types.h>, for size_t. Use the function name gnu_getline, not
2734 simply getline. Infoke gl_PREREQ_GETLINE.
2737 * obstack.m4: New file.
2740 * hash.m4: New file.
2743 * readtokens.m4: New file.
2746 * strverscmp.m4: New file.
2749 * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
2752 * strtoll.m4: New file.
2755 * strtoull.m4: New file.
2758 * strtoimax.m4: New file.
2761 * strtoumax.m4: New file.
2764 * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
2765 Moved the strtol prerequisites to strtol.m4.
2766 Moved the strtoll prerequisites to strtoll.m4.
2767 Moved the strtoimax prerequisites to strtoimax.m4.
2770 * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
2771 Moved the strtoul prerequisites to strtoul.m4.
2772 Moved the strtoull prerequisites to strtoull.m4.
2773 Moved the strtoumax prerequisites to strtoumax.m4.
2776 * chown.m4 (gl_PREREQ_CHOWN): New macro.
2777 (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
2780 * dup2.m4: New file.
2783 * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
2784 (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
2787 * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
2788 (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
2790 Module gettimeofday.
2791 * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
2792 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
2793 gl_PREREQ_GETTIMEOFDAY.
2796 * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
2797 (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
2800 * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
2801 (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
2802 jm_AC_TYPE_UINTMAX_T.
2803 (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
2806 * stat.m4 (gl_PREREQ_STAT): New macro.
2807 (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
2810 * lstat.m4 (gl_PREREQ_LSTAT): New macro.
2811 (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
2814 * timespec.m4 (gl_TIMESPEC): New macro.
2815 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
2816 * st_mtim.m4: Indentation.
2819 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
2820 (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
2821 gl_PREREQ_NANOSLEEP.
2824 * regex.m4 (jm_PREREQ_REGEX): New macro.
2825 (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
2826 (gl_REGEX): New macro.
2829 * rename.m4 (gl_PREREQ_RENAME): New macro.
2830 (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
2833 * rmdir.m4: New file.
2836 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
2837 * utime.m4 (gl_PREREQ_UTIME): New macro.
2838 (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
2841 * dirname.m4: New file.
2844 * getopt.m4: New file.
2846 Module unistd-safer.
2847 * unistd-safer.m4: New file.
2850 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
2852 (gl_PREREQ_FNMATCH_EXTRA): New macro.
2853 (gl_FUNC_FNMATCH_POSIX): New macro.
2854 (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
2855 gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
2859 * exclude.m4: New file.
2862 * human.m4: New file.
2868 * backupfile.m4: New file.
2869 * d-ino.m4: Indentation.
2872 * fsusage.m4 (gl_FSUSAGE): New macro.
2873 (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
2874 (gl_PREREQ_FSUSAGE_EXTRA): New macro.
2877 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
2880 * euidaccess.m4: New file.
2883 * file-type.m4: New file.
2886 * fileblocks.m4: New file.
2889 * filemode.m4: New file.
2892 * isdir.m4: New file.
2895 * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
2896 (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
2899 * makepath.m4: New file.
2902 * modechange.m4: New file.
2905 * mountlist.m4: New file.
2906 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
2910 * path-concat.m4: New file.
2913 * pathmax.m4: New file.
2916 * same.m4: New file.
2919 * save-cwd.m4: New file.
2922 * savedir.m4: New file.
2925 * xgetcwd.m4: New file.
2926 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
2929 * xreadlink.m4: New file.
2932 * safe-read.m4: New file.
2935 * safe-write.m4: New file.
2938 * closeout.m4: New file.
2941 * stdio-safer.m4: New file.
2944 * getpass.m4: New file.
2947 * getugroups.m4: New file.
2949 Module group-member.
2950 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
2951 (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
2954 * idcache.m4: New file.
2957 * userspec.m4: New file.
2960 * clock_time.m4: New file.
2961 * gettime.m4: New file.
2964 * settime.m4: New file.
2967 * posixtm.m4: New file.
2970 * gethostname.m4: New file.
2973 * canon-host.m4: New file.
2976 * codeset.m4: New file, from gettext-0.11.5.
2977 * gettext.m4: New file, from gettext-0.11.5.
2978 * glibc21.m4: New file, from gettext-0.11.5.
2979 * iconv.m4: New file, from gettext-0.11.5.
2980 * intdiv0.m4: New file, from gettext-0.11.5.
2981 * inttypes-pri.m4: New file, from gettext-0.11.5.
2982 * inttypes.m4: New file, from gettext-0.11.5.
2983 * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
2984 * isc-posix.m4: New file, from gettext-0.11.5.
2985 * lcmessage.m4: New file, from gettext-0.11.5.
2986 * lib-ld.m4: New file, from gettext-0.11.5.
2987 * lib-link.m4: New file, from gettext-0.11.5.
2988 * lib-prefix.m4: New file, from gettext-0.11.5.
2989 * progtest.m4: New file, from gettext-0.11.5.
2990 * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
2991 * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
2992 * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
2994 Module localcharset.
2995 * localcharset.m4: New file.
2998 * hard-locale.m4: New file.
3001 * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
3003 * mbrtowc.m4: Add comment.
3006 * memcasecmp.m4: New file.
3009 * memcoll.m4: New file.
3012 * unicodeio.m4: New file.
3015 * rpmatch.m4: New file.
3018 * yesno.m4: New file.
3021 * exitfail.m4: New file.
3024 * c-stack.m4 (gl_C_STACK): New macro.
3025 (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
3028 * error.m4 (gl_ERROR): New macro.
3029 (jm_PREREQ_ERROR): Use onceonly macros.
3032 * fatal.m4: New file.
3035 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
3036 (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
3039 * getpagesize.m4: New file.
3041 Module getusershell.
3042 * getusershell.m4: New file.
3045 * physmem.m4: New file.
3048 * posixver.m4: New file.
3051 * quotearg.m4: New file.
3054 * quote.m4: New file.
3057 * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
3060 * sig2str.m4: New file.
3063 * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
3065 * intmax_t.m4: New file.
3066 * d-type.m4: Indentation.
3067 * jm-macros.m4: Update.
3068 * prereq.m4 (jm_PREREQ): Update.
3069 (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
3070 (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
3071 (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
3072 (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
3073 (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
3074 (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
3075 (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
3076 (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
3077 (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
3078 (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
3079 (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
3080 (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
3081 (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
3082 (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
3083 (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
3084 (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
3085 (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
3086 (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
3087 * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
3089 2002-12-18 Bruno Haible <bruno@clisp.org>
3091 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
3092 * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
3094 2002-12-17 Bruno Haible <bruno@clisp.org>
3096 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
3099 2002-12-11 Bruno Haible <bruno@clisp.org>
3101 * setenv.m4: New file, from gettext-0.11.5.
3103 2002-12-06 Paul Eggert <eggert@twinsun.com>
3105 Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
3106 a pain in practice to deal with generated m4 files. This change
3107 goes together with the 2002-12-04 unlocked-io.h change in ../lib.
3109 * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
3110 and jm-glibc-io.m4, as they are no longer a special case.
3111 * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
3112 kludge and the auto-generation stuff. Check only whether the
3113 functions are declared, not whether they exist, since older hosts
3114 that don't declare the functions can't use the optimization anyway.
3116 2002-07-06 Jim Meyering <meyering@lucent.com>
3118 * README: Don't mention Makefile.am.in.
3119 Outline how I've tested changes to .m4 files. Yep, it's a pain.
3121 2002-06-11 Paul Eggert <eggert@twinsun.com>
3123 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
3125 2002-06-22 Jim Meyering <meyering@lucent.com>
3127 * c-stack.m4: New file, from diffutils-2.8.2.
3128 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
3130 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
3131 now that configure.ac uses AC_GNU_SOURCE.
3132 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
3133 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
3135 Update to latest tools. Suggestions from Paul Eggert.
3136 * stdbool.m4: New file, from diffutils-2.8.2.
3137 * gnu-source.m4: Update from diffutils-2.8.2.
3138 * fnmatch.m4: Likewise.
3139 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
3140 to AC_HEADER_STDBOOL
3142 2002-06-21 Jim Meyering <meyering@lucent.com>
3144 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
3145 * mbrtowc.m4: Likewise.
3147 * mbstate_t.m4: Update from diffutils-2.8.2.
3148 * mbswidth.m4: Reflect name change:
3149 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
3150 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3152 * lib-link.m4: Update from gettext-0.11.2.
3153 * gettext.m4: Likewise.
3155 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
3156 From Alfred M. Szmidt.
3158 2002-05-19 Paul Eggert <eggert@twinsun.com>
3160 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
3162 2002-06-07 Jim Meyering <meyering@lucent.com>
3164 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
3165 They're needed at least for NetBSD 1.5.2.
3166 ($statxfs_includes): Include those same headers.
3167 ($statxfs_includes): Include sys/vfs.h if available.
3168 ($statxfs_includes): Likewise for sys/statvfs.h.
3169 Check for the following members in both structs statfs and statvfs:
3170 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
3172 2002-06-01 Jim Meyering <meyering@lucent.com>
3174 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
3175 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
3177 2002-05-28 Jim Meyering <meyering@lucent.com>
3179 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
3180 Reported by Volker Borchert.
3182 2002-05-27 Jim Meyering <meyering@lucent.com>
3184 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
3187 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
3188 use the replacement function; it wouldn't resolve at link time.
3189 Reported by Volker Borchert.
3191 2002-04-30 Jim Meyering <meyering@lucent.com>
3193 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
3195 2002-04-29 Paul Eggert <eggert@twinsun.com>
3197 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
3198 Do not check for alloca.h (no longer used) or stdbool.h (was never
3199 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
3201 2002-04-28 Paul Eggert <eggert@twinsun.com>
3203 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
3205 2002-04-29 Jim Meyering <meyering@lucent.com>
3207 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
3208 * prereq.m4: Add jm_PREREQ_STRNLEN.
3209 Use AC_FUNC_STRNLEN here instead.
3211 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
3212 With autoconf-2.53a, it's part of AC_PROG_CC.
3214 2002-04-28 Paul Eggert <eggert@twinsun.com>
3216 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
3217 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
3219 2002-04-24 Jim Meyering <meyering@lucent.com>
3221 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
3222 (jm_PREREQ): Use it.
3224 * getloadavg.m4: Check for these headers: locale.h unistd.h
3225 mach/mach.h fcntl.h.
3226 Check for this function: setlocale.
3228 2002-04-16 Jim Meyering <meyering@lucent.com>
3230 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
3231 ut_pid, ut_id, ut_exit.
3233 2002-04-12 Jim Meyering <meyering@lucent.com>
3235 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
3236 check for f_type in sys/mount.h. Instead, just test for the existence
3237 of the getmntinfo function. Needed for Darwin 5.3.
3239 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
3240 This is necessary at least on Darwin 5.3.
3242 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
3243 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
3244 in the library, and that makes some versions of ranlib object.
3246 2002-04-09 Jim Meyering <meyering@lucent.com>
3248 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
3249 to be more precise. Rather than saying we're checking whether the
3250 function `works', say what we're testing.
3251 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
3252 Reported by Bruno Haible.
3254 2002-02-27 Paul Eggert <eggert@twinsun.com>
3256 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
3257 Check for clock_settime.
3259 2002-02-25 Paul Eggert <eggert@twinsun.com>
3262 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
3263 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
3265 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
3267 * codeset.m4: Upgrade to gettext-0.11.
3268 * gettext.m4: Upgrade to gettext-0.11.
3269 * glibc21.m4: Upgrade to gettext-0.11.
3270 * iconv.m4: Upgrade to gettext-0.11.
3271 * isc-posix.m4: Upgrade to gettext-0.11.
3272 * lcmessage.m4: Upgrade to gettext-0.11.
3273 * lib-ld.m4: New file, from gettext-0.11.
3274 * lib-link.m4: New file, from gettext-0.11.
3275 * lib-prefix.m4: New file, from gettext-0.11.
3276 * progtest.m4: Upgrade to gettext-0.11.
3278 2002-02-15 Paul Eggert <eggert@twinsun.com>
3280 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
3281 (jm_PREREQ): Use it.
3283 2002-01-26 Jim Meyering <meyering@lucent.com>
3285 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
3286 * strnlen.m4: Remove file, now that it's part of autoconf.
3288 2002-01-22 Paul Eggert <eggert@twinsun.com>
3290 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
3292 2002-01-19 Jim Meyering <meyering@lucent.com>
3294 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
3295 Remove useless quotes: DF_PROG="df".
3296 * strnlen.m4: New file.
3298 2001-12-14 Jim Meyering <meyering@lucent.com>
3300 * jm-macros.m4 (jm_MACROS): Check for iswspace.
3301 Suggestion from Bruno Haible.
3303 2001-11-20 Jim Meyering <meyering@lucent.com>
3305 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
3306 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
3308 2001-11-19 Jim Meyering <meyering@lucent.com>
3310 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
3311 directory. Use "conftestXXXXXX" as the template.
3312 Suggestion from Paul Eggert.
3314 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
3315 so the test doesn't mistakenly hit the max-open-files limit.
3317 2001-11-18 Jim Meyering <meyering@lucent.com>
3319 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
3321 2001-11-17 Jim Meyering <meyering@lucent.com>
3323 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
3324 Prompted by a report from Bob Proulx.
3326 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
3327 Instead, require UTILS_FUNC_MKSTEMP.
3329 2001-11-11 Jim Meyering <meyering@lucent.com>
3331 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
3332 Now, that's done as part of AC_FUNC_STRTOD.
3334 2001-10-22 Paul Eggert <eggert@twinsun.com>
3336 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
3337 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
3339 2001-11-10 Jim Meyering <meyering@lucent.com>
3341 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
3342 (jm_PREREQ): Use it.
3344 2001-11-09 Jim Meyering <meyering@lucent.com>
3346 * jm-macros.m4: Require autoconf-2.52f.
3347 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
3348 Use these AC_-prefixed names, not the AM_-prefixed ones.
3350 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
3352 2001-11-04 Jim Meyering <meyering@lucent.com>
3354 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
3356 2001-11-03 Jim Meyering <meyering@lucent.com>
3358 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
3361 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
3362 know the name of the variable in the macro definition.
3364 2001-11-01 Jim Meyering <meyering@lucent.com>
3366 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
3367 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
3369 2001-10-20 Paul Eggert <eggert@twinsun.com>
3371 * error.m4 (jm_PREREQ_ERROR):
3372 Do not invoke AC_CHECK_FUNCS with strerror_r, as
3373 AC_FUNC_STRERROR_R does that.
3374 Check for strerror declaration.
3376 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
3377 are supposed to have them these days.
3378 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
3379 Merge changes from latest Autoconf CVS.
3380 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3381 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3382 POSIX decided to standardize on the int flavor of strerror_r.
3384 2001-09-30 Jim Meyering <meyering@lucent.com>
3386 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
3387 `struct fsstat' has the `f_fstypename' member.
3388 Use that to define FS_TYPE, which is now used to make
3389 the getfsstat link test tighter.
3391 2001-09-29 Jim Meyering <meyering@lucent.com>
3393 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3394 [one-argument getmntent function]): Include stdio.h before mntent.h.
3395 SunOS 4.1.x needs it for the declaration of `FILE'.
3396 Patch by Volker Borchert.
3398 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3399 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
3400 sys/fs_types.h, and make the link-test for getfsstat guard #include
3401 directives with appropriate #if HAVE_*_H tests so that we can
3402 detect getfsstat on Apple Darwin1.3.7 systems.
3403 Reported by Nelson Beebe.
3404 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
3406 2001-09-28 Paul Eggert <eggert@twinsun.com>
3408 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
3409 #defines strtoimax. Also treat the other strto* functions
3412 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3413 Check for strtoul and strtoumax,
3414 as those declarations are made even in the signed case.
3415 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
3416 Likewise, for strtol and strtoimax.
3418 2001-09-24 Jim Meyering <meyering@lucent.com>
3420 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
3422 2001-09-23 Jim Meyering <meyering@lucent.com>
3424 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
3425 instead of the mere test for existence of mntent.h. The latter
3426 would get a false-positive on AIX 3.4 systems.
3427 In the outer getmntent if-block, don't die if neither of the getmntent
3428 tests succeeds. Instead, just fall through and continue with the
3431 2001-09-22 Jim Meyering <meyering@lucent.com>
3433 * gettext.m4: New file. From gettext.
3434 * lcmessage.m4: Sync with gettext -- this changes only comments.
3435 * progtest.m4: Likewise
3436 * isc-posix.m4: Decrement serial number to sync with gettext.
3437 * glibc21.m4: Likewise.
3439 * libintl.m4: Remove. No longer used.
3441 2001-09-20 Jim Meyering <meyering@lucent.com>
3443 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
3445 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
3448 2001-09-17 Jim Meyering <meyering@lucent.com>
3450 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
3451 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
3452 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
3453 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
3454 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
3455 whenever the right hand side need not be expanded by the shell.
3457 2001-09-16 Paul Eggert <eggert@twinsun.com>
3459 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
3460 library. It's not correct, as some older glibcs are buggy.
3461 fnmatch wasn't fixed until glibc 2.2.
3463 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
3464 special shell magic here.
3466 2001-09-16 Jim Meyering <meyering@lucent.com>
3468 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
3469 * jm-macros.m4: Require it.
3471 2001-09-15 Jim Meyering <meyering@lucent.com>
3473 * jm-macros.m4: Check for help2man.
3475 2001-09-11 Jim Meyering <meyering@lucent.com>
3477 * host-os.m4 (UTILS_HOST_OS): New file/macro.
3478 The body, by Paul Eggert, was moved here from configure.in.
3479 * jm-macros.m4: Require UTILS_HOST_OS.
3481 2001-09-04 Paul Eggert <eggert@twinsun.com>
3483 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
3484 (jm_PREREQ): Use it.
3486 2001-09-03 Paul Eggert <eggert@twinsun.com>
3488 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
3489 sys/param.h, as pathmax.h includes them.
3491 2001-09-03 Paul Eggert <eggert@twinsun.com>
3493 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
3494 (jm_PREREQ_XGETCWD): New macro.
3496 * getcwd.m4: New file.
3498 2001-09-01 Jim Meyering <meyering@lucent.com>
3500 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
3503 2001-08-30 Paul Eggert <eggert@twinsun.com>
3505 Simplify code, partly by assuming autoconf 2.52 semantics.
3507 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
3509 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
3510 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
3512 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
3513 Move AC_REQUIRE to next-to-top level, to avoid confusion.
3514 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
3515 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
3516 * jm-macros.m4 (jm_MACROS): Likewise.
3518 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
3520 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3521 Quote first arg of AC_DEFUN.
3522 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
3523 since they are needed to parse the include file even if we need
3524 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
3525 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
3526 but with opposite signedness.
3528 2001-08-30 Paul Eggert <eggert@twinsun.com>
3530 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
3531 (jm_PREREQ_EXCLUDE): New macro.
3533 2001-08-26 Jim Meyering <meyering@lucent.com>
3535 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
3537 * xstrtoimax.m4: New file.
3538 * xstrtoumax.m4: Add comments explaining why we
3539 AC_REPLACE_FUNCS(strtol).
3541 2001-06-20 Paul Eggert <eggert@twinsun.com>
3543 * inttypes.m4: Add AC_PREREQ(2.13).
3544 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
3545 (jm_AC_TYPE_INTMAX_T): New macro.
3546 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
3548 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
3550 * longlong.m4: Renamed from ulonglong.m4.
3551 * inttypes.m4: Renamed from inttypes_h.m4.
3552 * uintmax_t.m4: Removed.
3554 2001-08-12 Jim Meyering <meyering@lucent.com>
3556 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
3557 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
3558 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
3559 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
3560 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
3561 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
3562 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
3563 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
3564 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
3565 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
3566 utime.m4, utimes.m4, xstrtoumax.m4:
3567 Quote the first argument in each use of AC_DEFUN.
3569 2001-08-05 Jim Meyering <meyering@lucent.com>
3571 * jm-macros.m4: Require autoconf-2.52.
3573 2001-08-03 Paul Eggert <eggert@twinsun.com>
3575 The following changes are from gettext 0.10.39 as maintained by
3576 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
3578 * codeset.m4: Upgrade to serial AM1.
3579 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
3580 all uses changed. Quote first arg of AC_DEFUN.
3581 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
3583 * iconv.m4: Upgrade to serial AM2.
3584 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
3585 Add --with-libconv-prefix.
3586 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
3587 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
3588 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
3589 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
3590 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
3592 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
3593 * getline.m4 (AM_FUNC_GETLINE): Likewise.
3594 * glibc21.m4 (jm_GLIBC21): Likewise.
3595 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
3596 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
3597 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
3598 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
3599 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
3600 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
3602 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
3605 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
3606 not the default value.
3608 2001-06-25 Bruno Haible <haible@clisp.cons.org>
3609 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
3610 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
3611 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
3612 Also check for iswcntrl, used for wcwidth fallback.
3613 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
3616 2001-08-03 Jim Meyering <meyering@lucent.com>
3618 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
3619 as it was in the original. Reported by Paul Eggert.
3621 2001-07-16 Jim Meyering <meyering@lucent.com>
3623 * gettimeofday.m4: New file.
3624 Prompted by a report from Bernhard Baehr.
3626 2001-07-15 Jim Meyering <meyering@lucent.com>
3628 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
3629 Now it's in ../Makefile.cfg.
3631 2001-07-04 Jim Meyering <meyering@lucent.com>
3633 * Makefile.am.in (glibc-io.struct): New target. Rework the code
3634 that generates jm-glibc-io.m4 so that it doesn't trigger any make
3637 2001-07-02 Jim Meyering <meyering@lucent.com>
3639 The following changes were prompted by suggestions from Bruno Haible.
3641 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
3643 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
3644 definition of EXTRA_DIST.
3645 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
3646 ensure that the generated file is created/updated whenever the list
3647 of $(unlocked_functions) is changed.
3648 (jm-glibc-io.m4): New rule.
3649 (unlocked-io.h): New rule -- currently unused.
3651 2001-06-24 Jim Meyering <meyering@lucent.com>
3653 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
3654 unmatched right bracket, rather than kludging it with an extra,
3655 falsely-matching quote in a comment. Patch by Akim Demaille.
3657 2001-05-27 Jim Meyering <meyering@lucent.com>
3659 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
3660 Check for ut_type in struct utmp.
3662 2001-05-22 Jim Meyering <meyering@lucent.com>
3664 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
3665 now that we use the package-supplied version unconditionally.
3666 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
3668 2001-05-21 Jim Meyering <meyering@lucent.com>
3670 * regex.m4: Change a couple backticks to single quotes to avoid shell
3673 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
3675 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
3677 2001-05-11 Paul Eggert <eggert@twinsun.com>
3679 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
3680 Don't bother to check library strftime, since
3681 we'll be using our own my_strftime function anyway.
3682 Define my_strftime instead of strftime.
3684 2001-05-15 Jim Meyering <meyering@lucent.com>
3686 * regex.m4: Use proper quoting so brackets appear in the test program.
3687 Reported by, and with help from, Bruno Haible.
3689 2001-05-13 Jim Meyering <meyering@lucent.com>
3691 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
3693 2000-11-26 Paul Eggert <eggert@twinsun.com>
3695 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
3697 2001-04-21 Jim Meyering <meyering@lucent.com>
3699 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
3702 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
3704 * ftruncate.m4: Check for chsize.
3705 Link with ftruncate.o unconditionally if ftruncate is missing.
3706 This was required when cross-compiling to i586-mingw32msvc.
3708 2001-03-24 Jim Meyering <meyering@lucent.com>
3710 * jm-macros.m4: Require autoconf-2.49d.
3712 2001-03-20 Bruno Haible <haible@clisp.cons.org>
3714 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
3716 2001-03-17 Jim Meyering <meyering@lucent.com>
3718 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
3719 now that the version in autoconf is equivalent.
3720 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
3722 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
3723 Suggestion from Akim Demaille.
3725 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
3726 (jm_PREREQ_TEMPNAME): New function.
3728 2001-02-25 Paul Eggert <eggert@twinsun.com>
3730 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
3731 lacks mkstemp. Compile our own tempname.c if we compile our own
3732 mkstemp.c, as mkstemp relies on tempname.
3734 2001-03-01 Jim Meyering <meyering@lucent.com>
3736 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
3737 AH_VERBATIM really does output its argument verbatim.
3739 2001-02-18 Paul Eggert <eggert@twinsun.com>
3741 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
3743 2001-02-17 Jim Meyering <meyering@lucent.com>
3745 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
3746 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
3747 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
3750 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
3751 rather than AC_CACHE_VAL.
3753 2001-02-17 Paul Eggert <eggert@twinsun.com>
3755 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
3756 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
3757 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
3758 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3760 2001-02-07 Jim Meyering <meyering@lucent.com>
3762 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
3764 2001-02-05 Jim Meyering <meyering@lucent.com>
3766 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
3767 it includes the patch required for `large file' support with at least
3768 HP-UX's 10.20 /bin/cc.
3770 2001-02-03 Jim Meyering <meyering@lucent.com>
3772 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
3773 AS_IF, now that it works once again (mysteriously).
3774 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
3776 2001-01-30 Jim Meyering <meyering@lucent.com>
3778 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
3779 * chown.m4: Rename conftestchown to conftest.chown.
3780 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
3781 * utimes.m4: s/conftestdata/conftest.data/
3782 Inspired by Pavel Roskin's change in autoconf.
3784 2001-01-27 Jim Meyering <meyering@lucent.com>
3786 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
3788 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
3790 2001-01-26 Jim Meyering <meyering@lucent.com>
3792 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
3793 quotearg.c includes it.
3795 2001-01-15 Bruno Haible <haible@clisp.cons.org>
3797 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
3800 2001-01-20 Jim Meyering <meyering@lucent.com>
3802 Be sure that headers are checked before used in code compiled
3803 for the type checks.
3804 * jm-macros.m4 (jm_MACROS): Remove all header checks.
3805 In place of that, invoke jm_CHECK_ALL_TYPES.
3806 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
3807 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
3808 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
3809 The check for ssize_t was mistakenly run before the test for unistd.h.
3811 The configure-time check for stdbool.h was missing.
3812 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
3813 (jm_PREREQ_HASH): New function.
3815 2001-01-17 Jim Meyering <meyering@lucent.com>
3817 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
3819 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
3821 2001-01-14 Jim Meyering <meyering@lucent.com>
3823 * rename.m4: Use temporary directories named conftestdir{,2}, not
3824 foo and bar. Create conftestdir/ in the script, not in the C code.
3825 Remove directories in the script, not in the C code.
3826 Remove conftestdir{,2} before trying to create the directory.
3827 Make the entire configure script fail if the mkdir fails.
3829 2001-01-02 Volker Borchert <bt@teknon.de>
3831 * rename.m4: New file.
3832 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
3834 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
3836 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
3837 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
3838 so `make install' also works in VPATH builds.
3840 2001-01-01 Jim Meyering <meyering@lucent.com>
3842 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
3843 on systems with utmpx.h. It's necessary for the declaration of utmp's
3844 ut_user member. Reported by Andreas Jaeger.
3846 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
3847 They are required for the declarations of getgrgid and getpwuid resp.
3848 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
3849 Reported by Andreas Jaeger.
3851 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
3853 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
3854 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
3855 can be used in subdirectories.
3857 2000-12-26 Jim Meyering <meyering@lucent.com>
3859 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
3862 2000-12-17 Jim Meyering <meyering@lucent.com>
3864 * dos.m4 (jm_AC_DOS): New file and macro.
3865 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
3867 2000-12-06 Paul Eggert <eggert@twinsun.com>
3869 * off_t-format.m4: Remove this file.
3870 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
3872 2000-12-06 Jim Meyering <meyering@lucent.com>
3874 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
3875 strtoull, we may well need the replacement strtoul, too.
3876 Check for declarations of strtoul and strtoull.
3877 Check for strtol. Mainly as a cue to cause automake to include
3878 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
3879 Check for limits.h -- strtol.c needs it.
3881 2000-12-02 Jim Meyering <meyering@lucent.com>
3883 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
3884 * jm-macros.m4 (jm_MACROS): require it.
3886 2000-11-30 Jim Meyering <meyering@lucent.com>
3888 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
3890 2000-11-30 Jim Meyering <meyering@lucent.com>
3892 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
3894 2000-11-03 Bruno Haible <haible@clisp.cons.org>
3896 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
3898 2000-11-04 Jim Meyering <meyering@lucent.com>
3900 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
3902 2000-10-29 Jim Meyering <meyering@lucent.com>
3904 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
3905 * ls-mntd-fs.m4: Likewise
3907 2000-10-28 Jim Meyering <meyering@lucent.com>
3909 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
3910 (jm_PREREQ_MEMCHR): New function.
3912 2000-10-21 Jim Meyering <meyering@lucent.com>
3914 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
3915 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
3916 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
3918 2000-09-18 Jim Meyering <meyering@lucent.com>
3920 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
3921 Otherwise, everyone ends up linking with -lelf for some configurations.
3922 Reported by Mike Stone.
3924 2000-08-26 Jim Meyering <meyering@lucent.com>
3926 * jm-macros.m4: Use jm_FUNC_FPENDING.
3927 * fpending.m4: New file.
3929 2000-08-20 Jim Meyering <meyering@lucent.com>
3931 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
3932 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
3933 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
3935 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
3937 Improve fileutils installation on systems where running
3938 programs (like install) can't be unlinked.
3939 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
3940 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
3942 2000-08-06 Paul Eggert <eggert@twinsun.com>
3944 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
3945 not char, for compatibility with glibc 2.1.3 strftime.c.
3947 2000-07-23 Paul Eggert <eggert@twinsun.com>
3949 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
3951 2000-07-23 Jim Meyering <meyering@lucent.com>
3953 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
3954 getgrgid, getpwuid, getuid.
3956 2000-07-16 Bruno Haible <haible@clisp.cons.org>
3958 * mbswidth.m4: New file.
3959 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
3961 2000-07-14 Jim Meyering <meyering@lucent.com>
3963 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
3965 2000-07-10 Paul Eggert <eggert@twinsun.com>
3967 From a suggestion by Bruno Haible.
3968 * mbstate_t.m4 (AC_MBSTATE_T):
3969 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
3970 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
3971 and mbstate_t, to a single-part test that simply defines mbstate_t.
3972 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
3974 2000-07-10 Jim Meyering <meyering@lucent.com>
3976 * strerror_r.m4: Mirror the correction made in autoconf.
3978 * gnu-source.m4: Output to confdefs.h directly.
3979 Suggestion from Akim Demaille.
3981 2000-07-09 Jim Meyering <meyering@lucent.com>
3983 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
3984 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
3986 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
3987 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
3989 2000-07-05 Bruno Haible <haible@clisp.cons.org>
3991 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
3993 Include <ctype.h> for use of isalpha.
3995 2000-07-05 Paul Eggert <eggert@twinsun.com>
3996 and Bruno Haible <haible@clisp.cons.org>
3998 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
3999 only if the test for an object-type mbstate_t fails. This
4000 prevents us from mistakenly reporting that mbstate_t is a
4001 system object type after we "#define mbstate_t int" to work
4004 2000-07-04 Jim Meyering <meyering@lucent.com>
4006 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
4007 of the deprecated AC_CHECKING.
4009 2000-07-03 Jim Meyering <meyering@lucent.com>
4011 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
4013 2000-07-03 Paul Eggert <eggert@twinsun.com>
4015 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
4016 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
4018 2000-07-02 Jim Meyering <meyering@lucent.com>
4020 * mbstate_t.m4: Also define mbstate_t, if necessary.
4022 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
4023 AC_LIBOBJ(function_name).
4024 * chown.m4: Likewise.
4025 * fnmatch.m4: Likewise.
4026 * ftruncate.m4: Likewise.
4027 * getgroups.m4: Likewise.
4028 * getline.m4: Likewise.
4029 * group-member.m4: Likewise.
4030 * jm-macros.m4: Likewise.
4031 * lstat.m4: Likewise.
4032 * malloc.m4: Likewise.
4033 * memcmp.m4: Likewise.
4034 * nanosleep.m4: Likewise.
4035 * putenv.m4: Likewise.
4036 * realloc.m4: Likewise.
4037 * regex.m4: Likewise.
4038 * stat.m4: Likewise.
4039 * strftime.m4: Likewise.
4041 2000-07-01 Jim Meyering <meyering@lucent.com>
4043 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
4046 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4048 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
4049 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
4051 2000-07-01 Jim Meyering <meyering@lucent.com>
4053 * uptime.m4: Put double quotes around use of $cross_compiling.
4055 2000-06-28 Jim Meyering <meyering@lucent.com>
4057 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
4058 by quotearg.c, for which we perform this test. From Bruno Haible.
4060 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4062 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
4063 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
4064 <utmpx.h> exists, put readutmp.o into LIBOBJS.
4066 2000-06-25 Jim Meyering <meyering@lucent.com>
4068 * mbstate_t.m4: Include stdio.h before wchar.h to work around
4069 Linux header bug when _XOPEN_SOURCE is defined to 500.
4071 2000-06-24 Jim Meyering <meyering@lucent.com>
4073 * strerror_r.m4: Revive this file -- to try out an experimental
4074 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
4075 for which strerror does return char*, but which lacks a conveniently
4076 accessible declaration of the function. If the compile-test says
4077 strerror_r doesn't work, then resort to a `run'-test that works on
4078 BeOS and segfaults on DEC Unix.
4080 2000-06-19 Paul Eggert <eggert@twinsun.com>
4082 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
4083 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
4085 2000-06-23 Jim Meyering <meyering@lucent.com>
4087 * afs.m4: Add missing AC_MSG_RESULT.
4088 Reported by Bruno Haible.
4090 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
4091 Suggestion from Bruno Haible.
4093 2000-06-21 Jim Meyering <meyering@lucent.com>
4095 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
4097 2000-06-18 Jim Meyering <meyering@lucent.com>
4099 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
4101 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
4102 `checking whether...' message to be consistent with that of the
4105 2000-06-16 Bruno Haible <haible@clisp.cons.org>
4107 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
4109 2000-06-12 Jim Meyering <meyering@lucent.com>
4111 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
4112 from autoconf, and tweak the latter to accept an optional argument.
4113 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
4114 the optional argument, `lib'.
4116 2000-06-08 Jim Meyering <meyering@lucent.com>
4118 * largefile.m4: Remove file (now that it's part of autoconf).
4120 2000-06-04 Paul Eggert <eggert@twinsun.com>
4122 Rewrite largefile configuration so that we don't need to run
4123 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
4124 AC_CANONICAL_HOST in configure.in -- jmm]
4126 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
4127 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
4128 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
4129 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
4130 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
4132 Instead of inspecting the output of getconf, try to compile the
4133 test program without and with the macro definition.
4134 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
4135 for getconf. Instead, check for the needed flags by compiling
4138 2000-06-03 Jim Meyering <meyering@lucent.com>
4140 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
4141 now that autoconf requires that.
4143 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
4144 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
4145 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
4147 2000-05-26 Bruno Haible <haible@clisp.cons.org>
4149 * glibc21.m4: New file.
4150 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
4152 2000-05-28 Jim Meyering <meyering@lucent.com>
4154 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
4155 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4156 * stat.m4: Likewise.
4157 * lstat.m4: Likewise.
4158 * lstat-slash.m4: Remove file (absorbed into autoconf).
4160 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
4161 * strerror_r.m4: Remove file (absorbed into autoconf).
4163 2000-05-26 Jim Meyering <meyering@lucent.com>
4165 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
4167 2000-05-24 Jim Meyering <meyering@lucent.com>
4169 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
4170 autoconf requires that.
4171 * lib-check.m4: Likewise.
4172 * jm-macros.m4: Likewise.
4173 * strftime.m4: Likewise.
4175 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
4176 now that autoconf requires that.
4178 2000-05-22 Jim Meyering <meyering@lucent.com>
4180 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4181 * lstat.m4: Likewise.
4183 2000-05-20 Jim Meyering <meyering@lucent.com>
4185 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
4186 (jm_PREREQ): Use it.
4188 2000-05-09 Jim Meyering <meyering@lucent.com>
4190 * gettext.m4: Rename this...
4191 * libintl.m4: ...to this.
4193 2000-05-06 Jim Meyering <meyering@lucent.com>
4195 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
4196 (AC_REPLACE_FUNCS): Add strnlen.
4198 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
4199 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
4201 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
4202 AC_SEARCH_LIBS call for nanosleep.
4203 (LIB_NANOSLEEP): Set and AC_SUBST.
4205 2000-05-03 Paul Eggert <eggert@twinsun.com>
4207 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
4208 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
4209 2.1.3 bug. This avoids a clash when files like regex.c define
4212 2000-05-05 Jim Meyering <meyering@lucent.com>
4214 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
4215 call for clock_gettime.
4216 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
4218 * search-libs.m4: Update from autoconf.
4220 su doesn't work on Solaris 2.6.
4221 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
4222 <shadow.h>. Reported by Dragos Harabor.
4224 2000-05-03 Jim Meyering <meyering@lucent.com>
4226 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
4228 2000-05-02 Paul Eggert <eggert@twinsun.com>
4230 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
4231 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
4232 compile-time test, rather than inspecting host and OS, to
4233 decide whether to define _LARGEFILE_SOURCE.
4235 2000-05-01 Jim Meyering <meyering@lucent.com>
4237 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
4239 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
4240 Based on a patch from Bruno Haible.
4242 2000-04-18 Jim Meyering <meyering@lucent.com>
4244 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
4245 (jm_PREREQ): Use it.
4247 2000-04-17 Jim Meyering <meyering@lucent.com>
4250 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
4251 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
4252 Suggestion from Akim Demaille.
4254 2000-04-14 Jim Meyering <meyering@lucent.com>
4256 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
4257 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
4259 2000-04-13 Jim Meyering <meyering@lucent.com>
4261 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
4262 to insert required #ifndef into config.h.in.
4263 Suggestion from Akim Demaille.
4265 2000-04-12 Jim Meyering <meyering@lucent.com>
4267 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
4268 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
4269 Christian Krackowizer.
4271 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
4272 * jm-macros.m4 (_GNU_SOURCE): Define.
4273 (AC_SYS_LARGEFILE): Require.
4274 (AM_C_PROTOTYPES): Require.
4276 2000-04-05 Paul Eggert <eggert@twinsun.com>
4278 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
4279 IRIX if the installer said otherwise.
4281 2000-04-05 Jim Meyering <meyering@lucent.com>
4283 Portability tweaks required for ultrix4.3.
4284 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
4285 (jm_CHECK_DECLS): Add getutent to the list of functions.
4286 (_jm_DECL_HEADERS): Add utmpx.h.
4287 From John David Anglin.
4289 * strftime.m4: Back out the 2000-04-02 change.
4290 Instead of that change, simply undefine putenv in the test program.
4292 2000-04-03 Jim Meyering <meyering@lucent.com>
4294 * gettext.m4: Fix typo in comment.
4296 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
4297 textutils/configure.in). Suggestion from Paul Eggert.
4298 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
4300 2000-04-02 Paul Eggert <eggert@twinsun.com>
4302 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
4303 variable in the shell rather than using putenv, which isn't
4304 portable. This avoids the configure-time inter-test dependency
4305 on the potentially-renamed putenv function.
4307 2000-03-30 Paul Eggert <eggert@twinsun.com>
4309 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
4310 before checking struct stat.st_blksize, so that
4311 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
4313 2000-03-29 Paul Eggert <eggert@twinsun.com>
4315 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
4316 since strftime.c uses HAVE_STRFTIME to decide whether to use
4317 the underlying strftime.
4319 2000-03-10 Jim Meyering <meyering@lucent.com>
4321 * lib-check.m4: Look for getspnam in -lgen, too.
4324 2000-02-02 Bruno Haible <haible@clisp.cons.org>
4326 * codeset.m4: New file.
4327 * iconv.m4: New file.
4328 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
4330 2000-03-04 Jim Meyering <meyering@lucent.com>
4332 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
4333 for lib/localcharset.c.
4335 2000-03-03 Jim Meyering <meyering@lucent.com>
4337 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
4339 2000-03-02 Jim Meyering <meyering@lucent.com>
4341 * timespec.m4: Require AC_HEADER_TIME before the cache check so
4342 the messages come out on separate lines.
4344 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
4345 rather than jm_CHECK_DECLARATIONS.
4346 * decl.m4: Remove now-unused file.
4348 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
4350 2000-02-27 Jim Meyering <meyering@lucent.com>
4352 * check-decl.m4: Add getenv to the list.
4354 2000-02-23 Jim Meyering <meyering@lucent.com>
4356 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
4357 in place of my hack.
4359 2000-02-10 Jim Meyering <meyering@lucent.com>
4361 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
4362 gnu_nanosleep to rpl_nanosleep.
4364 2000-02-09 Jim Meyering <meyering@lucent.com>
4366 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
4367 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
4369 2000-02-08 Akim Demaille <akim@epita.fr>
4371 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
4372 `[' and `]' and remove uses of `changequote'.
4373 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
4374 (AC_SYS_LARGEFILE): Likewise.
4375 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
4376 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
4378 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
4379 * readdir.m4 (jm_FUNC_READDIR): Likewise
4380 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
4381 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
4383 2000-02-05 Jim Meyering <meyering@lucent.com>
4385 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
4386 Remove explicit use of AC_HEADER_TIME. It is required by
4387 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
4388 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
4389 in autoconf whereby the expansion of the latter ended up preceding
4390 the expansion of its prerequisite, AC_HEADER_TIME.
4391 Reported by Volker Borchert.
4393 2000-02-03 Jim Meyering <meyering@lucent.com>
4395 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
4397 2000-02-02 Jim Meyering <meyering@lucent.com>
4399 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
4400 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
4401 Reported by Eli Zaretskii.
4403 2000-01-31 Jim Meyering <meyering@lucent.com>
4405 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
4406 functions. Add the time.h and sys/time.h headers along with the
4407 AC_REQUIRE'ment of AC_HEADER_TIME.
4409 2000-01-30 Jim Meyering <meyering@lucent.com>
4411 * lib-check.m4: Clean up some kludgy old shadow password tests.
4413 * prereq.m4 (utmp_includes): Define.
4414 Check for ut_user and ut_name members in both struct utmpx
4417 2000-01-29 Jim Meyering <meyering@lucent.com>
4419 * lib-check.m4: New file containing library-related checks from
4420 fileutils and sh-utils (textutils had none).
4422 2000-01-28 Jim Meyering <meyering@lucent.com>
4424 * perl.m4: Change format of warning message to look more like that
4425 from the missing script. Suggestion from François Pinard.
4427 2000-01-25 Jim Meyering <meyering@lucent.com>
4429 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
4430 as time.h in the compile check.
4431 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
4432 Fix typo in cross-compiling case: s/yes/no/.
4434 2000-01-23 Jim Meyering <meyering@lucent.com>
4436 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
4438 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
4439 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
4441 * fsusage.m4: New file. Extracted from fileutils/configure.in.
4442 s/space/ac_fsusage_space/.
4443 (jm_FILE_SYSTEM_USAGE): Take two parameters.
4445 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
4446 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
4447 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
4449 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
4450 AC_SUBST these here, rather than just in sh-util/configure.in, so
4451 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
4453 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
4454 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
4455 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
4456 (AC_SUBST(POW_LIBM)): Likewise.
4457 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
4459 2000-01-22 Jim Meyering <meyering@lucent.com>
4461 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
4463 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
4465 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
4467 (AC_CHECK_HEADERS): Likewise for sh-utils.
4468 (AC_CHECK_HEADERS): Likewise for textutils.
4469 Merge the three lists of headers.
4471 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
4472 from fileutils' configure.in.
4474 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
4475 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
4477 * check-decl.m4: Use #if rather than #ifdef.
4478 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
4479 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
4480 (_jm_DECL_HEADERS): Define new function.
4481 (jm_CHECK_DECLARATIONS): Require it.
4483 2000-01-19 Jim Meyering <meyering@lucent.com>
4485 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
4486 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
4487 defines `struct timespec' in <sys/time.h>
4489 * c-bs-a.m4: Remove uses of changequote altogether.
4490 Thanks to Akim for explaining.
4492 2000-01-16 Jim Meyering <meyering@lucent.com>
4494 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
4495 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
4496 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
4497 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
4499 2000-01-16 Jim Meyering <meyering@lucent.com>
4501 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
4502 because the latter didn't work.
4504 2000-01-15 Jim Meyering <meyering@lucent.com>
4506 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
4507 (AC_REPLACE_FUNCS): Add memcpy and memset.
4508 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
4510 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
4512 2000-01-12 Jim Meyering <meyering@lucent.com>
4514 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
4515 (jm_PREREQ): Use it.
4516 (jm_PREREQ_READUTMP): New macro.
4517 (jm_PREREQ): Use it.
4519 2000-01-11 Paul Eggert <eggert@twinsun.com>
4521 Quote multibyte characters correctly.
4522 * c-bs-a.m4: New file.
4523 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
4524 (jm_PREREQ): Use it.
4526 2000-01-11 Paul Eggert <eggert@twinsun.com>
4528 * uintmax_t.m4: Port to autoconf 2.13.
4530 2000-01-08 Jim Meyering <meyering@ascend.com>
4532 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
4533 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
4535 2000-01-04 Jim Meyering <meyering@ascend.com>
4537 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
4538 jm_STRUCT_DIRENT_D_TYPE.
4539 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
4540 jm_STRUCT_DIRENT_D_INO.
4541 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
4543 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
4544 * utime.m4: Likewise.
4546 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
4547 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
4549 2000-01-03 Paul Eggert <eggert@twinsun.com>
4551 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
4552 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
4554 2000-01-02 Jim Meyering <meyering@ascend.com>
4556 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
4557 remember if this is necessary.
4559 1999-12-26 Jim Meyering <meyering@ascend.com>
4561 * jm-macros.m4: Use it here.
4562 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
4564 1999-12-23 Jim Meyering <meyering@ascend.com>
4566 * jm-macros.m4: Check for clock_gettime (moved from
4567 fileutils/configure.in)
4568 Check for gettimeofday.
4570 1999-12-20 Jim Meyering <meyering@ascend.com>
4572 * strftime.m4: Remove kludge, now that I'm using the fixed
4573 autoconf-2.14a-1999-12-20.
4575 1999-12-19 Jim Meyering <meyering@ascend.com>
4577 * lstat-slash.m4: New file.
4578 * jm-macros.m4: Use the new macro:
4579 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4581 1999-12-07 Jim Meyering <meyering@ascend.com>
4583 * perl.m4: Require that File::Compare be available, too.
4584 Too many systems seem to lack it.
4586 * strftime.m4: Add checks for most of the cpp macros tested in
4587 GNU's strftime.c. Prompted by a patch from Paul Eggert.
4589 1999-11-18 Paul Eggert <eggert@twinsun.com>
4591 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
4592 problem with the QNX 4.25 shell, which doesn't propagate exit
4593 status of failed commands inside shell assignments.
4595 1999-11-17 Jim Meyering <meyering@ascend.com>
4597 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
4599 1999-11-07 Jim Meyering <meyering@ascend.com>
4601 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
4603 1999-11-06 Jim Meyering <meyering@ascend.com>
4605 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
4606 * jm-macros.m4 (jm_MACROS): Use it here.
4608 1999-11-05 Jim Meyering <meyering@ascend.com>
4610 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
4611 of textutils, fileutils, and sh-utils into this one (shared between
4612 those packages) file.
4613 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
4614 AC_STRUCT_ST_BLKSIZE.
4616 1999-11-03 Jim Meyering <meyering@ascend.com>
4618 * ssize_t.m4: Remove file. No longer needed since the new version of
4619 AC_CHECK_TYPE checks includes unistd.h.
4620 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
4621 Suggestion from Akim Demaille.
4623 1999-10-30 Jim Meyering <meyering@ascend.com>
4625 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
4627 * ls-mntd-fs.m4: Likewise.
4628 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
4629 * jm-winsz1.m4: Likewise.
4631 * const.m4: Remove file, since the fix made it into the experimental
4632 version of autoconf.
4633 * mktime.m4: Likewise.
4635 * check-type.m4: Remove file, now that the latest version of
4636 AC_CHECK_TYPE takes a third arg to specify additional #includes.
4638 * ssize_t.m4: New file, requires experimental version of autoconf.
4639 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
4642 1999-10-04 Jim Meyering <meyering@ascend.com>
4644 * jm-macros.m4: Don't require autoconf-2.14.1.
4646 1999-09-22 Paul Eggert <eggert@twinsun.com>
4648 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
4649 2.95.1 bug with HP-UX 10.20.
4651 1999-09-17 Jim Meyering <meyering@ascend.com>
4653 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
4654 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
4655 due to missing strdup (against sh-utils-2.0).
4657 1999-08-29 Jim Meyering <meyering@ascend.com>
4659 * jm-macros.m4: Require jm_BISON.
4660 * bison.m4: New file.
4662 1999-08-17 Paul Eggert <eggert@twinsun.com>
4664 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
4665 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
4667 1999-08-05 Jim Meyering <meyering@ascend.com>
4669 * getline.m4: Rename test file from conftestdata to conftest.data
4670 to avoid conflicts with `conftest' on 8+3 filesystems.
4671 Suggestion from Eli Zaretskii.
4673 1999-08-04 Jim Meyering <meyering@ascend.com>
4675 * jm-macros.m4: Move a 4-line block of code from the configure.in of
4676 fileutils and sh-utils (textutils's getline test was inadequate).
4677 (AM_FUNC_GETLINE): Run this test.
4678 (AC_CHECK_FUNCS): Check for getdelim.
4679 Reported by Bob Proulx.
4681 1999-08-02 Jim Meyering <meyering@ascend.com>
4683 * jm-macros.m4: Add a comment.
4685 1999-08-01 Jim Meyering <meyering@ascend.com>
4687 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
4689 1999-08-01 Paul Eggert <eggert@twinsun.com>
4691 * lfs.m4: Remove this file.
4692 * largefile.m4: New file. It contains the old contents of
4693 lfs.m4, except that all names with prefix AC_LFS have been
4694 changed to use the prefix AC_SYS_LARGEFILE instead, to be
4695 compatible with future autoconf versions. Also, some minor m4
4696 quoting problems have been fixed.
4698 1999-07-16 Paul Eggert <eggert@twinsun.com>
4700 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
4701 that we can shift, multiply and divide unsigned long long
4702 values; Ultrix cc can't do it.
4704 1999-07-14 Paul Eggert <eggert@twinsun.com>
4706 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
4707 <inttypes.h> defines strtoumax as a macro (and not as a
4710 1999-07-05 Paul Eggert <eggert@twinsun.com>
4712 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
4713 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
4714 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
4715 and simplify the shell code.
4717 1999-07-03 Paul Eggert <eggert@twinsun.com>
4719 * mktime.m4: New file, which is a preview of what should appear
4720 in the next public autoconf release.
4722 1999-07-20 Jim Meyering <meyering@ascend.com>
4724 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
4726 1999-07-15 Jim Meyering <meyering@ascend.com>
4728 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
4730 1999-05-22 Jim Meyering <meyering@ascend.com>
4732 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
4734 1999-05-20 Jim Meyering <meyering@ascend.com>
4736 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
4737 Add a colon after each `then' in case $4 is empty.
4739 1999-05-16 Jim Meyering <meyering@ascend.com>
4741 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
4743 1999-05-10 Jim Meyering <meyering@ascend.com>
4745 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
4747 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
4750 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4752 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
4754 1999-05-04 Paul Eggert <eggert@twinsun.com>
4756 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
4757 not CPPFLAGS, so that linking works correctly in IRIX.
4759 1999-04-30 Paul Eggert <eggert@twinsun.com>
4761 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
4763 1999-04-20 Jim Meyering <meyering@ascend.com>
4765 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
4766 AC_REPLACE xstroull if necessary. From Paul Eggert.
4767 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
4769 1999-04-20 Paul Eggert <eggert@twinsun.com>
4771 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
4772 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
4773 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
4774 jm_AC_TYPE_UNSIGNED_LONG_LONG.
4775 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
4777 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
4779 1999-04-18 Jim Meyering <meyering@ascend.com>
4781 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
4782 * jm-macros.m4: Use it.
4784 1999-04-06 Jim Meyering <meyering@ascend.com>
4786 * strftime.m4: Remove test for %f.
4788 1999-03-29 Jim Meyering <meyering@ascend.com>
4790 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
4791 superset of the AC_TYPE_* checks in the textutils, fileutils,
4792 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
4795 1999-03-28 Jim Meyering <meyering@ascend.com>
4797 * jm-macros.m4: Define GNU_PACKAGE here.
4798 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
4799 replaced e.g., in the *.sh files of the sh-utils.
4801 1999-03-20 Jim Meyering <meyering@ascend.com>
4803 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
4804 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
4805 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
4807 1999-03-19 Jim Meyering <meyering@ascend.com>
4809 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
4811 1999-03-12 Jim Meyering <meyering@ascend.com>
4813 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
4815 1999-03-07 Jim Meyering <meyering@ascend.com>
4817 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
4819 1999-02-17 Jim Meyering <meyering@ascend.com>
4821 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
4822 in macro definition. From Eli Zaretskii and Alain Magloire.
4824 1999-02-07 Jim Meyering <meyering@ascend.com>
4826 * group-member.m4: New file -- extracted from sh-utils' configure.in.
4828 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
4829 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
4831 1999-02-06 Jim Meyering <meyering@ascend.com>
4833 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
4834 * fnmatch.m4: Likewise.
4835 * getgroups.m4: Likewise.
4836 * lstat.m4: Likewise.
4837 * malloc.m4: Likewise.
4838 * putenv.m4: Likewise.
4839 * realloc.m4: Likewise.
4840 * regex.m4: Likewise.
4841 * stat.m4: Likewise.
4842 * strftime.m4: Likewise.
4843 Suggestion from Alain Magloire.
4845 * chown.m4: Use `.$ac_objext', not `.o'.
4846 * fnmatch.m4: Likewise.
4847 * getgroups.m4: Likewise.
4848 * getline.m4: Likewise.
4849 * lstat.m4: Likewise.
4850 * malloc.m4: Likewise.
4851 * memcmp.m4: Likewise.
4852 * putenv.m4: Likewise.
4853 * realloc.m4: Likewise.
4854 * regex.m4: Likewise.
4855 * stat.m4: Likewise.
4856 * strftime.m4: Likewise.
4857 Suggestion from Alain Magloire.
4859 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
4862 * regex.m4: Add a run-time Test for proper operation of
4865 1999-01-31 Jim Meyering <meyering@ascend.com>
4867 * getloadavg.m4: Check for locale.h and the function, setlocale.
4869 1999-01-30 Jim Meyering <meyering@ascend.com>
4871 * check-type.m4: Use 3-arg form of AC_DEFINE.
4873 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
4874 rather than my private copy, now that the official one is up to date.
4875 * mktime.m4: Remove file.
4877 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
4878 * uptime.m4: Likewise.
4879 * uintmax_t.m4: Likewise.
4881 1999-01-28 Jim Meyering <meyering@ascend.com>
4883 * jm-macros.m4: Use jm_AFS.
4884 * afs.m4: New file (from fileutils' configure.in).
4886 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
4887 * chown.m4: Likewise.
4888 * d-ino.m4: Likewise.
4889 * d-type.m4: Likewise.
4890 * fnmatch.m4: Likewise.
4891 * getgroups.m4: Likewise.
4892 * gettext.m4: Likewise.
4893 * jm-mktime.m4: Likewise.
4894 * jm-winsz2.m4: Likewise.
4895 * lcmessage.m4: Likewise.
4896 * ls-mntd-fs.m4: Likewise.
4897 * malloc.m4: Likewise.
4898 * memcmp.m4: Likewise.
4899 * putenv.m4: Likewise.
4900 * realloc.m4: Likewise.
4901 * st_mtim.m4: Likewise.
4902 * strftime.m4: Likewise.
4904 1999-01-16 Jim Meyering <meyering@ascend.com>
4906 * jm-macros.m4 (ARGMATCH_DIE): Define.
4907 (ARGMATCH_DIE_DECL): Define.
4909 1999-01-12 Jim Meyering <meyering@ascend.com>
4911 * Makefile.am.in: Rewrite to avoid using fmt.
4912 Reported by Lars Hecking.
4914 1999-01-10 Jim Meyering <meyering@ascend.com>
4916 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
4918 * inttypes_h.m4: Likewise.
4919 * lstat.m4: Likewise.
4920 * malloc.m4: Likewise.
4921 * readdir.m4: Likewise.
4922 * realloc.m4: Likewise.
4923 * st_dm_mode.m4: Likewise.
4924 * stat.m4: Likewise.
4925 * utimbuf.m4: Likewise.
4926 * utimes.m4: Likewise.
4928 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
4929 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
4930 comments in config.h.in are meaningful.
4932 * jm-macros.m4: Require autoconf-2.13 here.
4934 * regex.m4: By default, don't use the included regex.c on systems
4935 with glibc 2. Suggestion from Uli Drepper.
4937 1999-01-02 Jim Meyering <meyering@ascend.com>
4939 * jm-macros.m4: Replace strcasecmp and strncasecmp.
4941 1998-12-18 Jim Meyering <meyering@ascend.com>
4943 * Makefile.am.in (Makefile.am): Simplify rule.
4944 Based on a suggestion from Lars Hecking.
4946 1998-11-16 Jim Meyering <meyering@ascend.com>
4948 * lfs.m4: Double-quote the `uname...` expression.
4950 1998-11-16 Paul Eggert <eggert@twinsun.com>
4952 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
4954 1998-11-14 Jim Meyering <meyering@ascend.com>
4956 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
4957 * stat.m4: Likewise.
4959 1998-11-03 Jim Meyering <meyering@ascend.com>
4961 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
4962 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
4964 1998-10-18 Jim Meyering <meyering@ascend.com>
4966 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
4968 1998-10-17 Jim Meyering <meyering@ascend.com>
4970 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
4971 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
4972 calls for those previously hard-coded headers. Instead, take a new
4974 (jm_CHECK_DECLARATIONS): Reflect interface change.
4975 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
4976 (jm_CHECK_DECL_LOCALTIME_R): New macro.
4978 * mktime.m4: Test for spring-forward gap before long-running test.
4980 1998-10-14 Jim Meyering <meyering@ascend.com>
4982 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
4983 instead of "TZ=America/Vancouver". From Paul Eggert.
4985 1998-10-11 Jim Meyering <meyering@ascend.com>
4987 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
4988 This adds a test for a recently added compatibility fix for mktime.c.
4989 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
4991 1998-09-27 Jim Meyering <meyering@ascend.com>
4993 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
4995 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
4996 ../configure.in, including a change from Gordon Matzigkeit to allow
4997 cross-compiling for the Hurd.
4999 * glibc.m4: New file/macro to test for the GNU C Library
5000 versions 1 and 2. From Gordon Matzigkeit.
5003 1998-09-21 Jim Meyering <meyering@ascend.com>
5005 * chown.m4: Declare locals: before, after. From Andries Brouwer.
5007 1998-08-18 Paul Eggert <eggert@twinsun.com>
5009 Port nanosecond-resolution times to UnixWare 2.1.2 and
5010 pedantic Solaris 2.6.
5012 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
5014 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
5015 Generate name of ns member, instead of just 1 or undef.
5016 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
5018 1998-08-15 Jim Meyering <meyering@ascend.com>
5020 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
5021 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
5022 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
5023 instead of jm_TYPE_SSIZE_T.
5025 1998-08-12 Jim Meyering <meyering@ascend.com>
5027 * st_dm_mode.m4: New file. From Johan Danielsson.
5029 1998-08-02 Jim Meyering <meyering@ascend.com>
5031 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
5032 in acconfig.h manually.
5034 1998-07-31 Paul Eggert <eggert@twinsun.com>
5036 * st_mtim.m4: New file.
5038 1998-07-28 Jim Meyering <meyering@ascend.com>
5040 * utimes.m4: Undef stat.
5042 1998-07-25 Jim Meyering <meyering@ascend.com>
5044 * utime.m4 (jm_FUNC_UTIME): New file and macro.
5045 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
5047 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
5049 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
5050 uid and gid actually remain unchanged.
5052 1998-07-07 Jim Meyering <meyering@ascend.com>
5054 * jm-glibc-io.m4: Remove fclose_unlocked.
5056 1998-07-04 Jim Meyering <meyering@ascend.com>
5058 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
5059 to prove that this macro can be used in packages without regex.c.
5061 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5063 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
5066 1998-07-03 Jim Meyering <meyering@ascend.com>
5068 * gettext.m4: Add -lintl if it's found to be necessary.
5070 * gettext.m4: New file -- from gettext-0.10.35.
5071 * lcmessage.m4: Likewise.
5072 * progtest.m4: Likewise.
5074 * regex.m4 (jm_WITH_REGEX): New file and macro.
5075 * jm-macros.m4: Require the new macro.
5077 1998-06-29 Jim Meyering <meyering@ascend.com>
5079 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
5080 for the definition of NGROUPS (used in a system header included
5083 1998-06-28 Jim Meyering <meyering@ascend.com>
5085 * ls-mntd-fs.m4: New file.
5086 * fstypename.m4: New file.
5088 * jm-macros.m4: Require the new macro.
5089 * jm-glibc-io.m4: New file.
5091 1998-05-19 Jim Meyering <meyering@ascend.com>
5093 * jm-macros.m4: Add jm_FUNC_LCHOWN.
5094 * lchown.m4: New file.
5096 * Makefile.am.in: New file.
5097 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
5099 1998-05-14 Jim Meyering <meyering@ascend.com>
5101 * Makefile.am (EXTRA_DIST): Add them.
5102 * jm-macros.m4: New file.
5103 * utimbuf.m4: New file.
5105 1998-05-12 Jim Meyering <meyering@ascend.com>
5107 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
5109 1998-05-11 Jim Meyering <meyering@ascend.com>
5111 * isc-posix.m4: New file.
5113 1998-05-10 Jim Meyering <meyering@ascend.com>
5115 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
5117 1998-05-09 Jim Meyering <meyering@ascend.com>
5119 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
5120 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
5123 * ssize_t.m4: New file.
5124 * mktime.m4: Remove file -- the new automake has this now.
5126 1998-04-26 Jim Meyering <meyering@ascend.com>
5128 * assert.m4: New file.
5129 * Makefile.am (EXTRA_DIST): Add assert.m4.
5131 1998-04-05 Jim Meyering <meyering@ascend.com>
5133 * prereq.m4 (jm_PREREQ_REGEX): New macro.
5134 (jm_PREREQ): Use it here.
5136 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
5138 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
5141 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
5143 * prereq.m4: New file.
5144 * error.m4: New file.
5145 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
5147 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
5149 * getline.m4: Don't set am_cv_func_working_getline before the
5150 cache-check for the same variable -- that defeated the purpose of
5151 the test; the test program was never run. This was a problem only
5152 on systems with losing getline functions -- HP-UX 10.20 is one.
5153 Reported by Bjorn Helgaas.
5155 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
5157 * Makefile.am (EXTRA_DIST): Add perl.m4.
5159 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
5161 * Makefile.am (EXTRA_DIST): Add const.m4.
5163 * const.m4: New file. Use an initializer in this declaration
5164 typedef int charset[2]; const charset x;
5165 Reported by Bob Glickstein.
5167 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
5169 * chown.m4: Fix reversed types on -1 args to chown.
5172 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
5174 * check-decl.m4: s/DECLARATION_/DECL_/g.
5175 Add lseek and memchr.
5177 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
5178 T.E.Dickey <dickey@clark.net> said that some older preprocessors
5179 have a 20-character limit on names.
5181 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
5183 * inttypes_h.m4: New file.
5184 * uintmax_t.m4: New file.
5185 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
5187 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
5188 Free Software Foundation, Inc.
5189 Copying and distribution of this file, with or without modification,
5190 are permitted provided the copyright notice and this notice are preserved.