1
# generated automatically by aclocal 1.10.3 -*- Autoconf -*-
1
# generated automatically by aclocal 1.11.3 -*- 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, 2009, 2010, 2011 Free Software Foundation,
5
6
# This file is free software; the Free Software Foundation
6
7
# gives unlimited permission to copy and/or distribute it,
7
8
# with or without modifications, as long as this notice is preserved.
14
15
m4_ifndef([AC_AUTOCONF_VERSION],
15
16
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
17
[m4_warning([this file was generated for autoconf 2.67.
17
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
18
[m4_warning([this file was generated for autoconf 2.68.
18
19
You have another version of autoconf. It may work, but is not guaranteed to.
19
20
If you have problems, you may need to regenerate the build system entirely.
20
21
To do so, use the procedure documented by the package, typically `autoreconf'.])])
22
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
23
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
24
26
# This file is free software; the Free Software Foundation
25
27
# gives unlimited permission to copy and/or distribute it,
26
28
# with or without modifications, as long as this notice is preserved.
28
32
# AM_AUTOMAKE_VERSION(VERSION)
29
33
# ----------------------------
30
34
# Automake X.Y traces this macro to ensure aclocal.m4 has been
31
35
# generated from the m4 files accompanying Automake X.Y.
32
36
# (This private macro should not be called outside this file.)
33
37
AC_DEFUN([AM_AUTOMAKE_VERSION],
34
[am__api_version='1.10'
38
[am__api_version='1.11'
35
39
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36
40
dnl require some minimum version. Point them to the right macro.
37
m4_if([$1], [1.10.3], [],
41
m4_if([$1], [1.11.3], [],
38
42
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
50
54
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51
55
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52
56
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53
[AM_AUTOMAKE_VERSION([1.10.3])dnl
57
[AM_AUTOMAKE_VERSION([1.11.3])dnl
54
58
m4_ifndef([AC_AUTOCONF_VERSION],
55
59
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56
60
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
58
62
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
60
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
64
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
62
66
# This file is free software; the Free Software Foundation
63
67
# gives unlimited permission to copy and/or distribute it,
64
68
# with or without modifications, as long as this notice is preserved.
66
72
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
67
73
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
68
74
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
111
117
# AM_CONDITIONAL -*- Autoconf -*-
113
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
119
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
114
120
# Free Software Foundation, Inc.
116
122
# This file is free software; the Free Software Foundation
117
123
# gives unlimited permission to copy and/or distribute it,
118
124
# with or without modifications, as long as this notice is preserved.
122
128
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
123
129
# -------------------------------------
143
150
Usually this means the macro was only invoked conditionally.]])
146
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
147
# Free Software Foundation, Inc.
153
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
154
# 2010, 2011 Free Software Foundation, Inc.
149
156
# This file is free software; the Free Software Foundation
150
157
# gives unlimited permission to copy and/or distribute it,
151
158
# with or without modifications, as long as this notice is preserved.
155
162
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
156
163
# written in clear, in which case automake, when reading aclocal.m4,
491
502
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
492
503
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
493
504
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
494
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
495
[_AM_PROG_TAR([v7])])])
505
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
506
[_AM_PROG_TAR([v7])])])
496
507
_AM_IF_OPTION([no-dependencies],,
497
508
[AC_PROVIDE_IFELSE([AC_PROG_CC],
498
[_AM_DEPENDENCIES(CC)],
499
[define([AC_PROG_CC],
500
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
509
[_AM_DEPENDENCIES(CC)],
510
[define([AC_PROG_CC],
511
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
501
512
AC_PROVIDE_IFELSE([AC_PROG_CXX],
502
[_AM_DEPENDENCIES(CXX)],
503
[define([AC_PROG_CXX],
504
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
513
[_AM_DEPENDENCIES(CXX)],
514
[define([AC_PROG_CXX],
515
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
505
516
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
506
[_AM_DEPENDENCIES(OBJC)],
507
[define([AC_PROG_OBJC],
508
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
517
[_AM_DEPENDENCIES(OBJC)],
518
[define([AC_PROG_OBJC],
519
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
521
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
522
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
523
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
524
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
525
AC_CONFIG_COMMANDS_PRE(dnl
526
[m4_provide_if([_AM_COMPILER_EXEEXT],
527
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
530
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
531
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
532
dnl mangled by Autoconf and run in a shell conditional statement.
533
m4_define([_AC_COMPILER_EXEEXT],
534
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
513
537
# When config.status generates a header, we must update the stamp-h file.
532
556
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
534
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
558
# Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
536
561
# This file is free software; the Free Software Foundation
537
562
# gives unlimited permission to copy and/or distribute it,
538
563
# with or without modifications, as long as this notice is preserved.
540
567
# AM_PROG_INSTALL_SH
541
568
# ------------------
542
569
# Define $install_sh.
543
570
AC_DEFUN([AM_PROG_INSTALL_SH],
544
571
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
545
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
572
if test x"${install_sh}" != xset; then
575
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
577
install_sh="\${SHELL} $am_aux_dir/install-sh"
546
580
AC_SUBST(install_sh)])
548
582
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
569
603
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
570
604
# From Jim Meyering
572
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
573
# Free Software Foundation, Inc.
606
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
607
# 2011 Free Software Foundation, Inc.
575
609
# This file is free software; the Free Software Foundation
576
610
# gives unlimited permission to copy and/or distribute it,
577
611
# with or without modifications, as long as this notice is preserved.
615
# AM_MAINTAINER_MODE([DEFAULT-MODE])
616
# ----------------------------------
617
# Control maintainer-specific portions of Makefiles.
618
# Default is to disable them, unless `enable' is passed literally.
619
# For symmetry, `disable' may be passed as well. Anyway, the user
620
# can override the default with the --enable/--disable switch.
581
621
AC_DEFUN([AM_MAINTAINER_MODE],
582
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
583
dnl maintainer-mode is disabled by default
584
AC_ARG_ENABLE(maintainer-mode,
585
[ --enable-maintainer-mode enable make rules and dependencies not useful
622
[m4_case(m4_default([$1], [disable]),
623
[enable], [m4_define([am_maintainer_other], [disable])],
624
[disable], [m4_define([am_maintainer_other], [enable])],
625
[m4_define([am_maintainer_other], [enable])
626
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
627
AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
628
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
629
AC_ARG_ENABLE([maintainer-mode],
630
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
586
631
(and sometimes confusing) to the casual installer],
587
USE_MAINTAINER_MODE=$enableval,
588
USE_MAINTAINER_MODE=no)
632
[USE_MAINTAINER_MODE=$enableval],
633
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
589
634
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
590
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
635
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
591
636
MAINT=$MAINTAINER_MODE_TRUE
598
643
# Check to see how 'make' treats includes. -*- Autoconf -*-
600
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
645
# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
602
647
# This file is free software; the Free Software Foundation
603
648
# gives unlimited permission to copy and/or distribute it,
604
649
# with or without modifications, as long as this notice is preserved.
608
653
# AM_MAKE_INCLUDE()
609
654
# -----------------
623
668
# First try GNU make style include.
624
669
echo "include confinc" > confmf
625
# We grep out `Entering directory' and `Leaving directory'
626
# messages which can occur if `w' ends up in MAKEFLAGS.
627
# In particular we don't look at `^make:' because GNU make might
628
# be invoked under some other name (usually "gmake"), in which
629
# case it prints its new name instead of `make'.
630
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
670
# Ignore all kinds of additional output from `make'.
671
case `$am_make -s -f confmf 2> /dev/null` in #(
672
*the\ am__doit\ target*)
635
678
# Now try BSD make style include.
636
679
if test "$am__include" = "#"; then
637
680
echo '.include "confinc"' > confmf
638
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
681
case `$am_make -s -f confmf 2> /dev/null` in #(
682
*the\ am__doit\ target*)
644
689
AC_SUBST([am__include])
645
690
AC_SUBST([am__quote])
650
695
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
652
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
697
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
653
698
# Free Software Foundation, Inc.
655
700
# This file is free software; the Free Software Foundation
656
701
# gives unlimited permission to copy and/or distribute it,
657
702
# with or without modifications, as long as this notice is preserved.
661
706
# AM_MISSING_PROG(NAME, PROGRAM)
662
707
# ------------------------------
673
718
AC_DEFUN([AM_MISSING_HAS_RUN],
674
719
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
675
720
AC_REQUIRE_AUX_FILE([missing])dnl
676
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
721
if test x"${MISSING+set}" != xset; then
724
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
726
MISSING="\${SHELL} $am_aux_dir/missing" ;;
677
729
# Use eval to expand $SHELL
678
730
if eval "$MISSING --run true"; then
679
731
am_missing_run="$MISSING --run "
686
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
738
# Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
688
741
# This file is free software; the Free Software Foundation
689
742
# gives unlimited permission to copy and/or distribute it,
690
743
# with or without modifications, as long as this notice is preserved.
692
747
# AM_PROG_MKDIR_P
693
748
# ---------------
694
749
# Check for `mkdir -p'.
712
767
# Helper functions for option handling. -*- Autoconf -*-
714
# Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
769
# Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
716
772
# This file is free software; the Free Software Foundation
717
773
# gives unlimited permission to copy and/or distribute it,
718
774
# with or without modifications, as long as this notice is preserved.
722
778
# _AM_MANGLE_OPTION(NAME)
723
779
# -----------------------
725
781
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
727
783
# _AM_SET_OPTION(NAME)
728
# ------------------------------
784
# --------------------
729
785
# Set option NAME. Presently that only means defining a flag for this option.
730
786
AC_DEFUN([_AM_SET_OPTION],
731
787
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
733
789
# _AM_SET_OPTIONS(OPTIONS)
734
# ----------------------------------
790
# ------------------------
735
791
# OPTIONS is a space-separated list of Automake options.
736
792
AC_DEFUN([_AM_SET_OPTIONS],
737
793
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
742
798
AC_DEFUN([_AM_IF_OPTION],
743
799
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
745
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
801
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
747
803
# This file is free software; the Free Software Foundation
748
804
# gives unlimited permission to copy and/or distribute it,
749
805
# with or without modifications, as long as this notice is preserved.
751
809
# AM_RUN_LOG(COMMAND)
752
810
# -------------------
753
811
# Run COMMAND, save the exit status in ac_status, and log it.
762
820
# Check to make sure that the build environment is sane. -*- Autoconf -*-
764
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
822
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
765
823
# Free Software Foundation, Inc.
767
825
# This file is free software; the Free Software Foundation
768
826
# gives unlimited permission to copy and/or distribute it,
769
827
# with or without modifications, as long as this notice is preserved.
773
831
# AM_SANITY_CHECK
774
832
# ---------------
779
837
echo timestamp > conftest.file
838
# Reject unsafe characters in $srcdir or the absolute working directory
839
# name. Accept space and tab only in the latter.
843
*[[\\\"\#\$\&\'\`$am_lf]]*)
844
AC_MSG_ERROR([unsafe absolute working directory name]);;
847
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
848
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
780
851
# Do `set' in a subshell so we don't clobber the current shell's
781
852
# arguments. Must try -L first in case configure is actually a
782
853
# symlink; some systems play weird games with the mod time of symlinks
783
854
# (eg FreeBSD returns the mod time of the symlink's containing
786
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
857
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
787
858
if test "$[*]" = "X"; then
788
859
# -L didn't work.
789
set X `ls -t $srcdir/configure conftest.file`
860
set X `ls -t "$srcdir/configure" conftest.file`
791
862
rm -f conftest.file
792
863
if test "$[*]" != "X $srcdir/configure conftest.file" \
812
883
AC_MSG_RESULT(yes)])
814
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
885
# Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
816
887
# This file is free software; the Free Software Foundation
817
888
# gives unlimited permission to copy and/or distribute it,
818
889
# with or without modifications, as long as this notice is preserved.
820
893
# AM_PROG_INSTALL_STRIP
821
894
# ---------------------
822
895
# One issue with vendor `install' (even GNU) is that you can't
839
912
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
840
913
AC_SUBST([INSTALL_STRIP_PROGRAM])])
842
# Copyright (C) 2006 Free Software Foundation, Inc.
915
# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
844
917
# This file is free software; the Free Software Foundation
845
918
# gives unlimited permission to copy and/or distribute it,
846
919
# with or without modifications, as long as this notice is preserved.
848
923
# _AM_SUBST_NOTMAKE(VARIABLE)
849
924
# ---------------------------
850
925
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
851
926
# This macro is traced by Automake.
852
927
AC_DEFUN([_AM_SUBST_NOTMAKE])
929
# AM_SUBST_NOTMAKE(VARIABLE)
930
# --------------------------
931
# Public sister of _AM_SUBST_NOTMAKE.
932
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
854
934
# Check how to create a tarball. -*- Autoconf -*-
856
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
936
# Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
858
938
# This file is free software; the Free Software Foundation
859
939
# gives unlimited permission to copy and/or distribute it,
875
955
# a tarball read from stdin.
876
956
# $(am__untar) < result.tar
877
957
AC_DEFUN([_AM_PROG_TAR],
878
[# Always define AMTAR for backward compatibility.
879
AM_MISSING_PROG([AMTAR], [tar])
958
[# Always define AMTAR for backward compatibility. Yes, it's still used
959
# in the wild :-( We should find a proper way to deprecate it ...
960
AC_SUBST([AMTAR], ['$${TAR-tar}'])
880
961
m4_if([$1], [v7],
881
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
962
[am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
882
963
[m4_case([$1], [ustar],, [pax],,
883
964
[m4_fatal([Unknown tar format])])
884
965
AC_MSG_CHECKING([how to create a $1 tar archive])