configure.in: Add AC_TYPE_GETGROUPS test.

* configure.in: Add AC_TYPE_GETGROUPS test.
        * sys-protos.h: Use GETGROUPS_T * for second arg of getgroups.
        * configure: Rebuilt.

From-SVN: r34524
This commit is contained in:
J. David Anglin 2000-06-13 21:28:31 +00:00 committed by Jeff Law
parent be8d9ace54
commit 092417da9f
4 changed files with 247 additions and 133 deletions

View File

@ -1,3 +1,9 @@
2000-06-13 J. David Anglin <dave@hiauly1.hia.nrc.ca>
* configure.in: Add AC_TYPE_GETGROUPS test.
* sys-protos.h: Use GETGROUPS_T * for second arg of getgroups.
* configure: Rebuilt.
2000-06-13 Richard Henderson <rth@cygnus.com>
* explow.c (set_mem_attributes): Do nothing for NULL type.

370
gcc/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -477,6 +477,8 @@ AC_CHECK_FUNCS(strtoul bsearch putenv popen bcopy bzero bcmp \
AC_CHECK_TYPE(ssize_t, int)
AC_TYPE_GETGROUPS
gcc_AC_FUNC_VFPRINTF_DOPRNT
gcc_AC_FUNC_PRINTF_PTR

View File

@ -445,7 +445,7 @@ extern gid_t getgid(void);
extern struct group * getgrent(void);
extern struct group * getgrgid(gid_t);
extern struct group * getgrnam(const char *);
extern int getgroups(int, gid_t *);
extern int getgroups(int, GETGROUPS_T *);
extern struct hostent * gethostbyaddr(/* ??? */);
extern struct hostent * gethostbyname(/* ??? */);
extern struct hostent * gethostent(/* ??? */);