Commit Graph

2824 Commits

Author SHA1 Message Date
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
Jim Meyering
434de88614 from gnulib 2005-09-23 14:48:14 +00:00
Jim Meyering
ee0d6b604c (gl_PREREQ_GETADDRINFO): Require gl_SOCKLEN_T. 2005-09-23 14:47:58 +00:00
Paul Eggert
769a736867 (gl_PREREQ_GETADDRINFO): Check for netinet/in.h. 2005-09-23 05:13:15 +00:00
Paul Eggert
ca9acc01a6 Sync from gnulib. 2005-09-22 07:06:16 +00:00
Paul Eggert
b58dc08a58 (gl_PREREQ): Require gl_FUNC_GETLINE rather than
AM_FUNC_GETLINE.  Require gl_FUNC_GETPASS_GNU rather than
gl_FUNC_GETPASS.  Require gl_MBCHAR and gl_MBITER.
2005-09-22 07:00:24 +00:00
Paul Eggert
e5801001a3 no longer needed.
(gl_CHECK_ALL_HEADERS): Don't check for memory.h, mntent.h, mnttab.h,
netdb.h, stdlib.h, stdint.h, string.h, sys/filsys.h, sys/fs/s5param.h,
sys/fs_types.h, sys/fstyp.h, sys/mntent.h, sys/socket.h, sys/stafs.h,
sys/timeb.h, unistd.h.  No longer needed.
2005-09-22 06:59:55 +00:00
Paul Eggert
5a02b1d907 (_gl_DECL_HEADERS): Don't bother checking for
standard C headers, or for headers we no longer use.
2005-09-22 06:59:24 +00:00
Paul Eggert
eba2793d11 Nontrivial sync from gnulib. 2005-09-22 06:44:26 +00:00
Paul Eggert
8cec6716df Remove; no longer used. 2005-09-22 06:26:54 +00:00
Paul Eggert
3833e2bc34 New file, from gnulib. 2005-09-22 06:22:44 +00:00
Paul Eggert
2d0c5eefd0 Sync from gnulib. 2005-09-22 06:05:39 +00:00
Paul Eggert
555bbf598d Import file time stamp resolution improvements from gnulib. 2005-09-16 07:55:12 +00:00
Paul Eggert
b95a4ed1ce Remove; no longer needed. 2005-09-16 07:41:10 +00:00
Paul Eggert
5926f89242 (gl_TIMESPEC): Require AC_C_INLINE.
Do not invoke AC_STRUCT_ST_MTIM_NSEC; no longer needed.
2005-09-16 07:40:48 +00:00
Paul Eggert
0bc67e2851 (gl_PREREQ): Require gl_STAT_TIME. 2005-09-16 07:40:19 +00:00
Paul Eggert
b946f4c96b (gl_CHECK_ALL_TYPES): Do not require
AC_STRUCT_ST_MTIM_NSEC; it's obsolete.
2005-09-16 07:40:02 +00:00
Paul Eggert
0877688dc8 New file. 2005-09-16 07:38:17 +00:00
Jim Meyering
54f2d33cff *** empty log message *** 2005-09-13 13:52:27 +00:00
Jim Meyering
59e9d0b604 . 2005-09-13 13:52:16 +00:00
Paul Eggert
3301671de9 Import latest regex module from gnulib, to fix some 64-bit bugs. 2005-09-09 21:07:50 +00:00
Jim Meyering
b8e2e0208f Require gl_STAT_MACROS 2005-09-01 18:10:34 +00:00
Jim Meyering
44bca24e16 *** empty log message *** 2005-09-01 18:10:12 +00:00
Jim Meyering
68aaaf5ca0 Require gl_FUNC_CHOWN, for the definition of
CHOWN_MODIFIES_SYMLINK, which is used by lchown.c.
2005-09-01 18:06:54 +00:00
Jim Meyering
b484d0e717 *** empty log message *** 2005-08-27 20:42:53 +00:00
Jim Meyering
80664cc6a5 sync from gnulib 2005-08-27 20:40:31 +00:00
Jim Meyering
9d66e1afee *** empty log message *** 2005-08-13 22:46:07 +00:00
Jim Meyering
4f47534c2a undo last change 2005-08-13 22:45:53 +00:00
Jim Meyering
6f29f55e7c *** empty log message *** 2005-08-13 22:26:36 +00:00
Jim Meyering
cb9cbee3bc [HAVE_WCTYPE_H]: Include <wctype.h>; this is
needed on HP-UX 11.23 in order to get a definition of mbstate_t.
2005-08-13 22:26:33 +00:00
Jim Meyering
959af4cc75 *** empty log message *** 2005-08-02 20:49:08 +00:00
Jim Meyering
22f8ee8ad1 Require gl_FUNC_XANSTRFTIME. 2005-08-02 20:48:58 +00:00
Jim Meyering
309ee82143 *** empty log message *** 2005-08-02 20:48:15 +00:00
Paul Eggert
afc5f72438 Import regex.m4 from gnulib. 2005-07-25 19:29:51 +00:00
Paul Eggert
55a6eee63c (gl_INCLUDED_REGEX): Use AC_RUN_ELSE instead of the
obsolescent AC_TRY_RUN.  Include the default includes files, for 'exit'.
2005-07-25 19:29:34 +00:00
Paul Eggert
317a0f7a07 Fix getdate bug with relative times. 2005-07-21 22:00:55 +00:00
Paul Eggert
842bd54edb (gl_C_COMPOUND_LITERALS): New macro.
(gl_GETDATE): Use it.
2005-07-21 22:00:06 +00:00
Paul Eggert
9cfc51e083 Remove FESETROUND_LIBM; no longer needed. 2005-07-14 00:03:08 +00:00
Paul Eggert
9e9532c8ff strtopt.h -> stropts.h 2005-07-09 07:37:19 +00:00
Paul Eggert
b4a47a0cf3 strtopt.h -> stropts.h 2005-07-09 07:36:54 +00:00
Paul Eggert
648e937e89 (gl_CHECK_ALL_HEADERS): Check for stropt.h. 2005-07-08 22:56:17 +00:00
Paul Eggert
0e5aafc45a backupfile.m4, same.m4 cleanup. 2005-07-08 07:09:20 +00:00
Paul Eggert
63449616ae (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf. 2005-07-08 07:08:56 +00:00
Paul Eggert
0561231d58 (gl_SAME): Use AC_CHECK_FUNCS_ONCE on pathconf.
Require AC_SYS_LONG_FILE_NAMES.
2005-07-08 07:08:41 +00:00
Paul Eggert
ce3bb28d95 Switch to Isamu Hasegawa's implementation of regex, which is
now in gnulib.
2005-07-08 00:23:15 +00:00
Paul Eggert
fed2b7273d Remove typeof test; no longer needed. 2005-07-05 06:30:57 +00:00
Paul Eggert
85eb851bef (gl_PREREQ): Don't require gl_TYPEOF; no longer needed. 2005-07-05 06:30:27 +00:00
Paul Eggert
9a00b08ea6 Remove the dependency of the strftime module on the tzset module. 2005-07-04 05:07:30 +00:00
Paul Eggert
ca039b42dc (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER. 2005-07-04 05:06:11 +00:00
Paul Eggert
c10f8db2a8 (gl_PREREQ): Add gl_FUNC_TZSET_CLOBBER. 2005-07-04 05:05:55 +00:00
Jim Meyering
33d0086bb2 *** empty log message *** 2005-07-03 15:30:01 +00:00
Jim Meyering
c95640a56e Remove obsolete comment. 2005-07-03 15:29:58 +00:00
Jim Meyering
a7bcad0e5a *** empty log message *** 2005-07-03 13:44:58 +00:00
Jim Meyering
e24584b100 (gl_FUNC_LSTAT): Use AC_LIBSOURCES to require lstat.c and lstat.h. 2005-07-03 13:44:52 +00:00
Jim Meyering
9caa96f10d *** empty log message *** 2005-07-03 11:55:51 +00:00
Jim Meyering
682e43e0e4 (gl_FUNC_LSTAT): New file, from gnulib. 2005-07-03 11:55:48 +00:00
Paul Eggert
65bf9cd48f Minor fixes for port to Solaris 8. 2005-07-03 09:35:55 +00:00
Paul Eggert
22b464a900 Don't require AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK; that's now the lstat
module's job.
2005-07-03 09:30:00 +00:00
Jim Meyering
a360edab7e *** empty log message *** 2005-07-03 09:14:58 +00:00
Jim Meyering
10047b6134 (gl_FCNTL_SAFER): Add fcntl--.h to the list. 2005-07-03 09:13:33 +00:00
Jim Meyering
cd4bfd42dc (gl_STDIO_SAFER): Add stdio--.h to the list. 2005-07-03 09:13:27 +00:00
Jim Meyering
1eae18b276 (gl_STDLIB_SAFER): Add stdlib--.h to the list. 2005-07-03 09:13:04 +00:00
Jim Meyering
512e0bae5a (gl_UNISTD_SAFER): Add unistd--.h to the list. 2005-07-03 09:12:57 +00:00
Paul Eggert
e05ece2ced Cleanup to isolate "safer" functions to a small part of the code. 2005-07-03 07:27:05 +00:00
Paul Eggert
ffa06e1d94 (gl_PREREQ): Require gl_FCNTL_SAFER,
gl_FD_REOPEN, gl_STDLIB_SAFER.
2005-07-03 07:15:58 +00:00
Paul Eggert
5eab57423e Initial revision. 2005-07-03 06:52:13 +00:00
Paul Eggert
8b0a2afe9f Add support for fcntl--.h, stdio--.h, stdlib--.h, unistd--.h, etc. 2005-07-03 06:43:07 +00:00
Jim Meyering
2f79e30906 Assume HAVE_UNISTD_H, i.e., that <unistd.h> works. 2005-07-02 08:54:13 +00:00
Jim Meyering
16b3553083 *** empty log message *** 2005-07-02 08:53:57 +00:00
Jim Meyering
89abeac2b8 Don't check for fcntl.h anymore. Now we assume it exists and is usable. 2005-07-01 21:06:08 +00:00
Jim Meyering
b82f33a06e *** empty log message *** 2005-07-01 21:05:44 +00:00
Jim Meyering
d0067bb947 *** empty log message *** 2005-07-01 20:57:39 +00:00
Jim Meyering
860691ec41 Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,
and don't check for fcntl.h).
2005-07-01 20:57:34 +00:00
Jim Meyering
cfa2bfb98e *** empty log message *** 2005-06-30 20:33:55 +00:00
Jim Meyering
e457b0a9c9 Require gl_STDOPEN. 2005-06-30 20:24:45 +00:00
Jim Meyering
9c360d0540 (gl_STDOPEN): New file/macro. 2005-06-30 20:24:02 +00:00
Jim Meyering
72408a0e16 *** empty log message *** 2005-06-26 13:32:23 +00:00
Jim Meyering
ab264ea51b Require gl_DIACRIT. 2005-06-26 13:32:17 +00:00
Jim Meyering
92337e781a Whoops. Add this, too:
AC_LIBOBJ([version-etc-fsf])
2005-06-25 22:01:49 +00:00
Jim Meyering
3ba810e671 *** empty log message *** 2005-06-25 21:31:44 +00:00
Jim Meyering
2e783c6e7e *** empty log message *** 2005-06-25 21:29:46 +00:00
Jim Meyering
655564c62e (gl_VERSION_ETC): New file/macro. 2005-06-25 21:29:40 +00:00
Jim Meyering
cfc521b8fb Require gl_VERSION_ETC. 2005-06-25 21:29:31 +00:00
Jim Meyering
031076e031 *** empty log message *** 2005-06-25 12:38:44 +00:00
Jim Meyering
c5d1db79fe Require gl_ROOT_DEV_INO. 2005-06-25 12:38:40 +00:00
Jim Meyering
cfee4d7d5e Also require dev-ino.h. 2005-06-25 12:37:51 +00:00
Jim Meyering
8ee198f675 Add this:
AC_REQUIRE([AC_FUNC_LSTAT])
2005-06-25 12:36:58 +00:00
Jim Meyering
e0b32d3cb8 (gl_ROOT_DEV_INO): New file/macro. 2005-06-25 12:35:49 +00:00
Jim Meyering
54efcebd94 Use AC_LIBSOURCES and AC_LIBOBJ. 2005-06-23 18:42:29 +00:00
Jim Meyering
029c3a3d44 Use AC_LIBSOURCES and AC_LIBOBJ. 2005-06-23 18:41:17 +00:00
Jim Meyering
d9f5ecdf62 *** empty log message *** 2005-06-23 16:56:58 +00:00
Jim Meyering
47237c979f Use AC_LIBSOURCES and AC_LIBOBJ. 2005-06-23 16:24:06 +00:00
Jim Meyering
b0e72c0a63 *** empty log message *** 2005-06-19 08:30:16 +00:00
Jim Meyering
2e862dc8a3 (gl_XGETCWD): Add `AC_LIBOBJ([xgetcwd])'.
Register xgetcwd.c and xgetcwd.h via AC_LIBSOURCES.
2005-06-19 08:30:08 +00:00
Jim Meyering
4eecbcd445 rename to gl_FUNC_XFTS 2005-06-19 08:27:47 +00:00
Jim Meyering
186d75c87e Require gl_FUNC_XFTS. 2005-06-19 08:27:28 +00:00
Jim Meyering
01baf7f071 (gl_XFTS): New file/macro. 2005-06-19 08:25:46 +00:00
Jim Meyering
018984aae7 *** empty log message *** 2005-06-14 07:47:57 +00:00
Jim Meyering
ba4a12e58d (gl_FUNC_OPENAT): Add openat-die.c. 2005-06-14 07:47:52 +00:00
Paul Eggert
e963a34f93 Sync from gnulib. 2005-06-02 19:49:27 +00:00
Paul Eggert
4c0486daa4 Don't use "path" or "filename" to mean "file name".
Hence, rename makepath.m4 to mkdir-p.m4, and rename path-concat.m4
to filenamecat.m4.
2005-06-02 05:09:44 +00:00