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

📄 aclocal.m4

📁 GTKores is a simple color picking tool, written in GTK+/C, and runs under Linux/X11. It makes easier
💻 M4
📖 第 1 页 / 共 4 页
字号:
	< $srcdir/po/POTFILES.in > po/POTFILES  ])# AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)# -------------------------------# Define VARIABLE to the location where catalog files will# be installed by po/Makefile.glib_DEFUN(GLIB_DEFINE_LOCALEDIR,[glib_REQUIRE([GLIB_GNU_GETTEXT])dnlglib_save_prefix="$prefix"glib_save_exec_prefix="$exec_prefix"test "x$prefix" = xNONE && prefix=$ac_default_prefixtest "x$exec_prefix" = xNONE && exec_prefix=$prefixif test "x$CATOBJEXT" = "x.mo" ; then  localedir=`eval echo "${libdir}/locale"`else  localedir=`eval echo "${datadir}/locale"`fiprefix="$glib_save_prefix"exec_prefix="$glib_save_exec_prefix"AC_DEFINE_UNQUOTED($1, "$localedir",  [Define the location where the catalogs will be installed])])dnldnl Now the definitions that aclocal will finddnlifdef(glib_configure_in,[],[AC_DEFUN(AM_GLIB_GNU_GETTEXT,[GLIB_GNU_GETTEXT($@)])AC_DEFUN(AM_GLIB_DEFINE_LOCALEDIR,[GLIB_DEFINE_LOCALEDIR($@)])])dnldnl 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])#                                                        -*- Autoconf -*-# Copyright (C) 2002, 2003  Free Software Foundation, Inc.# Generated from amversion.in; do not edit by hand.# 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# AM_AUTOMAKE_VERSION(VERSION)# ----------------------------# Automake X.Y traces this macro to ensure aclocal.m4 has been# generated from the m4 files accompanying Automake X.Y.AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"])# AM_SET_CURRENT_AUTOMAKE_VERSION# -------------------------------# Call AM_AUTOMAKE_VERSION so it can be traced.# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],	 [AM_AUTOMAKE_VERSION([1.8.5])])# AM_AUX_DIR_EXPAND# Copyright (C) 2001, 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.# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to# `$srcdir', `$srcdir/..', or `$srcdir/../..'.## Of course, Automake must honor this variable whenever it calls a# tool from the auxiliary directory.  The problem is that $srcdir (and# therefore $ac_aux_dir as well) can be either absolute or relative,# depending on how configure is run.  This is pretty annoying, since# it makes $ac_aux_dir quite unusable in subdirectories: in the top# source directory, any form will work fine, but in subdirectories a# relative path needs to be adjusted first.## $ac_aux_dir/missing#    fails when called from a subdirectory if $ac_aux_dir is relative# $top_srcdir/$ac_aux_dir/missing#    fails if $ac_aux_dir is absolute,#    fails when called from a subdirectory in a VPATH build with#          a relative $ac_aux_dir## The reason of the latter failure is that $top_srcdir and $ac_aux_dir# are both prefixed by $srcdir.  In an in-source build this is usually# harmless because $srcdir is `.', but things will broke when you# start a VPATH build or use an absolute $srcdir.## So we could use something similar to $top_srcdir/$ac_aux_dir/missing,# iff we strip the leading $srcdir from $ac_aux_dir.  That would be:#   am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`# and then we would define $MISSING as#   MISSING="\${SHELL} $am_aux_dir/missing"# This will work as long as MISSING is not called from configure, because# unfortunately $(top_srcdir) has no meaning in configure.# However there are other variables, like CC, which are often used in# configure, and could therefore not use this "fixed" $ac_aux_dir.## Another solution, used here, is to always expand $ac_aux_dir to an# absolute PATH.  The drawback is that using absolute paths prevent a# configured tree to be moved without reconfiguration.AC_DEFUN([AM_AUX_DIR_EXPAND],[dnl Rely on autoconf to set up CDPATH properly.AC_PREREQ([2.50])dnl# expand $ac_aux_dir to an absolute patham_aux_dir=`cd $ac_aux_dir && pwd`])# Copyright (C) 1996, 1997, 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.# serial 3# This was merged into AC_PROG_CC in Autoconf.AU_DEFUN([AM_PROG_CC_STDC],[AC_PROG_CCAC_DIAGNOSE([obsolete], [$0:	your code should no longer depend upon `am_cv_prog_cc_stdc', but upon	`ac_cv_prog_cc_stdc'.  Remove this warning and the assignment when	you adjust the code.  You can also remove the above call to	AC_PROG_CC if you already called it elsewhere.])am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc])AU_DEFUN([fp_PROG_CC_STDC])# AM_CONDITIONAL                                              -*- Autoconf -*-# Copyright (C) 1997, 2000, 2001, 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 6# AM_CONDITIONAL(NAME, SHELL-CONDITION)# -------------------------------------# Define a conditional.AC_DEFUN([AM_CONDITIONAL],[AC_PREREQ(2.52)dnl 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])])# serial 7						-*- Autoconf -*-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004# 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.# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be# written in clear, in which case automake, when reading aclocal.m4,# will think it sees a *use*, and therefore will trigger all it's# C support machinery.  Also note that it means that autoscan, seeing# CC etc. in the Makefile, will ask for an AC_PROG_CC use...# _AM_DEPENDENCIES(NAME)# ----------------------# See how the compiler implements dependency checking.# NAME is "CC", "CXX", "GCJ", or "OBJC".# We try a few techniques and use that to set a single cache variable.## We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular# dependency, and given that the user is not expected to run this macro,# just rely on AC_PROG_CC.AC_DEFUN([_AM_DEPENDENCIES],[AC_REQUIRE([AM_SET_DEPDIR])dnlAC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnlAC_REQUIRE([AM_MAKE_INCLUDE])dnlAC_REQUIRE([AM_DEP_TRACK])dnlifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],                   [depcc="$$1"   am_compiler_list=])AC_CACHE_CHECK([dependency style of $depcc],               [am_cv_$1_dependencies_compiler_type],[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then  # We make a subdir and do the tests there.  Otherwise we can end up  # making bogus files that we don't know about and never remove.  For  # instance it was reported that on HP-UX the gcc test will end up  # making a dummy file named `D' -- because `-MD' means `put the output  # in D'.  mkdir conftest.dir  # Copy depcomp to subdir because otherwise we won't find it if we're  # using a relative directory.  cp "$am_depcomp" conftest.dir  cd conftest.dir  # We will build objects and dependencies in a subdirectory because  # it helps to detect inapplicable dependency modes.  For instance  # both Tru64's cc and ICC support -MD to output dependencies as a  # side effect of compilation, but ICC will put the dependencies in  # the current directory while Tru64 will put them in the object  # directory.  mkdir sub  am_cv_$1_dependencies_compiler_type=none  if test "$am_compiler_list" = ""; then     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`  fi  for depmode in $am_compiler_list; do    # Setup a source with many dependencies, because some compilers    # like to wrap large dependency lists on column 80 (with \), and    # we should not choose a depcomp mode which is confused by this.    #    # We need to recreate these files for each test, as the compiler may    # overwrite some of them when testing with obscure command lines.    # This happens at least with the AIX C compiler.    : > sub/conftest.c    for i in 1 2 3 4 5 6; do      echo '#include "conftst'$i'.h"' >> sub/conftest.c      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with      # Solaris 8's {/usr,}/bin/sh.      touch sub/conftst$i.h    done    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf    case $depmode in    nosideeffect)      # after this tag, mechanisms are not by side-effect, so they'll      # only be used when explicitly requested      if test "x$enable_dependency_tracking" = xyes; then	continue      else

⌨️ 快捷键说明

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