📄 configure.in
字号:
dnl Copyright (C) Lars Brinkhoff.dnl Process this file with autoconf to produce a configure script.AC_INIT(tunnel.c)AM_INIT_AUTOMAKE(httptunnel, 3.0.5)AM_CONFIG_HEADER(config.h)AM_CONDITIONAL(SRCDIR, test "x$srcdir" != x.)AC_ARG_ENABLE(debug, [ --enable-debug enable debugging], AC_DEFINE(DEBUG_MODE, 1))if test "x$CFLAGS" = x; then if test "x$enable_debug" != x; then CFLAGS="-g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith" else CFLAGS="-O2 -Wall -fomit-frame-pointer" fifidnl Checks for programs.AC_PROG_AWKAC_PROG_CCAC_ARG_PROGRAMAC_PROG_INSTALLAC_PROG_LN_SAC_PROG_RANLIBdnl Checks for libraries.AC_CHECK_FUNC(gethostent, , AC_CHECK_LIB(nsl, gethostent))AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt))dnl Checks for header files.AC_HEADER_STDCAC_CHECK_HEADERS(fcntl.h syslog.h unistd.h sys/poll.h)dnl Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTAC_C_INLINEAC_TYPE_SIZE_T##AC_CHECK_TYPE(socklen_t, unsigned) # doesn't search <sys/socket.h>HTTPTUNNEL_TYPE_SOCKLEN_THTTPTUNNEL_DEFINE_INADDR_NONEAC_CHECK_SIZEOF(char, 1)AC_CHECK_SIZEOF(short, 2)AC_CHECK_SIZEOF(int, 4)AC_CHECK_SIZEOF(long, 4)AC_CHECK_SIZEOF(long long, 8)dnl Checks for library functions.AC_FUNC_MEMCMPAC_TYPE_SIGNALAC_FUNC_VPRINTFAC_CHECK_FUNCS(socket strdup strerror daemon vsyslog)AC_CHECK_FUNCS(poll select endprotoent vsnprintf syslog)AC_OUTPUT(Makefile port/Makefile port/sys/Makefile)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -