summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-07-05 20:15:56 +0200
committerThomas Haller <thaller@redhat.com>2018-07-09 11:34:43 +0200
commitd23af045f6dd7cf18c7d93ff00c313eff767b9af (patch)
tree7cc810145e5eda2f9407eaeecd70c213b781f3e7
parentd34e5e29f4e33dd198006830033c1c3947cae90a (diff)
downloadNetworkManager-d23af045f6dd7cf18c7d93ff00c313eff767b9af.tar.gz
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 (cherry picked from commit f3c1e7f6abf3b570e04d7d87a914a33e373fc692)
-rw-r--r--meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index c80945d49c..05e227b790 100644
--- a/meson.build
+++ b/meson.build
@@ -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')