mirror of https://github.com/python/cpython
Shut up warnings for setgroups() on Linux -- you have to #include
<grp.h> it seems. This requires yet another configure test.
This commit is contained in:
parent
91b81c4802
commit
a6535fd40b
|
@ -28,6 +28,7 @@ corresponding Unix manual entries for more information on calls.";
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#ifdef HAVE_SYS_WAIT_H
|
#ifdef HAVE_SYS_WAIT_H
|
||||||
#include <sys/wait.h> /* For WNOHANG */
|
#include <sys/wait.h> /* For WNOHANG */
|
||||||
#endif
|
#endif
|
||||||
|
@ -40,6 +41,10 @@ corresponding Unix manual entries for more information on calls.";
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#endif /* HAVE_FCNTL_H */
|
#endif /* HAVE_FCNTL_H */
|
||||||
|
|
||||||
|
#ifdef HAVE_GRP_H
|
||||||
|
#include <grp.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* pick up declaration of confstr on some systems? */
|
/* pick up declaration of confstr on some systems? */
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# From configure.in Revision: 1.270
|
# From configure.in Revision: 1.272
|
||||||
|
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated automatically using autoconf version 2.13
|
# Generated automatically using autoconf version 2.13
|
||||||
|
@ -1968,7 +1968,7 @@ EOF
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for ac_hdr in dlfcn.h fcntl.h limits.h langinfo.h locale.h \
|
for ac_hdr in dlfcn.h fcntl.h grp.h limits.h langinfo.h locale.h \
|
||||||
ncurses.h poll.h pthread.h \
|
ncurses.h poll.h pthread.h \
|
||||||
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h termios.h \
|
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h termios.h \
|
||||||
sys/audioio.h sys/file.h sys/lock.h sys/modem.h db_185.h db.h \
|
sys/audioio.h sys/file.h sys/lock.h sys/modem.h db_185.h db.h \
|
||||||
|
|
|
@ -499,7 +499,7 @@ dnl AC_MSG_RESULT($cpp_type)
|
||||||
|
|
||||||
# checks for header files
|
# checks for header files
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_CHECK_HEADERS(dlfcn.h fcntl.h limits.h langinfo.h locale.h \
|
AC_CHECK_HEADERS(dlfcn.h fcntl.h grp.h limits.h langinfo.h locale.h \
|
||||||
ncurses.h poll.h pthread.h \
|
ncurses.h poll.h pthread.h \
|
||||||
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h termios.h \
|
signal.h stdarg.h stddef.h stdlib.h thread.h unistd.h utime.h termios.h \
|
||||||
sys/audioio.h sys/file.h sys/lock.h sys/modem.h db_185.h db.h \
|
sys/audioio.h sys/file.h sys/lock.h sys/modem.h db_185.h db.h \
|
||||||
|
|
|
@ -312,9 +312,6 @@
|
||||||
/* The number of bytes in a wchar_t. */
|
/* The number of bytes in a wchar_t. */
|
||||||
#undef SIZEOF_WCHAR_T
|
#undef SIZEOF_WCHAR_T
|
||||||
|
|
||||||
/* Define if you have the _getpty function. */
|
|
||||||
#undef HAVE__GETPTY
|
|
||||||
|
|
||||||
/* Define if you have the alarm function. */
|
/* Define if you have the alarm function. */
|
||||||
#undef HAVE_ALARM
|
#undef HAVE_ALARM
|
||||||
|
|
||||||
|
@ -417,6 +414,9 @@
|
||||||
/* Define if you have the getpriority function. */
|
/* Define if you have the getpriority function. */
|
||||||
#undef HAVE_GETPRIORITY
|
#undef HAVE_GETPRIORITY
|
||||||
|
|
||||||
|
/* Define if you have the _getpty function. */
|
||||||
|
#undef HAVE__GETPTY
|
||||||
|
|
||||||
/* Define if you have the getpwent function. */
|
/* Define if you have the getpwent function. */
|
||||||
#undef HAVE_GETPWENT
|
#undef HAVE_GETPWENT
|
||||||
|
|
||||||
|
@ -591,14 +591,14 @@
|
||||||
/* Define if you have the waitpid function. */
|
/* Define if you have the waitpid function. */
|
||||||
#undef HAVE_WAITPID
|
#undef HAVE_WAITPID
|
||||||
|
|
||||||
/* Define if you have the <db.h> header file. */
|
/* Define if you have the <db_185.h> header file. */
|
||||||
#undef HAVE_DB_H
|
#undef HAVE_DB_185_H
|
||||||
|
|
||||||
/* Define if you have the <db1/ndbm.h> header file. */
|
/* Define if you have the <db1/ndbm.h> header file. */
|
||||||
#undef HAVE_DB1_NDBM_H
|
#undef HAVE_DB1_NDBM_H
|
||||||
|
|
||||||
/* Define if you have the <db_185.h> header file. */
|
/* Define if you have the <db.h> header file. */
|
||||||
#undef HAVE_DB_185_H
|
#undef HAVE_DB_H
|
||||||
|
|
||||||
/* Define if you have the <dirent.h> header file. */
|
/* Define if you have the <dirent.h> header file. */
|
||||||
#undef HAVE_DIRENT_H
|
#undef HAVE_DIRENT_H
|
||||||
|
@ -612,6 +612,9 @@
|
||||||
/* Define if you have the <gdbm/ndbm.h> header file. */
|
/* Define if you have the <gdbm/ndbm.h> header file. */
|
||||||
#undef HAVE_GDBM_NDBM_H
|
#undef HAVE_GDBM_NDBM_H
|
||||||
|
|
||||||
|
/* Define if you have the <grp.h> header file. */
|
||||||
|
#undef HAVE_GRP_H
|
||||||
|
|
||||||
/* Define if you have the <langinfo.h> header file. */
|
/* Define if you have the <langinfo.h> header file. */
|
||||||
#undef HAVE_LANGINFO_H
|
#undef HAVE_LANGINFO_H
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue