diff options
author | Noah Watkins <noahwatkins@gmail.com> | 2013-07-20 18:41:39 -0700 |
---|---|---|
committer | Noah Watkins <noahwatkins@gmail.com> | 2013-09-19 15:00:31 -0700 |
commit | f3718c29bb387901f2dd520ecd75dc498fa322b7 (patch) | |
tree | 32d117b4ce7e45902a20b44fa6734cefdccf260d /configure.ac | |
parent | 59147be9aeea47576884e5587dd7da8bb58c6c53 (diff) | |
download | ceph-prctl-getname-test.tar.gz |
code_env: use feature test for PR_GET_NAME supportprctl-getname-test
Function `get_process_name` has platform specific dependencies. Check
for Linux prctl function and correct command flag.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d7f96fd11f4..9ef4d0d3d10 100644 --- a/configure.ac +++ b/configure.ac @@ -536,6 +536,9 @@ AC_CHECK_FUNC([fallocate], []) +AC_CHECK_HEADERS([sys/prctl.h]) +AC_CHECK_FUNCS([prctl]) + # Checks for typedefs, structures, and compiler characteristics. #AC_HEADER_STDBOOL #AC_C_CONST |