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

📄 aclocal.m4

📁 CoralFTP是一款用Python语言编写的工作在GTK2环境下的FTP客户端软件
💻 M4
📖 第 1 页 / 共 5 页
字号:
    continue  fi  grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue  # Extract the definition of DEP_FILES from the Makefile without  # running `make'.  DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`  test -z "$DEPDIR" && continue  # When using ansi2knr, U may be empty or an underscore; expand it  U=`sed -n -e '/^U = / s///p' < "$mf"`  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"  # We invoke sed twice because it is the simplest approach to  # changing $(DEPDIR) to its actual value in the expansion.  for file in `sed -n -e '    /^DEP_FILES = .*\\\\$/ {      s/^DEP_FILES = //      :loop	s/\\\\$//	p	n	/\\\\$/ b loop      p    }    /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do    # Make sure the directory exists.    test -f "$dirpart/$file" && continue    fdir=`AS_DIRNAME(["$file"])`    AS_MKDIR_P([$dirpart/$fdir])    # echo "creating $dirpart/$file"    echo '# dummy' > "$dirpart/$file"  donedone])# _AM_OUTPUT_DEPENDENCY_COMMANDS# AM_OUTPUT_DEPENDENCY_COMMANDS# -----------------------------# This macro should only be invoked once -- use via AC_REQUIRE.## This code is only required when automatic dependency tracking# is enabled.  FIXME.  This creates each `.P' file that we will# need in order to bootstrap the dependency handling code.AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[AC_CONFIG_COMMANDS([depfiles],     [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])])# Check to see how 'make' treats includes.	-*- Autoconf -*-# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.# serial 2# AM_MAKE_INCLUDE()# -----------------# Check to see how make treats includes.AC_DEFUN([AM_MAKE_INCLUDE],[am_make=${MAKE-make}cat > confinc << 'END'am__doit:	@echo done.PHONY: am__doitEND# If we don't find an include directive, just comment out the code.AC_MSG_CHECKING([for style of include used by $am_make])am__include="#"am__quote=_am_result=none# First try GNU make style include.echo "include confinc" > confmf# We grep out `Entering directory' and `Leaving directory'# messages which can occur if `w' ends up in MAKEFLAGS.# In particular we don't look at `^make:' because GNU make might# be invoked under some other name (usually "gmake"), in which# case it prints its new name instead of `make'.if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then   am__include=include   am__quote=   _am_result=GNUfi# Now try BSD make style include.if test "$am__include" = "#"; then   echo '.include "confinc"' > confmf   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then      am__include=.include      am__quote="\""      _am_result=BSD   fifiAC_SUBST([am__include])AC_SUBST([am__quote])AC_MSG_RESULT([$_am_result])rm -f confinc confmf])# AM_CONDITIONAL                                              -*- Autoconf -*-# Copyright 1997, 2000, 2001 Free Software Foundation, Inc.# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.# serial 5AC_PREREQ(2.52)# AM_CONDITIONAL(NAME, SHELL-CONDITION)# -------------------------------------# Define a conditional.AC_DEFUN([AM_CONDITIONAL],[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnlAC_SUBST([$1_TRUE])AC_SUBST([$1_FALSE])if $2; then  $1_TRUE=  $1_FALSE='#'else  $1_TRUE='#'  $1_FALSE=fiAC_CONFIG_COMMANDS_PRE([if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then  AC_MSG_ERROR([conditional "$1" was never defined.Usually this means the macro was only invoked conditionally.])fi])])# Add --enable-maintainer-mode option to configure.# From Jim Meyering# Copyright 1996, 1998, 2000, 2001, 2002  Free Software Foundation, Inc.# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.# serial 2AC_DEFUN([AM_MAINTAINER_MODE],[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])  dnl maintainer-mode is disabled by default  AC_ARG_ENABLE(maintainer-mode,[  --enable-maintainer-mode enable make rules and dependencies not useful                          (and sometimes confusing) to the casual installer],      USE_MAINTAINER_MODE=$enableval,      USE_MAINTAINER_MODE=no)  AC_MSG_RESULT([$USE_MAINTAINER_MODE])  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])  MAINT=$MAINTAINER_MODE_TRUE  AC_SUBST(MAINT)dnl])AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])# Copyright 1999, 2000, 2001, 2002, 2003  Free Software Foundation, Inc.# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.# AM_PATH_PYTHON([MINIMUM-VERSION])# Adds support for distributing Python modules and packages.  To# install modules, copy them to $(pythondir), using the python_PYTHON# automake variable.  To install a package with the same name as the# automake package, install to $(pkgpythondir), or use the# pkgpython_PYTHON automake variable.# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as# locations to install python extension modules (shared libraries).# Another macro is required to find the appropriate flags to compile# extension modules.# If your package is configured with a different prefix to python,# users will have to add the install directory to the PYTHONPATH# environment variable, or create a .pth file (see the python# documentation for details).# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will# cause an error if the version of python installed on the system# doesn't meet the requirement.  MINIMUM-VERSION should consist of# numbers and dots only.AC_DEFUN([AM_PATH_PYTHON], [  dnl Find a Python interpreter.  Python versions prior to 1.5 are not  dnl supported because the default installation locations changed from  dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages  dnl in 1.5.  m4_define([_AM_PYTHON_INTERPRETER_LIST],	    [python python2 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5])  m4_if([$1],[],[    dnl No version check is needed.    # Find any Python interpreter.    AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST)    am_display_PYTHON=python  ], [    dnl A version check is needed.    if test -n "$PYTHON"; then      # If the user set $PYTHON, use it and don't search something else.      AC_MSG_CHECKING([whether $PYTHON version >= $1])      AM_PYTHON_CHECK_VERSION([$PYTHON], [$1],			      [AC_MSG_RESULT(yes)],			      [AC_MSG_ERROR(too old)])    else      # Otherwise, try each interpreter until we find one that satisfies      # VERSION.      AC_CACHE_CHECK([for a Python interpreter with version >= $1],	[am_cv_pathless_PYTHON],[	for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST : ; do          if test "$am_cv_pathless_PYTHON" = : ; then            AC_MSG_ERROR([no suitable Python interpreter found])	  fi          AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break])        done])      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.      AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])      am_display_PYTHON=$am_cv_pathless_PYTHON    fi  ])  dnl Query Python for its version number.  Getting [:3] seems to be  dnl the best way to do this; it's what "site.py" does in the standard  dnl library.  AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],    [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`])  AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])  dnl Use the values of $prefix and $exec_prefix for the corresponding  dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX.  These are made  dnl distinct variables so they can be overridden if need be.  However,  dnl general consensus is that you shouldn't need this ability.  AC_SUBST([PYTHON_PREFIX], ['${prefix}'])  AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])  dnl At times (like when building shared libraries) you may want  dnl to know which OS platform Python thinks this is.  AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform],    [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`])  AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform])  dnl Set up 4 directories:  dnl pythondir -- where to install python scripts.  This is the  dnl   site-packages directory, not the python standard library  dnl   directory like in previous automake betas.  This behavior  dnl   is more consistent with lispdir.m4 for example.  dnl Query distutils for this directory.  distutils does not exist in  dnl Python 1.5, so we fall back to the hardcoded directory if it  dnl doesn't work.  AC_CACHE_CHECK([for $am_display_PYTHON script directory],    [am_cv_python_pythondir],    [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`])  AC_SUBST([pythondir], [$am_cv_python_pythondir])  dnl pkgpythondir -- $PACKAGE directory under pythondir.  Was  dnl   PYTHON_SITE_PACKAGE in previous betas, but this naming is  dnl   more consistent with the rest of automake.  AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])  dnl pyexecdir -- directory for installing python extension modules  dnl   (shared libraries)  dnl Query distutils for this directory.  distutils does not exist in  dnl Python 1.5, so we fall back to the hardcoded directory if it  dnl doesn't work.  AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],    [am_cv_python_pyexecdir],    [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`])  AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])  dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)  AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE])])# AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE])# ---------------------------------------------------------------------------# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION.# Run ACTION-IF-FALSE otherwise.

⌨️ 快捷键说明

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