1
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
1
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
4
# 2005 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,
7
7
# with or without modifications, as long as this notice is preserved.
11
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
12
# PARTICULAR PURPOSE.
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
m4_if(AC_AUTOCONF_VERSION, [2.61],,
17
[m4_warning([this file was generated for autoconf 2.61.
18
You have another version of autoconf. It may work, but is not guaranteed to.
19
If you have problems, you may need to regenerate the build system entirely.
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
22
14
# iconv.m4 serial AM6 (gettext-0.17)
23
15
dnl Copyright (C) 2000-2002, 2007 Free Software Foundation, Inc.
24
16
dnl This file is free software; the Free Software Foundation
1024
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
1016
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
1026
1018
# This file is free software; the Free Software Foundation
1027
1019
# gives unlimited permission to copy and/or distribute it,
1031
1023
# ----------------------------
1032
1024
# Automake X.Y traces this macro to ensure aclocal.m4 has been
1033
1025
# generated from the m4 files accompanying Automake X.Y.
1034
# (This private macro should not be called outside this file.)
1035
AC_DEFUN([AM_AUTOMAKE_VERSION],
1036
[am__api_version='1.10'
1037
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
1038
dnl require some minimum version. Point them to the right macro.
1039
m4_if([$1], [1.10.1], [],
1040
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
1043
# _AM_AUTOCONF_VERSION(VERSION)
1044
# -----------------------------
1045
# aclocal traces this macro to find the Autoconf version.
1046
# This is a private macro too. Using m4_define simplifies
1047
# the logic in aclocal, which can simply ignore this definition.
1048
m4_define([_AM_AUTOCONF_VERSION], [])
1026
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
1050
1028
# AM_SET_CURRENT_AUTOMAKE_VERSION
1051
1029
# -------------------------------
1052
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
1030
# Call AM_AUTOMAKE_VERSION so it can be traced.
1053
1031
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
1054
1032
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
1055
[AM_AUTOMAKE_VERSION([1.10.1])dnl
1056
m4_ifndef([AC_AUTOCONF_VERSION],
1057
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
1058
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
1033
[AM_AUTOMAKE_VERSION([1.9.6])])
1060
1035
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
1113
1088
# AM_CONDITIONAL -*- Autoconf -*-
1115
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
1090
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
1116
1091
# Free Software Foundation, Inc.
1118
1093
# This file is free software; the Free Software Foundation
1119
1094
# gives unlimited permission to copy and/or distribute it,
1120
1095
# with or without modifications, as long as this notice is preserved.
1124
1099
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
1125
1100
# -------------------------------------
1145
1118
Usually this means the macro was only invoked conditionally.]])
1148
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
1122
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
1149
1123
# Free Software Foundation, Inc.
1151
1125
# This file is free software; the Free Software Foundation
1152
1126
# gives unlimited permission to copy and/or distribute it,
1153
1127
# with or without modifications, as long as this notice is preserved.
1157
1131
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
1158
1132
# written in clear, in which case automake, when reading aclocal.m4,
1180
1154
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
1181
1155
[$1], CXX, [depcc="$CXX" am_compiler_list=],
1182
1156
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
1183
[$1], UPC, [depcc="$UPC" am_compiler_list=],
1184
1157
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
1185
1158
[depcc="$$1" am_compiler_list=])
1325
1296
# some people rename them; so instead we look at the file content.
1326
1297
# Grep'ing the first line is not enough: some people post-process
1327
1298
# each Makefile.in and add a new line on top of each file to say so.
1328
# Grep'ing the whole file is not good either: AIX grep has a line
1329
# limit of 2048, but all sed's we know have understand at least 4000.
1330
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1299
# So let's grep whole file.
1300
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
1331
1301
dirpart=`AS_DIRNAME("$mf")`
1375
1345
# Do all the work for Automake. -*- Autoconf -*-
1377
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
1378
# 2005, 2006, 2008 Free Software Foundation, Inc.
1347
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
1348
# Free Software Foundation, Inc.
1380
1350
# This file is free software; the Free Software Foundation
1381
1351
# gives unlimited permission to copy and/or distribute it,
1382
1352
# with or without modifications, as long as this notice is preserved.
1386
1356
# This macro actually does too much. Some checks are only needed if
1387
1357
# your package does certain things. But this isn't really a big deal.
1398
1368
# arguments mandatory, and then we can depend on a new Autoconf
1399
1369
# release and drop the old call support.
1400
1370
AC_DEFUN([AM_INIT_AUTOMAKE],
1401
[AC_PREREQ([2.60])dnl
1371
[AC_PREREQ([2.58])dnl
1402
1372
dnl Autoconf wants to disallow AM_ names. We explicitly allow
1403
1373
dnl the ones we care about.
1404
1374
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
1405
1375
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
1406
1376
AC_REQUIRE([AC_PROG_INSTALL])dnl
1407
if test "`cd $srcdir && pwd`" != "`pwd`"; then
1408
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1409
# is not polluted with repeated "-I."
1410
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
1411
# test to see if srcdir already configured
1412
if test -f $srcdir/config.status; then
1413
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1377
# test to see if srcdir already configured
1378
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1379
test -f $srcdir/config.status; then
1380
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
1417
1383
# test whether we have cygpath
1431
1397
AC_SUBST([PACKAGE], [$1])dnl
1432
1398
AC_SUBST([VERSION], [$2])],
1433
1399
[_AM_SET_OPTIONS([$1])dnl
1434
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
1435
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
1436
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
1437
1400
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
1438
1401
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
1486
1445
# our stamp files there.
1487
1446
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
1488
1447
[# Compute $1's index in $config_headers.
1490
1448
_am_stamp_count=1
1491
1449
for _am_header in $config_headers :; do
1492
1450
case $_am_header in
1493
$_am_arg | $_am_arg:* )
1496
1454
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
1499
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1457
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
1501
1459
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
1585
1543
rm -f confinc confmf
1588
# Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005
1589
# Free Software Foundation, Inc.
1546
# Copyright (C) 1999, 2000, 2001, 2003, 2005 Free Software Foundation, Inc.
1591
1548
# This file is free software; the Free Software Foundation
1592
1549
# gives unlimited permission to copy and/or distribute it,
1593
1550
# with or without modifications, as long as this notice is preserved.
1597
1554
# AM_PROG_CC_C_O
1598
1555
# --------------
1613
1569
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1614
1570
CC="$am_aux_dir/compile $CC"
1616
dnl Make sure AC_PROG_CC is never called again, or it will override our
1618
m4_define([AC_PROG_CC],
1619
[m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
1622
1574
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1624
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
1576
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
1625
1577
# Free Software Foundation, Inc.
1627
1579
# This file is free software; the Free Software Foundation
1628
1580
# gives unlimited permission to copy and/or distribute it,
1629
1581
# with or without modifications, as long as this notice is preserved.
1633
1585
# AM_MISSING_PROG(NAME, PROGRAM)
1634
1586
# ------------------------------
1644
1596
# If it does, set am_missing_run to use it, otherwise, to nothing.
1645
1597
AC_DEFUN([AM_MISSING_HAS_RUN],
1646
1598
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1647
AC_REQUIRE_AUX_FILE([missing])dnl
1648
1599
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1649
1600
# Use eval to expand $SHELL
1650
1601
if eval "$MISSING --run true"; then
1658
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1609
# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
1660
1611
# This file is free software; the Free Software Foundation
1661
1612
# gives unlimited permission to copy and/or distribute it,
1664
1615
# AM_PROG_MKDIR_P
1665
1616
# ---------------
1666
# Check for `mkdir -p'.
1617
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
1619
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
1620
# created by `make install' are always world readable, even if the
1621
# installer happens to have an overly restrictive umask (e.g. 077).
1622
# This was a mistake. There are at least two reasons why we must not
1624
# - it causes special bits like SGID to be ignored,
1625
# - it may be too restrictive (some setups expect 775 directories).
1627
# Do not use -m 0755 and let people choose whatever they expect by
1630
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
1631
# Some implementations (such as Solaris 8's) are not thread-safe: if a
1632
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
1633
# concurrently, both version can detect that a/ is missing, but only
1634
# one can create it and the other will error out. Consequently we
1635
# restrict ourselves to GNU make (using the --version option ensures
1667
1637
AC_DEFUN([AM_PROG_MKDIR_P],
1668
[AC_PREREQ([2.60])dnl
1669
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
1670
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
1671
dnl while keeping a definition of mkdir_p for backward compatibility.
1672
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
1673
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
1674
dnl Makefile.ins that do not define MKDIR_P, so we do our own
1675
dnl adjustment using top_builddir (which is defined more often than
1677
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
1679
[[\\/$]]* | ?:[[\\/]]*) ;;
1680
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1638
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1639
# We used to keeping the `.' as first argument, in order to
1640
# allow $(mkdir_p) to be used without argument. As in
1641
# $(mkdir_p) $(somedir)
1642
# where $(somedir) is conditionally defined. However this is wrong
1644
# 1. if the package is installed by a user who cannot write `.'
1645
# make install will fail,
1646
# 2. the above comment should most certainly read
1647
# $(mkdir_p) $(DESTDIR)$(somedir)
1648
# so it does not work when $(somedir) is undefined and
1649
# $(DESTDIR) is not.
1650
# To support the latter case, we have to write
1651
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1652
# so the `.' trick is pointless.
1653
mkdir_p='mkdir -p --'
1655
# On NextStep and OpenStep, the `mkdir' command does not
1656
# recognize any option. It will interpret all options as
1657
# directories to create, and then abort because `.' already
1659
for d in ./-p ./--version;
1661
test -d $d && rmdir $d
1663
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1664
if test -f "$ac_aux_dir/mkinstalldirs"; then
1665
mkdir_p='$(mkinstalldirs)'
1667
mkdir_p='$(install_sh) -d'
1670
AC_SUBST([mkdir_p])])
1684
1672
# Helper functions for option handling. -*- Autoconf -*-
1791
1779
if test "$cross_compiling" != no; then
1792
1780
AC_CHECK_TOOL([STRIP], [strip], :)
1794
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1782
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1795
1783
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1797
# Copyright (C) 2006 Free Software Foundation, Inc.
1799
# This file is free software; the Free Software Foundation
1800
# gives unlimited permission to copy and/or distribute it,
1801
# with or without modifications, as long as this notice is preserved.
1803
# _AM_SUBST_NOTMAKE(VARIABLE)
1804
# ---------------------------
1805
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1806
# This macro is traced by Automake.
1807
AC_DEFUN([_AM_SUBST_NOTMAKE])
1809
1785
# Check how to create a tarball. -*- Autoconf -*-
1811
1787
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.