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])
38 AC_SUBST(SHARED_CFLAGS)
40 COMPOSITOR_LIBS="$COMPOSITOR_LIBS"
41 COMPOSITOR_CFLAGS="$COMPOSITOR_CFLAGS"
43 AM_CONDITIONAL(ENABLE_DESKTOP_SHELL, true)
45 if test "x$GCC" = "xyes"; then
46 my_common_gcc_flags="-Wall -Wextra -Wno-unused-parameter \
47 -Wno-missing-field-initializers -g -fvisibility=hidden"
48 GCC_CFLAGS="$my_common_gcc_flags \
49 -Wstrict-prototypes -Wmissing-prototypes"
50 GCC_CXXFLAGS="$my_common_gcc_flags"
53 AC_SUBST(GCC_CXXFLAGS)
55 WAYLAND_SCANNER_RULES(['$(top_srcdir)/protocol'])
57 AC_CONFIG_FILES([Makefile