Don't allow remove method calls on non-favorite services
[connman] / configure.ac
index 982bb95..94f4318 100644 (file)
@@ -1,7 +1,7 @@
 AC_PREREQ(2.60)
 AC_INIT()
 
-AM_INIT_AUTOMAKE(connman, 0.15)
+AM_INIT_AUTOMAKE(connman, 0.18)
 AM_CONFIG_HEADER(config.h)
 
 AM_MAINTAINER_MODE
@@ -75,6 +75,12 @@ AC_ARG_ENABLE(bluetooth,
 AM_CONDITIONAL(BLUETOOTH, test "${enable_bluetooth}" != "no")
 AM_CONDITIONAL(BLUETOOTH_BUILTIN, test "${enable_bluetooth}" = "builtin")
 
+AC_ARG_ENABLE(ofono,
+       AC_HELP_STRING([--enable-ofono], [enable oFono support]),
+                       [enable_ofono=${enableval}], [enable_ofono="no"])
+AM_CONDITIONAL(OFONO, test "${enable_ofono}" != "no")
+AM_CONDITIONAL(OFONO_BUILTIN, test "${enable_ofono}" = "builtin")
+
 AC_ARG_ENABLE(modemmgr,
        AC_HELP_STRING([--enable-modemmgr], [enable Modem Manager support]),
                        [enable_modemmgr=${enableval}], [enable_modemmgr="no"])
@@ -247,6 +253,9 @@ AC_SUBST(DBUS_DATADIR)
 AC_SUBST([GDBUS_CFLAGS], ['$(DBUS_CFLAGS) -I$(top_srcdir)/gdbus'])
 AC_SUBST([GDBUS_LIBS], ['$(top_builddir)/gdbus/libgdbus.la $(DBUS_LIBS)'])
 
+AC_SUBST([GATCHAT_CFLAGS], ['-I$(top_srcdir)/gatchat'])
+AC_SUBST([GATCHAT_LIBS], ['$(top_builddir)/gatchat/libgatchat.la'])
+
 AC_ARG_ENABLE(polkit, AC_HELP_STRING([--enable-polkit],
                [enable PolicyKit support]), [enable_polkit=${enableval}])
 if (test "${enable_polkit}" = "yes"); then
@@ -287,7 +296,8 @@ AM_CONDITIONAL(DATAFILES, test "${enable_datafiles}" != "no")
 
 SHAVE_INIT
 
-AC_OUTPUT(Makefile gdbus/Makefile include/Makefile include/version.h
+AC_OUTPUT(Makefile gdbus/Makefile gatchat/Makefile
+                               include/Makefile include/version.h
                                src/Makefile src/connman.service
                                scripts/connman scripts/Makefile
                                plugins/Makefile client/Makefile