comparison configure @ 23755:f60b7e4fde1c

Rename nut option and variables to libnut, FFmpeg also contains NUT support.
author diego
date Fri, 13 Jul 2007 17:08:37 +0000
parents 2c75cc74c768
children 08197608c0b8
comparison
equal deleted inserted replaced
23754:2c75cc74c768 23755:f60b7e4fde1c
283 --disable-qtx disable QuickTime codecs support [enabled] 283 --disable-qtx disable QuickTime codecs support [enabled]
284 --disable-xanim disable XAnim codecs support [enabled] 284 --disable-xanim disable XAnim codecs support [enabled]
285 --disable-real disable RealPlayer codecs support [enabled] 285 --disable-real disable RealPlayer codecs support [enabled]
286 --disable-xvid disable XviD [autodetect] 286 --disable-xvid disable XviD [autodetect]
287 --disable-x264 disable x264 [autodetect] 287 --disable-x264 disable x264 [autodetect]
288 --disable-nut disable libnut [autodetect] 288 --disable-libnut disable libnut [autodetect]
289 --disable-libavutil_a disable static libavutil [autodetect] 289 --disable-libavutil_a disable static libavutil [autodetect]
290 --disable-libavcodec_a disable static libavcodec [autodetect] 290 --disable-libavcodec_a disable static libavcodec [autodetect]
291 --disable-libavformat_a disable static libavformat [autodetect] 291 --disable-libavformat_a disable static libavformat [autodetect]
292 --disable-libpostproc_a disable static libpostproc [autodetect] 292 --disable-libpostproc_a disable static libpostproc [autodetect]
293 --disable-libavutil_so disable shared libavutil [autodetect] 293 --disable-libavutil_so disable shared libavutil [autodetect]
595 _vidix_internal=auto 595 _vidix_internal=auto
596 _vidix_external=auto 596 _vidix_external=auto
597 _joystick=no 597 _joystick=no
598 _xvid=auto 598 _xvid=auto
599 _x264=auto 599 _x264=auto
600 _nut=auto 600 _libnut=auto
601 _lirc=auto 601 _lirc=auto
602 _lircc=auto 602 _lircc=auto
603 _gui=no 603 _gui=no
604 _gtk1=no 604 _gtk1=no
605 _termcap=auto 605 _termcap=auto
966 --disable-joystick) _joystick=no ;; 966 --disable-joystick) _joystick=no ;;
967 --enable-xvid) _xvid=yes ;; 967 --enable-xvid) _xvid=yes ;;
968 --disable-xvid) _xvid=no ;; 968 --disable-xvid) _xvid=no ;;
969 --enable-x264) _x264=yes ;; 969 --enable-x264) _x264=yes ;;
970 --disable-x264) _x264=no ;; 970 --disable-x264) _x264=no ;;
971 --enable-nut) _nut=yes ;; 971 --enable-libnut) _libnut=yes ;;
972 --disable-nut) _nut=no ;; 972 --disable-libnut) _libnut=no ;;
973 --enable-libavutil_a) _libavutil_a=yes ;; 973 --enable-libavutil_a) _libavutil_a=yes ;;
974 --disable-libavutil_a) _libavutil_a=no ;; 974 --disable-libavutil_a) _libavutil_a=no ;;
975 --enable-libavutil_so) _libavutil_so=yes ;; 975 --enable-libavutil_so) _libavutil_so=yes ;;
976 --disable-libavutil_so) _libavutil_so=no ;; 976 --disable-libavutil_so) _libavutil_so=no ;;
977 --enable-libavcodec_a) _libavcodec_a=yes ;; 977 --enable-libavcodec_a) _libavcodec_a=yes ;;
6346 _libavencoders=`echo $_libavencoders | sed -e s/LIBX264_ENCODER// ` 6346 _libavencoders=`echo $_libavencoders | sed -e s/LIBX264_ENCODER// `
6347 fi 6347 fi
6348 echores "$_x264 (in libavcodec: $_lavc_x264)" 6348 echores "$_x264 (in libavcodec: $_lavc_x264)"
6349 6349
6350 6350
6351 echocheck "nut" 6351 echocheck "libnut"
6352 if test "$_nut" = auto ; then 6352 if test "$_libnut" = auto ; then
6353 cat > $TMPC << EOF 6353 cat > $TMPC << EOF
6354 #include <stdio.h> 6354 #include <stdio.h>
6355 #include <stdlib.h> 6355 #include <stdlib.h>
6356 #include <inttypes.h> 6356 #include <inttypes.h>
6357 #include <libnut.h> 6357 #include <libnut.h>
6358 int main(void) { (void)nut_error(0); return 0; } 6358 int main(void) { (void)nut_error(0); return 0; }
6359 EOF 6359 EOF
6360 _nut=no 6360 _libnut=no
6361 cc_check -lnut && _nut=yes 6361 cc_check -lnut && _libnut=yes
6362 fi 6362 fi
6363 6363
6364 if test "$_nut" = yes ; then 6364 if test "$_libnut" = yes ; then
6365 _def_nut='#define HAVE_LIBNUT 1' 6365 _def_libnut='#define HAVE_LIBNUT 1'
6366 _ld_extra="$_ld_extra -lnut" 6366 _ld_extra="$_ld_extra -lnut"
6367 else 6367 else
6368 _def_nut='#undef HAVE_LIBNUT' 6368 _def_libnut='#undef HAVE_LIBNUT'
6369 _libavmuxers=`echo $_libavmuxers | sed -e s/LIBNUT_MUXER// ` 6369 _libavmuxers=`echo $_libavmuxers | sed -e s/LIBNUT_MUXER// `
6370 fi 6370 fi
6371 echores "$_nut" 6371 echores "$_libnut"
6372 6372
6373 6373
6374 # mencoder requires (optional) those libs: libmp3lame 6374 # mencoder requires (optional) those libs: libmp3lame
6375 if test "$_mencoder" != no ; then 6375 if test "$_mencoder" != no ; then
6376 6376
7481 ZORAN = $_zr 7481 ZORAN = $_zr
7482 LIBLZO = $_liblzo 7482 LIBLZO = $_liblzo
7483 LIBDV = $_libdv 7483 LIBDV = $_libdv
7484 XVID4 = $_xvid 7484 XVID4 = $_xvid
7485 X264 = $_x264 7485 X264 = $_x264
7486 LIBNUT = $_nut 7486 LIBNUT = $_libnut
7487 MPLAYER = $_mplayer 7487 MPLAYER = $_mplayer
7488 MENCODER = $_mencoder 7488 MENCODER = $_mencoder
7489 CDDA = $_cdda 7489 CDDA = $_cdda
7490 CDDB = $_cddb 7490 CDDB = $_cddb
7491 BITMAP_FONT = $_bitmap_font 7491 BITMAP_FONT = $_bitmap_font
7688 7688
7689 /* Define if you are using the X.264 library */ 7689 /* Define if you are using the X.264 library */
7690 $_def_x264 7690 $_def_x264
7691 7691
7692 /* Define if you are using libnut */ 7692 /* Define if you are using libnut */
7693 $_def_nut 7693 $_def_libnut
7694 7694
7695 /* Define to include support for libdv-0.9.5 */ 7695 /* Define to include support for libdv-0.9.5 */
7696 $_def_libdv 7696 $_def_libdv
7697 7697
7698 /* If build mencoder */ 7698 /* If build mencoder */