CONFIGURE: Only check Sparkle and NSDockTilePlugIn availability on OS X
This commit is contained in:
parent
e917971681
commit
a2250d74ed
1 changed files with 42 additions and 25 deletions
17
configure
vendored
17
configure
vendored
|
@ -3937,6 +3937,11 @@ echo "$_mpeg2"
|
||||||
#
|
#
|
||||||
# Check for Sparkle if updates support is enabled
|
# Check for Sparkle if updates support is enabled
|
||||||
#
|
#
|
||||||
|
#
|
||||||
|
# Check is NSDockTilePlugIn protocol is supported
|
||||||
|
#
|
||||||
|
case $_host_os in
|
||||||
|
darwin*)
|
||||||
echocheck "Sparkle"
|
echocheck "Sparkle"
|
||||||
if test "$_updates" = no; then
|
if test "$_updates" = no; then
|
||||||
_sparkle=no
|
_sparkle=no
|
||||||
|
@ -3957,10 +3962,17 @@ fi
|
||||||
define_in_config_if_yes "$_sparkle" 'USE_SPARKLE'
|
define_in_config_if_yes "$_sparkle" 'USE_SPARKLE'
|
||||||
fi
|
fi
|
||||||
echo "$_sparkle"
|
echo "$_sparkle"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
_sparkle=no
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check is NSDockTilePlugIn protocol is supported
|
# Check is NSDockTilePlugIn protocol is supported
|
||||||
#
|
#
|
||||||
|
case $_host_os in
|
||||||
|
darwin*)
|
||||||
# NSDockTilePlugIn was added in OS X 10.6, so will not be available when compiling on older OS X versions.
|
# NSDockTilePlugIn was added in OS X 10.6, so will not be available when compiling on older OS X versions.
|
||||||
echocheck "DockTilePlugin"
|
echocheck "DockTilePlugin"
|
||||||
if test "$_osxdockplugin" = auto ; then
|
if test "$_osxdockplugin" = auto ; then
|
||||||
|
@ -3975,6 +3987,11 @@ EOF
|
||||||
fi
|
fi
|
||||||
define_in_config_if_yes "$_osxdockplugin" 'USE_DOCKTILEPLUGIN'
|
define_in_config_if_yes "$_osxdockplugin" 'USE_DOCKTILEPLUGIN'
|
||||||
echo "$_osxdockplugin"
|
echo "$_osxdockplugin"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
_osxdockplugin=no
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check for FluidSynth
|
# Check for FluidSynth
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue