Revision f956e129 configure

View differences:

configure
31 31
  echo "  --incdir=DIR             install includes in DIR [PREFIX/include/ffmpeg]"
32 32
  echo "  --mandir=DIR             install man page in DIR [PREFIX/man]"
33 33
  echo "  --enable-mp3lame         enable MP3 encoding via libmp3lame [default=no]"
34
  echo "  --enable-libnut          enable NUT support via libnut [default=no]"
34 35
  echo "  --enable-libogg          enable Ogg support via libogg [default=no]"
35 36
  echo "  --enable-vorbis          enable Vorbis support via libvorbis [default=no]"
36 37
  echo "  --enable-faad            enable FAAD support via libfaad [default=no]"
......
422 423
zlib="yes"
423 424
libgsm="no"
424 425
mp3lame="no"
426
libnut="no"
425 427
libogg="no"
426 428
vorbis="no"
427 429
faad="no"
......
771 773
  ;;
772 774
  --enable-mp3lame) mp3lame="yes"
773 775
  ;;
776
  --enable-libnut) libnut="yes"
777
  ;;
774 778
  --enable-libogg) libogg="yes"
775 779
    pkg_requires="$pkg_requires ogg >= 1.1"
776 780
  ;;
......
1321 1325
enabled mp3lame && require LAME lame/lame.h lame_init -lmp3lame -lm
1322 1326
enabled vorbis  && require libvorbis vorbis/vorbisenc.h vorbis_info_init -lvorbis -lvorbisenc -logg
1323 1327
enabled libogg  && require libogg ogg/ogg.h ogg_sync_init -logg
1328
enabled libnut  && require libnut nut.h nut_demuxer_init -lnut
1324 1329
enabled xvid    && require XviD xvid.h xvid_global -lxvidcore
1325 1330
enabled x264    && require x264 x264.h x264_encoder_open -lx264
1326 1331
enabled dc1394  && require libdc1394 libdc1394/dc1394_control.h dc1394_create_handle -ldc1394_control -lraw1394
......
1599 1604
echo "zlib enabled     $zlib"
1600 1605
echo "libgsm enabled   $libgsm"
1601 1606
echo "mp3lame enabled  $mp3lame"
1607
echo "libnut enabled   $libnut"
1602 1608
echo "libogg enabled   $libogg"
1603 1609
echo "Vorbis enabled   $vorbis"
1604 1610
echo "FAAD enabled     $faad"
......
1999 2005
  echo "CONFIG_MP3LAME=yes" >> config.mak
2000 2006
fi
2001 2007

  
2008
if test "$libnut" = "yes" ; then
2009
  echo "#define CONFIG_LIBNUT 1" >> $TMPH
2010
  echo "CONFIG_LIBNUT=yes" >> config.mak
2011
fi
2012

  
2002 2013
if test "$libogg" = "yes" ; then
2003 2014
  echo "#define CONFIG_LIBOGG 1" >> $TMPH
2004 2015
  echo "CONFIG_LIBOGG=yes" >> config.mak

Also available in: Unified diff