Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 421171 | Differences between
and this patch

Collapse All | Expand All

(-)configure.ac.ori (-7 / +14 lines)
Lines 150-165 Link Here
150
150
151
# POSIX capabilities
151
# POSIX capabilities
152
LIBCAP=""
152
LIBCAP=""
153
AC_CHECK_HEADERS([sys/capability.h], [
153
AC_ARG_WITH(libcap,
154
	AC_CHECK_LIB(cap, cap_set_proc, [
154
  AS_HELP_STRING([--with-libcap], [enable POSIX 1003.1e capabilities]),
155
		LIBCAP="-lcap"
155
    with_libcap=$withval,
156
		AC_DEFINE(HAVE_LIBCAP, 1,
156
    with_libcap=auto)
157
			  [Define to 1 if you have the `cap' library (-lcap).])
157
AC_MSG_CHECKING([whether to enable POSIX 1003.1e capabilities])
158
	])
158
AC_MSG_RESULT($with_libcap)
159
160
AS_IF([test "x$with_libcap" != "xno"], [
161
  AC_CHECK_HEADERS([sys/capability.h])
162
  AC_CHECK_LIB(cap, cap_set_proc, [
163
    LIBCAP="-lcap"
164
    AC_DEFINE(HAVE_LIBCAP, 1,
165
      [Define to 1 if you have the cap library (-lcap).])
166
  ])
159
])
167
])
160
AC_SUBST(LIBCAP)
168
AC_SUBST(LIBCAP)
161
169
162
163
# Judy
170
# Judy
164
AC_ARG_WITH(Judy,
171
AC_ARG_WITH(Judy,
165
	    [AS_HELP_STRING(--with-Judy,
172
	    [AS_HELP_STRING(--with-Judy,

Return to bug 421171