Blame


1 5e11c00c 2021-03-02 op AC_INIT([telescope], [0.1], [telescope@omarpolo.com], [telescope], [gemini://telescope.omarpolo.com])
2 5e11c00c 2021-03-02 op AM_INIT_AUTOMAKE([-Wall foreign])
3 5e11c00c 2021-03-02 op AC_PROG_CC
4 5e11c00c 2021-03-02 op
5 5e11c00c 2021-03-02 op PKG_PROG_PKG_CONFIG
6 5e11c00c 2021-03-02 op
7 5e11c00c 2021-03-02 op dnl AX_WITH_CURSES
8 5e11c00c 2021-03-02 op dnl if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then
9 5e11c00c 2021-03-02 op dnl AC_MSG_ERROR([requires either NcursesW or Ncurses library])
10 5e11c00c 2021-03-02 op dnl fi
11 5e11c00c 2021-03-02 op
12 5e11c00c 2021-03-02 op AC_CHECK_LIB(ncursesw, initscr, [],
13 5e11c00c 2021-03-02 op AC_CHECK_LIB(ncurses, initscr, [],
14 5e11c00c 2021-03-02 op AC_MSG_ERROR([requires either ncursesw or ncurses library])))
15 5e11c00c 2021-03-02 op
16 5e11c00c 2021-03-02 op AC_CHECK_LIB(tls, tls_init, [],
17 5e11c00c 2021-03-02 op AC_MSG_ERROR([requires libtls]))
18 5e11c00c 2021-03-02 op
19 5e11c00c 2021-03-02 op AC_CHECK_LIB(event, event_init, [],
20 5e11c00c 2021-03-02 op AC_MSG_ERROR([requires libevent]))
21 5e11c00c 2021-03-02 op
22 5e11c00c 2021-03-02 op IMSG_LDFLAGS=-lutil
23 5e11c00c 2021-03-02 op AC_SUBST([IMSG_LDFLAGS])
24 5e11c00c 2021-03-02 op
25 5e11c00c 2021-03-02 op AC_CONFIG_HEADERS([config.h])
26 5e11c00c 2021-03-02 op AC_CONFIG_FILES([
27 5e11c00c 2021-03-02 op Makefile
28 5e11c00c 2021-03-02 op ])
29 5e11c00c 2021-03-02 op
30 5e11c00c 2021-03-02 op AC_OUTPUT