@@ -62,10 +62,6 @@ cc_check() {
62
62
compile_check $TMPC $@
63
63
}
64
64
65
- cxx_check () {
66
- compile_check $TMPCPP $@ -lstdc++
67
- }
68
-
69
65
cflag_check () {
70
66
cat > $TMPC << EOF
71
67
int main(void) { return 0; }
@@ -190,7 +186,7 @@ die () {
190
186
echo
191
187
echo " Error: $@ " >&2
192
188
echo >&2
193
- rm -f " $TMPEXE " " $TMPC " " $TMPS " " $TMPCPP "
189
+ rm -f " $TMPEXE " " $TMPC " " $TMPS "
194
190
echo " Check \" $TMPLOG \" if you do not understand why it failed."
195
191
exit 1
196
192
}
@@ -333,9 +329,7 @@ Optional features:
333
329
--disable-networking disable networking [enable]
334
330
--enable-winsock2_h enable winsock2_h [autodetect]
335
331
--enable-smb enable Samba (SMB) input [autodetect]
336
- --enable-live enable LIVE555 Streaming Media [disable]
337
332
--enable-libquvi enable libquvi [autodetect]
338
- --enable-nemesi enable Nemesi Streaming Media [autodetect]
339
333
--disable-vcd disable VCD support [autodetect]
340
334
--disable-bluray disable Blu-ray support [autodetect]
341
335
--disable-dvdnav disable libdvdnav [autodetect]
@@ -586,9 +580,6 @@ _dvdread_internal=auto
586
580
_libdvdcss_internal=auto
587
581
_xanim=auto
588
582
_real=auto
589
- _live=no
590
- _nemesi=auto
591
- _native_rtsp=yes
592
583
_xinerama=auto
593
584
_vm=auto
594
585
_xf86keysym=auto
@@ -892,10 +883,6 @@ for ac_option do
892
883
--disable-xanim) _xanim=no ;;
893
884
--enable-real) _real=yes ;;
894
885
--disable-real) _real=no ;;
895
- --enable-live) _live=yes ;;
896
- --disable-live) _live=no ;;
897
- --enable-nemesi) _nemesi=yes ;;
898
- --disable-nemesi) _nemesi=no ;;
899
886
--enable-xinerama) _xinerama=yes ;;
900
887
--disable-xinerama) _xinerama=no ;;
901
888
--enable-vm) _vm=yes ;;
@@ -1274,7 +1261,6 @@ if qnx ; then
1274
1261
fi
1275
1262
1276
1263
TMPC=" $mplayer_tmpdir /tmp.c"
1277
- TMPCPP=" $mplayer_tmpdir /tmp.cpp"
1278
1264
TMPEXE=" $mplayer_tmpdir /tmp$_exesuf "
1279
1265
TMPH=" $mplayer_tmpdir /tmp.h"
1280
1266
TMPS=" $mplayer_tmpdir /tmp.S"
@@ -5001,76 +4987,6 @@ else
5001
4987
fi
5002
4988
echores " $_qtx "
5003
4989
5004
- echocheck " Nemesi Streaming Media libraries"
5005
- if test " $_nemesi " = auto && test " $networking " = yes ; then
5006
- _nemesi=no
5007
- if pkg_config_add libnemesi ; then
5008
- _nemesi=yes
5009
- fi
5010
- fi
5011
- if test " $_nemesi " = yes; then
5012
- _native_rtsp=no
5013
- def_nemesi=' #define CONFIG_LIBNEMESI 1'
5014
- inputmodules=" nemesi $inputmodules "
5015
- else
5016
- _native_rtsp=" $networking "
5017
- _nemesi=no
5018
- def_nemesi=' #undef CONFIG_LIBNEMESI'
5019
- noinputmodules=" nemesi $noinputmodules "
5020
- fi
5021
- echores " $_nemesi "
5022
-
5023
- echocheck " LIVE555 Streaming Media libraries"
5024
- if test " $_live " ! = no && test " $networking " = yes ; then
5025
- cat > $TMPCPP << EOF
5026
- #include <liveMedia.hh>
5027
- #if (LIVEMEDIA_LIBRARY_VERSION_INT < 1141257600)
5028
- #error Please upgrade to version 2006.03.03 or later of the "LIVE555 Streaming Media" libraries - available from <www.live555.com/liveMedia/>
5029
- #endif
5030
- int main(void) { return 0; }
5031
- EOF
5032
-
5033
- _live=no
5034
- for I in $extra_cflags " -I$_libdir /live" " -I/usr/lib/live" " -I/usr/lib64/live" " -I/usr/local/live" " -I/usr/local/lib/live" ; do
5035
- cxx_check $I /liveMedia/include $I /UsageEnvironment/include $I /groupsock/include &&
5036
- _livelibdir=$( echo $I | sed s/-I//) &&
5037
- extra_ldflags=" $_livelibdir /liveMedia/libliveMedia.a \
5038
- $_livelibdir /groupsock/libgroupsock.a \
5039
- $_livelibdir /UsageEnvironment/libUsageEnvironment.a \
5040
- $_livelibdir /BasicUsageEnvironment/libBasicUsageEnvironment.a \
5041
- $extra_ldflags -lstdc++" \
5042
- extra_cxxflags=" -I$_livelibdir /liveMedia/include \
5043
- -I$_livelibdir /UsageEnvironment/include \
5044
- -I$_livelibdir /BasicUsageEnvironment/include \
5045
- -I$_livelibdir /groupsock/include" &&
5046
- _live=yes && break
5047
- done
5048
- if test " $_live " ! = yes ; then
5049
- ld_tmp=" -lliveMedia -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment -lstdc++"
5050
- if cxx_check -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/groupsock $ld_tmp ; then
5051
- _live_dist=yes
5052
- fi
5053
- fi
5054
- fi
5055
- if test " $_live " = yes && test " $networking " = yes; then
5056
- test $_livelibdir && res_comment=" using $_livelibdir "
5057
- def_live=' #define CONFIG_LIVE555 1'
5058
- inputmodules=" live555 $inputmodules "
5059
- elif test " $_live_dist " = yes && test " $networking " = yes; then
5060
- res_comment=" using distribution version"
5061
- _live=" yes"
5062
- def_live=' #define CONFIG_LIVE555 1'
5063
- extra_ldflags=" $extra_ldflags $ld_tmp "
5064
- extra_cxxflags=" -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock"
5065
- inputmodules=" live555 $inputmodules "
5066
- else
5067
- _live=no
5068
- def_live=' #undef CONFIG_LIVE555'
5069
- noinputmodules=" live555 $noinputmodules "
5070
- fi
5071
- echores " $_live "
5072
-
5073
-
5074
4990
5075
4991
# Test with > against Libav 0.8 versions which will NOT work rather than
5076
4992
# specify minimum version, to allow (future) point releases to possibly work.
@@ -5570,8 +5486,6 @@ echores "$_lircc"
5570
5486
5571
5487
CFLAGS=" $CFLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE"
5572
5488
5573
- CXXFLAGS=" $CFLAGS -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS"
5574
-
5575
5489
# This must be the last test to be performed. Any other tests following it
5576
5490
# could fail due to linker errors. libdvdnavmini is intentionally not linked
5577
5491
# against libdvdread (to permit MPlayer to use its own copy of the library).
@@ -5656,13 +5570,11 @@ LOCALEDIR = \$(DESTDIR)$_localedir
5656
5570
AR = $_ar
5657
5571
AS = $_cc
5658
5572
CC = $_cc
5659
- CXX = $_cc
5660
5573
INSTALL = $_install
5661
5574
INSTALLSTRIP = $_install_strip
5662
5575
WINDRES = $_windres
5663
5576
5664
5577
CFLAGS = $WARNFLAGS $ERRORFLAGS $WARN_CFLAGS $CFLAGS $extra_cflags
5665
- CXXFLAGS = $WARNFLAGS $ERRORFLAGS $CXXFLAGS $extra_cflags $extra_cxxflags
5666
5578
DEPFLAGS = $DEPFLAGS
5667
5579
5668
5580
CFLAGS_LIBDVDCSS = $cflags_libdvdcss
@@ -5739,20 +5651,17 @@ LIBDCA = $_libdca
5739
5651
LIBDV = $_libdv
5740
5652
LIBDVDCSS_INTERNAL = $_libdvdcss_internal
5741
5653
LIBMAD = $_mad
5742
- LIBNEMESI = $_nemesi
5743
5654
LIBNUT = $_libnut
5744
5655
LIBPOSTPROC = $libpostproc
5745
5656
LIBSMBCLIENT = $_smb
5746
5657
LIBQUVI = $_libquvi
5747
5658
LIBTHEORA = $_theora
5748
5659
LIRC = $_lirc
5749
- LIVE555 = $_live
5750
5660
MACOSX_FINDER = $_macosx_finder
5751
5661
MD5SUM = $_md5sum
5752
5662
MNG = $_mng
5753
5663
MPG123 = $_mpg123
5754
5664
MUSEPACK = $_musepack
5755
- NATIVE_RTSP = $_native_rtsp
5756
5665
NETWORKING = $networking
5757
5666
OPENAL = $_openal
5758
5667
OSS = $_ossaudio
@@ -6064,8 +5973,6 @@ $def_ftp
6064
5973
$def_inet6
6065
5974
$def_inet_aton
6066
5975
$def_inet_pton
6067
- $def_live
6068
- $def_nemesi
6069
5976
$def_networking
6070
5977
$def_smb
6071
5978
$def_libquvi
0 commit comments