summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2012-05-29 13:53:09 -0400
committerSteve Dickson <steved@redhat.com>2012-05-29 14:44:17 -0400
commit7e9c0f760397d7e8fa78bdeefffc14eb8269925b (patch)
tree969c8b1234f950b1f820fc98cb4ac482eb882c91
parent646be42c84305d02dea06113cc9e6c9a7ab94f8a (diff)
downloadnfs-utils-7e9c0f760397d7e8fa78bdeefffc14eb8269925b.tar.gz
nfs-utils-7e9c0f760397d7e8fa78bdeefffc14eb8269925b.tar.xz
nfs-utils-7e9c0f760397d7e8fa78bdeefffc14eb8269925b.zip
autoconf: make the test for prctl have an effect
We currently test to ensure that prctl() is available, but the results of that test are a no-op either way. statd calls prctl() unconditionally, so make configure bail out if prctl() isn't available since the build will fail in that event anyway. Cc: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--aclocal/libcap.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal/libcap.m4 b/aclocal/libcap.m4
index 68a624c..f8a0ed1 100644
--- a/aclocal/libcap.m4
+++ b/aclocal/libcap.m4
@@ -3,7 +3,7 @@ dnl
AC_DEFUN([AC_LIBCAP], [
dnl look for prctl
- AC_CHECK_FUNC([prctl], , )
+ AC_CHECK_FUNC([prctl], , AC_MSG_ERROR([prctl syscall is not available]))
AC_ARG_ENABLE([caps],
[AS_HELP_STRING([--disable-caps], [Disable capabilities support])])