if you dont have compiler and dependent libs in debian 6 as known as squeeze you should add this line into /etc/apt/sources.list
deb http://ftp.tr.debian.org/debian-multimedia/ unstable main
then use this command to install needed programs to build
apt-get install g++ libswscale-dev libavcodec-dev libv4l-dev libavformat-dev libqt4-multimedia
I still dont know how to write configure and make stuff with using autotools. anyway I wrote a simple script to make things easier.
1. first step get the code.
svn co https://qtv4lcapture.svn.sourceforge.net/svnroot/qtv4lcapture qtv4lcapture
this will generate qtv4lcapture in where ever you enter that.
2. building. simply
this will compile and run the qtv4lcapture. you can learn how to compile it by reading build.sh.