configure: Enable libpostproc automatically if GPL code is enabled.

Enabling libpostproc automatically should give it more compile coverage
and save the FATE box maintainers some configuration hassles.
This commit is contained in:
Måns Rullgård 2011-05-12 13:21:49 +01:00 committed by Diego Biurrun
parent e575685fad
commit ced9556b61

5
configure vendored
View File

@ -88,7 +88,7 @@ Configuration options:
--disable-avcodec disable libavcodec build --disable-avcodec disable libavcodec build
--disable-avformat disable libavformat build --disable-avformat disable libavformat build
--disable-swscale disable libswscale build --disable-swscale disable libswscale build
--enable-postproc enable GPLed postprocessing support [no] --disable-postproc disable libpostproc build
--disable-avfilter disable video filter support [no] --disable-avfilter disable video filter support [no]
--disable-pthreads disable pthreads [auto] --disable-pthreads disable pthreads [auto]
--enable-w32threads use Win32 threads [no] --enable-w32threads use Win32 threads [no]
@ -1474,6 +1474,7 @@ yadif_filter_deps="gpl"
# libraries # libraries
avdevice_deps="avcodec avformat" avdevice_deps="avcodec avformat"
avformat_deps="avcodec" avformat_deps="avcodec"
postproc_deps="gpl"
# programs # programs
ffmpeg_deps="avcodec avformat swscale" ffmpeg_deps="avcodec avformat swscale"
@ -1643,6 +1644,7 @@ enable ffprobe
enable ffserver enable ffserver
enable network enable network
enable optimizations enable optimizations
enable postproc
enable protocols enable protocols
enable static enable static
enable swscale enable swscale
@ -2531,7 +2533,6 @@ die_license_disabled() {
die_license_disabled gpl libx264 die_license_disabled gpl libx264
die_license_disabled gpl libxavs die_license_disabled gpl libxavs
die_license_disabled gpl libxvid die_license_disabled gpl libxvid
die_license_disabled gpl postproc
die_license_disabled gpl x11grab die_license_disabled gpl x11grab
die_license_disabled nonfree libfaac die_license_disabled nonfree libfaac