⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configur.in

📁 采用 LZ77 运算规则 压缩及解压工具
💻 IN
字号:
dnl Process this file with autoconf to produce a configure script for gzipdnldnl Written by friedman@prep.ai.mit.edu 28-Dec-92dnl Last modified 26-Jan-93dnl "Usage: ACL_HAVE_SHELL_HACK(ACTION_IF_EXISTS [, ACTION_IF_NOT_EXISTS])"dnldefine(ACL_HAVE_SHELL_HACK, [dnlecho "checking for #! kernel hack"cat <<'__EOF__' > conftest.csh#!/bin/csh -fsetenv SHELL /bin/csh# Avoid tcsh bug 'Bad Hertz Value':setenv HZ 60# Make sure foo doesn't get exported into the environment# Astoundingly, some versions of csh don't have unsetenv.unsetenv foo >& /dev/nullunset fooset output="`./conftest.sh`"if ( "$[]output" == "foo=bar" ) then   exit 0endifexit 1__EOF__cat <<'__EOF__' > conftest.sh#!/bin/sh# If this is really run with sh, then 1st positional arg will be "foo=bar".# If this script was executed by csh, then a shell variable "foo" will have# the value "var".set foo=barecho "$[]*"__EOF__chmod 777 conftest.csh conftest.sh(csh -f ./conftest.csh) 2> /dev/nullif test $? = 0 ; then   :; $1else   :; $2firm -f conftest.csh conftest.sh])dnldnl End of local macrosdnlAC_INIT(gzip.c)AC_PROG_CCdnl AC_PROG_CPPdnldnl 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 "$CPP" -a -f /lib/cpp && CPP=/lib/cpptest -z "$CPP" && CPP="$CC -E"cat > conftest.c <<EOFint foo() {return 0;}EOF$CC -c conftest.c > /dev/null 2>&1if nm conftest.o | grep _foo > /dev/null 2>&1 ; then  :else  CPP="${CPP} -DNO_UNDERLINE"fiecho checking for 386 assemblerrm -f _match.o conftest.[co]$CPP $srcdir/match.S > _match.sif grep error < _match.s > /dev/null; then  OBJA=""elif $CC -c _match.s >/dev/null 2>&1 && test -f _match.o; then  DEFS="${DEFS} -DASMV"  OBJA=match.ofirm -f _match.s _match.odnlAC_PROG_INSTALLAC_AIXAC_MINIXAC_ISC_POSIXAC_DYNIX_SEQAC_STDC_HEADERSdnl if STDC_HEADERS can't be defined, look for special files:AC_HAVE_HEADERS(unistd.h stdlib.h fcntl.h string.h memory.h utime.h sys/utime.h)AC_DIR_HEADERAC_XENIX_DIRAC_ALLOCAAC_RETSIGTYPEACL_HAVE_SHELL_HACK([SEDCMD="1d"], [SEDCMD=""])AC_PREFIX(gzip)AC_SUBST(OBJA)dnlAC_SUBST(SEDCMD)dnlAC_OUTPUT(Makefile)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -