1
# generated automatically by aclocal 1.11 -*- Autoconf -*-
1
# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
4
# 2005, 2006, 2007, 2008 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.64],,
17
[m4_warning([this file was generated for autoconf 2.64.
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
17
[m4_warning([this file was generated for autoconf 2.63.
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'.])])
8813
8810
# generated from the m4 files accompanying Automake X.Y.
8814
8811
# (This private macro should not be called outside this file.)
8815
8812
AC_DEFUN([AM_AUTOMAKE_VERSION],
8816
[am__api_version='1.11'
8813
[am__api_version='1.10'
8817
8814
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
8818
8815
dnl require some minimum version. Point them to the right macro.
8819
m4_if([$1], [1.11], [],
8816
m4_if([$1], [1.10.2], [],
8820
8817
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
8832
8829
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
8833
8830
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
8834
8831
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8835
[AM_AUTOMAKE_VERSION([1.11])dnl
8832
[AM_AUTOMAKE_VERSION([1.10.2])dnl
8836
8833
m4_ifndef([AC_AUTOCONF_VERSION],
8837
8834
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
8838
8835
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
8893
8890
# AM_CONDITIONAL -*- Autoconf -*-
8895
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
8892
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
8896
8893
# Free Software Foundation, Inc.
8898
8895
# This file is free software; the Free Software Foundation
8899
8896
# gives unlimited permission to copy and/or distribute it,
8900
8897
# with or without modifications, as long as this notice is preserved.
8904
8901
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
8905
8902
# -------------------------------------
8926
8922
Usually this means the macro was only invoked conditionally.]])
8929
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
8925
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
8930
8926
# Free Software Foundation, Inc.
8932
8928
# This file is free software; the Free Software Foundation
8933
8929
# gives unlimited permission to copy and/or distribute it,
8934
8930
# with or without modifications, as long as this notice is preserved.
8938
8934
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
8939
8935
# written in clear, in which case automake, when reading aclocal.m4,
8990
8986
if test "$am_compiler_list" = ""; then
8991
8987
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
8995
[case " $depcc " in #(
8996
*\ -arch\ *\ -arch\ *) am__universal=true ;;
8999
[case " $depcc " in #(
9000
*\ -arch\ *\ -arch\ *) am__universal=true ;;
9003
8989
for depmode in $am_compiler_list; do
9004
8990
# Setup a source with many dependencies, because some compilers
9005
8991
# like to wrap large dependency lists on column 80 (with \), and
9018
9004
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9020
# We check with `-c' and `-o' for the sake of the "dashmstdout"
9021
# mode. It turns out that the SunPro C++ compiler does not properly
9022
# handle `-M -o', and we need to detect this. Also, some Intel
9023
# versions had trouble with output in subdirs
9024
am__obj=sub/conftest.${OBJEXT-o}
9025
am__minus_obj="-o $am__obj"
9026
9006
case $depmode in
9028
# This depmode causes a compiler race in universal mode.
9029
test "$am__universal" = false || continue
9032
9008
# after this tag, mechanisms are not by side-effect, so they'll
9033
9009
# only be used when explicitly requested
9040
msvisualcpp | msvcmsys)
9041
# This compiler won't grok `-c -o', but also, the minuso test has
9042
# not run yet. These depmodes are late enough in the game, and
9043
# so weak that their functioning should not be impacted.
9044
am__obj=conftest.${OBJEXT-o}
9018
# We check with `-c' and `-o' for the sake of the "dashmstdout"
9019
# mode. It turns out that the SunPro C++ compiler does not properly
9020
# handle `-M -o', and we need to detect this.
9049
9021
if depmode=$depmode \
9050
source=sub/conftest.c object=$am__obj \
9022
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
9051
9023
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9052
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9024
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
9053
9025
>/dev/null 2>conftest.err &&
9054
9026
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9055
9027
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9056
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9028
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
9057
9029
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9058
9030
# icc doesn't choke on unknown options, it will just issue warnings
9059
9031
# or remarks (even with -Werror). So we grep stderr for any message
9191
9163
# Do all the work for Automake. -*- Autoconf -*-
9193
9165
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
9194
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
9166
# 2005, 2006, 2008 Free Software Foundation, Inc.
9196
9168
# This file is free software; the Free Software Foundation
9197
9169
# gives unlimited permission to copy and/or distribute it,
9198
9170
# with or without modifications, as long as this notice is preserved.
9202
9174
# This macro actually does too much. Some checks are only needed if
9203
9175
# your package does certain things. But this isn't really a big deal.
9265
9237
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
9266
9238
AM_MISSING_PROG(AUTOHEADER, autoheader)
9267
9239
AM_MISSING_PROG(MAKEINFO, makeinfo)
9268
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
9269
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
9241
AM_PROG_INSTALL_STRIP
9270
9242
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
9271
9243
# We need awk for the "check" target. The system "awk" is bad on
9272
9244
# some platforms.
9274
9246
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
9275
9247
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9276
9248
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9277
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9278
[_AM_PROG_TAR([v7])])])
9249
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9250
[_AM_PROG_TAR([v7])])])
9279
9251
_AM_IF_OPTION([no-dependencies],,
9280
9252
[AC_PROVIDE_IFELSE([AC_PROG_CC],
9281
[_AM_DEPENDENCIES(CC)],
9282
[define([AC_PROG_CC],
9283
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9253
[_AM_DEPENDENCIES(CC)],
9254
[define([AC_PROG_CC],
9255
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9284
9256
AC_PROVIDE_IFELSE([AC_PROG_CXX],
9285
[_AM_DEPENDENCIES(CXX)],
9286
[define([AC_PROG_CXX],
9287
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9257
[_AM_DEPENDENCIES(CXX)],
9258
[define([AC_PROG_CXX],
9259
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9288
9260
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
9289
[_AM_DEPENDENCIES(OBJC)],
9290
[define([AC_PROG_OBJC],
9291
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9293
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
9294
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
9295
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
9296
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
9297
AC_CONFIG_COMMANDS_PRE(dnl
9298
[m4_provide_if([_AM_COMPILER_EXEEXT],
9299
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
9302
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
9303
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
9304
dnl mangled by Autoconf and run in a shell conditional statement.
9305
m4_define([_AC_COMPILER_EXEEXT],
9306
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
9261
[_AM_DEPENDENCIES(OBJC)],
9262
[define([AC_PROG_OBJC],
9263
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9309
9268
# When config.status generates a header, we must update the stamp-h file.
9328
9287
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9330
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
9289
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
9332
9291
# This file is free software; the Free Software Foundation
9333
9292
# gives unlimited permission to copy and/or distribute it,
9338
9297
# Define $install_sh.
9339
9298
AC_DEFUN([AM_PROG_INSTALL_SH],
9340
9299
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9341
if test x"${install_sh}" != xset; then
9344
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
9346
install_sh="\${SHELL} $am_aux_dir/install-sh"
9300
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
9349
9301
AC_SUBST(install_sh)])
9351
9303
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
9372
9324
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
9373
9325
# From Jim Meyering
9375
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9327
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
9376
9328
# Free Software Foundation, Inc.
9378
9330
# This file is free software; the Free Software Foundation
9379
9331
# gives unlimited permission to copy and/or distribute it,
9380
9332
# with or without modifications, as long as this notice is preserved.
9384
# AM_MAINTAINER_MODE([DEFAULT-MODE])
9385
# ----------------------------------
9386
# Control maintainer-specific portions of Makefiles.
9387
# Default is to disable them, unless `enable' is passed literally.
9388
# For symmetry, `disable' may be passed as well. Anyway, the user
9389
# can override the default with the --enable/--disable switch.
9390
9336
AC_DEFUN([AM_MAINTAINER_MODE],
9391
[m4_case(m4_default([$1], [disable]),
9392
[enable], [m4_define([am_maintainer_other], [disable])],
9393
[disable], [m4_define([am_maintainer_other], [enable])],
9394
[m4_define([am_maintainer_other], [enable])
9395
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
9396
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
9397
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
9398
AC_ARG_ENABLE([maintainer-mode],
9399
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
9337
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
9338
dnl maintainer-mode is disabled by default
9339
AC_ARG_ENABLE(maintainer-mode,
9340
[ --enable-maintainer-mode enable make rules and dependencies not useful
9400
9341
(and sometimes confusing) to the casual installer],
9401
[USE_MAINTAINER_MODE=$enableval],
9402
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
9342
USE_MAINTAINER_MODE=$enableval,
9343
USE_MAINTAINER_MODE=no)
9403
9344
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
9404
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
9345
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
9405
9346
MAINT=$MAINTAINER_MODE_TRUE
9406
AC_SUBST([MAINT])dnl
9412
9353
# Check to see how 'make' treats includes. -*- Autoconf -*-
9414
# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
9355
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
9416
9357
# This file is free software; the Free Software Foundation
9417
9358
# gives unlimited permission to copy and/or distribute it,
9418
9359
# with or without modifications, as long as this notice is preserved.
9422
9363
# AM_MAKE_INCLUDE()
9423
9364
# -----------------
9436
9377
_am_result=none
9437
9378
# First try GNU make style include.
9438
9379
echo "include confinc" > confmf
9439
# Ignore all kinds of additional output from `make'.
9440
case `$am_make -s -f confmf 2> /dev/null` in #(
9441
*the\ am__doit\ target*)
9380
# We grep out `Entering directory' and `Leaving directory'
9381
# messages which can occur if `w' ends up in MAKEFLAGS.
9382
# In particular we don't look at `^make:' because GNU make might
9383
# be invoked under some other name (usually "gmake"), in which
9384
# case it prints its new name instead of `make'.
9385
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
9447
9390
# Now try BSD make style include.
9448
9391
if test "$am__include" = "#"; then
9449
9392
echo '.include "confinc"' > confmf
9450
case `$am_make -s -f confmf 2> /dev/null` in #(
9451
*the\ am__doit\ target*)
9452
am__include=.include
9393
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
9394
am__include=.include
9458
9399
AC_SUBST([am__include])
9459
9400
AC_SUBST([am__quote])
9464
9405
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
9466
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
9407
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
9467
9408
# Free Software Foundation, Inc.
9469
9410
# This file is free software; the Free Software Foundation
9470
9411
# gives unlimited permission to copy and/or distribute it,
9471
9412
# with or without modifications, as long as this notice is preserved.
9475
9416
# AM_MISSING_PROG(NAME, PROGRAM)
9476
9417
# ------------------------------
9487
9428
AC_DEFUN([AM_MISSING_HAS_RUN],
9488
9429
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9489
9430
AC_REQUIRE_AUX_FILE([missing])dnl
9490
if test x"${MISSING+set}" != xset; then
9493
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
9495
MISSING="\${SHELL} $am_aux_dir/missing" ;;
9431
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
9498
9432
# Use eval to expand $SHELL
9499
9433
if eval "$MISSING --run true"; then
9500
9434
am_missing_run="$MISSING --run "
9566
9500
# Check to make sure that the build environment is sane. -*- Autoconf -*-
9568
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
9502
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
9569
9503
# Free Software Foundation, Inc.
9571
9505
# This file is free software; the Free Software Foundation
9572
9506
# gives unlimited permission to copy and/or distribute it,
9573
9507
# with or without modifications, as long as this notice is preserved.
9577
9511
# AM_SANITY_CHECK
9578
9512
# ---------------
9583
9517
echo timestamp > conftest.file
9584
# Reject unsafe characters in $srcdir or the absolute working directory
9585
# name. Accept space and tab only in the latter.
9589
*[[\\\"\#\$\&\'\`$am_lf]]*)
9590
AC_MSG_ERROR([unsafe absolute working directory name]);;
9593
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
9594
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
9597
9518
# Do `set' in a subshell so we don't clobber the current shell's
9598
9519
# arguments. Must try -L first in case configure is actually a
9599
9520
# symlink; some systems play weird games with the mod time of symlinks
9600
9521
# (eg FreeBSD returns the mod time of the symlink's containing
9603
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9524
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
9604
9525
if test "$[*]" = "X"; then
9605
9526
# -L didn't work.
9606
set X `ls -t "$srcdir/configure" conftest.file`
9527
set X `ls -t $srcdir/configure conftest.file`
9608
9529
rm -f conftest.file
9609
9530
if test "$[*]" != "X $srcdir/configure conftest.file" \
9656
9577
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9657
9578
AC_SUBST([INSTALL_STRIP_PROGRAM])])
9659
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
9580
# Copyright (C) 2006 Free Software Foundation, Inc.
9661
9582
# This file is free software; the Free Software Foundation
9662
9583
# gives unlimited permission to copy and/or distribute it,
9663
9584
# with or without modifications, as long as this notice is preserved.
9667
9586
# _AM_SUBST_NOTMAKE(VARIABLE)
9668
9587
# ---------------------------
9669
9588
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
9670
9589
# This macro is traced by Automake.
9671
9590
AC_DEFUN([_AM_SUBST_NOTMAKE])
9673
# AM_SUBST_NOTMAKE(VARIABLE)
9674
# ---------------------------
9675
# Public sister of _AM_SUBST_NOTMAKE.
9676
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
9678
9592
# Check how to create a tarball. -*- Autoconf -*-
9680
9594
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.