LT_INIT([disable-static])
PKG_PROG_PKG_CONFIG()
+
+AC_CHECK_FUNC([dlopen], [],
+ AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl"))
+AC_SUBST(DLOPEN_LIBS)
+
PKG_CHECK_MODULES([TIZEN], [eina ecore com-core notification dbus-1 bluetooth-api dlog libwlmessage])
AC_SUBST(TIZEN_CFLAGS)
AC_SUBST(TIZEN_LIBS)
-AC_CONFIG_FILES([Makefile notifications.service])
+AC_CONFIG_FILES([Makefile plugins/Makefile notifications.service notifications-display.service])
AC_PROG_RANLIB([ranlib])
AC_OUTPUT