📄 configure.in
字号:
# Ad hoc Support Library : ASL ## configure.in -- Process this file with autoconf to produce configure## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.## This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the# GNU General Public License for more details.## You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.AC_INIT(libASL/api.c)AC_CONFIG_AUX_DIR(config)AM_CONFIG_HEADER(config.h:config-h.in)AM_INIT_AUTOMAKE(ASL, 0.11)AC_PROG_CCAM_PROG_CC_STDC## These must be called before AM_PROG_LIBTOOL, because it may want## to call AC_CHECK_PROG.AC_ENABLE_SHAREDAC_ENABLE_STATICAC_PROG_INSTALLAM_PROG_LIBTOOLAC_HEADER_STDCAC_HEADER_SYS_WAITAC_CHECK_HEADER(linux/if_tun.h,,AC_MSG_ERROR(It seems TUN/TAP support is not enabled in your kernel ; CONFIG_TUN should be 'm' or 'y'. Please reconfigure and recompile your kernel. The header file linux/if_tun.h should be present.))AC_CHECK_HEADER(linux/netfilter.h,,AC_MSG_ERROR(You dont seem to have netfilter installed. Please check the project page http://aslib.sourceforge.net for system requirements.)) AC_CHECK_HEADERS(stdlib.h unistd.h errno.h assert.h)AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h unistd.h)AC_C_CONSTAC_TYPE_PID_TAC_TYPE_OFF_TAC_TYPE_SIZE_TAC_HEADER_TIMEAC_FUNC_MEMCMPAC_CHECK_FUNCS(gettimeofday select socket strtoul)save_LIBS="$LIBS"LIBS="$save_LIBS"LTLIBOBJS=`echo X"$LIBOBJS" | \ [sed 's,^X,,;s,\.[^.]* ,.lo ,g;s,\.[^.]*$,.lo,']`AC_SUBST(LTLIBOBJS)AC_SUBST(ac_aux_dir)AC_OUTPUT([Makefile libASL/Makefile doc/Makefile])echo \"------------------------------------------------------------------------Configuration: Source code location: ${srcdir} Compiler: ${CC} Compiler flags: ${CFLAGS} Host System Type: ${host} Install path: ${prefix} See config.h for further configuration information.------------------------------------------------------------------------"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -