|
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
|
# aclocal.m4 generated automatically by aclocal 1.5
|
|
|
|
|
# aclocal.m4 generated automatically by aclocal 1.5a
|
|
|
|
|
|
|
|
|
|
# Copyright 1996, 1997, 1998, 1999, 2000, 2001
|
|
|
|
|
# Free Software Foundation, Inc.
|
|
|
|
|
@@ -11,11 +11,29 @@
|
|
|
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
|
|
# Do all the work for Automake. 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.
|
|
|
|
|
# Do all the work for Automake. -*- Autoconf -*-
|
|
|
|
|
|
|
|
|
|
# serial 5
|
|
|
|
|
# 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 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
|
|
|
|
|
|
|
|
|
|
# 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,
|
|
|
|
|
@@ -24,55 +42,29 @@
|
|
|
|
|
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# We require 2.13 because we rely on SHELL being computed by configure.
|
|
|
|
|
AC_PREREQ([2.13])
|
|
|
|
|
|
|
|
|
|
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
|
|
|
|
|
# -----------------------------------------------------------
|
|
|
|
|
# If MACRO-NAME is provided do IF-PROVIDED, else IF-NOT-PROVIDED.
|
|
|
|
|
# The purpose of this macro is to provide the user with a means to
|
|
|
|
|
# check macros which are provided without letting her know how the
|
|
|
|
|
# information is coded.
|
|
|
|
|
# If this macro is not defined by Autoconf, define it here.
|
|
|
|
|
ifdef([AC_PROVIDE_IFELSE],
|
|
|
|
|
[],
|
|
|
|
|
[define([AC_PROVIDE_IFELSE],
|
|
|
|
|
[ifdef([AC_PROVIDE_$1],
|
|
|
|
|
[$2], [$3])])])
|
|
|
|
|
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])
|
|
|
|
|
# ----------------------------------------------
|
|
|
|
|
AC_DEFUN([AM_INIT_AUTOMAKE],
|
|
|
|
|
[AC_REQUIRE([AC_PROG_INSTALL])dnl
|
|
|
|
|
# test to see if srcdir already configured
|
|
|
|
|
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
|
|
|
|
|
if 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.
|
|
|
|
|
PACKAGE=$1
|
|
|
|
|
AC_SUBST(PACKAGE)dnl
|
|
|
|
|
VERSION=$2
|
|
|
|
|
AC_SUBST(VERSION)dnl
|
|
|
|
|
AC_SUBST([PACKAGE], [$1])dnl
|
|
|
|
|
AC_SUBST([VERSION], [$2])dnl
|
|
|
|
|
ifelse([$3],,
|
|
|
|
|
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
|
|
|
|
|
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
|
|
|
|
|
|
|
|
|
|
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
|
|
|
|
|
# the ones we care about.
|
|
|
|
|
ifdef([m4_pattern_allow],
|
|
|
|
|
[m4_pattern_allow([^AM_[A-Z]+FLAGS])])dnl
|
|
|
|
|
|
|
|
|
|
# Autoconf 2.50 always computes EXEEXT. However we need to be
|
|
|
|
|
# compatible with 2.13, for now. So we always define EXEEXT, but we
|
|
|
|
|
# don't compute it.
|
|
|
|
|
AC_SUBST(EXEEXT)
|
|
|
|
|
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
|
|
|
|
|
# requests that it be used. This is a bit dumb.
|
|
|
|
|
: ${OBJEXT=o}
|
|
|
|
|
AC_SUBST(OBJEXT)
|
|
|
|
|
|
|
|
|
|
# Some tools Automake needs.
|
|
|
|
|
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
|
|
|
|
@@ -105,6 +97,23 @@ AC_PROVIDE_IFELSE([AC_PROG_][CXX],
|
|
|
|
|
# Check to make sure that the build environment is sane.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
|
|
# serial 3
|
|
|
|
|
|
|
|
|
|
# AM_SANITY_CHECK
|
|
|
|
|
@@ -149,6 +158,23 @@ fi
|
|
|
|
|
AC_MSG_RESULT(yes)])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Copyright 1997, 1999, 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 2
|
|
|
|
|
|
|
|
|
|
# AM_MISSING_PROG(NAME, PROGRAM)
|
|
|
|
|
@@ -178,6 +204,23 @@ fi
|
|
|
|
|
|
|
|
|
|
# AM_AUX_DIR_EXPAND
|
|
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
|
|
# 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/../..'.
|
|
|
|
|
@@ -216,19 +259,59 @@ fi
|
|
|
|
|
# absolute PATH. The drawback is that using absolute paths prevent a
|
|
|
|
|
# configured tree to be moved without reconfiguration.
|
|
|
|
|
|
|
|
|
|
# Rely on autoconf to set up CDPATH properly.
|
|
|
|
|
AC_PREREQ([2.50])
|
|
|
|
|
|
|
|
|
|
AC_DEFUN([AM_AUX_DIR_EXPAND], [
|
|
|
|
|
# expand $ac_aux_dir to an absolute path
|
|
|
|
|
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
|
|
|
|
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
# AM_PROG_INSTALL_SH
|
|
|
|
|
# ------------------
|
|
|
|
|
# Define $install_sh.
|
|
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
|
|
AC_DEFUN([AM_PROG_INSTALL_SH],
|
|
|
|
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
|
|
|
|
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
|
|
|
|
AC_SUBST(install_sh)])
|
|
|
|
|
|
|
|
|
|
# AM_PROG_INSTALL_STRIP
|
|
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
@@ -243,6 +326,22 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
|
|
|
|
|
|
|
|
|
# serial 4 -*- Autoconf -*-
|
|
|
|
|
|
|
|
|
|
# Copyright 1999, 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
|
|
|
|
@@ -373,6 +472,24 @@ popdef([subst])
|
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
# Generate code to set up dependency tracking.
|
|
|
|
|
|
|
|
|
|
# Copyright 1999, 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.
|
|
|
|
|
|
|
|
|
|
# This macro should only be invoked once -- use via AC_REQUIRE.
|
|
|
|
|
# Usage:
|
|
|
|
|
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
|
|
|
|
@@ -426,6 +543,24 @@ ac_aux_dir="$ac_aux_dir"])])
|
|
|
|
|
# AM_MAKE_INCLUDE()
|
|
|
|
|
# -----------------
|
|
|
|
|
# Check to see how make treats includes.
|
|
|
|
|
|
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
|
|
AC_DEFUN([AM_MAKE_INCLUDE],
|
|
|
|
|
[am_make=${MAKE-make}
|
|
|
|
|
cat > confinc << 'END'
|
|
|
|
|
@@ -464,23 +599,35 @@ AC_MSG_RESULT($_am_result)
|
|
|
|
|
rm -f confinc confmf
|
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
# serial 3
|
|
|
|
|
# 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 5
|
|
|
|
|
|
|
|
|
|
AC_PREREQ(2.52)
|
|
|
|
|
|
|
|
|
|
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
|
|
|
|
# -------------------------------------
|
|
|
|
|
# Define a conditional.
|
|
|
|
|
#
|
|
|
|
|
# FIXME: Once using 2.50, use this:
|
|
|
|
|
# m4_match([$1], [^TRUE\|FALSE$], [AC_FATAL([$0: invalid condition: $1])])dnl
|
|
|
|
|
AC_DEFUN([AM_CONDITIONAL],
|
|
|
|
|
[ifelse([$1], [TRUE],
|
|
|
|
|
[errprint(__file__:__line__: [$0: invalid condition: $1
|
|
|
|
|
])dnl
|
|
|
|
|
m4exit(1)])dnl
|
|
|
|
|
ifelse([$1], [FALSE],
|
|
|
|
|
[errprint(__file__:__line__: [$0: invalid condition: $1
|
|
|
|
|
])dnl
|
|
|
|
|
m4exit(1)])dnl
|
|
|
|
|
[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
|
|
|
|
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
|
|
|
|
AC_SUBST([$1_TRUE])
|
|
|
|
|
AC_SUBST([$1_FALSE])
|
|
|
|
|
if $2; then
|
|
|
|
|
@@ -491,71 +638,62 @@ else
|
|
|
|
|
$1_FALSE=
|
|
|
|
|
fi])
|
|
|
|
|
|
|
|
|
|
# Like AC_CONFIG_HEADER, but automatically create stamp file.
|
|
|
|
|
# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
|
|
|
|
|
|
|
|
|
|
# serial 3
|
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
|
|
# serial 4
|
|
|
|
|
|
|
|
|
|
# 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 "/".
|
|
|
|
|
|
|
|
|
|
AC_PREREQ([2.12])
|
|
|
|
|
AC_PREREQ([2.52])
|
|
|
|
|
|
|
|
|
|
AC_DEFUN([AM_CONFIG_HEADER],
|
|
|
|
|
[ifdef([AC_FOREACH],dnl
|
|
|
|
|
[dnl init our file count if it isn't already
|
|
|
|
|
m4_ifndef([_AM_Config_Header_Index], m4_define([_AM_Config_Header_Index], [0]))
|
|
|
|
|
dnl prepare to store our destination file list for use in config.status
|
|
|
|
|
AC_FOREACH([_AM_File], [$1],
|
|
|
|
|
[m4_pushdef([_AM_Dest], m4_patsubst(_AM_File, [:.*]))
|
|
|
|
|
m4_define([_AM_Config_Header_Index], m4_incr(_AM_Config_Header_Index))
|
|
|
|
|
dnl and add it to the list of files AC keeps track of, along
|
|
|
|
|
dnl with our hook
|
|
|
|
|
AC_CONFIG_HEADERS(_AM_File,
|
|
|
|
|
dnl COMMANDS, [, INIT-CMDS]
|
|
|
|
|
[# update the timestamp
|
|
|
|
|
[dnl init our file count if it isn't already
|
|
|
|
|
m4_ifndef([_AM_Config_Header_Index], m4_define([_AM_Config_Header_Index], [0]))
|
|
|
|
|
dnl prepare to store our destination file list for use in config.status
|
|
|
|
|
AC_FOREACH([_AM_File], [$1],
|
|
|
|
|
[m4_pushdef([_AM_Dest], m4_patsubst(_AM_File, [:.*]))
|
|
|
|
|
m4_define([_AM_Config_Header_Index],
|
|
|
|
|
m4_incr(_AM_Config_Header_Index))
|
|
|
|
|
dnl and add it to the list of files AC keeps track of, along
|
|
|
|
|
dnl with our hook
|
|
|
|
|
AC_CONFIG_HEADERS(_AM_File,
|
|
|
|
|
[# update the timestamp
|
|
|
|
|
echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h]_AM_Config_Header_Index["
|
|
|
|
|
][$2]m4_ifval([$3], [, [$3]]))dnl AC_CONFIG_HEADERS
|
|
|
|
|
m4_popdef([_AM_Dest])])],dnl
|
|
|
|
|
[AC_CONFIG_HEADER([$1])
|
|
|
|
|
AC_OUTPUT_COMMANDS(
|
|
|
|
|
ifelse(patsubst([$1], [[^ ]], []),
|
|
|
|
|
[],
|
|
|
|
|
[test -z "$CONFIG_HEADERS" || echo timestamp >dnl
|
|
|
|
|
patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),dnl
|
|
|
|
|
[am_indx=1
|
|
|
|
|
for am_file in $1; do
|
|
|
|
|
case " \$CONFIG_HEADERS " in
|
|
|
|
|
*" \$am_file "*)
|
|
|
|
|
am_dir=\`echo \$am_file |sed 's%:.*%%;s%[^/]*\$%%'\`
|
|
|
|
|
if test -n "\$am_dir"; then
|
|
|
|
|
am_tmpdir=\`echo \$am_dir |sed 's%^\(/*\).*\$%\1%'\`
|
|
|
|
|
for am_subdir in \`echo \$am_dir |sed 's%/% %'\`; do
|
|
|
|
|
am_tmpdir=\$am_tmpdir\$am_subdir/
|
|
|
|
|
if test ! -d \$am_tmpdir; then
|
|
|
|
|
mkdir \$am_tmpdir
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
fi
|
|
|
|
|
echo timestamp > "\$am_dir"stamp-h\$am_indx
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
am_indx=\`expr \$am_indx + 1\`
|
|
|
|
|
done])
|
|
|
|
|
])]) # AM_CONFIG_HEADER
|
|
|
|
|
][$2]m4_ifval([$3], [, [$3]]))
|
|
|
|
|
m4_popdef([_AM_Dest])])
|
|
|
|
|
]) # AM_CONFIG_HEADER
|
|
|
|
|
|
|
|
|
|
# _AM_DIRNAME(PATH)
|
|
|
|
|
# -----------------
|
|
|
|
|
# Like AS_DIRNAME, only do it during macro expansion
|
|
|
|
|
AC_DEFUN([_AM_DIRNAME],
|
|
|
|
|
[m4_if(m4_regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
|
|
|
|
|
m4_if(m4_regexp([$1], [^//\([^/]\|$\)]), -1,
|
|
|
|
|
m4_if(m4_regexp([$1], [^/.*]), -1,
|
|
|
|
|
[m4_if(regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
|
|
|
|
|
m4_if(regexp([$1], [^//\([^/]\|$\)]), -1,
|
|
|
|
|
m4_if(regexp([$1], [^/.*]), -1,
|
|
|
|
|
[.],
|
|
|
|
|
m4_patsubst([$1], [^\(/\).*], [\1])),
|
|
|
|
|
m4_patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
|
|
|
|
|
m4_patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
|
|
|
|
|
patsubst([$1], [^\(/\).*], [\1])),
|
|
|
|
|
patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
|
|
|
|
|
patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
|
|
|
|
|
]) # _AM_DIRNAME
|
|
|
|
|
|
|
|
|
|
#serial 1
|
|
|
|
|
@@ -577,6 +715,23 @@ AC_DEFUN([AC_ISC_POSIX],
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Copyright 1996, 1997, 1999, 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 1
|
|
|
|
|
|
|
|
|
|
# @defmac AC_PROG_CC_STDC
|
|
|
|
|
@@ -695,6 +850,23 @@ AC_MSG_RESULT(no))
|
|
|
|
|
CFLAGS="$ac_save_CFLAGS"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Copyright 1996, 1997, 1998, 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 1
|
|
|
|
|
|
|
|
|
|
AC_DEFUN([AM_C_PROTOTYPES],
|
|
|
|
|
|