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

📄 general.m4

📁 LINUX下的源码工具,可自己分析,或者直接装在系统上作为应用
💻 M4
📖 第 1 页 / 共 5 页
字号:
m4_define([_AC_INIT_COPYRIGHT],[AC_COPYRIGHT([Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002Free Software Foundation, Inc.This configure script is free software; the Free Software Foundationgives unlimited permission to copy, distribute and modify it.],              [VERSION_FSF])dnl])# File Descriptors# ----------------# Set up the file descriptors used by `configure'.# File descriptor usage:# 0 standard input# 1 file creation# 2 errors and warnings# AS_MESSAGE_LOG_FD compiler messages saved in config.log# AS_MESSAGE_FD checking for... messages and resultsm4_define([AS_MESSAGE_FD], 6)# That's how they used to be named.AU_ALIAS([AC_FD_CC],  [AS_MESSAGE_LOG_FD])AU_ALIAS([AC_FD_MSG], [AS_MESSAGE_FD])# _AC_INIT_DEFAULTS# -----------------# Values which defaults can be set from `configure.ac'.# `/bin/machine' is used in `glibcbug'.  The others are used in config.*m4_define([_AC_INIT_DEFAULTS],[m4_divert_push([DEFAULTS])dnl# Name of the host.# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,# so uname gets run too.ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`exec AS_MESSAGE_FD>&1## Initializations.#ac_default_prefix=/usr/localac_config_libobj_dir=.cross_compiling=nosubdirs=MFLAGS=MAKEFLAGS=AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])dnlAC_SUBST([PATH_SEPARATOR])dnl# Maximum number of lines to put in a shell here document.# This variable seems obsolete.  It should probably be removed, and# only ac_max_sed_lines should be used.: ${ac_max_here_lines=38}# Identity of this package.AC_SUBST([PACKAGE_NAME],         [m4_ifdef([AC_PACKAGE_NAME],      ['AC_PACKAGE_NAME'])])dnlAC_SUBST([PACKAGE_TARNAME],         [m4_ifdef([AC_PACKAGE_TARNAME],   ['AC_PACKAGE_TARNAME'])])dnlAC_SUBST([PACKAGE_VERSION],         [m4_ifdef([AC_PACKAGE_VERSION],   ['AC_PACKAGE_VERSION'])])dnlAC_SUBST([PACKAGE_STRING],         [m4_ifdef([AC_PACKAGE_STRING],    ['AC_PACKAGE_STRING'])])dnlAC_SUBST([PACKAGE_BUGREPORT],         [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])dnlm4_divert_pop([DEFAULTS])dnlm4_wrap([m4_divert_text([DEFAULTS],[ac_subst_vars='m4_ifdef([_AC_SUBST_VARS],  [m4_defn([_AC_SUBST_VARS])])'ac_subst_files='m4_ifdef([_AC_SUBST_FILES], [m4_defn([_AC_SUBST_FILES])])'])])dnl])# _AC_INIT_DEFAULTS# AC_PREFIX_DEFAULT(PREFIX)# -------------------------AC_DEFUN([AC_PREFIX_DEFAULT],[m4_divert_text([DEFAULTS], [ac_default_prefix=$1])])# AC_PREFIX_PROGRAM(PROGRAM)# --------------------------# Guess the value for the `prefix' variable by looking for# the argument program along PATH and taking its parent.# Example: if the argument is `gcc' and we find /usr/local/gnu/bin/gcc,# set `prefix' to /usr/local/gnu.# This comes too late to find a site file based on the prefix,# and it might use a cached value for the path.# No big loss, I think, since most configures don't use this macro anyway.AC_DEFUN([AC_PREFIX_PROGRAM],[if test "x$prefix" = xNONE; thendnl We reimplement AC_MSG_CHECKING (mostly) to avoid the ... in the middle.  _AS_ECHO_N([checking for prefix by ])  AC_PATH_PROG(ac_prefix_program, [$1])  if test -n $ac_prefix_program; then    prefix=`AS_DIRNAME(["$ac_prefix_program"])`    prefix=`AS_DIRNAME(["$prefix"])`  fifi])# AC_PREFIX_PROGRAM# AC_CONFIG_SRCDIR([UNIQUE-FILE-IN-SOURCE-DIR])# ---------------------------------------------# UNIQUE-FILE-IN-SOURCE-DIR is a filename unique to this package,# relative to the directory that configure is in, which we can look# for to find out if srcdir is correct.AC_DEFUN([AC_CONFIG_SRCDIR],[m4_divert_text([DEFAULTS], [ac_unique_file="$1"])])# _AC_INIT_SRCDIR# ---------------# Compute `srcdir' based on `$ac_unique_file'.m4_define([_AC_INIT_SRCDIR],[m4_divert_push([PARSE_ARGS])dnl# Find the source files, if location was not specified.if test -z "$srcdir"; then  ac_srcdir_defaulted=yes  # Try the directory containing this script, then its parent.  ac_confdir=`AS_DIRNAME(["$[0]"])`  srcdir=$ac_confdir  if test ! -r $srcdir/$ac_unique_file; then    srcdir=..  fielse  ac_srcdir_defaulted=nofiif test ! -r $srcdir/$ac_unique_file; then  if test "$ac_srcdir_defaulted" = yes; then    AC_MSG_ERROR([cannot find sources ($ac_unique_file) in $ac_confdir or ..])  else    AC_MSG_ERROR([cannot find sources ($ac_unique_file) in $srcdir])  fifi(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||  AC_MSG_ERROR([sources are in $srcdir, but `cd $srcdir' does not work])dnl Double slashes in pathnames in object file debugging infodnl mess up M-x gdb in Emacs.srcdir=`echo "$srcdir" | sed 's%\([[^\\/]]\)[[\\/]]*$%\1%'`m4_divert_pop([PARSE_ARGS])dnl])# _AC_INIT_SRCDIR# _AC_INIT_PARSE_ARGS# -------------------m4_define([_AC_INIT_PARSE_ARGS],[m4_divert_push([PARSE_ARGS])dnl# Initialize some variables set by options.ac_init_help=ac_init_version=false# The variables have the same names as the options, with# dashes changed to underlines.cache_file=/dev/nullAC_SUBST(exec_prefix, NONE)dnlno_create=no_recursion=AC_SUBST(prefix, NONE)dnlprogram_prefix=NONEprogram_suffix=NONEAC_SUBST(program_transform_name, [s,x,x,])dnlsilent=site=srcdir=verbose=x_includes=NONEx_libraries=NONE# Installation directory options.# These are left unexpanded so users can "make install exec_prefix=/foo"# and all the variables that are supposed to be based on exec_prefix# by default will actually change.# Use braces instead of parens because sh, perl, etc. also accept them.AC_SUBST([bindir],         ['${exec_prefix}/bin'])dnlAC_SUBST([sbindir],        ['${exec_prefix}/sbin'])dnlAC_SUBST([libexecdir],     ['${exec_prefix}/libexec'])dnlAC_SUBST([datadir],        ['${prefix}/share'])dnlAC_SUBST([sysconfdir],     ['${prefix}/etc'])dnlAC_SUBST([sharedstatedir], ['${prefix}/com'])dnlAC_SUBST([localstatedir],  ['${prefix}/var'])dnlAC_SUBST([libdir],         ['${exec_prefix}/lib'])dnlAC_SUBST([includedir],     ['${prefix}/include'])dnlAC_SUBST([oldincludedir],  ['/usr/include'])dnlAC_SUBST([infodir],        ['${prefix}/info'])dnlAC_SUBST([mandir],         ['${prefix}/man'])dnlac_prev=for ac_optiondo  # If the previous option needs an argument, assign it.  if test -n "$ac_prev"; then    eval "$ac_prev=\$ac_option"    ac_prev=    continue  fi  ac_optarg=`expr "x$ac_option" : 'x[[^=]]*=\(.*\)'`  # Accept the important Cygnus configure options, so we can diagnose typos.  case $ac_option in  -bindir | --bindir | --bindi | --bind | --bin | --bi)    ac_prev=bindir ;;  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)    bindir=$ac_optarg ;;  -build | --build | --buil | --bui | --bu)    ac_prev=build_alias ;;  -build=* | --build=* | --buil=* | --bui=* | --bu=*)    build_alias=$ac_optarg ;;  -cache-file | --cache-file | --cache-fil | --cache-fi \  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)    ac_prev=cache_file ;;  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)    cache_file=$ac_optarg ;;  --config-cache | -C)    cache_file=config.cache ;;  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)    ac_prev=datadir ;;  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \  | --da=*)    datadir=$ac_optarg ;;  -disable-* | --disable-*)    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`    # Reject names that are not valid shell variable names.    expr "x$ac_feature" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&      AC_MSG_ERROR([invalid feature name: $ac_feature])    ac_feature=`echo $ac_feature | sed 's/-/_/g'`    eval "enable_$ac_feature=no" ;;  -enable-* | --enable-*)    ac_feature=`expr "x$ac_option" : 'x-*enable-\([[^=]]*\)'`    # Reject names that are not valid shell variable names.    expr "x$ac_feature" : "[.*[^-_$as_cr_alnum]]" >/dev/null &&      AC_MSG_ERROR([invalid feature name: $ac_feature])    ac_feature=`echo $ac_feature | sed 's/-/_/g'`    case $ac_option in      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;      *) ac_optarg=yes ;;    esac    eval "enable_$ac_feature='$ac_optarg'" ;;  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \  | --exec | --exe | --ex)    ac_prev=exec_prefix ;;  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \  | --exec=* | --exe=* | --ex=*)    exec_prefix=$ac_optarg ;;  -gas | --gas | --ga | --g)    # Obsolete; use --with-gas.    with_gas=yes ;;  -help | --help | --hel | --he | -h)    ac_init_help=long ;;  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)    ac_init_help=recursive ;;  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)    ac_init_help=short ;;  -host | --host | --hos | --ho)    ac_prev=host_alias ;;  -host=* | --host=* | --hos=* | --ho=*)    host_alias=$ac_optarg ;;  -includedir | --includedir | --includedi | --included | --include \  | --includ | --inclu | --incl | --inc)    ac_prev=includedir ;;  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \  | --includ=* | --inclu=* | --incl=* | --inc=*)    includedir=$ac_optarg ;;  -infodir | --infodir | --infodi | --infod | --info | --inf)    ac_prev=infodir ;;  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)    infodir=$ac_optarg ;;  -libdir | --libdir | --libdi | --libd)    ac_prev=libdir ;;  -libdir=* | --libdir=* | --libdi=* | --libd=*)    libdir=$ac_optarg ;;  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \  | --libexe | --libex | --libe)    ac_prev=libexecdir ;;  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \  | --libexe=* | --libex=* | --libe=*)    libexecdir=$ac_optarg ;;  -localstatedir | --localstatedir | --localstatedi | --localstated \  | --localstate | --localstat | --localsta | --localst \  | --locals | --local | --loca | --loc | --lo)    ac_prev=localstatedir ;;  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \  | --localstate=* | --localstat=* | --localsta=* | --localst=* \  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)    localstatedir=$ac_optarg ;;  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)    ac_prev=mandir ;;  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)    mandir=$ac_optarg ;;  -nfp | --nfp | --nf)    # Obsolete; use --without-fp.    with_fp=no ;;  -no-create | --no-create | --no-creat | --no-crea | --no-cre \  | --no-cr | --no-c | -n)    no_create=yes ;;  -no-recursion | --no-recursion | --no-recursio | --no-recursi \  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)    no_recursion=yes ;;  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \  | --oldin | --oldi | --old | --ol | --o)    ac_prev=oldincludedir ;;  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)    oldincludedir=$ac_optarg ;;  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)    ac_prev=prefix ;;  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)    prefix=$ac_optarg ;;  -program-prefix | --program-prefix | --program-prefi | --program-pref \  | --program-pre | --program-pr | --program-p)    ac_prev=program_prefix ;;  -program-prefix=* | --program-prefix=* | --program-prefi=* \  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)    program_prefix=$ac_optarg ;;  -program-suffix | --program-suffix | --program-suffi | --program-suff \  | --program-suf | --program-su | --program-s)    ac_prev=program_suffix ;;  -program-suffix=* | --program-suffix=* | --program-suffi=* \  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)    program_suffix=$ac_optarg ;;  -program-transform-name | --program-transform-name \  | --program-transform-nam | --program-transform-na \  | --program-transform-n | --program-transform- \  | --program-transform | --program-transfor \  | --program-transfo | --program-transf \  | --program-trans | --program-tran \  | --progr-tra | --program-tr | --program-t)    ac_prev=program_transform_name ;;  -program-transform-name=* | --program-transform-name=* \  | --program-transform-nam=* | --program-transform-na=* \  | --program-transform-n=* | --program-transform-=* \  | --program-transform=* | --program-transfor=* \  | --program-transfo=* | --program-transf=* \  | --program-trans=* | --program-tran=* \  | --progr-tra=* | --program-tr=* | --program-t=*)    program_transform_name=$ac_optarg ;;  -q | -quiet | --quiet | --quie | --qui | --qu | --q \  | -silent | --silent | --silen | --sile | --sil)    silent=yes ;;  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)    ac_prev=sbindir ;;  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \  | --sbi=* | --sb=*)    sbindir=$ac_optarg ;;  -sharedstatedir | --sharedstatedir | --sharedstatedi \  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \  | --sharedst | --shareds | --shared | --share | --shar \  | --sha | --sh)    ac_prev=sharedstatedir ;;  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \  | --sha=* | --sh=*)    sharedstatedir=$ac_optarg ;;  -site | --site | --sit)    ac_prev=site ;;  -site=* | --site=* | --sit=*)    site=$ac_optarg ;;  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)    ac_prev=srcdir ;;  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)

⌨️ 快捷键说明

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