diff configure @ 1436:42bd7f4c500b

Pre commit so I won't have to sync with later configure changes (cygwin stuff)
author atmos4
date Fri, 03 Aug 2001 18:34:59 +0000
parents a90d889eb649
children 007b1ddd01e8
line wrap: on
line diff
--- a/configure	Fri Aug 03 16:23:42 2001 +0000
+++ b/configure	Fri Aug 03 18:34:59 2001 +0000
@@ -283,9 +283,12 @@
 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 @@
 
 # --- Some stuff for autoconfigure ----
 $_target_arch
+$_confcygwin
 TARGET_CPU=$iproc
 TARGET_MMX=$_cfg_mmx
 TARGET_MMX2=$_cfg_mmx2