Revision ac44871c configure

View differences:

configure
26 26
echo "  --enable-xvid            enable XviD support via xvidcore [default=no]"
27 27
echo "  --enable-x264            enable H.264 encoding via x264 [default=no]"
28 28
echo "  --enable-mingw32         enable MinGW native/cross Windows compile"
29
echo "  --enable-mingwce         enable MinGW native/cross WinCE compile"
29 30
echo "  --enable-a52             enable GPLed A52 support [default=no]"
30 31
echo "  --enable-a52bin          open liba52.so.0 at runtime [default=no]"
31 32
echo "  --enable-dts             enable GPLed DTS support [default=no]"
......
202 203
dts="no"
203 204
pp="no"
204 205
mingw32="no"
206
mingwce="no"
205 207
cygwin="no"
206 208
os2="no"
207 209
lshared="no"
......
545 547
  ;;
546 548
  --enable-mingw32) mingw32="yes"
547 549
  ;;
550
  --enable-mingwce) mingwce="yes"
551
  ;;
548 552
  --enable-shared) lshared="yes"
549 553
  ;;
550 554
  --disable-debug) debug="no"
......
864 868
$cc -o $TMPE $TMPC 2> /dev/null || mmi="no"
865 869
fi
866 870

  
867
if test "$mingw32" = "yes" ; then
871
if test "$mingw32" = "yes" -o "$mingwce" = "yes"; then
868 872
    v4l="no"
869 873
    bktr="no"
870 874
    audio_oss="no"
......
872 876
    dc1394="no"
873 877
    ffserver="no"
874 878
    network="no"
879
if test "$mingw32" = "yes"; then
880
    protocols="no"
881
fi
875 882
    SLIBPREF=""
876 883
    SLIBSUF=".dll"
877 884
    EXESUF=".exe"
......
1685 1692
  echo "#endif" >> $TMPH
1686 1693
fi
1687 1694

  
1695
if test "$mingwce" = "yes" ; then
1696
  echo "#define CONFIG_WIN32 1" >> $TMPH
1697
  echo "CONFIG_WIN32=yes" >> config.mak
1698
  echo "#define CONFIG_WINCE 1" >> $TMPH
1699
  echo "CONFIG_WINCE=yes" >> config.mak
1700
  echo "#ifndef __MINGW32__" >> $TMPH
1701
  echo "#define __MINGW32__ 1" >> $TMPH
1702
  echo "#endif" >> $TMPH
1703
fi
1704

  
1688 1705
if test "$os2" = "yes" ; then
1689 1706
  echo "#define CONFIG_OS2 1" >> $TMPH
1690 1707
  echo "CONFIG_OS2=yes" >> config.mak

Also available in: Unified diff