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.
921
919
# AM_CONDITIONAL -*- Autoconf -*-
923
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
921
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
924
922
# Free Software Foundation, Inc.
926
924
# This file is free software; the Free Software Foundation
927
925
# gives unlimited permission to copy and/or distribute it,
928
926
# with or without modifications, as long as this notice is preserved.
932
930
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
933
931
# -------------------------------------
953
952
Usually this means the macro was only invoked conditionally.]])
956
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
955
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
957
956
# Free Software Foundation, Inc.
959
958
# This file is free software; the Free Software Foundation
960
959
# gives unlimited permission to copy and/or distribute it,
961
960
# with or without modifications, as long as this notice is preserved.
965
964
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
966
965
# written in clear, in which case automake, when reading aclocal.m4,
1066
msvisualcpp | msvcmsys)
1067
# This compiler won't grok `-c -o', but also, the minuso test has
1068
# not run yet. These depmodes are late enough in the game, and
1069
# so weak that their functioning should not be impacted.
1070
am__obj=conftest.${OBJEXT-o}
1049
# We check with `-c' and `-o' for the sake of the "dashmstdout"
1050
# mode. It turns out that the SunPro C++ compiler does not properly
1051
# handle `-M -o', and we need to detect this.
1052
1075
if depmode=$depmode \
1053
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
1076
source=sub/conftest.c object=$am__obj \
1054
1077
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
1055
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
1078
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
1056
1079
>/dev/null 2>conftest.err &&
1057
1080
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
1058
1081
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
1059
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1082
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1060
1083
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1061
1084
# icc doesn't choke on unknown options, it will just issue warnings
1062
1085
# or remarks (even with -Werror). So we grep stderr for any message
1120
1143
# gives unlimited permission to copy and/or distribute it,
1121
1144
# with or without modifications, as long as this notice is preserved.
1125
1148
# _AM_OUTPUT_DEPENDENCY_COMMANDS
1126
1149
# ------------------------------
1127
1150
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
1128
[# Autoconf 2.62 quotes --file arguments for eval, but not when files
1129
# are listed without --file. Let's play safe and only enable the eval
1130
# if we detect the quoting.
1131
case $CONFIG_FILES in
1132
*\'*) eval set x "$CONFIG_FILES" ;;
1133
*) set x $CONFIG_FILES ;;
1138
# Strip MF so we end up with the name of the file.
1139
mf=`echo "$mf" | sed -e 's/:.*$//'`
1140
# Check whether this is an Automake generated Makefile or not.
1141
# We used to match only the files named `Makefile.in', but
1142
# some people rename them; so instead we look at the file content.
1143
# Grep'ing the first line is not enough: some people post-process
1144
# each Makefile.in and add a new line on top of each file to say so.
1145
# Grep'ing the whole file is not good either: AIX grep has a line
1146
# limit of 2048, but all sed's we know have understand at least 4000.
1147
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1148
dirpart=`AS_DIRNAME("$mf")`
1152
# Extract the definition of DEPDIR, am__include, and am__quote
1153
# from the Makefile without running `make'.
1154
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1155
test -z "$DEPDIR" && continue
1156
am__include=`sed -n 's/^am__include = //p' < "$mf"`
1157
test -z "am__include" && continue
1158
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1159
# When using ansi2knr, U may be empty or an underscore; expand it
1160
U=`sed -n 's/^U = //p' < "$mf"`
1161
# Find all dependency output files, they are included files with
1162
# $(DEPDIR) in their names. We invoke sed twice because it is the
1163
# simplest approach to changing $(DEPDIR) to its actual value in the
1165
for file in `sed -n "
1166
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1167
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1168
# Make sure the directory exists.
1169
test -f "$dirpart/$file" && continue
1170
fdir=`AS_DIRNAME(["$file"])`
1171
AS_MKDIR_P([$dirpart/$fdir])
1172
# echo "creating $dirpart/$file"
1173
echo '# dummy' > "$dirpart/$file"
1152
# Autoconf 2.62 quotes --file arguments for eval, but not when files
1153
# are listed without --file. Let's play safe and only enable the eval
1154
# if we detect the quoting.
1155
case $CONFIG_FILES in
1156
*\'*) eval set x "$CONFIG_FILES" ;;
1157
*) set x $CONFIG_FILES ;;
1162
# Strip MF so we end up with the name of the file.
1163
mf=`echo "$mf" | sed -e 's/:.*$//'`
1164
# Check whether this is an Automake generated Makefile or not.
1165
# We used to match only the files named `Makefile.in', but
1166
# some people rename them; so instead we look at the file content.
1167
# Grep'ing the first line is not enough: some people post-process
1168
# each Makefile.in and add a new line on top of each file to say so.
1169
# Grep'ing the whole file is not good either: AIX grep has a line
1170
# limit of 2048, but all sed's we know have understand at least 4000.
1171
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
1172
dirpart=`AS_DIRNAME("$mf")`
1176
# Extract the definition of DEPDIR, am__include, and am__quote
1177
# from the Makefile without running `make'.
1178
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
1179
test -z "$DEPDIR" && continue
1180
am__include=`sed -n 's/^am__include = //p' < "$mf"`
1181
test -z "am__include" && continue
1182
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
1183
# When using ansi2knr, U may be empty or an underscore; expand it
1184
U=`sed -n 's/^U = //p' < "$mf"`
1185
# Find all dependency output files, they are included files with
1186
# $(DEPDIR) in their names. We invoke sed twice because it is the
1187
# simplest approach to changing $(DEPDIR) to its actual value in the
1189
for file in `sed -n "
1190
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1191
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
1192
# Make sure the directory exists.
1193
test -f "$dirpart/$file" && continue
1194
fdir=`AS_DIRNAME(["$file"])`
1195
AS_MKDIR_P([$dirpart/$fdir])
1196
# echo "creating $dirpart/$file"
1197
echo '# dummy' > "$dirpart/$file"
1176
1201
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
1204
1229
# Do all the work for Automake. -*- Autoconf -*-
1206
1231
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
1207
# 2005, 2006, 2008 Free Software Foundation, Inc.
1232
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
1209
1234
# This file is free software; the Free Software Foundation
1210
1235
# gives unlimited permission to copy and/or distribute it,
1211
1236
# with or without modifications, as long as this notice is preserved.
1215
1240
# This macro actually does too much. Some checks are only needed if
1216
1241
# your package does certain things. But this isn't really a big deal.
1287
1312
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
1288
1313
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
1289
1314
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
1290
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1291
[_AM_PROG_TAR([v7])])])
1315
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
1316
[_AM_PROG_TAR([v7])])])
1292
1317
_AM_IF_OPTION([no-dependencies],,
1293
1318
[AC_PROVIDE_IFELSE([AC_PROG_CC],
1294
[_AM_DEPENDENCIES(CC)],
1295
[define([AC_PROG_CC],
1296
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1319
[_AM_DEPENDENCIES(CC)],
1320
[define([AC_PROG_CC],
1321
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
1297
1322
AC_PROVIDE_IFELSE([AC_PROG_CXX],
1298
[_AM_DEPENDENCIES(CXX)],
1299
[define([AC_PROG_CXX],
1300
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1323
[_AM_DEPENDENCIES(CXX)],
1324
[define([AC_PROG_CXX],
1325
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
1301
1326
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
1302
[_AM_DEPENDENCIES(OBJC)],
1303
[define([AC_PROG_OBJC],
1304
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1327
[_AM_DEPENDENCIES(OBJC)],
1328
[define([AC_PROG_OBJC],
1329
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
1331
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
1332
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
1333
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
1334
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
1335
AC_CONFIG_COMMANDS_PRE(dnl
1336
[m4_provide_if([_AM_COMPILER_EXEEXT],
1337
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
1340
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
1341
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
1342
dnl mangled by Autoconf and run in a shell conditional statement.
1343
m4_define([_AC_COMPILER_EXEEXT],
1344
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
1309
1347
# When config.status generates a header, we must update the stamp-h file.
1365
1410
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
1366
1411
# From Jim Meyering
1368
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
1413
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
1369
1414
# Free Software Foundation, Inc.
1371
1416
# This file is free software; the Free Software Foundation
1372
1417
# gives unlimited permission to copy and/or distribute it,
1373
1418
# with or without modifications, as long as this notice is preserved.
1422
# AM_MAINTAINER_MODE([DEFAULT-MODE])
1423
# ----------------------------------
1424
# Control maintainer-specific portions of Makefiles.
1425
# Default is to disable them, unless `enable' is passed literally.
1426
# For symmetry, `disable' may be passed as well. Anyway, the user
1427
# can override the default with the --enable/--disable switch.
1377
1428
AC_DEFUN([AM_MAINTAINER_MODE],
1378
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
1379
dnl maintainer-mode is disabled by default
1380
AC_ARG_ENABLE(maintainer-mode,
1381
[ --enable-maintainer-mode enable make rules and dependencies not useful
1429
[m4_case(m4_default([$1], [disable]),
1430
[enable], [m4_define([am_maintainer_other], [disable])],
1431
[disable], [m4_define([am_maintainer_other], [enable])],
1432
[m4_define([am_maintainer_other], [enable])
1433
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
1434
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
1435
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
1436
AC_ARG_ENABLE([maintainer-mode],
1437
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
1382
1438
(and sometimes confusing) to the casual installer],
1383
USE_MAINTAINER_MODE=$enableval,
1384
USE_MAINTAINER_MODE=no)
1439
[USE_MAINTAINER_MODE=$enableval],
1440
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
1385
1441
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
1386
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
1442
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
1387
1443
MAINT=$MAINTAINER_MODE_TRUE
1444
AC_SUBST([MAINT])dnl
1418
1474
_am_result=none
1419
1475
# First try GNU make style include.
1420
1476
echo "include confinc" > confmf
1421
# We grep out `Entering directory' and `Leaving directory'
1422
# messages which can occur if `w' ends up in MAKEFLAGS.
1423
# In particular we don't look at `^make:' because GNU make might
1424
# be invoked under some other name (usually "gmake"), in which
1425
# case it prints its new name instead of `make'.
1426
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1477
# Ignore all kinds of additional output from `make'.
1478
case `$am_make -s -f confmf 2> /dev/null` in #(
1479
*the\ am__doit\ target*)
1431
1485
# Now try BSD make style include.
1432
1486
if test "$am__include" = "#"; then
1433
1487
echo '.include "confinc"' > confmf
1434
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1435
am__include=.include
1488
case `$am_make -s -f confmf 2> /dev/null` in #(
1489
*the\ am__doit\ target*)
1490
am__include=.include
1440
1496
AC_SUBST([am__include])
1441
1497
AC_SUBST([am__quote])
1481
1537
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
1483
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
1539
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
1484
1540
# Free Software Foundation, Inc.
1486
1542
# This file is free software; the Free Software Foundation
1487
1543
# gives unlimited permission to copy and/or distribute it,
1488
1544
# with or without modifications, as long as this notice is preserved.
1492
1548
# AM_MISSING_PROG(NAME, PROGRAM)
1493
1549
# ------------------------------
1593
1656
echo timestamp > conftest.file
1657
# Reject unsafe characters in $srcdir or the absolute working directory
1658
# name. Accept space and tab only in the latter.
1662
*[[\\\"\#\$\&\'\`$am_lf]]*)
1663
AC_MSG_ERROR([unsafe absolute working directory name]);;
1666
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1667
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1594
1670
# Do `set' in a subshell so we don't clobber the current shell's
1595
1671
# arguments. Must try -L first in case configure is actually a
1596
1672
# symlink; some systems play weird games with the mod time of symlinks
1597
1673
# (eg FreeBSD returns the mod time of the symlink's containing
1600
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1676
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1601
1677
if test "$[*]" = "X"; then
1602
1678
# -L didn't work.
1603
set X `ls -t $srcdir/configure conftest.file`
1679
set X `ls -t "$srcdir/configure" conftest.file`
1605
1681
rm -f conftest.file
1606
1682
if test "$[*]" != "X $srcdir/configure conftest.file" \
1653
1729
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1654
1730
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1656
# Copyright (C) 2006 Free Software Foundation, Inc.
1732
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
1658
1734
# This file is free software; the Free Software Foundation
1659
1735
# gives unlimited permission to copy and/or distribute it,
1660
1736
# with or without modifications, as long as this notice is preserved.
1662
1740
# _AM_SUBST_NOTMAKE(VARIABLE)
1663
1741
# ---------------------------
1664
1742
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1665
1743
# This macro is traced by Automake.
1666
1744
AC_DEFUN([_AM_SUBST_NOTMAKE])
1746
# AM_SUBST_NOTMAKE(VARIABLE)
1747
# ---------------------------
1748
# Public sister of _AM_SUBST_NOTMAKE.
1749
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1668
1751
# Check how to create a tarball. -*- Autoconf -*-
1670
1753
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.