Commit Graph

15 Commits

Author SHA1 Message Date
Steve Markgraf be8716b2c8 cflags: add -Wdeclaration-after-statement
This allows people working on the code to spot the
most common error that breaks the MSVC build

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2014-01-24 17:45:55 +01:00
Steve Markgraf ad4a029405 unbreak automake build
after the latest sublib changes we got:
src/Makefile.am:31: compiling `convenience/convenience.c' in
subdir requires `AM_PROG_CC_C_O' in `configure.ac'

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2014-01-24 10:58:01 +01:00
Steve Markgraf 965a4ab5e9 build: don't warn on unused parameters
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04 22:12:09 +01:00
Kyle Keen dbc49549a0 add new tool: rtl_power
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-10-24 23:46:16 +02:00
Steve Markgraf 3e17ef2b55 lib: don't detach kernel driver by default
Since this feature also disconnects running instances
of librtlsdr that claimed the device, it is now disabled
by default and can only be enabled at compile time.

To enable it when building with cmake:
cmake . -DDETACH_KERNEL_DRIVER=ON

To enable it when building with automake:
./configure --enable-driver-detach

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-06-04 20:57:43 +02:00
Christian Vogel 3087e7acde Replace obsolete automake AM_CONFIG_HEADER.
This fixes the following complaint by autoconf 2.69-1, automake 1.13.1-1.

: configure.ac:80: error: 'AM_CONFIG_HEADER': this macro is obsolete.
: You should use the 'AC_CONFIG_HEADERS' macro instead.
: /usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expan
: configure.ac:80: the top level

Automake 1:1.11.3-1ubuntu2, autoconf 2.68-1ubuntu2 don't even emit a warning
without, and work just fine with this patch.

Signed-off-by: Christian Vogel <vogelchr@vogel.cx>
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-13 21:42:28 +01:00
Kyle Keen 196bb15169 rtl_adsb: performance tweaks
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-12-28 16:42:05 +01:00
Dimitri Stolnikov 58a53039db configure.ac: fix librt check
Thanks to Pete Zaitcev <zaitcev@kotori.zaitcev.us>
2012-11-07 20:21:58 +01:00
Kyle Keen 995a195f4d rtl_test: add ppm measurement
Use with caution, the result highly depends on the
accuracy of the clocksource your machine uses.
On some machines it may be quite accurate, on
others completely off.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-24 17:35:30 +02:00
Steve Markgraf fc390b3224 build rtl_fm
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-17 20:41:27 +02:00
Dimitri Stolnikov 0d70522eda automake: define pkg-config variables 2012-06-07 22:41:42 +02:00
Dimitri Stolnikov 932d6a6fb2 autotools: check for pthread library 2012-05-25 22:55:54 +02:00
Dimitri Stolnikov e5e68c6524 compile with warnings enabled 2012-04-25 22:36:56 +02:00
Dimitri Stolnikov 554e1b62f2 fix mailing list address 2012-04-08 13:24:12 +02:00
Dimitri Stolnikov 001bfb96ef add autotools based build system 2012-03-27 20:53:49 +02:00