1 |
# generated automatically by aclocal 1.7.4 -*- Autoconf -*- |
# generated automatically by aclocal 1.7.7 -*- Autoconf -*- |
2 |
|
|
3 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
4 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
179 |
# Call AM_AUTOMAKE_VERSION so it can be traced. |
# Call AM_AUTOMAKE_VERSION so it can be traced. |
180 |
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
181 |
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
182 |
[AM_AUTOMAKE_VERSION([1.7.4])]) |
[AM_AUTOMAKE_VERSION([1.7.7])]) |
183 |
|
|
184 |
# Helper functions for option handling. -*- Autoconf -*- |
# Helper functions for option handling. -*- Autoconf -*- |
185 |
|
|
561 |
# using a relative directory. |
# using a relative directory. |
562 |
cp "$am_depcomp" conftest.dir |
cp "$am_depcomp" conftest.dir |
563 |
cd conftest.dir |
cd conftest.dir |
564 |
|
# We will build objects and dependencies in a subdirectory because |
565 |
|
# it helps to detect inapplicable dependency modes. For instance |
566 |
|
# both Tru64's cc and ICC support -MD to output dependencies as a |
567 |
|
# side effect of compilation, but ICC will put the dependencies in |
568 |
|
# the current directory while Tru64 will put them in the object |
569 |
|
# directory. |
570 |
|
mkdir sub |
571 |
|
|
572 |
am_cv_$1_dependencies_compiler_type=none |
am_cv_$1_dependencies_compiler_type=none |
573 |
if test "$am_compiler_list" = ""; then |
if test "$am_compiler_list" = ""; then |
574 |
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` |
575 |
fi |
fi |
576 |
for depmode in $am_compiler_list; do |
for depmode in $am_compiler_list; do |
577 |
|
# Setup a source with many dependencies, because some compilers |
578 |
|
# like to wrap large dependency lists on column 80 (with \), and |
579 |
|
# we should not choose a depcomp mode which is confused by this. |
580 |
|
# |
581 |
# 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 |
582 |
# overwrite some of them when testing with obscure command lines. |
# overwrite some of them when testing with obscure command lines. |
583 |
# This happens at least with the AIX C compiler. |
# This happens at least with the AIX C compiler. |
584 |
echo '#include "conftest.h"' > conftest.c |
: > sub/conftest.c |
585 |
echo 'int i;' > conftest.h |
for i in 1 2 3 4 5 6; do |
586 |
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
587 |
|
: > sub/conftst$i.h |
588 |
|
done |
589 |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
590 |
|
|
591 |
case $depmode in |
case $depmode in |
592 |
nosideeffect) |
nosideeffect) |
604 |
# mode. It turns out that the SunPro C++ compiler does not properly |
# mode. It turns out that the SunPro C++ compiler does not properly |
605 |
# handle `-M -o', and we need to detect this. |
# handle `-M -o', and we need to detect this. |
606 |
if depmode=$depmode \ |
if depmode=$depmode \ |
607 |
source=conftest.c object=conftest.o \ |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
608 |
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
609 |
$SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
610 |
>/dev/null 2>conftest.err && |
>/dev/null 2>conftest.err && |
611 |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
612 |
|
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
613 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
614 |
# icc doesn't choke on unknown options, it will just issue warnings |
# icc doesn't choke on unknown options, it will just issue warnings |
615 |
# (even with -Werror). So we grep stderr for any message |
# (even with -Werror). So we grep stderr for any message |
744 |
|
|
745 |
# Check to see how 'make' treats includes. -*- Autoconf -*- |
# Check to see how 'make' treats includes. -*- Autoconf -*- |
746 |
|
|
747 |
# Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. |
748 |
|
|
749 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
750 |
# it under the terms of the GNU General Public License as published by |
# it under the terms of the GNU General Public License as published by |
769 |
AC_DEFUN([AM_MAKE_INCLUDE], |
AC_DEFUN([AM_MAKE_INCLUDE], |
770 |
[am_make=${MAKE-make} |
[am_make=${MAKE-make} |
771 |
cat > confinc << 'END' |
cat > confinc << 'END' |
772 |
doit: |
am__doit: |
773 |
@echo done |
@echo done |
774 |
|
.PHONY: am__doit |
775 |
END |
END |
776 |
# 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. |
777 |
AC_MSG_CHECKING([for style of include used by $am_make]) |
AC_MSG_CHECKING([for style of include used by $am_make]) |
799 |
_am_result=BSD |
_am_result=BSD |
800 |
fi |
fi |
801 |
fi |
fi |
802 |
AC_SUBST(am__include) |
AC_SUBST([am__include]) |
803 |
AC_SUBST(am__quote) |
AC_SUBST([am__quote]) |
804 |
AC_MSG_RESULT($_am_result) |
AC_MSG_RESULT([$_am_result]) |
805 |
rm -f confinc confmf |
rm -f confinc confmf |
806 |
]) |
]) |
807 |
|
|