📄 configure.in
字号:
dnl Process this file with autoconf to produce a configure script.dnl This is required at the start; the name is the name of a filednl it should be seeing, to verify it is in the same directory.AC_INIT(dftables.c)dnl Arrange to build config.h from config.in. Note that pcre.h isdnl built differently, as it is just a "substitution" file.dnl Manual says this macro should come right after AC_INIT.AC_CONFIG_HEADER(config.h:config.in)dnl Provide the current PCRE version information. Do not use numbersdnl with leading zeros for the minor version, as they end up in a Cdnl macro, and may be treated as octal constants. Stick to singlednl digits for minor numbers less than 10. There are unlikely to bednl that many releases anyway.PCRE_MAJOR=3PCRE_MINOR=9PCRE_DATE=02-Jan-2002PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}dnl Provide versioning information for libtool shared libraries thatdnl are built by default on Unix systems.PCRE_LIB_VERSION=0:1:0PCRE_POSIXLIB_VERSION=0:0:0dnl Checks for programs.AC_PROG_CCAC_PROG_RANLIBdnl Checks for header files.AC_HEADER_STDCAC_CHECK_HEADERS(limits.h)dnl Checks for typedefs, structures, and compiler characteristics.AC_C_CONSTAC_TYPE_SIZE_Tdnl Checks for library functions.AC_CHECK_FUNCS(bcopy memmove strerror)dnl Handle --enable-shared-librariesLIBTOOL=./libtoolLIBSUFFIX=laAC_ARG_ENABLE(shared,[ --disable-shared build PCRE as a static library],if test "$enableval" = "no"; then LIBTOOL= LIBSUFFIX=afi)dnl Handle --enable-utf8AC_ARG_ENABLE(utf8,[ --enable-utf8 enable UTF8 support (incomplete)],if test "$enableval" = "yes"; then UTF8=-DSUPPORT_UTF8fi)dnl Handle --enable-newline-is-crAC_ARG_ENABLE(newline-is-cr,[ --enable-newline-is-cr use CR as the newline character],if test "$enableval" = "yes"; then NEWLINE=-DNEWLINE=13fi)dnl Handle --enable-newline-is-lfAC_ARG_ENABLE(newline-is-lf,[ --enable-newline-is-lf use LF as the newline character],if test "$enableval" = "yes"; then NEWLINE=-DNEWLINE=10fi)dnl "Export" these variablesAC_SUBST(HAVE_MEMMOVE)AC_SUBST(HAVE_STRERROR)AC_SUBST(LIBTOOL)AC_SUBST(LIBSUFFIX)AC_SUBST(NEWLINE)AC_SUBST(UTF8)AC_SUBST(PCRE_MAJOR)AC_SUBST(PCRE_MINOR)AC_SUBST(PCRE_DATE)AC_SUBST(PCRE_VERSION)AC_SUBST(PCRE_LIB_VERSION)AC_SUBST(PCRE_POSIXLIB_VERSION)dnl This must be last; it determines what files are written as well as config.hAC_OUTPUT(Makefile pcre.h:pcre.in pcre-config,[chmod a+x pcre-config])
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -