代码拉取完成,页面将自动刷新
AC_INIT([redir], [3.3], [https://github.com/troglobit/redir/issues])
AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
AC_CONFIG_SRCDIR([redir.c])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_FILES([Makefile])
AC_PROG_CC
AC_PROG_INSTALL
AC_HEADER_STDC
AC_ARG_ENABLE(compat,
AS_HELP_STRING([--enable-compat], [Enable limited v2.x command line syntax]))
AC_ARG_ENABLE(shaping,
AS_HELP_STRING([--disable-shaping], [Disable traffic shaping support]))
AC_ARG_ENABLE(ftp,
AS_HELP_STRING([--disable-ftp], [Disable FTP redirection support]))
AC_ARG_WITH(libwrap,
AS_HELP_STRING([--with-libwrap=DIR], [use libwrap (rooted in DIR), default: yes]),
[with_libwrap=$withval], [with_libwrap=yes])
AS_IF([test "x$with_libwrap" != "xno"],[
AS_IF([test -d "$with_libwrap"],[
CPPFLAGS="$CPPFLAGS -I${with_libwrap}/include"
LDFLAGS="$LDFLAGS -L${with_libwrap}/"
])
AC_CHECK_LIB(wrap, request_init,, with_libwrap=no)
AC_CHECK_HEADER([tcpd.h],, with_libwrap=no)
])
AS_IF([test "x$enable_compat" = "xyes"], [
AC_DEFINE(COMPAT_OPTIONS, 1, [Enable v2.x command line syntax])])
AS_IF([test "x$enable_shaping" != "xno"], enable_shaping="yes", [
AC_DEFINE(NO_SHAPER, 1, [Disable traffic shaping])])
AS_IF([test "x$enable_ftp" != "xno"], enable_ftp="yes", [
AC_DEFINE(NO_FTP, 1, [Disable FTP support])])
AC_OUTPUT
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。