Use $vfwcap_indev_extralibs variable instead of duplicating "-lvfw32" in
authorRamiro Polla <ramiro.polla@gmail.com>
Sat, 23 Jan 2010 20:38:17 +0000 (20:38 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Sat, 23 Jan 2010 20:38:17 +0000 (20:38 +0000)
capCreateCaptureWindow() check.
Based on patch by kemuri <kemuri9 at gmail dot com>

Originally committed as revision 21409 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 72c2db0..432d688 100755 (executable)
--- a/configure
+++ b/configure
@@ -2542,7 +2542,7 @@ check_header linux/videodev.h
 check_header linux/videodev2.h
 check_header sys/videoio.h
 
-check_func_headers "windows.h vfw.h" capCreateCaptureWindow -lvfw32
+check_func_headers "windows.h vfw.h" capCreateCaptureWindow "$vfwcap_indev_extralibs"
 
 # check for ioctl_meteor.h, ioctl_bt848.h and alternatives
 { check_header dev/bktr/ioctl_meteor.h &&