project('tio', 'c',
- version : '1.47',
+ version : '2.0',
license : [ 'GPL-2'],
meson_version : '>= 0.53.2',
default_options : [ 'warning_level=2', 'buildtype=release', 'c_std=gnu99' ]
)
# The tag date of the project_version(), update when the version bumps.
-version_date = '2022-07-23'
+version_date = '2022-09-11'
# Test for dynamic baudrate configuration interface
compiler = meson.get_compiler('c')
endif
endforeach
+# Test for RS-485 support on Linux
+enable_rs485 = false
+if host_machine.system() == 'linux'
+ if compiler.check_header('linux/serial.h')
+ enable_rs485 = compiler.has_header_symbol('sys/ioctl.h', 'TIOCSRS485')
+ endif
+endif
+
subdir('src')
subdir('man')