Commit Graph

2824 Commits

Author SHA1 Message Date
Paul Eggert
73742c2566 New file, introduced for shuf, sort -R, and/or shred. 2006-08-08 22:22:47 +00:00
Paul Eggert
36ed13bc2f (gl_TIME_R): Use AC_C_RESTRICT, not
gl_C_RESTRICT, since we assume recent Autoconf.
2006-08-08 22:17:56 +00:00
Paul Eggert
14f6099f6e (gl_PREREQ_REGEX): Use AC_C_RESTRICT, not gl_C_RESTRICT, since we
assume recent Autoconf.
2006-08-08 22:17:20 +00:00
Paul Eggert
2409478e37 (gl_PREREQ): Require gl_MEMXFRM, gl_RANDINT, gl_RANDPERM,
gl_RANDREAD.
2006-08-08 22:16:51 +00:00
Paul Eggert
a7537e5f07 (gl_PREREQ_GETADDRINFO): Use AC_C_RESTRICT, not
gl_C_RESTRICT, since we assume recent Autoconf.
2006-08-08 22:16:18 +00:00
Paul Eggert
e718c61a7c Split closeout into close-stream and closeout. 2006-07-22 22:28:53 +00:00
Paul Eggert
2df2295d68 Initial revision. 2006-07-22 22:26:04 +00:00
Paul Eggert
0971f7f44a (gl_PREREQ): Require gl_CLOSE_STREAM. 2006-07-22 22:23:43 +00:00
Paul Eggert
628c7baa85 chmod, install, and mkdir now leave setgid and setuid bits
of directories alone unless you specify them explicitly.
install and mkdir now implement X correctly.
install now creates parent directories with mode 755, without
changing their owner or group.
2006-07-17 03:13:14 +00:00
Paul Eggert
c09c4070ff (gl_PREREQ): Require gl_MKANCESDIRS. 2006-07-17 03:09:09 +00:00
Paul Eggert
6060142d89 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h.
Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed.
Require gl_FUNC_LCHOWN, since dirchownmod.c needs it.
2006-07-17 03:08:42 +00:00
Paul Eggert
1d5f7fa081 Remove; no longer needed. 2006-07-17 03:08:18 +00:00
Paul Eggert
b2bc8fd0fd (gl_MACROS): Remove gl_AFS. 2006-07-17 03:08:04 +00:00
Paul Eggert
f25ddb12c6 Initial version. 2006-07-17 03:05:23 +00:00
Paul Eggert
2b6236d156 Sync from gnulib. 2006-07-11 17:19:48 +00:00
Paul Eggert
888ee9b8d9 (gl_STDINT_H): Like yesterday's change to
absolute-header.m4.  Also, set ABSOLUTE_STDINT_H to a string
"no/such/file/stdint.h" when there is no such file, so that
the resulting C code can be parsed by dodgy compilers.
Problems reported by Bob Proulx.
2006-07-11 03:29:56 +00:00
Paul Eggert
6e1e9cd9b4 (gl_ABSOLUTE_HEADER): Use "" rather than <>
around the absolute name, to work around a problem with the HP-UX
11.23 native C compiler, reported by Bob Proulx.
2006-07-10 04:37:33 +00:00
Paul Eggert
fbb436b3f8 Update from gnulib. 2006-07-09 16:59:35 +00:00
Jim Meyering
7d65513654 * regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment. 2006-07-08 12:08:59 +00:00
Jim Meyering
00318b60c9 * link-follow.m4: Remove one of two adjacent "whether"s in a comment. 2006-07-08 11:28:05 +00:00
Jim Meyering
7ea443fa86 Remove one of two adjacent "your"s in a comment. 2006-07-08 11:27:07 +00:00
Jim Meyering
a3752970c9 Remove one of two adjacent "can"s in a comment. 2006-07-08 11:25:18 +00:00
Jim Meyering
ab4ed7f7f1 Really add wcwidth.m4. 2006-07-04 07:17:34 +00:00
Paul Eggert
6a97405672 Sync from gnulib. 2006-07-04 05:39:07 +00:00
Paul Eggert
8e19f6282b Sync from gnulib. Also:
(gt_FUNC_SETENV): Undo private change that added an
AC_LIBSOURCES line here, since Bruno didn't buy it back.  Instead,
update ../lib/Makefile.am to mention the files explicitly.
2006-07-04 05:38:32 +00:00
Paul Eggert
d380605f01 (gl_PREREQ): Require gl_FUNC_WCWIDTH, to accommodate
sync from gnulib.
2006-07-04 05:37:58 +00:00
Jim Meyering
c4a674722c *** empty log message *** 2006-07-03 07:42:30 +00:00
Jim Meyering
f483ac253e (gl_FUNC_FTRUNCATE): Adjust diagnostic to recommend
./configure SKIP_FTRUNCATE_CHECK=yes, rather than env ... ./configure.
Suggestion from Ralf Wildenhues.
2006-07-03 07:42:27 +00:00
Paul Eggert
2789dcc1b9 (gl_STDINT_H): Use more-mnemonic identifiers for
test cases, so that config.log is a bit easier to follow.
2006-07-02 09:14:28 +00:00
Jim Meyering
85e93ac1bf *** empty log message *** 2006-07-02 08:29:30 +00:00
Jim Meyering
b1f0257390 New file, from gnulib. Required by stdint.m4. 2006-07-02 08:29:26 +00:00
Paul Eggert
047839ffb4 Sync stdint module from gnulib. 2006-07-02 07:08:50 +00:00
Jim Meyering
8939a957c7 *** empty log message *** 2006-07-01 06:44:22 +00:00
Paul Eggert
69f1a97138 seq defaults to a minimal fixed point format that does not lose
information if seq's operands are all fixed point decimal numbers.
You no longer need the `-f%.f' in `seq -f%.f 1048575 1024 1050623',
for example, since the default format now has the same effect.

