charon-nm: Port to libnm

libnm-glib is deprecated for several years and reaching the end of its
life. Let's switch to the more up-to-date library.

Closes strongswan/strongswan#85.
This commit is contained in:
Lubomir Rintel
2017-12-22 10:05:10 +01:00
committed by Tobias Brunner
parent fd9edf7f31
commit 9a71b7219c
4 changed files with 75 additions and 64 deletions
+1 -4
View File
@@ -1174,10 +1174,7 @@ if test x$eap_sim_pcsc = xtrue; then
fi
if test x$nm = xtrue; then
PKG_CHECK_EXISTS([libnm-glib],
[PKG_CHECK_MODULES(nm, [NetworkManager gthread-2.0 libnm-util libnm-glib libnm-glib-vpn])],
[PKG_CHECK_MODULES(nm, [NetworkManager gthread-2.0 libnm_util libnm_glib libnm_glib_vpn])]
)
PKG_CHECK_MODULES(nm, [gthread-2.0 libnm])
AC_SUBST(nm_CFLAGS)
AC_SUBST(nm_LIBS)
fi