[libfreefare] push by ludovic....@gmail.com - Check PCSC configuration using pkg-config... on 2013-09-15 18:28 GMT

9 views
Skip to first unread message

libfr...@googlecode.com

unread,
Sep 15, 2013, 2:29:13 PM9/15/13
to nfc-tool...@googlegroups.com
Revision: 8e51b378df03
Author: Ludovic Rousseau <ludovic....@gmail.com>
Date: Sun Sep 15 18:15:07 2013 UTC
Log: Check PCSC configuration using pkg-config

Use PKG_CHECK_MODULES(PCSC, ...) in configure.ac to find the PCSC
compilation flags
Use @PCSC_*@ flags in Makefile.am

http://code.google.com/p/libfreefare/source/detail?r=8e51b378df03

Modified:
/configure.ac
/examples/Makefile.am
/libfreefare/Makefile.am

=======================================
--- /configure.ac Sun Dec 23 21:30:10 2012 UTC
+++ /configure.ac Sun Sep 15 18:15:07 2013 UTC
@@ -71,6 +71,8 @@
fi
AM_CONDITIONAL([WITH_CUTTER], [test "$ac_cv_use_cutter" != "no"])

+PKG_CHECK_MODULES(PCSC, libpcsclite)
+
m4_ifdef([AC_CHECK_COVERAGE], [AC_CHECK_COVERAGE])

if test x$cutter_enable_coverage = xyes; then
=======================================
--- /examples/Makefile.am Fri Sep 13 16:08:12 2013 UTC
+++ /examples/Makefile.am Sun Sep 15 18:15:07 2013 UTC
@@ -1,7 +1,7 @@
# $Id$

-AM_CFLAGS = -I. -I$(top_srcdir)/libfreefare @LIBNFC_CFLAGS@
-AM_LDFLAGS = @LIBNFC_LIBS@
+AM_CFLAGS = -I. -I$(top_srcdir)/libfreefare @LIBNFC_CFLAGS@ @PCSC_CFLAGS@
+AM_LDFLAGS = @LIBNFC_LIBS@ @PCSC_LIBS@

bin_PROGRAMS = mifare-classic-format \
mifare-classic-write-ndef \
=======================================
--- /libfreefare/Makefile.am Sun Feb 13 14:13:35 2011 UTC
+++ /libfreefare/Makefile.am Sun Sep 15 18:15:07 2013 UTC
@@ -1,6 +1,6 @@
# $Id$

-AM_CFLAGS = @LIBNFC_CFLAGS@
+AM_CFLAGS = @LIBNFC_CFLAGS@ @PCSC_CFLAGS@
AM_LDFLAGS = @LIBNFC_LIBS@

lib_LTLIBRARIES = libfreefare.la
Reply all
Reply to author
Forward
0 new messages