mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
* configure.ac: Give warning when using capabilities. Check for
usb_get_string_simple for old libusb reasons.
This commit is contained in:
parent
58cf95534e
commit
e991fb59d1
3 changed files with 17 additions and 3 deletions
|
@ -829,6 +829,12 @@ dnl
|
|||
dnl Check whether we can use Linux capabilities as requested
|
||||
dnl
|
||||
if test "$use_capabilities" = "yes" ; then
|
||||
|
||||
AC_MSG_WARN([[
|
||||
***
|
||||
*** WARNING: using capabilities with GnuPG is experimental code!
|
||||
***]])
|
||||
|
||||
use_capabilities=no
|
||||
AC_CHECK_HEADERS(sys/capability.h)
|
||||
if test "$ac_cv_header_sys_capability_h" = "yes" ; then
|
||||
|
@ -1093,6 +1099,7 @@ fi
|
|||
AC_SUBST(LIBUSB_LIBS)
|
||||
AC_CHECK_FUNCS(usb_create_match)
|
||||
AC_CHECK_FUNCS(usb_get_busses)
|
||||
AC_CHECK_FUNCS(usb_get_string_simple)
|
||||
|
||||
#
|
||||
# Check for readline support
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue