1
# generated automatically by aclocal 1.10.1 -*- 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.
273
273
# AM_CONDITIONAL -*- Autoconf -*-
275
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
275
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
276
276
# Free Software Foundation, Inc.
278
278
# This file is free software; the Free Software Foundation
279
279
# gives unlimited permission to copy and/or distribute it,
280
280
# with or without modifications, as long as this notice is preserved.
284
284
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
285
285
# -------------------------------------
305
306
Usually this means the macro was only invoked conditionally.]])
308
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
309
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
309
310
# Free Software Foundation, Inc.
311
312
# This file is free software; the Free Software Foundation
312
313
# gives unlimited permission to copy and/or distribute it,
313
314
# with or without modifications, as long as this notice is preserved.
317
318
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
318
319
# written in clear, in which case automake, when reading aclocal.m4,
420
msvisualcpp | msvcmsys)
421
# This compiler won't grok `-c -o', but also, the minuso test has
422
# not run yet. These depmodes are late enough in the game, and
423
# so weak that their functioning should not be impacted.
424
am__obj=conftest.${OBJEXT-o}
401
# We check with `-c' and `-o' for the sake of the "dashmstdout"
402
# mode. It turns out that the SunPro C++ compiler does not properly
403
# handle `-M -o', and we need to detect this.
404
429
if depmode=$depmode \
405
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
430
source=sub/conftest.c object=$am__obj \
406
431
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
407
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
432
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
408
433
>/dev/null 2>conftest.err &&
409
434
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
410
435
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
411
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
436
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
412
437
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
413
438
# icc doesn't choke on unknown options, it will just issue warnings
414
439
# or remarks (even with -Werror). So we grep stderr for any message
466
491
# Generate code to set up dependency tracking. -*- Autoconf -*-
468
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
493
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
469
494
# Free Software Foundation, Inc.
471
496
# This file is free software; the Free Software Foundation
472
497
# gives unlimited permission to copy and/or distribute it,
473
498
# with or without modifications, as long as this notice is preserved.
477
502
# _AM_OUTPUT_DEPENDENCY_COMMANDS
478
503
# ------------------------------
479
504
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
480
[for mf in $CONFIG_FILES; do
481
# Strip MF so we end up with the name of the file.
482
mf=`echo "$mf" | sed -e 's/:.*$//'`
483
# Check whether this is an Automake generated Makefile or not.
484
# We used to match only the files named `Makefile.in', but
485
# some people rename them; so instead we look at the file content.
486
# Grep'ing the first line is not enough: some people post-process
487
# each Makefile.in and add a new line on top of each file to say so.
488
# Grep'ing the whole file is not good either: AIX grep has a line
489
# limit of 2048, but all sed's we know have understand at least 4000.
490
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
491
dirpart=`AS_DIRNAME("$mf")`
495
# Extract the definition of DEPDIR, am__include, and am__quote
496
# from the Makefile without running `make'.
497
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
498
test -z "$DEPDIR" && continue
499
am__include=`sed -n 's/^am__include = //p' < "$mf"`
500
test -z "am__include" && continue
501
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
502
# When using ansi2knr, U may be empty or an underscore; expand it
503
U=`sed -n 's/^U = //p' < "$mf"`
504
# Find all dependency output files, they are included files with
505
# $(DEPDIR) in their names. We invoke sed twice because it is the
506
# simplest approach to changing $(DEPDIR) to its actual value in the
508
for file in `sed -n "
509
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
510
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
511
# Make sure the directory exists.
512
test -f "$dirpart/$file" && continue
513
fdir=`AS_DIRNAME(["$file"])`
514
AS_MKDIR_P([$dirpart/$fdir])
515
# echo "creating $dirpart/$file"
516
echo '# dummy' > "$dirpart/$file"
506
# Autoconf 2.62 quotes --file arguments for eval, but not when files
507
# are listed without --file. Let's play safe and only enable the eval
508
# if we detect the quoting.
509
case $CONFIG_FILES in
510
*\'*) eval set x "$CONFIG_FILES" ;;
511
*) set x $CONFIG_FILES ;;
516
# Strip MF so we end up with the name of the file.
517
mf=`echo "$mf" | sed -e 's/:.*$//'`
518
# Check whether this is an Automake generated Makefile or not.
519
# We used to match only the files named `Makefile.in', but
520
# some people rename them; so instead we look at the file content.
521
# Grep'ing the first line is not enough: some people post-process
522
# each Makefile.in and add a new line on top of each file to say so.
523
# Grep'ing the whole file is not good either: AIX grep has a line
524
# limit of 2048, but all sed's we know have understand at least 4000.
525
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
526
dirpart=`AS_DIRNAME("$mf")`
530
# Extract the definition of DEPDIR, am__include, and am__quote
531
# from the Makefile without running `make'.
532
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
533
test -z "$DEPDIR" && continue
534
am__include=`sed -n 's/^am__include = //p' < "$mf"`
535
test -z "am__include" && continue
536
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
537
# When using ansi2knr, U may be empty or an underscore; expand it
538
U=`sed -n 's/^U = //p' < "$mf"`
539
# Find all dependency output files, they are included files with
540
# $(DEPDIR) in their names. We invoke sed twice because it is the
541
# simplest approach to changing $(DEPDIR) to its actual value in the
543
for file in `sed -n "
544
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
545
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
546
# Make sure the directory exists.
547
test -f "$dirpart/$file" && continue
548
fdir=`AS_DIRNAME(["$file"])`
549
AS_MKDIR_P([$dirpart/$fdir])
550
# echo "creating $dirpart/$file"
551
echo '# dummy' > "$dirpart/$file"
519
555
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
547
583
# Do all the work for Automake. -*- Autoconf -*-
549
585
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
550
# 2005, 2006, 2008 Free Software Foundation, Inc.
586
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
552
588
# This file is free software; the Free Software Foundation
553
589
# gives unlimited permission to copy and/or distribute it,
554
590
# with or without modifications, as long as this notice is preserved.
558
594
# This macro actually does too much. Some checks are only needed if
559
595
# your package does certain things. But this isn't really a big deal.
630
666
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
631
667
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
632
668
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
633
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
634
[_AM_PROG_TAR([v7])])])
669
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
670
[_AM_PROG_TAR([v7])])])
635
671
_AM_IF_OPTION([no-dependencies],,
636
672
[AC_PROVIDE_IFELSE([AC_PROG_CC],
637
[_AM_DEPENDENCIES(CC)],
638
[define([AC_PROG_CC],
639
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
673
[_AM_DEPENDENCIES(CC)],
674
[define([AC_PROG_CC],
675
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
640
676
AC_PROVIDE_IFELSE([AC_PROG_CXX],
641
[_AM_DEPENDENCIES(CXX)],
642
[define([AC_PROG_CXX],
643
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
677
[_AM_DEPENDENCIES(CXX)],
678
[define([AC_PROG_CXX],
679
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
644
680
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
645
[_AM_DEPENDENCIES(OBJC)],
646
[define([AC_PROG_OBJC],
647
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
681
[_AM_DEPENDENCIES(OBJC)],
682
[define([AC_PROG_OBJC],
683
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
685
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
686
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
687
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
688
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
689
AC_CONFIG_COMMANDS_PRE(dnl
690
[m4_provide_if([_AM_COMPILER_EXEEXT],
691
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
694
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
695
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
696
dnl mangled by Autoconf and run in a shell conditional statement.
697
m4_define([_AC_COMPILER_EXEEXT],
698
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
652
701
# When config.status generates a header, we must update the stamp-h file.
708
764
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
709
765
# From Jim Meyering
711
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
767
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
712
768
# Free Software Foundation, Inc.
714
770
# This file is free software; the Free Software Foundation
715
771
# gives unlimited permission to copy and/or distribute it,
716
772
# with or without modifications, as long as this notice is preserved.
776
# AM_MAINTAINER_MODE([DEFAULT-MODE])
777
# ----------------------------------
778
# Control maintainer-specific portions of Makefiles.
779
# Default is to disable them, unless `enable' is passed literally.
780
# For symmetry, `disable' may be passed as well. Anyway, the user
781
# can override the default with the --enable/--disable switch.
720
782
AC_DEFUN([AM_MAINTAINER_MODE],
721
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
722
dnl maintainer-mode is disabled by default
723
AC_ARG_ENABLE(maintainer-mode,
724
[ --enable-maintainer-mode enable make rules and dependencies not useful
783
[m4_case(m4_default([$1], [disable]),
784
[enable], [m4_define([am_maintainer_other], [disable])],
785
[disable], [m4_define([am_maintainer_other], [enable])],
786
[m4_define([am_maintainer_other], [enable])
787
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
788
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
789
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
790
AC_ARG_ENABLE([maintainer-mode],
791
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
725
792
(and sometimes confusing) to the casual installer],
726
USE_MAINTAINER_MODE=$enableval,
727
USE_MAINTAINER_MODE=no)
793
[USE_MAINTAINER_MODE=$enableval],
794
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
728
795
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
729
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
796
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
730
797
MAINT=$MAINTAINER_MODE_TRUE
823
891
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
825
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
893
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
826
894
# Free Software Foundation, Inc.
828
896
# This file is free software; the Free Software Foundation
829
897
# gives unlimited permission to copy and/or distribute it,
830
898
# with or without modifications, as long as this notice is preserved.
834
902
# AM_MISSING_PROG(NAME, PROGRAM)
835
903
# ------------------------------
935
1010
echo timestamp > conftest.file
1011
# Reject unsafe characters in $srcdir or the absolute working directory
1012
# name. Accept space and tab only in the latter.
1016
*[[\\\"\#\$\&\'\`$am_lf]]*)
1017
AC_MSG_ERROR([unsafe absolute working directory name]);;
1020
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
1021
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
936
1024
# Do `set' in a subshell so we don't clobber the current shell's
937
1025
# arguments. Must try -L first in case configure is actually a
938
1026
# symlink; some systems play weird games with the mod time of symlinks
939
1027
# (eg FreeBSD returns the mod time of the symlink's containing
942
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1030
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
943
1031
if test "$[*]" = "X"; then
944
1032
# -L didn't work.
945
set X `ls -t $srcdir/configure conftest.file`
1033
set X `ls -t "$srcdir/configure" conftest.file`
947
1035
rm -f conftest.file
948
1036
if test "$[*]" != "X $srcdir/configure conftest.file" \
995
1083
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
996
1084
AC_SUBST([INSTALL_STRIP_PROGRAM])])
998
# Copyright (C) 2006 Free Software Foundation, Inc.
1086
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
1000
1088
# This file is free software; the Free Software Foundation
1001
1089
# gives unlimited permission to copy and/or distribute it,
1002
1090
# with or without modifications, as long as this notice is preserved.
1004
1094
# _AM_SUBST_NOTMAKE(VARIABLE)
1005
1095
# ---------------------------
1006
1096
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
1007
1097
# This macro is traced by Automake.
1008
1098
AC_DEFUN([_AM_SUBST_NOTMAKE])
1100
# AM_SUBST_NOTMAKE(VARIABLE)
1101
# ---------------------------
1102
# Public sister of _AM_SUBST_NOTMAKE.
1103
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
1010
1105
# Check how to create a tarball. -*- Autoconf -*-
1012
1107
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.