1
# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
1
# generated automatically by aclocal 1.11 -*- 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, 2006, 2007, 2008, 2009 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.
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
17
[m4_warning([this file was generated for autoconf 2.63.
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],,
17
[m4_warning([this file was generated for autoconf 2.64.
18
18
You have another version of autoconf. It may work, but is not guaranteed to.
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
858
858
# generated from the m4 files accompanying Automake X.Y.
859
859
# (This private macro should not be called outside this file.)
860
860
AC_DEFUN([AM_AUTOMAKE_VERSION],
861
[am__api_version='1.10'
861
[am__api_version='1.11'
862
862
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
863
863
dnl require some minimum version. Point them to the right macro.
864
m4_if([$1], [1.10.2], [],
864
m4_if([$1], [1.11], [],
865
865
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
877
877
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
878
878
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
879
879
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
880
[AM_AUTOMAKE_VERSION([1.10.2])dnl
880
[AM_AUTOMAKE_VERSION([1.11])dnl
881
881
m4_ifndef([AC_AUTOCONF_VERSION],
882
882
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
883
883
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
961
961
# AM_CONDITIONAL -*- Autoconf -*-
963
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
963
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
964
964
# Free Software Foundation, Inc.
966
966
# This file is free software; the Free Software Foundation
967
967
# gives unlimited permission to copy and/or distribute it,
968
968
# with or without modifications, as long as this notice is preserved.
972
972
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
973
973
# -------------------------------------
993
994
Usually this means the macro was only invoked conditionally.]])
996
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
997
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
997
998
# Free Software Foundation, Inc.
999
1000
# This file is free software; the Free Software Foundation
1000
1001
# gives unlimited permission to copy and/or distribute it,
1001
1002
# with or without modifications, as long as this notice is preserved.
1005
1006
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
1006
1007
# written in clear, in which case automake, when reading aclocal.m4,
1057
1058
if test "$am_compiler_list" = ""; then
1058
1059
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
1063
[case " $depcc " in #(
1064
*\ -arch\ *\ -arch\ *) am__universal=true ;;
1067
[case " $depcc " in #(
1068
*\ -arch\ *\ -arch\ *) am__universal=true ;;
1060
1071
for depmode in $am_compiler_list; do
1061
1072
# Setup a source with many dependencies, because some compilers
1062
1073
# like to wrap large dependency lists on column 80 (with \), and
1075
1086
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1088
# We check with `-c' and `-o' for the sake of the "dashmstdout"
1089
# mode. It turns out that the SunPro C++ compiler does not properly
1090
# handle `-M -o', and we need to detect this. Also, some Intel
1091
# versions had trouble with output in subdirs
1092
am__obj=sub/conftest.${OBJEXT-o}
1093
am__minus_obj="-o $am__obj"
1077
1094
case $depmode in
1096
# This depmode causes a compiler race in universal mode.
1097
test "$am__universal" = false || continue
1079
1100
# after this tag, mechanisms are not by side-effect, so they'll
1080
1101
# only be used when explicitly requested
1108
msvisualcpp | msvcmsys)
1109
# This compiler won't grok `-c -o', but also, the minuso test has
1110
# not run yet. These depmodes are late enough in the game, and
1111
# so weak that their functioning should not be impacted.
1112
am__obj=conftest.${OBJEXT-o}
1089
# We check with `-c' and `-o' for the sake of the "dashmstdout"
1090
# mode. It turns out that the SunPro C++ compiler does not properly
1091
# handle `-M -o', and we need to detect this.
1092
1117
if depmode=$depmode \
1093
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1118
source=sub/conftest.c object=$am__obj \
1094
1119
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1095
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1120
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1096
1121
>/dev/null 2>conftest.err &&
1097
1122
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1098
1123
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1099
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1124
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1100
1125
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1101
1126
# icc doesn't choke on unknown options, it will just issue warnings
1102
1127
# or remarks (even with -Werror). So we grep stderr for any message
1246
1271
# Do all the work for Automake. -*- Autoconf -*-
1248
1273
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
1249
# 2005, 2006, 2008 Free Software Foundation, Inc.
1274
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
1251
1276
# This file is free software; the Free Software Foundation
1252
1277
# gives unlimited permission to copy and/or distribute it,
1253
1278
# with or without modifications, as long as this notice is preserved.
1257
1282
# This macro actually does too much. Some checks are only needed if
1258
1283
# your package does certain things. But this isn't really a big deal.
1320
1345
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
1321
1346
AM_MISSING_PROG(AUTOHEADER, autoheader)
1322
1347
AM_MISSING_PROG(MAKEINFO, makeinfo)
1324
AM_PROG_INSTALL_STRIP
1348
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
1349
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
1325
1350
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
1326
1351
# We need awk for the "check" target. The system "awk" is bad on
1327
1352
# some platforms.
1329
1354
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1330
1355
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1331
1356
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1332
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1333
[_AM_PROG_TAR([v7])])])
1357
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1358
[_AM_PROG_TAR([v7])])])
1334
1359
_AM_IF_OPTION([no-dependencies],,
1335
1360
[AC_PROVIDE_IFELSE([AC_PROG_CC],
1336
[_AM_DEPENDENCIES(CC)],
1337
[define([AC_PROG_CC],
1338
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1361
[_AM_DEPENDENCIES(CC)],
1362
[define([AC_PROG_CC],
1363
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1339
1364
AC_PROVIDE_IFELSE([AC_PROG_CXX],
1340
[_AM_DEPENDENCIES(CXX)],
1341
[define([AC_PROG_CXX],
1342
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1365
[_AM_DEPENDENCIES(CXX)],
1366
[define([AC_PROG_CXX],
1367
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1343
1368
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1344
[_AM_DEPENDENCIES(OBJC)],
1345
[define([AC_PROG_OBJC],
1346
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1369
[_AM_DEPENDENCIES(OBJC)],
1370
[define([AC_PROG_OBJC],
1371
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1373
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1374
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
1375
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1376
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1377
AC_CONFIG_COMMANDS_PRE(dnl
1378
[m4_provide_if([_AM_COMPILER_EXEEXT],
1379
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1382
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
1383
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
1384
dnl mangled by Autoconf and run in a shell conditional statement.
1385
m4_define([_AC_COMPILER_EXEEXT],
1386
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
1351
1389
# When config.status generates a header, we must update the stamp-h file.
1370
1408
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
1372
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
1410
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
1374
1412
# This file is free software; the Free Software Foundation
1375
1413
# gives unlimited permission to copy and/or distribute it,
1380
1418
# Define $install_sh.
1381
1419
AC_DEFUN([AM_PROG_INSTALL_SH],
1382
1420
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1383
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
1421
if test x"${install_sh}" != xset; then
1424
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1426
install_sh="\${SHELL} $am_aux_dir/install-sh"
1384
1429
AC_SUBST(install_sh)])
1386
1431
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
1407
1452
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
1408
1453
# From Jim Meyering
1410
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
1455
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
1411
1456
# Free Software Foundation, Inc.
1413
1458
# This file is free software; the Free Software Foundation
1414
1459
# gives unlimited permission to copy and/or distribute it,
1415
1460
# with or without modifications, as long as this notice is preserved.
1464
# AM_MAINTAINER_MODE([DEFAULT-MODE])
1465
# ----------------------------------
1466
# Control maintainer-specific portions of Makefiles.
1467
# Default is to disable them, unless `enable' is passed literally.
1468
# For symmetry, `disable' may be passed as well. Anyway, the user
1469
# can override the default with the --enable/--disable switch.
1419
1470
AC_DEFUN([AM_MAINTAINER_MODE],
1420
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1421
dnl maintainer-mode is disabled by default
1422
AC_ARG_ENABLE(maintainer-mode,
1423
[ --enable-maintainer-mode enable make rules and dependencies not useful
1471
[m4_case(m4_default([$1], [disable]),
1472
[enable], [m4_define([am_maintainer_other], [disable])],
1473
[disable], [m4_define([am_maintainer_other], [enable])],
1474
[m4_define([am_maintainer_other], [enable])
1475
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1476
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
1477
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1478
AC_ARG_ENABLE([maintainer-mode],
1479
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
1424
1480
(and sometimes confusing) to the casual installer],
1425
USE_MAINTAINER_MODE=$enableval,
1426
USE_MAINTAINER_MODE=no)
1481
[USE_MAINTAINER_MODE=$enableval],
1482
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1427
1483
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1428
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
1484
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1429
1485
MAINT=$MAINTAINER_MODE_TRUE
1486
AC_SUBST([MAINT])dnl
1436
1492
# Check to see how 'make' treats includes. -*- Autoconf -*-
1438
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
1494
# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
1440
1496
# This file is free software; the Free Software Foundation
1441
1497
# gives unlimited permission to copy and/or distribute it,
1442
1498
# with or without modifications, as long as this notice is preserved.
1446
1502
# AM_MAKE_INCLUDE()
1447
1503
# -----------------
1460
1516
_am_result=none
1461
1517
# First try GNU make style include.
1462
1518
echo "include confinc" > confmf
1463
# We grep out `Entering directory' and `Leaving directory'
1464
# messages which can occur if `w' ends up in MAKEFLAGS.
1465
# In particular we don't look at `^make:' because GNU make might
1466
# be invoked under some other name (usually "gmake"), in which
1467
# case it prints its new name instead of `make'.
1468
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1519
# Ignore all kinds of additional output from `make'.
1520
case `$am_make -s -f confmf 2> /dev/null` in #(
1521
*the\ am__doit\ target*)
1473
1527
# Now try BSD make style include.
1474
1528
if test "$am__include" = "#"; then
1475
1529
echo '.include "confinc"' > confmf
1476
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1477
am__include=.include
1530
case `$am_make -s -f confmf 2> /dev/null` in #(
1531
*the\ am__doit\ target*)
1532
am__include=.include
1482
1538
AC_SUBST([am__include])
1483
1539
AC_SUBST([am__quote])
1488
1544
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1490
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
1546
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
1491
1547
# Free Software Foundation, Inc.
1493
1549
# This file is free software; the Free Software Foundation
1494
1550
# gives unlimited permission to copy and/or distribute it,
1495
1551
# with or without modifications, as long as this notice is preserved.
1499
1555
# AM_MISSING_PROG(NAME, PROGRAM)
1500
1556
# ------------------------------
1511
1567
AC_DEFUN([AM_MISSING_HAS_RUN],
1512
1568
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
1513
1569
AC_REQUIRE_AUX_FILE([missing])dnl
1514
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1570
if test x"${MISSING+set}" != xset; then
1573
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1575
MISSING="\${SHELL} $am_aux_dir/missing" ;;
1515
1578
# Use eval to expand $SHELL
1516
1579
if eval "$MISSING --run true"; then
1517
1580
am_missing_run="$MISSING --run "
1583
1646
# Check to make sure that the build environment is sane. -*- Autoconf -*-
1585
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
1648
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
1586
1649
# Free Software Foundation, Inc.
1588
1651
# This file is free software; the Free Software Foundation
1589
1652
# gives unlimited permission to copy and/or distribute it,
1590
1653
# with or without modifications, as long as this notice is preserved.
1594
1657
# AM_SANITY_CHECK
1595
1658
# ---------------
1600
1663
echo timestamp > conftest.file
1664
# Reject unsafe characters in $srcdir or the absolute working directory
1665
# name. Accept space and tab only in the latter.
1669
*[[\\\"\#\$\&\'\`$am_lf]]*)
1670
AC_MSG_ERROR([unsafe absolute working directory name]);;
1673
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1674
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1601
1677
# Do `set' in a subshell so we don't clobber the current shell's
1602
1678
# arguments. Must try -L first in case configure is actually a
1603
1679
# symlink; some systems play weird games with the mod time of symlinks
1604
1680
# (eg FreeBSD returns the mod time of the symlink's containing
1607
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1683
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1608
1684
if test "$[*]" = "X"; then
1609
1685
# -L didn't work.
1610
set X `ls -t $srcdir/configure conftest.file`
1686
set X `ls -t "$srcdir/configure" conftest.file`
1612
1688
rm -f conftest.file
1613
1689
if test "$[*]" != "X $srcdir/configure conftest.file" \
1660
1736
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1661
1737
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1663
# Copyright (C) 2006 Free Software Foundation, Inc.
1739
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
1665
1741
# This file is free software; the Free Software Foundation
1666
1742
# gives unlimited permission to copy and/or distribute it,
1667
1743
# with or without modifications, as long as this notice is preserved.
1669
1747
# _AM_SUBST_NOTMAKE(VARIABLE)
1670
1748
# ---------------------------
1671
1749
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1672
1750
# This macro is traced by Automake.
1673
1751
AC_DEFUN([_AM_SUBST_NOTMAKE])
1753
# AM_SUBST_NOTMAKE(VARIABLE)
1754
# ---------------------------
1755
# Public sister of _AM_SUBST_NOTMAKE.
1756
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1675
1758
# Check how to create a tarball. -*- Autoconf -*-
1677
1760
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.