mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 23:32:26 +00:00
Pre commit so I won't have to sync with later configure changes (cygwin stuff)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1437 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
79227529e1
commit
46fbaf07a6
6
configure
vendored
6
configure
vendored
@ -283,9 +283,12 @@ echo "Detected operating system: $system_name"
|
||||
echo "Detected host architecture: $host_arch"
|
||||
|
||||
# Determine OS dependent libs
|
||||
|
||||
_confcygwin="TARGET_CYGWIN=no"
|
||||
if [ "$system_name" = "FreeBSD" ]; then
|
||||
_archlibs="-rdynamic -pthread"
|
||||
elif [ `echo $system_name | sed 's/CYGWIN.*/CYGWIN/i'` = "CYGWIN" ]; then
|
||||
_confcygwin="TARGET_CYGWIN=yes"
|
||||
_archlibs="-lpthread"
|
||||
else
|
||||
_archlibs="-ldl -lpthread"
|
||||
fi
|
||||
@ -1809,6 +1812,7 @@ DIVX4LINUX=$_divx4linux
|
||||
|
||||
# --- Some stuff for autoconfigure ----
|
||||
$_target_arch
|
||||
$_confcygwin
|
||||
TARGET_CPU=$iproc
|
||||
TARGET_MMX=$_cfg_mmx
|
||||
TARGET_MMX2=$_cfg_mmx2
|
||||
|
Loading…
Reference in New Issue
Block a user