1 2006-08-28 Eric Blake <ebb9@byu.net>
3 * inttypes.m4 (gl_INTTYPES_H): Fix missing #endif.
5 2006-08-28 Paul Eggert <eggert@cs.ucla.edu>
7 * inttypes.m4 (gl_INTTYPES_H): Move ABSOLUTE_INTTYPES_H code here...
8 * stdint.m4 (gl_STDINT_H): ... from here. This undoes the most recent
9 change to stdint.m4, since we're now addressing the problem in a
12 2006-08-28 Bruno Haible <bruno@clisp.org>
14 * inttypes.m4 (gl_INTTYPES_H): Don't test for the existence of SCNX*
17 2006-08-22 Eric Blake <ebb9@byu.net>
19 * codeset.m4 (AM_LANGINFO_CODESET): Avoid compiler warning.
21 2006-08-26 Bruno Haible <bruno@clisp.org>
23 * inttypes.m4: New file.
24 * _inttypes_h.m4: Remove file.
25 * inttypes-pri.m4 (gt_INTTYPES_PRI): Also AC_SUBST PRI_MACROS_BROKEN.
26 * stdint.m4 (gl_STDINT_H): Define also ABSOLUTE_INTTYPES_H.
28 * imaxabs.m4: New file.
30 * imaxdiv.m4: New file.
32 2006-08-25 Paul Eggert <eggert@cs.ucla.edu>
34 * config-h.m4: New file.
36 2006-08-23 Bruno Haible <bruno@clisp.org>
38 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Don't consider BeOS statvfs
41 * lock.m4 (gl_LOCK_EARLY): Renamed from gl_LOCK.
42 (gl_LOCK_BODY): Remove gl_PREREQ_LOCK invocation.
45 2006-08-18 Bruno Haible <bruno@clisp.org>
47 * lock.m4 (gl_LOCK_BODY): Change the default value of gl_use_threads
49 Reported by Stephen Cartwright <sgcartwr@ucalgary.ca>.
51 2006-08-22 Eric Blake <ebb9@byu.net>
53 * stdint_h.m4 (gl_AC_HEADER_STDINT_H): Avoid compiler warning.
54 * inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise.
55 * longlong.m4 (AC_TYPE_LONG_LONG_INT): Likewise.
56 * intmax_t.m4 (gt_AC_TYPE_INTMAX_T): Likewise.
58 2006-08-22 Bruno Haible <bruno@clisp.org>
60 * readutmp.m4 (gl_READUTMP): Compile readutmp.c only if <utmp.h> or
63 2006-08-22 Paul Eggert <eggert@cs.ucla.edu>
65 * rijndael.m4 (gl_ARCFOUR):
66 * arctwo.m4 (gl_ARCTWO):
67 * check-version.m4 (gl_CHECK_VERSION):
70 * gc-pbkdf2-sha1.m4 (gl_GC_PBKDF2_SHA1):
72 * getdelim.m4 (gl_FUNC_GETDELIM):
73 * getline.m4 (gl_FUNC_GETLINE):
74 * getlogin_r.m4 (gl_GETLOGIN_R_SUBSTITUTE):
75 * hmac-md5.m4 (gl_HMAC_MD5):
76 * hmac-sha1.m4 (gl_HMAC_SHA1):
79 * pagealign_alloc.m4 (gl_PAGEALIGN_ALLOC):
80 * read-file.m4 (gl_FUNC_READ_FILE):
81 * readline.m4 (gl_FUNC_READLINE):
82 * rijndael.m4 (gl_RIJNDAEL):
83 Don't use AC_LIBSOURCES; instead, rely on the files in ../modules/
84 to get the necessary .h files and whatnot.
86 2006-08-21 Paul Eggert <eggert@cs.ucla.edu>
88 * mkdir-p.m4 (gl_MKDIR_PARENTS): Check for fchmod.
90 * argmatch.m4: New file, from coreutils with AC_LIBSOURCES removed.
91 * dev-ino.m4, same-inode.m4: Remove.
93 * _inttypes_h.m4 (gl_INTTYPES_H):
94 * acl.m4 (AC_FUNC_ACL):
95 * backupfile.m4 (gl_BACKUPFILE):
96 * c-strtod.m4 (gl_C99_STRTOLD):
97 * canon-host.m4 (gl_CANON_HOST):
98 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME):
99 * chdir-long.m4 (gl_FUNC_CHDIR_LONG):
100 * chdir-safer.m4 (gl_CHDIR_SAFER):
101 * cloexec.m4 (gl_CLOEXEC):
102 * close-stream.m4 (gl_CLOSE_STREAM):
103 * closeout.m4 (gl_CLOSEOUT):
104 * dirfd.m4 (gl_FUNC_DIRFD):
105 * dirname.m4 (gl_DIRNAME):
106 * exclude.m4 (gl_EXCLUDE):
107 * exitfail.m4 (gl_EXITFAIL):
108 * fcntl-safer.m4 (gl_FCNTL_SAFER):
109 * file-type.m4 (gl_FILE_TYPE):
110 * filemode.m4 (gl_FILEMODE):
111 * filenamecat.m4 (gl_FILE_NAME_CONCAT):
112 * fpending.m4 (gl_FUNC_FPENDING):
113 * fprintftime.m4 (gl_FPRINTFTIME):
114 * fts.m4 (gl_FUNC_FTS):
115 * getcwd.m4 (gl_FUNC_GETCWD_NULL):
116 * getdate.m4 (gl_GETDATE):
117 * gethrxtime.m4 (gl_GETHRXTIME):
118 * getpagesize.m4 (gl_GETPAGESIZE):
119 * getpass.m4 (gl_FUNC_GETPASS):
120 * gettime.m4 (gl_GETTIME):
121 * getugroups.m4 (gl_GETUGROUPS):
122 * glob.m4 (gl_GLOB_SUBSTITUTE):
123 * group-member.m4 (gl_FUNC_GROUP_MEMBER):
124 * hard-locale.m4 (gl_HARD_LOCALE):
126 * idcache.m4 (gl_IDCACHE):
127 * lchmod.m4 (gl_FUNC_LCHMOD):
128 * lchown.m4 (gl_FUNC_LCHOWN):
129 * long-options.m4 (gl_LONG_OPTIONS):
130 * lstat.m4 (gl_FUNC_LSTAT):
132 * memcasecmp.m4 (gl_MEMCASECMP):
133 * memcoll.m4 (gl_MEMCOLL):
134 * mempcpy.m4 (gl_FUNC_MEMPCPY):
135 * memrchr.m4 (gl_FUNC_MEMRCHR):
136 * memxor.m4 (gl_MEMXOR):
137 * mkancesdirs.m4 (gl_MKANCESDIRS):
138 * mkdir-p.m4 (gl_MKDIR_PARENTS):
139 * modechange.m4 (gl_MODECHANGE):
140 * mountlist.m4 (gl_MOUNTLIST):
141 * nanosleep.m4 (gl_FUNC_NANOSLEEP):
142 * openat.m4 (gl_FUNC_OPENAT):
143 * pathmax.m4 (gl_PATHMAX):
144 * physmem.m4 (gl_PHYSMEM):
145 * posixtm.m4 (gl_POSIXTM):
146 * posixver.m4 (gl_POSIXVER):
147 * quote.m4 (gl_QUOTE):
148 * quotearg.m4 (gl_QUOTEARG):
149 * readtokens.m4 (gl_READTOKENS):
150 * readutmp.m4 (gl_READUTMP):
151 * regex.m4 (gl_REGEX):
152 * safe-read.m4 (gl_SAFE_READ):
153 * safe-write.m4 (gl_SAFE_WRITE):
155 * save-cwd.m4 (gl_SAVE_CWD):
156 * savedir.m4 (gl_SAVEDIR):
157 * settime.m4 (gl_SETTIME):
159 * sig2str.m4 (gl_FUNC_SIG2STR):
160 * stat-macros.m4 (gl_STAT_MACROS):
161 * stat-time.m4 (gl_STAT_TIME):
162 * stdio-safer.m4 (gl_FOPEN_SAFER):
163 * stdlib-safer.m4 (gl_STDLIB_SAFER):
164 * strdup.m4 (gl_FUNC_STRDUP):
165 * strftime.m4 (gl_FUNC_GNU_STRFTIME):
166 * strndup.m4 (gl_FUNC_STRNDUP):
167 * strnlen.m4 (gl_FUNC_STRNLEN):
168 * strverscmp.m4 (gl_FUNC_STRVERSCMP):
169 * time_r.m4 (gl_TIME_R):
170 * timespec.m4 (gl_TIMESPEC):
171 * unistd-safer.m4 (gl_UNISTD_SAFER):
172 * unlinkdir.m4 (gl_UNLINKDIR):
173 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO):
174 * userspec.m4 (gl_USERSPEC):
175 * utimecmp.m4 (gl_UTIMECMP):
176 * utimens.m4 (gl_UTIMENS):
177 * xalloc.m4 (gl_XALLOC):
178 * xgetcwd.m4 (gl_XGETCWD):
179 * xnanosleep.m4 (gl_XNANOSLEEP):
180 * xreadlink.m4 (gl_XREADLINK):
181 * xstrtod.m4 (gl_XSTRTOD):
182 * yesno.m4 (gl_YESNO):
183 Don't use AC_LIBSOURCES; instead, rely on the files in ../modules/
184 to get the necessary .h files and whatnot.
186 2006-08-19 Bruno Haible <bruno@clisp.org>
189 * mbchar.m4 (gl_MBCHAR): Compile mbchar.c also if <wctype.h> doesn't
192 2006-08-20 Paul Eggert <eggert@cs.ucla.edu>
194 Remove files that are no longer needed by their respective modules.
195 * obstack.m4: Remove.
196 * strerror_r.m4: Remove.
197 * uint32_t.m4: Remove.
198 * uintptr_t.m4: Remove.
199 * ullong_max.m4: Remove.
200 * xstrtoimax.m4: Remove.
201 * xstrtoumax.m4: Remove.
203 * cycle-check.m4 (gl_CYCLE_CHECK): Do not require gl_AC_TYPE_UINTMAX_T,
204 gl_STRUCT_DEV_INO, or gl_SAME_INODE, since gnulib dependencies now
207 * cycle-check.m4 (gl_CYCLE_CHECK):
208 Do not use AC_LIBSOURCES, since gnulib modules now do this.
209 * fsusage.m4 (gl_FSUSAGE): Likewise.
210 * human.m4 (gl_HUMAN): Likewise.
211 * inttostr.m4 (gl_INTTOSTR): Likewise.
212 * xstrtol.m4 (gl_XSTRTOL): Likewise.
214 * filemode.m4 (gl_FILEMODE): Require AC_STRUCT_ST_DM_MODE.
216 * filemode.m4 (gl_PREREQ_FSUSAGE_EXTRA): Do not require
217 gl_AC_TYPE_INTMAX_T or gl_AC_TYPE_UINTMAX_T, since we now require
219 * human.m4 (gl_HUMAN): Likewise.
220 * inttostr.m4 (gl_PREREQ_INTTOSTR): Likewise.
221 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Likewise.
222 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Likewise.
223 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Likewise.
224 * xstrtol (gl_XSTRTOL): Likewise.
226 * gethrxtime.m4 (gl_XTIME): gl_AC_TYPE_LONG_LONG ->
227 AC_TYPE_LONG_LONG_INT.
228 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Likewise.
229 * strtoll.m4 (gl_FUNC_STRTOLL): Likewise.
230 * strtoull.m4 (gl_FUNC_STRTOULL): Likewise, for unsigned long.
231 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Likewise.
233 * human.m4 (gl_HUMAN): Do not require AM_STDBOOL_H since we depend
236 * xstrtol.m4 (gl_PREREQ_XSTRTOL_H, gl_PREREQ_XSTRTOL): Remove.
237 (gl_PREREQ_XSTRTOUL): Remove.
239 * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Check for hasmntopt.
241 * posixver.m4: Fix comment since head -1 now works even in POSIX mode.
243 2006-08-18 Paul Eggert <eggert@cs.ucla.edu>
244 Bruno Haible <bruno@clisp.org>
246 * bison-i18n.m4 (BISON_I18N): Also handle the case where yacc exists
247 and is a script that invokes bison. Tighten the code. Add comments.
249 2006-08-18 Bruno Haible <bruno@clisp.org>
251 * bison-i18n.m4: New file, from bison.
253 2006-08-18 Bruno Haible <bruno@clisp.org>
255 * ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Also check for
256 sys/statvfs.h. When getmntinfo was found, check its declaration and
257 set either MOUNTED_GETMNTINFO or MOUNTED_GETMNTINFO2 depending on it.
259 2006-08-18 Jim Meyering <jim@meyering.net>
261 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Also check for CLOCK_REALTIME,
262 since gethrxtime may revert to using clock_gettime via gettime.c.
263 Gabor Z. Papp reported that gethrxtime-using programs failed to
264 link due to unresolved clock_gettime on a linux-2.4.x system.
266 2006-08-17 Paul Eggert <eggert@cs.ucla.edu>
268 Update from coreutils.
270 2006-08-15 Jim Meyering <jim@meyering.net>
272 * openat.m4 (gl_FUNC_OPENAT): Add at-func.c via AC_LIBSOURCES.
274 2006-01-17 Jim Meyering <jim@meyering.net>
276 * fts.m4 (gl_FUNC_FTS_CORE): Depend on gl_FUNC_OPENAT.
278 2006-01-11 Jim Meyering <jim@meyering.net>
280 * openat.m4 (gl_FUNC_OPENAT): Require and compile fchmodat.c.
281 Check for the lchmod function.
283 2006-08-11 Bruno Haible <bruno@clisp.org>
285 * wcwidth.m4 (gl_FUNC_WCWIDTH): Include <stdio.h> and <time.h> before
286 <wchar.h>. Needed for OSF/1 and BSD/OS.
288 2006-08-10 Jim Meyering <jim@meyering.net>
290 * cycle-check.m4: New file.
291 Require gl_STRUCT_DEV_INO and gl_SAME_INODE.
292 * dev-ino.m4, same-inode.m4: New files.
294 2006-08-09 Paul Eggert <eggert@cs.ucla.edu>
296 * argp.m4 (gl_ARGP): Require AC_C_RESTRICT.
297 * gc.m4 (gl_PREREQ_GC): Likewise.
298 * glob.m4 (gl_PREREQ_GLOB): Likewise.
299 * inet_ntop.m4 (gl_PREREQ_INET_NTOP): Likewise.
300 * inet_pton.m4 (gl_PREREQ_INET_PTON): Likewise.
301 * memxor.m4 (gl_MEMXOR): Likewise.
302 * restrict.m4: Remove; no longer needed. All remaining uses of
303 gl_C_RESTRICT replaced by AC_C_RESTRICT.
305 Merge from coreutils.
306 * regex.m4 (gl_PREREQ_REGEX): Require AC_C_RESTRICT, not
307 gl_C_RESTRICT, now that we assume Autoconf 2.59 or later.
308 * strtok_r.m4 (gl_FUNC_STRTOK_R): Likewise.
309 * time_r.m4 (gl_TIME_R): Likewise.
311 2006-07-31 Bruno Haible <bruno@clisp.org>
313 * localcharset.m4 (gl_LOCALCHARSET): Remove tests for <stddef.h>,
314 <stdlib.h>, <string.h>.
316 2006-07-30 Bruno Haible <bruno@clisp.org>
318 * wcwidth.m4 (gl_FUNC_WCWIDTH): Assume <string.h> exists.
320 2006-07-28 Simon Josefsson <jas@extundo.com>
322 * netinet_in_h.m4: New file.
324 2006-07-28 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
326 * inet_pton.m4, inet_ntop.m4: Check for netinet/in.h too.
328 2006-07-28 Bruno Haible <bruno@clisp.org>
330 * mbchar.m4 (gl_MBCHAR): Also test for iswcntrl.
332 2006-07-27 Bruno Haible <bruno@clisp.org>
334 * stdint.m4 (gl_STDINT_H): Define __STDC_CONSTANT_MACROS during the
337 2006-07-26 Eric Blake <ebb9@byu.net>
339 * unistd-safer.m4 (gl_UNISTD_SAFER): Check for missing pipe.
341 2006-07-26 Bruno Haible <bruno@clisp.org>
343 * stdint.m4 (gl_STDINT_H): Also verify the existence of the macros
344 INT*_MIN, INT_LEAST*_MAX, INT_LEAST*_MIN, UINT_LEAST*_MAX,
345 INT_FAST*_MIN, INTPTR_MIN.
347 2006-07-25 Bruno Haible <bruno@clisp.org>
349 * stdint.m4 (gl_INTEGER_TYPE_SUFFIX): Avoid 'eval' in front of complex
352 2006-07-24 Paul Eggert <eggert@cs.ucla.edu>
354 * stdio-safer.m4 (gl_FOPEN_SAFER, gl_TMPFILE_SAFER): New macros.
355 (gl_STDIO_SAFER): Remove.
357 2006-07-24 Bruno Haible <bruno@clisp.org>
359 * tmpdir.m4: New file, from GNU gettext.
361 2006-07-23 Eric Blake <ebb9@byu.net>
363 * stdio-safer.m4 (gl_STDIO_SAFER): Add tmpfile-safer.c.
365 2006-07-22 Paul Eggert <eggert@cs.ucla.edu>
367 * close-stream.m4: New file.
369 2006-07-22 Bruno Haible <bruno@clisp.org>
371 Merge from GNU gettext 0.15.
373 2006-03-25 Bruno Haible <bruno@clisp.org>
375 * lib-link.m4 (AC_LIB_LINKFLAGS_FROM_LIBS): New macro.
377 2006-07-21 Bruno Haible <bruno@clisp.org>
379 * javacomp.m4 (gt_JAVACOMP): Convert target_version "null" to
382 2006-05-09 Bruno Haible <bruno@clisp.org>
384 * javacomp.m4 (gt_JAVACOMP): On Cygwin, set
385 CLASSPATH_SEPARATOR to a semicolon. Use CLASSPATH_SEPARATOR
386 for the conftestver execution.
388 2006-05-01 Bruno Haible <bruno@clisp.org>
390 * javacomp.m4 (gt_JAVACOMP): Accept a source-version and an
391 optional target-version argument. Verify that the compiler
392 groks source of the specified source-version, or add -source
393 option as necessary. Verify that the compiler produces
394 bytecode in the specified target-version, or add -target and
395 -source options as necessary. Make the result of the test
396 available as variable CONF_JAVAC. Also log error output in
399 2006-03-11 Bruno Haible <bruno@clisp.org>
401 * javacomp.m4 (gt_JAVACOMP): Treat gcj-4.x like gcj-3.x.
403 2006-05-09 Bruno Haible <bruno@clisp.org>
405 * javaexec.m4 (gt_JAVAEXEC): On Cygwin, set
406 CLASSPATH_SEPARATOR to a semicolon.
408 2006-03-12 Bruno Haible <bruno@clisp.org>
410 * javaexec.m4 (gt_JAVAEXEC): Make the result of the test
411 available as variable CONF_JAVA, for subsequent autoconf
412 tests. Also log error output in config.log.
414 2006-07-19 Bruno Haible <bruno@clisp.org>
416 * getline.m4 (AM_FUNC_GETLINE): When cross-compiling, assume
417 that getline works on glibc2 systems. Needed to avoid trouble
419 Reported by Nils Magnus Larsgard <nmlarsgaard@atmel.no>.
421 2005-12-04 Bruno Haible <bruno@clisp.org>
423 * csharpexec.m4 (gt_CSHARPEXEC): Add support for 'clix'
426 2005-12-04 Bruno Haible <bruno@clisp.org>
428 * csharpcomp.m4 (gt_CSHARPCOMP): Also set CSHARPCOMPFLAGS.
430 2006-07-22 Bruno Haible <bruno@clisp.org>
432 * gettext.m4: Update from GNU gettext-0.15.
435 * inttypes-pri.m4: Likewise.
436 * inttypes-h.m4: Renamed from inttypes.m4.
437 (gl_HEADER_INTTYPES_H): Renamed from gt_HEADER_INTTYPES_H.
439 2006-07-17 Bruno Haible <bruno@clisp.org>
441 * gl_list.m4: New file.
443 2006-07-16 Paul Eggert <eggert@cs.ucla.edu>
445 * mkancesdirs.m4: New file.
446 * mkdir-p.m4 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h.
447 Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed.
448 Require gl_FUNC_LCHOWN, since dirchownmod.c needs it.
450 2006-07-11 Eric Blake <ebb9@byu.net>
452 * absolute-header.m4: Fix comments to match recent change.
454 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
456 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Like today's change
459 2006-07-10 Derek R. Price <derek@ximbiot.com>
460 and Paul Eggert <eggert@cs.ucla.edu>
462 * backupfile.m4, d-ino.m4, d-type.m4, dirfd.m4, fts.m4, getcwd.m4:
464 Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN
465 macros into the GNU _D_EXACT_NAMLEN.
467 2006-07-10 Paul Eggert <eggert@cs.ucla.edu>
469 * stdint.m4 (gl_STDINT_H): Like yesterday's change to
470 absolute-header.m4. Also, set ABSOLUTE_STDINT_H to a string
471 "no/such/file/stdint.h" when there is no such file, so that
472 the resulting C code can be parsed by dodgy compilers.
473 Problems reported by Bob Proulx.
475 2006-07-09 Paul Eggert <eggert@cs.ucla.edu>
477 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
478 around the absolute name, to work around a problem with the HP-UX
479 11.23 native C compiler, reported by Bob Proulx.
481 2006-07-09 Jim Meyering <jim@meyering.net>
483 * glob.m4: Remove a doubled word in a comment.
485 2006-07-08 Jim Meyering <jim@meyering.net>
487 * link-follow.m4: Remove one of two adjacent "whether"s in a comment.
488 * getopt.m4: Remove one of two adjacent "your"s in a comment.
489 * regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment.
491 2006-07-06 Derek R. Price <derek@ximbiot.com>
492 and Paul Eggert <eggert@cs.ucla.edu>
494 * backupfile.m4 (gl_BACKUPFILE): Check for dirent.h, instead
495 of invoking obsolescent AC_HEADER_DIRENT macro.
496 * d-ino.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_INO): Likewise.
497 * d-type.m4 (gl_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Likewise.
498 * dirfd.m4 (gl_FUNC_DIRFD): Likewise.
499 * fts.m4 (gl_FUNC_FTS_CORE): Likewise.
500 * getcwd.m4 (gl_PREREQ_GETCWD): Likewise.
501 * glob.m4 (gl_PREREQ_GLOB): Likewise.
502 * savedir.m4 (gl_SAVEDIR): Likewise.
503 * readdir.m4: Remove; no longer needed.
505 2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
507 * _inttypes_h.m4 (gl_INTTYPES_H): Use AC_CHECK_DECLS_ONCE
508 with only one argument, for Autoconf 2.60.
509 * fileblocks.m4 (gl_PREREQ_FILEBLOCKS): AC_CHECK_DECLS_ONCE may
510 expand to nothing, so add a shell command to avoid syntax error.
511 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
513 2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
515 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't check for getenv decl;
516 no longer needed. Check for isblank decl.
517 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Don't check for getenv decl.
518 * regex.m4 (gl_PREREQ_REGEX): Dheck for isblank decl instead
521 2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
523 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Use AC_CHECK_DECLS_ONCE
524 rather than AC_CHECK_DECLS for strtoimax and strtoumax.
525 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed.
527 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
528 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
529 * exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer needed.
530 * getdate.m4 (gl_GETDATE): Likewise.
531 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
532 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
533 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
534 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
535 * strtoul.m4 (gl_PREREQ_STRTOUL): Likewise.
536 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
537 * exclude.m4 (gl_EXCLUDE): Don't require AC_C_INLINE; no longer
540 2006-07-05 Derek R. Price <derek@ximbiot.com>
542 * calloc.m4 (_AC_FUNC_CALLOC_IF): Don't require AC_HEADER_STDC;
544 * exclude.m4 (gl_EXCLUDE): Likewise.
545 * getdate.m4 (gl_GETDATE): Likewise.
546 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise.
547 * memcasecmp.m4 (gl_MEMCASECMP): Likewise.
548 * strtod.m4 (gl_FUNC_STRTOD): Likewise.
549 * strtol.m4 (gl_PREREQ_STRTOL): Likewise.
550 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
552 2006-07-05 Eric Blake <ebb9@byu.net>
554 * sockpfaf.m4 (gl_SOCKET_FAMILIES): Use gl_HEADER_SYS_SOCKET
555 to avoid 'header present but could not be compiled' on cygwin.
557 2006-07-03 Bruno Haible <bruno@clisp.org>
559 * strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, check whether
560 the function exists, before testing against AIX.
561 Reported by Martin Lambers <marlam@marlam.de>.
563 2006-07-04 Paul Eggert <eggert@cs.ucla.edu>
565 * absolute-header.m4 (gl_ABSOLUTE_HEADER): Prepend three slashes
566 to the absolute name, not just one, to bypass Sun C 5.8's
567 "warning: #include of /usr/include/... may be non-portable".
569 2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
571 * absolute-header.m4: Renamed from full-header-path.m4.
572 This is to keep the terminology clean; POSIX talks about
573 "absolute pathnames", not "full pathnames", but the GNU
574 Coding Standards say to use "path" for something else;
575 so use "absolute" to keep both sides happy.
576 (gl_ABSOLUTE_HEADER): Renamed from gl_FULL_HEADER_PATH.
577 Set gl_absolute_header, not gl_full_header_path.
578 Set gl_cv_absolute_<header>, not gl_full_path_<header>.
579 Define ABSOLUTE_<HEADER>, not FULL_PATH_<HEADER>.
582 Merge from coreutils.
584 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
586 * c-strtod.m4 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
587 Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
588 want to require the building of c-strtod.o.
589 * lib-check.m4 (cu_LIB_CHECK): Remove SEQ_LIBM, since seq no longer
591 * xstrtod.m4 (gl_XSTRTOLD): New macro.
593 2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
595 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
596 --as-needed option if available. Problem reported by Albert Chin in
597 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00114.html>.
598 However, use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
599 cc merely issues a bunch of annoying warnings for --as-needed
600 (this problem was reported by Bob Proulx). Also, try linking with
601 -lm to detect a bug in binutils 2.16 (this problem was reported
604 2006-06-18 Jim Meyering <jim@meyering.net>
606 Test for a bug that causes glibc's getcwd to suffer a failed assertion.
607 * getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
608 * getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
609 also check for glibc-2.4's abort-inducing bug.
611 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
612 Low-probability clean-up should be to use rmdir to get rid of
613 the just-created directory, not unlink.
615 * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
616 configure fail, and request a bug report to inform us about it.
617 Add a comment that, barring reports to the contrary, in 2007 we'll
618 assume ftruncate is universally available.
620 2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
622 * filemode.m4 (gl_FILEMODE): Check for strmode declaration.
624 2006-03-12 Jim Meyering <jim@meyering.net>
626 * chdir-safer.m4 (gl_CHDIR_SAFER): Add same-inode.h to the list.
627 * cycle-check.m4 (gl_CYCLE_CHECK): Likewise.
628 * same.m4 (gl_SAME): Likewise.
629 * root-dev-ino.m4 (gl_ROOT_DEV_INO): Likewise.
631 2006-03-11 Eric Blake <ebb9@byu.net>
633 * double-slash-root.m4: New file, provides gl_DOUBLE_SLASH_ROOT.
634 * dirname.m4 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT.
635 * dos.m4 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
636 (FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
638 2006-07-02 Eric Blake <ebb9@byu.net>
640 * wcwidth.m4 (gl_FUNC_WCWIDTH): Simplify by using AC_CHECK_DECLS.
642 2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
644 * stdint.m4 (gl_STDINT_H): Use more-mnemonic identifiers for
645 test cases, so that config.log is a bit easier to follow.
647 2006-07-01 Paul Eggert <eggert@cs.ucla.edu>
649 * longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60,
650 but fix a bug, by requiring at least 64 bits.
651 * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise.
652 * longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call
653 AC_TYPE_LONG_LONG_INT. This macro is obsolete and will go soon.
654 * ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise.
656 * stdint.m4 (gl_STDINT_H): Rewrite to accommodate stdint_.h
657 changes. Make 2.59 a prerequisite. Check and substitute for
658 HAVE_LONG_LONG_INT. Rely on Autoconf to check for stdint.h and
659 inttypes.h. Do not use special include files; just use the
660 defaults. Check for sys/inttypes.h and sys/bitypes.h in the usual
661 way now. Remove no-longer-needed tests for HAVE_LONG_64BIT,
662 HAVE_LONG_LONG_64BIT, int8_t, int16_t, int32_t, int64_t, uint8_t,
663 uint16_t, uint32_t uint64_t, int_least8_t, int_least16_t,
664 int_least32_t, int_least64_t, uint_least8_t, uint_least16_t,
665 uint_least32_t, uint_least64_t, int_fast8_t, int_fast16_t,
666 int_fast32_t, int_fast64_t, uint_fast8_t uint_fast16_t,
667 uint_fast32_t, uint_fast64_t, intptr_t, uintptr_t, intmax_t,
668 uintmax_t, INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX,
669 UINT16_MAX, INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN,
670 INT64_MAX, UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX,
671 UINT_LEAST8_MAX, INT_LEAST16_MIN, INT_LEAST16_MAX,
672 UINT_LEAST16_MAX, INT_LEAST32_MIN, INT_LEAST32_MAX,
673 UINT_LEAST32_MAX, INT_LEAST64_MIN, INT_LEAST64_MAX,
674 UINT_LEAST64_MAX, INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX,
675 INT_FAST16_MIN, INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN,
676 INT_FAST32_MAX, UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX,
677 UINT_FAST64_MAX, INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN,
678 INTMAX_MAX, UINTMAX_MAX, PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN,
679 SIG_ATOMIC_MAX, SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN,
680 WINT_MAX. Check for C99 conformance more strictly, by detecting
681 bugs in glibc 2.4, Solaris 10, and OpenBSD 3.9. On the other hand do
682 not check for things that C99 does not require, e.g., int8_t. If
683 a test isn't needed unless <stdint.h> isn't working, and is
684 unlikely to be needed for any other reason, then don't do it
685 unless <stdint.h> isn't working. Do not check for ptrdiff_t or
686 size_t, since we assume C89 freestanding at least. Do not check
687 for sig_atomic_t, wchar_t, or wint_t, since the code now does
688 the right thing even if the types are not defined. Instead use:
689 (gl_STDINT_TYPE_PROPERTIES): New macro.
690 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H): Remove. Don't bother
691 testing whether <sys/types.h> clashes, as Autoconf does this for
692 us now. All uses removed.
693 (gl_STDINT_CHECK_TYPES, gl_STDINT_MISSING_BOUND):
694 (gl_STDINT_MISSING_BOUNDS, gl_STDINT_MISSING_BOUNDS2):
695 (gl_CHECK_TYPE_SAME):
696 Remove; no longer needed.
697 (gl_STDINT_BITSIZEOF): Don't bother to check whether the type
698 exists, since we'll return 0 anyway in that case.
699 (gl_INTEGER_TYPE_SUFFIX, gl_STDINT_INCLUDES): New macros.
701 2006-07-01 Eric Blake <ebb9@byu.net>
703 * stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.
705 2006-07-01 Eric Blake <ebb9@byu.net>
707 * stdarg.m4 (gl_STDARG_H): Use proper AH_VERBATIM.
708 Reported by Andreas Buening.
710 2006-06-29 Eric Blake <ebb9@byu.net>
712 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Use AC_C_INLINE.
714 2006-06-29 Eric Blake <ebb9@byu.net>
716 * sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): New file.
718 2006-06-29 Derek R. Price <derek@ximbiot.com>
720 * strftime.m4: Don't call AC_FUNC_STRFTIME.
722 2006-06-29 Derek R. Price <derek@ximbiot.com>
724 * c-bs-a.m4: Removed.
726 2006-06-28 Derek R. Price <derek@ximbiot.com>
728 * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement.
730 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
732 * strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
734 2006-06-28 Bruno Haible <bruno@clisp.org>
736 * wcwidth.m4 (gl_FUNC_WCWIDTH): Also require AC_C_INLINE and
739 2006-06-28 Eric Blake <ebb9@byu.net>
741 * mbswidth.m4 (gl_MBSDWIDTH): Move wcwidth from here...
742 * wcwidth.m4 (gl_FUNC_WCWIDTH): ...to this new file.
744 2006-06-28 Simon Josefsson <jas@extundo.com>
746 * getaddrinfo.m4: Look for getnameinfo prototypes too.
748 2006-06-27 Simon Josefsson <jas@extundo.com>
750 * sys_select_h.m4: New file, suggested by Bruno Haible, Paul
751 Eggert and Martin Lambers.
753 2006-06-27 Bruno Haible <bruno@clisp.org>
755 * stdint.m4 (gl_STDINT_BITSIZEOF): For nonexistent types, set the
756 result to 0, not to empty.
757 Reported by Martin Neitzel <neitzel@sco.gaertner.de>.
759 2006-06-26 Bruno Haible <bruno@clisp.org>
761 * stdint.m4 (gl_STDINT_H): Test also for <wchar.h>.
763 2006-06-26 Bruno Haible <bruno@clisp.org>
765 * stdint.m4 (gl_STDINT_H): Don't include <stdint.h> when using the
766 SGI C compiler in pre-C99 mode.
767 Suggested by Mark D. Baushke and Larry Jones.
769 2006-06-23 Mark D. Baushke <mdb@gnu.org>
771 * stdint.m4 (gl_STDINT_H): Treat BSD/OS like OpenBSD.
773 2006-06-26 Simon Josefsson <jas@extundo.com>
775 * inet_ntop.m4: Don't check for sys/types.h, we assume it is
778 2006-06-23 Bruno Haible <bruno@clisp.org>
780 * stdint.m4 (gl_STDINT_H): Treat IRIX like OpenBSD.
782 2006-06-22 Simon Josefsson <jas@extundo.com>
784 * sockpfaf.m4: Include winsock2.h too, to make it work under
787 2006-06-21 Simon Josefsson <jas@extundo.com>
789 * getaddrinfo.m4: Don't define WINVER. Look for gethostbyname in
790 -lws2_32 too. Fixes getaddrinfo on Windows 2000, with the price
791 of using the (limited) gnulib implementation on Windows XP.
793 * inet_pton.m4: New file.
795 2006-06-19 Bruno Haible <bruno@clisp.org>
797 * stdint.m4 (gl_STDINT_H): Enclose the values of FULL_PATH_STDINT_H
798 and FULL_PATH_INTTYPES_H in angle brackets.
799 Reported by Mark D. Baushke <mdb@gnu.org>.
801 2006-06-17 Bruno Haible <bruno@clisp.org>
803 * stdint.m4 (gl_STDINT_H) [FreeBSD >= 5]: Don't include
806 2006-06-16 Eric Blake <ebb9@byu.net>
808 * rmdir-errno.m4 (gl_FUNC_FMDIR_NOTEMPTY): Assume errno.h declares
811 2006-06-17 Bruno Haible <bruno@clisp.org>
813 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove test
814 whether errno is declared. Assume <errno.h> declares errno.
816 2006-06-15 Bruno Haible <bruno@clisp.org>
818 * stdint.m4 (gl_STDINT_H): Rewritten to produce a complete stdint.h.
819 (gl_HEADER_STDINT_H, gl_HEADER_INTTYPES_H, gl_STDINT_CHECK_TYPES,
820 gl_STDINT_MISSING_BOUND, gl_STDINT_MISSING_BOUNDS,
821 gl_STDINT_MISSING_BOUNDS2, gl_STDINT_BITSIZEOF, gl_CHECK_TYPES_SIGNED,
822 gl_CHECK_TYPE_SAME): New macros.
824 2006-06-15 Bruno Haible <bruno@clisp.org>
826 * size_max.m4 (gl_SIZE_MAX): Make it work also when cross-compiling.
828 2006-06-15 Eric Blake <ebb9@byu.net>
830 * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror.
832 2006-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
833 Bruno Haible <bruno@clisp.org>
835 * strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
836 check for the declaration of strnlen and a run test that exposes the
837 AIX 5.1 strnlen bug. In the failure case, #define strndup to
840 2006-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
842 * c-strtod.m4 (gl_C99_STRTOLD): Use a link test rather than a
843 compile test, for Tru64 4.0D.
845 2006-05-19 Paul Eggert <eggert@cs.ucla.edu>
847 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Rename cache variables to use
848 gl_ rather than jm_. Link, don't run, so that cross-compiles are
849 allowed. Check that resulting type is arithmetic. Move AC_REQUIRE
850 and AC_CHECK_HEADERS_ONCE outside of AC_CACHE_CHECK, since they're
851 not really conditional on the cache.
852 (gl_PREREQ_NANOSLEEP): Check for sys/select.h.
854 2006-05-14 Paul Eggert <eggert@cs.ucla.edu>
856 * stdbool.m4 (AC_HEADER_STDBOOL): Fix overly-picky
857 test for C99 conformance; (bool) 0.5 is an integer constant
858 expression, but (bool) -0.5 is not. Problem reported by Fedor
859 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
861 2006-05-11 Simon Josefsson <jas@extundo.com>
863 * xvasprintf.m4: Fix obvious typo.
865 2006-05-09 Bruno Haible <bruno@clisp.org>
867 * xvasprintf.m4: New file.
869 2006-05-08 Bruno Haible <bruno@clisp.org>
871 * stdarg.m4: New file, from GNU gettext.
873 2006-05-05 Jim Meyering <jim@meyering.net>
875 * warning.m4: New file, derived from bison's file by the same name.
877 2006-05-02 Bruno Haible <bruno@clisp.org>
879 * full-header-path.m4 (gl_FULL_HEADER_PATH): Move the include_next
881 * _inttypes_h.m4 (gl_INTTYPES_H): ... to here.
883 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
885 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
886 to define main with arguments, for C++. Reported by Eric Blake.
887 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
888 Prefer 'int main ()' to 'int main (void)', for C++.
889 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
890 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
891 for 'main', for C99 and C++.
893 2006-04-23 Bruno Haible <bruno@clisp.org>
895 * poll.m4 (gl_FUNC_POLL): Rearrange code, so that POLL_H gets
896 assigned exactly once.
898 2006-04-23 Bruno Haible <bruno@clisp.org>
900 * poll.m4 (gl_FUNC_POLL): When cross-compiling, reject also the poll()
901 implementation in AIX.
902 Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
904 2006-03-04 Eric Blake <ebb9@byu.net>
906 * strerror_r.m4 (AC_FUNC_STRERROR_R): Avoid unused variable warning.
908 2006-04-24 Paul Eggert <eggert@cs.ucla.edu>
910 * fsusage.m4 (gl_FILE_SYSTEM_USAGE): Use return, not exit.
911 Don't assume that exit status -1 is valid.
912 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
913 * putenv.m4 (gl_FUNC_PUTENV): Likewise.
914 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Likewise.
915 * readdir.m4 (GL_FUNC_READDIR): Include <stdlib.h>.
916 * rename.m4 (vb_FUNC_RENAME): Likewise.
917 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use AC_RUN_IFELSE,
918 not AC_TRY_RUN. Use return, not exit. Don't assume that
919 functions can be used without declaring them, or that you can
921 * utimes-null.m4 (gl_FUNC_UTIMES_NULL): Likewise.
923 2006-04-20 Bruno Haible <bruno@clisp.org>
925 * argp.m4 (gl_ARGP): Don't call AC_CHECK_DECLS_ONCE with more than
926 one argument, so that the code will be portable to Autoconf 2.60.
927 * getlogin_r.m4 (gl_PREREQ_GETLOGIN_R): Likewise.
928 * getpass.m4 (gl_PREREQ_GETPASS): Likewise.
929 * unlocked-io.m4 (gl_FUNC_GLIBC_UNLOCKED_IO): Likewise.
931 2006-04-19 Derek Price <derek@ximbiot.com>
932 Eric Blake <ebb9@byu.net>
934 * full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather
935 than "/full/path.h". Update comment to match. Shorten & generalize
936 m4_translit call via AS_TR_CPP.
938 2006-04-18 Derek Price <derek@ximbiot.com>
939 Paul Eggert <eggert@cs.ucla.edu>
941 * _inttypes_h.m4, full-header-path.m4, include_next: New files.
943 2006-04-11 Paul Eggert <eggert@cs.ucla.edu>
945 * time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h.
947 2006-04-09 Paul Eggert <eggert@cs.ucla.edu>
949 * regex.m4 (gl_REGEX): Check for new glibc interface to
952 2006-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
954 * argz.m4 (gl_FUNC_ARGZ): If we define `error_t', also define
955 `__error_t_defined', so argp.h will not typedef the former.
957 2006-03-25 Paul Eggert <eggert@cs.ucla.edu>
959 * regex.m4 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
960 REG_SYNTAX_EMACS, and REG_IGNORE_CASE. Settle for the traditional
961 glibc names. Even if glibc is changed to conform to POSIX, the
962 traditional names will be available anyway, since regex depends on
963 the extensions module. Also, fix a longstanding typo in the
964 implementation of Spencer ERE test #75 from grep 2.3. Problems
965 reported by Emanuele Giaquinta. Also, change sense of cached
966 variable, so that the message makes sense.
968 2006-03-17 Jim Meyering <jim@meyering.net>
970 * regex.m4 (gl_REGEX): Fix typo in last change:
971 s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
973 2006-03-16 Paul Eggert <eggert@cs.ucla.edu>
975 * regex.m4 (gl_REGEX): Don't check for off_t, since the code
976 no longer needs it. Instead, check that regoff_t is as least
977 as wide as ptrdiff_t.
979 Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
980 so that our regex.h stays compatible with the installed regex.
981 This is helpful for installers who configure --without-included-regex.
982 Problem reported by Emanuele Giaquinta.
984 2006-03-15 Eric Blake <ebb9@byu.net>
986 * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
988 2006-03-08 Simon Josefsson <jas@extundo.com>
990 * gc-random.m4: Permit 'no' as variable values and fix warnings,
991 suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
993 2006-03-08 Simon Josefsson <jas@extundo.com>
995 * gc-random.m4: Call AC_CANONICAL_HOST and use $host_os instead of
996 $target, suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
998 2006-03-07 Paul Eggert <eggert@cs.ucla.edu>
1000 * unistd_h.m4 (gl_HEADER_UNISTD): Rename, to match modules file.
1001 Problem reported by Juan Manuel Guerrero.
1003 2006-03-07 Simon Josefsson <jas@extundo.com>
1005 * unistd_h.m4: New file.
1007 2006-03-07 Simon Josefsson <jas@extundo.com>
1009 * readline.m4 (gl_FUNC_READLINE): Rewrite the cached part of the
1010 test to be side-effect free by storing the result in the cache
1011 variable gl_cv_lib_readline, and moving the assignment of
1012 LIBREADLINE and LTLIBREADLINE outside the COMMANDS-TO-SET-IT.
1013 From Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
1015 2006-03-07 Simon Josefsson <jas@extundo.com>
1017 * gc-random.m4: New file, mostly from gc.m4. Warn instead of
1018 error on missing devices (the functions will return an error).
1020 * gc.m4: Move random stuff to gc-random.m4
1022 2006-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change)
1024 * poll.m4 (gl_FUNC_POLL): If we deem poll(2) unacceptable, use
1025 our replacement poll.h in any case, to avoid a differing
1026 declaration from a system header. Seen on AIX.
1028 2006-03-01 Paul Eggert <eggert@cs.ucla.edu>
1030 * clock_time.m4 (gl_CLOCK_TIME): Require gl_USE_SYSTEM_EXTENSIONS,
1031 not merely AC_GNU_SOURCE, for the benefit of Solaris 10 when compiled
1033 * nanosleep.m4 (gl_FUNC_NANOSLEEP): Likewise.
1034 * timespec.m4 (gl_TIMESPEC): Likewise.
1036 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test",
1037 not "==". Reported by Ralf Wildenhues.
1039 2006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1041 Sync from coreutils.
1042 * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and
1045 2006-02-22 Jim Meyering <jim@meyering.net>
1047 Sync from coreutils.
1048 * chdir-safer.m4: New file.
1050 2006-02-17 Eric Blake <address@hidden>
1052 * getaddrinfo.m4 (gl_GETADDRINFO): Fix caching error.
1054 2006-02-15 Eric Blake <ebb9@byu.net>
1056 * sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using
1057 winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes
1058 'present but cannot compile' warnings on cygwin.
1059 * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET. Don't
1060 use ws2tcpip.h if sys/socket.h works.
1061 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Use gl_HEADER_SYS_SOCKET.
1062 (gl_GETADDRINFO): Don't use ws2tcpip.h when sys/socket.h is present.
1064 2006-02-14 Jim Meyering <jim@meyering.net>
1066 Sync from coreutils.
1067 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
1068 unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
1069 gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that
1070 variable, to accommodate the rare case in which getmntent is
1071 available in none of the libraries checked. This happens at
1072 least on FreeBSD 5.0.
1074 2006-02-05 Paul Eggert <eggert@cs.ucla.edu>
1076 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
1077 __EXTENSIONS__ if this causes compilation to fail. Problem
1078 reported by Nelson H. F. Beebe with Solaris 10 and Sun C 5.7
1079 c89 -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED.
1081 2006-01-25 Simon Josefsson <jas@extundo.com>
1083 * getaddrinfo.m4: Look for getaddrinfo inside ws2tcip.h and
1084 -lws2_32. Protect sys/socket.h and netdb.h #include's. Include
1085 ws2tcpip.h with WINVER=0x0501. All for mingw32.
1087 2006-01-25 Paul Eggert <eggert@cs.ucla.edu>
1089 * stdbool.m4 (AC_HEADER_STDBOOL): Check for xlc bug if __GCC__ too,
1090 so that we test the test.
1091 Check for yet another HP-UX cc bug involving *bool |= bool.
1093 2006-01-24 Bruno Haible <bruno@clisp.org>
1095 * stdbool.m4 (AC_HEADER_STDBOOL): Check for IBM and HP-UX bugs.
1096 Patch by Paul Eggert.
1098 2006-01-24 Jim Meyering <jim@meyering.net>
1100 * openat.m4 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
1101 Reported by Mark D. Baushke.
1103 2006-01-23 Paul Eggert <eggert@cs.ucla.edu>
1105 * getopt.m4 (gl_PREREQ_GETOPT): Check for getenv decl.
1107 2006-01-20 Paul Eggert <eggert@cs.ucla.edu>
1109 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
1110 rather than -Xlinker -z -Xlinker ignore, as it's more portable.
1111 Suggested by Bruno Haible.
1113 2006-01-19 Simon Josefsson <jas@extundo.com>
1115 * socklen.m4: Look in ws2tcpip.h too, for mingw32.
1117 2006-01-16 Paul Eggert <eggert@cs.ucla.edu>
1119 * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as
1120 it's not portable and it doesn't work with cross-compiles.
1121 Problem reported by Bruno Haible. Fix missing-$ typo in
1122 'test "gl_cv_ignore_unused_libraries" ...' that prevented
1123 -zignore from being used with Sun's C compiler.
1125 2006-01-12 Bruno Haible <bruno@clisp.org>
1129 2006-01-08 Bruno Haible <bruno@clisp.org>
1131 Ensure automatic ordering between gl_LOCK and gl_ARGP.
1132 * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK.
1133 (gl_LOCK): New macro, requiring gl_LOCK_BODY.
1135 2006-01-10 Jim Meyering <jim@meyering.net>
1137 * fpending.m4: Also include <stdio.h>, for Dragonfly.
1138 Patch by Joerg Sonnenberger.
1140 2006-01-10 Paul Eggert <eggert@cs.ucla.edu>
1142 * memcoll.m4 (gl_MEMCOLL): Don't require AC_FUNC_MEMCMP, undoing
1143 the 2002-12-31 change. Problem and fix reported by Bruno Haible.
1144 People who are still concerned with buggy memcmp implementations
1145 can invoke gl_FUNC_MEMCMP themselves.
1147 2006-01-10 Simon Josefsson <jas@extundo.com>
1149 * sys_socket_h.m4: New file.
1151 2006-01-10 Bruno Haible <bruno@clisp.org>
1153 * localcharset.m4 (gl_LOCALCHARSET): Also test for getc_unlocked.
1154 Reported by Werner Lemberg <wl@gnu.org>.
1156 2006-01-09 Paul Eggert <eggert@cs.ucla.edu>
1158 Sync from coreutils.
1159 * lib-ignore.m4: New file.
1160 * lchmod.m4: New file.
1162 2006-01-09 Jim Meyering <jim@meyering.net>
1164 Sync from coreutils.
1165 * openat.m4 (gl_FUNC_OPENAT): Require and compile mkdirat.c.
1166 Require openat-priv.h.
1168 2006-01-09 Andreas Gruenbacher <agruen@suse.de>
1170 Sync from coreutils.
1171 * acl.m4 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests.
1173 2005-10-16 Bruno Haible <bruno@clisp.org>
1175 * stdint.m4 (gl_STDINT_H): Also test for <sys/bitypes.h>.
1177 2005-12-16 Jim Meyering <jim@meyering.net>
1179 * fprintftime.m4: New file.
1181 2005-12-10 Sergey Poznyakoff <gray@gnu.org.ua>
1183 * argp.m4: Define HAVE_DECL_PROGRAM_INVOCATION_NAME and
1184 HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME
1186 2005-12-09 Sergey Poznyakoff <gray@gnu.org.ua>
1188 * argp.m4: Check if program_invocation_name and
1189 program_invocation_short_name are declared and define appropriate
1190 macros if they are not.
1192 2005-12-07 Paul Eggert <eggert@cs.ucla.edu>
1194 * stat-time.m4 (gl_STAT_TIME): Add check for
1195 TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
1196 porting problem reported by Georg Schwarz in
1197 <http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
1199 2005-12-02 Paul Eggert <eggert@cs.ucla.edu>
1201 * socklen.m4 (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
1202 Use implementation from Albert Chin, with some
1203 comments/corrections by Stepan Kasal and myself.
1205 2005-12-01 Paul Eggert <eggert@cs.ucla.edu>
1207 * regex.m4 (gl_REGEX): Check whether off_t can be used in a switch
1208 statement, to work around an HP-UX 10.20 compiler bug reported by
1211 2005-11-10 Paul Eggert <eggert@cs.ucla.edu>
1213 * gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
1214 or gettimeofday; no longer needed.
1216 2005-10-30 Paul Eggert <eggert@cs.ucla.edu>
1218 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Revamp wording and local
1219 variables to suggest the intended function of the PATH_MAX check.
1221 2005-10-30 Kean Johnston <jkj@sco.com>
1223 Trivial changes to support SCO systems.
1224 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well
1226 * fpending.m4 (gl_FUNC_FPENDING): Correct check for SCO systems,
1227 where __ptr is null when no I/O is pending.
1229 2005-10-28 Simon Josefsson <jas@extundo.com>
1231 * inet_ntop.m4: More tests.
1233 * gc-md2.m4, md2.m4: New file.
1235 2005-10-22 Simon Josefsson <jas@extundo.com>
1237 * gc.m4: Don't be fooled by --disable-*random-device parameters,
1238 suggested by Bruno Haible <bruno@clisp.org>. Fix error messages.
1240 2005-10-21 Simon Josefsson <jas@extundo.com>
1242 * gc.m4: Don't use libgcrypt if gcrypt.h isn't found, suggested by
1243 Bruno Haible <bruno@clisp.org>.
1245 * gc-des.m4: New file.
1247 2005-10-21 Simon Josefsson <jas@extundo.com>
1249 * arctwo.m4: New file.
1251 * gc-arctwo.m4: New file.
1253 2005-10-19 Simon Josefsson <jas@extundo.com>
1255 * gc-arcfour.m4: New file.
1257 * gc-rijndael.m4: New file.
1259 2005-10-19 Simon Josefsson <jas@extundo.com>
1261 * gc-hmac-md5.m4, gc-hmac-sha1.m4, gc-md4.m4,
1262 gc-md5.m4, gc-sha1.m4: Fix typo, suggested by Stepan Kasal
1265 2005-10-19 Simon Josefsson <jas@extundo.com>
1267 * gc-md4.m4: New file.
1269 2005-10-18 Simon Josefsson <jas@extundo.com>
1273 2005-10-17 Bruno Haible <bruno@clisp.org>
1275 * stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so that
1276 it can also be used in a test.
1278 2005-10-11 Simon Josefsson <jas@extundo.com>
1280 * md5.m4: Remove call to uint32_t.m4.
1282 2005-10-15 Simon Josefsson <jas@extundo.com>
1284 * rijndael.m4: New file.
1286 2005-10-14 Simon Josefsson <jas@extundo.com>
1288 * arcfour.m4: New file.
1290 2005-10-12 Bruno Haible <bruno@clisp.org>
1292 * stdbool.m4 (gl_STDBOOL_H): Define as an alias of AM_STDBOOL_H.
1293 Reported by Stepan Kasal <kasal@ucw.cz>.
1295 2005-10-12 Simon Josefsson <jas@extundo.com>
1297 * gc-pbkdf2-sha1.m4: New file.
1299 * gc-hmac-sha1.m4: New file.
1301 * gc-sha1: New file.
1303 * hmac-sha1.m4: New file.
1305 2005-10-12 Simon Josefsson <jas@extundo.com>
1307 * gc-md5.m4, gc-hmac-md5: New files.
1309 * gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5.
1311 2005-10-11 Simon Josefsson <jas@extundo.com>
1315 2005-10-07 Simon Josefsson <jas@extundo.com>
1317 * memxor.m4: Remove gl_C_RESTRICT call.
1319 2005-10-06 Paul Eggert <eggert@cs.ucla.edu>
1321 * stdbool.m4 (AC_HEADER_STDBOOL): Check that bool
1322 promotes to int, not unsigned int, to catch the AIX 5.3
1325 2005-10-06 Simon Josefsson <jas@extundo.com>
1327 * hmac-md5.m4: New file.
1329 * memxor.m4: Require gl_C_RESTRICT.
1331 2005-10-05 Paul Eggert <eggert@cs.ucla.edu>
1333 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Don't check for
1334 sys/socket.h, netdb.h, sys/types.h; the checks areno longer
1335 needed, since the source code now assumes these .h files.
1337 2005-10-05 Simon Josefsson <jas@extundo.com>
1339 * memxor.m4: New file.
1341 2005-10-02 Paul Eggert <eggert@cs.ucla.edu>
1343 Sync from coreutils.
1344 * openat.m4 (gl_FUNC_OPENAT): Check for fdopendir.
1345 * ullong_max.m4 (gl_ULLONG_MAX): Simplify so that it merely
1346 defines ULONG_MAX_LT_ULLONG_MAX. Thomas M.Ott reports that
1347 ULLONG_MAX doesn't work with 2.7.2.1.
1349 2005-10-02 Jim Meyering <jim@meyering.net>
1351 Sync from coreutils.
1352 * utimes.m4 (gl_FUNC_UTIMES): Detect the version of utimes
1353 from glibc-2.2.5 that fails for read-only files.
1355 2005-10-02 Alfred M. Szmidt <ams@gnu.org>
1357 Sync from coreutils.
1358 * chdir-long.m4 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
1359 against `yes', rather than just testing for nonempty.
1361 2005-10-01 Simon Josefsson <jas@extundo.com>
1363 * getaddrinfo.m4: Include sys/types.h for sys/socket.h, on FreeBSD
1366 * getaddrinfo.m4: Use AC_GNU_SOURCE, GNU only declare getaddrinfo
1367 as an (POSIX) extension. Check for sys/types.h, sys/socket.h, and
1368 netdb.h too, needed by getaddrinfo.h. Check if getaddrinfo,
1369 freeaddrinfo and gai_strerror are declared by the POSIX headers.
1370 Check if struct addrinfo is declared.
1372 2005-10-01 Jim Meyering <jim@meyering.net>
1374 Sync from coreutils.
1376 * getaddrinfo.m4 (gl_GETADDRINFO): Look for getservbyname in these
1377 libraries [inet nsl socket xnet]. Nelson Beebe reported that with
1378 native cc on Solaris 7, getaddrinfo.c requires -lsocket.
1379 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
1380 in the inet and nsl libraries. Required on Solaris 5.7.
1382 2005-09-24 Jim Meyering <jim@meyering.net>
1384 Sync from coreutils.
1385 * getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname
1386 in the inet and nsl libraries. Required on Solaris 5.7.
1388 2005-09-26 Bruno Haible <bruno@clisp.org>
1390 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile
1391 mbchar.c if they are not both present.
1392 * mbfile.m4 (gl_MBFILE): Require gl_FUNC_MBRTOWC.
1393 * mbiter.m4 (gl_MBITER): Likewise.
1394 * strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE.
1395 * strcasestr.m4 (gl_PREREQ_STRCASESTR): Likewise.
1396 * strcase.m4 (gl_PREREQ_STRCASECMP): Likewise.
1398 2005-09-23 Paul Eggert <eggert@cs.ucla.edu>
1400 * regex.m4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
1401 and similarly for the other external symbols. Problem reported
1404 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
1405 bug reported by Jim Meyering.
1407 * utimens.m4 (gl_UTIMENS): Check for futimesat.
1408 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Undo previous change;
1409 not needed, since socklen is a prerequisite module.
1411 2005-09-23 Jim Meyering <jim@meyering.net>
1413 Sync from coreutils.
1414 Correct build failure (socklen_t not defined) on at least
1415 mips-sgi-irix6.5 and alphaev67-dec-osf5.1.
1416 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T.
1418 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
1420 Sync from coreutils.
1421 * getaddrinfo.m4 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h.
1423 2005-09-22 Paul Eggert <eggert@cs.ucla.edu>
1425 Sync from coreutils.
1427 * backupfile.m4, calloc.m4, chown.m4, cloexec.m4, dup2.m4:
1428 * fileblocks.m4, free.m4, ftruncate.m4, getcwd.m4, getpagesize.m4:
1429 * getugroups.m4, group-member.m4, idcache.m4, link-follow.m4:
1430 * mkstemp.m4, mktime.m4, mountlist.m4, nanosleep.m4, pathmax.m4:
1431 * physmem.m4, posixver.m4, putenv.m4, safe-read.m4, same.m4:
1432 * save-cwd.m4, stdio-safer.m4, unistd-safer.m4, unlinkdir.m4:
1433 * userspec.m4, xgetcwd.m4, xreadlink.m4:
1434 Don't bother checking for string.h, stdlib.h, unistd.h.
1435 * fts.m4 (gl_FUNC_FTS_CORE): Don't require
1436 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
1438 * jm-macros.m4 (gl_MACROS): Likewise.
1439 * prereq.m4 (gl_PREREQ): Add gl_FUNC_LSTAT.
1441 * getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
1442 (gl_GETDATE): Use it.
1444 * mkdir-p.m4 (gl_MKDIR_PARENTS): Don't bother checking for unistd.h.
1446 2005-09-22 Jim Meyering <jim@meyering.net>
1448 Sync from coreutils.
1450 * lstat.m4 (gl_FUNC_LSTAT):
1451 Use AC_LIBSOURCES to require lstat.c and lstat.h.
1452 Remove obsolete comment.
1453 * xreadlink.m4: Use AC_LIBSOURCES and AC_LIBOBJ.
1454 * xstrtod.m4: Likewise.
1456 * openat.m4 (gl_FUNC_OPENAT): Add openat-die.c.
1458 2005-09-19 Simon Josefsson <jas@extundo.com>
1460 * socklen.m4: Fix typo.
1462 2005-09-15 Paul Eggert <eggert@cs.ucla.edu>
1464 * st_mtim.m4: Remove. Superseded by...
1465 * stat-time.m4: New file.
1466 * timespec.m4 (gl_TIMESPEC): Require AC_C_INLINE.
1467 Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
1469 2005-09-15 Derek Price <derek@ximbiot.com>
1471 * strstr.m4 (gl_FUNC_STRSTR): Don't define strstr here.
1473 2005-09-12 Derek Price <derek@ximbiot.com>
1475 Make canon-host require getaddrinfo.
1476 * canon-host.m4 (gl_CANON_HOST): Remove most dependencies.
1477 AC_LIBSOURCE canon-host.h. Call...
1478 (gl_PREREQ_CANON_HOST): ...this new function, which requires
1480 * getaddrinfo.m4 (gl_GETADDRINFO): Compile gai_strerror when needed.
1482 2005-09-12 Derek Price <derek@ximbiot.com>
1483 Paul Eggert <eggert@cs.ucla.edu>
1485 * glob.m4 (gl_GLOB_SUBSTITUTE): AC_LIBSOURCES for glob.c,
1486 glob_.h, glob-libc.h.
1487 (gl_PREREQ_GLOB): Remove _SYS_CDEFS_H hack; no longer needed.
1489 2005-08-31 Simon Josefsson <jas@extundo.com>
1491 * socklen.m4: New file.
1493 2005-09-03 Derek Price <derek@ximbiot.com>
1495 * getlogin_r (gl_GETLOGIN_R): Fix cut & paste error.
1496 From Larry Jones <lawrence.jones@ugs.com>.
1498 2005-08-27 Bruno Haible <bruno@clisp.org>
1500 Support for lib vs. lib64 distinction on biarch platforms.
1501 * lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): New macro.
1502 (AC_LIB_PREFIX): Require it. Use $acl_libdirstem instead of 'lib'.
1503 * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Likewise.
1505 2005-09-01 Jim Meyering <jim@meyering.net>
1507 * lchown.m4: Require gl_FUNC_CHOWN, for the definition of
1508 CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
1509 Require gl_STAT_MACROS, too.
1511 2005-08-31 Paul Eggert <eggert@cs.ucla.edu>
1513 * regex.m4 (gl_REGEX): Require AC_SYS_LARGEFILE, Define
1514 _REGEX_LARGE_OFFSETS). Test for regoff_t/off_t bug in 64-bit
1515 and large-file glibc and in 32-bit large-file Solaris.
1517 2005-08-28 Bruno Haible <bruno@clisp.org>
1519 * gnulib-tool.m4: New file.
1521 2005-08-27 Jim Meyering <jim@meyering.net>
1523 * stdlib-safer.m4: New file. From coreutils.
1524 * stdio-safer.m4 (gl_STDIO_SAFER): Add stdio--.h.
1525 * fcntl-safer.m4 (gl_FCNTL_SAFER): Add creat-safer.c to the
1526 AC_LIBSOURCES list and arrange to compile it via AC_LIBOBJ.
1527 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise, add pipe-safer.c.
1528 Add pipe-safer.c and unistd--.h to the AC_LIBSOURCES list.
1530 2005-08-24 Simon Josefsson <jas@extundo.com>
1532 * getpass.m4: Check for termios.h, tcgetattr, tcsetattr, and
1535 2005-08-25 Stepan Kasal <kasal@ucw.cz>
1537 * regex.m4: Add AC_PREREQ(2.50).
1538 (gl_REGEX): If --with-included-regex was given, skip the autodetection.
1540 2005-08-25 Bruno Haible <bruno@clisp.org>
1542 * minmax.m4: Require autoconf 2.52.
1543 (gl_MINMAX_IN_HEADER): Add comments. Use m4_pushdef/m4_popdef instead
1544 of define/undefine. Use AS_TR_SH and AS_TR_CPP as more robust
1545 alternatives of translit over the alphabet.
1546 Based on a patch from Stepan Kasal <kasal@ucw.cz>.
1548 2005-08-24 Paul Eggert <eggert@cs.ucla.edu>
1550 * regex.m4 (gl_REGEX): Use POSIX-compliant spellings when testing
1551 for GNU regex features.
1553 2005-08-24 Jim Meyering <jim@meyering.net>
1555 Sync from coreutils.
1556 * fcntl-safer.m4: New file.
1558 * xgetcwd.m4: Use AC_LIBSOURCES and AC_LIBOBJ to indicate source
1559 and object files for this module.
1561 2005-08-23 Paul Eggert <eggert@cs.ucla.edu>
1563 * regex.m4 (gl_INCLUDED_REGEX): Remove; no longer used.
1564 All contents moved to gl_REGEX.
1565 (gl_REGEX): Don't bother checking whether lib/regex.c exists;
1566 assume that it does.
1568 2005-08-20 Bruno Haible <bruno@clisp.org>
1570 * regex.m4 (gl_PREREQ_REGEX): Require AC_GNU_SOURCE.
1572 2005-08-17 Bruno Haible <bruno@clisp.org>
1574 * strcasestr.m4: New file.
1576 2005-08-17 Bruno Haible <bruno@clisp.org>
1578 * strstr.m4 (gl_FUNC_STRSTR): Use the replacement function always.
1579 (gl_PREREQ_STRSTR): Use gl_FUNC_MBRTOWC.
1581 2005-08-16 Paul Eggert <eggert@cs.ucla.edu>
1583 * getopt.m4 (gl_GETOPT_CHECK_HEADERS): Do not override the results
1584 of gl_GETOPT_SUBSTITUTE. That way, if both gl_GETOPT_SUBSTITUTE
1585 and gl_GETOPT are both invoked via different paths (as happens
1586 with GNU tar CVS because it uses both argp and getopt), the former
1589 2005-08-16 Bruno Haible <bruno@clisp.org>
1591 * strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function always.
1592 (gl_PREREQ_STRCASECMP): Use gl_FUNC_MBRTOWC.
1594 2005-08-16 Bruno Haible <bruno@clisp.org>
1596 * mbfile.m4: New file.
1598 2005-08-16 Bruno Haible <bruno@clisp.org>
1600 * mbiter.m4: New file.
1602 2005-08-16 Bruno Haible <bruno@clisp.org>
1604 * mbchar.m4: New file.
1606 2005-08-16 Bruno Haible <bruno@clisp.org>
1608 * tls.m4: New file, from GNU gettext.
1610 2005-08-12 Bruno Haible <bruno@clisp.org>
1612 * readline.m4 (gl_FUNC_READLINE): Look for ncurses first.
1614 2005-08-12 Simon Josefsson <jas@extundo.com>
1616 * readline.m4: Look for termcap, curses or ncurses if required.
1618 2005-08-11 Simon Josefsson <jas@extundo.com>
1620 * readline.m4: New file.
1622 2005-08-10 Simon Josefsson <jas@extundo.com>
1624 * strnlen.m4: New file.
1626 * strndup.m4: Don't check for strnlen declaration, done in
1629 2005-08-10 Stepan Kasal <kasal@ucw.cz>
1631 * onceonly_2_57.m4: Really require Autoconf 2.57.
1633 2005-08-02 Simon Josefsson <jas@extundo.com>
1635 * getline.m4: Separate out getdelim stuff into separate module.
1637 * getdelim.m4: New file.
1639 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1641 Add support to getopt for Emacs, which doesn't use LIBOBJS in the
1643 * getopt.m4 (gl_GETOPT_SUBSTITUTE_HEADER): New macro.
1644 (gl_GETOPT_SUBSTITUTE): Use it. Invoke gl_PREREQ_GETOPT.
1645 (gl_GETOPT_IFELSE, gl_GETOPT_CHECK_HEADERS): New macros.
1646 (gl_GETOPT): Use the new macros. Most of the implementation
1647 is moved to the new macros. This is for programs like Emacs
1648 that don't want all the functionality of gl_GETOPT.
1650 2005-07-26 Bruno Haible <bruno@clisp.org>
1652 * lock.m4: Update from GNU gettext.
1654 2005-07-25 Paul Eggert <eggert@cs.ucla.edu>
1656 * regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_IFELSE instead of the
1657 obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'.
1659 2005-07-24 Bruno Haible <bruno@clisp.org>
1661 * visibility.m4: New file.
1663 2005-07-18 Bruno Haible <bruno@clisp.org>
1665 * lock.m4: New file, from GNU gettext.
1667 2005-06-01 Bruno Haible <bruno@clisp.org>
1669 * poll.m4 (gl_FUNC_POLL): Check against MacOS X 10.4 poll() bug.
1670 When using lib/poll.c, define poll as rpl_poll.
1672 2005-07-14 Bruno Haible <bruno@clisp.org>
1674 * argp.m4 (gl_ARGP): Remove invocation of gl_FUNC_GLIBC_UNLOCKED_IO.
1675 Instead, test for *_unlocked function declarations directly.
1677 2005-07-14 Derek Price <derek@ximbiot.com>
1679 * glob.m4 (gl_GLOB): Cache glob interface check result. Add check for
1682 2005-07-10 Bruno Haible <bruno@clisp.org>
1684 * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t.
1685 Needed when size_t is smaller than 'unsigned int'.
1686 Reported by Paul Eggert.
1688 2005-07-07 Paul Eggert <eggert@cs.ucla.edu>
1690 * backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf.
1691 * same.m4 (gl_SAME): Likewise.
1692 Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase.
1694 * regex.m4: Adjust to new libc regex implementation.
1695 (gl_INCLUDED_REGEX): Add AC_LIBSOURCES for
1696 all the .c and .h parts of (the new) regex.
1697 Quote the m4 stuff better.
1698 Check for RE_ICASE bug of old gnulib.
1699 Check for REG_STARTEND of recent libc.
1700 Rename local variables from jm_* to gl_*.
1701 Quote operand of "test -f".
1702 Say "recent enough" version of libc, not "version 2".
1703 (gl_PREREQ_REGEX): Remove AC_FUNC_ALLOCA, since alloca is a
1704 prerequisite module. Remove AC_HEADER_STDC; no longer needed.
1705 Check for locale.h, isblank, mbrtowc, wcrtomb, wcscoll.
1706 Remove check for btowc, isascii.
1707 Require AM_LANGINFO_CODESET.
1709 2005-07-05 Bruno Haible <bruno@clisp.org>
1711 * mbrtowc.m4 (gl_FUNC_MBRTOWC): Upgrade to version from current
1712 autoconf CVS. Needed for mingw.
1714 2005-07-03 Paul Eggert <eggert@cs.ucla.edu>
1716 Remove the dependency of the strftime module on the tzset module.
1717 * strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER.
1719 2005-07-02 Jim Meyering <jim@meyering.net>
1721 * chown.m4, cloexec.m4, dup2.m4, fsusage.m4:
1722 * getcwd-path-max.m4, getcwd.m4, mkstemp.m4, mountlist.m4:
1723 * pagealign_alloc.m4, save-cwd.m4, unistd-safer.m4:
1724 Don't check for fcntl.h, and don't test for HAVE_FCNTL_H.
1726 2005-06-28 Simon Josefsson <jas@extundo.com>
1728 * check-version.m4: New file, suggested by Jim Meyering
1731 2005-06-24 Derek Price <derek@ximbiot.com>
1732 and Bruno Haible <bruno@clisp.org>
1734 Remove stat module & update lstat.
1735 * lstat.m4 (gl_FUNC_LSTAT): Drop AC_FUNC_LSTAT in favor of
1736 AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
1737 * stat.m4: Remove this file.
1739 2005-06-20 Derek Price <derek@ximbiot.com>
1741 * bison.m4: Note that precious decls of YACC & YFLAGS will be
1742 unnecessary for Autoconfs > 2.59c.
1744 2005-06-16 Derek Price <derek@ximbiot.com>
1746 * bison.m4: Declare YACC & YFLAGS precious.
1748 2005-06-08 Bruno Haible <bruno@clisp.org>
1750 * csharpcomp.m4: New file, from GNU gettext.
1752 2005-06-02 Paul Eggert <eggert@cs.ucla.edu>
1754 Sync from coreutils.
1755 * mkdir-p.m4: Renamed from makepath.m4.
1756 (gl_MKDIR_PARENTS): Renamed from gl_MAKEPATH. All uses changed.
1757 Rename files from makepath.c to mkdir-p.c, and from
1758 makepath.h to mkdir-p.h.
1759 * filenamecat.m4: Renamed from path-concat.m4.
1760 (gl_FILE_NAME_CONCAT): Renamed from gl_PATH_CONCAT. All uses changed.
1761 Rename files from path-concat.c to filenamecat.c,
1762 and from path-concat.h to filenamecat.h.
1763 * getcwd-path-max.m4: Don't use "path" or "filename" to mean
1764 "file name" in local variables or comments.
1765 * rename.m4: Likewise.
1767 2005-06-01 Bruno Haible <bruno@clisp.org>
1769 * csharp.m4: New file, from GNU gettext.
1770 * csharpexec.m4: New file, from GNU gettext.
1772 2005-05-31 Derek Price <derek@ximbiot.com>
1773 Paul Eggert <eggert@cs.ucla.edu>
1776 * glob.m4: s/MISSING_SYS_CDEFS_H/_SYS_CDEFS_H/ and comment.
1778 2005-05-29 Derek Price <derek@ximbiot.com>
1779 Paul Eggert <eggert@cs.ucla.edu>
1781 * glob.m4: New file.
1783 2005-05-27 Paul Eggert <eggert@cs.ucla.edu>
1785 * fts.m4 (gl_FUNC_FTS_CORE): Don't check for inttypes.h or stdint.h,
1786 and don't require gt_INTTYPES_PRI.
1788 2005-05-26 Paul Eggert <eggert@cs.ucla.edu>
1790 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Define
1791 _POSIX_PTHREAD_SEMANTICS for Solaris.
1793 2005-05-25 Derek Price <derek@ximbiot.com>
1794 Paul Eggert <eggert@cs.ucla.edu>
1796 * getlogin_r.m4: New files.
1798 2005-05-22 Bruno Haible <bruno@clisp.org>
1800 * minmax.m4: New file.
1801 Based on a patch by Derek Price <derek@ximbiot.com>.
1803 2005-05-20 Paul Eggert <eggert@cs.ucla.edu>
1805 * fts.m4 (gl_FUNC_FTS_CORE): Renamed from gl_FUNC_FTS.
1806 (gl_FUNC_FTS, gl_FUNC_FTS_LGPL): New macros.
1808 2005-05-20 Eric Blake <ebb9@byu.net> (tiny change)
1810 * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs
1813 2005-05-18 Paul Eggert <eggert@cs.ucla.edu>
1815 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME]):
1816 Don't check for stddef.h.
1817 * fts.m4 (gl_FUNC_FTS): Don't require AC_HEADER_STDC, as we
1818 don't use its results.
1819 Don't check for fcntl.h, stddef.h, stdlib.h, string.h, unistd.h,
1820 since we include them unconditionally. Don't require
1821 AM_STDBOOL_H, since stdbool is a prerequisite.
1822 Don't require AC_C_CONST, AC_TYPE_SIZE_T or check for ptrdiff_t
1823 since we assume C89 or better.
1824 Don't require AC_FUNC_CLOSEDIR_VOID, AC_FUNC_LSTAT, or AC_FUNC_STAT,
1825 as we don't use their results.
1826 Don't check for fchdir, memmove, memset, strrchr, as we use
1827 them unconditionally.
1828 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Don't define
1829 GETTIMEOFDAY_CLOBBERS_LOCALTIME_BUFFER, since nobody uses it.
1831 2005-05-18 Jim Meyering <jim@meyering.net>
1833 * fts.m4 (AC_LIBSOURCES): Add intprops.h to the list.
1834 Reported by Yoann Vandoorselaere.
1836 2005-05-17 Jim Meyering <jim@meyering.net>
1838 * fts.m4: New file, from coreutils.
1840 2005-05-14 Paul Eggert <eggert@cs.ucla.edu>
1842 Sync from coreutils.
1843 * unlinkdir.m4: New file.
1845 2005-05-10 Derek Price <derek@ximbiot.com>
1847 * getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
1850 2005-05-10 Simon Josefsson <jas@extundo.com>
1852 * getaddrinfo.m4: Look in libnsl/libsocket for getaddrinfo, from
1853 Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
1855 2005-05-09 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
1856 Bruno Haible <bruno@clisp.org>
1858 * inet_ntop.m4: New file.
1860 2005-05-05 Paul Eggert <eggert@cs.ucla.edu>
1862 * getopt.m4 (gl_GETOPT): Check for Solaris 10 getopt, and avoid
1865 2005-05-01 Paul Eggert <eggert@cs.ucla.edu>
1867 * euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT.
1868 * lchown.m4 (gl_FUNC_CHOWN): Likewise.
1869 (gl_PREREQ_CHOWN): Remove.
1870 * lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling
1871 it. Don't require AC_HEADER_STAT.
1872 (gl_PREREQ_LSTAT): Remove.
1873 * mkstemp.m4 (gl_PREREQ_TEMPNAME): Check stdint.h only once.
1874 Don't require AC_HEADER_STAT.
1875 * rmdir.m4 (gl_FUNC_RMDIR): Don't require AC_HEADER_STAT.
1876 (gl_PREREQ_RMDIR): Remove.
1877 * canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Don't
1878 mention stat-macros.h or AC_HEADER_STAT, since we'll make
1879 the stat-macros module a prerequisite.
1880 * file-type.m4 (gl_FILE_TYPE): Likewise.
1881 * filemode.m4 (gl_FILEMODE): Likewise.
1882 * makepath.m4 (gl_MAKEPATH): Likewise.
1883 * modechange.m4 (gl_MODECHANGE): Likewise.
1884 * clock_time.m4 (gl_CLOCK_TIME): Use gl_ rather than fetish_ for
1886 * rmdir-errno.m4 (gl_FUNC_RMDIR_NOTEMPTY): Renamed from
1887 fetish_FUNC_RMDIR_NOTEMPTY. All uses changed. Use gl_ for
1889 * fcntl-safer.m4: Remove.
1890 * stdio-safer.m4 (gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.
1891 * unistd-safer.m4 (gl_UNISTD_SAFER): Likewise.
1892 Invoke gl_PREREQ_FD_SAFER.
1893 (gl_PREREQ_FD_SAFER): New macro.
1894 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): Check for siginterrupt.
1895 * readutmp.m4 (gl_READUTMP): Require AC_C_INLINE.
1896 Use AC_CHECK_HEADERS_ONCE and AC_CHECK_FUNCS_ONCE when possible.
1897 Remove duplicate call to AC_LIBOBJ(readutmp).
1898 (gl_PREREQ_READUTMP): Remove. All uses inlined.
1900 * mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check for message, not for
1901 MAP_ANON. Problem reported by Moriyoshi Koizumi to bug-cvs.
1903 2005-05-01 Oskar Liljeblad <oskar@osk.mine.nu>
1905 * byteswap.m4: New file.
1909 * gettext.m4: Update from GNU gettext 0.14.4.
1911 2005-04-15 Simon Josefsson <jas@extundo.com>
1913 * getpass.m4 (gl_FUNC_GETPASS): Use AC_LIBSOURCES.
1915 2005-03-28 Eric Blake <ebb9@byu.net> (tiny change)
1917 * getcwd-path-max.m4: Return success on systems such as Cygwin
1918 where no absolute path name can be longer than PATH_MAX.
1920 2005-03-22 Jim Meyering <jim@meyering.net>
1922 * stat-macros.m4 (gl_STAT_MACROS): New file/macro.
1924 2005-03-21 Jim Meyering <jim@meyering.net>
1925 and Paul Eggert <eggert@cs.ucla.edu>
1927 * acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4,
1928 cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4,
1929 exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4,
1930 getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4,
1931 getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4,
1932 idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4,
1933 memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4,
1934 path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4,
1935 quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4,
1936 safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4,
1937 strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4,
1938 unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4,
1939 xnanosleep.m4, xstrtol.m4, yesno.m4:
1940 Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files
1943 2005-03-21 Jim Meyering <jim@meyering.net>
1945 * chdir-long.m4 (gl_PREREQ_CHDIR_LONG): Invoke gl_FUNC_MEMRCHR.
1946 * memrchr.m4 (gl_FUNC_MEMRCHR): Check for memrchr decl.
1948 2005-03-16 Bruno Haible <bruno@clisp.org>
1950 * stdint.m4 (gl_STDINT_H): Define HAVE_LONG_LONG_64BIT instead of
1951 HAVE_LONGLONG_64BIT.
1953 2005-03-14 Bruno Haible <bruno@clisp.org>
1955 * lib-link.m4, gettext.m4, nls.m4, po.m4:
1956 Update from GNU gettext 0.14.3.
1958 2005-03-10 Jim Meyering <jim@meyering.net>
1960 * save-cwd.m4 (gl_SAVE_CWD): Check for fchdir.
1962 2005-03-07 Bruno Haible <bruno@clisp.org>
1964 * mmap-anon.m4 (MAP_FILE, MAP_FAILED): Remove definitions.
1966 2005-03-03 Bruno Haible <bruno@clisp.org>
1968 * inttypes.m4, isc-posix.m4, once-only.m4:
1969 Use an all-permissive copyright notice, recommended by RMS.
1971 2005-03-03 Derek R. Price <derek@ximbiot.com>
1973 * mmap-anon.m4: New file.
1974 * pagealign_alloc.m4: New file.
1976 2005-01-28 Bruno Haible <bruno@clisp.org>
1978 * stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because of
1979 AIX, the replacement has to be done only after <string.h> is included,
1980 therefore not in config.h. stpncpy.h does the replacement, and
1983 2005-03-01 Paul Eggert <eggert@cs.ucla.edu>
1985 * xnanosleep.m4 (gl_XNANOSLEEP): Remove configuration attempting
1986 to detect nanosleep bug.
1988 2005-02-25 Paul Eggert <eggert@cs.ucla.edu>
1990 * gethrxtime.m4, xnanosleep.m4: New files.
1991 * gettime.m4 (gl_GETTIME): Check for nanotime.
1993 2005-02-24 Bruno Haible <bruno@clisp.org>
1995 * gettext.m4, intdiv0.m4, intmax.m4, inttypes-pri.m4, lcmessage.m4:
1996 * lib-link.m4, lib-prefix.m4, nls.m4, po.m4, printf-posix.m4:
1998 Update from GNU gettext 0.14.2.
1999 * glibc2.m4: New file, from GNU gettext 0.14.2.
2001 2005-02-22 Simon Josefsson <jas@extundo.com>
2003 * iconvme.m4: New file.
2005 2005-02-23 Jim Meyering <jim@meyering.net>
2007 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change.
2008 Thanks to Bruno Haible for catching it.
2010 2005-02-22 Jim Meyering <jim@meyering.net>
2012 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/.
2014 2005-02-03 Paul Eggert <eggert@cs.ucla.edu>
2016 * memrchr.m4 (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
2018 2005-01-28 Paul Eggert <eggert@cs.ucla.edu>
2020 Sync from coreutils.
2021 * getloadavg.m4, glibc.m4, search-libs.m4: Remove.
2023 Remove files that are specific to coreutils.
2024 * check-decl.m4, jm-macros.m4, lib-check.m4, prereq.m4: Remove.
2026 2005-01-28 Bruno Haible <bruno@clisp.org>
2028 * javacomp.m4: New file, from GNU gettext.
2030 2005-01-26 Bruno Haible <bruno@clisp.org>
2032 * javaexec.m4: New file, from GNU gettext.
2034 2005-01-24 Sergey Poznyakoff <gray@Mirddin.farlep.net>
2036 * sysexits.m4 (gl_SYSEXITS): Reverted logic. SYSEXITS_H
2037 must be defined if the header file was not found, in order
2038 to provide a replacement. Reported by Todd Vierling <tv@duh.org>
2040 2005-01-23 Paul Eggert <eggert@cs.ucla.edu>
2042 * acl.m4, afs.m4, alloca.m4, argp.m4, assert.m4, atexit.m4,
2043 backupfile.m4, base64.m4, bison.m4, c-bs-a.m4, c-stack.m4,
2044 c-strtod.m4, calloc.m4, canon-host.m4, canonicalize.m4,
2045 clock_time.m4, cloexec.m4, closeout.m4, d-ino.m4, d-type.m4,
2046 dirfd.m4, dirname.m4, dos.m4, dup2.m4, error.m4, euidaccess.m4,
2047 exclude.m4, exitfail.m4, extensions.m4, fcntl-safer.m4,
2048 file-type.m4, fileblocks.m4, filemode.m4, fnmatch.m4, fpending.m4,
2049 free.m4, fstypename.m4, fsusage.m4, ftruncate.m4, getaddrinfo.m4,
2050 getcwd-path-max.m4, getcwd.m4, getdate.m4, getdomainname.m4,
2051 getgroups.m4, gethostname.m4, getline.m4, getndelim2.m4,
2052 getnline.m4, getopt.m4, getpagesize.m4, getpass.m4, getsubopt.m4,
2053 gettime.m4, gettimeofday.m4, getugroups.m4, getusershell.m4,
2054 group-member.m4, hard-locale.m4, hash.m4, host-os.m4, human.m4,
2055 idcache.m4, inttostr.m4, isdir.m4, jm-winsz1.m4, jm-winsz2.m4,
2056 link-follow.m4, long-options.m4, ls-mntd-fs.m4, lstat.m4,
2057 makepath.m4, mathl.m4, md5.m4, memcasecmp.m4, memchr.m4,
2058 memcmp.m4, memcoll.m4, memcpy.m4, memmem.m4, memmove.m4,
2059 memrchr.m4, memset.m4, mkdir-slash.m4, mkstemp.m4, mktime.m4,
2060 modechange.m4, mountlist.m4, nanosleep.m4, obstack.m4,
2061 path-concat.m4, pathmax.m4, perl.m4, physmem.m4, poll.m4,
2062 posixtm.m4, posixver.m4, putenv.m4, quote.m4, quotearg.m4,
2063 readdir.m4, readtokens.m4, readutmp.m4, regex.m4, rename.m4,
2064 restrict.m4, rmdir-errno.m4, rmdir.m4, rpmatch.m4, same.m4,
2065 savedir.m4, settime.m4, sha1.m4, sig2str.m4, snprintf.m4,
2066 sockpfaf.m4, st_dm_mode.m4, st_mtim.m4, stat.m4, stdint.m4,
2067 stdio-safer.m4, strchrnul.m4, strdup.m4, strerror.m4,
2068 strerror_r.m4, strftime.m4, strndup.m4, strnlen.m4, strsep.m4,
2069 strtod.m4, strtoimax.m4, strtok_r.m4, strtol.m4, strtoll.m4,
2070 strtoul.m4, strtoull.m4, strtoumax.m4, strverscmp.m4, sysexits.m4,
2071 time_r.m4, timegm.m4, timespec.m4, tm_gmtoff.m4, tzset.m4,
2072 uint32_t.m4, uintptr_t.m4, unistd-safer.m4, unlink-busy.m4,
2073 unlocked-io.m4, uptime.m4, userspec.m4, utimbuf.m4, utime.m4,
2074 utimecmp.m4, utimens.m4, utimes-null.m4, vsnprintf.m4, xalloc.m4,
2075 xgetcwd.m4, xreadlink.m4, xstrndup.m4, xstrtod.m4, xstrtoimax.m4,
2076 xstrtol.m4, xstrtoumax.m4, yesno.m4:
2077 Use an all-permissive copyright notice, recommended by RMS.
2079 2005-01-20 Paul Eggert <eggert@cs.ucla.edu>
2081 * save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it.
2083 2005-01-18 Paul Eggert <eggert@cs.ucla.edu>
2085 Merge from coreutils.
2086 * ullong_max.m4: New file.
2087 * jm-macros.m4 (gl_MACROS): Require gl_ULLONG_MAX.
2088 (gl_MACROS): Assume localeconv exists.
2090 2005-01-18 Jim Meyering <jim@meyering.net>
2092 Merge from coreutils.
2093 * chdir-long.m4, openat.m4: New files.
2094 * save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c,
2095 save-cwd.h. Add AC_LIBOBJ for save-cwd.
2096 * chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
2097 is sane and DOES follow symlinks. Besides, testing 20 different
2098 systems found no broken chown implementations.
2099 Prompted by a change in rsync's copy of this macro.
2100 * jm-macros.m4 (gl_MACROS): Require gl_FUNC_CHDIR_LONG.
2102 * lchown.m4 (gl_FUNC_LCHOWN): Use AC_LIBSOURCES.
2104 * utimes.m4: Work around tests/touch/empty-file failure on a system
2105 (sparc64, Linux-2.4.28, glibc-2.3.3) that didn't honor utimes'
2106 NULL-means-set-to-current-time semantics.
2107 Remove temporary file immediately, rather than waiting
2108 for configure's at-exit trap code to do it.
2110 2005-01-18 Bruno Haible <bruno@clisp.org>
2112 * allocsa.m4, codeset.m4, copy-file.m4, eaccess.m4, eealloc.m4:
2113 * eoverflow.m4, execute.m4, fatal-signal.m4, findprog.m4, glibc21.m4:
2114 * iconv.m4, intmax_t.m4, inttypes_h.m4, lib-ld.m4, lib-link.m4:
2115 * lib-prefix.m4, linebreak.m4, localcharset.m4, longdouble.m4:
2116 * longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mkdtemp.m4:
2117 * pipe.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4:
2118 * sig_atomic_t.m4, signalblocking.m4, signed.m4, size_max.m4:
2119 * ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4, stpncpy.m4:
2120 * strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, ucs4-utf.m4:
2121 * uintmax_t.m4, ulonglong.m4, unicodeio.m4, utf-ucs4.m4, vasnprintf.m4:
2122 * vasprintf.m4, wait-process.m4, wchar_t.m4, wint_t.m4, xsize.m4:
2123 Use an all-permissive copyright notice, recommended by RMS.
2125 2005-01-06 Bruno Haible <bruno@clisp.org>
2127 * stpncpy.m4 (gl_FUNC_STPNCPY): Rename stpncpy to gnu_stpncpy here.
2129 2005-01-04 Jim Meyering <jim@meyering.net>
2131 Changes imported from coreutils.
2132 * mkstemp.m4 (gl_FUNC_MKSTEMP): Rather than using "conftestXXXXXX"
2133 as the mkstemp template, use a temporary directory and an
2134 8.3-friendly template to avoid trouble on systems like DJGPP.
2135 Reported by Juan M. Guerrero via Stepan Kasal.
2136 * (gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of close.
2137 Remove the temporary directory right away, rather than waiting
2138 for configure's at-exit trap code to do it.
2139 Suggestion from Stepan Kasal.
2141 2004-12-24 Paul Eggert <eggert@cs.ucla.edu>
2143 * c-strtod.m4 (gl_C99_STRTOLD): New macro.
2144 (gl_C_STRTOD): Use it instead of AC_CHECK_DECLS_ONCE(strtold).
2146 2004-12-23 Paul Eggert <eggert@cs.ucla.edu>
2148 * getdate.m4 (gl_GETDATE): Remove AC_FUNC_ALLOCA.
2150 2004-12-18 Bruno Haible <bruno@clisp.org>
2152 * fatal-signal.m4 (gl_FATAL_SIGNAL): Also test for sigaction.
2154 2004-12-07 Paul Eggert <eggert@cs.ucla.edu>
2156 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Fix typo in previous change:
2157 spurious "-l"s. Problem reported by Stepan Kasal.
2159 2004-12-06 Paul Eggert <eggert@cs.ucla.edu>
2161 * ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): New macro, to work around bug
2162 in Autoconf 2.59. Problem reported by Mark D. Baushke.
2164 2004-12-04 Paul Eggert <eggert@cs.ucla.edu>
2166 Changes imported from coreutils.
2167 * hard-locale.m4 (gl_HARD_LOCALE): Assume locale.h and setlocale
2169 * human.m4 (gl_HUMAN): Assume locale.h and localeconv exist.
2171 2004-11-30 Paul Eggert <eggert@cs.ucla.edu>
2173 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX):
2174 Define HAVE_PARTLY_WORKING_GETCWD if getcwd is partly working.
2176 * readutmp.m4 (gl_READUTMP): Don't check for sys/param.h.
2178 2004-11-30 Simon Josefsson <jas@extundo.com>
2180 * base64.m4: New file.
2182 2004-11-30 Simon Josefsson <jas@extundo.com>
2184 * restrict.m4: Add copyright and copying conditions.
2186 2004-11-25 Paul Eggert <eggert@cs.ucla.edu>
2188 * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
2189 GL_FUNC_GETCWD_PATH_MAX for consistency. All uses changed.
2190 Use the _ONCE methods, for efficiency.
2191 Check for fcntl.h. In test program, include <errno.h>
2192 and <fcntl.h> if available. Remove old K&R cruft from
2193 test program. Check for common errors in GNU/Linux,
2194 OpenBSD, and Solaris. Just set gl_cv_func_getcwd_path_max;
2195 don't do AC_LIBOBJ, as that's getcwd.m4's job.
2196 * getcwd.m4 (gl_FUNC_GETCWD_NULL): Renamed from
2197 AC_FUNC_GETCWD_NULL. All used changed. Change cache variable
2199 (gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros. Revamp to
2200 accommodate new getcwd.c.
2201 * jm-macros.m4 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX.
2202 * prereq.m4 (gl_PREREQ): Add gl_FUNC_MEMPCPY.
2203 * xgetcwd.m4 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
2204 that's all we need now.
2206 2004-11-23 Paul Eggert <eggert@cs.ucla.edu>
2208 * utimens.m4 (gl_UTIMENS): Check for futimes function.
2210 2004-11-23 Sergey Poznyakoff <gray@Mirddin.farlep.net>
2212 * argp.m4 (gl_ARGP): Require gl_GETOPT_SUBSTITUTE unconditionally:
2213 argp-parse.c depends on getopt internals, that means we should
2214 always use our getopt, to be on the safe side.
2215 * getopt.m4 (gl_GETOPT): Check if GETOPT_H is already set, in
2216 order not to spoil the result of an eventual previous invocation
2217 of gl_GETOPT_SUBSTITUTE.
2219 2004-11-17 Paul Eggert <eggert@cs.ucla.edu>
2221 * calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations
2222 that mishandle size_t overflow.
2224 2004-11-16 Paul Eggert <eggert@cs.ucla.edu>
2226 * canon-host.m4 (gl_CANON_HOST): Check for getaddrinfo.
2228 2004-11-13 Jim Meyering <jim@meyering.net>
2230 * jm-macros.m4: Do require gl_FUNC_FPENDING.
2232 2004-11-11 Paul Eggert <eggert@cs.ucla.edu>
2234 * getopt.m4 (gl_GETOPT_SUBSTITUTE): Define __GETOPT_PREFIX instead
2235 of replacing opterr, getopt, etc. This should handle the
2236 powerpc-apple-darwin5.5 problem recently noted by Simon Josefsson.
2238 2004-11-11 Simon Josefsson <jas@extundo.com>
2240 * strtok_r.m4: New file.
2242 * getopt.m4: Replace opterr.
2244 2004-11-10 Paul Eggert <eggert@cs.ucla.edu>
2246 * prereq.m4 (gl_PREREQ): Require gt_FUNC_SETENV.
2248 2004-11-10 Jim Meyering <jim@meyering.net>
2250 * jm-macros.m4 (gl_MACROS): Don't require gl_FUNC_FPENDING.
2252 2004-11-08 Simon Josefsson <jas@extundo.com>
2254 * getaddrinfo.m4: New file.
2256 2004-11-09 Paul Eggert <eggert@cs.ucla.edu>
2258 * strftime.m4 (_gl_STRFTIME_PREREQS): Remove. Move its body to
2260 (gl_FUNC_STRFTIME): Use AC_CHECK_FUNCS_ONCE and AC_CHECK_HEADERS_ONCE
2261 and AC_REQUIRE when possible, to avoid duplicate checks.
2262 Check for <wchar.h>.
2264 2004-11-09 Bruno Haible <bruno@clisp.org>
2266 * sockpfaf.m4: New file.
2268 2004-11-03 Albert Chin <china@thewrittenword.com>
2269 Paul Eggert <eggert@cs.ucla.edu>
2271 * uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
2272 equivalent, substitute $ac_type for equivalent type rather than
2273 blindly using uint32_t *always* which won't work if uint32_t is not
2274 available. Define _UINT32_T to work around typedef of uint32_t if
2275 <sys/sched.h>, <pthread.h>, or <semaphore.h> used on Solaris
2278 2004-11-02 Paul Eggert <eggert@cs.ucla.edu>
2280 * jm-macros.m4: Sync from coreutils.
2281 (gl_MACROS): Check for mbrlen, for pathchk.
2282 (gl_CHECK_ALL_TYPES): Require AC_TYPE_MBSTATE_T, for pathchk.
2284 2004-11-02 Bruno Haible <bruno@clisp.org>
2286 * setenv.m4 (gt_FUNC_SETENV): Define VOID_UNSETENV if unsetenv()
2289 2004-11-01 Paul Eggert <eggert@cs.ucla.edu>
2291 * getpass.m4 (gl_PREREQ_GETPASS): Check for declarations of
2292 fflush_unlocked, flockfile, funlockfile, funlockfile,
2293 fputs_unlocked, putc_unlocked.
2295 2004-10-22 Paul Eggert <eggert@cs.ucla.edu>
2297 * getpagesize.m4 (gl_GETPAGESIZE): Check for <sys/param.h>.
2299 2004-10-15 Paul Eggert <eggert@cs.ucla.edu>
2301 * getopt.m4 (gl_GETOPT): Detect and reject the incompatible BSD
2302 implementation of getopt_long. Problem reported by Alexander Taler in:
2303 http://lists.gnu.org/archive/html/bug-gnulib/2004-10/msg00103.html
2305 2004-10-11 Yoann Vandoorselaere <yoann@prelude-ids.org>
2307 * vsnprintf.m4: New file.
2309 2004-10-05 Bruno Haible <bruno@clisp.org>
2311 * strsep.m4 (gl_FUNC_STRSEP): Require AC_GNU_SOURCE. Don't check
2312 for the declaration of strsep.
2314 2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
2316 * xalloc.m4 (gl_PREREQ_XSTRDUP): Remove. All uses removed.
2318 * unlocked-io.m4: Add copyright notice.
2319 (gl_FUNC_GLIBC_UNLOCKED_IO): Define USE_UNLOCKED_IO.
2321 2004-10-04 Simon Josefsson <jas@extundo.com>
2323 * memmem.m4: New file.
2325 2004-10-01 Yoann Vandoorselaere <yoann@prelude-ids.org>
2327 * strsep.m4: New file.
2329 2004-09-30 Simon Josefsson <jas@extundo.com>
2331 * snprintf.m4: New file.
2333 2004-09-09 Bruno Haible <bruno@clisp.org>
2335 * eoverflow.m4: New file, taken from GNU libiconv eilseq.m4 with
2337 * vasnprintf.m4 (gl_FUNC_VASNPRINTF): Require gl_EOVERFLOW.
2339 2004-09-08 Bruno Haible <bruno@clisp.org>
2341 * stdint.m4: New file, taken from GNU clisp with modifications.
2343 2004-08-19 Paul Eggert <eggert@cs.ucla.edu>
2345 * userspec.m4 (gl_USERSPEC): Don't require AC_FUNC_ALLOCA.
2347 2004-08-12 Paul Eggert <eggert@cs.ucla.edu>
2349 * argp.m4 (gl_ARGP): Do not check for argp.h or argp_parse; nobody
2350 uses HAVE_ARGP_H or HAVE_ARGP_PARSE.
2351 Require gl_FUNC_GLIBC_UNLOCKED_IO, gl_USE_SYSTEM_EXTENSIONS.
2352 Check for program_invocation_name, program_invocation_short_name,
2353 flockfile, funlockfile, features.h, _getopt_long_only_r.
2355 2004-08-12 Simon Josefsson <jas@extundo.com>
2357 * getopt.m4 (gl_GETOPT_SUBSTITUTE): New macro,
2358 as discussed with Paul Eggert in threads rooted at
2359 <http://lists.gnu.org/archive/html/bug-gnulib/2004-06/msg00039.html>
2361 <http://lists.gnu.org/archive/html/bug-gnulib/2004-07/msg00001.html>.
2362 Before, the test was empty, and relied on ELIDE_CODE in source
2364 (gl_PREREQ_GETOPT): New macro.
2365 (gl_GETOPT): Use them.
2367 2004-08-11 Paul Eggert <eggert@cs.ucla.edu>
2369 Merge from coreutils.
2371 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
2373 * obstack.m4 (gl_PREREQ_OBSTACK): Require
2374 gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.
2376 2004-08-09 Paul Eggert <eggert@cs.ucla.edu>
2378 * uint32_t.m4, uintptr_t.m4: New files.
2379 * sha1.m4: Renamed from sha.m4.
2380 (gl_SHA1): Renamed from gl_SHA. All uses changed.
2382 2004-08-08 Simon Josefsson <jas@extundo.com>
2384 * getpass.m4 (gl_FUNC_GETPASS, gl_FUNC_GETPASS_GNU):
2385 Check getpass declaration.
2387 2004-08-06 Paul Eggert <eggert@cs.ucla.edu>
2389 More merge from coreutils.
2391 * utimens.m4, utimecmp.m4: New files.
2392 * backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
2393 fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
2394 prereq.m4, sha.m4: Import changes from coreutils.
2396 2004-08-05 Paul Eggert <eggert@cs.ucla.edu>
2398 Merge from coreutils.
2400 * c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
2403 * dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
2404 FILESYSTEM_PREFIX_LEN ->
2405 FILE_SYSTEM_PREFIX_LEN.
2406 FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX ->
2407 FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.
2408 FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR ->
2409 FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.
2411 * path-concat.m4 (gl_PATH_CONCAT): Don't require gl_AC_DOS, the
2412 prerequisite modules now handle the DOS stuff.
2413 Don't check for unistd.h.
2415 2004-08-03 Simon Josefsson <jas@extundo.com>
2417 * strdup.m4: Always run gl_PREREQ_STRDUP, since strdup.h need it.
2419 2004-08-02 Simon Josefsson <jas@extundo.com>
2421 * getsubopt.m4: New file.
2423 2004-08-03 Paul Eggert <eggert@cs.ucla.edu>
2425 * fatal.m4: Remove, as the "fatal" module wasn't used or working.
2427 2004-07-13 Robert Millan <robertmh@gnu.org>
2429 * host-os.m4: s/KNetBSD/kNetBSD/g and s/KFreeBSD/kFreeBSD/g.
2431 2004-06-22 Paul Eggert <eggert@cs.ucla.edu>
2433 * argz.m4: New file, which is autoupdated from libtool.
2435 2004-06-01 Jim Meyering <jim@meyering.net>
2437 * calloc.m4: New file.
2439 2004-06-01 Paul Eggert <eggert@cs.ucla.edu>
2441 Merge from coreutils CVS.
2443 * backupfile.m4, dirname.m4, human.m4, inttypes.m4, longlong.m4,
2444 makepath.m4, memchr.m4, memcmp.m4, mountlist.m4, path-concat.m4,
2445 putenv.m4, quotearg.m4, readutmp.m4, strtoimax.m4, strtoll.m4,
2446 strtoull.m4, strtoumax.m4, ulonglong.m4, vasnprintf.m4,
2447 xstrtol.m4: Fix copyright date and/or serial number.
2449 * chown.m4 (gl_PREREQ_CHOWN): Check for fcntl.h.
2450 See if we need an fchown replacement.
2451 (gl_FUNC_CHOWN_FOLLOWS_SYMLINK): New macro.
2452 (gl_FUNC_CHOWN): Require gl_FUNC_CHOWN_FOLLOWS_SYMLINK,
2453 and use the replacement function if we detect either defect.
2455 * prereq.m4 (gl_PREREQ): Add gl_ALLOCSA, gl_CLOEXEC, gl_INTTOSTR,
2458 2004-05-31 Paul Eggert <eggert@cs.ucla.edu>
2460 * stdbool.m4 (AC_HEADER_STDBOOL): Detect _Bool bug in HP aC++/ANSI
2461 C B3910B A.05.55 [Dec 04 2003]. Problem reported by Jim Meyering.
2462 Also, fix a typo in a diagnostic.
2464 2004-05-30 Paul Eggert <eggert@cs.ucla.edu>
2466 * xalloc.m4 (gl_PREREQ_XMALLOC): Do not require AC_FUNC_MALLOC
2469 2004-05-20 Andreas Schwab <schwab@suse.de>
2471 * free.m4: Replace free if it not known to work, not the other
2474 2004-05-17 Derek R. Price <derek@ximbiot.com>
2475 Paul Eggert <eggert@cs.ucla.edu>
2477 * argp: Depend on alloca.
2479 2004-05-16 Paul Eggert <eggert@cs.ucla.edu>
2481 * alloca.m4 (gl_FUNC_ALLOCA): Define HAVE_ALLOCA_H always,
2482 for backward compatibility with older code. We need our own
2483 alloca.h if _AIX is defined. Define HAVE_ALLOCA if we discover
2484 it under some other name, and our alloca.h will define it.
2486 2004-05-13 Paul Eggert <eggert@cs.ucla.edu>
2488 * gettime.m4 (gl_GETTIME): Require gl_TIMESPEC.
2489 Check for gettimeofday.
2490 * settime.m4 (gl_SETTIME): Require gl_TIMESPEC.
2491 Check for settimeofday, stime.
2493 2004-04-20 Paul Eggert <eggert@twinsun.com>
2495 * host-os.m4: Add a copyright notice.
2497 2004-04-20 Jim Meyering <jim@meyering.net>
2499 Change UTILS_ to gl_ in AC_DEFINE'd names.
2500 Change utils_- and jm_-prefixed variables, too.
2501 * mkdir-slash.m4 (gl_FUNC_MKDIR_TRAILING_SLASH): Renamed from
2502 UTILS_FUNC_MKDIR_TRAILING_SLASH.
2503 * mkstemp.m4 (gl_FUNC_MKSTEMP): Renamed from UTILS_FUNC_MKSTEP.
2505 * dirfd.m4 (gl_FUNC_DIRFD): Rename from UTILS_FUNC_DIRFD.
2506 Don't emit trailing blanks.
2507 Also rename jm_-prefixed variables to have gl_ prefix.
2509 * host-os.m4 (gl_HOST_OS): Rename from UTILS_HOST_OS.
2510 Also rename jm_-prefixed variables to have gl_ prefix.
2512 * jm-macros.m4: Reflect the renamings.
2513 * prereq.m4: Likewise.
2515 2004-04-19 Jim Meyering <jim@meyering.net>
2517 * readutmp.m4 (gl_PREREQ_READUTMP): Require gl_FUNC_FREE,
2518 now that readutmp.c may call `free (0)'.
2520 2004-04-19 Bruno Haible <bruno@clisp.org>
2522 * mbrtowc.m4: Change jm_ to gl_ in cache variables as well.
2523 * inttypes_h.m4: Likewise.
2524 * stdint_h.m4: Likewise.
2525 * intmax_t.m4: Likewise.
2526 * uintmax_t.m4: Likewise.
2528 2004-04-18 Jim Meyering <jim@meyering.net>
2530 * prereq.m4: Don't forbid jm_ prefix.
2532 * afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4:
2533 * check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4:
2534 * error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4:
2535 * getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4:
2536 * human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4:
2537 * inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4:
2538 * lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4:
2539 * ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4:
2540 * memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4:
2541 * nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4:
2542 * quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4:
2543 * strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4:
2544 * uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4:
2545 * uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4:
2546 * xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4:
2547 Change jm_ to gl_ in AC_DEFINE'd names. Update all uses.
2549 2004-04-16 Jim Meyering <jim@meyering.net>
2551 * prereq.m4 (jm_PREREQ_STAT): Remove macro. It is specific to
2552 coreutils' stat program.
2553 (gl_PREREQ): Don't require jm_PREREQ_STAT.
2555 2004-03-31 Jim Meyering <jim@meyering.net>
2557 * prereq.m4: Require AC_FUNC_MALLOC, not jm_FUNC_MALLOC.
2558 Require AC_FUNC_REALLOC, not jm_FUNC_REALLOC.
2559 * xalloc.m4: Likewise.
2561 2004-03-30 Jim Meyering <jim@meyering.net>
2563 * realloc.m4: Remove file, since now it does no more than
2564 AC_REQUIRE([AC_FUNC_REALLOC]), and that can be done via
2565 the `configure.ac' section of module/realloc.
2566 * malloc.m4: Likewise, but for AC_FUNC_MALLOC.
2568 2004-03-30 Paul Eggert <eggert@twinsun.com>
2570 Merge from coreutils.
2572 * inttostr.m4: New file.
2573 * getdate.m4 (gl_GETDATE): Remove time-related stuff.
2574 Require AM_STDBOOL_H and gl_TIMESPEC instead.
2575 Require gl_CLOCK_TIME.
2576 * clock_time.m4 (gl_CLOCK_TIME): Require AC_GNU_SOURCE.
2578 2004-03-30 Jim Meyering <jim@meyering.net>
2580 Merge from coreutils.
2582 Avoid a configure-time warning about sys/ucred.h on OSF V4.0.
2583 * ls-mntd-fs.m4: Test for sys/ucred.h separately, since
2584 on some systems one must include <grp.h> before it.
2585 Reported by Christian Krackowizer.
2587 2004-03-29 Paul Eggert <eggert@twinsun.com>
2589 * cloexec.m4: New file.
2591 2004-03-18 Paul Eggert <eggert@twinsun.com>
2592 Bruno Haible <bruno@clisp.org>
2594 * mbswidth.m4 (gl_MBSWIDTH): Also test whether <wchar.h> declares
2597 2004-03-07 Paul Eggert <eggert@twinsun.com>
2599 * c-stack.m4 (gl_PREREQ_C_STACK): Renamed from jm_PREREQ_C_STACK.
2600 All uses changed. Check for sa_sigaction member; this fixes
2601 a bug first reported by Jason Andrade in
2602 <http://mail.gnu.org/archive/html/bug-textutils/2003-03/msg00027.html>.
2604 2004-01-18 Simon Josefsson <jas@extundo.com>
2606 * strdup.m4 (gl_PREREQ_STRDUP): Check whether strdup is declared.
2608 2004-02-18 Bruno Haible <bruno@clisp.org>
2610 * xsize.m4 (gl_XSIZE): Require AC_C_INLINE.
2611 Reported by Derek Robert Price <derek@ximbiot.com>.
2613 2004-02-06 Karl Berry <karl@gnu.org>
2615 * po.m4: update from gettext 0.14.1.
2617 2004-02-03 Bruno Haible <bruno@clisp.org>
2619 * pipe.m4: New file, from GNU gettext.
2621 2004-01-27 Bruno Haible <bruno@clisp.org>
2623 * execute.m4: New file, from GNU gettext.
2625 2003-11-24 Bruno Haible <bruno@clisp.org>
2627 * allocsa.m4: New file, from GNU gettext.
2629 2003-11-24 Bruno Haible <bruno@clisp.org>
2631 * eealloc.m4: New file, from GNU gettext.
2633 2004-01-15 Paul Eggert <eggert@twinsun.com>
2635 Merge from coreutils.
2637 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for uintptr_t.
2638 * posixver.m4 (gl_POSIXVER): Require gl_DEFAULT_POSIX2_VERSION.
2639 (gl_DEFAULT_POSIX2_VERSION): Move
2640 the documentation from 'configure' into 'config.hin',
2641 so that 'configure --help' isn't burdened by it and
2642 we don't have to worry about its formatting there.
2643 Reword the documentation so that it's more succinct
2644 and can be run together into a single paragraph.
2645 * same.m4 (gl_SAME): Check for pathconf.
2647 2004-01-15 Jim Meyering <jim@meyering.net>
2649 Merge from coreutils.
2651 * clock_time.m4 (gl_CLOCK_TIME): Don't set LIB_CLOCK_GETTIME
2652 if no library is required.
2653 * jm-macros.m4: Don't require UTILS_SYS_OPEN_MAX.
2654 * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FREE.
2655 * jm-macros.m4 (jm_MACROS): Require autoconf-2.58.
2656 (AC_LANG_SOURCE): Remove definition, now that we require autoconf-2.58.
2657 * jm-macros.m4 (jm_MACROS): Don't require AC_FUNC_FTW.
2658 * lib-check.m4 (jm_LIB_CHECK): Do not set LIB_CRYPT to the
2659 value, $ac_cv_search_crypt, if it's "none required".
2660 * posixver.m4 (gl_DEFAULT_POSIX2_VERSION): New macro.
2661 * prereq.m4 (jm_PREREQ): Require AC_FUNC_GETLOADAVG,
2662 not gl_FUNC_GETLOADAVG.
2663 * prereq.m4 (jm_PREREQ): Require gl_READTOKENS, gl_MD5, gl_MAKEPATH,
2664 gl_LONG_OPTIONS, and gl_IDCACHE, gl_GETUGROUPS.
2666 2004-01-15 Alexandre Duret-Lutz <adl@gnu.org>
2668 Merge from coreutils.
2670 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Do not set LIB_NANOSLEEP to the
2671 value, $ac_cv_search_nanosleep, if it's "none required".
2673 2003-12-03 Bruno Haible <bruno@clisp.org>
2675 * gettext.m4: Upgrade from gettext-0.13.
2676 * po.m4: Upgrade from gettext-0.13.
2677 * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here.
2678 * intmax.m4: New file, from gettext-0.13.
2679 * printf-posix.m4: New file, from gettext-0.13.
2681 2003-11-25 Bruno Haible <bruno@clisp.org>
2683 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Don't require
2686 2003-11-17 Bruno Haible <bruno@clisp.org>
2688 * vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Require gt_TYPE_SSIZE_T.
2690 2003-11-12 Paul Eggert <eggert@twinsun.com>
2692 * xalloc.m4 (gl_PREREQ_XALLOC): Do not require gl_SIZE_MAX or
2695 2003-11-11 Bruno Haible <bruno@clisp.org>
2697 * size_max.m4: New file.
2698 * ptrdiff_max.m4: New file.
2699 * xsize,m4 (gl_XSIZE): Require gl_SIZE_MAX.
2700 * xalloc.m4 (gl_PREREQ_XALLOC): New macro.
2701 (gl_XALLOC): Invoke it.
2703 2003-11-04 Bruno Haible <bruno@clisp.org>
2705 * xsize.m4: New file.
2707 2003-11-03 Bruno Haible <bruno@clisp.org>
2709 * wait-process.m4 (gl_WAIT_PROCESS): Also check for waitid.
2711 2003-10-30 Paul Eggert <eggert@cs.ucla.edu>
2713 * host-os.m4 (UTILS_HOST_OS): Change netbsd*-gnu pattern back to
2714 netbsd*-gnu*. Suggested by Robert Millan.
2716 2003-10-29 Paul Eggert <eggert@twinsun.com>
2718 * xalloc.m4 (gl_XALLOC): Undo previous change.
2720 2003-10-29 Paul Eggert <eggert@twinsun.com>
2722 * host-os.m4 (UTILS_HOST_OS): Resurrect netbsd*-gnu. Add comments
2723 to it, and to knetbsd*-gnu and kfreebsd*-gnu. Remove the '*' from
2724 after the 'gnu' in these cases. This fixes some bugs in the
2725 previous change, and is based on suggestions by Robert Millan.
2727 2003-10-28 Paul Eggert <eggert@twinsun.com>
2729 * host-os.m4 (UTILS_HOST_OS): Identify GNU/KFreeBSD and
2730 GNU/KNetBSD. These implementations use glibc atop the FreeBSD and
2731 NetBSD kernels. Requested by Richard Stallman.
2733 2003-10-26 Paul Eggert <eggert@twinsun.com>
2735 * xalloc.m4 (gl_XALLOC): Requore AC_C_INLINE, since xalloc.h
2738 2003-10-23 Paul Eggert <eggert@twinsun.com>
2740 * getline.m4 (AM_FUNC_GETLINE):
2741 Don't include getndelim2.o twice into LIBOBJS; this breaks on some
2742 hosts. Problem reported by Derek Robert Price in
2743 <http://mail.gnu.org/archive/html/bug-gnulib/2003-10/msg00092.html>.
2744 This patch can be withdrawn after Autoconf 2.58 is required for gnulib.
2745 * getndelim2.m4 (gl_GETNDELIM2): Likewise.
2747 2003-10-20 Bruno Haible <bruno@clisp.org>
2749 * wait-process.m4: New file.
2751 2003-10-14 Bruno Haible <bruno@clisp.org>
2753 * sig_atomic_t: New file, from GNU gettext.
2754 * fatal-signal.m4 (gl_FATAL_SIGNAL): Require gt_TYPE_SIG_ATOMIC_T.
2756 2003-10-12 Paul Eggert <eggert@twinsun.com>
2758 * xalloc.m4 (gl_PREREQ_XMALLOC): Require AC_C_INLINE.
2760 2003-10-10 Simon Josefsson <jas@extundo.com>
2762 * argp.m4: Add AC_C_INLINE.
2764 2003-10-08 Paul Eggert <eggert@twinsun.com>
2766 * getpass.m4 (gl_PREREQ_GETPASS): Check for stdio_ext.h.
2768 2003-10-06 Bruno Haible <bruno@clisp.org>
2770 * fatal-signal.m4: New file.
2771 * signalblocking.m4: New file, from GNU gettext.
2773 2003-09-27 Paul Eggert <eggert@twinsun.com>
2775 * free.m4: New file.
2777 2003-09-26 Bruno Haible <bruno@clisp.org>
2779 * stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy().
2780 Don't define stpncpy through config.h; it's now done through stpncpy.h.
2782 2003-09-25 Simon Josefsson <jas@extundo.com>
2783 Bruno Haible <bruno@clisp.org>
2785 * getdomainname.m4: New file.
2787 2003-09-17 Paul Eggert <eggert@twinsun.com>
2789 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Call AC_BEFORE first,
2790 to avoid spurious warnings like "AC_RUN_IFELSE was called before
2791 gl_USE_SYSTEM_EXTENSIONS" from autoreconf.
2793 2003-09-12 Paul Eggert <eggert@twinsun.com>
2795 * error.m4: Require AC_FUNC_STRERROR_R rather than invoking it.
2797 * extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Require AC_AIX
2798 and AC_MINIX, too, so that their extensions are available.
2800 * prereq.m4 (jm_PREREQ_ADDEXT): Remove. All uses removed.
2801 This macro has been superseded by gl_BACKUPFILE.
2803 More patches to assume C89 or better.
2805 * error.m4 (gl_ERROR): Don't check for vprintf.
2807 * check-decl.m4 (jm_CHECK_DECLS): Include <string.h>, <stdlib.h>
2809 * closeout.m4 (gl_CLOSEOUT): Don't check for stdlib.h.
2810 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER):
2811 Include <string.h>, <stdlib.h> unconditionally.
2812 * lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free.
2813 * readdir.m4 (GL_FUNC_READDIR): Don't check for string.h.
2814 * readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers
2816 * strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h
2819 * mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers.
2820 * strdup.m4 (gl_PREREQ_STRDUP): Likewise.
2821 * userspec.m4 (gl_USERSPEC): Likewise.
2822 * xalloc.m4 (gl_PREREQ_XMALLOC): Likewise.
2823 * xstrtod.m4 (gl_XSTRTOD): Likewise.
2824 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
2825 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't check for limits.h,
2827 (jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
2828 * strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h.
2829 * strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol.
2830 * strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h.
2831 * userspec.m4 (gl_USERSPEC): Do not check for string.h.
2832 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol,
2835 2003-09-11 Paul Eggert <eggert@twinsun.com>
2837 More patches to assume C89 or better.
2838 * strndup.m4 (gl_PREREQ_STRNDUP): Remove STDC_HEADERS check.
2839 * strnlen.m4 (gl_PREREQ_STRNLEN): Don't check for memory.h,
2840 string.h, memchr, STDC_HEADERS.
2842 2003-09-10 Bruno Haible <bruno@clisp.org>
2844 * strcspn.m4 (gl_PREREQ_STRCSPN): Remove <string.h> check.
2845 * strpbrk.m4 (gl_PREREQ_STRPBRK): Remove <string.h> check.
2846 * strstr.m4 (gl_PREREQ_STRSTR): Remove <string.h> check.
2847 * unicodeio.m4 (gl_UNICODEIO): Remove <string.h> check.
2848 * setenv.m4 (gl_PREREQ_SETENV, gl_PREREQ_UNSETENV): Remove
2849 <stdlib.h> and <string.h> checks.
2850 * xreadlink.m4 (gl_XREADLINK): Remove <stdlib.h> check.
2851 * yesno.m4 (gl_YESNO): Remove <stdlib.h> check.
2853 2003-09-09 Paul Eggert <eggert@twinsun.com>
2855 More patches to assume C89 or better.
2856 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Don't check for stdlib.h.
2857 * getopt.m4 (gl_GETOPT): Don't check for string.h.
2858 * getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers
2860 * getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h.
2861 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C
2863 * hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h,
2865 * hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free.
2866 * human.m4 (gl_HUMAN): Do not check for stdlib.h, string.h, getenv.
2867 * idcache.m4 (gl_IDCACHE): Do not check for standard C headers,
2869 * long-options.m4 (gl_LONG_OPTIONS): Do not check for stdlib.h.
2870 * makepath.m4 (gl_MAKEPATH): Do not check for string.h or standard
2872 * md5.m4 (gl_MD5): Don't check for limits.h, standard C headers,
2874 * sha.m4 (gl_SHA): Don't check for standard Cheaders, memcpy.
2875 * memchr.m4 (jm_PREREQ_MEMCHR): Don't check for limits.h, stdlib.h.
2876 * memcmp.m4 (gl_PREREQ_MEMCMP): Don't check for string.h.
2877 * memcoll.m4 (gl_MEMCOLL): Likewise.
2878 * memrchr.c (gl_PREREQ_MEMRCHR): Don't check for limits.h.
2879 * mkdir-slash.m4 (gl_PREREQ_MKDIR): Don't check for stdlib.h,
2881 * mktime.m4 (gl_PREREQ_MKTIME): Don't check for standard C headers.
2882 * modechange.m4 (gl_MODECHANGE): Don't check for standard C headers.
2883 * mountlist.m4 (gl_PREREQ_MOUNTLIST_EXTRA): Don't check for standard
2884 C headers, or for string.h.
2885 * obstack.m4 (gl_OBSTACK): Don't check for stddefe.h, string.h.
2886 (gl_PREREQ_OBSTACK): Don't check for stdlib.h.
2887 * path-concat.m4 (gl_PATH_CONCAT): Don't check for standard C
2888 headers, memory.h, stdlib.h, string.h, strings.h.
2889 * posixtm.m4 (gl_POSIXTM): Don't check for stdlib.h, string.h.
2890 * posixver.m4 (gl_POSIXVER): Don't check for getenv.
2891 * putenv.m4 (gl_PREREQ_PUTENV): Don't check for string.h, memcpy,
2893 * readtokens.m4 (gl_READTOKENS): Don't check for standard C
2894 headers, memory.h, string.h.
2895 * regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h.
2896 * rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h,
2898 * rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers.
2899 * same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free.
2900 * save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers.
2901 * savedir.m4 (gl_SAVEDIR): Don't check for standard C headers.
2902 * strchrnul.m4 (gl_PREREQ_STRCHRNUL): Don't check for string.h.
2903 * xgetcwd.m4 (gl_XGETCWD): Don't check for stdlib.h.
2905 2003-09-09 Derek Robert Price <derek@ximbiot.com>
2907 * getndelim2.m4 (gl_PREREQ_GETNDELIM2): Assume stdlib.h per the
2910 2003-09-08 Paul Eggert <eggert@twinsun.com>
2912 Assume C89 or better; remove K&R cruft.
2913 * alloca.m4 (gl_PREREQ_ALLOCA): Don't check for stdlib.h, string.h.
2914 * backupfile.m4 (gl_BACKUPFILE): Don't check for stdlib.h,
2915 string.h, getenv, malloc.
2916 * dirname.m4 (gl_DIRNAME): Don't check for string.h or C standard
2918 * canon-host.m4 (gl_CANON_HOST): Don't check for string.h, stdlib.h.
2919 * error.m4 (jm_PREREQ_ERROR): Do not require STDC headers, and
2920 do not check for strerror.
2921 * exclude.m4: Do not check for stdlib.h, string.h, strings.h.
2922 * exitfail.m4 (gl_EXITFAIL): Do not check for stdlib.h.
2923 * fatal.m4 (gl_FATAL): Do not require STDC headers, and
2924 do not check for doprnt or vprintf.
2925 * fnmatch.m4 (gl_PREREQ_FNMATCH_EXTRA): Remove. All uses removed.
2926 * getdate.m4 (gl_GETDATE): Don't check for stdlib.h or string.h.
2928 2003-09-06 Paul Eggert <eggert@twinsun.com>
2930 * time_r.m4: New file.
2931 * mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h.
2932 * timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is.
2933 Check for timegm declaration.
2934 (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME.
2935 Do not check for gmtime_r.
2936 Replace mktime if __mktime_internal does not exist and if mktime
2937 hasn't been replaced already.
2939 2003-08-31 Simon Josefsson <jas@extundo.com>
2941 * timegm.m4: New file.
2943 2003-08-26 Bruno Haible <bruno@clisp.org>
2945 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Remove AC_DEFINE of fnmatch here.
2946 This avoids havoc on compilers for which '#define fnmatch rpl_fnmatch'
2947 followed by '#define fnmatch fnmatch_posix' gives an error.
2949 2003-08-27 Jim Meyering <jim@meyering.net>
2951 * mkstemp.m4: Require that the system mkstemp be able to create
2952 70 temporary files, not just 30. Tru64 V4.0F's mkstemp function
2953 would fail after 32. Reported by Danny Levinson. Details here:
2954 http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html
2956 2003-08-20 Karl Berry <karl@gnu.org>
2958 * lib-ld.m4: serial 1003 from gettext, no changes besides serial.
2960 2003-08-19 Jim Meyering <jim@meyering.net>
2962 * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
2963 http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html
2965 2003-08-19 Bruno Haible <bruno@clisp.org>
2967 * xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more.
2969 2003-08-18 Jim Meyering <jim@meyering.net>
2971 * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
2972 * lib-ld.m4: Likewise.
2974 2003-08-17 Simon Josefsson <jas@extundo.com>
2976 * argp.m4: New file.
2978 2003-08-17 Simon Josefsson <jas@extundo.com>
2980 * xstrndup.m4: New file.
2982 2003-08-16 Jim Meyering <jim@meyering.net>
2984 * utimes.m4 (gl_FUNC_UTIMES): New file.
2985 * utimes.m4: Removed.
2986 * utimes-null.m4: Renamed from utimes.m4.
2988 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
2989 to 1MB, so as not to render systems with no stack size limit (e.g.,
2990 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
2991 Include <unistd.h>. On some systems,
2992 it is required for the definition of _SC_PAGESIZE.
2994 2003-08-16 Paul Eggert <eggert@twinsun.com>
2996 Merges from coreutils, etc.
2997 * rpmatch.m4 (gl_PREREQ_RPMATCH): Insert ':' to prevent a syntax
2998 error in gl_FUNC_MATCH. This fixes a bug I introduced on 2003-05-28.
2999 * readlink.m4 (gl_PREREQ_READLINK): Renamed from gl_PREREQ_READLINE,
3001 * host-os.m4 (UTILS_HOST_OS): Add GNU/NetBSD, GNU/FreeBSD.
3002 * hash.m4 (gl_HASH): Use AM_STDBOOL_H, not AC_HEADER_STDBOOL.
3004 2003-08-16 Jim Meyering <jim@meyering.net>
3005 and Paul Eggert <eggert@cs.ucla.edu>
3007 Merges from coreutils, etc.
3009 * jm-macros.m4 (AC_LANG_SOURCE(C)): New macro, undefine, then define
3010 using the latest version from cvs. This avoids problems with #line
3011 directives using a vendor (Sun) compiler.
3012 (jm_MACROS): Bump prerequisite from 2.52g to 2.57.
3013 Don't set GETGROUPS_LIB here; now it's
3014 done via getgroups.m4's wrapper function.
3015 AC_SUBST OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, and MAN here,
3016 rather than just in sh-util/configure.in, so that the
3017 now-shared-by-fileutils-and-textutils lib/Makefile.am are all the
3019 Use AC_CONFIG_LIBOBJ_DIR(lib) to tell the new
3020 AC_FUNC_GETLOADAVG where to find getloadavg.c.
3021 Require AC_FUNC_FTW, gt_INTTYPES_PRI, gl_CLOCK_TIME,
3022 UTILS_SYS_OPEN_MAX, GL_FUNC_GETCWD_PATH_MAX, GL_FUNC_READDIR,
3023 gl_FSUSAGE, gl_MOUNTLIST, AC_FUNC_CANONICALIZE_FILE_NAME.
3024 Remove code that is now done by the newly-required macros.
3025 Append $(EXEEXT) to DF_PROG.
3026 AC_LIBOBJ fchdir-stub if fchdir doesn't exist; similarly for fchown.
3027 Do not invoke or require the following here,
3028 since prereq.m4 or some gnulib .m4 now does this for us:
3029 gl_REGEX, UTILS_FUNC_MKDIR_TRAILING_SLASH, jm_BISON, gl_FUNC_MKTIME,
3030 jm_FUNC_LSTAT, jm_FUNC_STAT, jm_FUNC_REALLOC, jm_FUNC_MALLOC,
3031 jm_FUNC_NANOSLEEP, jm_FUNC_READDIR, jm_FUNC_MEMCMP,
3032 jm_FUNC_GLIBC_UNLOCKED_IO, AC_FUNC_FNMATCH_GNU, jm_FUNC_PUTENV,
3033 jm_AC_PREREQ_XSTRTOUMAX, jm_AC_PREREQ_XSTRTOIMAX,
3034 AC_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, AC_FUNC_VPRINTF,
3035 vb_FUNC_RENAME, UTILS_FUNC_MKSTEP, jm_FUNC_UTIME, AM_FUNC_GETLINE,
3037 Do not replace the following functions, as this is now the job
3038 of some gnulib .m4: strcasecmp, strncasecmp, dup2, gethostname,
3039 getusershell, sig2str, strcspn, stpcpy, strstr, strtol, strtoul
3040 strpbrk, euidaccess, memcmp, rmdir, rpmatch, strndup, strverscmp,
3041 atexit getpass, strdup, getpagesize.
3043 Do not check for the following functions, as this is now the job
3044 of some gnulib .m4: bcopy, canonicalize_file_name, fchdir, ftime,
3045 getcwd, getmntinfo, resolvepath. But check for sysctl, setreuid,
3047 (jm_CHECK_ALL_HEADERS): Do not check for fenv.h.
3048 Check for sys/sysctl.h.
3049 (jm_CHECK_ALL_TYPES): Do not require AC_STRUCT_TM, AC_STRUCT_TIMEZONE,
3050 jm_CHECK_TYPE_STRUCT_TIMESPEC. Invoke gt_TYPE_SSIZE_T instead
3051 of checking for ssize_t ourselves.
3053 * prereq.m4 (jm_PREREQ): Don't invoke macros; AC_REQUIRE them.
3054 Require every macro that gnulib/modules/* suggests for us.
3055 (jm_PREREQ_ADDEXT): New macro.
3056 (jm_PREREQ_STAT): Check for 'struct statfs' on Ultrix 4.4.
3057 Require jm_AC_TYPE_LONG_LONG instead of invoking it.
3059 * physmem.m4 (gl_SYS__SYSTEM_CONFIGURATION): New macro.
3060 (gl_PHYSMEM): Use it.
3061 Also check for `table' function.
3062 Check for new headers and functions.
3063 Add check for sys/sysmp.h.
3064 With suggestions from Kaveh Ghazi.
3065 Ignore headers that are present but cannot be compiled. This
3066 avoids spurious warnings on Solaris 9 sparc with Forte Developer 7
3069 2003-08-16 Jim Meyering <jim@meyering.net>
3071 Merges from coreutils.
3072 * readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_)
3073 prefix. Adjust cache variables similarly. Create 500 rather than
3074 just 300 files, to exercise bug on Darwin6.5, too.
3075 * perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir.
3076 * jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS.
3077 Reported by mkc@mathdogs.com.
3078 Also change use of $am_cv_sys_posix_termios
3079 to $ac_cv_sys_posix_termios. Reported by Andreas Schwab.
3080 * getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS
3081 and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB.
3082 * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
3083 /proc/mounts until it finds one with matching device number. This is
3084 unnecessary when the FILE argument *is* a mount point. No stat call
3085 is necessary in that case. So, disable the statvfs-testing code on
3086 systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh
3087 as RedHat bug# 84846.
3088 * c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Limit stack size
3089 to 1MB, so as not to render systems with no stack size limit (e.g.,
3090 linux-2.2.x) unusable. Suggestion and code from Bruno Haible.
3091 Include <unistd.h>. On some systems,
3092 it is required for the definition of _SC_PAGESIZE.
3094 2003-08-15 Jim Meyering <jim@meyering.net>
3095 and Paul Eggert <eggert@cs.ucla.edu>
3097 Merges from coreutils, etc.
3098 * strftime.m4 (_jm_STRFTIME_PREREQS):
3099 Require gl_FUNC_TZSET_CLOBBER.
3100 * readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit,
3101 ut_exit.ut_termination, and ut_exit.e_termination members.
3103 2003-08-14 Paul Eggert <eggert@twinsun.com>
3105 Help the merge from coreutils.
3106 * gettimeofday.m4 (gl_GETTIMEOFDAY_REPLACE_LOCALTIME): New macro.
3107 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use it.
3108 * tzset.m4: Use it too.
3110 2003-08-14 Jim Meyering <jim@meyering.net>
3112 Merge from coreutils.
3113 * tzset.m4: New file.
3114 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT
3115 test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1
3116 systems would end up using the latter. MOUNTED_GETMNTENT1 support
3117 is inadequate on such systems: 1) detecting whether a file system
3118 is remote doesn't work 2) the MOUNTED_VMOUNT code reports the
3119 HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports
3120 merely /MOUNT_POINT. Reported by Mike Jetzer.
3122 2003-08-13 Paul Eggert <eggert@twinsun.com>
3124 * exclude.m4 (gl_EXCLUDE): Require AC_C_INLINE, AC_HEADER_STDC.
3127 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
3128 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
3129 Undo previous (whitespace-only) change.
3131 2003-08-12 Paul Eggert <eggert@twinsun.com>
3133 * gettext.m4, iconv.m4, intdiv0.m4, inttypes-pri.m4, lib-link.m4,
3134 lib-prefix.m4, longdouble.m4, po.m4, progtest.m4, signed.m4:
3135 Normalize leading white space and remove trailing white space.
3137 Merge from coreutils
3138 * euidaccess.m4 (gl_FUNC_EUIDACCESS): Check for euidaccess decl.
3140 * lib-ld.m4, lib-link.m4, lib-prefix.m4: Regenerate from gettext
3141 0.12.1. These files are now being upgraded automatically by
3142 ../config/srclist-update.
3144 2003-08-11 Bruno Haible <bruno@clisp.org>
3146 * vasnprintf.m4 (gl_PREREQ_VASNPRINTF): Also check for wcslen.
3148 2003-08-09 Paul Eggert <eggert@twinsun.com>
3150 * regex.m4 (jm_INCLUDED_REGEX): Change "\201" to "\371";
3151 apparently Emacs's Unicode mode got confused before my 2003-08-05
3154 2003-08-08 Paul Eggert <eggert@twinsun.com>
3156 * extensions.m4: New file.
3157 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC):
3158 Require gl_USE_SYSTEM_EXTENSIONS.
3159 * unlocked-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO):
3160 Require gl_USE_SYSTEM_EXTENSIONS rather than AC_GNU_SOURCE.
3162 2003-08-07 Paul Eggert <eggert@twinsun.com>
3164 * restrict.m4: New file.
3165 * regex.m4 (jm_PREREQ_REGEX): Add gl_C_RESTRICT.
3167 2003-08-07 Bruno Haible <bruno@clisp.org>
3169 * getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes
3170 the module 'getndelim2' compatible with the module 'getline'.
3172 2003-08-05 Paul Eggert <eggert@twinsun.com>
3174 * regex.m4 (jm_INCLUDED_REGEX): Replace a single non-ASCII
3175 byte with "\201" to avoid glitches when editing that source file
3176 with multi-gnome-terminal.
3178 2003-07-31 Bruno Haible <bruno@clisp.org>
3180 * getpass.m4 (gl_FUNC_GETPASS_GNU): New macro.
3182 2003-07-18 Bruno Haible <bruno@clisp.org>
3184 * getndelim2.m4: New file.
3185 * getline.m4 (AM_FUNC_GETLINE): Add AC_LIBOBJ of getndelim2.c and
3186 invoke gl_PREREQ_GETNDELIM2.
3187 (gl_PREREQ_GETLINE): Drop AC_HEADER_STDC, now done by
3188 gl_PREREQ_GETNDELIM2.
3189 * getnline.m4 (gl_GETNLINE): Drop AC_HEADER_STDC, now done by
3192 2003-07-17 Bruno Haible <bruno@clisp.org>
3194 * Makefile.am.in: Remove file.
3195 * Makefile.am: Remove file.
3196 * Makefile.in: Remove file.
3198 2003-07-17 Bruno Haible <bruno@clisp.org>
3200 * getnline.m4: New file.
3202 2003-07-14 Simon Josefsson <jas@extundo.com>
3204 * mempcpy.m4: New file.
3206 2003-07-10 Jim Meyering <jim@meyering.net>
3208 * clock_time.m4: Remove trailing blank.
3209 * intmax_t.m4: Likewise.
3211 2003-07-01 Paul Eggert <eggert@twinsun.com>
3213 * xreadlink.m4 (gl_XREADLINK): Don't check for sys/types.h, since
3214 xreadlink.c now includes it unconditionally.
3216 2003-07-01 Bruno Haible <bruno@clisp.org>
3218 * ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h>
3219 should be sufficient.
3220 Reported by Paul Eggert.
3222 2003-06-25 Bruno Haible <bruno@clisp.org>
3224 * readlink.m4: New file.
3226 2003-06-22 Bruno Haible <bruno@clisp.org>
3228 Portability to mingw32.
3229 * ssize_t.m4: New file, from GNU gettext.
3230 * safe-read.m4 (gl_PREREQ_SAFE_READ): Require gt_TYPE_SSIZE_T.
3231 * xreadlink.m4 (gl_XREADLINK): Require gt_TYPE_SSIZE_T.
3233 2003-06-11 Bruno Haible <bruno@clisp.org>
3235 * sysexits.m4: New file.
3237 2003-06-10 Simon Josefsson <jas@extundo.com>
3239 * strchrnul.m4: New file.
3241 2003-06-07 Bruno Haible <bruno@clisp.org>
3243 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH, gl_FUNC_FNMATCH_POSIX,
3244 gl_FUNC_FNMATCH_GNU): Set FNMATCH_H instead of invoking
3245 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
3247 * poll.m4 (gl_FUNC_POLL): Set POLL_H instead of invoking
3248 AC_CONFIG_LINKS. Needed to allow for a different name of the lib
3251 2003-06-04 Paul Eggert <eggert@twinsun.com>
3253 * human.m4 (gl_HUMAN): Require AM_STDBOOL_H. Check for
3254 locale.h, localeconv. This merges changes from coreutils.
3256 * mktime.m4 (AC_FUNC_MKTIME): New macro, taken from Autoconf CVS.
3257 It can be removed after the next Autoconf is released.
3258 * exclude.m4 (gl_EXCLUDE): Don't check for sys/types.h; no loner
3261 2003-05-30 Bruno Haible <bruno@clisp.org>
3263 * gettext.m4: Upgrade to gettext-0.12.1.
3264 * nls.m4: New file, from gettext-0.12.1.
3265 * po.m4: New file, from gettext-0.12.1.
3266 * progtest.m4: Upgrade to gettext-0.12.1.
3268 2003-05-28 Paul Eggert <eggert@twinsun.com>
3270 Assume the headers required for C89 freestanding compilers.
3271 * backupfile.m4 (gl_BACKUPFILE): Don't check for limits.h.
3272 * fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Likewise.
3273 * human.m4 (gl_HUMAN): Likewise.
3274 * pathmax.m4 (gl_PATHMAX): Likewise.
3275 * rpmatch.m4 (gl_FUNC_RPMATCH): Likewise.
3276 * userspec.m4 (gl_USERSPEC): Likewise.
3277 * xreadlink.m4 (gl_XREADLINK): Likewise.
3278 * xstrtol.m4 (gl_PREREQ_XSTRTOL): Likewise.
3279 * quote.m4 (gl_QUOTE): Don't check for stddef.h.
3281 2003-05-26 Jim Meyering <jim@meyering.net>
3283 Merge in a change from coreutils:
3284 * dirfd.m4 (UTILS_FUNC_DIRFD): Test the cache variable, not one
3285 that is guaranteed to be `no'. Use `no_such_member' to indicate
3286 that condition, rather than `-1' which is slightly misleading.
3287 Change the name of the cache variable to have the gl_ prefix.
3288 Prompted by a patch from Richard Dawe for DJGPP.
3290 2003-05-17 Bruno Haible <bruno@clisp.org>
3292 * dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid
3293 expansion for AC_EGREP_CPP.
3294 * strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise.
3295 * strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise.
3296 Suggested by Akim Demaille <akim@epita.fr> in
3297 http://mail.gnu.org/archive/html/bug-autoconf/2003-05/threads.html
3299 2003-04-21 Paul Eggert <eggert@twinsun.com>
3301 * error.m4 (gl_ERROR): Do not put under dynamic conditions some
3302 code which expansion is under static control. Patch imported from
3303 Akim Demaille's patch to Bison; see
3304 <http://mail.gnu.org/archive/html/bison-patches/2003-03/msg00057.html>.
3306 2003-04-14 Bruno Haible <bruno@clisp.org>
3308 * error.m4 (jm_PREREQ_ERROR): Use AC_FUNC_VPRINTF.
3310 2003-04-10 Bruno Haible <bruno@clisp.org>
3312 * findprog.m4: New file.
3313 * eaccess.m4: New file.
3315 2003-04-04 Bruno Haible <bruno@clisp.org>
3317 * linebreak.m4: New file.
3319 2003-04-03 Bruno Haible <bruno@clisp.org>
3321 * utf-ucs4.m4: New file.
3322 * ucs4-utf.m4: New file.
3324 2003-03-30 Bruno Haible <bruno@clisp.org>
3326 * copy-file.m4 (gl_COPY_FILE): Add check for chown().
3328 2003-03-28 Bruno Haible <bruno@clisp.org>
3330 * copy-file.m4: New file.
3332 2003-03-18 Bruno Haible <bruno@clisp.org>
3334 * onceonly.m4: Use m4_defn instead of defn, for better error checking.
3335 * onceonly_2_57.m4: Likewise.
3337 2003-03-17 Bruno Haible <bruno@clisp.org>
3339 * onceonly.m4: Require autoconf 2.54 or newer.
3340 (m4_quote): Remove macro.
3341 * onceonly_2_57.m4: Require autoconf 2.54 or newer.
3343 2003-03-14 Bruno Haible <bruno@clisp.org>
3345 * onceonly_2_57.m4 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE,
3346 AC_CHECK_DECLS_ONCE): Quote AC_FOREACH variable-expansions properly.
3348 2003-03-13 Paul Eggert <eggert@twinsun.com>
3350 * onceonly.m4 (m4_quote): New macro.
3351 (AC_CHECK_HEADERS_ONCE, AC_CHECK_FUNCS_ONCE, AC_CHECK_DECLS_ONCE):
3352 Quote AC_FOREACH variable-expansions properly.
3354 2003-02-19 Paolo Bonzini <bonzini@gnu.org>
3356 * poll.m4: New file.
3358 2003-02-18 Paolo Bonzini <bonzini@gnu.org>
3360 * mathl.m4: New file.
3362 2003-02-17 Bruno Haible <bruno@clisp.org>
3364 * mkdtemp.m4: New file, from GNU gettext with modifications.
3366 2003-02-02 Jim Meyering <jim@meyering.net>
3368 * regex.m4 (jm_INCLUDED_REGEX): Detect broken re_search in
3371 2003-01-31 Bruno Haible <bruno@clisp.org>
3373 * rename.m4 (vb_FUNC_RENAME): Add a redirection from 'rename' to
3375 * strnlen.m4 (gl_FUNC_STRNLEN): Add a redirection from 'strnlen' to
3377 * strtod.m4 (gl_FUNC_STRTOD): Add a redirection from 'strtod' to
3379 * utime.m4 (jm_FUNC_UTIME): Add a redirection from 'utime' to
3382 2003-01-30 Bruno Haible <bruno@clisp.org>
3384 * signed.m4: New file, from GNU gettext.
3385 * longdouble.m4: New file, from GNU gettext.
3386 * wchar_t.m4: New file, from GNU gettext.
3387 * wint_t.m4: New file, from GNU gettext.
3388 * vasnprintf.m4: New file.
3389 * vasprintf.m4: New file.
3391 2003-01-29 Bruno Haible <bruno@clisp.org>
3393 * stpncpy.m4: New file.
3395 2003-01-23 Jim Meyering <jim@meyering.net>
3397 * dirfd.m4 (UTILS_FUNC_DIRFD): Correct typo: s/-1/no/ that kept this
3398 from working on systems without dirfd (at least Irix and OSF1/Tru64).
3400 2003-01-16 Jim Meyering <jim@meyering.net>
3402 * regex.m4: The `regex' struct is both input and output.
3403 Initialize it before each use. Patch by Tim Waugh.
3405 2003-01-11 Bruno Haible <bruno@clisp.org>
3407 * longlong.m4 (jm_AC_TYPE_LONG_LONG): Also test the LL suffix.
3408 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL
3411 2003-01-11 Bruno Haible <bruno@clisp.org>
3413 * md5.m4 (gl_MD5): Require AC_C_INLINE.
3415 2003-01-11 Bruno Haible <bruno@clisp.org>
3417 * alloca.m4 (gl_FUNC_ALLOCA): Invoke AC_EGREP_CPP prerequisites.
3419 2003-01-12 Paul Eggert <eggert@twinsun.com>
3421 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
3422 to avoid collisions with libcurses and libreadline.
3424 * getstr.m4: Remove.
3425 * getline.m4 (gl_PREREQ_GETLINE): Require AC_HEADER_STDC.
3427 2003-01-10 Bruno Haible <bruno@clisp.org>
3429 * alloca.m4 (gl_FUNC_ALLOCA): Also define ALLOCA_H.
3431 2003-01-09 Bruno Haible <bruno@clisp.org>
3433 * stdbool.m4 (AM_STDBOOL_H): New macro.
3435 2002-12-31 Paul Eggert <eggert@twinsun.com>
3437 * memcoll.m4 (gl_MEMCOLL): Require AC_FUNC_MEMCMP.
3439 2002-12-24 Bruno Haible <bruno@clisp.org>
3441 General infrasructure.
3442 * README: Rewritten.
3443 * onceonly.m4: New file.
3444 * onceonly_2_57.m4: New file.
3447 * atexit.m4: New file.
3450 * strtod.m4: New file.
3453 * strtol.m4: New file.
3456 * strtoul.m4: New file.
3459 * memchr.m4: New file.
3462 * memcmp.m4 (gl_PREREQ_MEMCMP): New macro.
3463 (jm_FUNC_MEMCMP): Invoke it.
3466 * memcpy.m4: New file.
3469 * memmove.m4: New file.
3472 * memset.m4: New file.
3475 * strcspn.m4: New file.
3478 * strpbrk.m4: New file.
3481 * strstr.m4: New file.
3484 * strerror.m4: New file.
3487 * mktime.m4: Renamed from jm-mktime.m4.
3488 (gl_PREREQ_MKTIME): New macro.
3489 (gl_FUNC_MKTIME): Renamed from jm_FUNC_MKTIME. Invoke gl_PREREQ_MKTIME.
3492 * malloc.m4 (gl_PREREQ_MALLOC): New macro.
3493 (jm_FUNC_MALLOC): Use AC_FUNC_MALLOC. Invoke gl_PREREQ_MALLOC.
3494 Don't define HAVE_DONE_WORKING_MALLOC_CHECK, since nothing uses it.
3497 * realloc.m4 (gl_PREREQ_REALLOC): New macro.
3498 (jm_FUNC_REALLOC): Use AC_FUNC_REALLOC. Invoke gl_PREREQ_REALLOC.
3499 Don't define HAVE_DONE_WORKING_REALLOC_CHECK, since nothing uses it.
3502 * tm_gmtoff.m4: New file, extracted from strftime.m4.
3503 * strftime.m4 (_jm_STRFTIME_PREREQS): Use AC_FUNC_STRFTIME.
3504 Don't test for bcopy (we are not emacs). Invoke AC_TYPE_MBSTATE_T and
3506 (_jm_STRFTIME_PREREQS, jm_FUNC_GNU_STRFTIME): Use onceonly macros.
3509 * xalloc.m4: New file.
3512 * alloca.m4: New file.
3515 * putenv.m4 (gl_PREREQ_PUTENV): New macro.
3516 (jm_FUNC_PUTENV): Invoke it.
3519 * setenv.m4 (gt_FUNC_SETENV): New macro.
3520 (gt_CHECK_VAR_DECL): Fix quoting error that led to infinite loop in m4
3522 (gt_PREREQ_SETENV, gt_PREREQ_UNSETENV): New macros, replacing old
3526 * memrchr.m4: New file.
3529 * stpcpy.m4: New file.
3532 * strcase.m4: New file.
3535 * strdup.m4: New file.
3538 * strnlen.m4: New file.
3541 * strndup.m4: New file.
3544 * xstrtod.m4: New file.
3547 * xstrtol.m4: New file.
3550 * getdate.m4: New file.
3553 * unlocked-io.m4: Renamed from jm-glibc-io.m4.
3554 (jm_FUNC_GLIBC_UNLOCKED_IO): Invoke AC_GNU_SOURCE. Use onceonly macros.
3555 * jm-glibc-io.m4n: Remove file.
3557 Module long-options.
3558 * long-options.m4: New file.
3567 * getstr.m4: New file.
3570 * getline.m4 (gl_PREREQ_GETLINE): New macro.
3571 (AM_FUNC_GETLINE): Invoke AC_GNU_SOURCE. Use <stdlib.h>, not
3572 <sys/types.h>, for size_t. Use the function name gnu_getline, not
3573 simply getline. Infoke gl_PREREQ_GETLINE.
3576 * obstack.m4: New file.
3579 * hash.m4: New file.
3582 * readtokens.m4: New file.
3585 * strverscmp.m4: New file.
3588 * stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1.
3591 * strtoll.m4: New file.
3594 * strtoull.m4: New file.
3597 * strtoimax.m4: New file.
3600 * strtoumax.m4: New file.
3603 * xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX.
3604 Moved the strtol prerequisites to strtol.m4.
3605 Moved the strtoll prerequisites to strtoll.m4.
3606 Moved the strtoimax prerequisites to strtoimax.m4.
3609 * xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX.
3610 Moved the strtoul prerequisites to strtoul.m4.
3611 Moved the strtoull prerequisites to strtoull.m4.
3612 Moved the strtoumax prerequisites to strtoumax.m4.
3615 * chown.m4 (gl_PREREQ_CHOWN): New macro.
3616 (jm_FUNC_CHOWN): Use AC_FUNC_CHOWN. Invoke gl_PREREQ_CHOWN.
3619 * dup2.m4: New file.
3622 * ftruncate.m4 (gl_PREREQ_FTRUNCATE): New macro.
3623 (jm_FUNC_FTRUNCATE): Use AC_REPLACE_FUNCS. Invoke gl_PREREQ_FTRUNCATE.
3626 * getgroups.m4 (gl_PREREQ_GETGROUPS): New macro.
3627 (jm_FUNC_GETGROUPS): Use AC_FUNC_GETGROUPS. Invoke gl_PREREQ_GETGROUPS.
3629 Module gettimeofday.
3630 * gettimeofday.m4 (gl_PREREQ_GETTIMEOFDAY): New macro.
3631 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Use onceonly macros. Invoke
3632 gl_PREREQ_GETTIMEOFDAY.
3635 * mkdir-slash.m4 (gl_PREREQ_MKDIR): New macro.
3636 (UTILS_FUNC_MKDIR_TRAILING_SLASH): Invoke gl_PREREQ_MKDIR.
3639 * mkstemp.m4 (gl_PREREQ_MKSTEMP): New macro.
3640 (jm_PREREQ_TEMPNAME): New macro, from prereq.m4. Also invoke
3641 jm_AC_TYPE_UINTMAX_T.
3642 (UTILS_FUNC_MKSTEMP): Invoke gl_PREREQ_MKSTEMP and jm_PREREQ_TEMPNAME.
3645 * stat.m4 (gl_PREREQ_STAT): New macro.
3646 (jm_FUNC_STAT): Use AC_FUNC_STAT. Invoke gl_PREREQ_STAT.
3649 * lstat.m4 (gl_PREREQ_LSTAT): New macro.
3650 (jm_FUNC_LSTAT): Use AC_FUNC_LSTAT. Invoke gl_PREREQ_LSTAT.
3653 * timespec.m4 (gl_TIMESPEC): New macro.
3654 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Add check for <sys/time.h>.
3655 * st_mtim.m4: Indentation.
3658 * nanosleep.m4 (gl_PREREQ_NANOSLEEP): New macro.
3659 (jm_FUNC_NANOSLEEP): Add check for <sys/time.h>. Invoke
3660 gl_PREREQ_NANOSLEEP.
3663 * regex.m4 (jm_PREREQ_REGEX): New macro.
3664 (jm_INCLUDED_REGEX): Invoke jm_PREREQ_REGEX.
3665 (gl_REGEX): New macro.
3668 * rename.m4 (gl_PREREQ_RENAME): New macro.
3669 (vb_FUNC_RENAME): Invoke gl_PREREQ_RENAME.
3672 * rmdir.m4: New file.
3675 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Use onceonly macros.
3676 * utime.m4 (gl_PREREQ_UTIME): New macro.
3677 (jm_FUNC_UTIME): Invoke gl_PREREQ_UTIME.
3680 * dirname.m4: New file.
3683 * getopt.m4: New file.
3685 Module unistd-safer.
3686 * unistd-safer.m4: New file.
3689 * fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Include <stdlib.h>, for exit()
3691 (gl_PREREQ_FNMATCH_EXTRA): New macro.
3692 (gl_FUNC_FNMATCH_POSIX): New macro.
3693 (gl_FUNC_FNMATCH_GNU): Renamed from AC_FUNC_FNMATCH_GNU. Invoke
3694 gl_PREREQ_FNMATCH_EXTRA. Use the function name gnu_fnmatch, not
3698 * exclude.m4: New file.
3701 * human.m4: New file.
3707 * backupfile.m4: New file.
3708 * d-ino.m4: Indentation.
3711 * fsusage.m4 (gl_FSUSAGE): New macro.
3712 (jm_STATFS_TRUNCATES): New macro, from coreutils-4.5.4/configure.ac.
3713 (gl_PREREQ_FSUSAGE_EXTRA): New macro.
3716 * dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements.
3719 * euidaccess.m4: New file.
3722 * file-type.m4: New file.
3725 * fileblocks.m4: New file.
3728 * filemode.m4: New file.
3731 * isdir.m4: New file.
3734 * lchown.m4 (gl_PREREQ_LCHOWN): New macro.
3735 (jm_FUNC_LCHOWN): Invoke gl_PREREQ_LCHOWN.
3738 * makepath.m4: New file.
3741 * modechange.m4: New file.
3744 * mountlist.m4: New file.
3745 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Use onceonly macros.
3749 * path-concat.m4: New file.
3752 * pathmax.m4: New file.
3755 * same.m4: New file.
3758 * save-cwd.m4: New file.
3761 * savedir.m4: New file.
3764 * xgetcwd.m4: New file.
3765 * getcwd.m4 (AC_FUNC_GETCWD_NULL): Use onceonly macros.
3768 * xreadlink.m4: New file.
3771 * safe-read.m4: New file.
3774 * safe-write.m4: New file.
3777 * closeout.m4: New file.
3780 * stdio-safer.m4: New file.
3783 * getpass.m4: New file.
3786 * getugroups.m4: New file.
3788 Module group-member.
3789 * group-member.m4 (gl_PREREQ_GROUP_MEMBER): New macro.
3790 (jm_FUNC_GROUP_MEMBER): Invoke AC_GNU_SOURCE, gl_PREREQ_GROUP_MEMBER.
3793 * idcache.m4: New file.
3796 * userspec.m4: New file.
3799 * clock_time.m4: New file.
3800 * gettime.m4: New file.
3803 * settime.m4: New file.
3806 * posixtm.m4: New file.
3809 * gethostname.m4: New file.
3812 * canon-host.m4: New file.
3815 * codeset.m4: New file, from gettext-0.11.5.
3816 * gettext.m4: New file, from gettext-0.11.5.
3817 * glibc21.m4: New file, from gettext-0.11.5.
3818 * iconv.m4: New file, from gettext-0.11.5.
3819 * intdiv0.m4: New file, from gettext-0.11.5.
3820 * inttypes-pri.m4: New file, from gettext-0.11.5.
3821 * inttypes.m4: New file, from gettext-0.11.5.
3822 * inttypes_h.m4: New file, from gettext-0.11.5 with modifications.
3823 * isc-posix.m4: New file, from gettext-0.11.5.
3824 * lcmessage.m4: New file, from gettext-0.11.5.
3825 * lib-ld.m4: New file, from gettext-0.11.5.
3826 * lib-link.m4: New file, from gettext-0.11.5.
3827 * lib-prefix.m4: New file, from gettext-0.11.5.
3828 * progtest.m4: New file, from gettext-0.11.5.
3829 * stdint_h.m4: New file, from gettext-0.11.5 with modifications.
3830 * uintmax_t.m4: New file, from gettext-0.11.5 with modifications.
3831 * ulonglong.m4: New file, from gettext-0.11.5 with modifications.
3833 Module localcharset.
3834 * localcharset.m4: New file.
3837 * hard-locale.m4: New file.
3840 * mbswidth.m4 (gl_MBSWIDTH): Renamed from jm_PREREQ_MBSWIDTH. Use
3842 * mbrtowc.m4: Add comment.
3845 * memcasecmp.m4: New file.
3848 * memcoll.m4: New file.
3851 * unicodeio.m4: New file.
3854 * rpmatch.m4: New file.
3857 * yesno.m4: New file.
3860 * exitfail.m4: New file.
3863 * c-stack.m4 (gl_C_STACK): New macro.
3864 (jm_PREREQ_C_STACK): Check for <sys/time.h>. Use onceonly macros.
3867 * error.m4 (gl_ERROR): New macro.
3868 (jm_PREREQ_ERROR): Use onceonly macros.
3871 * fatal.m4: New file.
3874 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Use onceonly macros.
3875 (gl_FUNC_GETLOADAVG, gl_PREREQ_GETLOADAVG): New macros.
3878 * getpagesize.m4: New file.
3880 Module getusershell.
3881 * getusershell.m4: New file.
3884 * physmem.m4: New file.
3887 * posixver.m4: New file.
3890 * quotearg.m4: New file.
3893 * quote.m4: New file.
3896 * readutmp.m4: New file, based on jm_PREREQ_READUTMP from prereq.m4.
3899 * sig2str.m4: New file.
3902 * longlong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Remove, moved to
3904 * intmax_t.m4: New file.
3905 * d-type.m4: Indentation.
3906 * jm-macros.m4: Update.
3907 * prereq.m4 (jm_PREREQ): Update.
3908 (jm_PREREQ_ADDEXT): Remove, obsoleted by backupfile.m4.
3909 (jm_PREREQ_CANON_HOST): Remove, obsoleted by canon-host.m4.
3910 (jm_PREREQ_DIRNAME): Remove, obsoleted by dirname.m4.
3911 (jm_PREREQ_EXCLUDE): Remove, obsoleted by exclude.m4.
3912 (jm_PREREQ_GETPAGESIZE): Remove, obsoleted by getpagesize.m4.
3913 (jm_PREREQ_HARD_LOCALE): Remove, obsoleted by hard-locale.m4.
3914 (jm_PREREQ_HASH): Remove, obsoleted by hash.m4.
3915 (jm_PREREQ_HUMAN): Remove, obsoleted by human.m4.
3916 (jm_PREREQ_MEMCHR): Remove, obsoleted by memchr.m4.
3917 (jm_PREREQ_PHYSMEM): Remove, obsoleted by physmem.m4.
3918 (jm_PREREQ_POSIXVER): Remove, obsoleted by posixver.m4.
3919 (jm_PREREQ_QUOTEARG): Remove, obsoleted by quotearg.m4.
3920 (jm_PREREQ_READUTMP): Remove, obsoleted by readutmp.m4.
3921 (jm_PREREQ_REGEX): Remove, obsoleted by regex.m4.
3922 (jm_PREREQ_STRNLEN): Remove, obsoleted by strnlen.m4.
3923 (jm_PREREQ_TEMPNAME): Remove, obsoleted by mkstemp.m4.
3924 (jm_PREREQ_XGETCWD): Remove, obsoleted by xgetcwd.m4.
3925 (jm_PREREQ_XREADLINK): Remove, obsoleted by xreadlink.m4.
3926 * readdir.m4 (jm_FUNC_READDIR): Use onceonly macros.
3928 2002-12-18 Bruno Haible <bruno@clisp.org>
3930 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
3931 * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
3933 2002-12-17 Bruno Haible <bruno@clisp.org>
3935 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
3938 2002-12-11 Bruno Haible <bruno@clisp.org>
3940 * setenv.m4: New file, from gettext-0.11.5.
3942 2002-12-06 Paul Eggert <eggert@twinsun.com>
3944 Undo the 2001-07-02 change for jm-glibc-io, as it was too much of
3945 a pain in practice to deal with generated m4 files. This change
3946 goes together with the 2002-12-04 unlocked-io.h change in ../lib.
3948 * Makefile.am.in (Makefile.am): Don't mention jm-glibc-io.m4n
3949 and jm-glibc-io.m4, as they are no longer a special case.
3950 * jm-glibc-io.m4: Rename from jm-glibc-io.m4n, and remove the
3951 kludge and the auto-generation stuff. Check only whether the
3952 functions are declared, not whether they exist, since older hosts
3953 that don't declare the functions can't use the optimization anyway.
3955 2002-07-06 Jim Meyering <meyering@lucent.com>
3957 * README: Don't mention Makefile.am.in.
3958 Outline how I've tested changes to .m4 files. Yep, it's a pain.
3960 2002-06-11 Paul Eggert <eggert@twinsun.com>
3962 * fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for btowc.
3964 2002-06-22 Jim Meyering <meyering@lucent.com>
3966 * c-stack.m4: New file, from diffutils-2.8.2.
3967 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_C_STACK.
3969 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Don't require AC__GNU_SOURCE,
3970 now that configure.ac uses AC_GNU_SOURCE.
3971 (jm_MACROS): Rename: jm_FUNC_FNMATCH to AC_FUNC_FNMATCH_GNU.
3972 * prereq.m4 (jm_PREREQ_EXCLUDE): Likewise, wrt jm_FUNC_FNMATCH.
3974 Update to latest tools. Suggestions from Paul Eggert.
3975 * stdbool.m4: New file, from diffutils-2.8.2.
3976 * gnu-source.m4: Update from diffutils-2.8.2.
3977 * fnmatch.m4: Likewise.
3978 * prereq.m4: Change each use of AC_CHECK_HEADERS(stdbool.h)
3979 to AC_HEADER_STDBOOL
3981 2002-06-21 Jim Meyering <meyering@lucent.com>
3983 * c-bs-a.m4: Add comment, from diffutils-2.8.2.
3984 * mbrtowc.m4: Likewise.
3986 * mbstate_t.m4: Update from diffutils-2.8.2.
3987 * mbswidth.m4: Reflect name change:
3988 s/AC_MBSTATE_T/AC_TYPE_MBSTATE_T.
3989 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
3991 * lib-link.m4: Update from gettext-0.11.2.
3992 * gettext.m4: Likewise.
3994 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for hurd.h.
3995 From Alfred M. Szmidt.
3997 2002-05-19 Paul Eggert <eggert@twinsun.com>
3999 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Check for st_author.
4001 2002-06-07 Jim Meyering <meyering@lucent.com>
4003 * prereq.m4 (jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
4004 They're needed at least for NetBSD 1.5.2.
4005 ($statxfs_includes): Include those same headers.
4006 ($statxfs_includes): Include sys/vfs.h if available.
4007 ($statxfs_includes): Likewise for sys/statvfs.h.
4008 Check for the following members in both structs statfs and statvfs:
4009 f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
4011 2002-06-01 Jim Meyering <meyering@lucent.com>
4013 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename macro:
4014 s/D_TYPE_IN_DIRENT/HAVE_STRUCT_DIRENT_D_TYPE/.
4016 2002-05-28 Jim Meyering <meyering@lucent.com>
4018 * readdir.m4 (jm_FUNC_READDIR): Undefine `mkdir', not `rmdir'.
4019 Reported by Volker Borchert.
4021 2002-05-27 Jim Meyering <meyering@lucent.com>
4023 * gettimeofday.m4 (AC_FUNC_GETTIMEOFDAY_CLOBBER): Also replace
4026 * readdir.m4 (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to
4027 use the replacement function; it wouldn't resolve at link time.
4028 Reported by Volker Borchert.
4030 2002-04-30 Jim Meyering <meyering@lucent.com>
4032 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_STAT.
4034 2002-04-29 Paul Eggert <eggert@twinsun.com>
4036 * prereq.m4 (jm_PREREQ_HARD_LOCALE): Check for stdlib.h.
4037 Do not check for alloca.h (no longer used) or stdbool.h (was never
4038 used?). Add AM_C_PROTOTYPES since hard-locale.h uses it.
4040 2002-04-28 Paul Eggert <eggert@twinsun.com>
4042 * prereq.m4 (jm_PREREQ_SIG2STR): Remove; all callers changed.
4044 2002-04-29 Jim Meyering <meyering@lucent.com>
4046 * jm-macros.m4 (jm_MACROS): Remove use of AC_FUNC_STRNLEN.
4047 * prereq.m4: Add jm_PREREQ_STRNLEN.
4048 Use AC_FUNC_STRNLEN here instead.
4050 * jm-macros.m4: Don't AC_REQUIRE([AC_PROG_CC_STDC]).
4051 With autoconf-2.53a, it's part of AC_PROG_CC.
4053 2002-04-28 Paul Eggert <eggert@twinsun.com>
4055 * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(sig2str).
4056 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_SIG2STR.
4058 2002-04-24 Jim Meyering <meyering@lucent.com>
4060 * prereq.m4 (jm_PREREQ_HARD_LOCALE): New macro.
4061 (jm_PREREQ): Use it.
4063 * getloadavg.m4: Check for these headers: locale.h unistd.h
4064 mach/mach.h fcntl.h.
4065 Check for this function: setlocale.
4067 2002-04-16 Jim Meyering <meyering@lucent.com>
4069 * prereq.m4 (jm_PREREQ_READUTMP): Also check for these members:
4070 ut_pid, ut_id, ut_exit.
4072 2002-04-12 Jim Meyering <meyering@lucent.com>
4074 * ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus
4075 check for f_type in sys/mount.h. Instead, just test for the existence
4076 of the getmntinfo function. Needed for Darwin 5.3.
4078 * dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro.
4079 This is necessary at least on Darwin 5.3.
4081 * jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use
4082 AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o
4083 in the library, and that makes some versions of ranlib object.
4085 2002-04-09 Jim Meyering <meyering@lucent.com>
4087 * malloc.m4: (jm_FUNC_MALLOC): Change the `checking ...' message
4088 to be more precise. Rather than saying we're checking whether the
4089 function `works', say what we're testing.
4090 * realloc.m4 (jm_FUNC_REALLOC): Likewise.
4091 Reported by Bruno Haible.
4093 2002-02-27 Paul Eggert <eggert@twinsun.com>
4095 * jm-macros.m4 (jm_MACROS): Do not replace stime; no longer used.
4096 Check for clock_settime.
4098 2002-02-25 Paul Eggert <eggert@twinsun.com>
4101 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_ACL.
4102 Do not check for acl or sys/acl.h, as AC_FUNC_ACL does that now.
4104 2002-02-16 gettextize <bug-gnu-gettext@gnu.org>
4106 * codeset.m4: Upgrade to gettext-0.11.
4107 * gettext.m4: Upgrade to gettext-0.11.
4108 * glibc21.m4: Upgrade to gettext-0.11.
4109 * iconv.m4: Upgrade to gettext-0.11.
4110 * isc-posix.m4: Upgrade to gettext-0.11.
4111 * lcmessage.m4: Upgrade to gettext-0.11.
4112 * lib-ld.m4: New file, from gettext-0.11.
4113 * lib-link.m4: New file, from gettext-0.11.
4114 * lib-prefix.m4: New file, from gettext-0.11.
4115 * progtest.m4: Upgrade to gettext-0.11.
4117 2002-02-15 Paul Eggert <eggert@twinsun.com>
4119 * prereq.m4 (jm_PREREQ_POSIXVER): New macro.
4120 (jm_PREREQ): Use it.
4122 2002-01-26 Jim Meyering <meyering@lucent.com>
4124 * jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
4125 * strnlen.m4: Remove file, now that it's part of autoconf.
4127 2002-01-22 Paul Eggert <eggert@twinsun.com>
4129 * jm-macros.m4 (jm_MACROS): Require AC_FUNC_FSEEKO.
4131 2002-01-19 Jim Meyering <meyering@lucent.com>
4133 * jm-macros.m4 (jm_MACROS): Use AC_FUNC_STRNLEN.
4134 Remove useless quotes: DF_PROG="df".
4135 * strnlen.m4: New file.
4137 2001-12-14 Jim Meyering <meyering@lucent.com>
4139 * jm-macros.m4 (jm_MACROS): Check for iswspace.
4140 Suggestion from Bruno Haible.
4142 2001-11-20 Jim Meyering <meyering@lucent.com>
4144 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Update comment to reflect that
4145 SunOS 4.1.4 and Solaris 2.5.1 lose, too.
4147 2001-11-19 Jim Meyering <meyering@lucent.com>
4149 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Don't bother with a temporary
4150 directory. Use "conftestXXXXXX" as the template.
4151 Suggestion from Paul Eggert.
4153 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately,
4154 so the test doesn't mistakenly hit the max-open-files limit.
4156 2001-11-18 Jim Meyering <meyering@lucent.com>
4158 * prereq.m4 (jm_PREREQ_TEMPNAME): Check for declaration of getenv.
4160 2001-11-17 Jim Meyering <meyering@lucent.com>
4162 * mkstemp.m4 (UTILS_FUNC_MKSTEMP): New file and macro.
4163 Prompted by a report from Bob Proulx.
4165 * jm-macros.m4 (jm_MACROS): Don't test for mkstemp here.
4166 Instead, require UTILS_FUNC_MKSTEMP.
4168 2001-11-11 Jim Meyering <meyering@lucent.com>
4170 * jm-macros.m4 (jm_MACROS): Remove code to set POW_LIBM.
4171 Now, that's done as part of AC_FUNC_STRTOD.
4173 2001-10-22 Paul Eggert <eggert@twinsun.com>
4175 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
4176 WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
4178 2001-11-10 Jim Meyering <meyering@lucent.com>
4180 * prereq.m4 (jm_PREREQ_PHYSMEM): New function.
4181 (jm_PREREQ): Use it.
4183 2001-11-09 Jim Meyering <meyering@lucent.com>
4185 * jm-macros.m4: Require autoconf-2.52f.
4186 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_OBSTACK, AC_FUNC_STRTOD):
4187 Use these AC_-prefixed names, not the AM_-prefixed ones.
4189 * afs.m4 (jm_AFS): Quote the body. Patch by Akim Demaille.
4191 2001-11-04 Jim Meyering <meyering@lucent.com>
4193 * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.
4195 2001-11-03 Jim Meyering <meyering@lucent.com>
4197 * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
4200 * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
4201 know the name of the variable in the macro definition.
4203 2001-11-01 Jim Meyering <meyering@lucent.com>
4205 * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
4206 * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.
4208 2001-10-20 Paul Eggert <eggert@twinsun.com>
4210 * error.m4 (jm_PREREQ_ERROR):
4211 Do not invoke AC_CHECK_FUNCS with strerror_r, as
4212 AC_FUNC_STRERROR_R does that.
4213 Check for strerror declaration.
4215 * strerror_r.m4: Add copyright notice, as nontrivial m4 files
4216 are supposed to have them these days.
4217 (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
4218 Merge changes from latest Autoconf CVS.
4219 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
4220 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
4221 POSIX decided to standardize on the int flavor of strerror_r.
4223 2001-09-30 Jim Meyering <meyering@lucent.com>
4225 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
4226 `struct fsstat' has the `f_fstypename' member.
4227 Use that to define FS_TYPE, which is now used to make
4228 the getfsstat link test tighter.
4230 2001-09-29 Jim Meyering <meyering@lucent.com>
4232 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
4233 [one-argument getmntent function]): Include stdio.h before mntent.h.
4234 SunOS 4.1.x needs it for the declaration of `FILE'.
4235 Patch by Volker Borchert.
4237 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
4238 Check for these headers: sys/param.h sys/ucred.h sys/mount.h
4239 sys/fs_types.h, and make the link-test for getfsstat guard #include
4240 directives with appropriate #if HAVE_*_H tests so that we can
4241 detect getfsstat on Apple Darwin1.3.7 systems.
4242 Reported by Nelson Beebe.
4243 Fix harmless typo in cache variable name: s/getsstat/getfsstat/.
4245 2001-09-28 Paul Eggert <eggert@twinsun.com>
4247 Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
4248 #defines strtoimax. Also treat the other strto* functions
4251 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
4252 Check for strtoul and strtoumax,
4253 as those declarations are made even in the signed case.
4254 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
4255 Likewise, for strtol and strtoimax.
4257 2001-09-24 Jim Meyering <meyering@lucent.com>
4259 * gettext.m4: Use the version from gettext-0.10.40, not CVS.
4261 2001-09-23 Jim Meyering <meyering@lucent.com>
4263 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
4264 instead of the mere test for existence of mntent.h. The latter
4265 would get a false-positive on AIX 3.4 systems.
4266 In the outer getmntent if-block, don't die if neither of the getmntent
4267 tests succeeds. Instead, just fall through and continue with the
4270 2001-09-22 Jim Meyering <meyering@lucent.com>
4272 * gettext.m4: New file. From gettext.
4273 * lcmessage.m4: Sync with gettext -- this changes only comments.
4274 * progtest.m4: Likewise
4275 * isc-posix.m4: Decrement serial number to sync with gettext.
4276 * glibc21.m4: Likewise.
4278 * libintl.m4: Remove. No longer used.
4280 2001-09-20 Jim Meyering <meyering@lucent.com>
4282 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
4284 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
4287 2001-09-17 Jim Meyering <meyering@lucent.com>
4289 * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
4290 * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
4291 * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
4292 * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
4293 * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
4294 whenever the right hand side need not be expanded by the shell.
4296 2001-09-16 Paul Eggert <eggert@twinsun.com>
4298 * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
4299 library. It's not correct, as some older glibcs are buggy.
4300 fnmatch wasn't fixed until glibc 2.2.
4302 Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
4303 special shell magic here.
4305 2001-09-16 Jim Meyering <meyering@lucent.com>
4307 * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
4308 * jm-macros.m4: Require it.
4310 2001-09-15 Jim Meyering <meyering@lucent.com>
4312 * jm-macros.m4: Check for help2man.
4314 2001-09-11 Jim Meyering <meyering@lucent.com>
4316 * host-os.m4 (UTILS_HOST_OS): New file/macro.
4317 The body, by Paul Eggert, was moved here from configure.in.
4318 * jm-macros.m4: Require UTILS_HOST_OS.
4320 2001-09-04 Paul Eggert <eggert@twinsun.com>
4322 * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
4323 (jm_PREREQ): Use it.
4325 2001-09-03 Paul Eggert <eggert@twinsun.com>
4327 * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
4328 sys/param.h, as pathmax.h includes them.
4330 2001-09-03 Paul Eggert <eggert@twinsun.com>
4332 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
4333 (jm_PREREQ_XGETCWD): New macro.
4335 * getcwd.m4: New file.
4337 2001-09-01 Jim Meyering <meyering@lucent.com>
4339 * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
4342 2001-08-30 Paul Eggert <eggert@twinsun.com>
4344 Simplify code, partly by assuming autoconf 2.52 semantics.
4346 * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
4348 * inttypes.m4 (AC_PREREQ): Bump to 2.52.
4349 (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
4351 (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T):
4352 Move AC_REQUIRE to next-to-top level, to avoid confusion.
4353 Use 2.52's AC_CHECK_TYPE instead of merely looking for the header.
4354 * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
4355 * jm-macros.m4 (jm_MACROS): Likewise.
4357 * uintmax_t.m4: Remove, as it duplicates inttypes.m4.
4359 * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
4360 Quote first arg of AC_DEFUN.
4361 Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
4362 since they are needed to parse the include file even if we need
4363 only xstrtoimax. Simplify logic behind the args to AC_REPLACE.
4364 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
4365 but with opposite signedness.
4367 2001-08-30 Paul Eggert <eggert@twinsun.com>
4369 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
4370 (jm_PREREQ_EXCLUDE): New macro.
4372 2001-08-26 Jim Meyering <meyering@lucent.com>
4374 * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.
4376 * xstrtoimax.m4: New file.
4377 * xstrtoumax.m4: Add comments explaining why we
4378 AC_REPLACE_FUNCS(strtol).
4380 2001-06-20 Paul Eggert <eggert@twinsun.com>
4382 * inttypes.m4: Add AC_PREREQ(2.13).
4383 (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
4384 (jm_AC_TYPE_INTMAX_T): New macro.
4385 (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.
4387 * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.
4389 * longlong.m4: Renamed from ulonglong.m4.
4390 * inttypes.m4: Renamed from inttypes_h.m4.
4391 * uintmax_t.m4: Removed.
4393 2001-08-12 Jim Meyering <meyering@lucent.com>
4395 * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
4396 d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
4397 fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
4398 group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
4399 jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
4400 link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
4401 mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
4402 prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
4403 rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
4404 strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
4405 utime.m4, utimes.m4, xstrtoumax.m4:
4406 Quote the first argument in each use of AC_DEFUN.
4408 2001-08-05 Jim Meyering <meyering@lucent.com>
4410 * jm-macros.m4: Require autoconf-2.52.
4412 2001-08-03 Paul Eggert <eggert@twinsun.com>
4414 The following changes are from gettext 0.10.39 as maintained by
4415 Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.
4417 * codeset.m4: Upgrade to serial AM1.
4418 (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
4419 all uses changed. Quote first arg of AC_DEFUN.
4420 (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.
4422 * iconv.m4: Upgrade to serial AM2.
4423 (AM_ICONV): Renamed from jm_ICONV; all uses changed.
4424 Add --with-libconv-prefix.
4425 Quote first arg of AC_DEFUN. Add description for ICONV_CONST.
4426 (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
4427 (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
4428 (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
4429 * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.
4431 * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
4432 * getline.m4 (AM_FUNC_GETLINE): Likewise.
4433 * glibc21.m4 (jm_GLIBC21): Likewise.
4434 * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
4435 * isc-posix.m4 (AC_ISC_POSIX): Likewise.
4436 * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
4437 * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
4438 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
4439 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.
4441 * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
4444 * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
4445 not the default value.
4447 2001-06-25 Bruno Haible <haible@clisp.cons.org>
4448 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
4449 Also check for mbsinit. Needed for SCO 3.2v5.0.2.
4450 Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
4451 Also check for iswcntrl, used for wcwidth fallback.
4452 Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
4455 2001-08-03 Jim Meyering <meyering@lucent.com>
4457 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not `@%:@include',
4458 as it was in the original. Reported by Paul Eggert.
4460 2001-07-16 Jim Meyering <meyering@lucent.com>
4462 * gettimeofday.m4: New file.
4463 Prompted by a report from Bernhard Baehr.
4465 2001-07-15 Jim Meyering <meyering@lucent.com>
4467 * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
4468 Now it's in ../Makefile.cfg.
4470 2001-07-04 Jim Meyering <meyering@lucent.com>
4472 * Makefile.am.in (glibc-io.struct): New target. Rework the code
4473 that generates jm-glibc-io.m4 so that it doesn't trigger any make
4476 2001-07-02 Jim Meyering <meyering@lucent.com>
4478 The following changes were prompted by suggestions from Bruno Haible.
4480 * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
4482 * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
4483 definition of EXTRA_DIST.
4484 (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
4485 ensure that the generated file is created/updated whenever the list
4486 of $(unlocked_functions) is changed.
4487 (jm-glibc-io.m4): New rule.
4488 (unlocked-io.h): New rule -- currently unused.
4490 2001-06-24 Jim Meyering <meyering@lucent.com>
4492 * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
4493 unmatched right bracket, rather than kludging it with an extra,
4494 falsely-matching quote in a comment. Patch by Akim Demaille.
4496 2001-05-27 Jim Meyering <meyering@lucent.com>
4498 * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
4499 Check for ut_type in struct utmp.
4501 2001-05-22 Jim Meyering <meyering@lucent.com>
4503 * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
4504 now that we use the package-supplied version unconditionally.
4505 (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.
4507 2001-05-21 Jim Meyering <meyering@lucent.com>
4509 * regex.m4: Change a couple backticks to single quotes to avoid shell
4512 2001-05-19 Alexandre Duret-Lutz <duret_g@epita.fr>
4514 * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.
4516 2001-05-11 Paul Eggert <eggert@twinsun.com>
4518 * strftime.m4 (jm_FUNC_GNU_STRFTIME):
4519 Don't bother to check library strftime, since
4520 we'll be using our own my_strftime function anyway.
4521 Define my_strftime instead of strftime.
4523 2001-05-15 Jim Meyering <meyering@lucent.com>
4525 * regex.m4: Use proper quoting so brackets appear in the test program.
4526 Reported by, and with help from, Bruno Haible.
4528 2001-05-13 Jim Meyering <meyering@lucent.com>
4530 * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.
4532 2000-11-26 Paul Eggert <eggert@twinsun.com>
4534 * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.
4536 2001-04-21 Jim Meyering <meyering@lucent.com>
4538 * rmdir-errno.m4: Write to a new file, so that a restrictive umask
4541 2001-04-21 Alexandre Duret-Lutz <duret_g@epita.fr>
4543 * ftruncate.m4: Check for chsize.
4544 Link with ftruncate.o unconditionally if ftruncate is missing.
4545 This was required when cross-compiling to i586-mingw32msvc.
4547 2001-03-24 Jim Meyering <meyering@lucent.com>
4549 * jm-macros.m4: Require autoconf-2.49d.
4551 2001-03-20 Bruno Haible <haible@clisp.cons.org>
4553 * iconv.m4 (jm_ICONV): Recommend GNU libiconv.
4555 2001-03-17 Jim Meyering <meyering@lucent.com>
4557 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Remove my copy of AC_FUNC_MEMCMP,
4558 now that the version in autoconf is equivalent.
4559 (jm_FUNC_MEMCMP): Adjust to use AC_FUNC_MEMCMP.
4561 * error.m4 (jm_PREREQ_ERROR): Invoke AC_FUNC_STRERROR_R.
4562 Suggestion from Akim Demaille.
4564 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_TEMPNAME.
4565 (jm_PREREQ_TEMPNAME): New function.
4567 2001-02-25 Paul Eggert <eggert@twinsun.com>
4569 * jm-macros.m4 (jm_MACROS): Use mkstemp replacement if the system
4570 lacks mkstemp. Compile our own tempname.c if we compile our own
4571 mkstemp.c, as mkstemp relies on tempname.
4573 2001-03-01 Jim Meyering <meyering@lucent.com>
4575 * dos.m4 (jm_AC_DOS): Remove extra backslashes, now that
4576 AH_VERBATIM really does output its argument verbatim.
4578 2001-02-18 Paul Eggert <eggert@twinsun.com>
4580 * jm-macros.m4 (jm_CHECK_ALL_HEADERS): Check for sys/resource.h.
4582 2001-02-17 Jim Meyering <meyering@lucent.com>
4584 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Don't check for
4585 getmntent via AC_CHECK_FUNCS, since that would get a `no' and disrupt
4586 further attempts by AC_FUNC_GETMNTENT to check with e.g., -lgen on
4589 * mbrtowc.m4 (jm_FUNC_MBRTOWC): Adapt to use AC_CACHE_CHECK etc.,
4590 rather than AC_CACHE_VAL.
4592 2001-02-17 Paul Eggert <eggert@twinsun.com>
4594 * mbrtowc.m4: New file, defining jm_FUNC_MBRTOWC.
4595 * mbswidth.m4 (jm_PREREQ_MBSWIDTH):
4596 Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
4597 * prereq.m4 (jm_PREREQ_QUOTEARG): Likewise.
4599 2001-02-07 Jim Meyering <meyering@lucent.com>
4601 * regex.m4 (jm_INCLUDED_REGEX): Add a test for the latest bug.
4603 2001-02-05 Jim Meyering <meyering@lucent.com>
4605 * jm-macros.m4: Require autoconf-2.14d (not yet released), because
4606 it includes the patch required for `large file' support with at least
4607 HP-UX's 10.20 /bin/cc.
4609 2001-02-03 Jim Meyering <meyering@lucent.com>
4611 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Restore prior use of
4612 AS_IF, now that it works once again (mysteriously).
4613 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4615 2001-01-30 Jim Meyering <meyering@lucent.com>
4617 Don't use filenames that are 8.3-equivalent to "conftest" on DOS.
4618 * chown.m4: Rename conftestchown to conftest.chown.
4619 * rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
4620 * utimes.m4: s/conftestdata/conftest.data/
4621 Inspired by Pavel Roskin's change in autoconf.
4623 2001-01-27 Jim Meyering <meyering@lucent.com>
4625 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Open-code what was
4627 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Likewise.
4629 2001-01-26 Jim Meyering <meyering@lucent.com>
4631 * prereq.m4 (jm_PREREQ_QUOTEARG): Check for stddef.h, now that
4632 quotearg.c includes it.
4634 2001-01-15 Bruno Haible <haible@clisp.cons.org>
4636 * iconv.m4 (jm_ICONV): Also check whether the iconv declaration
4639 2001-01-20 Jim Meyering <meyering@lucent.com>
4641 Be sure that headers are checked before used in code compiled
4642 for the type checks.
4643 * jm-macros.m4 (jm_MACROS): Remove all header checks.
4644 In place of that, invoke jm_CHECK_ALL_TYPES.
4645 (jm_CHECK_ALL_HEADERS): New functions with the above checks.
4646 (jm_CHECK_ALL_TYPES): Require jm_CHECK_ALL_HEADERS.
4647 Alan Iwi reported a build failure on an f300-fujitsu-uxpv4.1_ES;
4648 The check for ssize_t was mistakenly run before the test for unistd.h.
4650 The configure-time check for stdbool.h was missing.
4651 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_HASH.
4652 (jm_PREREQ_HASH): New function.
4654 2001-01-17 Jim Meyering <meyering@lucent.com>
4656 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use AS_IF, not AS_IFELSE,
4658 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Likewise.
4660 2001-01-14 Jim Meyering <meyering@lucent.com>
4662 * rename.m4: Use temporary directories named conftestdir{,2}, not
4663 foo and bar. Create conftestdir/ in the script, not in the C code.
4664 Remove directories in the script, not in the C code.
4665 Remove conftestdir{,2} before trying to create the directory.
4666 Make the entire configure script fail if the mkdir fails.
4668 2001-01-02 Volker Borchert <bt@teknon.de>
4670 * rename.m4: New file.
4671 * jm-macros.m4 (jm_MACROS): Require vb_FUNC_RENAME.
4673 2001-01-01 Alexandre Duret-Lutz <duret_g@epita.fr>
4675 * libintl.m4 (AM_GNU_GETTEXT): Define MKINSTALLDIRS by
4676 expanding the value of $ac_aux_dir, as in AM_MISSING_HAS_RUN,
4677 so `make install' also works in VPATH builds.
4679 2001-01-01 Jim Meyering <meyering@lucent.com>
4681 * prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even
4682 on systems with utmpx.h. It's necessary for the declaration of utmp's
4683 ut_user member. Reported by Andreas Jaeger.
4685 * check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available.
4686 They are required for the declarations of getgrgid and getpwuid resp.
4687 (_jm_DECL_HEADERS): Check for grp.h and pwd.h.
4688 Reported by Andreas Jaeger.
4690 2000-12-25 Alexandre Duret-Lutz <duret_g@epita.fr>
4692 * libintl.m4 (AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
4693 prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
4694 can be used in subdirectories.
4696 2000-12-26 Jim Meyering <meyering@lucent.com>
4698 * dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better
4701 2000-12-17 Jim Meyering <meyering@lucent.com>
4703 * dos.m4 (jm_AC_DOS): New file and macro.
4704 * jm-macros.m4 (jm_MACROS): Require jm_AC_DOS.
4706 2000-12-06 Paul Eggert <eggert@twinsun.com>
4708 * off_t-format.m4: Remove this file.
4709 * jm-macros.m4 (jm_MACROS): Remove jm_SYS_OFF_T_PRINTF_FORMAT.
4711 2000-12-06 Jim Meyering <meyering@lucent.com>
4713 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement
4714 strtoull, we may well need the replacement strtoul, too.
4715 Check for declarations of strtoul and strtoull.
4716 Check for strtol. Mainly as a cue to cause automake to include
4717 strtol.c -- that file is included by each of strtoul.c and strtoull.c.
4718 Check for limits.h -- strtol.c needs it.
4720 2000-12-02 Jim Meyering <meyering@lucent.com>
4722 * off_t-format.m4 (OFF_T_PRINTF_FORMAT_STRING): New file/macro.
4723 * jm-macros.m4 (jm_MACROS): require it.
4725 2000-11-30 Jim Meyering <meyering@lucent.com>
4727 * jm-macros.m4 (jm_MACROS): Check for stdint.h.
4729 2000-11-30 Jim Meyering <meyering@lucent.com>
4731 * getloadavg.m4: s/ifval/m4_ifval/ to accommodate new autoconf.
4733 2000-11-03 Bruno Haible <haible@clisp.cons.org>
4735 * jm-macros.m4 (jm_MACROS): Add test for wcrtomb.
4737 2000-11-04 Jim Meyering <meyering@lucent.com>
4739 * regex.m4: Use the `m4_' prefix on `syscmd' and `m4_sysval'.
4741 2000-10-29 Jim Meyering <meyering@lucent.com>
4743 * fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming.
4744 * ls-mntd-fs.m4: Likewise
4746 2000-10-28 Jim Meyering <meyering@lucent.com>
4748 * prereq.m4 (jm_PREREQ): Add jm_PREREQ_MEMCHR.
4749 (jm_PREREQ_MEMCHR): New function.
4751 2000-10-21 Jim Meyering <meyering@lucent.com>
4753 * check-decl.m4 (jm_CHECK_DECLS): Also check for memrchr.
4754 * prereq.m4 (jm_PREREQ_DIRNAME): New macro.
4755 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memrchr.
4757 2000-09-18 Jim Meyering <meyering@lucent.com>
4759 * getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS.
4760 Otherwise, everyone ends up linking with -lelf for some configurations.
4761 Reported by Mike Stone.
4763 2000-08-26 Jim Meyering <meyering@lucent.com>
4765 * jm-macros.m4: Use jm_FUNC_FPENDING.
4766 * fpending.m4: New file.
4768 2000-08-20 Jim Meyering <meyering@lucent.com>
4770 * check-decl.m4: Include utmp.h `#if HAVE_UTMP_H', rather than
4771 `#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
4772 utmp.h nor utmpx.h. Reported by Eli Zaretskii.
4774 2000-08-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
4776 Improve fileutils installation on systems where running
4777 programs (like install) can't be unlinked.
4778 * unlink-busy.m4 (jm_FUNC_UNLINK_BUSY_TEXT): New file/macro.
4779 * jm-macros.m4: Use jm_FUNC_UNLINK_BUSY_TEXT.
4781 2000-08-06 Paul Eggert <eggert@twinsun.com>
4783 * mbstate_t.m4 (AC_MBSTATE_T): Define mbstate_t to be int,
4784 not char, for compatibility with glibc 2.1.3 strftime.c.
4786 2000-07-23 Paul Eggert <eggert@twinsun.com>
4788 * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Check for wcwidth declaration.
4790 2000-07-23 Jim Meyering <meyering@lucent.com>
4792 * check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too:
4793 getgrgid, getpwuid, getuid.
4795 2000-07-16 Bruno Haible <haible@clisp.cons.org>
4797 * mbswidth.m4: New file.
4798 * prereq.m4 (jm_PREREQ): Call jm_PREREQ_MBSWIDTH.
4800 2000-07-14 Jim Meyering <meyering@lucent.com>
4802 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T.
4804 2000-07-10 Paul Eggert <eggert@twinsun.com>
4806 From a suggestion by Bruno Haible.
4807 * mbstate_t.m4 (AC_MBSTATE_T):
4808 Renamed from AC_MBSTATE_T_OBJECT. All uses changed.
4809 Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT
4810 and mbstate_t, to a single-part test that simply defines mbstate_t.
4811 * prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/.
4813 2000-07-10 Jim Meyering <meyering@lucent.com>
4815 * strerror_r.m4: Mirror the correction made in autoconf.
4817 * gnu-source.m4: Output to confdefs.h directly.
4818 Suggestion from Akim Demaille.
4820 2000-07-09 Jim Meyering <meyering@lucent.com>
4822 * jm-macros.m4 (jm_MACROS): Add a test to see if -lm is required
4823 to link seq. If so, set SEQ_LIBM to -lm. From Bruno Haible.
4825 * gnu-source.m4 (AC__GNU_SOURCE): New file/macro.
4826 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require it.
4828 2000-07-05 Bruno Haible <haible@clisp.cons.org>
4830 * strerror_r.m4 (AC_FUNC_STRERROR_R): Pass a reasonably large buffer
4832 Include <ctype.h> for use of isalpha.
4834 2000-07-05 Paul Eggert <eggert@twinsun.com>
4835 and Bruno Haible <haible@clisp.cons.org>
4837 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Test for mbstate_t
4838 only if the test for an object-type mbstate_t fails. This
4839 prevents us from mistakenly reporting that mbstate_t is a
4840 system object type after we "#define mbstate_t int" to work
4843 2000-07-04 Jim Meyering <meyering@lucent.com>
4845 * fsusage.m4 (jm_FILE_SYSTEM_USAGE): Use plain old `echo' instead
4846 of the deprecated AC_CHECKING.
4848 2000-07-03 Jim Meyering <meyering@lucent.com>
4850 * check-decl.m4 (AC_CHECK_DECLS): Add strnlen.
4852 2000-07-03 Paul Eggert <eggert@twinsun.com>
4854 * mbstate_t.m4 (AC_MBSTATE_T_OBJECT): Port to autoconf 2.13.
4855 Add AC_CHECK_HEADERS(stdlib.h), since we use HAVE_STDLIB_H.
4857 2000-07-02 Jim Meyering <meyering@lucent.com>
4859 * mbstate_t.m4: Also define mbstate_t, if necessary.
4861 * chown.m4: Replace each use of AC_SUBST(LIBOBJS)/LIBOBJS=... with
4862 AC_LIBOBJ(function_name).
4863 * chown.m4: Likewise.
4864 * fnmatch.m4: Likewise.
4865 * ftruncate.m4: Likewise.
4866 * getgroups.m4: Likewise.
4867 * getline.m4: Likewise.
4868 * group-member.m4: Likewise.
4869 * jm-macros.m4: Likewise.
4870 * lstat.m4: Likewise.
4871 * malloc.m4: Likewise.
4872 * memcmp.m4: Likewise.
4873 * nanosleep.m4: Likewise.
4874 * putenv.m4: Likewise.
4875 * realloc.m4: Likewise.
4876 * regex.m4: Likewise.
4877 * stat.m4: Likewise.
4878 * strftime.m4: Likewise.
4880 2000-07-01 Jim Meyering <meyering@lucent.com>
4882 * ls-mntd-fs.m4: Remove a `FIXME' comment and fix the associated
4885 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4887 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Rename BeOS specific
4888 macro from MOUNTED_NEXT_DEV to MOUNTED_FS_STAT_DEV.
4890 2000-07-01 Jim Meyering <meyering@lucent.com>
4892 * uptime.m4: Put double quotes around use of $cross_compiling.
4894 2000-06-28 Jim Meyering <meyering@lucent.com>
4896 * mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included
4897 by quotearg.c, for which we perform this test. From Bruno Haible.
4899 2000-06-17 Bruno Haible <haible@clisp.cons.org>
4901 * check-decl.m4 (_jm_DECL_HEADERS): Check for utmp.h as well.
4902 * prereq.m4 (jm_PREREQ_READUTMP): Likewise. If either <utmp.h> or
4903 <utmpx.h> exists, put readutmp.o into LIBOBJS.
4905 2000-06-25 Jim Meyering <meyering@lucent.com>
4907 * mbstate_t.m4: Include stdio.h before wchar.h to work around
4908 Linux header bug when _XOPEN_SOURCE is defined to 500.
4910 2000-06-24 Jim Meyering <meyering@lucent.com>
4912 * strerror_r.m4: Revive this file -- to try out an experimental
4913 version of AC_FUNC_STRERROR_R that may work even on BeOS, a system
4914 for which strerror does return char*, but which lacks a conveniently
4915 accessible declaration of the function. If the compile-test says
4916 strerror_r doesn't work, then resort to a `run'-test that works on
4917 BeOS and segfaults on DEC Unix.
4919 2000-06-19 Paul Eggert <eggert@twinsun.com>
4921 * mbstate_t.m4: New file, defining AC_MBSTATE_T_OBJECT.
4922 * prereq.m4 (jm_PREREQ_QUOTEARG): Use it. Add check for iswprint.
4924 2000-06-23 Jim Meyering <meyering@lucent.com>
4926 * afs.m4: Add missing AC_MSG_RESULT.
4927 Reported by Bruno Haible.
4929 * fsusage.m4: s/AC_MSG_CHECKING/AC_CHECKING/.
4930 Suggestion from Bruno Haible.
4932 2000-06-21 Jim Meyering <meyering@lucent.com>
4934 * jm-macros.m4 (AC_REPLACE_FUNCS): Add getpass.
4936 2000-06-18 Jim Meyering <meyering@lucent.com>
4938 * jm-macros.m4 (AC_REPLACE_FUNCS): Remove mkdir.
4940 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): Change the
4941 `checking whether...' message to be consistent with that of the
4944 2000-06-16 Bruno Haible <haible@clisp.cons.org>
4946 * glibc21.m4 (jm_GLIBC21): Define GLIBC21 for Makefiles, not for C.
4948 2000-06-12 Jim Meyering <meyering@lucent.com>
4950 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG
4951 from autoconf, and tweak the latter to accept an optional argument.
4952 * jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply
4953 the optional argument, `lib'.
4955 2000-06-08 Jim Meyering <meyering@lucent.com>
4957 * largefile.m4: Remove file (now that it's part of autoconf).
4959 2000-06-04 Paul Eggert <eggert@twinsun.com>
4961 Rewrite largefile configuration so that we don't need to run
4962 getconf and don't need AC_CANONICAL_HOST. [I'm leaving the use of
4963 AC_CANONICAL_HOST in configure.in -- jmm]
4965 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS,
4966 AC_SYS_LARGEFILE_SPACE_APPEND): Remove.
4967 (AC_SYS_LARGEFILE_TEST_INCLUDES): New macro.
4968 (AC_SYS_LARGEFILE_MACRO_VALUE): Change arguments from
4969 CODE-TO-SET-DEFAULT to VALUE, INCLUDES, FUNCTION-BODY.
4971 Instead of inspecting the output of getconf, try to compile the
4972 test program without and with the macro definition.
4973 (AC_SYS_LARGEFILE): Do not require AC_CANONICAL_HOST or check
4974 for getconf. Instead, check for the needed flags by compiling
4977 2000-06-03 Jim Meyering <meyering@lucent.com>
4979 * prereq.m4 (jm_PREREQ_HUMAN): Use []-quoted list in AC_CHECK_DECLS,
4980 now that autoconf requires that.
4982 * jm-glibc-io.m4: Add a kludge to make autoheader emit the required
4983 #undefs. E.g., #undef HAVE_DECL_FERROR_UNLOCKED.
4984 Use []-quoted list in AC_CHECK_DECLS, now that autoconf requires that.
4986 2000-05-26 Bruno Haible <haible@clisp.cons.org>
4988 * glibc21.m4: New file.
4989 * jm-macros.m4 (jm_MACROS): Call jm_GLIBC21.
4991 2000-05-28 Jim Meyering <meyering@lucent.com>
4993 * jm-macros.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Rename from
4994 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
4995 * stat.m4: Likewise.
4996 * lstat.m4: Likewise.
4997 * lstat-slash.m4: Remove file (absorbed into autoconf).
4999 * jm-macros.m4 (AC_FUNC_STRERROR_R): Rename from jm_FUNC_STRERROR_R.
5000 * strerror_r.m4: Remove file (absorbed into autoconf).
5002 2000-05-26 Jim Meyering <meyering@lucent.com>
5004 * uptime.m4: Use `$cross_compiling', not `$ac_cv_prog_cc_cross'.
5006 2000-05-24 Jim Meyering <meyering@lucent.com>
5008 * prereq.m4: Use []-quoted list in AC_CHECK_MEMBERS, now that
5009 autoconf requires that.
5010 * lib-check.m4: Likewise.
5011 * jm-macros.m4: Likewise.
5012 * strftime.m4: Likewise.
5014 * check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
5015 now that autoconf requires that.
5017 2000-05-22 Jim Meyering <meyering@lucent.com>
5019 * stat.m4: Require jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
5020 * lstat.m4: Likewise.
5022 2000-05-20 Jim Meyering <meyering@lucent.com>
5024 * prereq.m4 (jm_PREREQ_HUMAN): New macro.
5025 (jm_PREREQ): Use it.
5027 2000-05-09 Jim Meyering <meyering@lucent.com>
5029 * gettext.m4: Rename this...
5030 * libintl.m4: ...to this.
5032 2000-05-06 Jim Meyering <meyering@lucent.com>
5034 * jm-macros.m4 (AC_REPLACE_FUNCS): Add atexit.
5035 (AC_REPLACE_FUNCS): Add strnlen.
5037 * rmdir-errno.m4 (fetish_FUNC_RMDIR_NOTEMPTY): New macro and file.
5038 * jm-macros.m4: Require fetish_FUNC_RMDIR_NOTEMPTY.
5040 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Save and restore LIBS around
5041 AC_SEARCH_LIBS call for nanosleep.
5042 (LIB_NANOSLEEP): Set and AC_SUBST.
5044 2000-05-03 Paul Eggert <eggert@twinsun.com>
5046 * largefile.m4 (AC_SYS_LARGEFILE): Define _XOPEN_SOURCE to
5047 be 500, instead of _GNU_SOURCE to be 1, to work around glibc
5048 2.1.3 bug. This avoids a clash when files like regex.c define
5051 2000-05-05 Jim Meyering <meyering@lucent.com>
5053 * jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS
5054 call for clock_gettime.
5055 (LIB_CLOCK_GETTIME): Set and AC_SUBST.
5057 * search-libs.m4: Update from autoconf.
5059 su doesn't work on Solaris 2.6.
5060 * lib-check.m4: When checking for struct spwd.sp_pwdp, also include
5061 <shadow.h>. Reported by Dragos Harabor.
5063 2000-05-03 Jim Meyering <meyering@lucent.com>
5065 * check-decl.m4 (AC_CHECK_DECLS): Add strndup.
5067 2000-05-02 Paul Eggert <eggert@twinsun.com>
5069 * largefile.m4 (AC_SYS_LARGEFILE): Define _GNU_SOURCE if
5070 this is needed to make ftello visible (e.g. glibc 2.1.3). Use
5071 compile-time test, rather than inspecting host and OS, to
5072 decide whether to define _LARGEFILE_SOURCE.
5074 2000-05-01 Jim Meyering <meyering@lucent.com>
5076 * fsusage.m4: Use AC_MSG_CHECKING instead of obsolete AC_CHECKING.
5078 * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
5079 Based on a patch from Bruno Haible.
5081 2000-04-18 Jim Meyering <meyering@lucent.com>
5083 * prereq.m4 (jm_PREREQ_GETPAGESIZE): New macro.
5084 (jm_PREREQ): Use it.
5086 2000-04-17 Jim Meyering <meyering@lucent.com>
5089 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
5090 actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
5091 Suggestion from Akim Demaille.
5093 2000-04-14 Jim Meyering <meyering@lucent.com>
5095 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
5096 of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
5098 2000-04-13 Jim Meyering <meyering@lucent.com>
5100 * jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
5101 to insert required #ifndef into config.h.in.
5102 Suggestion from Akim Demaille.
5104 2000-04-12 Jim Meyering <meyering@lucent.com>
5106 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
5107 `AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
5108 Christian Krackowizer.
5110 More code moved from ../configure.in into (jm_CHECK_ALL_TYPES).
5111 * jm-macros.m4 (_GNU_SOURCE): Define.
5112 (AC_SYS_LARGEFILE): Require.
5113 (AM_C_PROTOTYPES): Require.
5115 2000-04-05 Paul Eggert <eggert@twinsun.com>
5117 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
5118 IRIX if the installer said otherwise.
5120 2000-04-05 Jim Meyering <meyering@lucent.com>
5122 Portability tweaks required for ultrix4.3.
5123 * check-decl.m4 [!HAVE_UTMPX_H] (headers): Include <utmp.h>.
5124 (jm_CHECK_DECLS): Add getutent to the list of functions.
5125 (_jm_DECL_HEADERS): Add utmpx.h.
5126 From John David Anglin.
5128 * strftime.m4: Back out the 2000-04-02 change.
5129 Instead of that change, simply undefine putenv in the test program.
5131 2000-04-03 Jim Meyering <meyering@lucent.com>
5133 * gettext.m4: Fix typo in comment.
5135 * codeset.m4 (AC_CHECK_HEADERS): Add langinfo.h (moved here from
5136 textutils/configure.in). Suggestion from Paul Eggert.
5137 (AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
5139 2000-04-02 Paul Eggert <eggert@twinsun.com>
5141 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Set TZ environment
5142 variable in the shell rather than using putenv, which isn't
5143 portable. This avoids the configure-time inter-test dependency
5144 on the potentially-renamed putenv function.
5146 2000-03-30 Paul Eggert <eggert@twinsun.com>
5148 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Include <sys/stat.h>
5149 before checking struct stat.st_blksize, so that
5150 HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
5152 2000-03-29 Paul Eggert <eggert@twinsun.com>
5154 * strftime.m4 (_jm_STRFTIME_PREREQS): Check for strftime,
5155 since strftime.c uses HAVE_STRFTIME to decide whether to use
5156 the underlying strftime.
5158 2000-03-10 Jim Meyering <meyering@lucent.com>
5160 * lib-check.m4: Look for getspnam in -lgen, too.
5163 2000-02-02 Bruno Haible <haible@clisp.cons.org>
5165 * codeset.m4: New file.
5166 * iconv.m4: New file.
5167 * jm-macros.m4 (jm_MACROS): Call jm_LANGINFO_CODESET and jm_ICONV.
5169 2000-03-04 Jim Meyering <meyering@lucent.com>
5171 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require AC_C_VOLATILE,
5172 for lib/localcharset.c.
5174 2000-03-03 Jim Meyering <meyering@lucent.com>
5176 * regex.m4: Make sure re_compile_pattern accepts patterns like `{1'.
5178 2000-03-02 Jim Meyering <meyering@lucent.com>
5180 * timespec.m4: Require AC_HEADER_TIME before the cache check so
5181 the messages come out on separate lines.
5183 * jm-glibc-io.m4 (jm_FUNC_GLIBC_UNLOCKED_IO): Use AC_CHECK_DECLS,
5184 rather than jm_CHECK_DECLARATIONS.
5185 * decl.m4: Remove now-unused file.
5187 * check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
5189 2000-02-27 Jim Meyering <meyering@lucent.com>
5191 * check-decl.m4: Add getenv to the list.
5193 2000-02-23 Jim Meyering <meyering@lucent.com>
5195 * check-decl.m4: Now that we have the new AC_CHECK_DECLS, use it
5196 in place of my hack.
5198 2000-02-10 Jim Meyering <meyering@lucent.com>
5200 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Rename replacement function from
5201 gnu_nanosleep to rpl_nanosleep.
5203 2000-02-09 Jim Meyering <meyering@lucent.com>
5205 * lib-check.m4 (jm_LIB_CHECK): Fix typo: check for sp_pwdp in
5206 struct spwd, rather than in struct passwd. Reported by Gaël Quéri.
5208 2000-02-08 Akim Demaille <akim@epita.fr>
5210 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Quote square brackets with
5211 `[' and `]' and remove uses of `changequote'.
5212 (AC_SYS_LARGEFILE_MACRO_VALUE): Likewise.
5213 (AC_SYS_LARGEFILE): Likewise.
5214 * gettext.m4 (AM_GNU_GETTEXT): Likewise.
5215 * strftime.m4 (jm_FUNC_GNU_STRFTIME): Remove now-unnecessary use
5217 * regex.m4 (jm_INCLUDED_REGEX): Likewise.
5218 * readdir.m4 (jm_FUNC_READDIR): Likewise
5219 * memcmp.m4 (jm_AC_FUNC_MEMCMP): Likewise, and add `int' for main.
5220 * getloadavg.m4 (AM_FUNC_GETLOADAVG): Likewise.
5222 2000-02-05 Jim Meyering <meyering@lucent.com>
5224 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require most macros.
5225 Remove explicit use of AC_HEADER_TIME. It is required by
5226 jm_CHECK_TYPE_STRUCT_TIMESPEC. Using AC_HEADER_TIME and
5227 `AC_REQUIRE'ing jm_CHECK_TYPE_STRUCT_TIMESPEC provoked a but
5228 in autoconf whereby the expansion of the latter ended up preceding
5229 the expansion of its prerequisite, AC_HEADER_TIME.
5230 Reported by Volker Borchert.
5232 2000-02-03 Jim Meyering <meyering@lucent.com>
5234 * prereq.m4 (jm_PREREQ_READUTMP): Check for utmpxname.
5236 2000-02-02 Jim Meyering <meyering@lucent.com>
5238 * prereq.m4 (jm_PREREQ_ADDEXT): Fix typo that resulted in no
5239 definition of HAVE_PATHCONF: s/AC_CHECK_FUNC/AC_CHECK_FUNCS/.
5240 Reported by Eli Zaretskii.
5242 2000-01-31 Jim Meyering <meyering@lucent.com>
5244 * check-decl.m4 (jm_CHECK_DECLS): Add nanosleep to the list of
5245 functions. Add the time.h and sys/time.h headers along with the
5246 AC_REQUIRE'ment of AC_HEADER_TIME.
5248 2000-01-30 Jim Meyering <meyering@lucent.com>
5250 * lib-check.m4: Clean up some kludgy old shadow password tests.
5252 * prereq.m4 (utmp_includes): Define.
5253 Check for ut_user and ut_name members in both struct utmpx
5256 2000-01-29 Jim Meyering <meyering@lucent.com>
5258 * lib-check.m4: New file containing library-related checks from
5259 fileutils and sh-utils (textutils had none).
5261 2000-01-28 Jim Meyering <meyering@lucent.com>
5263 * perl.m4: Change format of warning message to look more like that
5264 from the missing script. Suggestion from François Pinard.
5266 2000-01-25 Jim Meyering <meyering@lucent.com>
5268 * timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well
5269 as time.h in the compile check.
5270 * nanosleep.m4: Require AC_HEADER_TIME rather than simply using it.
5271 Fix typo in cross-compiling case: s/yes/no/.
5273 2000-01-23 Jim Meyering <meyering@lucent.com>
5275 * jm-macros.m4: Move df-related tests here from fileutils/configure.in
5277 * ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/
5278 (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters.
5280 * fsusage.m4: New file. Extracted from fileutils/configure.in.
5281 s/space/ac_fsusage_space/.
5282 (jm_FILE_SYSTEM_USAGE): Take two parameters.
5284 * ftruncate.m4: New file (derived from part of fileutils/configure.in).
5285 * jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it.
5286 (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT.
5288 * jm-macros.m4 (OPTIONAL_BIN_PROGS, OPTIONAL_BIN_ZCRIPTS, MAN):
5289 AC_SUBST these here, rather than just in sh-util/configure.in, so
5290 that the now-shared-by-fileutils-and-textutils lib/Makefile.am are
5292 (AM_FUNC_OBSTACK): Add (from fileutils/configure.in).
5293 (AC_CHECK_FUNCS): Merge all checks from fileutils, textutils, sh-utils.
5294 (AM_FUNC_STRTOD): Added (from textutils', sh-utils' configure.in).
5295 (AC_SUBST(POW_LIBM)): Likewise.
5296 (AC_SUBST(DF_PROG)): Moved from fileutils/configure.in.
5298 2000-01-22 Jim Meyering <meyering@lucent.com>
5300 * jm-macros.m4: Call AC_PROG_CC_STDC just before AC_C_CONST.
5302 * prereq.m4 (jm_PREREQ_QUOTEARG): Add wctype.h.
5304 * jm-macros.m4 (AC_CHECK_HEADERS): Add checks from fileutils'
5306 (AC_CHECK_HEADERS): Likewise for sh-utils.
5307 (AC_CHECK_HEADERS): Likewise for textutils.
5308 Merge the three lists of headers.
5310 * prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here
5311 from fileutils' configure.in.
5313 * decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code.
5314 Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4.
5316 * check-decl.m4: Use #if rather than #ifdef.
5317 Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
5318 (jm_CHECK_DECLARATIONS): Add strtoul strtoull.
5319 (_jm_DECL_HEADERS): Define new function.
5320 (jm_CHECK_DECLARATIONS): Require it.
5322 2000-01-19 Jim Meyering <meyering@lucent.com>
5324 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Include <sys/time.h>, too.
5325 Use AC_HEADER_TIME. Volker Borchert reported that OpenBSD-2.3/sparc
5326 defines `struct timespec' in <sys/time.h>
5328 * c-bs-a.m4: Remove uses of changequote altogether.
5329 Thanks to Akim for explaining.
5331 2000-01-16 Jim Meyering <meyering@lucent.com>
5333 * jm-macros.m4: Require jm_FUNC_GROUP_MEMBER, jm_FUNC_PUTENV,
5334 AM_FUNC_ERROR_AT_LINE, jm_FUNC_GNU_STRFTIME, jm_FUNC_MKTIME,
5335 jm_FUNC_GETGROUPS AC_FUNC_VPRINTF, AC_FUNC_ALLOCA,
5336 AM_FUNC_GETLOADAVG, and jm_SYS_PROC_UPTIME.
5338 2000-01-16 Jim Meyering <meyering@lucent.com>
5340 * c-bs-a.m4: Use `changequote(<<,>>)', rather than `changequote(, )'
5341 because the latter didn't work.
5343 2000-01-15 Jim Meyering <meyering@lucent.com>
5345 * jm-macros.m4 (AC_REPLACE_FUNCS): Add gethostname and getusershell.
5346 (AC_REPLACE_FUNCS): Add memcpy and memset.
5347 Add these, too: stime strcspn stpcpy strstr strtol strtoul.
5349 Add these: euidaccess memcmp mkdir rmdir rpmatch strndup strverscmp.
5351 2000-01-12 Jim Meyering <meyering@lucent.com>
5353 * prereq.m4 (jm_PREREQ_CANON_HOST): New macro.
5354 (jm_PREREQ): Use it.
5355 (jm_PREREQ_READUTMP): New macro.
5356 (jm_PREREQ): Use it.
5358 2000-01-11 Paul Eggert <eggert@twinsun.com>
5360 Quote multibyte characters correctly.
5361 * c-bs-a.m4: New file.
5362 * prereq.m4 (jm_PREREQ_QUOTEARG): New macro.
5363 (jm_PREREQ): Use it.
5365 2000-01-11 Paul Eggert <eggert@twinsun.com>
5367 * uintmax_t.m4: Port to autoconf 2.13.
5369 2000-01-08 Jim Meyering <meyering@ascend.com>
5371 * strerror_r.m4 (jm_FUNC_STRERROR_R): New file/macro.
5372 * jm-macros.m4 (jm_FUNC_STRERROR_R): Require it.
5374 2000-01-04 Jim Meyering <meyering@ascend.com>
5376 * d-type.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_TYPE): Rename from
5377 jm_STRUCT_DIRENT_D_TYPE.
5378 * d-ino.m4 (jm_CHECK_TYPE_STRUCT_DIRENT_D_INO): Rename from
5379 jm_STRUCT_DIRENT_D_INO.
5380 * utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from
5382 * jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings.
5383 * utime.m4: Likewise.
5385 * timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro.
5386 * jm-macros.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): Require it.
5388 2000-01-03 Paul Eggert <eggert@twinsun.com>
5390 * nanosleep.m4 (jm_FUNC_NANOSLEEP): Search for nanosleep in -lrt
5391 (for Solaris 7) and in -lposix4 (for Solaris 2.5.1).
5393 2000-01-02 Jim Meyering <meyering@ascend.com>
5395 * search-libs.m4: Escape `$' in $3 of dnl comment. I no longer
5396 remember if this is necessary.
5398 1999-12-26 Jim Meyering <meyering@ascend.com>
5400 * jm-macros.m4: Use it here.
5401 * nanosleep.m4 (jm_FUNC_NANOSLEEP): New file/macro.
5403 1999-12-23 Jim Meyering <meyering@ascend.com>
5405 * jm-macros.m4: Check for clock_gettime (moved from
5406 fileutils/configure.in)
5407 Check for gettimeofday.
5409 1999-12-20 Jim Meyering <meyering@ascend.com>
5411 * strftime.m4: Remove kludge, now that I'm using the fixed
5412 autoconf-2.14a-1999-12-20.
5414 1999-12-19 Jim Meyering <meyering@ascend.com>
5416 * lstat-slash.m4: New file.
5417 * jm-macros.m4: Use the new macro:
5418 jm_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
5420 1999-12-07 Jim Meyering <meyering@ascend.com>
5422 * perl.m4: Require that File::Compare be available, too.
5423 Too many systems seem to lack it.
5425 * strftime.m4: Add checks for most of the cpp macros tested in
5426 GNU's strftime.c. Prompted by a patch from Paul Eggert.
5428 1999-11-18 Paul Eggert <eggert@twinsun.com>
5430 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around a
5431 problem with the QNX 4.25 shell, which doesn't propagate exit
5432 status of failed commands inside shell assignments.
5434 1999-11-17 Jim Meyering <meyering@ascend.com>
5436 * gettext.m4: Use new AC_CONFIG_LINKS in place of AC_LINK_FILES.
5438 1999-11-07 Jim Meyering <meyering@ascend.com>
5440 * getloadavg.m4: Add `, 1, [FIXME]' to each use of AC_DEFINE.
5442 1999-11-06 Jim Meyering <meyering@ascend.com>
5444 * link-follow.m4 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro.
5445 * jm-macros.m4 (jm_MACROS): Use it here.
5447 1999-11-05 Jim Meyering <meyering@ascend.com>
5449 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
5450 of textutils, fileutils, and sh-utils into this one (shared between
5451 those packages) file.
5452 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
5453 AC_STRUCT_ST_BLKSIZE.
5455 1999-11-03 Jim Meyering <meyering@ascend.com>
5457 * ssize_t.m4: Remove file. No longer needed since the new version of
5458 AC_CHECK_TYPE checks includes unistd.h.
5459 * jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'.
5460 Suggestion from Akim Demaille.
5462 1999-10-30 Jim Meyering <meyering@ascend.com>
5464 * uintmax_t.m4: Require 2.14a. Remove backslash before backtick in
5466 * ls-mntd-fs.m4: Likewise.
5467 * jm-macros.m4: Likewise. Also, use AC_TYPE_SSIZE_T instead
5468 * jm-winsz1.m4: Likewise.
5470 * const.m4: Remove file, since the fix made it into the experimental
5471 version of autoconf.
5472 * mktime.m4: Likewise.
5474 * check-type.m4: Remove file, now that the latest version of
5475 AC_CHECK_TYPE takes a third arg to specify additional #includes.
5477 * ssize_t.m4: New file, requires experimental version of autoconf.
5478 * jm-macros.m4: Use new AC_TYPE_SSIZE_T instead of my hacked
5481 1999-10-04 Jim Meyering <meyering@ascend.com>
5483 * jm-macros.m4: Don't require autoconf-2.14.1.
5485 1999-09-22 Paul Eggert <eggert@twinsun.com>
5487 * largefile.m4 (AC_SYS_LARGEFILE_FLAGS): Work around GCC
5488 2.95.1 bug with HP-UX 10.20.
5490 1999-09-17 Jim Meyering <meyering@ascend.com>
5492 * jm-macros.m4 (AC_REPLACE_FUNCS): Add strdup.
5493 Paul Nevai reported a link failure on a NeXT CUBE with NeXTSTEP 3.3
5494 due to missing strdup (against sh-utils-2.0).
5496 1999-08-29 Jim Meyering <meyering@ascend.com>
5498 * jm-macros.m4: Require jm_BISON.
5499 * bison.m4: New file.
5501 1999-08-17 Paul Eggert <eggert@twinsun.com>
5503 * largefile.m4 (AC_SYS_LARGEFILE): Fix typo: missing comma
5504 in value for _FILE_OFFSET_BITS, which broke ports to HP-UX 10.20.
5506 1999-08-05 Jim Meyering <meyering@ascend.com>
5508 * getline.m4: Rename test file from conftestdata to conftest.data
5509 to avoid conflicts with `conftest' on 8+3 filesystems.
5510 Suggestion from Eli Zaretskii.
5512 1999-08-04 Jim Meyering <meyering@ascend.com>
5514 * jm-macros.m4: Move a 4-line block of code from the configure.in of
5515 fileutils and sh-utils (textutils's getline test was inadequate).
5516 (AM_FUNC_GETLINE): Run this test.
5517 (AC_CHECK_FUNCS): Check for getdelim.
5518 Reported by Bob Proulx.
5520 1999-08-02 Jim Meyering <meyering@ascend.com>
5522 * jm-macros.m4: Add a comment.
5524 1999-08-01 Jim Meyering <meyering@ascend.com>
5526 * mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4.
5528 1999-08-01 Paul Eggert <eggert@twinsun.com>
5530 * lfs.m4: Remove this file.
5531 * largefile.m4: New file. It contains the old contents of
5532 lfs.m4, except that all names with prefix AC_LFS have been
5533 changed to use the prefix AC_SYS_LARGEFILE instead, to be
5534 compatible with future autoconf versions. Also, some minor m4
5535 quoting problems have been fixed.
5537 1999-07-16 Paul Eggert <eggert@twinsun.com>
5539 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Make sure
5540 that we can shift, multiply and divide unsigned long long
5541 values; Ultrix cc can't do it.
5543 1999-07-14 Paul Eggert <eggert@twinsun.com>
5545 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check whether
5546 <inttypes.h> defines strtoumax as a macro (and not as a
5549 1999-07-05 Paul Eggert <eggert@twinsun.com>
5551 * gettext.m4 (AM_WITH_NLS): Remove unnecessary lines.
5552 Fix typo: $nls_cv_header_intl was misspelled as $nsl_cv_header_intl.
5553 (AM_GNU_GETTEXT): Fix problem with brackets and m4 quoting,
5554 and simplify the shell code.
5556 1999-07-03 Paul Eggert <eggert@twinsun.com>
5558 * mktime.m4: New file, which is a preview of what should appear
5559 in the next public autoconf release.
5561 1999-07-20 Jim Meyering <meyering@ascend.com>
5563 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memmove.
5565 1999-07-15 Jim Meyering <meyering@ascend.com>
5567 * jm-macros.m4 (AC_CHECK_FUNCS): Check for getpagesize.
5569 1999-05-22 Jim Meyering <meyering@ascend.com>
5571 * jm-macros.m4 (AC_REPLACE_FUNCS): Add memchr.
5573 1999-05-20 Jim Meyering <meyering@ascend.com>
5575 * search-libs.m4 [AC_SEARCH_LIBS]: Quote name in undefine.
5576 Add a colon after each `then' in case $4 is empty.
5578 1999-05-16 Jim Meyering <meyering@ascend.com>
5580 * search-libs.m4: New file to override autoconf's AC_SEARCH_LIBS.
5582 1999-05-10 Jim Meyering <meyering@ascend.com>
5584 * jm-mktime.m4: Reflect renaming: AM_FUNC_MKTIME -> AC_FUNC_MKTIME.
5586 * jm-macros.m4: Require 2.14.1, since we use newly-renamed
5589 1999-05-10 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5591 * jm-mktime.m4, putenv.m4: Fix typos in config.h comments.
5593 1999-05-04 Paul Eggert <eggert@twinsun.com>
5595 * lfs.m4 (AC_LFS): -n32, -o32, and -n64 should be in CFLAGS,
5596 not CPPFLAGS, so that linking works correctly in IRIX.
5598 1999-04-30 Paul Eggert <eggert@twinsun.com>
5600 * jm-macros.m4 (AC_REPLACE_FUNCS): Add dup2.
5602 1999-04-20 Jim Meyering <meyering@ascend.com>
5604 * xstrtoumax.m4: Require jm_AC_TYPE_UNSIGNED_LONG_LONG.
5605 AC_REPLACE xstroull if necessary. From Paul Eggert.
5606 (AC_CHECK_FUNCS): Remove strtoull, strtoumax, strtouq.
5608 1999-04-20 Paul Eggert <eggert@twinsun.com>
5610 * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Move unsigned long
5611 long check into new jm_AC_TYPE_UNSIGNED_LONG_LONG macro.
5612 * jm-macros.m4 (jm_CHECK_ALL_TYPES): Require
5613 jm_AC_TYPE_UNSIGNED_LONG_LONG.
5614 * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): New file/macro.
5616 * lfs.m4: Port to AIX and HP-UX. Support cross-compilation.
5618 1999-04-18 Jim Meyering <meyering@ascend.com>
5620 * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): New file/macro.
5621 * jm-macros.m4: Use it.
5623 1999-04-06 Jim Meyering <meyering@ascend.com>
5625 * strftime.m4: Remove test for %f.
5627 1999-03-29 Jim Meyering <meyering@ascend.com>
5629 * jm-macros.m4 (jm_CHECK_ALL_TYPES): New macro, contains the
5630 superset of the AC_TYPE_* checks in the textutils, fileutils,
5631 and sh-utils, plus AC_TYPE_PID_T. Paul Eggert suggested adding
5634 1999-03-28 Jim Meyering <meyering@ascend.com>
5636 * jm-macros.m4: Define GNU_PACKAGE here.
5637 Be sure to AC_SUBST it, once again, so that @GNU_PACKAGE@ is
5638 replaced e.g., in the *.sh files of the sh-utils.
5640 1999-03-20 Jim Meyering <meyering@ascend.com>
5642 * jm-macros.m4: s/jm_WITH_REGEX/jm_INCLUDED_REGEX/.
5643 * regex.m4 (jm_INCLUDED_REGEX): Rename from jm_WITH_REGEX.
5644 Don't depend on AM_GLIBC. Suggestions from Alain Magloire.
5646 1999-03-19 Jim Meyering <meyering@ascend.com>
5648 * jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): New macro.
5650 1999-03-12 Jim Meyering <meyering@ascend.com>
5652 * jm-macros.m4: Use AC_FUNC_SETVBUF_REVERSED.
5654 1999-03-07 Jim Meyering <meyering@ascend.com>
5656 * jm-glibc-io.m4: Use only those *_unlocked macros that are declared.
5658 1999-02-17 Jim Meyering <meyering@ascend.com>
5660 * gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets
5661 in macro definition. From Eli Zaretskii and Alain Magloire.
5663 1999-02-07 Jim Meyering <meyering@ascend.com>
5665 * group-member.m4: New file -- extracted from sh-utils' configure.in.
5667 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il>
5668 * gettext.m4: Support DOS-style d:/foo/bar absolute file names.
5670 1999-02-06 Jim Meyering <meyering@ascend.com>
5672 * chown.m4: Use `AC_SUBST(LIBOBJS)' since we set LIBOBJS.
5673 * fnmatch.m4: Likewise.
5674 * getgroups.m4: Likewise.
5675 * lstat.m4: Likewise.
5676 * malloc.m4: Likewise.
5677 * putenv.m4: Likewise.
5678 * realloc.m4: Likewise.
5679 * regex.m4: Likewise.
5680 * stat.m4: Likewise.
5681 * strftime.m4: Likewise.
5682 Suggestion from Alain Magloire.
5684 * chown.m4: Use `.$ac_objext', not `.o'.
5685 * fnmatch.m4: Likewise.
5686 * getgroups.m4: Likewise.
5687 * getline.m4: Likewise.
5688 * lstat.m4: Likewise.
5689 * malloc.m4: Likewise.
5690 * memcmp.m4: Likewise.
5691 * putenv.m4: Likewise.
5692 * realloc.m4: Likewise.
5693 * regex.m4: Likewise.
5694 * stat.m4: Likewise.
5695 * strftime.m4: Likewise.
5696 Suggestion from Alain Magloire.
5698 * jm-macros.m4: Actually invoke jm_WITH_REGEX now that it requires
5701 * regex.m4: Add a run-time Test for proper operation of
5704 1999-01-31 Jim Meyering <meyering@ascend.com>
5706 * getloadavg.m4: Check for locale.h and the function, setlocale.
5708 1999-01-30 Jim Meyering <meyering@ascend.com>
5710 * check-type.m4: Use 3-arg form of AC_DEFINE.
5712 * jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME
5713 rather than my private copy, now that the official one is up to date.
5714 * mktime.m4: Remove file.
5716 * getloadavg.m4: Use 3-arg form of AC_DEFINE.
5717 * uptime.m4: Likewise.
5718 * uintmax_t.m4: Likewise.
5720 1999-01-28 Jim Meyering <meyering@ascend.com>
5722 * jm-macros.m4: Use jm_AFS.
5723 * afs.m4: New file (from fileutils' configure.in).
5725 * assert.m4: Use the 3-argument forms of AC_DEFINE* macros.
5726 * chown.m4: Likewise.
5727 * d-ino.m4: Likewise.
5728 * d-type.m4: Likewise.
5729 * fnmatch.m4: Likewise.
5730 * getgroups.m4: Likewise.
5731 * gettext.m4: Likewise.
5732 * jm-mktime.m4: Likewise.
5733 * jm-winsz2.m4: Likewise.
5734 * lcmessage.m4: Likewise.
5735 * ls-mntd-fs.m4: Likewise.
5736 * malloc.m4: Likewise.
5737 * memcmp.m4: Likewise.
5738 * putenv.m4: Likewise.
5739 * realloc.m4: Likewise.
5740 * st_mtim.m4: Likewise.
5741 * strftime.m4: Likewise.
5743 1999-01-16 Jim Meyering <meyering@ascend.com>
5745 * jm-macros.m4 (ARGMATCH_DIE): Define.
5746 (ARGMATCH_DIE_DECL): Define.
5748 1999-01-12 Jim Meyering <meyering@ascend.com>
5750 * Makefile.am.in: Rewrite to avoid using fmt.
5751 Reported by Lars Hecking.
5753 1999-01-10 Jim Meyering <meyering@ascend.com>
5755 * fstypename.m4: Use the new 3-arg form of AC_DEFINE instead of my
5757 * inttypes_h.m4: Likewise.
5758 * lstat.m4: Likewise.
5759 * malloc.m4: Likewise.
5760 * readdir.m4: Likewise.
5761 * realloc.m4: Likewise.
5762 * st_dm_mode.m4: Likewise.
5763 * stat.m4: Likewise.
5764 * utimbuf.m4: Likewise.
5765 * utimes.m4: Likewise.
5767 * check-decl.m4: Use the new 3-arg form of AC_DEFINE instead of the
5768 AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
5769 comments in config.h.in are meaningful.
5771 * jm-macros.m4: Require autoconf-2.13 here.
5773 * regex.m4: By default, don't use the included regex.c on systems
5774 with glibc 2. Suggestion from Uli Drepper.
5776 1999-01-02 Jim Meyering <meyering@ascend.com>
5778 * jm-macros.m4: Replace strcasecmp and strncasecmp.
5780 1998-12-18 Jim Meyering <meyering@ascend.com>
5782 * Makefile.am.in (Makefile.am): Simplify rule.
5783 Based on a suggestion from Lars Hecking.
5785 1998-11-16 Jim Meyering <meyering@ascend.com>
5787 * lfs.m4: Double-quote the `uname...` expression.
5789 1998-11-16 Paul Eggert <eggert@twinsun.com>
5791 * lfs.m4 (AC_LFS): Add support for HP-UX 10.20 and HP-UX 11.
5793 1998-11-14 Jim Meyering <meyering@ascend.com>
5795 * lstat.m4: Correct comment. POSIX does not permit it to succeed.
5796 * stat.m4: Likewise.
5798 1998-11-03 Jim Meyering <meyering@ascend.com>
5800 * stat.m4: Rewrite to set HAVE_STAT_EMPTY_STRING_BUG.
5801 * lstat.m4: Rewrite to set HAVE_LSTAT_EMPTY_STRING_BUG.
5803 1998-10-18 Jim Meyering <meyering@ascend.com>
5805 * check-decl.m4 (jm_CHECK_DECL_LOCALTIME_R): Remove macro.
5807 1998-10-17 Jim Meyering <meyering@ascend.com>
5809 * decl.m4 (jm_CHECK_DECLARATION): Don't hard-code which headers to
5810 include, though we still hard-code the `require'-like AC_CHECK_HEADERS
5811 calls for those previously hard-coded headers. Instead, take a new
5813 (jm_CHECK_DECLARATIONS): Reflect interface change.
5814 * check-decl.m4 (jm_CHECK_DECLS): Likewise.
5815 (jm_CHECK_DECL_LOCALTIME_R): New macro.
5817 * mktime.m4: Test for spring-forward gap before long-running test.
5819 1998-10-14 Jim Meyering <meyering@ascend.com>
5821 * mktime.m4: Use the more portable "TZ=PST8PDT,M4.1.0,M10.5.0"
5822 instead of "TZ=America/Vancouver". From Paul Eggert.
5824 1998-10-11 Jim Meyering <meyering@ascend.com>
5826 * mktime.m4 (jm_AM_FUNC_MKTIME): New file and macro.
5827 This adds a test for a recently added compatibility fix for mktime.c.
5828 * jm-mktime.m4: Require jm_AM_FUNC_MKTIME, not AM_FUNC_MKTIME.
5830 1998-09-27 Jim Meyering <meyering@ascend.com>
5832 * jm-macros.m4 (jm_MACROS): Require jm_FUNC_FNMATCH.
5834 * fnmatch.m4 (jm_FUNC_FNMATCH): New file/macro. Extracted from
5835 ../configure.in, including a change from Gordon Matzigkeit to allow
5836 cross-compiling for the Hurd.
5838 * glibc.m4: New file/macro to test for the GNU C Library
5839 versions 1 and 2. From Gordon Matzigkeit.
5842 1998-09-21 Jim Meyering <meyering@ascend.com>
5844 * chown.m4: Declare locals: before, after. From Andries Brouwer.
5846 1998-08-18 Paul Eggert <eggert@twinsun.com>
5848 Port nanosecond-resolution times to UnixWare 2.1.2 and
5849 pedantic Solaris 2.6.
5851 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC): Renamed from
5853 * st_mtim.m4 (AC_STRUCT_ST_MTIM_NSEC):
5854 Generate name of ns member, instead of just 1 or undef.
5855 Allow for UnixWare 2.1.2 and Solaris 2.6 if in pedantic mode.
5857 1998-08-15 Jim Meyering <meyering@ascend.com>
5859 * ssize_t.m4 (jm_TYPE_SSIZE_T): Remove file.
5860 * check-type.m4: New file. Replacement for AC_CHECK_TYPE.
5861 * jm-macros.m4: Use the new AC_CHECK_TYPE(ssize_t, int)
5862 instead of jm_TYPE_SSIZE_T.
5864 1998-08-12 Jim Meyering <meyering@ascend.com>
5866 * st_dm_mode.m4: New file. From Johan Danielsson.
5868 1998-08-02 Jim Meyering <meyering@ascend.com>
5870 * st_mtim.m4: Use hack to avoid having to put #undef HAVE_ST_MTIM
5871 in acconfig.h manually.
5873 1998-07-31 Paul Eggert <eggert@twinsun.com>
5875 * st_mtim.m4: New file.
5877 1998-07-28 Jim Meyering <meyering@ascend.com>
5879 * utimes.m4: Undef stat.
5881 1998-07-25 Jim Meyering <meyering@ascend.com>
5883 * utime.m4 (jm_FUNC_UTIME): New file and macro.
5884 * utimes.m4 (jm_FUNC_UTIMES_NULL): New file and macro.
5886 1998-07-09 Manfred Hollstein <manfred@s-direktnet.de>
5888 * chown.m4 (jm_FUNC_CHOWN): Add a check to verify that the
5889 uid and gid actually remain unchanged.
5891 1998-07-07 Jim Meyering <meyering@ascend.com>
5893 * jm-glibc-io.m4: Remove fclose_unlocked.
5895 1998-07-04 Jim Meyering <meyering@ascend.com>
5897 * regex.m4: Use syscmd, ifelse, and sysval. Mainly as an exercise
5898 to prove that this macro can be used in packages without regex.c.
5900 1998-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5902 * gettext.m4 (AM_WITH_NLS): Remove intl/libintl.h if <libintl.h>
5905 1998-07-03 Jim Meyering <meyering@ascend.com>
5907 * gettext.m4: Add -lintl if it's found to be necessary.
5909 * gettext.m4: New file -- from gettext-0.10.35.
5910 * lcmessage.m4: Likewise.
5911 * progtest.m4: Likewise.
5913 * regex.m4 (jm_WITH_REGEX): New file and macro.
5914 * jm-macros.m4: Require the new macro.
5916 1998-06-29 Jim Meyering <meyering@ascend.com>
5918 * fstypename.m4: Include sys/param.h. NetBSD 1.3.1 requires this
5919 for the definition of NGROUPS (used in a system header included
5922 1998-06-28 Jim Meyering <meyering@ascend.com>
5924 * ls-mntd-fs.m4: New file.
5925 * fstypename.m4: New file.
5927 * jm-macros.m4: Require the new macro.
5928 * jm-glibc-io.m4: New file.
5930 1998-05-19 Jim Meyering <meyering@ascend.com>
5932 * jm-macros.m4: Add jm_FUNC_LCHOWN.
5933 * lchown.m4: New file.
5935 * Makefile.am.in: New file.
5936 * Makefile.am (Makefile.am): Depend on Makefile.am.in.
5938 1998-05-14 Jim Meyering <meyering@ascend.com>
5940 * Makefile.am (EXTRA_DIST): Add them.
5941 * jm-macros.m4: New file.
5942 * utimbuf.m4: New file.
5944 1998-05-12 Jim Meyering <meyering@ascend.com>
5946 * Makefile.am (EXTRA_DIST): Add isc-posix.m4.
5948 1998-05-11 Jim Meyering <meyering@ascend.com>
5950 * isc-posix.m4: New file.
5952 1998-05-10 Jim Meyering <meyering@ascend.com>
5954 * jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date.
5956 1998-05-09 Jim Meyering <meyering@ascend.com>
5958 * Makefile.am (EXTRA_DIST): Add ssize_t.m4.
5959 (EXTRA_DIST): Remove mktime.m4, now that the new version is included
5962 * ssize_t.m4: New file.
5963 * mktime.m4: Remove file -- the new automake has this now.
5965 1998-04-26 Jim Meyering <meyering@ascend.com>
5967 * assert.m4: New file.
5968 * Makefile.am (EXTRA_DIST): Add assert.m4.
5970 1998-04-05 Jim Meyering <meyering@ascend.com>
5972 * prereq.m4 (jm_PREREQ_REGEX): New macro.
5973 (jm_PREREQ): Use it here.
5975 1998-03-23 Jim Meyering <meyering@eng.ascend.com>
5977 * inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H
5980 1998-03-15 Jim Meyering <meyering@eng.ascend.com>
5982 * prereq.m4: New file.
5983 * error.m4: New file.
5984 * Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4.
5986 1998-02-07 Jim Meyering <meyering@eng.ascend.com>
5988 * getline.m4: Don't set am_cv_func_working_getline before the
5989 cache-check for the same variable -- that defeated the purpose of
5990 the test; the test program was never run. This was a problem only
5991 on systems with losing getline functions -- HP-UX 10.20 is one.
5992 Reported by Bjorn Helgaas.
5994 1998-02-06 Jim Meyering <meyering@eng.ascend.com>
5996 * Makefile.am (EXTRA_DIST): Add perl.m4.
5998 1998-01-10 Jim Meyering <meyering@na-net.ornl.gov>
6000 * Makefile.am (EXTRA_DIST): Add const.m4.
6002 * const.m4: New file. Use an initializer in this declaration
6003 typedef int charset[2]; const charset x;
6004 Reported by Bob Glickstein.
6006 1997-12-21 Jim Meyering <meyering@na-net.ornl.gov>
6008 * chown.m4: Fix reversed types on -1 args to chown.
6011 1997-12-14 Jim Meyering <meyering@na-net.ornl.gov>
6013 * check-decl.m4: s/DECLARATION_/DECL_/g.
6014 Add lseek and memchr.
6016 * decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g.
6017 T.E.Dickey <dickey@clark.net> said that some older preprocessors
6018 have a 20-character limit on names.
6020 1997-11-30 Jim Meyering <meyering@na-net.ornl.gov>
6022 * inttypes_h.m4: New file.
6023 * uintmax_t.m4: New file.
6024 * Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
6026 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6027 Free Software Foundation, Inc.
6028 Copying and distribution of this file, with or without modification,
6029 are permitted provided the copyright notice and this notice are preserved.