Provide default system PCSC_CFLAGS on Mac OS X
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3611 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
c64fd881e9
commit
86fe58e326
|
@ -491,6 +491,13 @@ fi
|
|||
|
||||
if test "${enable_pcsc}" = "yes"; then
|
||||
AC_ARG_VAR([PCSC_CFLAGS], [C compiler flags for pcsc])
|
||||
|
||||
case "${host}" in
|
||||
*-*-darwin*)
|
||||
test -z "${PCSC_CFLAGS}" && PCSC_CFLAGS="-I/System/Library/Frameworks/PCSC.framework/Headers"
|
||||
;;
|
||||
esac
|
||||
|
||||
if test "${WIN32}" != "yes"; then
|
||||
test -z "${PCSC_CFLAGS}" && PCSC_CFLAGS="-I/usr/include/PCSC"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue