Mercurial > gnulib
annotate m4/getrusage.m4 @ 40237:b1386ce84ff5
fatal-signal: Add function that lists the fatal signals.
* lib/fatal-signal.h (get_fatal_signals): New declaration.
* lib/fatal-signal.c (get_fatal_signals): New function.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 16 Mar 2019 17:48:06 +0100 |
parents | b06060465f09 |
children |
rev | line source |
---|---|
16777 | 1 # getrusage.m4 serial 1 |
40057
b06060465f09
maint: Run 'make update-copyright'
Paul Eggert <eggert@cs.ucla.edu>
parents:
19484
diff
changeset
|
2 dnl Copyright (C) 2012-2019 Free Software Foundation, Inc. |
16777 | 3 dnl This file is free software; the Free Software Foundation |
4 dnl gives unlimited permission to copy and/or distribute it, | |
5 dnl with or without modifications, as long as this notice is preserved. | |
6 | |
7 AC_DEFUN([gl_FUNC_GETRUSAGE], | |
8 [ | |
9 AC_REQUIRE([gl_SYS_RESOURCE_H_DEFAULTS]) | |
10 AC_CHECK_FUNCS_ONCE([getrusage]) | |
11 if test $ac_cv_func_getrusage = no; then | |
12 HAVE_GETRUSAGE=0 | |
13 fi | |
14 ]) |