[Pcsclite-git-commit] [pcsc-tools] 04/32: c-mac.sh: configure script for macOS

Ludovic Rousseau rousseau at moszumanska.debian.org
Thu May 4 15:44:46 UTC 2017


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository pcsc-tools.

commit 918978fe536b0c92786e3e75508984b823301982
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Sat Apr 8 14:28:12 2017 +0200

    c-mac.sh: configure script for macOS
    
    We use special arguments to find PC/SC on macOS.
---
 c-mac.sh | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/c-mac.sh b/c-mac.sh
new file mode 100755
index 0000000..06855b0
--- /dev/null
+++ b/c-mac.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+# use ${varname:-word} to return word only if varname is not already defined
+PCSC_CFLAGS=${PCSC_CFLAGS:--framework PCSC}
+PCSC_LIBS=${PCSC_LIBS:--framework PCSC}
+
+./configure \
+	PCSC_CFLAGS="$PCSC_CFLAGS" \
+	PCSC_LIBS="$PCSC_LIBS" \
+	"$@"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/pcsc-tools.git



More information about the Pcsclite-cvs-commit mailing list