1 |
# aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*- |
# generated automatically by aclocal 1.7.6 -*- Autoconf -*- |
2 |
|
|
3 |
# Copyright 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. |
5 |
# This file is free software; the Free Software Foundation |
# This file is free software; the Free Software Foundation |
6 |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
40 |
/../../../../../.." |
/../../../../../.." |
41 |
no_itcl=true |
no_itcl=true |
42 |
AC_MSG_CHECKING(for the tclsh program) |
AC_MSG_CHECKING(for the tclsh program) |
43 |
AC_ARG_WITH(tclinclude, [ --with-tclinclude directory where tcl header |
AC_ARG_WITH(tclinclude, [ --with-tclinclude directory where tcl headers are], with_tclinclude=${withval}) |
|
s are], with_tclinclude=${withval}) |
|
44 |
AC_CACHE_VAL(ac_cv_path_tclsh,[ |
AC_CACHE_VAL(ac_cv_path_tclsh,[ |
45 |
dnl first check to see if --with-itclinclude was specified |
dnl first check to see if --with-itclinclude was specified |
46 |
if test x"${with_tclinclude}" != x ; then |
if test x"${with_tclinclude}" != x ; then |
127 |
# This macro actually does too much some checks are only needed if |
# This macro actually does too much some checks are only needed if |
128 |
# your package does certain things. But this isn't really a big deal. |
# your package does certain things. But this isn't really a big deal. |
129 |
|
|
130 |
# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 |
131 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
132 |
|
|
133 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
145 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
146 |
# 02111-1307, USA. |
# 02111-1307, USA. |
147 |
|
|
148 |
# serial 8 |
# serial 10 |
|
|
|
|
# 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... |
|
149 |
|
|
150 |
|
AC_PREREQ([2.54]) |
|
AC_PREREQ([2.52]) |
|
151 |
|
|
152 |
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow |
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow |
153 |
# the ones we care about. |
# the ones we care about. |
173 |
AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) |
174 |
fi |
fi |
175 |
|
|
176 |
|
# test whether we have cygpath |
177 |
|
if test -z "$CYGPATH_W"; then |
178 |
|
if (cygpath --version) >/dev/null 2>/dev/null; then |
179 |
|
CYGPATH_W='cygpath -w' |
180 |
|
else |
181 |
|
CYGPATH_W=echo |
182 |
|
fi |
183 |
|
fi |
184 |
|
AC_SUBST([CYGPATH_W]) |
185 |
|
|
186 |
# Define the identity of the package. |
# Define the identity of the package. |
187 |
dnl Distinguish between old-style and new-style calls. |
dnl Distinguish between old-style and new-style calls. |
188 |
m4_ifval([$2], |
m4_ifval([$2], |
190 |
AC_SUBST([PACKAGE], [$1])dnl |
AC_SUBST([PACKAGE], [$1])dnl |
191 |
AC_SUBST([VERSION], [$2])], |
AC_SUBST([VERSION], [$2])], |
192 |
[_AM_SET_OPTIONS([$1])dnl |
[_AM_SET_OPTIONS([$1])dnl |
193 |
AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl |
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
194 |
AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl |
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
195 |
|
|
196 |
_AM_IF_OPTION([no-define],, |
_AM_IF_OPTION([no-define],, |
197 |
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) |
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) |
212 |
# some platforms. |
# some platforms. |
213 |
AC_REQUIRE([AC_PROG_AWK])dnl |
AC_REQUIRE([AC_PROG_AWK])dnl |
214 |
AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
215 |
|
AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
216 |
|
|
217 |
_AM_IF_OPTION([no-dependencies],, |
_AM_IF_OPTION([no-dependencies],, |
218 |
[AC_PROVIDE_IFELSE([AC_PROG_][CC], |
[AC_PROVIDE_IFELSE([AC_PROG_CC], |
219 |
[_AM_DEPENDENCIES(CC)], |
[_AM_DEPENDENCIES(CC)], |
220 |
[define([AC_PROG_][CC], |
[define([AC_PROG_CC], |
221 |
defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl |
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl |
222 |
AC_PROVIDE_IFELSE([AC_PROG_][CXX], |
AC_PROVIDE_IFELSE([AC_PROG_CXX], |
223 |
[_AM_DEPENDENCIES(CXX)], |
[_AM_DEPENDENCIES(CXX)], |
224 |
[define([AC_PROG_][CXX], |
[define([AC_PROG_CXX], |
225 |
defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl |
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl |
226 |
]) |
]) |
227 |
]) |
]) |
228 |
|
|
229 |
|
|
230 |
|
# When config.status generates a header, we must update the stamp-h file. |
231 |
|
# This file resides in the same directory as the config header |
232 |
|
# that is generated. The stamp files are numbered to have different names. |
233 |
|
|
234 |
|
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |
235 |
|
# loop where config.status creates the headers, so we can generate |
236 |
|
# our stamp files there. |
237 |
|
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
238 |
|
[# Compute $1's index in $config_headers. |
239 |
|
_am_stamp_count=1 |
240 |
|
for _am_header in $config_headers :; do |
241 |
|
case $_am_header in |
242 |
|
$1 | $1:* ) |
243 |
|
break ;; |
244 |
|
* ) |
245 |
|
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
246 |
|
esac |
247 |
|
done |
248 |
|
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) |
249 |
|
|
250 |
# Copyright 2002 Free Software Foundation, Inc. |
# Copyright 2002 Free Software Foundation, Inc. |
251 |
|
|
252 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
267 |
# ---------------------------- |
# ---------------------------- |
268 |
# Automake X.Y traces this macro to ensure aclocal.m4 has been |
# Automake X.Y traces this macro to ensure aclocal.m4 has been |
269 |
# generated from the m4 files accompanying Automake X.Y. |
# generated from the m4 files accompanying Automake X.Y. |
270 |
AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"]) |
AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"]) |
271 |
|
|
272 |
# AM_SET_CURRENT_AUTOMAKE_VERSION |
# AM_SET_CURRENT_AUTOMAKE_VERSION |
273 |
# ------------------------------- |
# ------------------------------- |
274 |
# Call AM_AUTOMAKE_VERSION so it can be traced. |
# Call AM_AUTOMAKE_VERSION so it can be traced. |
275 |
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
276 |
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
277 |
[AM_AUTOMAKE_VERSION([1.6.3])]) |
[AM_AUTOMAKE_VERSION([1.7.6])]) |
278 |
|
|
279 |
# Helper functions for option handling. -*- Autoconf -*- |
# Helper functions for option handling. -*- Autoconf -*- |
280 |
|
|
560 |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
561 |
AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
562 |
|
|
563 |
# serial 4 -*- Autoconf -*- |
# -*- Autoconf -*- |
564 |
|
# Copyright (C) 2003 Free Software Foundation, Inc. |
565 |
|
|
566 |
# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. |
# This program is free software; you can redistribute it and/or modify |
567 |
|
# it under the terms of the GNU General Public License as published by |
568 |
|
# the Free Software Foundation; either version 2, or (at your option) |
569 |
|
# any later version. |
570 |
|
|
571 |
|
# This program is distributed in the hope that it will be useful, |
572 |
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
573 |
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
574 |
|
# GNU General Public License for more details. |
575 |
|
|
576 |
|
# You should have received a copy of the GNU General Public License |
577 |
|
# along with this program; if not, write to the Free Software |
578 |
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
579 |
|
# 02111-1307, USA. |
580 |
|
|
581 |
|
# serial 1 |
582 |
|
|
583 |
|
# Check whether the underlying file-system supports filenames |
584 |
|
# with a leading dot. For instance MS-DOS doesn't. |
585 |
|
AC_DEFUN([AM_SET_LEADING_DOT], |
586 |
|
[rm -rf .tst 2>/dev/null |
587 |
|
mkdir .tst 2>/dev/null |
588 |
|
if test -d .tst; then |
589 |
|
am__leading_dot=. |
590 |
|
else |
591 |
|
am__leading_dot=_ |
592 |
|
fi |
593 |
|
rmdir .tst 2>/dev/null |
594 |
|
AC_SUBST([am__leading_dot])]) |
595 |
|
|
596 |
|
# serial 5 -*- Autoconf -*- |
597 |
|
|
598 |
|
# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
599 |
|
|
600 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
601 |
# 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 |
656 |
# using a relative directory. |
# using a relative directory. |
657 |
cp "$am_depcomp" conftest.dir |
cp "$am_depcomp" conftest.dir |
658 |
cd conftest.dir |
cd conftest.dir |
659 |
|
# We will build objects and dependencies in a subdirectory because |
660 |
|
# it helps to detect inapplicable dependency modes. For instance |
661 |
|
# both Tru64's cc and ICC support -MD to output dependencies as a |
662 |
|
# side effect of compilation, but ICC will put the dependencies in |
663 |
|
# the current directory while Tru64 will put them in the object |
664 |
|
# directory. |
665 |
|
mkdir sub |
666 |
|
|
667 |
am_cv_$1_dependencies_compiler_type=none |
am_cv_$1_dependencies_compiler_type=none |
668 |
if test "$am_compiler_list" = ""; then |
if test "$am_compiler_list" = ""; then |
669 |
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` |
670 |
fi |
fi |
671 |
for depmode in $am_compiler_list; do |
for depmode in $am_compiler_list; do |
672 |
|
# Setup a source with many dependencies, because some compilers |
673 |
|
# like to wrap large dependency lists on column 80 (with \), and |
674 |
|
# we should not choose a depcomp mode which is confused by this. |
675 |
|
# |
676 |
# 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 |
677 |
# overwrite some of them when testing with obscure command lines. |
# overwrite some of them when testing with obscure command lines. |
678 |
# This happens at least with the AIX C compiler. |
# This happens at least with the AIX C compiler. |
679 |
echo '#include "conftest.h"' > conftest.c |
: > sub/conftest.c |
680 |
echo 'int i;' > conftest.h |
for i in 1 2 3 4 5 6; do |
681 |
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
682 |
|
: > sub/conftst$i.h |
683 |
|
done |
684 |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
685 |
|
|
686 |
case $depmode in |
case $depmode in |
687 |
nosideeffect) |
nosideeffect) |
699 |
# mode. It turns out that the SunPro C++ compiler does not properly |
# mode. It turns out that the SunPro C++ compiler does not properly |
700 |
# handle `-M -o', and we need to detect this. |
# handle `-M -o', and we need to detect this. |
701 |
if depmode=$depmode \ |
if depmode=$depmode \ |
702 |
source=conftest.c object=conftest.o \ |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ |
703 |
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
704 |
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 && |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ |
705 |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
>/dev/null 2>conftest.err && |
706 |
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
707 |
|
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && |
708 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
709 |
am_cv_$1_dependencies_compiler_type=$depmode |
# icc doesn't choke on unknown options, it will just issue warnings |
710 |
break |
# (even with -Werror). So we grep stderr for any message |
711 |
|
# that says an option was ignored. |
712 |
|
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
713 |
|
am_cv_$1_dependencies_compiler_type=$depmode |
714 |
|
break |
715 |
|
fi |
716 |
fi |
fi |
717 |
done |
done |
718 |
|
|
723 |
fi |
fi |
724 |
]) |
]) |
725 |
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) |
726 |
|
AM_CONDITIONAL([am__fastdep$1], [ |
727 |
|
test "x$enable_dependency_tracking" != xno \ |
728 |
|
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3]) |
729 |
]) |
]) |
730 |
|
|
731 |
|
|
734 |
# Choose a directory name for dependency files. |
# Choose a directory name for dependency files. |
735 |
# This macro is AC_REQUIREd in _AM_DEPENDENCIES |
# This macro is AC_REQUIREd in _AM_DEPENDENCIES |
736 |
AC_DEFUN([AM_SET_DEPDIR], |
AC_DEFUN([AM_SET_DEPDIR], |
737 |
[rm -f .deps 2>/dev/null |
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
738 |
mkdir .deps 2>/dev/null |
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl |
|
if test -d .deps; then |
|
|
DEPDIR=.deps |
|
|
else |
|
|
# MS-DOS does not allow filenames that begin with a dot. |
|
|
DEPDIR=_deps |
|
|
fi |
|
|
rmdir .deps 2>/dev/null |
|
|
AC_SUBST([DEPDIR]) |
|
739 |
]) |
]) |
740 |
|
|
741 |
|
|
837 |
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) |
838 |
]) |
]) |
839 |
|
|
840 |
# Copyright 2001 Free Software Foundation, Inc. -*- Autoconf -*- |
# Check to see how 'make' treats includes. -*- Autoconf -*- |
841 |
|
|
842 |
|
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. |
843 |
|
|
844 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
845 |
# 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 |
864 |
AC_DEFUN([AM_MAKE_INCLUDE], |
AC_DEFUN([AM_MAKE_INCLUDE], |
865 |
[am_make=${MAKE-make} |
[am_make=${MAKE-make} |
866 |
cat > confinc << 'END' |
cat > confinc << 'END' |
867 |
doit: |
am__doit: |
868 |
@echo done |
@echo done |
869 |
|
.PHONY: am__doit |
870 |
END |
END |
871 |
# 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. |
872 |
AC_MSG_CHECKING([for style of include used by $am_make]) |
AC_MSG_CHECKING([for style of include used by $am_make]) |
880 |
# In particular we don't look at `^make:' because GNU make might |
# In particular we don't look at `^make:' because GNU make might |
881 |
# be invoked under some other name (usually "gmake"), in which |
# be invoked under some other name (usually "gmake"), in which |
882 |
# case it prints its new name instead of `make'. |
# case it prints its new name instead of `make'. |
883 |
if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then |
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then |
884 |
am__include=include |
am__include=include |
885 |
am__quote= |
am__quote= |
886 |
_am_result=GNU |
_am_result=GNU |
894 |
_am_result=BSD |
_am_result=BSD |
895 |
fi |
fi |
896 |
fi |
fi |
897 |
AC_SUBST(am__include) |
AC_SUBST([am__include]) |
898 |
AC_SUBST(am__quote) |
AC_SUBST([am__quote]) |
899 |
AC_MSG_RESULT($_am_result) |
AC_MSG_RESULT([$_am_result]) |
900 |
rm -f confinc confmf |
rm -f confinc confmf |
901 |
]) |
]) |
902 |
|
|
940 |
fi |
fi |
941 |
AC_CONFIG_COMMANDS_PRE( |
AC_CONFIG_COMMANDS_PRE( |
942 |
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then |
943 |
AC_MSG_ERROR([conditional \"$1\" was never defined. |
AC_MSG_ERROR([conditional "$1" was never defined. |
944 |
Usually this means the macro was only invoked conditionally.]) |
Usually this means the macro was only invoked conditionally.]) |
945 |
fi])]) |
fi])]) |
946 |
|
|
947 |
# Add --enable-maintainer-mode option to configure. |
# Add --enable-maintainer-mode option to configure. |
948 |
# From Jim Meyering |
# From Jim Meyering |
949 |
|
|
950 |
# Copyright 1996, 1998, 2000, 2001 Free Software Foundation, Inc. |
# Copyright 1996, 1998, 2000, 2001, 2002 Free Software Foundation, Inc. |
951 |
|
|
952 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
953 |
# 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 |
964 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
965 |
# 02111-1307, USA. |
# 02111-1307, USA. |
966 |
|
|
967 |
# serial 1 |
# serial 2 |
968 |
|
|
969 |
AC_DEFUN([AM_MAINTAINER_MODE], |
AC_DEFUN([AM_MAINTAINER_MODE], |
970 |
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) |
981 |
] |
] |
982 |
) |
) |
983 |
|
|
984 |
|
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) |
985 |
|
|