[vlc-commits] commit: configure: do not fail if dvdnav is not present. ( =?UTF-8?Q?R=C3=A9mi=20Duraffort=20?=)

git at videolan.org git at videolan.org
Mon Dec 6 17:44:44 CET 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Dec  6 17:43:11 2010 +0100| [46527ae8580d1ccf2edaead2a7d5ad592ea2fab5] | committer: Rémi Duraffort 

configure: do not fail if dvdnav is not present.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=46527ae8580d1ccf2edaead2a7d5ad592ea2fab5
---

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index a2d8c3a..25b2ada 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1867,8 +1867,8 @@ then
         [], [${LIBS_dvdnav}])
     AC_CHECK_LIB(dvdnav, dvdnav_describe_title_chapters,
       AC_DEFINE(HAVE_DVDNAV_DESCRIBE_TITLE_CHAPTERS, 1, [Define if you have dvdnav_describe_title_chapters.]),
-        [], [${LIBS_dvdnav}])
-    ])
+        [], [${LIBS_dvdnav}])],
+      [AC_MSG_WARN(dvdnav library not found)])
 fi
 
 dnl



More information about the vlc-commits mailing list