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.
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
m4_if(AC_AUTOCONF_VERSION, [2.61],,
17
[m4_warning([this file was generated for autoconf 2.61.
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.66],,
17
[m4_warning([this file was generated for autoconf 2.66.
18
18
You have another version of autoconf. It may work, but is not guaranteed to.
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
22
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
22
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
24
24
# This file is free software; the Free Software Foundation
25
25
# gives unlimited permission to copy and/or distribute it,
111
111
# AM_CONDITIONAL -*- Autoconf -*-
113
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
113
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
114
114
# Free Software Foundation, Inc.
116
116
# This file is free software; the Free Software Foundation
117
117
# gives unlimited permission to copy and/or distribute it,
118
118
# with or without modifications, as long as this notice is preserved.
122
122
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
123
123
# -------------------------------------
143
144
Usually this means the macro was only invoked conditionally.]])
146
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
147
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
147
148
# Free Software Foundation, Inc.
149
150
# This file is free software; the Free Software Foundation
150
151
# gives unlimited permission to copy and/or distribute it,
151
152
# with or without modifications, as long as this notice is preserved.
155
156
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
156
157
# written in clear, in which case automake, when reading aclocal.m4,
258
msvisualcpp | msvcmsys)
259
# This compiler won't grok `-c -o', but also, the minuso test has
260
# not run yet. These depmodes are late enough in the game, and
261
# so weak that their functioning should not be impacted.
262
am__obj=conftest.${OBJEXT-o}
239
# We check with `-c' and `-o' for the sake of the "dashmstdout"
240
# mode. It turns out that the SunPro C++ compiler does not properly
241
# handle `-M -o', and we need to detect this.
242
267
if depmode=$depmode \
243
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
268
source=sub/conftest.c object=$am__obj \
244
269
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
245
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
270
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
246
271
>/dev/null 2>conftest.err &&
247
272
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
248
273
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
249
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
274
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
250
275
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
251
276
# icc doesn't choke on unknown options, it will just issue warnings
252
277
# or remarks (even with -Werror). So we grep stderr for any message
304
329
# Generate code to set up dependency tracking. -*- Autoconf -*-
306
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
331
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
307
332
# Free Software Foundation, Inc.
309
334
# This file is free software; the Free Software Foundation
310
335
# gives unlimited permission to copy and/or distribute it,
311
336
# with or without modifications, as long as this notice is preserved.
315
340
# _AM_OUTPUT_DEPENDENCY_COMMANDS
316
341
# ------------------------------
317
342
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
318
[for mf in $CONFIG_FILES; do
319
# Strip MF so we end up with the name of the file.
320
mf=`echo "$mf" | sed -e 's/:.*$//'`
321
# Check whether this is an Automake generated Makefile or not.
322
# We used to match only the files named `Makefile.in', but
323
# some people rename them; so instead we look at the file content.
324
# Grep'ing the first line is not enough: some people post-process
325
# each Makefile.in and add a new line on top of each file to say so.
326
# Grep'ing the whole file is not good either: AIX grep has a line
327
# limit of 2048, but all sed's we know have understand at least 4000.
328
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
329
dirpart=`AS_DIRNAME("$mf")`
333
# Extract the definition of DEPDIR, am__include, and am__quote
334
# from the Makefile without running `make'.
335
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
336
test -z "$DEPDIR" && continue
337
am__include=`sed -n 's/^am__include = //p' < "$mf"`
338
test -z "am__include" && continue
339
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
340
# When using ansi2knr, U may be empty or an underscore; expand it
341
U=`sed -n 's/^U = //p' < "$mf"`
342
# Find all dependency output files, they are included files with
343
# $(DEPDIR) in their names. We invoke sed twice because it is the
344
# simplest approach to changing $(DEPDIR) to its actual value in the
346
for file in `sed -n "
347
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
348
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
349
# Make sure the directory exists.
350
test -f "$dirpart/$file" && continue
351
fdir=`AS_DIRNAME(["$file"])`
352
AS_MKDIR_P([$dirpart/$fdir])
353
# echo "creating $dirpart/$file"
354
echo '# dummy' > "$dirpart/$file"
344
# Autoconf 2.62 quotes --file arguments for eval, but not when files
345
# are listed without --file. Let's play safe and only enable the eval
346
# if we detect the quoting.
347
case $CONFIG_FILES in
348
*\'*) eval set x "$CONFIG_FILES" ;;
349
*) set x $CONFIG_FILES ;;
354
# Strip MF so we end up with the name of the file.
355
mf=`echo "$mf" | sed -e 's/:.*$//'`
356
# Check whether this is an Automake generated Makefile or not.
357
# We used to match only the files named `Makefile.in', but
358
# some people rename them; so instead we look at the file content.
359
# Grep'ing the first line is not enough: some people post-process
360
# each Makefile.in and add a new line on top of each file to say so.
361
# Grep'ing the whole file is not good either: AIX grep has a line
362
# limit of 2048, but all sed's we know have understand at least 4000.
363
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
364
dirpart=`AS_DIRNAME("$mf")`
368
# Extract the definition of DEPDIR, am__include, and am__quote
369
# from the Makefile without running `make'.
370
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
371
test -z "$DEPDIR" && continue
372
am__include=`sed -n 's/^am__include = //p' < "$mf"`
373
test -z "am__include" && continue
374
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
375
# When using ansi2knr, U may be empty or an underscore; expand it
376
U=`sed -n 's/^U = //p' < "$mf"`
377
# Find all dependency output files, they are included files with
378
# $(DEPDIR) in their names. We invoke sed twice because it is the
379
# simplest approach to changing $(DEPDIR) to its actual value in the
381
for file in `sed -n "
382
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
383
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
384
# Make sure the directory exists.
385
test -f "$dirpart/$file" && continue
386
fdir=`AS_DIRNAME(["$file"])`
387
AS_MKDIR_P([$dirpart/$fdir])
388
# echo "creating $dirpart/$file"
389
echo '# dummy' > "$dirpart/$file"
357
393
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
385
421
# Do all the work for Automake. -*- Autoconf -*-
387
423
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
388
# 2005, 2006, 2008 Free Software Foundation, Inc.
424
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
390
426
# This file is free software; the Free Software Foundation
391
427
# gives unlimited permission to copy and/or distribute it,
392
428
# with or without modifications, as long as this notice is preserved.
396
432
# This macro actually does too much. Some checks are only needed if
397
433
# your package does certain things. But this isn't really a big deal.
468
504
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
469
505
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
470
506
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
471
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
472
[_AM_PROG_TAR([v7])])])
507
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
508
[_AM_PROG_TAR([v7])])])
473
509
_AM_IF_OPTION([no-dependencies],,
474
510
[AC_PROVIDE_IFELSE([AC_PROG_CC],
475
[_AM_DEPENDENCIES(CC)],
476
[define([AC_PROG_CC],
477
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
511
[_AM_DEPENDENCIES(CC)],
512
[define([AC_PROG_CC],
513
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
478
514
AC_PROVIDE_IFELSE([AC_PROG_CXX],
479
[_AM_DEPENDENCIES(CXX)],
480
[define([AC_PROG_CXX],
481
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
515
[_AM_DEPENDENCIES(CXX)],
516
[define([AC_PROG_CXX],
517
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
482
518
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
483
[_AM_DEPENDENCIES(OBJC)],
484
[define([AC_PROG_OBJC],
485
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
519
[_AM_DEPENDENCIES(OBJC)],
520
[define([AC_PROG_OBJC],
521
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
523
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
524
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
525
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
526
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
527
AC_CONFIG_COMMANDS_PRE(dnl
528
[m4_provide_if([_AM_COMPILER_EXEEXT],
529
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
532
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
533
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
534
dnl mangled by Autoconf and run in a shell conditional statement.
535
m4_define([_AC_COMPILER_EXEEXT],
536
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
490
539
# When config.status generates a header, we must update the stamp-h file.
598
654
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
600
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
656
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
601
657
# Free Software Foundation, Inc.
603
659
# This file is free software; the Free Software Foundation
604
660
# gives unlimited permission to copy and/or distribute it,
605
661
# with or without modifications, as long as this notice is preserved.
609
665
# AM_MISSING_PROG(NAME, PROGRAM)
610
666
# ------------------------------
710
773
echo timestamp > conftest.file
774
# Reject unsafe characters in $srcdir or the absolute working directory
775
# name. Accept space and tab only in the latter.
779
*[[\\\"\#\$\&\'\`$am_lf]]*)
780
AC_MSG_ERROR([unsafe absolute working directory name]);;
783
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
784
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
711
787
# Do `set' in a subshell so we don't clobber the current shell's
712
788
# arguments. Must try -L first in case configure is actually a
713
789
# symlink; some systems play weird games with the mod time of symlinks
714
790
# (eg FreeBSD returns the mod time of the symlink's containing
717
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
793
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
718
794
if test "$[*]" = "X"; then
719
795
# -L didn't work.
720
set X `ls -t $srcdir/configure conftest.file`
796
set X `ls -t "$srcdir/configure" conftest.file`
722
798
rm -f conftest.file
723
799
if test "$[*]" != "X $srcdir/configure conftest.file" \
770
846
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
771
847
AC_SUBST([INSTALL_STRIP_PROGRAM])])
773
# Copyright (C) 2006 Free Software Foundation, Inc.
849
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
775
851
# This file is free software; the Free Software Foundation
776
852
# gives unlimited permission to copy and/or distribute it,
777
853
# with or without modifications, as long as this notice is preserved.
779
857
# _AM_SUBST_NOTMAKE(VARIABLE)
780
858
# ---------------------------
781
859
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
782
860
# This macro is traced by Automake.
783
861
AC_DEFUN([_AM_SUBST_NOTMAKE])
863
# AM_SUBST_NOTMAKE(VARIABLE)
864
# ---------------------------
865
# Public sister of _AM_SUBST_NOTMAKE.
866
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
785
868
# Check how to create a tarball. -*- Autoconf -*-
787
870
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.