diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-03 18:34:59 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-08-03 18:34:59 +0000 |
commit | 46fbaf07a68b6b2edea45935cb00162a6f5ae987 (patch) | |
tree | cfde7affc01c009cdd6f9b4bfed3abab0fbb962a /configure | |
parent | 79227529e142f2bf2c1372dcd56ad225fc5cd155 (diff) |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |