1
# aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*-
1
# generated automatically by aclocal 1.7.8 -*- Autoconf -*-
3
# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
4
4
# Free Software Foundation, Inc.
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
1205
1205
AC_SUBST(GLIB_MKENUMS)
1206
1206
rm -f conf.glibtest
1209
# Test for the GNU C Library, version 2.1 or newer.
1210
# From Bruno Haible.
1212
AC_DEFUN([jm_GLIBC21],
1214
AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
1215
ac_cv_gnu_library_2_1,
1216
[AC_EGREP_CPP([Lucky GNU user],
1218
#include <features.h>
1219
#ifdef __GNU_LIBRARY__
1220
#if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
1225
ac_cv_gnu_library_2_1=yes,
1226
ac_cv_gnu_library_2_1=no)
1230
GLIBC21="$ac_cv_gnu_library_2_1"
1233
1208
# Macro to add for using GNU gettext.
1234
1209
# Ulrich Drepper <drepper@cygnus.com>, 1995.
1652
1627
AC_SUBST(GLIB_LIBS)
1653
1628
rm -f conf.glibtest
1631
# Test for the GNU C Library, version 2.1 or newer.
1632
# From Bruno Haible.
1634
AC_DEFUN([jm_GLIBC21],
1636
AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
1637
ac_cv_gnu_library_2_1,
1638
[AC_EGREP_CPP([Lucky GNU user],
1640
#include <features.h>
1641
#ifdef __GNU_LIBRARY__
1642
#if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
1647
ac_cv_gnu_library_2_1=yes,
1648
ac_cv_gnu_library_2_1=no)
1652
GLIBC21="$ac_cv_gnu_library_2_1"
1655
1655
# Configure paths for GTK+
1656
1656
# Owen Taylor 1997-2001
4389
# When config.status generates a header, we must update the stamp-h file.
4390
# This file resides in the same directory as the config header
4391
# that is generated. We must strip everything past the first ":",
4392
# and everything past the last "/".
4396
# Like AS_DIRNAME, only do it during macro expansion
4397
AC_DEFUN([_AM_DIRNAME],
4398
[m4_if(regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
4399
m4_if(regexp([$1], [^//\([^/]\|$\)]), -1,
4400
m4_if(regexp([$1], [^/.*]), -1,
4402
patsubst([$1], [^\(/\).*], [\1])),
4403
patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
4404
patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
4408
# The stamp files are numbered to have different names.
4409
# We could number them on a directory basis, but that's additional
4410
# complications, let's have a unique counter.
4411
m4_define([_AM_STAMP_Count], [0])
4416
# The name of the stamp file for HEADER.
4417
AC_DEFUN([_AM_STAMP],
4418
[m4_define([_AM_STAMP_Count], m4_incr(_AM_STAMP_Count))dnl
4419
AS_ESCAPE(_AM_DIRNAME(patsubst([$1],
4420
[:.*])))/stamp-h[]_AM_STAMP_Count])
4423
# _AM_CONFIG_HEADER(HEADER[:SOURCES], COMMANDS, INIT-COMMANDS)
4424
# ------------------------------------------------------------
4425
# We used to try to get a real timestamp in stamp-h. But the fear is that
4426
# that will cause unnecessary cvs conflicts.
4427
AC_DEFUN([_AM_CONFIG_HEADER],
4428
[# Add the stamp file to the list of files AC keeps track of,
4429
# along with our hook.
4430
AC_CONFIG_HEADERS([$1],
4431
[# update the timestamp
4432
echo 'timestamp for $1' >"_AM_STAMP([$1])"
4435
])# _AM_CONFIG_HEADER
4438
# AM_CONFIG_HEADER(HEADER[:SOURCES]..., COMMANDS, INIT-COMMANDS)
4439
# --------------------------------------------------------------
4440
AC_DEFUN([AM_CONFIG_HEADER],
4441
[AC_FOREACH([_AM_File], [$1], [_AM_CONFIG_HEADER(_AM_File, [$2], [$3])])
4442
])# AM_CONFIG_HEADER
4389
# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
4390
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
4444
4392
# Do all the work for Automake. -*- Autoconf -*-
4446
4394
# This macro actually does too much some checks are only needed if
4447
4395
# your package does certain things. But this isn't really a big deal.
4449
# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002
4397
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4450
4398
# Free Software Foundation, Inc.
4452
4400
# This program is free software; you can redistribute it and/or modify
4464
4412
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4465
4413
# 02111-1307, USA.
4469
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
4470
# written in clear, in which case automake, when reading aclocal.m4,
4471
# will think it sees a *use*, and therefore will trigger all it's
4472
# C support machinery. Also note that it means that autoscan, seeing
4473
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
4478
4419
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
4479
4420
# the ones we care about.
4506
4457
AC_SUBST([PACKAGE], [$1])dnl
4507
4458
AC_SUBST([VERSION], [$2])],
4508
4459
[_AM_SET_OPTIONS([$1])dnl
4509
AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME])dnl
4510
AC_SUBST([VERSION], [AC_PACKAGE_VERSION])])dnl
4460
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
4461
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
4512
4463
_AM_IF_OPTION([no-define],,
4513
4464
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
4528
4479
# some platforms.
4529
4480
AC_REQUIRE([AC_PROG_AWK])dnl
4530
4481
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
4482
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
4532
4484
_AM_IF_OPTION([no-dependencies],,
4533
[AC_PROVIDE_IFELSE([AC_PROG_][CC],
4485
[AC_PROVIDE_IFELSE([AC_PROG_CC],
4534
4486
[_AM_DEPENDENCIES(CC)],
4535
[define([AC_PROG_][CC],
4536
defn([AC_PROG_][CC])[_AM_DEPENDENCIES(CC)])])dnl
4537
AC_PROVIDE_IFELSE([AC_PROG_][CXX],
4487
[define([AC_PROG_CC],
4488
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
4489
AC_PROVIDE_IFELSE([AC_PROG_CXX],
4538
4490
[_AM_DEPENDENCIES(CXX)],
4539
[define([AC_PROG_][CXX],
4540
defn([AC_PROG_][CXX])[_AM_DEPENDENCIES(CXX)])])dnl
4491
[define([AC_PROG_CXX],
4492
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
4497
# When config.status generates a header, we must update the stamp-h file.
4498
# This file resides in the same directory as the config header
4499
# that is generated. The stamp files are numbered to have different names.
4501
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
4502
# loop where config.status creates the headers, so we can generate
4503
# our stamp files there.
4504
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
4505
[# Compute $1's index in $config_headers.
4507
for _am_header in $config_headers :; do
4512
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
4515
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
4544
4517
# Copyright 2002 Free Software Foundation, Inc.
4561
4534
# ----------------------------
4562
4535
# Automake X.Y traces this macro to ensure aclocal.m4 has been
4563
4536
# generated from the m4 files accompanying Automake X.Y.
4564
AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.6"])
4537
AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.7"])
4566
4539
# AM_SET_CURRENT_AUTOMAKE_VERSION
4567
4540
# -------------------------------
4568
4541
# Call AM_AUTOMAKE_VERSION so it can be traced.
4569
4542
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
4570
4543
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
4571
[AM_AUTOMAKE_VERSION([1.6.3])])
4544
[AM_AUTOMAKE_VERSION([1.7.8])])
4573
4546
# Helper functions for option handling. -*- Autoconf -*-
4854
4827
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
4855
4828
AC_SUBST([INSTALL_STRIP_PROGRAM])])
4857
# serial 4 -*- Autoconf -*-
4859
# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
4831
# Copyright (C) 2003 Free Software Foundation, Inc.
4833
# This program is free software; you can redistribute it and/or modify
4834
# it under the terms of the GNU General Public License as published by
4835
# the Free Software Foundation; either version 2, or (at your option)
4836
# any later version.
4838
# This program is distributed in the hope that it will be useful,
4839
# but WITHOUT ANY WARRANTY; without even the implied warranty of
4840
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4841
# GNU General Public License for more details.
4843
# You should have received a copy of the GNU General Public License
4844
# along with this program; if not, write to the Free Software
4845
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
4850
# Check whether the underlying file-system supports filenames
4851
# with a leading dot. For instance MS-DOS doesn't.
4852
AC_DEFUN([AM_SET_LEADING_DOT],
4853
[rm -rf .tst 2>/dev/null
4854
mkdir .tst 2>/dev/null
4855
if test -d .tst; then
4860
rmdir .tst 2>/dev/null
4861
AC_SUBST([am__leading_dot])])
4863
# serial 5 -*- Autoconf -*-
4865
# Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
4861
4867
# This program is free software; you can redistribute it and/or modify
4862
4868
# it under the terms of the GNU General Public License as published by
4917
4923
# using a relative directory.
4918
4924
cp "$am_depcomp" conftest.dir
4919
4925
cd conftest.dir
4926
# We will build objects and dependencies in a subdirectory because
4927
# it helps to detect inapplicable dependency modes. For instance
4928
# both Tru64's cc and ICC support -MD to output dependencies as a
4929
# side effect of compilation, but ICC will put the dependencies in
4930
# the current directory while Tru64 will put them in the object
4921
4934
am_cv_$1_dependencies_compiler_type=none
4922
4935
if test "$am_compiler_list" = ""; then
4923
4936
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
4925
4938
for depmode in $am_compiler_list; do
4939
# Setup a source with many dependencies, because some compilers
4940
# like to wrap large dependency lists on column 80 (with \), and
4941
# we should not choose a depcomp mode which is confused by this.
4926
4943
# We need to recreate these files for each test, as the compiler may
4927
4944
# overwrite some of them when testing with obscure command lines.
4928
4945
# This happens at least with the AIX C compiler.
4929
echo '#include "conftest.h"' > conftest.c
4930
echo 'int i;' > conftest.h
4931
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
4947
for i in 1 2 3 4 5 6; do
4948
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4951
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4933
4953
case $depmode in
4946
4966
# mode. It turns out that the SunPro C++ compiler does not properly
4947
4967
# handle `-M -o', and we need to detect this.
4948
4968
if depmode=$depmode \
4949
source=conftest.c object=conftest.o \
4950
depfile=conftest.Po tmpdepfile=conftest.TPo \
4951
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
4952
grep conftest.h conftest.Po > /dev/null 2>&1 &&
4969
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4970
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4971
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4972
>/dev/null 2>conftest.err &&
4973
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4974
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4953
4975
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4954
am_cv_$1_dependencies_compiler_type=$depmode
4976
# icc doesn't choke on unknown options, it will just issue warnings
4977
# (even with -Werror). So we grep stderr for any message
4978
# that says an option was ignored.
4979
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4980
am_cv_$1_dependencies_compiler_type=$depmode
5139
AC_SUBST(am__include)
5141
AC_MSG_RESULT($_am_result)
5164
AC_SUBST([am__include])
5165
AC_SUBST([am__quote])
5166
AC_MSG_RESULT([$_am_result])
5142
5167
rm -f confinc confmf
5145
5170
# Add --enable-maintainer-mode option to configure.
5146
5171
# From Jim Meyering
5148
# Copyright 1996, 1998, 2000, 2001 Free Software Foundation, Inc.
5173
# Copyright 1996, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
5150
5175
# This program is free software; you can redistribute it and/or modify
5151
5176
# it under the terms of the GNU General Public License as published by