seq now lets you use %a, %A, %E, %F, and %G formats.

seq now uses long double internally rather than double.
2006-07-01 00:11:23 +00:00
Paul Eggert
507aaa0037 (gl_C_STRTOLD): Add c-strtod.c to LIBSOURCES.
Require gl_USE_SYSTEM_EXTENSIONS, not gl_C_STRTOD, since we don't
want to require the building of c-strtod.o.
2006-07-01 00:08:56 +00:00
Paul Eggert
6b2cf24aac (cu_LIB_CHECK): Remuve SEQ_LIBM, since seq no longer
needs -lm directly.
2006-07-01 00:08:31 +00:00
Paul Eggert
0f39955197 (gl_PREREQ): Require gl_C_STRTOD and gl_XSTRTOLD. 2006-07-01 00:08:05 +00:00
Paul Eggert
1d30cbe7df (gl_XSTRTOLD): New macro. 2006-07-01 00:07:48 +00:00
Jim Meyering
2e63aaa8a9 From Derek R. Price:
* lib/strftime.c: Assume strftime exists.
* m4/strftime.m4: Don't call AC_FUNC_STRFTIME.
2006-06-29 21:45:51 +00:00
Paul Eggert
699d9c460e * savedir.m4: Remove AC_FUNC_CLOSEDIR_VOID requirement. 2006-06-28 22:24:14 +00:00
Paul Eggert
3eaec256b7 Fix attribution again. 2006-06-28 22:04:56 +00:00
Paul Eggert
d54ac21e44 Fix attribution for last patch. 2006-06-28 22:04:12 +00:00
Paul Eggert
41872b2d6b Don't require AC_C_CONST, since it's obsolete.
Require Autoconf 2.60.
2006-06-28 22:00:33 +00:00
Paul Eggert
c1f8b7eba9 (gl_FUNC_GNU_STRFTIME): Don't require AC_C_CONST, since it's obsolete. 2006-06-28 22:00:13 +00:00
Paul Eggert
84ab5b148f (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since it's obsolete. 2006-06-28 21:59:41 +00:00
Paul Eggert
4333e76636 (gl_CHECK_ALL_TYPES): Don't require AC_C_CONST, since it's obsolete. 2006-06-28 21:59:07 +00:00
Paul Eggert
c88873d3a4 (gl_IGNORE_UNUSED_LIBRARIES):
Use -Wl,--as-needed, not bare --as-needed, since HP-UX 11.11
cc merely issues a bunch of annoying warnings for --as-needed
(this problem was reported by Bob Proulx).  Also, try linking with
-lm to detect a bug in binutils 2.16 (this problem was reported
by Ralf Wildenhues).
2006-06-20 05:59:16 +00:00
Paul Eggert
050ec5cb29 (gl_IGNORE_UNUSED_LIBRARIES): Prefer binutils's
--as-needed option if available.
2006-06-19 07:19:00 +00:00
Jim Meyering
48d2f62213 Test for a bug that causes glibc's getcwd to suffer a failed assertion.
* getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro.
* getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null,
also check for glibc-2.4's abort-inducing bug.
2006-06-18 21:52:03 +00:00
Jim Meyering
bf24627b4f * getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Fix typo.
Low-probability clean-up should be to use rmdir to get rid of
the just-created directory, not unlink.
2006-06-18 14:29:29 +00:00
Jim Meyering
0399d3ff5f * ftruncate.m4 (gl_FUNC_FTRUNCATE): If ftruncate is missing, make
configure fail, and request a bug report to inform us about it.
Add a comment that, barring reports to the contrary, in 2007 we'll
assume ftruncate is universally available.
2006-06-18 14:00:34 +00:00
Jim Meyering
a8ee9bcfb3 Apply this change from gnulib:
2006-05-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
	    Bruno Haible  <bruno@clisp.org>

* strndup.m4 (gl_FUNC_STRNDUP): Replace the AC_REPLACE_FUNCS with a
check for the declaration of strnlen and a run test that exposes the
AIX 5.1 strnlen bug.  In the failure case, #define strndup to
rpl_strndup.
2006-06-10 09:01:41 +00:00
Paul Eggert
59985f42e6 (gl_C99_STRTOLD): Use a link test rather than a
compile test, for Tru64 4.0D.
2006-05-28 09:16:57 +00:00
Jim Meyering
066e22e537 *** empty log message *** 2006-05-24 07:35:32 +00:00
Jim Meyering
850b999dbb Require autoconf-2.59d, for its fixed version
of AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
2006-05-24 07:35:28 +00:00
Paul Eggert
86873e5082 Sync nanosleep from gnulib. 2006-05-19 18:03:25 +00:00
Paul Eggert
48138763f0 (AC_HEADER_STDBOOL): Fix overly-picky
test for C99 conformance; (bool) 0.5 is an integer constant
expression, but (bool) -0.5 is not.  Problem reported by Fedor
Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>.
2006-05-15 03:17:08 +00:00
Jim Meyering
aa02687360 *** empty log message *** 2006-05-06 14:17:31 +00:00
Jim Meyering
8b13a959ae (gl_GETADDRINFO): Fix caching error. 2006-05-06 14:17:21 +00:00
Paul Eggert
9f0b994993 Remove typo in previous checkin. 2006-04-24 17:51:56 +00:00
Paul Eggert
d02ad57764 * unlink-busy.m4 (gl_FUNC_UNLINK_BUSY_TEXT): Use prototype
to define main with arguments, for C++.  Reported by Eric Blake.
* c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC):
Prefer 'int main ()' to 'int main (void)', for C++.
* getcwd-path-max.m4 (gl_FUNC_GETCWD_PATH_MAX): Likewise.
* fsusage.m4 (gl_FILE_SYSTEM_USAGE): Specify a return type
for 'main', for C99 and C++.
2006-04-24 17:50:24 +00:00
Paul Eggert
779532f556 Don't assume that 'exit' is declared for us.
Don't assume that you can exit with status -1.
(import from gnulib)
2006-04-24 07:40:00 +00:00
Paul Eggert
ae5252e393 Document filemode changes. 2006-04-17 23:24:49 +00:00
Paul Eggert
54cf93b996 (gl_FILEMODE): Check for strmode declaration. 2006-04-17 23:22:16 +00:00
Paul Eggert
e0637b5b68 Port to Interix. 2006-04-12 20:15:30 +00:00
Paul Eggert
cec6e43aae (gl_MACROS): Check for setgroups and sync, since they
are not in Interix.
2006-04-12 20:13:34 +00:00
Paul Eggert
f666da6f32 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h. 2006-04-12 07:11:52 +00:00
Paul Eggert
72021730a8 Import latest regex module from gnulib. 2006-04-10 06:46:07 +00:00
Jim Meyering
fa9be79b41 *** empty log message *** 2006-03-26 12:30:45 +00:00
Jim Meyering
3c7ab9f144 (gl_DIRNAME): Use gl_DOUBLE_SLASH_ROOT. 2006-03-26 12:30:37 +00:00
Jim Meyering
d5a462a196 (FILE_SYSTEM_PREFIX_LEN): Move from here to dirname.h.
(FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE): New define.
2006-03-26 12:30:07 +00:00
Jim Meyering
665ede556d new file from Eric Blake 2006-03-26 12:22:44 +00:00
Paul Eggert
14c720faab (gl_REGEX): Fix a longstanding typo in the
implementation of Spencer ERE test #75 from grep 2.3.  Problem
reported by Emanuele Giaquinta.  Also, change sense of cached
variable, so that the message makes sense.
2006-03-25 09:49:24 +00:00
Paul Eggert
cd70d37ee3 (gl_REGEX): Don't insist on REG_SYNTAX_POSIX_EGREP,
REG_SYNTAX_EMACS, and REG_IGNORE_CASE.  Settle for the traditional
glibc names.
2006-03-25 09:10:28 +00:00
Jim Meyering
ca29b9b803 *** empty log message *** 2006-03-17 10:12:37 +00:00
Jim Meyering
9589cc5c57 (gl_REGEX): Fix typo in last change:
s/_REGEX_WIDE_OFFSETS/_REGEX_LARGE_OFFSETS/.
2006-03-17 10:07:28 +00:00
Paul Eggert
7202bc0610 regex fixes for future POSIX and --without-included-regex. 2006-03-17 07:35:25 +00:00
Paul Eggert
f7bc3c2bfc (gl_REGEX): Don't check for off_t, since the code
no longer needs it.  Instead, check that regoff_t is as least
as wide as ptrdiff_t.

