copy code from OpenSC instead of including its source files

This commit is contained in:
Frank Morgner
2015-11-02 21:22:55 +01:00
parent d20a879a9c
commit abee9f8853
3 changed files with 176 additions and 11 deletions

View File

@@ -74,7 +74,7 @@ AC_MSG_CHECKING([for sc_sm_stop])
AC_TRY_LINK_FUNC(sc_sm_stop,
[ AC_MSG_RESULT([yes]) ],
[ AC_MSG_ERROR([Cannot link against libopensc with SM]) ])
AC_CHECK_FUNCS([sc_apdu_get_octets _sc_match_atr list_iterator_next])
AC_CHECK_FUNCS([sc_apdu_set_resp sc_apdu_get_octets _sc_match_atr list_iterator_next])
CPPFLAGS="$saved_CPPFLAGS"
LIBS="$saved_LIBS"