Skip to content

Commit

Permalink
Add "polkit" in "pcscd -v" output if enabled
Browse files Browse the repository at this point in the history
If pcsc-lite is configured with --enable-polkit then this is indicated
in "pcscd -v".
We have something like:
Enabled features: Linux x86_64-pc-linux-gnu libsystemd serial usb libudev polkit usbdropdir=/usr/lib/pcsc/drivers ipcdir=/run/pcscd filter configdir=/etc/reader.conf.d
  • Loading branch information
LudovicRousseau committed Apr 9, 2023
1 parent a9c7c08 commit 8fd8791
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ if test "$use_polkit" != "no"; then
AC_DEFINE([HAVE_POLKIT], 1, [Build polkit access control support])
polkit_policy_dir=$($PKG_CONFIG polkit-gobject-1 --variable=policydir)
AC_SUBST(POLICY_DIR, [$polkit_policy_dir])
PCSCLITE_FEATURES="${PCSCLITE_FEATURES} polkit"
else
use_polkit=no
AC_MSG_ERROR([[
Expand Down

0 comments on commit 8fd8791

Please sign in to comment.