Add extra unique identifier to service object path
[connman] / configure.ac
index 80c4611..daa40c3 100644 (file)
@@ -66,6 +66,10 @@ AC_ARG_ENABLE(bluetooth, AC_HELP_STRING([--enable-bluetooth],
                [enable Bluetooth support]), [enable_bluetooth=${enableval}])
 AM_CONDITIONAL(BLUETOOTH, test "${enable_bluetooth}" = "yes")
 
+AC_ARG_ENABLE(modemmgr, AC_HELP_STRING([--enable-modemmgr],
+                [enable Modem Manager support]), [enable_modemmgr=${enableval}])
+AM_CONDITIONAL(MODEMMGR, test "${enable_modemmgr}" = "yes")
+
 AC_ARG_WITH(udhcpc, AC_HELP_STRING([--with-udhcpc=PROGRAM],
        [specify location of udhcpc binary]), [path_udhcpc=${withval}])
 
@@ -145,6 +149,12 @@ if (test "${enable_ppp}" = "yes" || test "${enable_novatel}" = "yes" ||
 fi
 AM_CONDITIONAL(PPPD, test "${enable_ppp}" = "yes")
 
+AC_CHECK_HEADERS(sys/inotify.h, dummy=yes,
+                       AC_MSG_ERROR(inotify header files are required))
+
+AC_CHECK_LIB(c, inotify_init, dummy=yes,
+                       AC_MSG_ERROR(inotify library support is required))
+
 AC_CHECK_LIB(dl, dlopen, dummy=yes,
                        AC_MSG_ERROR(dynamic linking loader is required))