Mercurial > mplayer.hg
comparison configure @ 12973:093afb92e4d5
LIVE.COM autodetection
author | wight |
---|---|
date | Mon, 09 Aug 2004 08:21:42 +0000 |
parents | 520c8675f033 |
children | 8639d064d3a1 |
comparison
equal
deleted
inserted
replaced
12972:c8900eba2cc7 | 12973:093afb92e4d5 |
---|---|
167 --disable-edl disable EDL (edit decision list) support [enable] | 167 --disable-edl disable EDL (edit decision list) support [enable] |
168 --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] | 168 --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] |
169 --disable-network disable network support (for: http/mms/rtp) [enable] | 169 --disable-network disable network support (for: http/mms/rtp) [enable] |
170 --enable-winsock2 enable winsock2 usage [autodetect] | 170 --enable-winsock2 enable winsock2 usage [autodetect] |
171 --enable-smb enable Samba (SMB) input support [autodetect] | 171 --enable-smb enable Samba (SMB) input support [autodetect] |
172 --enable-live enable LIVE.COM Streaming Media support [disable] | 172 --enable-live enable LIVE.COM Streaming Media support [autodetect] |
173 --disable-dvdread Disable libdvdread support [autodetect] | 173 --disable-dvdread Disable libdvdread support [autodetect] |
174 --disable-mpdvdkit Disable mpdvdkit/mpdvdkit2 support [autodetect] | 174 --disable-mpdvdkit Disable mpdvdkit/mpdvdkit2 support [autodetect] |
175 --disable-cdparanoia Disable cdparanoia support [autodetect] | 175 --disable-cdparanoia Disable cdparanoia support [autodetect] |
176 --disable-freetype Disable freetype2 font rendering support [autodetect] | 176 --disable-freetype Disable freetype2 font rendering support [autodetect] |
177 --disable-fontconfig Disable fontconfig font lookup support [autodetect] | 177 --disable-fontconfig Disable fontconfig font lookup support [autodetect] |
1227 #_dvdnav=no | 1227 #_dvdnav=no |
1228 _dvdread=auto | 1228 _dvdread=auto |
1229 _dvdkit=auto | 1229 _dvdkit=auto |
1230 _xanim=auto | 1230 _xanim=auto |
1231 _real=auto | 1231 _real=auto |
1232 _live=no | 1232 _live=auto |
1233 _xinerama=auto | 1233 _xinerama=auto |
1234 _mga=auto | 1234 _mga=auto |
1235 _xmga=auto | 1235 _xmga=auto |
1236 _vm=auto | 1236 _vm=auto |
1237 _mlib=auto | 1237 _mlib=auto |
1571 _reallibdir=`echo $ac_option | cut -d '=' -f 2` | 1571 _reallibdir=`echo $ac_option | cut -d '=' -f 2` |
1572 _real=yes | 1572 _real=yes |
1573 ;; | 1573 ;; |
1574 --with-livelibdir=*) | 1574 --with-livelibdir=*) |
1575 _livelibdir=`echo $ac_option | cut -d '=' -f 2` | 1575 _livelibdir=`echo $ac_option | cut -d '=' -f 2` |
1576 _live=yes | |
1577 ;; | 1576 ;; |
1578 --with-mlibdir=*) | 1577 --with-mlibdir=*) |
1579 _mlibdir=`echo $ac_option | cut -d '=' -f 2` | 1578 _mlibdir=`echo $ac_option | cut -d '=' -f 2` |
1580 _mlib=yes | 1579 _mlib=yes |
1581 ;; | 1580 ;; |
5167 done | 5166 done |
5168 fi | 5167 fi |
5169 | 5168 |
5170 echocheck "LIVE.COM Streaming Media libraries" | 5169 echocheck "LIVE.COM Streaming Media libraries" |
5171 if test "$_live" = auto && test "$_network" = yes ; then | 5170 if test "$_live" = auto && test "$_network" = yes ; then |
5172 _live=yes | 5171 _TMPC=$TMPC |
5173 test "$_livelibdir" || _live=no | 5172 TMPC=$TMPCPP |
5174 # TODO: deeper, more reliable test of libs, and version! | 5173 cat >$TMPC <<EOF |
5175 # (users may have empty live/ dir or something different there, for | 5174 #include <liveMedia.hh> |
5176 # example 'live config files', or they may have old, incompatibel version) | 5175 #if (LIVEMEDIA_LIBRARY_VERSION_INT < 1090195200) |
5176 #error Please upgrade to version 2004.07.19 or later of the "LIVE.COM Streaming Media" libraries - available from <www.live.com/liveMedia/> | |
5177 #endif | |
5178 int main(void) {} | |
5179 EOF | |
5180 if cc_check -I$_livelibdir/liveMedia/include/ -I$_livelibdir/UsageEnvironment/include -I$_livelibdir/groupsock/include; then | |
5181 _live=yes | |
5182 else | |
5183 _live=no | |
5184 fi | |
5185 TMPC=$_TMPC | |
5177 fi | 5186 fi |
5178 if test "$_live" = yes && test "$_network" = yes ; then | 5187 if test "$_live" = yes && test "$_network" = yes ; then |
5179 echores "yes (using $_livelibdir)" | 5188 echores "yes (using $_livelibdir)" |
5180 _def_live='#define STREAMING_LIVE_DOT_COM 1' | 5189 _def_live='#define STREAMING_LIVE_DOT_COM 1' |
5181 _live_libs_def="# LIVE.COM Streaming Media libraries: | 5190 _live_libs_def="# LIVE.COM Streaming Media libraries: |