1
# generated automatically by aclocal 1.9.5 -*- Autoconf -*-
1
# generated automatically by aclocal 1.10 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005 Free Software Foundation, Inc.
4
# 2005, 2006 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.
11
11
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
12
# PARTICULAR PURPOSE.
14
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
14
m4_if(m4_PACKAGE_VERSION, [2.61],,
15
[m4_fatal([this file was generated for autoconf 2.61.
16
You have another version of autoconf. If you want to use that,
17
you should regenerate the build system entirely.], [63])])
19
# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
16
21
# This file is free software; the Free Software Foundation
17
22
# gives unlimited permission to copy and/or distribute it,
21
26
# ----------------------------
22
27
# Automake X.Y traces this macro to ensure aclocal.m4 has been
23
28
# generated from the m4 files accompanying Automake X.Y.
24
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
29
# (This private macro should not be called outside this file.)
30
AC_DEFUN([AM_AUTOMAKE_VERSION],
31
[am__api_version='1.10'
32
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
33
dnl require some minimum version. Point them to the right macro.
34
m4_if([$1], [1.10], [],
35
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
38
# _AM_AUTOCONF_VERSION(VERSION)
39
# -----------------------------
40
# aclocal traces this macro to find the Autoconf version.
41
# This is a private macro too. Using m4_define simplifies
42
# the logic in aclocal, which can simply ignore this definition.
43
m4_define([_AM_AUTOCONF_VERSION], [])
26
45
# AM_SET_CURRENT_AUTOMAKE_VERSION
27
46
# -------------------------------
28
# Call AM_AUTOMAKE_VERSION so it can be traced.
47
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
29
48
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
30
49
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
31
[AM_AUTOMAKE_VERSION([1.9.5])])
50
[AM_AUTOMAKE_VERSION([1.10])dnl
51
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
33
53
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
83
103
am_aux_dir=`cd $ac_aux_dir && pwd`
87
# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2005
88
# Free Software Foundation, Inc.
90
# This file is free software; the Free Software Foundation
91
# gives unlimited permission to copy and/or distribute it,
92
# with or without modifications, as long as this notice is preserved.
96
# This was merged into AC_PROG_CC in Autoconf.
98
AU_DEFUN([AM_PROG_CC_STDC],
100
AC_DIAGNOSE([obsolete], [$0:
101
your code should no longer depend upon `am_cv_prog_cc_stdc', but upon
102
`ac_cv_prog_cc_stdc'. Remove this warning and the assignment when
103
you adjust the code. You can also remove the above call to
104
AC_PROG_CC if you already called it elsewhere.])
105
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
107
AU_DEFUN([fp_PROG_CC_STDC])
109
106
# AM_CONDITIONAL -*- Autoconf -*-
111
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
108
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
112
109
# Free Software Foundation, Inc.
114
111
# This file is free software; the Free Software Foundation
115
112
# gives unlimited permission to copy and/or distribute it,
116
113
# with or without modifications, as long as this notice is preserved.
120
117
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
121
118
# -------------------------------------
139
138
Usually this means the macro was only invoked conditionally.]])
143
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
141
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
144
142
# Free Software Foundation, Inc.
146
144
# This file is free software; the Free Software Foundation
147
145
# gives unlimited permission to copy and/or distribute it,
148
146
# with or without modifications, as long as this notice is preserved.
152
150
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
153
151
# written in clear, in which case automake, when reading aclocal.m4,
175
173
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
176
174
[$1], CXX, [depcc="$CXX" am_compiler_list=],
177
175
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
176
[$1], UPC, [depcc="$UPC" am_compiler_list=],
178
177
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
179
178
[depcc="$$1" am_compiler_list=])
317
318
# some people rename them; so instead we look at the file content.
318
319
# Grep'ing the first line is not enough: some people post-process
319
320
# each Makefile.in and add a new line on top of each file to say so.
320
# So let's grep whole file.
321
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
321
# Grep'ing the whole file is not good either: AIX grep has a line
322
# limit of 2048, but all sed's we know have understand at least 4000.
323
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
322
324
dirpart=`AS_DIRNAME("$mf")`
366
368
# Do all the work for Automake. -*- Autoconf -*-
368
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
369
# Free Software Foundation, Inc.
370
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
371
# 2005, 2006 Free Software Foundation, Inc.
371
373
# This file is free software; the Free Software Foundation
372
374
# gives unlimited permission to copy and/or distribute it,
389
391
# arguments mandatory, and then we can depend on a new Autoconf
390
392
# release and drop the old call support.
391
393
AC_DEFUN([AM_INIT_AUTOMAKE],
392
[AC_PREREQ([2.58])dnl
394
[AC_PREREQ([2.60])dnl
393
395
dnl Autoconf wants to disallow AM_ names. We explicitly allow
394
396
dnl the ones we care about.
395
397
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
396
398
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
397
399
AC_REQUIRE([AC_PROG_INSTALL])dnl
398
# test to see if srcdir already configured
399
if test "`cd $srcdir && pwd`" != "`pwd`" &&
400
test -f $srcdir/config.status; then
401
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
400
if test "`cd $srcdir && pwd`" != "`pwd`"; then
401
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
402
# is not polluted with repeated "-I."
403
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
404
# test to see if srcdir already configured
405
if test -f $srcdir/config.status; then
406
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
404
410
# test whether we have cygpath
418
424
AC_SUBST([PACKAGE], [$1])dnl
419
425
AC_SUBST([VERSION], [$2])],
420
426
[_AM_SET_OPTIONS([$1])dnl
427
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
428
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
429
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
421
430
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
422
431
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
567
580
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
569
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
582
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
570
583
# Free Software Foundation, Inc.
572
585
# This file is free software; the Free Software Foundation
573
586
# gives unlimited permission to copy and/or distribute it,
574
587
# with or without modifications, as long as this notice is preserved.
578
591
# AM_MISSING_PROG(NAME, PROGRAM)
579
592
# ------------------------------
589
602
# If it does, set am_missing_run to use it, otherwise, to nothing.
590
603
AC_DEFUN([AM_MISSING_HAS_RUN],
591
604
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
605
AC_REQUIRE_AUX_FILE([missing])dnl
592
606
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
593
607
# Use eval to expand $SHELL
594
608
if eval "$MISSING --run true"; then
602
# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
616
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
604
618
# This file is free software; the Free Software Foundation
605
619
# gives unlimited permission to copy and/or distribute it,
608
622
# AM_PROG_MKDIR_P
609
623
# ---------------
610
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
612
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
613
# created by `make install' are always world readable, even if the
614
# installer happens to have an overly restrictive umask (e.g. 077).
615
# This was a mistake. There are at least two reasons why we must not
617
# - it causes special bits like SGID to be ignored,
618
# - it may be too restrictive (some setups expect 775 directories).
620
# Do not use -m 0755 and let people choose whatever they expect by
623
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
624
# Some implementations (such as Solaris 8's) are not thread-safe: if a
625
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
626
# concurrently, both version can detect that a/ is missing, but only
627
# one can create it and the other will error out. Consequently we
628
# restrict ourselves to GNU make (using the --version option ensures
624
# Check for `mkdir -p'.
630
625
AC_DEFUN([AM_PROG_MKDIR_P],
631
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
632
# We used to keeping the `.' as first argument, in order to
633
# allow $(mkdir_p) to be used without argument. As in
634
# $(mkdir_p) $(somedir)
635
# where $(somedir) is conditionally defined. However this is wrong
637
# 1. if the package is installed by a user who cannot write `.'
638
# make install will fail,
639
# 2. the above comment should most certainly read
640
# $(mkdir_p) $(DESTDIR)$(somedir)
641
# so it does not work when $(somedir) is undefined and
643
# To support the latter case, we have to write
644
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
645
# so the `.' trick is pointless.
646
mkdir_p='mkdir -p --'
648
# On NextStep and OpenStep, the `mkdir' command does not
649
# recognize any option. It will interpret all options as
650
# directories to create, and then abort because `.' already
652
for d in ./-p ./--version;
654
test -d $d && rmdir $d
656
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
657
if test -f "$ac_aux_dir/mkinstalldirs"; then
658
mkdir_p='$(mkinstalldirs)'
660
mkdir_p='$(install_sh) -d'
663
AC_SUBST([mkdir_p])])
626
[AC_PREREQ([2.60])dnl
627
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
628
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
629
dnl while keeping a definition of mkdir_p for backward compatibility.
630
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
631
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
632
dnl Makefile.ins that do not define MKDIR_P, so we do our own
633
dnl adjustment using top_builddir (which is defined more often than
635
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
637
[[\\/$]]* | ?:[[\\/]]*) ;;
638
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
665
642
# Helper functions for option handling. -*- Autoconf -*-
695
672
AC_DEFUN([_AM_IF_OPTION],
696
673
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
698
# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005
675
# Copyright (C) 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005, 2006
699
676
# Free Software Foundation, Inc.
701
678
# This file is free software; the Free Software Foundation
702
679
# gives unlimited permission to copy and/or distribute it,
703
680
# with or without modifications, as long as this notice is preserved.
707
684
AC_DEFUN([AM_C_PROTOTYPES],
708
685
[AC_REQUIRE([AC_C_PROTOTYPES])
797
775
if test "$cross_compiling" != no; then
798
776
AC_CHECK_TOOL([STRIP], [strip], :)
800
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
778
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
801
779
AC_SUBST([INSTALL_STRIP_PROGRAM])])
781
# Copyright (C) 2006 Free Software Foundation, Inc.
783
# This file is free software; the Free Software Foundation
784
# gives unlimited permission to copy and/or distribute it,
785
# with or without modifications, as long as this notice is preserved.
787
# _AM_SUBST_NOTMAKE(VARIABLE)
788
# ---------------------------
789
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
790
# This macro is traced by Automake.
791
AC_DEFUN([_AM_SUBST_NOTMAKE])
803
793
# Check how to create a tarball. -*- Autoconf -*-
805
795
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
897
887
]) # _AM_PROG_TAR
899
889
m4_include([m4/arch.m4])
890
m4_include([m4/codeset.m4])
900
891
m4_include([m4/gettext.m4])
901
892
m4_include([m4/iconv.m4])
902
893
m4_include([m4/intmax_t.m4])
903
894
m4_include([m4/inttypes_h.m4])
895
m4_include([m4/isc-posix.m4])
896
m4_include([m4/lcmessage.m4])
904
897
m4_include([m4/lib-ld.m4])
905
898
m4_include([m4/lib-link.m4])
906
899
m4_include([m4/lib-prefix.m4])