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.
8216
8216
# AM_CONDITIONAL -*- Autoconf -*-
8218
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
8218
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
8219
8219
# Free Software Foundation, Inc.
8221
8221
# This file is free software; the Free Software Foundation
8222
8222
# gives unlimited permission to copy and/or distribute it,
8223
8223
# with or without modifications, as long as this notice is preserved.
8227
8227
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
8228
8228
# -------------------------------------
8248
8249
Usually this means the macro was only invoked conditionally.]])
8251
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
8252
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
8252
8253
# Free Software Foundation, Inc.
8254
8255
# This file is free software; the Free Software Foundation
8255
8256
# gives unlimited permission to copy and/or distribute it,
8256
8257
# with or without modifications, as long as this notice is preserved.
8260
8261
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
8261
8262
# written in clear, in which case automake, when reading aclocal.m4,
8363
msvisualcpp | msvcmsys)
8364
# This compiler won't grok `-c -o', but also, the minuso test has
8365
# not run yet. These depmodes are late enough in the game, and
8366
# so weak that their functioning should not be impacted.
8367
am__obj=conftest.${OBJEXT-o}
8344
# We check with `-c' and `-o' for the sake of the "dashmstdout"
8345
# mode. It turns out that the SunPro C++ compiler does not properly
8346
# handle `-M -o', and we need to detect this.
8347
8372
if depmode=$depmode \
8348
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
8373
source=sub/conftest.c object=$am__obj \
8349
8374
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8350
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
8375
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8351
8376
>/dev/null 2>conftest.err &&
8352
8377
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8353
8378
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8354
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
8379
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8355
8380
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8356
8381
# icc doesn't choke on unknown options, it will just issue warnings
8357
8382
# or remarks (even with -Werror). So we grep stderr for any message
8415
8440
# gives unlimited permission to copy and/or distribute it,
8416
8441
# with or without modifications, as long as this notice is preserved.
8420
8445
# _AM_OUTPUT_DEPENDENCY_COMMANDS
8421
8446
# ------------------------------
8422
8447
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
8423
[# Autoconf 2.62 quotes --file arguments for eval, but not when files
8424
# are listed without --file. Let's play safe and only enable the eval
8425
# if we detect the quoting.
8426
case $CONFIG_FILES in
8427
*\'*) eval set x "$CONFIG_FILES" ;;
8428
*) set x $CONFIG_FILES ;;
8433
# Strip MF so we end up with the name of the file.
8434
mf=`echo "$mf" | sed -e 's/:.*$//'`
8435
# Check whether this is an Automake generated Makefile or not.
8436
# We used to match only the files named `Makefile.in', but
8437
# some people rename them; so instead we look at the file content.
8438
# Grep'ing the first line is not enough: some people post-process
8439
# each Makefile.in and add a new line on top of each file to say so.
8440
# Grep'ing the whole file is not good either: AIX grep has a line
8441
# limit of 2048, but all sed's we know have understand at least 4000.
8442
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8443
dirpart=`AS_DIRNAME("$mf")`
8447
# Extract the definition of DEPDIR, am__include, and am__quote
8448
# from the Makefile without running `make'.
8449
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8450
test -z "$DEPDIR" && continue
8451
am__include=`sed -n 's/^am__include = //p' < "$mf"`
8452
test -z "am__include" && continue
8453
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8454
# When using ansi2knr, U may be empty or an underscore; expand it
8455
U=`sed -n 's/^U = //p' < "$mf"`
8456
# Find all dependency output files, they are included files with
8457
# $(DEPDIR) in their names. We invoke sed twice because it is the
8458
# simplest approach to changing $(DEPDIR) to its actual value in the
8460
for file in `sed -n "
8461
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8462
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8463
# Make sure the directory exists.
8464
test -f "$dirpart/$file" && continue
8465
fdir=`AS_DIRNAME(["$file"])`
8466
AS_MKDIR_P([$dirpart/$fdir])
8467
# echo "creating $dirpart/$file"
8468
echo '# dummy' > "$dirpart/$file"
8449
# Autoconf 2.62 quotes --file arguments for eval, but not when files
8450
# are listed without --file. Let's play safe and only enable the eval
8451
# if we detect the quoting.
8452
case $CONFIG_FILES in
8453
*\'*) eval set x "$CONFIG_FILES" ;;
8454
*) set x $CONFIG_FILES ;;
8459
# Strip MF so we end up with the name of the file.
8460
mf=`echo "$mf" | sed -e 's/:.*$//'`
8461
# Check whether this is an Automake generated Makefile or not.
8462
# We used to match only the files named `Makefile.in', but
8463
# some people rename them; so instead we look at the file content.
8464
# Grep'ing the first line is not enough: some people post-process
8465
# each Makefile.in and add a new line on top of each file to say so.
8466
# Grep'ing the whole file is not good either: AIX grep has a line
8467
# limit of 2048, but all sed's we know have understand at least 4000.
8468
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8469
dirpart=`AS_DIRNAME("$mf")`
8473
# Extract the definition of DEPDIR, am__include, and am__quote
8474
# from the Makefile without running `make'.
8475
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8476
test -z "$DEPDIR" && continue
8477
am__include=`sed -n 's/^am__include = //p' < "$mf"`
8478
test -z "am__include" && continue
8479
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8480
# When using ansi2knr, U may be empty or an underscore; expand it
8481
U=`sed -n 's/^U = //p' < "$mf"`
8482
# Find all dependency output files, they are included files with
8483
# $(DEPDIR) in their names. We invoke sed twice because it is the
8484
# simplest approach to changing $(DEPDIR) to its actual value in the
8486
for file in `sed -n "
8487
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8488
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8489
# Make sure the directory exists.
8490
test -f "$dirpart/$file" && continue
8491
fdir=`AS_DIRNAME(["$file"])`
8492
AS_MKDIR_P([$dirpart/$fdir])
8493
# echo "creating $dirpart/$file"
8494
echo '# dummy' > "$dirpart/$file"
8471
8498
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
8487
8514
# Do all the work for Automake. -*- Autoconf -*-
8489
8516
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8490
# 2005, 2006, 2008 Free Software Foundation, Inc.
8517
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
8492
8519
# This file is free software; the Free Software Foundation
8493
8520
# gives unlimited permission to copy and/or distribute it,
8494
8521
# with or without modifications, as long as this notice is preserved.
8498
8525
# This macro actually does too much. Some checks are only needed if
8499
8526
# your package does certain things. But this isn't really a big deal.
8570
8597
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
8571
8598
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
8572
8599
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
8573
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
8574
[_AM_PROG_TAR([v7])])])
8600
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
8601
[_AM_PROG_TAR([v7])])])
8575
8602
_AM_IF_OPTION([no-dependencies],,
8576
8603
[AC_PROVIDE_IFELSE([AC_PROG_CC],
8577
[_AM_DEPENDENCIES(CC)],
8578
[define([AC_PROG_CC],
8579
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
8604
[_AM_DEPENDENCIES(CC)],
8605
[define([AC_PROG_CC],
8606
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
8580
8607
AC_PROVIDE_IFELSE([AC_PROG_CXX],
8581
[_AM_DEPENDENCIES(CXX)],
8582
[define([AC_PROG_CXX],
8583
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
8608
[_AM_DEPENDENCIES(CXX)],
8609
[define([AC_PROG_CXX],
8610
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
8584
8611
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
8585
[_AM_DEPENDENCIES(OBJC)],
8586
[define([AC_PROG_OBJC],
8587
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
8612
[_AM_DEPENDENCIES(OBJC)],
8613
[define([AC_PROG_OBJC],
8614
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
8616
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
8617
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
8618
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
8619
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
8620
AC_CONFIG_COMMANDS_PRE(dnl
8621
[m4_provide_if([_AM_COMPILER_EXEEXT],
8622
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
8625
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
8626
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
8627
dnl mangled by Autoconf and run in a shell conditional statement.
8628
m4_define([_AC_COMPILER_EXEEXT],
8629
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
8592
8632
# When config.status generates a header, we must update the stamp-h file.
8672
8719
_am_result=none
8673
8720
# First try GNU make style include.
8674
8721
echo "include confinc" > confmf
8675
# We grep out `Entering directory' and `Leaving directory'
8676
# messages which can occur if `w' ends up in MAKEFLAGS.
8677
# In particular we don't look at `^make:' because GNU make might
8678
# be invoked under some other name (usually "gmake"), in which
8679
# case it prints its new name instead of `make'.
8680
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
8722
# Ignore all kinds of additional output from `make'.
8723
case `$am_make -s -f confmf 2> /dev/null` in #(
8724
*the\ am__doit\ target*)
8685
8730
# Now try BSD make style include.
8686
8731
if test "$am__include" = "#"; then
8687
8732
echo '.include "confinc"' > confmf
8688
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
8689
am__include=.include
8733
case `$am_make -s -f confmf 2> /dev/null` in #(
8734
*the\ am__doit\ target*)
8735
am__include=.include
8694
8741
AC_SUBST([am__include])
8695
8742
AC_SUBST([am__quote])
8735
8782
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
8737
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
8784
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
8738
8785
# Free Software Foundation, Inc.
8740
8787
# This file is free software; the Free Software Foundation
8741
8788
# gives unlimited permission to copy and/or distribute it,
8742
8789
# with or without modifications, as long as this notice is preserved.
8746
8793
# AM_MISSING_PROG(NAME, PROGRAM)
8747
8794
# ------------------------------
8827
8881
AC_DEFUN([_AM_IF_OPTION],
8828
8882
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
8884
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
8886
# This file is free software; the Free Software Foundation
8887
# gives unlimited permission to copy and/or distribute it,
8888
# with or without modifications, as long as this notice is preserved.
8890
# AM_RUN_LOG(COMMAND)
8891
# -------------------
8892
# Run COMMAND, save the exit status in ac_status, and log it.
8893
# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
8894
AC_DEFUN([AM_RUN_LOG],
8895
[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
8896
($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
8898
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
8899
(exit $ac_status); }])
8830
8901
# Check to make sure that the build environment is sane. -*- Autoconf -*-
8832
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
8903
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
8833
8904
# Free Software Foundation, Inc.
8835
8906
# This file is free software; the Free Software Foundation
8836
8907
# gives unlimited permission to copy and/or distribute it,
8837
8908
# with or without modifications, as long as this notice is preserved.
8841
8912
# AM_SANITY_CHECK
8842
8913
# ---------------
8847
8918
echo timestamp > conftest.file
8919
# Reject unsafe characters in $srcdir or the absolute working directory
8920
# name. Accept space and tab only in the latter.
8924
*[[\\\"\#\$\&\'\`$am_lf]]*)
8925
AC_MSG_ERROR([unsafe absolute working directory name]);;
8928
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
8929
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
8848
8932
# Do `set' in a subshell so we don't clobber the current shell's
8849
8933
# arguments. Must try -L first in case configure is actually a
8850
8934
# symlink; some systems play weird games with the mod time of symlinks
8851
8935
# (eg FreeBSD returns the mod time of the symlink's containing
8854
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
8938
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
8855
8939
if test "$[*]" = "X"; then
8856
8940
# -L didn't work.
8857
set X `ls -t $srcdir/configure conftest.file`
8941
set X `ls -t "$srcdir/configure" conftest.file`
8859
8943
rm -f conftest.file
8860
8944
if test "$[*]" != "X $srcdir/configure conftest.file" \
8880
8964
AC_MSG_RESULT(yes)])
8966
# Copyright (C) 2009 Free Software Foundation, Inc.
8968
# This file is free software; the Free Software Foundation
8969
# gives unlimited permission to copy and/or distribute it,
8970
# with or without modifications, as long as this notice is preserved.
8974
# AM_SILENT_RULES([DEFAULT])
8975
# --------------------------
8976
# Enable less verbose build rules; with the default set to DEFAULT
8977
# (`yes' being less verbose, `no' or empty being verbose).
8978
AC_DEFUN([AM_SILENT_RULES],
8979
[AC_ARG_ENABLE([silent-rules],
8980
[ --enable-silent-rules less verbose build output (undo: `make V=1')
8981
--disable-silent-rules verbose build output (undo: `make V=0')])
8982
case $enable_silent_rules in
8983
yes) AM_DEFAULT_VERBOSITY=0;;
8984
no) AM_DEFAULT_VERBOSITY=1;;
8985
*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
8987
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
8989
AC_SUBST([AM_BACKSLASH])dnl
8990
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
8882
8993
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
8884
8995
# This file is free software; the Free Software Foundation
8907
9018
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
8908
9019
AC_SUBST([INSTALL_STRIP_PROGRAM])])
8910
# Copyright (C) 2006 Free Software Foundation, Inc.
9021
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
8912
9023
# This file is free software; the Free Software Foundation
8913
9024
# gives unlimited permission to copy and/or distribute it,
8914
9025
# with or without modifications, as long as this notice is preserved.
8916
9029
# _AM_SUBST_NOTMAKE(VARIABLE)
8917
9030
# ---------------------------
8918
9031
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
8919
9032
# This macro is traced by Automake.
8920
9033
AC_DEFUN([_AM_SUBST_NOTMAKE])
9035
# AM_SUBST_NOTMAKE(VARIABLE)
9036
# ---------------------------
9037
# Public sister of _AM_SUBST_NOTMAKE.
9038
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
8922
9040
# Check how to create a tarball. -*- Autoconf -*-
8924
9042
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.