AC_INIT(libuev, 2.1.0, https://github.com/troglobit/libuev/issues) AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz]) AM_SILENT_RULES([yes]) AC_CONFIG_SRCDIR(src/uev.c) AM_CONFIG_HEADER(config.h) AC_CONFIG_FILES([Makefile src/libuev.pc src/Makefile examples/Makefile tests/Makefile]) AC_CONFIG_MACRO_DIR([m4]) AC_PROG_CC AM_PROG_AR LT_INIT # Optional features AC_ARG_ENABLE([examples], [AC_HELP_STRING([--enable-examples], [Build libuEv examples/ directory])], [], [enable_examples=no]) AM_CONDITIONAL([ENABLE_EXAMPLES], [test "$enable_examples" = yes]) AC_OUTPUT