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.
16
16
# This macro actually does too much some checks are only needed if
17
17
# your package does certain things. But this isn't really a big deal.
19
# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
19
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
20
20
# Free Software Foundation, Inc.
22
22
# This program is free software; you can redistribute it and/or modify
34
34
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
39
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
40
# written in clear, in which case automake, when reading aclocal.m4,
41
# will think it sees a *use*, and therefore will trigger all it's
42
# C support machinery. Also note that it means that autoscan, seeing
43
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
86
79
AC_SUBST([PACKAGE], [$1])dnl
87
80
AC_SUBST([VERSION], [$2])],
88
81
[_AM_SET_OPTIONS([$1])dnl
89
AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
90
AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
82
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
83
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
92
85
_AM_IF_OPTION([no-define],,
93
86
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
108
101
# some platforms.
109
102
AC_REQUIRE([AC_PROG_AWK])dnl
110
103
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
104
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
112
106
_AM_IF_OPTION([no-dependencies],,
113
107
[AC_PROVIDE_IFELSE([AC_PROG_CC],
130
124
# loop where config.status creates the headers, so we can generate
131
125
# our stamp files there.
132
126
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
133
[_am_stamp_count=`expr ${_am_stamp_count-0} + 1`
127
[# Compute $1's index in $config_headers.
129
for _am_header in $config_headers :; do
134
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
134
137
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
136
139
# Copyright 2002 Free Software Foundation, Inc.
160
163
# Call AM_AUTOMAKE_VERSION so it can be traced.
161
164
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
162
165
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
163
[AM_AUTOMAKE_VERSION([1.7.2])])
166
[AM_AUTOMAKE_VERSION([1.7.9])])
165
168
# Helper functions for option handling. -*- Autoconf -*-
446
449
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
447
450
AC_SUBST([INSTALL_STRIP_PROGRAM])])
449
# serial 4 -*- Autoconf -*-
451
# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
453
# Copyright (C) 2003 Free Software Foundation, Inc.
455
# This program is free software; you can redistribute it and/or modify
456
# it under the terms of the GNU General Public License as published by
457
# the Free Software Foundation; either version 2, or (at your option)
460
# This program is distributed in the hope that it will be useful,
461
# but WITHOUT ANY WARRANTY; without even the implied warranty of
462
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
463
# GNU General Public License for more details.
465
# You should have received a copy of the GNU General Public License
466
# along with this program; if not, write to the Free Software
467
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
472
# Check whether the underlying file-system supports filenames
473
# with a leading dot. For instance MS-DOS doesn't.
474
AC_DEFUN([AM_SET_LEADING_DOT],
475
[rm -rf .tst 2>/dev/null
476
mkdir .tst 2>/dev/null
477
if test -d .tst; then
482
rmdir .tst 2>/dev/null
483
AC_SUBST([am__leading_dot])])
485
# serial 5 -*- Autoconf -*-
487
# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
453
489
# This program is free software; you can redistribute it and/or modify
454
490
# it under the terms of the GNU General Public License as published by
509
545
# using a relative directory.
510
546
cp "$am_depcomp" conftest.dir
548
# We will build objects and dependencies in a subdirectory because
549
# it helps to detect inapplicable dependency modes. For instance
550
# both Tru64's cc and ICC support -MD to output dependencies as a
551
# side effect of compilation, but ICC will put the dependencies in
552
# the current directory while Tru64 will put them in the object
513
556
am_cv_$1_dependencies_compiler_type=none
514
557
if test "$am_compiler_list" = ""; then
515
558
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
517
560
for depmode in $am_compiler_list; do
561
# Setup a source with many dependencies, because some compilers
562
# like to wrap large dependency lists on column 80 (with \), and
563
# we should not choose a depcomp mode which is confused by this.
518
565
# We need to recreate these files for each test, as the compiler may
519
566
# overwrite some of them when testing with obscure command lines.
520
567
# This happens at least with the AIX C compiler.
521
echo '#include "conftest.h"' > conftest.c
522
echo 'int i;' > conftest.h
523
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
569
for i in 1 2 3 4 5 6; do
570
echo '#include "conftst'$i'.h"' >> sub/conftest.c
573
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
538
588
# mode. It turns out that the SunPro C++ compiler does not properly
539
589
# handle `-M -o', and we need to detect this.
540
590
if depmode=$depmode \
541
source=conftest.c object=conftest.o \
542
depfile=conftest.Po tmpdepfile=conftest.TPo \
543
$SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
544
grep conftest.h conftest.Po > /dev/null 2>&1 &&
591
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
592
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
593
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
594
>/dev/null 2>conftest.err &&
595
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
596
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
545
597
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
546
am_cv_$1_dependencies_compiler_type=$depmode
598
# icc doesn't choke on unknown options, it will just issue warnings
599
# (even with -Werror). So we grep stderr for any message
600
# that says an option was ignored.
601
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
602
am_cv_$1_dependencies_compiler_type=$depmode
566
623
# Choose a directory name for dependency files.
567
624
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
568
625
AC_DEFUN([AM_SET_DEPDIR],
569
[rm -f .deps 2>/dev/null
570
mkdir .deps 2>/dev/null
571
if test -d .deps; then
574
# MS-DOS does not allow filenames that begin with a dot.
577
rmdir .deps 2>/dev/null
626
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
627
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
680
729
# Check to see how 'make' treats includes. -*- Autoconf -*-
682
# Copyright (C) 2001, 2002 Free Software Foundation, Inc.
731
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
684
733
# This program is free software; you can redistribute it and/or modify
685
734
# it under the terms of the GNU General Public License as published by
1025
1075
GNOME_ORBIT_HOOK([],failure)
1078
# isc-posix.m4 serial 2 (gettext-0.11.2)
1079
dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
1080
dnl This file is free software, distributed under the terms of the GNU
1081
dnl General Public License. As a special exception to the GNU General
1082
dnl Public License, this file may be distributed as part of a program
1083
dnl that contains a configuration script generated by Autoconf, under
1084
dnl the same distribution terms as the rest of that program.
1086
# This file is not needed with autoconf-2.53 and newer. Remove it in 2005.
1088
# This test replaces the one in autoconf.
1089
# Currently this macro should have the same name as the autoconf macro
1090
# because gettext's gettext.m4 (distributed in the automake package)
1091
# still uses it. Otherwise, the use in gettext.m4 makes autoheader
1092
# give these diagnostics:
1093
# configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
1094
# configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
1096
undefine([AC_ISC_POSIX])
1098
AC_DEFUN([AC_ISC_POSIX],
1100
dnl This test replaces the obsolescent AC_ISC_POSIX kludge.
1101
AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])
1029
1106
# Copyright 1996, 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.