mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Added support for non-standard baud rates
Only enabled when possible, that is, when the BOTHER definition is available. It is untested but it should work as described here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683826 Some Cypress USB<->serial devices supposedly supports arbitrary speeds.
This commit is contained in:
parent
2c53bfde96
commit
deec83a4ee
2 changed files with 28 additions and 3 deletions
|
|
@ -87,6 +87,9 @@ TIO_CHECK_BAUDRATES(
|
|||
|
||||
AC_DEFINE_UNQUOTED([AUTOCONF_BAUDRATE_CASES],[$BAUDRATE_CASES],[Switch cases for detected baud rates])
|
||||
|
||||
# Check that it is possible to set arbitrary baud rates using BOTHER
|
||||
AC_CHECK_DECLS([BOTHER], [], [], [[#include <asm/termios.h>]])
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_CONFIG_FILES([src/Makefile])
|
||||
AC_CONFIG_FILES([src/bash-completion/tio])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue