[Gstreamer-bugs] [Bug 132440] New - configure botches DVDNAV_CFLAGS

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Sat Jan 24 16:46:05 PST 2004


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=132440

Changed by mhz at altlinux.org.

--- shadow/132440	Sat Jan 24 19:46:05 2004
+++ shadow/132440.tmp.23488	Sat Jan 24 19:46:05 2004
@@ -0,0 +1,42 @@
+Bug#: 132440
+Product: GStreamer
+Version: 0.7.3
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: minor
+Priority: Normal
+Component: gst-plugins
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: mhz at altlinux.org               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: HEAD
+URL: 
+Summary: configure botches DVDNAV_CFLAGS
+
+The problem occurs at this place in configure.ac:
+
+  GST_CHECK_CONFIGPROG(DVDNAV, dvdnav-config)
+  if test x"$HAVE_DVDNAV" = x"yes"; then
+    dnl check version
+    DVDNAV_VERSION=`dvdnav-config --version|head -n 1|sed 's/^.*) //'|sed
+'s/ (.*)//'`
+    DVDNAV_MAJOR=`echo $DVDNAV_VERSION | cut -d. -f1 | sed s/[a-zA-Z\-].*//g`
+    DVDNAV_MINOR=`echo $DVDNAV_VERSION | cut -d. -f2 | sed s/[a-zA-Z\-].*//g`
+    DVDNAV_MICRO=`echo $DVDNAV_VERSION | cut -d. -f3 | sed s/[a-zA-Z\-].*//g`
+    if [[ "$DVDNAV_MAJOR" -eq "0" ]] && \
+       [[ "$DVDNAV_MINOR" -lt "1" ]]; then
+      AC_MSG_WARN([libdvdnav >= 0.1.7 is required, you have $DVDNAV_VERSION])
+      HAVE_DVDNAV="no"
+    elif [[ "$DVDNAV_MAJOR" -eq "0" ]] && \
+         [[ "$DVDNAV_MINOR" -eq "1" ]] && \
+         [[ "$DVDNAV_MICRO" -lt "7" ]]; then
+      AC_MSG_WARN([libdvdnav >= 0.1.7 is required, you have $DVDNAV_VERSION])
+      HAVE_DVDNAV="no"
+      fi
+    fi
+  AS_SCRUB_INCLUDE(DVDNAV_CFLAGS)
+
+'dvdnav-config --cflags' gets '-I/usr/include/dvdnav',
+but AS_SCRUB_INCLUDE promptly scrubs '-I/usr/include' off.




More information about the Gstreamer-bugs mailing list