mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-11 09:18:38 +02:00
meson: Suggest -Dppp=false when pppd.h is not found
If the header `pppd/pppd.h` is not found, it’s *not* mentioned, that
PPP/PPPoE support can be disabled.
$ meson setup -Dselinux=false -Dlibaudit=no /dev/shm/nm-build
[…]
Run-time dependency gnutls found: YES 3.8.9
Run-time dependency pppd found: NO (tried pkgconfig and cmake)
Has header "pppd/pppd.h" : NO
meson.build:627:4: ERROR: Assert failed: couldn't find pppd.h. pppd development headers are required
Add `Use -Dppp=false to build without it.` to help the user.
This commit is contained in:
parent
19b065bc4a
commit
057aa17815
1 changed files with 1 additions and 1 deletions
|
|
@ -624,7 +624,7 @@ if enable_ppp
|
|||
pppd_version = pppd_dep.version()
|
||||
NM_PPP_VERSION_2_5_OR_NEWER = true
|
||||
else
|
||||
assert(cc.has_header('pppd/pppd.h'), 'couldn\'t find pppd.h. pppd development headers are required')
|
||||
assert(cc.has_header('pppd/pppd.h'), 'couldn\'t find pppd.h. pppd development headers are required. Use -Dppp=false to build without it.')
|
||||
pppd_version = '2.4.9'
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue