2 AC_INIT([ico-uxf-device-input-controller],
4 [https://BUG-REPORT-ADDRESS])
6 AC_CONFIG_HEADERS([config.h])
8 AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
10 AM_SILENT_RULES([yes])
19 LT_INIT([disable-static])
23 AC_CHECK_HEADERS([execinfo.h])
25 AC_CHECK_FUNCS([mkostemp strchrnul])
27 AC_ARG_ENABLE(setuid-install, [ --enable-setuid-install],,
28 enable_setuid_install=yes)
29 AM_CONDITIONAL(ENABLE_SETUID_INSTALL, test x$enable_setuid_install = xyes)
33 PKG_CHECK_MODULES([GLIB], [glib-2.0])
34 PKG_CHECK_MODULES([EGL], [egl])
36 CFLAGS="$CFLAGS $EGL_CFLAGS"
42 AC_SUBST(SHARED_CFLAGS)
44 COMPOSITOR_LIBS="$COMPOSITOR_LIBS"
45 COMPOSITOR_CFLAGS="$COMPOSITOR_CFLAGS"
47 AM_CONDITIONAL(ENABLE_DESKTOP_SHELL, true)
49 if test "x$GCC" = "xyes"; then
50 my_common_gcc_flags="-Wall -Wextra -Wno-unused-parameter \
51 -Wno-missing-field-initializers -g -fvisibility=hidden"
52 GCC_CFLAGS="$my_common_gcc_flags \
53 -Wstrict-prototypes -Wmissing-prototypes"
54 GCC_CXXFLAGS="$my_common_gcc_flags"
57 AC_SUBST(GCC_CXXFLAGS)
59 WAYLAND_SCANNER_RULES(['$(top_srcdir)/protocol'])
61 AC_CONFIG_FILES([Makefile