# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
|
# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
|
|
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
# 2005 Free Software Foundation, Inc.
|
# 2005 Free Software Foundation, Inc.
|
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
|
|
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
|
|
# AM_CONDITIONAL -*- Autoconf -*-
|
# AM_CONDITIONAL -*- Autoconf -*-
|
|
|
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
|
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
|
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
#
|
#
|
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
|
|
# serial 7
|
# serial 7
|
|
|
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
# -------------------------------------
|
# -------------------------------------
|
# Define a conditional.
|
# Define a conditional.
|
AC_DEFUN([AM_CONDITIONAL],
|
AC_DEFUN([AM_CONDITIONAL],
|
[AC_PREREQ(2.52)dnl
|
[AC_PREREQ(2.52)dnl
|
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
AC_SUBST([$1_TRUE])
|
AC_SUBST([$1_TRUE])
|
AC_SUBST([$1_FALSE])
|
AC_SUBST([$1_FALSE])
|
if $2; then
|
if $2; then
|
$1_TRUE=
|
$1_TRUE=
|
$1_FALSE='#'
|
$1_FALSE='#'
|
else
|
else
|
$1_TRUE='#'
|
$1_TRUE='#'
|
$1_FALSE=
|
$1_FALSE=
|
fi
|
fi
|
AC_CONFIG_COMMANDS_PRE(
|
AC_CONFIG_COMMANDS_PRE(
|
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
|
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
|
AC_MSG_ERROR([[conditional "$1" was never defined.
|
AC_MSG_ERROR([[conditional "$1" was never defined.
|
Usually this means the macro was only invoked conditionally.]])
|
Usually this means the macro was only invoked conditionally.]])
|
fi])])
|
fi])])
|
|
|
|
|
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
#
|
#
|
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
|
|
# serial 8
|
# serial 8
|
|
|
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
# 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,
|
# written in clear, in which case automake, when reading aclocal.m4,
|
# will think it sees a *use*, and therefore will trigger all it's
|
# will think it sees a *use*, and therefore will trigger all it's
|
# C support machinery. Also note that it means that autoscan, seeing
|
# C support machinery. Also note that it means that autoscan, seeing
|
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
|
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
|
|
|
|
|
# _AM_DEPENDENCIES(NAME)
|
# _AM_DEPENDENCIES(NAME)
|
# ----------------------
|
# ----------------------
|
# See how the compiler implements dependency checking.
|
# See how the compiler implements dependency checking.
|
# NAME is "CC", "CXX", "GCJ", or "OBJC".
|
# NAME is "CC", "CXX", "GCJ", or "OBJC".
|
# We try a few techniques and use that to set a single cache variable.
|
# 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
|
# 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
|
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
|
# dependency, and given that the user is not expected to run this macro,
|
# dependency, and given that the user is not expected to run this macro,
|
# just rely on AC_PROG_CC.
|
# just rely on AC_PROG_CC.
|
AC_DEFUN([_AM_DEPENDENCIES],
|
AC_DEFUN([_AM_DEPENDENCIES],
|
[AC_REQUIRE([AM_SET_DEPDIR])dnl
|
[AC_REQUIRE([AM_SET_DEPDIR])dnl
|
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
|
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
|
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
|
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
|
AC_REQUIRE([AM_DEP_TRACK])dnl
|
AC_REQUIRE([AM_DEP_TRACK])dnl
|
|
|
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
|
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
|
[$1], CXX, [depcc="$CXX" am_compiler_list=],
|
[$1], CXX, [depcc="$CXX" am_compiler_list=],
|
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
|
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
|
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
[depcc="$$1" am_compiler_list=])
|
[depcc="$$1" am_compiler_list=])
|
|
|
AC_CACHE_CHECK([dependency style of $depcc],
|
AC_CACHE_CHECK([dependency style of $depcc],
|
[am_cv_$1_dependencies_compiler_type],
|
[am_cv_$1_dependencies_compiler_type],
|
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
# We make a subdir and do the tests there. Otherwise we can end up
|
# 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
|
# 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
|
# 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
|
# making a dummy file named `D' -- because `-MD' means `put the output
|
# in D'.
|
# in D'.
|
mkdir conftest.dir
|
mkdir conftest.dir
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
# using a relative directory.
|
# using a relative directory.
|
cp "$am_depcomp" conftest.dir
|
cp "$am_depcomp" conftest.dir
|
cd conftest.dir
|
cd conftest.dir
|
# We will build objects and dependencies in a subdirectory because
|
# We will build objects and dependencies in a subdirectory because
|
# it helps to detect inapplicable dependency modes. For instance
|
# it helps to detect inapplicable dependency modes. For instance
|
# both Tru64's cc and ICC support -MD to output dependencies as a
|
# both Tru64's cc and ICC support -MD to output dependencies as a
|
# side effect of compilation, but ICC will put the dependencies in
|
# side effect of compilation, but ICC will put the dependencies in
|
# the current directory while Tru64 will put them in the object
|
# the current directory while Tru64 will put them in the object
|
# directory.
|
# directory.
|
mkdir sub
|
mkdir sub
|
|
|
am_cv_$1_dependencies_compiler_type=none
|
am_cv_$1_dependencies_compiler_type=none
|
if test "$am_compiler_list" = ""; then
|
if test "$am_compiler_list" = ""; then
|
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
|
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
|
fi
|
fi
|
for depmode in $am_compiler_list; do
|
for depmode in $am_compiler_list; do
|
# Setup a source with many dependencies, because some compilers
|
# Setup a source with many dependencies, because some compilers
|
# like to wrap large dependency lists on column 80 (with \), and
|
# like to wrap large dependency lists on column 80 (with \), and
|
# we should not choose a depcomp mode which is confused by this.
|
# 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
|
# We need to recreate these files for each test, as the compiler may
|
# overwrite some of them when testing with obscure command lines.
|
# overwrite some of them when testing with obscure command lines.
|
# This happens at least with the AIX C compiler.
|
# This happens at least with the AIX C compiler.
|
: > sub/conftest.c
|
: > sub/conftest.c
|
for i in 1 2 3 4 5 6; do
|
for i in 1 2 3 4 5 6; do
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
# Solaris 8's {/usr,}/bin/sh.
|
# Solaris 8's {/usr,}/bin/sh.
|
touch sub/conftst$i.h
|
touch sub/conftst$i.h
|
done
|
done
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
|
|
case $depmode in
|
case $depmode in
|
nosideeffect)
|
nosideeffect)
|
# after this tag, mechanisms are not by side-effect, so they'll
|
# after this tag, mechanisms are not by side-effect, so they'll
|
# only be used when explicitly requested
|
# only be used when explicitly requested
|
if test "x$enable_dependency_tracking" = xyes; then
|
if test "x$enable_dependency_tracking" = xyes; then
|
continue
|
continue
|
else
|
else
|
break
|
break
|
fi
|
fi
|
;;
|
;;
|
none) break ;;
|
none) break ;;
|
esac
|
esac
|
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
# handle `-M -o', and we need to detect this.
|
# handle `-M -o', and we need to detect this.
|
if depmode=$depmode \
|
if depmode=$depmode \
|
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
>/dev/null 2>conftest.err &&
|
>/dev/null 2>conftest.err &&
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
# icc doesn't choke on unknown options, it will just issue warnings
|
# icc doesn't choke on unknown options, it will just issue warnings
|
# or remarks (even with -Werror). So we grep stderr for any message
|
# or remarks (even with -Werror). So we grep stderr for any message
|
# that says an option was ignored or not supported.
|
# that says an option was ignored or not supported.
|
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
# icc: Command line warning: ignoring option '-M'; no argument required
|
# icc: Command line warning: ignoring option '-M'; no argument required
|
# The diagnosis changed in icc 8.0:
|
# The diagnosis changed in icc 8.0:
|
# icc: Command line remark: option '-MP' not supported
|
# icc: Command line remark: option '-MP' not supported
|
if (grep 'ignoring option' conftest.err ||
|
if (grep 'ignoring option' conftest.err ||
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
am_cv_$1_dependencies_compiler_type=$depmode
|
am_cv_$1_dependencies_compiler_type=$depmode
|
break
|
break
|
fi
|
fi
|
fi
|
fi
|
done
|
done
|
|
|
cd ..
|
cd ..
|
rm -rf conftest.dir
|
rm -rf conftest.dir
|
else
|
else
|
am_cv_$1_dependencies_compiler_type=none
|
am_cv_$1_dependencies_compiler_type=none
|
fi
|
fi
|
])
|
])
|
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
|
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
|
AM_CONDITIONAL([am__fastdep$1], [
|
AM_CONDITIONAL([am__fastdep$1], [
|
test "x$enable_dependency_tracking" != xno \
|
test "x$enable_dependency_tracking" != xno \
|
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
|
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
|
])
|
])
|
|
|
|
|
# AM_SET_DEPDIR
|
# AM_SET_DEPDIR
|
# -------------
|
# -------------
|
# Choose a directory name for dependency files.
|
# Choose a directory name for dependency files.
|
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
|
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
|
AC_DEFUN([AM_SET_DEPDIR],
|
AC_DEFUN([AM_SET_DEPDIR],
|
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
|
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
|
])
|
])
|
|
|
|
|
# AM_DEP_TRACK
|
# AM_DEP_TRACK
|
# ------------
|
# ------------
|
AC_DEFUN([AM_DEP_TRACK],
|
AC_DEFUN([AM_DEP_TRACK],
|
[AC_ARG_ENABLE(dependency-tracking,
|
[AC_ARG_ENABLE(dependency-tracking,
|
[ --disable-dependency-tracking speeds up one-time build
|
[ --disable-dependency-tracking speeds up one-time build
|
--enable-dependency-tracking do not reject slow dependency extractors])
|
--enable-dependency-tracking do not reject slow dependency extractors])
|
if test "x$enable_dependency_tracking" != xno; then
|
if test "x$enable_dependency_tracking" != xno; then
|
am_depcomp="$ac_aux_dir/depcomp"
|
am_depcomp="$ac_aux_dir/depcomp"
|
AMDEPBACKSLASH='\'
|
AMDEPBACKSLASH='\'
|
fi
|
fi
|
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
AC_SUBST([AMDEPBACKSLASH])
|
AC_SUBST([AMDEPBACKSLASH])
|
])
|
])
|
|
|
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
|
|
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
#
|
#
|
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
|
|
#serial 3
|
#serial 3
|
|
|
# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
# ------------------------------
|
# ------------------------------
|
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
[for mf in $CONFIG_FILES; do
|
[for mf in $CONFIG_FILES; do
|
# Strip MF so we end up with the name of the file.
|
# Strip MF so we end up with the name of the file.
|
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
# Check whether this is an Automake generated Makefile or not.
|
# Check whether this is an Automake generated Makefile or not.
|
# We used to match only the files named `Makefile.in', but
|
# We used to match only the files named `Makefile.in', but
|
# some people rename them; so instead we look at the file content.
|
# some people rename them; so instead we look at the file content.
|
# Grep'ing the first line is not enough: some people post-process
|
# 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.
|
# each Makefile.in and add a new line on top of each file to say so.
|
# So let's grep whole file.
|
# So let's grep whole file.
|
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
dirpart=`AS_DIRNAME("$mf")`
|
dirpart=`AS_DIRNAME("$mf")`
|
else
|
else
|
continue
|
continue
|
fi
|
fi
|
# Extract the definition of DEPDIR, am__include, and am__quote
|
# Extract the definition of DEPDIR, am__include, and am__quote
|
# from the Makefile without running `make'.
|
# from the Makefile without running `make'.
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
test -z "$DEPDIR" && continue
|
test -z "$DEPDIR" && continue
|
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
test -z "am__include" && continue
|
test -z "am__include" && continue
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
# When using ansi2knr, U may be empty or an underscore; expand it
|
# When using ansi2knr, U may be empty or an underscore; expand it
|
U=`sed -n 's/^U = //p' < "$mf"`
|
U=`sed -n 's/^U = //p' < "$mf"`
|
# Find all dependency output files, they are included files with
|
# Find all dependency output files, they are included files with
|
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
# simplest approach to changing $(DEPDIR) to its actual value in the
|
# simplest approach to changing $(DEPDIR) to its actual value in the
|
# expansion.
|
# expansion.
|
for file in `sed -n "
|
for file in `sed -n "
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
# Make sure the directory exists.
|
# Make sure the directory exists.
|
test -f "$dirpart/$file" && continue
|
test -f "$dirpart/$file" && continue
|
fdir=`AS_DIRNAME(["$file"])`
|
fdir=`AS_DIRNAME(["$file"])`
|
AS_MKDIR_P([$dirpart/$fdir])
|
AS_MKDIR_P([$dirpart/$fdir])
|
# echo "creating $dirpart/$file"
|
# echo "creating $dirpart/$file"
|
echo '# dummy' > "$dirpart/$file"
|
echo '# dummy' > "$dirpart/$file"
|
done
|
done
|
done
|
done
|
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
|
|
|
|
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
# -----------------------------
|
# -----------------------------
|
# This macro should only be invoked once -- use via AC_REQUIRE.
|
# This macro should only be invoked once -- use via AC_REQUIRE.
|
#
|
#
|
# This code is only required when automatic dependency tracking
|
# This code is only required when automatic dependency tracking
|
# is enabled. FIXME. This creates each `.P' file that we will
|
# is enabled. FIXME. This creates each `.P' file that we will
|
# need in order to bootstrap the dependency handling code.
|
# need in order to bootstrap the dependency handling code.
|
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
[AC_CONFIG_COMMANDS([depfiles],
|
[AC_CONFIG_COMMANDS([depfiles],
|
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
|
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
|
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
|
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
|
])
|
])
|
|
|
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
#
|
#
|
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
|
|
# serial 2
|
# serial 2
|
|
|
# Check whether the underlying file-system supports filenames
|
# Check whether the underlying file-system supports filenames
|
# with a leading dot. For instance MS-DOS doesn't.
|
# with a leading dot. For instance MS-DOS doesn't.
|
AC_DEFUN([AM_SET_LEADING_DOT],
|
AC_DEFUN([AM_SET_LEADING_DOT],
|
[rm -rf .tst 2>/dev/null
|
[rm -rf .tst 2>/dev/null
|
mkdir .tst 2>/dev/null
|
mkdir .tst 2>/dev/null
|
if test -d .tst; then
|
if test -d .tst; then
|
am__leading_dot=.
|
am__leading_dot=.
|
else
|
else
|
am__leading_dot=_
|
am__leading_dot=_
|
fi
|
fi
|
rmdir .tst 2>/dev/null
|
rmdir .tst 2>/dev/null
|
AC_SUBST([am__leading_dot])])
|
AC_SUBST([am__leading_dot])])
|
|
|
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
|
|
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
|
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
|
#
|
#
|
# This file is free software; the Free Software Foundation
|
# This file is free software; the Free Software Foundation
|
# gives unlimited permission to copy and/or distribute it,
|
# gives unlimited permission to copy and/or distribute it,
|
# with or without modifications, as long as this notice is preserved.
|
# with or without modifications, as long as this notice is preserved.
|
|
|
# serial 3
|
# serial 3
|
|
|
# AM_MAKE_INCLUDE()
|
# AM_MAKE_INCLUDE()
|
# -----------------
|
# -----------------
|
# Check to see how make treats includes.
|
# Check to see how make treats includes.
|
AC_DEFUN([AM_MAKE_INCLUDE],
|
AC_DEFUN([AM_MAKE_INCLUDE],
|
[am_make=${MAKE-make}
|
[am_make=${MAKE-make}
|
cat > confinc << 'END'
|
cat > confinc << 'END'
|
am__doit:
|
am__doit:
|
@echo done
|
@echo done
|
.PHONY: am__doit
|
.PHONY: am__doit
|
END
|
END
|
# If we don't find an include directive, just comment out the code.
|
# If we don't find an include directive, just comment out the code.
|
AC_MSG_CHECKING([for style of include used by $am_make])
|
AC_MSG_CHECKING([for style of include used by $am_make])
|
am__include="#"
|
am__include="#"
|
am__quote=
|
am__quote=
|
_am_result=none
|
_am_result=none
|
# First try GNU make style include.
|
# First try GNU make style include.
|
echo "include confinc" > confmf
|
echo "include confinc" > confmf
|
# We grep out `Entering directory' and `Leaving directory'
|
# We grep out `Entering directory' and `Leaving directory'
|
# messages which can occur if `w' ends up in MAKEFLAGS.
|
# messages which can occur if `w' ends up in MAKEFLAGS.
|
# In particular we don't look at `^make:' because GNU make might
|
# In particular we don't look at `^make:' because GNU make might
|
# be invoked under some other name (usually "gmake"), in which
|
# be invoked under some other name (usually "gmake"), in which
|
# case it prints its new name instead of `make'.
|
# 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
|
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
am__include=include
|
am__include=include
|
am__quote=
|
am__quote=
|
_am_result=GNU
|
_am_result=GNU
|
fi
|
fi
|
# Now try BSD make style include.
|
# Now try BSD make style include.
|
if test "$am__include" = "#"; then
|
if test "$am__include" = "#"; then
|
echo '.include "confinc"' > confmf
|
echo '.include "confinc"' > confmf
|
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
am__include=.include
|
am__include=.include
|
am__quote="\""
|
am__quote="\""
|
_am_result=BSD
|
_am_result=BSD
|
fi
|
fi
|
fi
|
fi
|
AC_SUBST([am__include])
|
AC_SUBST([am__include])
|
AC_SUBST([am__quote])
|
AC_SUBST([am__quote])
|
AC_MSG_RESULT([$_am_result])
|
AC_MSG_RESULT([$_am_result])
|
rm -f confinc confmf
|
rm -f confinc confmf
|
])
|
])
|
|
|
m4_include([../acinclude.m4])
|
m4_include([../acinclude.m4])
|
|
|