mirror of https://github.com/mpv-player/mpv
Conditionally run some CPU-architecture and OS-specific tests.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18751 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2ca712f6cb
commit
5e426812da
|
@ -3118,6 +3118,7 @@ fi
|
||||||
echores "$_dvd"
|
echores "$_dvd"
|
||||||
|
|
||||||
|
|
||||||
|
if bsdos; then
|
||||||
echocheck "BSDI dvd.h"
|
echocheck "BSDI dvd.h"
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
#include <dvd.h>
|
#include <dvd.h>
|
||||||
|
@ -3131,8 +3132,10 @@ else
|
||||||
_def_bsdi_dvd='#undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H'
|
_def_bsdi_dvd='#undef DVD_STRUCT_IN_BSDI_DVDIOCTL_DVD_H'
|
||||||
fi
|
fi
|
||||||
echores "$_bsdi_dvd"
|
echores "$_bsdi_dvd"
|
||||||
|
fi #if bsdos
|
||||||
|
|
||||||
|
|
||||||
|
if hpux; then
|
||||||
# also used by AIX, but AIX does not support VCD and/or libdvdread
|
# also used by AIX, but AIX does not support VCD and/or libdvdread
|
||||||
echocheck "HP-UX SCSI header"
|
echocheck "HP-UX SCSI header"
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
|
@ -3147,8 +3150,10 @@ else
|
||||||
_def_hpux_scsi_h='#undef HPUX_SCTL_IO'
|
_def_hpux_scsi_h='#undef HPUX_SCTL_IO'
|
||||||
fi
|
fi
|
||||||
echores "$_hpux_scsi_h"
|
echores "$_hpux_scsi_h"
|
||||||
|
fi #if hpux
|
||||||
|
|
||||||
|
|
||||||
|
if sunos; then
|
||||||
echocheck "userspace SCSI headers (Solaris)"
|
echocheck "userspace SCSI headers (Solaris)"
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
# include <unistd.h>
|
# include <unistd.h>
|
||||||
|
@ -3165,6 +3170,7 @@ else
|
||||||
_def_sol_scsi_h='#undef SOLARIS_USCSI'
|
_def_sol_scsi_h='#undef SOLARIS_USCSI'
|
||||||
fi
|
fi
|
||||||
echores "$_sol_scsi_h"
|
echores "$_sol_scsi_h"
|
||||||
|
fi #if sunos
|
||||||
|
|
||||||
|
|
||||||
echocheck "termcap"
|
echocheck "termcap"
|
||||||
|
@ -3466,8 +3472,10 @@ fi
|
||||||
echores "$_sys_sysinfo"
|
echores "$_sys_sysinfo"
|
||||||
|
|
||||||
|
|
||||||
|
if darwin; then
|
||||||
|
|
||||||
echocheck "Mac OS X APIs"
|
echocheck "Mac OS X APIs"
|
||||||
if test "$_macosx" = auto && darwin ; then
|
if test "$_macosx" = auto ; then
|
||||||
productName=`/usr/bin/sw_vers -productName`
|
productName=`/usr/bin/sw_vers -productName`
|
||||||
if test "$productName" = "Mac OS X" ; then
|
if test "$productName" = "Mac OS X" ; then
|
||||||
_macosx=yes
|
_macosx=yes
|
||||||
|
@ -3547,6 +3555,9 @@ else
|
||||||
fi
|
fi
|
||||||
echores "$_macosx_bundle"
|
echores "$_macosx_bundle"
|
||||||
|
|
||||||
|
fi #if darwin
|
||||||
|
|
||||||
|
|
||||||
echocheck "Samba support (libsmbclient)"
|
echocheck "Samba support (libsmbclient)"
|
||||||
if test "$_smbsupport" = yes; then
|
if test "$_smbsupport" = yes; then
|
||||||
_ld_smb="-lsmbclient"
|
_ld_smb="-lsmbclient"
|
||||||
|
@ -4570,6 +4581,9 @@ else
|
||||||
fi
|
fi
|
||||||
echores "$_sdl"
|
echores "$_sdl"
|
||||||
|
|
||||||
|
|
||||||
|
if win32; then
|
||||||
|
|
||||||
echocheck "Windows waveout"
|
echocheck "Windows waveout"
|
||||||
if test "$_win32waveout" = auto ; then
|
if test "$_win32waveout" = auto ; then
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
|
@ -4616,6 +4630,9 @@ else
|
||||||
fi
|
fi
|
||||||
echores "$_directx"
|
echores "$_directx"
|
||||||
|
|
||||||
|
fi #if win32; then
|
||||||
|
|
||||||
|
|
||||||
echocheck "NAS"
|
echocheck "NAS"
|
||||||
if test "$_nas" = auto ; then
|
if test "$_nas" = auto ; then
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
|
@ -5041,6 +5058,7 @@ fi
|
||||||
echores "$_sunaudio"
|
echores "$_sunaudio"
|
||||||
|
|
||||||
|
|
||||||
|
if sunos; then
|
||||||
echocheck "Sun mediaLib"
|
echocheck "Sun mediaLib"
|
||||||
if test "$_mlib" = auto ; then
|
if test "$_mlib" = auto ; then
|
||||||
_mlib=no
|
_mlib=no
|
||||||
|
@ -5059,8 +5077,10 @@ else
|
||||||
_def_mlib='#undef HAVE_MLIB'
|
_def_mlib='#undef HAVE_MLIB'
|
||||||
fi
|
fi
|
||||||
echores "$_mlib"
|
echores "$_mlib"
|
||||||
|
fi #if sunos
|
||||||
|
|
||||||
|
|
||||||
|
if irix; then
|
||||||
echocheck "SGI audio"
|
echocheck "SGI audio"
|
||||||
if test "$_sgiaudio" = auto ; then
|
if test "$_sgiaudio" = auto ; then
|
||||||
# check for SGI audio
|
# check for SGI audio
|
||||||
|
@ -5081,6 +5101,7 @@ else
|
||||||
_noaomodules="sgi $_noaomodules"
|
_noaomodules="sgi $_noaomodules"
|
||||||
fi
|
fi
|
||||||
echores "$_sgiaudio"
|
echores "$_sgiaudio"
|
||||||
|
fi #if irix
|
||||||
|
|
||||||
|
|
||||||
echocheck "VCD support"
|
echocheck "VCD support"
|
||||||
|
@ -5873,13 +5894,8 @@ fi
|
||||||
echores "$_ladspa"
|
echores "$_ladspa"
|
||||||
|
|
||||||
|
|
||||||
if test "$_win32" = auto ; then
|
|
||||||
if x86 ; then
|
if x86 && not qnx; then
|
||||||
qnx && _win32=no
|
|
||||||
else
|
|
||||||
_win32=no # x86 arch only
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test "$_win32" != no ; then
|
if test "$_win32" != no ; then
|
||||||
if test -z "$_win32libdir" ; then
|
if test -z "$_win32libdir" ; then
|
||||||
|
@ -5979,6 +5995,9 @@ else
|
||||||
_nocodecmodules="dshow/dmo $_nocodecmodules"
|
_nocodecmodules="dshow/dmo $_nocodecmodules"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
fi #if x86 && not qnx
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echocheck "XAnim DLL"
|
echocheck "XAnim DLL"
|
||||||
if test "$_xanim" = auto ; then
|
if test "$_xanim" = auto ; then
|
||||||
|
@ -6715,6 +6734,8 @@ else
|
||||||
fi
|
fi
|
||||||
echores "$_tv"
|
echores "$_tv"
|
||||||
|
|
||||||
|
|
||||||
|
if bsd; then
|
||||||
echocheck "*BSD BrookTree 848 TV interface"
|
echocheck "*BSD BrookTree 848 TV interface"
|
||||||
if test "$_tv_bsdbt848" = auto ; then
|
if test "$_tv_bsdbt848" = auto ; then
|
||||||
_tv_bsdbt848=no
|
_tv_bsdbt848=no
|
||||||
|
@ -6739,6 +6760,8 @@ else
|
||||||
_noinputmodules="tv-bsdbt848 $_noinputmodules"
|
_noinputmodules="tv-bsdbt848 $_noinputmodules"
|
||||||
fi
|
fi
|
||||||
echores "$_tv_bsdbt848"
|
echores "$_tv_bsdbt848"
|
||||||
|
fi #if bsd
|
||||||
|
|
||||||
|
|
||||||
echocheck "Video 4 Linux TV interface"
|
echocheck "Video 4 Linux TV interface"
|
||||||
if test "$_tv_v4l" = auto ; then
|
if test "$_tv_v4l" = auto ; then
|
||||||
|
@ -6874,6 +6897,8 @@ _def_menu='#undef HAVE_MENU'
|
||||||
fi
|
fi
|
||||||
echores "$_menu"
|
echores "$_menu"
|
||||||
|
|
||||||
|
|
||||||
|
if x86; then
|
||||||
# Check to see if they want QTX codecs enabled
|
# Check to see if they want QTX codecs enabled
|
||||||
echocheck "QTX codecs"
|
echocheck "QTX codecs"
|
||||||
if test "$_qtx" = auto ; then
|
if test "$_qtx" = auto ; then
|
||||||
|
@ -6887,6 +6912,7 @@ else
|
||||||
_nocodecmodules="qtx $_nocodecmodules"
|
_nocodecmodules="qtx $_nocodecmodules"
|
||||||
fi
|
fi
|
||||||
echores "$_qtx"
|
echores "$_qtx"
|
||||||
|
fi #if x86
|
||||||
|
|
||||||
|
|
||||||
echocheck "Subtitles sorting"
|
echocheck "Subtitles sorting"
|
||||||
|
|
Loading…
Reference in New Issue