summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2014-09-01PD tests moved into the sigrok-test repo.Uwe Hermann
Drop them from the libsigrokdecode repository.
2014-08-16configure.ac: Use AM_CFLAGS instead of CFLAGS.Uwe Hermann
CFLAGS, CPPFLAGS, LDFLAGS and so on are so-called "user variables" and are meant for users of the package to use/override. The package itself should not set or modify them in any way. Instead, the "shadow variables" such as AM_CFLAGS, AM_CPPFLAGS, AM_LDFLAGS and so on, can be modified by the package.
2014-06-15do not add check to common cflags/libsMike Frysinger
Only the unittests use these flags, so don't go linking them in for the main library too.
2014-06-15fix test operatorMike Frysinger
The == operator is not in POSIX.
2014-05-09Add python as a pkg-config dependencyAbhishek Kumar
The current libsigrokdecode build passes the python CPPFLAGS and LDFLAGS directly into libsigrokdecode.pc.in. This leads to issues while cross-compiling as while using PKG_CONFIG_SYSROOT_DIR, there is a chance of the prefix being duplicated. We now, while detecting the installation of python (cross or normal), add a dependency for the module name in the pkgconfig file (from configure.ac).
2014-05-06configure.ac: Bump package version to 0.3.0.Uwe Hermann
2014-05-06configure.ac: Bump libtool/library version from 1:0:0 to 2:0:0.Uwe Hermann
The libtool current:revision:age numbers change from 1:0:0 to 2:0:0. Details: http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info This changes the library filename (e.g. on Linux) from libsigrokdecode.so.1.0.0 to libsigrokdecode.so.2.0.0, the SONAME (+symlink) becomes libsigrokdecode.so.2.
2014-05-06Bump libsigrok (optional) dependency to 0.3.0.Uwe Hermann
2014-05-04Fix 'make install' on OSes where 'python3' doesn't exist.Uwe Hermann
Sometimes the Python 3 executable is called just 'python3', sometimes it is called 'python3.4' and so on. Handle all cases transparently for the user. Before: $ make install /usr/bin/env: python3: No such file or directory After: $ make install python3.4 ./tools/install-decoders -i ./decoders -o [...] Installing 36 protocol decoders: [...]
2014-04-24Detect Python 3.4 if not installed as "python3".Bert Vermeulen
2014-04-13Switch to a non-recursive automake setup.Uwe Hermann
(fewer files, less clutter)
2014-04-09configure.ac: Clearly mark required and optional libs.Uwe Hermann
Also, drop printing of the detected Python CPPFLAGS/LDFLAGS, not really needed since it's available in 'make V=1' output as well (and we don't print it for other libs either).
2014-03-20Bump minimum Python version to 3.2Bert Vermeulen
We use some functions specific to 3.1, but every distribution appears to be at 3.2.x already anyway.
2014-01-30configure.ac: Add -Wmissing-prototypes.Uwe Hermann
2014-01-30configure.ac: Only check for things we actually use.Uwe Hermann
Drop checks where we don't use the result (yet). We might bring back some of those once we start actually using the result in the code.
2014-01-17configure.ac: Drop obsolete MinGW Python3 workaround.Uwe Hermann
We just use dummy/fake python3.pc files on Windows so that the usual pkg-config mechanism works there as well.
2014-01-17configure.ac: Check for all known Python3 pkg-config names.Uwe Hermann
Even when using pkg-config not all distro/platform specific issues are transparent, unfortunately. On some systems the pkg-config file is named "python3.pc" on others it's versioned, e.g. "python-3.2.pc". See also: http://sigrok.org/wiki/Libsigrokdecode/Python This should fix the build on e.g. FreeBSD, NetBSD, Mac OS X (some versions), and possibly various Linux distros, e.g. Gentoo. Also, drop manual AC_MSG_ERROR() and let PKG_CHECK_MODULES() output a more verbose and standardized error message if Python 3 is not found.
2014-01-03Link against libm to avoid Python related linking errors.Uwe Hermann
The python3-config script reported "-lm" as linker option previously, but we switched to using pkg-config (among other things for cross-compile support) which doesn't report "-lm" though (this is a common behaviour across multiple distros and OSes).
2014-01-02configure.ac: Use pkg-config to check for pythonMarcus Comstedt
Using python-config does not work when cross-compiling, since it can only be run on the host system.
2013-12-22runtc: Fix conditional build on non-Linux systems.Bert Vermeulen
2013-12-11Clean up runtc build.Bert Vermeulen
This only compiles libsigrok into the one target that needs it, instead of slopping it all over the place.
2013-12-10Add protocol decoder testing framework.Bert Vermeulen
This adds a tool in the tests directory, called pdtest. It uses the "test/" directory in every PD directory, if present, to run the PD against dumps found in the sigrok-dumps repository, and compares the output against ".output" files in the "test/" directory. The file "test/test.conf" is used to configure which tests to run. A separate tool (tests/runtc.c) is used to run the actual decoding and report output. To get an overview of the options, run tests/pdtest without any options.
2013-11-27Clean up autoconf leftover configuration.Bert Vermeulen
2013-11-15Move versioning info out to separate headerBert Vermeulen
2013-10-25Add a 'guess_bitrate' protocol decoder.Uwe Hermann
This PD tries to guess / detect / estimate a bitrate of e.g. some UART communication snippet or other protocols.
2013-10-20Add initial sync parallel bus decoder.Uwe Hermann
2013-10-17Add a testsuite for libsigrokdecode.Uwe Hermann
This uses the Check unit testing framework, just like libsigrok. For now, only a few very basic unit tests are included. Invocation: make check
2013-10-13Add new i2s_dump protocol decoder.Uwe Hermann
This stacks of top of the 'i2s' decoder and outputs the audio data to file (or stdout) in various formats. Currently only WAV is supported. This is work in progress, it has various hard-coded assumptions.
2013-10-11Rename usb_protocol to usb_packet.Uwe Hermann
There will be further PDs that are stacked on top of usb_packet.
2013-10-06Add initial MIDI protocol decoder.Uwe Hermann
This supports a certain number of MIDI messages already, but not yet all of them. More will be added later.
2013-08-31xfp: Decoder for XFP I2C structuresBert Vermeulen
2013-05-03Main header is <libsigrokdecode/libsigrokdecode.h> now.Uwe Hermann
This matches the convention used in libsigrok. Potential other headers might end up in libsigrokdecode/, but only libsigrokdecode.h is meant to be #included by frontends directly.
2013-05-03Update package version to new 0.2.0 releaseBert Vermeulen
2013-04-23GPL headers: Use correct project name.Uwe Hermann
2013-04-15configure.ac: Show $build, $host, and lib versions.Uwe Hermann
2013-04-06configure.ac: Look for python-config-3.x besides python3.x-config.Peter Stuge
2013-03-17configure.ac: Drop std-options, unneeded.Uwe Hermann
The automake 'std-options' option checks whether all installed tools and scripts have a --help and --version CLI option. This check is not needed for libsigrokdecode though, since it doesn't install any tools.
2013-03-12Add Dallas DS1307 RTC protocol decoderMatt Ranostay
Dallas DS1307 RTC protocol decoder that works stacked with the I2C PD. Based on the rtc8564 protocol decoder. Signed-off-by: Matt Ranostay <mranostay@gmail.com>
2013-02-09Add contrib/sigrok-logo-notext.png.Uwe Hermann
This is used in the generated Doxygen HTML output.
2013-01-27Update package version to new 0.1.1 release.Uwe Hermann
2013-01-27Update libtool version numbers for libsigrokdecode.Uwe Hermann
The last release of libsigrokdecode (package version number 0.1.0) had the initial libtool version numbers (current:revision:age) of 0:0:0. The upcoming release (0.1.1) is API-compatible with 0.1.0 and can be used as drop-in replacement. Programs linked against 0.1.0 do not need to be recompiled or relinked. As per the libtool guidelines this release only increments the libtool "revision" number. The new libtool version numbers (current:revision:age) are thus 0:1:0. See here for details: http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
2013-01-27Minor autotools improvements.Uwe Hermann
- Don't use "foreign" option for automake. Without this automake will perform some additional sanity checks e.g. on missing files. It will also now add the usual INSTALL file which documents the configure options etc. - Add AUTHORS file. - Add 'check-news' automake option, which will abort 'make dist' if the NEWS file doesn't list the current (to be released) package version at the top (i.e., if we forget to update NEWS).
2013-01-19configure.ac: Drop AC_PROG_CXX.Uwe Hermann
We don't need a C++ compiler for libsigrokdecode, so don't check for one. This would cause a build failure on all systems where there is a C compiler but no C++ compiler installed.
2013-01-19Lower glib-2.0 requirement to 2.24.0.Uwe Hermann
We don't use any of the recent glib features in libsigrokdecode, it compiles fine with 2.24.x.
2013-01-13Cosmetics, fix typos.Uwe Hermann
2012-12-28configure.ac: Add missing -fvisibility=hidden to CFLAGS.Uwe Hermann
2012-12-28configure.ac: Fix CFLAGS settings.Uwe Hermann
Don't override/overwrite CFLAGS in configure.ac, but rather amend it with (currently) "-Wall -Wextra". This properly allows users/packagers to do things like: ./configure (this will default to using "-g -O2" additionally) CFLAGS="-g -O2" ./configure (same as above) CFLAGS="" ./configure (no additional flags) CFLAGS="-g -O0" ./configure (disable optimization, e.g. for valgrind use) etc. etc.
2012-12-17Add intial CAN protocol decoder.Uwe Hermann
2012-12-12configure.ac: Also check for python3.3-config.Uwe Hermann
2012-11-24configure.ac/Makefile.am: Alphabetical order.Uwe Hermann