Don't define _REGEX_WIDE_OFFSETS unless using the included regex,
so that our regex.h stays compatible with the installed regex.
This is helpful for installers who configure --without-included-regex.
Problem reported by Emanuele Giaquinta.
2006-03-17 07:33:06 +00:00
Jim Meyering
b1bb68d5b1 *** empty log message *** 2006-03-12 22:05:18 +00:00
Jim Meyering
435f331bee (gl_ROOT_DEV_INO): Add same-inode.h to the list. 2006-03-12 22:05:12 +00:00
Jim Meyering
a0d7555ba0 *** empty log message *** 2006-03-12 21:50:12 +00:00
Jim Meyering
9dbfaca637 (gl_SAME): Add same-inode.h to the list. 2006-03-12 21:49:48 +00:00
Jim Meyering
34401c51f9 (gl_CYCLE_CHECK): Add same-inode.h to the list. 2006-03-12 21:48:52 +00:00
Jim Meyering
eb5f5d091d (gl_CHDIR_SAFER): Add same-inode.h to the list. 2006-03-12 20:46:36 +00:00
Paul Eggert
66314b605e Add time_r.m4. 2006-03-12 08:07:09 +00:00
Paul Eggert
c9d6c40b73 (gl_PREREQ): Require gl_TIME_R. 2006-03-12 08:06:49 +00:00
Paul Eggert
13431ec5b0 New file, from gnulib. 2006-03-12 08:04:42 +00:00
Paul Eggert
cdf8e464b0 Require gl_USE_SYSTEM_EXTENSIONS, not merely AC_GNU_SOURCE, for the
benefit of Solaris 10 when compiled pedantically.
2006-03-02 07:37:12 +00:00
Paul Eggert
d124b35e42 (gl_USE_SYSTEM_EXTENSIONS): Use "=" with "test", not "==". 2006-03-02 03:42:49 +00:00
Jim Meyering
b16a67a7c9 *** empty log message *** 2006-02-24 07:24:24 +00:00
Jim Meyering
963120cb52 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and gl_CHDIR_SAFER. 2006-02-24 07:24:18 +00:00
Paul Eggert
4492bcd9ef Sync from gnulib. 2006-02-16 23:34:00 +00:00
Paul Eggert
05e61daca4 Sync from gnulib. 2006-02-14 23:08:59 +00:00
Jim Meyering
cabedb13fd *** empty log message *** 2006-02-07 09:21:27 +00:00
Paul Eggert
3ff73ab0a9 (gl_USE_SYSTEM_EXTENSIONS): Don't #define
__EXTENSIONS__ if this causes compilation to fail.
2006-02-06 05:22:12 +00:00
Paul Eggert
da953b9d22 Sync stdbool from gnulib. 2006-01-26 21:01:56 +00:00
Paul Eggert
a768b3ebec Merge stdbool from gnulib; we're still not quite there yet. 2006-01-25 18:32:46 +00:00
Paul Eggert
f3c2752caa (AC_HEADER_STDBOOL): Add some comments. 2006-01-25 18:31:56 +00:00
Jim Meyering
b11079e168 *** empty log message *** 2006-01-24 19:14:07 +00:00
Jim Meyering
1f6beea8e9 (gl_FUNC_OPENAT): Add AC_LIBSOURCES([intprops.h]).
Reported by Mark D. Baushke.
2006-01-24 19:13:41 +00:00
Paul Eggert
a30a9a3ec4 Import from gnulib. 2006-01-24 07:52:03 +00:00
Paul Eggert
4393cb56ca * lib-ignore.m4 (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
rather than -Xlinker -z -Xlinker ignore, as it's more portable.
2006-01-21 07:59:38 +00:00
Paul Eggert
5a85d9f93f (gl_IGNORE_UNUSED_LIBRARIES): Use -Wl,-z,ignore
rather than -Xlinker -z -Xlinker ignore, as it's more portable.
2006-01-21 07:59:22 +00:00
Jim Meyering
debc171df3 *** empty log message *** 2006-01-17 17:27:32 +00:00
Jim Meyering
b517279580 (gl_FUNC_FTS_CORE): Depend on gl_FUNC_OPENAT. 2006-01-17 17:27:27 +00:00
Paul Eggert
739de8914f (gl_IGNORE_UNUSED_LIBRARIES): Don't use ldd, as it's not portable
and it doesn't work with cross-compiles.  Fix missing-$ typo in 'test
"gl_cv_ignore_unused_libraries" ...' that prevented -zignore from being
used with Sun's C compiler.
2006-01-17 07:21:48 +00:00
Jim Meyering
153a886d6d *** empty log message *** 2006-01-13 13:35:31 +00:00
Jim Meyering
6c1675394f (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent)
unconditionally so that tests of $ac_cv_func_getmntent (e.g., in
gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses that variable,
to accommodate the rare case in which getmntent is available in none
of the libraries checked.  This happens at least on FreeBSD 5.0.
2006-01-13 13:35:26 +00:00
Jim Meyering
e4c3f364f3 fix typo: s/stdint.h.m4/stdint.m4/ 2006-01-12 07:48:36 +00:00
Jim Meyering
e9a7b49342 from gnulib 2006-01-12 07:45:26 +00:00
Paul Eggert
518d041db8 Adjust to md5 changes in gnulib, and make sha1 etc. more consistent
with md5.
2006-01-12 07:19:50 +00:00
Paul Eggert
59a8b22268 (gl_PREREQ): Require gl_STDINT_H. 2006-01-12 07:19:00 +00:00
Jim Meyering
dc15b27c50 *** empty log message *** 2006-01-11 15:25:36 +00:00
Jim Meyering
32b8a61ecf (gl_FUNC_OPENAT): Require and compile fchmodat.c.
Check for the lchmod function.
2006-01-11 15:25:30 +00:00
Paul Eggert
b5284da0c0 Sync from gnulib. 2006-01-11 07:39:40 +00:00
Paul Eggert
d11af4159e Sync from gnulib. 2006-01-10 17:47:56 +00:00
Jim Meyering
0f07bd690c *** empty log message *** 2006-01-10 07:33:30 +00:00
Jim Meyering
c0ac40d98f Also include <stdio.h>, for Dragonfly.
Patch by Joerg Sonnenberger.
2006-01-10 07:33:22 +00:00
Paul Eggert
cbd0078fcf * lib-ignore.m4: New file. 2006-01-07 01:56:13 +00:00
Paul Eggert
56e7ad3001 Initial version. 2006-01-07 01:55:27 +00:00
Paul Eggert
c0dac69808 New approach to safer chmod. 2006-01-02 07:30:27 +00:00
Paul Eggert
bee93bd060 No longer used. 2006-01-02 07:18:30 +00:00
Paul Eggert
e59703a1d6 New file. 2006-01-02 06:34:32 +00:00
Paul Eggert
968bee81e8 (gl_MACROS): Require gl_FUNC_LCHMOD.
Don't require gl_CHDIR_SAFER.
2006-01-02 06:34:13 +00:00
Jim Meyering
3114855498 *** empty log message *** 2005-12-21 10:21:20 +00:00
Jim Meyering
9eb2e69d62 Require gl_CHDIR_SAFER. 2005-12-21 10:21:04 +00:00
Jim Meyering
457167610f . 2005-12-19 18:05:55 +00:00
Jim Meyering
1e4cd701dc Require gl_CHMOD_SAFER. 2005-12-19 18:05:11 +00:00
Jim Meyering
2eb8cbd948 *** empty log message *** 2005-12-17 10:30:13 +00:00
Jim Meyering
f69fb2f533 (AC_FUNC_ACL): Add POSIX ACL and Linux-specific acl tests. 2005-12-17 10:30:09 +00:00
Jim Meyering
b0cee61e23 *** empty log message *** 2005-12-14 20:37:24 +00:00
Jim Meyering
0d58d63090 *** empty log message *** 2005-12-14 20:36:20 +00:00
Jim Meyering
85fba4dc43 Require gl_FPRINTFTIME. 2005-12-14 20:36:14 +00:00
Paul Eggert
3463531cd0 One other stdbool.m4 change. 2005-12-14 01:17:51 +00:00
Paul Eggert
8bf7f49616 (AM_STDBOOL_H): Substitue HAVE__BOOL again, reverting
2005-11-25 change.
2005-12-14 01:17:28 +00:00
Paul Eggert
eaebfec990 (AC_HEADER_STDBOOL): Check for buggy compiler that
has _Bool but mishandles _Bool |= _Bool.
2005-12-13 19:41:57 +00:00
Paul Eggert
5ea987eade * lib/stat-time.h (STATE_TIMESPEC, STAT_TIMESPEC_NS): Add check for
TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC, to fix IRIX 5.3
porting problem reported by Georg Schwarz in
<http://lists.gnu.org/archive/html/bug-coreutils/2005-12/msg00083.html>.
* m4/stat-time.m4 (gl_STAT_TIME): Likewise.
2005-12-07 18:22:05 +00:00
Paul Eggert
448d523897 Mention change to jm-macros.m4. 2005-12-02 18:35:33 +00:00
Paul Eggert
6d28d2c738 (gl_MACROS): Adjust to renaming of gl_SOCKLEN_T to gl_TYPE_SOCKLEN_T. 2005-12-02 18:35:19 +00:00
Paul Eggert
48f08b4f53 Fix typo in previous log entry. 2005-12-02 18:23:42 +00:00
Paul Eggert
feb302b9f2 * (gl_TYPE_SOCKLEN_T): Renamed from gl_SOCKLEN_T.
Use implementation from Albert Chin, with some
comments/corrections by Stepan Kasal and myself.
2005-12-02 18:22:10 +00:00
Paul Eggert
76bebf24a5 Import from gnulib. 2005-12-02 00:42:52 +00:00
Paul Eggert
b3c0bca1f8 (gl_REGEX): Check whether off_t can be used in a switch
statement, to work around an HP-UX 10.20 compiler bug reported by
Peter O'Gorman.
2005-12-02 00:29:02 +00:00
Jim Meyering
46679371cb *** empty log message *** 2005-11-30 13:05:08 +00:00
Jim Meyering
ea2a4f2658 (gl_FUNC_OPENAT): Require openat-priv.h. 2005-11-30 13:05:03 +00:00
Jim Meyering
76b8c64505 *** empty log message *** 2005-11-30 12:38:05 +00:00
Jim Meyering
7214c0bf70 (gl_FUNC_OPENAT): Require and compile mkdirat.c. 2005-11-30 12:38:02 +00:00
Paul Eggert
fc0fa751c4 Log today's changes. 2005-11-26 07:53:39 +00:00
Paul Eggert
e05c20ea7a no longer needed.
(gl_STDBOOL_H): New macro, from gnulib.
(AC_HEADER_STDBOOL): Sync with gnulib.
2005-11-26 06:37:52 +00:00
Jim Meyering
2f6048508c *** empty log message *** 2005-11-20 18:54:09 +00:00
Jim Meyering
a2895948e9 Remove spurious space-before-TAB. 2005-11-20 18:52:15 +00:00
Jim Meyering
b99b6ac9ff *** empty log message *** 2005-11-20 14:07:13 +00:00
Jim Meyering
8b0e637515 (gl_EUIDACCESS_STAT): New file/macro. 2005-11-20 14:07:09 +00:00
Jim Meyering
c0c83656d2 *** empty log message *** 2005-11-20 08:28:05 +00:00
Jim Meyering
6ec2bc2d61 Require gl_EUIDACCESS_STAT. 2005-11-20 08:26:38 +00:00
Paul Eggert
efe0b59c14 * c.m4: New file. 2005-11-18 23:02:48 +00:00
Paul Eggert
761440da1b New file, to work around bugs in AIX cc.
Problem reported by James Lemley.  This file can go away
after Autoconf 2.60 comes out.
2005-11-18 23:02:32 +00:00
Paul Eggert
3afe2cd61c (gl_PREREQ_GETHRXTIME): Don't require AC_HEADER_TIME
or gettimeofday; no longer needed.
2005-11-10 20:21:07 +00:00
Paul Eggert
4c9fae6b88 gethrxtime now uses gettime 2005-11-10 20:20:51 +00:00
Paul Eggert
15d4c70e08 Trivial changes to support SCO systems. 2005-10-30 23:05:16 +00:00
Paul Eggert
a504db1780 (gl_FUNC_CHDIR_LONG): Check for MAXPATHLEN as well as PATH_MAX.
Revamp wording and local variables to suggest the intended function of
the PATH_MAX check.
2005-10-30 23:04:55 +00:00
Paul Eggert
3103c9009b (gl_FUNC_FPENDING): Correct check for SCO systems,
where __ptr is null when no I/O is pending.
2005-10-30 23:04:17 +00:00
Jim Meyering
b6b139e070 *** empty log message *** 2005-10-23 15:37:04 +00:00
Jim Meyering
d45f1b2d27 Add gl_SHA256 and gl_SHA512. 2005-10-23 15:37:00 +00:00
Jim Meyering
2c91d95619 . 2005-10-23 15:36:49 +00:00
Paul Eggert
bff08feb9b * stdbool.m4 (AC_HEADER_STDBOOL): Add an "#ifdef __xlc__" test. 2005-10-07 18:53:41 +00:00
Paul Eggert
25041cf0f9 (AC_HEADER_STDBOOL): Add an "#ifdef __xlc__" test,
since yesterday's attempt didn't work.
2005-10-07 18:53:20 +00:00
Paul Eggert
a0d42f7861 Generalize the patch for the AIX bool bug. 2005-10-06 16:42:22 +00:00
Paul Eggert
cb797070ce (AC_HEADER_STDBOOL): Check that bool
promotes to int, not unsigned int, to catch the AIX 5.3
compiler bug.
2005-10-06 16:40:36 +00:00
Jim Meyering
fbc02ac784 *** empty log message *** 2005-10-02 10:09:18 +00:00
Jim Meyering
1cf46dda93 (gl_FUNC_CHDIR_LONG): Compare $gl_have_path...
against `yes', rather than just testing for nonempty.
2005-10-02 10:09:14 +00:00
Jim Meyering
1f022b6b96 Include sys/types.h for sys/socket.h, on FreeBSD and Darwin. 2005-10-01 11:59:08 +00:00
Jim Meyering
a2a3fc0ac7 *** empty log message *** 2005-10-01 11:58:50 +00:00
Jim Meyering
e1170f4d9e *** empty log message *** 2005-10-01 09:49:14 +00:00
Jim Meyering
614623a670 (gl_PREREQ_GETADDRINFO): Use AC_GNU_SOURCE,
GNU declares only getaddrinfo as an (POSIX) extension.
Check for sys/types.h, sys/socket.h, and netdb.h too,
needed by getaddrinfo.h.
Check if getaddrinfo, freeaddrinfo and gai_strerror are
declared by the POSIX headers.
Check if struct addrinfo is declared.
2005-10-01 09:49:09 +00:00
Jim Meyering
18794c7464 *** empty log message *** 2005-10-01 06:54:15 +00:00
Jim Meyering
b364a72c6b (gl_GETADDRINFO): Look for getservbyname in these
libraries [inet nsl socket xnet].  Nelson Beebe reported that with
native cc on Solaris 7, getaddrinfo.c requires -lsocket.
2005-10-01 06:54:11 +00:00
Jim Meyering
f9c10dab98 *** empty log message *** 2005-09-30 15:21:26 +00:00
Jim Meyering
9b1facc61f (gl_FUNC_OPENAT): Check for fdopendir. 2005-09-30 15:21:19 +00:00
Paul Eggert
6f8ed252b4 (gl_ULLONG_MAX): Simplify so that it merely
defines ULONG_MAX_LT_ULLONG_MAX.  Thomas M.Ott reports that
ULLONG_MAX doesn't work with 2.7.2.1.
2005-09-28 22:08:46 +00:00
Jim Meyering
a49740f33b *** empty log message *** 2005-09-26 09:10:54 +00:00
Jim Meyering
99fa7a0e8e (gl_FUNC_UTIMES): Detect the version of utimes
from glibc-2.2.5 that fails for read-only files.
2005-09-26 09:10:50 +00:00
Paul Eggert
aa5f98288a * jm-macros.m4 (gl_MACROS): Check for fchmod and fchown. 2005-09-25 03:08:15 +00:00
Paul Eggert
33247c7169 (gl_MACROS): Check for fchmod and fchown. 2005-09-25 03:07:53 +00:00
Paul Eggert
6c3d9ae4c4 * mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. 2005-09-24 23:13:42 +00:00
Paul Eggert
a9d12230c8 (gl_MBCHAR): Check for wchar.h and wctype.h, and
don't compile mbchar.c unless both headers exist.  See
<http://lists.gnu.org/archive/html/bug-gnulib/2005-09/msg00242.html>.
2005-09-24 23:13:19 +00:00
Jim Meyering
a14fc71370 *** empty log message *** 2005-09-24 10:44:33 +00:00
Jim Meyering
7a2163735e (gl_GETADDRINFO): Check for gethostbyname
in the inet and nsl libraries.  Required on Solaris 5.7.
2005-09-24 10:44:30 +00:00
Paul Eggert
28475f652b Log recent changes. 2005-09-23 21:40:12 +00:00
Paul Eggert
7ba23f15c4 (gl_REGEX): If replacing, define regcomp to rpl_regcomp,
and similarly for the other external symbols.  Problem reported
by James Gallager.
2005-09-23 21:17:57 +00:00
Jim Meyering
0fc8cac57d *** empty log message *** 2005-09-23 20:56:54 +00:00
Paul Eggert
cf37a8b41a (gl_MACROS): Don't require gl_CHECK_TYPE_STRUCT_UTIMBUF.
(gl_CHECK_ALL_HEADERS): Don't check for utime.h.
2005-09-23 20:35:14 +00:00
Paul Eggert
061601cdd7 Update copyright. 2005-09-23 20:26:09 +00:00
Paul Eggert
588034d101 (_AC_FUNC_FNMATCH_IF): Catch Sun Studio 10u1 on Linux
bug reported by Jim Meyering.
2005-09-23 20:23:59 +00:00
Jim Meyering
b726021672 *** empty log message *** 2005-09-23 20:00:19 +00:00
Jim Meyering
4b17e15531 (gl_MACROS): AC_REQUIRE([gl_SOCKLEN_T]) here,
now that it's no longer required by getaddrinfo.m4.
2005-09-23 19:59:07 +00:00
Paul Eggert
a169837d87 not needed, since socklen is a prerequisite module. 2005-09-23 19:40:04 +00:00
Paul Eggert
b9830cafa1 * lib/utimens.c (futimens): Use futimesat if available.
Prefer it to futimes since it doesn't have the futimes bug.
* m4/utimens.m4 (gl_UTIMENS): Check for futimesat.
2005-09-23 19:18:27 +00:00
Jim Meyering
6137da3427 *** empty log message *** 2005-09-23 14:50:22 +00:00
Jim Meyering
185069538b *** empty log message *** 2005-09-23 14:48:21 +00:00