Skip to content

Commit

Permalink
feat(dbus): add flag to explicitly disable dbus support
Browse files Browse the repository at this point in the history
Fixes #69
  • Loading branch information
jimeh committed Apr 30, 2022
1 parent e31f5aa commit 8ad3ff4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build-emacs-for-macos
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ class Build
end
configure_flags << native_comp_configure_flag if options[:native_comp]
configure_flags << '--without-rsvg' if options[:rsvg] == false
configure_flags << '--without-dbus' if options[:dbus] == false

run_cmd './configure', *configure_flags

Expand Down Expand Up @@ -1177,6 +1178,7 @@ if __FILE__ == $PROGRAM_NAME
native_march: false,
parallel: Etc.nprocessors,
rsvg: true,
dbus: true,
xwidgets: true,
github_auth: true,
dist_include: ['COPYING'],
Expand Down Expand Up @@ -1243,6 +1245,11 @@ if __FILE__ == $PROGRAM_NAME
cli_options[:rsvg] = v
end

opts.on('--[no-]dbus',
'Enable/disable dbus support (default: enabled)') do |v|
cli_options[:dbus] = v
end

opts.on('--no-titlebar', 'Apply no-titlebar patch (default: disabled)') do
cli_options[:no_titlebar] = true
end
Expand Down

0 comments on commit 8ad3ff4

Please sign in to comment.