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.
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.63],,
17
[m4_warning([this file was generated for autoconf 2.63.
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
17
[m4_warning([this file was generated for autoconf 2.65.
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
373
409
# Do all the work for Automake. -*- Autoconf -*-
375
411
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
376
# 2005, 2006, 2008 Free Software Foundation, Inc.
412
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
378
414
# This file is free software; the Free Software Foundation
379
415
# gives unlimited permission to copy and/or distribute it,
380
416
# with or without modifications, as long as this notice is preserved.
384
420
# This macro actually does too much. Some checks are only needed if
385
421
# your package does certain things. But this isn't really a big deal.
456
492
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
457
493
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
458
494
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
459
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
460
[_AM_PROG_TAR([v7])])])
495
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
496
[_AM_PROG_TAR([v7])])])
461
497
_AM_IF_OPTION([no-dependencies],,
462
498
[AC_PROVIDE_IFELSE([AC_PROG_CC],
463
[_AM_DEPENDENCIES(CC)],
464
[define([AC_PROG_CC],
465
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
499
[_AM_DEPENDENCIES(CC)],
500
[define([AC_PROG_CC],
501
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
466
502
AC_PROVIDE_IFELSE([AC_PROG_CXX],
467
[_AM_DEPENDENCIES(CXX)],
468
[define([AC_PROG_CXX],
469
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
503
[_AM_DEPENDENCIES(CXX)],
504
[define([AC_PROG_CXX],
505
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
470
506
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
471
[_AM_DEPENDENCIES(OBJC)],
472
[define([AC_PROG_OBJC],
473
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
507
[_AM_DEPENDENCIES(OBJC)],
508
[define([AC_PROG_OBJC],
509
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
511
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
512
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
513
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
514
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
515
AC_CONFIG_COMMANDS_PRE(dnl
516
[m4_provide_if([_AM_COMPILER_EXEEXT],
517
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
520
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
521
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
522
dnl mangled by Autoconf and run in a shell conditional statement.
523
m4_define([_AC_COMPILER_EXEEXT],
524
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
478
527
# When config.status generates a header, we must update the stamp-h file.
534
590
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
535
591
# From Jim Meyering
537
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
593
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
538
594
# Free Software Foundation, Inc.
540
596
# This file is free software; the Free Software Foundation
541
597
# gives unlimited permission to copy and/or distribute it,
542
598
# with or without modifications, as long as this notice is preserved.
602
# AM_MAINTAINER_MODE([DEFAULT-MODE])
603
# ----------------------------------
604
# Control maintainer-specific portions of Makefiles.
605
# Default is to disable them, unless `enable' is passed literally.
606
# For symmetry, `disable' may be passed as well. Anyway, the user
607
# can override the default with the --enable/--disable switch.
546
608
AC_DEFUN([AM_MAINTAINER_MODE],
547
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
548
dnl maintainer-mode is disabled by default
549
AC_ARG_ENABLE(maintainer-mode,
550
[ --enable-maintainer-mode enable make rules and dependencies not useful
609
[m4_case(m4_default([$1], [disable]),
610
[enable], [m4_define([am_maintainer_other], [disable])],
611
[disable], [m4_define([am_maintainer_other], [enable])],
612
[m4_define([am_maintainer_other], [enable])
613
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
614
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
615
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
616
AC_ARG_ENABLE([maintainer-mode],
617
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
551
618
(and sometimes confusing) to the casual installer],
552
USE_MAINTAINER_MODE=$enableval,
553
USE_MAINTAINER_MODE=no)
619
[USE_MAINTAINER_MODE=$enableval],
620
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
554
621
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
555
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
622
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
556
623
MAINT=$MAINTAINER_MODE_TRUE
615
682
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
617
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
684
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
618
685
# Free Software Foundation, Inc.
620
687
# This file is free software; the Free Software Foundation
621
688
# gives unlimited permission to copy and/or distribute it,
622
689
# with or without modifications, as long as this notice is preserved.
626
693
# AM_MISSING_PROG(NAME, PROGRAM)
627
694
# ------------------------------
744
818
echo timestamp > conftest.file
819
# Reject unsafe characters in $srcdir or the absolute working directory
820
# name. Accept space and tab only in the latter.
824
*[[\\\"\#\$\&\'\`$am_lf]]*)
825
AC_MSG_ERROR([unsafe absolute working directory name]);;
828
*[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
829
AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
745
832
# Do `set' in a subshell so we don't clobber the current shell's
746
833
# arguments. Must try -L first in case configure is actually a
747
834
# symlink; some systems play weird games with the mod time of symlinks
748
835
# (eg FreeBSD returns the mod time of the symlink's containing
751
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
838
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
752
839
if test "$[*]" = "X"; then
753
840
# -L didn't work.
754
set X `ls -t $srcdir/configure conftest.file`
841
set X `ls -t "$srcdir/configure" conftest.file`
756
843
rm -f conftest.file
757
844
if test "$[*]" != "X $srcdir/configure conftest.file" \
777
864
AC_MSG_RESULT(yes)])
866
# Copyright (C) 2009 Free Software Foundation, Inc.
868
# This file is free software; the Free Software Foundation
869
# gives unlimited permission to copy and/or distribute it,
870
# with or without modifications, as long as this notice is preserved.
874
# AM_SILENT_RULES([DEFAULT])
875
# --------------------------
876
# Enable less verbose build rules; with the default set to DEFAULT
877
# (`yes' being less verbose, `no' or empty being verbose).
878
AC_DEFUN([AM_SILENT_RULES],
879
[AC_ARG_ENABLE([silent-rules],
880
[ --enable-silent-rules less verbose build output (undo: `make V=1')
881
--disable-silent-rules verbose build output (undo: `make V=0')])
882
case $enable_silent_rules in
883
yes) AM_DEFAULT_VERBOSITY=0;;
884
no) AM_DEFAULT_VERBOSITY=1;;
885
*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
887
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
889
AC_SUBST([AM_BACKSLASH])dnl
890
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
779
893
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
781
895
# This file is free software; the Free Software Foundation
804
918
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
805
919
AC_SUBST([INSTALL_STRIP_PROGRAM])])
807
# Copyright (C) 2006 Free Software Foundation, Inc.
921
# Copyright (C) 2006, 2008 Free Software Foundation, Inc.
809
923
# This file is free software; the Free Software Foundation
810
924
# gives unlimited permission to copy and/or distribute it,
811
925
# with or without modifications, as long as this notice is preserved.
813
929
# _AM_SUBST_NOTMAKE(VARIABLE)
814
930
# ---------------------------
815
931
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
816
932
# This macro is traced by Automake.
817
933
AC_DEFUN([_AM_SUBST_NOTMAKE])
935
# AM_SUBST_NOTMAKE(VARIABLE)
936
# ---------------------------
937
# Public sister of _AM_SUBST_NOTMAKE.
938
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
819
940
# Check how to create a tarball. -*- Autoconf -*-
821
942
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.