Patch 977343, Solaris likes sys/loadavg.h. Added support for sys/loadavg.h
detection to configure &c.
This commit is contained in:
parent
e4f8a48b8f
commit
8a560dee72
|
@ -67,6 +67,10 @@ corresponding Unix manual entries for more information on calls.");
|
||||||
#include <sysexits.h>
|
#include <sysexits.h>
|
||||||
#endif /* HAVE_SYSEXITS_H */
|
#endif /* HAVE_SYSEXITS_H */
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_LOADAVG_H
|
||||||
|
#include <sys/loadavg.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Various compilers have only certain posix functions */
|
/* Various compilers have only certain posix functions */
|
||||||
/* XXX Gosh I wish these were all moved into pyconfig.h */
|
/* XXX Gosh I wish these were all moved into pyconfig.h */
|
||||||
#if defined(PYCC_VACPP) && defined(PYOS_OS2)
|
#if defined(PYCC_VACPP) && defined(PYOS_OS2)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# From configure.in Revision: 1.470 .
|
# From configure.in Revision: 1.471 .
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.59 for python 2.4.
|
# 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 \
|
for ac_header in curses.h dlfcn.h fcntl.h grp.h langinfo.h \
|
||||||
libintl.h ncurses.h poll.h pthread.h \
|
libintl.h ncurses.h poll.h pthread.h \
|
||||||
stropts.h termios.h thread.h \
|
stropts.h termios.h thread.h \
|
||||||
unistd.h utime.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/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/un.h sys/utsname.h sys/wait.h pty.h libutil.h \
|
||||||
sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
|
sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
|
||||||
|
|
|
@ -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 \
|
libintl.h ncurses.h poll.h pthread.h \
|
||||||
stropts.h termios.h thread.h \
|
stropts.h termios.h thread.h \
|
||||||
unistd.h utime.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/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/un.h sys/utsname.h sys/wait.h pty.h libutil.h \
|
||||||
sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
|
sys/resource.h netpacket/packet.h sysexits.h bluetooth.h \
|
||||||
|
|
|
@ -512,6 +512,9 @@
|
||||||
/* Define to 1 if you have the <sys/file.h> header file. */
|
/* Define to 1 if you have the <sys/file.h> header file. */
|
||||||
#undef HAVE_SYS_FILE_H
|
#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. */
|
/* Define to 1 if you have the <sys/lock.h> header file. */
|
||||||
#undef HAVE_SYS_LOCK_H
|
#undef HAVE_SYS_LOCK_H
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue