changeset 26919:63f00298b35d

changed the code that checks the presence of the external dvdread to include the headers from libdvdread/ (as in current svn)
author nicodvb
date Sun, 01 Jun 2008 07:31:03 +0000
parents 91594145ec94
children 946c9ba2188b
files configure
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Jun 01 07:28:31 2008 +0000
+++ b/configure	Sun Jun 01 07:31:03 2008 +0000
@@ -5367,14 +5367,13 @@
   if test "$_dl" = yes; then
     cat > $TMPC << EOF
 #include <inttypes.h>
-#include <dvdread/dvd_reader.h>
-#include <dvdread/ifo_types.h>
-#include <dvdread/ifo_read.h>
-#include <dvdread/nav_read.h>
+#include <libdvdread/dvd_reader.h>
+#include <libdvdread/ifo_types.h>
+#include <libdvdread/ifo_read.h>
+#include <libdvdread/nav_read.h>
 int main(void) { return 0; }
 EOF
   fi
-  if test "$_dvdread" = no ; then
     _dvdreadconfig="dvdread-config"
     _dvdreadcflags=`$_dvdreadconfig --cflags`
     _dvdreadlibs=`$_dvdreadconfig --libs`
@@ -5385,7 +5384,6 @@
       _ld_extra="$_ld_extra $_dvdreadlibs"
       _res_comment="external"
     fi
-  fi
 fi
 
 if test "$_dvdread_internal" = yes; then