Mercurial > mplayer.hg
diff configure @ 31683:db0b49579eeb
Rename network build system variable and command line option to networking.
This avoids conflicts with the FFmpeg variable of the same name.
author | diego |
---|---|
date | Sat, 17 Jul 2010 13:14:53 +0000 |
parents | d4ea2e6111aa |
children | 87831e7308b3 |
line wrap: on
line diff
--- a/configure Sat Jul 17 10:28:17 2010 +0000 +++ b/configure Sat Jul 17 13:14:53 2010 +0000 @@ -273,7 +273,7 @@ --disable-tv-bsdbt848 disable BSD BT848 interface [autodetect] --disable-pvr disable Video4Linux2 MPEG PVR [autodetect] --disable-rtc disable RTC (/dev/rtc) on Linux [autodetect] - --disable-network disable networking [enable] + --disable-networking disable networking [enable] --enable-winsock2_h enable winsock2_h [autodetect] --enable-smb enable Samba (SMB) input [autodetect] --enable-live enable LIVE555 Streaming Media [autodetect] @@ -713,7 +713,7 @@ _tv_bsdbt848=auto _tv_dshow=auto _pvr=auto -_network=yes +networking=yes _winsock2_h=auto _struct_addrinfo=auto _getaddrinfo=auto @@ -1154,8 +1154,8 @@ --disable-fastmemcpy) _fastmemcpy=no ;; --enable-hardcoded-tables) hardcoded_tables=yes ;; --disable-hardcoded-tables) hardcoded_tables=no ;; - --enable-network) _network=yes ;; - --disable-network) _network=no ;; + --enable-networking) networking=yes ;; + --disable-networking) networking=no ;; --enable-winsock2_h) _winsock2_h=yes ;; --disable-winsock2_h) _winsock2_h=no ;; --enable-smb) _smb=yes ;; @@ -3375,21 +3375,23 @@ echores "$_closesocket" -echocheck "network" +echocheck "networking" test $_winsock2_h = no && test $inet_pton = no && - test $inet_aton = no && _network=no -if test "$_network" = yes ; then + test $inet_aton = no && networking=no +if test "$networking" = yes ; then def_network='#define CONFIG_NETWORK 1' + def_networking='#define CONFIG_NETWORKING 1' extra_ldflags="$extra_ldflags $_ld_sock" - inputmodules="network $inputmodules" -else - noinputmodules="network $noinputmodules" + inputmodules="networking $inputmodules" +else + noinputmodules="networking $noinputmodules" def_network='#undef CONFIG_NETWORK' + def_networking='#undef CONFIG_NETWORKING' _ftp=no libavprotocols=$(echo $libavprotocols | sed -e s/GOPHER_PROTOCOL// -e s/HTTP_PROTOCOL// -e s/RTMP_PROTOCOL// -e s/RTP_PROTOCOL// -e s/TCP_PROTOCOL// -e s/UDP_PROTOCOL//) libavdemuxers=$(echo $libavdemuxers | sed -e s/RTSP_DEMUXER// -e s/SDP_DEMUXER//) fi -echores "$_network" +echores "$networking" echocheck "inet6" @@ -6242,7 +6244,7 @@ echores "$_libcdio" if test "$_cdda" = yes ; then - test $_cddb = auto && test $_network = yes && _cddb=yes + test $_cddb = auto && test $networking = yes && _cddb=yes def_cdparanoia='#define CONFIG_CDDA 1' inputmodules="cdda $inputmodules" else @@ -7142,7 +7144,7 @@ echores "$_qtx" echocheck "Nemesi Streaming Media libraries" -if test "$_nemesi" = auto && test "$_network" = yes ; then +if test "$_nemesi" = auto && test "$networking" = yes ; then _nemesi=no if $_pkg_config libnemesi --atleast-version=0.6.3 ; then extra_cflags="$extra_cflags $($_pkg_config --cflags libnemesi)" @@ -7155,7 +7157,7 @@ def_nemesi='#define CONFIG_LIBNEMESI 1' inputmodules="nemesi $inputmodules" else - _native_rtsp="$_network" + _native_rtsp="$networking" _nemesi=no def_nemesi='#undef CONFIG_LIBNEMESI' noinputmodules="nemesi $noinputmodules" @@ -7163,7 +7165,7 @@ echores "$_nemesi" echocheck "LIVE555 Streaming Media libraries" -if test "$_live" = auto && test "$_network" = yes ; then +if test "$_live" = auto && test "$networking" = yes ; then cat > $TMPCPP << EOF #include <liveMedia.hh> #if (LIVEMEDIA_LIBRARY_VERSION_INT < 1141257600) @@ -7194,11 +7196,11 @@ fi fi fi -if test "$_live" = yes && test "$_network" = yes; then +if test "$_live" = yes && test "$networking" = yes; then test $_livelibdir && res_comment="using $_livelibdir" def_live='#define CONFIG_LIVE555 1' inputmodules="live555 $inputmodules" -elif test "$_live_dist" = yes && test "$_network" = yes; then +elif test "$_live_dist" = yes && test "$networking" = yes; then res_comment="using distribution version" _live="yes" def_live='#define CONFIG_LIVE555 1' @@ -7214,7 +7216,7 @@ echores "$_live" echocheck "RTMPDump Streaming Media library" -if test "$_librtmp" = auto && test "$_network" = yes ; then +if test "$_librtmp" = auto && test "$networking" = yes ; then cat > $TMPC << EOF #include <librtmp/rtmp.h> int main(void) { RTMP r; RTMP_Socket(&r); return 0; } @@ -7228,7 +7230,7 @@ extra_cflags="$extra_cflags $_inc_tmp" fi fi -if test "$_librtmp" = yes && test "$_network" = yes; then +if test "$_librtmp" = yes && test "$networking" = yes; then nolibrtmp=no def_librtmp='#define CONFIG_LIBRTMP 1' inputmodules="librtmp $inputmodules" @@ -8664,7 +8666,7 @@ MUSEPACK = $_musepack NAS = $_nas NATIVE_RTSP = $_native_rtsp -NETWORK = $_network +NETWORKING = $networking OPENAL = $_openal OSS = $_ossaudio PE_EXECUTABLE = $_pe_executable @@ -9122,7 +9124,7 @@ $def_inet_pton $def_live $def_nemesi -$def_network +$def_networking $def_smb $def_socklen_t $def_struct_ipv6_mreq @@ -9255,6 +9257,7 @@ $def_lrint $def_mlib $def_mkstemp +$def_network $def_pic $def_posix_memalign $def_pthreads