configure.ac 553 Bytes
Newer Older
1 2 3
AC_INIT([telnet-site], [0.4], [https://gitlab.com/mb])
AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_SRCDIR([configure.ac])
mbionchi's avatar
mbionchi committed
4
AC_CONFIG_HEADERS([config.h])
5
AC_PROG_CC
mbionchi's avatar
mbionchi committed
6
AC_PROG_CC_STDC
7
AC_CONFIG_FILES([Makefile src/Makefile])
mbionchi's avatar
mbionchi committed
8 9 10 11 12
AC_ARG_ENABLE([follow-links],
              AS_HELP_STRING([--disable-follow-links], [Disable following symbolic links when reading site sections]))
AS_IF([test "x$enable_follow_links" != "xno"], [
       AC_DEFINE([FOLLOW_LINKS], [], [Do not follow links when traversing directories])
])
13 14
PKG_CHECK_MODULES([ncurses], [ncurses])
AC_OUTPUT