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.
267
267
# AM_CONDITIONAL -*- Autoconf -*-
269
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
269
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
270
270
# Free Software Foundation, Inc.
272
272
# This file is free software; the Free Software Foundation
273
273
# gives unlimited permission to copy and/or distribute it,
274
274
# with or without modifications, as long as this notice is preserved.
278
278
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
279
279
# -------------------------------------
299
300
Usually this means the macro was only invoked conditionally.]])
302
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
303
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
303
304
# Free Software Foundation, Inc.
305
306
# This file is free software; the Free Software Foundation
306
307
# gives unlimited permission to copy and/or distribute it,
307
308
# with or without modifications, as long as this notice is preserved.
311
312
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
312
313
# written in clear, in which case automake, when reading aclocal.m4,
414
msvisualcpp | msvcmsys)
415
# This compiler won't grok `-c -o', but also, the minuso test has
416
# not run yet. These depmodes are late enough in the game, and
417
# so weak that their functioning should not be impacted.
418
am__obj=conftest.${OBJEXT-o}
395
# We check with `-c' and `-o' for the sake of the "dashmstdout"
396
# mode. It turns out that the SunPro C++ compiler does not properly
397
# handle `-M -o', and we need to detect this.
398
423
if depmode=$depmode \
399
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
424
source=sub/conftest.c object=$am__obj \
400
425
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
401
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
426
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
402
427
>/dev/null 2>conftest.err &&
403
428
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
404
429
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
405
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
430
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
406
431
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
407
432
# icc doesn't choke on unknown options, it will just issue warnings
408
433
# or remarks (even with -Werror). So we grep stderr for any message
466
491
# gives unlimited permission to copy and/or distribute it,
467
492
# with or without modifications, as long as this notice is preserved.
471
496
# _AM_OUTPUT_DEPENDENCY_COMMANDS
472
497
# ------------------------------
473
498
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
474
[# Autoconf 2.62 quotes --file arguments for eval, but not when files
475
# are listed without --file. Let's play safe and only enable the eval
476
# if we detect the quoting.
477
case $CONFIG_FILES in
478
*\'*) eval set x "$CONFIG_FILES" ;;
479
*) set x $CONFIG_FILES ;;
484
# Strip MF so we end up with the name of the file.
485
mf=`echo "$mf" | sed -e 's/:.*$//'`
486
# Check whether this is an Automake generated Makefile or not.
487
# We used to match only the files named `Makefile.in', but
488
# some people rename them; so instead we look at the file content.
489
# Grep'ing the first line is not enough: some people post-process
490
# each Makefile.in and add a new line on top of each file to say so.
491
# Grep'ing the whole file is not good either: AIX grep has a line
492
# limit of 2048, but all sed's we know have understand at least 4000.
493
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
494
dirpart=`AS_DIRNAME("$mf")`
498
# Extract the definition of DEPDIR, am__include, and am__quote
499
# from the Makefile without running `make'.
500
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
501
test -z "$DEPDIR" && continue
502
am__include=`sed -n 's/^am__include = //p' < "$mf"`
503
test -z "am__include" && continue
504
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
505
# When using ansi2knr, U may be empty or an underscore; expand it
506
U=`sed -n 's/^U = //p' < "$mf"`
507
# Find all dependency output files, they are included files with
508
# $(DEPDIR) in their names. We invoke sed twice because it is the
509
# simplest approach to changing $(DEPDIR) to its actual value in the
511
for file in `sed -n "
512
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
513
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
514
# Make sure the directory exists.
515
test -f "$dirpart/$file" && continue
516
fdir=`AS_DIRNAME(["$file"])`
517
AS_MKDIR_P([$dirpart/$fdir])
518
# echo "creating $dirpart/$file"
519
echo '# dummy' > "$dirpart/$file"
500
# Autoconf 2.62 quotes --file arguments for eval, but not when files
501
# are listed without --file. Let's play safe and only enable the eval
502
# if we detect the quoting.
503
case $CONFIG_FILES in
504
*\'*) eval set x "$CONFIG_FILES" ;;
505
*) set x $CONFIG_FILES ;;
510
# Strip MF so we end up with the name of the file.
511
mf=`echo "$mf" | sed -e 's/:.*$//'`
512
# Check whether this is an Automake generated Makefile or not.
513
# We used to match only the files named `Makefile.in', but
514
# some people rename them; so instead we look at the file content.
515
# Grep'ing the first line is not enough: some people post-process
516
# each Makefile.in and add a new line on top of each file to say so.
517
# Grep'ing the whole file is not good either: AIX grep has a line
518
# limit of 2048, but all sed's we know have understand at least 4000.
519
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
520
dirpart=`AS_DIRNAME("$mf")`
524
# Extract the definition of DEPDIR, am__include, and am__quote
525
# from the Makefile without running `make'.
526
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
527
test -z "$DEPDIR" && continue
528
am__include=`sed -n 's/^am__include = //p' < "$mf"`
529
test -z "am__include" && continue
530
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
531
# When using ansi2knr, U may be empty or an underscore; expand it
532
U=`sed -n 's/^U = //p' < "$mf"`
533
# Find all dependency output files, they are included files with
534
# $(DEPDIR) in their names. We invoke sed twice because it is the
535
# simplest approach to changing $(DEPDIR) to its actual value in the
537
for file in `sed -n "
538
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
539
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
540
# Make sure the directory exists.
541
test -f "$dirpart/$file" && continue
542
fdir=`AS_DIRNAME(["$file"])`
543
AS_MKDIR_P([$dirpart/$fdir])
544
# echo "creating $dirpart/$file"
545
echo '# dummy' > "$dirpart/$file"
522
549
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
538
565
# Do all the work for Automake. -*- Autoconf -*-
540
567
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
541
# 2005, 2006, 2008 Free Software Foundation, Inc.
568
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
543
570
# This file is free software; the Free Software Foundation
544
571
# gives unlimited permission to copy and/or distribute it,
545
572
# with or without modifications, as long as this notice is preserved.
549
576
# This macro actually does too much. Some checks are only needed if
550
577
# your package does certain things. But this isn't really a big deal.
621
648
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
622
649
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
623
650
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
624
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
625
[_AM_PROG_TAR([v7])])])
651
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
652
[_AM_PROG_TAR([v7])])])
626
653
_AM_IF_OPTION([no-dependencies],,
627
654
[AC_PROVIDE_IFELSE([AC_PROG_CC],
628
[_AM_DEPENDENCIES(CC)],
629
[define([AC_PROG_CC],
630
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
655
[_AM_DEPENDENCIES(CC)],
656
[define([AC_PROG_CC],
657
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
631
658
AC_PROVIDE_IFELSE([AC_PROG_CXX],
632
[_AM_DEPENDENCIES(CXX)],
633
[define([AC_PROG_CXX],
634
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
659
[_AM_DEPENDENCIES(CXX)],
660
[define([AC_PROG_CXX],
661
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
635
662
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
636
[_AM_DEPENDENCIES(OBJC)],
637
[define([AC_PROG_OBJC],
638
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
663
[_AM_DEPENDENCIES(OBJC)],
664
[define([AC_PROG_OBJC],
665
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
667
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
668
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
669
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
670
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
671
AC_CONFIG_COMMANDS_PRE(dnl
672
[m4_provide_if([_AM_COMPILER_EXEEXT],
673
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
676
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
677
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
678
dnl mangled by Autoconf and run in a shell conditional statement.
679
m4_define([_AC_COMPILER_EXEEXT],
680
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
643
683
# When config.status generates a header, we must update the stamp-h file.
699
746
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
700
747
# From Jim Meyering
702
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
749
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
703
750
# Free Software Foundation, Inc.
705
752
# This file is free software; the Free Software Foundation
706
753
# gives unlimited permission to copy and/or distribute it,
707
754
# with or without modifications, as long as this notice is preserved.
758
# AM_MAINTAINER_MODE([DEFAULT-MODE])
759
# ----------------------------------
760
# Control maintainer-specific portions of Makefiles.
761
# Default is to disable them, unless `enable' is passed literally.
762
# For symmetry, `disable' may be passed as well. Anyway, the user
763
# can override the default with the --enable/--disable switch.
711
764
AC_DEFUN([AM_MAINTAINER_MODE],
712
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
713
dnl maintainer-mode is disabled by default
714
AC_ARG_ENABLE(maintainer-mode,
715
[ --enable-maintainer-mode enable make rules and dependencies not useful
765
[m4_case(m4_default([$1], [disable]),
766
[enable], [m4_define([am_maintainer_other], [disable])],
767
[disable], [m4_define([am_maintainer_other], [enable])],
768
[m4_define([am_maintainer_other], [enable])
769
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
770
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
771
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
772
AC_ARG_ENABLE([maintainer-mode],
773
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
716
774
(and sometimes confusing) to the casual installer],
717
USE_MAINTAINER_MODE=$enableval,
718
USE_MAINTAINER_MODE=no)
775
[USE_MAINTAINER_MODE=$enableval],
776
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
719
777
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
720
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
778
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
721
779
MAINT=$MAINTAINER_MODE_TRUE
753
811
# First try GNU make style include.
754
812
echo "include confinc" > confmf
755
# We grep out `Entering directory' and `Leaving directory'
756
# messages which can occur if `w' ends up in MAKEFLAGS.
757
# In particular we don't look at `^make:' because GNU make might
758
# be invoked under some other name (usually "gmake"), in which
759
# case it prints its new name instead of `make'.
760
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
813
# Ignore all kinds of additional output from `make'.
814
case `$am_make -s -f confmf 2> /dev/null` in #(
815
*the\ am__doit\ target*)
765
821
# Now try BSD make style include.
766
822
if test "$am__include" = "#"; then
767
823
echo '.include "confinc"' > confmf
768
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
824
case `$am_make -s -f confmf 2> /dev/null` in #(
825
*the\ am__doit\ target*)
774
832
AC_SUBST([am__include])
775
833
AC_SUBST([am__quote])
815
873
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
817
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
875
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
818
876
# Free Software Foundation, Inc.
820
878
# This file is free software; the Free Software Foundation
821
879
# gives unlimited permission to copy and/or distribute it,
822
880
# with or without modifications, as long as this notice is preserved.
826
884
# AM_MISSING_PROG(NAME, PROGRAM)
827
885
# ------------------------------
927
992
echo timestamp > conftest.file
993
# Reject unsafe characters in $srcdir or the absolute working directory
994
# name. Accept space and tab only in the latter.
998
*[[\\\"\#\$\&\'\`$am_lf]]*)
999
AC_MSG_ERROR([unsafe absolute working directory name]);;
1002
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1003
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
928
1006
# Do `set' in a subshell so we don't clobber the current shell's
929
1007
# arguments. Must try -L first in case configure is actually a
930
1008
# symlink; some systems play weird games with the mod time of symlinks
931
1009
# (eg FreeBSD returns the mod time of the symlink's containing
934
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1012
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
935
1013
if test "$[*]" = "X"; then
936
1014
# -L didn't work.
937
set X `ls -t $srcdir/configure conftest.file`
1015
set X `ls -t "$srcdir/configure" conftest.file`
939
1017
rm -f conftest.file
940
1018
if test "$[*]" != "X $srcdir/configure conftest.file" \
987
1065
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
988
1066
AC_SUBST([INSTALL_STRIP_PROGRAM])])
990
# Copyright (C) 2006 Free Software Foundation, Inc.
1068
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
992
1070
# This file is free software; the Free Software Foundation
993
1071
# gives unlimited permission to copy and/or distribute it,
994
1072
# with or without modifications, as long as this notice is preserved.
996
1076
# _AM_SUBST_NOTMAKE(VARIABLE)
997
1077
# ---------------------------
998
1078
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
999
1079
# This macro is traced by Automake.
1000
1080
AC_DEFUN([_AM_SUBST_NOTMAKE])
1082
# AM_SUBST_NOTMAKE(VARIABLE)
1083
# ---------------------------
1084
# Public sister of _AM_SUBST_NOTMAKE.
1085
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1002
1087
# Check how to create a tarball. -*- Autoconf -*-
1004
1089
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.