4 [https://github.com/dmedvinsky/gsimplecal/issues],
6 [https://github.com/dmedvinsky/gsimplecal])
8 AM_INIT_AUTOMAKE([-Wall -Werror foreign])
10 AC_CONFIG_SRCDIR([src/gsimplecal.cpp])
11 AC_CONFIG_HEADERS([src/config.h])
13 # Checks for programs.
19 # Checks for libraries.
20 PKG_CHECK_MODULES([GTK2], [gtk+-2.0])
24 # Checks for header files.
25 AC_CHECK_HEADERS([iostream \
39 # Checks for typedefs, structures, and compiler characteristics.
41 # Checks for library functions.
42 AC_CHECK_FUNCS([atexit \
58 AC_DEFINE([PROC_SELF_PATH], ["/proc/self/exe"], [Path to symlink in proc that leads to current executable.])
61 AC_DEFINE([PROC_SELF_PATH], ["/proc/curproc/file"], [Path to symlink in proc that leads to current executable.])
64 AC_MSG_ERROR([Your platform $host_os is not currently supported.
65 Please, report this to the issue tracker.])
71 AM_LDFLAGS="-Wl,--as-needed"
75 AC_CONFIG_FILES([Makefile