[Pcsclite-cvs-commit] r6663 - in trunk/PCSC: . src

ludovic.rousseau at free.fr ludovic.rousseau at free.fr
Sun Jul 28 09:27:06 UTC 2013


Author: rousseau
Date: 2013-06-18 08:56:16 +0000 (Tue, 18 Jun 2013)
New Revision: 6663

Modified:
   trunk/PCSC/configure.ac
   trunk/PCSC/src/libpcsclite.pc.in
Log:
Add support of serialconfdir pkg-config variable

It is now possible to use pkg-config to get the directory used by pcscd
to fetch serial drivers configurations.

$ pkg-config libpcsclite --variable=serialconfdir
/etc/reader.conf.d

Closes alioth bug [#314300] Add pkg-config confdir option
Thanks to Frank Morgner for the idea


Modified: trunk/PCSC/configure.ac
===================================================================
--- trunk/PCSC/configure.ac	2013-06-12 12:43:58 UTC (rev 6662)
+++ trunk/PCSC/configure.ac	2013-06-18 08:56:16 UTC (rev 6663)
@@ -353,6 +353,7 @@
 # Setup dist stuff
 AC_SUBST(usbdropdir)
 AC_SUBST(ipcdir)
+AC_SUBST(serialconfdir)
 AC_SUBST(host_to_ccid_16)
 AC_SUBST(host_to_ccid_32)
 AS_AC_EXPAND(confdir_exp,$confdir)
@@ -396,6 +397,7 @@
 use serial:             ${use_serial}
 use usb:                ${use_usb}
 systemd unit directory: ${with_systemdsystemunitdir}
+serial config dir.:     ${confdir_exp}
 
 PCSCLITE_FEATURES:      ${PCSCLITE_FEATURES}
 

Modified: trunk/PCSC/src/libpcsclite.pc.in
===================================================================
--- trunk/PCSC/src/libpcsclite.pc.in	2013-06-12 12:43:58 UTC (rev 6662)
+++ trunk/PCSC/src/libpcsclite.pc.in	2013-06-18 08:56:16 UTC (rev 6663)
@@ -3,6 +3,7 @@
 libdir=@libdir@
 includedir=@includedir@/PCSC
 usbdropdir=@usbdropdir@
+serialconfdir=@confdir_exp@
 
 Name: PCSC Lite
 Description: PC/SC smart card interface




More information about the Pcsclite-cvs-commit mailing list