It seems charon-nm has to be linked against libnm-util.
[strongswan.git] / configure.in
index 43f6640..98ba98d 100755 (executable)
@@ -732,8 +732,8 @@ fi
 
 if test x$nm = xtrue; then
        PKG_CHECK_EXISTS([libnm-glib],
-               [PKG_CHECK_MODULES(nm, [NetworkManager gthread-2.0 libnm-glib libnm-glib-vpn])],
-               [PKG_CHECK_MODULES(nm, [NetworkManager gthread-2.0 libnm_glib libnm_glib_vpn])]
+               [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])]
        )
        AC_SUBST(nm_CFLAGS)
        AC_SUBST(nm_LIBS)