1 2006-09-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3 * sockpfaf.m4 (gl_SOCKET_FAMILIES): Avoid gcc -Wall warnings.
5 2006-09-17 Bruno Haible <bruno@clisp.org>
7 * getloadavg.m4 (gl_GETLOADAVG): Expect the directory of getloadavg.c
10 2006-09-20 Paul Eggert <eggert@cs.ucla.edu>
12 * regex.m4 (gl_REGEX): Check for locale.h, since the test
14 (gl_PREREQ_REGEX): Don't check for locale.h any more, since
15 gl_REGEX now does it for us.
16 (gl_REGEX): Add test taken from
17 http://sourceware.org/ml/libc-hacker/2006-09/msg00008.html.
19 * mkstemp.m4 (gl_FUNC_MKSTEMP): Require AC_SYS_LARGEFILE.
20 Check that large offsets work. Modernize Autoconf usages.
21 Prefer "yes" to mean a good thing rather than a bad.
22 Don't put "#define mkstemp" in config.h, as this might interfere
23 with standard system headers that "#define mkstemp mkstemp64".
25 2006-09-18 Bruno Haible <bruno@clisp.org>
27 * inttypes-h.m4 (gl_HEADER_INTTYPES_H): Remove macro.
28 * inttypes-pri.m4: Require autoconf >= 2.52.
29 (gt_INTTYPES_PRI): Invoke AC_CHECK_HEADERS on inttypes.h. Test
30 ac_cv_header_inttypes_h instead of gl_cv_header_inttypes_h.
31 * gettext.m4: Require autoconf >= 2.52.
32 (gt_INTL_SUBDIR_CORE): Invoke AC_CHECK_HEADERS on inttypes.h.
33 * inttypes.m4 (gl_INTTYPES_H): Test ac_cv_header_inttypes_h instead
34 of gl_cv_header_inttypes_h.
36 2006-09-18 Mark D. Baushke <mdb@gnu.org>
38 * inttypes.m4 (gl_INTTYPES_H): Quote "test" args
41 2006-09-15 Paul Eggert <eggert@cs.ucla.edu>
43 * savewd.m4: New file.
45 2006-09-15 Jim Meyering <jim@meyering.net>
47 * rename-dest-slash.m4 (gl_FUNC_RENAME_TRAILING_DEST_SLASH): New file.
49 * rename.m4 (gl_FUNC_RENAME): Rename from vb_FUNC_RENAME.
51 2006-09-13 Simon Josefsson <jas@extundo.com>
53 * getdate.m4: Don't AC_LIBOBJ([getdate]), automake takes care of
54 that internally, suggested by Ralf Wildenhues
55 <Ralf.Wildenhues@gmx.de>.
57 2006-09-10 Bruno Haible <bruno@clisp.org>
59 * mkdtemp.m4 (gl_PREREQ_MKDTEMP): Don't require gl_AC_TYPE_UINTMAX_T.
61 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
63 * mktime.m4 (AC_FUNC_MKTIME): Sync from Autoconf.
64 Check for unistd.h too, since Autoconf doesn't assume POSIX.
67 2006-09-08 Paul Eggert <eggert@cs.ucla.edu>
68 Add year_2050_test to catch glibc bug 2821
69 <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>.
71 2006-08-15 Paul Eggert <eggert@cs.ucla.edu>
74 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
75 Return from 'main' instead of calling 'exit'.
77 2006-09-08 Jim Meyering <jim@meyering.net>
79 Avoid new build failure on FreeBSD 6.0.
80 * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Include <sys/param.h>
81 when testing whether getmntinfo uses statvfs. Patch by Pavel Tsekov,
82 in <http://savannah.gnu.org/bugs/?17643>.
84 2006-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
86 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Don't use plain echo.
88 2006-09-03 Bruno Haible <bruno@clisp.org>
90 * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Locate mingw shared libraries
93 2006-09-01 Paul Eggert <eggert@cs.ucla.edu>
95 * getloadavg.m4 (gl_GETLOADAVG): Use CONFIGURING_GETLOADAVG,
96 not gl_GETLOADAVG. Omit unneeded semicolons.
97 Problems reported by Ralf Wildenhues in
98 <http://lists.gnu.org/archive/html/bug-gnulib/2006-09/msg00000.html>.
99 (gl_PREREQ_GETLOADAVG): Use AC_DEFUN, not m4_define. Put
100 at the end, which is the usual gnulib style.
102 * fstypename.m4 (gl_FSTYPENAME): Use AC_CHECK_MEMBERS instead
103 of doing all the work ourselves.
104 * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Don't check for
105 sys/statvfs.h since the code doesn't use HAVE_SYS_STATVFS_H.
107 2006-08-31 Paul Eggert <eggert@cs.ucla.edu>
109 * fnmatch.m4: Add comment that Autoconf AC_FUNC_FNMATCH is
110 obsolescent, and programs should use gnulib instead.
111 * getloadavg.m4: New file, with contents taken from Autoconf
112 but with prefixes changed.
114 2006-08-30 Paul Eggert <eggert@cs.ucla.edu>
116 Work around a bug in both the Linux and SunOS 64-bit kernels:
117 nanosleep mishandles sleeps for longer than 2**31 seconds.
118 Problem reported by Frank v Waveren in
119 <http://lists.gnu.org/archive/html/bug-coreutils/2006-08/msg00298.html>.
120 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Require gl_CLOCK_TIME.
121 Check for nanosleep bug.
122 (LIB_NANOSLEEP): Append clock_gettime library if needed.
124 2006-08-29 Paul Eggert <eggert@cs.ucla.edu>
126 * isapipe.m4: New file.
128 2006-08-28 Paul Eggert <eggert@cs.ucla.edu>
130 * fcntl_h.m4: New file.
132 2006-08-28 Eric Blake <ebb9@byu.net>
134 * inttypes.m4 (gl_INTTYPES_H): Fix missing #endif.
136 2006-08-28 Paul Eggert <eggert@cs.ucla.edu>
138 * inttypes.m4 (gl_INTTYPES_H): Move ABSOLUTE_INTTYPES_H code here...
139 * stdint.m4 (gl_STDINT_H): ... from here. This undoes the most recent
140 change to stdint.m4, since we're now addressing the problem in a
143 2006-08-28 Bruno Haible <bruno@clisp.org>
145 * inttypes.m4 (gl_INTTYPES_H): Don't test for the existence of SCNX*
147 Reported by Eric Blake.
149 2006-08-22 Eric Blake <ebb9@byu.net>
151 * codeset.m4 (AM_LANGINFO_CODESET): Avoid compiler warning.
153 2006-08-26 Bruno Haible <bruno@clisp.org>
155 * inttypes.m4: New file.
156 * _inttypes_h.m4: Remove file.
157 * inttypes-pri.m4 (gt_INTTYPES_PRI): Also AC_SUBST PRI_MACROS_BROKEN.
158 * stdint.m4 (gl_STDINT_H): Define also ABSOLUTE_INTTYPES_H.
160 * imaxabs.m4: New file.
162 * imaxdiv.m4: New file.
164 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
166 * config-h.m4: New file.
168 2006-08-23 Bruno Haible <bruno@clisp.org>
170 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Don't consider BeOS statvfs
173 * lock.m4 (gl_LOCK_EARLY): Renamed from gl_LOCK.
174 (gl_LOCK_BODY): Remove gl_PREREQ_LOCK invocation.
175 (gl_LOCK): New macro.
177 2006-08-18 Bruno Haible <bruno@clisp.org>
179 * lock.m4 (gl_LOCK_BODY): Change the default value of gl_use_threads
181 Reported by Stephen Cartwright <sgcartwr@ucalgary.ca>.
183 2006-08-22 Eric Blake <ebb9@byu.net>
185 * stdint_h.m4 (gl_AC_HEADER_STDINT_H): Avoid compiler warning.
186 * inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise.
187 * longlong.m4 (AC_TYPE_LONG_LONG_INT): Likewise.
188 * intmax_t.m4 (gt_AC_TYPE_INTMAX_T): Likewise.
190 2006-08-22 Bruno Haible <bruno@clisp.org>
192 * readutmp.m4 (gl_READUTMP): Compile readutmp.c only if <utmp.h> or
195 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
197 * rijndael.m4 (gl_ARCFOUR):
198 * arctwo.m4 (gl_ARCTWO):
199 * check-version.m4 (gl_CHECK_VERSION):
202 * gc-pbkdf2-sha1.m4 (gl_GC_PBKDF2_SHA1):
204 * getdelim.m4 (gl_FUNC_GETDELIM):
205 * getline.m4 (gl_FUNC_GETLINE):
206 * getlogin_r.m4 (gl_GETLOGIN_R_SUBSTITUTE):
207 * hmac-md5.m4 (gl_HMAC_MD5):
208 * hmac-sha1.m4 (gl_HMAC_SHA1):
211 * pagealign_alloc.m4 (gl_PAGEALIGN_ALLOC):
212 * read-file.m4 (gl_FUNC_READ_FILE):
213 * readline.m4 (gl_FUNC_READLINE):
214 * rijndael.m4 (gl_RIJNDAEL):
215 Don't use AC_LIBSOURCES; instead, rely on the files in ../modules/
216 to get the necessary .h files and whatnot.
218 2006-08-21 Paul Eggert <eggert@cs.ucla.edu>
220 * mkdir-p.m4 (gl_MKDIR_PARENTS): Check for fchmod.
222 * argmatch.m4: New file, from coreutils with AC_LIBSOURCES removed.
223 * dev-ino.m4, same-inode.m4: Remove.
225 * _inttypes_h.m4 (gl_INTTYPES_H):
226 * acl.m4 (AC_FUNC_ACL):
227 * backupfile.m4 (gl_BACKUPFILE):
228 * c-strtod.m4 (gl_C99_STRTOLD):
229 * canon-host.m4 (gl_CANON_HOST):
230 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME):
231 * chdir-long.m4 (gl_FUNC_CHDIR_LONG):
232 * chdir-safer.m4 (gl_CHDIR_SAFER):
233 * cloexec.m4 (gl_CLOEXEC):
234 * close-stream.m4 (gl_CLOSE_STREAM):
235 * closeout.m4 (gl_CLOSEOUT):
236 * dirfd.m4 (gl_FUNC_DIRFD):
237 * dirname.m4 (gl_DIRNAME):
238 * exclude.m4 (gl_EXCLUDE):
239 * exitfail.m4 (gl_EXITFAIL):
240 * fcntl-safer.m4 (gl_FCNTL_SAFER):
241 * file-type.m4 (gl_FILE_TYPE):
242 * filemode.m4 (gl_FILEMODE):
243 * filenamecat.m4 (gl_FILE_NAME_CONCAT):
244 * fpending.m4 (gl_FUNC_FPENDING):
245 * fprintftime.m4 (gl_FPRINTFTIME):
246 * fts.m4 (gl_FUNC_FTS):
247 * getcwd.m4 (gl_FUNC_GETCWD_NULL):
248 * getdate.m4 (gl_GETDATE):
249 * gethrxtime.m4 (gl_GETHRXTIME):
250 * getpagesize.m4 (gl_GETPAGESIZE):
251 * getpass.m4 (gl_FUNC_GETPASS):
252 * gettime.m4 (gl_GETTIME):
253 * getugroups.m4 (gl_GETUGROUPS):
254 * glob.m4 (gl_GLOB_SUBSTITUTE):
255 * group-member.m4 (gl_FUNC_GROUP_MEMBER):
256 * hard-locale.m4 (gl_HARD_LOCALE):
258 * idcache.m4 (gl_IDCACHE):
259 * lchmod.m4 (gl_FUNC_LCHMOD):
260 * lchown.m4 (gl_FUNC_LCHOWN):
261 * long-options.m4 (gl_LONG_OPTIONS):
262 * lstat.m4 (gl_FUNC_LSTAT):
264 * memcasecmp.m4 (gl_MEMCASECMP):
265 * memcoll.m4 (gl_MEMCOLL):
266 * mempcpy.m4 (gl_FUNC_MEMPCPY):
267 * memrchr.m4 (gl_FUNC_MEMRCHR):
268 * memxor.m4 (gl_MEMXOR):
269 * mkancesdirs.m4 (gl_MKANCESDIRS):
270 * mkdir-p.m4 (gl_MKDIR_PARENTS):
271 * modechange.m4 (gl_MODECHANGE):
272 * mountlist.m4 (gl_MOUNTLIST):
273 * nanosleep.m4 (gl_FUNC_NANOSLEEP):
274 * openat.m4 (gl_FUNC_OPENAT):
275 * pathmax.m4 (gl_PATHMAX):
276 * physmem.m4 (gl_PHYSMEM):
277 * posixtm.m4 (gl_POSIXTM):
278 * posixver.m4 (gl_POSIXVER):
279 * quote.m4 (gl_QUOTE):
280 * quotearg.m4 (gl_QUOTEARG):
281 * readtokens.m4 (gl_READTOKENS):
282 * readutmp.m4 (gl_READUTMP):
283 * regex.m4 (gl_REGEX):
284 * safe-read.m4 (gl_SAFE_READ):
285 * safe-write.m4 (gl_SAFE_WRITE):
287 * save-cwd.m4 (gl_SAVE_CWD):
288 * savedir.m4 (gl_SAVEDIR):
289 * settime.m4 (gl_SETTIME):
291 * sig2str.m4 (gl_FUNC_SIG2STR):
292 * stat-macros.m4 (gl_STAT_MACROS):
293 * stat-time.m4 (gl_STAT_TIME):
294 * stdio-safer.m4 (gl_FOPEN_SAFER):
295 * stdlib-safer.m4 (gl_STDLIB_SAFER):
296 * strdup.m4 (gl_FUNC_STRDUP):
297 * strftime.m4 (gl_FUNC_GNU_STRFTIME):
298 * strndup.m4 (gl_FUNC_STRNDUP):
299 * strnlen.m4 (gl_FUNC_STRNLEN):
300 * strverscmp.m4 (gl_FUNC_STRVERSCMP):
301 * time_r.m4 (gl_TIME_R):
302 * timespec.m4 (gl_TIMESPEC):
303 * unistd-safer.m4 (gl_UNISTD_SAFER):
304 * unlinkdir.m4 (gl_UNLINKDIR):
305 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO):
306 * userspec.m4 (gl_USERSPEC):
307 * utimecmp.m4 (gl_UTIMECMP):
308 * utimens.m4 (gl_UTIMENS):
309 * xalloc.m4 (gl_XALLOC):
310 * xgetcwd.m4 (gl_XGETCWD):
311 * xnanosleep.m4 (gl_XNANOSLEEP):
312 * xreadlink.m4 (gl_XREADLINK):
313 * xstrtod.m4 (gl_XSTRTOD):
314 * yesno.m4 (gl_YESNO):
315 Don't use AC_LIBSOURCES; instead, rely on the files in ../modules/
316 to get the necessary .h files and whatnot.
318 2006-08-19 Bruno Haible <bruno@clisp.org>
321 * mbchar.m4 (gl_MBCHAR): Compile mbchar.c also if <wctype.h> doesn't
324 2006-08-20 Paul Eggert <eggert@cs.ucla.edu>
326 Remove files that are no longer needed by their respective modules.
327 * obstack.m4: Remove.
328 * strerror_r.m4: Remove.
329 * uint32_t.m4: Remove.
330 * uintptr_t.m4: Remove.
331 * ullong_max.m4: Remove.
332 * xstrtoimax.m4: Remove.
333 * xstrtoumax.m4: Remove.
335 * cycle-check.m4 (gl_CYCLE_CHECK): Do not require gl_AC_TYPE_UINTMAX_T,
336 gl_STRUCT_DEV_INO, or gl_SAME_INODE, since gnulib dependencies now
339 * cycle-check.m4 (gl_CYCLE_CHECK):
340 Do not use AC_LIBSOURCES, since gnulib modules now do this.
341 * fsusage.m4 (gl_FSUSAGE): Likewise.
342 * human.m4 (gl_HUMAN): Likewise.
343 * inttostr.m4 (gl_INTTOSTR): Likewise.
344 * xstrtol.m4 (gl_XSTRTOL): Likewise.
346 * filemode.m4 (gl_FILEMODE): Require AC_STRUCT_ST_DM_MODE.
348 * filemode.m4 (gl_PREREQ_FSUSAGE_EXTRA): Do not require
349 gl_AC_TYPE_INTMAX_T or gl_AC_TYPE_UINTMAX_T, since we now require
351 * human.m4 (gl_HUMAN): Likewise.
352 * inttostr.m4 (gl_PREREQ_INTTOSTR): Likewise.
353 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Likewise.
354 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Likewise.
355 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Likewise.
356 * xstrtol (gl_XSTRTOL): Likewise.
358 * gethrxtime.m4 (gl_XTIME): gl_AC_TYPE_LONG_LONG ->
359 AC_TYPE_LONG_LONG_INT.
360 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Likewise.
361 * strtoll.m4 (gl_FUNC_STRTOLL): Likewise.
362 * strtoull.m4 (gl_FUNC_STRTOULL): Likewise, for unsigned long.
363 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Likewise.
365 * human.m4 (gl_HUMAN): Do not require AM_STDBOOL_H since we depend
368 * xstrtol.m4 (gl_PREREQ_XSTRTOL_H, gl_PREREQ_XSTRTOL): Remove.
369 (gl_PREREQ_XSTRTOUL): Remove.
371 * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Check for hasmntopt.
373 * posixver.m4: Fix comment since head -1 now works even in POSIX mode.
375 2006-08-18 Paul Eggert <eggert@cs.ucla.edu>
376 Bruno Haible <bruno@clisp.org>
378 * bison-i18n.m4 (BISON_I18N): Also handle the case where yacc exists
379 and is a script that invokes bison. Tighten the code. Add comments.
381 2006-08-18 Bruno Haible <bruno@clisp.org>
383 * bison-i18n.m4: New file, from bison.
385 2006-08-18 Bruno Haible <bruno@clisp.org>
387 * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Also check for
388 sys/statvfs.h. When getmntinfo was found, check its declaration and
389 set either MOUNTED_GETMNTINFO or MOUNTED_GETMNTINFO2 depending on it.
391 2006-08-18 Jim Meyering <jim@meyering.net>
393 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Also check for CLOCK_REALTIME,
394 since gethrxtime may revert to using clock_gettime via gettime.c.
395 Gabor Z. Papp reported that gethrxtime-using programs failed to
396 link due to unresolved clock_gettime on a linux-2.4.x system.
398 2006-08-17 Paul Eggert <eggert@cs.ucla.edu>
400 Update from coreutils.
402 2006-08-15 Jim Meyering <jim@meyering.net>
404 * openat.m4 (gl_FUNC_OPENAT): Add at-func.c via AC_LIBSOURCES.
406 2006-01-17 Jim Meyering <jim@meyering.net>
408 * fts.m4 (gl_FUNC_FTS_CORE): Depend on gl_FUNC_OPENAT.
410 2006-01-11 Jim Meyering <jim@meyering.net>
412 * openat.m4 (gl_FUNC_OPENAT): Require and compile fchmodat.c.
413 Check for the lchmod function.
415 2006-08-11 Bruno Haible <bruno@clisp.org>
417 * wcwidth.m4 (gl_FUNC_WCWIDTH): Include <stdio.h> and <time.h> before
418 <wchar.h>. Needed for OSF/1 and BSD/OS.
420 2006-08-10 Jim Meyering <jim@meyering.net>
422 * cycle-check.m4: New file.
423 Require gl_STRUCT_DEV_INO and gl_SAME_INODE.
424 * dev-ino.m4, same-inode.m4: New files.
426 2006-08-09 Paul Eggert <eggert@cs.ucla.edu>
428 * argp.m4 (gl_ARGP): Require AC_C_RESTRICT.
429 * gc.m4 (gl_PREREQ_GC): Likewise.
430 * glob.m4 (gl_PREREQ_GLOB): Likewise.
431 * inet_ntop.m4 (gl_PREREQ_INET_NTOP): Likewise.
432 * inet_pton.m4 (gl_PREREQ_INET_PTON): Likewise.
433 * memxor.m4 (gl_MEMXOR): Likewise.
434 * restrict.m4: Remove; no longer needed. All remaining uses of
435 gl_C_RESTRICT replaced by AC_C_RESTRICT.
437 Merge from coreutils.
438 * regex.m4 (gl_PREREQ_REGEX): Require AC_C_RESTRICT, not
439 gl_C_RESTRICT, now that we assume Autoconf 2.59 or later.
440 * strtok_r.m4 (gl_FUNC_STRTOK_R): Likewise.
441 * time_r.m4 (gl_TIME_R): Likewise.
443 2006-07-31 Bruno Haible <bruno@clisp.org>
445 * localcharset.m4 (gl_LOCALCHARSET): Remove tests for <stddef.h>,
446 <stdlib.h>, <string.h>.
448 2006-07-30 Bruno Haible <bruno@clisp.org>
450 * wcwidth.m4 (gl_FUNC_WCWIDTH): Assume <string.h> exists.
452 2006-07-28 Simon Josefsson <jas@extundo.com>
454 * netinet_in_h.m4: New file.
456 2006-07-28 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
458 * inet_pton.m4, inet_ntop.m4: Check for netinet/in.h too.
460 2006-07-28 Bruno Haible <bruno@clisp.org>
462 * mbchar.m4 (gl_MBCHAR): Also test for iswcntrl.
464 2006-07-27 Bruno Haible <bruno@clisp.org>
466 * stdint.m4 (gl_STDINT_H): Define __STDC_CONSTANT_MACROS during the
469 2006-07-26 Eric Blake <ebb9@byu.net>
471 * unistd-safer.m4 (gl_UNISTD_SAFER): Check for missing pipe.
473 2006-07-26 Bruno Haible <bruno@clisp.org>
475 * stdint.m4 (gl_STDINT_H): Also verify the existence of the macros
476 INT*_MIN, INT_LEAST*_MAX, INT_LEAST*_MIN, UINT_LEAST*_MAX,
477 INT_FAST*_MIN, INTPTR_MIN.
479 2006-07-25 Bruno Haible <bruno@clisp.org>
481 * stdint.m4 (gl_INTEGER_TYPE_SUFFIX): Avoid 'eval' in front of complex
484 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
486 * stdio-safer.m4 (gl_FOPEN_SAFER, gl_TMPFILE_SAFER): New macros.
487 (gl_STDIO_SAFER): Remove.
489 2006-07-24 Bruno Haible <bruno@clisp.org>
491 * tmpdir.m4: New file, from GNU gettext.
493 2006-07-23 Eric Blake <ebb9@byu.net>
495 * stdio-safer.m4 (gl_STDIO_SAFER): Add tmpfile-safer.c.
497 2006-07-22 Paul Eggert <eggert@cs.ucla.edu>
499 * close-stream.m4: New file.
501 2006-07-22 Bruno Haible <bruno@clisp.org>
503 Merge from GNU gettext 0.15.
505 2006-03-25 Bruno Haible <bruno@clisp.org>
507 * lib-link.m4 (AC_LIB_LINKFLAGS_FROM_LIBS): New macro.
509 2006-07-21 Bruno Haible <bruno@clisp.org>
511 * javacomp.m4 (gt_JAVACOMP): Convert target_version "null" to
514 2006-05-09 Bruno Haible <bruno@clisp.org>
516 * javacomp.m4 (gt_JAVACOMP): On Cygwin, set
517 CLASSPATH_SEPARATOR to a semicolon. Use CLASSPATH_SEPARATOR
518 for the conftestver execution.
520 2006-05-01 Bruno Haible <bruno@clisp.org>
522 * javacomp.m4 (gt_JAVACOMP): Accept a source-version and an
523 optional target-version argument. Verify that the compiler
524 groks source of the specified source-version, or add -source
525 option as necessary. Verify that the compiler produces
526 bytecode in the specified target-version, or add -target and
527 -source options as necessary. Make the result of the test
528 available as variable CONF_JAVAC. Also log error output in
531 2006-03-11 Bruno Haible <bruno@clisp.org>
533 * javacomp.m4 (gt_JAVACOMP): Treat gcj-4.x like gcj-3.x.
535 2006-05-09 Bruno Haible <bruno@clisp.org>
537 * javaexec.m4 (gt_JAVAEXEC): On Cygwin, set
538 CLASSPATH_SEPARATOR to a semicolon.
540 2006-03-12 Bruno Haible <bruno@clisp.org>
542 * javaexec.m4 (gt_JAVAEXEC): Make the result of the test
543 available as variable CONF_JAVA, for subsequent autoconf
544 tests. Also log error output in config.log.
546 2006-07-19 Bruno Haible <bruno@clisp.org>
548 * getline.m4 (AM_FUNC_GETLINE): When cross-compiling, assume
549 that getline works on glibc2 systems. Needed to avoid trouble
551 Reported by Nils Magnus Larsgard <nmlarsgaard@atmel.no>.
553 2005-12-04 Bruno Haible <bruno@clisp.org>
555 * csharpexec.m4 (gt_CSHARPEXEC): Add support for 'clix'
558 2005-12-04 Bruno Haible <bruno@clisp.org>
560 * csharpcomp.m4 (gt_CSHARPCOMP): Also set CSHARPCOMPFLAGS.
562 2006-07-22 Bruno Haible <bruno@clisp.org>
564 * gettext.m4: Update from GNU gettext-0.15.
567 * inttypes-pri.m4: Likewise.
568 * inttypes-h.m4: Renamed from inttypes.m4.
569 (gl_HEADER_INTTYPES_H): Renamed from gt_HEADER_INTTYPES_H.
571 2006-07-17 Bruno Haible <bruno@clisp.org>
573 * gl_list.m4: New file.
575 2006-07-16 Paul Eggert <eggert@cs.ucla.edu>
577 * mkancesdirs.m4: New file.
578 * mkdir-p.m4 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h.
579 Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed.
580 Require gl_FUNC_LCHOWN, since dirchownmod.c needs it.
582 2006-07-11 Eric Blake <ebb9@byu.net>
584 * absolute-header.m4: Fix comments to match recent change.
586 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
588 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Like today's change
591 2006-07-10 Derek R. Price <derek@ximbiot.com>
592 and Paul Eggert <eggert@cs.ucla.edu>
594 * backupfile.m4, d-ino.m4, d-type.m4, dirfd.m4, fts.m4, getcwd.m4:
596 Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN
597 macros into the GNU _D_EXACT_NAMLEN.
599 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
601 * stdint.m4 (gl_STDINT_H): Like yesterday's change to
602 absolute-header.m4. Also, set ABSOLUTE_STDINT_H to a string
603 "no/such/file/stdint.h" when there is no such file, so that
604 the resulting C code can be parsed by dodgy compilers.
605 Problems reported by Bob Proulx.
607 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
609 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
610 around the absolute name, to work around a problem with the HP-UX
611 11.23 native C compiler, reported by Bob Proulx.
613 2006-07-09 Jim Meyering <jim@meyering.net>
615 * glob.m4: Remove a doubled word in a comment.
617 2006-07-08 Jim Meyering <jim@meyering.net>
619 * link-follow.m4: Remove one of two adjacent "whether"s in a comment.
620 * getopt.m4: Remove one of two adjacent "your"s in a comment.
621 * regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment.
623 2006-07-06 Derek R. Price <derek@ximbiot.com>
624 and Paul Eggert <eggert@cs.ucla.edu>
626 * backupfile.m4 (gl_BACKUPFILE): Check for dirent.h, instead
627 of invoking obsolescent AC_HEADER_DIRENT macro.
628 * d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
629 * d-type.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Likewise.
630 * dirfd.m4 (gl_FUNC_DIRFD): Likewise.
631 * fts.m4 (gl_FUNC_FTS_CORE): Likewise.
632 * getcwd.m4 (gl_PREREQ_GETCWD): Likewise.
633 * glob.m4 (gl_PREREQ_GLOB): Likewise.
634 * savedir.m4 (gl_SAVEDIR): Likewise.
635 * readdir.m4: Remove; no longer needed.
637 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
639 * _inttypes_h.m4 (gl_INTTYPES_H): Use AC_CHECK_DECLS_ONCE
640 with only one argument, for Autoconf 2.60.
641 * fileblocks.m4 (gl_PREREQ_FILEBLOCKS): AC_CHECK_DECLS_ONCE may
642 expand to nothing, so add a shell command to avoid syntax error.
643 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
645 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
647 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't check for getenv decl;
648 no longer needed. Check for isblank decl.
649 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Don't check for getenv decl.
650 * regex.m4 (gl_PREREQ_REGEX): Dheck for isblank decl instead
653 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
655 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Use AC_CHECK_DECLS_ONCE
656 rather than AC_CHECK_DECLS for strtoimax and strtoumax.
657 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed.
659 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
660 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
661 * exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer needed.
662 * getdate.m4 (gl_GETDATE): Likewise.
663 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
664 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
665 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
666 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
667 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
668 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
669 * exclude.m4 (gl_EXCLUDE): Don't require AC_C_INLINE; no longer
672 2006-07-05 Derek R. Price <derek@ximbiot.com>
674 * calloc.m4 (_AC_FUNC_CALLOC_IF): Don't require AC_HEADER_STDC;
676 * exclude.m4 (gl_EXCLUDE): Likewise.
677 * getdate.m4 (gl_GETDATE): Likewise.
678 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
679 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
680 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
681 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
682 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
684 2006-07-05 Eric Blake <ebb9@byu.net>
686 * sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
687 to avoid 'header present but could not be compiled' on cygwin.
689 2006-07-03 Bruno Haible <bruno@clisp.org>
691 * strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, check whether
692 the function exists, before testing against AIX.
693 Reported by Martin Lambers <marlam@marlam.de>.
695 2006-07-04 Paul Eggert <eggert@cs.ucla.edu>
697 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
698 to the absolute name, not just one, to bypass Sun C 5.8's
699 "warning: #include of /usr/include/... may be non-portable".
701 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
703 * absolute-header.m4: Renamed from full-header-path.m4.
704 This is to keep the terminology clean; POSIX talks about
705 "absolute pathnames", not "full pathnames", but the GNU
706 Coding Standards say to use "path" for something else;
707 so use "absolute" to keep both sides happy.
708 (gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
709 Set gl_absolute_header, not gl_full_header_path.
710 Set gl_cv_absolute_<header>, not gl_full_path_<header>.
711 Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
714 Merge from coreutils.
716 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
718 * c-strtod.m4 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
719 Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
720 want to require the building of c-strtod.o.
721 * lib-check.m4 (cu_LIB_CHECK): Remove SEQ_LIBM, since seq no longer
723 * xstrtod.m4 (gl_XSTRTOLD): New macro.
725 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
727 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
728 --as-needed option if available. Problem reported by Albert Chin in
729 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
730 However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
731 cc merely issues a bunch of annoying warnings for --as-needed
732 (this problem was reported by Bob Proulx). Also, try linking with
733 -lm to detect a bug in binutils 2.16 (this problem was reported
736 2006-06-18 Jim Meyering <jim@meyering.net>
738 Test for a bug that causes glibc's getcwd to suffer a failed assertion.
739 * getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
740 * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
741 also check for glibc-2.4's abort-inducing bug.
743 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
744 Low-probability clean-up should be to use rmdir to get rid of
745 the just-created directory, not unlink.
747 * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
748 configure fail, and request a bug report to inform us about it.
749 Add a comment that, barring reports to the contrary, in 2007 we'll
750 assume ftruncate is universally available.
752 2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
754 * filemode.m4 (gl_FILEMODE): Check for strmode declaration.
756 2006-03-12 Jim Meyering <jim@meyering.net>
758 * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.
759 * cycle-check.m4 (gl_CYCLE_CHECK): Likewise.
760 * same.m4 (gl_SAME): Likewise.
761 * root-dev-ino.m4 (gl_ROOT_DEV_INO): Likewise.
763 2006-03-11 Eric Blake <ebb9@byu.net>
765 * double-slash-root.m4: New file, provides gl_DOUBLE_SLASH_ROOT.
766 * dirname.m4 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
767 * dos.m4 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
768 (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
770 2006-07-02 Eric Blake <ebb9@byu.net>
772 * wcwidth.m4 (gl_FUNC_WCWIDTH): Simplify by using AC_CHECK_DECLS.
774 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
776 * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
777 test cases, so that config.log is a bit easier to follow.
779 2006-07-01 Paul Eggert <eggert@cs.ucla.edu>
781 * longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60,
782 but fix a bug, by requiring at least 64 bits.
783 * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
784 * longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call
785 AC_TYPE_LONG_LONG_INT. This macro is obsolete and will go soon.
786 * ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise.
788 * stdint.m4 (gl_STDINT_H): Rewrite to accommodate stdint_.h
789 changes. Make 2.59 a prerequisite. Check and substitute for
790 HAVE_LONG_LONG_INT. Rely on Autoconf to check for stdint.h and
791 inttypes.h. Do not use special include files; just use the
792 defaults. Check for sys/inttypes.h and sys/bitypes.h in the usual
793 way now. Remove no-longer-needed tests for HAVE_LONG_64BIT,
794 HAVE_LONG_LONG_64BIT, int8_t, int16_t, int32_t, int64_t, uint8_t,
795 uint16_t, uint32_t uint64_t, int_least8_t, int_least16_t,
796 int_least32_t, int_least64_t, uint_least8_t, uint_least16_t,
797 uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t,
798 int_fast32_t, int_fast64_t, uint_fast8_t uint_fast16_t,
799 uint_fast32_t, uint_fast64_t, intptr_t, uintptr_t, intmax_t,
800 uintmax_t, INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX,
801 UINT16_MAX, INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN,
802 INT64_MAX, UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX,
803 UINT_LEAST8_MAX, INT_LEAST16_MIN, INT_LEAST16_MAX,
804 UINT_LEAST16_MAX, INT_LEAST32_MIN, INT_LEAST32_MAX,
805 UINT_LEAST32_MAX, INT_LEAST64_MIN, INT_LEAST64_MAX,
806 UINT_LEAST64_MAX, INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX,
807 INT_FAST16_MIN, INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN,
808 INT_FAST32_MAX, UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX,
809 UINT_FAST64_MAX, INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN,
810 INTMAX_MAX, UINTMAX_MAX, PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN,
811 SIG_ATOMIC_MAX, SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN,
812 WINT_MAX. Check for C99 conformance more strictly, by detecting
813 bugs in glibc 2.4, Solaris 10, and OpenBSD 3.9. On the other hand do
814 not check for things that C99 does not require, e.g., int8_t. If
815 a test isn't needed unless <stdint.h> isn't working, and is
816 unlikely to be needed for any other reason, then don't do it
817 unless <stdint.h> isn't working. Do not check for ptrdiff_t or
818 size_t, since we assume C89 freestanding at least. Do not check
819 for sig_atomic_t, wchar_t, or wint_t, since the code now does
820 the right thing even if the types are not defined. Instead use:
821 (gl_STDINT_TYPE_PROPERTIES): New macro.
822 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H): Remove. Don't bother
823 testing whether <sys/types.h> clashes, as Autoconf does this for
824 us now. All uses removed.
825 (gl_STDINT_CHECK_TYPES, gl_STDINT_MISSING_BOUND):
826 (gl_STDINT_MISSING_BOUNDS, gl_STDINT_MISSING_BOUNDS2):
827 (gl_CHECK_TYPE_SAME):
828 Remove; no longer needed.
829 (gl_STDINT_BITSIZEOF): Don't bother to check whether the type
830 exists, since we'll return 0 anyway in that case.
831 (gl_INTEGER_TYPE_SUFFIX, gl_STDINT_INCLUDES): New macros.
833 2006-07-01 Eric Blake <ebb9@byu.net>
835 * stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.
837 2006-07-01 Eric Blake <ebb9@byu.net>
839 * stdarg.m4 (gl_STDARG_H): Use proper AH_VERBATIM.
840 Reported by Andreas Buening.
842 2006-06-29 Eric Blake <ebb9@byu.net>
844 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Use AC_C_INLINE.
846 2006-06-29 Eric Blake <ebb9@byu.net>
848 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): New file.
850 2006-06-29 Derek R. Price <derek@ximbiot.com>
852 * strftime.m4: Don't call AC_FUNC_STRFTIME.
854 2006-06-29 Derek R. Price <derek@ximbiot.com>
856 * c-bs-a.m4: Removed.
858 2006-06-28 Derek R. Price <derek@ximbiot.com>
860 * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
862 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
864 * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
866 2006-06-28 Bruno Haible <bruno@clisp.org>
868 * wcwidth.m4 (gl_FUNC_WCWIDTH): Also require AC_C_INLINE and
871 2006-06-28 Eric Blake <ebb9@byu.net>
873 * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
874 * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
876 2006-06-28 Simon Josefsson <jas@extundo.com>
878 * getaddrinfo.m4: Look for getnameinfo prototypes too.
880 2006-06-27 Simon Josefsson <jas@extundo.com>
882 * sys_select_h.m4: New file, suggested by Bruno Haible, Paul
883 Eggert and Martin Lambers.
885 2006-06-27 Bruno Haible <bruno@clisp.org>
887 * stdint.m4 (gl_STDINT_BITSIZEOF): For nonexistent types, set the
888 result to 0, not to empty.
889 Reported by Martin Neitzel <neitzel@sco.gaertner.de>.
891 2006-06-26 Bruno Haible <bruno@clisp.org>
893 * stdint.m4 (gl_STDINT_H): Test also for <wchar.h>.
895 2006-06-26 Bruno Haible <bruno@clisp.org>
897 * stdint.m4 (gl_STDINT_H): Don't include <stdint.h> when using the
898 SGI C compiler in pre-C99 mode.
899 Suggested by Mark D. Baushke and Larry Jones.
901 2006-06-23 Mark D. Baushke <mdb@gnu.org>
903 * stdint.m4 (gl_STDINT_H): Treat BSD/OS like OpenBSD.
905 2006-06-26 Simon Josefsson <jas@extundo.com>
907 * inet_ntop.m4: Don't check for sys/types.h, we assume it is
910 2006-06-23 Bruno Haible <bruno@clisp.org>
912 * stdint.m4 (gl_STDINT_H): Treat IRIX like OpenBSD.
914 2006-06-22 Simon Josefsson <jas@extundo.com>
916 * sockpfaf.m4: Include winsock2.h too, to make it work under
919 2006-06-21 Simon Josefsson <jas@extundo.com>
921 * getaddrinfo.m4: Don't define WINVER. Look for gethostbyname in
922 -lws2_32 too. Fixes getaddrinfo on Windows 2000, with the price
923 of using the (limited) gnulib implementation on Windows XP.
925 * inet_pton.m4: New file.
927 2006-06-19 Bruno Haible <bruno@clisp.org>
929 * stdint.m4 (gl_STDINT_H): Enclose the values of FULL_PATH_STDINT_H
930 and FULL_PATH_INTTYPES_H in angle brackets.
931 Reported by Mark D. Baushke <mdb@gnu.org>.
933 2006-06-17 Bruno Haible <bruno@clisp.org>
935 * stdint.m4 (gl_STDINT_H) [FreeBSD >= 5]: Don't include
938 2006-06-16 Eric Blake <ebb9@byu.net>
940 * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
943 2006-06-17 Bruno Haible <bruno@clisp.org>
945 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
946 whether errno is declared. Assume <errno.h> declares errno.
948 2006-06-15 Bruno Haible <bruno@clisp.org>
950 * stdint.m4 (gl_STDINT_H): Rewritten to produce a complete stdint.h.
951 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H, gl_STDINT_CHECK_TYPES,
952 gl_STDINT_MISSING_BOUND, gl_STDINT_MISSING_BOUNDS,
953 gl_STDINT_MISSING_BOUNDS2, gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED,
954 gl_CHECK_TYPE_SAME): New macros.
956 2006-06-15 Bruno Haible <bruno@clisp.org>
958 * size_max.m4 (gl_SIZE_MAX): Make it work also when cross-compiling.
960 2006-06-15 Eric Blake <ebb9@byu.net>
962 * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
964 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
965 Bruno Haible <bruno@clisp.org>
967 * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
968 check for the declaration of strnlen and a run test that exposes the
969 AIX 5.1 strnlen bug. In the failure case, #define strndup to
972 2006-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
974 * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
975 compile test, for Tru64 4.0D.
977 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
979 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
980 gl_ rather than jm_. Link, don't run, so that cross-compiles are
981 allowed. Check that resulting type is arithmetic. Move AC_REQUIRE
982 and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
983 not really conditional on the cache.
984 (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
986 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
988 * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
989 test for C99 conformance; (bool) 0.5 is an integer constant
990 expression, but (bool) -0.5 is not. Problem reported by Fedor
991 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
993 2006-05-11 Simon Josefsson <jas@extundo.com>
995 * xvasprintf.m4: Fix obvious typo.
997 2006-05-09 Bruno Haible <bruno@clisp.org>
999 * xvasprintf.m4: New file.
1001 2006-05-08 Bruno Haible <bruno@clisp.org>
1003 * stdarg.m4: New file, from GNU gettext.
1005 2006-05-05 Jim Meyering <jim@meyering.net>
1007 * warning.m4: New file, derived from bison's file by the same name.
1009 2006-05-02 Bruno Haible <bruno@clisp.org>
1011 * full-header-path.m4 (gl_FULL_HEADER_PATH): Move the include_next
1013 * _inttypes_h.m4 (gl_INTTYPES_H): ... to here.
1015 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
1017 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
1018 to define main with arguments, for C++. Reported by Eric Blake.
1019 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
1020 Prefer 'int main ()' to 'int main (void)', for C++.
1021 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
1022 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
1023 for 'main', for C99 and C++.
1025 2006-04-23 Bruno Haible <bruno@clisp.org>
1027 * poll.m4 (gl_FUNC_POLL): Rearrange code, so that POLL_H gets
1028 assigned exactly once.
1030 2006-04-23 Bruno Haible <bruno@clisp.org>
1032 * poll.m4 (gl_FUNC_POLL): When cross-compiling, reject also the poll()
1033 implementation in AIX.
1034 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
1036 2006-03-04 Eric Blake <ebb9@byu.net>
1038 * strerror_r.m4 (AC_FUNC_STRERROR_R): Avoid unused variable warning.
1040 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
1042 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
1043 Don't assume that exit status -1 is valid.
1044 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
1045 * putenv.m4 (gl_FUNC_PUTENV): Likewise.
1046 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
1047 * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
1048 * rename.m4 (vb_FUNC_RENAME): Likewise.
1049 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
1050 not AC_TRY_RUN. Use return, not exit. Don't assume that
1051 functions can be used without declaring them, or that you can
1052 exit with status -1.
1053 * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
1055 2006-04-20 Bruno Haible <bruno@clisp.org>
1057 * argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
1058 one argument, so that the code will be portable to Autoconf 2.60.
1059 * getlogin_r.m4 (gl_PREREQ_GETLOGIN_R): Likewise.
1060 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
1061 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
1063 2006-04-19 Derek Price <derek@ximbiot.com>
1064 Eric Blake <ebb9@byu.net>
1066 * full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
1067 than "/full/path.h". Update comment to match. Shorten & generalize
1068 m4_translit call via AS_TR_CPP.
1070 2006-04-18 Derek Price <derek@ximbiot.com>
1071 Paul Eggert <eggert@cs.ucla.edu>
1073 * _inttypes_h.m4, full-header-path.m4, include_next: New files.
1075 2006-04-11 Paul Eggert <eggert@cs.ucla.edu>
1077 * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
1079 2006-04-09 Paul Eggert <eggert@cs.ucla.edu>
1081 * regex.m4 (gl_REGEX): Check for new glibc interface to
1084 2006-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1086 * argz.m4 (gl_FUNC_ARGZ): If we define `error_t', also define
1087 `__error_t_defined', so argp.h will not typedef the former.
1089 2006-03-25 Paul Eggert <eggert@cs.ucla.edu>
1091 * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
1092 REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
1093 glibc names. Even if glibc is changed to conform to POSIX, the
1094 traditional names will be available anyway, since regex depends on
1095 the extensions module. Also, fix a longstanding typo in the
1096 implementation of Spencer ERE test #75 from grep 2.3. Problems
1097 reported by Emanuele Giaquinta. Also, change sense of cached
1098 variable, so that the message makes sense.
1100 2006-03-17 Jim Meyering <jim@meyering.net>
1102 * regex.m4 (gl_REGEX): Fix typo in last change:
1103 s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
1105 2006-03-16 Paul Eggert <eggert@cs.ucla.edu>
1107 * regex.m4 (gl_REGEX): Don't check for off_t, since the code
1108 no longer needs it. Instead, check that regoff_t is as least
1109 as wide as ptrdiff_t.
1111 Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
1112 so that our regex.h stays compatible with the installed regex.
1113 This is helpful for installers who configure --without-included-regex.
1114 Problem reported by Emanuele Giaquinta.
1116 2006-03-15 Eric Blake <ebb9@byu.net>
1118 * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
1120 2006-03-08 Simon Josefsson <jas@extundo.com>
1122 * gc-random.m4: Permit 'no' as variable values and fix warnings,
1123 suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
1125 2006-03-08 Simon Josefsson <jas@extundo.com>
1127 * gc-random.m4: Call AC_CANONICAL_HOST and use $host_os instead of
1128 $target, suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
1130 2006-03-07 Paul Eggert <eggert@cs.ucla.edu>
1132 * unistd_h.m4 (gl_HEADER_UNISTD): Rename, to match modules file.
1133 Problem reported by Juan Manuel Guerrero.
1135 2006-03-07 Simon Josefsson <jas@extundo.com>
1137 * unistd_h.m4: New file.
1139 2006-03-07 Simon Josefsson <jas@extundo.com>
1141 * readline.m4 (gl_FUNC_READLINE): Rewrite the cached part of the
1142 test to be side-effect free by storing the result in the cache
1143 variable gl_cv_lib_readline, and moving the assignment of
1144 LIBREADLINE and LTLIBREADLINE outside the COMMANDS-TO-SET-IT.
1145 From Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
1147 2006-03-07 Simon Josefsson <jas@extundo.com>
1149 * gc-random.m4: New file, mostly from gc.m4. Warn instead of
1150 error on missing devices (the functions will return an error).
1152 * gc.m4: Move random stuff to gc-random.m4
1154 2006-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
1156 * poll.m4 (gl_FUNC_POLL): If we deem poll(2) unacceptable, use
1157 our replacement poll.h in any case, to avoid a differing
1158 declaration from a system header. Seen on AIX.
1160 2006-03-01 Paul Eggert <eggert@cs.ucla.edu>
1162 * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
1163 not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
1165 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
1166 * timespec.m4 (gl_TIMESPEC): Likewise.
1168 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
1169 not "==". Reported by Ralf Wildenhues.
1171 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1173 Sync from coreutils.
1174 * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
1177 2006-02-22 Jim Meyering <jim@meyering.net>
1179 Sync from coreutils.
1180 * chdir-safer.m4: New file.
1182 2006-02-17 Eric Blake <address@hidden>
1184 * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
1186 2006-02-15 Eric Blake <ebb9@byu.net>
1188 * sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using
1189 winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes
1190 'present but cannot compile' warnings on cygwin.
1191 * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET. Don't
1192 use ws2tcpip.h if sys/socket.h works.
1193 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_HEADER_SYS_SOCKET.
1194 (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is present.
1196 2006-02-14 Jim Meyering <jim@meyering.net>
1198 Sync from coreutils.
1199 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
1200 unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
1201 gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
1202 variable, to accommodate the rare case in which getmntent is
1203 available in none of the libraries checked. This happens at
1204 least on FreeBSD 5.0.
1206 2006-02-05 Paul Eggert <eggert@cs.ucla.edu>
1208 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
1209 __EXTENSIONS__ if this causes compilation to fail. Problem
1210 reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
1211 c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
1213 2006-01-25 Simon Josefsson <jas@extundo.com>
1215 * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
1216 -lws2_32. Protect sys/socket.h and netdb.h #include's. Include
1217 ws2tcpip.h with WINVER=0x0501. All for mingw32.
1219 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
1221 * stdbool.m4 (AC_HEADER_STDBOOL): Check for xlc bug if __GCC__ too,
1222 so that we test the test.
1223 Check for yet another HP-UX cc bug involving *bool |= bool.
1225 2006-01-24 Bruno Haible <bruno@clisp.org>
1227 * stdbool.m4 (AC_HEADER_STDBOOL): Check for IBM and HP-UX bugs.
1228 Patch by Paul Eggert.
1230 2006-01-24 Jim Meyering <jim@meyering.net>
1232 * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
1233 Reported by Mark D. Baushke.
1235 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
1237 * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
1239 2006-01-20 Paul Eggert <eggert@cs.ucla.edu>
1241 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
1242 rather than -Xlinker -z -Xlinker ignore, as it's more portable.
1243 Suggested by Bruno Haible.
1245 2006-01-19 Simon Josefsson <jas@extundo.com>
1247 * socklen.m4: Look in ws2tcpip.h too, for mingw32.
1249 2006-01-16 Paul Eggert <eggert@cs.ucla.edu>
1251 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
1252 it's not portable and it doesn't work with cross-compiles.
1253 Problem reported by Bruno Haible. Fix missing-$ typo in
1254 'test "gl_cv_ignore_unused_libraries" ...' that prevented
1255 -zignore from being used with Sun's C compiler.
1257 2006-01-12 Bruno Haible <bruno@clisp.org>
1261 2006-01-08 Bruno Haible <bruno@clisp.org>
1263 Ensure automatic ordering between gl_LOCK and gl_ARGP.
1264 * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK.
1265 (gl_LOCK): New macro, requiring gl_LOCK_BODY.
1267 2006-01-10 Jim Meyering <jim@meyering.net>
1269 * fpending.m4: Also include <stdio.h>, for Dragonfly.
1270 Patch by Joerg Sonnenberger.
1272 2006-01-10 Paul Eggert <eggert@cs.ucla.edu>
1274 * memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
1275 the 2002-12-31 change. Problem and fix reported by Bruno Haible.
1276 People who are still concerned with buggy memcmp implementations
1277 can invoke gl_FUNC_MEMCMP themselves.
1279 2006-01-10 Simon Josefsson <jas@extundo.com>
1281 * sys_socket_h.m4: New file.
1283 2006-01-10 Bruno Haible <bruno@clisp.org>
1285 * localcharset.m4 (gl_LOCALCHARSET): Also test for getc_unlocked.
1286 Reported by Werner Lemberg <wl@gnu.org>.
1288 2006-01-09 Paul Eggert <eggert@cs.ucla.edu>
1290 Sync from coreutils.
1291 * lib-ignore.m4: New file.
1292 * lchmod.m4: New file.
1294 2006-01-09 Jim Meyering <jim@meyering.net>
1296 Sync from coreutils.
1297 * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
1298 Require openat-priv.h.
1300 2006-01-09 Andreas Gruenbacher <agruen@suse.de>
1302 Sync from coreutils.
1303 * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
1305 2005-10-16 Bruno Haible <bruno@clisp.org>
1307 * stdint.m4 (gl_STDINT_H): Also test for <sys/bitypes.h>.
1309 2005-12-16 Jim Meyering <jim@meyering.net>
1311 * fprintftime.m4: New file.
1313 2005-12-10 Sergey Poznyakoff <gray@gnu.org.ua>
1315 * argp.m4: Define HAVE_DECL_PROGRAM_INVOCATION_NAME and
1316 HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
1318 2005-12-09 Sergey Poznyakoff <gray@gnu.org.ua>
1320 * argp.m4: Check if program_invocation_name and
1321 program_invocation_short_name are declared and define appropriate
1322 macros if they are not.
1324 2005-12-07 Paul Eggert <eggert@cs.ucla.edu>
1326 * stat-time.m4 (gl_STAT_TIME): Add check for
1327 TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
1328 porting problem reported by Georg Schwarz in
1329 <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
1331 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
1333 * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
1334 Use implementation from Albert Chin, with some
1335 comments/corrections by Stepan Kasal and myself.
1337 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
1339 * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
1340 statement, to work around an HP-UX 10.20 compiler bug reported by
1343 2005-11-10 Paul Eggert <eggert@cs.ucla.edu>
1345 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
1346 or gettimeofday; no longer needed.
1348 2005-10-30 Paul Eggert <eggert@cs.ucla.edu>
1350 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
1351 variables to suggest the intended function of the PATH_MAX check.
1353 2005-10-30 Kean Johnston <jkj@sco.com>
1355 Trivial changes to support SCO systems.
1356 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
1358 * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
1359 where __ptr is null when no I/O is pending.
1361 2005-10-28 Simon Josefsson <jas@extundo.com>
1363 * inet_ntop.m4: More tests.
1365 * gc-md2.m4, md2.m4: New file.
1367 2005-10-22 Simon Josefsson <jas@extundo.com>
1369 * gc.m4: Don't be fooled by --disable-*random-device parameters,
1370 suggested by Bruno Haible <bruno@clisp.org>. Fix error messages.
1372 2005-10-21 Simon Josefsson <jas@extundo.com>
1374 * gc.m4: Don't use libgcrypt if gcrypt.h isn't found, suggested by
1375 Bruno Haible <bruno@clisp.org>.
1377 * gc-des.m4: New file.
1379 2005-10-21 Simon Josefsson <jas@extundo.com>
1381 * arctwo.m4: New file.
1383 * gc-arctwo.m4: New file.
1385 2005-10-19 Simon Josefsson <jas@extundo.com>
1387 * gc-arcfour.m4: New file.
1389 * gc-rijndael.m4: New file.
1391 2005-10-19 Simon Josefsson <jas@extundo.com>
1393 * gc-hmac-md5.m4, gc-hmac-sha1.m4, gc-md4.m4,
1394 gc-md5.m4, gc-sha1.m4: Fix typo, suggested by Stepan Kasal
1397 2005-10-19 Simon Josefsson <jas@extundo.com>
1399 * gc-md4.m4: New file.
1401 2005-10-18 Simon Josefsson <jas@extundo.com>
1405 2005-10-17 Bruno Haible <bruno@clisp.org>
1407 * stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so that
1408 it can also be used in a test.
1410 2005-10-11 Simon Josefsson <jas@extundo.com>
1412 * md5.m4: Remove call to uint32_t.m4.
1414 2005-10-15 Simon Josefsson <jas@extundo.com>
1416 * rijndael.m4: New file.
1418 2005-10-14 Simon Josefsson <jas@extundo.com>
1420 * arcfour.m4: New file.
1422 2005-10-12 Bruno Haible <bruno@clisp.org>
1424 * stdbool.m4 (gl_STDBOOL_H): Define as an alias of AM_STDBOOL_H.
1425 Reported by Stepan Kasal <kasal@ucw.cz>.
1427 2005-10-12 Simon Josefsson <jas@extundo.com>
1429 * gc-pbkdf2-sha1.m4: New file.
1431 * gc-hmac-sha1.m4: New file.
1433 * gc-sha1: New file.
1435 * hmac-sha1.m4: New file.
1437 2005-10-12 Simon Josefsson <jas@extundo.com>
1439 * gc-md5.m4, gc-hmac-md5: New files.
1441 * gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5.
1443 2005-10-11 Simon Josefsson <jas@extundo.com>
1447 2005-10-07 Simon Josefsson <jas@extundo.com>
1449 * memxor.m4: Remove gl_C_RESTRICT call.
1451 2005-10-06 Paul Eggert <eggert@cs.ucla.edu>
1453 * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
1454 promotes to int, not unsigned int, to catch the AIX 5.3
1457 2005-10-06 Simon Josefsson <jas@extundo.com>
1459 * hmac-md5.m4: New file.
1461 * memxor.m4: Require gl_C_RESTRICT.
1463 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
1465 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for
1466 sys/socket.h, netdb.h, sys/types.h; the checks areno longer
1467 needed, since the source code now assumes these .h files.
1469 2005-10-05 Simon Josefsson <jas@extundo.com>
1471 * memxor.m4: New file.
1473 2005-10-02 Paul Eggert <eggert@cs.ucla.edu>
1475 Sync from coreutils.
1476 * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
1477 * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
1478 defines ULONG_MAX_LT_ULLONG_MAX. Thomas M.Ott reports that
1479 ULLONG_MAX doesn't work with 2.7.2.1.
1481 2005-10-02 Jim Meyering <jim@meyering.net>
1483 Sync from coreutils.
1484 * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
1485 from glibc-2.2.5 that fails for read-only files.
1487 2005-10-02 Alfred M. Szmidt <ams@gnu.org>
1489 Sync from coreutils.
1490 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
1491 against `yes', rather than just testing for nonempty.
1493 2005-10-01 Simon Josefsson <jas@extundo.com>
1495 * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
1498 * getaddrinfo.m4: Use AC_GNU_SOURCE, GNU only declare getaddrinfo
1499 as an (POSIX) extension. Check for sys/types.h, sys/socket.h, and
1500 netdb.h too, needed by getaddrinfo.h. Check if getaddrinfo,
1501 freeaddrinfo and gai_strerror are declared by the POSIX headers.
1502 Check if struct addrinfo is declared.
1504 2005-10-01 Jim Meyering <jim@meyering.net>
1506 Sync from coreutils.
1508 * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
1509 libraries [inet nsl socket xnet]. Nelson Beebe reported that with
1510 native cc on Solaris 7, getaddrinfo.c requires -lsocket.
1511 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
1512 in the inet and nsl libraries. Required on Solaris 5.7.
1514 2005-09-24 Jim Meyering <jim@meyering.net>
1516 Sync from coreutils.
1517 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
1518 in the inet and nsl libraries. Required on Solaris 5.7.
1520 2005-09-26 Bruno Haible <bruno@clisp.org>
1522 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
1523 mbchar.c if they are not both present.
1524 * mbfile.m4 (gl_MBFILE): Require gl_FUNC_MBRTOWC.
1525 * mbiter.m4 (gl_MBITER): Likewise.
1526 * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
1527 * strcasestr.m4 (gl_PREREQ_STRCASESTR): Likewise.
1528 * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
1530 2005-09-23 Paul Eggert <eggert@cs.ucla.edu>
1532 * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
1533 and similarly for the other external symbols. Problem reported
1536 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
1537 bug reported by Jim Meyering.
1539 * utimens.m4 (gl_UTIMENS): Check for futimesat.
1540 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
1541 not needed, since socklen is a prerequisite module.
1543 2005-09-23 Jim Meyering <jim@meyering.net>
1545 Sync from coreutils.
1546 Correct build failure (socklen_t not defined) on at least
1547 mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
1548 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
1550 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
1552 Sync from coreutils.
1553 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
1555 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
1557 Sync from coreutils.
1559 * backupfile.m4, calloc.m4, chown.m4, cloexec.m4, dup2.m4:
1560 * fileblocks.m4, free.m4, ftruncate.m4, getcwd.m4, getpagesize.m4:
1561 * getugroups.m4, group-member.m4, idcache.m4, link-follow.m4:
1562 * mkstemp.m4, mktime.m4, mountlist.m4, nanosleep.m4, pathmax.m4:
1563 * physmem.m4, posixver.m4, putenv.m4, safe-read.m4, same.m4:
1564 * save-cwd.m4, stdio-safer.m4, unistd-safer.m4, unlinkdir.m4:
1565 * userspec.m4, xgetcwd.m4, xreadlink.m4:
1566 Don't bother checking for string.h, stdlib.h, unistd.h.
1567 * fts.m4 (gl_FUNC_FTS_CORE): Don't require
1568 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
1570 * jm-macros.m4 (gl_MACROS): Likewise.
1571 * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
1573 * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
1574 (gl_GETDATE): Use it.
1576 * mkdir-p.m4 (gl_MKDIR_PARENTS): Don't bother checking for unistd.h.
1578 2005-09-22 Jim Meyering <jim@meyering.net>
1580 Sync from coreutils.
1582 * lstat.m4 (gl_FUNC_LSTAT):
1583 Use AC_LIBSOURCES to require lstat.c and lstat.h.
1584 Remove obsolete comment.
1585 * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
1586 * xstrtod.m4: Likewise.
1588 * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
1590 2005-09-19 Simon Josefsson <jas@extundo.com>
1592 * socklen.m4: Fix typo.
1594 2005-09-15 Paul Eggert <eggert@cs.ucla.edu>
1596 * st_mtim.m4: Remove. Superseded by...
1597 * stat-time.m4: New file.
1598 * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
1599 Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
1601 2005-09-15 Derek Price <derek@ximbiot.com>
1603 * strstr.m4 (gl_FUNC_STRSTR): Don't define strstr here.
1605 2005-09-12 Derek Price <derek@ximbiot.com>
1607 Make canon-host require getaddrinfo.
1608 * canon-host.m4 (gl_CANON_HOST): Remove most dependencies.
1609 AC_LIBSOURCE canon-host.h. Call...
1610 (gl_PREREQ_CANON_HOST): ...this new function, which requires
1612 * getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when needed.
1614 2005-09-12 Derek Price <derek@ximbiot.com>
1615 Paul Eggert <eggert@cs.ucla.edu>
1617 * glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c,
1618 glob_.h, glob-libc.h.
1619 (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed.
1621 2005-08-31 Simon Josefsson <jas@extundo.com>
1623 * socklen.m4: New file.
1625 2005-09-03 Derek Price <derek@ximbiot.com>
1627 * getlogin_r (gl_GETLOGIN_R): Fix cut & paste error.
1628 From Larry Jones <lawrence.jones@ugs.com>.
1630 2005-08-27 Bruno Haible <bruno@clisp.org>
1632 Support for lib vs. lib64 distinction on biarch platforms.
1633 * lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): New macro.
1634 (AC_LIB_PREFIX): Require it. Use $acl_libdirstem instead of 'lib'.
1635 * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
1637 2005-09-01 Jim Meyering <jim@meyering.net>
1639 * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
1640 CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
1641 Require gl_STAT_MACROS, too.
1643 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
1645 * regex.m4 (gl_REGEX): Require AC_SYS_LARGEFILE, Define
1646 _REGEX_LARGE_OFFSETS). Test for regoff_t/off_t bug in 64-bit
1647 and large-file glibc and in 32-bit large-file Solaris.
1649 2005-08-28 Bruno Haible <bruno@clisp.org>
1651 * gnulib-tool.m4: New file.
1653 2005-08-27 Jim Meyering <jim@meyering.net>
1655 * stdlib-safer.m4: New file. From coreutils.
1656 * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h.
1657 * fcntl-safer.m4 (gl_FCNTL_SAFER): Add creat-safer.c to the
1658 AC_LIBSOURCES list and arrange to compile it via AC_LIBOBJ.
1659 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise, add pipe-safer.c.
1660 Add pipe-safer.c and unistd--.h to the AC_LIBSOURCES list.
1662 2005-08-24 Simon Josefsson <jas@extundo.com>
1664 * getpass.m4: Check for termios.h, tcgetattr, tcsetattr, and
1667 2005-08-25 Stepan Kasal <kasal@ucw.cz>
1669 * regex.m4: Add AC_PREREQ(2.50).
1670 (gl_REGEX): If --with-included-regex was given, skip the autodetection.
1672 2005-08-25 Bruno Haible <bruno@clisp.org>
1674 * minmax.m4: Require autoconf 2.52.
1675 (gl_MINMAX_IN_HEADER): Add comments. Use m4_pushdef/m4_popdef instead
1676 of define/undefine. Use AS_TR_SH and AS_TR_CPP as more robust
1677 alternatives of translit over the alphabet.
1678 Based on a patch from Stepan Kasal <kasal@ucw.cz>.
1680 2005-08-24 Paul Eggert <eggert@cs.ucla.edu>
1682 * regex.m4 (gl_REGEX): Use POSIX-compliant spellings when testing
1683 for GNU regex features.
1685 2005-08-24 Jim Meyering <jim@meyering.net>
1687 Sync from coreutils.
1688 * fcntl-safer.m4: New file.
1690 * xgetcwd.m4: Use AC_LIBSOURCES and AC_LIBOBJ to indicate source
1691 and object files for this module.
1693 2005-08-23 Paul Eggert <eggert@cs.ucla.edu>
1695 * regex.m4 (gl_INCLUDED_REGEX): Remove; no longer used.
1696 All contents moved to gl_REGEX.
1697 (gl_REGEX): Don't bother checking whether lib/regex.c exists;
1698 assume that it does.
1700 2005-08-20 Bruno Haible <bruno@clisp.org>
1702 * regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
1704 2005-08-17 Bruno Haible <bruno@clisp.org>
1706 * strcasestr.m4: New file.
1708 2005-08-17 Bruno Haible <bruno@clisp.org>
1710 * strstr.m4 (gl_FUNC_STRSTR): Use the replacement function always.
1711 (gl_PREREQ_STRSTR): Use gl_FUNC_MBRTOWC.
1713 2005-08-16 Paul Eggert <eggert@cs.ucla.edu>
1715 * getopt.m4 (gl_GETOPT_CHECK_HEADERS): Do not override the results
1716 of gl_GETOPT_SUBSTITUTE. That way, if both gl_GETOPT_SUBSTITUTE
1717 and gl_GETOPT are both invoked via different paths (as happens
1718 with GNU tar CVS because it uses both argp and getopt), the former
1721 2005-08-16 Bruno Haible <bruno@clisp.org>
1723 * strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function always.
1724 (gl_PREREQ_STRCASECMP): Use gl_FUNC_MBRTOWC.
1726 2005-08-16 Bruno Haible <bruno@clisp.org>
1728 * mbfile.m4: New file.
1730 2005-08-16 Bruno Haible <bruno@clisp.org>
1732 * mbiter.m4: New file.
1734 2005-08-16 Bruno Haible <bruno@clisp.org>
1736 * mbchar.m4: New file.
1738 2005-08-16 Bruno Haible <bruno@clisp.org>
1740 * tls.m4: New file, from GNU gettext.
1742 2005-08-12 Bruno Haible <bruno@clisp.org>
1744 * readline.m4 (gl_FUNC_READLINE): Look for ncurses first.
1746 2005-08-12 Simon Josefsson <jas@extundo.com>
1748 * readline.m4: Look for termcap, curses or ncurses if required.
1750 2005-08-11 Simon Josefsson <jas@extundo.com>
1752 * readline.m4: New file.
1754 2005-08-10 Simon Josefsson <jas@extundo.com>
1756 * strnlen.m4: New file.
1758 * strndup.m4: Don't check for strnlen declaration, done in
1761 2005-08-10 Stepan Kasal <kasal@ucw.cz>
1763 * onceonly_2_57.m4: Really require Autoconf 2.57.
1765 2005-08-02 Simon Josefsson <jas@extundo.com>
1767 * getline.m4: Separate out getdelim stuff into separate module.
1769 * getdelim.m4: New file.
1771 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1773 Add support to getopt for Emacs, which doesn't use LIBOBJS in the
1775 * getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER): New macro.
1776 (gl_GETOPT_SUBSTITUTE): Use it. Invoke gl_PREREQ_GETOPT.
1777 (gl_GETOPT_IFELSE, gl_GETOPT_CHECK_HEADERS): New macros.
1778 (gl_GETOPT): Use the new macros. Most of the implementation
1779 is moved to the new macros. This is for programs like Emacs
1780 that don't want all the functionality of gl_GETOPT.
1782 2005-07-26 Bruno Haible <bruno@clisp.org>
1784 * lock.m4: Update from GNU gettext.
1786 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1788 * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_IFELSE instead of the
1789 obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
1791 2005-07-24 Bruno Haible <bruno@clisp.org>
1793 * visibility.m4: New file.
1795 2005-07-18 Bruno Haible <bruno@clisp.org>
1797 * lock.m4: New file, from GNU gettext.
1799 2005-06-01 Bruno Haible <bruno@clisp.org>
1801 * poll.m4 (gl_FUNC_POLL): Check against MacOS X 10.4 poll() bug.
1802 When using lib/poll.c, define poll as rpl_poll.
1804 2005-07-14 Bruno Haible <bruno@clisp.org>
1806 * argp.m4 (gl_ARGP): Remove invocation of gl_FUNC_GLIBC_UNLOCKED_IO.
1807 Instead, test for *_unlocked function declarations directly.
1809 2005-07-14 Derek Price <derek@ximbiot.com>
1811 * glob.m4 (gl_GLOB): Cache glob interface check result. Add check for
1814 2005-07-10 Bruno Haible <bruno@clisp.org>
1816 * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t.
1817 Needed when size_t is smaller than 'unsigned int'.
1818 Reported by Paul Eggert.
1820 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1822 * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1823 * same.m4 (gl_SAME): Likewise.
1824 Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1826 * regex.m4: Adjust to new libc regex implementation.
1827 (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
1828 all the .c and .h parts of (the new) regex.
1829 Quote the m4 stuff better.
1830 Check for RE_ICASE bug of old gnulib.
1831 Check for REG_STARTEND of recent libc.
1832 Rename local variables from jm_* to gl_*.
1833 Quote operand of "test -f".
1834 Say "recent enough" version of libc, not "version 2".
1835 (gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a
1836 prerequisite module. Remove AC_HEADER_STDC; no longer needed.
1837 Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll.
1838 Remove check for btowc, isascii.
1839 Require AM_LANGINFO_CODESET.
1841 2005-07-05 Bruno Haible <bruno@clisp.org>
1843 * mbrtowc.m4 (gl_FUNC_MBRTOWC): Upgrade to version from current
1844 autoconf CVS. Needed for mingw.
1846 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1848 Remove the dependency of the strftime module on the tzset module.
1849 * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1851 2005-07-02 Jim Meyering <jim@meyering.net>
1853 * chown.m4, cloexec.m4, dup2.m4, fsusage.m4:
1854 * getcwd-path-max.m4, getcwd.m4, mkstemp.m4, mountlist.m4:
1855 * pagealign_alloc.m4, save-cwd.m4, unistd-safer.m4:
1856 Don't check for fcntl.h, and don't test for HAVE_FCNTL_H.
1858 2005-06-28 Simon Josefsson <jas@extundo.com>
1860 * check-version.m4: New file, suggested by Jim Meyering
1863 2005-06-24 Derek Price <derek@ximbiot.com>
1864 and Bruno Haible <bruno@clisp.org>
1866 Remove stat module & update lstat.
1867 * lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
1868 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1869 * stat.m4: Remove this file.
1871 2005-06-20 Derek Price <derek@ximbiot.com>
1873 * bison.m4: Note that precious decls of YACC & YFLAGS will be
1874 unnecessary for Autoconfs > 2.59c.
1876 2005-06-16 Derek Price <derek@ximbiot.com>
1878 * bison.m4: Declare YACC & YFLAGS precious.
1880 2005-06-08 Bruno Haible <bruno@clisp.org>
1882 * csharpcomp.m4: New file, from GNU gettext.
1884 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1886 Sync from coreutils.
1887 * mkdir-p.m4: Renamed from makepath.m4.
1888 (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed.
1889 Rename files from makepath.c to mkdir-p.c, and from
1890 makepath.h to mkdir-p.h.
1891 * filenamecat.m4: Renamed from path-concat.m4.
1892 (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed.
1893 Rename files from path-concat.c to filenamecat.c,
1894 and from path-concat.h to filenamecat.h.
1895 * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1896 "file name" in local variables or comments.
1897 * rename.m4: Likewise.
1899 2005-06-01 Bruno Haible <bruno@clisp.org>
1901 * csharp.m4: New file, from GNU gettext.
1902 * csharpexec.m4: New file, from GNU gettext.
1904 2005-05-31 Derek Price <derek@ximbiot.com>
1905 Paul Eggert <eggert@cs.ucla.edu>
1908 * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
1910 2005-05-29 Derek Price <derek@ximbiot.com>
1911 Paul Eggert <eggert@cs.ucla.edu>
1913 * glob.m4: New file.
1915 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1917 * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1918 and don't require gt_INTTYPES_PRI.
1920 2005-05-26 Paul Eggert <eggert@cs.ucla.edu>
1922 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Define
1923 _POSIX_PTHREAD_SEMANTICS for Solaris.
1925 2005-05-25 Derek Price <derek@ximbiot.com>
1926 Paul Eggert <eggert@cs.ucla.edu>
1928 * getlogin_r.m4: New files.
1930 2005-05-22 Bruno Haible <bruno@clisp.org>
1932 * minmax.m4: New file.
1933 Based on a patch by Derek Price <derek@ximbiot.com>.
1935 2005-05-20 Paul Eggert <eggert@cs.ucla.edu>
1937 * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1938 (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1940 2005-05-20 Eric Blake <ebb9@byu.net> (tiny change)
1942 * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1945 2005-05-18 Paul Eggert <eggert@cs.ucla.edu>
1947 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1948 Don't check for stddef.h.
1949 * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1950 don't use its results.
1951 Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1952 since we include them unconditionally. Don't require
1953 AM_STDBOOL_H, since stdbool is a prerequisite.
1954 Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1955 since we assume C89 or better.
1956 Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1957 as we don't use their results.
1958 Don't check for fchdir, memmove, memset, strrchr, as we use
1959 them unconditionally.
1960 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1961 GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1963 2005-05-18 Jim Meyering <jim@meyering.net>
1965 * fts.m4 (AC_LIBSOURCES): Add intprops.h to the list.
1966 Reported by Yoann Vandoorselaere.
1968 2005-05-17 Jim Meyering <jim@meyering.net>
1970 * fts.m4: New file, from coreutils.
1972 2005-05-14 Paul Eggert <eggert@cs.ucla.edu>
1974 Sync from coreutils.
1975 * unlinkdir.m4: New file.
1977 2005-05-10 Derek Price <derek@ximbiot.com>
1979 * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1982 2005-05-10 Simon Josefsson <jas@extundo.com>
1984 * getaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
1985 Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
1987 2005-05-09 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
1988 Bruno Haible <bruno@clisp.org>
1990 * inet_ntop.m4: New file.
1992 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1994 * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1997 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1999 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
2000 * lchown.m4 (gl_FUNC_CHOWN): Likewise.
2001 (gl_PREREQ_CHOWN): Remove.
2002 * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
2003 it. Don't require AC_HEADER_STAT.
2004 (gl_PREREQ_LSTAT): Remove.
2005 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
2006 Don't require AC_HEADER_STAT.
2007 * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
2008 (gl_PREREQ_RMDIR): Remove.
2009 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
2010 mention stat-macros.h or AC_HEADER_STAT, since we'll make
2011 the stat-macros module a prerequisite.
2012 * file-type.m4 (gl_FILE_TYPE): Likewise.
2013 * filemode.m4 (gl_FILEMODE): Likewise.
2014 * makepath.m4 (gl_MAKEPATH): Likewise.
2015 * modechange.m4 (gl_MODECHANGE): Likewise.
2016 * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
2018 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
2019 fetish_FUNC_RMDIR_NOTEMPTY. All uses changed. Use gl_ for
2021 * fcntl-safer.m4: Remove.
2022 * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
2023 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
2024 Invoke gl_PREREQ_FD_SAFER.
2025 (gl_PREREQ_FD_SAFER): New macro.
2026 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Check for siginterrupt.
2027 * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
2028 Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
2029 Remove duplicate call to AC_LIBOBJ(readutmp).
2030 (gl_PREREQ_READUTMP): Remove. All uses inlined.
2032 * mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check for message, not for
2033 MAP_ANON. Problem reported by Moriyoshi Koizumi to bug-cvs.
2035 2005-05-01 Oskar Liljeblad <oskar@osk.mine.nu>
2037 * byteswap.m4: New file.
2041 * gettext.m4: Update from GNU gettext 0.14.4.
2043 2005-04-15 Simon Josefsson <jas@extundo.com>
2045 * getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
2047 2005-03-28 Eric Blake <ebb9@byu.net> (tiny change)
2049 * getcwd-path-max.m4: Return success on systems such as Cygwin
2050 where no absolute path name can be longer than PATH_MAX.
2052 2005-03-22 Jim Meyering <jim@meyering.net>
2054 * stat-macros.m4 (gl_STAT_MACROS): New file/macro.
2056 2005-03-21 Jim Meyering <jim@meyering.net>
2057 and Paul Eggert <eggert@cs.ucla.edu>
2059 * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4,
2060 cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4,
2061 exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4,
2062 getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4,
2063 getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4,
2064 idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4,
2065 memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4,
2066 path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4,
2067 quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4,
2068 safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4,
2069 strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4,
2070 unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4,
2071 xnanosleep.m4, xstrtol.m4, yesno.m4:
2072 Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files
2075 2005-03-21 Jim Meyering <jim@meyering.net>
2077 * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Invoke gl_FUNC_MEMRCHR.
2078 * memrchr.m4 (gl_FUNC_MEMRCHR): Check for memrchr decl.
2080 2005-03-16 Bruno Haible <bruno@clisp.org>
2082 * stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
2083 HAVE_LONGLONG_64BIT.
2085 2005-03-14 Bruno Haible <bruno@clisp.org>
2087 * lib-link.m4, gettext.m4, nls.m4, po.m4:
2088 Update from GNU gettext 0.14.3.
2090 2005-03-10 Jim Meyering <jim@meyering.net>
2092 * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
2094 2005-03-07 Bruno Haible <bruno@clisp.org>
2096 * mmap-anon.m4 (MAP_FILE, MAP_FAILED): Remove definitions.
2098 2005-03-03 Bruno Haible <bruno@clisp.org>
2100 * inttypes.m4, isc-posix.m4, once-only.m4:
2101 Use an all-permissive copyright notice, recommended by RMS.
2103 2005-03-03 Derek R. Price <derek@ximbiot.com>
2105 * mmap-anon.m4: New file.
2106 * pagealign_alloc.m4: New file.
2108 2005-01-28 Bruno Haible <bruno@clisp.org>
2110 * stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because of
2111 AIX, the replacement has to be done only after <string.h> is included,
2112 therefore not in config.h. stpncpy.h does the replacement, and
2115 2005-03-01 Paul Eggert <eggert@cs.ucla.edu>
2117 * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
2118 to detect nanosleep bug.
2120 2005-02-25 Paul Eggert <eggert@cs.ucla.edu>
2122 * gethrxtime.m4, xnanosleep.m4: New files.
2123 * gettime.m4 (gl_GETTIME): Check for nanotime.
2125 2005-02-24 Bruno Haible <bruno@clisp.org>
2127 * gettext.m4, intdiv0.m4, intmax.m4, inttypes-pri.m4, lcmessage.m4:
2128 * lib-link.m4, lib-prefix.m4, nls.m4, po.m4, printf-posix.m4:
2130 Update from GNU gettext 0.14.2.
2131 * glibc2.m4: New file, from GNU gettext 0.14.2.
2133 2005-02-22 Simon Josefsson <jas@extundo.com>
2135 * iconvme.m4: New file.
2137 2005-02-23 Jim Meyering <jim@meyering.net>
2139 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
2140 Thanks to Bruno Haible for catching it.
2142 2005-02-22 Jim Meyering <jim@meyering.net>
2144 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
2146 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
2148 * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
2150 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
2152 Sync from coreutils.
2153 * getloadavg.m4, glibc.m4, search-libs.m4: Remove.
2155 Remove files that are specific to coreutils.
2156 * check-decl.m4, jm-macros.m4, lib-check.m4, prereq.m4: Remove.
2158 2005-01-28 Bruno Haible <bruno@clisp.org>
2160 * javacomp.m4: New file, from GNU gettext.
2162 2005-01-26 Bruno Haible <bruno@clisp.org>
2164 * javaexec.m4: New file, from GNU gettext.
2166 2005-01-24 Sergey Poznyakoff <gray@Mirddin.farlep.net>
2168 * sysexits.m4 (gl_SYSEXITS): Reverted logic. SYSEXITS_H
2169 must be defined if the header file was not found, in order
2170 to provide a replacement. Reported by Todd Vierling <tv@duh.org>
2172 2005-01-23 Paul Eggert <eggert@cs.ucla.edu>
2174 * acl.m4, afs.m4, alloca.m4, argp.m4, assert.m4, atexit.m4,
2175 backupfile.m4, base64.m4, bison.m4, c-bs-a.m4, c-stack.m4,
2176 c-strtod.m4, calloc.m4, canon-host.m4, canonicalize.m4,
2177 clock_time.m4, cloexec.m4, closeout.m4, d-ino.m4, d-type.m4,
2178 dirfd.m4, dirname.m4, dos.m4, dup2.m4, error.m4, euidaccess.m4,
2179 exclude.m4, exitfail.m4, extensions.m4, fcntl-safer.m4,
2180 file-type.m4, fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4,
2181 free.m4, fstypename.m4, fsusage.m4, ftruncate.m4, getaddrinfo.m4,
2182 getcwd-path-max.m4, getcwd.m4, getdate.m4, getdomainname.m4,
2183 getgroups.m4, gethostname.m4, getline.m4, getndelim2.m4,
2184 getnline.m4, getopt.m4, getpagesize.m4, getpass.m4, getsubopt.m4,
2185 gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4,
2186 group-member.m4, hard-locale.m4, hash.m4, host-os.m4, human.m4,
2187 idcache.m4, inttostr.m4, isdir.m4, jm-winsz1.m4, jm-winsz2.m4,
2188 link-follow.m4, long-options.m4, ls-mntd-fs.m4, lstat.m4,
2189 makepath.m4, mathl.m4, md5.m4, memcasecmp.m4, memchr.m4,
2190 memcmp.m4, memcoll.m4, memcpy.m4, memmem.m4, memmove.m4,
2191 memrchr.m4, memset.m4, mkdir-slash.m4, mkstemp.m4, mktime.m4,
2192 modechange.m4, mountlist.m4, nanosleep.m4, obstack.m4,
2193 path-concat.m4, pathmax.m4, perl.m4, physmem.m4, poll.m4,
2194 posixtm.m4, posixver.m4, putenv.m4, quote.m4, quotearg.m4,
2195 readdir.m4, readtokens.m4, readutmp.m4, regex.m4, rename.m4,
2196 restrict.m4, rmdir-errno.m4, rmdir.m4, rpmatch.m4, same.m4,
2197 savedir.m4, settime.m4, sha1.m4, sig2str.m4, snprintf.m4,
2198 sockpfaf.m4, st_dm_mode.m4, st_mtim.m4, stat.m4, stdint.m4,
2199 stdio-safer.m4, strchrnul.m4, strdup.m4, strerror.m4,
2200 strerror_r.m4, strftime.m4, strndup.m4, strnlen.m4, strsep.m4,
2201 strtod.m4, strtoimax.m4, strtok_r.m4, strtol.m4, strtoll.m4,
2202 strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4, sysexits.m4,
2203 time_r.m4, timegm.m4, timespec.m4, tm_gmtoff.m4, tzset.m4,
2204 uint32_t.m4, uintptr_t.m4, unistd-safer.m4, unlink-busy.m4,
2205 unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4, utime.m4,
2206 utimecmp.m4, utimens.m4, utimes-null.m4, vsnprintf.m4, xalloc.m4,
2207 xgetcwd.m4, xreadlink.m4, xstrndup.m4, xstrtod.m4, xstrtoimax.m4,
2208 xstrtol.m4, xstrtoumax.m4, yesno.m4:
2209 Use an all-permissive copyright notice, recommended by RMS.
2211 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
2213 * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
2215 2005-01-18 Paul Eggert <eggert@cs.ucla.edu>
2217 Merge from coreutils.
2218 * ullong_max.m4: New file.
2219 * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
2220 (gl_MACROS): Assume localeconv exists.
2222 2005-01-18 Jim Meyering <jim@meyering.net>
2224 Merge from coreutils.
2225 * chdir-long.m4, openat.m4: New files.
2226 * save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c,
2227 save-cwd.h. Add AC_LIBOBJ for save-cwd.
2228 * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
2229 is sane and DOES follow symlinks. Besides, testing 20 different
2230 systems found no broken chown implementations.
2231 Prompted by a change in rsync's copy of this macro.
2232 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR_LONG.
2234 * lchown.m4 (gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
2236 * utimes.m4: Work around tests/touch/empty-file failure on a system
2237 (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
2238 NULL-means-set-to-current-time semantics.
2239 Remove temporary file immediately, rather than waiting
2240 for configure's at-exit trap code to do it.
2242 2005-01-18 Bruno Haible <bruno@clisp.org>
2244 * allocsa.m4, codeset.m4, copy-file.m4, eaccess.m4, eealloc.m4:
2245 * eoverflow.m4, execute.m4, fatal-signal.m4, findprog.m4, glibc21.m4:
2246 * iconv.m4, intmax_t.m4, inttypes_h.m4, lib-ld.m4, lib-link.m4:
2247 * lib-prefix.m4, linebreak.m4, localcharset.m4, longdouble.m4:
2248 * longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mkdtemp.m4:
2249 * pipe.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4:
2250 * sig_atomic_t.m4, signalblocking.m4, signed.m4, size_max.m4:
2251 * ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4, stpncpy.m4:
2252 * strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, ucs4-utf.m4:
2253 * uintmax_t.m4, ulonglong.m4, unicodeio.m4, utf-ucs4.m4, vasnprintf.m4:
2254 * vasprintf.m4, wait-process.m4, wchar_t.m4, wint_t.m4, xsize.m4:
2255 Use an all-permissive copyright notice, recommended by RMS.
2257 2005-01-06 Bruno Haible <bruno@clisp.org>
2259 * stpncpy.m4 (gl_FUNC_STPNCPY): Rename stpncpy to gnu_stpncpy here.
2261 2005-01-04 Jim Meyering <jim@meyering.net>
2263 Changes imported from coreutils.
2264 * mkstemp.m4 (gl_FUNC_MKSTEMP): Rather than using "conftestXXXXXX"
2265 as the mkstemp template, use a temporary directory and an
2266 8.3-friendly template to avoid trouble on systems like DJGPP.
2267 Reported by Juan M. Guerrero via Stepan Kasal.
2268 * (gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of close.
2269 Remove the temporary directory right away, rather than waiting
2270 for configure's at-exit trap code to do it.
2271 Suggestion from Stepan Kasal.
2273 2004-12-24 Paul Eggert <eggert@cs.ucla.edu>
2275 * c-strtod.m4 (gl_C99_STRTOLD): New macro.
2276 (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
2278 2004-12-23 Paul Eggert <eggert@cs.ucla.edu>
2280 * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
2282 2004-12-18 Bruno Haible <bruno@clisp.org>
2284 * fatal-signal.m4 (gl_FATAL_SIGNAL): Also test for sigaction.
2286 2004-12-07 Paul Eggert <eggert@cs.ucla.edu>
2288 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
2289 spurious "-l"s. Problem reported by Stepan Kasal.
2291 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
2293 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
2294 in Autoconf 2.59. Problem reported by Mark D. Baushke.
2296 2004-12-04 Paul Eggert <eggert@cs.ucla.edu>
2298 Changes imported from coreutils.
2299 * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
2301 * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
2303 2004-11-30 Paul Eggert <eggert@cs.ucla.edu>
2305 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
2306 Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
2308 * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
2310 2004-11-30 Simon Josefsson <jas@extundo.com>
2312 * base64.m4: New file.
2314 2004-11-30 Simon Josefsson <jas@extundo.com>
2316 * restrict.m4: Add copyright and copying conditions.
2318 2004-11-25 Paul Eggert <eggert@cs.ucla.edu>
2320 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
2321 GL_FUNC_GETCWD_PATH_MAX for consistency. All uses changed.
2322 Use the _ONCE methods, for efficiency.
2323 Check for fcntl.h. In test program, include <errno.h>
2324 and <fcntl.h> if available. Remove old K&R cruft from
2325 test program. Check for common errors in GNU/Linux,
2326 OpenBSD, and Solaris. Just set gl_cv_func_getcwd_path_max;
2327 don't do AC_LIBOBJ, as that's getcwd.m4's job.
2328 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
2329 AC_FUNC_GETCWD_NULL. All used changed. Change cache variable
2331 (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros. Revamp to
2332 accommodate new getcwd.c.
2333 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
2334 * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
2335 * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
2336 that's all we need now.
2338 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
2340 * utimens.m4 (gl_UTIMENS): Check for futimes function.
2342 2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
2344 * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
2345 argp-parse.c depends on getopt internals, that means we should
2346 always use our getopt, to be on the safe side.
2347 * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
2348 order not to spoil the result of an eventual previous invocation
2349 of gl_GETOPT_SUBSTITUTE.
2351 2004-11-17 Paul Eggert <eggert@cs.ucla.edu>
2353 * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
2354 that mishandle size_t overflow.
2356 2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
2358 * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
2360 2004-11-13 Jim Meyering <jim@meyering.net>
2362 * jm-macros.m4: Do require gl_FUNC_FPENDING.
2364 2004-11-11 Paul Eggert <eggert@cs.ucla.edu>
2366 * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead
2367 of replacing opterr, getopt, etc. This should handle the
2368 powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson.
2370 2004-11-11 Simon Josefsson <jas@extundo.com>
2372 * strtok_r.m4: New file.
2374 * getopt.m4: Replace opterr.
2376 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
2378 * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
2380 2004-11-10 Jim Meyering <jim@meyering.net>
2382 * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING.
2384 2004-11-08 Simon Josefsson <jas@extundo.com>
2386 * getaddrinfo.m4: New file.
2388 2004-11-09 Paul Eggert <eggert@cs.ucla.edu>
2390 * strftime.m4 (_gl_STRFTIME_PREREQS): Remove. Move its body to
2392 (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE
2393 and AC_REQUIRE when possible, to avoid duplicate checks.
2394 Check for <wchar.h>.
2396 2004-11-09 Bruno Haible <bruno@clisp.org>
2398 * sockpfaf.m4: New file.
2400 2004-11-03 Albert Chin <china@thewrittenword.com>
2401 Paul Eggert <eggert@cs.ucla.edu>
2403 * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
2404 equivalent, substitute $ac_type for equivalent type rather than
2405 blindly using uint32_t *always* which won't work if uint32_t is not
2406 available. Define _UINT32_T to work around typedef of uint32_t if
2407 <sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
2410 2004-11-02 Paul Eggert <eggert@cs.ucla.edu>
2412 * jm-macros.m4: Sync from coreutils.
2413 (gl_MACROS): Check for mbrlen, for pathchk.
2414 (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
2416 2004-11-02 Bruno Haible <bruno@clisp.org>
2418 * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv()
2421 2004-11-01 Paul Eggert <eggert@cs.ucla.edu>
2423 * getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
2424 fflush_unlocked, flockfile, funlockfile, funlockfile,
2425 fputs_unlocked, putc_unlocked.
2427 2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
2429 * getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
2431 2004-10-15 Paul Eggert <eggert@cs.ucla.edu>
2433 * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
2434 implementation of getopt_long. Problem reported by Alexander Taler in:
2435 http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
2437 2004-10-11 Yoann Vandoorselaere <yoann@prelude-ids.org>
2439 * vsnprintf.m4: New file.
2441 2004-10-05 Bruno Haible <bruno@clisp.org>
2443 * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check
2444 for the declaration of strsep.
2446 2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
2448 * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove. All uses removed.
2450 * unlocked-io.m4: Add copyright notice.
2451 (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
2453 2004-10-04 Simon Josefsson <jas@extundo.com>
2455 * memmem.m4: New file.
2457 2004-10-01 Yoann Vandoorselaere <yoann@prelude-ids.org>
2459 * strsep.m4: New file.
2461 2004-09-30 Simon Josefsson <jas@extundo.com>
2463 * snprintf.m4: New file.
2465 2004-09-09 Bruno Haible <bruno@clisp.org>
2467 * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with
2469 * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
2471 2004-09-08 Bruno Haible <bruno@clisp.org>
2473 * stdint.m4: New file, taken from GNU clisp with modifications.
2475 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
2477 * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA.
2479 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
2481 * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody
2482 uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
2483 Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
2484 Check for program_invocation_name, program_invocation_short_name,
2485 flockfile, funlockfile, features.h, _getopt_long_only_r.
2487 2004-08-12 Simon Josefsson <jas@extundo.com>
2489 * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
2490 as discussed with Paul Eggert in threads rooted at
2491 <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
2493 <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
2494 Before, the test was empty, and relied on ELIDE_CODE in source
2496 (gl_PREREQ_GETOPT): New macro.
2497 (gl_GETOPT): Use them.
2499 2004-08-11 Paul Eggert <eggert@cs.ucla.edu>
2501 Merge from coreutils.
2503 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
2505 * obstack.m4 (gl_PREREQ_OBSTACK): Require
2506 gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
2508 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
2510 * uint32_t.m4, uintptr_t.m4: New files.
2511 * sha1.m4: Renamed from sha.m4.
2512 (gl_SHA1): Renamed from gl_SHA. All uses changed.
2514 2004-08-08 Simon Josefsson <jas@extundo.com>
2516 * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
2517 Check getpass declaration.
2519 2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
2521 More merge from coreutils.
2523 * utimens.m4, utimecmp.m4: New files.
2524 * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
2525 fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
2526 prereq.m4, sha.m4: Import changes from coreutils.
2528 2004-08-05 Paul Eggert <eggert@cs.ucla.edu>
2530 Merge from coreutils.
2532 * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
2535 * dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
2536 FILESYSTEM_PREFIX_LEN ->
2537 FILE_SYSTEM_PREFIX_LEN.
2538 FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX ->
2539 FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.
2540 FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR ->
2541 FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
2543 * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
2544 prerequisite modules now handle the DOS stuff.
2545 Don't check for unistd.h.
2547 2004-08-03 Simon Josefsson <jas@extundo.com>
2549 * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it.
2551 2004-08-02 Simon Josefsson <jas@extundo.com>
2553 * getsubopt.m4: New file.
2555 2004-08-03 Paul Eggert <eggert@cs.ucla.edu>
2557 * fatal.m4: Remove, as the "fatal" module wasn't used or working.
2559 2004-07-13 Robert Millan <robertmh@gnu.org>
2561 * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
2563 2004-06-22 Paul Eggert <eggert@cs.ucla.edu>
2565 * argz.m4: New file, which is autoupdated from libtool.
2567 2004-06-01 Jim Meyering <jim@meyering.net>
2569 * calloc.m4: New file.
2571 2004-06-01 Paul Eggert <eggert@cs.ucla.edu>
2573 Merge from coreutils CVS.
2575 * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4,
2576 makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4,
2577 putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4,
2578 strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4,
2579 xstrtol.m4: Fix copyright date and/or serial number.
2581 * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
2582 See if we need an fchown replacement.
2583 (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
2584 (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
2585 and use the replacement function if we detect either defect.
2587 * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR,
2590 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
2592 * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI
2593 C B3910B A.05.55 [Dec 04 2003]. Problem reported by Jim Meyering.
2594 Also, fix a typo in a diagnostic.
2596 2004-05-30 Paul Eggert <eggert@cs.ucla.edu>
2598 * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC
2601 2004-05-20 Andreas Schwab <schwab@suse.de>
2603 * free.m4: Replace free if it not known to work, not the other
2606 2004-05-17 Derek R. Price <derek@ximbiot.com>
2607 Paul Eggert <eggert@cs.ucla.edu>
2609 * argp: Depend on alloca.
2611 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
2613 * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
2614 for backward compatibility with older code. We need our own
2615 alloca.h if _AIX is defined. Define HAVE_ALLOCA if we discover
2616 it under some other name, and our alloca.h will define it.
2618 2004-05-13 Paul Eggert <eggert@cs.ucla.edu>
2620 * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC.
2621 Check for gettimeofday.
2622 * settime.m4 (gl_SETTIME): Require gl_TIMESPEC.
2623 Check for settimeofday, stime.
2625 2004-04-20 Paul Eggert <eggert@twinsun.com>
2627 * host-os.m4: Add a copyright notice.
2629 2004-04-20 Jim Meyering <jim@meyering.net>
2631 Change UTILS_ to gl_ in AC_DEFINE'd names.
2632 Change utils_- and jm_-prefixed variables, too.
2633 * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
2634 UTILS_FUNC_MKDIR_TRAILING_SLASH.
2635 * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
2637 * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
2638 Don't emit trailing blanks.
2639 Also rename jm_-prefixed variables to have gl_ prefix.
2641 * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS.
2642 Also rename jm_-prefixed variables to have gl_ prefix.
2644 * jm-macros.m4: Reflect the renamings.
2645 * prereq.m4: Likewise.
2647 2004-04-19 Jim Meyering <jim@meyering.net>
2649 * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
2650 now that readutmp.c may call `free (0)'.
2652 2004-04-19 Bruno Haible <bruno@clisp.org>
2654 * mbrtowc.m4: Change jm_ to gl_ in cache variables as well.
2655 * inttypes_h.m4: Likewise.
2656 * stdint_h.m4: Likewise.
2657 * intmax_t.m4: Likewise.
2658 * uintmax_t.m4: Likewise.
2660 2004-04-18 Jim Meyering <jim@meyering.net>
2662 * prereq.m4: Don't forbid jm_ prefix.
2664 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
2665 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4:
2666 * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4:
2667 * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4:
2668 * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4:
2669 * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4:
2670 * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
2671 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
2672 * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4:
2673 * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4:
2674 * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4:
2675 * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4:
2676 * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4:
2677 * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4:
2678 * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
2679 Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
2681 2004-04-16 Jim Meyering <jim@meyering.net>
2683 * prereq.m4 (jm_PREREQ_STAT): Remove macro. It is specific to
2684 coreutils' stat program.
2685 (gl_PREREQ): Don't require jm_PREREQ_STAT.
2687 2004-03-31 Jim Meyering <jim@meyering.net>
2689 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
2690 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2691 * xalloc.m4: Likewise.
2693 2004-03-30 Jim Meyering <jim@meyering.net>
2695 * realloc.m4: Remove file, since now it does no more than
2696 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
2697 the `configure.ac' section of module/realloc.
2698 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
2700 2004-03-30 Paul Eggert <eggert@twinsun.com>
2702 Merge from coreutils.
2704 * inttostr.m4: New file.
2705 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
2706 Require AM_STDBOOL_H and gl_TIMESPEC instead.
2707 Require gl_CLOCK_TIME.
2708 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
2710 2004-03-30 Jim Meyering <jim@meyering.net>
2712 Merge from coreutils.
2714 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
2715 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
2716 on some systems one must include <grp.h> before it.
2717 Reported by Christian Krackowizer.
2719 2004-03-29 Paul Eggert <eggert@twinsun.com>
2721 * cloexec.m4: New file.
2723 2004-03-18 Paul Eggert <eggert@twinsun.com>
2724 Bruno Haible <bruno@clisp.org>
2726 * mbswidth.m4 (gl_MBSWIDTH): Also test whether <wchar.h> declares
2729 2004-03-07 Paul Eggert <eggert@twinsun.com>
2731 * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
2732 All uses changed. Check for sa_sigaction member; this fixes
2733 a bug first reported by Jason Andrade in
2734 <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
2736 2004-01-18 Simon Josefsson <jas@extundo.com>
2738 * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared.
2740 2004-02-18 Bruno Haible <bruno@clisp.org>
2742 * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
2743 Reported by Derek Robert Price <derek@ximbiot.com>.
2745 2004-02-06 Karl Berry <karl@gnu.org>
2747 * po.m4: update from gettext 0.14.1.
2749 2004-02-03 Bruno Haible <bruno@clisp.org>
2751 * pipe.m4: New file, from GNU gettext.
2753 2004-01-27 Bruno Haible <bruno@clisp.org>
2755 * execute.m4: New file, from GNU gettext.
2757 2003-11-24 Bruno Haible <bruno@clisp.org>
2759 * allocsa.m4: New file, from GNU gettext.
2761 2003-11-24 Bruno Haible <bruno@clisp.org>
2763 * eealloc.m4: New file, from GNU gettext.
2765 2004-01-15 Paul Eggert <eggert@twinsun.com>
2767 Merge from coreutils.
2769 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
2770 * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
2771 (gl_DEFAULT_POSIX2_VERSION): Move
2772 the documentation from 'configure' into 'config.hin',
2773 so that 'configure --help' isn't burdened by it and
2774 we don't have to worry about its formatting there.
2775 Reword the documentation so that it's more succinct
2776 and can be run together into a single paragraph.
2777 * same.m4 (gl_SAME): Check for pathconf.
2779 2004-01-15 Jim Meyering <jim@meyering.net>
2781 Merge from coreutils.
2783 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2784 if no library is required.
2785 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2786 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2787 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2788 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2789 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2790 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2791 value, $ac_cv_search_crypt, if it's "none required".
2792 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2793 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2794 not gl_FUNC_GETLOADAVG.
2795 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2796 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2798 2004-01-15 Alexandre Duret-Lutz <adl@gnu.org>
2800 Merge from coreutils.
2802 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2803 value, $ac_cv_search_nanosleep, if it's "none required".
2805 2003-12-03 Bruno Haible <bruno@clisp.org>
2807 * gettext.m4: Upgrade from gettext-0.13.
2808 * po.m4: Upgrade from gettext-0.13.
2809 * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
2810 * intmax.m4: New file, from gettext-0.13.
2811 * printf-posix.m4: New file, from gettext-0.13.
2813 2003-11-25 Bruno Haible <bruno@clisp.org>
2815 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require
2818 2003-11-17 Bruno Haible <bruno@clisp.org>
2820 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T.
2822 2003-11-12 Paul Eggert <eggert@twinsun.com>
2824 * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or
2827 2003-11-11 Bruno Haible <bruno@clisp.org>
2829 * size_max.m4: New file.
2830 * ptrdiff_max.m4: New file.
2831 * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
2832 * xalloc.m4 (gl_PREREQ_XALLOC): New macro.
2833 (gl_XALLOC): Invoke it.
2835 2003-11-04 Bruno Haible <bruno@clisp.org>
2837 * xsize.m4: New file.
2839 2003-11-03 Bruno Haible <bruno@clisp.org>
2841 * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid.
2843 2003-10-30 Paul Eggert <eggert@cs.ucla.edu>
2845 * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to
2846 netbsd*-gnu*. Suggested by Robert Millan.
2848 2003-10-29 Paul Eggert <eggert@twinsun.com>
2850 * xalloc.m4 (gl_XALLOC): Undo previous change.
2852 2003-10-29 Paul Eggert <eggert@twinsun.com>
2854 * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu. Add comments
2855 to it, and to knetbsd*-gnu and kfreebsd*-gnu. Remove the '*' from
2856 after the 'gnu' in these cases. This fixes some bugs in the
2857 previous change, and is based on suggestions by Robert Millan.
2859 2003-10-28 Paul Eggert <eggert@twinsun.com>
2861 * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and
2862 GNU/KNetBSD. These implementations use glibc atop the FreeBSD and
2863 NetBSD kernels. Requested by Richard Stallman.
2865 2003-10-26 Paul Eggert <eggert@twinsun.com>
2867 * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
2870 2003-10-23 Paul Eggert <eggert@twinsun.com>
2872 * getline.m4 (AM_FUNC_GETLINE):
2873 Don't include getndelim2.o twice into LIBOBJS; this breaks on some
2874 hosts. Problem reported by Derek Robert Price in
2875 <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
2876 This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
2877 * getndelim2.m4 (gl_GETNDELIM2): Likewise.
2879 2003-10-20 Bruno Haible <bruno@clisp.org>
2881 * wait-process.m4: New file.
2883 2003-10-14 Bruno Haible <bruno@clisp.org>
2885 * sig_atomic_t: New file, from GNU gettext.
2886 * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T.
2888 2003-10-12 Paul Eggert <eggert@twinsun.com>
2890 * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE.
2892 2003-10-10 Simon Josefsson <jas@extundo.com>
2894 * argp.m4: Add AC_C_INLINE.
2896 2003-10-08 Paul Eggert <eggert@twinsun.com>
2898 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2900 2003-10-06 Bruno Haible <bruno@clisp.org>
2902 * fatal-signal.m4: New file.
2903 * signalblocking.m4: New file, from GNU gettext.
2905 2003-09-27 Paul Eggert <eggert@twinsun.com>
2907 * free.m4: New file.
2909 2003-09-26 Bruno Haible <bruno@clisp.org>
2911 * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
2912 Don't define stpncpy through config.h; it's now done through stpncpy.h.
2914 2003-09-25 Simon Josefsson <jas@extundo.com>
2915 Bruno Haible <bruno@clisp.org>
2917 * getdomainname.m4: New file.
2919 2003-09-17 Paul Eggert <eggert@twinsun.com>
2921 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2922 to avoid spurious warnings like "AC_RUN_IFELSE was called before
2923 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2925 2003-09-12 Paul Eggert <eggert@twinsun.com>
2927 * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it.
2929 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2930 and AC_MINIX, too, so that their extensions are available.
2932 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
2933 This macro has been superseded by gl_BACKUPFILE.
2935 More patches to assume C89 or better.
2937 * error.m4 (gl_ERROR): Don't check for vprintf.
2939 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2941 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2942 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2943 Include <string.h>, <stdlib.h> unconditionally.
2944 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2945 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2946 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2948 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h
2951 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2952 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2953 * userspec.m4 (gl_USERSPEC): Likewise.
2954 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2955 * xstrtod.m4 (gl_XSTRTOD): Likewise.
2956 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2957 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2959 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2960 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2961 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2962 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2963 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2964 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2967 2003-09-11 Paul Eggert <eggert@twinsun.com>
2969 More patches to assume C89 or better.
2970 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2971 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2972 string.h, memchr, STDC_HEADERS.
2974 2003-09-10 Bruno Haible <bruno@clisp.org>
2976 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2977 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2978 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2979 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2980 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove
2981 <stdlib.h> and <string.h> checks.
2982 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2983 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2985 2003-09-09 Paul Eggert <eggert@twinsun.com>
2987 More patches to assume C89 or better.
2988 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2989 * getopt.m4 (gl_GETOPT): Don't check for string.h.
2990 * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
2992 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2993 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2995 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2997 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2998 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2999 * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
3001 * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
3002 * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
3004 * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
3006 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
3007 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
3008 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
3009 * memcoll.m4 (gl_MEMCOLL): Likewise.
3010 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
3011 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
3013 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
3014 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
3015 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
3016 C headers, or for string.h.
3017 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
3018 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
3019 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
3020 headers, memory.h, stdlib.h, string.h, strings.h.
3021 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
3022 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
3023 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
3025 * readtokens.m4 (gl_READTOKENS): Don't check for standard C
3026 headers, memory.h, string.h.
3027 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
3028 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
3030 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
3031 * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
3032 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
3033 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
3034 * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
3035 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
3037 2003-09-09 Derek Robert Price <derek@ximbiot.com>
3039 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
3042 2003-09-08 Paul Eggert <eggert@twinsun.com>
3044 Assume C89 or better; remove K&R cruft.
3045 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
3046 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
3047 string.h, getenv, malloc.
3048 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
3050 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
3051 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
3052 do not check for strerror.
3053 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
3054 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
3055 * fatal.m4 (gl_FATAL): Do not require STDC headers, and
3056 do not check for doprnt or vprintf.
3057 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
3058 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
3060 2003-09-06 Paul Eggert <eggert@twinsun.com>
3062 * time_r.m4: New file.
3063 * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
3064 * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
3065 Check for timegm declaration.
3066 (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
3067 Do not check for gmtime_r.
3068 Replace mktime if __mktime_internal does not exist and if mktime
3069 hasn't been replaced already.
3071 2003-08-31 Simon Josefsson <jas@extundo.com>
3073 * timegm.m4: New file.
3075 2003-08-26 Bruno Haible <bruno@clisp.org>
3077 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
3078 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
3079 followed by '#define fnmatch fnmatch_posix' gives an error.
3081 2003-08-27 Jim Meyering <jim@meyering.net>
3083 * mkstemp.m4: Require that the system mkstemp be able to create
3084 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
3085 would fail after 32. Reported by Danny Levinson. Details here:
3086 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
3088 2003-08-20 Karl Berry <karl@gnu.org>
3090 * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
3092 2003-08-19 Jim Meyering <jim@meyering.net>
3094 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
3095 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
3097 2003-08-19 Bruno Haible <bruno@clisp.org>
3099 * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
3101 2003-08-18 Jim Meyering <jim@meyering.net>
3103 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
3104 * lib-ld.m4: Likewise.
3106 2003-08-17 Simon Josefsson <jas@extundo.com>
3108 * argp.m4: New file.
3110 2003-08-17 Simon Josefsson <jas@extundo.com>
3112 * xstrndup.m4: New file.
3114 2003-08-16 Jim Meyering <jim@meyering.net>
3116 * utimes.m4 (gl_FUNC_UTIMES): New file.
3117 * utimes.m4: Removed.
3118 * utimes-null.m4: Renamed from utimes.m4.
3120 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
3121 to 1MB, so as not to render systems with no stack size limit (e.g.,
3122 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
3123 Include <unistd.h>. On some systems,
3124 it is required for the definition of _SC_PAGESIZE.
3126 2003-08-16 Paul Eggert <eggert@twinsun.com>
3128 Merges from coreutils, etc.
3129 * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
3130 error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28.
3131 * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
3133 * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
3134 * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
3136 2003-08-16 Jim Meyering <jim@meyering.net>
3137 and Paul Eggert <eggert@cs.ucla.edu>
3139 Merges from coreutils, etc.
3141 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
3142 using the latest version from cvs. This avoids problems with #line
3143 directives using a vendor (Sun) compiler.
3144 (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
3145 Don't set GETGROUPS_LIB here; now it's
3146 done via getgroups.m4's wrapper function.
3147 AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
3148 rather than just in sh-util/configure.in, so that the
3149 now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
3151 Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
3152 AC_FUNC_GETLOADAVG where to find getloadavg.c.
3153 Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
3154 UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
3155 gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
3156 Remove code that is now done by the newly-required macros.
3157 Append $(EXEEXT) to DF_PROG.
3158 AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
3159 Do not invoke or require the following here,
3160 since prereq.m4 or some gnulib .m4 now does this for us:
3161 gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
3162 jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
3163 jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
3164 jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
3165 jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
3166 AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
3167 vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
3169 Do not replace the following functions, as this is now the job
3170 of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
3171 getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
3172 strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
3173 atexit getpass, strdup, getpagesize.
3175 Do not check for the following functions, as this is now the job
3176 of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
3177 getcwd, getmntinfo, resolvepath. But check for sysctl, setreuid,
3179 (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
3180 Check for sys/sysctl.h.
3181 (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
3182 jm_CHECK_TYPE_STRUCT_TIMESPEC. Invoke gt_TYPE_SSIZE_T instead
3183 of checking for ssize_t ourselves.
3185 * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
3186 Require every macro that gnulib/modules/* suggests for us.
3187 (jm_PREREQ_ADDEXT): New macro.
3188 (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
3189 Require jm_AC_TYPE_LONG_LONG instead of invoking it.
3191 * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
3192 (gl_PHYSMEM): Use it.
3193 Also check for `table' function.
3194 Check for new headers and functions.
3195 Add check for sys/sysmp.h.
3196 With suggestions from Kaveh Ghazi.
3197 Ignore headers that are present but cannot be compiled. This
3198 avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
3201 2003-08-16 Jim Meyering <jim@meyering.net>
3203 Merges from coreutils.
3204 * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
3205 prefix. Adjust cache variables similarly. Create 500 rather than
3206 just 300 files, to exercise bug on Darwin6.5, too.
3207 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
3208 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
3209 Reported by mkc@mathdogs.com.
3210 Also change use of $am_cv_sys_posix_termios
3211 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
3212 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
3213 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
3214 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
3215 /proc/mounts until it finds one with matching device number. This is
3216 unnecessary when the FILE argument *is* a mount point. No stat call
3217 is necessary in that case. So, disable the statvfs-testing code on
3218 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
3219 as RedHat bug# 84846.
3220 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
3221 to 1MB, so as not to render systems with no stack size limit (e.g.,
3222 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
3223 Include <unistd.h>. On some systems,
3224 it is required for the definition of _SC_PAGESIZE.
3226 2003-08-15 Jim Meyering <jim@meyering.net>
3227 and Paul Eggert <eggert@cs.ucla.edu>
3229 Merges from coreutils, etc.
3230 * strftime.m4 (_jm_STRFTIME_PREREQS):
3231 Require gl_FUNC_TZSET_CLOBBER.
3232 * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
3233 ut_exit.ut_termination, and ut_exit.e_termination members.
3235 2003-08-14 Paul Eggert <eggert@twinsun.com>
3237 Help the merge from coreutils.
3238 * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
3239 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
3240 * tzset.m4: Use it too.
3242 2003-08-14 Jim Meyering <jim@meyering.net>
3244 Merge from coreutils.
3245 * tzset.m4: New file.
3246 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
3247 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
3248 systems would end up using the latter. MOUNTED_GETMNTENT1 support
3249 is inadequate on such systems: 1) detecting whether a file system
3250 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
3251 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
3252 merely /MOUNT_POINT. Reported by Mike Jetzer.
3254 2003-08-13 Paul Eggert <eggert@twinsun.com>
3256 * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
3259 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
3260 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
3261 Undo previous (whitespace-only) change.
3263 2003-08-12 Paul Eggert <eggert@twinsun.com>
3265 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
3266 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
3267 Normalize leading white space and remove trailing white space.
3269 Merge from coreutils
3270 * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
3272 * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
3273 0.12.1. These files are now being upgraded automatically by
3274 ../config/srclist-update.
3276 2003-08-11 Bruno Haible <bruno@clisp.org>
3278 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
3280 2003-08-09 Paul Eggert <eggert@twinsun.com>
3282 * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
3283 apparently Emacs's Unicode mode got confused before my 2003-08-05
3286 2003-08-08 Paul Eggert <eggert@twinsun.com>
3288 * extensions.m4: New file.
3289 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
3290 Require gl_USE_SYSTEM_EXTENSIONS.
3291 * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
3292 Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
3294 2003-08-07 Paul Eggert <eggert@twinsun.com>
3296 * restrict.m4: New file.
3297 * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
3299 2003-08-07 Bruno Haible <bruno@clisp.org>
3301 * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
3302 the module 'getndelim2' compatible with the module 'getline'.
3304 2003-08-05 Paul Eggert <eggert@twinsun.com>
3306 * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
3307 byte with "\201" to avoid glitches when editing that source file
3308 with multi-gnome-terminal.
3310 2003-07-31 Bruno Haible <bruno@clisp.org>
3312 * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
3314 2003-07-18 Bruno Haible <bruno@clisp.org>
3316 * getndelim2.m4: New file.
3317 * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
3318 invoke gl_PREREQ_GETNDELIM2.
3319 (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
3320 gl_PREREQ_GETNDELIM2.
3321 * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
3324 2003-07-17 Bruno Haible <bruno@clisp.org>
3326 * Makefile.am.in: Remove file.
3327 * Makefile.am: Remove file.
3328 * Makefile.in: Remove file.
3330 2003-07-17 Bruno Haible <bruno@clisp.org>
3332 * getnline.m4: New file.
3334 2003-07-14 Simon Josefsson <jas@extundo.com>
3336 * mempcpy.m4: New file.
3338 2003-07-10 Jim Meyering <jim@meyering.net>
3340 * clock_time.m4: Remove trailing blank.
3341 * intmax_t.m4: Likewise.
3343 2003-07-01 Paul Eggert <eggert@twinsun.com>
3345 * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
3346 xreadlink.c now includes it unconditionally.
3348 2003-07-01 Bruno Haible <bruno@clisp.org>
3350 * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
3351 should be sufficient.
3352 Reported by Paul Eggert.
3354 2003-06-25 Bruno Haible <bruno@clisp.org>
3356 * readlink.m4: New file.
3358 2003-06-22 Bruno Haible <bruno@clisp.org>
3360 Portability to mingw32.
3361 * ssize_t.m4: New file, from GNU gettext.
3362 * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
3363 * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
3365 2003-06-11 Bruno Haible <bruno@clisp.org>
3367 * sysexits.m4: New file.
3369 2003-06-10 Simon Josefsson <jas@extundo.com>
3371 * strchrnul.m4: New file.
3373 2003-06-07 Bruno Haible <bruno@clisp.org>
3375 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
3376 gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
3377 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
3379 * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
3380 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
3383 2003-06-04 Paul Eggert <eggert@twinsun.com>
3385 * human.m4 (gl_HUMAN): Require AM_STDBOOL_H. Check for
3386 locale.h, localeconv. This merges changes from coreutils.
3388 * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
3389 It can be removed after the next Autoconf is released.
3390 * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
3393 2003-05-30 Bruno Haible <bruno@clisp.org>
3395 * gettext.m4: Upgrade to gettext-0.12.1.
3396 * nls.m4: New file, from gettext-0.12.1.
3397 * po.m4: New file, from gettext-0.12.1.
3398 * progtest.m4: Upgrade to gettext-0.12.1.
3400 2003-05-28 Paul Eggert <eggert@twinsun.com>
3402 Assume the headers required for C89 freestanding compilers.
3403 * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
3404 * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
3405 * human.m4 (gl_HUMAN): Likewise.
3406 * pathmax.m4 (gl_PATHMAX): Likewise.
3407 * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
3408 * userspec.m4 (gl_USERSPEC): Likewise.
3409 * xreadlink.m4 (gl_XREADLINK): Likewise.
3410 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
3411 * quote.m4 (gl_QUOTE): Don't check for stddef.h.
3413 2003-05-26 Jim Meyering <jim@meyering.net>
3415 Merge in a change from coreutils:
3416 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
3417 that is guaranteed to be `no'. Use `no_such_member' to indicate
3418 that condition, rather than `-1' which is slightly misleading.
3419 Change the name of the cache variable to have the gl_ prefix.
3420 Prompted by a patch from Richard Dawe for DJGPP.
3422 2003-05-17 Bruno Haible <bruno@clisp.org>
3424 * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
3425 expansion for AC_EGREP_CPP.
3426 * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
3427 * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
3428 Suggested by Akim Demaille <akim@epita.fr> in
3429 http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
3431 2003-04-21 Paul Eggert <eggert@twinsun.com>
3433 * error.m4 (gl_ERROR): Do not put under dynamic conditions some
3434 code which expansion is under static control. Patch imported from
3435 Akim Demaille's patch to Bison; see
3436 <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
3438 2003-04-14 Bruno Haible <bruno@clisp.org>
3440 * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
3442 2003-04-10 Bruno Haible <bruno@clisp.org>
3444 * findprog.m4: New file.
3445 * eaccess.m4: New file.
3447 2003-04-04 Bruno Haible <bruno@clisp.org>
3449 * linebreak.m4: New file.
3451 2003-04-03 Bruno Haible <bruno@clisp.org>
3453 * utf-ucs4.m4: New file.
3454 * ucs4-utf.m4: New file.
3456 2003-03-30 Bruno Haible <bruno@clisp.org>
3458 * copy-file.m4 (gl_COPY_FILE): Add check for chown().
3460 2003-03-28 Bruno Haible <bruno@clisp.org>
3462 * copy-file.m4: New file.
3464 2003-03-18 Bruno Haible <bruno@clisp.org>
3466 * onceonly.m4: Use m4_defn instead of defn, for better error checking.
3467 * onceonly_2_57.m4: Likewise.
3469 2003-03-17 Bruno Haible <bruno@clisp.org>
3471 * onceonly.m4: Require autoconf 2.54 or newer.
3472 (m4_quote): Remove macro.
3473 * onceonly_2_57.m4: Require autoconf 2.54 or newer.
3475 2003-03-14 Bruno Haible <bruno@clisp.org>
3477 * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
3478 AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
3480 2003-03-13 Paul Eggert <eggert@twinsun.com>
3482 * onceonly.m4 (m4_quote): New macro.
3483 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
3484 Quote AC_FOREACH variable-expansions properly.
3486 2003-02-19 Paolo Bonzini <bonzini@gnu.org>
3488 * poll.m4: New file.
3490 2003-02-18 Paolo Bonzini <bonzini@gnu.org>
3492 * mathl.m4: New file.
3494 2003-02-17 Bruno Haible <bruno@clisp.org>
3496 * mkdtemp.m4: New file, from GNU gettext with modifications.
3498 2003-02-02 Jim Meyering <jim@meyering.net>
3500 * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
3503 2003-01-31 Bruno Haible <bruno@clisp.org>
3505 * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
3507 * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
3509 * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
3511 * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
3514 2003-01-30 Bruno Haible <bruno@clisp.org>
3516 * signed.m4: New file, from GNU gettext.
3517 * longdouble.m4: New file, from GNU gettext.
3518 * wchar_t.m4: New file, from GNU gettext.
3519 * wint_t.m4: New file, from GNU gettext.
3520 * vasnprintf.m4: New file.
3521 * vasprintf.m4: New file.
3523 2003-01-29 Bruno Haible <bruno@clisp.org>
3525 * stpncpy.m4: New file.
3527 2003-01-23 Jim Meyering <jim@meyering.net>
3529 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
3530 from working on systems without dirfd (at least Irix and OSF1/Tru64).
3532 2003-01-16 Jim Meyering <jim@meyering.net>
3534 * regex.m4: The `regex' struct is both input and output.
3535 Initialize it before each use. Patch by Tim Waugh.
3537 2003-01-11 Bruno Haible <bruno@clisp.org>
3539 * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
3540 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
3543 2003-01-11 Bruno Haible <bruno@clisp.org>
3545 * md5.m4 (gl_MD5): Require AC_C_INLINE.
3547 2003-01-11 Bruno Haible <bruno@clisp.org>
3549 * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
3551 2003-01-12 Paul Eggert <eggert@twinsun.com>
3553 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
3554 to avoid collisions with libcurses and libreadline.
3556 * getstr.m4: Remove.
3557 * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
3559 2003-01-10 Bruno Haible <bruno@clisp.org>
3561 * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
3563 2003-01-09 Bruno Haible <bruno@clisp.org>
3565 * stdbool.m4 (AM_STDBOOL_H): New macro.
3567 2002-12-31 Paul Eggert <eggert@twinsun.com>
3569 * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
3571 2002-12-24 Bruno Haible <bruno@clisp.org>
3573 General infrasructure.
3574 * README: Rewritten.
3575 * onceonly.m4: New file.
3576 * onceonly_2_57.m4: New file.
3579 * atexit.m4: New file.
3582 * strtod.m4: New file.
3585 * strtol.m4: New file.
3588 * strtoul.m4: New file.
3591 * memchr.m4: New file.
3594 * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
3595 (jm_FUNC_MEMCMP): Invoke it.
3598 * memcpy.m4: New file.
3601 * memmove.m4: New file.
3604 * memset.m4: New file.
3607 * strcspn.m4: New file.
3610 * strpbrk.m4: New file.
3613 * strstr.m4: New file.
3616 * strerror.m4: New file.
3619 * mktime.m4: Renamed from jm-mktime.m4.
3620 (gl_PREREQ_MKTIME): New macro.
3621 (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
3624 * malloc.m4 (gl_PREREQ_MALLOC): New macro.
3625 (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
3626 Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
3629 * realloc.m4 (gl_PREREQ_REALLOC): New macro.
3630 (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
3631 Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
3634 * tm_gmtoff.m4: New file, extracted from strftime.m4.
3635 * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
3636 Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
3638 (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
3641 * xalloc.m4: New file.
3644 * alloca.m4: New file.
3647 * putenv.m4 (gl_PREREQ_PUTENV): New macro.
3648 (jm_FUNC_PUTENV): Invoke it.
3651 * setenv.m4 (gt_FUNC_SETENV): New macro.
3652 (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
3654 (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
3658 * memrchr.m4: New file.
3661 * stpcpy.m4: New file.
3664 * strcase.m4: New file.
3667 * strdup.m4: New file.
3670 * strnlen.m4: New file.
3673 * strndup.m4: New file.
3676 * xstrtod.m4: New file.
3679 * xstrtol.m4: New file.
3682 * getdate.m4: New file.
3685 * unlocked-io.m4: Renamed from jm-glibc-io.m4.
3686 (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
3687 * jm-glibc-io.m4n: Remove file.
3689 Module long-options.
3690 * long-options.m4: New file.
3699 * getstr.m4: New file.
3702 * getline.m4 (gl_PREREQ_GETLINE): New macro.
3703 (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
3704 <sys/types.h>, for size_t. Use the function name gnu_getline, not
3705 simply getline. Infoke gl_PREREQ_GETLINE.
3708 * obstack.m4: New file.
3711 * hash.m4: New file.
3714 * readtokens.m4: New file.
3717 * strverscmp.m4: New file.
3720 * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
3723 * strtoll.m4: New file.
3726 * strtoull.m4: New file.
3729 * strtoimax.m4: New file.
3732 * strtoumax.m4: New file.
3735 * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
3736 Moved the strtol prerequisites to strtol.m4.
3737 Moved the strtoll prerequisites to strtoll.m4.
3738 Moved the strtoimax prerequisites to strtoimax.m4.
3741 * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
3742 Moved the strtoul prerequisites to strtoul.m4.
3743 Moved the strtoull prerequisites to strtoull.m4.
3744 Moved the strtoumax prerequisites to strtoumax.m4.
3747 * chown.m4 (gl_PREREQ_CHOWN): New macro.
3748 (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
3751 * dup2.m4: New file.
3754 * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
3755 (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
3758 * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
3759 (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
3761 Module gettimeofday.
3762 * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
3763 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
3764 gl_PREREQ_GETTIMEOFDAY.
3767 * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
3768 (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
3771 * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
3772 (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
3773 jm_AC_TYPE_UINTMAX_T.
3774 (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
3777 * stat.m4 (gl_PREREQ_STAT): New macro.
3778 (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
3781 * lstat.m4 (gl_PREREQ_LSTAT): New macro.
3782 (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
3785 * timespec.m4 (gl_TIMESPEC): New macro.
3786 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
3787 * st_mtim.m4: Indentation.
3790 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
3791 (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
3792 gl_PREREQ_NANOSLEEP.
3795 * regex.m4 (jm_PREREQ_REGEX): New macro.
3796 (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
3797 (gl_REGEX): New macro.
3800 * rename.m4 (gl_PREREQ_RENAME): New macro.
3801 (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
3804 * rmdir.m4: New file.
3807 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
3808 * utime.m4 (gl_PREREQ_UTIME): New macro.
3809 (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
3812 * dirname.m4: New file.
3815 * getopt.m4: New file.
3817 Module unistd-safer.
3818 * unistd-safer.m4: New file.
3821 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
3823 (gl_PREREQ_FNMATCH_EXTRA): New macro.
3824 (gl_FUNC_FNMATCH_POSIX): New macro.
3825 (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
3826 gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
3830 * exclude.m4: New file.
3833 * human.m4: New file.
3839 * backupfile.m4: New file.
3840 * d-ino.m4: Indentation.
3843 * fsusage.m4 (gl_FSUSAGE): New macro.
3844 (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
3845 (gl_PREREQ_FSUSAGE_EXTRA): New macro.
3848 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
3851 * euidaccess.m4: New file.
3854 * file-type.m4: New file.
3857 * fileblocks.m4: New file.
3860 * filemode.m4: New file.
3863 * isdir.m4: New file.
3866 * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
3867 (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
3870 * makepath.m4: New file.
3873 * modechange.m4: New file.
3876 * mountlist.m4: New file.
3877 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
3881 * path-concat.m4: New file.
3884 * pathmax.m4: New file.
3887 * same.m4: New file.
3890 * save-cwd.m4: New file.
3893 * savedir.m4: New file.
3896 * xgetcwd.m4: New file.
3897 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
3900 * xreadlink.m4: New file.
3903 * safe-read.m4: New file.
3906 * safe-write.m4: New file.
3909 * closeout.m4: New file.
3912 * stdio-safer.m4: New file.
3915 * getpass.m4: New file.
3918 * getugroups.m4: New file.
3920 Module group-member.
3921 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
3922 (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
3925 * idcache.m4: New file.
3928 * userspec.m4: New file.
3931 * clock_time.m4: New file.
3932 * gettime.m4: New file.
3935 * settime.m4: New file.
3938 * posixtm.m4: New file.
3941 * gethostname.m4: New file.
3944 * canon-host.m4: New file.
3947 * codeset.m4: New file, from gettext-0.11.5.
3948 * gettext.m4: New file, from gettext-0.11.5.
3949 * glibc21.m4: New file, from gettext-0.11.5.
3950 * iconv.m4: New file, from gettext-0.11.5.
3951 * intdiv0.m4: New file, from gettext-0.11.5.
3952 * inttypes-pri.m4: New file, from gettext-0.11.5.
3953 * inttypes.m4: New file, from gettext-0.11.5.
3954 * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
3955 * isc-posix.m4: New file, from gettext-0.11.5.
3956 * lcmessage.m4: New file, from gettext-0.11.5.
3957 * lib-ld.m4: New file, from gettext-0.11.5.
3958 * lib-link.m4: New file, from gettext-0.11.5.
3959 * lib-prefix.m4: New file, from gettext-0.11.5.
3960 * progtest.m4: New file, from gettext-0.11.5.
3961 * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
3962 * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
3963 * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
3965 Module localcharset.
3966 * localcharset.m4: New file.
3969 * hard-locale.m4: New file.
3972 * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
3974 * mbrtowc.m4: Add comment.
3977 * memcasecmp.m4: New file.
3980 * memcoll.m4: New file.
3983 * unicodeio.m4: New file.
3986 * rpmatch.m4: New file.
3989 * yesno.m4: New file.
3992 * exitfail.m4: New file.
3995 * c-stack.m4 (gl_C_STACK): New macro.
3996 (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
3999 * error.m4 (gl_ERROR): New macro.
4000 (jm_PREREQ_ERROR): Use onceonly macros.
4003 * fatal.m4: New file.
4006 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
4007 (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
4010 * getpagesize.m4: New file.
4012 Module getusershell.
4013 * getusershell.m4: New file.
4016 * physmem.m4: New file.
4019 * posixver.m4: New file.
4022 * quotearg.m4: New file.
4025 * quote.m4: New file.
4028 * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
4031 * sig2str.m4: New file.
4034 * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
4036 * intmax_t.m4: New file.
4037 * d-type.m4: Indentation.
4038 * jm-macros.m4: Update.
4039 * prereq.m4 (jm_PREREQ): Update.
4040 (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
4041 (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
4042 (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
4043 (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
4044 (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
4045 (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
4046 (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
4047 (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
4048 (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
4049 (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
4050 (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
4051 (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
4052 (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
4053 (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
4054 (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
4055 (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
4056 (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
4057 (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
4058 * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
4060 2002-12-18 Bruno Haible <bruno@clisp.org>
4062 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
4063 * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
4065 2002-12-17 Bruno Haible <bruno@clisp.org>
4067 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
4070 2002-12-11 Bruno Haible <bruno@clisp.org>
4072 * setenv.m4: New file, from gettext-0.11.5.
4074 2002-12-06 Paul Eggert <eggert@twinsun.com>
4076 Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
4077 a pain in practice to deal with generated m4 files. This change
4078 goes together with the 2002-12-04 unlocked-io.h change in ../lib.
4080 * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
4081 and jm-glibc-io.m4, as they are no longer a special case.
4082 * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
4083 kludge and the auto-generation stuff. Check only whether the
4084 functions are declared, not whether they exist, since older hosts
4085 that don't declare the functions can't use the optimization anyway.
4087 2002-07-06 Jim Meyering <meyering@lucent.com>
4089 * README: Don't mention Makefile.am.in.
4090 Outline how I've tested changes to .m4 files. Yep, it's a pain.
4092 2002-06-11 Paul Eggert <eggert@twinsun.com>
4094 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
4096 2002-06-22 Jim Meyering <meyering@lucent.com>
4098 * c-stack.m4: New file, from diffutils-2.8.2.
4099 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
4101 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
4102 now that configure.ac uses AC_GNU_SOURCE.
4103 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
4104 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
4106 Update to latest tools. Suggestions from Paul Eggert.
4107 * stdbool.m4: New file, from diffutils-2.8.2.
4108 * gnu-source.m4: Update from diffutils-2.8.2.
4109 * fnmatch.m4: Likewise.
4110 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
4111 to AC_HEADER_STDBOOL
4113 2002-06-21 Jim Meyering <meyering@lucent.com>
4115 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
4116 * mbrtowc.m4: Likewise.
4118 * mbstate_t.m4: Update from diffutils-2.8.2.
4119 * mbswidth.m4: Reflect name change:
4120 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
4121 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
4123 * lib-link.m4: Update from gettext-0.11.2.
4124 * gettext.m4: Likewise.
4126 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
4127 From Alfred M. Szmidt.
4129 2002-05-19 Paul Eggert <eggert@twinsun.com>
4131 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
4133 2002-06-07 Jim Meyering <meyering@lucent.com>
4135 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
4136 They're needed at least for NetBSD 1.5.2.
4137 ($statxfs_includes): Include those same headers.
4138 ($statxfs_includes): Include sys/vfs.h if available.
4139 ($statxfs_includes): Likewise for sys/statvfs.h.
4140 Check for the following members in both structs statfs and statvfs:
4141 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
4143 2002-06-01 Jim Meyering <meyering@lucent.com>
4145 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
4146 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
4148 2002-05-28 Jim Meyering <meyering@lucent.com>
4150 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
4151 Reported by Volker Borchert.
4153 2002-05-27 Jim Meyering <meyering@lucent.com>
4155 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
4158 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
4159 use the replacement function; it wouldn't resolve at link time.
4160 Reported by Volker Borchert.
4162 2002-04-30 Jim Meyering <meyering@lucent.com>
4164 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
4166 2002-04-29 Paul Eggert <eggert@twinsun.com>
4168 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
4169 Do not check for alloca.h (no longer used) or stdbool.h (was never
4170 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
4172 2002-04-28 Paul Eggert <eggert@twinsun.com>
4174 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
4176 2002-04-29 Jim Meyering <meyering@lucent.com>
4178 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
4179 * prereq.m4: Add jm_PREREQ_STRNLEN.
4180 Use AC_FUNC_STRNLEN here instead.
4182 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
4183 With autoconf-2.53a, it's part of AC_PROG_CC.
4185 2002-04-28 Paul Eggert <eggert@twinsun.com>
4187 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
4188 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
4190 2002-04-24 Jim Meyering <meyering@lucent.com>
4192 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
4193 (jm_PREREQ): Use it.
4195 * getloadavg.m4: Check for these headers: locale.h unistd.h
4196 mach/mach.h fcntl.h.
4197 Check for this function: setlocale.
4199 2002-04-16 Jim Meyering <meyering@lucent.com>
4201 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
4202 ut_pid, ut_id, ut_exit.
4204 2002-04-12 Jim Meyering <meyering@lucent.com>
4206 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
4207 check for f_type in sys/mount.h. Instead, just test for the existence
4208 of the getmntinfo function. Needed for Darwin 5.3.
4210 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
4211 This is necessary at least on Darwin 5.3.
4213 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
4214 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
4215 in the library, and that makes some versions of ranlib object.
4217 2002-04-09 Jim Meyering <meyering@lucent.com>
4219 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
4220 to be more precise. Rather than saying we're checking whether the
4221 function `works', say what we're testing.
4222 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
4223 Reported by Bruno Haible.
4225 2002-02-27 Paul Eggert <eggert@twinsun.com>
4227 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
4228 Check for clock_settime.
4230 2002-02-25 Paul Eggert <eggert@twinsun.com>
4233 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
4234 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
4236 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
4238 * codeset.m4: Upgrade to gettext-0.11.
4239 * gettext.m4: Upgrade to gettext-0.11.
4240 * glibc21.m4: Upgrade to gettext-0.11.
4241 * iconv.m4: Upgrade to gettext-0.11.
4242 * isc-posix.m4: Upgrade to gettext-0.11.
4243 * lcmessage.m4: Upgrade to gettext-0.11.
4244 * lib-ld.m4: New file, from gettext-0.11.
4245 * lib-link.m4: New file, from gettext-0.11.
4246 * lib-prefix.m4: New file, from gettext-0.11.
4247 * progtest.m4: Upgrade to gettext-0.11.
4249 2002-02-15 Paul Eggert <eggert@twinsun.com>
4251 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
4252 (jm_PREREQ): Use it.
4254 2002-01-26 Jim Meyering <meyering@lucent.com>
4256 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
4257 * strnlen.m4: Remove file, now that it's part of autoconf.
4259 2002-01-22 Paul Eggert <eggert@twinsun.com>
4261 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
4263 2002-01-19 Jim Meyering <meyering@lucent.com>
4265 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
4266 Remove useless quotes: DF_PROG="df".
4267 * strnlen.m4: New file.
4269 2001-12-14 Jim Meyering <meyering@lucent.com>
4271 * jm-macros.m4 (jm_MACROS): Check for iswspace.
4272 Suggestion from Bruno Haible.
4274 2001-11-20 Jim Meyering <meyering@lucent.com>
4276 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
4277 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
4279 2001-11-19 Jim Meyering <meyering@lucent.com>
4281 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
4282 directory. Use "conftestXXXXXX" as the template.
4283 Suggestion from Paul Eggert.
4285 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
4286 so the test doesn't mistakenly hit the max-open-files limit.
4288 2001-11-18 Jim Meyering <meyering@lucent.com>
4290 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
4292 2001-11-17 Jim Meyering <meyering@lucent.com>
4294 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
4295 Prompted by a report from Bob Proulx.
4297 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
4298 Instead, require UTILS_FUNC_MKSTEMP.
4300 2001-11-11 Jim Meyering <meyering@lucent.com>
4302 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
4303 Now, that's done as part of AC_FUNC_STRTOD.
4305 2001-10-22 Paul Eggert <eggert@twinsun.com>
4307 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
4308 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
4310 2001-11-10 Jim Meyering <meyering@lucent.com>
4312 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
4313 (jm_PREREQ): Use it.
4315 2001-11-09 Jim Meyering <meyering@lucent.com>
4317 * jm-macros.m4: Require autoconf-2.52f.
4318 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
4319 Use these AC_-prefixed names, not the AM_-prefixed ones.
4321 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
4323 2001-11-04 Jim Meyering <meyering@lucent.com>
4325 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
4327 2001-11-03 Jim Meyering <meyering@lucent.com>
4329 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
4332 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
4333 know the name of the variable in the macro definition.
4335 2001-11-01 Jim Meyering <meyering@lucent.com>
4337 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
4338 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
4340 2001-10-20 Paul Eggert <eggert@twinsun.com>
4342 * error.m4 (jm_PREREQ_ERROR):
4343 Do not invoke AC_CHECK_FUNCS with strerror_r, as
4344 AC_FUNC_STRERROR_R does that.
4345 Check for strerror declaration.
4347 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
4348 are supposed to have them these days.
4349 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
4350 Merge changes from latest Autoconf CVS.
4351 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
4352 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
4353 POSIX decided to standardize on the int flavor of strerror_r.
4355 2001-09-30 Jim Meyering <meyering@lucent.com>
4357 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
4358 `struct fsstat' has the `f_fstypename' member.
4359 Use that to define FS_TYPE, which is now used to make
4360 the getfsstat link test tighter.
4362 2001-09-29 Jim Meyering <meyering@lucent.com>
4364 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
4365 [one-argument getmntent function]): Include stdio.h before mntent.h.
4366 SunOS 4.1.x needs it for the declaration of `FILE'.
4367 Patch by Volker Borchert.
4369 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
4370 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
4371 sys/fs_types.h, and make the link-test for getfsstat guard #include
4372 directives with appropriate #if HAVE_*_H tests so that we can
4373 detect getfsstat on Apple Darwin1.3.7 systems.
4374 Reported by Nelson Beebe.
4375 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
4377 2001-09-28 Paul Eggert <eggert@twinsun.com>
4379 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
4380 #defines strtoimax. Also treat the other strto* functions
4383 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
4384 Check for strtoul and strtoumax,
4385 as those declarations are made even in the signed case.
4386 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
4387 Likewise, for strtol and strtoimax.
4389 2001-09-24 Jim Meyering <meyering@lucent.com>
4391 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
4393 2001-09-23 Jim Meyering <meyering@lucent.com>
4395 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
4396 instead of the mere test for existence of mntent.h. The latter
4397 would get a false-positive on AIX 3.4 systems.
4398 In the outer getmntent if-block, don't die if neither of the getmntent
4399 tests succeeds. Instead, just fall through and continue with the
4402 2001-09-22 Jim Meyering <meyering@lucent.com>
4404 * gettext.m4: New file. From gettext.
4405 * lcmessage.m4: Sync with gettext -- this changes only comments.
4406 * progtest.m4: Likewise
4407 * isc-posix.m4: Decrement serial number to sync with gettext.
4408 * glibc21.m4: Likewise.
4410 * libintl.m4: Remove. No longer used.
4412 2001-09-20 Jim Meyering <meyering@lucent.com>
4414 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
4416 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
4419 2001-09-17 Jim Meyering <meyering@lucent.com>
4421 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
4422 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
4423 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
4424 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
4425 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
4426 whenever the right hand side need not be expanded by the shell.
4428 2001-09-16 Paul Eggert <eggert@twinsun.com>
4430 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
4431 library. It's not correct, as some older glibcs are buggy.
4432 fnmatch wasn't fixed until glibc 2.2.
4434 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
4435 special shell magic here.
4437 2001-09-16 Jim Meyering <meyering@lucent.com>
4439 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
4440 * jm-macros.m4: Require it.
4442 2001-09-15 Jim Meyering <meyering@lucent.com>
4444 * jm-macros.m4: Check for help2man.
4446 2001-09-11 Jim Meyering <meyering@lucent.com>
4448 * host-os.m4 (UTILS_HOST_OS): New file/macro.
4449 The body, by Paul Eggert, was moved here from configure.in.
4450 * jm-macros.m4: Require UTILS_HOST_OS.
4452 2001-09-04 Paul Eggert <eggert@twinsun.com>
4454 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
4455 (jm_PREREQ): Use it.
4457 2001-09-03 Paul Eggert <eggert@twinsun.com>
4459 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
4460 sys/param.h, as pathmax.h includes them.
4462 2001-09-03 Paul Eggert <eggert@twinsun.com>
4464 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
4465 (jm_PREREQ_XGETCWD): New macro.
4467 * getcwd.m4: New file.
4469 2001-09-01 Jim Meyering <meyering@lucent.com>
4471 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
4474 2001-08-30 Paul Eggert <eggert@twinsun.com>
4476 Simplify code, partly by assuming autoconf 2.52 semantics.
4478 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
4480 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
4481 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
4483 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
4484 Move AC_REQUIRE to next-to-top level, to avoid confusion.
4485 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
4486 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
4487 * jm-macros.m4 (jm_MACROS): Likewise.
4489 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
4491 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
4492 Quote first arg of AC_DEFUN.
4493 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
4494 since they are needed to parse the include file even if we need
4495 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
4496 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
4497 but with opposite signedness.
4499 2001-08-30 Paul Eggert <eggert@twinsun.com>
4501 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
4502 (jm_PREREQ_EXCLUDE): New macro.
4504 2001-08-26 Jim Meyering <meyering@lucent.com>
4506 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
4508 * xstrtoimax.m4: New file.
4509 * xstrtoumax.m4: Add comments explaining why we
4510 AC_REPLACE_FUNCS(strtol).
4512 2001-06-20 Paul Eggert <eggert@twinsun.com>
4514 * inttypes.m4: Add AC_PREREQ(2.13).
4515 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
4516 (jm_AC_TYPE_INTMAX_T): New macro.
4517 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
4519 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
4521 * longlong.m4: Renamed from ulonglong.m4.
4522 * inttypes.m4: Renamed from inttypes_h.m4.
4523 * uintmax_t.m4: Removed.
4525 2001-08-12 Jim Meyering <meyering@lucent.com>
4527 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
4528 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
4529 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
4530 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
4531 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
4532 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
4533 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
4534 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
4535 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
4536 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
4537 utime.m4, utimes.m4, xstrtoumax.m4:
4538 Quote the first argument in each use of AC_DEFUN.
4540 2001-08-05 Jim Meyering <meyering@lucent.com>
4542 * jm-macros.m4: Require autoconf-2.52.
4544 2001-08-03 Paul Eggert <eggert@twinsun.com>
4546 The following changes are from gettext 0.10.39 as maintained by
4547 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
4549 * codeset.m4: Upgrade to serial AM1.
4550 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
4551 all uses changed. Quote first arg of AC_DEFUN.
4552 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
4554 * iconv.m4: Upgrade to serial AM2.
4555 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
4556 Add --with-libconv-prefix.
4557 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
4558 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
4559 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
4560 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
4561 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
4563 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
4564 * getline.m4 (AM_FUNC_GETLINE): Likewise.
4565 * glibc21.m4 (jm_GLIBC21): Likewise.
4566 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
4567 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
4568 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
4569 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
4570 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
4571 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
4573 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
4576 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
4577 not the default value.
4579 2001-06-25 Bruno Haible <haible@clisp.cons.org>
4580 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
4581 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
4582 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
4583 Also check for iswcntrl, used for wcwidth fallback.
4584 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
4587 2001-08-03 Jim Meyering <meyering@lucent.com>
4589 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
4590 as it was in the original. Reported by Paul Eggert.
4592 2001-07-16 Jim Meyering <meyering@lucent.com>
4594 * gettimeofday.m4: New file.
4595 Prompted by a report from Bernhard Baehr.
4597 2001-07-15 Jim Meyering <meyering@lucent.com>
4599 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
4600 Now it's in ../Makefile.cfg.
4602 2001-07-04 Jim Meyering <meyering@lucent.com>
4604 * Makefile.am.in (glibc-io.struct): New target. Rework the code
4605 that generates jm-glibc-io.m4 so that it doesn't trigger any make
4608 2001-07-02 Jim Meyering <meyering@lucent.com>
4610 The following changes were prompted by suggestions from Bruno Haible.
4612 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
4614 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
4615 definition of EXTRA_DIST.
4616 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
4617 ensure that the generated file is created/updated whenever the list
4618 of $(unlocked_functions) is changed.
4619 (jm-glibc-io.m4): New rule.
4620 (unlocked-io.h): New rule -- currently unused.
4622 2001-06-24 Jim Meyering <meyering@lucent.com>
4624 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
4625 unmatched right bracket, rather than kludging it with an extra,
4626 falsely-matching quote in a comment. Patch by Akim Demaille.
4628 2001-05-27 Jim Meyering <meyering@lucent.com>
4630 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
4631 Check for ut_type in struct utmp.
4633 2001-05-22 Jim Meyering <meyering@lucent.com>
4635 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
4636 now that we use the package-supplied version unconditionally.
4637 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
4639 2001-05-21 Jim Meyering <meyering@lucent.com>
4641 * regex.m4: Change a couple backticks to single quotes to avoid shell
4644 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
4646 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
4648 2001-05-11 Paul Eggert <eggert@twinsun.com>
4650 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
4651 Don't bother to check library strftime, since
4652 we'll be using our own my_strftime function anyway.
4653 Define my_strftime instead of strftime.
4655 2001-05-15 Jim Meyering <meyering@lucent.com>
4657 * regex.m4: Use proper quoting so brackets appear in the test program.
4658 Reported by, and with help from, Bruno Haible.
4660 2001-05-13 Jim Meyering <meyering@lucent.com>
4662 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
4664 2000-11-26 Paul Eggert <eggert@twinsun.com>
4666 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
4668 2001-04-21 Jim Meyering <meyering@lucent.com>
4670 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
4673 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
4675 * ftruncate.m4: Check for chsize.
4676 Link with ftruncate.o unconditionally if ftruncate is missing.
4677 This was required when cross-compiling to i586-mingw32msvc.
4679 2001-03-24 Jim Meyering <meyering@lucent.com>
4681 * jm-macros.m4: Require autoconf-2.49d.
4683 2001-03-20 Bruno Haible <haible@clisp.cons.org>
4685 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
4687 2001-03-17 Jim Meyering <meyering@lucent.com>
4689 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
4690 now that the version in autoconf is equivalent.
4691 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
4693 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
4694 Suggestion from Akim Demaille.
4696 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
4697 (jm_PREREQ_TEMPNAME): New function.
4699 2001-02-25 Paul Eggert <eggert@twinsun.com>
4701 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
4702 lacks mkstemp. Compile our own tempname.c if we compile our own
4703 mkstemp.c, as mkstemp relies on tempname.
4705 2001-03-01 Jim Meyering <meyering@lucent.com>
4707 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
4708 AH_VERBATIM really does output its argument verbatim.
4710 2001-02-18 Paul Eggert <eggert@twinsun.com>
4712 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
4714 2001-02-17 Jim Meyering <meyering@lucent.com>
4716 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
4717 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
4718 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
4721 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
4722 rather than AC_CACHE_VAL.
4724 2001-02-17 Paul Eggert <eggert@twinsun.com>
4726 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
4727 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
4728 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
4729 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
4731 2001-02-07 Jim Meyering <meyering@lucent.com>
4733 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
4735 2001-02-05 Jim Meyering <meyering@lucent.com>
4737 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
4738 it includes the patch required for `large file' support with at least
4739 HP-UX's 10.20 /bin/cc.
4741 2001-02-03 Jim Meyering <meyering@lucent.com>
4743 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
4744 AS_IF, now that it works once again (mysteriously).
4745 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4747 2001-01-30 Jim Meyering <meyering@lucent.com>
4749 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
4750 * chown.m4: Rename conftestchown to conftest.chown.
4751 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
4752 * utimes.m4: s/conftestdata/conftest.data/
4753 Inspired by Pavel Roskin's change in autoconf.
4755 2001-01-27 Jim Meyering <meyering@lucent.com>
4757 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
4759 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4761 2001-01-26 Jim Meyering <meyering@lucent.com>
4763 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
4764 quotearg.c includes it.
4766 2001-01-15 Bruno Haible <haible@clisp.cons.org>
4768 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
4771 2001-01-20 Jim Meyering <meyering@lucent.com>
4773 Be sure that headers are checked before used in code compiled
4774 for the type checks.
4775 * jm-macros.m4 (jm_MACROS): Remove all header checks.
4776 In place of that, invoke jm_CHECK_ALL_TYPES.
4777 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
4778 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
4779 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
4780 The check for ssize_t was mistakenly run before the test for unistd.h.
4782 The configure-time check for stdbool.h was missing.
4783 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
4784 (jm_PREREQ_HASH): New function.
4786 2001-01-17 Jim Meyering <meyering@lucent.com>
4788 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
4790 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
4792 2001-01-14 Jim Meyering <meyering@lucent.com>
4794 * rename.m4: Use temporary directories named conftestdir{,2}, not
4795 foo and bar. Create conftestdir/ in the script, not in the C code.
4796 Remove directories in the script, not in the C code.
4797 Remove conftestdir{,2} before trying to create the directory.
4798 Make the entire configure script fail if the mkdir fails.
4800 2001-01-02 Volker Borchert <bt@teknon.de>
4802 * rename.m4: New file.
4803 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
4805 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
4807 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
4808 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
4809 so `make install' also works in VPATH builds.
4811 2001-01-01 Jim Meyering <meyering@lucent.com>
4813 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
4814 on systems with utmpx.h. It's necessary for the declaration of utmp's
4815 ut_user member. Reported by Andreas Jaeger.
4817 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
4818 They are required for the declarations of getgrgid and getpwuid resp.
4819 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
4820 Reported by Andreas Jaeger.
4822 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4824 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
4825 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
4826 can be used in subdirectories.
4828 2000-12-26 Jim Meyering <meyering@lucent.com>
4830 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
4833 2000-12-17 Jim Meyering <meyering@lucent.com>
4835 * dos.m4 (jm_AC_DOS): New file and macro.
4836 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
4838 2000-12-06 Paul Eggert <eggert@twinsun.com>
4840 * off_t-format.m4: Remove this file.
4841 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
4843 2000-12-06 Jim Meyering <meyering@lucent.com>
4845 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
4846 strtoull, we may well need the replacement strtoul, too.
4847 Check for declarations of strtoul and strtoull.
4848 Check for strtol. Mainly as a cue to cause automake to include
4849 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
4850 Check for limits.h -- strtol.c needs it.
4852 2000-12-02 Jim Meyering <meyering@lucent.com>
4854 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
4855 * jm-macros.m4 (jm_MACROS): require it.
4857 2000-11-30 Jim Meyering <meyering@lucent.com>
4859 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
4861 2000-11-30 Jim Meyering <meyering@lucent.com>
4863 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
4865 2000-11-03 Bruno Haible <haible@clisp.cons.org>
4867 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
4869 2000-11-04 Jim Meyering <meyering@lucent.com>
4871 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
4873 2000-10-29 Jim Meyering <meyering@lucent.com>
4875 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
4876 * ls-mntd-fs.m4: Likewise
4878 2000-10-28 Jim Meyering <meyering@lucent.com>
4880 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
4881 (jm_PREREQ_MEMCHR): New function.
4883 2000-10-21 Jim Meyering <meyering@lucent.com>
4885 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
4886 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
4887 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
4889 2000-09-18 Jim Meyering <meyering@lucent.com>
4891 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
4892 Otherwise, everyone ends up linking with -lelf for some configurations.
4893 Reported by Mike Stone.
4895 2000-08-26 Jim Meyering <meyering@lucent.com>
4897 * jm-macros.m4: Use jm_FUNC_FPENDING.
4898 * fpending.m4: New file.
4900 2000-08-20 Jim Meyering <meyering@lucent.com>
4902 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
4903 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
4904 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
4906 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
4908 Improve fileutils installation on systems where running
4909 programs (like install) can't be unlinked.
4910 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
4911 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
4913 2000-08-06 Paul Eggert <eggert@twinsun.com>
4915 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
4916 not char, for compatibility with glibc 2.1.3 strftime.c.
4918 2000-07-23 Paul Eggert <eggert@twinsun.com>
4920 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
4922 2000-07-23 Jim Meyering <meyering@lucent.com>
4924 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
4925 getgrgid, getpwuid, getuid.
4927 2000-07-16 Bruno Haible <haible@clisp.cons.org>
4929 * mbswidth.m4: New file.
4930 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
4932 2000-07-14 Jim Meyering <meyering@lucent.com>
4934 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
4936 2000-07-10 Paul Eggert <eggert@twinsun.com>
4938 From a suggestion by Bruno Haible.
4939 * mbstate_t.m4 (AC_MBSTATE_T):
4940 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
4941 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
4942 and mbstate_t, to a single-part test that simply defines mbstate_t.
4943 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
4945 2000-07-10 Jim Meyering <meyering@lucent.com>
4947 * strerror_r.m4: Mirror the correction made in autoconf.
4949 * gnu-source.m4: Output to confdefs.h directly.
4950 Suggestion from Akim Demaille.
4952 2000-07-09 Jim Meyering <meyering@lucent.com>
4954 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
4955 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
4957 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
4958 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
4960 2000-07-05 Bruno Haible <haible@clisp.cons.org>
4962 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
4964 Include <ctype.h> for use of isalpha.
4966 2000-07-05 Paul Eggert <eggert@twinsun.com>
4967 and Bruno Haible <haible@clisp.cons.org>
4969 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
4970 only if the test for an object-type mbstate_t fails. This
4971 prevents us from mistakenly reporting that mbstate_t is a
4972 system object type after we "#define mbstate_t int" to work
4975 2000-07-04 Jim Meyering <meyering@lucent.com>
4977 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
4978 of the deprecated AC_CHECKING.
4980 2000-07-03 Jim Meyering <meyering@lucent.com>
4982 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
4984 2000-07-03 Paul Eggert <eggert@twinsun.com>
4986 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
4987 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
4989 2000-07-02 Jim Meyering <meyering@lucent.com>
4991 * mbstate_t.m4: Also define mbstate_t, if necessary.
4993 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
4994 AC_LIBOBJ(function_name).
4995 * chown.m4: Likewise.
4996 * fnmatch.m4: Likewise.
4997 * ftruncate.m4: Likewise.
4998 * getgroups.m4: Likewise.
4999 * getline.m4: Likewise.
5000 * group-member.m4: Likewise.
5001 * jm-macros.m4: Likewise.
5002 * lstat.m4: Likewise.
5003 * malloc.m4: Likewise.
5004 * memcmp.m4: Likewise.
5005 * nanosleep.m4: Likewise.
5006 * putenv.m4: Likewise.
5007 * realloc.m4: Likewise.
5008 * regex.m4: Likewise.
5009 * stat.m4: Likewise.
5010 * strftime.m4: Likewise.
5012 2000-07-01 Jim Meyering <meyering@lucent.com>
5014 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
5017 2000-06-17 Bruno Haible <haible@clisp.cons.org>
5019 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
5020 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
5022 2000-07-01 Jim Meyering <meyering@lucent.com>
5024 * uptime.m4: Put double quotes around use of $cross_compiling.
5026 2000-06-28 Jim Meyering <meyering@lucent.com>
5028 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
5029 by quotearg.c, for which we perform this test. From Bruno Haible.
5031 2000-06-17 Bruno Haible <haible@clisp.cons.org>
5033 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
5034 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
5035 <utmpx.h> exists, put readutmp.o into LIBOBJS.
5037 2000-06-25 Jim Meyering <meyering@lucent.com>
5039 * mbstate_t.m4: Include stdio.h before wchar.h to work around
5040 Linux header bug when _XOPEN_SOURCE is defined to 500.
5042 2000-06-24 Jim Meyering <meyering@lucent.com>
5044 * strerror_r.m4: Revive this file -- to try out an experimental
5045 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
5046 for which strerror does return char*, but which lacks a conveniently
5047 accessible declaration of the function. If the compile-test says
5048 strerror_r doesn't work, then resort to a `run'-test that works on
5049 BeOS and segfaults on DEC Unix.
5051 2000-06-19 Paul Eggert <eggert@twinsun.com>
5053 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
5054 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
5056 2000-06-23 Jim Meyering <meyering@lucent.com>
5058 * afs.m4: Add missing AC_MSG_RESULT.
5059 Reported by Bruno Haible.
5061 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
5062 Suggestion from Bruno Haible.
5064 2000-06-21 Jim Meyering <meyering@lucent.com>
5066 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
5068 2000-06-18 Jim Meyering <meyering@lucent.com>
5070 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
5072 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
5073 `checking whether...' message to be consistent with that of the
5076 2000-06-16 Bruno Haible <haible@clisp.cons.org>
5078 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
5080 2000-06-12 Jim Meyering <meyering@lucent.com>
5082 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
5083 from autoconf, and tweak the latter to accept an optional argument.
5084 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
5085 the optional argument, `lib'.
5087 2000-06-08 Jim Meyering <meyering@lucent.com>
5089 * largefile.m4: Remove file (now that it's part of autoconf).
5091 2000-06-04 Paul Eggert <eggert@twinsun.com>
5093 Rewrite largefile configuration so that we don't need to run
5094 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
5095 AC_CANONICAL_HOST in configure.in -- jmm]
5097 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
5098 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
5099 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
5100 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
5101 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
5103 Instead of inspecting the output of getconf, try to compile the
5104 test program without and with the macro definition.
5105 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
5106 for getconf. Instead, check for the needed flags by compiling
5109 2000-06-03 Jim Meyering <meyering@lucent.com>
5111 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
5112 now that autoconf requires that.
5114 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
5115 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
5116 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
5118 2000-05-26 Bruno Haible <haible@clisp.cons.org>
5120 * glibc21.m4: New file.
5121 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
5123 2000-05-28 Jim Meyering <meyering@lucent.com>
5125 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
5126 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
5127 * stat.m4: Likewise.
5128 * lstat.m4: Likewise.
5129 * lstat-slash.m4: Remove file (absorbed into autoconf).
5131 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
5132 * strerror_r.m4: Remove file (absorbed into autoconf).
5134 2000-05-26 Jim Meyering <meyering@lucent.com>
5136 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
5138 2000-05-24 Jim Meyering <meyering@lucent.com>
5140 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
5141 autoconf requires that.
5142 * lib-check.m4: Likewise.
5143 * jm-macros.m4: Likewise.
5144 * strftime.m4: Likewise.
5146 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
5147 now that autoconf requires that.
5149 2000-05-22 Jim Meyering <meyering@lucent.com>
5151 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
5152 * lstat.m4: Likewise.
5154 2000-05-20 Jim Meyering <meyering@lucent.com>
5156 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
5157 (jm_PREREQ): Use it.
5159 2000-05-09 Jim Meyering <meyering@lucent.com>
5161 * gettext.m4: Rename this...
5162 * libintl.m4: ...to this.
5164 2000-05-06 Jim Meyering <meyering@lucent.com>
5166 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
5167 (AC_REPLACE_FUNCS): Add strnlen.
5169 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
5170 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
5172 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
5173 AC_SEARCH_LIBS call for nanosleep.
5174 (LIB_NANOSLEEP): Set and AC_SUBST.
5176 2000-05-03 Paul Eggert <eggert@twinsun.com>
5178 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
5179 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
5180 2.1.3 bug. This avoids a clash when files like regex.c define
5183 2000-05-05 Jim Meyering <meyering@lucent.com>
5185 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
5186 call for clock_gettime.
5187 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
5189 * search-libs.m4: Update from autoconf.
5191 su doesn't work on Solaris 2.6.
5192 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
5193 <shadow.h>. Reported by Dragos Harabor.
5195 2000-05-03 Jim Meyering <meyering@lucent.com>
5197 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
5199 2000-05-02 Paul Eggert <eggert@twinsun.com>
5201 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
5202 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
5203 compile-time test, rather than inspecting host and OS, to
5204 decide whether to define _LARGEFILE_SOURCE.
5206 2000-05-01 Jim Meyering <meyering@lucent.com>
5208 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
5210 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
5211 Based on a patch from Bruno Haible.
5213 2000-04-18 Jim Meyering <meyering@lucent.com>
5215 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
5216 (jm_PREREQ): Use it.
5218 2000-04-17 Jim Meyering <meyering@lucent.com>
5221 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
5222 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
5223 Suggestion from Akim Demaille.
5225 2000-04-14 Jim Meyering <meyering@lucent.com>
5227 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
5228 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
5230 2000-04-13 Jim Meyering <meyering@lucent.com>
5232 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
5233 to insert required #ifndef into config.h.in.
5234 Suggestion from Akim Demaille.
5236 2000-04-12 Jim Meyering <meyering@lucent.com>
5238 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
5239 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
5240 Christian Krackowizer.
5242 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
5243 * jm-macros.m4 (_GNU_SOURCE): Define.
5244 (AC_SYS_LARGEFILE): Require.
5245 (AM_C_PROTOTYPES): Require.
5247 2000-04-05 Paul Eggert <eggert@twinsun.com>
5249 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
5250 IRIX if the installer said otherwise.
5252 2000-04-05 Jim Meyering <meyering@lucent.com>
5254 Portability tweaks required for ultrix4.3.
5255 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
5256 (jm_CHECK_DECLS): Add getutent to the list of functions.
5257 (_jm_DECL_HEADERS): Add utmpx.h.
5258 From John David Anglin.
5260 * strftime.m4: Back out the 2000-04-02 change.
5261 Instead of that change, simply undefine putenv in the test program.
5263 2000-04-03 Jim Meyering <meyering@lucent.com>
5265 * gettext.m4: Fix typo in comment.
5267 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
5268 textutils/configure.in). Suggestion from Paul Eggert.
5269 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
5271 2000-04-02 Paul Eggert <eggert@twinsun.com>
5273 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
5274 variable in the shell rather than using putenv, which isn't
5275 portable. This avoids the configure-time inter-test dependency
5276 on the potentially-renamed putenv function.
5278 2000-03-30 Paul Eggert <eggert@twinsun.com>
5280 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
5281 before checking struct stat.st_blksize, so that
5282 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
5284 2000-03-29 Paul Eggert <eggert@twinsun.com>
5286 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
5287 since strftime.c uses HAVE_STRFTIME to decide whether to use
5288 the underlying strftime.
5290 2000-03-10 Jim Meyering <meyering@lucent.com>
5292 * lib-check.m4: Look for getspnam in -lgen, too.
5295 2000-02-02 Bruno Haible <haible@clisp.cons.org>
5297 * codeset.m4: New file.
5298 * iconv.m4: New file.
5299 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
5301 2000-03-04 Jim Meyering <meyering@lucent.com>
5303 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
5304 for lib/localcharset.c.
5306 2000-03-03 Jim Meyering <meyering@lucent.com>
5308 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
5310 2000-03-02 Jim Meyering <meyering@lucent.com>
5312 * timespec.m4: Require AC_HEADER_TIME before the cache check so
5313 the messages come out on separate lines.
5315 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
5316 rather than jm_CHECK_DECLARATIONS.
5317 * decl.m4: Remove now-unused file.
5319 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
5321 2000-02-27 Jim Meyering <meyering@lucent.com>
5323 * check-decl.m4: Add getenv to the list.
5325 2000-02-23 Jim Meyering <meyering@lucent.com>
5327 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
5328 in place of my hack.
5330 2000-02-10 Jim Meyering <meyering@lucent.com>
5332 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
5333 gnu_nanosleep to rpl_nanosleep.
5335 2000-02-09 Jim Meyering <meyering@lucent.com>
5337 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
5338 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
5340 2000-02-08 Akim Demaille <akim@epita.fr>
5342 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
5343 `[' and `]' and remove uses of `changequote'.
5344 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
5345 (AC_SYS_LARGEFILE): Likewise.
5346 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
5347 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
5349 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
5350 * readdir.m4 (jm_FUNC_READDIR): Likewise
5351 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
5352 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
5354 2000-02-05 Jim Meyering <meyering@lucent.com>
5356 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
5357 Remove explicit use of AC_HEADER_TIME. It is required by
5358 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
5359 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
5360 in autoconf whereby the expansion of the latter ended up preceding
5361 the expansion of its prerequisite, AC_HEADER_TIME.
5362 Reported by Volker Borchert.
5364 2000-02-03 Jim Meyering <meyering@lucent.com>
5366 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
5368 2000-02-02 Jim Meyering <meyering@lucent.com>
5370 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
5371 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
5372 Reported by Eli Zaretskii.
5374 2000-01-31 Jim Meyering <meyering@lucent.com>
5376 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
5377 functions. Add the time.h and sys/time.h headers along with the
5378 AC_REQUIRE'ment of AC_HEADER_TIME.
5380 2000-01-30 Jim Meyering <meyering@lucent.com>
5382 * lib-check.m4: Clean up some kludgy old shadow password tests.
5384 * prereq.m4 (utmp_includes): Define.
5385 Check for ut_user and ut_name members in both struct utmpx
5388 2000-01-29 Jim Meyering <meyering@lucent.com>
5390 * lib-check.m4: New file containing library-related checks from
5391 fileutils and sh-utils (textutils had none).
5393 2000-01-28 Jim Meyering <meyering@lucent.com>
5395 * perl.m4: Change format of warning message to look more like that
5396 from the missing script. Suggestion from François Pinard.
5398 2000-01-25 Jim Meyering <meyering@lucent.com>
5400 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
5401 as time.h in the compile check.
5402 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
5403 Fix typo in cross-compiling case: s/yes/no/.
5405 2000-01-23 Jim Meyering <meyering@lucent.com>
5407 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
5409 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
5410 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
5412 * fsusage.m4: New file. Extracted from fileutils/configure.in.
5413 s/space/ac_fsusage_space/.
5414 (jm_FILE_SYSTEM_USAGE): Take two parameters.
5416 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
5417 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
5418 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
5420 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
5421 AC_SUBST these here, rather than just in sh-util/configure.in, so
5422 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
5424 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
5425 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
5426 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
5427 (AC_SUBST(POW_LIBM)): Likewise.
5428 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
5430 2000-01-22 Jim Meyering <meyering@lucent.com>
5432 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
5434 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
5436 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
5438 (AC_CHECK_HEADERS): Likewise for sh-utils.
5439 (AC_CHECK_HEADERS): Likewise for textutils.
5440 Merge the three lists of headers.
5442 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
5443 from fileutils' configure.in.
5445 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
5446 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
5448 * check-decl.m4: Use #if rather than #ifdef.
5449 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
5450 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
5451 (_jm_DECL_HEADERS): Define new function.
5452 (jm_CHECK_DECLARATIONS): Require it.
5454 2000-01-19 Jim Meyering <meyering@lucent.com>
5456 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
5457 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
5458 defines `struct timespec' in <sys/time.h>
5460 * c-bs-a.m4: Remove uses of changequote altogether.
5461 Thanks to Akim for explaining.
5463 2000-01-16 Jim Meyering <meyering@lucent.com>
5465 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
5466 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
5467 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
5468 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
5470 2000-01-16 Jim Meyering <meyering@lucent.com>
5472 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
5473 because the latter didn't work.
5475 2000-01-15 Jim Meyering <meyering@lucent.com>
5477 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
5478 (AC_REPLACE_FUNCS): Add memcpy and memset.
5479 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
5481 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
5483 2000-01-12 Jim Meyering <meyering@lucent.com>
5485 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
5486 (jm_PREREQ): Use it.
5487 (jm_PREREQ_READUTMP): New macro.
5488 (jm_PREREQ): Use it.
5490 2000-01-11 Paul Eggert <eggert@twinsun.com>
5492 Quote multibyte characters correctly.
5493 * c-bs-a.m4: New file.
5494 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
5495 (jm_PREREQ): Use it.
5497 2000-01-11 Paul Eggert <eggert@twinsun.com>
5499 * uintmax_t.m4: Port to autoconf 2.13.
5501 2000-01-08 Jim Meyering <meyering@ascend.com>
5503 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
5504 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
5506 2000-01-04 Jim Meyering <meyering@ascend.com>
5508 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
5509 jm_STRUCT_DIRENT_D_TYPE.
5510 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
5511 jm_STRUCT_DIRENT_D_INO.
5512 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
5514 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
5515 * utime.m4: Likewise.
5517 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
5518 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
5520 2000-01-03 Paul Eggert <eggert@twinsun.com>
5522 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
5523 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
5525 2000-01-02 Jim Meyering <meyering@ascend.com>
5527 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
5528 remember if this is necessary.
5530 1999-12-26 Jim Meyering <meyering@ascend.com>
5532 * jm-macros.m4: Use it here.
5533 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
5535 1999-12-23 Jim Meyering <meyering@ascend.com>
5537 * jm-macros.m4: Check for clock_gettime (moved from
5538 fileutils/configure.in)
5539 Check for gettimeofday.
5541 1999-12-20 Jim Meyering <meyering@ascend.com>
5543 * strftime.m4: Remove kludge, now that I'm using the fixed
5544 autoconf-2.14a-1999-12-20.
5546 1999-12-19 Jim Meyering <meyering@ascend.com>
5548 * lstat-slash.m4: New file.
5549 * jm-macros.m4: Use the new macro:
5550 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
5552 1999-12-07 Jim Meyering <meyering@ascend.com>
5554 * perl.m4: Require that File::Compare be available, too.
5555 Too many systems seem to lack it.
5557 * strftime.m4: Add checks for most of the cpp macros tested in
5558 GNU's strftime.c. Prompted by a patch from Paul Eggert.
5560 1999-11-18 Paul Eggert <eggert@twinsun.com>
5562 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
5563 problem with the QNX 4.25 shell, which doesn't propagate exit
5564 status of failed commands inside shell assignments.
5566 1999-11-17 Jim Meyering <meyering@ascend.com>
5568 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
5570 1999-11-07 Jim Meyering <meyering@ascend.com>
5572 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
5574 1999-11-06 Jim Meyering <meyering@ascend.com>
5576 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
5577 * jm-macros.m4 (jm_MACROS): Use it here.
5579 1999-11-05 Jim Meyering <meyering@ascend.com>
5581 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
5582 of textutils, fileutils, and sh-utils into this one (shared between
5583 those packages) file.
5584 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
5585 AC_STRUCT_ST_BLKSIZE.
5587 1999-11-03 Jim Meyering <meyering@ascend.com>
5589 * ssize_t.m4: Remove file. No longer needed since the new version of
5590 AC_CHECK_TYPE checks includes unistd.h.
5591 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
5592 Suggestion from Akim Demaille.
5594 1999-10-30 Jim Meyering <meyering@ascend.com>
5596 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
5598 * ls-mntd-fs.m4: Likewise.
5599 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
5600 * jm-winsz1.m4: Likewise.
5602 * const.m4: Remove file, since the fix made it into the experimental
5603 version of autoconf.
5604 * mktime.m4: Likewise.
5606 * check-type.m4: Remove file, now that the latest version of
5607 AC_CHECK_TYPE takes a third arg to specify additional #includes.
5609 * ssize_t.m4: New file, requires experimental version of autoconf.
5610 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
5613 1999-10-04 Jim Meyering <meyering@ascend.com>
5615 * jm-macros.m4: Don't require autoconf-2.14.1.
5617 1999-09-22 Paul Eggert <eggert@twinsun.com>
5619 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
5620 2.95.1 bug with HP-UX 10.20.
5622 1999-09-17 Jim Meyering <meyering@ascend.com>
5624 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
5625 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
5626 due to missing strdup (against sh-utils-2.0).
5628 1999-08-29 Jim Meyering <meyering@ascend.com>
5630 * jm-macros.m4: Require jm_BISON.
5631 * bison.m4: New file.
5633 1999-08-17 Paul Eggert <eggert@twinsun.com>
5635 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
5636 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
5638 1999-08-05 Jim Meyering <meyering@ascend.com>
5640 * getline.m4: Rename test file from conftestdata to conftest.data
5641 to avoid conflicts with `conftest' on 8+3 filesystems.
5642 Suggestion from Eli Zaretskii.
5644 1999-08-04 Jim Meyering <meyering@ascend.com>
5646 * jm-macros.m4: Move a 4-line block of code from the configure.in of
5647 fileutils and sh-utils (textutils's getline test was inadequate).
5648 (AM_FUNC_GETLINE): Run this test.
5649 (AC_CHECK_FUNCS): Check for getdelim.
5650 Reported by Bob Proulx.
5652 1999-08-02 Jim Meyering <meyering@ascend.com>
5654 * jm-macros.m4: Add a comment.
5656 1999-08-01 Jim Meyering <meyering@ascend.com>
5658 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
5660 1999-08-01 Paul Eggert <eggert@twinsun.com>
5662 * lfs.m4: Remove this file.
5663 * largefile.m4: New file. It contains the old contents of
5664 lfs.m4, except that all names with prefix AC_LFS have been
5665 changed to use the prefix AC_SYS_LARGEFILE instead, to be
5666 compatible with future autoconf versions. Also, some minor m4
5667 quoting problems have been fixed.
5669 1999-07-16 Paul Eggert <eggert@twinsun.com>
5671 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
5672 that we can shift, multiply and divide unsigned long long
5673 values; Ultrix cc can't do it.
5675 1999-07-14 Paul Eggert <eggert@twinsun.com>
5677 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
5678 <inttypes.h> defines strtoumax as a macro (and not as a
5681 1999-07-05 Paul Eggert <eggert@twinsun.com>
5683 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
5684 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
5685 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
5686 and simplify the shell code.
5688 1999-07-03 Paul Eggert <eggert@twinsun.com>
5690 * mktime.m4: New file, which is a preview of what should appear
5691 in the next public autoconf release.
5693 1999-07-20 Jim Meyering <meyering@ascend.com>
5695 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
5697 1999-07-15 Jim Meyering <meyering@ascend.com>
5699 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
5701 1999-05-22 Jim Meyering <meyering@ascend.com>
5703 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
5705 1999-05-20 Jim Meyering <meyering@ascend.com>
5707 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
5708 Add a colon after each `then' in case $4 is empty.
5710 1999-05-16 Jim Meyering <meyering@ascend.com>
5712 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
5714 1999-05-10 Jim Meyering <meyering@ascend.com>
5716 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
5718 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
5721 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5723 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
5725 1999-05-04 Paul Eggert <eggert@twinsun.com>
5727 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
5728 not CPPFLAGS, so that linking works correctly in IRIX.
5730 1999-04-30 Paul Eggert <eggert@twinsun.com>
5732 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
5734 1999-04-20 Jim Meyering <meyering@ascend.com>
5736 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
5737 AC_REPLACE xstroull if necessary. From Paul Eggert.
5738 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
5740 1999-04-20 Paul Eggert <eggert@twinsun.com>
5742 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
5743 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
5744 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
5745 jm_AC_TYPE_UNSIGNED_LONG_LONG.
5746 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
5748 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
5750 1999-04-18 Jim Meyering <meyering@ascend.com>
5752 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
5753 * jm-macros.m4: Use it.
5755 1999-04-06 Jim Meyering <meyering@ascend.com>
5757 * strftime.m4: Remove test for %f.
5759 1999-03-29 Jim Meyering <meyering@ascend.com>
5761 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
5762 superset of the AC_TYPE_* checks in the textutils, fileutils,
5763 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
5766 1999-03-28 Jim Meyering <meyering@ascend.com>
5768 * jm-macros.m4: Define GNU_PACKAGE here.
5769 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
5770 replaced e.g., in the *.sh files of the sh-utils.
5772 1999-03-20 Jim Meyering <meyering@ascend.com>
5774 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
5775 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
5776 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
5778 1999-03-19 Jim Meyering <meyering@ascend.com>
5780 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
5782 1999-03-12 Jim Meyering <meyering@ascend.com>
5784 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
5786 1999-03-07 Jim Meyering <meyering@ascend.com>
5788 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
5790 1999-02-17 Jim Meyering <meyering@ascend.com>
5792 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
5793 in macro definition. From Eli Zaretskii and Alain Magloire.
5795 1999-02-07 Jim Meyering <meyering@ascend.com>
5797 * group-member.m4: New file -- extracted from sh-utils' configure.in.
5799 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
5800 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
5802 1999-02-06 Jim Meyering <meyering@ascend.com>
5804 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
5805 * fnmatch.m4: Likewise.
5806 * getgroups.m4: Likewise.
5807 * lstat.m4: Likewise.
5808 * malloc.m4: Likewise.
5809 * putenv.m4: Likewise.
5810 * realloc.m4: Likewise.
5811 * regex.m4: Likewise.
5812 * stat.m4: Likewise.
5813 * strftime.m4: Likewise.
5814 Suggestion from Alain Magloire.
5816 * chown.m4: Use `.$ac_objext', not `.o'.
5817 * fnmatch.m4: Likewise.
5818 * getgroups.m4: Likewise.
5819 * getline.m4: Likewise.
5820 * lstat.m4: Likewise.
5821 * malloc.m4: Likewise.
5822 * memcmp.m4: Likewise.
5823 * putenv.m4: Likewise.
5824 * realloc.m4: Likewise.
5825 * regex.m4: Likewise.
5826 * stat.m4: Likewise.
5827 * strftime.m4: Likewise.
5828 Suggestion from Alain Magloire.
5830 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
5833 * regex.m4: Add a run-time Test for proper operation of
5836 1999-01-31 Jim Meyering <meyering@ascend.com>
5838 * getloadavg.m4: Check for locale.h and the function, setlocale.
5840 1999-01-30 Jim Meyering <meyering@ascend.com>
5842 * check-type.m4: Use 3-arg form of AC_DEFINE.
5844 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
5845 rather than my private copy, now that the official one is up to date.
5846 * mktime.m4: Remove file.
5848 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
5849 * uptime.m4: Likewise.
5850 * uintmax_t.m4: Likewise.
5852 1999-01-28 Jim Meyering <meyering@ascend.com>
5854 * jm-macros.m4: Use jm_AFS.
5855 * afs.m4: New file (from fileutils' configure.in).
5857 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
5858 * chown.m4: Likewise.
5859 * d-ino.m4: Likewise.
5860 * d-type.m4: Likewise.
5861 * fnmatch.m4: Likewise.
5862 * getgroups.m4: Likewise.
5863 * gettext.m4: Likewise.
5864 * jm-mktime.m4: Likewise.
5865 * jm-winsz2.m4: Likewise.
5866 * lcmessage.m4: Likewise.
5867 * ls-mntd-fs.m4: Likewise.
5868 * malloc.m4: Likewise.
5869 * memcmp.m4: Likewise.
5870 * putenv.m4: Likewise.
5871 * realloc.m4: Likewise.
5872 * st_mtim.m4: Likewise.
5873 * strftime.m4: Likewise.
5875 1999-01-16 Jim Meyering <meyering@ascend.com>
5877 * jm-macros.m4 (ARGMATCH_DIE): Define.
5878 (ARGMATCH_DIE_DECL): Define.
5880 1999-01-12 Jim Meyering <meyering@ascend.com>
5882 * Makefile.am.in: Rewrite to avoid using fmt.
5883 Reported by Lars Hecking.
5885 1999-01-10 Jim Meyering <meyering@ascend.com>
5887 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
5889 * inttypes_h.m4: Likewise.
5890 * lstat.m4: Likewise.
5891 * malloc.m4: Likewise.
5892 * readdir.m4: Likewise.
5893 * realloc.m4: Likewise.
5894 * st_dm_mode.m4: Likewise.
5895 * stat.m4: Likewise.
5896 * utimbuf.m4: Likewise.
5897 * utimes.m4: Likewise.
5899 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
5900 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
5901 comments in config.h.in are meaningful.
5903 * jm-macros.m4: Require autoconf-2.13 here.
5905 * regex.m4: By default, don't use the included regex.c on systems
5906 with glibc 2. Suggestion from Uli Drepper.
5908 1999-01-02 Jim Meyering <meyering@ascend.com>
5910 * jm-macros.m4: Replace strcasecmp and strncasecmp.
5912 1998-12-18 Jim Meyering <meyering@ascend.com>
5914 * Makefile.am.in (Makefile.am): Simplify rule.
5915 Based on a suggestion from Lars Hecking.
5917 1998-11-16 Jim Meyering <meyering@ascend.com>
5919 * lfs.m4: Double-quote the `uname...` expression.
5921 1998-11-16 Paul Eggert <eggert@twinsun.com>
5923 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
5925 1998-11-14 Jim Meyering <meyering@ascend.com>
5927 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
5928 * stat.m4: Likewise.
5930 1998-11-03 Jim Meyering <meyering@ascend.com>
5932 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
5933 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
5935 1998-10-18 Jim Meyering <meyering@ascend.com>
5937 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
5939 1998-10-17 Jim Meyering <meyering@ascend.com>
5941 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
5942 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
5943 calls for those previously hard-coded headers. Instead, take a new
5945 (jm_CHECK_DECLARATIONS): Reflect interface change.
5946 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
5947 (jm_CHECK_DECL_LOCALTIME_R): New macro.
5949 * mktime.m4: Test for spring-forward gap before long-running test.
5951 1998-10-14 Jim Meyering <meyering@ascend.com>
5953 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
5954 instead of "TZ=America/Vancouver". From Paul Eggert.
5956 1998-10-11 Jim Meyering <meyering@ascend.com>
5958 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
5959 This adds a test for a recently added compatibility fix for mktime.c.
5960 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
5962 1998-09-27 Jim Meyering <meyering@ascend.com>
5964 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
5966 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
5967 ../configure.in, including a change from Gordon Matzigkeit to allow
5968 cross-compiling for the Hurd.
5970 * glibc.m4: New file/macro to test for the GNU C Library
5971 versions 1 and 2. From Gordon Matzigkeit.
5974 1998-09-21 Jim Meyering <meyering@ascend.com>
5976 * chown.m4: Declare locals: before, after. From Andries Brouwer.
5978 1998-08-18 Paul Eggert <eggert@twinsun.com>
5980 Port nanosecond-resolution times to UnixWare 2.1.2 and
5981 pedantic Solaris 2.6.
5983 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
5985 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
5986 Generate name of ns member, instead of just 1 or undef.
5987 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
5989 1998-08-15 Jim Meyering <meyering@ascend.com>
5991 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
5992 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
5993 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
5994 instead of jm_TYPE_SSIZE_T.
5996 1998-08-12 Jim Meyering <meyering@ascend.com>
5998 * st_dm_mode.m4: New file. From Johan Danielsson.
6000 1998-08-02 Jim Meyering <meyering@ascend.com>
6002 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
6003 in acconfig.h manually.
6005 1998-07-31 Paul Eggert <eggert@twinsun.com>
6007 * st_mtim.m4: New file.
6009 1998-07-28 Jim Meyering <meyering@ascend.com>
6011 * utimes.m4: Undef stat.
6013 1998-07-25 Jim Meyering <meyering@ascend.com>
6015 * utime.m4 (jm_FUNC_UTIME): New file and macro.
6016 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
6018 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
6020 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
6021 uid and gid actually remain unchanged.
6023 1998-07-07 Jim Meyering <meyering@ascend.com>
6025 * jm-glibc-io.m4: Remove fclose_unlocked.
6027 1998-07-04 Jim Meyering <meyering@ascend.com>
6029 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
6030 to prove that this macro can be used in packages without regex.c.
6032 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6034 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
6037 1998-07-03 Jim Meyering <meyering@ascend.com>
6039 * gettext.m4: Add -lintl if it's found to be necessary.
6041 * gettext.m4: New file -- from gettext-0.10.35.
6042 * lcmessage.m4: Likewise.
6043 * progtest.m4: Likewise.
6045 * regex.m4 (jm_WITH_REGEX): New file and macro.
6046 * jm-macros.m4: Require the new macro.
6048 1998-06-29 Jim Meyering <meyering@ascend.com>
6050 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
6051 for the definition of NGROUPS (used in a system header included
6054 1998-06-28 Jim Meyering <meyering@ascend.com>
6056 * ls-mntd-fs.m4: New file.
6057 * fstypename.m4: New file.
6059 * jm-macros.m4: Require the new macro.
6060 * jm-glibc-io.m4: New file.
6062 1998-05-19 Jim Meyering <meyering@ascend.com>
6064 * jm-macros.m4: Add jm_FUNC_LCHOWN.
6065 * lchown.m4: New file.
6067 * Makefile.am.in: New file.
6068 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
6070 1998-05-14 Jim Meyering <meyering@ascend.com>
6072 * Makefile.am (EXTRA_DIST): Add them.
6073 * jm-macros.m4: New file.
6074 * utimbuf.m4: New file.
6076 1998-05-12 Jim Meyering <meyering@ascend.com>
6078 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
6080 1998-05-11 Jim Meyering <meyering@ascend.com>
6082 * isc-posix.m4: New file.
6084 1998-05-10 Jim Meyering <meyering@ascend.com>
6086 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
6088 1998-05-09 Jim Meyering <meyering@ascend.com>
6090 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
6091 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
6094 * ssize_t.m4: New file.
6095 * mktime.m4: Remove file -- the new automake has this now.
6097 1998-04-26 Jim Meyering <meyering@ascend.com>
6099 * assert.m4: New file.
6100 * Makefile.am (EXTRA_DIST): Add assert.m4.
6102 1998-04-05 Jim Meyering <meyering@ascend.com>
6104 * prereq.m4 (jm_PREREQ_REGEX): New macro.
6105 (jm_PREREQ): Use it here.
6107 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
6109 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
6112 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
6114 * prereq.m4: New file.
6115 * error.m4: New file.
6116 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
6118 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
6120 * getline.m4: Don't set am_cv_func_working_getline before the
6121 cache-check for the same variable -- that defeated the purpose of
6122 the test; the test program was never run. This was a problem only
6123 on systems with losing getline functions -- HP-UX 10.20 is one.
6124 Reported by Bjorn Helgaas.
6126 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
6128 * Makefile.am (EXTRA_DIST): Add perl.m4.
6130 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
6132 * Makefile.am (EXTRA_DIST): Add const.m4.
6134 * const.m4: New file. Use an initializer in this declaration
6135 typedef int charset[2]; const charset x;
6136 Reported by Bob Glickstein.
6138 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
6140 * chown.m4: Fix reversed types on -1 args to chown.
6143 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
6145 * check-decl.m4: s/DECLARATION_/DECL_/g.
6146 Add lseek and memchr.
6148 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
6149 T.E.Dickey <dickey@clark.net> said that some older preprocessors
6150 have a 20-character limit on names.
6152 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
6154 * inttypes_h.m4: New file.
6155 * uintmax_t.m4: New file.
6156 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
6158 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6159 Free Software Foundation, Inc.
6160 Copying and distribution of this file, with or without modification,
6161 are permitted provided the copyright notice and this notice are preserved.