Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
8a560dee
Commit
8a560dee
authored
Oct 13, 2004
by
Anthony Baxter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch 977343, Solaris likes sys/loadavg.h. Added support for sys/loadavg.h
detection to configure &c.
parent
e4f8a48b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
3 deletions
+13
-3
Modules/posixmodule.c
Modules/posixmodule.c
+4
-0
configure
configure
+4
-2
configure.in
configure.in
+2
-1
pyconfig.h.in
pyconfig.h.in
+3
-0
No files found.
Modules/posixmodule.c
View file @
8a560dee
...
...
@@ -67,6 +67,10 @@ corresponding Unix manual entries for more information on calls.");
#include <sysexits.h>
#endif
/* HAVE_SYSEXITS_H */
#ifdef HAVE_SYS_LOADAVG_H
#include <sys/loadavg.h>
#endif
/* Various compilers have only certain posix functions */
/* XXX Gosh I wish these were all moved into pyconfig.h */
#if defined(PYCC_VACPP) && defined(PYOS_OS2)
...
...
configure
View file @
8a560dee
#! /bin/sh
# From configure.in Revision: 1.47
0
.
# From configure.in Revision: 1.47
1
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.4.
#
...
...
@@ -4530,13 +4530,15 @@ done
for
ac_header
in
curses.h dlfcn.h fcntl.h grp.h langinfo.h
\
libintl.h ncurses.h poll.h pthread.h
\
stropts.h termios.h thread.h
\
unistd.h utime.h
\
sys/audioio.h sys/bsdtty.h sys/file.h sys/lock.h sys/mkdev.h sys/modem.h
\
sys/audioio.h sys/bsdtty.h sys/file.h sys/loadavg.h sys/lock.h sys/mkdev.h
\
sys/modem.h
\
sys/param.h sys/poll.h sys/select.h sys/socket.h sys/time.h sys/times.h
\
sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h
\
sys/resource.h netpacket/packet.h sysexits.h bluetooth.h
\
...
...
configure.in
View file @
8a560dee
...
...
@@ -959,7 +959,8 @@ AC_CHECK_HEADERS(curses.h dlfcn.h fcntl.h grp.h langinfo.h \
libintl.h ncurses.h poll.h pthread.h \
stropts.h termios.h thread.h \
unistd.h utime.h \
sys/audioio.h sys/bsdtty.h sys/file.h sys/lock.h sys/mkdev.h sys/modem.h \
sys/audioio.h sys/bsdtty.h sys/file.h sys/loadavg.h sys/lock.h sys/mkdev.h \
sys/modem.h \
sys/param.h sys/poll.h sys/select.h sys/socket.h sys/time.h sys/times.h \
sys/un.h sys/utsname.h sys/wait.h pty.h libutil.h \
sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
...
...
pyconfig.h.in
View file @
8a560dee
...
...
@@ -512,6 +512,9 @@
/* Define to 1 if you have the <sys/file.h> header file. */
#undef HAVE_SYS_FILE_H
/* Define to 1 if you have the <sys/loadavg.h> header file. */
#undef HAVE_SYS_LOADAVG_H
/* Define to 1 if you have the <sys/lock.h> header file. */
#undef HAVE_SYS_LOCK_H
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment