mirror of https://github.com/mpv-player/mpv
configure: fix help for macosx-bundle from autodetected to disabled
The help and configure result wrongly showed this feature was autodetected, while it is infact disabled by default.
This commit is contained in:
parent
f0d245ce4b
commit
669f5d42f0
|
@ -316,7 +316,7 @@ Optional features:
|
|||
--disable-bluray disable Blu-ray support [autodetect]
|
||||
--disable-dvdread disable libdvdread [autodetect]
|
||||
--disable-enca disable ENCA charset oracle library [autodetect]
|
||||
--enable-macosx-bundle enable Mac OS X bundle file locations [autodetect]
|
||||
--enable-macosx-bundle enable Mac OS X bundle file locations [disabled]
|
||||
--disable-pthreads disable Posix threads support [autodetect]
|
||||
--disable-libass disable subtitle rendering with libass [autodetect]
|
||||
--disable-libass-osd disable OSD rendering with libass [autodetect]
|
||||
|
@ -474,7 +474,7 @@ _cdda=auto
|
|||
_coreaudio=auto
|
||||
_corevideo=auto
|
||||
_cocoa=auto
|
||||
_macosx_bundle=auto
|
||||
_macosx_bundle=no
|
||||
_enca=auto
|
||||
_pthreads=auto
|
||||
_ass=auto
|
||||
|
@ -709,7 +709,6 @@ for ac_option do
|
|||
--enable-cocoa) _cocoa=yes ;;
|
||||
--disable-cocoa) _cocoa=no ;;
|
||||
--enable-macosx-bundle) _macosx_bundle=yes ;;
|
||||
--disable-macosx-bundle) _macosx_bundle=no ;;
|
||||
|
||||
--enable-manpage) _build_man=yes ;;
|
||||
--disable-manpage) _build_man=no ;;
|
||||
|
@ -1550,11 +1549,11 @@ echores "$_sys_sysinfo"
|
|||
if darwin; then
|
||||
|
||||
echocheck "Mac OS X Bundle file locations"
|
||||
def_macosx_bundle='#undef CONFIG_MACOSX_BUNDLE'
|
||||
test "$_macosx_bundle" = auto
|
||||
if test "$_macosx_bundle" = yes ; then
|
||||
extra_ldflags="$extra_ldflags -headerpad_max_install_names"
|
||||
def_macosx_bundle='#define CONFIG_MACOSX_BUNDLE 1'
|
||||
else
|
||||
def_macosx_bundle='#undef CONFIG_MACOSX_BUNDLE'
|
||||
fi
|
||||
echores "$_macosx_bundle"
|
||||
|
||||
|
|
Loading…
Reference in New Issue