1
# generated automatically by aclocal 1.7.2 -*- Autoconf -*-
1
# generated automatically by aclocal 1.7.9 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
4
4
# Free Software Foundation, Inc.
60
60
# This macro actually does too much some checks are only needed if
61
61
# your package does certain things. But this isn't really a big deal.
63
# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
63
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
64
64
# Free Software Foundation, Inc.
66
66
# This program is free software; you can redistribute it and/or modify
78
78
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
83
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
84
# written in clear, in which case automake, when reading aclocal.m4,
85
# will think it sees a *use*, and therefore will trigger all it's
86
# C support machinery. Also note that it means that autoscan, seeing
87
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
130
123
AC_SUBST([PACKAGE], [$1])dnl
131
124
AC_SUBST([VERSION], [$2])],
132
125
[_AM_SET_OPTIONS([$1])dnl
133
AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
134
AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
126
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
127
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
136
129
_AM_IF_OPTION([no-define],,
137
130
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
152
145
# some platforms.
153
146
AC_REQUIRE([AC_PROG_AWK])dnl
154
147
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
148
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
156
150
_AM_IF_OPTION([no-dependencies],,
157
151
[AC_PROVIDE_IFELSE([AC_PROG_CC],
174
168
# loop where config.status creates the headers, so we can generate
175
169
# our stamp files there.
176
170
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
177
[_am_stamp_count=`expr ${_am_stamp_count-0} + 1`
171
[# Compute $1's index in $config_headers.
173
for _am_header in $config_headers :; do
178
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
178
181
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
180
183
# Copyright 2002 Free Software Foundation, Inc.
204
207
# Call AM_AUTOMAKE_VERSION so it can be traced.
205
208
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
206
209
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
207
[AM_AUTOMAKE_VERSION([1.7.2])])
210
[AM_AUTOMAKE_VERSION([1.7.9])])
209
212
# Helper functions for option handling. -*- Autoconf -*-
490
493
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
491
494
AC_SUBST([INSTALL_STRIP_PROGRAM])])
493
# serial 4 -*- Autoconf -*-
495
# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
497
# Copyright (C) 2003 Free Software Foundation, Inc.
499
# This program is free software; you can redistribute it and/or modify
500
# it under the terms of the GNU General Public License as published by
501
# the Free Software Foundation; either version 2, or (at your option)
504
# This program is distributed in the hope that it will be useful,
505
# but WITHOUT ANY WARRANTY; without even the implied warranty of
506
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
507
# GNU General Public License for more details.
509
# You should have received a copy of the GNU General Public License
510
# along with this program; if not, write to the Free Software
511
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
516
# Check whether the underlying file-system supports filenames
517
# with a leading dot. For instance MS-DOS doesn't.
518
AC_DEFUN([AM_SET_LEADING_DOT],
519
[rm -rf .tst 2>/dev/null
520
mkdir .tst 2>/dev/null
521
if test -d .tst; then
526
rmdir .tst 2>/dev/null
527
AC_SUBST([am__leading_dot])])
529
# serial 5 -*- Autoconf -*-
531
# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
497
533
# This program is free software; you can redistribute it and/or modify
498
534
# it under the terms of the GNU General Public License as published by
553
589
# using a relative directory.
554
590
cp "$am_depcomp" conftest.dir
592
# We will build objects and dependencies in a subdirectory because
593
# it helps to detect inapplicable dependency modes. For instance
594
# both Tru64's cc and ICC support -MD to output dependencies as a
595
# side effect of compilation, but ICC will put the dependencies in
596
# the current directory while Tru64 will put them in the object
557
600
am_cv_$1_dependencies_compiler_type=none
558
601
if test "$am_compiler_list" = ""; then
559
602
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
561
604
for depmode in $am_compiler_list; do
605
# Setup a source with many dependencies, because some compilers
606
# like to wrap large dependency lists on column 80 (with \), and
607
# we should not choose a depcomp mode which is confused by this.
562
609
# We need to recreate these files for each test, as the compiler may
563
610
# overwrite some of them when testing with obscure command lines.
564
611
# This happens at least with the AIX C compiler.
565
echo '#include "conftest.h"' > conftest.c
566
echo 'int i;' > conftest.h
567
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
613
for i in 1 2 3 4 5 6; do
614
echo '#include "conftst'$i'.h"' >> sub/conftest.c
617
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
582
632
# mode. It turns out that the SunPro C++ compiler does not properly
583
633
# handle `-M -o', and we need to detect this.
584
634
if depmode=$depmode \
585
source=conftest.c object=conftest.o \
586
depfile=conftest.Po tmpdepfile=conftest.TPo \
587
$SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
588
grep conftest.h conftest.Po > /dev/null 2>&1 &&
635
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
636
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
637
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
638
>/dev/null 2>conftest.err &&
639
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
640
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
589
641
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
590
am_cv_$1_dependencies_compiler_type=$depmode
642
# icc doesn't choke on unknown options, it will just issue warnings
643
# (even with -Werror). So we grep stderr for any message
644
# that says an option was ignored.
645
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
646
am_cv_$1_dependencies_compiler_type=$depmode
610
667
# Choose a directory name for dependency files.
611
668
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
612
669
AC_DEFUN([AM_SET_DEPDIR],
613
[rm -f .deps 2>/dev/null
614
mkdir .deps 2>/dev/null
615
if test -d .deps; then
618
# MS-DOS does not allow filenames that begin with a dot.
621
rmdir .deps 2>/dev/null
670
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
671
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
724
773
# Check to see how 'make' treats includes. -*- Autoconf -*-
726
# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
775
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
728
777
# This program is free software; you can redistribute it and/or modify
729
778
# it under the terms of the GNU General Public License as published by