meson: Print deprecation warning for weston-launch
weston-launch will be removed in a future release as this feature has been offloaded to libseat and seatd-launch. Print an early deprecation warning to give existing users time to migrate. Signed-off-by: Kenny Levinsen <kl@kl.wtf>
This commit is contained in:
committed by
Simon Ser
parent
dfab60c6ee
commit
e1491a7236
@@ -229,6 +229,7 @@ dep_vertex_clipping = declare_dependency(
|
|||||||
)
|
)
|
||||||
|
|
||||||
if get_option('weston-launch')
|
if get_option('weston-launch')
|
||||||
|
warning('weston-launch is deprecated and will be removed in a future release. Please migrate to libseat and seatd-launch.')
|
||||||
dep_pam = cc.find_library('pam')
|
dep_pam = cc.find_library('pam')
|
||||||
|
|
||||||
if not cc.has_function('pam_open_session', dependencies: dep_pam)
|
if not cc.has_function('pam_open_session', dependencies: dep_pam)
|
||||||
|
|||||||
Reference in New Issue
Block a user