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'.])])
189
189
# generated from the m4 files accompanying Automake X.Y.
190
190
# (This private macro should not be called outside this file.)
191
191
AC_DEFUN([AM_AUTOMAKE_VERSION],
192
[am__api_version='1.10'
192
[am__api_version='1.11'
193
193
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
194
194
dnl require some minimum version. Point them to the right macro.
195
m4_if([$1], [1.10.2], [],
195
m4_if([$1], [1.11], [],
196
196
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
208
208
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
209
209
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
210
210
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
211
[AM_AUTOMAKE_VERSION([1.10.2])dnl
211
[AM_AUTOMAKE_VERSION([1.11])dnl
212
212
m4_ifndef([AC_AUTOCONF_VERSION],
213
213
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
214
214
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
269
269
# AM_CONDITIONAL -*- Autoconf -*-
271
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
271
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
272
272
# Free Software Foundation, Inc.
274
274
# This file is free software; the Free Software Foundation
275
275
# gives unlimited permission to copy and/or distribute it,
276
276
# with or without modifications, as long as this notice is preserved.
280
280
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
281
281
# -------------------------------------
301
302
Usually this means the macro was only invoked conditionally.]])
304
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
305
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
305
306
# Free Software Foundation, Inc.
307
308
# This file is free software; the Free Software Foundation
308
309
# gives unlimited permission to copy and/or distribute it,
309
310
# with or without modifications, as long as this notice is preserved.
313
314
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
314
315
# written in clear, in which case automake, when reading aclocal.m4,
365
366
if test "$am_compiler_list" = ""; then
366
367
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
371
[case " $depcc " in #(
372
*\ -arch\ *\ -arch\ *) am__universal=true ;;
375
[case " $depcc " in #(
376
*\ -arch\ *\ -arch\ *) am__universal=true ;;
368
379
for depmode in $am_compiler_list; do
369
380
# Setup a source with many dependencies, because some compilers
370
381
# like to wrap large dependency lists on column 80 (with \), and
383
394
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
396
# We check with `-c' and `-o' for the sake of the "dashmstdout"
397
# mode. It turns out that the SunPro C++ compiler does not properly
398
# handle `-M -o', and we need to detect this. Also, some Intel
399
# versions had trouble with output in subdirs
400
am__obj=sub/conftest.${OBJEXT-o}
401
am__minus_obj="-o $am__obj"
404
# This depmode causes a compiler race in universal mode.
405
test "$am__universal" = false || continue
387
408
# after this tag, mechanisms are not by side-effect, so they'll
388
409
# only be used when explicitly requested
416
msvisualcpp | msvcmsys)
417
# This compiler won't grok `-c -o', but also, the minuso test has
418
# not run yet. These depmodes are late enough in the game, and
419
# so weak that their functioning should not be impacted.
420
am__obj=conftest.${OBJEXT-o}
397
# We check with `-c' and `-o' for the sake of the "dashmstdout"
398
# mode. It turns out that the SunPro C++ compiler does not properly
399
# handle `-M -o', and we need to detect this.
400
425
if depmode=$depmode \
401
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
426
source=sub/conftest.c object=$am__obj \
402
427
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
403
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
428
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
404
429
>/dev/null 2>conftest.err &&
405
430
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
406
431
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
407
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
432
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
408
433
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
409
434
# icc doesn't choke on unknown options, it will just issue warnings
410
435
# or remarks (even with -Werror). So we grep stderr for any message
554
579
# Do all the work for Automake. -*- Autoconf -*-
556
581
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
557
# 2005, 2006, 2008 Free Software Foundation, Inc.
582
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
559
584
# This file is free software; the Free Software Foundation
560
585
# gives unlimited permission to copy and/or distribute it,
561
586
# with or without modifications, as long as this notice is preserved.
565
590
# This macro actually does too much. Some checks are only needed if
566
591
# your package does certain things. But this isn't really a big deal.
577
602
# arguments mandatory, and then we can depend on a new Autoconf
578
603
# release and drop the old call support.
579
604
AC_DEFUN([AM_INIT_AUTOMAKE],
580
[AC_PREREQ([2.60])dnl
605
[AC_PREREQ([2.62])dnl
581
606
dnl Autoconf wants to disallow AM_ names. We explicitly allow
582
607
dnl the ones we care about.
583
608
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
628
653
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
629
654
AM_MISSING_PROG(AUTOHEADER, autoheader)
630
655
AM_MISSING_PROG(MAKEINFO, makeinfo)
632
AM_PROG_INSTALL_STRIP
656
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
657
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
633
658
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
634
659
# We need awk for the "check" target. The system "awk" is bad on
635
660
# some platforms.
637
662
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
638
663
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
639
664
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
640
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
641
[_AM_PROG_TAR([v7])])])
665
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
666
[_AM_PROG_TAR([v7])])])
642
667
_AM_IF_OPTION([no-dependencies],,
643
668
[AC_PROVIDE_IFELSE([AC_PROG_CC],
644
[_AM_DEPENDENCIES(CC)],
645
[define([AC_PROG_CC],
646
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
669
[_AM_DEPENDENCIES(CC)],
670
[define([AC_PROG_CC],
671
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
647
672
AC_PROVIDE_IFELSE([AC_PROG_CXX],
648
[_AM_DEPENDENCIES(CXX)],
649
[define([AC_PROG_CXX],
650
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
673
[_AM_DEPENDENCIES(CXX)],
674
[define([AC_PROG_CXX],
675
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
651
676
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
652
[_AM_DEPENDENCIES(OBJC)],
653
[define([AC_PROG_OBJC],
654
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
677
[_AM_DEPENDENCIES(OBJC)],
678
[define([AC_PROG_OBJC],
679
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
681
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
682
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
683
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
684
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
685
AC_CONFIG_COMMANDS_PRE(dnl
686
[m4_provide_if([_AM_COMPILER_EXEEXT],
687
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
690
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
691
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
692
dnl mangled by Autoconf and run in a shell conditional statement.
693
m4_define([_AC_COMPILER_EXEEXT],
694
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
659
697
# When config.status generates a header, we must update the stamp-h file.
678
716
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
680
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
718
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
682
720
# This file is free software; the Free Software Foundation
683
721
# gives unlimited permission to copy and/or distribute it,
688
726
# Define $install_sh.
689
727
AC_DEFUN([AM_PROG_INSTALL_SH],
690
728
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
691
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
729
if test x"${install_sh}" != xset; then
732
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
734
install_sh="\${SHELL} $am_aux_dir/install-sh"
692
737
AC_SUBST(install_sh)])
694
739
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
715
760
# Check to see how 'make' treats includes. -*- Autoconf -*-
717
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
762
# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
719
764
# This file is free software; the Free Software Foundation
720
765
# gives unlimited permission to copy and/or distribute it,
721
766
# with or without modifications, as long as this notice is preserved.
725
770
# AM_MAKE_INCLUDE()
726
771
# -----------------
740
785
# First try GNU make style include.
741
786
echo "include confinc" > confmf
742
# We grep out `Entering directory' and `Leaving directory'
743
# messages which can occur if `w' ends up in MAKEFLAGS.
744
# In particular we don't look at `^make:' because GNU make might
745
# be invoked under some other name (usually "gmake"), in which
746
# case it prints its new name instead of `make'.
747
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
787
# Ignore all kinds of additional output from `make'.
788
case `$am_make -s -f confmf 2> /dev/null` in #(
789
*the\ am__doit\ target*)
752
795
# Now try BSD make style include.
753
796
if test "$am__include" = "#"; then
754
797
echo '.include "confinc"' > confmf
755
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
798
case `$am_make -s -f confmf 2> /dev/null` in #(
799
*the\ am__doit\ target*)
761
806
AC_SUBST([am__include])
762
807
AC_SUBST([am__quote])
767
812
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
769
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
814
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
770
815
# Free Software Foundation, Inc.
772
817
# This file is free software; the Free Software Foundation
773
818
# gives unlimited permission to copy and/or distribute it,
774
819
# with or without modifications, as long as this notice is preserved.
778
823
# AM_MISSING_PROG(NAME, PROGRAM)
779
824
# ------------------------------
790
835
AC_DEFUN([AM_MISSING_HAS_RUN],
791
836
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
792
837
AC_REQUIRE_AUX_FILE([missing])dnl
793
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
838
if test x"${MISSING+set}" != xset; then
841
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
843
MISSING="\${SHELL} $am_aux_dir/missing" ;;
794
846
# Use eval to expand $SHELL
795
847
if eval "$MISSING --run true"; then
796
848
am_missing_run="$MISSING --run "
862
914
# Check to make sure that the build environment is sane. -*- Autoconf -*-
864
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
916
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
865
917
# Free Software Foundation, Inc.
867
919
# This file is free software; the Free Software Foundation
868
920
# gives unlimited permission to copy and/or distribute it,
869
921
# with or without modifications, as long as this notice is preserved.
873
925
# AM_SANITY_CHECK
874
926
# ---------------
879
931
echo timestamp > conftest.file
932
# Reject unsafe characters in $srcdir or the absolute working directory
933
# name. Accept space and tab only in the latter.
937
*[[\\\"\#\$\&\'\`$am_lf]]*)
938
AC_MSG_ERROR([unsafe absolute working directory name]);;
941
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
942
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
880
945
# Do `set' in a subshell so we don't clobber the current shell's
881
946
# arguments. Must try -L first in case configure is actually a
882
947
# symlink; some systems play weird games with the mod time of symlinks
883
948
# (eg FreeBSD returns the mod time of the symlink's containing
886
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
951
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
887
952
if test "$[*]" = "X"; then
888
953
# -L didn't work.
889
set X `ls -t $srcdir/configure conftest.file`
954
set X `ls -t "$srcdir/configure" conftest.file`
891
956
rm -f conftest.file
892
957
if test "$[*]" != "X $srcdir/configure conftest.file" \
939
1004
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
940
1005
AC_SUBST([INSTALL_STRIP_PROGRAM])])
942
# Copyright (C) 2006 Free Software Foundation, Inc.
1007
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
944
1009
# This file is free software; the Free Software Foundation
945
1010
# gives unlimited permission to copy and/or distribute it,
946
1011
# with or without modifications, as long as this notice is preserved.
948
1015
# _AM_SUBST_NOTMAKE(VARIABLE)
949
1016
# ---------------------------
950
1017
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
951
1018
# This macro is traced by Automake.
952
1019
AC_DEFUN([_AM_SUBST_NOTMAKE])
1021
# AM_SUBST_NOTMAKE(VARIABLE)
1022
# ---------------------------
1023
# Public sister of _AM_SUBST_NOTMAKE.
1024
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
954
1026
# Check how to create a tarball. -*- Autoconf -*-
956
1028
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.