Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson: Allow building papd without CUPS #1790

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -949,11 +949,7 @@ cups = dependency('cups', required: false)
cups_config = find_program('cups-config', required: false)
spooldir = ''

if not get_option('with-appletalk')
have_cups = false
spooldir_required = false
cdata.set('DISABLE_SPOOL', 1)
else
if get_option('with-cups') and get_option('with-appletalk')
spooldir = get_option('localstatedir') / 'spool' / 'netatalk'

spooldir_override = get_option('with-spooldir')
Expand All @@ -974,6 +970,10 @@ else
else
warning('CUPS not found, you might need to specify the path to cups-config')
endif
else
have_cups = false
spooldir_required = false
cdata.set('DISABLE_SPOOL', 1)
endif

#
Expand Down
Loading