summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2003-08-24 14:01:59 +0000
committerFabrice Bellard <fabrice@bellard.org>2003-08-24 14:01:59 +0000
commit7eea5766d504ab1aae306afd9abda39a1045bed1 (patch)
treed7dfb620dcecc3f7c328ac2caadc72eabe7f317e /configure
parent00b4fdb758e2a6596363c7b35ffbd89f7e137a95 (diff)
removed deprecated win32 option (use --enable-mingw32 and --cross-prefix)
Originally committed as revision 2140 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure22
1 files changed, 3 insertions, 19 deletions
diff --git a/configure b/configure
index 6ed2383a0c..fe98b91485 100755
--- a/configure
+++ b/configure
@@ -73,7 +73,6 @@ a52="yes"
a52bin="no"
pp="yes"
shared_pp="no"
-win32="no"
mingw32="no"
cygwin="no"
os2="no"
@@ -323,8 +322,6 @@ for opt do
;;
--disable-simple_idct) simpleidct="no"
;;
- --enable-win32) win32="yes"
- ;;
--enable-mingw32) mingw32="yes"
;;
--enable-shared) lshared="yes"
@@ -495,16 +492,7 @@ if test -z "$CFLAGS"; then
CFLAGS="-O3"
fi
-if test "$win32" = "yes" ; then
- cross_prefix="i386-mingw32msvc-"
- v4l="no"
- audio_oss="no"
- dv1394="no"
- network="no"
-fi
-
if test "$mingw32" = "yes" ; then
- cross_prefix=""
v4l="no"
audio_oss="no"
dv1394="no"
@@ -748,8 +736,7 @@ echo " --enable-mp3lame enable mp3 encoding via libmp3lame [default=no]
echo " --enable-vorbis enable vorbis support via libvorbisenc [default=no]"
echo " --enable-faad enable faad support via libfaad [default=no]"
echo " --enable-faadbin build faad support with runtime linking [default=no]"
-echo " --enable-win32 enable win32 cross compile"
-echo " --enable-mingw32 enable mingw32 native windows compile"
+echo " --enable-mingw32 enable mingw32 native/cross windows compile"
echo " --disable-a52 disable GPL'ed A52 support [default=no]"
echo " --enable-a52bin open liba52.so.0 at runtime [default=no]"
echo " --disable-pp disable GPL'ed post processing support [default=no]"
@@ -1041,15 +1028,12 @@ if test "$faadbin" = "yes" ; then
echo "CONFIG_FAADBIN=yes" >> config.mak
fi
-if test "$win32" = "yes" ; then
- echo "#define CONFIG_WIN32 1" >> $TMPH
- echo "CONFIG_WIN32=yes" >> config.mak
-fi
-
if test "$mingw32" = "yes" ; then
echo "#define CONFIG_WIN32 1" >> $TMPH
echo "CONFIG_WIN32=yes" >> config.mak
+ echo "#ifndef __MINGW32__" >> $TMPH
echo "#define __MINGW32__ 1" >> $TMPH
+ echo "#endif" >> $TMPH
echo "__MINGW32__=1" >> config.mak
fi