📄 aclocal.m4
字号:
# gives unlimited permission to copy and/or distribute it,# with or without modifications, as long as this notice is preserved.# serial 3# _AM_MANGLE_OPTION(NAME)# -----------------------AC_DEFUN([_AM_MANGLE_OPTION],[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])# _AM_SET_OPTION(NAME)# ------------------------------# Set option NAME. Presently that only means defining a flag for this option.AC_DEFUN([_AM_SET_OPTION],[m4_define(_AM_MANGLE_OPTION([$1]), 1)])# _AM_SET_OPTIONS(OPTIONS)# ----------------------------------# OPTIONS is a space-separated list of Automake options.AC_DEFUN([_AM_SET_OPTIONS],[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])# -------------------------------------------# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.AC_DEFUN([_AM_IF_OPTION],[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.## This file is free software; the Free Software Foundation# gives unlimited permission to copy and/or distribute it,# with or without modifications, as long as this notice is preserved.# AM_RUN_LOG(COMMAND)# -------------------# Run COMMAND, save the exit status in ac_status, and log it.# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)AC_DEFUN([AM_RUN_LOG],[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }])# Check to make sure that the build environment is sane. -*- Autoconf -*-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005# Free Software Foundation, Inc.## This file is free software; the Free Software Foundation# gives unlimited permission to copy and/or distribute it,# with or without modifications, as long as this notice is preserved.# serial 4# AM_SANITY_CHECK# ---------------AC_DEFUN([AM_SANITY_CHECK],[AC_MSG_CHECKING([whether build environment is sane])# Just in casesleep 1echo timestamp > conftest.file# Do `set' in a subshell so we don't clobber the current shell's# arguments. Must try -L first in case configure is actually a# symlink; some systems play weird games with the mod time of symlinks# (eg FreeBSD returns the mod time of the symlink's containing# directory).if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a brokenalias in your environment]) fi test "$[2]" = conftest.file )then # Ok. :else AC_MSG_ERROR([newly created file is older than distributed files!Check your system clock])fiAC_MSG_RESULT(yes)])# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.## This file is free software; the Free Software Foundation# gives unlimited permission to copy and/or distribute it,# with or without modifications, as long as this notice is preserved.# AM_PROG_INSTALL_STRIP# ---------------------# One issue with vendor `install' (even GNU) is that you can't# specify the program used to strip binaries. This is especially# annoying in cross-compiling environments, where the build's strip# is unlikely to handle the host's binaries.# Fortunately install-sh will honor a STRIPPROG variable, so we# always use install-sh in `make install-strip', and initialize# STRIPPROG with the value of the STRIP variable (set by the user).AC_DEFUN([AM_PROG_INSTALL_STRIP],[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl# Installed binaries are usually stripped using `strip' when the user# run `make install-strip'. However `strip' might not be the right# tool to use in cross-compilation environments, therefore Automake# will honor the `STRIP' environment variable to overrule this program.dnl Don't test for $cross_compiling = yes, because it might be `maybe'.if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :)fiINSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"AC_SUBST([INSTALL_STRIP_PROGRAM])])# Copyright (C) 2006 Free Software Foundation, Inc.## This file is free software; the Free Software Foundation# gives unlimited permission to copy and/or distribute it,# with or without modifications, as long as this notice is preserved.# _AM_SUBST_NOTMAKE(VARIABLE)# ---------------------------# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.# This macro is traced by Automake.AC_DEFUN([_AM_SUBST_NOTMAKE])# Check how to create a tarball. -*- Autoconf -*-# Copyright (C) 2004, 2005 Free Software Foundation, Inc.## This file is free software; the Free Software Foundation# gives unlimited permission to copy and/or distribute it,# with or without modifications, as long as this notice is preserved.# serial 2# _AM_PROG_TAR(FORMAT)# --------------------# Check how to create a tarball in format FORMAT.# FORMAT should be one of `v7', `ustar', or `pax'.## Substitute a variable $(am__tar) that is a command# writing to stdout a FORMAT-tarball containing the directory# $tardir.# tardir=directory && $(am__tar) > result.tar## Substitute a variable $(am__untar) that extract such# a tarball read from stdin.# $(am__untar) < result.tarAC_DEFUN([_AM_PROG_TAR],[# Always define AMTAR for backward compatibility.AM_MISSING_PROG([AMTAR], [tar])m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])])AC_MSG_CHECKING([how to create a $1 tar archive])# Loop over all known methods to create a tar archive until one works._am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'_am_tools=${am_cv_prog_tar_$1-$_am_tools}# Do not fold the above two line into one, because Tru64 sh and# Solaris sh will not grok spaces in the rhs of `-'.for _am_tool in $_am_toolsdo case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar <conftest.tar]) grep GrepMe conftest.dir/file >/dev/null 2>&1 && break fidonerm -rf conftest.dirAC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])AC_MSG_RESULT([$am_cv_prog_tar_$1])])AC_SUBST([am__tar])AC_SUBST([am__untar])]) # _AM_PROG_TARm4_include([m4/alloca.m4])m4_include([m4/argmatch.m4])m4_include([m4/argp.m4])m4_include([m4/backupfile.m4])m4_include([m4/bison.m4])m4_include([m4/canonicalize-lgpl.m4])m4_include([m4/chdir-long.m4])m4_include([m4/chown.m4])m4_include([m4/clock_time.m4])m4_include([m4/close-stream.m4])m4_include([m4/closeout.m4])m4_include([m4/codeset.m4])m4_include([m4/d-ino.m4])m4_include([m4/dirfd.m4])m4_include([m4/dirname.m4])m4_include([m4/dos.m4])m4_include([m4/double-slash-root.m4])m4_include([m4/dup2.m4])m4_include([m4/eealloc.m4])m4_include([m4/environ.m4])m4_include([m4/eoverflow.m4])m4_include([m4/error.m4])m4_include([m4/exclude.m4])m4_include([m4/exitfail.m4])m4_include([m4/extensions.m4])m4_include([m4/fchdir.m4])m4_include([m4/fcntl-safer.m4])m4_include([m4/fcntl_h.m4])m4_include([m4/fileblocks.m4])m4_include([m4/float_h.m4])m4_include([m4/fnmatch.m4])m4_include([m4/fpending.m4])m4_include([m4/fseeko.m4])m4_include([m4/ftruncate.m4])m4_include([m4/getcwd-abort-bug.m4])m4_include([m4/getcwd-path-max.m4])m4_include([m4/getcwd.m4])m4_include([m4/getdate.m4])m4_include([m4/getdelim.m4])m4_include([m4/getline.m4])m4_include([m4/getopt.m4])m4_include([m4/getpagesize.m4])m4_include([m4/gettext.m4])m4_include([m4/gettime.m4])m4_include([m4/gettimeofday.m4])m4_include([m4/glibc21.m4])m4_include([m4/gnulib-common.m4])m4_include([m4/gnulib-comp.m4])m4_include([m4/hash.m4])m4_include([m4/human.m4])m4_include([m4/iconv.m4])m4_include([m4/include_next.m4])m4_include([m4/inline.m4])m4_include([m4/intlmacosx.m4])m4_include([m4/intmax_t.m4])m4_include([m4/inttostr.m4])m4_include([m4/inttypes-pri.m4])m4_include([m4/inttypes.m4])m4_include([m4/inttypes_h.m4])m4_include([m4/lchown.m4])m4_include([m4/lib-ld.m4])m4_include([m4/lib-link.m4])m4_include([m4/lib-prefix.m4])m4_include([m4/localcharset.m4])m4_include([m4/longlong.m4])m4_include([m4/lseek.m4])m4_include([m4/lstat.m4])m4_include([m4/malloc.m4])m4_include([m4/malloca.m4])m4_include([m4/mbchar.m4])m4_include([m4/mbiter.m4])m4_include([m4/mbrtowc.m4])m4_include([m4/mbscasecmp.m4])m4_include([m4/mbstate_t.m4])m4_include([m4/memchr.m4])m4_include([m4/mempcpy.m4])m4_include([m4/memrchr.m4])m4_include([m4/memset.m4])m4_include([m4/mkdtemp.m4])m4_include([m4/mktime.m4])m4_include([m4/modechange.m4])m4_include([m4/nls.m4])m4_include([m4/openat.m4])m4_include([m4/pathmax.m4])m4_include([m4/paxutils.m4])m4_include([m4/po.m4])m4_include([m4/progtest.m4])m4_include([m4/quote.m4])m4_include([m4/quotearg.m4])m4_include([m4/readlink.m4])m4_include([m4/realloc.m4])m4_include([m4/regex.m4])m4_include([m4/rmdir.m4])m4_include([m4/rmt.m4])m4_include([m4/rpmatch.m4])m4_include([m4/rtapelib.m4])m4_include([m4/safe-read.m4])m4_include([m4/safe-write.m4])m4_include([m4/save-cwd.m4])m4_include([m4/savedir.m4])m4_include([m4/setenv.m4])m4_include([m4/sleep.m4])m4_include([m4/snprintf.m4])m4_include([m4/ssize_t.m4])m4_include([m4/stat-time.m4])m4_include([m4/stdarg.m4])m4_include([m4/stdbool.m4])m4_include([m4/stdint.m4])m4_include([m4/stdint_h.m4])m4_include([m4/stdio_h.m4])m4_include([m4/stdlib_h.m4])m4_include([m4/stpcpy.m4])m4_include([m4/strcase.m4])m4_include([m4/strchrnul.m4])m4_include([m4/strdup.m4])m4_include([m4/strerror.m4])m4_include([m4/string_h.m4])m4_include([m4/strings_h.m4])m4_include([m4/strndup.m4])m4_include([m4/strnlen.m4])m4_include([m4/strtoimax.m4])m4_include([m4/strtol.m4])m4_include([m4/strtoll.m4])m4_include([m4/strtoul.m4])m4_include([m4/strtoull.m4])m4_include([m4/strtoumax.m4])m4_include([m4/sys_stat_h.m4])m4_include([m4/sys_time_h.m4])m4_include([m4/sysexits.m4])m4_include([m4/system.m4])m4_include([m4/tempname.m4])m4_include([m4/time_h.m4])m4_include([m4/time_r.m4])m4_include([m4/timespec.m4])m4_include([m4/tm_gmtoff.m4])m4_include([m4/unistd-safer.m4])m4_include([m4/unistd_h.m4])m4_include([m4/unlinkdir.m4])m4_include([m4/unlocked-io.m4])m4_include([m4/utimbuf.m4])m4_include([m4/utime.m4])m4_include([m4/utimens.m4])m4_include([m4/utimes-null.m4])m4_include([m4/utimes.m4])m4_include([m4/vasnprintf.m4])m4_include([m4/vsnprintf.m4])m4_include([m4/wchar.m4])m4_include([m4/wchar_t.m4])m4_include([m4/wctype.m4])m4_include([m4/wcwidth.m4])m4_include([m4/wint_t.m4])m4_include([m4/xalloc.m4])m4_include([m4/xgetcwd.m4])m4_include([m4/xsize.m4])m4_include([m4/xstrndup.m4])m4_include([m4/xstrtol.m4])
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -