Skip to content

Commit

Permalink
meson: Allow building papd without CUPS, GitHub #1774
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmark committed Nov 27, 2024
1 parent d7ad9fa commit e839b63
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit e839b63

Please sign in to comment.