view modules/get-rusage-as @ 15007:d3a315873582

truncf: Move AC_LIBOBJ invocations to module description. * m4/truncf.m4 (gl_FUNC_TRUNCF): Move AC_LIBOBJ invocation from here... * modules/truncf (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 11:29:32 +0200
parents 996391c07734
children dd46d4e6beea
line wrap: on
line source

Description:
Getter for RLIMIT_AS: Returns the current address space size.

Files:
lib/resource-ext.h
lib/get-rusage-as.c
m4/mmap-anon.m4

Depends-on:
stdint
unistd
extensions
getpagesize
vma-iter

configure.ac:
AC_REQUIRE([AC_C_INLINE])
AC_CHECK_FUNCS_ONCE([setrlimit])
gl_FUNC_MMAP_ANON
AC_CHECK_HEADERS_ONCE([sys/mman.h])
AC_CHECK_FUNCS_ONCE([mprotect])

Makefile.am:
lib_SOURCES += get-rusage-as.c

Include:
"resource-ext.h"

License:
GPL

Maintainer:
Bruno Haible