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

📄 aclocal.m4

📁 mpeg 2 source code for video compression
💻 M4
📖 第 1 页 / 共 3 页
字号:
if test "x$enable_dependency_tracking" != xno; then  am_depcomp="$ac_aux_dir/depcomp"  AMDEPBACKSLASH='\'fiAM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])AC_SUBST([AMDEPBACKSLASH])])# Generate code to set up dependency tracking.   -*- Autoconf -*-# Copyright 1999, 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 2# _AM_OUTPUT_DEPENDENCY_COMMANDS# ------------------------------AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],[for mf in $CONFIG_FILES; do  # Strip MF so we end up with the name of the file.  mf=`echo "$mf" | sed -e 's/:.*$//'`  # Check whether this is an Automake generated Makefile or not.  # We used to match only the files named `Makefile.in', but  # some people rename them; so instead we look at the file content.  # Grep'ing the first line is not enough: some people post-process  # each Makefile.in and add a new line on top of each file to say so.  # So let's grep whole file.  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then    dirpart=`AS_DIRNAME("$mf")`  else    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])])# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-# Copyright 1996, 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.AC_PREREQ([2.52])# serial 6# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])# Figure out how to run the assembler.             -*- Autoconf -*-# serial 2# Copyright 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.# AM_PROG_AS# ----------AC_DEFUN([AM_PROG_AS],[# By default we simply use the C compiler to build assembly code.AC_REQUIRE([AC_PROG_CC]): ${CCAS='$(CC)'}# Set ASFLAGS if not already set.: ${CCASFLAGS='$(CFLAGS)'}AC_SUBST(CCAS)AC_SUBST(CCASFLAGS)])dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man pagednl also defines GSTUFF_PKG_ERRORS on errorAC_DEFUN(PKG_CHECK_MODULES, [  succeeded=no  if test -z "$PKG_CONFIG"; then    AC_PATH_PROG(PKG_CONFIG, pkg-config, no)  fi  if test "$PKG_CONFIG" = "no" ; then     echo "*** The pkg-config script could not be found. Make sure it is"     echo "*** in your path, or set the PKG_CONFIG environment variable"     echo "*** to the full path to pkg-config."     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."  else     PKG_CONFIG_MIN_VERSION=0.9.0     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then        AC_MSG_CHECKING(for $2)        if $PKG_CONFIG --exists "$2" ; then            AC_MSG_RESULT(yes)            succeeded=yes            AC_MSG_CHECKING($1_CFLAGS)            $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`            AC_MSG_RESULT($$1_CFLAGS)            AC_MSG_CHECKING($1_LIBS)            $1_LIBS=`$PKG_CONFIG --libs "$2"`            AC_MSG_RESULT($$1_LIBS)        else            $1_CFLAGS=""            $1_LIBS=""            ## If we have a custom action on failure, don't print errors, but             ## do set a variable so people can do so.            $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`            ifelse([$4], ,echo $$1_PKG_ERRORS,)        fi        AC_SUBST($1_CFLAGS)        AC_SUBST($1_LIBS)     else        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."        echo "*** See http://www.freedesktop.org/software/pkgconfig"     fi  fi  if test $succeeded = yes; then     ifelse([$3], , :, [$3])  else     ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])  fi])

⌨️ 快捷键说明

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