X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=configure;h=839c85db43829f04b98063a039686a662b6f77b7;hb=85c343faade5d20d3b336b0cd16e69eb928d256a;hp=cd0c22a5143bad74397180d6bf97f98d2b35264e;hpb=617d53f4c7e43b5df6f99b363b550ff7b0007c6e;p=ffmpeg diff --git a/configure b/configure index cd0c22a5143..839c85db438 100755 --- a/configure +++ b/configure @@ -246,6 +246,7 @@ External library support: --enable-libspeex enable Speex de/encoding via libspeex [no] --enable-libssh enable SFTP protocol via libssh [no] --enable-libstagefright-h264 enable H.264 decoding via libstagefright [no] + --enable-libtesseract enable Tesseract, needed for ocr filter [no] --enable-libtheora enable Theora encoding via libtheora [no] --enable-libtwolame enable MP2 encoding via libtwolame [no] --enable-libutvideo enable Ut Video encoding and decoding via libutvideo [no] @@ -421,9 +422,13 @@ if test -t 1 && which tput >/dev/null; then if test -n "$ncolors" && test $ncolors -ge 8; then bold_color=$(tput bold) warn_color=$(tput setaf 3) + error_color=$(tput setaf 1) reset_color=$(tput sgr0) fi + # 72 used instead of 80 since that's the default of pr + ncols=$(tput cols) fi +: ${ncols:=72} log(){ echo "$@" >> $logfile @@ -435,18 +440,14 @@ log_file(){ log END $1 } -echolog(){ - log "$@" - echo "$@" -} - warn(){ log "WARNING: $*" WARNINGS="${WARNINGS}WARNING: $*\n" } die(){ - echolog "$@" + log "$@" + echo "$error_color$bold_color$@$reset_color" cat <