1
# generated automatically by aclocal 1.10.2 -*- Autoconf -*-
1
# generated automatically by aclocal 1.11.1 -*- 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.65],,
17
[m4_warning([this file was generated for autoconf 2.65.
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.1], [],
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.1])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
542
567
# Do all the work for Automake. -*- Autoconf -*-
544
569
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
545
# 2005, 2006, 2008 Free Software Foundation, Inc.
570
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
547
572
# This file is free software; the Free Software Foundation
548
573
# gives unlimited permission to copy and/or distribute it,
549
574
# with or without modifications, as long as this notice is preserved.
553
578
# This macro actually does too much. Some checks are only needed if
554
579
# your package does certain things. But this isn't really a big deal.
565
590
# arguments mandatory, and then we can depend on a new Autoconf
566
591
# release and drop the old call support.
567
592
AC_DEFUN([AM_INIT_AUTOMAKE],
568
[AC_PREREQ([2.60])dnl
593
[AC_PREREQ([2.62])dnl
569
594
dnl Autoconf wants to disallow AM_ names. We explicitly allow
570
595
dnl the ones we care about.
571
596
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
616
641
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
617
642
AM_MISSING_PROG(AUTOHEADER, autoheader)
618
643
AM_MISSING_PROG(MAKEINFO, makeinfo)
620
AM_PROG_INSTALL_STRIP
644
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
645
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
621
646
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
622
647
# We need awk for the "check" target. The system "awk" is bad on
623
648
# some platforms.
625
650
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
626
651
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
627
652
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
628
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
629
[_AM_PROG_TAR([v7])])])
653
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
654
[_AM_PROG_TAR([v7])])])
630
655
_AM_IF_OPTION([no-dependencies],,
631
656
[AC_PROVIDE_IFELSE([AC_PROG_CC],
632
[_AM_DEPENDENCIES(CC)],
633
[define([AC_PROG_CC],
634
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
657
[_AM_DEPENDENCIES(CC)],
658
[define([AC_PROG_CC],
659
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
635
660
AC_PROVIDE_IFELSE([AC_PROG_CXX],
636
[_AM_DEPENDENCIES(CXX)],
637
[define([AC_PROG_CXX],
638
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
661
[_AM_DEPENDENCIES(CXX)],
662
[define([AC_PROG_CXX],
663
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
639
664
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
640
[_AM_DEPENDENCIES(OBJC)],
641
[define([AC_PROG_OBJC],
642
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
665
[_AM_DEPENDENCIES(OBJC)],
666
[define([AC_PROG_OBJC],
667
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
669
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
670
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
671
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
672
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
673
AC_CONFIG_COMMANDS_PRE(dnl
674
[m4_provide_if([_AM_COMPILER_EXEEXT],
675
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
678
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
679
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
680
dnl mangled by Autoconf and run in a shell conditional statement.
681
m4_define([_AC_COMPILER_EXEEXT],
682
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
647
685
# When config.status generates a header, we must update the stamp-h file.
666
704
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
668
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
706
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
670
708
# This file is free software; the Free Software Foundation
671
709
# gives unlimited permission to copy and/or distribute it,
676
714
# Define $install_sh.
677
715
AC_DEFUN([AM_PROG_INSTALL_SH],
678
716
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
679
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
717
if test x"${install_sh}" != xset; then
720
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
722
install_sh="\${SHELL} $am_aux_dir/install-sh"
680
725
AC_SUBST(install_sh)])
682
727
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
703
748
# Check to see how 'make' treats includes. -*- Autoconf -*-
705
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
750
# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
707
752
# This file is free software; the Free Software Foundation
708
753
# gives unlimited permission to copy and/or distribute it,
709
754
# with or without modifications, as long as this notice is preserved.
713
758
# AM_MAKE_INCLUDE()
714
759
# -----------------
728
773
# First try GNU make style include.
729
774
echo "include confinc" > confmf
730
# We grep out `Entering directory' and `Leaving directory'
731
# messages which can occur if `w' ends up in MAKEFLAGS.
732
# In particular we don't look at `^make:' because GNU make might
733
# be invoked under some other name (usually "gmake"), in which
734
# case it prints its new name instead of `make'.
735
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
775
# Ignore all kinds of additional output from `make'.
776
case `$am_make -s -f confmf 2> /dev/null` in #(
777
*the\ am__doit\ target*)
740
783
# Now try BSD make style include.
741
784
if test "$am__include" = "#"; then
742
785
echo '.include "confinc"' > confmf
743
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
786
case `$am_make -s -f confmf 2> /dev/null` in #(
787
*the\ am__doit\ target*)
749
794
AC_SUBST([am__include])
750
795
AC_SUBST([am__quote])
755
800
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
757
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
802
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
758
803
# Free Software Foundation, Inc.
760
805
# This file is free software; the Free Software Foundation
761
806
# gives unlimited permission to copy and/or distribute it,
762
807
# with or without modifications, as long as this notice is preserved.
766
811
# AM_MISSING_PROG(NAME, PROGRAM)
767
812
# ------------------------------
778
823
AC_DEFUN([AM_MISSING_HAS_RUN],
779
824
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
780
825
AC_REQUIRE_AUX_FILE([missing])dnl
781
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
826
if test x"${MISSING+set}" != xset; then
829
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
831
MISSING="\${SHELL} $am_aux_dir/missing" ;;
782
834
# Use eval to expand $SHELL
783
835
if eval "$MISSING --run true"; then
784
836
am_missing_run="$MISSING --run "
850
902
# Check to make sure that the build environment is sane. -*- Autoconf -*-
852
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
904
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
853
905
# Free Software Foundation, Inc.
855
907
# This file is free software; the Free Software Foundation
856
908
# gives unlimited permission to copy and/or distribute it,
857
909
# with or without modifications, as long as this notice is preserved.
861
913
# AM_SANITY_CHECK
862
914
# ---------------
867
919
echo timestamp > conftest.file
920
# Reject unsafe characters in $srcdir or the absolute working directory
921
# name. Accept space and tab only in the latter.
925
*[[\\\"\#\$\&\'\`$am_lf]]*)
926
AC_MSG_ERROR([unsafe absolute working directory name]);;
929
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
930
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
868
933
# Do `set' in a subshell so we don't clobber the current shell's
869
934
# arguments. Must try -L first in case configure is actually a
870
935
# symlink; some systems play weird games with the mod time of symlinks
871
936
# (eg FreeBSD returns the mod time of the symlink's containing
874
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
939
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
875
940
if test "$[*]" = "X"; then
876
941
# -L didn't work.
877
set X `ls -t $srcdir/configure conftest.file`
942
set X `ls -t "$srcdir/configure" conftest.file`
879
944
rm -f conftest.file
880
945
if test "$[*]" != "X $srcdir/configure conftest.file" \
927
992
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
928
993
AC_SUBST([INSTALL_STRIP_PROGRAM])])
930
# Copyright (C) 2006 Free Software Foundation, Inc.
995
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
932
997
# This file is free software; the Free Software Foundation
933
998
# gives unlimited permission to copy and/or distribute it,
934
999
# with or without modifications, as long as this notice is preserved.
936
1003
# _AM_SUBST_NOTMAKE(VARIABLE)
937
1004
# ---------------------------
938
1005
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
939
1006
# This macro is traced by Automake.
940
1007
AC_DEFUN([_AM_SUBST_NOTMAKE])
1009
# AM_SUBST_NOTMAKE(VARIABLE)
1010
# ---------------------------
1011
# Public sister of _AM_SUBST_NOTMAKE.
1012
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
942
1014
# Check how to create a tarball. -*- Autoconf -*-
944
1016
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.