path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2018-12-06v4l2-compliance needs forkFabrice Fontaine1-1/+4
v4l2-compliance uses fork, since https://git.linuxtv.org/v4l-utils.git/commit/utils/v4l2-compliance/?id=79d98edd1a27233667a6bc38d3d7f8958c2ec02c So don't build it if fork is not available Fixes: - http://autobuild.buildroot.org/results/447d792ce21c0e33a36ca9384fee46e099435ed8 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2018-11-07configure: build without BPF support in ir-keytableSean Young1-4/+13
It currently does not build on mips and some platforms do not have BPF support yet (risc-v, for example). Signed-off-by: Sean Young <sean@mess.org>
2018-10-19configure.ac: fix qv4l2/qvidcap buildHans Verkuil1-2/+2
Add missing QTGL_CFLAGS/LIBS defines. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2018-10-18qv4l: Drop support for Qt4Gregor Jasny1-23/+2
2018-10-08utils: Add qvidcap to configure status reportBård Eirik Winther1-0/+2
Add missing build status flag for qvidcap to the configuration report Signed-off-by: Bård Eirik Winther <bwinther@cisco.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2018-10-06buildsystem: Start v4l-utils 1.17.0 development cycleGregor Jasny1-1/+1
2018-10-06Prepare for 1.16.0 releasev4l-utils-1.16.0Gregor Jasny1-1/+1
2018-08-30configure.ac: improve check for gconv buildMauro Carvalho Chehab1-1/+6
if --enable-gconv is used, check if the used directory is a valid one. If not, print a warning message and disable it. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-30configure.ac: disable gconv if it can't find its locationMauro Carvalho Chehab1-2/+2
if --enable-gconv is used, it will need to know where gconv files will be stored, otherwise linking the ARIB charset code will fail. Also, for it to work, v4l-utils should be built with shared libraries support. there is already a check for it, except that it doesn't really works the way it was coded. Fix it by placing the check conditions at the right place and adding a check to see if with_gconvdir was filled. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-30configure.ac: check gconv on Debian/Ubuntu-specific directoriesMauro Carvalho Chehab1-2/+8
Unfortunately, Debian/Ubuntu stores gconv files on random arch-specific directories. Auto-detecting those locations is not that easy, as the directories are hardcoded into a series of files. So, looking at glibc debian package files at: https://packages.debian.org/source/sid/glibc Inside the glibc_*.debian.tar.xz tarball, there is a directory called sysdeps/ with lots of per-arch *.mk files. Those specify the target dirs. On x86, for example, it would be possible to have it located on 4 directories: sysdeps/amd64.mk:i386_configure_target = i686-linux-gnu sysdeps/amd64.mk:x32_configure_target = x86_64-linux-gnux32 sysdeps/i386.mk:amd64_configure_target = x86_64-linux-gnu sysdeps/i386.mk:x32_configure_target = x86_64-linux-gnux32 and the actual gconv directory is: /usr/lib/<configure_target>/gconv Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-30configure.ac: revert weird spurious changeHans Verkuil1-1/+1
Commit de6ae16e1d ("v4l-utils: sync with latest media-git master.") introduced an accidental change to configure.ac which broke the bootstrap script. Not sure where that change came from, so just revert it. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-08-30v4l-utils: sync with latest media-git master.Hans Verkuil1-1/+1
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2018-08-18qvidcap: Depend on qtgl, not just qtGregor Jasny1-1/+1
2018-08-17qvidcap: add Qt video viewerHans Verkuil1-3/+27
An Qt OpenGL/OpenGL ES video viewer that can read from video nodes, raw files, stream from the network and generate video using the test pattern generator. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Co-Developed-by: Bård Eirik Winther <bwinther@cisco.com> Signed-off-by: Bård Eirik Winther <bwinther@cisco.com>
2018-08-13keytable: add bpf protocolsSean Young1-0/+4
Add a few BPF protocols and infrastructure for building them. Signed-off-by: Sean Young <sean@mess.org>
2018-08-13keytable: add support for BPF based protocolsSean Young1-0/+11
We use a modified version of samples/bpf/bpf_load.c from the linux kernel tree to load elf based BPF protocols and display the BPF program names. Any global int variables can be overrided from the command line. The immediate values are patched in the BPF LD instructions. Write a BPF protocol decoder in C, and compile with: clang -O2 -c --target=bpf foo.c Now you can load the object file like so: ir-keytable -p foo.o -v Any parameters can be specified using -e name=value. Signed-off-by: Sean Young <sean@mess.org>
2017-12-27buildsystem: Start v4l-utils 1.15.0 development cycleGregor Jasny1-1/+1
2017-12-27Prepare for 1.14.0 releasev4l-utils-1.14.0Gregor Jasny1-1/+1
2017-12-15configure.ac: drop --disable-libv4l, disable plugin support insteadThomas Petazzoni1-12/+3
In commit 2e604dfbcd09b93f0808cedb2a0b324c5569a599 ("configure.ac: add --disable-libv4l option"), an option --disable-libv4l was added. As part of this, libv4l is no longer built at all in static linking configurations, just because libv4l uses dlopen() for plugin support. However, plugin support is only a side feature of libv4l, and one may need to use libv4l in static configurations, just without plugin support. Therefore, this commit: - Essentially reverts 2e604dfbcd09b93f0808cedb2a0b324c5569a599, so that libv4l can be built in static linking configurations again. - Adjusts the compilation of libv4l2 so that the plugin support is not compiled in when dlopen() in static linking configuration (dlopen is not available). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-10-31libv4l2: SDL test applicationPavel Machek1-0/+4
Add support for simple SDL test application. Allows taking jpeg snapshots, and is meant to run on phone with touchscreen. Not particulary useful on PC with webcam, but should work. Signed-off-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> [hans.verkuil@cisco.com: added -lm -ldl -lrt to LDFLAGS]
2017-09-14utils: move rds out of it, placing at contribMauro Carvalho Chehab1-1/+1
The rds/ dir isn't a core RDS set of utilities, but something else. Move it to contrib/ Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-09-14Move decode_tm6000 and xc3028-firmware to contribMauro Carvalho Chehab1-2/+2
Those are actually ancillary development tools, and aren't used by end-users. So, move them to contrib/ dir. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-07-26Build libv4lconvert helper support only when fork() is availableThomas Petazzoni1-0/+3
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
2017-05-29configure.ac: add USE_LIBV4L to summaryHans Verkuil1-0/+1
This was missing, so add it. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-05-29configure.ac: fix build of v4l-utils on uclinuxHugues Fruchet1-1/+1
Build of v4-utils is conditional to "linux_os=yes" which was not set in case of uclinux, fix this. Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-05-29configure.ac: add --disable-libv4l optionHugues Fruchet1-1/+11
Add an option to disable libv4l libraries and plugins compilation. If system is not supporting dynamic shared libraries, this option is automatically set. dlopen() is no more a mandatory dependency (warning is kept). lib/ and contrib/ folders are no more built with this option set because of libv4l dependency. utils/ folder is still built with this options set but without rds-ctl because of its libv4l dependency. v4l2-compliance and v4l2-ctl are also built but without any links on libv4l and libv4lconvert libraries. Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-05-29configure.ac: revisit --disable-libv4l to --disable-dyn-libv4lHugues Fruchet1-8/+8
--disable-libv4l is not disabling libv4l compilation, but only dynamic library support of libv4l libraries. Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-05-29configure.ac: revisit v4l2-ctl/compliance using libv4l variable namingHugues Fruchet1-4/+4
USE_V4L2_CTL and USE_V4L2_COMPLIANCE are used to trig the fact that v4l2-ctl and v4l2-compliance are using libv4l2, change namings to not confuse with overall v4l2-ctl/compliance utilities building. Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-05-29configure.ac: fix wrong summary if --disable-v4l2-ctl-stream-toHugues Fruchet1-1/+0
If --disable-v4l2-ctl-stream-to option is set, summary shows: v4l2-ctl uses libv4l : no due to USE_V4L2_CTL set to "no", fix this. Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-05-15configure.ac: clarify configure summaryHans Verkuil1-24/+24
Some of the texts are rather obscure and misleading. Fix those. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-04-10v4l2-ctl: add --disable-v4l2-ctl-stream-to configure optionHans Verkuil1-0/+10
The --stream-to and --stream-to-host options allow the user to save the video to a file or stream it to a remote host. There are situations where this is not something you want to support. Add a new --disable-v4l2-ctl-stream-to configure option that disables that --stream-to and --stream-to-host options. You can still test streaming, just not save the video anywhere. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-04-03Conditional sys/sysmacros.h inclusionIngo Feinerer1-0/+1
Make the inclusion of the sys/sysmacros.h header file conditional. I noticed it on OpenBSD which has no sys/sysmacros.h, so compilation fails there. Signed-off-by: Ingo Feinerer <feinerer@logic.at> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-01-23Apply FreeBSD header search paths also to kFreeBSDGregor Jasny1-1/+1
2017-01-22buildsystem: Start v4l-utils 1.13.0 development cycleGregor Jasny1-1/+1
2017-01-22Prepare for 1.12.0 releasev4l-utils-1.12.0Gregor Jasny1-1/+1
2016-10-04libdvbv5: add a header with the library versionMauro Carvalho Chehab1-0/+11
As we're adding some new features that will be available only on newer versions, add a header with the library version. That will allow programs using the library to check if some feature is available by looking into the version. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-09-27configure.ac: libdvbv5 is not experimentalMauro Carvalho Chehab1-1/+1
Fix the help information about libdvbv5: it is not experimental for quite a while. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-09-27configure.ac: report what kind of libraries will be builtMauro Carvalho Chehab1-0/+3
Report if either static, dynamic or both types of library will be built. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-09-27configure.ac: don't enable pthread with static librariesMauro Carvalho Chehab1-3/+5
At least on Fedora, static libraries using pthread fail with: /usr/bin/ld: ../../lib/libdvbv5/.libs/libdvbv5.a(libdvbv5_la-dvb-dev-local.o): undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5' /usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Maybe this could be fixed somehow, but, as this is not an usual scenario, just disable it if configure is called with: ./configure --disable-shared Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-08-29dvb-dev-remote: do a call stack dump on msg format errorsMauro Carvalho Chehab1-0/+5
When debugging troubles on sending/receiving messages, it is important to identify what caller function caused the error. So, add a logic to do a stack dump. With this patch such errors will be shown as: DEBUG buffer to short for int32_t DEBUG Stack: DEBUG /devel/v4l/v4l-utils/lib/libdvbv5/.libs/libdvbv5.so.0(stack_dump+0x22) [0x7f0636756cf2] DEBUG /devel/v4l/v4l-utils/lib/libdvbv5/.libs/libdvbv5.so.0(+0x2ba84) [0x7f0636757a84] DEBUG /devel/v4l/v4l-utils/lib/libdvbv5/.libs/libdvbv5.so.0(dvb_remote_fe_get_parms+0x311) [0x7f06367580f1] DEBUG /devel/v4l/v4l-utils/lib/libdvbv5/.libs/libdvbv5.so.0(+0x2c2ed) [0x7f06367582ed] DEBUG /devel/v4l/v4l-utils/utils/dvb/.libs/lt-dvbv5-zap() [0x401eb9] DEBUG /lib64/libc.so.6(__libc_start_main+0xf1) [0x7f0635e78731] DEBUG /devel/v4l/v4l-utils/utils/dvb/.libs/lt-dvbv5-zap() [0x403249] Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-08-15cec-follower: add man pageHans Verkuil1-0/+1
Add a (very simple) man page. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-08-15cec-compliance: add man pageHans Verkuil1-0/+1
Add a (very simple) man page. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-08-15cec-follower: add cec-follower utilityJohan Fjeldtvedt1-0/+2
The cec-follower utility implements the follower code needed to emulate the CEC device. I.e. it will act as if it is e.g. a playback device. This can be used in combination with cec-compliance to test a remote CEC device. This utility will emulate CEC device on the local CEC adapter, and cec-compliance can be used to test a remote CEC device. The cec-follower utility will also verify some CEC protocol requirements. Note that these CEC features have currently limited coverage: One Touch Record Deck Control Device Menu Control Audio Rate Control Tuner Control Timer Programming Capability Discovery and Control Vendor Specific Commands There is also no or very limited support for Unregistered devices, CEC switches and CDC-only devices. Many thanks to Johan Fjeldtvedt who did this work during his Cisco Summer internship! Signed-off-by: Johan Fjeldtvedt <jaffe1@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-08-14cec-ctl: add manpageHans Verkuil1-0/+1
Add a manpage for this utility. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-08-07libdvbv5: add local logic for device detection notifierMauro Carvalho Chehab1-21/+23
Implement a notification thread to report device detect. Please notice that this code was compile-tested only, as we need to add support on some userspace app to be able to test it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-08-06libdvbv5: add support for using a remote DVB deviceMauro Carvalho Chehab1-5/+6
Add a dvbv5-daemon to receive remote DVB device access requests, and the corresponding logic at the library, via dvb-dev-remote.c. Please notice that only the libdvbfunctions that start with "dvb_dev" are supported, with the exception of the dvb_dev_scan(). This is not enough to even tune a device, but support for the missing parts will be added on further patches. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-08-06configure.ac: Check for pthreadMauro Carvalho Chehab1-0/+10
We'll need pthreads for the next patches. So, add a check for it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-07-28configure.ac: libdvbv5 now require libudevMauro Carvalho Chehab1-1/+2
The newest version of libdvbv5 require libudev to work. So, add the missing dependency. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-07-28configure.ac: make libjpeg optionalMauro Carvalho Chehab1-5/+7
Currently, configure requires libjpeg, except if explicitly disabled. That's annoying, specially when we're not working with jpeg webcams (with is the usual usecase - at least for me). So, make it optional. User will notice anyway if this is missing, as configure will display the list of options used on the build. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-07-28configure.ac: Show "no" if GL or GLU is not foundMauro Carvalho Chehab1-2/+2
Just for the sake of displaying the selected options, instead of printing a blank string, add a "no" to the case where the library was not found. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

Privacy Policy