meson: define PPPD_PATH variable

configure.ac defines it just like it defines other PATH variables
for use with nm_utils_find_helper. Meson for some reason did not.

https://bugzilla.gnome.org/show_bug.cgi?id=796752
This commit is contained in:
Jan Tojnar 2018-07-05 20:15:56 +02:00 committed by Thomas Haller
parent 79ddef403c
commit f3c1e7f6ab

View file

@ -501,6 +501,8 @@ if enable_ppp
pppd = find_program(locations, required: false)
assert(pppd.found(), 'pppd required but not found, please provide a valid pppd path or use -Dppp=false to disable it')
config_h.set_quoted('PPPD_PATH', pppd.path())
pppd_plugin_dir = get_option('pppd_plugin_dir')
if pppd_plugin_dir == ''
pppd_plugin_dir = join_paths(nm_libdir, 'pppd', '2.4.5')