Blob
1 AC_INIT([telescope], [0.1], [telescope@omarpolo.com], [telescope], [gemini://telescope.omarpolo.com])2 AM_INIT_AUTOMAKE([-Wall foreign])3 AC_PROG_CC5 PKG_PROG_PKG_CONFIG7 AC_SEARCH_LIBS([initscr], [ncursesw ncurses], [], [8 AC_MSG_ERROR([requires either ncursesw or ncurses library])9 ])11 AC_CHECK_LIB(tls, tls_init, [], [12 AC_MSG_ERROR([requires libtls])13 ])15 AC_CHECK_LIB(event, event_init, [], [16 AC_MSG_ERROR([requires libevent])17 ])19 IMSG_LDFLAGS=-lutil20 AC_SUBST([IMSG_LDFLAGS])22 AC_CONFIG_HEADERS([config.h])23 AC_CONFIG_FILES([24 Makefile25 ])27 AC_OUTPUT