diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-08 16:59:18 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-11-08 16:59:18 +0100 |
commit | 6987d5c7e74c19902218551427e4b11bd02ee968 (patch) | |
tree | ad105a787f97a75555150e16aaaed40bd0592e8e /package/miredo/patches/patch-configure_ac | |
parent | b5192e730a2b60e309b612768039247a0b87d0fd (diff) | |
parent | c82dab24ed58a919a52fa121e064c6125ceb803a (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/miredo/patches/patch-configure_ac')
-rw-r--r-- | package/miredo/patches/patch-configure_ac | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/package/miredo/patches/patch-configure_ac b/package/miredo/patches/patch-configure_ac new file mode 100644 index 000000000..f2e24d7b4 --- /dev/null +++ b/package/miredo/patches/patch-configure_ac @@ -0,0 +1,25 @@ +--- miredo-1.2.6.orig/configure.ac 2013-05-23 17:51:41.000000000 +0200 ++++ miredo-1.2.6/configure.ac 2013-11-08 16:09:54.000000000 +0100 +@@ -149,12 +149,17 @@ LIBS="$LIBS_save" + AS_MESSAGE([checking optional features...]) + + # POSIX capabilities ++AC_ARG_WITH(libcap, ++ [AS_HELP_STRING(--with-libcap, ++ [use POSIX capabilities (default auto)])]) + LIBCAP="" +-AC_CHECK_HEADERS([sys/capability.h], [ +- AC_CHECK_LIB(cap, cap_set_proc, [ +- LIBCAP="-lcap" +- AC_DEFINE(HAVE_LIBCAP, 1, +- [Define to 1 if you have the `cap' library (-lcap).]) ++AS_IF([test "x${with_libcap}" != "xno"], [ ++ AC_CHECK_HEADERS([sys/capability.h], [ ++ AC_CHECK_LIB(cap, cap_set_proc, [ ++ LIBCAP="-lcap" ++ AC_DEFINE(HAVE_LIBCAP, 1, ++ [Define to 1 if you have the `cap' library (-lcap).]) ++ ]) + ]) + ]) + AC_SUBST(LIBCAP) |