1 |
# generated automatically by aclocal 1.7.2 -*- Autoconf -*- |
# generated automatically by aclocal 1.7.4 -*- 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. |
32 |
# This macro actually does too much some checks are only needed if |
# This macro actually does too much some checks are only needed if |
33 |
# 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. |
34 |
|
|
35 |
# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 |
36 |
# Free Software Foundation, Inc. |
# Free Software Foundation, Inc. |
37 |
|
|
38 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
50 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
51 |
# 02111-1307, USA. |
# 02111-1307, USA. |
52 |
|
|
53 |
# 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... |
|
|
|
|
54 |
|
|
55 |
AC_PREREQ([2.54]) |
AC_PREREQ([2.54]) |
56 |
|
|
95 |
AC_SUBST([PACKAGE], [$1])dnl |
AC_SUBST([PACKAGE], [$1])dnl |
96 |
AC_SUBST([VERSION], [$2])], |
AC_SUBST([VERSION], [$2])], |
97 |
[_AM_SET_OPTIONS([$1])dnl |
[_AM_SET_OPTIONS([$1])dnl |
98 |
AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl |
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl |
99 |
AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl |
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl |
100 |
|
|
101 |
_AM_IF_OPTION([no-define],, |
_AM_IF_OPTION([no-define],, |
102 |
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) |
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) |
117 |
# some platforms. |
# some platforms. |
118 |
AC_REQUIRE([AC_PROG_AWK])dnl |
AC_REQUIRE([AC_PROG_AWK])dnl |
119 |
AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
AC_REQUIRE([AC_PROG_MAKE_SET])dnl |
120 |
|
AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
121 |
|
|
122 |
_AM_IF_OPTION([no-dependencies],, |
_AM_IF_OPTION([no-dependencies],, |
123 |
[AC_PROVIDE_IFELSE([AC_PROG_CC], |
[AC_PROVIDE_IFELSE([AC_PROG_CC], |
140 |
# loop where config.status creates the headers, so we can generate |
# loop where config.status creates the headers, so we can generate |
141 |
# our stamp files there. |
# our stamp files there. |
142 |
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
143 |
[_am_stamp_count=`expr ${_am_stamp_count-0} + 1` |
[# Compute $1's index in $config_headers. |
144 |
|
_am_stamp_count=1 |
145 |
|
for _am_header in $config_headers :; do |
146 |
|
case $_am_header in |
147 |
|
$1 | $1:* ) |
148 |
|
break ;; |
149 |
|
* ) |
150 |
|
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
151 |
|
esac |
152 |
|
done |
153 |
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) |
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) |
154 |
|
|
155 |
# Copyright 2002 Free Software Foundation, Inc. |
# Copyright 2002 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.2])]) |
[AM_AUTOMAKE_VERSION([1.7.4])]) |
183 |
|
|
184 |
# Helper functions for option handling. -*- Autoconf -*- |
# Helper functions for option handling. -*- Autoconf -*- |
185 |
|
|
465 |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" |
466 |
AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
467 |
|
|
468 |
# serial 4 -*- Autoconf -*- |
# -*- Autoconf -*- |
469 |
|
# Copyright (C) 2003 Free Software Foundation, Inc. |
470 |
|
|
471 |
|
# This program is free software; you can redistribute it and/or modify |
472 |
|
# it under the terms of the GNU General Public License as published by |
473 |
|
# the Free Software Foundation; either version 2, or (at your option) |
474 |
|
# any later version. |
475 |
|
|
476 |
|
# This program is distributed in the hope that it will be useful, |
477 |
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
478 |
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
479 |
|
# GNU General Public License for more details. |
480 |
|
|
481 |
|
# You should have received a copy of the GNU General Public License |
482 |
|
# along with this program; if not, write to the Free Software |
483 |
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA |
484 |
|
# 02111-1307, USA. |
485 |
|
|
486 |
# Copyright 1999, 2000, 2001 Free Software Foundation, Inc. |
# serial 1 |
487 |
|
|
488 |
|
# Check whether the underlying file-system supports filenames |
489 |
|
# with a leading dot. For instance MS-DOS doesn't. |
490 |
|
AC_DEFUN([AM_SET_LEADING_DOT], |
491 |
|
[rm -rf .tst 2>/dev/null |
492 |
|
mkdir .tst 2>/dev/null |
493 |
|
if test -d .tst; then |
494 |
|
am__leading_dot=. |
495 |
|
else |
496 |
|
am__leading_dot=_ |
497 |
|
fi |
498 |
|
rmdir .tst 2>/dev/null |
499 |
|
AC_SUBST([am__leading_dot])]) |
500 |
|
|
501 |
|
# serial 5 -*- Autoconf -*- |
502 |
|
|
503 |
|
# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. |
504 |
|
|
505 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
506 |
# 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 |
592 |
if depmode=$depmode \ |
if depmode=$depmode \ |
593 |
source=conftest.c object=conftest.o \ |
source=conftest.c object=conftest.o \ |
594 |
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
depfile=conftest.Po tmpdepfile=conftest.TPo \ |
595 |
$SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 && |
$SHELL ./depcomp $depcc -c -o conftest.o conftest.c \ |
596 |
|
>/dev/null 2>conftest.err && |
597 |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
grep conftest.h conftest.Po > /dev/null 2>&1 && |
598 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
599 |
am_cv_$1_dependencies_compiler_type=$depmode |
# icc doesn't choke on unknown options, it will just issue warnings |
600 |
break |
# (even with -Werror). So we grep stderr for any message |
601 |
|
# that says an option was ignored. |
602 |
|
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else |
603 |
|
am_cv_$1_dependencies_compiler_type=$depmode |
604 |
|
break |
605 |
|
fi |
606 |
fi |
fi |
607 |
done |
done |
608 |
|
|
624 |
# Choose a directory name for dependency files. |
# Choose a directory name for dependency files. |
625 |
# This macro is AC_REQUIREd in _AM_DEPENDENCIES |
# This macro is AC_REQUIREd in _AM_DEPENDENCIES |
626 |
AC_DEFUN([AM_SET_DEPDIR], |
AC_DEFUN([AM_SET_DEPDIR], |
627 |
[rm -f .deps 2>/dev/null |
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl |
628 |
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]) |
|
629 |
]) |
]) |
630 |
|
|
631 |
|
|