]> git.sesse.net Git - vlc/commitdiff
* ./configure.in: added libdvbpsi version check.
authorSam Hocevar <sam@videolan.org>
Wed, 15 May 2002 00:04:52 +0000 (00:04 +0000)
committerSam Hocevar <sam@videolan.org>
Wed, 15 May 2002 00:04:52 +0000 (00:04 +0000)
configure
configure.in

index aa8139ded12f4de6f00adb4183450775376cfe5c..090a6ee9fdb6333466d386810e268f21ca15578c 100755 (executable)
--- a/configure
+++ b/configure
@@ -6039,16 +6039,16 @@ fi
     test_CFLAGS="-I${with_dvbpsi}/include"
   fi
   CPPFLAGS="$save_CPPFLAGS $test_CFLAGS"
-  ac_safe=`echo "dvbpsi/dvbpsi.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for dvbpsi/dvbpsi.h""... $ac_c" 1>&6
-echo "configure:6045: checking for dvbpsi/dvbpsi.h" >&5
+  ac_safe=`echo "dvbpsi/dr.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for dvbpsi/dr.h""... $ac_c" 1>&6
+echo "configure:6045: checking for dvbpsi/dr.h" >&5
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
 #line 6050 "configure"
 #include "confdefs.h"
-#include <dvbpsi/dvbpsi.h>
+#include <dvbpsi/dr.h>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:6055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
@@ -6077,7 +6077,7 @@ else
 
     if test "x$enable_dvbpsi" != x
     then
-      { echo "configure: error: Could not find libdvbpsi on your system: you may get it from www.videolan.org" 1>&2; exit 1; }
+      { echo "configure: error: Could not find libdvbpsi on your system: you may get it from www.videolan.org, you'll need at least version 0.1.1" 1>&2; exit 1; }
     fi
   
 fi
index 5b58395e714d7bfdf7bfe9b26ee2adcd4a7d3920..6226375d68042f6c52fb7289a6d2edda8cf9ca04 100644 (file)
@@ -712,14 +712,14 @@ then
     test_CFLAGS="-I${with_dvbpsi}/include"
   fi
   CPPFLAGS="$save_CPPFLAGS $test_CFLAGS"
-  AC_CHECK_HEADER([dvbpsi/dvbpsi.h],[
+  AC_CHECK_HEADER([dvbpsi/dr.h],[
     PLUGINS="${PLUGINS} mpeg_ts_dvbpsi"
     mpeg_ts_dvbpsi_LDFLAGS="${mpeg_ts_dvbpsi_LDFLAGS} ${test_LDFLAGS} -ldvbpsi"
     mpeg_ts_dvbpsi_CFLAGS="${mpeg_ts_dvbpsi_CFLAGS} ${test_CFLAGS}"
     ],[
     if test "x$enable_dvbpsi" != x
     then
-      AC_MSG_ERROR([Could not find libdvbpsi on your system: you may get it from www.videolan.org])
+      AC_MSG_ERROR([Could not find libdvbpsi on your system: you may get it from www.videolan.org, you'll need at least version 0.1.1])
     fi
   ])
   CPPFLAGS="$save_CPPFLAGS"