| 49 |
AC_CHECK_HEADERS(errno.h fcntl.h stdlib.h unistd.h termios.h string.h errno.h sys/time.h sys/types.h stdarg.h,, |
AC_CHECK_HEADERS(errno.h fcntl.h stdlib.h unistd.h termios.h string.h errno.h sys/time.h sys/types.h stdarg.h,, |
| 50 |
[AC_MSG_WARN([some header files not found])]) |
[AC_MSG_WARN([some header files not found])]) |
| 51 |
|
|
| 52 |
AC_CHECK_HEADERS(PCSC/ifdhandler.h,, |
OLD_CFLAGS="$CFLAGS" |
| 53 |
[AC_MSG_ERROR([PCSC/ifdhandler.h not found, install pcsc-lite 1.2.9-beta5 or later])], |
CFLAGS=`pkg-config libpcsclite --cflags` |
| 54 |
[ #include <PCSC/pcsclite.h> ]) |
CFLAGS="$OLD_CFLAGS $CFLAGS" |
| 55 |
|
AC_CHECK_HEADER(ifdhandler.h,, |
| 56 |
|
[AC_MSG_ERROR([ifdhandler.h not found, install pcsc-lite 1.2.9-beta5 or later])], |
| 57 |
|
[ #include <pcsclite.h> ]) |
| 58 |
|
CFLAGS="$OLD_CFLAGS" |
| 59 |
|
|
| 60 |
dnl Checks for typedefs, structures, and compiler characteristics. |
dnl Checks for typedefs, structures, and compiler characteristics. |
| 61 |
AC_C_CONST |
AC_C_CONST |