summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-03 18:34:59 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-03 18:34:59 +0000
commit46fbaf07a68b6b2edea45935cb00162a6f5ae987 (patch)
treecfde7affc01c009cdd6f9b4bfed3abab0fbb962a
parent79227529e142f2bf2c1372dcd56ad225fc5cd155 (diff)
downloadmpv-46fbaf07a68b6b2edea45935cb00162a6f5ae987.tar.bz2
mpv-46fbaf07a68b6b2edea45935cb00162a6f5ae987.tar.xz
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
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 4472e0ac4d..b22893ea02 100755
--- a/configure
+++ b/configure
@@ -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