diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2019-08-26 17:19:16 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2019-08-26 17:24:37 +0200 |
commit | 55f1d8a2697c6641215604ee32181d7ead7b8d85 (patch) | |
tree | 38b28b6cd24d7353c28a1ec36ef1b82349ede2e4 /include | |
parent | a50c127904a99b5862c323ddc76bfcf760dd0805 (diff) | |
download | lvm2-55f1d8a2697c6641215604ee32181d7ead7b8d85.tar.gz |
configure: check for prlimit
Update configure and make code compilable if prlimit() is not present.
Since the code is suspicious do not cope yet with it's replacement
with set/getrlimit().
Diffstat (limited to 'include')
-rw-r--r-- | include/configure.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configure.h.in b/include/configure.h.in index a43053a58..91a3a7ddb 100644 --- a/include/configure.h.in +++ b/include/configure.h.in @@ -292,6 +292,9 @@ /* Define to 1 if you have the <paths.h> header file. */ #undef HAVE_PATHS_H +/* Define to 1 if you have the `prlimit' function. */ +#undef HAVE_PRLIMIT + /* Define to 1 if you have the `pselect' function. */ #undef HAVE_PSELECT |