core: final gdbus porting
Port remaining bits to gdbus and remove stray dbus-glib references Drop the dbus-glib version check from configure, since nothing depends on new dbus-glib any more. Move nm-dbus-glib-types.h and nm-gvaluearray-compat.h from include/ to libnm-util/ since they are now only used by libnm-util and libnm-glib.
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -31,7 +31,6 @@ cscope.*out
|
|||||||
valgrind-*.log
|
valgrind-*.log
|
||||||
test-*.log
|
test-*.log
|
||||||
test-*.trs
|
test-*.trs
|
||||||
*-glue.h
|
|
||||||
|
|
||||||
/ABOUT-NLS
|
/ABOUT-NLS
|
||||||
/COPYING
|
/COPYING
|
||||||
@@ -156,6 +155,8 @@ test-*.trs
|
|||||||
/libnm-core/tests/test-setting-8021x
|
/libnm-core/tests/test-setting-8021x
|
||||||
/libnm-core/tests/test-setting-dcb
|
/libnm-core/tests/test-setting-dcb
|
||||||
|
|
||||||
|
/libnm-glib/nm-secret-agent-glue.h
|
||||||
|
/libnm-glib/nm-vpn-plugin-glue.h
|
||||||
/libnm-glib/libnm-glib-test
|
/libnm-glib/libnm-glib-test
|
||||||
/libnm-glib/tests/test-nm-client
|
/libnm-glib/tests/test-nm-client
|
||||||
/libnm-glib/tests/test-remote-settings-client
|
/libnm-glib/tests/test-remote-settings-client
|
||||||
|
@@ -5,7 +5,6 @@ AM_CPPFLAGS = \
|
|||||||
-I${top_srcdir}/libnm-core \
|
-I${top_srcdir}/libnm-core \
|
||||||
-I${top_builddir}/libnm-core \
|
-I${top_builddir}/libnm-core \
|
||||||
$(GLIB_CFLAGS) \
|
$(GLIB_CFLAGS) \
|
||||||
$(DBUS_CFLAGS) \
|
|
||||||
-DNETWORKMANAGER_COMPILATION \
|
-DNETWORKMANAGER_COMPILATION \
|
||||||
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
||||||
-DNMCONFDIR=\"$(nmconfdir)\" \
|
-DNMCONFDIR=\"$(nmconfdir)\" \
|
||||||
|
@@ -9,8 +9,7 @@ AM_CPPFLAGS = \
|
|||||||
-DNETWORKMANAGER_COMPILATION \
|
-DNETWORKMANAGER_COMPILATION \
|
||||||
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
||||||
-DSRCDIR=\"$(abs_srcdir)\" \
|
-DSRCDIR=\"$(abs_srcdir)\" \
|
||||||
$(GLIB_CFLAGS) \
|
$(GLIB_CFLAGS)
|
||||||
$(DBUS_CFLAGS)
|
|
||||||
|
|
||||||
noinst_PROGRAMS = \
|
noinst_PROGRAMS = \
|
||||||
test-dispatcher-envp
|
test-dispatcher-envp
|
||||||
@@ -23,8 +22,7 @@ test_dispatcher_envp_SOURCES = \
|
|||||||
test_dispatcher_envp_LDADD = \
|
test_dispatcher_envp_LDADD = \
|
||||||
$(top_builddir)/libnm/libnm.la \
|
$(top_builddir)/libnm/libnm.la \
|
||||||
$(top_builddir)/callouts/libtest-dispatcher-envp.la \
|
$(top_builddir)/callouts/libtest-dispatcher-envp.la \
|
||||||
$(GLIB_LIBS) \
|
$(GLIB_LIBS)
|
||||||
$(DBUS_LIBS)
|
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
||||||
|
14
configure.ac
14
configure.ac
@@ -273,20 +273,6 @@ dnl Checks for dbus-glib
|
|||||||
dnl
|
dnl
|
||||||
PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.1 dbus-glib-1 >= 0.94)
|
PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.1 dbus-glib-1 >= 0.94)
|
||||||
|
|
||||||
AC_CHECK_LIB([dbus-glib-1], [dbus_g_method_invocation_get_g_connection], ac_have_gmi_get_con="1", ac_have_gmi_get_con="0")
|
|
||||||
AC_DEFINE_UNQUOTED(HAVE_DBUS_GLIB_GMI_GET_CONNECTION, $ac_have_gmi_get_con, [Define if you have a dbus-glib with dbus_g_method_invocation_get_g_connection()])
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl Only dbus-glib >= 0.100 can use private dbus connections
|
|
||||||
dnl
|
|
||||||
PKG_CHECK_MODULES(DBUS_GLIB_100, [dbus-glib-1 >= 0.100], [have_dbus_glib_100=yes],[have_dbus_glib_100=no])
|
|
||||||
if (test "${have_dbus_glib_100}" = "yes"); then
|
|
||||||
AC_DEFINE(HAVE_DBUS_GLIB_100, 1, [Define if you have dbus-glib >= 0.100])
|
|
||||||
else
|
|
||||||
AC_DEFINE(HAVE_DBUS_GLIB_100, 0, [Define if you have dbus-glib >= 0.100])
|
|
||||||
fi
|
|
||||||
AM_CONDITIONAL(HAVE_DBUS_GLIB_100, test "${have_dbus_glib_100}" = "yes")
|
|
||||||
|
|
||||||
PKG_CHECK_MODULES(GLIB, [gio-unix-2.0 >= 2.37.6 gmodule-2.0],
|
PKG_CHECK_MODULES(GLIB, [gio-unix-2.0 >= 2.37.6 gmodule-2.0],
|
||||||
[AC_SUBST(LOG_DRIVER, '$(top_srcdir)/build-aux/tap-driver.sh'),
|
[AC_SUBST(LOG_DRIVER, '$(top_srcdir)/build-aux/tap-driver.sh'),
|
||||||
AC_SUBST(AM_TESTS_FD_REDIRECT, '--tap')],
|
AC_SUBST(AM_TESTS_FD_REDIRECT, '--tap')],
|
||||||
|
@@ -1,10 +1,8 @@
|
|||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
gsystem-local-alloc.h \
|
gsystem-local-alloc.h \
|
||||||
nm-dbus-compat.h \
|
nm-dbus-compat.h \
|
||||||
nm-dbus-glib-types.h \
|
|
||||||
nm-default.h \
|
nm-default.h \
|
||||||
nm-glib.h \
|
nm-glib.h \
|
||||||
nm-gvaluearray-compat.h \
|
|
||||||
nm-test-utils.h \
|
nm-test-utils.h \
|
||||||
nm-macros-internal.h
|
nm-macros-internal.h
|
||||||
|
|
||||||
|
@@ -38,9 +38,6 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#include "nm-gvaluearray-compat.h"
|
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
__g_type_ensure (GType type)
|
__g_type_ensure (GType type)
|
||||||
{
|
{
|
||||||
|
@@ -62,9 +62,11 @@ nodist_libnm_util_include_HEADERS = \
|
|||||||
|
|
||||||
libnm_util_la_private_headers = \
|
libnm_util_la_private_headers = \
|
||||||
crypto.h \
|
crypto.h \
|
||||||
|
nm-dbus-glib-types.h \
|
||||||
|
nm-gvaluearray-compat.h \
|
||||||
nm-param-spec-specialized.h \
|
nm-param-spec-specialized.h \
|
||||||
nm-utils-private.h \
|
nm-setting-private.h \
|
||||||
nm-setting-private.h
|
nm-utils-private.h
|
||||||
|
|
||||||
libnm_util_la_csources = \
|
libnm_util_la_csources = \
|
||||||
crypto.c \
|
crypto.c \
|
||||||
|
@@ -23,6 +23,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "nm-default.h"
|
#include "nm-default.h"
|
||||||
|
#include "nm-gvaluearray-compat.h"
|
||||||
#include "nm-param-spec-specialized.h"
|
#include "nm-param-spec-specialized.h"
|
||||||
|
|
||||||
struct _NMParamSpecSpecialized {
|
struct _NMParamSpecSpecialized {
|
||||||
|
@@ -30,6 +30,7 @@
|
|||||||
#include <gmodule.h>
|
#include <gmodule.h>
|
||||||
|
|
||||||
#include "nm-default.h"
|
#include "nm-default.h"
|
||||||
|
#include "nm-gvaluearray-compat.h"
|
||||||
#include "nm-utils.h"
|
#include "nm-utils.h"
|
||||||
#include "nm-utils-private.h"
|
#include "nm-utils-private.h"
|
||||||
#include "nm-dbus-glib-types.h"
|
#include "nm-dbus-glib-types.h"
|
||||||
|
@@ -24,6 +24,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "nm-default.h"
|
#include "nm-default.h"
|
||||||
|
#include "nm-gvaluearray-compat.h"
|
||||||
#include "nm-utils.h"
|
#include "nm-utils.h"
|
||||||
#include "nm-utils-private.h"
|
#include "nm-utils-private.h"
|
||||||
#include "nm-dbus-glib-types.h"
|
#include "nm-dbus-glib-types.h"
|
||||||
|
@@ -30,6 +30,7 @@
|
|||||||
|
|
||||||
#include <nm-utils.h>
|
#include <nm-utils.h>
|
||||||
#include "nm-default.h"
|
#include "nm-default.h"
|
||||||
|
#include "nm-gvaluearray-compat.h"
|
||||||
|
|
||||||
#include "nm-setting-private.h"
|
#include "nm-setting-private.h"
|
||||||
#include "nm-setting-connection.h"
|
#include "nm-setting-connection.h"
|
||||||
|
@@ -33,6 +33,7 @@ endif
|
|||||||
|
|
||||||
AM_CPPFLAGS = \
|
AM_CPPFLAGS = \
|
||||||
-I$(top_srcdir)/include \
|
-I$(top_srcdir)/include \
|
||||||
|
-I$(top_builddir)/introspection \
|
||||||
-I$(top_srcdir)/libnm-core \
|
-I$(top_srcdir)/libnm-core \
|
||||||
-I$(top_builddir)/libnm-core \
|
-I$(top_builddir)/libnm-core \
|
||||||
-I$(top_srcdir)/callouts \
|
-I$(top_srcdir)/callouts \
|
||||||
@@ -190,7 +191,7 @@ nm_dhcp_client_headers = \
|
|||||||
dhcp-manager/nm-dhcp-dhcpcd.h \
|
dhcp-manager/nm-dhcp-dhcpcd.h \
|
||||||
dhcp-manager/nm-dhcp-systemd.h
|
dhcp-manager/nm-dhcp-systemd.h
|
||||||
|
|
||||||
nm_sources = \
|
libNetworkManager_la_SOURCES = \
|
||||||
$(nm_device_headers) \
|
$(nm_device_headers) \
|
||||||
$(nm_dhcp_client_headers) \
|
$(nm_dhcp_client_headers) \
|
||||||
devices/nm-device.c \
|
devices/nm-device.c \
|
||||||
@@ -362,14 +363,14 @@ nm_sources = \
|
|||||||
|
|
||||||
|
|
||||||
if SUSPEND_RESUME_UPOWER
|
if SUSPEND_RESUME_UPOWER
|
||||||
nm_sources += nm-sleep-monitor-upower.c
|
libNetworkManager_la_SOURCES += nm-sleep-monitor-upower.c
|
||||||
else
|
else
|
||||||
# systemd/consolekit suspend/resume used whenever upower is not enabled
|
# systemd/consolekit suspend/resume used whenever upower is not enabled
|
||||||
nm_sources += nm-sleep-monitor-systemd.c
|
libNetworkManager_la_SOURCES += nm-sleep-monitor-systemd.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if WITH_WEXT
|
if WITH_WEXT
|
||||||
nm_sources += \
|
libNetworkManager_la_SOURCES += \
|
||||||
platform/wifi/wifi-utils-wext.c \
|
platform/wifi/wifi-utils-wext.c \
|
||||||
platform/wifi/wifi-utils-wext.h
|
platform/wifi/wifi-utils-wext.h
|
||||||
endif
|
endif
|
||||||
@@ -378,45 +379,11 @@ endif
|
|||||||
GLIB_GENERATED = nm-enum-types.h nm-enum-types.c
|
GLIB_GENERATED = nm-enum-types.h nm-enum-types.c
|
||||||
GLIB_MKENUMS_H_FLAGS = --identifier-prefix NM --fhead '\#include <nm-core-enum-types.h>\n'
|
GLIB_MKENUMS_H_FLAGS = --identifier-prefix NM --fhead '\#include <nm-core-enum-types.h>\n'
|
||||||
GLIB_MKENUMS_C_FLAGS = --identifier-prefix NM
|
GLIB_MKENUMS_C_FLAGS = --identifier-prefix NM
|
||||||
nm_enum_types_sources = $(nm_sources)
|
nm_enum_types_sources = $(libNetworkManager_la_SOURCES)
|
||||||
|
|
||||||
BUILT_SOURCES = $(GLIB_GENERATED)
|
BUILT_SOURCES = $(GLIB_GENERATED)
|
||||||
|
|
||||||
|
|
||||||
glue_sources = \
|
|
||||||
nm-access-point-glue.h \
|
|
||||||
nm-active-connection-glue.h \
|
|
||||||
nm-agent-manager-glue.h \
|
|
||||||
nm-device-bond-glue.h \
|
|
||||||
nm-device-bridge-glue.h \
|
|
||||||
nm-device-ethernet-glue.h \
|
|
||||||
nm-device-generic-glue.h \
|
|
||||||
nm-device-glue.h \
|
|
||||||
nm-device-gre-glue.h \
|
|
||||||
nm-device-infiniband-glue.h \
|
|
||||||
nm-device-macvlan-glue.h \
|
|
||||||
nm-device-tun-glue.h \
|
|
||||||
nm-device-veth-glue.h \
|
|
||||||
nm-device-vlan-glue.h \
|
|
||||||
nm-device-vxlan-glue.h \
|
|
||||||
nm-dhcp4-config-glue.h \
|
|
||||||
nm-dhcp6-config-glue.h \
|
|
||||||
nm-ip4-config-glue.h \
|
|
||||||
nm-ip6-config-glue.h \
|
|
||||||
nm-manager-glue.h \
|
|
||||||
nm-ppp-manager-glue.h \
|
|
||||||
nm-settings-connection-glue.h \
|
|
||||||
nm-settings-glue.h \
|
|
||||||
nm-vpn-connection-glue.h
|
|
||||||
|
|
||||||
BUILT_SOURCES += $(glue_sources)
|
|
||||||
|
|
||||||
%-glue.h: $(top_srcdir)/introspection/%.xml
|
|
||||||
$(AM_V_GEN) dbus-binding-tool --prefix=$(subst -,_,$(subst -glue.h,,$@)) --mode=glib-server --output=$@ $<
|
|
||||||
|
|
||||||
|
|
||||||
AM_CPPFLAGS += \
|
AM_CPPFLAGS += \
|
||||||
$(DBUS_CFLAGS) \
|
|
||||||
$(GLIB_CFLAGS) \
|
$(GLIB_CFLAGS) \
|
||||||
$(GUDEV_CFLAGS) \
|
$(GUDEV_CFLAGS) \
|
||||||
$(LIBNL_CFLAGS) \
|
$(LIBNL_CFLAGS) \
|
||||||
@@ -450,14 +417,10 @@ AM_CPPFLAGS += \
|
|||||||
\
|
\
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
libNetworkManager_la_SOURCES = \
|
|
||||||
$(nm_sources) \
|
|
||||||
$(glue_sources)
|
|
||||||
|
|
||||||
libNetworkManager_la_LIBADD = \
|
libNetworkManager_la_LIBADD = \
|
||||||
$(top_builddir)/libnm-core/libnm-core.la \
|
$(top_builddir)/libnm-core/libnm-core.la \
|
||||||
|
$(top_builddir)/introspection/libnmdbus.la \
|
||||||
libsystemd-nm.la \
|
libsystemd-nm.la \
|
||||||
$(DBUS_LIBS) \
|
|
||||||
$(GLIB_LIBS) \
|
$(GLIB_LIBS) \
|
||||||
$(GUDEV_LIBS) \
|
$(GUDEV_LIBS) \
|
||||||
$(LIBNL_LIBS) \
|
$(LIBNL_LIBS) \
|
||||||
@@ -533,8 +496,8 @@ endif
|
|||||||
|
|
||||||
libnm_iface_helper_la_LIBADD = \
|
libnm_iface_helper_la_LIBADD = \
|
||||||
$(top_builddir)/libnm-core/libnm-core.la \
|
$(top_builddir)/libnm-core/libnm-core.la \
|
||||||
|
$(top_builddir)/introspection/libnmdbus.la \
|
||||||
libsystemd-nm.la \
|
libsystemd-nm.la \
|
||||||
$(DBUS_LIBS) \
|
|
||||||
$(GLIB_LIBS) \
|
$(GLIB_LIBS) \
|
||||||
$(GUDEV_LIBS) \
|
$(GUDEV_LIBS) \
|
||||||
$(LIBNL_LIBS) \
|
$(LIBNL_LIBS) \
|
||||||
@@ -555,7 +518,6 @@ nm_iface_helper_LDADD = \
|
|||||||
$(top_builddir)/libnm-core/libnm-core.la \
|
$(top_builddir)/libnm-core/libnm-core.la \
|
||||||
libsystemd-nm.la \
|
libsystemd-nm.la \
|
||||||
libnm-iface-helper.la \
|
libnm-iface-helper.la \
|
||||||
$(DBUS_LIBS) \
|
|
||||||
$(GLIB_LIBS) \
|
$(GLIB_LIBS) \
|
||||||
$(GUDEV_LIBS) \
|
$(GUDEV_LIBS) \
|
||||||
$(SYSTEMD_JOURNAL_LIBS) \
|
$(SYSTEMD_JOURNAL_LIBS) \
|
||||||
@@ -582,8 +544,4 @@ install-data-hook:
|
|||||||
$(mkinstalldirs) -m 0755 $(DESTDIR)$(pkglibdir)
|
$(mkinstalldirs) -m 0755 $(DESTDIR)$(pkglibdir)
|
||||||
|
|
||||||
CLEANFILES = \
|
CLEANFILES = \
|
||||||
$(BUILT_SOURCES) \
|
$(BUILT_SOURCES)
|
||||||
settings/*-glue.h \
|
|
||||||
devices/*-glue.h \
|
|
||||||
devices/*/*-glue.h
|
|
||||||
|
|
||||||
|
@@ -44,7 +44,6 @@
|
|||||||
#include "nm-setting-wireless.h"
|
#include "nm-setting-wireless.h"
|
||||||
#include "nm-setting-wireless-security.h"
|
#include "nm-setting-wireless-security.h"
|
||||||
#include "nm-auth-utils.h"
|
#include "nm-auth-utils.h"
|
||||||
#include "nm-dbus-glib-types.h"
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Some toolchains (E.G. uClibc 0.9.33 and earlier) don't export
|
* Some toolchains (E.G. uClibc 0.9.33 and earlier) don't export
|
||||||
@@ -2890,47 +2889,6 @@ nm_utils_ipv6_interface_identfier_get_from_addr (NMUtilsIPv6IfaceId *iid,
|
|||||||
memcpy (iid, addr->s6_addr + 8, 8);
|
memcpy (iid, addr->s6_addr + 8, 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* nm_utils_connection_hash_to_dict:
|
|
||||||
* @hash: a hashed #NMConnection
|
|
||||||
*
|
|
||||||
* Returns: a (floating) #GVariant equivalent to @hash.
|
|
||||||
*/
|
|
||||||
GVariant *
|
|
||||||
nm_utils_connection_hash_to_dict (GHashTable *hash)
|
|
||||||
{
|
|
||||||
GValue val = { 0, };
|
|
||||||
GVariant *variant;
|
|
||||||
|
|
||||||
if (!hash)
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
g_value_init (&val, DBUS_TYPE_G_MAP_OF_MAP_OF_VARIANT);
|
|
||||||
g_value_set_boxed (&val, hash);
|
|
||||||
variant = dbus_g_value_build_g_variant (&val);
|
|
||||||
g_value_unset (&val);
|
|
||||||
|
|
||||||
return variant;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* nm_utils_connection_dict_to_hash:
|
|
||||||
* @dict: a #GVariant-serialized #NMConnection
|
|
||||||
*
|
|
||||||
* Returns: a #GHashTable equivalent to @dict.
|
|
||||||
*/
|
|
||||||
GHashTable *
|
|
||||||
nm_utils_connection_dict_to_hash (GVariant *dict)
|
|
||||||
{
|
|
||||||
GValue val = { 0, };
|
|
||||||
|
|
||||||
if (!dict)
|
|
||||||
return NULL;
|
|
||||||
|
|
||||||
dbus_g_value_parse_g_variant (dict, &val);
|
|
||||||
return g_value_get_boxed (&val);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* nm_utils_setpgid:
|
* nm_utils_setpgid:
|
||||||
* @unused: unused
|
* @unused: unused
|
||||||
@@ -2963,9 +2921,9 @@ nm_utils_g_value_set_object_path (GValue *value, gpointer object)
|
|||||||
g_return_if_fail (!object || NM_IS_EXPORTED_OBJECT (object));
|
g_return_if_fail (!object || NM_IS_EXPORTED_OBJECT (object));
|
||||||
|
|
||||||
if (object && nm_exported_object_is_exported (object))
|
if (object && nm_exported_object_is_exported (object))
|
||||||
g_value_set_boxed (value, nm_exported_object_get_path (object));
|
g_value_set_string (value, nm_exported_object_get_path (object));
|
||||||
else
|
else
|
||||||
g_value_set_boxed (value, "/");
|
g_value_set_string (value, "/");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -2989,7 +2947,8 @@ nm_utils_g_value_set_object_path_array (GValue *value, GSList *objects)
|
|||||||
continue;
|
continue;
|
||||||
g_ptr_array_add (paths, g_strdup (nm_exported_object_get_path (object)));
|
g_ptr_array_add (paths, g_strdup (nm_exported_object_get_path (object)));
|
||||||
}
|
}
|
||||||
g_value_take_boxed (value, paths);
|
g_ptr_array_add (paths, NULL);
|
||||||
|
g_value_take_boxed (value, (char **) g_ptr_array_free (paths, FALSE));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -224,9 +224,6 @@ void nm_utils_ipv6_addr_set_interface_identfier (struct in6_addr *addr,
|
|||||||
void nm_utils_ipv6_interface_identfier_get_from_addr (NMUtilsIPv6IfaceId *iid,
|
void nm_utils_ipv6_interface_identfier_get_from_addr (NMUtilsIPv6IfaceId *iid,
|
||||||
const struct in6_addr *addr);
|
const struct in6_addr *addr);
|
||||||
|
|
||||||
GVariant *nm_utils_connection_hash_to_dict (GHashTable *hash);
|
|
||||||
GHashTable *nm_utils_connection_dict_to_hash (GVariant *dict);
|
|
||||||
|
|
||||||
void nm_utils_array_remove_at_indexes (GArray *array, const guint *indexes_to_delete, gsize len);
|
void nm_utils_array_remove_at_indexes (GArray *array, const guint *indexes_to_delete, gsize len);
|
||||||
|
|
||||||
void nm_utils_setpgid (gpointer unused);
|
void nm_utils_setpgid (gpointer unused);
|
||||||
|
@@ -9,7 +9,6 @@ AM_CPPFLAGS = \
|
|||||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
||||||
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
||||||
$(GLIB_CFLAGS) \
|
$(GLIB_CFLAGS) \
|
||||||
$(DBUS_CFLAGS) \
|
|
||||||
-DTESTDIR="\"$(abs_srcdir)\""
|
-DTESTDIR="\"$(abs_srcdir)\""
|
||||||
|
|
||||||
noinst_PROGRAMS = \
|
noinst_PROGRAMS = \
|
||||||
|
15
src/main.c
15
src/main.c
@@ -21,9 +21,6 @@
|
|||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <dbus/dbus.h>
|
|
||||||
#include <dbus/dbus-glib-lowlevel.h>
|
|
||||||
#include <dbus/dbus-glib.h>
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@@ -401,13 +398,6 @@ main (int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
g_clear_error (&error);
|
g_clear_error (&error);
|
||||||
|
|
||||||
dbus_threads_init_default ();
|
|
||||||
|
|
||||||
/* Ensure that non-exported properties don't leak out, and that the
|
|
||||||
* introspection 'access' permissions are respected.
|
|
||||||
*/
|
|
||||||
dbus_glib_global_set_disable_legacy_property_access ();
|
|
||||||
|
|
||||||
nm_log_info (LOGD_CORE, "Read config: %s", nm_config_data_get_config_description (nm_config_get_data (config)));
|
nm_log_info (LOGD_CORE, "Read config: %s", nm_config_data_get_config_description (nm_config_get_data (config)));
|
||||||
nm_config_data_log (nm_config_get_data (config), "CONFIG: ");
|
nm_config_data_log (nm_config_get_data (config), "CONFIG: ");
|
||||||
nm_log_dbg (LOGD_CORE, "WEXT support is %s",
|
nm_log_dbg (LOGD_CORE, "WEXT support is %s",
|
||||||
@@ -427,12 +417,7 @@ main (int argc, char *argv[])
|
|||||||
wimax_enabled);
|
wimax_enabled);
|
||||||
|
|
||||||
if (!nm_bus_manager_get_connection (nm_bus_manager_get ())) {
|
if (!nm_bus_manager_get_connection (nm_bus_manager_get ())) {
|
||||||
#if HAVE_DBUS_GLIB_100
|
|
||||||
nm_log_warn (LOGD_CORE, "Failed to connect to D-Bus; only private bus is available");
|
nm_log_warn (LOGD_CORE, "Failed to connect to D-Bus; only private bus is available");
|
||||||
#else
|
|
||||||
nm_log_err (LOGD_CORE, "Failed to connect to D-Bus, exiting...");
|
|
||||||
goto done;
|
|
||||||
#endif
|
|
||||||
} else {
|
} else {
|
||||||
/* Start our DBus service */
|
/* Start our DBus service */
|
||||||
if (!nm_bus_manager_start_service (nm_bus_manager_get ())) {
|
if (!nm_bus_manager_start_service (nm_bus_manager_get ())) {
|
||||||
|
@@ -167,9 +167,9 @@ nm_auth_subject_get_unix_process_dbus_sender (NMAuthSubject *subject)
|
|||||||
/**************************************************************/
|
/**************************************************************/
|
||||||
|
|
||||||
static NMAuthSubject *
|
static NMAuthSubject *
|
||||||
_new_unix_process (DBusGMethodInvocation *context,
|
_new_unix_process (GDBusMethodInvocation *context,
|
||||||
DBusConnection *connection,
|
GDBusConnection *connection,
|
||||||
DBusMessage *message)
|
GDBusMessage *message)
|
||||||
{
|
{
|
||||||
NMAuthSubject *self;
|
NMAuthSubject *self;
|
||||||
gboolean success = FALSE;
|
gboolean success = FALSE;
|
||||||
@@ -221,14 +221,14 @@ _new_unix_process (DBusGMethodInvocation *context,
|
|||||||
}
|
}
|
||||||
|
|
||||||
NMAuthSubject *
|
NMAuthSubject *
|
||||||
nm_auth_subject_new_unix_process_from_context (DBusGMethodInvocation *context)
|
nm_auth_subject_new_unix_process_from_context (GDBusMethodInvocation *context)
|
||||||
{
|
{
|
||||||
return _new_unix_process (context, NULL, NULL);
|
return _new_unix_process (context, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
NMAuthSubject *
|
NMAuthSubject *
|
||||||
nm_auth_subject_new_unix_process_from_message (DBusConnection *connection,
|
nm_auth_subject_new_unix_process_from_message (GDBusConnection *connection,
|
||||||
DBusMessage *message)
|
GDBusMessage *message)
|
||||||
{
|
{
|
||||||
return _new_unix_process (NULL, connection, message);
|
return _new_unix_process (NULL, connection, message);
|
||||||
}
|
}
|
||||||
|
@@ -22,8 +22,6 @@
|
|||||||
#define __NETWORKMANAGER_AUTH_SUBJECT_H__
|
#define __NETWORKMANAGER_AUTH_SUBJECT_H__
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <dbus/dbus.h>
|
|
||||||
#include <dbus/dbus-glib.h>
|
|
||||||
|
|
||||||
#include "nm-default.h"
|
#include "nm-default.h"
|
||||||
|
|
||||||
@@ -57,9 +55,9 @@ GType nm_auth_subject_get_type (void);
|
|||||||
|
|
||||||
NMAuthSubject *nm_auth_subject_new_internal (void);
|
NMAuthSubject *nm_auth_subject_new_internal (void);
|
||||||
|
|
||||||
NMAuthSubject *nm_auth_subject_new_unix_process_from_context (DBusGMethodInvocation *context);
|
NMAuthSubject *nm_auth_subject_new_unix_process_from_context (GDBusMethodInvocation *context);
|
||||||
|
|
||||||
NMAuthSubject *nm_auth_subject_new_unix_process_from_message (DBusConnection *connection, DBusMessage *message);
|
NMAuthSubject *nm_auth_subject_new_unix_process_from_message (GDBusConnection *connection, GDBusMessage *message);
|
||||||
|
|
||||||
|
|
||||||
NMAuthSubjectType nm_auth_subject_get_subject_type (NMAuthSubject *subject);
|
NMAuthSubjectType nm_auth_subject_get_subject_type (NMAuthSubject *subject);
|
||||||
|
@@ -34,7 +34,7 @@ struct NMAuthChain {
|
|||||||
GSList *calls;
|
GSList *calls;
|
||||||
GHashTable *data;
|
GHashTable *data;
|
||||||
|
|
||||||
DBusGMethodInvocation *context;
|
GDBusMethodInvocation *context;
|
||||||
NMAuthSubject *subject;
|
NMAuthSubject *subject;
|
||||||
GError *error;
|
GError *error;
|
||||||
|
|
||||||
@@ -83,7 +83,7 @@ auth_chain_finish (gpointer user_data)
|
|||||||
|
|
||||||
/* Creates the NMAuthSubject automatically */
|
/* Creates the NMAuthSubject automatically */
|
||||||
NMAuthChain *
|
NMAuthChain *
|
||||||
nm_auth_chain_new_context (DBusGMethodInvocation *context,
|
nm_auth_chain_new_context (GDBusMethodInvocation *context,
|
||||||
NMAuthChainResultFunc done_func,
|
NMAuthChainResultFunc done_func,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
@@ -107,7 +107,7 @@ nm_auth_chain_new_context (DBusGMethodInvocation *context,
|
|||||||
/* Requires an NMAuthSubject */
|
/* Requires an NMAuthSubject */
|
||||||
NMAuthChain *
|
NMAuthChain *
|
||||||
nm_auth_chain_new_subject (NMAuthSubject *subject,
|
nm_auth_chain_new_subject (NMAuthSubject *subject,
|
||||||
DBusGMethodInvocation *context,
|
GDBusMethodInvocation *context,
|
||||||
NMAuthChainResultFunc done_func,
|
NMAuthChainResultFunc done_func,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
|
@@ -21,8 +21,6 @@
|
|||||||
#ifndef __NETWORKMANAGER_MANAGER_AUTH_H__
|
#ifndef __NETWORKMANAGER_MANAGER_AUTH_H__
|
||||||
#define __NETWORKMANAGER_MANAGER_AUTH_H__
|
#define __NETWORKMANAGER_MANAGER_AUTH_H__
|
||||||
|
|
||||||
#include <dbus/dbus-glib.h>
|
|
||||||
|
|
||||||
#include <nm-connection.h>
|
#include <nm-connection.h>
|
||||||
#include "nm-default.h"
|
#include "nm-default.h"
|
||||||
|
|
||||||
@@ -50,15 +48,15 @@ typedef enum {
|
|||||||
|
|
||||||
typedef void (*NMAuthChainResultFunc) (NMAuthChain *chain,
|
typedef void (*NMAuthChainResultFunc) (NMAuthChain *chain,
|
||||||
GError *error,
|
GError *error,
|
||||||
DBusGMethodInvocation *context,
|
GDBusMethodInvocation *context,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
|
||||||
NMAuthChain *nm_auth_chain_new_context (DBusGMethodInvocation *context,
|
NMAuthChain *nm_auth_chain_new_context (GDBusMethodInvocation *context,
|
||||||
NMAuthChainResultFunc done_func,
|
NMAuthChainResultFunc done_func,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
|
||||||
NMAuthChain *nm_auth_chain_new_subject (NMAuthSubject *subject,
|
NMAuthChain *nm_auth_chain_new_subject (NMAuthSubject *subject,
|
||||||
DBusGMethodInvocation *context,
|
GDBusMethodInvocation *context,
|
||||||
NMAuthChainResultFunc done_func,
|
NMAuthChainResultFunc done_func,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
|
||||||
|
@@ -34,7 +34,6 @@
|
|||||||
#include "nm-dhcp6-config.h"
|
#include "nm-dhcp6-config.h"
|
||||||
#include "nm-ip4-config.h"
|
#include "nm-ip4-config.h"
|
||||||
#include "nm-ip6-config.h"
|
#include "nm-ip6-config.h"
|
||||||
#include "nm-dbus-glib-types.h"
|
|
||||||
#include "nm-settings-connection.h"
|
#include "nm-settings-connection.h"
|
||||||
#include "nm-platform.h"
|
#include "nm-platform.h"
|
||||||
#include "nm-core-internal.h"
|
#include "nm-core-internal.h"
|
||||||
|
@@ -15,7 +15,6 @@ AM_CPPFLAGS = \
|
|||||||
AM_CFLAGS = $(CODE_COVERAGE_CFLAGS)
|
AM_CFLAGS = $(CODE_COVERAGE_CFLAGS)
|
||||||
AM_LDFLAGS = \
|
AM_LDFLAGS = \
|
||||||
$(GLIB_LIBS) \
|
$(GLIB_LIBS) \
|
||||||
$(DBUS_LIBS) \
|
|
||||||
$(CODE_COVERAGE_LDFLAGS)
|
$(CODE_COVERAGE_LDFLAGS)
|
||||||
|
|
||||||
@GNOME_CODE_COVERAGE_RULES@
|
@GNOME_CODE_COVERAGE_RULES@
|
||||||
|
@@ -20,7 +20,6 @@ AM_CPPFLAGS = \
|
|||||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
||||||
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
||||||
$(GLIB_CFLAGS) \
|
$(GLIB_CFLAGS) \
|
||||||
$(DBUS_CFLAGS) \
|
|
||||||
-DG_LOG_DOMAIN=\""NetworkManager-ibft"\" \
|
-DG_LOG_DOMAIN=\""NetworkManager-ibft"\" \
|
||||||
-DSYSCONFDIR=\"$(sysconfdir)\" \
|
-DSYSCONFDIR=\"$(sysconfdir)\" \
|
||||||
-DSBINDIR=\"$(sbindir)\"
|
-DSBINDIR=\"$(sbindir)\"
|
||||||
|
@@ -29,7 +29,6 @@
|
|||||||
#include <nm-setting-connection.h>
|
#include <nm-setting-connection.h>
|
||||||
|
|
||||||
#include "nm-default.h"
|
#include "nm-default.h"
|
||||||
#include "nm-dbus-glib-types.h"
|
|
||||||
#include "nm-system-config-interface.h"
|
#include "nm-system-config-interface.h"
|
||||||
#include "NetworkManagerUtils.h"
|
#include "NetworkManagerUtils.h"
|
||||||
|
|
||||||
|
@@ -20,7 +20,6 @@ AM_CPPFLAGS = \
|
|||||||
|
|
||||||
AM_LDFLAGS = \
|
AM_LDFLAGS = \
|
||||||
$(GLIB_LIBS) \
|
$(GLIB_LIBS) \
|
||||||
$(DBUS_LIBS) \
|
|
||||||
$(CODE_COVERAGE_LDFLAGS)
|
$(CODE_COVERAGE_LDFLAGS)
|
||||||
|
|
||||||
noinst_PROGRAMS = test-ibft
|
noinst_PROGRAMS = test-ibft
|
||||||
|
@@ -13,7 +13,6 @@ AM_CPPFLAGS = \
|
|||||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
||||||
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
||||||
$(GLIB_CFLAGS) \
|
$(GLIB_CFLAGS) \
|
||||||
$(DBUS_CFLAGS) \
|
|
||||||
-DSYSCONFDIR=\"$(sysconfdir)\"
|
-DSYSCONFDIR=\"$(sysconfdir)\"
|
||||||
-DSBINDIR=\"$(sbindir)\"
|
-DSBINDIR=\"$(sbindir)\"
|
||||||
|
|
||||||
|
@@ -15,7 +15,6 @@ AM_CPPFLAGS= \
|
|||||||
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
||||||
$(CHECK_CFLAGS) \
|
$(CHECK_CFLAGS) \
|
||||||
$(GLIB_CFLAGS) \
|
$(GLIB_CFLAGS) \
|
||||||
$(DBUS_CFLAGS) \
|
|
||||||
$(CODE_COVERAGE_CFLAGS) \
|
$(CODE_COVERAGE_CFLAGS) \
|
||||||
-DTEST_IFNET_DIR=\"$(abs_srcdir)\" \
|
-DTEST_IFNET_DIR=\"$(abs_srcdir)\" \
|
||||||
-DTEST_SCRATCH_DIR=\"$(abs_builddir)/\" \
|
-DTEST_SCRATCH_DIR=\"$(abs_builddir)/\" \
|
||||||
|
@@ -12,7 +12,6 @@ AM_CPPFLAGS = \
|
|||||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
||||||
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
||||||
$(GLIB_CFLAGS) \
|
$(GLIB_CFLAGS) \
|
||||||
$(DBUS_CFLAGS) \
|
|
||||||
$(GUDEV_CFLAGS) \
|
$(GUDEV_CFLAGS) \
|
||||||
-DSYSCONFDIR=\"$(sysconfdir)\"
|
-DSYSCONFDIR=\"$(sysconfdir)\"
|
||||||
|
|
||||||
|
@@ -12,7 +12,6 @@ AM_CPPFLAGS = \
|
|||||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
||||||
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
||||||
$(GLIB_CFLAGS) \
|
$(GLIB_CFLAGS) \
|
||||||
$(DBUS_CFLAGS) \
|
|
||||||
-DNMCONFDIR=\"$(nmconfdir)\"
|
-DNMCONFDIR=\"$(nmconfdir)\"
|
||||||
|
|
||||||
noinst_LTLIBRARIES = \
|
noinst_LTLIBRARIES = \
|
||||||
|
@@ -29,7 +29,6 @@
|
|||||||
|
|
||||||
#include "nm-default.h"
|
#include "nm-default.h"
|
||||||
#include "nm-system-config-interface.h"
|
#include "nm-system-config-interface.h"
|
||||||
#include "nm-dbus-glib-types.h"
|
|
||||||
#include "nm-keyfile-connection.h"
|
#include "nm-keyfile-connection.h"
|
||||||
#include "reader.h"
|
#include "reader.h"
|
||||||
#include "writer.h"
|
#include "writer.h"
|
||||||
|
@@ -12,7 +12,6 @@ AM_CPPFLAGS = \
|
|||||||
-I$(top_srcdir)/src/settings \
|
-I$(top_srcdir)/src/settings \
|
||||||
-I$(srcdir)/../ \
|
-I$(srcdir)/../ \
|
||||||
$(GLIB_CFLAGS) \
|
$(GLIB_CFLAGS) \
|
||||||
$(DBUS_CFLAGS) \
|
|
||||||
$(CODE_COVERAGE_CFLAGS) \
|
$(CODE_COVERAGE_CFLAGS) \
|
||||||
-DG_LOG_DOMAIN=\""NetworkManager-keyfile"\" \
|
-DG_LOG_DOMAIN=\""NetworkManager-keyfile"\" \
|
||||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
||||||
@@ -31,7 +30,6 @@ test_keyfile_SOURCES = \
|
|||||||
|
|
||||||
test_keyfile_LDADD = \
|
test_keyfile_LDADD = \
|
||||||
$(top_builddir)/src/libNetworkManager.la \
|
$(top_builddir)/src/libNetworkManager.la \
|
||||||
$(DBUS_LIBS) \
|
|
||||||
$(CODE_COVERAGE_LDFLAGS)
|
$(CODE_COVERAGE_LDFLAGS)
|
||||||
|
|
||||||
@VALGRIND_RULES@
|
@VALGRIND_RULES@
|
||||||
|
@@ -23,7 +23,6 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <dbus/dbus-glib.h>
|
|
||||||
|
|
||||||
#include "nm-default.h"
|
#include "nm-default.h"
|
||||||
#include "nm-supplicant-config.h"
|
#include "nm-supplicant-config.h"
|
||||||
|
@@ -22,7 +22,6 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <dbus/dbus.h>
|
|
||||||
|
|
||||||
#include "nm-default.h"
|
#include "nm-default.h"
|
||||||
#include "nm-supplicant-manager.h"
|
#include "nm-supplicant-manager.h"
|
||||||
|
@@ -7,8 +7,7 @@ AM_CPPFLAGS = \
|
|||||||
-DG_LOG_DOMAIN=\""NetworkManager"\" \
|
-DG_LOG_DOMAIN=\""NetworkManager"\" \
|
||||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
||||||
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
||||||
$(GLIB_CFLAGS) \
|
$(GLIB_CFLAGS)
|
||||||
$(DBUS_CFLAGS)
|
|
||||||
|
|
||||||
noinst_PROGRAMS = test-supplicant-config
|
noinst_PROGRAMS = test-supplicant-config
|
||||||
|
|
||||||
|
@@ -30,8 +30,6 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#include <dbus/dbus-glib.h>
|
|
||||||
|
|
||||||
#include "nm-core-internal.h"
|
#include "nm-core-internal.h"
|
||||||
|
|
||||||
#include "nm-supplicant-config.h"
|
#include "nm-supplicant-config.h"
|
||||||
|
@@ -12,8 +12,7 @@ AM_CPPFLAGS = \
|
|||||||
-DG_LOG_DOMAIN=\""NetworkManager"\" \
|
-DG_LOG_DOMAIN=\""NetworkManager"\" \
|
||||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
||||||
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
||||||
$(GLIB_CFLAGS) \
|
$(GLIB_CFLAGS)
|
||||||
$(DBUS_CFLAGS)
|
|
||||||
|
|
||||||
noinst_PROGRAMS = \
|
noinst_PROGRAMS = \
|
||||||
test-general \
|
test-general \
|
||||||
|
@@ -9,7 +9,6 @@ AM_CPPFLAGS = \
|
|||||||
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
|
||||||
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
||||||
$(GLIB_CFLAGS) \
|
$(GLIB_CFLAGS) \
|
||||||
$(DBUS_CFLAGS) \
|
|
||||||
-DSRCDIR=\""$(srcdir)"\" \
|
-DSRCDIR=\""$(srcdir)"\" \
|
||||||
-DBUILDDIR=\""$(builddir)"\"
|
-DBUILDDIR=\""$(builddir)"\"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user