Mercurial > mplayer.hg
comparison configure @ 14836:8b9738526dd7
added a stream module for the vstream client library
allows MPlayer to stream video from a properly equipped Tivo
author | joey |
---|---|
date | Sun, 27 Feb 2005 04:25:12 +0000 |
parents | 8260cd3c585c |
children | 80661ebc1fbb |
comparison
equal
deleted
inserted
replaced
14835:056446159745 | 14836:8b9738526dd7 |
---|---|
187 --enable-macosx-finder-support Enable Mac OS X Finder invocation parameter parsing [disabled] | 187 --enable-macosx-finder-support Enable Mac OS X Finder invocation parameter parsing [disabled] |
188 --disable-inet6 Disable IPv6 support [autodetect] | 188 --disable-inet6 Disable IPv6 support [autodetect] |
189 --disable-gethostbyname2 gethostbyname() function is not provided by the C | 189 --disable-gethostbyname2 gethostbyname() function is not provided by the C |
190 library [autodetect] | 190 library [autodetect] |
191 --disable-ftp Disable ftp support [enabled] | 191 --disable-ftp Disable ftp support [enabled] |
192 --disable-vstream Disable tivo vstream client support [autodetect] | |
192 | 193 |
193 Codecs: | 194 Codecs: |
194 --enable-gif enable gif support [autodetect] | 195 --enable-gif enable gif support [autodetect] |
195 --enable-png enable png input/output support [autodetect] | 196 --enable-png enable png input/output support [autodetect] |
196 --enable-jpeg enable jpeg input/output support [autodetect] | 197 --enable-jpeg enable jpeg input/output support [autodetect] |
1405 _fribidiconfig='fribidi-config' | 1406 _fribidiconfig='fribidi-config' |
1406 _enca=auto | 1407 _enca=auto |
1407 _inet6=auto | 1408 _inet6=auto |
1408 _gethostbyname2=auto | 1409 _gethostbyname2=auto |
1409 _ftp=yes | 1410 _ftp=yes |
1411 _vstream=auto | |
1410 for ac_option do | 1412 for ac_option do |
1411 case "$ac_option" in | 1413 case "$ac_option" in |
1412 # Skip 1st pass | 1414 # Skip 1st pass |
1413 --target=*) ;; | 1415 --target=*) ;; |
1414 --cc=*) ;; | 1416 --cc=*) ;; |
1648 --disable-fontconfig) _fontconfig=no ;; | 1650 --disable-fontconfig) _fontconfig=no ;; |
1649 --enable-unrarlib) _unrarlib=yes ;; | 1651 --enable-unrarlib) _unrarlib=yes ;; |
1650 --disable-unrarlib) _unrarlib=no ;; | 1652 --disable-unrarlib) _unrarlib=no ;; |
1651 --enable-ftp) _ftp=yes ;; | 1653 --enable-ftp) _ftp=yes ;; |
1652 --disable-ftp) _ftp=no ;; | 1654 --disable-ftp) _ftp=no ;; |
1655 --enable-vstream) _vstream=yes ;; | |
1656 --disable-vstream) _vstream=no ;; | |
1653 | 1657 |
1654 --enable-fribidi) _fribidi=yes ;; | 1658 --enable-fribidi) _fribidi=yes ;; |
1655 --disable-fribidi) _fribidi=no ;; | 1659 --disable-fribidi) _fribidi=no ;; |
1656 | 1660 |
1657 --enable-enca) _enca=yes ;; | 1661 --enable-enca) _enca=yes ;; |
6189 _noinputmodules="ftp $_noinputmodules" | 6193 _noinputmodules="ftp $_noinputmodules" |
6190 _def_ftp='#undef HAVE_FTP' | 6194 _def_ftp='#undef HAVE_FTP' |
6191 fi | 6195 fi |
6192 echores "$_ftp" | 6196 echores "$_ftp" |
6193 | 6197 |
6198 echocheck "vstream client" | |
6199 if test "$_vstream" = auto ; then | |
6200 _vstream=no | |
6201 cat > $TMPC <<EOF | |
6202 #include <vstream-client.h> | |
6203 void vstream_error(const char *format, ... ) {} | |
6204 int main(void) { vstream_start(); return 0; } | |
6205 EOF | |
6206 cc_check -lvstream-client && _vstream=yes | |
6207 fi | |
6208 if test "$_vstream" = yes ; then | |
6209 _def_vstream='#define HAVE_VSTREAM 1' | |
6210 _inputmodules="vstream $_inputmodules" | |
6211 _ld_vstream='-lvstream-client' | |
6212 else | |
6213 _noinputmodules="vstream $_noinputmodules" | |
6214 _def_vstream='#undef HAVE_VSTREAM' | |
6215 fi | |
6216 echores "$_vstream" | |
6217 | |
6194 # endian testing | 6218 # endian testing |
6195 echocheck "byte order" | 6219 echocheck "byte order" |
6196 if test "$_big_endian" = auto ; then | 6220 if test "$_big_endian" = auto ; then |
6197 cat > $TMPC <<EOF | 6221 cat > $TMPC <<EOF |
6198 short ascii_name[] = { (('M'<<8)|'P'),(('l'<<8)|'a'),(('y'<<8)|'e'),(('r'<<8)|'B'), | 6222 short ascii_name[] = { (('M'<<8)|'P'),(('l'<<8)|'a'),(('y'<<8)|'e'),(('r'<<8)|'B'), |
6662 | 6686 |
6663 $_live_libs_def | 6687 $_live_libs_def |
6664 | 6688 |
6665 MPLAYER_NETWORK = $_network | 6689 MPLAYER_NETWORK = $_network |
6666 STREAMING_LIVE_DOT_COM = $_live | 6690 STREAMING_LIVE_DOT_COM = $_live |
6667 MPLAYER_NETWORK_LIB = $_ld_live $_ld_network | 6691 MPLAYER_NETWORK_LIB = $_ld_live $_ld_vstream $_ld_network |
6668 DVBIN = $_dvbin | 6692 DVBIN = $_dvbin |
6669 VIDIX = $_vidix | 6693 VIDIX = $_vidix |
6670 SHARED_PP = $_shared_pp | 6694 SHARED_PP = $_shared_pp |
6671 CONFIG_PP = yes | 6695 CONFIG_PP = yes |
6672 CONFIG_RISKY = yes | 6696 CONFIG_RISKY = yes |
7340 $_def_network | 7364 $_def_network |
7341 | 7365 |
7342 /* enable ftp support */ | 7366 /* enable ftp support */ |
7343 $_def_ftp | 7367 $_def_ftp |
7344 | 7368 |
7369 /* enable vstream support */ | |
7370 $_def_vstream | |
7371 | |
7345 /* enable winsock2 instead of Unix functions*/ | 7372 /* enable winsock2 instead of Unix functions*/ |
7346 $_def_winsock2 | 7373 $_def_winsock2 |
7347 | 7374 |
7348 /* define this to use inet_aton() instead of inet_pton() */ | 7375 /* define this to use inet_aton() instead of inet_pton() */ |
7349 $_def_use_aton | 7376 $_def_use_aton |