[Pcsclite-cvs-commit] r4822 - /trunk/PCSC/configure.in
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Tue Mar 16 09:47:39 UTC 2010
Author: rousseau
Date: Tue Mar 16 09:47:38 2010
New Revision: 4822
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4822
Log:
Add --enable-embedded (default is no) to build pcsc-lite for an embedded
system.
This will activate the NO_LOG option to disable logging and limit RAM
and disk consumption.
Modified:
trunk/PCSC/configure.in
Modified: trunk/PCSC/configure.in
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/configure.in?rev=4822&op=diff
==============================================================================
--- trunk/PCSC/configure.in (original)
+++ trunk/PCSC/configure.in Tue Mar 16 09:47:38 2010
@@ -235,6 +235,16 @@
if test x$use_libusb = xyes; then
AC_DEFINE(HAVE_LIBUSB, 1, [Libusb is available])
PCSCLITE_FEATURES="${PCSCLITE_FEATURES} libusb"
+fi
+
+# --enable-embedded
+AC_ARG_ENABLE(embedded,
+ AC_HELP_STRING([--enable-embedded], [limit RAM and CPU ressources by disabling features (log)]),
+ [ use_embedded="${enableval}" ])
+
+if test x$use_embedded = xyes; then
+ AC_DEFINE(NO_LOG, 1, [Disable logging support])
+ PCSCLITE_FEATURES="${PCSCLITE_FEATURES} nolog"
fi
# --enable-usbdropdir=DIR
More information about the Pcsclite-cvs-commit
mailing list