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.
9189
9204
# AM_CONDITIONAL -*- Autoconf -*-
9191
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
9206
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
9192
9207
# Free Software Foundation, Inc.
9194
9209
# This file is free software; the Free Software Foundation
9195
9210
# gives unlimited permission to copy and/or distribute it,
9196
9211
# with or without modifications, as long as this notice is preserved.
9200
9215
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
9201
9216
# -------------------------------------
9221
9237
Usually this means the macro was only invoked conditionally.]])
9224
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
9240
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
9225
9241
# Free Software Foundation, Inc.
9227
9243
# This file is free software; the Free Software Foundation
9228
9244
# gives unlimited permission to copy and/or distribute it,
9229
9245
# with or without modifications, as long as this notice is preserved.
9233
9249
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
9234
9250
# written in clear, in which case automake, when reading aclocal.m4,
9351
msvisualcpp | msvcmsys)
9352
# This compiler won't grok `-c -o', but also, the minuso test has
9353
# not run yet. These depmodes are late enough in the game, and
9354
# so weak that their functioning should not be impacted.
9355
am__obj=conftest.${OBJEXT-o}
9317
# We check with `-c' and `-o' for the sake of the "dashmstdout"
9318
# mode. It turns out that the SunPro C++ compiler does not properly
9319
# handle `-M -o', and we need to detect this.
9320
9360
if depmode=$depmode \
9321
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
9361
source=sub/conftest.c object=$am__obj \
9322
9362
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9323
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
9363
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9324
9364
>/dev/null 2>conftest.err &&
9325
9365
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9326
9366
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9327
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
9367
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9328
9368
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9329
9369
# icc doesn't choke on unknown options, it will just issue warnings
9330
9370
# or remarks (even with -Werror). So we grep stderr for any message
9382
9422
# Generate code to set up dependency tracking. -*- Autoconf -*-
9384
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
9424
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9385
9425
# Free Software Foundation, Inc.
9387
9427
# This file is free software; the Free Software Foundation
9388
9428
# gives unlimited permission to copy and/or distribute it,
9389
9429
# with or without modifications, as long as this notice is preserved.
9393
9433
# _AM_OUTPUT_DEPENDENCY_COMMANDS
9394
9434
# ------------------------------
9395
9435
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
9396
[for mf in $CONFIG_FILES; do
9397
# Strip MF so we end up with the name of the file.
9398
mf=`echo "$mf" | sed -e 's/:.*$//'`
9399
# Check whether this is an Automake generated Makefile or not.
9400
# We used to match only the files named `Makefile.in', but
9401
# some people rename them; so instead we look at the file content.
9402
# Grep'ing the first line is not enough: some people post-process
9403
# each Makefile.in and add a new line on top of each file to say so.
9404
# Grep'ing the whole file is not good either: AIX grep has a line
9405
# limit of 2048, but all sed's we know have understand at least 4000.
9406
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9407
dirpart=`AS_DIRNAME("$mf")`
9411
# Extract the definition of DEPDIR, am__include, and am__quote
9412
# from the Makefile without running `make'.
9413
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9414
test -z "$DEPDIR" && continue
9415
am__include=`sed -n 's/^am__include = //p' < "$mf"`
9416
test -z "am__include" && continue
9417
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9418
# When using ansi2knr, U may be empty or an underscore; expand it
9419
U=`sed -n 's/^U = //p' < "$mf"`
9420
# Find all dependency output files, they are included files with
9421
# $(DEPDIR) in their names. We invoke sed twice because it is the
9422
# simplest approach to changing $(DEPDIR) to its actual value in the
9424
for file in `sed -n "
9425
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9426
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9427
# Make sure the directory exists.
9428
test -f "$dirpart/$file" && continue
9429
fdir=`AS_DIRNAME(["$file"])`
9430
AS_MKDIR_P([$dirpart/$fdir])
9431
# echo "creating $dirpart/$file"
9432
echo '# dummy' > "$dirpart/$file"
9437
# Autoconf 2.62 quotes --file arguments for eval, but not when files
9438
# are listed without --file. Let's play safe and only enable the eval
9439
# if we detect the quoting.
9440
case $CONFIG_FILES in
9441
*\'*) eval set x "$CONFIG_FILES" ;;
9442
*) set x $CONFIG_FILES ;;
9447
# Strip MF so we end up with the name of the file.
9448
mf=`echo "$mf" | sed -e 's/:.*$//'`
9449
# Check whether this is an Automake generated Makefile or not.
9450
# We used to match only the files named `Makefile.in', but
9451
# some people rename them; so instead we look at the file content.
9452
# Grep'ing the first line is not enough: some people post-process
9453
# each Makefile.in and add a new line on top of each file to say so.
9454
# Grep'ing the whole file is not good either: AIX grep has a line
9455
# limit of 2048, but all sed's we know have understand at least 4000.
9456
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9457
dirpart=`AS_DIRNAME("$mf")`
9461
# Extract the definition of DEPDIR, am__include, and am__quote
9462
# from the Makefile without running `make'.
9463
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9464
test -z "$DEPDIR" && continue
9465
am__include=`sed -n 's/^am__include = //p' < "$mf"`
9466
test -z "am__include" && continue
9467
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9468
# When using ansi2knr, U may be empty or an underscore; expand it
9469
U=`sed -n 's/^U = //p' < "$mf"`
9470
# Find all dependency output files, they are included files with
9471
# $(DEPDIR) in their names. We invoke sed twice because it is the
9472
# simplest approach to changing $(DEPDIR) to its actual value in the
9474
for file in `sed -n "
9475
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9476
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9477
# Make sure the directory exists.
9478
test -f "$dirpart/$file" && continue
9479
fdir=`AS_DIRNAME(["$file"])`
9480
AS_MKDIR_P([$dirpart/$fdir])
9481
# echo "creating $dirpart/$file"
9482
echo '# dummy' > "$dirpart/$file"
9435
9486
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
9463
9514
# Do all the work for Automake. -*- Autoconf -*-
9465
9516
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
9466
# 2005, 2006, 2008 Free Software Foundation, Inc.
9517
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
9468
9519
# This file is free software; the Free Software Foundation
9469
9520
# gives unlimited permission to copy and/or distribute it,
9470
9521
# with or without modifications, as long as this notice is preserved.
9474
9525
# This macro actually does too much. Some checks are only needed if
9475
9526
# your package does certain things. But this isn't really a big deal.
9546
9597
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
9547
9598
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9548
9599
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9549
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9550
[_AM_PROG_TAR([v7])])])
9600
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9601
[_AM_PROG_TAR([v7])])])
9551
9602
_AM_IF_OPTION([no-dependencies],,
9552
9603
[AC_PROVIDE_IFELSE([AC_PROG_CC],
9553
[_AM_DEPENDENCIES(CC)],
9554
[define([AC_PROG_CC],
9555
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9604
[_AM_DEPENDENCIES(CC)],
9605
[define([AC_PROG_CC],
9606
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9556
9607
AC_PROVIDE_IFELSE([AC_PROG_CXX],
9557
[_AM_DEPENDENCIES(CXX)],
9558
[define([AC_PROG_CXX],
9559
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9608
[_AM_DEPENDENCIES(CXX)],
9609
[define([AC_PROG_CXX],
9610
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9560
9611
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
9561
[_AM_DEPENDENCIES(OBJC)],
9562
[define([AC_PROG_OBJC],
9563
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9612
[_AM_DEPENDENCIES(OBJC)],
9613
[define([AC_PROG_OBJC],
9614
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9616
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
9617
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
9618
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
9619
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
9620
AC_CONFIG_COMMANDS_PRE(dnl
9621
[m4_provide_if([_AM_COMPILER_EXEEXT],
9622
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
9625
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
9626
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
9627
dnl mangled by Autoconf and run in a shell conditional statement.
9628
m4_define([_AC_COMPILER_EXEEXT],
9629
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
9568
9632
# When config.status generates a header, we must update the stamp-h file.
9624
9695
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
9625
9696
# From Jim Meyering
9627
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
9698
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9628
9699
# Free Software Foundation, Inc.
9630
9701
# This file is free software; the Free Software Foundation
9631
9702
# gives unlimited permission to copy and/or distribute it,
9632
9703
# with or without modifications, as long as this notice is preserved.
9707
# AM_MAINTAINER_MODE([DEFAULT-MODE])
9708
# ----------------------------------
9709
# Control maintainer-specific portions of Makefiles.
9710
# Default is to disable them, unless `enable' is passed literally.
9711
# For symmetry, `disable' may be passed as well. Anyway, the user
9712
# can override the default with the --enable/--disable switch.
9636
9713
AC_DEFUN([AM_MAINTAINER_MODE],
9637
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
9638
dnl maintainer-mode is disabled by default
9639
AC_ARG_ENABLE(maintainer-mode,
9640
[ --enable-maintainer-mode enable make rules and dependencies not useful
9714
[m4_case(m4_default([$1], [disable]),
9715
[enable], [m4_define([am_maintainer_other], [disable])],
9716
[disable], [m4_define([am_maintainer_other], [enable])],
9717
[m4_define([am_maintainer_other], [enable])
9718
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
9719
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
9720
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
9721
AC_ARG_ENABLE([maintainer-mode],
9722
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
9641
9723
(and sometimes confusing) to the casual installer],
9642
USE_MAINTAINER_MODE=$enableval,
9643
USE_MAINTAINER_MODE=no)
9724
[USE_MAINTAINER_MODE=$enableval],
9725
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
9644
9726
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
9645
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
9727
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
9646
9728
MAINT=$MAINTAINER_MODE_TRUE
9729
AC_SUBST([MAINT])dnl
9705
9787
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
9707
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
9789
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
9708
9790
# Free Software Foundation, Inc.
9710
9792
# This file is free software; the Free Software Foundation
9711
9793
# gives unlimited permission to copy and/or distribute it,
9712
9794
# with or without modifications, as long as this notice is preserved.
9716
9798
# AM_MISSING_PROG(NAME, PROGRAM)
9717
9799
# ------------------------------
9817
9906
echo timestamp > conftest.file
9907
# Reject unsafe characters in $srcdir or the absolute working directory
9908
# name. Accept space and tab only in the latter.
9912
*[[\\\"\#\$\&\'\`$am_lf]]*)
9913
AC_MSG_ERROR([unsafe absolute working directory name]);;
9916
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
9917
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
9818
9920
# Do `set' in a subshell so we don't clobber the current shell's
9819
9921
# arguments. Must try -L first in case configure is actually a
9820
9922
# symlink; some systems play weird games with the mod time of symlinks
9821
9923
# (eg FreeBSD returns the mod time of the symlink's containing
9824
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
9926
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9825
9927
if test "$[*]" = "X"; then
9826
9928
# -L didn't work.
9827
set X `ls -t $srcdir/configure conftest.file`
9929
set X `ls -t "$srcdir/configure" conftest.file`
9829
9931
rm -f conftest.file
9830
9932
if test "$[*]" != "X $srcdir/configure conftest.file" \
9850
9952
AC_MSG_RESULT(yes)])
9954
# Copyright (C) 2009 Free Software Foundation, Inc.
9956
# This file is free software; the Free Software Foundation
9957
# gives unlimited permission to copy and/or distribute it,
9958
# with or without modifications, as long as this notice is preserved.
9962
# AM_SILENT_RULES([DEFAULT])
9963
# --------------------------
9964
# Enable less verbose build rules; with the default set to DEFAULT
9965
# (`yes' being less verbose, `no' or empty being verbose).
9966
AC_DEFUN([AM_SILENT_RULES],
9967
[AC_ARG_ENABLE([silent-rules],
9968
[ --enable-silent-rules less verbose build output (undo: `make V=1')
9969
--disable-silent-rules verbose build output (undo: `make V=0')])
9970
case $enable_silent_rules in
9971
yes) AM_DEFAULT_VERBOSITY=0;;
9972
no) AM_DEFAULT_VERBOSITY=1;;
9973
*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
9975
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
9977
AC_SUBST([AM_BACKSLASH])dnl
9978
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
9852
9981
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
9854
9983
# This file is free software; the Free Software Foundation
9877
10006
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9878
10007
AC_SUBST([INSTALL_STRIP_PROGRAM])])
9880
# Copyright (C) 2006 Free Software Foundation, Inc.
10009
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
9882
10011
# This file is free software; the Free Software Foundation
9883
10012
# gives unlimited permission to copy and/or distribute it,
9884
10013
# with or without modifications, as long as this notice is preserved.
9886
10017
# _AM_SUBST_NOTMAKE(VARIABLE)
9887
10018
# ---------------------------
9888
10019
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
9889
10020
# This macro is traced by Automake.
9890
10021
AC_DEFUN([_AM_SUBST_NOTMAKE])
10023
# AM_SUBST_NOTMAKE(VARIABLE)
10024
# ---------------------------
10025
# Public sister of _AM_SUBST_NOTMAKE.
10026
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
9892
10028
# Check how to create a tarball. -*- Autoconf -*-
9894
10030
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.