[vlc-devel] commit: Configure: dvbpsi_SDTServiceAddDescriptor wasn' t in all versions of dvbpsi. Check it (Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Jan 9 00:58:36 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jan  9 00:26:29 2010 +0100| [73ce7c2d6a653aeac544e12d9f9cd6f7913afd4b] | committer: Jean-Baptiste Kempf 

Configure: dvbpsi_SDTServiceAddDescriptor wasn't in all versions of dvbpsi. Check it

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

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

diff --git a/configure.ac b/configure.ac
index f54cf42..679226a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2321,7 +2321,8 @@ then
     AC_CHECK_HEADERS([dvbpsi/dr.h],[
       VLC_ADD_PLUGIN([ts])
       if test "${enable_sout}" != "no"; then
-        VLC_ADD_PLUGIN([mux_ts])
+        AC_CHECK_LIB(dvbpsi, dvbpsi_SDTServiceAddDescriptor,
+           [VLC_ADD_PLUGIN([mux_ts])], [], [${LDFLAGS_test} -ldvbpsi])
       fi
       VLC_ADD_CPPFLAGS([mux_ts ts dvb],[${CPPFLAGS_test}])
       VLC_ADD_LIBS([mux_ts ts dvb],[${LDFLAGS_test} -ldvbpsi])
@@ -2329,7 +2330,7 @@ then
     ],[
       if test -n "${enable_dvbpsi}"
       then
-        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])
+        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.6])
       fi
     ],
     [#if defined( HAVE_STDINT_H )




More information about the vlc-devel mailing list