pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
1998-06-10
1998-06-10 19:22:11 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
d20354ae869d6209e1d60d34297ef9e20b9c2465 (
9
lines) (+
8
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
procfs test made more solaris specific
Rev: src/configure.in:1.204
1:
-
AC_REVISION("$Id: configure.in,v 1.
203
1998/06/10
13
:
29
:
30
grubba
Exp $")
+
AC_REVISION("$Id: configure.in,v 1.
204
1998/06/10
19
:
22
:
11
hubbe
Exp $")
AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h)
2014:
fi ########################################################################
+
#
+
# IRIX also has procfs support, but it it different, a separate test
+
# should be made. /Hubbe
+
#
if test "$ac_cv_header_sys_procfs_h" = "yes"; then AC_MSG_CHECKING(getrusage() through procfs)
2027:
#include <sys/procfs.h> #include <sys/fcntl.h> int proc_fd;
+
long tmp;
char proc_name[20]; prusage_t pru; prstatus_t prs;
2035:
proc_fd = open(proc_name, O_RDONLY); ioctl(proc_fd, PIOCUSAGE, &pru); ioctl(proc_fd, PIOCSTATUS, &prs);
+
tmp=pru.pr_utime.tv_sec;
], pike_cv_getrusage_procfs=yes ,