forked from mia/Aegisub
Fix --help message alignment (annoying)
Originally committed to SVN as r2604.
This commit is contained in:
parent
8a778ffd82
commit
85e91c8a98
1 changed files with 7 additions and 5 deletions
10
configure.in
10
configure.in
|
@ -442,8 +442,8 @@ if test "$enable_old_ffmpeg" = "yes"; then
|
||||||
AC_DEFINE([WITH_OLD_FFMPEG], [1], [Use old FFMPEG header locations])
|
AC_DEFINE([WITH_OLD_FFMPEG], [1], [Use old FFMPEG header locations])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
AC_ARG_WITH(ffmpeg, [ --without-ffmpeg build without FFMPEG support.
|
||||||
AC_ARG_WITH(ffmpeg, [ --without-ffmpeg build without FFMPEG support. Disables FFMPEG and FFmpegSource A/V providers. (default: auto)], ffmpeg_disabled="(disabled)")
|
Disables FFMPEG and FFmpegSource A/V providers. (default: auto)], ffmpeg_disabled="(disabled)")
|
||||||
|
|
||||||
if test "$with_ffmpeg" != "no"; then
|
if test "$with_ffmpeg" != "no"; then
|
||||||
AC_CHECK_LIB([avcodec], [avcodec_init],[AVCODEC_LDFLAGS="-lavcodec"; with_ffmpeg="yes"], [with_ffmpeg="no"])
|
AC_CHECK_LIB([avcodec], [avcodec_init],[AVCODEC_LDFLAGS="-lavcodec"; with_ffmpeg="yes"], [with_ffmpeg="no"])
|
||||||
|
@ -469,7 +469,8 @@ AC_SUBST(AVFORMAT_LDFLAGS)
|
||||||
AC_SUBST(AVUTIL_LDFLAGS)
|
AC_SUBST(AVUTIL_LDFLAGS)
|
||||||
|
|
||||||
|
|
||||||
AC_ARG_WITH(provider-ffmpeg, [ --without-provider-ffmpeg build without FFMPEG A/V provider. (default: auto)], ffmpeg_provider_disabled="(disabled)")
|
AC_ARG_WITH(provider-ffmpeg, [ --without-provider-ffmpeg
|
||||||
|
build without FFMPEG A/V provider. (default: auto)], ffmpeg_provider_disabled="(disabled)")
|
||||||
|
|
||||||
if test "$with_ffmpeg" = "yes"; then
|
if test "$with_ffmpeg" = "yes"; then
|
||||||
found_video_provider="yes"
|
found_video_provider="yes"
|
||||||
|
@ -486,7 +487,8 @@ fi
|
||||||
|
|
||||||
AM_CONDITIONAL([HAVE_FFMPEG], [test "$with_provider_ffmpeg" = "yes"])
|
AM_CONDITIONAL([HAVE_FFMPEG], [test "$with_provider_ffmpeg" = "yes"])
|
||||||
|
|
||||||
AC_ARG_WITH(provider-ffmpegsource, [ --without-provider-ffmpegsource build without FFmpegSource A/V provider. (default: auto)], ffmpegsource_provider_disabled="(disabled)")
|
AC_ARG_WITH(provider-ffmpegsource, [ --without-provider-ffmpegsource
|
||||||
|
build without FFmpegSource A/V provider. (default: auto)], ffmpegsource_provider_disabled="(disabled)")
|
||||||
|
|
||||||
if test "$with_ffmpegsource" != "no"; then
|
if test "$with_ffmpegsource" != "no"; then
|
||||||
AC_CHECK_LIB([postproc], [pp_postprocess],[POSTPROC_LDFLAGS="-lpostproc"; with_postproc="yes"], [with_postproc="no"])
|
AC_CHECK_LIB([postproc], [pp_postprocess],[POSTPROC_LDFLAGS="-lpostproc"; with_postproc="yes"], [with_postproc="no"])
|
||||||
|
|
Loading…
Reference in a new issue