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'.])])
9339
9342
# generated from the m4 files accompanying Automake X.Y.
9340
9343
# (This private macro should not be called outside this file.)
9341
9344
AC_DEFUN([AM_AUTOMAKE_VERSION],
9342
[am__api_version='1.10'
9345
[am__api_version='1.11'
9343
9346
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
9344
9347
dnl require some minimum version. Point them to the right macro.
9345
m4_if([$1], [1.10.2], [],
9348
m4_if([$1], [1.11], [],
9346
9349
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
9358
9361
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
9359
9362
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
9360
9363
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
9361
[AM_AUTOMAKE_VERSION([1.10.2])dnl
9364
[AM_AUTOMAKE_VERSION([1.11])dnl
9362
9365
m4_ifndef([AC_AUTOCONF_VERSION],
9363
9366
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
9364
9367
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
9419
9422
# AM_CONDITIONAL -*- Autoconf -*-
9421
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
9424
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
9422
9425
# Free Software Foundation, Inc.
9424
9427
# This file is free software; the Free Software Foundation
9425
9428
# gives unlimited permission to copy and/or distribute it,
9426
9429
# with or without modifications, as long as this notice is preserved.
9430
9433
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
9431
9434
# -------------------------------------
9451
9455
Usually this means the macro was only invoked conditionally.]])
9454
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
9458
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
9455
9459
# Free Software Foundation, Inc.
9457
9461
# This file is free software; the Free Software Foundation
9458
9462
# gives unlimited permission to copy and/or distribute it,
9459
9463
# with or without modifications, as long as this notice is preserved.
9463
9467
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
9464
9468
# written in clear, in which case automake, when reading aclocal.m4,
9515
9519
if test "$am_compiler_list" = ""; then
9516
9520
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
9524
[case " $depcc " in #(
9525
*\ -arch\ *\ -arch\ *) am__universal=true ;;
9528
[case " $depcc " in #(
9529
*\ -arch\ *\ -arch\ *) am__universal=true ;;
9518
9532
for depmode in $am_compiler_list; do
9519
9533
# Setup a source with many dependencies, because some compilers
9520
9534
# like to wrap large dependency lists on column 80 (with \), and
9533
9547
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9549
# We check with `-c' and `-o' for the sake of the "dashmstdout"
9550
# mode. It turns out that the SunPro C++ compiler does not properly
9551
# handle `-M -o', and we need to detect this. Also, some Intel
9552
# versions had trouble with output in subdirs
9553
am__obj=sub/conftest.${OBJEXT-o}
9554
am__minus_obj="-o $am__obj"
9535
9555
case $depmode in
9557
# This depmode causes a compiler race in universal mode.
9558
test "$am__universal" = false || continue
9537
9561
# after this tag, mechanisms are not by side-effect, so they'll
9538
9562
# only be used when explicitly requested
9569
msvisualcpp | msvcmsys)
9570
# This compiler won't grok `-c -o', but also, the minuso test has
9571
# not run yet. These depmodes are late enough in the game, and
9572
# so weak that their functioning should not be impacted.
9573
am__obj=conftest.${OBJEXT-o}
9547
# We check with `-c' and `-o' for the sake of the "dashmstdout"
9548
# mode. It turns out that the SunPro C++ compiler does not properly
9549
# handle `-M -o', and we need to detect this.
9550
9578
if depmode=$depmode \
9551
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
9579
source=sub/conftest.c object=$am__obj \
9552
9580
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9553
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
9581
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9554
9582
>/dev/null 2>conftest.err &&
9555
9583
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9556
9584
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9557
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
9585
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9558
9586
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9559
9587
# icc doesn't choke on unknown options, it will just issue warnings
9560
9588
# or remarks (even with -Werror). So we grep stderr for any message
9692
9720
# Do all the work for Automake. -*- Autoconf -*-
9694
9722
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
9695
# 2005, 2006, 2008 Free Software Foundation, Inc.
9723
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
9697
9725
# This file is free software; the Free Software Foundation
9698
9726
# gives unlimited permission to copy and/or distribute it,
9699
9727
# with or without modifications, as long as this notice is preserved.
9703
9731
# This macro actually does too much. Some checks are only needed if
9704
9732
# your package does certain things. But this isn't really a big deal.
9766
9794
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
9767
9795
AM_MISSING_PROG(AUTOHEADER, autoheader)
9768
9796
AM_MISSING_PROG(MAKEINFO, makeinfo)
9770
AM_PROG_INSTALL_STRIP
9797
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
9798
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
9771
9799
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
9772
9800
# We need awk for the "check" target. The system "awk" is bad on
9773
9801
# some platforms.
9775
9803
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
9776
9804
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9777
9805
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9778
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9779
[_AM_PROG_TAR([v7])])])
9806
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9807
[_AM_PROG_TAR([v7])])])
9780
9808
_AM_IF_OPTION([no-dependencies],,
9781
9809
[AC_PROVIDE_IFELSE([AC_PROG_CC],
9782
[_AM_DEPENDENCIES(CC)],
9783
[define([AC_PROG_CC],
9784
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9810
[_AM_DEPENDENCIES(CC)],
9811
[define([AC_PROG_CC],
9812
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9785
9813
AC_PROVIDE_IFELSE([AC_PROG_CXX],
9786
[_AM_DEPENDENCIES(CXX)],
9787
[define([AC_PROG_CXX],
9788
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9814
[_AM_DEPENDENCIES(CXX)],
9815
[define([AC_PROG_CXX],
9816
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9789
9817
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
9790
[_AM_DEPENDENCIES(OBJC)],
9791
[define([AC_PROG_OBJC],
9792
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9818
[_AM_DEPENDENCIES(OBJC)],
9819
[define([AC_PROG_OBJC],
9820
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9822
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
9823
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
9824
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
9825
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
9826
AC_CONFIG_COMMANDS_PRE(dnl
9827
[m4_provide_if([_AM_COMPILER_EXEEXT],
9828
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
9831
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
9832
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
9833
dnl mangled by Autoconf and run in a shell conditional statement.
9834
m4_define([_AC_COMPILER_EXEEXT],
9835
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
9797
9838
# When config.status generates a header, we must update the stamp-h file.
9816
9857
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9818
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
9859
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
9820
9861
# This file is free software; the Free Software Foundation
9821
9862
# gives unlimited permission to copy and/or distribute it,
9826
9867
# Define $install_sh.
9827
9868
AC_DEFUN([AM_PROG_INSTALL_SH],
9828
9869
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9829
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
9870
if test x"${install_sh}" != xset; then
9873
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
9875
install_sh="\${SHELL} $am_aux_dir/install-sh"
9830
9878
AC_SUBST(install_sh)])
9832
9880
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
9853
9901
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
9854
9902
# From Jim Meyering
9856
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
9904
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9857
9905
# Free Software Foundation, Inc.
9859
9907
# This file is free software; the Free Software Foundation
9860
9908
# gives unlimited permission to copy and/or distribute it,
9861
9909
# with or without modifications, as long as this notice is preserved.
9913
# AM_MAINTAINER_MODE([DEFAULT-MODE])
9914
# ----------------------------------
9915
# Control maintainer-specific portions of Makefiles.
9916
# Default is to disable them, unless `enable' is passed literally.
9917
# For symmetry, `disable' may be passed as well. Anyway, the user
9918
# can override the default with the --enable/--disable switch.
9865
9919
AC_DEFUN([AM_MAINTAINER_MODE],
9866
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
9867
dnl maintainer-mode is disabled by default
9868
AC_ARG_ENABLE(maintainer-mode,
9869
[ --enable-maintainer-mode enable make rules and dependencies not useful
9920
[m4_case(m4_default([$1], [disable]),
9921
[enable], [m4_define([am_maintainer_other], [disable])],
9922
[disable], [m4_define([am_maintainer_other], [enable])],
9923
[m4_define([am_maintainer_other], [enable])
9924
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
9925
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
9926
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
9927
AC_ARG_ENABLE([maintainer-mode],
9928
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
9870
9929
(and sometimes confusing) to the casual installer],
9871
USE_MAINTAINER_MODE=$enableval,
9872
USE_MAINTAINER_MODE=no)
9930
[USE_MAINTAINER_MODE=$enableval],
9931
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
9873
9932
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
9874
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
9933
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
9875
9934
MAINT=$MAINTAINER_MODE_TRUE
9935
AC_SUBST([MAINT])dnl
9882
9941
# Check to see how 'make' treats includes. -*- Autoconf -*-
9884
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
9943
# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
9886
9945
# This file is free software; the Free Software Foundation
9887
9946
# gives unlimited permission to copy and/or distribute it,
9888
9947
# with or without modifications, as long as this notice is preserved.
9892
9951
# AM_MAKE_INCLUDE()
9893
9952
# -----------------
9906
9965
_am_result=none
9907
9966
# First try GNU make style include.
9908
9967
echo "include confinc" > confmf
9909
# We grep out `Entering directory' and `Leaving directory'
9910
# messages which can occur if `w' ends up in MAKEFLAGS.
9911
# In particular we don't look at `^make:' because GNU make might
9912
# be invoked under some other name (usually "gmake"), in which
9913
# case it prints its new name instead of `make'.
9914
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
9968
# Ignore all kinds of additional output from `make'.
9969
case `$am_make -s -f confmf 2> /dev/null` in #(
9970
*the\ am__doit\ target*)
9919
9976
# Now try BSD make style include.
9920
9977
if test "$am__include" = "#"; then
9921
9978
echo '.include "confinc"' > confmf
9922
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
9923
am__include=.include
9979
case `$am_make -s -f confmf 2> /dev/null` in #(
9980
*the\ am__doit\ target*)
9981
am__include=.include
9928
9987
AC_SUBST([am__include])
9929
9988
AC_SUBST([am__quote])
9934
9993
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
9936
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
9995
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
9937
9996
# Free Software Foundation, Inc.
9939
9998
# This file is free software; the Free Software Foundation
9940
9999
# gives unlimited permission to copy and/or distribute it,
9941
10000
# with or without modifications, as long as this notice is preserved.
9945
10004
# AM_MISSING_PROG(NAME, PROGRAM)
9946
10005
# ------------------------------
9957
10016
AC_DEFUN([AM_MISSING_HAS_RUN],
9958
10017
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9959
10018
AC_REQUIRE_AUX_FILE([missing])dnl
9960
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
10019
if test x"${MISSING+set}" != xset; then
10020
case $am_aux_dir in
10022
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
10024
MISSING="\${SHELL} $am_aux_dir/missing" ;;
9961
10027
# Use eval to expand $SHELL
9962
10028
if eval "$MISSING --run true"; then
9963
10029
am_missing_run="$MISSING --run "
10029
10095
# Check to make sure that the build environment is sane. -*- Autoconf -*-
10031
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
10097
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
10032
10098
# Free Software Foundation, Inc.
10034
10100
# This file is free software; the Free Software Foundation
10035
10101
# gives unlimited permission to copy and/or distribute it,
10036
10102
# with or without modifications, as long as this notice is preserved.
10040
10106
# AM_SANITY_CHECK
10041
10107
# ---------------
10044
10110
# Just in case
10046
10112
echo timestamp > conftest.file
10113
# Reject unsafe characters in $srcdir or the absolute working directory
10114
# name. Accept space and tab only in the latter.
10118
*[[\\\"\#\$\&\'\`$am_lf]]*)
10119
AC_MSG_ERROR([unsafe absolute working directory name]);;
10122
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
10123
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
10047
10126
# Do `set' in a subshell so we don't clobber the current shell's
10048
10127
# arguments. Must try -L first in case configure is actually a
10049
10128
# symlink; some systems play weird games with the mod time of symlinks
10050
10129
# (eg FreeBSD returns the mod time of the symlink's containing
10051
10130
# directory).
10053
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
10132
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
10054
10133
if test "$[*]" = "X"; then
10055
10134
# -L didn't work.
10056
set X `ls -t $srcdir/configure conftest.file`
10135
set X `ls -t "$srcdir/configure" conftest.file`
10058
10137
rm -f conftest.file
10059
10138
if test "$[*]" != "X $srcdir/configure conftest.file" \
10106
10185
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10107
10186
AC_SUBST([INSTALL_STRIP_PROGRAM])])
10109
# Copyright (C) 2006 Free Software Foundation, Inc.
10188
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
10111
10190
# This file is free software; the Free Software Foundation
10112
10191
# gives unlimited permission to copy and/or distribute it,
10113
10192
# with or without modifications, as long as this notice is preserved.
10115
10196
# _AM_SUBST_NOTMAKE(VARIABLE)
10116
10197
# ---------------------------
10117
10198
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
10118
10199
# This macro is traced by Automake.
10119
10200
AC_DEFUN([_AM_SUBST_NOTMAKE])
10202
# AM_SUBST_NOTMAKE(VARIABLE)
10203
# ---------------------------
10204
# Public sister of _AM_SUBST_NOTMAKE.
10205
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
10121
10207
# Check how to create a tarball. -*- Autoconf -*-
10123
10209
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.