diff configure @ 19608:18a538908577

Check for requirements at configure-time, not at run-time. patch by Vladimir Voroshilov, voroshil <at> gmail <dot> com
author diego
date Thu, 31 Aug 2006 19:00:09 +0000
parents 8c5212c50e87
children 7ec9c72264bc
line wrap: on
line diff
--- a/configure	Thu Aug 31 18:43:53 2006 +0000
+++ b/configure	Thu Aug 31 19:00:09 2006 +0000
@@ -6720,6 +6720,9 @@
 fi
 echores "$_radio_v4l"
 
+if test "$_radio_v4l" = no && test "$_radio_v4l2" = no && test "$_radio" = yes ; then
+    die "Radio driver requires V4L or V4L2!"
+fi
 
 echocheck "Video 4 Linux 2/IVTV PVR interface"
 if test "$_pvr" = auto ; then