Differences From Artifact [a3eb01afcd]:
- File aclocal/dc_pcsc.m4 — part of check-in [99d0ae7d47] at 2010-07-11 07:27:13 on branch trunk — Added support for allowing users to specify path to headers and libraries (user: rkeene, size: 3149) [annotate] [blame] [check-ins using]
To Artifact [85c2893fdf]:
- File
aclocal/dc_pcsc.m4
— part of check-in
[cae3768452]
at
2010-07-11 07:40:42
on branch trunk
— CACKey 0.5.15
Fixed issue with manually specifying header file path (user: rkeene, size: 3551) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | + + + + + + + + + + + + | AC_DEFUN(DC_PCSC_HEADERS, [ AC_ARG_WITH(pcsc-headers, AC_HELP_STRING([--with-pcsc-headers=<path>], [Specify a path to look for PC/SC Headers]), [ manualheaders="${withval}" ], [ manualheaders="no" ]) if test "${manualheaders}" != "no"; then CFLAGS="${CFLAGS} -I${manualheaders}" CPPFLAGS="${CPPFLAGS} -I${manualheaders}" AC_CHECK_HEADER(wintypes.h, [ AC_DEFINE(HAVE_WINTYPES_H, [1], [Define if you have the PCSC-Lite header file (you should)]) ]) AC_CHECK_HEADER(pcsclite.h, [ AC_DEFINE(HAVE_PCSCLITE_H, [1], [Define if you have the PCSC-Lite header file (you should)]) ]) AC_CHECK_HEADER(winscard.h, [ AC_DEFINE(HAVE_WINSCARD_H, [1], [Define if you have the PCSC-Lite header file (you should)]) ]) else DC_PCSC_HEADERS_SEARCH fi ]) AC_DEFUN(DC_PCSC_HEADERS_SEARCH, [ SAVE_CFLAGS="${CFLAGS}" |
︙ |