Mercurial > mplayer.hg
comparison configure @ 1441:039bd84a6c33
Make cygwin define WIN32 for compatibility with mingw and visualc, ...
author | atmos4 |
---|---|
date | Sun, 05 Aug 2001 12:39:34 +0000 |
parents | 007b1ddd01e8 |
children | 024fca5abc79 |
comparison
equal
deleted
inserted
replaced
1440:bd6ea9bd3f80 | 1441:039bd84a6c33 |
---|---|
282 echo "Detected operating system: $system_name" | 282 echo "Detected operating system: $system_name" |
283 echo "Detected host architecture: $host_arch" | 283 echo "Detected host architecture: $host_arch" |
284 | 284 |
285 # Determine OS dependent libs | 285 # Determine OS dependent libs |
286 _confcygwin="TARGET_CYGWIN=no" | 286 _confcygwin="TARGET_CYGWIN=no" |
287 _confwin32= | |
287 if [ "$system_name" = "FreeBSD" ]; then | 288 if [ "$system_name" = "FreeBSD" ]; then |
288 _archlibs="-rdynamic -pthread" | 289 _archlibs="-rdynamic -pthread" |
289 elif [ `echo $system_name | sed 's/CYGWIN.*/CYGWIN/i'` = "CYGWIN" ]; then | 290 elif [ `echo $system_name | sed 's/CYGWIN.*/CYGWIN/i'` = "CYGWIN" ]; then |
290 _confcygwin="TARGET_CYGWIN=yes" | 291 _confcygwin="TARGET_CYGWIN=yes" |
292 _confwin32="#define WIN32" | |
291 _archlibs="-lpthread" | 293 _archlibs="-lpthread" |
292 else | 294 else |
293 _archlibs="-ldl -lpthread" | 295 _archlibs="-ldl -lpthread" |
294 fi | 296 fi |
295 | 297 |
1934 byte first (like Motorola and SPARC, unlike Intel and VAX). */ | 1936 byte first (like Motorola and SPARC, unlike Intel and VAX). */ |
1935 $_words_endian | 1937 $_words_endian |
1936 | 1938 |
1937 $_arch | 1939 $_arch |
1938 | 1940 |
1941 $_confwin32 | |
1942 | |
1939 /* Define this to any prefered value from 386 up to infinity with step 100 */ | 1943 /* Define this to any prefered value from 386 up to infinity with step 100 */ |
1940 #define __CPU__ $iproc | 1944 #define __CPU__ $iproc |
1941 | 1945 |
1942 /*---------------------------------------------------------------------------- | 1946 /*---------------------------------------------------------------------------- |
1943 ** | 1947 ** |