1
# generated automatically by aclocal 1.10.1 -*- 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.
269
269
# AM_CONDITIONAL -*- Autoconf -*-
271
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
271
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
272
272
# Free Software Foundation, Inc.
274
274
# This file is free software; the Free Software Foundation
275
275
# gives unlimited permission to copy and/or distribute it,
276
276
# with or without modifications, as long as this notice is preserved.
280
280
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
281
281
# -------------------------------------
301
302
Usually this means the macro was only invoked conditionally.]])
304
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
305
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
305
306
# Free Software Foundation, Inc.
307
308
# This file is free software; the Free Software Foundation
308
309
# gives unlimited permission to copy and/or distribute it,
309
310
# with or without modifications, as long as this notice is preserved.
313
314
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
314
315
# written in clear, in which case automake, when reading aclocal.m4,
416
msvisualcpp | msvcmsys)
417
# This compiler won't grok `-c -o', but also, the minuso test has
418
# not run yet. These depmodes are late enough in the game, and
419
# so weak that their functioning should not be impacted.
420
am__obj=conftest.${OBJEXT-o}
397
# We check with `-c' and `-o' for the sake of the "dashmstdout"
398
# mode. It turns out that the SunPro C++ compiler does not properly
399
# handle `-M -o', and we need to detect this.
400
425
if depmode=$depmode \
401
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
426
source=sub/conftest.c object=$am__obj \
402
427
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
403
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
428
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
404
429
>/dev/null 2>conftest.err &&
405
430
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
406
431
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
407
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
432
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
408
433
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
409
434
# icc doesn't choke on unknown options, it will just issue warnings
410
435
# or remarks (even with -Werror). So we grep stderr for any message
462
487
# Generate code to set up dependency tracking. -*- Autoconf -*-
464
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
489
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
465
490
# Free Software Foundation, Inc.
467
492
# This file is free software; the Free Software Foundation
468
493
# gives unlimited permission to copy and/or distribute it,
469
494
# with or without modifications, as long as this notice is preserved.
473
498
# _AM_OUTPUT_DEPENDENCY_COMMANDS
474
499
# ------------------------------
475
500
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
476
[for mf in $CONFIG_FILES; do
477
# Strip MF so we end up with the name of the file.
478
mf=`echo "$mf" | sed -e 's/:.*$//'`
479
# Check whether this is an Automake generated Makefile or not.
480
# We used to match only the files named `Makefile.in', but
481
# some people rename them; so instead we look at the file content.
482
# Grep'ing the first line is not enough: some people post-process
483
# each Makefile.in and add a new line on top of each file to say so.
484
# Grep'ing the whole file is not good either: AIX grep has a line
485
# limit of 2048, but all sed's we know have understand at least 4000.
486
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
487
dirpart=`AS_DIRNAME("$mf")`
491
# Extract the definition of DEPDIR, am__include, and am__quote
492
# from the Makefile without running `make'.
493
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
494
test -z "$DEPDIR" && continue
495
am__include=`sed -n 's/^am__include = //p' < "$mf"`
496
test -z "am__include" && continue
497
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
498
# When using ansi2knr, U may be empty or an underscore; expand it
499
U=`sed -n 's/^U = //p' < "$mf"`
500
# Find all dependency output files, they are included files with
501
# $(DEPDIR) in their names. We invoke sed twice because it is the
502
# simplest approach to changing $(DEPDIR) to its actual value in the
504
for file in `sed -n "
505
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
506
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
507
# Make sure the directory exists.
508
test -f "$dirpart/$file" && continue
509
fdir=`AS_DIRNAME(["$file"])`
510
AS_MKDIR_P([$dirpart/$fdir])
511
# echo "creating $dirpart/$file"
512
echo '# dummy' > "$dirpart/$file"
502
# Autoconf 2.62 quotes --file arguments for eval, but not when files
503
# are listed without --file. Let's play safe and only enable the eval
504
# if we detect the quoting.
505
case $CONFIG_FILES in
506
*\'*) eval set x "$CONFIG_FILES" ;;
507
*) set x $CONFIG_FILES ;;
512
# Strip MF so we end up with the name of the file.
513
mf=`echo "$mf" | sed -e 's/:.*$//'`
514
# Check whether this is an Automake generated Makefile or not.
515
# We used to match only the files named `Makefile.in', but
516
# some people rename them; so instead we look at the file content.
517
# Grep'ing the first line is not enough: some people post-process
518
# each Makefile.in and add a new line on top of each file to say so.
519
# Grep'ing the whole file is not good either: AIX grep has a line
520
# limit of 2048, but all sed's we know have understand at least 4000.
521
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
522
dirpart=`AS_DIRNAME("$mf")`
526
# Extract the definition of DEPDIR, am__include, and am__quote
527
# from the Makefile without running `make'.
528
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
529
test -z "$DEPDIR" && continue
530
am__include=`sed -n 's/^am__include = //p' < "$mf"`
531
test -z "am__include" && continue
532
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
533
# When using ansi2knr, U may be empty or an underscore; expand it
534
U=`sed -n 's/^U = //p' < "$mf"`
535
# Find all dependency output files, they are included files with
536
# $(DEPDIR) in their names. We invoke sed twice because it is the
537
# simplest approach to changing $(DEPDIR) to its actual value in the
539
for file in `sed -n "
540
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
541
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
542
# Make sure the directory exists.
543
test -f "$dirpart/$file" && continue
544
fdir=`AS_DIRNAME(["$file"])`
545
AS_MKDIR_P([$dirpart/$fdir])
546
# echo "creating $dirpart/$file"
547
echo '# dummy' > "$dirpart/$file"
515
551
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
543
579
# Do all the work for Automake. -*- Autoconf -*-
545
581
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
546
# 2005, 2006, 2008 Free Software Foundation, Inc.
582
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
548
584
# This file is free software; the Free Software Foundation
549
585
# gives unlimited permission to copy and/or distribute it,
550
586
# with or without modifications, as long as this notice is preserved.
554
590
# This macro actually does too much. Some checks are only needed if
555
591
# your package does certain things. But this isn't really a big deal.
626
662
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
627
663
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
628
664
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
629
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
630
[_AM_PROG_TAR([v7])])])
665
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
666
[_AM_PROG_TAR([v7])])])
631
667
_AM_IF_OPTION([no-dependencies],,
632
668
[AC_PROVIDE_IFELSE([AC_PROG_CC],
633
[_AM_DEPENDENCIES(CC)],
634
[define([AC_PROG_CC],
635
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
669
[_AM_DEPENDENCIES(CC)],
670
[define([AC_PROG_CC],
671
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
636
672
AC_PROVIDE_IFELSE([AC_PROG_CXX],
637
[_AM_DEPENDENCIES(CXX)],
638
[define([AC_PROG_CXX],
639
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
673
[_AM_DEPENDENCIES(CXX)],
674
[define([AC_PROG_CXX],
675
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
640
676
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
641
[_AM_DEPENDENCIES(OBJC)],
642
[define([AC_PROG_OBJC],
643
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
677
[_AM_DEPENDENCIES(OBJC)],
678
[define([AC_PROG_OBJC],
679
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
681
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
682
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
683
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
684
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
685
AC_CONFIG_COMMANDS_PRE(dnl
686
[m4_provide_if([_AM_COMPILER_EXEEXT],
687
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
690
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
691
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
692
dnl mangled by Autoconf and run in a shell conditional statement.
693
m4_define([_AC_COMPILER_EXEEXT],
694
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
648
697
# When config.status generates a header, we must update the stamp-h file.
790
847
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
792
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
849
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
793
850
# Free Software Foundation, Inc.
795
852
# This file is free software; the Free Software Foundation
796
853
# gives unlimited permission to copy and/or distribute it,
797
854
# with or without modifications, as long as this notice is preserved.
801
858
# AM_MISSING_PROG(NAME, PROGRAM)
802
859
# ------------------------------
919
983
echo timestamp > conftest.file
984
# Reject unsafe characters in $srcdir or the absolute working directory
985
# name. Accept space and tab only in the latter.
989
*[[\\\"\#\$\&\'\`$am_lf]]*)
990
AC_MSG_ERROR([unsafe absolute working directory name]);;
993
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
994
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
920
997
# Do `set' in a subshell so we don't clobber the current shell's
921
998
# arguments. Must try -L first in case configure is actually a
922
999
# symlink; some systems play weird games with the mod time of symlinks
923
1000
# (eg FreeBSD returns the mod time of the symlink's containing
926
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1003
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
927
1004
if test "$[*]" = "X"; then
928
1005
# -L didn't work.
929
set X `ls -t $srcdir/configure conftest.file`
1006
set X `ls -t "$srcdir/configure" conftest.file`
931
1008
rm -f conftest.file
932
1009
if test "$[*]" != "X $srcdir/configure conftest.file" \
979
1056
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
980
1057
AC_SUBST([INSTALL_STRIP_PROGRAM])])
982
# Copyright (C) 2006 Free Software Foundation, Inc.
1059
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
984
1061
# This file is free software; the Free Software Foundation
985
1062
# gives unlimited permission to copy and/or distribute it,
986
1063
# with or without modifications, as long as this notice is preserved.
988
1067
# _AM_SUBST_NOTMAKE(VARIABLE)
989
1068
# ---------------------------
990
1069
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
991
1070
# This macro is traced by Automake.
992
1071
AC_DEFUN([_AM_SUBST_NOTMAKE])
1073
# AM_SUBST_NOTMAKE(VARIABLE)
1074
# ---------------------------
1075
# Public sister of _AM_SUBST_NOTMAKE.
1076
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
994
1078
# Check how to create a tarball. -*- Autoconf -*-
996
1080
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.