AM_CONDITIONAL(HSO, test "${enable_hso}" != "no")
AM_CONDITIONAL(HSO_BUILTIN, test "${enable_hso}" = "builtin")
+AC_ARG_ENABLE(mbm,
+ AC_HELP_STRING([--enable-mbm], [enable MBM support]),
+ [enable_mbm=${enableval}], [enable_mbm="no"])
+AM_CONDITIONAL(MBM, test "${enable_mbm}" != "no")
+AM_CONDITIONAL(MBM_BUILTIN, test "${enable_mbm}" = "builtin")
+
AC_ARG_WITH(pppd, AC_HELP_STRING([--with-pppd=PROGRAM],
[specify location of pppd binary]), [path_pppd=${withval}])
endif
endif
+if MBM
+if MBM_BUILTIN
+builtin_modules += mbm
+builtin_sources += mbm.c
+builtin_libadd += @GATCHAT_LIBS@
+builtin_cflags += @GATCHAT_CFLAGS@
+else
+plugin_LTLIBRARIES += mbm.la
+mbm_la_SOURCES = mbm.c
+mbm_la_LIBADD = @GATCHAT_LIBS@
+mbm_la_CFLAGS = $(AM_CFLAGS) @GATCHAT_CFLAGS@
+endif
+endif
+
if UDHCP
if UDHCP_BUILTIN
builtin_modules += udhcp
--- /dev/null
+/*
+ *
+ * Connection Manager
+ *
+ * Copyright (C) 2007-2009 Intel Corporation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#define CONNMAN_API_SUBJECT_TO_CHANGE
+#include <connman/plugin.h>
+
+static int mbm_init(void)
+{
+ return 0;
+}
+
+static void mbm_exit(void)
+{
+}
+
+CONNMAN_PLUGIN_DEFINE(mbm, "Ericsson MBM device plugin", VERSION,
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, mbm_init, mbm_exit)