📄 acgeneral.m4
字号:
-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=*) srcdir="$ac_optarg" ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir="$ac_optarg" ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target="$ac_optarg" ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers) echo "configure generated by autoconf version AC_ACVERSION" exit 0 ;; -with-* | --with-*) ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` # Reject names that are not valid shell variable names.changequote(, )dnl if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; thenchangequote([, ])dnl AC_MSG_ERROR($ac_package: invalid package name) fi ac_package=`echo $ac_package| sed 's/-/_/g'` case "$ac_option" in *=*) ;; *) ac_optarg=yes ;; esac eval "with_${ac_package}='$ac_optarg'" ;; -without-* | --without-*) ac_package=`echo $ac_option|sed -e 's/-*without-//'` # Reject names that are not valid shell variable names.changequote(, )dnl if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; thenchangequote([, ])dnl AC_MSG_ERROR($ac_package: invalid package name) fi ac_package=`echo $ac_package| sed 's/-/_/g'` eval "with_${ac_package}=no" ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes="$ac_optarg" ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries="$ac_optarg" ;; -*) AC_MSG_ERROR([$ac_option: invalid option; use --help to show usage]) ;; *)changequote(, )dnl if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; thenchangequote([, ])dnl AC_MSG_WARN($ac_option: invalid host type) fi if test "x$nonopt" != xNONE; then AC_MSG_ERROR(can only configure for one host and one target at a time) fi nonopt="$ac_option" ;; esacdoneif test -n "$ac_prev"; then AC_MSG_ERROR(missing argument to --`echo $ac_prev | sed 's/_/-/g'`)fi])dnl Try to have only one #! line, so the script doesn't look funnydnl for users of AC_REVISION.dnl AC_INIT_BINSH()AC_DEFUN(AC_INIT_BINSH,[#! /bin/sh])dnl AC_INIT(UNIQUE-FILE-IN-SOURCE-DIR)AC_DEFUN(AC_INIT,[sinclude(acsite.m4)dnlsinclude(./aclocal.m4)dnlAC_REQUIRE([AC_INIT_BINSH])dnlAC_INIT_NOTICEAC_DIVERT_POP()dnl to NORMALAC_DIVERT_PUSH(AC_DIVERSION_INIT)dnlAC_INIT_PARSE_ARGSAC_INIT_PREPARE($1)dnlAC_DIVERT_POP()dnl to NORMAL])dnl AC_INIT_PREPARE(UNIQUE-FILE-IN-SOURCE-DIR)AC_DEFUN(AC_INIT_PREPARE,[trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15# File descriptor usage:# 0 standard input# 1 file creation# 2 errors and warnings# 3 some systems may open it to /dev/tty# 4 used on the Kubota Titandefine(AC_FD_MSG, 6)dnl[#] AC_FD_MSG checking for... messages and resultsdefine(AC_FD_CC, 5)dnl[#] AC_FD_CC compiler messages saved in config.logif test "$silent" = yes; then exec AC_FD_MSG>/dev/nullelse exec AC_FD_MSG>&1fiexec AC_FD_CC>./config.logecho "\This file contains any messages produced by compilers whilerunning configure, to aid debugging if configure makes a mistake." 1>&AC_FD_CC# Strip out --no-create and --no-recursion so they do not pile up.# Also quote any args containing shell metacharacters.ac_configure_args=for ac_argdo case "$ac_arg" in -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c) ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;changequote(<<, >>)dnldnl If you change this globbing pattern, test it on an old shell --dnl it's sensitive. Putting any kind of quote in it causes syntax errors. *" "*|*" "*|*[\[\]\~\<<#>>\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;changequote([, ])dnl *) ac_configure_args="$ac_configure_args $ac_arg" ;; esacdone# NLS nuisances.# Only set these to C if already set. These must not be set unconditionally# because not all systems understand e.g. LANG=C (notably SCO).# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!# Non-C LC_CTYPE values break the ctype check.if test "${LANG+set}" = set; then LANG=C; export LANG; fiif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fiif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fiif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi# confdefs.h avoids OS command line length limits that DEFS can exceed.rm -rf conftest* confdefs.h# AIX cpp loses on an empty file, so make sure it contains at least a newline.echo > confdefs.h# 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_unique_file=$1# 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_prog=[$]0changequote(, )dnl ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`changequote([, ])dnl test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 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(can not find sources in $ac_confdir or ..) else AC_MSG_ERROR(can not find sources in $srcdir) fifidnl Double slashes in pathnames in object file debugging infodnl mess up M-x gdb in Emacs.changequote(, )dnlsrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`changequote([, ])dnldnl Let the site file select an alternate cache file if it wants to.AC_SITE_LOADAC_CACHE_LOADAC_LANG_Cdnl By default always use an empty string as the executablednl extension. Only change it if the script calls AC_EXEEXT.ac_exeext=dnl By default assume that objects files use an extension of .o. Onlydnl change it if the script calls AC_OBJEXT.ac_objext=oAC_PROG_ECHO_Ndnl Substitute for predefined variables.AC_SUBST(SHELL)dnlAC_SUBST(CFLAGS)dnlAC_SUBST(CPPFLAGS)dnlAC_SUBST(CXXFLAGS)dnlAC_SUBST(FFLAGS)dnlAC_SUBST(DEFS)dnlAC_SUBST(LDFLAGS)dnlAC_SUBST(LIBS)dnlAC_SUBST(exec_prefix)dnlAC_SUBST(prefix)dnlAC_SUBST(program_transform_name)dnldnl Installation directory options.AC_SUBST(bindir)dnlAC_SUBST(sbindir)dnlAC_SUBST(libexecdir)dnlAC_SUBST(datadir)dnlAC_SUBST(sysconfdir)dnlAC_SUBST(sharedstatedir)dnlAC_SUBST(localstatedir)dnlAC_SUBST(libdir)dnlAC_SUBST(includedir)dnlAC_SUBST(oldincludedir)dnlAC_SUBST(infodir)dnlAC_SUBST(mandir)dnl])dnl ### Selecting optional featuresdnl AC_ARG_ENABLE(FEATURE, HELP-STRING, ACTION-IF-TRUE [, ACTION-IF-FALSE])AC_DEFUN(AC_ARG_ENABLE,[AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnlac_help="$ac_help[$2]"AC_DIVERT_POP()dnl[#] Check whether --enable-[$1] or --disable-[$1] was given.if test "[${enable_]patsubst([$1], -, _)+set}" = set; then enableval="[$enable_]patsubst([$1], -, _)" ifelse([$3], , :, [$3])ifelse([$4], , , [else $4])dnlfi])AC_DEFUN(AC_ENABLE,[AC_OBSOLETE([$0], [; instead use AC_ARG_ENABLE])dnlAC_ARG_ENABLE([$1], [ --enable-$1], [$2], [$3])dnl])dnl ### Working with optional softwarednl AC_ARG_WITH(PACKAGE, HELP-STRING, ACTION-IF-TRUE [, ACTION-IF-FALSE])AC_DEFUN(AC_ARG_WITH,[AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnlac_help="$ac_help[$2]"AC_DIVERT_POP()dnl[#] Check whether --with-[$1] or --without-[$1] was given.if test "[${with_]patsubst([$1], -, _)+set}" = set; then withval="[$with_]patsubst([$1], -, _)" ifelse([$3], , :, [$3])ifelse([$4], , , [else $4])dnlfi])AC_DEFUN(AC_WITH,[AC_OBSOLETE([$0], [; instead use AC_ARG_WITH])dnlAC_ARG_WITH([$1], [ --with-$1], [$2], [$3])dnl])dnl ### Transforming program names.dnl AC_ARG_PROGRAM()AC_DEFUN(AC_ARG_PROGRAM,[if test "$program_transform_name" = s,x,x,; then program_transform_name=else # Double any \ or $. echo might interpret backslashes. cat <<\EOF_SED > conftestseds,\\,\\\\,g; s,\$,$$,gEOF_SED program_transform_name="`echo $program_transform_name|sed -f conftestsed`" rm -f conftestsedfitest "$program_prefix" != NONE && program_transform_name="s,^,${program_prefix},; $program_transform_name"# Use a double $ so make ignores it.test "$program_suffix" != NONE && program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"# sed with no file args requires a program.test "$program_transform_name" = "" && program_transform_name="s,x,x,"])dnl ### Version numbersdnl AC_REVISION(REVISION-INFO)AC_DEFUN(AC_REVISION,[AC_REQUIRE([AC_INIT_BINSH])dnl[# From configure.in] translit([$1], $")])dnl Subroutines of AC_PREREQ.dnl Change the dots in NUMBER into commas.dnl AC_PREREQ_SPLIT(NUMBER)define(AC_PREREQ_SPLIT,[translit($1, ., [, ])])dnl Default the ternary version number to 0 (e.g., 1, 7 -> 1, 7, 0).dnl AC_PREREQ_CANON(MAJOR, MINOR [,TERNARY])define(AC_PREREQ_CANON,[$1, $2, ifelse([$3], , 0, [$3])])dnl Complain and exit if version number 1 is less than version number 2.dnl PRINTABLE2 is the printable version of version number 2.dnl AC_PREREQ_COMPARE(MAJOR1, MINOR1, TERNARY1, MAJOR2, MINOR2, TERNARY2,dnl PRINTABLE2)define(AC_PREREQ_COMPARE,[ifelse(builtin([eval],[$3 + $2 * 1000 + $1 * 1000000 < $6 + $5 * 1000 + $4 * 1000000]), 1,[errprint(dnlFATAL ERROR: Autoconf version $7 or higher is required for this script)m4exit(3)])])dnl Complain and exit if the Autoconf version is less than VERSION.dnl AC_PREREQ(VERSION)define(AC_PREREQ,[AC_PREREQ_COMPARE(AC_PREREQ_CANON(AC_PREREQ_SPLIT(AC_ACVERSION)),AC_PREREQ_CANON(AC_PREREQ_SPLIT([$1])), [$1])])dnl ### Getting the canonical system typednl Find install-sh, config.sub, config.guess, and Cygnus configurednl in directory DIR. These are auxiliary files used in configuration.dnl DIR can be either absolute or relative to $srcdir.dnl AC_CONFIG_AUX_DIR(DIR)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -