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

📄 general.m4

📁 autoconf是一个产生可以自动配置源代码包
💻 M4
📖 第 1 页 / 共 5 页
字号:
AC_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])])'m4_ifdef([_AC_PRECIOUS_VARS],  [_AC_ARG_VAR_STORE[]dnl   _AC_ARG_VAR_VALIDATE[]dnl   ac_precious_vars='m4_defn([_AC_PRECIOUS_VARS])'])m4_ifdef([_AC_LIST_SUBDIRS],  [ac_subdirs_all='m4_defn([_AC_LIST_SUBDIRS])'])dnl])])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 file name 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_DIRCHECK# -----------------# Set ac_pwd, and sanity-check it and the source and installation directories.## (This macro is AC_REQUIREd by _AC_INIT_SRCDIR, so it has to be AC_DEFUNed.)#AC_DEFUN([_AC_INIT_DIRCHECK],[m4_divert_push([PARSE_ARGS])dnlac_pwd=`pwd` && test -n "$ac_pwd" &&ac_ls_di=`ls -di .` &&ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||  AC_MSG_ERROR([Working directory cannot be determined])test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||  AC_MSG_ERROR([pwd does not report name of working directory])m4_divert_pop([PARSE_ARGS])dnl])# _AC_INIT_DIRCHECK# _AC_INIT_SRCDIR# ---------------# Compute `srcdir' based on `$ac_unique_file'.## (We have to AC_DEFUN it, since we use AC_REQUIRE.)#AC_DEFUN([_AC_INIT_SRCDIR],[AC_REQUIRE([_AC_INIT_DIRCHECK])dnlm4_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 the parent directory.  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  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."  AC_MSG_ERROR([cannot find sources ($ac_unique_file) in $srcdir])fiac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"ac_abs_confdir=`(	cd "$srcdir" && test -r "./$ac_unique_file" || AC_MSG_ERROR([$ac_msg])	pwd)`# When building in place, set srcdir=.if test "$ac_abs_confdir" = "$ac_pwd"; then  srcdir=.fi# Remove unnecessary trailing slashes from srcdir.# Double slashes in file names in object file debugging info# mess up M-x gdb in Emacs.case $srcdir in*/) srcdir=`expr "X$srcdir" : 'X\(.*[[^/]]\)' \| "X$srcdir" : 'X\(.*\)'`;;esacm4_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.# (The list follows the same order as the GNU Coding Standards.)AC_SUBST([bindir],         ['${exec_prefix}/bin'])dnlAC_SUBST([sbindir],        ['${exec_prefix}/sbin'])dnlAC_SUBST([libexecdir],     ['${exec_prefix}/libexec'])dnlAC_SUBST([datarootdir],    ['${prefix}/share'])dnlAC_SUBST([datadir],        ['${datarootdir}'])dnlAC_SUBST([sysconfdir],     ['${prefix}/etc'])dnlAC_SUBST([sharedstatedir], ['${prefix}/com'])dnlAC_SUBST([localstatedir],  ['${prefix}/var'])dnlAC_SUBST([includedir],     ['${prefix}/include'])dnlAC_SUBST([oldincludedir],  ['/usr/include'])dnlAC_SUBST([docdir],         [m4_ifset([AC_PACKAGE_TARNAME],				     ['${datarootdir}/doc/${PACKAGE_TARNAME}'],				     ['${datarootdir}/doc/${PACKAGE}'])])dnlAC_SUBST([infodir],        ['${datarootdir}/info'])dnlAC_SUBST([htmldir],        ['${docdir}'])dnlAC_SUBST([dvidir],         ['${docdir}'])dnlAC_SUBST([pdfdir],         ['${docdir}'])dnlAC_SUBST([psdir],          ['${docdir}'])dnlAC_SUBST([libdir],         ['${exec_prefix}/lib'])dnlAC_SUBST([localedir],      ['${datarootdir}/locale'])dnlAC_SUBST([mandir],         ['${datarootdir}/man'])dnlac_prev=ac_dashdash=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  case $ac_option in  *=*)	ac_optarg=`expr "X$ac_option" : '[[^=]]*=\(.*\)'` ;;  *)	ac_optarg=yes ;;  esac  # Accept the important Cygnus configure options, so we can diagnose typos.  case $ac_dashdash$ac_option in  --)    ac_dashdash=yes ;;  -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)    ac_prev=datadir ;;  -datadir=* | --datadir=* | --datadi=* | --datad=*)    datadir=$ac_optarg ;;  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \  | --dataroo | --dataro | --datar)    ac_prev=datarootdir ;;  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)    datarootdir=$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 ;;  -docdir | --docdir | --docdi | --doc | --do)    ac_prev=docdir ;;  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)    docdir=$ac_optarg ;;  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)    ac_prev=dvidir ;;  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)    dvidir=$ac_optarg ;;  -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'`    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 ;;  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)    ac_prev=htmldir ;;  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \  | --ht=*)    htmldir=$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 ;;  -localedir | --localedir | --localedi | --localed | --locale)    ac_prev=localedir ;;  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)    localedir=$ac_optarg ;;  -localstatedir | --localstatedir | --localstatedi | --localstated \  | --localstate | --localstat | --localsta | --localst | --locals)    ac_prev=localstatedir ;;  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)    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 ;;  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)    ac_prev=pdfdir ;;  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)    pdfdir=$ac_optarg ;;  -psdir | --psdir | --psdi | --psd | --ps)    ac_prev=psdir ;;  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)    psdir=$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=* \

⌨️ 快捷键说明

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