📄 aclocal.m4
字号:
# aclocal.m4 generated automatically by aclocal 1.6.2 -*- Autoconf -*-# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002# 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.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY, to the extent permitted by law; without# even the implied warranty of MERCHANTABILITY or FITNESS FOR A# PARTICULAR PURPOSE.dnl aclocal.m4 file for fistgen-x.ydnl Contains definitions for specialized GNU-autoconf macros.dnl Author: Erez Zadok <ezk@cs.columbia.edu>dnldnl DO NOT EDIT DIRECTLY! Generated automatically by maintainers fromdnl the bootstrap script!dnldnl ######################################################################dnl UNCOMMENT THE NEXT FEW LINES FOR DEBUGGING CONFIGUREdnl define([AC_CACHE_LOAD], )dnldnl define([AC_CACHE_SAVE], )dnldnl ======================================================================dnl ######################################################################dnl AC_HOST_MACROS: define HOST_CPU, HOST_VENDOR, and HOST_OSAC_DEFUN(AMU_HOST_MACROS,[# these are defined already by the macro 'CANONICAL_HOST' AC_MSG_CHECKING([host cpu]) AC_DEFINE_UNQUOTED(HOST_CPU, "$host_cpu") AC_MSG_RESULT($host_cpu) AC_MSG_CHECKING([vendor]) AC_DEFINE_UNQUOTED(HOST_VENDOR, "$host_vendor") AC_MSG_RESULT($host_vendor) AC_MSG_CHECKING([host full OS name and version]) # normalize some host OS names case ${host_os} in # linux is linux is linux, regardless of RMS. linux-gnu* | lignux* ) host_os=linux ;; esac AC_DEFINE_UNQUOTED(HOST_OS, "$host_os") AC_MSG_RESULT($host_os)# break host_os into host_os_name and host_os_version AC_MSG_CHECKING([host OS name]) host_os_name=`echo $host_os | sed 's/\..*//g'` # normalize some OS names case ${host_os_name} in # linux is linux is linux, regardless of RMS. linux-gnu* | lignux* ) host_os_name=linux ;; esac AC_DEFINE_UNQUOTED(HOST_OS_NAME, "$host_os_name") AC_MSG_RESULT($host_os_name)# parse out the OS version of the host AC_MSG_CHECKING([host OS version]) host_os_version=`echo $host_os | sed 's/^[[^0-9]]*//g'` if test -z "$host_os_version" then host_os_version=`(uname -r) 2>/dev/null` || host_os_version=unknown fi case ${host_os_version} in # fixes for some OS versions (solaris used to be here) * ) # do nothing for now ;; esac AC_DEFINE_UNQUOTED(HOST_OS_VERSION, "$host_os_version") AC_MSG_RESULT($host_os_version)# figure out host architecture (different than CPU) AC_MSG_CHECKING([host OS architecture]) host_arch=`(uname -m) 2>/dev/null` || host_arch=unknown # normalize some names case ${host_arch} in sun4* ) host_arch=sun4 ;; sun3x ) host_arch=sun3 ;; sun ) host_arch=`(arch) 2>/dev/null` || host_arch=unknown ;; i?86 ) host_arch=i386 ;; # all x86 should show up as i386 esac AC_DEFINE_UNQUOTED(HOST_ARCH, "$host_arch") AC_MSG_RESULT($host_arch)# figure out host name AC_MSG_CHECKING([host name]) host_name=`(hostname || uname -n) 2>/dev/null` || host_name=unknown AC_DEFINE_UNQUOTED(HOST_NAME, "$host_name") AC_MSG_RESULT($host_name)# figure out user name AC_MSG_CHECKING([user name]) if test -n "$USER" then user_name="$USER" else if test -n "$LOGNAME" then user_name="$LOGNAME" else user_name=`(whoami) 2>/dev/null` || user_name=unknown fi fi AC_DEFINE_UNQUOTED(USER_NAME, "$user_name") AC_MSG_RESULT($user_name)# figure out configuration date AC_MSG_CHECKING([configuration date]) config_date=`(date) 2>/dev/null` || config_date=unknown_date AC_DEFINE_UNQUOTED(CONFIG_DATE, "$config_date") AC_MSG_RESULT($config_date)])dnl ======================================================================dnl ######################################################################dnl Bugreport nameAC_DEFUN(AMU_PACKAGE_BUGREPORT,[AC_MSG_CHECKING(bug-reporting address)AC_DEFINE_UNQUOTED(PACKAGE_BUGREPORT, "$1")AC_MSG_RESULT(\"$1\")])dnl ======================================================================dnl ######################################################################dnl Package nameAC_DEFUN(AMU_PACKAGE_NAME,[AC_MSG_CHECKING(package name)AC_DEFINE_UNQUOTED(PACKAGE_NAME, "$1")AC_MSG_RESULT(\"$1\")])dnl ======================================================================dnl ######################################################################dnl Version of packageAC_DEFUN(AMU_PACKAGE_VERSION,[AC_MSG_CHECKING(version of package)AC_DEFINE_UNQUOTED(PACKAGE_VERSION, "$1")AC_MSG_RESULT(\"$1\")])dnl ======================================================================dnl ######################################################################dnl end of aclocal.m4 for fistgen-x.y# 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# When config.status generates a header, we must update the stamp-h file.# This file resides in the same directory as the config header# that is generated. We must strip everything past the first ":",# and everything past the last "/".# _AM_DIRNAME(PATH)# -----------------# Like AS_DIRNAME, only do it during macro expansionAC_DEFUN([_AM_DIRNAME], [m4_if(regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1, m4_if(regexp([$1], [^//\([^/]\|$\)]), -1, m4_if(regexp([$1], [^/.*]), -1, [.], patsubst([$1], [^\(/\).*], [\1])), patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])), patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl])# _AM_DIRNAME# The stamp files are numbered to have different names.# We could number them on a directory basis, but that's additional# complications, let's have a unique counter.m4_define([_AM_STAMP_Count], [0])# _AM_STAMP(HEADER)# -----------------# The name of the stamp file for HEADER.AC_DEFUN([_AM_STAMP],[m4_define([_AM_STAMP_Count], m4_incr(_AM_STAMP_Count))dnlAS_ESCAPE(_AM_DIRNAME(patsubst([$1], [:.*])))/stamp-h[]_AM_STAMP_Count])# _AM_CONFIG_HEADER(HEADER[:SOURCES], COMMANDS, INIT-COMMANDS)# ------------------------------------------------------------# We used to try to get a real timestamp in stamp-h. But the fear is that# that will cause unnecessary cvs conflicts.AC_DEFUN([_AM_CONFIG_HEADER],[# Add the stamp file to the list of files AC keeps track of,# along with our hook.AC_CONFIG_HEADERS([$1], [# update the timestampecho 'timestamp for $1' >"_AM_STAMP([$1])"$2], [$3])])# _AM_CONFIG_HEADER# AM_CONFIG_HEADER(HEADER[:SOURCES]..., COMMANDS, INIT-COMMANDS)# --------------------------------------------------------------AC_DEFUN([AM_CONFIG_HEADER],[AC_FOREACH([_AM_File], [$1], [_AM_CONFIG_HEADER(_AM_File, [$2], [$3])])])# AM_CONFIG_HEADER# Do all the work for Automake. -*- Autoconf -*-# This macro actually does too much some checks are only needed if# your package does certain things. But this isn't really a big deal.# Copyright 1996, 1997, 1998, 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 8# 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...AC_PREREQ([2.52])# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow# the ones we care about.m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])# AM_INIT_AUTOMAKE([OPTIONS])# -----------------------------------------------# The call with PACKAGE and VERSION arguments is the old style# call (pre autoconf-2.50), which is being phased out. PACKAGE# and VERSION should now be passed to AC_INIT and removed from# the call to AM_INIT_AUTOMAKE.# We support both call styles for the transition. After# the next Automake release, Autoconf can make the AC_INIT# arguments mandatory, and then we can depend on a new Autoconf# release and drop the old call support.AC_DEFUN([AM_INIT_AUTOMAKE],[AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl# test to see if srcdir already configuredif test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first])fi# Define the identity of the package.dnl Distinguish between old-style and new-style calls.m4_ifval([$2],[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])],[_AM_SET_OPTIONS([$1])dnl AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl_AM_IF_OPTION([no-define],,[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl# Some tools Automake needs.AC_REQUIRE([AM_SANITY_CHECK])dnlAC_REQUIRE([AC_ARG_PROGRAM])dnlAM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})AM_MISSING_PROG(AUTOCONF, autoconf)AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})AM_MISSING_PROG(AUTOHEADER, autoheader)AM_MISSING_PROG(MAKEINFO, makeinfo)AM_MISSING_PROG(AMTAR, tar)AM_PROG_INSTALL_SHAM_PROG_INSTALL_STRIP# We need awk for the "check" target. The system "awk" is bad on# some platforms.AC_REQUIRE([AC_PROG_AWK])dnlAC_REQUIRE([AC_PROG_MAKE_SET])dnl_AM_IF_OPTION([no-dependencies],,[AC_PROVIDE_IFELSE([AC_PROG_][CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_][CC], defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnlAC_PROVIDE_IFELSE([AC_PROG_][CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_][CXX], defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl])])# Copyright 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)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -