Lines 196-202
Link Here
|
196 |
have_divx=yes |
196 |
have_divx=yes |
197 |
have_little_endian=yes |
197 |
have_little_endian=yes |
198 |
have_vorbis=yes |
198 |
have_vorbis=yes |
199 |
have_ac3=yes |
199 |
have_ac3=no |
200 |
have_xx_xvid=yes |
200 |
have_xx_xvid=yes |
201 |
have_xx_xvid_cvs=yes |
201 |
have_xx_xvid_cvs=yes |
202 |
have_xvid4=yes |
202 |
have_xvid4=yes |
Lines 270-275
Link Here
|
270 |
|
270 |
|
271 |
dnl __________________divx______________ |
271 |
dnl __________________divx______________ |
272 |
dnl __________________x264 ______________ |
272 |
dnl __________________x264 ______________ |
|
|
273 |
AC_ARG_WITH([aften], |
274 |
AC_HELP_STRING([--without-aften], [Force compilation without aften (default: test)]), |
275 |
[with_aften=${withval}], [with_aften=test]) |
276 |
|
277 |
AC_MSG_CHECKING([if aften support is requested]) |
278 |
AC_MSG_RESULT($with_aften) |
279 |
|
280 |
have_aften=no |
281 |
|
282 |
if test "x$with_aften" != "xno"; then |
273 |
AC_MSG_CHECKING(for aften codec ) |
283 |
AC_MSG_CHECKING(for aften codec ) |
274 |
AC_CHECK_HEADER(aften/aften.h,,have_aften=no) |
284 |
AC_CHECK_HEADER(aften/aften.h,,have_aften=no) |
275 |
if test "x$have_aften" = "xyes"; then |
285 |
if test "x$have_aften" = "xyes"; then |
Lines 277-298
Link Here
|
277 |
fi |
287 |
fi |
278 |
if test "x$have_aften" = "xyes"; then |
288 |
if test "x$have_aften" = "xyes"; then |
279 |
AC_DEFINE(USE_AFTEN,1,[use aften ac3 encoder]) |
289 |
AC_DEFINE(USE_AFTEN,1,[use aften ac3 encoder]) |
|
|
290 |
have_ac3=yes |
291 |
fi |
280 |
fi |
292 |
fi |
281 |
|
|
|
282 |
|
293 |
|
283 |
dnl __________________x264 ______________ |
294 |
dnl __________________x264 ______________ |
|
|
295 |
AC_ARG_WITH([x264], |
296 |
AC_HELP_STRING([--without-x264], [Force compilation without x264 (default: test)]), |
297 |
[with_x264=${withval}], [with_x264=test]) |
298 |
|
299 |
AC_MSG_CHECKING([if x264 support is requested]) |
300 |
AC_MSG_RESULT($with_x264) |
301 |
|
302 |
have_x264=no |
303 |
|
304 |
if test "x$with_x264" != "xno"; then |
284 |
AC_MSG_CHECKING(for x264 codec ) |
305 |
AC_MSG_CHECKING(for x264 codec ) |
285 |
AC_CHECK_HEADER(x264.h,,have_x264=no) |
306 |
AC_CHECK_HEADER(x264.h,have_x264=yes,have_x264=no) |
286 |
if test "x$have_x264" = "xyes"; then |
|
|
287 |
AC_CHECK_LIB(x264,x264_encoder_open,,have_x264=no,-lm ) |
307 |
AC_CHECK_LIB(x264,x264_encoder_open,,have_x264=no,-lm ) |
288 |
fi |
|
|
289 |
if test "x$have_x264" = "xyes"; then |
308 |
if test "x$have_x264" = "xyes"; then |
290 |
AC_DEFINE(USE_X264,1,[use x264 encoder]) |
309 |
AC_DEFINE(USE_X264,1,[use x264 encoder]) |
291 |
fi |
310 |
fi |
|
|
311 |
fi |
292 |
|
312 |
|
293 |
dnl __________________xvid 0.9 ______________ |
313 |
dnl __________________xvid 0.9 ______________ |
|
|
314 |
AC_ARG_WITH([xx-xvid], |
315 |
AC_HELP_STRING([--without-xx-xvid], [Force compilation without xvid 0.9 (default: test)]), |
316 |
[with_xx_xvid=${withval}], [with_xx_xvid=test]) |
317 |
|
318 |
AC_MSG_CHECKING([if xvid 0.9 support is requested]) |
319 |
AC_MSG_RESULT($with_xx_xvid) |
320 |
|
321 |
have_xx_xvid=no |
322 |
|
323 |
if test "x$with_xx_xvid" != "xno"; then |
294 |
AC_MSG_CHECKING(for xvid codec 0.9) |
324 |
AC_MSG_CHECKING(for xvid codec 0.9) |
295 |
AC_CHECK_HEADER(xvid.h,,have_xx_xvid=no) |
325 |
AC_CHECK_HEADER(xvid.h,have_xx_xvid=yes,have_xx_xvid=no) |
296 |
|
326 |
|
297 |
dnl -- check API version 2.1 and not 2.0-- |
327 |
dnl -- check API version 2.1 and not 2.0-- |
298 |
|
328 |
|
Lines 318-333
Link Here
|
318 |
if test "x$have_xx_xvid" = "xyes"; then |
348 |
if test "x$have_xx_xvid" = "xyes"; then |
319 |
AC_DEFINE(USE_XX_XVID,1,[use xvid api]) |
349 |
AC_DEFINE(USE_XX_XVID,1,[use xvid api]) |
320 |
fi |
350 |
fi |
|
|
351 |
fi |
321 |
dnl __________________libpng ______________ |
352 |
dnl __________________libpng ______________ |
|
|
353 |
AC_ARG_WITH([png], |
354 |
AC_HELP_STRING([--without-png], [Force compilation without png support (default: test)]), |
355 |
[with_png=${withval}], [with_png=test]) |
356 |
|
357 |
AC_MSG_CHECKING([if PNG support is requested]) |
358 |
AC_MSG_RESULT($with_png) |
359 |
|
360 |
have_png=no |
361 |
|
362 |
if test "x$with_png" != "xno"; then |
322 |
AC_MSG_CHECKING(for libpng ) |
363 |
AC_MSG_CHECKING(for libpng ) |
323 |
have_png=yes |
364 |
AC_CHECK_HEADER(png.h,have_png=yes,have_png=no) |
324 |
AC_CHECK_HEADER(png.h,,have_png=no) |
|
|
325 |
AC_CHECK_LIB(png,png_malloc,,have_png=no) |
365 |
AC_CHECK_LIB(png,png_malloc,,have_png=no) |
326 |
|
366 |
|
327 |
if test "x$have_png" = "xyes"; then |
367 |
if test "x$have_png" = "xyes"; then |
328 |
AC_DEFINE(USE_PNG,1,[Png is available]) |
368 |
AC_DEFINE(USE_PNG,1,[Png is available]) |
329 |
fi |
369 |
fi |
|
|
370 |
fi |
330 |
dnl __________________xvid 1.0 ______________ |
371 |
dnl __________________xvid 1.0 ______________ |
|
|
372 |
AC_ARG_WITH([xvid4], |
373 |
AC_HELP_STRING([--without-xvid4], [Force compilation without xvid4 support (default: test)]), |
374 |
[with_xvid4=${withval}], [with_xvid4=test]) |
375 |
|
376 |
AC_MSG_CHECKING([if Xvid 4 support is requested]) |
377 |
AC_MSG_RESULT($with_xvid4) |
378 |
|
379 |
have_xvid4=no |
380 |
|
381 |
if test "x$with_xvid4" != "xno"; then |
382 |
have_xvid4=yes |
331 |
AC_MSG_CHECKING(for xvid codec 1.0) |
383 |
AC_MSG_CHECKING(for xvid codec 1.0) |
332 |
AC_CHECK_HEADER(xvid.h,,have_xvid4=no) |
384 |
AC_CHECK_HEADER(xvid.h,,have_xvid4=no) |
333 |
|
385 |
|
Lines 353-358
Link Here
|
353 |
AC_DEFINE(USE_XVID_4,1,[use xvid api 1.0 beta]) |
405 |
AC_DEFINE(USE_XVID_4,1,[use xvid api 1.0 beta]) |
354 |
fi |
406 |
fi |
355 |
fi |
407 |
fi |
|
|
408 |
fi |
356 |
|
409 |
|
357 |
dnl __________________FFMPEG______________ |
410 |
dnl __________________FFMPEG______________ |
358 |
|
411 |
|
Lines 486-491
Link Here
|
486 |
fi |
539 |
fi |
487 |
|
540 |
|
488 |
dnl __________________ALSA______________ |
541 |
dnl __________________ALSA______________ |
|
|
542 |
AC_ARG_WITH([alsa], |
543 |
AC_HELP_STRING([--without-alsa], [Force compilation without alsa (default: test)]), |
544 |
[with_alsa=${withval}], [with_alsa=test]) |
545 |
|
546 |
AC_MSG_CHECKING([if alsa support is requested]) |
547 |
AC_MSG_RESULT($with_alsa) |
548 |
|
549 |
have_alsa=no |
550 |
|
551 |
if test "x$with_alsa" != "xno"; then |
552 |
have_alsa=yes |
489 |
AC_MSG_CHECKING(for ALSA audio support) |
553 |
AC_MSG_CHECKING(for ALSA audio support) |
490 |
AC_CHECK_HEADERS(alsa/asoundlib.h,,have_alsa=no) |
554 |
AC_CHECK_HEADERS(alsa/asoundlib.h,,have_alsa=no) |
491 |
dnl check version 0.9.x |
555 |
dnl check version 0.9.x |
Lines 526-532
Link Here
|
526 |
if test "x$have_alsa_1" = "xyes"; then |
590 |
if test "x$have_alsa_1" = "xyes"; then |
527 |
AC_DEFINE(ALSA_1_0_SUPPORT,1,"[Alsa is 1.0]") |
591 |
AC_DEFINE(ALSA_1_0_SUPPORT,1,"[Alsa is 1.0]") |
528 |
fi |
592 |
fi |
529 |
|
593 |
fi |
530 |
dnl __________________/ALSA______________ |
594 |
dnl __________________/ALSA______________ |
531 |
|
595 |
|
532 |
|
596 |
|
Lines 646-651
Link Here
|
646 |
|
710 |
|
647 |
|
711 |
|
648 |
dnl ____________ faac ?________________ |
712 |
dnl ____________ faac ?________________ |
|
|
713 |
AC_ARG_WITH([faac], |
714 |
AC_HELP_STRING([--without-faac], [Force compilation without faac (default: test)]), |
715 |
[with_faac=${withval}], [with_faac=test]) |
716 |
|
717 |
AC_MSG_CHECKING([if faac support is requested]) |
718 |
AC_MSG_RESULT($with_faac) |
719 |
|
720 |
have_faac=no |
721 |
|
722 |
if test "x$with_faac" != "xno"; then |
649 |
have_faac=yes |
723 |
have_faac=yes |
650 |
AC_CHECK_HEADERS(faac.h,,have_faac=no) |
724 |
AC_CHECK_HEADERS(faac.h,,have_faac=no) |
651 |
|
725 |
|
Lines 659-673
Link Here
|
659 |
fi |
733 |
fi |
660 |
AC_MSG_CHECKING(faac library) |
734 |
AC_MSG_CHECKING(faac library) |
661 |
AC_MSG_RESULT($have_faac) |
735 |
AC_MSG_RESULT($have_faac) |
662 |
|
736 |
fi |
663 |
dnl _______________/faac_______________ |
737 |
dnl _______________/faac_______________ |
664 |
dnl _________________ /freetype 2 _________________ |
738 |
dnl _________________ /freetype 2 _________________ |
665 |
dnl __________________ac3______________ |
739 |
dnl __________________ac3______________ |
666 |
dnl |
740 |
dnl |
667 |
dnl a52dec decoding library |
741 |
dnl a52dec decoding library |
|
|
742 |
AC_ARG_WITH([a52], |
743 |
AC_HELP_STRING([--without-a52], [Force compilation without a52 (default: enabled)]), |
744 |
[with_a52=${withval}], [with_a52=test]) |
745 |
|
746 |
AC_MSG_CHECKING([if a52 support is requested]) |
747 |
AC_MSG_RESULT($with_a52) |
748 |
|
749 |
if test "x$with_a52" != "xno"; then |
668 |
AC_DEFINE(USE_AC3,1,[liba52dec]) |
750 |
AC_DEFINE(USE_AC3,1,[liba52dec]) |
|
|
751 |
have_ac3=yes |
752 |
fi |
669 |
dnl __________________/ac3______________ |
753 |
dnl __________________/ac3______________ |
670 |
dnl __________________VORBIS______________ |
754 |
dnl __________________VORBIS______________ |
|
|
755 |
AC_ARG_WITH([vorbis], |
756 |
AC_HELP_STRING([--without-vorbis], [Force compilation without vorbis (default: enabled)]), |
757 |
[with_vorbis=${withval}], [with_vorbis=test]) |
758 |
|
759 |
AC_MSG_CHECKING([if vorbis support is requested]) |
760 |
AC_MSG_RESULT($with_vorbis) |
761 |
|
762 |
have_vorbis=no |
763 |
if test "x$with_vorbis" != "xno"; then |
764 |
have_vorbis=yes |
671 |
AC_CHECK_LIB(vorbis,vorbis_info_init,,have_vorbis=no, -lm) |
765 |
AC_CHECK_LIB(vorbis,vorbis_info_init,,have_vorbis=no, -lm) |
672 |
if test "x$have_vorbis" = "xyes"; then |
766 |
if test "x$have_vorbis" = "xyes"; then |
673 |
AC_CHECK_LIB(vorbisenc,vorbis_encode_init,,have_vorbis=no, -lm) |
767 |
AC_CHECK_LIB(vorbisenc,vorbis_encode_init,,have_vorbis=no, -lm) |
Lines 678-683
Link Here
|
678 |
fi |
772 |
fi |
679 |
fi |
773 |
fi |
680 |
fi |
774 |
fi |
|
|
775 |
fi |
681 |
dnl __________________/VORBIS______________ |
776 |
dnl __________________/VORBIS______________ |
682 |
|
777 |
|
683 |
dnl __________________LAME______________ |
778 |
dnl __________________LAME______________ |