Jim Meyering
1f295ae62d
Quote the first argument in each use of AC_DEFUN.
2001-08-12 13:26:00 +00:00
Jim Meyering
f324aa68f9
(jm_CHECK_DECLS): Include grp.h and pwd.h if available.
...
They are required for the declarations of getgrgid and getpwuid resp.
(_jm_DECL_HEADERS): Check for grp.h and pwd.h.
2001-01-01 18:08:48 +00:00
Jim Meyering
e46f105350
(jm_CHECK_DECLS): Also check for memrchr.
2000-10-21 10:36:32 +00:00
Jim Meyering
5bf6f179da
Include utmp.h `#if HAVE_UTMP_H', rather than
...
`#if !HAVE_UTMPX_H'. The latter would lose on systems with neither
utmp.h nor utmpx.h. Reported by Eli Zaretskii.
2000-08-20 12:45:31 +00:00
Jim Meyering
64eece7c53
fix typos (missing commas)
2000-07-23 18:44:35 +00:00
Jim Meyering
0c96a22ac7
(jm_CHECK_DECLS): Check for declarations of these, too:
...
getgrgid, getpwuid, getuid.
2000-07-23 15:27:11 +00:00
Jim Meyering
030c059d49
(AC_CHECK_DECLS): Add strnlen.
2000-07-04 09:03:26 +00:00
Jim Meyering
ae641fdacf
(_jm_DECL_HEADERS): Check for utmp.h as well.
2000-06-27 10:01:30 +00:00
Jim Meyering
3ed09573d7
(jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS,
...
now that autoconf requires that.
2000-05-24 07:46:55 +00:00
Jim Meyering
cd8042a77c
(AC_CHECK_DECLS): Add strndup.
2000-05-03 08:37:03 +00:00
Jim Meyering
31ecd03e51
fix two typos. Duh
2000-04-05 15:22:04 +00:00
Jim Meyering
bea19ce09c
[!HAVE_UTMPX_H] (headers): Include <utmp.h>.
...
(jm_CHECK_DECLS): Add getutent to the list of functions.
(_jm_DECL_HEADERS): Add utmpx.h.
2000-04-05 15:14:28 +00:00
Jim Meyering
62bef312ad
(AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid.
2000-03-02 09:05:28 +00:00
Jim Meyering
07ab5fec9a
Add getenv to the list.
2000-02-27 17:53:31 +00:00
Jim Meyering
20552b01be
whoops. Add commas in parenthesized list of functions in call
...
to AC_CHECK_DECLS.
2000-02-26 21:28:10 +00:00
Jim Meyering
d682521386
Now that we have the new AC_CHECK_DECLS, use it in place of my hack.
2000-02-23 15:24:51 +00:00
Jim Meyering
cf4a419332
(jm_CHECK_DECLS): Add nanosleep to the list of
...
functions. Add the time.h and sys/time.h headers along with the
AC_REQUIRE'ment of AC_HEADER_TIME.
2000-01-31 22:39:54 +00:00
Jim Meyering
f5ff12fcbc
(_jm_DECL_HEADERS): Define new function.
...
(jm_CHECK_DECLARATIONS): Require it.
2000-01-22 14:22:42 +00:00
Jim Meyering
c7bd32731e
Revert to using #if HAVE_STDLIB_H
...
to guard inclusion of <stdlib.h>.
2000-01-22 14:07:23 +00:00
Jim Meyering
0f9105c7be
Guard inclusion of <stdlib.h> with `#if STDC_HEADERS',
...
not `#if HAVE_STDLIB_H'. The former wasn't defined.
Use #if rather than #ifdef.
Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL.
(jm_CHECK_DECLARATIONS): Add strtoul strtoull.
2000-01-22 13:53:10 +00:00
Jim Meyering
6222e67d7f
Use 3-arg form of AC_DEFINE instead of the
...
AC_CHECK_FUNCS hack. Now, it's still a hack, but at least the
comments in config.h.in are meaningful.
1999-01-10 22:45:03 +00:00
Jim Meyering
61ece919c6
(jm_CHECK_DECL_LOCALTIME_R): Remove macro.
1998-10-18 14:08:09 +00:00
Jim Meyering
ec936db8d7
(jm_CHECK_DECLS): Reflect interface change.
...
(jm_CHECK_DECL_LOCALTIME_R): New macro.
1998-10-18 01:08:22 +00:00
Jim Meyering
32068e5812
increment serial number
1997-12-21 12:10:55 +00:00
Jim Meyering
b1bd801e94
Add #serial 1.
1997-12-14 15:03:38 +00:00
Jim Meyering
7c474bb76f
add lseek
1997-12-14 12:03:55 +00:00
Jim Meyering
386843fd25
s/DECLARATION_/DECL_/g.
...
Add memchr.
1997-12-14 08:03:07 +00:00
Jim Meyering
23fa5c1d3f
.
1997-10-24 01:42:27 +00:00