1
# generated automatically by aclocal 1.11 -*- Autoconf -*-
1
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
4
# 2005, 2006, 2007, 2008 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.
9204
9189
# AM_CONDITIONAL -*- Autoconf -*-
9206
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
9191
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
9207
9192
# Free Software Foundation, Inc.
9209
9194
# This file is free software; the Free Software Foundation
9210
9195
# gives unlimited permission to copy and/or distribute it,
9211
9196
# with or without modifications, as long as this notice is preserved.
9215
9200
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
9216
9201
# -------------------------------------
9237
9221
Usually this means the macro was only invoked conditionally.]])
9240
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
9224
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
9241
9225
# Free Software Foundation, Inc.
9243
9227
# This file is free software; the Free Software Foundation
9244
9228
# gives unlimited permission to copy and/or distribute it,
9245
9229
# with or without modifications, as long as this notice is preserved.
9249
9233
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
9250
9234
# 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.
9360
9320
if depmode=$depmode \
9361
source=sub/conftest.c object=$am__obj \
9321
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
9362
9322
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9363
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9323
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
9364
9324
>/dev/null 2>conftest.err &&
9365
9325
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9366
9326
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9367
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9327
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
9368
9328
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9369
9329
# icc doesn't choke on unknown options, it will just issue warnings
9370
9330
# or remarks (even with -Werror). So we grep stderr for any message
9422
9382
# Generate code to set up dependency tracking. -*- Autoconf -*-
9424
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9384
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
9425
9385
# Free Software Foundation, Inc.
9427
9387
# This file is free software; the Free Software Foundation
9428
9388
# gives unlimited permission to copy and/or distribute it,
9429
9389
# with or without modifications, as long as this notice is preserved.
9433
9393
# _AM_OUTPUT_DEPENDENCY_COMMANDS
9434
9394
# ------------------------------
9435
9395
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
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"
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"
9486
9435
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
9514
9463
# Do all the work for Automake. -*- Autoconf -*-
9516
9465
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
9517
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
9466
# 2005, 2006, 2008 Free Software Foundation, Inc.
9519
9468
# This file is free software; the Free Software Foundation
9520
9469
# gives unlimited permission to copy and/or distribute it,
9521
9470
# with or without modifications, as long as this notice is preserved.
9525
9474
# This macro actually does too much. Some checks are only needed if
9526
9475
# your package does certain things. But this isn't really a big deal.
9597
9546
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
9598
9547
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9599
9548
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
9600
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9601
[_AM_PROG_TAR([v7])])])
9549
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9550
[_AM_PROG_TAR([v7])])])
9602
9551
_AM_IF_OPTION([no-dependencies],,
9603
9552
[AC_PROVIDE_IFELSE([AC_PROG_CC],
9604
[_AM_DEPENDENCIES(CC)],
9605
[define([AC_PROG_CC],
9606
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9553
[_AM_DEPENDENCIES(CC)],
9554
[define([AC_PROG_CC],
9555
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9607
9556
AC_PROVIDE_IFELSE([AC_PROG_CXX],
9608
[_AM_DEPENDENCIES(CXX)],
9609
[define([AC_PROG_CXX],
9610
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9557
[_AM_DEPENDENCIES(CXX)],
9558
[define([AC_PROG_CXX],
9559
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9611
9560
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
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])])
9561
[_AM_DEPENDENCIES(OBJC)],
9562
[define([AC_PROG_OBJC],
9563
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9632
9568
# When config.status generates a header, we must update the stamp-h file.
9695
9624
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
9696
9625
# From Jim Meyering
9698
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9627
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
9699
9628
# Free Software Foundation, Inc.
9701
9630
# This file is free software; the Free Software Foundation
9702
9631
# gives unlimited permission to copy and/or distribute it,
9703
9632
# 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.
9713
9636
AC_DEFUN([AM_MAINTAINER_MODE],
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
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
9723
9641
(and sometimes confusing) to the casual installer],
9724
[USE_MAINTAINER_MODE=$enableval],
9725
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
9642
USE_MAINTAINER_MODE=$enableval,
9643
USE_MAINTAINER_MODE=no)
9726
9644
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
9727
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
9645
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
9728
9646
MAINT=$MAINTAINER_MODE_TRUE
9729
AC_SUBST([MAINT])dnl
9787
9705
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
9789
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
9707
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
9790
9708
# Free Software Foundation, Inc.
9792
9710
# This file is free software; the Free Software Foundation
9793
9711
# gives unlimited permission to copy and/or distribute it,
9794
9712
# with or without modifications, as long as this notice is preserved.
9798
9716
# AM_MISSING_PROG(NAME, PROGRAM)
9799
9717
# ------------------------------
9906
9817
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']);;
9920
9818
# Do `set' in a subshell so we don't clobber the current shell's
9921
9819
# arguments. Must try -L first in case configure is actually a
9922
9820
# symlink; some systems play weird games with the mod time of symlinks
9923
9821
# (eg FreeBSD returns the mod time of the symlink's containing
9926
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9824
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
9927
9825
if test "$[*]" = "X"; then
9928
9826
# -L didn't work.
9929
set X `ls -t "$srcdir/configure" conftest.file`
9827
set X `ls -t $srcdir/configure conftest.file`
9931
9829
rm -f conftest.file
9932
9830
if test "$[*]" != "X $srcdir/configure conftest.file" \
9952
9850
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
9981
9852
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
9983
9854
# This file is free software; the Free Software Foundation
10006
9877
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10007
9878
AC_SUBST([INSTALL_STRIP_PROGRAM])])
10009
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
9880
# Copyright (C) 2006 Free Software Foundation, Inc.
10011
9882
# This file is free software; the Free Software Foundation
10012
9883
# gives unlimited permission to copy and/or distribute it,
10013
9884
# with or without modifications, as long as this notice is preserved.
10017
9886
# _AM_SUBST_NOTMAKE(VARIABLE)
10018
9887
# ---------------------------
10019
9888
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
10020
9889
# This macro is traced by Automake.
10021
9890
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($@)])
10028
9892
# Check how to create a tarball. -*- Autoconf -*-
10030
9894
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.