Re: [opensc-devel] [opensc-commits] svn opensc changed [3592] Add --list-token-slots / -T to pkcs11-tool to list only slots with tokens.

2008-12-11 Thread Alon Bar-Lev
On 12/6/08, Martin Paljak wrote: > On 06.12.2008, at 21:27, Alon Bar-Lev wrote: > > > > On 12/6/08, Martin Paljak wrote: > > > > > As it affect the overall operation of pkcs11-tool (C_GetSlotList is > called > > > only once during the lifetime of the tool) > > > it is justified to have it as a ge

Re: [opensc-devel] [opensc-commits] svn opensc changed [3590] Re-add pcsc-lite compile-time dependency

2008-12-11 Thread Ludovic Rousseau
On Thu, Dec 11, 2008 at 1:27 PM, Alon Bar-Lev <[EMAIL PROTECTED]> wrote: > On 12/11/08, Ludovic Rousseau <[EMAIL PROTECTED]> wrote: >> On Thu, Dec 11, 2008 at 11:53 AM, Alon Bar-Lev <[EMAIL PROTECTED]> wrote: >> > On 12/11/08, Ludovic Rousseau <[EMAIL PROTECTED]> wrote: >> >> >> I think Apple mad

Re: [opensc-devel] [opensc-commits] svn opensc changed [3590] Re-add pcsc-lite compile-time dependency

2008-12-11 Thread Alon Bar-Lev
On 12/11/08, Ludovic Rousseau <[EMAIL PROTECTED]> wrote: > On Thu, Dec 11, 2008 at 11:53 AM, Alon Bar-Lev <[EMAIL PROTECTED]> wrote: > > On 12/11/08, Ludovic Rousseau <[EMAIL PROTECTED]> wrote: > > >> I think Apple made the good choice. I could change the definitions in > >> pcsc-lite wintypes.

Re: [opensc-devel] [opensc-commits] svn opensc changed [3590] Re-add pcsc-lite compile-time dependency

2008-12-11 Thread Ludovic Rousseau
On Thu, Dec 11, 2008 at 11:53 AM, Alon Bar-Lev <[EMAIL PROTECTED]> wrote: > On 12/11/08, Ludovic Rousseau <[EMAIL PROTECTED]> wrote: >> I think Apple made the good choice. I could change the definitions in >> pcsc-lite wintypes.h but that would break the ABI (on 64 bits >> machines) and would th

Re: [opensc-devel] [opensc-commits] svn opensc changed [3590] Re-add pcsc-lite compile-time dependency

2008-12-11 Thread Alon Bar-Lev
On 12/11/08, Ludovic Rousseau <[EMAIL PROTECTED]> wrote: > On Thu, Dec 11, 2008 at 11:20 AM, Alon Bar-Lev <[EMAIL PROTECTED]> wrote: > > Can't it cause conflict? > > > What kind of conflicts? > If the DWORD type is already defined elsewhere for exemple? No... I meant that if prototype accept por

Re: [opensc-devel] [opensc-commits] svn opensc changed [3590] Re-add pcsc-lite compile-time dependency

2008-12-11 Thread Ludovic Rousseau
On Thu, Dec 11, 2008 at 11:20 AM, Alon Bar-Lev <[EMAIL PROTECTED]> wrote: > Can't it cause conflict? What kind of conflicts? If the DWORD type is already defined elsewhere for exemple? > Or the Windows types are defined by "portable" types... ? That depends on your definition of "portable".

Re: [opensc-devel] [opensc-commits] svn opensc changed [3590] Re-add pcsc-lite compile-time dependency

2008-12-11 Thread Alon Bar-Lev
Can't it cause conflict? Or the Windows types are defined by "portable" types... ? Alon. On 12/11/08, Ludovic Rousseau <[EMAIL PROTECTED]> wrote: > On Thu, Dec 11, 2008 at 10:50 AM, Alon Bar-Lev <[EMAIL PROTECTED]> wrote: > > On 12/11/08, Ludovic Rousseau <[EMAIL PROTECTED]> wrote: > >> This pa

Re: [opensc-devel] [opensc-commits] svn opensc changed [3590] Re-add pcsc-lite compile-time dependency

2008-12-11 Thread Ludovic Rousseau
On Thu, Dec 11, 2008 at 10:50 AM, Alon Bar-Lev <[EMAIL PROTECTED]> wrote: > On 12/11/08, Ludovic Rousseau <[EMAIL PROTECTED]> wrote: >> This patch is needed (committed in revision 3603) because on Mac OS X >> winscard.h does not define (and does not use) the windows types DWORD, >> LONG, etc. and

Re: [opensc-devel] [opensc-commits] svn opensc changed [3590] Re-add pcsc-lite compile-time dependency

2008-12-11 Thread Alon Bar-Lev
On 12/11/08, Ludovic Rousseau <[EMAIL PROTECTED]> wrote: > This patch is needed (committed in revision 3603) because on Mac OS X > winscard.h does not define (and does not use) the windows types DWORD, > LONG, etc. and these types are used in internal-winscard.h Where does the wintypes.h comes f

Re: [opensc-devel] [opensc-commits] svn opensc changed [3590] Re-add pcsc-lite compile-time dependency

2008-12-11 Thread Ludovic Rousseau
On Thu, Dec 11, 2008 at 9:58 AM, Alon Bar-Lev <[EMAIL PROTECTED]> wrote: > You need an available winscard.h on the platform. > > The followings must be availbale: > - test -z "${PCSC_CFLAGS}" && PCSC_CFLAGS="-I/usr/include/PCSC" > - AC_CHECK_HEADERS([winscard.h],,[test "${WIN32}

Re: [opensc-devel] [opensc-commits] svn opensc changed [3590] Re-add pcsc-lite compile-time dependency

2008-12-11 Thread Alon Bar-Lev
You need an available winscard.h on the platform. The followings must be availbale: - test -z "${PCSC_CFLAGS}" && PCSC_CFLAGS="-I/usr/include/PCSC" - AC_CHECK_HEADERS([winscard.h],,[test "${WIN32}" != "yes" && AC_MSG_ERROR([winscard.h is required for pcsc])]) Maybe you should