1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00

Support custom baudrates on Linux.

This commit is contained in:
Martin Ling
2013-11-21 00:35:51 +00:00
parent 31b3a8f5b5
commit 7a6d2196e0
5 changed files with 153 additions and 7 deletions

View File

@@ -107,6 +107,7 @@ AC_CHECK_HEADERS([errno.h fcntl.h stddef.h sys/ioctl.h termios.h])
AC_C_INLINE
AC_TYPE_SIZE_T
AC_TYPE_SSIZE_T
AC_CHECK_TYPE([struct termios2],[AC_DEFINE(HAVE_TERMIOS2, 1)],[],[[#include <linux/termios.h>]])
# Checks for library functions.
AC_CHECK_FUNCS([strerror])