diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build index cab7574..bdec8fd 100644 --- a/meson.build +++ b/meson.build @@ -239,7 +239,9 @@ if deps_remoting.length() == depnames.length() message('Found remoting depends, enabling remoting') endif -if deps_waltham.length() == depnames_waltham.length() + depnames.length() +if deps_waltham.length() == depnames_waltham.length() + depnames.length() and not get_option('waltham') + message('Found waltham depends, but waltham is deprecated') +elif deps_waltham.length() == depnames_waltham.length() + depnames.length() and get_option('waltham') config_h.set('HAVE_WALTHAM', 1) message('Found waltham depends, enabling waltham') endif |