/[rdesktop]/sourceforge.net/trunk/rdesktop/configure.ac
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1410 by ossman_, Wed Jun 13 14:53:32 2007 UTC revision 1420 by stargo, Sun Oct 28 16:49:45 2007 UTC
# Line 95  AC_ARG_ENABLE(smartcard, Line 95  AC_ARG_ENABLE(smartcard,
95                  case "$OSTYPE" in                  case "$OSTYPE" in
96                          darwin*)                          darwin*)
97                                  AC_CHECK_HEADER(PCSC/pcsclite.h, [WITH_SCARD=1], [WITH_SCARD=0])                                  AC_CHECK_HEADER(PCSC/pcsclite.h, [WITH_SCARD=1], [WITH_SCARD=0])
                                 AC_DEFINE(PCSC_OSX)  
                                 AC_DEFINE(WITH_PCSC120)  
98                                  PCSCLITE_CFLAGS=""                                  PCSCLITE_CFLAGS=""
99                                  PCSCLITE_LIBS="-framework PCSC"                                  PCSCLITE_LIBS="-framework PCSC"
100                                  ;;                                  ;;
# Line 113  AC_ARG_ENABLE(smartcard, Line 111  AC_ARG_ENABLE(smartcard,
111                          LIBS="$LIBS $PCSCLITE_LIBS"                          LIBS="$LIBS $PCSCLITE_LIBS"
112                          AC_DEFINE(WITH_SCARD)                          AC_DEFINE(WITH_SCARD)
113                  fi                  fi
114    
115                    AC_MSG_CHECKING([for old version of PCSC])
116                    AC_TRY_LINK([
117                            #include <stdlib.h>
118                            #ifdef __APPLE__
119                            #include <PCSC/wintypes.h>
120                            #include <PCSC/winscard.h>
121                            #else
122                            #include <winscard.h>
123                            #endif
124                            ],
125                            [SCardControl(NULL, NULL, 0, NULL, NULL);],
126                            [AC_MSG_RESULT(yes) AC_DEFINE(WITH_PCSC120, 1, [old version of PCSC])],
127                            [AC_MSG_RESULT(no)]
128                    )
129               ])               ])
130    
131  AC_SUBST(SCARDOBJ)  AC_SUBST(SCARDOBJ)

Legend:
Removed from v.1410  
changed lines
  Added in v.1420

  ViewVC Help
Powered by ViewVC 1.1.26