gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r9806: Don't assume an 'ffmpeg' subs


From: Sandro Santilli
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r9806: Don't assume an 'ffmpeg' substring in avcodec.h path means the layout
Date: Mon, 22 Sep 2008 12:38:10 +0200
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9806
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Mon 2008-09-22 12:38:10 +0200
message:
  Don't assume an 'ffmpeg' substring in avcodec.h path means the layout
  is ffmpeg/avcodec.h rather then libavcodec/avcodec.h. Be more accurate
  about the test...
modified:
  macros/ffmpeg.m4
=== modified file 'macros/ffmpeg.m4'
--- a/macros/ffmpeg.m4  2008-09-22 10:22:09 +0000
+++ b/macros/ffmpeg.m4  2008-09-22 10:38:10 +0000
@@ -48,7 +48,7 @@
   ])
 
   if test x${cross_compiling} = xno; then
-    AC_MSG_CHECKING([location of avcodec.h using pkgconfig])
+    AC_MSG_CHECKING([location of avcodec.h])
     if test x"$PKG_CONFIG" != x -a x"${ac_cv_path_ffmpeg_incl}" = x; then
       if $PKG_CONFIG --exists libavcodec; then
        # Some systems return /usr/include/ffmpeg, others /usr/include.
@@ -117,7 +117,7 @@
   if test x"${ac_cv_path_ffmpeg_incl}" = x; then
      AC_MSG_ERROR([Cannot find ffmpeg/avcodec.h.  Use --with-ffmpeg-incl= to 
specify the location of the *directory* holding avcodec.h])
   else
-    if echo $avcodec_h | grep -q ffmpeg; then
+    if echo $avcodec_h | grep -q ffmpeg/avcodec.h; then
       AC_DEFINE(HAVE_FFMPEG_AVCODEC_H, 1, [Define if you have avcodec.h 
installed.])
     else
       AC_DEFINE(HAVE_LIBAVCODEC_AVCODEC_H, 1, [Define if you have avcodec.h 
installed.])


reply via email to

[Prev in Thread] Current Thread [Next in Thread]