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.
400
400
# AM_CONDITIONAL -*- Autoconf -*-
402
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
402
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
403
403
# Free Software Foundation, Inc.
405
405
# This file is free software; the Free Software Foundation
406
406
# gives unlimited permission to copy and/or distribute it,
407
407
# with or without modifications, as long as this notice is preserved.
411
411
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
412
412
# -------------------------------------
432
433
Usually this means the macro was only invoked conditionally.]])
435
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
436
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
436
437
# Free Software Foundation, Inc.
438
439
# This file is free software; the Free Software Foundation
439
440
# gives unlimited permission to copy and/or distribute it,
440
441
# with or without modifications, as long as this notice is preserved.
444
445
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
445
446
# written in clear, in which case automake, when reading aclocal.m4,
547
msvisualcpp | msvcmsys)
548
# This compiler won't grok `-c -o', but also, the minuso test has
549
# not run yet. These depmodes are late enough in the game, and
550
# so weak that their functioning should not be impacted.
551
am__obj=conftest.${OBJEXT-o}
528
# We check with `-c' and `-o' for the sake of the "dashmstdout"
529
# mode. It turns out that the SunPro C++ compiler does not properly
530
# handle `-M -o', and we need to detect this.
531
556
if depmode=$depmode \
532
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
557
source=sub/conftest.c object=$am__obj \
533
558
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
534
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
559
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
535
560
>/dev/null 2>conftest.err &&
536
561
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
537
562
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
538
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
563
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
539
564
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
540
565
# icc doesn't choke on unknown options, it will just issue warnings
541
566
# or remarks (even with -Werror). So we grep stderr for any message
599
624
# gives unlimited permission to copy and/or distribute it,
600
625
# with or without modifications, as long as this notice is preserved.
604
629
# _AM_OUTPUT_DEPENDENCY_COMMANDS
605
630
# ------------------------------
606
631
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
607
[# Autoconf 2.62 quotes --file arguments for eval, but not when files
608
# are listed without --file. Let's play safe and only enable the eval
609
# if we detect the quoting.
610
case $CONFIG_FILES in
611
*\'*) eval set x "$CONFIG_FILES" ;;
612
*) set x $CONFIG_FILES ;;
617
# Strip MF so we end up with the name of the file.
618
mf=`echo "$mf" | sed -e 's/:.*$//'`
619
# Check whether this is an Automake generated Makefile or not.
620
# We used to match only the files named `Makefile.in', but
621
# some people rename them; so instead we look at the file content.
622
# Grep'ing the first line is not enough: some people post-process
623
# each Makefile.in and add a new line on top of each file to say so.
624
# Grep'ing the whole file is not good either: AIX grep has a line
625
# limit of 2048, but all sed's we know have understand at least 4000.
626
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
627
dirpart=`AS_DIRNAME("$mf")`
631
# Extract the definition of DEPDIR, am__include, and am__quote
632
# from the Makefile without running `make'.
633
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
634
test -z "$DEPDIR" && continue
635
am__include=`sed -n 's/^am__include = //p' < "$mf"`
636
test -z "am__include" && continue
637
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
638
# When using ansi2knr, U may be empty or an underscore; expand it
639
U=`sed -n 's/^U = //p' < "$mf"`
640
# Find all dependency output files, they are included files with
641
# $(DEPDIR) in their names. We invoke sed twice because it is the
642
# simplest approach to changing $(DEPDIR) to its actual value in the
644
for file in `sed -n "
645
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
646
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
647
# Make sure the directory exists.
648
test -f "$dirpart/$file" && continue
649
fdir=`AS_DIRNAME(["$file"])`
650
AS_MKDIR_P([$dirpart/$fdir])
651
# echo "creating $dirpart/$file"
652
echo '# dummy' > "$dirpart/$file"
633
# Autoconf 2.62 quotes --file arguments for eval, but not when files
634
# are listed without --file. Let's play safe and only enable the eval
635
# if we detect the quoting.
636
case $CONFIG_FILES in
637
*\'*) eval set x "$CONFIG_FILES" ;;
638
*) set x $CONFIG_FILES ;;
643
# Strip MF so we end up with the name of the file.
644
mf=`echo "$mf" | sed -e 's/:.*$//'`
645
# Check whether this is an Automake generated Makefile or not.
646
# We used to match only the files named `Makefile.in', but
647
# some people rename them; so instead we look at the file content.
648
# Grep'ing the first line is not enough: some people post-process
649
# each Makefile.in and add a new line on top of each file to say so.
650
# Grep'ing the whole file is not good either: AIX grep has a line
651
# limit of 2048, but all sed's we know have understand at least 4000.
652
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
653
dirpart=`AS_DIRNAME("$mf")`
657
# Extract the definition of DEPDIR, am__include, and am__quote
658
# from the Makefile without running `make'.
659
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
660
test -z "$DEPDIR" && continue
661
am__include=`sed -n 's/^am__include = //p' < "$mf"`
662
test -z "am__include" && continue
663
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
664
# When using ansi2knr, U may be empty or an underscore; expand it
665
U=`sed -n 's/^U = //p' < "$mf"`
666
# Find all dependency output files, they are included files with
667
# $(DEPDIR) in their names. We invoke sed twice because it is the
668
# simplest approach to changing $(DEPDIR) to its actual value in the
670
for file in `sed -n "
671
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
672
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
673
# Make sure the directory exists.
674
test -f "$dirpart/$file" && continue
675
fdir=`AS_DIRNAME(["$file"])`
676
AS_MKDIR_P([$dirpart/$fdir])
677
# echo "creating $dirpart/$file"
678
echo '# dummy' > "$dirpart/$file"
655
682
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
683
710
# Do all the work for Automake. -*- Autoconf -*-
685
712
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
686
# 2005, 2006, 2008 Free Software Foundation, Inc.
713
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
688
715
# This file is free software; the Free Software Foundation
689
716
# gives unlimited permission to copy and/or distribute it,
690
717
# with or without modifications, as long as this notice is preserved.
694
721
# This macro actually does too much. Some checks are only needed if
695
722
# your package does certain things. But this isn't really a big deal.
766
793
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
767
794
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
768
795
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
769
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
770
[_AM_PROG_TAR([v7])])])
796
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
797
[_AM_PROG_TAR([v7])])])
771
798
_AM_IF_OPTION([no-dependencies],,
772
799
[AC_PROVIDE_IFELSE([AC_PROG_CC],
773
[_AM_DEPENDENCIES(CC)],
774
[define([AC_PROG_CC],
775
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
800
[_AM_DEPENDENCIES(CC)],
801
[define([AC_PROG_CC],
802
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
776
803
AC_PROVIDE_IFELSE([AC_PROG_CXX],
777
[_AM_DEPENDENCIES(CXX)],
778
[define([AC_PROG_CXX],
779
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
804
[_AM_DEPENDENCIES(CXX)],
805
[define([AC_PROG_CXX],
806
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
780
807
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
781
[_AM_DEPENDENCIES(OBJC)],
782
[define([AC_PROG_OBJC],
783
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
808
[_AM_DEPENDENCIES(OBJC)],
809
[define([AC_PROG_OBJC],
810
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
812
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
813
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
814
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
815
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
816
AC_CONFIG_COMMANDS_PRE(dnl
817
[m4_provide_if([_AM_COMPILER_EXEEXT],
818
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
821
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
822
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
823
dnl mangled by Autoconf and run in a shell conditional statement.
824
m4_define([_AC_COMPILER_EXEEXT],
825
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
788
828
# When config.status generates a header, we must update the stamp-h file.
844
891
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
845
892
# From Jim Meyering
847
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
894
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
848
895
# Free Software Foundation, Inc.
850
897
# This file is free software; the Free Software Foundation
851
898
# gives unlimited permission to copy and/or distribute it,
852
899
# with or without modifications, as long as this notice is preserved.
903
# AM_MAINTAINER_MODE([DEFAULT-MODE])
904
# ----------------------------------
905
# Control maintainer-specific portions of Makefiles.
906
# Default is to disable them, unless `enable' is passed literally.
907
# For symmetry, `disable' may be passed as well. Anyway, the user
908
# can override the default with the --enable/--disable switch.
856
909
AC_DEFUN([AM_MAINTAINER_MODE],
857
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
858
dnl maintainer-mode is disabled by default
859
AC_ARG_ENABLE(maintainer-mode,
860
[ --enable-maintainer-mode enable make rules and dependencies not useful
910
[m4_case(m4_default([$1], [disable]),
911
[enable], [m4_define([am_maintainer_other], [disable])],
912
[disable], [m4_define([am_maintainer_other], [enable])],
913
[m4_define([am_maintainer_other], [enable])
914
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
915
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
916
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
917
AC_ARG_ENABLE([maintainer-mode],
918
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
861
919
(and sometimes confusing) to the casual installer],
862
USE_MAINTAINER_MODE=$enableval,
863
USE_MAINTAINER_MODE=no)
920
[USE_MAINTAINER_MODE=$enableval],
921
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
864
922
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
865
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
923
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
866
924
MAINT=$MAINTAINER_MODE_TRUE
898
956
# First try GNU make style include.
899
957
echo "include confinc" > confmf
900
# We grep out `Entering directory' and `Leaving directory'
901
# messages which can occur if `w' ends up in MAKEFLAGS.
902
# In particular we don't look at `^make:' because GNU make might
903
# be invoked under some other name (usually "gmake"), in which
904
# case it prints its new name instead of `make'.
905
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
958
# Ignore all kinds of additional output from `make'.
959
case `$am_make -s -f confmf 2> /dev/null` in #(
960
*the\ am__doit\ target*)
910
966
# Now try BSD make style include.
911
967
if test "$am__include" = "#"; then
912
968
echo '.include "confinc"' > confmf
913
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
969
case `$am_make -s -f confmf 2> /dev/null` in #(
970
*the\ am__doit\ target*)
919
977
AC_SUBST([am__include])
920
978
AC_SUBST([am__quote])
960
1018
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
962
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
1020
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
963
1021
# Free Software Foundation, Inc.
965
1023
# This file is free software; the Free Software Foundation
966
1024
# gives unlimited permission to copy and/or distribute it,
967
1025
# with or without modifications, as long as this notice is preserved.
971
1029
# AM_MISSING_PROG(NAME, PROGRAM)
972
1030
# ------------------------------
1089
1154
echo timestamp > conftest.file
1155
# Reject unsafe characters in $srcdir or the absolute working directory
1156
# name. Accept space and tab only in the latter.
1160
*[[\\\"\#\$\&\'\`$am_lf]]*)
1161
AC_MSG_ERROR([unsafe absolute working directory name]);;
1164
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1165
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
1090
1168
# Do `set' in a subshell so we don't clobber the current shell's
1091
1169
# arguments. Must try -L first in case configure is actually a
1092
1170
# symlink; some systems play weird games with the mod time of symlinks
1093
1171
# (eg FreeBSD returns the mod time of the symlink's containing
1096
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1174
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1097
1175
if test "$[*]" = "X"; then
1098
1176
# -L didn't work.
1099
set X `ls -t $srcdir/configure conftest.file`
1177
set X `ls -t "$srcdir/configure" conftest.file`
1101
1179
rm -f conftest.file
1102
1180
if test "$[*]" != "X $srcdir/configure conftest.file" \
1149
1227
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1150
1228
AC_SUBST([INSTALL_STRIP_PROGRAM])])
1152
# Copyright (C) 2006 Free Software Foundation, Inc.
1230
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
1154
1232
# This file is free software; the Free Software Foundation
1155
1233
# gives unlimited permission to copy and/or distribute it,
1156
1234
# with or without modifications, as long as this notice is preserved.
1158
1238
# _AM_SUBST_NOTMAKE(VARIABLE)
1159
1239
# ---------------------------
1160
1240
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1161
1241
# This macro is traced by Automake.
1162
1242
AC_DEFUN([_AM_SUBST_NOTMAKE])
1244
# AM_SUBST_NOTMAKE(VARIABLE)
1245
# ---------------------------
1246
# Public sister of _AM_SUBST_NOTMAKE.
1247
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1164
1249
# Check how to create a tarball. -*- Autoconf -*-
1166
1251
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.