Skip to content
Snippets Groups Projects
Commit a5368a20 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

The PROCFS check now checks that 64bit is ok.

Rev: src/configure.in:1.149
parent d2edafab
No related branches found
No related tags found
No related merge requests found
AC_REVISION("$Id: configure.in,v 1.148 1998/05/29 02:16:17 hubbe Exp $")
AC_REVISION("$Id: configure.in,v 1.149 1998/06/04 13:11:09 grubba Exp $")
AC_INIT(interpret.c)
AC_CONFIG_HEADER(machine.h)
......@@ -1537,6 +1537,11 @@ if test "$ac_cv_header_sys_procfs_h" = "yes"; then
AC_MSG_CHECKING(getrusage() through procfs)
AC_CACHE_VAL(pike_cv_getrusage_procfs, [
AC_TRY_COMPILE([
#ifndef _LARGEFILE_SOURCE
# define _FILE_OFFSET_BITS 64
# define _LARGEFILE_SOURCE
# define _LARGEFILE64_SOURCE 1
#endif
#include <sys/procfs.h>
#include <sys/fcntl.h>
int proc_fd;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment