summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-02-19 20:29:26 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-02-19 20:29:26 +0000
commit16806499fc13ec0a7664186a42a48d9154b2a8a3 (patch)
treecab4ff221574eacb06f70720f21124da312f4c59 /configure
parent530d574081ee03a8bbcb408053b90155ad58a9e0 (diff)
w32threads by (Gildas Bazin <gbazin at altern dot org>)
Originally committed as revision 2803 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 191ce3c217..eb41868f51 100755
--- a/configure
+++ b/configure
@@ -707,7 +707,7 @@ if (zlibVersion() != ZLIB_VERSION)
return 0;
}
EOF
-$cc -o $TMPE $TMPC -lz 2> /dev/null || zlib="no"
+$cc $CFLAGS -o $TMPE $TMPC -lz 2> /dev/null || zlib="no"
# $TMPE 2> /dev/null > /dev/null || zlib="no"
# XXX: more tests needed - runtime test
fi
@@ -1165,6 +1165,8 @@ fi
if test "$mingw32" = "yes" ; then
echo "#define CONFIG_WIN32 1" >> $TMPH
echo "CONFIG_WIN32=yes" >> config.mak
+ echo "HAVE_W32THREADS=yes" >> config.mak
+ echo "#define HAVE_W32THREADS 1" >> $TMPH
echo "#ifndef __MINGW32__" >> $TMPH
echo "#define __MINGW32__ 1" >> $TMPH
echo "#endif" >> $TMPH