src_modules_wl_desktop_shell_module_la_SOURCES = \
src/modules/wl_desktop_shell/e_mod_main.c \
src/modules/wl_desktop_shell/e_mod_main.h \
- src/modules/wl_desktop_shell/e_mod_input_panel.c \
src/modules/wl_desktop_shell/e_scaler.c \
src/modules/wl_desktop_shell/e_scaler.h
+if USE_MODULE_WL_TEXT_INPUT
+src_modules_wl_desktop_shell_module_la_SOURCES += \
+ src/modules/wl_desktop_shell/e_mod_input_panel.c
+endif
+
PHONIES += wl_desktop_shell install-wl_desktop_shell
wl_desktop_shell: $(wl_desktop_shellpkg_LTLIBRARIES) $(wl_desktop_shell_DATA)
install-wl_desktop_shell: install-wl_desktop_shellDATA install-wl_desktop_shellpkgLTLIBRARIES
#ifndef _E_MOD_MAIN_H
#define _E_MOD_MAIN_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif /* HAVE_CONFIG_H */
+
+#ifdef HAVE_WL_TEXT_INPUT
Eina_Bool e_input_panel_init(void);
void e_input_panel_shutdown(void);
+#endif /* HAVE_WL_TEXT_INPUT */
#endif