Commit Graph

28 Commits

Author SHA1 Message Date
Aurelien Jacobs 653cef3ab1 linux: remove readlinkat() dependency 2014-09-04 20:13:55 +02:00
Martin Ling 7f450f46bd Compile with -pedantic. 2014-08-24 14:06:21 +01:00
Bert Vermeulen 942a6d349e Bump package version to 0.2.0. 2014-08-20 23:40:19 +02:00
Uwe Hermann 900904638b configure.ac: We no longer need to set WINVER explicitly.
Since we now require MinGW-w64, we no longer have to set WINVER manually,
since MinGW-w64 defaults to WINVER=0x0502 (which corresponds to
Windows Server 2003 SP1 / Windows XP SP2 apparently, which is fine for us).
2014-08-05 21:22:59 +02:00
Uwe Hermann 9a8d04bca6 configure.ac: MinGW build fix (setting WINVER=0x0501).
Without this the build fails with:

  windows.c:40:43: error: 'WC_NO_BEST_FIT_CHARS' undeclared (first use in
  this function)
2014-07-31 23:11:40 +02:00
Marcus Comstedt 12056e2f75 Avoid use of struct serial_struct on systems which don't have it (Android)
This fixes bug #376.
2014-07-06 14:16:56 +02:00
Marcus Comstedt 5bd33b7c8b Don't use readlinkat if it does not exist
This fixes bug #377.
2014-07-06 14:15:46 +02:00
Aurelien Jacobs 970f279ae4 Introduce SP_API/SP_PRIV to mark visibility of functions. 2014-07-02 14:43:32 +02:00
Martin Ling e4ce975a54 Fix build for platforms without enumeration & port metadata support. 2014-06-14 12:27:54 +01:00
Martin Ling e33dcf90a0 Tidy up and split most OS-specific code to separate files. 2014-06-11 15:10:29 +01:00
Aurelien Jacobs a93fb46888 Add new APIs to get some USB descriptor details for USB serial ports. 2014-06-10 23:51:11 +02:00
Aurelien Jacobs 98cac5d63e Remove the udev dependency and parse the /sys hierarchy instead. 2014-06-10 22:17:07 +02:00
Uwe Hermann 9fb991348d configure.ac: Add 'check-news' automake option.
This warns if the NEWS file hasn't been updated before a release.
2014-05-05 02:09:11 +02:00
Martin Ling 5cea279a85 linux: Speed fields may not be present in kernel termios structures. 2014-01-03 13:38:06 +01:00
Martin Ling 27e231ff35 Only build linux_termios.c on Linux. 2014-01-03 11:52:53 +01:00
Uwe Hermann 7c3a1ee32a configure.ac: Cosmetics, fix typo. 2013-12-27 02:28:10 +01:00
Martin Ling 2dcf830888 Remove various unused code in configure.ac. 2013-12-18 15:59:58 +00:00
Martin Ling 397d89de3a Make libudev optional. 2013-12-05 20:21:39 +00:00
Uwe Hermann 7de20e3915 Use common 3-digit package version number. 2013-11-22 16:44:29 +01:00
Martin Ling 40978c2b41 Support non-standard flow control modes on Linux. 2013-11-21 11:52:41 +00:00
Martin Ling 7a6d2196e0 Support custom baudrates on Linux. 2013-11-21 11:51:08 +00:00
Uwe Hermann 728f6de510 Use new project URL. 2013-11-15 11:36:14 +01:00
Uwe Hermann e4bffe06c2 pkg-config file: Use Requires.private to fix static build.
Any libs needed when building static binaries must be listed in the
'Requires.private' field of the installed pkg-config file libserialport.pc.

Currently, this is libudev (but only when building on/for Linux).
2013-11-15 09:28:34 +01:00
Uwe Hermann baba075903 libserialport.h: Add package/lib version macros.
These can be used by frontends e.g. for conditional compilation, or
simply for printing, logging to debug output, and so on.
2013-11-15 09:28:34 +01:00
Uwe Hermann a3d4a56e15 configure.ac: Drop unneeded AC_MSG_ERROR.
The default behaviour of PKG_CHECK_MODULES is to abort with an error
anyway, but it will also print a more usable error message and hints
for the user about how to use PKG_CONFIG_PATH and so on.
2013-11-15 00:42:40 +01:00
Uwe Hermann f92f1f0c20 Minor cosmetics, typos, and so on. 2013-11-15 00:42:40 +01:00
Martin Ling 1ebf4347e0 Fix building on OSX and Linux. 2013-11-15 00:42:37 +01:00
Martin Ling 0662f2bb88 Add build system. 2013-10-27 11:01:44 +00:00