📄 configure.in
字号:
# Configure template for gzip.# Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.# Copyright (C) 1992-1993 Jean-loup Gailly# 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., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.AC_INIT(gzip.c)AM_INIT_AUTOMAKE(gzip, 1.3.3)AM_CONFIG_HEADER(config.h)AC_PREREQ(2.53)AC_PROG_CCAC_PROG_LN_SAC_PROG_SHELLAC_OBJEXTAC_AIXAC_MINIXAC_SYS_LARGEFILEdnldnl Try to assemble match.S with and without leading underline.dnl cc -E produces incorrect asm files on SVR4, we must use /lib/cpp.dnl Also, "gcc -E match.s" ignores -E, so we must use match.S.echo checking for underline in external namestest -z "$ASCPP" -a -f /lib/cpp && ASCPP=/lib/cpptest -z "$ASCPP" && ASCPP="$CC -E"cat > conftest.c <<EOFint foo() {return 0;}EOFeval "$CC -c conftest.c > /dev/null 2>&1"if nm conftest.$OBJEXT | grep _foo > /dev/null 2>&1 ; then :else ASCPP="${ASCPP} -DNO_UNDERLINE"firm -f _match.$OBJEXT conftest.c conftest.$OBJEXTif echo "$DEFS" | grep NO_ASM >/dev/null; then :else echo checking for assembler if eval "$ASCPP $srcdir/match.S > _match.s 2>/dev/null"; then if test ! -s _match.s || grep error < _match.s > /dev/null; then : elif eval "$CC -c _match.s >/dev/null 2>&1" && test -f _match.$OBJEXT; then AC_DEFINE(ASMV, , [Define if an assembler version of longest_match is available.]) AC_LIBOBJ(match) fi fi rm -f _match.s _match.$OBJEXTfidnlAC_EXEEXTAC_ISC_POSIXAC_C_CONSTAC_STDC_HEADERSAC_CHECK_HEADERS(fcntl.h limits.h memory.h \ stdlib.h string.h sys/utime.h time.h unistd.h utime.h)AC_CHECK_FUNCS(lstat utime)AC_REPLACE_FUNCS(rpmatch)AC_HEADER_DIRENTAC_TYPE_SIGNALAC_TYPE_SIZE_TAC_TYPE_OFF_TAC_SYS_INTERPRETERcase $interpval inyes) SEDCMD='1d';;*) SEDCMD='';;esacAC_PREFIX_PROGRAM(gzip)AC_SUBST(CFLAGS)dnlAC_SUBST(ASCPP)dnlAC_SUBST(SEDCMD)dnlAC_OUTPUT(Makefile)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -