AC_SUBST(IWMX_SDK_CFLAGS)
AC_SUBST(IWMX_SDK_LIBS)
AC_DEFINE(WITH_WIMAX, 1, [Define if you have WiMAX support])
+else
+ AC_DEFINE(WITH_WIMAX, 0, [Define if you have WiMAX support])
fi
AM_CONDITIONAL(WITH_WIMAX, test "${enable_wimax}" = "yes")
AC_MSG_ERROR(couldn't find pppd.h. pppd development headers are required.))
AC_DEFINE(WITH_PPP, 1, [Define if you have PPP support])
+else
+ AC_DEFINE(WITH_PPP, 0, [Define if you have PPP support])
fi
AM_CONDITIONAL(WITH_PPP, test "${enable_ppp}" = "yes")
}
}
-#if WITH_WIMAX
static void
update_wimax_status (NMClient *client, gboolean notify)
{
_nm_object_queue_notify (NM_OBJECT (client), NM_CLIENT_WIMAX_ENABLED);
}
}
-#endif
static GObject *
new_active_connection (DBusGConnection *connection, const char *path)
_nm_object_queue_notify (NM_OBJECT (client), NM_CLIENT_MANAGER_RUNNING);
update_wireless_status (client, TRUE);
update_wwan_status (client, TRUE);
-#if WITH_WIMAX
update_wimax_status (client, TRUE);
-#endif
}
}
if (priv->manager_running) {
update_wireless_status (NM_CLIENT (object), FALSE);
update_wwan_status (NM_CLIENT (object), FALSE);
-#if WITH_WIMAX
update_wimax_status (NM_CLIENT (object), FALSE);
-#endif
nm_client_get_state (NM_CLIENT (object));
}
#include "nm-object-private.h"
#include "nm-dbus-glib-types.h"
+#define DEBUG 0
G_DEFINE_ABSTRACT_TYPE (NMObject, nm_object, G_TYPE_OBJECT)
g_hash_table_insert (registered_settings, g_strdup (name), g_strdup (g_type_name (type)));
}
-#if UNUSED
+#if 0
static void
setting_unregister (const char *name)
{
for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes \
-Wdeclaration-after-statement -Wstrict-prototypes \
-Wfloat-equal -Wno-unused-parameter -Wno-sign-compare \
- -fno-strict-aliasing -Wno-unused-but-set-variable; do
+ -fno-strict-aliasing -Wno-unused-but-set-variable \
+ -Wundef; do
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $option"
AC_MSG_CHECKING([whether gcc understands $option])
NMActRequest *best_req = NULL;
NMDnsManager *dns_mgr;
GSList *devices = NULL, *iter;
-#if NOT_YET
+#if 0
GSList *vpns;
#endif
NMIP6Config *ip6_config = NULL;
if (!force_update && (best == policy->default_device6))
goto out;
-#if NOT_YET
+#if 0
/* If a VPN connection is active, it is preferred */
vpns = nm_vpn_manager_get_active_connections (policy->vpn_manager);
for (iter = vpns; iter; iter = g_slist_next (iter)) {