comparison configure @ 12630:47dbe356085c

support for realvideo codecs under macosx, original patch by Donnie Smith (together with an altivec patch by Dan Christiansen)
author alex
date Thu, 24 Jun 2004 10:25:05 +0000
parents e968aa104e74
children 80973aa180a5
comparison
equal deleted inserted replaced
12629:4bbc58806c90 12630:47dbe356085c
189 --enable-gif enable gif support [autodetect] 189 --enable-gif enable gif support [autodetect]
190 --enable-png enable png input/output support [autodetect] 190 --enable-png enable png input/output support [autodetect]
191 --enable-jpeg enable jpeg input/output support [autodetect] 191 --enable-jpeg enable jpeg input/output support [autodetect]
192 --enable-liblzo enable external liblzo support [autodetect] 192 --enable-liblzo enable external liblzo support [autodetect]
193 --disable-win32 disable Win32 DLL support [autodetect] 193 --disable-win32 disable Win32 DLL support [autodetect]
194 --disable-macshlb disable Mac OS X SHLB support [autodetect]
194 --disable-dshow disable Win32/DirectShow support [autodetect] 195 --disable-dshow disable Win32/DirectShow support [autodetect]
195 --disable-qtx disable Quicktime codecs [autodetect] 196 --disable-qtx disable Quicktime codecs [autodetect]
196 --disable-xanim disable XAnim DLL support [autodetect] 197 --disable-xanim disable XAnim DLL support [autodetect]
197 --disable-real disable RealPlayer DLL support [autodetect] 198 --disable-real disable RealPlayer DLL support [autodetect]
198 --disable-xvid disable XviD codec [autodetect] 199 --disable-xvid disable XviD codec [autodetect]
878 fi 879 fi
879 if darwin ; then 880 if darwin ; then
880 proc=`$_cpuinfo | grep "Processor type" | cut -f 3 -d ' ' | sed 's/ppc//'` 881 proc=`$_cpuinfo | grep "Processor type" | cut -f 3 -d ' ' | sed 's/ppc//'`
881 if [ `sysctl -n hw.vectorunit` -eq 1 ]; then 882 if [ `sysctl -n hw.vectorunit` -eq 1 ]; then
882 _altivec=yes 883 _altivec=yes
883 fi 884 elif [ "`sysctl -n hw.optional.altivec 2>/dev/null`" = 1 ]; then
884 if [ `sysctl -n hw.optional.altivec` -eq 1 ]; then
885 _altivec=yes 885 _altivec=yes
886 fi 886 fi
887 fi 887 fi
888 # only gcc 3.4 works reliably with altivec code under netbsd 888 # only gcc 3.4 works reliably with altivec code under netbsd
889 if netbsd ; then 889 if netbsd ; then
1199 _sgiaudio=auto 1199 _sgiaudio=auto
1200 _sunaudio=auto 1200 _sunaudio=auto
1201 _alsa=auto 1201 _alsa=auto
1202 _fastmemcpy=yes 1202 _fastmemcpy=yes
1203 _unrarlib=yes 1203 _unrarlib=yes
1204 _macshlb=auto
1204 _win32=auto 1205 _win32=auto
1205 _dshow=yes 1206 _dshow=yes
1206 _select=yes 1207 _select=yes
1207 _tv=yes 1208 _tv=yes
1208 _tv_v4l=auto 1209 _tv_v4l=auto
1582 --disable-altivec) _altivec=no ;; 1583 --disable-altivec) _altivec=no ;;
1583 --enable-mmx) _mmx=yes ;; 1584 --enable-mmx) _mmx=yes ;;
1584 --disable-mmx) # 3Dnow! and MMX2 require MMX 1585 --disable-mmx) # 3Dnow! and MMX2 require MMX
1585 _3dnow=no _3dnowex=no _mmx=no _mmx2=no ;; 1586 _3dnow=no _3dnowex=no _mmx=no _mmx2=no ;;
1586 1587
1588 --enable-macshlb) _macshlb=yes ;;
1589 --disable-macshlb) _macshlb=no ;;
1587 --enable-win32) _win32=yes ;; 1590 --enable-win32) _win32=yes ;;
1588 --disable-win32) _win32=no _dshow=no ;; 1591 --disable-win32) _win32=no _dshow=no ;;
1589 --enable-dshow) _win32=yes _dshow=yes ;; 1592 --enable-dshow) _win32=yes _dshow=yes ;;
1590 --disable-dshow) _dshow=no ;; 1593 --disable-dshow) _dshow=no ;;
1591 1594
4851 _def_faad='#undef HAVE_FAAD' 4854 _def_faad='#undef HAVE_FAAD'
4852 _nocodecmodules="faad2 $_nocodecmodules" 4855 _nocodecmodules="faad2 $_nocodecmodules"
4853 _ld_faad= 4856 _ld_faad=
4854 fi 4857 fi
4855 4858
4856 4859 echocheck "MacOS X SHLB (shared lib) support"
4860 if test "$_macshlb" = auto ; then
4861 if test "$_macosx" = yes ; then
4862 _macshlb=yes
4863 else
4864 _macshlb=no
4865 fi
4866 fi
4867 echores "$_macshlb"
4868 if test "$_macshlb" = yes ; then
4869 _def_macshlb='#define USE_MACSHLB 1'
4870 else
4871 _def_macshlb='#undef USE_MACSHLB'
4872 fi
4857 4873
4858 if test "$_win32" = auto ; then 4874 if test "$_win32" = auto ; then
4859 if x86 ; then 4875 if x86 ; then
4860 qnx && _win32=no 4876 qnx && _win32=no
4861 else 4877 else
4999 fi 5015 fi
5000 5016
5001 echocheck "RealPlayer DLL" 5017 echocheck "RealPlayer DLL"
5002 if test "$_real" = auto ; then 5018 if test "$_real" = auto ; then
5003 _real=no 5019 _real=no
5004 if test "$_dl" = yes || test "$_win32" = yes ; then 5020 if test "$_dl" = yes || test "$_win32" = yes || test "$_macshlb" = yes ; then
5005 # if test "$_dl" = yes ; then 5021 # if test "$_dl" = yes ; then
5006 if linux || freebsd || netbsd || win32 ; then 5022 if linux || freebsd || netbsd || win32 || darwin ; then
5007 _real=yes 5023 _real=yes
5008 else 5024 else
5009 echores "no (tested only on Linux/FreeBSD/NetBSD/Cygwin/MinGW)" 5025 echores "no (tested only on Linux/FreeBSD/NetBSD/Cygwin/MinGW/Darwin)"
5010 fi 5026 fi
5011 if test "$_real" = yes ; then 5027 if test "$_real" = yes ; then
5012 if test -z "$_reallibdir" ; then 5028 if test -z "$_reallibdir" ; then
5013 for I in "$_libdir/codecs" "$_libdir/real" /usr/lib/real \ 5029 for I in "$_libdir/codecs" "$_libdir/real" /usr/lib/real \
5014 /usr/lib/RealPlayer{9,8,}/Codecs /usr/local/RealPlayer{9,8,}/Codecs \ 5030 /usr/lib/RealPlayer{9,8,}/Codecs /usr/local/RealPlayer{9,8,}/Codecs \
5015 /usr/local/lib/RealPlayer{9,8,}/Codecs /opt/RealPlayer{9,8,}/{Real/,}Codecs \ 5031 /usr/local/lib/RealPlayer{9,8,}/Codecs /opt/RealPlayer{9,8,}/{Real/,}Codecs \
5032 {~,}/Applications/RealOne\ Player.app/Contents/MacOS/Library/Codecs \
5016 "$_win32libdir"; do 5033 "$_win32libdir"; do
5017 if test -d "$I" ; then 5034 if test -d "$I" ; then
5018 _reallibdir="$I" 5035 _reallibdir="$I"
5019 break 5036 break
5020 fi 5037 fi
6367 $_def_dshow 6384 $_def_dshow
6368 6385
6369 /* Mac OS X specific features */ 6386 /* Mac OS X specific features */
6370 $_def_macosx 6387 $_def_macosx
6371 6388
6389 /* Mac OS X SHLB support */
6390 $_def_macshlb
6391
6372 /* Build our Win32-loader */ 6392 /* Build our Win32-loader */
6373 $_def_win32_loader 6393 $_def_win32_loader
6374 6394
6375 /* ffmpeg's libavcodec support (requires libavcodec source) */ 6395 /* ffmpeg's libavcodec support (requires libavcodec source) */
6376 $_def_libavcodec 6396 $_def_libavcodec