📄 configure.in
字号:
# configure.in# Configure template for WebStone# Process this file with autoconf to produce a configure script.## This file and all files contained in this directory are # copyright 1995, Silicon Graphics, Inc.# # This software is provided without support and without any obligation on the # part of Silicon Graphics, Inc. to assist in its use, correction, modification# or enhancement. There is no guarantee that this software will be included in # future software releases, and it probably will not be included.## THIS SOFTWARE IS PROVIDED "AS IS" WITH NO WARRANTIES OF ANY KIND INCLUDING # THE WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR # PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. ## In no event will Silicon Graphics, Inc. be liable for any lost revenue or # profits or other special, indirect and consequential damages, even if # Silicon Graphics, Inc. has been advised of the possibility of such damages. AC_INIT(webclient.c)AC_CONFIG_HEADER(config.h)PRODUCT=webstoneVERSION=2.0b6AC_DEFINE_UNQUOTED(PRODUCT, "$PRODUCT")AC_DEFINE_UNQUOTED(VERSION, "$VERSION")AC_SUBST(PRODUCT)AC_SUBST(VERSION)AC_PREFIX_DEFAULT(bin)# set system typeAC_CANONICAL_SYSTEM## checks for programs#AC_PROG_CCAC_PROG_MAKE_SETAC_PROG_AWK# We use a path for perl so the #! line in bin/wscollect.pl will work.AC_PATH_PROG(PERL, perl, no)AC_SUBST(PERL)AC_SUBST(PERL_SCRIPTS)if test "$PERL" != no; then PERL_SCRIPTS="bin/wscollect.pl"else AC_MSG_WARN(Some functions may work correctly, since perl was not found)fi## checks for libraries## Replace `main' with a function in -lm:AC_CHECK_LIB(m, floor)AC_CHECK_LIB(compat, rexec)AC_CHECK_LIB(ucb, wait3)AC_CHECK_LIB(socket, connect, AC_SUBST(LIBS), , -lnsl)## checks for header files#AC_HEADER_STDCAC_HEADER_SYS_WAITAC_CHECK_HEADERS(fcntl.h limits.h sgtty.h sys/time.h unistd.h)## checks for typedefs, structures, and compiler characteristics#AC_C_CONSTAC_TYPE_SIZE_TAC_TYPE_SIGNALAC_HEADER_TIMEAC_STRUCT_TIMEZONEAC_TRY_COMPILE([#include <sys/time.h>], [struct timeval thetime; struct timezone thezone; gettimeofday(&thetime, &thezone); ], AC_DEFINE(USE_TIMEZONE), )## checks for library functions#AC_FUNC_MEMCMPAC_TYPE_SIGNALAC_FUNC_VPRINTFAC_FUNC_WAIT3AC_CHECK_FUNCS(gethostname gettimeofday select socket strerror)## checks for system services### all done#AC_OUTPUT(Makefile)## end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -