added missing checks at configure time

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@766 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2012-04-12 00:25:18 +00:00
parent 359bc6038d
commit c73bfe1015
5 changed files with 14 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ $(PCSC_RELAY_EXE): $(LIBNFC_DIR) $(LIBNFC_DLL)
WIN32_DIR=$(PACKAGE_TARNAME)-$(PACKAGE_VERSION)_win32
win: src/pcsc-relay.exe
win: $(PCSC_RELAY_EXE)
mkdir -p $(WIN32_DIR)
for i in \
$(LIBNFC_DLL) \

View File

@@ -55,15 +55,18 @@ AC_ARG_ENABLE(piccdev,
AC_DEFINE_UNQUOTED(PICCDEV, "${piccdev}", [OpenPICC character device])
# Checks for header files.
AC_CHECK_HEADERS([fcntl.h stdint.h stdlib.h string.h unistd.h])
AC_CHECK_HEADERS([fcntl.h stdint.h stdlib.h string.h unistd.h termios.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_TYPE_UINT8_T
# Checks for library functions.
AC_CHECK_FUNCS([sigaction tcgetattr])
AC_CHECK_FUNCS([sigaction tcgetattr strerror strtol strtoul])
AC_FUNC_FORK
AC_FUNC_MALLOC
AC_FUNC_REALLOC
cat << EOF