1 2006-07-17 Bruno Haible <bruno@clisp.org>
3 * gl_list.m4: New file.
5 2006-07-16 Paul Eggert <eggert@cs.ucla.edu>
7 * mkancesdirs.m4: New file.
8 * mkdir-p.m4 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h.
9 Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed.
10 Require gl_FUNC_LCHOWN, since dirchownmod.c needs it.
12 2006-07-11 Eric Blake <ebb9@byu.net>
14 * absolute-header.m4: Fix comments to match recent change.
16 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
18 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Like today's change
21 2006-07-10 Derek R. Price <derek@ximbiot.com>
22 and Paul Eggert <eggert@cs.ucla.edu>
24 * backupfile.m4, d-ino.m4, d-type.m4, dirfd.m4, fts.m4, getcwd.m4:
26 Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN
27 macros into the GNU _D_EXACT_NAMLEN.
29 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
31 * stdint.m4 (gl_STDINT_H): Like yesterday's change to
32 absolute-header.m4. Also, set ABSOLUTE_STDINT_H to a string
33 "no/such/file/stdint.h" when there is no such file, so that
34 the resulting C code can be parsed by dodgy compilers.
35 Problems reported by Bob Proulx.
37 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
39 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
40 around the absolute name, to work around a problem with the HP-UX
41 11.23 native C compiler, reported by Bob Proulx.
43 2006-07-09 Jim Meyering <jim@meyering.net>
45 * glob.m4: Remove a doubled word in a comment.
47 2006-07-08 Jim Meyering <jim@meyering.net>
49 * link-follow.m4: Remove one of two adjacent "whether"s in a comment.
50 * getopt.m4: Remove one of two adjacent "your"s in a comment.
51 * regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment.
53 2006-07-06 Derek R. Price <derek@ximbiot.com>
54 and Paul Eggert <eggert@cs.ucla.edu>
56 * backupfile.m4 (gl_BACKUPFILE): Check for dirent.h, instead
57 of invoking obsolescent AC_HEADER_DIRENT macro.
58 * d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
59 * d-type.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Likewise.
60 * dirfd.m4 (gl_FUNC_DIRFD): Likewise.
61 * fts.m4 (gl_FUNC_FTS_CORE): Likewise.
62 * getcwd.m4 (gl_PREREQ_GETCWD): Likewise.
63 * glob.m4 (gl_PREREQ_GLOB): Likewise.
64 * savedir.m4 (gl_SAVEDIR): Likewise.
65 * readdir.m4: Remove; no longer needed.
67 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
69 * _inttypes_h.m4 (gl_INTTYPES_H): Use AC_CHECK_DECLS_ONCE
70 with only one argument, for Autoconf 2.60.
71 * fileblocks.m4 (gl_PREREQ_FILEBLOCKS): AC_CHECK_DECLS_ONCE may
72 expand to nothing, so add a shell command to avoid syntax error.
73 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
75 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
77 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't check for getenv decl;
78 no longer needed. Check for isblank decl.
79 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Don't check for getenv decl.
80 * regex.m4 (gl_PREREQ_REGEX): Dheck for isblank decl instead
83 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
85 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Use AC_CHECK_DECLS_ONCE
86 rather than AC_CHECK_DECLS for strtoimax and strtoumax.
87 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed.
89 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
90 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
91 * exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer needed.
92 * getdate.m4 (gl_GETDATE): Likewise.
93 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
94 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
95 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
96 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
97 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
98 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
99 * exclude.m4 (gl_EXCLUDE): Don't require AC_C_INLINE; no longer
102 2006-07-05 Derek R. Price <derek@ximbiot.com>
104 * calloc.m4 (_AC_FUNC_CALLOC_IF): Don't require AC_HEADER_STDC;
106 * exclude.m4 (gl_EXCLUDE): Likewise.
107 * getdate.m4 (gl_GETDATE): Likewise.
108 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
109 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
110 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
111 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
112 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
114 2006-07-05 Eric Blake <ebb9@byu.net>
116 * sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
117 to avoid 'header present but could not be compiled' on cygwin.
119 2006-07-03 Bruno Haible <bruno@clisp.org>
121 * strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, check whether
122 the function exists, before testing against AIX.
123 Reported by Martin Lambers <marlam@marlam.de>.
125 2006-07-04 Paul Eggert <eggert@cs.ucla.edu>
127 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
128 to the absolute name, not just one, to bypass Sun C 5.8's
129 "warning: #include of /usr/include/... may be non-portable".
131 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
133 * absolute-header.m4: Renamed from full-header-path.m4.
134 This is to keep the terminology clean; POSIX talks about
135 "absolute pathnames", not "full pathnames", but the GNU
136 Coding Standards say to use "path" for something else;
137 so use "absolute" to keep both sides happy.
138 (gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
139 Set gl_absolute_header, not gl_full_header_path.
140 Set gl_cv_absolute_<header>, not gl_full_path_<header>.
141 Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
144 Merge from coreutils.
146 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
148 * c-strtod.m4 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
149 Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
150 want to require the building of c-strtod.o.
151 * lib-check.m4 (cu_LIB_CHECK): Remove SEQ_LIBM, since seq no longer
153 * xstrtod.m4 (gl_XSTRTOLD): New macro.
155 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
157 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
158 --as-needed option if available. Problem reported by Albert Chin in
159 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
160 However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
161 cc merely issues a bunch of annoying warnings for --as-needed
162 (this problem was reported by Bob Proulx). Also, try linking with
163 -lm to detect a bug in binutils 2.16 (this problem was reported
166 2006-06-18 Jim Meyering <jim@meyering.net>
168 Test for a bug that causes glibc's getcwd to suffer a failed assertion.
169 * getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
170 * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
171 also check for glibc-2.4's abort-inducing bug.
173 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
174 Low-probability clean-up should be to use rmdir to get rid of
175 the just-created directory, not unlink.
177 * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
178 configure fail, and request a bug report to inform us about it.
179 Add a comment that, barring reports to the contrary, in 2007 we'll
180 assume ftruncate is universally available.
182 2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
184 * filemode.m4 (gl_FILEMODE): Check for strmode declaration.
186 2006-03-12 Jim Meyering <jim@meyering.net>
188 * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.
189 * cycle-check.m4 (gl_CYCLE_CHECK): Likewise.
190 * same.m4 (gl_SAME): Likewise.
191 * root-dev-ino.m4 (gl_ROOT_DEV_INO): Likewise.
193 2006-03-11 Eric Blake <ebb9@byu.net>
195 * double-slash-root.m4: New file, provides gl_DOUBLE_SLASH_ROOT.
196 * dirname.m4 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
197 * dos.m4 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
198 (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
200 2006-07-02 Eric Blake <ebb9@byu.net>
202 * wcwidth.m4 (gl_FUNC_WCWIDTH): Simplify by using AC_CHECK_DECLS.
204 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
206 * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
207 test cases, so that config.log is a bit easier to follow.
209 2006-07-01 Paul Eggert <eggert@cs.ucla.edu>
211 * longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60,
212 but fix a bug, by requiring at least 64 bits.
213 * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
214 * longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call
215 AC_TYPE_LONG_LONG_INT. This macro is obsolete and will go soon.
216 * ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise.
218 * stdint.m4 (gl_STDINT_H): Rewrite to accommodate stdint_.h
219 changes. Make 2.59 a prerequisite. Check and substitute for
220 HAVE_LONG_LONG_INT. Rely on Autoconf to check for stdint.h and
221 inttypes.h. Do not use special include files; just use the
222 defaults. Check for sys/inttypes.h and sys/bitypes.h in the usual
223 way now. Remove no-longer-needed tests for HAVE_LONG_64BIT,
224 HAVE_LONG_LONG_64BIT, int8_t, int16_t, int32_t, int64_t, uint8_t,
225 uint16_t, uint32_t uint64_t, int_least8_t, int_least16_t,
226 int_least32_t, int_least64_t, uint_least8_t, uint_least16_t,
227 uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t,
228 int_fast32_t, int_fast64_t, uint_fast8_t uint_fast16_t,
229 uint_fast32_t, uint_fast64_t, intptr_t, uintptr_t, intmax_t,
230 uintmax_t, INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX,
231 UINT16_MAX, INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN,
232 INT64_MAX, UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX,
233 UINT_LEAST8_MAX, INT_LEAST16_MIN, INT_LEAST16_MAX,
234 UINT_LEAST16_MAX, INT_LEAST32_MIN, INT_LEAST32_MAX,
235 UINT_LEAST32_MAX, INT_LEAST64_MIN, INT_LEAST64_MAX,
236 UINT_LEAST64_MAX, INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX,
237 INT_FAST16_MIN, INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN,
238 INT_FAST32_MAX, UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX,
239 UINT_FAST64_MAX, INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN,
240 INTMAX_MAX, UINTMAX_MAX, PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN,
241 SIG_ATOMIC_MAX, SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN,
242 WINT_MAX. Check for C99 conformance more strictly, by detecting
243 bugs in glibc 2.4, Solaris 10, and OpenBSD 3.9. On the other hand do
244 not check for things that C99 does not require, e.g., int8_t. If
245 a test isn't needed unless <stdint.h> isn't working, and is
246 unlikely to be needed for any other reason, then don't do it
247 unless <stdint.h> isn't working. Do not check for ptrdiff_t or
248 size_t, since we assume C89 freestanding at least. Do not check
249 for sig_atomic_t, wchar_t, or wint_t, since the code now does
250 the right thing even if the types are not defined. Instead use:
251 (gl_STDINT_TYPE_PROPERTIES): New macro.
252 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H): Remove. Don't bother
253 testing whether <sys/types.h> clashes, as Autoconf does this for
254 us now. All uses removed.
255 (gl_STDINT_CHECK_TYPES, gl_STDINT_MISSING_BOUND):
256 (gl_STDINT_MISSING_BOUNDS, gl_STDINT_MISSING_BOUNDS2):
257 (gl_CHECK_TYPE_SAME):
258 Remove; no longer needed.
259 (gl_STDINT_BITSIZEOF): Don't bother to check whether the type
260 exists, since we'll return 0 anyway in that case.
261 (gl_INTEGER_TYPE_SUFFIX, gl_STDINT_INCLUDES): New macros.
263 2006-07-01 Eric Blake <ebb9@byu.net>
265 * stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.
267 2006-07-01 Eric Blake <ebb9@byu.net>
269 * stdarg.m4 (gl_STDARG_H): Use proper AH_VERBATIM.
270 Reported by Andreas Buening.
272 2006-06-29 Eric Blake <ebb9@byu.net>
274 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Use AC_C_INLINE.
276 2006-06-29 Eric Blake <ebb9@byu.net>
278 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): New file.
280 2006-06-29 Derek R. Price <derek@ximbiot.com>
282 * strftime.m4: Don't call AC_FUNC_STRFTIME.
284 2006-06-29 Derek R. Price <derek@ximbiot.com>
286 * c-bs-a.m4: Removed.
288 2006-06-28 Derek R. Price <derek@ximbiot.com>
290 * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
292 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
294 * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
296 2006-06-28 Bruno Haible <bruno@clisp.org>
298 * wcwidth.m4 (gl_FUNC_WCWIDTH): Also require AC_C_INLINE and
301 2006-06-28 Eric Blake <ebb9@byu.net>
303 * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
304 * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
306 2006-06-28 Simon Josefsson <jas@extundo.com>
308 * getaddrinfo.m4: Look for getnameinfo prototypes too.
310 2006-06-27 Simon Josefsson <jas@extundo.com>
312 * sys_select_h.m4: New file, suggested by Bruno Haible, Paul
313 Eggert and Martin Lambers.
315 2006-06-27 Bruno Haible <bruno@clisp.org>
317 * stdint.m4 (gl_STDINT_BITSIZEOF): For nonexistent types, set the
318 result to 0, not to empty.
319 Reported by Martin Neitzel <neitzel@sco.gaertner.de>.
321 2006-06-26 Bruno Haible <bruno@clisp.org>
323 * stdint.m4 (gl_STDINT_H): Test also for <wchar.h>.
325 2006-06-26 Bruno Haible <bruno@clisp.org>
327 * stdint.m4 (gl_STDINT_H): Don't include <stdint.h> when using the
328 SGI C compiler in pre-C99 mode.
329 Suggested by Mark D. Baushke and Larry Jones.
331 2006-06-23 Mark D. Baushke <mdb@gnu.org>
333 * stdint.m4 (gl_STDINT_H): Treat BSD/OS like OpenBSD.
335 2006-06-26 Simon Josefsson <jas@extundo.com>
337 * inet_ntop.m4: Don't check for sys/types.h, we assume it is
340 2006-06-23 Bruno Haible <bruno@clisp.org>
342 * stdint.m4 (gl_STDINT_H): Treat IRIX like OpenBSD.
344 2006-06-22 Simon Josefsson <jas@extundo.com>
346 * sockpfaf.m4: Include winsock2.h too, to make it work under
349 2006-06-21 Simon Josefsson <jas@extundo.com>
351 * getaddrinfo.m4: Don't define WINVER. Look for gethostbyname in
352 -lws2_32 too. Fixes getaddrinfo on Windows 2000, with the price
353 of using the (limited) gnulib implementation on Windows XP.
355 * inet_pton.m4: New file.
357 2006-06-19 Bruno Haible <bruno@clisp.org>
359 * stdint.m4 (gl_STDINT_H): Enclose the values of FULL_PATH_STDINT_H
360 and FULL_PATH_INTTYPES_H in angle brackets.
361 Reported by Mark D. Baushke <mdb@gnu.org>.
363 2006-06-17 Bruno Haible <bruno@clisp.org>
365 * stdint.m4 (gl_STDINT_H) [FreeBSD >= 5]: Don't include
368 2006-06-16 Eric Blake <ebb9@byu.net>
370 * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
373 2006-06-17 Bruno Haible <bruno@clisp.org>
375 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
376 whether errno is declared. Assume <errno.h> declares errno.
378 2006-06-15 Bruno Haible <bruno@clisp.org>
380 * stdint.m4 (gl_STDINT_H): Rewritten to produce a complete stdint.h.
381 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H, gl_STDINT_CHECK_TYPES,
382 gl_STDINT_MISSING_BOUND, gl_STDINT_MISSING_BOUNDS,
383 gl_STDINT_MISSING_BOUNDS2, gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED,
384 gl_CHECK_TYPE_SAME): New macros.
386 2006-06-15 Bruno Haible <bruno@clisp.org>
388 * size_max.m4 (gl_SIZE_MAX): Make it work also when cross-compiling.
390 2006-06-15 Eric Blake <ebb9@byu.net>
392 * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
394 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
395 Bruno Haible <bruno@clisp.org>
397 * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
398 check for the declaration of strnlen and a run test that exposes the
399 AIX 5.1 strnlen bug. In the failure case, #define strndup to
402 2006-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
404 * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
405 compile test, for Tru64 4.0D.
407 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
409 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
410 gl_ rather than jm_. Link, don't run, so that cross-compiles are
411 allowed. Check that resulting type is arithmetic. Move AC_REQUIRE
412 and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
413 not really conditional on the cache.
414 (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
416 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
418 * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
419 test for C99 conformance; (bool) 0.5 is an integer constant
420 expression, but (bool) -0.5 is not. Problem reported by Fedor
421 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
423 2006-05-11 Simon Josefsson <jas@extundo.com>
425 * xvasprintf.m4: Fix obvious typo.
427 2006-05-09 Bruno Haible <bruno@clisp.org>
429 * xvasprintf.m4: New file.
431 2006-05-08 Bruno Haible <bruno@clisp.org>
433 * stdarg.m4: New file, from GNU gettext.
435 2006-05-05 Jim Meyering <jim@meyering.net>
437 * warning.m4: New file, derived from bison's file by the same name.
439 2006-05-02 Bruno Haible <bruno@clisp.org>
441 * full-header-path.m4 (gl_FULL_HEADER_PATH): Move the include_next
443 * _inttypes_h.m4 (gl_INTTYPES_H): ... to here.
445 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
447 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
448 to define main with arguments, for C++. Reported by Eric Blake.
449 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
450 Prefer 'int main ()' to 'int main (void)', for C++.
451 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
452 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
453 for 'main', for C99 and C++.
455 2006-04-23 Bruno Haible <bruno@clisp.org>
457 * poll.m4 (gl_FUNC_POLL): Rearrange code, so that POLL_H gets
458 assigned exactly once.
460 2006-04-23 Bruno Haible <bruno@clisp.org>
462 * poll.m4 (gl_FUNC_POLL): When cross-compiling, reject also the poll()
463 implementation in AIX.
464 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
466 2006-03-04 Eric Blake <ebb9@byu.net>
468 * strerror_r.m4 (AC_FUNC_STRERROR_R): Avoid unused variable warning.
470 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
472 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
473 Don't assume that exit status -1 is valid.
474 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
475 * putenv.m4 (gl_FUNC_PUTENV): Likewise.
476 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
477 * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
478 * rename.m4 (vb_FUNC_RENAME): Likewise.
479 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
480 not AC_TRY_RUN. Use return, not exit. Don't assume that
481 functions can be used without declaring them, or that you can
483 * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
485 2006-04-20 Bruno Haible <bruno@clisp.org>
487 * argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
488 one argument, so that the code will be portable to Autoconf 2.60.
489 * getlogin_r.m4 (gl_PREREQ_GETLOGIN_R): Likewise.
490 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
491 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
493 2006-04-19 Derek Price <derek@ximbiot.com>
494 Eric Blake <ebb9@byu.net>
496 * full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
497 than "/full/path.h". Update comment to match. Shorten & generalize
498 m4_translit call via AS_TR_CPP.
500 2006-04-18 Derek Price <derek@ximbiot.com>
501 Paul Eggert <eggert@cs.ucla.edu>
503 * _inttypes_h.m4, full-header-path.m4, include_next: New files.
505 2006-04-11 Paul Eggert <eggert@cs.ucla.edu>
507 * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
509 2006-04-09 Paul Eggert <eggert@cs.ucla.edu>
511 * regex.m4 (gl_REGEX): Check for new glibc interface to
514 2006-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
516 * argz.m4 (gl_FUNC_ARGZ): If we define `error_t', also define
517 `__error_t_defined', so argp.h will not typedef the former.
519 2006-03-25 Paul Eggert <eggert@cs.ucla.edu>
521 * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
522 REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
523 glibc names. Even if glibc is changed to conform to POSIX, the
524 traditional names will be available anyway, since regex depends on
525 the extensions module. Also, fix a longstanding typo in the
526 implementation of Spencer ERE test #75 from grep 2.3. Problems
527 reported by Emanuele Giaquinta. Also, change sense of cached
528 variable, so that the message makes sense.
530 2006-03-17 Jim Meyering <jim@meyering.net>
532 * regex.m4 (gl_REGEX): Fix typo in last change:
533 s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
535 2006-03-16 Paul Eggert <eggert@cs.ucla.edu>
537 * regex.m4 (gl_REGEX): Don't check for off_t, since the code
538 no longer needs it. Instead, check that regoff_t is as least
539 as wide as ptrdiff_t.
541 Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
542 so that our regex.h stays compatible with the installed regex.
543 This is helpful for installers who configure --without-included-regex.
544 Problem reported by Emanuele Giaquinta.
546 2006-03-15 Eric Blake <ebb9@byu.net>
548 * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
550 2006-03-08 Simon Josefsson <jas@extundo.com>
552 * gc-random.m4: Permit 'no' as variable values and fix warnings,
553 suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
555 2006-03-08 Simon Josefsson <jas@extundo.com>
557 * gc-random.m4: Call AC_CANONICAL_HOST and use $host_os instead of
558 $target, suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
560 2006-03-07 Paul Eggert <eggert@cs.ucla.edu>
562 * unistd_h.m4 (gl_HEADER_UNISTD): Rename, to match modules file.
563 Problem reported by Juan Manuel Guerrero.
565 2006-03-07 Simon Josefsson <jas@extundo.com>
567 * unistd_h.m4: New file.
569 2006-03-07 Simon Josefsson <jas@extundo.com>
571 * readline.m4 (gl_FUNC_READLINE): Rewrite the cached part of the
572 test to be side-effect free by storing the result in the cache
573 variable gl_cv_lib_readline, and moving the assignment of
574 LIBREADLINE and LTLIBREADLINE outside the COMMANDS-TO-SET-IT.
575 From Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
577 2006-03-07 Simon Josefsson <jas@extundo.com>
579 * gc-random.m4: New file, mostly from gc.m4. Warn instead of
580 error on missing devices (the functions will return an error).
582 * gc.m4: Move random stuff to gc-random.m4
584 2006-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
586 * poll.m4 (gl_FUNC_POLL): If we deem poll(2) unacceptable, use
587 our replacement poll.h in any case, to avoid a differing
588 declaration from a system header. Seen on AIX.
590 2006-03-01 Paul Eggert <eggert@cs.ucla.edu>
592 * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
593 not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
595 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
596 * timespec.m4 (gl_TIMESPEC): Likewise.
598 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
599 not "==". Reported by Ralf Wildenhues.
601 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
604 * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
607 2006-02-22 Jim Meyering <jim@meyering.net>
610 * chdir-safer.m4: New file.
612 2006-02-17 Eric Blake <address@hidden>
614 * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
616 2006-02-15 Eric Blake <ebb9@byu.net>
618 * sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using
619 winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes
620 'present but cannot compile' warnings on cygwin.
621 * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET. Don't
622 use ws2tcpip.h if sys/socket.h works.
623 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_HEADER_SYS_SOCKET.
624 (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is present.
626 2006-02-14 Jim Meyering <jim@meyering.net>
629 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
630 unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
631 gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
632 variable, to accommodate the rare case in which getmntent is
633 available in none of the libraries checked. This happens at
634 least on FreeBSD 5.0.
636 2006-02-05 Paul Eggert <eggert@cs.ucla.edu>
638 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
639 __EXTENSIONS__ if this causes compilation to fail. Problem
640 reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
641 c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
643 2006-01-25 Simon Josefsson <jas@extundo.com>
645 * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
646 -lws2_32. Protect sys/socket.h and netdb.h #include's. Include
647 ws2tcpip.h with WINVER=0x0501. All for mingw32.
649 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
651 * stdbool.m4 (AC_HEADER_STDBOOL): Check for xlc bug if __GCC__ too,
652 so that we test the test.
653 Check for yet another HP-UX cc bug involving *bool |= bool.
655 2006-01-24 Bruno Haible <bruno@clisp.org>
657 * stdbool.m4 (AC_HEADER_STDBOOL): Check for IBM and HP-UX bugs.
658 Patch by Paul Eggert.
660 2006-01-24 Jim Meyering <jim@meyering.net>
662 * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
663 Reported by Mark D. Baushke.
665 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
667 * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
669 2006-01-20 Paul Eggert <eggert@cs.ucla.edu>
671 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
672 rather than -Xlinker -z -Xlinker ignore, as it's more portable.
673 Suggested by Bruno Haible.
675 2006-01-19 Simon Josefsson <jas@extundo.com>
677 * socklen.m4: Look in ws2tcpip.h too, for mingw32.
679 2006-01-16 Paul Eggert <eggert@cs.ucla.edu>
681 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
682 it's not portable and it doesn't work with cross-compiles.
683 Problem reported by Bruno Haible. Fix missing-$ typo in
684 'test "gl_cv_ignore_unused_libraries" ...' that prevented
685 -zignore from being used with Sun's C compiler.
687 2006-01-12 Bruno Haible <bruno@clisp.org>
691 2006-01-08 Bruno Haible <bruno@clisp.org>
693 Ensure automatic ordering between gl_LOCK and gl_ARGP.
694 * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK.
695 (gl_LOCK): New macro, requiring gl_LOCK_BODY.
697 2006-01-10 Jim Meyering <jim@meyering.net>
699 * fpending.m4: Also include <stdio.h>, for Dragonfly.
700 Patch by Joerg Sonnenberger.
702 2006-01-10 Paul Eggert <eggert@cs.ucla.edu>
704 * memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
705 the 2002-12-31 change. Problem and fix reported by Bruno Haible.
706 People who are still concerned with buggy memcmp implementations
707 can invoke gl_FUNC_MEMCMP themselves.
709 2006-01-10 Simon Josefsson <jas@extundo.com>
711 * sys_socket_h.m4: New file.
713 2006-01-10 Bruno Haible <bruno@clisp.org>
715 * localcharset.m4 (gl_LOCALCHARSET): Also test for getc_unlocked.
716 Reported by Werner Lemberg <wl@gnu.org>.
718 2006-01-09 Paul Eggert <eggert@cs.ucla.edu>
721 * lib-ignore.m4: New file.
722 * lchmod.m4: New file.
724 2006-01-09 Jim Meyering <jim@meyering.net>
727 * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
728 Require openat-priv.h.
730 2006-01-09 Andreas Gruenbacher <agruen@suse.de>
733 * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
735 2005-10-16 Bruno Haible <bruno@clisp.org>
737 * stdint.m4 (gl_STDINT_H): Also test for <sys/bitypes.h>.
739 2005-12-16 Jim Meyering <jim@meyering.net>
741 * fprintftime.m4: New file.
743 2005-12-10 Sergey Poznyakoff <gray@gnu.org.ua>
745 * argp.m4: Define HAVE_DECL_PROGRAM_INVOCATION_NAME and
746 HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
748 2005-12-09 Sergey Poznyakoff <gray@gnu.org.ua>
750 * argp.m4: Check if program_invocation_name and
751 program_invocation_short_name are declared and define appropriate
752 macros if they are not.
754 2005-12-07 Paul Eggert <eggert@cs.ucla.edu>
756 * stat-time.m4 (gl_STAT_TIME): Add check for
757 TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
758 porting problem reported by Georg Schwarz in
759 <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
761 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
763 * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
764 Use implementation from Albert Chin, with some
765 comments/corrections by Stepan Kasal and myself.
767 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
769 * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
770 statement, to work around an HP-UX 10.20 compiler bug reported by
773 2005-11-10 Paul Eggert <eggert@cs.ucla.edu>
775 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
776 or gettimeofday; no longer needed.
778 2005-10-30 Paul Eggert <eggert@cs.ucla.edu>
780 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
781 variables to suggest the intended function of the PATH_MAX check.
783 2005-10-30 Kean Johnston <jkj@sco.com>
785 Trivial changes to support SCO systems.
786 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
788 * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
789 where __ptr is null when no I/O is pending.
791 2005-10-28 Simon Josefsson <jas@extundo.com>
793 * inet_ntop.m4: More tests.
795 * gc-md2.m4, md2.m4: New file.
797 2005-10-22 Simon Josefsson <jas@extundo.com>
799 * gc.m4: Don't be fooled by --disable-*random-device parameters,
800 suggested by Bruno Haible <bruno@clisp.org>. Fix error messages.
802 2005-10-21 Simon Josefsson <jas@extundo.com>
804 * gc.m4: Don't use libgcrypt if gcrypt.h isn't found, suggested by
805 Bruno Haible <bruno@clisp.org>.
807 * gc-des.m4: New file.
809 2005-10-21 Simon Josefsson <jas@extundo.com>
811 * arctwo.m4: New file.
813 * gc-arctwo.m4: New file.
815 2005-10-19 Simon Josefsson <jas@extundo.com>
817 * gc-arcfour.m4: New file.
819 * gc-rijndael.m4: New file.
821 2005-10-19 Simon Josefsson <jas@extundo.com>
823 * m4/gc-hmac-md5.m4, m4/gc-hmac-sha1.m4, m4/gc-md4.m4,
824 m4/gc-md5.m4, m4/gc-sha1.m4: Fix typo, suggested by Stepan Kasal
827 2005-10-19 Simon Josefsson <jas@extundo.com>
829 * gc-md4.m4: New file.
831 2005-10-18 Simon Josefsson <jas@extundo.com>
835 2005-10-17 Bruno Haible <bruno@clisp.org>
837 * stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so that
838 it can also be used in a test.
840 2005-10-11 Simon Josefsson <jas@extundo.com>
842 * md5.m4: Remove call to uint32_t.m4.
844 2005-10-15 Simon Josefsson <jas@extundo.com>
846 * rijndael.m4: New file.
848 2005-10-14 Simon Josefsson <jas@extundo.com>
850 * arcfour.m4: New file.
852 2005-10-12 Bruno Haible <bruno@clisp.org>
854 * stdbool.m4 (gl_STDBOOL_H): Define as an alias of AM_STDBOOL_H.
855 Reported by Stepan Kasal <kasal@ucw.cz>.
857 2005-10-12 Simon Josefsson <jas@extundo.com>
859 * gc-pbkdf2-sha1.m4: New file.
861 * gc-hmac-sha1.m4: New file.
865 * hmac-sha1.m4: New file.
867 2005-10-12 Simon Josefsson <jas@extundo.com>
869 * gc-md5.m4, gc-hmac-md5: New files.
871 * gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5.
873 2005-10-11 Simon Josefsson <jas@extundo.com>
877 2005-10-07 Simon Josefsson <jas@extundo.com>
879 * memxor.m4: Remove gl_C_RESTRICT call.
881 2005-10-06 Paul Eggert <eggert@cs.ucla.edu>
883 * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
884 promotes to int, not unsigned int, to catch the AIX 5.3
887 2005-10-06 Simon Josefsson <jas@extundo.com>
889 * hmac-md5.m4: New file.
891 * memxor.m4: Require gl_C_RESTRICT.
893 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
895 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for
896 sys/socket.h, netdb.h, sys/types.h; the checks areno longer
897 needed, since the source code now assumes these .h files.
899 2005-10-05 Simon Josefsson <jas@extundo.com>
901 * memxor.m4: New file.
903 2005-10-02 Paul Eggert <eggert@cs.ucla.edu>
906 * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
907 * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
908 defines ULONG_MAX_LT_ULLONG_MAX. Thomas M.Ott reports that
909 ULLONG_MAX doesn't work with 2.7.2.1.
911 2005-10-02 Jim Meyering <jim@meyering.net>
914 * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
915 from glibc-2.2.5 that fails for read-only files.
917 2005-10-02 Alfred M. Szmidt <ams@gnu.org>
920 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
921 against `yes', rather than just testing for nonempty.
923 2005-10-01 Simon Josefsson <jas@extundo.com>
925 * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
928 * getaddrinfo.m4: Use AC_GNU_SOURCE, GNU only declare getaddrinfo
929 as an (POSIX) extension. Check for sys/types.h, sys/socket.h, and
930 netdb.h too, needed by getaddrinfo.h. Check if getaddrinfo,
931 freeaddrinfo and gai_strerror are declared by the POSIX headers.
932 Check if struct addrinfo is declared.
934 2005-10-01 Jim Meyering <jim@meyering.net>
938 * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
939 libraries [inet nsl socket xnet]. Nelson Beebe reported that with
940 native cc on Solaris 7, getaddrinfo.c requires -lsocket.
941 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
942 in the inet and nsl libraries. Required on Solaris 5.7.
944 2005-09-24 Jim Meyering <jim@meyering.net>
947 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
948 in the inet and nsl libraries. Required on Solaris 5.7.
950 2005-09-26 Bruno Haible <bruno@clisp.org>
952 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
953 mbchar.c if they are not both present.
954 * mbfile.m4 (gl_MBFILE): Require gl_FUNC_MBRTOWC.
955 * mbiter.m4 (gl_MBITER): Likewise.
956 * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
957 * strcasestr.m4 (gl_PREREQ_STRCASESTR): Likewise.
958 * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
960 2005-09-23 Paul Eggert <eggert@cs.ucla.edu>
962 * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
963 and similarly for the other external symbols. Problem reported
966 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
967 bug reported by Jim Meyering.
969 * utimens.m4 (gl_UTIMENS): Check for futimesat.
970 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
971 not needed, since socklen is a prerequisite module.
973 2005-09-23 Jim Meyering <jim@meyering.net>
976 Correct build failure (socklen_t not defined) on at least
977 mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
978 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
980 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
983 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
985 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
989 * backupfile.m4, calloc.m4, chown.m4, cloexec.m4, dup2.m4:
990 * fileblocks.m4, free.m4, ftruncate.m4, getcwd.m4, getpagesize.m4:
991 * getugroups.m4, group-member.m4, idcache.m4, link-follow.m4:
992 * mkstemp.m4, mktime.m4, mountlist.m4, nanosleep.m4, pathmax.m4:
993 * physmem.m4, posixver.m4, putenv.m4, safe-read.m4, same.m4:
994 * save-cwd.m4, stdio-safer.m4, unistd-safer.m4, unlinkdir.m4:
995 * userspec.m4, xgetcwd.m4, xreadlink.m4:
996 Don't bother checking for string.h, stdlib.h, unistd.h.
997 * fts.m4 (gl_FUNC_FTS_CORE): Don't require
998 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
1000 * jm-macros.m4 (gl_MACROS): Likewise.
1001 * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
1003 * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
1004 (gl_GETDATE): Use it.
1006 * mkdir-p.m4 (gl_MKDIR_PARENTS): Don't bother checking for unistd.h.
1008 2005-09-22 Jim Meyering <jim@meyering.net>
1010 Sync from coreutils.
1012 * lstat.m4 (gl_FUNC_LSTAT):
1013 Use AC_LIBSOURCES to require lstat.c and lstat.h.
1014 Remove obsolete comment.
1015 * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
1016 * xstrtod.m4: Likewise.
1018 * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
1020 2005-09-19 Simon Josefsson <jas@extundo.com>
1022 * socklen.m4: Fix typo.
1024 2005-09-15 Paul Eggert <eggert@cs.ucla.edu>
1026 * st_mtim.m4: Remove. Superseded by...
1027 * stat-time.m4: New file.
1028 * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
1029 Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
1031 2005-09-15 Derek Price <derek@ximbiot.com>
1033 * strstr.m4 (gl_FUNC_STRSTR): Don't define strstr here.
1035 2005-09-12 Derek Price <derek@ximbiot.com>
1037 Make canon-host require getaddrinfo.
1038 * canon-host.m4 (gl_CANON_HOST): Remove most dependencies.
1039 AC_LIBSOURCE canon-host.h. Call...
1040 (gl_PREREQ_CANON_HOST): ...this new function, which requires
1042 * getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when needed.
1044 2005-09-12 Derek Price <derek@ximbiot.com>
1045 Paul Eggert <eggert@cs.ucla.edu>
1047 * m4/glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c,
1048 glob_.h, glob-libc.h.
1049 (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed.
1051 2005-08-31 Simon Josefsson <jas@extundo.com>
1053 * socklen.m4: New file.
1055 2005-09-03 Derek Price <derek@ximbiot.com>
1057 * getlogin_r (gl_GETLOGIN_R): Fix cut & paste error.
1058 From Larry Jones <lawrence.jones@ugs.com>.
1060 2005-08-27 Bruno Haible <bruno@clisp.org>
1062 Support for lib vs. lib64 distinction on biarch platforms.
1063 * lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): New macro.
1064 (AC_LIB_PREFIX): Require it. Use $acl_libdirstem instead of 'lib'.
1065 * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
1067 2005-09-01 Jim Meyering <jim@meyering.net>
1069 * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
1070 CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
1071 Require gl_STAT_MACROS, too.
1073 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
1075 * regex.m4 (gl_REGEX): Require AC_SYS_LARGEFILE, Define
1076 _REGEX_LARGE_OFFSETS). Test for regoff_t/off_t bug in 64-bit
1077 and large-file glibc and in 32-bit large-file Solaris.
1079 2005-08-28 Bruno Haible <bruno@clisp.org>
1081 * gnulib-tool.m4: New file.
1083 2005-08-27 Jim Meyering <jim@meyering.net>
1085 * stdlib-safer.m4: New file. From coreutils.
1086 * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h.
1087 * fcntl-safer.m4 (gl_FCNTL_SAFER): Add creat-safer.c to the
1088 AC_LIBSOURCES list and arrange to compile it via AC_LIBOBJ.
1089 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise, add pipe-safer.c.
1090 Add pipe-safer.c and unistd--.h to the AC_LIBSOURCES list.
1092 2005-08-24 Simon Josefsson <jas@extundo.com>
1094 * getpass.m4: Check for termios.h, tcgetattr, tcsetattr, and
1097 2005-08-25 Stepan Kasal <kasal@ucw.cz>
1099 * regex.m4: Add AC_PREREQ(2.50).
1100 (gl_REGEX): If --with-included-regex was given, skip the autodetection.
1102 2005-08-25 Bruno Haible <bruno@clisp.org>
1104 * minmax.m4: Require autoconf 2.52.
1105 (gl_MINMAX_IN_HEADER): Add comments. Use m4_pushdef/m4_popdef instead
1106 of define/undefine. Use AS_TR_SH and AS_TR_CPP as more robust
1107 alternatives of translit over the alphabet.
1108 Based on a patch from Stepan Kasal <kasal@ucw.cz>.
1110 2005-08-24 Paul Eggert <eggert@cs.ucla.edu>
1112 * regex.m4 (gl_REGEX): Use POSIX-compliant spellings when testing
1113 for GNU regex features.
1115 2005-08-24 Jim Meyering <jim@meyering.net>
1117 Sync from coreutils.
1118 * fcntl-safer.m4: New file.
1120 * xgetcwd.m4: Use AC_LIBSOURCES and AC_LIBOBJ to indicate source
1121 and object files for this module.
1123 2005-08-23 Paul Eggert <eggert@cs.ucla.edu>
1125 * regex.m4 (gl_INCLUDED_REGEX): Remove; no longer used.
1126 All contents moved to gl_REGEX.
1127 (gl_REGEX): Don't bother checking whether lib/regex.c exists;
1128 assume that it does.
1130 2005-08-20 Bruno Haible <bruno@clisp.org>
1132 * regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
1134 2005-08-17 Bruno Haible <bruno@clisp.org>
1136 * strcasestr.m4: New file.
1138 2005-08-17 Bruno Haible <bruno@clisp.org>
1140 * strstr.m4 (gl_FUNC_STRSTR): Use the replacement function always.
1141 (gl_PREREQ_STRSTR): Use gl_FUNC_MBRTOWC.
1143 2005-08-16 Paul Eggert <eggert@cs.ucla.edu>
1145 * getopt.m4 (gl_GETOPT_CHECK_HEADERS): Do not override the results
1146 of gl_GETOPT_SUBSTITUTE. That way, if both gl_GETOPT_SUBSTITUTE
1147 and gl_GETOPT are both invoked via different paths (as happens
1148 with GNU tar CVS because it uses both argp and getopt), the former
1151 2005-08-16 Bruno Haible <bruno@clisp.org>
1153 * strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function always.
1154 (gl_PREREQ_STRCASECMP): Use gl_FUNC_MBRTOWC.
1156 2005-08-16 Bruno Haible <bruno@clisp.org>
1158 * mbfile.m4: New file.
1160 2005-08-16 Bruno Haible <bruno@clisp.org>
1162 * mbiter.m4: New file.
1164 2005-08-16 Bruno Haible <bruno@clisp.org>
1166 * mbchar.m4: New file.
1168 2005-08-16 Bruno Haible <bruno@clisp.org>
1170 * tls.m4: New file, from GNU gettext.
1172 2005-08-12 Bruno Haible <bruno@clisp.org>
1174 * readline.m4 (gl_FUNC_READLINE): Look for ncurses first.
1176 2005-08-12 Simon Josefsson <jas@extundo.com>
1178 * readline.m4: Look for termcap, curses or ncurses if required.
1180 2005-08-11 Simon Josefsson <jas@extundo.com>
1182 * readline.m4: New file.
1184 2005-08-10 Simon Josefsson <jas@extundo.com>
1186 * strnlen.m4: New file.
1188 * strndup.m4: Don't check for strnlen declaration, done in
1191 2005-08-10 Stepan Kasal <kasal@ucw.cz>
1193 * onceonly_2_57.m4: Really require Autoconf 2.57.
1195 2005-08-02 Simon Josefsson <jas@extundo.com>
1197 * getline.m4: Separate out getdelim stuff into separate module.
1199 * getdelim.m4: New file.
1201 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1203 Add support to getopt for Emacs, which doesn't use LIBOBJS in the
1205 * getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER): New macro.
1206 (gl_GETOPT_SUBSTITUTE): Use it. Invoke gl_PREREQ_GETOPT.
1207 (gl_GETOPT_IFELSE, gl_GETOPT_CHECK_HEADERS): New macros.
1208 (gl_GETOPT): Use the new macros. Most of the implementation
1209 is moved to the new macros. This is for programs like Emacs
1210 that don't want all the functionality of gl_GETOPT.
1212 2005-07-26 Bruno Haible <bruno@clisp.org>
1214 * lock.m4: Update from GNU gettext.
1216 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1218 * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_IFELSE instead of the
1219 obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
1221 2005-07-24 Bruno Haible <bruno@clisp.org>
1223 * visibility.m4: New file.
1225 2005-07-18 Bruno Haible <bruno@clisp.org>
1227 * lock.m4: New file, from GNU gettext.
1229 2005-06-01 Bruno Haible <bruno@clisp.org>
1231 * poll.m4 (gl_FUNC_POLL): Check against MacOS X 10.4 poll() bug.
1232 When using lib/poll.c, define poll as rpl_poll.
1234 2005-07-14 Bruno Haible <bruno@clisp.org>
1236 * argp.m4 (gl_ARGP): Remove invocation of gl_FUNC_GLIBC_UNLOCKED_IO.
1237 Instead, test for *_unlocked function declarations directly.
1239 2005-07-14 Derek Price <derek@ximbiot.com>
1241 * glob.m4 (gl_GLOB): Cache glob interface check result. Add check for
1244 2005-07-10 Bruno Haible <bruno@clisp.org>
1246 * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t.
1247 Needed when size_t is smaller than 'unsigned int'.
1248 Reported by Paul Eggert.
1250 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1252 * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1253 * same.m4 (gl_SAME): Likewise.
1254 Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1256 * regex.m4: Adjust to new libc regex implementation.
1257 (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
1258 all the .c and .h parts of (the new) regex.
1259 Quote the m4 stuff better.
1260 Check for RE_ICASE bug of old gnulib.
1261 Check for REG_STARTEND of recent libc.
1262 Rename local variables from jm_* to gl_*.
1263 Quote operand of "test -f".
1264 Say "recent enough" version of libc, not "version 2".
1265 (gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a
1266 prerequisite module. Remove AC_HEADER_STDC; no longer needed.
1267 Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll.
1268 Remove check for btowc, isascii.
1269 Require AM_LANGINFO_CODESET.
1271 2005-07-05 Bruno Haible <bruno@clisp.org>
1273 * mbrtowc.m4 (gl_FUNC_MBRTOWC): Upgrade to version from current
1274 autoconf CVS. Needed for mingw.
1276 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1278 Remove the dependency of the strftime module on the tzset module.
1279 * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1281 2005-07-02 Jim Meyering <jim@meyering.net>
1283 * chown.m4, cloexec.m4, dup2.m4, fsusage.m4:
1284 * getcwd-path-max.m4, getcwd.m4, mkstemp.m4, mountlist.m4:
1285 * pagealign_alloc.m4, save-cwd.m4, unistd-safer.m4:
1286 Don't check for fcntl.h, and don't test for HAVE_FCNTL_H.
1288 2005-06-28 Simon Josefsson <jas@extundo.com>
1290 * check-version.m4: New file, suggested by Jim Meyering
1293 2005-06-24 Derek Price <derek@ximbiot.com>
1294 and Bruno Haible <bruno@clisp.org>
1296 Remove stat module & update lstat.
1297 * lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
1298 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1299 * stat.m4: Remove this file.
1301 2005-06-20 Derek Price <derek@ximbiot.com>
1303 * bison.m4: Note that precious decls of YACC & YFLAGS will be
1304 unnecessary for Autoconfs > 2.59c.
1306 2005-06-16 Derek Price <derek@ximbiot.com>
1308 * bison.m4: Declare YACC & YFLAGS precious.
1310 2005-06-08 Bruno Haible <bruno@clisp.org>
1312 * csharpcomp.m4: New file, from GNU gettext.
1314 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1316 Sync from coreutils.
1317 * mkdir-p.m4: Renamed from makepath.m4.
1318 (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed.
1319 Rename files from makepath.c to mkdir-p.c, and from
1320 makepath.h to mkdir-p.h.
1321 * filenamecat.m4: Renamed from path-concat.m4.
1322 (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed.
1323 Rename files from path-concat.c to filenamecat.c,
1324 and from path-concat.h to filenamecat.h.
1325 * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1326 "file name" in local variables or comments.
1327 * rename.m4: Likewise.
1329 2005-06-01 Bruno Haible <bruno@clisp.org>
1331 * csharp.m4: New file, from GNU gettext.
1332 * csharpexec.m4: New file, from GNU gettext.
1334 2005-05-31 Derek Price <derek@ximbiot.com>
1335 Paul Eggert <eggert@cs.ucla.edu>
1338 * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
1340 2005-05-29 Derek Price <derek@ximbiot.com>
1341 Paul Eggert <eggert@cs.ucla.edu>
1343 * glob.m4: New file.
1345 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1347 * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1348 and don't require gt_INTTYPES_PRI.
1350 2005-05-26 Paul Eggert <eggert@cs.ucla.edu>
1352 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Define
1353 _POSIX_PTHREAD_SEMANTICS for Solaris.
1355 2005-05-25 Derek Price <derek@ximbiot.com>
1356 Paul Eggert <eggert@cs.ucla.edu>
1358 * getlogin_r.m4: New files.
1360 2005-05-22 Bruno Haible <bruno@clisp.org>
1362 * minmax.m4: New file.
1363 Based on a patch by Derek Price <derek@ximbiot.com>.
1365 2005-05-20 Paul Eggert <eggert@cs.ucla.edu>
1367 * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1368 (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1370 2005-05-20 Eric Blake <ebb9@byu.net> (tiny change)
1372 * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1375 2005-05-18 Paul Eggert <eggert@cs.ucla.edu>
1377 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1378 Don't check for stddef.h.
1379 * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1380 don't use its results.
1381 Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1382 since we include them unconditionally. Don't require
1383 AM_STDBOOL_H, since stdbool is a prerequisite.
1384 Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1385 since we assume C89 or better.
1386 Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1387 as we don't use their results.
1388 Don't check for fchdir, memmove, memset, strrchr, as we use
1389 them unconditionally.
1390 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1391 GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1393 2005-05-18 Jim Meyering <jim@meyering.net>
1395 * fts.m4 (AC_LIBSOURCES): Add intprops.h to the list.
1396 Reported by Yoann Vandoorselaere.
1398 2005-05-17 Jim Meyering <jim@meyering.net>
1400 * fts.m4: New file, from coreutils.
1402 2005-05-14 Paul Eggert <eggert@cs.ucla.edu>
1404 Sync from coreutils.
1405 * unlinkdir.m4: New file.
1407 2005-05-10 Derek Price <derek@ximbiot.com>
1409 * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1412 2005-05-10 Simon Josefsson <jas@extundo.com>
1414 * getaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
1415 Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
1417 2005-05-09 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
1418 Bruno Haible <bruno@clisp.org>
1420 * inet_ntop.m4: New file.
1422 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1424 * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1427 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1429 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1430 * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1431 (gl_PREREQ_CHOWN): Remove.
1432 * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1433 it. Don't require AC_HEADER_STAT.
1434 (gl_PREREQ_LSTAT): Remove.
1435 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1436 Don't require AC_HEADER_STAT.
1437 * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1438 (gl_PREREQ_RMDIR): Remove.
1439 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1440 mention stat-macros.h or AC_HEADER_STAT, since we'll make
1441 the stat-macros module a prerequisite.
1442 * file-type.m4 (gl_FILE_TYPE): Likewise.
1443 * filemode.m4 (gl_FILEMODE): Likewise.
1444 * makepath.m4 (gl_MAKEPATH): Likewise.
1445 * modechange.m4 (gl_MODECHANGE): Likewise.
1446 * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1448 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1449 fetish_FUNC_RMDIR_NOTEMPTY. All uses changed. Use gl_ for
1451 * fcntl-safer.m4: Remove.
1452 * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1453 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1454 Invoke gl_PREREQ_FD_SAFER.
1455 (gl_PREREQ_FD_SAFER): New macro.
1456 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Check for siginterrupt.
1457 * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1458 Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1459 Remove duplicate call to AC_LIBOBJ(readutmp).
1460 (gl_PREREQ_READUTMP): Remove. All uses inlined.
1462 * mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check for message, not for
1463 MAP_ANON. Problem reported by Moriyoshi Koizumi to bug-cvs.
1465 2005-05-01 Oskar Liljeblad <oskar@osk.mine.nu>
1467 * byteswap.m4: New file.
1471 * gettext.m4: Update from GNU gettext 0.14.4.
1473 2005-04-15 Simon Josefsson <jas@extundo.com>
1475 * getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
1477 2005-03-28 Eric Blake <ebb9@byu.net> (tiny change)
1479 * getcwd-path-max.m4: Return success on systems such as Cygwin
1480 where no absolute path name can be longer than PATH_MAX.
1482 2005-03-22 Jim Meyering <jim@meyering.net>
1484 * stat-macros.m4 (gl_STAT_MACROS): New file/macro.
1486 2005-03-21 Jim Meyering <jim@meyering.net>
1487 and Paul Eggert <eggert@cs.ucla.edu>
1489 * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4,
1490 cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4,
1491 exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4,
1492 getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4,
1493 getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4,
1494 idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4,
1495 memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4,
1496 path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4,
1497 quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4,
1498 safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4,
1499 strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4,
1500 unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4,
1501 xnanosleep.m4, xstrtol.m4, yesno.m4:
1502 Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files
1505 2005-03-21 Jim Meyering <jim@meyering.net>
1507 * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Invoke gl_FUNC_MEMRCHR.
1508 * memrchr.m4 (gl_FUNC_MEMRCHR): Check for memrchr decl.
1510 2005-03-16 Bruno Haible <bruno@clisp.org>
1512 * stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
1513 HAVE_LONGLONG_64BIT.
1515 2005-03-14 Bruno Haible <bruno@clisp.org>
1517 * lib-link.m4, gettext.m4, nls.m4, po.m4:
1518 Update from GNU gettext 0.14.3.
1520 2005-03-10 Jim Meyering <jim@meyering.net>
1522 * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1524 2005-03-07 Bruno Haible <bruno@clisp.org>
1526 * mmap-anon.m4 (MAP_FILE, MAP_FAILED): Remove definitions.
1528 2005-03-03 Bruno Haible <bruno@clisp.org>
1530 * inttypes.m4, isc-posix.m4, once-only.m4:
1531 Use an all-permissive copyright notice, recommended by RMS.
1533 2005-03-03 Derek R. Price <derek@ximbiot.com>
1535 * mmap-anon.m4: New file.
1536 * pagealign_alloc.m4: New file.
1538 2005-01-28 Bruno Haible <bruno@clisp.org>
1540 * stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because of
1541 AIX, the replacement has to be done only after <string.h> is included,
1542 therefore not in config.h. stpncpy.h does the replacement, and
1545 2005-03-01 Paul Eggert <eggert@cs.ucla.edu>
1547 * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1548 to detect nanosleep bug.
1550 2005-02-25 Paul Eggert <eggert@cs.ucla.edu>
1552 * gethrxtime.m4, xnanosleep.m4: New files.
1553 * gettime.m4 (gl_GETTIME): Check for nanotime.
1555 2005-02-24 Bruno Haible <bruno@clisp.org>
1557 * gettext.m4, intdiv0.m4, intmax.m4, inttypes-pri.m4, lcmessage.m4:
1558 * lib-link.m4, lib-prefix.m4, nls.m4, po.m4, printf-posix.m4:
1560 Update from GNU gettext 0.14.2.
1561 * glibc2.m4: New file, from GNU gettext 0.14.2.
1563 2005-02-22 Simon Josefsson <jas@extundo.com>
1565 * iconvme.m4: New file.
1567 2005-02-23 Jim Meyering <jim@meyering.net>
1569 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
1570 Thanks to Bruno Haible for catching it.
1572 2005-02-22 Jim Meyering <jim@meyering.net>
1574 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
1576 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
1578 * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
1580 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
1582 Sync from coreutils.
1583 * getloadavg.m4, glibc.m4, search-libs.m4: Remove.
1585 Remove files that are specific to coreutils.
1586 * check-decl.m4, jm-macros.m4, lib-check.m4, prereq.m4: Remove.
1588 2005-01-28 Bruno Haible <bruno@clisp.org>
1590 * javacomp.m4: New file, from GNU gettext.
1592 2005-01-26 Bruno Haible <bruno@clisp.org>
1594 * javaexec.m4: New file, from GNU gettext.
1596 2005-01-24 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1598 * sysexits.m4 (gl_SYSEXITS): Reverted logic. SYSEXITS_H
1599 must be defined if the header file was not found, in order
1600 to provide a replacement. Reported by Todd Vierling <tv@duh.org>
1602 2005-01-23 Paul Eggert <eggert@cs.ucla.edu>
1604 * acl.m4, afs.m4, alloca.m4, argp.m4, assert.m4, atexit.m4,
1605 backupfile.m4, base64.m4, bison.m4, c-bs-a.m4, c-stack.m4,
1606 c-strtod.m4, calloc.m4, canon-host.m4, canonicalize.m4,
1607 clock_time.m4, cloexec.m4, closeout.m4, d-ino.m4, d-type.m4,
1608 dirfd.m4, dirname.m4, dos.m4, dup2.m4, error.m4, euidaccess.m4,
1609 exclude.m4, exitfail.m4, extensions.m4, fcntl-safer.m4,
1610 file-type.m4, fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4,
1611 free.m4, fstypename.m4, fsusage.m4, ftruncate.m4, getaddrinfo.m4,
1612 getcwd-path-max.m4, getcwd.m4, getdate.m4, getdomainname.m4,
1613 getgroups.m4, gethostname.m4, getline.m4, getndelim2.m4,
1614 getnline.m4, getopt.m4, getpagesize.m4, getpass.m4, getsubopt.m4,
1615 gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4,
1616 group-member.m4, hard-locale.m4, hash.m4, host-os.m4, human.m4,
1617 idcache.m4, inttostr.m4, isdir.m4, jm-winsz1.m4, jm-winsz2.m4,
1618 link-follow.m4, long-options.m4, ls-mntd-fs.m4, lstat.m4,
1619 makepath.m4, mathl.m4, md5.m4, memcasecmp.m4, memchr.m4,
1620 memcmp.m4, memcoll.m4, memcpy.m4, memmem.m4, memmove.m4,
1621 memrchr.m4, memset.m4, mkdir-slash.m4, mkstemp.m4, mktime.m4,
1622 modechange.m4, mountlist.m4, nanosleep.m4, obstack.m4,
1623 path-concat.m4, pathmax.m4, perl.m4, physmem.m4, poll.m4,
1624 posixtm.m4, posixver.m4, putenv.m4, quote.m4, quotearg.m4,
1625 readdir.m4, readtokens.m4, readutmp.m4, regex.m4, rename.m4,
1626 restrict.m4, rmdir-errno.m4, rmdir.m4, rpmatch.m4, same.m4,
1627 savedir.m4, settime.m4, sha1.m4, sig2str.m4, snprintf.m4,
1628 sockpfaf.m4, st_dm_mode.m4, st_mtim.m4, stat.m4, stdint.m4,
1629 stdio-safer.m4, strchrnul.m4, strdup.m4, strerror.m4,
1630 strerror_r.m4, strftime.m4, strndup.m4, strnlen.m4, strsep.m4,
1631 strtod.m4, strtoimax.m4, strtok_r.m4, strtol.m4, strtoll.m4,
1632 strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4, sysexits.m4,
1633 time_r.m4, timegm.m4, timespec.m4, tm_gmtoff.m4, tzset.m4,
1634 uint32_t.m4, uintptr_t.m4, unistd-safer.m4, unlink-busy.m4,
1635 unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4, utime.m4,
1636 utimecmp.m4, utimens.m4, utimes-null.m4, vsnprintf.m4, xalloc.m4,
1637 xgetcwd.m4, xreadlink.m4, xstrndup.m4, xstrtod.m4, xstrtoimax.m4,
1638 xstrtol.m4, xstrtoumax.m4, yesno.m4:
1639 Use an all-permissive copyright notice, recommended by RMS.
1641 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
1643 * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
1645 2005-01-18 Paul Eggert <eggert@cs.ucla.edu>
1647 Merge from coreutils.
1648 * ullong_max.m4: New file.
1649 * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
1650 (gl_MACROS): Assume localeconv exists.
1652 2005-01-18 Jim Meyering <jim@meyering.net>
1654 Merge from coreutils.
1655 * chdir-long.m4, openat.m4: New files.
1656 * save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c,
1657 save-cwd.h. Add AC_LIBOBJ for save-cwd.
1658 * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
1659 is sane and DOES follow symlinks. Besides, testing 20 different
1660 systems found no broken chown implementations.
1661 Prompted by a change in rsync's copy of this macro.
1662 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR_LONG.
1664 * lchown.m4 (gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
1666 * utimes.m4: Work around tests/touch/empty-file failure on a system
1667 (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
1668 NULL-means-set-to-current-time semantics.
1669 Remove temporary file immediately, rather than waiting
1670 for configure's at-exit trap code to do it.
1672 2005-01-18 Bruno Haible <bruno@clisp.org>
1674 * allocsa.m4, codeset.m4, copy-file.m4, eaccess.m4, eealloc.m4:
1675 * eoverflow.m4, execute.m4, fatal-signal.m4, findprog.m4, glibc21.m4:
1676 * iconv.m4, intmax_t.m4, inttypes_h.m4, lib-ld.m4, lib-link.m4:
1677 * lib-prefix.m4, linebreak.m4, localcharset.m4, longdouble.m4:
1678 * longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mkdtemp.m4:
1679 * pipe.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4:
1680 * sig_atomic_t.m4, signalblocking.m4, signed.m4, size_max.m4:
1681 * ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4, stpncpy.m4:
1682 * strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, ucs4-utf.m4:
1683 * uintmax_t.m4, ulonglong.m4, unicodeio.m4, utf-ucs4.m4, vasnprintf.m4:
1684 * vasprintf.m4, wait-process.m4, wchar_t.m4, wint_t.m4, xsize.m4:
1685 Use an all-permissive copyright notice, recommended by RMS.
1687 2005-01-06 Bruno Haible <bruno@clisp.org>
1689 * stpncpy.m4 (gl_FUNC_STPNCPY): Rename stpncpy to gnu_stpncpy here.
1691 2005-01-04 Jim Meyering <jim@meyering.net>
1693 Changes imported from coreutils.
1694 * mkstemp.m4 (gl_FUNC_MKSTEMP): Rather than using "conftestXXXXXX"
1695 as the mkstemp template, use a temporary directory and an
1696 8.3-friendly template to avoid trouble on systems like DJGPP.
1697 Reported by Juan M. Guerrero via Stepan Kasal.
1698 * (gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of close.
1699 Remove the temporary directory right away, rather than waiting
1700 for configure's at-exit trap code to do it.
1701 Suggestion from Stepan Kasal.
1703 2004-12-24 Paul Eggert <eggert@cs.ucla.edu>
1705 * c-strtod.m4 (gl_C99_STRTOLD): New macro.
1706 (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
1708 2004-12-23 Paul Eggert <eggert@cs.ucla.edu>
1710 * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
1712 2004-12-18 Bruno Haible <bruno@clisp.org>
1714 * fatal-signal.m4 (gl_FATAL_SIGNAL): Also test for sigaction.
1716 2004-12-07 Paul Eggert <eggert@cs.ucla.edu>
1718 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
1719 spurious "-l"s. Problem reported by Stepan Kasal.
1721 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
1723 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
1724 in Autoconf 2.59. Problem reported by Mark D. Baushke.
1726 2004-12-04 Paul Eggert <eggert@cs.ucla.edu>
1728 Changes imported from coreutils.
1729 * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
1731 * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
1733 2004-11-30 Paul Eggert <eggert@cs.ucla.edu>
1735 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
1736 Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
1738 * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
1740 2004-11-30 Simon Josefsson <jas@extundo.com>
1742 * base64.m4: New file.
1744 2004-11-30 Simon Josefsson <jas@extundo.com>
1746 * restrict.m4: Add copyright and copying conditions.
1748 2004-11-25 Paul Eggert <eggert@cs.ucla.edu>
1750 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
1751 GL_FUNC_GETCWD_PATH_MAX for consistency. All uses changed.
1752 Use the _ONCE methods, for efficiency.
1753 Check for fcntl.h. In test program, include <errno.h>
1754 and <fcntl.h> if available. Remove old K&R cruft from
1755 test program. Check for common errors in GNU/Linux,
1756 OpenBSD, and Solaris. Just set gl_cv_func_getcwd_path_max;
1757 don't do AC_LIBOBJ, as that's getcwd.m4's job.
1758 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
1759 AC_FUNC_GETCWD_NULL. All used changed. Change cache variable
1761 (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros. Revamp to
1762 accommodate new getcwd.c.
1763 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
1764 * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
1765 * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
1766 that's all we need now.
1768 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
1770 * utimens.m4 (gl_UTIMENS): Check for futimes function.
1772 2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
1774 * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
1775 argp-parse.c depends on getopt internals, that means we should
1776 always use our getopt, to be on the safe side.
1777 * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
1778 order not to spoil the result of an eventual previous invocation
1779 of gl_GETOPT_SUBSTITUTE.
1781 2004-11-17 Paul Eggert <eggert@cs.ucla.edu>
1783 * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
1784 that mishandle size_t overflow.
1786 2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
1788 * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
1790 2004-11-13 Jim Meyering <jim@meyering.net>
1792 * jm-macros.m4: Do require gl_FUNC_FPENDING.
1794 2004-11-11 Paul Eggert <eggert@cs.ucla.edu>
1796 * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead
1797 of replacing opterr, getopt, etc. This should handle the
1798 powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson.
1800 2004-11-11 Simon Josefsson <jas@extundo.com>
1802 * strtok_r.m4: New file.
1804 * getopt.m4: Replace opterr.
1806 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
1808 * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
1810 2004-11-10 Jim Meyering <jim@meyering.net>
1812 * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING.
1814 2004-11-08 Simon Josefsson <jas@extundo.com>
1816 * getaddrinfo.m4: New file.
1818 2004-11-09 Paul Eggert <eggert@cs.ucla.edu>
1820 * strftime.m4 (_gl_STRFTIME_PREREQS): Remove. Move its body to
1822 (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE
1823 and AC_REQUIRE when possible, to avoid duplicate checks.
1824 Check for <wchar.h>.
1826 2004-11-09 Bruno Haible <bruno@clisp.org>
1828 * sockpfaf.m4: New file.
1830 2004-11-03 Albert Chin <china@thewrittenword.com>
1831 Paul Eggert <eggert@cs.ucla.edu>
1833 * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
1834 equivalent, substitute $ac_type for equivalent type rather than
1835 blindly using uint32_t *always* which won't work if uint32_t is not
1836 available. Define _UINT32_T to work around typedef of uint32_t if
1837 <sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
1840 2004-11-02 Paul Eggert <eggert@cs.ucla.edu>
1842 * jm-macros.m4: Sync from coreutils.
1843 (gl_MACROS): Check for mbrlen, for pathchk.
1844 (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
1846 2004-11-02 Bruno Haible <bruno@clisp.org>
1848 * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv()
1851 2004-11-01 Paul Eggert <eggert@cs.ucla.edu>
1853 * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
1854 fflush_unlocked, flockfile, funlockfile, funlockfile,
1855 fputs_unlocked, putc_unlocked.
1857 2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
1859 * getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
1861 2004-10-15 Paul Eggert <eggert@cs.ucla.edu>
1863 * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
1864 implementation of getopt_long. Problem reported by Alexander Taler in:
1865 http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
1867 2004-10-11 Yoann Vandoorselaere <yoann@prelude-ids.org>
1869 * vsnprintf.m4: New file.
1871 2004-10-05 Bruno Haible <bruno@clisp.org>
1873 * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check
1874 for the declaration of strsep.
1876 2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
1878 * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove. All uses removed.
1880 * unlocked-io.m4: Add copyright notice.
1881 (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
1883 2004-10-04 Simon Josefsson <jas@extundo.com>
1885 * memmem.m4: New file.
1887 2004-10-01 Yoann Vandoorselaere <yoann@prelude-ids.org>
1889 * strsep.m4: New file.
1891 2004-09-30 Simon Josefsson <jas@extundo.com>
1893 * snprintf.m4: New file.
1895 2004-09-09 Bruno Haible <bruno@clisp.org>
1897 * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with
1899 * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
1901 2004-09-08 Bruno Haible <bruno@clisp.org>
1903 * stdint.m4: New file, taken from GNU clisp with modifications.
1905 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
1907 * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA.
1909 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
1911 * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody
1912 uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
1913 Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
1914 Check for program_invocation_name, program_invocation_short_name,
1915 flockfile, funlockfile, features.h, _getopt_long_only_r.
1917 2004-08-12 Simon Josefsson <jas@extundo.com>
1919 * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
1920 as discussed with Paul Eggert in threads rooted at
1921 <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
1923 <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
1924 Before, the test was empty, and relied on ELIDE_CODE in source
1926 (gl_PREREQ_GETOPT): New macro.
1927 (gl_GETOPT): Use them.
1929 2004-08-11 Paul Eggert <eggert@cs.ucla.edu>
1931 Merge from coreutils.
1933 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
1935 * obstack.m4 (gl_PREREQ_OBSTACK): Require
1936 gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
1938 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
1940 * uint32_t.m4, uintptr_t.m4: New files.
1941 * sha1.m4: Renamed from sha.m4.
1942 (gl_SHA1): Renamed from gl_SHA. All uses changed.
1944 2004-08-08 Simon Josefsson <jas@extundo.com>
1946 * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
1947 Check getpass declaration.
1949 2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
1951 More merge from coreutils.
1953 * utimens.m4, utimecmp.m4: New files.
1954 * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
1955 fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
1956 prereq.m4, sha.m4: Import changes from coreutils.
1958 2004-08-05 Paul Eggert <eggert@cs.ucla.edu>
1960 Merge from coreutils.
1962 * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
1965 * dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
1966 FILESYSTEM_PREFIX_LEN ->
1967 FILE_SYSTEM_PREFIX_LEN.
1968 FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX ->
1969 FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.
1970 FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR ->
1971 FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
1973 * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
1974 prerequisite modules now handle the DOS stuff.
1975 Don't check for unistd.h.
1977 2004-08-03 Simon Josefsson <jas@extundo.com>
1979 * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it.
1981 2004-08-02 Simon Josefsson <jas@extundo.com>
1983 * getsubopt.m4: New file.
1985 2004-08-03 Paul Eggert <eggert@cs.ucla.edu>
1987 * fatal.m4: Remove, as the "fatal" module wasn't used or working.
1989 2004-07-13 Robert Millan <robertmh@gnu.org>
1991 * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
1993 2004-06-22 Paul Eggert <eggert@cs.ucla.edu>
1995 * argz.m4: New file, which is autoupdated from libtool.
1997 2004-06-01 Jim Meyering <jim@meyering.net>
1999 * calloc.m4: New file.
2001 2004-06-01 Paul Eggert <eggert@cs.ucla.edu>
2003 Merge from coreutils CVS.
2005 * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4,
2006 makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4,
2007 putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4,
2008 strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4,
2009 xstrtol.m4: Fix copyright date and/or serial number.
2011 * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
2012 See if we need an fchown replacement.
2013 (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
2014 (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
2015 and use the replacement function if we detect either defect.
2017 * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR,
2020 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
2022 * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI
2023 C B3910B A.05.55 [Dec 04 2003]. Problem reported by Jim Meyering.
2024 Also, fix a typo in a diagnostic.
2026 2004-05-30 Paul Eggert <eggert@cs.ucla.edu>
2028 * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC
2031 2004-05-20 Andreas Schwab <schwab@suse.de>
2033 * free.m4: Replace free if it not known to work, not the other
2036 2004-05-17 Derek R. Price <derek@ximbiot.com>
2037 Paul Eggert <eggert@cs.ucla.edu>
2039 * argp: Depend on alloca.
2041 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
2043 * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
2044 for backward compatibility with older code. We need our own
2045 alloca.h if _AIX is defined. Define HAVE_ALLOCA if we discover
2046 it under some other name, and our alloca.h will define it.
2048 2004-05-13 Paul Eggert <eggert@cs.ucla.edu>
2050 * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC.
2051 Check for gettimeofday.
2052 * settime.m4 (gl_SETTIME): Require gl_TIMESPEC.
2053 Check for settimeofday, stime.
2055 2004-04-20 Paul Eggert <eggert@twinsun.com>
2057 * host-os.m4: Add a copyright notice.
2059 2004-04-20 Jim Meyering <jim@meyering.net>
2061 Change UTILS_ to gl_ in AC_DEFINE'd names.
2062 Change utils_- and jm_-prefixed variables, too.
2063 * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
2064 UTILS_FUNC_MKDIR_TRAILING_SLASH.
2065 * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
2067 * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
2068 Don't emit trailing blanks.
2069 Also rename jm_-prefixed variables to have gl_ prefix.
2071 * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS.
2072 Also rename jm_-prefixed variables to have gl_ prefix.
2074 * jm-macros.m4: Reflect the renamings.
2075 * prereq.m4: Likewise.
2077 2004-04-19 Jim Meyering <jim@meyering.net>
2079 * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
2080 now that readutmp.c may call `free (0)'.
2082 2004-04-19 Bruno Haible <bruno@clisp.org>
2084 * mbrtowc.m4: Change jm_ to gl_ in cache variables as well.
2085 * inttypes_h.m4: Likewise.
2086 * stdint_h.m4: Likewise.
2087 * intmax_t.m4: Likewise.
2088 * uintmax_t.m4: Likewise.
2090 2004-04-18 Jim Meyering <jim@meyering.net>
2092 * prereq.m4: Don't forbid jm_ prefix.
2094 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
2095 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4:
2096 * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4:
2097 * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4:
2098 * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4:
2099 * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4:
2100 * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
2101 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
2102 * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4:
2103 * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4:
2104 * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4:
2105 * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4:
2106 * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4:
2107 * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4:
2108 * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
2109 Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
2111 2004-04-16 Jim Meyering <jim@meyering.net>
2113 * prereq.m4 (jm_PREREQ_STAT): Remove macro. It is specific to
2114 coreutils' stat program.
2115 (gl_PREREQ): Don't require jm_PREREQ_STAT.
2117 2004-03-31 Jim Meyering <jim@meyering.net>
2119 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
2120 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2121 * xalloc.m4: Likewise.
2123 2004-03-30 Jim Meyering <jim@meyering.net>
2125 * realloc.m4: Remove file, since now it does no more than
2126 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
2127 the `configure.ac' section of module/realloc.
2128 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
2130 2004-03-30 Paul Eggert <eggert@twinsun.com>
2132 Merge from coreutils.
2134 * inttostr.m4: New file.
2135 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
2136 Require AM_STDBOOL_H and gl_TIMESPEC instead.
2137 Require gl_CLOCK_TIME.
2138 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
2140 2004-03-30 Jim Meyering <jim@meyering.net>
2142 Merge from coreutils.
2144 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
2145 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
2146 on some systems one must include <grp.h> before it.
2147 Reported by Christian Krackowizer.
2149 2004-03-29 Paul Eggert <eggert@twinsun.com>
2151 * cloexec.m4: New file.
2153 2004-03-18 Paul Eggert <eggert@twinsun.com>
2154 Bruno Haible <bruno@clisp.org>
2156 * mbswidth.m4 (gl_MBSWIDTH): Also test whether <wchar.h> declares
2159 2004-03-07 Paul Eggert <eggert@twinsun.com>
2161 * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
2162 All uses changed. Check for sa_sigaction member; this fixes
2163 a bug first reported by Jason Andrade in
2164 <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
2166 2004-01-18 Simon Josefsson <jas@extundo.com>
2168 * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared.
2170 2004-02-18 Bruno Haible <bruno@clisp.org>
2172 * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
2173 Reported by Derek Robert Price <derek@ximbiot.com>.
2175 2004-02-06 Karl Berry <karl@gnu.org>
2177 * po.m4: update from gettext 0.14.1.
2179 2004-02-03 Bruno Haible <bruno@clisp.org>
2181 * pipe.m4: New file, from GNU gettext.
2183 2004-01-27 Bruno Haible <bruno@clisp.org>
2185 * execute.m4: New file, from GNU gettext.
2187 2003-11-24 Bruno Haible <bruno@clisp.org>
2189 * allocsa.m4: New file, from GNU gettext.
2191 2003-11-24 Bruno Haible <bruno@clisp.org>
2193 * eealloc.m4: New file, from GNU gettext.
2195 2004-01-15 Paul Eggert <eggert@twinsun.com>
2197 Merge from coreutils.
2199 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
2200 * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
2201 (gl_DEFAULT_POSIX2_VERSION): Move
2202 the documentation from 'configure' into 'config.hin',
2203 so that 'configure --help' isn't burdened by it and
2204 we don't have to worry about its formatting there.
2205 Reword the documentation so that it's more succinct
2206 and can be run together into a single paragraph.
2207 * same.m4 (gl_SAME): Check for pathconf.
2209 2004-01-15 Jim Meyering <jim@meyering.net>
2211 Merge from coreutils.
2213 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2214 if no library is required.
2215 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2216 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2217 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2218 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2219 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2220 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2221 value, $ac_cv_search_crypt, if it's "none required".
2222 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2223 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2224 not gl_FUNC_GETLOADAVG.
2225 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2226 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2228 2004-01-15 Alexandre Duret-Lutz <adl@gnu.org>
2230 Merge from coreutils.
2232 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2233 value, $ac_cv_search_nanosleep, if it's "none required".
2235 2003-12-03 Bruno Haible <bruno@clisp.org>
2237 * gettext.m4: Upgrade from gettext-0.13.
2238 * po.m4: Upgrade from gettext-0.13.
2239 * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
2240 * intmax.m4: New file, from gettext-0.13.
2241 * printf-posix.m4: New file, from gettext-0.13.
2243 2003-11-25 Bruno Haible <bruno@clisp.org>
2245 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require
2248 2003-11-17 Bruno Haible <bruno@clisp.org>
2250 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T.
2252 2003-11-12 Paul Eggert <eggert@twinsun.com>
2254 * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or
2257 2003-11-11 Bruno Haible <bruno@clisp.org>
2259 * size_max.m4: New file.
2260 * ptrdiff_max.m4: New file.
2261 * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
2262 * xalloc.m4 (gl_PREREQ_XALLOC): New macro.
2263 (gl_XALLOC): Invoke it.
2265 2003-11-04 Bruno Haible <bruno@clisp.org>
2267 * xsize.m4: New file.
2269 2003-11-03 Bruno Haible <bruno@clisp.org>
2271 * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid.
2273 2003-10-30 Paul Eggert <eggert@cs.ucla.edu>
2275 * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to
2276 netbsd*-gnu*. Suggested by Robert Millan.
2278 2003-10-29 Paul Eggert <eggert@twinsun.com>
2280 * xalloc.m4 (gl_XALLOC): Undo previous change.
2282 2003-10-29 Paul Eggert <eggert@twinsun.com>
2284 * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu. Add comments
2285 to it, and to knetbsd*-gnu and kfreebsd*-gnu. Remove the '*' from
2286 after the 'gnu' in these cases. This fixes some bugs in the
2287 previous change, and is based on suggestions by Robert Millan.
2289 2003-10-28 Paul Eggert <eggert@twinsun.com>
2291 * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and
2292 GNU/KNetBSD. These implementations use glibc atop the FreeBSD and
2293 NetBSD kernels. Requested by Richard Stallman.
2295 2003-10-26 Paul Eggert <eggert@twinsun.com>
2297 * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
2300 2003-10-23 Paul Eggert <eggert@twinsun.com>
2302 * getline.m4 (AM_FUNC_GETLINE):
2303 Don't include getndelim2.o twice into LIBOBJS; this breaks on some
2304 hosts. Problem reported by Derek Robert Price in
2305 <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
2306 This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
2307 * getndelim2.m4 (gl_GETNDELIM2): Likewise.
2309 2003-10-20 Bruno Haible <bruno@clisp.org>
2311 * wait-process.m4: New file.
2313 2003-10-14 Bruno Haible <bruno@clisp.org>
2315 * sig_atomic_t: New file, from GNU gettext.
2316 * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T.
2318 2003-10-12 Paul Eggert <eggert@twinsun.com>
2320 * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE.
2322 2003-10-10 Simon Josefsson <jas@extundo.com>
2324 * argp.m4: Add AC_C_INLINE.
2326 2003-10-08 Paul Eggert <eggert@twinsun.com>
2328 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2330 2003-10-06 Bruno Haible <bruno@clisp.org>
2332 * fatal-signal.m4: New file.
2333 * signalblocking.m4: New file, from GNU gettext.
2335 2003-09-27 Paul Eggert <eggert@twinsun.com>
2337 * free.m4: New file.
2339 2003-09-26 Bruno Haible <bruno@clisp.org>
2341 * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
2342 Don't define stpncpy through config.h; it's now done through stpncpy.h.
2344 2003-09-25 Simon Josefsson <jas@extundo.com>
2345 Bruno Haible <bruno@clisp.org>
2347 * getdomainname.m4: New file.
2349 2003-09-17 Paul Eggert <eggert@twinsun.com>
2351 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2352 to avoid spurious warnings like "AC_RUN_IFELSE was called before
2353 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2355 2003-09-12 Paul Eggert <eggert@twinsun.com>
2357 * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it.
2359 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2360 and AC_MINIX, too, so that their extensions are available.
2362 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
2363 This macro has been superseded by gl_BACKUPFILE.
2365 More patches to assume C89 or better.
2367 * error.m4 (gl_ERROR): Don't check for vprintf.
2369 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2371 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2372 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2373 Include <string.h>, <stdlib.h> unconditionally.
2374 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2375 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2376 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2378 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h
2381 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2382 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2383 * userspec.m4 (gl_USERSPEC): Likewise.
2384 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2385 * xstrtod.m4 (gl_XSTRTOD): Likewise.
2386 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2387 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2389 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2390 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2391 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2392 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2393 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2394 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2397 2003-09-11 Paul Eggert <eggert@twinsun.com>
2399 More patches to assume C89 or better.
2400 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2401 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2402 string.h, memchr, STDC_HEADERS.
2404 2003-09-10 Bruno Haible <bruno@clisp.org>
2406 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2407 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2408 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2409 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2410 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove
2411 <stdlib.h> and <string.h> checks.
2412 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2413 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2415 2003-09-09 Paul Eggert <eggert@twinsun.com>
2417 More patches to assume C89 or better.
2418 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2419 * getopt.m4 (gl_GETOPT): Don't check for string.h.
2420 * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
2422 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2423 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2425 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2427 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2428 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2429 * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
2431 * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
2432 * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
2434 * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
2436 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2437 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2438 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2439 * memcoll.m4 (gl_MEMCOLL): Likewise.
2440 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2441 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2443 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2444 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2445 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2446 C headers, or for string.h.
2447 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2448 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2449 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2450 headers, memory.h, stdlib.h, string.h, strings.h.
2451 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2452 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2453 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2455 * readtokens.m4 (gl_READTOKENS): Don't check for standard C
2456 headers, memory.h, string.h.
2457 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2458 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2460 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2461 * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
2462 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2463 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2464 * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
2465 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2467 2003-09-09 Derek Robert Price <derek@ximbiot.com>
2469 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2472 2003-09-08 Paul Eggert <eggert@twinsun.com>
2474 Assume C89 or better; remove K&R cruft.
2475 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2476 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2477 string.h, getenv, malloc.
2478 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2480 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2481 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2482 do not check for strerror.
2483 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2484 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2485 * fatal.m4 (gl_FATAL): Do not require STDC headers, and
2486 do not check for doprnt or vprintf.
2487 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
2488 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2490 2003-09-06 Paul Eggert <eggert@twinsun.com>
2492 * time_r.m4: New file.
2493 * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
2494 * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
2495 Check for timegm declaration.
2496 (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
2497 Do not check for gmtime_r.
2498 Replace mktime if __mktime_internal does not exist and if mktime
2499 hasn't been replaced already.
2501 2003-08-31 Simon Josefsson <jas@extundo.com>
2503 * timegm.m4: New file.
2505 2003-08-26 Bruno Haible <bruno@clisp.org>
2507 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2508 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2509 followed by '#define fnmatch fnmatch_posix' gives an error.
2511 2003-08-27 Jim Meyering <jim@meyering.net>
2513 * mkstemp.m4: Require that the system mkstemp be able to create
2514 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
2515 would fail after 32. Reported by Danny Levinson. Details here:
2516 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2518 2003-08-20 Karl Berry <karl@gnu.org>
2520 * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
2522 2003-08-19 Jim Meyering <jim@meyering.net>
2524 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2525 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2527 2003-08-19 Bruno Haible <bruno@clisp.org>
2529 * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
2531 2003-08-18 Jim Meyering <jim@meyering.net>
2533 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2534 * lib-ld.m4: Likewise.
2536 2003-08-17 Simon Josefsson <jas@extundo.com>
2538 * argp.m4: New file.
2540 2003-08-17 Simon Josefsson <jas@extundo.com>
2542 * xstrndup.m4: New file.
2544 2003-08-16 Jim Meyering <jim@meyering.net>
2546 * utimes.m4 (gl_FUNC_UTIMES): New file.
2547 * utimes.m4: Removed.
2548 * utimes-null.m4: Renamed from utimes.m4.
2550 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2551 to 1MB, so as not to render systems with no stack size limit (e.g.,
2552 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2553 Include <unistd.h>. On some systems,
2554 it is required for the definition of _SC_PAGESIZE.
2556 2003-08-16 Paul Eggert <eggert@twinsun.com>
2558 Merges from coreutils, etc.
2559 * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
2560 error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28.
2561 * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
2563 * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
2564 * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
2566 2003-08-16 Jim Meyering <jim@meyering.net>
2567 and Paul Eggert <eggert@cs.ucla.edu>
2569 Merges from coreutils, etc.
2571 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
2572 using the latest version from cvs. This avoids problems with #line
2573 directives using a vendor (Sun) compiler.
2574 (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
2575 Don't set GETGROUPS_LIB here; now it's
2576 done via getgroups.m4's wrapper function.
2577 AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
2578 rather than just in sh-util/configure.in, so that the
2579 now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
2581 Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
2582 AC_FUNC_GETLOADAVG where to find getloadavg.c.
2583 Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
2584 UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
2585 gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
2586 Remove code that is now done by the newly-required macros.
2587 Append $(EXEEXT) to DF_PROG.
2588 AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
2589 Do not invoke or require the following here,
2590 since prereq.m4 or some gnulib .m4 now does this for us:
2591 gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
2592 jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
2593 jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
2594 jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
2595 jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
2596 AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
2597 vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
2599 Do not replace the following functions, as this is now the job
2600 of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
2601 getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
2602 strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
2603 atexit getpass, strdup, getpagesize.
2605 Do not check for the following functions, as this is now the job
2606 of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
2607 getcwd, getmntinfo, resolvepath. But check for sysctl, setreuid,
2609 (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
2610 Check for sys/sysctl.h.
2611 (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
2612 jm_CHECK_TYPE_STRUCT_TIMESPEC. Invoke gt_TYPE_SSIZE_T instead
2613 of checking for ssize_t ourselves.
2615 * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
2616 Require every macro that gnulib/modules/* suggests for us.
2617 (jm_PREREQ_ADDEXT): New macro.
2618 (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
2619 Require jm_AC_TYPE_LONG_LONG instead of invoking it.
2621 * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
2622 (gl_PHYSMEM): Use it.
2623 Also check for `table' function.
2624 Check for new headers and functions.
2625 Add check for sys/sysmp.h.
2626 With suggestions from Kaveh Ghazi.
2627 Ignore headers that are present but cannot be compiled. This
2628 avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
2631 2003-08-16 Jim Meyering <jim@meyering.net>
2633 Merges from coreutils.
2634 * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
2635 prefix. Adjust cache variables similarly. Create 500 rather than
2636 just 300 files, to exercise bug on Darwin6.5, too.
2637 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
2638 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
2639 Reported by mkc@mathdogs.com.
2640 Also change use of $am_cv_sys_posix_termios
2641 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
2642 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
2643 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
2644 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
2645 /proc/mounts until it finds one with matching device number. This is
2646 unnecessary when the FILE argument *is* a mount point. No stat call
2647 is necessary in that case. So, disable the statvfs-testing code on
2648 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
2649 as RedHat bug# 84846.
2650 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2651 to 1MB, so as not to render systems with no stack size limit (e.g.,
2652 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2653 Include <unistd.h>. On some systems,
2654 it is required for the definition of _SC_PAGESIZE.
2656 2003-08-15 Jim Meyering <jim@meyering.net>
2657 and Paul Eggert <eggert@cs.ucla.edu>
2659 Merges from coreutils, etc.
2660 * strftime.m4 (_jm_STRFTIME_PREREQS):
2661 Require gl_FUNC_TZSET_CLOBBER.
2662 * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
2663 ut_exit.ut_termination, and ut_exit.e_termination members.
2665 2003-08-14 Paul Eggert <eggert@twinsun.com>
2667 Help the merge from coreutils.
2668 * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
2669 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
2670 * tzset.m4: Use it too.
2672 2003-08-14 Jim Meyering <jim@meyering.net>
2674 Merge from coreutils.
2675 * tzset.m4: New file.
2676 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
2677 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
2678 systems would end up using the latter. MOUNTED_GETMNTENT1 support
2679 is inadequate on such systems: 1) detecting whether a file system
2680 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
2681 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
2682 merely /MOUNT_POINT. Reported by Mike Jetzer.
2684 2003-08-13 Paul Eggert <eggert@twinsun.com>
2686 * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
2689 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2690 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2691 Undo previous (whitespace-only) change.
2693 2003-08-12 Paul Eggert <eggert@twinsun.com>
2695 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
2696 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
2697 Normalize leading white space and remove trailing white space.
2699 Merge from coreutils
2700 * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
2702 * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
2703 0.12.1. These files are now being upgraded automatically by
2704 ../config/srclist-update.
2706 2003-08-11 Bruno Haible <bruno@clisp.org>
2708 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
2710 2003-08-09 Paul Eggert <eggert@twinsun.com>
2712 * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
2713 apparently Emacs's Unicode mode got confused before my 2003-08-05
2716 2003-08-08 Paul Eggert <eggert@twinsun.com>
2718 * extensions.m4: New file.
2719 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
2720 Require gl_USE_SYSTEM_EXTENSIONS.
2721 * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
2722 Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
2724 2003-08-07 Paul Eggert <eggert@twinsun.com>
2726 * restrict.m4: New file.
2727 * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
2729 2003-08-07 Bruno Haible <bruno@clisp.org>
2731 * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
2732 the module 'getndelim2' compatible with the module 'getline'.
2734 2003-08-05 Paul Eggert <eggert@twinsun.com>
2736 * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
2737 byte with "\201" to avoid glitches when editing that source file
2738 with multi-gnome-terminal.
2740 2003-07-31 Bruno Haible <bruno@clisp.org>
2742 * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
2744 2003-07-18 Bruno Haible <bruno@clisp.org>
2746 * getndelim2.m4: New file.
2747 * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
2748 invoke gl_PREREQ_GETNDELIM2.
2749 (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
2750 gl_PREREQ_GETNDELIM2.
2751 * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
2754 2003-07-17 Bruno Haible <bruno@clisp.org>
2756 * Makefile.am.in: Remove file.
2757 * Makefile.am: Remove file.
2758 * Makefile.in: Remove file.
2760 2003-07-17 Bruno Haible <bruno@clisp.org>
2762 * getnline.m4: New file.
2764 2003-07-14 Simon Josefsson <jas@extundo.com>
2766 * mempcpy.m4: New file.
2768 2003-07-10 Jim Meyering <jim@meyering.net>
2770 * clock_time.m4: Remove trailing blank.
2771 * intmax_t.m4: Likewise.
2773 2003-07-01 Paul Eggert <eggert@twinsun.com>
2775 * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
2776 xreadlink.c now includes it unconditionally.
2778 2003-07-01 Bruno Haible <bruno@clisp.org>
2780 * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
2781 should be sufficient.
2782 Reported by Paul Eggert.
2784 2003-06-25 Bruno Haible <bruno@clisp.org>
2786 * readlink.m4: New file.
2788 2003-06-22 Bruno Haible <bruno@clisp.org>
2790 Portability to mingw32.
2791 * ssize_t.m4: New file, from GNU gettext.
2792 * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
2793 * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
2795 2003-06-11 Bruno Haible <bruno@clisp.org>
2797 * sysexits.m4: New file.
2799 2003-06-10 Simon Josefsson <jas@extundo.com>
2801 * strchrnul.m4: New file.
2803 2003-06-07 Bruno Haible <bruno@clisp.org>
2805 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
2806 gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
2807 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2809 * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
2810 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
2813 2003-06-04 Paul Eggert <eggert@twinsun.com>
2815 * human.m4 (gl_HUMAN): Require AM_STDBOOL_H. Check for
2816 locale.h, localeconv. This merges changes from coreutils.
2818 * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
2819 It can be removed after the next Autoconf is released.
2820 * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
2823 2003-05-30 Bruno Haible <bruno@clisp.org>
2825 * gettext.m4: Upgrade to gettext-0.12.1.
2826 * nls.m4: New file, from gettext-0.12.1.
2827 * po.m4: New file, from gettext-0.12.1.
2828 * progtest.m4: Upgrade to gettext-0.12.1.
2830 2003-05-28 Paul Eggert <eggert@twinsun.com>
2832 Assume the headers required for C89 freestanding compilers.
2833 * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
2834 * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
2835 * human.m4 (gl_HUMAN): Likewise.
2836 * pathmax.m4 (gl_PATHMAX): Likewise.
2837 * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
2838 * userspec.m4 (gl_USERSPEC): Likewise.
2839 * xreadlink.m4 (gl_XREADLINK): Likewise.
2840 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2841 * quote.m4 (gl_QUOTE): Don't check for stddef.h.
2843 2003-05-26 Jim Meyering <jim@meyering.net>
2845 Merge in a change from coreutils:
2846 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
2847 that is guaranteed to be `no'. Use `no_such_member' to indicate
2848 that condition, rather than `-1' which is slightly misleading.
2849 Change the name of the cache variable to have the gl_ prefix.
2850 Prompted by a patch from Richard Dawe for DJGPP.
2852 2003-05-17 Bruno Haible <bruno@clisp.org>
2854 * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
2855 expansion for AC_EGREP_CPP.
2856 * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
2857 * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
2858 Suggested by Akim Demaille <akim@epita.fr> in
2859 http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
2861 2003-04-21 Paul Eggert <eggert@twinsun.com>
2863 * error.m4 (gl_ERROR): Do not put under dynamic conditions some
2864 code which expansion is under static control. Patch imported from
2865 Akim Demaille's patch to Bison; see
2866 <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
2868 2003-04-14 Bruno Haible <bruno@clisp.org>
2870 * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
2872 2003-04-10 Bruno Haible <bruno@clisp.org>
2874 * findprog.m4: New file.
2875 * eaccess.m4: New file.
2877 2003-04-04 Bruno Haible <bruno@clisp.org>
2879 * linebreak.m4: New file.
2881 2003-04-03 Bruno Haible <bruno@clisp.org>
2883 * utf-ucs4.m4: New file.
2884 * ucs4-utf.m4: New file.
2886 2003-03-30 Bruno Haible <bruno@clisp.org>
2888 * copy-file.m4 (gl_COPY_FILE): Add check for chown().
2890 2003-03-28 Bruno Haible <bruno@clisp.org>
2892 * copy-file.m4: New file.
2894 2003-03-18 Bruno Haible <bruno@clisp.org>
2896 * onceonly.m4: Use m4_defn instead of defn, for better error checking.
2897 * onceonly_2_57.m4: Likewise.
2899 2003-03-17 Bruno Haible <bruno@clisp.org>
2901 * onceonly.m4: Require autoconf 2.54 or newer.
2902 (m4_quote): Remove macro.
2903 * onceonly_2_57.m4: Require autoconf 2.54 or newer.
2905 2003-03-14 Bruno Haible <bruno@clisp.org>
2907 * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
2908 AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
2910 2003-03-13 Paul Eggert <eggert@twinsun.com>
2912 * onceonly.m4 (m4_quote): New macro.
2913 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
2914 Quote AC_FOREACH variable-expansions properly.
2916 2003-02-19 Paolo Bonzini <bonzini@gnu.org>
2918 * poll.m4: New file.
2920 2003-02-18 Paolo Bonzini <bonzini@gnu.org>
2922 * mathl.m4: New file.
2924 2003-02-17 Bruno Haible <bruno@clisp.org>
2926 * mkdtemp.m4: New file, from GNU gettext with modifications.
2928 2003-02-02 Jim Meyering <jim@meyering.net>
2930 * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
2933 2003-01-31 Bruno Haible <bruno@clisp.org>
2935 * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
2937 * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
2939 * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
2941 * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
2944 2003-01-30 Bruno Haible <bruno@clisp.org>
2946 * signed.m4: New file, from GNU gettext.
2947 * longdouble.m4: New file, from GNU gettext.
2948 * wchar_t.m4: New file, from GNU gettext.
2949 * wint_t.m4: New file, from GNU gettext.
2950 * vasnprintf.m4: New file.
2951 * vasprintf.m4: New file.
2953 2003-01-29 Bruno Haible <bruno@clisp.org>
2955 * stpncpy.m4: New file.
2957 2003-01-23 Jim Meyering <jim@meyering.net>
2959 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
2960 from working on systems without dirfd (at least Irix and OSF1/Tru64).
2962 2003-01-16 Jim Meyering <jim@meyering.net>
2964 * regex.m4: The `regex' struct is both input and output.
2965 Initialize it before each use. Patch by Tim Waugh.
2967 2003-01-11 Bruno Haible <bruno@clisp.org>
2969 * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
2970 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
2973 2003-01-11 Bruno Haible <bruno@clisp.org>
2975 * md5.m4 (gl_MD5): Require AC_C_INLINE.
2977 2003-01-11 Bruno Haible <bruno@clisp.org>
2979 * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
2981 2003-01-12 Paul Eggert <eggert@twinsun.com>
2983 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
2984 to avoid collisions with libcurses and libreadline.
2986 * getstr.m4: Remove.
2987 * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
2989 2003-01-10 Bruno Haible <bruno@clisp.org>
2991 * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
2993 2003-01-09 Bruno Haible <bruno@clisp.org>
2995 * stdbool.m4 (AM_STDBOOL_H): New macro.
2997 2002-12-31 Paul Eggert <eggert@twinsun.com>
2999 * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
3001 2002-12-24 Bruno Haible <bruno@clisp.org>
3003 General infrasructure.
3004 * README: Rewritten.
3005 * onceonly.m4: New file.
3006 * onceonly_2_57.m4: New file.
3009 * atexit.m4: New file.
3012 * strtod.m4: New file.
3015 * strtol.m4: New file.
3018 * strtoul.m4: New file.
3021 * memchr.m4: New file.
3024 * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
3025 (jm_FUNC_MEMCMP): Invoke it.
3028 * memcpy.m4: New file.
3031 * memmove.m4: New file.
3034 * memset.m4: New file.
3037 * strcspn.m4: New file.
3040 * strpbrk.m4: New file.
3043 * strstr.m4: New file.
3046 * strerror.m4: New file.
3049 * mktime.m4: Renamed from jm-mktime.m4.
3050 (gl_PREREQ_MKTIME): New macro.
3051 (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
3054 * malloc.m4 (gl_PREREQ_MALLOC): New macro.
3055 (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
3056 Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
3059 * realloc.m4 (gl_PREREQ_REALLOC): New macro.
3060 (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
3061 Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
3064 * tm_gmtoff.m4: New file, extracted from strftime.m4.
3065 * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
3066 Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
3068 (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
3071 * xalloc.m4: New file.
3074 * alloca.m4: New file.
3077 * putenv.m4 (gl_PREREQ_PUTENV): New macro.
3078 (jm_FUNC_PUTENV): Invoke it.
3081 * setenv.m4 (gt_FUNC_SETENV): New macro.
3082 (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
3084 (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
3088 * memrchr.m4: New file.
3091 * stpcpy.m4: New file.
3094 * strcase.m4: New file.
3097 * strdup.m4: New file.
3100 * strnlen.m4: New file.
3103 * strndup.m4: New file.
3106 * xstrtod.m4: New file.
3109 * xstrtol.m4: New file.
3112 * getdate.m4: New file.
3115 * unlocked-io.m4: Renamed from jm-glibc-io.m4.
3116 (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
3117 * jm-glibc-io.m4n: Remove file.
3119 Module long-options.
3120 * long-options.m4: New file.
3129 * getstr.m4: New file.
3132 * getline.m4 (gl_PREREQ_GETLINE): New macro.
3133 (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
3134 <sys/types.h>, for size_t. Use the function name gnu_getline, not
3135 simply getline. Infoke gl_PREREQ_GETLINE.
3138 * obstack.m4: New file.
3141 * hash.m4: New file.
3144 * readtokens.m4: New file.
3147 * strverscmp.m4: New file.
3150 * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
3153 * strtoll.m4: New file.
3156 * strtoull.m4: New file.
3159 * strtoimax.m4: New file.
3162 * strtoumax.m4: New file.
3165 * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
3166 Moved the strtol prerequisites to strtol.m4.
3167 Moved the strtoll prerequisites to strtoll.m4.
3168 Moved the strtoimax prerequisites to strtoimax.m4.
3171 * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
3172 Moved the strtoul prerequisites to strtoul.m4.
3173 Moved the strtoull prerequisites to strtoull.m4.
3174 Moved the strtoumax prerequisites to strtoumax.m4.
3177 * chown.m4 (gl_PREREQ_CHOWN): New macro.
3178 (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
3181 * dup2.m4: New file.
3184 * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
3185 (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
3188 * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
3189 (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
3191 Module gettimeofday.
3192 * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
3193 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
3194 gl_PREREQ_GETTIMEOFDAY.
3197 * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
3198 (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
3201 * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
3202 (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
3203 jm_AC_TYPE_UINTMAX_T.
3204 (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
3207 * stat.m4 (gl_PREREQ_STAT): New macro.
3208 (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
3211 * lstat.m4 (gl_PREREQ_LSTAT): New macro.
3212 (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
3215 * timespec.m4 (gl_TIMESPEC): New macro.
3216 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
3217 * st_mtim.m4: Indentation.
3220 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
3221 (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
3222 gl_PREREQ_NANOSLEEP.
3225 * regex.m4 (jm_PREREQ_REGEX): New macro.
3226 (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
3227 (gl_REGEX): New macro.
3230 * rename.m4 (gl_PREREQ_RENAME): New macro.
3231 (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
3234 * rmdir.m4: New file.
3237 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
3238 * utime.m4 (gl_PREREQ_UTIME): New macro.
3239 (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
3242 * dirname.m4: New file.
3245 * getopt.m4: New file.
3247 Module unistd-safer.
3248 * unistd-safer.m4: New file.
3251 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
3253 (gl_PREREQ_FNMATCH_EXTRA): New macro.
3254 (gl_FUNC_FNMATCH_POSIX): New macro.
3255 (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
3256 gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
3260 * exclude.m4: New file.
3263 * human.m4: New file.
3269 * backupfile.m4: New file.
3270 * d-ino.m4: Indentation.
3273 * fsusage.m4 (gl_FSUSAGE): New macro.
3274 (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
3275 (gl_PREREQ_FSUSAGE_EXTRA): New macro.
3278 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
3281 * euidaccess.m4: New file.
3284 * file-type.m4: New file.
3287 * fileblocks.m4: New file.
3290 * filemode.m4: New file.
3293 * isdir.m4: New file.
3296 * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
3297 (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
3300 * makepath.m4: New file.
3303 * modechange.m4: New file.
3306 * mountlist.m4: New file.
3307 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
3311 * path-concat.m4: New file.
3314 * pathmax.m4: New file.
3317 * same.m4: New file.
3320 * save-cwd.m4: New file.
3323 * savedir.m4: New file.
3326 * xgetcwd.m4: New file.
3327 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
3330 * xreadlink.m4: New file.
3333 * safe-read.m4: New file.
3336 * safe-write.m4: New file.
3339 * closeout.m4: New file.
3342 * stdio-safer.m4: New file.
3345 * getpass.m4: New file.
3348 * getugroups.m4: New file.
3350 Module group-member.
3351 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
3352 (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
3355 * idcache.m4: New file.
3358 * userspec.m4: New file.
3361 * clock_time.m4: New file.
3362 * gettime.m4: New file.
3365 * settime.m4: New file.
3368 * posixtm.m4: New file.
3371 * gethostname.m4: New file.
3374 * canon-host.m4: New file.
3377 * codeset.m4: New file, from gettext-0.11.5.
3378 * gettext.m4: New file, from gettext-0.11.5.
3379 * glibc21.m4: New file, from gettext-0.11.5.
3380 * iconv.m4: New file, from gettext-0.11.5.
3381 * intdiv0.m4: New file, from gettext-0.11.5.
3382 * inttypes-pri.m4: New file, from gettext-0.11.5.
3383 * inttypes.m4: New file, from gettext-0.11.5.
3384 * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
3385 * isc-posix.m4: New file, from gettext-0.11.5.
3386 * lcmessage.m4: New file, from gettext-0.11.5.
3387 * lib-ld.m4: New file, from gettext-0.11.5.
3388 * lib-link.m4: New file, from gettext-0.11.5.
3389 * lib-prefix.m4: New file, from gettext-0.11.5.
3390 * progtest.m4: New file, from gettext-0.11.5.
3391 * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
3392 * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
3393 * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
3395 Module localcharset.
3396 * localcharset.m4: New file.
3399 * hard-locale.m4: New file.
3402 * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
3404 * mbrtowc.m4: Add comment.
3407 * memcasecmp.m4: New file.
3410 * memcoll.m4: New file.
3413 * unicodeio.m4: New file.
3416 * rpmatch.m4: New file.
3419 * yesno.m4: New file.
3422 * exitfail.m4: New file.
3425 * c-stack.m4 (gl_C_STACK): New macro.
3426 (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
3429 * error.m4 (gl_ERROR): New macro.
3430 (jm_PREREQ_ERROR): Use onceonly macros.
3433 * fatal.m4: New file.
3436 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
3437 (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
3440 * getpagesize.m4: New file.
3442 Module getusershell.
3443 * getusershell.m4: New file.
3446 * physmem.m4: New file.
3449 * posixver.m4: New file.
3452 * quotearg.m4: New file.
3455 * quote.m4: New file.
3458 * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
3461 * sig2str.m4: New file.
3464 * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
3466 * intmax_t.m4: New file.
3467 * d-type.m4: Indentation.
3468 * jm-macros.m4: Update.
3469 * prereq.m4 (jm_PREREQ): Update.
3470 (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
3471 (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
3472 (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
3473 (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
3474 (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
3475 (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
3476 (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
3477 (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
3478 (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
3479 (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
3480 (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
3481 (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
3482 (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
3483 (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
3484 (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
3485 (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
3486 (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
3487 (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
3488 * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
3490 2002-12-18 Bruno Haible <bruno@clisp.org>
3492 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
3493 * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
3495 2002-12-17 Bruno Haible <bruno@clisp.org>
3497 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
3500 2002-12-11 Bruno Haible <bruno@clisp.org>
3502 * setenv.m4: New file, from gettext-0.11.5.
3504 2002-12-06 Paul Eggert <eggert@twinsun.com>
3506 Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
3507 a pain in practice to deal with generated m4 files. This change
3508 goes together with the 2002-12-04 unlocked-io.h change in ../lib.
3510 * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
3511 and jm-glibc-io.m4, as they are no longer a special case.
3512 * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
3513 kludge and the auto-generation stuff. Check only whether the
3514 functions are declared, not whether they exist, since older hosts
3515 that don't declare the functions can't use the optimization anyway.
3517 2002-07-06 Jim Meyering <meyering@lucent.com>
3519 * README: Don't mention Makefile.am.in.
3520 Outline how I've tested changes to .m4 files. Yep, it's a pain.
3522 2002-06-11 Paul Eggert <eggert@twinsun.com>
3524 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
3526 2002-06-22 Jim Meyering <meyering@lucent.com>
3528 * c-stack.m4: New file, from diffutils-2.8.2.
3529 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
3531 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
3532 now that configure.ac uses AC_GNU_SOURCE.
3533 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
3534 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
3536 Update to latest tools. Suggestions from Paul Eggert.
3537 * stdbool.m4: New file, from diffutils-2.8.2.
3538 * gnu-source.m4: Update from diffutils-2.8.2.
3539 * fnmatch.m4: Likewise.
3540 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
3541 to AC_HEADER_STDBOOL
3543 2002-06-21 Jim Meyering <meyering@lucent.com>
3545 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
3546 * mbrtowc.m4: Likewise.
3548 * mbstate_t.m4: Update from diffutils-2.8.2.
3549 * mbswidth.m4: Reflect name change:
3550 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
3551 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3553 * lib-link.m4: Update from gettext-0.11.2.
3554 * gettext.m4: Likewise.
3556 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
3557 From Alfred M. Szmidt.
3559 2002-05-19 Paul Eggert <eggert@twinsun.com>
3561 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
3563 2002-06-07 Jim Meyering <meyering@lucent.com>
3565 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
3566 They're needed at least for NetBSD 1.5.2.
3567 ($statxfs_includes): Include those same headers.
3568 ($statxfs_includes): Include sys/vfs.h if available.
3569 ($statxfs_includes): Likewise for sys/statvfs.h.
3570 Check for the following members in both structs statfs and statvfs:
3571 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
3573 2002-06-01 Jim Meyering <meyering@lucent.com>
3575 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
3576 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
3578 2002-05-28 Jim Meyering <meyering@lucent.com>
3580 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
3581 Reported by Volker Borchert.
3583 2002-05-27 Jim Meyering <meyering@lucent.com>
3585 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
3588 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
3589 use the replacement function; it wouldn't resolve at link time.
3590 Reported by Volker Borchert.
3592 2002-04-30 Jim Meyering <meyering@lucent.com>
3594 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
3596 2002-04-29 Paul Eggert <eggert@twinsun.com>
3598 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
3599 Do not check for alloca.h (no longer used) or stdbool.h (was never
3600 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
3602 2002-04-28 Paul Eggert <eggert@twinsun.com>
3604 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
3606 2002-04-29 Jim Meyering <meyering@lucent.com>
3608 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
3609 * prereq.m4: Add jm_PREREQ_STRNLEN.
3610 Use AC_FUNC_STRNLEN here instead.
3612 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
3613 With autoconf-2.53a, it's part of AC_PROG_CC.
3615 2002-04-28 Paul Eggert <eggert@twinsun.com>
3617 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
3618 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
3620 2002-04-24 Jim Meyering <meyering@lucent.com>
3622 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
3623 (jm_PREREQ): Use it.
3625 * getloadavg.m4: Check for these headers: locale.h unistd.h
3626 mach/mach.h fcntl.h.
3627 Check for this function: setlocale.
3629 2002-04-16 Jim Meyering <meyering@lucent.com>
3631 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
3632 ut_pid, ut_id, ut_exit.
3634 2002-04-12 Jim Meyering <meyering@lucent.com>
3636 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
3637 check for f_type in sys/mount.h. Instead, just test for the existence
3638 of the getmntinfo function. Needed for Darwin 5.3.
3640 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
3641 This is necessary at least on Darwin 5.3.
3643 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
3644 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
3645 in the library, and that makes some versions of ranlib object.
3647 2002-04-09 Jim Meyering <meyering@lucent.com>
3649 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
3650 to be more precise. Rather than saying we're checking whether the
3651 function `works', say what we're testing.
3652 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
3653 Reported by Bruno Haible.
3655 2002-02-27 Paul Eggert <eggert@twinsun.com>
3657 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
3658 Check for clock_settime.
3660 2002-02-25 Paul Eggert <eggert@twinsun.com>
3663 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
3664 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
3666 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
3668 * codeset.m4: Upgrade to gettext-0.11.
3669 * gettext.m4: Upgrade to gettext-0.11.
3670 * glibc21.m4: Upgrade to gettext-0.11.
3671 * iconv.m4: Upgrade to gettext-0.11.
3672 * isc-posix.m4: Upgrade to gettext-0.11.
3673 * lcmessage.m4: Upgrade to gettext-0.11.
3674 * lib-ld.m4: New file, from gettext-0.11.
3675 * lib-link.m4: New file, from gettext-0.11.
3676 * lib-prefix.m4: New file, from gettext-0.11.
3677 * progtest.m4: Upgrade to gettext-0.11.
3679 2002-02-15 Paul Eggert <eggert@twinsun.com>
3681 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
3682 (jm_PREREQ): Use it.
3684 2002-01-26 Jim Meyering <meyering@lucent.com>
3686 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
3687 * strnlen.m4: Remove file, now that it's part of autoconf.
3689 2002-01-22 Paul Eggert <eggert@twinsun.com>
3691 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
3693 2002-01-19 Jim Meyering <meyering@lucent.com>
3695 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
3696 Remove useless quotes: DF_PROG="df".
3697 * strnlen.m4: New file.
3699 2001-12-14 Jim Meyering <meyering@lucent.com>
3701 * jm-macros.m4 (jm_MACROS): Check for iswspace.
3702 Suggestion from Bruno Haible.
3704 2001-11-20 Jim Meyering <meyering@lucent.com>
3706 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
3707 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
3709 2001-11-19 Jim Meyering <meyering@lucent.com>
3711 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
3712 directory. Use "conftestXXXXXX" as the template.
3713 Suggestion from Paul Eggert.
3715 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
3716 so the test doesn't mistakenly hit the max-open-files limit.
3718 2001-11-18 Jim Meyering <meyering@lucent.com>
3720 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
3722 2001-11-17 Jim Meyering <meyering@lucent.com>
3724 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
3725 Prompted by a report from Bob Proulx.
3727 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
3728 Instead, require UTILS_FUNC_MKSTEMP.
3730 2001-11-11 Jim Meyering <meyering@lucent.com>
3732 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
3733 Now, that's done as part of AC_FUNC_STRTOD.
3735 2001-10-22 Paul Eggert <eggert@twinsun.com>
3737 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
3738 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
3740 2001-11-10 Jim Meyering <meyering@lucent.com>
3742 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
3743 (jm_PREREQ): Use it.
3745 2001-11-09 Jim Meyering <meyering@lucent.com>
3747 * jm-macros.m4: Require autoconf-2.52f.
3748 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
3749 Use these AC_-prefixed names, not the AM_-prefixed ones.
3751 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
3753 2001-11-04 Jim Meyering <meyering@lucent.com>
3755 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
3757 2001-11-03 Jim Meyering <meyering@lucent.com>
3759 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
3762 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
3763 know the name of the variable in the macro definition.
3765 2001-11-01 Jim Meyering <meyering@lucent.com>
3767 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
3768 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
3770 2001-10-20 Paul Eggert <eggert@twinsun.com>
3772 * error.m4 (jm_PREREQ_ERROR):
3773 Do not invoke AC_CHECK_FUNCS with strerror_r, as
3774 AC_FUNC_STRERROR_R does that.
3775 Check for strerror declaration.
3777 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
3778 are supposed to have them these days.
3779 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
3780 Merge changes from latest Autoconf CVS.
3781 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
3782 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
3783 POSIX decided to standardize on the int flavor of strerror_r.
3785 2001-09-30 Jim Meyering <meyering@lucent.com>
3787 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
3788 `struct fsstat' has the `f_fstypename' member.
3789 Use that to define FS_TYPE, which is now used to make
3790 the getfsstat link test tighter.
3792 2001-09-29 Jim Meyering <meyering@lucent.com>
3794 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3795 [one-argument getmntent function]): Include stdio.h before mntent.h.
3796 SunOS 4.1.x needs it for the declaration of `FILE'.
3797 Patch by Volker Borchert.
3799 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
3800 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
3801 sys/fs_types.h, and make the link-test for getfsstat guard #include
3802 directives with appropriate #if HAVE_*_H tests so that we can
3803 detect getfsstat on Apple Darwin1.3.7 systems.
3804 Reported by Nelson Beebe.
3805 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
3807 2001-09-28 Paul Eggert <eggert@twinsun.com>
3809 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
3810 #defines strtoimax. Also treat the other strto* functions
3813 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3814 Check for strtoul and strtoumax,
3815 as those declarations are made even in the signed case.
3816 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
3817 Likewise, for strtol and strtoimax.
3819 2001-09-24 Jim Meyering <meyering@lucent.com>
3821 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
3823 2001-09-23 Jim Meyering <meyering@lucent.com>
3825 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
3826 instead of the mere test for existence of mntent.h. The latter
3827 would get a false-positive on AIX 3.4 systems.
3828 In the outer getmntent if-block, don't die if neither of the getmntent
3829 tests succeeds. Instead, just fall through and continue with the
3832 2001-09-22 Jim Meyering <meyering@lucent.com>
3834 * gettext.m4: New file. From gettext.
3835 * lcmessage.m4: Sync with gettext -- this changes only comments.
3836 * progtest.m4: Likewise
3837 * isc-posix.m4: Decrement serial number to sync with gettext.
3838 * glibc21.m4: Likewise.
3840 * libintl.m4: Remove. No longer used.
3842 2001-09-20 Jim Meyering <meyering@lucent.com>
3844 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
3846 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
3849 2001-09-17 Jim Meyering <meyering@lucent.com>
3851 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
3852 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
3853 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
3854 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
3855 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
3856 whenever the right hand side need not be expanded by the shell.
3858 2001-09-16 Paul Eggert <eggert@twinsun.com>
3860 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
3861 library. It's not correct, as some older glibcs are buggy.
3862 fnmatch wasn't fixed until glibc 2.2.
3864 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
3865 special shell magic here.
3867 2001-09-16 Jim Meyering <meyering@lucent.com>
3869 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
3870 * jm-macros.m4: Require it.
3872 2001-09-15 Jim Meyering <meyering@lucent.com>
3874 * jm-macros.m4: Check for help2man.
3876 2001-09-11 Jim Meyering <meyering@lucent.com>
3878 * host-os.m4 (UTILS_HOST_OS): New file/macro.
3879 The body, by Paul Eggert, was moved here from configure.in.
3880 * jm-macros.m4: Require UTILS_HOST_OS.
3882 2001-09-04 Paul Eggert <eggert@twinsun.com>
3884 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
3885 (jm_PREREQ): Use it.
3887 2001-09-03 Paul Eggert <eggert@twinsun.com>
3889 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
3890 sys/param.h, as pathmax.h includes them.
3892 2001-09-03 Paul Eggert <eggert@twinsun.com>
3894 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
3895 (jm_PREREQ_XGETCWD): New macro.
3897 * getcwd.m4: New file.
3899 2001-09-01 Jim Meyering <meyering@lucent.com>
3901 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
3904 2001-08-30 Paul Eggert <eggert@twinsun.com>
3906 Simplify code, partly by assuming autoconf 2.52 semantics.
3908 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
3910 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
3911 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
3913 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
3914 Move AC_REQUIRE to next-to-top level, to avoid confusion.
3915 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
3916 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
3917 * jm-macros.m4 (jm_MACROS): Likewise.
3919 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
3921 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
3922 Quote first arg of AC_DEFUN.
3923 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
3924 since they are needed to parse the include file even if we need
3925 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
3926 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
3927 but with opposite signedness.
3929 2001-08-30 Paul Eggert <eggert@twinsun.com>
3931 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
3932 (jm_PREREQ_EXCLUDE): New macro.
3934 2001-08-26 Jim Meyering <meyering@lucent.com>
3936 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
3938 * xstrtoimax.m4: New file.
3939 * xstrtoumax.m4: Add comments explaining why we
3940 AC_REPLACE_FUNCS(strtol).
3942 2001-06-20 Paul Eggert <eggert@twinsun.com>
3944 * inttypes.m4: Add AC_PREREQ(2.13).
3945 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
3946 (jm_AC_TYPE_INTMAX_T): New macro.
3947 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
3949 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
3951 * longlong.m4: Renamed from ulonglong.m4.
3952 * inttypes.m4: Renamed from inttypes_h.m4.
3953 * uintmax_t.m4: Removed.
3955 2001-08-12 Jim Meyering <meyering@lucent.com>
3957 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
3958 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
3959 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
3960 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
3961 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
3962 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
3963 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
3964 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
3965 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
3966 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
3967 utime.m4, utimes.m4, xstrtoumax.m4:
3968 Quote the first argument in each use of AC_DEFUN.
3970 2001-08-05 Jim Meyering <meyering@lucent.com>
3972 * jm-macros.m4: Require autoconf-2.52.
3974 2001-08-03 Paul Eggert <eggert@twinsun.com>
3976 The following changes are from gettext 0.10.39 as maintained by
3977 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
3979 * codeset.m4: Upgrade to serial AM1.
3980 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
3981 all uses changed. Quote first arg of AC_DEFUN.
3982 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
3984 * iconv.m4: Upgrade to serial AM2.
3985 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
3986 Add --with-libconv-prefix.
3987 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
3988 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
3989 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
3990 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
3991 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
3993 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
3994 * getline.m4 (AM_FUNC_GETLINE): Likewise.
3995 * glibc21.m4 (jm_GLIBC21): Likewise.
3996 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
3997 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
3998 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
3999 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
4000 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
4001 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
4003 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
4006 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
4007 not the default value.
4009 2001-06-25 Bruno Haible <haible@clisp.cons.org>
4010 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
4011 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
4012 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
4013 Also check for iswcntrl, used for wcwidth fallback.
4014 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
4017 2001-08-03 Jim Meyering <meyering@lucent.com>
4019 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
4020 as it was in the original. Reported by Paul Eggert.
4022 2001-07-16 Jim Meyering <meyering@lucent.com>
4024 * gettimeofday.m4: New file.
4025 Prompted by a report from Bernhard Baehr.
4027 2001-07-15 Jim Meyering <meyering@lucent.com>
4029 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
4030 Now it's in ../Makefile.cfg.
4032 2001-07-04 Jim Meyering <meyering@lucent.com>
4034 * Makefile.am.in (glibc-io.struct): New target. Rework the code
4035 that generates jm-glibc-io.m4 so that it doesn't trigger any make
4038 2001-07-02 Jim Meyering <meyering@lucent.com>
4040 The following changes were prompted by suggestions from Bruno Haible.
4042 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
4044 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
4045 definition of EXTRA_DIST.
4046 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
4047 ensure that the generated file is created/updated whenever the list
4048 of $(unlocked_functions) is changed.
4049 (jm-glibc-io.m4): New rule.
4050 (unlocked-io.h): New rule -- currently unused.
4052 2001-06-24 Jim Meyering <meyering@lucent.com>
4054 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
4055 unmatched right bracket, rather than kludging it with an extra,
4056 falsely-matching quote in a comment. Patch by Akim Demaille.
4058 2001-05-27 Jim Meyering <meyering@lucent.com>
4060 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
4061 Check for ut_type in struct utmp.
4063 2001-05-22 Jim Meyering <meyering@lucent.com>
4065 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
4066 now that we use the package-supplied version unconditionally.
4067 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
4069 2001-05-21 Jim Meyering <meyering@lucent.com>
4071 * regex.m4: Change a couple backticks to single quotes to avoid shell
4074 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
4076 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
4078 2001-05-11 Paul Eggert <eggert@twinsun.com>
4080 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
4081 Don't bother to check library strftime, since
4082 we'll be using our own my_strftime function anyway.
4083 Define my_strftime instead of strftime.
4085 2001-05-15 Jim Meyering <meyering@lucent.com>
4087 * regex.m4: Use proper quoting so brackets appear in the test program.
4088 Reported by, and with help from, Bruno Haible.
4090 2001-05-13 Jim Meyering <meyering@lucent.com>
4092 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
4094 2000-11-26 Paul Eggert <eggert@twinsun.com>
4096 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
4098 2001-04-21 Jim Meyering <meyering@lucent.com>
4100 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
4103 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
4105 * ftruncate.m4: Check for chsize.
4106 Link with ftruncate.o unconditionally if ftruncate is missing.
4107 This was required when cross-compiling to i586-mingw32msvc.
4109 2001-03-24 Jim Meyering <meyering@lucent.com>
4111 * jm-macros.m4: Require autoconf-2.49d.
4113 2001-03-20 Bruno Haible <haible@clisp.cons.org>
4115 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
4117 2001-03-17 Jim Meyering <meyering@lucent.com>
4119 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
4120 now that the version in autoconf is equivalent.
4121 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
4123 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
4124 Suggestion from Akim Demaille.
4126 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
4127 (jm_PREREQ_TEMPNAME): New function.
4129 2001-02-25 Paul Eggert <eggert@twinsun.com>
4131 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
4132 lacks mkstemp. Compile our own tempname.c if we compile our own
4133 mkstemp.c, as mkstemp relies on tempname.
4135 2001-03-01 Jim Meyering <meyering@lucent.com>
4137 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
4138 AH_VERBATIM really does output its argument verbatim.
4140 2001-02-18 Paul Eggert <eggert@twinsun.com>
4142 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
4144 2001-02-17 Jim Meyering <meyering@lucent.com>
4146 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
4147 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
4148 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
4151 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
4152 rather than AC_CACHE_VAL.
4154 2001-02-17 Paul Eggert <eggert@twinsun.com>
4156 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
4157 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
4158 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
4159 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
4161 2001-02-07 Jim Meyering <meyering@lucent.com>
4163 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
4165 2001-02-05 Jim Meyering <meyering@lucent.com>
4167 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
4168 it includes the patch required for `large file' support with at least
4169 HP-UX's 10.20 /bin/cc.
4171 2001-02-03 Jim Meyering <meyering@lucent.com>
4173 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
4174 AS_IF, now that it works once again (mysteriously).
4175 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4177 2001-01-30 Jim Meyering <meyering@lucent.com>
4179 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
4180 * chown.m4: Rename conftestchown to conftest.chown.
4181 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
4182 * utimes.m4: s/conftestdata/conftest.data/
4183 Inspired by Pavel Roskin's change in autoconf.
4185 2001-01-27 Jim Meyering <meyering@lucent.com>
4187 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
4189 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4191 2001-01-26 Jim Meyering <meyering@lucent.com>
4193 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
4194 quotearg.c includes it.
4196 2001-01-15 Bruno Haible <haible@clisp.cons.org>
4198 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
4201 2001-01-20 Jim Meyering <meyering@lucent.com>
4203 Be sure that headers are checked before used in code compiled
4204 for the type checks.
4205 * jm-macros.m4 (jm_MACROS): Remove all header checks.
4206 In place of that, invoke jm_CHECK_ALL_TYPES.
4207 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
4208 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
4209 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
4210 The check for ssize_t was mistakenly run before the test for unistd.h.
4212 The configure-time check for stdbool.h was missing.
4213 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
4214 (jm_PREREQ_HASH): New function.
4216 2001-01-17 Jim Meyering <meyering@lucent.com>
4218 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
4220 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
4222 2001-01-14 Jim Meyering <meyering@lucent.com>
4224 * rename.m4: Use temporary directories named conftestdir{,2}, not
4225 foo and bar. Create conftestdir/ in the script, not in the C code.
4226 Remove directories in the script, not in the C code.
4227 Remove conftestdir{,2} before trying to create the directory.
4228 Make the entire configure script fail if the mkdir fails.
4230 2001-01-02 Volker Borchert <bt@teknon.de>
4232 * rename.m4: New file.
4233 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
4235 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
4237 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
4238 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
4239 so `make install' also works in VPATH builds.
4241 2001-01-01 Jim Meyering <meyering@lucent.com>
4243 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
4244 on systems with utmpx.h. It's necessary for the declaration of utmp's
4245 ut_user member. Reported by Andreas Jaeger.
4247 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
4248 They are required for the declarations of getgrgid and getpwuid resp.
4249 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
4250 Reported by Andreas Jaeger.
4252 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4254 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
4255 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
4256 can be used in subdirectories.
4258 2000-12-26 Jim Meyering <meyering@lucent.com>
4260 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
4263 2000-12-17 Jim Meyering <meyering@lucent.com>
4265 * dos.m4 (jm_AC_DOS): New file and macro.
4266 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
4268 2000-12-06 Paul Eggert <eggert@twinsun.com>
4270 * off_t-format.m4: Remove this file.
4271 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
4273 2000-12-06 Jim Meyering <meyering@lucent.com>
4275 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
4276 strtoull, we may well need the replacement strtoul, too.
4277 Check for declarations of strtoul and strtoull.
4278 Check for strtol. Mainly as a cue to cause automake to include
4279 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
4280 Check for limits.h -- strtol.c needs it.
4282 2000-12-02 Jim Meyering <meyering@lucent.com>
4284 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
4285 * jm-macros.m4 (jm_MACROS): require it.
4287 2000-11-30 Jim Meyering <meyering@lucent.com>
4289 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
4291 2000-11-30 Jim Meyering <meyering@lucent.com>
4293 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
4295 2000-11-03 Bruno Haible <haible@clisp.cons.org>
4297 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
4299 2000-11-04 Jim Meyering <meyering@lucent.com>
4301 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
4303 2000-10-29 Jim Meyering <meyering@lucent.com>
4305 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
4306 * ls-mntd-fs.m4: Likewise
4308 2000-10-28 Jim Meyering <meyering@lucent.com>
4310 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
4311 (jm_PREREQ_MEMCHR): New function.
4313 2000-10-21 Jim Meyering <meyering@lucent.com>
4315 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
4316 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
4317 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
4319 2000-09-18 Jim Meyering <meyering@lucent.com>
4321 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
4322 Otherwise, everyone ends up linking with -lelf for some configurations.
4323 Reported by Mike Stone.
4325 2000-08-26 Jim Meyering <meyering@lucent.com>
4327 * jm-macros.m4: Use jm_FUNC_FPENDING.
4328 * fpending.m4: New file.
4330 2000-08-20 Jim Meyering <meyering@lucent.com>
4332 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
4333 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
4334 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
4336 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
4338 Improve fileutils installation on systems where running
4339 programs (like install) can't be unlinked.
4340 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
4341 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
4343 2000-08-06 Paul Eggert <eggert@twinsun.com>
4345 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
4346 not char, for compatibility with glibc 2.1.3 strftime.c.
4348 2000-07-23 Paul Eggert <eggert@twinsun.com>
4350 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
4352 2000-07-23 Jim Meyering <meyering@lucent.com>
4354 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
4355 getgrgid, getpwuid, getuid.
4357 2000-07-16 Bruno Haible <haible@clisp.cons.org>
4359 * mbswidth.m4: New file.
4360 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
4362 2000-07-14 Jim Meyering <meyering@lucent.com>
4364 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
4366 2000-07-10 Paul Eggert <eggert@twinsun.com>
4368 From a suggestion by Bruno Haible.
4369 * mbstate_t.m4 (AC_MBSTATE_T):
4370 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
4371 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
4372 and mbstate_t, to a single-part test that simply defines mbstate_t.
4373 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
4375 2000-07-10 Jim Meyering <meyering@lucent.com>
4377 * strerror_r.m4: Mirror the correction made in autoconf.
4379 * gnu-source.m4: Output to confdefs.h directly.
4380 Suggestion from Akim Demaille.
4382 2000-07-09 Jim Meyering <meyering@lucent.com>
4384 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
4385 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
4387 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
4388 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
4390 2000-07-05 Bruno Haible <haible@clisp.cons.org>
4392 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
4394 Include <ctype.h> for use of isalpha.
4396 2000-07-05 Paul Eggert <eggert@twinsun.com>
4397 and Bruno Haible <haible@clisp.cons.org>
4399 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
4400 only if the test for an object-type mbstate_t fails. This
4401 prevents us from mistakenly reporting that mbstate_t is a
4402 system object type after we "#define mbstate_t int" to work
4405 2000-07-04 Jim Meyering <meyering@lucent.com>
4407 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
4408 of the deprecated AC_CHECKING.
4410 2000-07-03 Jim Meyering <meyering@lucent.com>
4412 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
4414 2000-07-03 Paul Eggert <eggert@twinsun.com>
4416 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
4417 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
4419 2000-07-02 Jim Meyering <meyering@lucent.com>
4421 * mbstate_t.m4: Also define mbstate_t, if necessary.
4423 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
4424 AC_LIBOBJ(function_name).
4425 * chown.m4: Likewise.
4426 * fnmatch.m4: Likewise.
4427 * ftruncate.m4: Likewise.
4428 * getgroups.m4: Likewise.
4429 * getline.m4: Likewise.
4430 * group-member.m4: Likewise.
4431 * jm-macros.m4: Likewise.
4432 * lstat.m4: Likewise.
4433 * malloc.m4: Likewise.
4434 * memcmp.m4: Likewise.
4435 * nanosleep.m4: Likewise.
4436 * putenv.m4: Likewise.
4437 * realloc.m4: Likewise.
4438 * regex.m4: Likewise.
4439 * stat.m4: Likewise.
4440 * strftime.m4: Likewise.
4442 2000-07-01 Jim Meyering <meyering@lucent.com>
4444 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
4447 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4449 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
4450 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
4452 2000-07-01 Jim Meyering <meyering@lucent.com>
4454 * uptime.m4: Put double quotes around use of $cross_compiling.
4456 2000-06-28 Jim Meyering <meyering@lucent.com>
4458 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
4459 by quotearg.c, for which we perform this test. From Bruno Haible.
4461 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4463 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
4464 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
4465 <utmpx.h> exists, put readutmp.o into LIBOBJS.
4467 2000-06-25 Jim Meyering <meyering@lucent.com>
4469 * mbstate_t.m4: Include stdio.h before wchar.h to work around
4470 Linux header bug when _XOPEN_SOURCE is defined to 500.
4472 2000-06-24 Jim Meyering <meyering@lucent.com>
4474 * strerror_r.m4: Revive this file -- to try out an experimental
4475 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
4476 for which strerror does return char*, but which lacks a conveniently
4477 accessible declaration of the function. If the compile-test says
4478 strerror_r doesn't work, then resort to a `run'-test that works on
4479 BeOS and segfaults on DEC Unix.
4481 2000-06-19 Paul Eggert <eggert@twinsun.com>
4483 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
4484 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
4486 2000-06-23 Jim Meyering <meyering@lucent.com>
4488 * afs.m4: Add missing AC_MSG_RESULT.
4489 Reported by Bruno Haible.
4491 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
4492 Suggestion from Bruno Haible.
4494 2000-06-21 Jim Meyering <meyering@lucent.com>
4496 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
4498 2000-06-18 Jim Meyering <meyering@lucent.com>
4500 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
4502 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
4503 `checking whether...' message to be consistent with that of the
4506 2000-06-16 Bruno Haible <haible@clisp.cons.org>
4508 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
4510 2000-06-12 Jim Meyering <meyering@lucent.com>
4512 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
4513 from autoconf, and tweak the latter to accept an optional argument.
4514 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
4515 the optional argument, `lib'.
4517 2000-06-08 Jim Meyering <meyering@lucent.com>
4519 * largefile.m4: Remove file (now that it's part of autoconf).
4521 2000-06-04 Paul Eggert <eggert@twinsun.com>
4523 Rewrite largefile configuration so that we don't need to run
4524 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
4525 AC_CANONICAL_HOST in configure.in -- jmm]
4527 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
4528 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
4529 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
4530 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
4531 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
4533 Instead of inspecting the output of getconf, try to compile the
4534 test program without and with the macro definition.
4535 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
4536 for getconf. Instead, check for the needed flags by compiling
4539 2000-06-03 Jim Meyering <meyering@lucent.com>
4541 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
4542 now that autoconf requires that.
4544 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
4545 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
4546 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
4548 2000-05-26 Bruno Haible <haible@clisp.cons.org>
4550 * glibc21.m4: New file.
4551 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
4553 2000-05-28 Jim Meyering <meyering@lucent.com>
4555 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
4556 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4557 * stat.m4: Likewise.
4558 * lstat.m4: Likewise.
4559 * lstat-slash.m4: Remove file (absorbed into autoconf).
4561 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
4562 * strerror_r.m4: Remove file (absorbed into autoconf).
4564 2000-05-26 Jim Meyering <meyering@lucent.com>
4566 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
4568 2000-05-24 Jim Meyering <meyering@lucent.com>
4570 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
4571 autoconf requires that.
4572 * lib-check.m4: Likewise.
4573 * jm-macros.m4: Likewise.
4574 * strftime.m4: Likewise.
4576 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
4577 now that autoconf requires that.
4579 2000-05-22 Jim Meyering <meyering@lucent.com>
4581 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4582 * lstat.m4: Likewise.
4584 2000-05-20 Jim Meyering <meyering@lucent.com>
4586 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
4587 (jm_PREREQ): Use it.
4589 2000-05-09 Jim Meyering <meyering@lucent.com>
4591 * gettext.m4: Rename this...
4592 * libintl.m4: ...to this.
4594 2000-05-06 Jim Meyering <meyering@lucent.com>
4596 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
4597 (AC_REPLACE_FUNCS): Add strnlen.
4599 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
4600 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
4602 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
4603 AC_SEARCH_LIBS call for nanosleep.
4604 (LIB_NANOSLEEP): Set and AC_SUBST.
4606 2000-05-03 Paul Eggert <eggert@twinsun.com>
4608 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
4609 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
4610 2.1.3 bug. This avoids a clash when files like regex.c define
4613 2000-05-05 Jim Meyering <meyering@lucent.com>
4615 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
4616 call for clock_gettime.
4617 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
4619 * search-libs.m4: Update from autoconf.
4621 su doesn't work on Solaris 2.6.
4622 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
4623 <shadow.h>. Reported by Dragos Harabor.
4625 2000-05-03 Jim Meyering <meyering@lucent.com>
4627 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
4629 2000-05-02 Paul Eggert <eggert@twinsun.com>
4631 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
4632 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
4633 compile-time test, rather than inspecting host and OS, to
4634 decide whether to define _LARGEFILE_SOURCE.
4636 2000-05-01 Jim Meyering <meyering@lucent.com>
4638 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
4640 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
4641 Based on a patch from Bruno Haible.
4643 2000-04-18 Jim Meyering <meyering@lucent.com>
4645 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
4646 (jm_PREREQ): Use it.
4648 2000-04-17 Jim Meyering <meyering@lucent.com>
4651 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
4652 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
4653 Suggestion from Akim Demaille.
4655 2000-04-14 Jim Meyering <meyering@lucent.com>
4657 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
4658 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
4660 2000-04-13 Jim Meyering <meyering@lucent.com>
4662 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
4663 to insert required #ifndef into config.h.in.
4664 Suggestion from Akim Demaille.
4666 2000-04-12 Jim Meyering <meyering@lucent.com>
4668 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
4669 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
4670 Christian Krackowizer.
4672 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
4673 * jm-macros.m4 (_GNU_SOURCE): Define.
4674 (AC_SYS_LARGEFILE): Require.
4675 (AM_C_PROTOTYPES): Require.
4677 2000-04-05 Paul Eggert <eggert@twinsun.com>
4679 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
4680 IRIX if the installer said otherwise.
4682 2000-04-05 Jim Meyering <meyering@lucent.com>
4684 Portability tweaks required for ultrix4.3.
4685 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
4686 (jm_CHECK_DECLS): Add getutent to the list of functions.
4687 (_jm_DECL_HEADERS): Add utmpx.h.
4688 From John David Anglin.
4690 * strftime.m4: Back out the 2000-04-02 change.
4691 Instead of that change, simply undefine putenv in the test program.
4693 2000-04-03 Jim Meyering <meyering@lucent.com>
4695 * gettext.m4: Fix typo in comment.
4697 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
4698 textutils/configure.in). Suggestion from Paul Eggert.
4699 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
4701 2000-04-02 Paul Eggert <eggert@twinsun.com>
4703 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
4704 variable in the shell rather than using putenv, which isn't
4705 portable. This avoids the configure-time inter-test dependency
4706 on the potentially-renamed putenv function.
4708 2000-03-30 Paul Eggert <eggert@twinsun.com>
4710 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
4711 before checking struct stat.st_blksize, so that
4712 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
4714 2000-03-29 Paul Eggert <eggert@twinsun.com>
4716 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
4717 since strftime.c uses HAVE_STRFTIME to decide whether to use
4718 the underlying strftime.
4720 2000-03-10 Jim Meyering <meyering@lucent.com>
4722 * lib-check.m4: Look for getspnam in -lgen, too.
4725 2000-02-02 Bruno Haible <haible@clisp.cons.org>
4727 * codeset.m4: New file.
4728 * iconv.m4: New file.
4729 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
4731 2000-03-04 Jim Meyering <meyering@lucent.com>
4733 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
4734 for lib/localcharset.c.
4736 2000-03-03 Jim Meyering <meyering@lucent.com>
4738 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
4740 2000-03-02 Jim Meyering <meyering@lucent.com>
4742 * timespec.m4: Require AC_HEADER_TIME before the cache check so
4743 the messages come out on separate lines.
4745 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
4746 rather than jm_CHECK_DECLARATIONS.
4747 * decl.m4: Remove now-unused file.
4749 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
4751 2000-02-27 Jim Meyering <meyering@lucent.com>
4753 * check-decl.m4: Add getenv to the list.
4755 2000-02-23 Jim Meyering <meyering@lucent.com>
4757 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
4758 in place of my hack.
4760 2000-02-10 Jim Meyering <meyering@lucent.com>
4762 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
4763 gnu_nanosleep to rpl_nanosleep.
4765 2000-02-09 Jim Meyering <meyering@lucent.com>
4767 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
4768 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
4770 2000-02-08 Akim Demaille <akim@epita.fr>
4772 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
4773 `[' and `]' and remove uses of `changequote'.
4774 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
4775 (AC_SYS_LARGEFILE): Likewise.
4776 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
4777 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
4779 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
4780 * readdir.m4 (jm_FUNC_READDIR): Likewise
4781 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
4782 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
4784 2000-02-05 Jim Meyering <meyering@lucent.com>
4786 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
4787 Remove explicit use of AC_HEADER_TIME. It is required by
4788 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
4789 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
4790 in autoconf whereby the expansion of the latter ended up preceding
4791 the expansion of its prerequisite, AC_HEADER_TIME.
4792 Reported by Volker Borchert.
4794 2000-02-03 Jim Meyering <meyering@lucent.com>
4796 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
4798 2000-02-02 Jim Meyering <meyering@lucent.com>
4800 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
4801 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
4802 Reported by Eli Zaretskii.
4804 2000-01-31 Jim Meyering <meyering@lucent.com>
4806 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
4807 functions. Add the time.h and sys/time.h headers along with the
4808 AC_REQUIRE'ment of AC_HEADER_TIME.
4810 2000-01-30 Jim Meyering <meyering@lucent.com>
4812 * lib-check.m4: Clean up some kludgy old shadow password tests.
4814 * prereq.m4 (utmp_includes): Define.
4815 Check for ut_user and ut_name members in both struct utmpx
4818 2000-01-29 Jim Meyering <meyering@lucent.com>
4820 * lib-check.m4: New file containing library-related checks from
4821 fileutils and sh-utils (textutils had none).
4823 2000-01-28 Jim Meyering <meyering@lucent.com>
4825 * perl.m4: Change format of warning message to look more like that
4826 from the missing script. Suggestion from François Pinard.
4828 2000-01-25 Jim Meyering <meyering@lucent.com>
4830 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
4831 as time.h in the compile check.
4832 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
4833 Fix typo in cross-compiling case: s/yes/no/.
4835 2000-01-23 Jim Meyering <meyering@lucent.com>
4837 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
4839 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
4840 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
4842 * fsusage.m4: New file. Extracted from fileutils/configure.in.
4843 s/space/ac_fsusage_space/.
4844 (jm_FILE_SYSTEM_USAGE): Take two parameters.
4846 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
4847 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
4848 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
4850 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
4851 AC_SUBST these here, rather than just in sh-util/configure.in, so
4852 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
4854 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
4855 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
4856 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
4857 (AC_SUBST(POW_LIBM)): Likewise.
4858 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
4860 2000-01-22 Jim Meyering <meyering@lucent.com>
4862 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
4864 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
4866 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
4868 (AC_CHECK_HEADERS): Likewise for sh-utils.
4869 (AC_CHECK_HEADERS): Likewise for textutils.
4870 Merge the three lists of headers.
4872 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
4873 from fileutils' configure.in.
4875 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
4876 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
4878 * check-decl.m4: Use #if rather than #ifdef.
4879 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
4880 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
4881 (_jm_DECL_HEADERS): Define new function.
4882 (jm_CHECK_DECLARATIONS): Require it.
4884 2000-01-19 Jim Meyering <meyering@lucent.com>
4886 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
4887 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
4888 defines `struct timespec' in <sys/time.h>
4890 * c-bs-a.m4: Remove uses of changequote altogether.
4891 Thanks to Akim for explaining.
4893 2000-01-16 Jim Meyering <meyering@lucent.com>
4895 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
4896 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
4897 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
4898 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
4900 2000-01-16 Jim Meyering <meyering@lucent.com>
4902 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
4903 because the latter didn't work.
4905 2000-01-15 Jim Meyering <meyering@lucent.com>
4907 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
4908 (AC_REPLACE_FUNCS): Add memcpy and memset.
4909 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
4911 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
4913 2000-01-12 Jim Meyering <meyering@lucent.com>
4915 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
4916 (jm_PREREQ): Use it.
4917 (jm_PREREQ_READUTMP): New macro.
4918 (jm_PREREQ): Use it.
4920 2000-01-11 Paul Eggert <eggert@twinsun.com>
4922 Quote multibyte characters correctly.
4923 * c-bs-a.m4: New file.
4924 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
4925 (jm_PREREQ): Use it.
4927 2000-01-11 Paul Eggert <eggert@twinsun.com>
4929 * uintmax_t.m4: Port to autoconf 2.13.
4931 2000-01-08 Jim Meyering <meyering@ascend.com>
4933 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
4934 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
4936 2000-01-04 Jim Meyering <meyering@ascend.com>
4938 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
4939 jm_STRUCT_DIRENT_D_TYPE.
4940 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
4941 jm_STRUCT_DIRENT_D_INO.
4942 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
4944 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
4945 * utime.m4: Likewise.
4947 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
4948 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
4950 2000-01-03 Paul Eggert <eggert@twinsun.com>
4952 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
4953 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
4955 2000-01-02 Jim Meyering <meyering@ascend.com>
4957 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
4958 remember if this is necessary.
4960 1999-12-26 Jim Meyering <meyering@ascend.com>
4962 * jm-macros.m4: Use it here.
4963 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
4965 1999-12-23 Jim Meyering <meyering@ascend.com>
4967 * jm-macros.m4: Check for clock_gettime (moved from
4968 fileutils/configure.in)
4969 Check for gettimeofday.
4971 1999-12-20 Jim Meyering <meyering@ascend.com>
4973 * strftime.m4: Remove kludge, now that I'm using the fixed
4974 autoconf-2.14a-1999-12-20.
4976 1999-12-19 Jim Meyering <meyering@ascend.com>
4978 * lstat-slash.m4: New file.
4979 * jm-macros.m4: Use the new macro:
4980 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4982 1999-12-07 Jim Meyering <meyering@ascend.com>
4984 * perl.m4: Require that File::Compare be available, too.
4985 Too many systems seem to lack it.
4987 * strftime.m4: Add checks for most of the cpp macros tested in
4988 GNU's strftime.c. Prompted by a patch from Paul Eggert.
4990 1999-11-18 Paul Eggert <eggert@twinsun.com>
4992 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
4993 problem with the QNX 4.25 shell, which doesn't propagate exit
4994 status of failed commands inside shell assignments.
4996 1999-11-17 Jim Meyering <meyering@ascend.com>
4998 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
5000 1999-11-07 Jim Meyering <meyering@ascend.com>
5002 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
5004 1999-11-06 Jim Meyering <meyering@ascend.com>
5006 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
5007 * jm-macros.m4 (jm_MACROS): Use it here.
5009 1999-11-05 Jim Meyering <meyering@ascend.com>
5011 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
5012 of textutils, fileutils, and sh-utils into this one (shared between
5013 those packages) file.
5014 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
5015 AC_STRUCT_ST_BLKSIZE.
5017 1999-11-03 Jim Meyering <meyering@ascend.com>
5019 * ssize_t.m4: Remove file. No longer needed since the new version of
5020 AC_CHECK_TYPE checks includes unistd.h.
5021 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
5022 Suggestion from Akim Demaille.
5024 1999-10-30 Jim Meyering <meyering@ascend.com>
5026 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
5028 * ls-mntd-fs.m4: Likewise.
5029 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
5030 * jm-winsz1.m4: Likewise.
5032 * const.m4: Remove file, since the fix made it into the experimental
5033 version of autoconf.
5034 * mktime.m4: Likewise.
5036 * check-type.m4: Remove file, now that the latest version of
5037 AC_CHECK_TYPE takes a third arg to specify additional #includes.
5039 * ssize_t.m4: New file, requires experimental version of autoconf.
5040 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
5043 1999-10-04 Jim Meyering <meyering@ascend.com>
5045 * jm-macros.m4: Don't require autoconf-2.14.1.
5047 1999-09-22 Paul Eggert <eggert@twinsun.com>
5049 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
5050 2.95.1 bug with HP-UX 10.20.
5052 1999-09-17 Jim Meyering <meyering@ascend.com>
5054 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
5055 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
5056 due to missing strdup (against sh-utils-2.0).
5058 1999-08-29 Jim Meyering <meyering@ascend.com>
5060 * jm-macros.m4: Require jm_BISON.
5061 * bison.m4: New file.
5063 1999-08-17 Paul Eggert <eggert@twinsun.com>
5065 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
5066 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
5068 1999-08-05 Jim Meyering <meyering@ascend.com>
5070 * getline.m4: Rename test file from conftestdata to conftest.data
5071 to avoid conflicts with `conftest' on 8+3 filesystems.
5072 Suggestion from Eli Zaretskii.
5074 1999-08-04 Jim Meyering <meyering@ascend.com>
5076 * jm-macros.m4: Move a 4-line block of code from the configure.in of
5077 fileutils and sh-utils (textutils's getline test was inadequate).
5078 (AM_FUNC_GETLINE): Run this test.
5079 (AC_CHECK_FUNCS): Check for getdelim.
5080 Reported by Bob Proulx.
5082 1999-08-02 Jim Meyering <meyering@ascend.com>
5084 * jm-macros.m4: Add a comment.
5086 1999-08-01 Jim Meyering <meyering@ascend.com>
5088 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
5090 1999-08-01 Paul Eggert <eggert@twinsun.com>
5092 * lfs.m4: Remove this file.
5093 * largefile.m4: New file. It contains the old contents of
5094 lfs.m4, except that all names with prefix AC_LFS have been
5095 changed to use the prefix AC_SYS_LARGEFILE instead, to be
5096 compatible with future autoconf versions. Also, some minor m4
5097 quoting problems have been fixed.
5099 1999-07-16 Paul Eggert <eggert@twinsun.com>
5101 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
5102 that we can shift, multiply and divide unsigned long long
5103 values; Ultrix cc can't do it.
5105 1999-07-14 Paul Eggert <eggert@twinsun.com>
5107 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
5108 <inttypes.h> defines strtoumax as a macro (and not as a
5111 1999-07-05 Paul Eggert <eggert@twinsun.com>
5113 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
5114 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
5115 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
5116 and simplify the shell code.
5118 1999-07-03 Paul Eggert <eggert@twinsun.com>
5120 * mktime.m4: New file, which is a preview of what should appear
5121 in the next public autoconf release.
5123 1999-07-20 Jim Meyering <meyering@ascend.com>
5125 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
5127 1999-07-15 Jim Meyering <meyering@ascend.com>
5129 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
5131 1999-05-22 Jim Meyering <meyering@ascend.com>
5133 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
5135 1999-05-20 Jim Meyering <meyering@ascend.com>
5137 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
5138 Add a colon after each `then' in case $4 is empty.
5140 1999-05-16 Jim Meyering <meyering@ascend.com>
5142 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
5144 1999-05-10 Jim Meyering <meyering@ascend.com>
5146 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
5148 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
5151 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5153 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
5155 1999-05-04 Paul Eggert <eggert@twinsun.com>
5157 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
5158 not CPPFLAGS, so that linking works correctly in IRIX.
5160 1999-04-30 Paul Eggert <eggert@twinsun.com>
5162 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
5164 1999-04-20 Jim Meyering <meyering@ascend.com>
5166 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
5167 AC_REPLACE xstroull if necessary. From Paul Eggert.
5168 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
5170 1999-04-20 Paul Eggert <eggert@twinsun.com>
5172 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
5173 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
5174 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
5175 jm_AC_TYPE_UNSIGNED_LONG_LONG.
5176 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
5178 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
5180 1999-04-18 Jim Meyering <meyering@ascend.com>
5182 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
5183 * jm-macros.m4: Use it.
5185 1999-04-06 Jim Meyering <meyering@ascend.com>
5187 * strftime.m4: Remove test for %f.
5189 1999-03-29 Jim Meyering <meyering@ascend.com>
5191 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
5192 superset of the AC_TYPE_* checks in the textutils, fileutils,
5193 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
5196 1999-03-28 Jim Meyering <meyering@ascend.com>
5198 * jm-macros.m4: Define GNU_PACKAGE here.
5199 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
5200 replaced e.g., in the *.sh files of the sh-utils.
5202 1999-03-20 Jim Meyering <meyering@ascend.com>
5204 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
5205 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
5206 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
5208 1999-03-19 Jim Meyering <meyering@ascend.com>
5210 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
5212 1999-03-12 Jim Meyering <meyering@ascend.com>
5214 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
5216 1999-03-07 Jim Meyering <meyering@ascend.com>
5218 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
5220 1999-02-17 Jim Meyering <meyering@ascend.com>
5222 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
5223 in macro definition. From Eli Zaretskii and Alain Magloire.
5225 1999-02-07 Jim Meyering <meyering@ascend.com>
5227 * group-member.m4: New file -- extracted from sh-utils' configure.in.
5229 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
5230 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
5232 1999-02-06 Jim Meyering <meyering@ascend.com>
5234 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
5235 * fnmatch.m4: Likewise.
5236 * getgroups.m4: Likewise.
5237 * lstat.m4: Likewise.
5238 * malloc.m4: Likewise.
5239 * putenv.m4: Likewise.
5240 * realloc.m4: Likewise.
5241 * regex.m4: Likewise.
5242 * stat.m4: Likewise.
5243 * strftime.m4: Likewise.
5244 Suggestion from Alain Magloire.
5246 * chown.m4: Use `.$ac_objext', not `.o'.
5247 * fnmatch.m4: Likewise.
5248 * getgroups.m4: Likewise.
5249 * getline.m4: Likewise.
5250 * lstat.m4: Likewise.
5251 * malloc.m4: Likewise.
5252 * memcmp.m4: Likewise.
5253 * putenv.m4: Likewise.
5254 * realloc.m4: Likewise.
5255 * regex.m4: Likewise.
5256 * stat.m4: Likewise.
5257 * strftime.m4: Likewise.
5258 Suggestion from Alain Magloire.
5260 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
5263 * regex.m4: Add a run-time Test for proper operation of
5266 1999-01-31 Jim Meyering <meyering@ascend.com>
5268 * getloadavg.m4: Check for locale.h and the function, setlocale.
5270 1999-01-30 Jim Meyering <meyering@ascend.com>
5272 * check-type.m4: Use 3-arg form of AC_DEFINE.
5274 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
5275 rather than my private copy, now that the official one is up to date.
5276 * mktime.m4: Remove file.
5278 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
5279 * uptime.m4: Likewise.
5280 * uintmax_t.m4: Likewise.
5282 1999-01-28 Jim Meyering <meyering@ascend.com>
5284 * jm-macros.m4: Use jm_AFS.
5285 * afs.m4: New file (from fileutils' configure.in).
5287 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
5288 * chown.m4: Likewise.
5289 * d-ino.m4: Likewise.
5290 * d-type.m4: Likewise.
5291 * fnmatch.m4: Likewise.
5292 * getgroups.m4: Likewise.
5293 * gettext.m4: Likewise.
5294 * jm-mktime.m4: Likewise.
5295 * jm-winsz2.m4: Likewise.
5296 * lcmessage.m4: Likewise.
5297 * ls-mntd-fs.m4: Likewise.
5298 * malloc.m4: Likewise.
5299 * memcmp.m4: Likewise.
5300 * putenv.m4: Likewise.
5301 * realloc.m4: Likewise.
5302 * st_mtim.m4: Likewise.
5303 * strftime.m4: Likewise.
5305 1999-01-16 Jim Meyering <meyering@ascend.com>
5307 * jm-macros.m4 (ARGMATCH_DIE): Define.
5308 (ARGMATCH_DIE_DECL): Define.
5310 1999-01-12 Jim Meyering <meyering@ascend.com>
5312 * Makefile.am.in: Rewrite to avoid using fmt.
5313 Reported by Lars Hecking.
5315 1999-01-10 Jim Meyering <meyering@ascend.com>
5317 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
5319 * inttypes_h.m4: Likewise.
5320 * lstat.m4: Likewise.
5321 * malloc.m4: Likewise.
5322 * readdir.m4: Likewise.
5323 * realloc.m4: Likewise.
5324 * st_dm_mode.m4: Likewise.
5325 * stat.m4: Likewise.
5326 * utimbuf.m4: Likewise.
5327 * utimes.m4: Likewise.
5329 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
5330 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
5331 comments in config.h.in are meaningful.
5333 * jm-macros.m4: Require autoconf-2.13 here.
5335 * regex.m4: By default, don't use the included regex.c on systems
5336 with glibc 2. Suggestion from Uli Drepper.
5338 1999-01-02 Jim Meyering <meyering@ascend.com>
5340 * jm-macros.m4: Replace strcasecmp and strncasecmp.
5342 1998-12-18 Jim Meyering <meyering@ascend.com>
5344 * Makefile.am.in (Makefile.am): Simplify rule.
5345 Based on a suggestion from Lars Hecking.
5347 1998-11-16 Jim Meyering <meyering@ascend.com>
5349 * lfs.m4: Double-quote the `uname...` expression.
5351 1998-11-16 Paul Eggert <eggert@twinsun.com>
5353 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
5355 1998-11-14 Jim Meyering <meyering@ascend.com>
5357 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
5358 * stat.m4: Likewise.
5360 1998-11-03 Jim Meyering <meyering@ascend.com>
5362 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
5363 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
5365 1998-10-18 Jim Meyering <meyering@ascend.com>
5367 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
5369 1998-10-17 Jim Meyering <meyering@ascend.com>
5371 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
5372 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
5373 calls for those previously hard-coded headers. Instead, take a new
5375 (jm_CHECK_DECLARATIONS): Reflect interface change.
5376 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
5377 (jm_CHECK_DECL_LOCALTIME_R): New macro.
5379 * mktime.m4: Test for spring-forward gap before long-running test.
5381 1998-10-14 Jim Meyering <meyering@ascend.com>
5383 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
5384 instead of "TZ=America/Vancouver". From Paul Eggert.
5386 1998-10-11 Jim Meyering <meyering@ascend.com>
5388 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
5389 This adds a test for a recently added compatibility fix for mktime.c.
5390 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
5392 1998-09-27 Jim Meyering <meyering@ascend.com>
5394 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
5396 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
5397 ../configure.in, including a change from Gordon Matzigkeit to allow
5398 cross-compiling for the Hurd.
5400 * glibc.m4: New file/macro to test for the GNU C Library
5401 versions 1 and 2. From Gordon Matzigkeit.
5404 1998-09-21 Jim Meyering <meyering@ascend.com>
5406 * chown.m4: Declare locals: before, after. From Andries Brouwer.
5408 1998-08-18 Paul Eggert <eggert@twinsun.com>
5410 Port nanosecond-resolution times to UnixWare 2.1.2 and
5411 pedantic Solaris 2.6.
5413 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
5415 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
5416 Generate name of ns member, instead of just 1 or undef.
5417 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
5419 1998-08-15 Jim Meyering <meyering@ascend.com>
5421 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
5422 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
5423 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
5424 instead of jm_TYPE_SSIZE_T.
5426 1998-08-12 Jim Meyering <meyering@ascend.com>
5428 * st_dm_mode.m4: New file. From Johan Danielsson.
5430 1998-08-02 Jim Meyering <meyering@ascend.com>
5432 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
5433 in acconfig.h manually.
5435 1998-07-31 Paul Eggert <eggert@twinsun.com>
5437 * st_mtim.m4: New file.
5439 1998-07-28 Jim Meyering <meyering@ascend.com>
5441 * utimes.m4: Undef stat.
5443 1998-07-25 Jim Meyering <meyering@ascend.com>
5445 * utime.m4 (jm_FUNC_UTIME): New file and macro.
5446 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
5448 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
5450 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
5451 uid and gid actually remain unchanged.
5453 1998-07-07 Jim Meyering <meyering@ascend.com>
5455 * jm-glibc-io.m4: Remove fclose_unlocked.
5457 1998-07-04 Jim Meyering <meyering@ascend.com>
5459 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
5460 to prove that this macro can be used in packages without regex.c.
5462 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5464 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
5467 1998-07-03 Jim Meyering <meyering@ascend.com>
5469 * gettext.m4: Add -lintl if it's found to be necessary.
5471 * gettext.m4: New file -- from gettext-0.10.35.
5472 * lcmessage.m4: Likewise.
5473 * progtest.m4: Likewise.
5475 * regex.m4 (jm_WITH_REGEX): New file and macro.
5476 * jm-macros.m4: Require the new macro.
5478 1998-06-29 Jim Meyering <meyering@ascend.com>
5480 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
5481 for the definition of NGROUPS (used in a system header included
5484 1998-06-28 Jim Meyering <meyering@ascend.com>
5486 * ls-mntd-fs.m4: New file.
5487 * fstypename.m4: New file.
5489 * jm-macros.m4: Require the new macro.
5490 * jm-glibc-io.m4: New file.
5492 1998-05-19 Jim Meyering <meyering@ascend.com>
5494 * jm-macros.m4: Add jm_FUNC_LCHOWN.
5495 * lchown.m4: New file.
5497 * Makefile.am.in: New file.
5498 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
5500 1998-05-14 Jim Meyering <meyering@ascend.com>
5502 * Makefile.am (EXTRA_DIST): Add them.
5503 * jm-macros.m4: New file.
5504 * utimbuf.m4: New file.
5506 1998-05-12 Jim Meyering <meyering@ascend.com>
5508 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
5510 1998-05-11 Jim Meyering <meyering@ascend.com>
5512 * isc-posix.m4: New file.
5514 1998-05-10 Jim Meyering <meyering@ascend.com>
5516 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
5518 1998-05-09 Jim Meyering <meyering@ascend.com>
5520 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
5521 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
5524 * ssize_t.m4: New file.
5525 * mktime.m4: Remove file -- the new automake has this now.
5527 1998-04-26 Jim Meyering <meyering@ascend.com>
5529 * assert.m4: New file.
5530 * Makefile.am (EXTRA_DIST): Add assert.m4.
5532 1998-04-05 Jim Meyering <meyering@ascend.com>
5534 * prereq.m4 (jm_PREREQ_REGEX): New macro.
5535 (jm_PREREQ): Use it here.
5537 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
5539 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
5542 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
5544 * prereq.m4: New file.
5545 * error.m4: New file.
5546 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
5548 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
5550 * getline.m4: Don't set am_cv_func_working_getline before the
5551 cache-check for the same variable -- that defeated the purpose of
5552 the test; the test program was never run. This was a problem only
5553 on systems with losing getline functions -- HP-UX 10.20 is one.
5554 Reported by Bjorn Helgaas.
5556 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
5558 * Makefile.am (EXTRA_DIST): Add perl.m4.
5560 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
5562 * Makefile.am (EXTRA_DIST): Add const.m4.
5564 * const.m4: New file. Use an initializer in this declaration
5565 typedef int charset[2]; const charset x;
5566 Reported by Bob Glickstein.
5568 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
5570 * chown.m4: Fix reversed types on -1 args to chown.
5573 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
5575 * check-decl.m4: s/DECLARATION_/DECL_/g.
5576 Add lseek and memchr.
5578 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
5579 T.E.Dickey <dickey@clark.net> said that some older preprocessors
5580 have a 20-character limit on names.
5582 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
5584 * inttypes_h.m4: New file.
5585 * uintmax_t.m4: New file.
5586 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
5588 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
5589 Free Software Foundation, Inc.
5590 Copying and distribution of this file, with or without modification,
5591 are permitted provided the copyright notice and this notice are preserved.