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.68],,
17
[m4_warning([this file was generated for autoconf 2.68.
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'.])])
31
31
# generated from the m4 files accompanying Automake X.Y.
32
32
# (This private macro should not be called outside this file.)
33
33
AC_DEFUN([AM_AUTOMAKE_VERSION],
34
[am__api_version='1.10'
34
[am__api_version='1.11'
35
35
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36
36
dnl require some minimum version. Point them to the right macro.
37
m4_if([$1], [1.10.2], [],
37
m4_if([$1], [1.11.1], [],
38
38
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
50
50
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51
51
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52
52
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53
[AM_AUTOMAKE_VERSION([1.10.2])dnl
53
[AM_AUTOMAKE_VERSION([1.11.1])dnl
54
54
m4_ifndef([AC_AUTOCONF_VERSION],
55
55
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56
56
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
111
111
# AM_CONDITIONAL -*- Autoconf -*-
113
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
113
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
114
114
# Free Software Foundation, Inc.
116
116
# This file is free software; the Free Software Foundation
117
117
# gives unlimited permission to copy and/or distribute it,
118
118
# with or without modifications, as long as this notice is preserved.
122
122
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
123
123
# -------------------------------------
143
144
Usually this means the macro was only invoked conditionally.]])
146
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
147
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
147
148
# Free Software Foundation, Inc.
149
150
# This file is free software; the Free Software Foundation
150
151
# gives unlimited permission to copy and/or distribute it,
151
152
# with or without modifications, as long as this notice is preserved.
155
156
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
156
157
# written in clear, in which case automake, when reading aclocal.m4,
207
208
if test "$am_compiler_list" = ""; then
208
209
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
213
[case " $depcc " in #(
214
*\ -arch\ *\ -arch\ *) am__universal=true ;;
217
[case " $depcc " in #(
218
*\ -arch\ *\ -arch\ *) am__universal=true ;;
210
221
for depmode in $am_compiler_list; do
211
222
# Setup a source with many dependencies, because some compilers
212
223
# like to wrap large dependency lists on column 80 (with \), and
225
236
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
238
# We check with `-c' and `-o' for the sake of the "dashmstdout"
239
# mode. It turns out that the SunPro C++ compiler does not properly
240
# handle `-M -o', and we need to detect this. Also, some Intel
241
# versions had trouble with output in subdirs
242
am__obj=sub/conftest.${OBJEXT-o}
243
am__minus_obj="-o $am__obj"
246
# This depmode causes a compiler race in universal mode.
247
test "$am__universal" = false || continue
229
250
# after this tag, mechanisms are not by side-effect, so they'll
230
251
# only be used when explicitly requested
258
msvisualcpp | msvcmsys)
259
# This compiler won't grok `-c -o', but also, the minuso test has
260
# not run yet. These depmodes are late enough in the game, and
261
# so weak that their functioning should not be impacted.
262
am__obj=conftest.${OBJEXT-o}
239
# We check with `-c' and `-o' for the sake of the "dashmstdout"
240
# mode. It turns out that the SunPro C++ compiler does not properly
241
# handle `-M -o', and we need to detect this.
242
267
if depmode=$depmode \
243
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
268
source=sub/conftest.c object=$am__obj \
244
269
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
245
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
270
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
246
271
>/dev/null 2>conftest.err &&
247
272
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
248
273
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
249
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
274
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
250
275
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
251
276
# icc doesn't choke on unknown options, it will just issue warnings
252
277
# or remarks (even with -Werror). So we grep stderr for any message
384
409
# Do all the work for Automake. -*- Autoconf -*-
386
411
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
387
# 2005, 2006, 2008 Free Software Foundation, Inc.
412
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
389
414
# This file is free software; the Free Software Foundation
390
415
# gives unlimited permission to copy and/or distribute it,
391
416
# with or without modifications, as long as this notice is preserved.
395
420
# This macro actually does too much. Some checks are only needed if
396
421
# your package does certain things. But this isn't really a big deal.
458
483
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
459
484
AM_MISSING_PROG(AUTOHEADER, autoheader)
460
485
AM_MISSING_PROG(MAKEINFO, makeinfo)
462
AM_PROG_INSTALL_STRIP
486
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
487
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
463
488
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
464
489
# We need awk for the "check" target. The system "awk" is bad on
465
490
# some platforms.
467
492
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
468
493
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
469
494
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
470
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
471
[_AM_PROG_TAR([v7])])])
495
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
496
[_AM_PROG_TAR([v7])])])
472
497
_AM_IF_OPTION([no-dependencies],,
473
498
[AC_PROVIDE_IFELSE([AC_PROG_CC],
474
[_AM_DEPENDENCIES(CC)],
475
[define([AC_PROG_CC],
476
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
499
[_AM_DEPENDENCIES(CC)],
500
[define([AC_PROG_CC],
501
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
477
502
AC_PROVIDE_IFELSE([AC_PROG_CXX],
478
[_AM_DEPENDENCIES(CXX)],
479
[define([AC_PROG_CXX],
480
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
503
[_AM_DEPENDENCIES(CXX)],
504
[define([AC_PROG_CXX],
505
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
481
506
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
482
[_AM_DEPENDENCIES(OBJC)],
483
[define([AC_PROG_OBJC],
484
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
507
[_AM_DEPENDENCIES(OBJC)],
508
[define([AC_PROG_OBJC],
509
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
511
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
512
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
513
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
514
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
515
AC_CONFIG_COMMANDS_PRE(dnl
516
[m4_provide_if([_AM_COMPILER_EXEEXT],
517
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
520
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
521
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
522
dnl mangled by Autoconf and run in a shell conditional statement.
523
m4_define([_AC_COMPILER_EXEEXT],
524
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
489
527
# When config.status generates a header, we must update the stamp-h file.
508
546
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
510
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
548
# Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
512
550
# This file is free software; the Free Software Foundation
513
551
# gives unlimited permission to copy and/or distribute it,
518
556
# Define $install_sh.
519
557
AC_DEFUN([AM_PROG_INSTALL_SH],
520
558
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
521
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
559
if test x"${install_sh}" != xset; then
562
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
564
install_sh="\${SHELL} $am_aux_dir/install-sh"
522
567
AC_SUBST(install_sh)])
524
569
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
545
590
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
546
591
# From Jim Meyering
548
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
593
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
549
594
# Free Software Foundation, Inc.
551
596
# This file is free software; the Free Software Foundation
552
597
# gives unlimited permission to copy and/or distribute it,
553
598
# with or without modifications, as long as this notice is preserved.
602
# AM_MAINTAINER_MODE([DEFAULT-MODE])
603
# ----------------------------------
604
# Control maintainer-specific portions of Makefiles.
605
# Default is to disable them, unless `enable' is passed literally.
606
# For symmetry, `disable' may be passed as well. Anyway, the user
607
# can override the default with the --enable/--disable switch.
557
608
AC_DEFUN([AM_MAINTAINER_MODE],
558
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
559
dnl maintainer-mode is disabled by default
560
AC_ARG_ENABLE(maintainer-mode,
561
[ --enable-maintainer-mode enable make rules and dependencies not useful
609
[m4_case(m4_default([$1], [disable]),
610
[enable], [m4_define([am_maintainer_other], [disable])],
611
[disable], [m4_define([am_maintainer_other], [enable])],
612
[m4_define([am_maintainer_other], [enable])
613
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
614
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
615
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
616
AC_ARG_ENABLE([maintainer-mode],
617
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
562
618
(and sometimes confusing) to the casual installer],
563
USE_MAINTAINER_MODE=$enableval,
564
USE_MAINTAINER_MODE=no)
619
[USE_MAINTAINER_MODE=$enableval],
620
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
565
621
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
566
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
622
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
567
623
MAINT=$MAINTAINER_MODE_TRUE
574
630
# Check to see how 'make' treats includes. -*- Autoconf -*-
576
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
632
# Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
578
634
# This file is free software; the Free Software Foundation
579
635
# gives unlimited permission to copy and/or distribute it,
580
636
# with or without modifications, as long as this notice is preserved.
584
640
# AM_MAKE_INCLUDE()
585
641
# -----------------
599
655
# First try GNU make style include.
600
656
echo "include confinc" > confmf
601
# We grep out `Entering directory' and `Leaving directory'
602
# messages which can occur if `w' ends up in MAKEFLAGS.
603
# In particular we don't look at `^make:' because GNU make might
604
# be invoked under some other name (usually "gmake"), in which
605
# case it prints its new name instead of `make'.
606
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
657
# Ignore all kinds of additional output from `make'.
658
case `$am_make -s -f confmf 2> /dev/null` in #(
659
*the\ am__doit\ target*)
611
665
# Now try BSD make style include.
612
666
if test "$am__include" = "#"; then
613
667
echo '.include "confinc"' > confmf
614
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
668
case `$am_make -s -f confmf 2> /dev/null` in #(
669
*the\ am__doit\ target*)
620
676
AC_SUBST([am__include])
621
677
AC_SUBST([am__quote])
626
682
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
628
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
684
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
629
685
# Free Software Foundation, Inc.
631
687
# This file is free software; the Free Software Foundation
632
688
# gives unlimited permission to copy and/or distribute it,
633
689
# with or without modifications, as long as this notice is preserved.
637
693
# AM_MISSING_PROG(NAME, PROGRAM)
638
694
# ------------------------------
649
705
AC_DEFUN([AM_MISSING_HAS_RUN],
650
706
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
651
707
AC_REQUIRE_AUX_FILE([missing])dnl
652
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
708
if test x"${MISSING+set}" != xset; then
711
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
713
MISSING="\${SHELL} $am_aux_dir/missing" ;;
653
716
# Use eval to expand $SHELL
654
717
if eval "$MISSING --run true"; then
655
718
am_missing_run="$MISSING --run "
721
784
# Check to make sure that the build environment is sane. -*- Autoconf -*-
723
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
786
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
724
787
# Free Software Foundation, Inc.
726
789
# This file is free software; the Free Software Foundation
727
790
# gives unlimited permission to copy and/or distribute it,
728
791
# with or without modifications, as long as this notice is preserved.
732
795
# AM_SANITY_CHECK
733
796
# ---------------
738
801
echo timestamp > conftest.file
802
# Reject unsafe characters in $srcdir or the absolute working directory
803
# name. Accept space and tab only in the latter.
807
*[[\\\"\#\$\&\'\`$am_lf]]*)
808
AC_MSG_ERROR([unsafe absolute working directory name]);;
811
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
812
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
739
815
# Do `set' in a subshell so we don't clobber the current shell's
740
816
# arguments. Must try -L first in case configure is actually a
741
817
# symlink; some systems play weird games with the mod time of symlinks
742
818
# (eg FreeBSD returns the mod time of the symlink's containing
745
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
821
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
746
822
if test "$[*]" = "X"; then
747
823
# -L didn't work.
748
set X `ls -t $srcdir/configure conftest.file`
824
set X `ls -t "$srcdir/configure" conftest.file`
750
826
rm -f conftest.file
751
827
if test "$[*]" != "X $srcdir/configure conftest.file" \
798
874
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
799
875
AC_SUBST([INSTALL_STRIP_PROGRAM])])
801
# Copyright (C) 2006 Free Software Foundation, Inc.
877
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
803
879
# This file is free software; the Free Software Foundation
804
880
# gives unlimited permission to copy and/or distribute it,
805
881
# with or without modifications, as long as this notice is preserved.
807
885
# _AM_SUBST_NOTMAKE(VARIABLE)
808
886
# ---------------------------
809
887
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
810
888
# This macro is traced by Automake.
811
889
AC_DEFUN([_AM_SUBST_NOTMAKE])
891
# AM_SUBST_NOTMAKE(VARIABLE)
892
# ---------------------------
893
# Public sister of _AM_SUBST_NOTMAKE.
894
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
813
896
# Check how to create a tarball. -*- Autoconf -*-
815
898
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.