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.62],,
17
[m4_warning([this file was generated for autoconf 2.62.
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
17
[m4_warning([this file was generated for autoconf 2.68.
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.
546
602
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
547
603
# From Jim Meyering
549
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
605
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
550
606
# Free Software Foundation, Inc.
552
608
# This file is free software; the Free Software Foundation
553
609
# gives unlimited permission to copy and/or distribute it,
554
610
# with or without modifications, as long as this notice is preserved.
614
# AM_MAINTAINER_MODE([DEFAULT-MODE])
615
# ----------------------------------
616
# Control maintainer-specific portions of Makefiles.
617
# Default is to disable them, unless `enable' is passed literally.
618
# For symmetry, `disable' may be passed as well. Anyway, the user
619
# can override the default with the --enable/--disable switch.
558
620
AC_DEFUN([AM_MAINTAINER_MODE],
559
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
560
dnl maintainer-mode is disabled by default
561
AC_ARG_ENABLE(maintainer-mode,
562
[ --enable-maintainer-mode enable make rules and dependencies not useful
621
[m4_case(m4_default([$1], [disable]),
622
[enable], [m4_define([am_maintainer_other], [disable])],
623
[disable], [m4_define([am_maintainer_other], [enable])],
624
[m4_define([am_maintainer_other], [enable])
625
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
626
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
627
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
628
AC_ARG_ENABLE([maintainer-mode],
629
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
563
630
(and sometimes confusing) to the casual installer],
564
USE_MAINTAINER_MODE=$enableval,
565
USE_MAINTAINER_MODE=no)
631
[USE_MAINTAINER_MODE=$enableval],
632
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
566
633
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
567
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
634
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
568
635
MAINT=$MAINTAINER_MODE_TRUE
627
694
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
629
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
696
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
630
697
# Free Software Foundation, Inc.
632
699
# This file is free software; the Free Software Foundation
633
700
# gives unlimited permission to copy and/or distribute it,
634
701
# with or without modifications, as long as this notice is preserved.
638
705
# AM_MISSING_PROG(NAME, PROGRAM)
639
706
# ------------------------------
739
813
echo timestamp > conftest.file
814
# Reject unsafe characters in $srcdir or the absolute working directory
815
# name. Accept space and tab only in the latter.
819
*[[\\\"\#\$\&\'\`$am_lf]]*)
820
AC_MSG_ERROR([unsafe absolute working directory name]);;
823
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
824
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
740
827
# Do `set' in a subshell so we don't clobber the current shell's
741
828
# arguments. Must try -L first in case configure is actually a
742
829
# symlink; some systems play weird games with the mod time of symlinks
743
830
# (eg FreeBSD returns the mod time of the symlink's containing
746
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
833
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
747
834
if test "$[*]" = "X"; then
748
835
# -L didn't work.
749
set X `ls -t $srcdir/configure conftest.file`
836
set X `ls -t "$srcdir/configure" conftest.file`
751
838
rm -f conftest.file
752
839
if test "$[*]" != "X $srcdir/configure conftest.file" \
799
886
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
800
887
AC_SUBST([INSTALL_STRIP_PROGRAM])])
802
# Copyright (C) 2006 Free Software Foundation, Inc.
889
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
804
891
# This file is free software; the Free Software Foundation
805
892
# gives unlimited permission to copy and/or distribute it,
806
893
# with or without modifications, as long as this notice is preserved.
808
897
# _AM_SUBST_NOTMAKE(VARIABLE)
809
898
# ---------------------------
810
899
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
811
900
# This macro is traced by Automake.
812
901
AC_DEFUN([_AM_SUBST_NOTMAKE])
903
# AM_SUBST_NOTMAKE(VARIABLE)
904
# ---------------------------
905
# Public sister of _AM_SUBST_NOTMAKE.
906
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
814
908
# Check how to create a tarball. -*- Autoconf -*-
816
910
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.