1
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
1
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
# 2005 Free Software Foundation, Inc.
4
# 2005, 2006, 2007, 2008 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
m4_ifndef([AC_AUTOCONF_VERSION],
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.
18
You have another version of autoconf. It may work, but is not guaranteed to.
19
If you have problems, you may need to regenerate the build system entirely.
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
14
22
# Copyright (C) 1995-2002 Free Software Foundation, Inc.
15
23
# Copyright (C) 2001-2003,2004 Red Hat, Inc.
7255
7263
])# PKG_CHECK_MODULES
7257
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
7265
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
7259
7267
# This file is free software; the Free Software Foundation
7260
7268
# gives unlimited permission to copy and/or distribute it,
7264
7272
# ----------------------------
7265
7273
# Automake X.Y traces this macro to ensure aclocal.m4 has been
7266
7274
# generated from the m4 files accompanying Automake X.Y.
7267
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
7275
# (This private macro should not be called outside this file.)
7276
AC_DEFUN([AM_AUTOMAKE_VERSION],
7277
[am__api_version='1.10'
7278
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
7279
dnl require some minimum version. Point them to the right macro.
7280
m4_if([$1], [1.10.1], [],
7281
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
7284
# _AM_AUTOCONF_VERSION(VERSION)
7285
# -----------------------------
7286
# aclocal traces this macro to find the Autoconf version.
7287
# This is a private macro too. Using m4_define simplifies
7288
# the logic in aclocal, which can simply ignore this definition.
7289
m4_define([_AM_AUTOCONF_VERSION], [])
7269
7291
# AM_SET_CURRENT_AUTOMAKE_VERSION
7270
7292
# -------------------------------
7271
# Call AM_AUTOMAKE_VERSION so it can be traced.
7293
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
7272
7294
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
7273
7295
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
7274
[AM_AUTOMAKE_VERSION([1.9.6])])
7296
[AM_AUTOMAKE_VERSION([1.10.1])dnl
7297
m4_ifndef([AC_AUTOCONF_VERSION],
7298
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
7299
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
7276
7301
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
7329
7354
# AM_CONDITIONAL -*- Autoconf -*-
7331
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
7356
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
7332
7357
# Free Software Foundation, Inc.
7334
7359
# This file is free software; the Free Software Foundation
7335
7360
# gives unlimited permission to copy and/or distribute it,
7336
7361
# with or without modifications, as long as this notice is preserved.
7340
7365
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
7341
7366
# -------------------------------------
7359
7386
Usually this means the macro was only invoked conditionally.]])
7363
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
7389
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
7364
7390
# Free Software Foundation, Inc.
7366
7392
# This file is free software; the Free Software Foundation
7367
7393
# gives unlimited permission to copy and/or distribute it,
7368
7394
# with or without modifications, as long as this notice is preserved.
7372
7398
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
7373
7399
# written in clear, in which case automake, when reading aclocal.m4,
7395
7421
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
7396
7422
[$1], CXX, [depcc="$CXX" am_compiler_list=],
7397
7423
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
7424
[$1], UPC, [depcc="$UPC" am_compiler_list=],
7398
7425
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
7399
7426
[depcc="$$1" am_compiler_list=])
7537
7566
# some people rename them; so instead we look at the file content.
7538
7567
# Grep'ing the first line is not enough: some people post-process
7539
7568
# each Makefile.in and add a new line on top of each file to say so.
7540
# So let's grep whole file.
7541
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7569
# Grep'ing the whole file is not good either: AIX grep has a line
7570
# limit of 2048, but all sed's we know have understand at least 4000.
7571
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7542
7572
dirpart=`AS_DIRNAME("$mf")`
7598
7628
# Do all the work for Automake. -*- Autoconf -*-
7600
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
7601
# Free Software Foundation, Inc.
7630
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
7631
# 2005, 2006, 2008 Free Software Foundation, Inc.
7603
7633
# This file is free software; the Free Software Foundation
7604
7634
# gives unlimited permission to copy and/or distribute it,
7605
7635
# with or without modifications, as long as this notice is preserved.
7609
7639
# This macro actually does too much. Some checks are only needed if
7610
7640
# your package does certain things. But this isn't really a big deal.
7621
7651
# arguments mandatory, and then we can depend on a new Autoconf
7622
7652
# release and drop the old call support.
7623
7653
AC_DEFUN([AM_INIT_AUTOMAKE],
7624
[AC_PREREQ([2.58])dnl
7654
[AC_PREREQ([2.60])dnl
7625
7655
dnl Autoconf wants to disallow AM_ names. We explicitly allow
7626
7656
dnl the ones we care about.
7627
7657
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
7628
7658
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
7629
7659
AC_REQUIRE([AC_PROG_INSTALL])dnl
7630
# test to see if srcdir already configured
7631
if test "`cd $srcdir && pwd`" != "`pwd`" &&
7632
test -f $srcdir/config.status; then
7633
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
7660
if test "`cd $srcdir && pwd`" != "`pwd`"; then
7661
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
7662
# is not polluted with repeated "-I."
7663
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
7664
# test to see if srcdir already configured
7665
if test -f $srcdir/config.status; then
7666
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
7636
7670
# test whether we have cygpath
7650
7684
AC_SUBST([PACKAGE], [$1])dnl
7651
7685
AC_SUBST([VERSION], [$2])],
7652
7686
[_AM_SET_OPTIONS([$1])dnl
7687
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
7688
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
7689
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
7653
7690
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
7654
7691
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
7698
7739
# our stamp files there.
7699
7740
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
7700
7741
[# Compute $1's index in $config_headers.
7701
7743
_am_stamp_count=1
7702
7744
for _am_header in $config_headers :; do
7703
7745
case $_am_header in
7746
$_am_arg | $_am_arg:* )
7707
7749
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
7710
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
7752
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
7712
7754
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
7828
7870
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
7830
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
7872
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
7831
7873
# Free Software Foundation, Inc.
7833
7875
# This file is free software; the Free Software Foundation
7834
7876
# gives unlimited permission to copy and/or distribute it,
7835
7877
# with or without modifications, as long as this notice is preserved.
7839
7881
# AM_MISSING_PROG(NAME, PROGRAM)
7840
7882
# ------------------------------
7850
7892
# If it does, set am_missing_run to use it, otherwise, to nothing.
7851
7893
AC_DEFUN([AM_MISSING_HAS_RUN],
7852
7894
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
7895
AC_REQUIRE_AUX_FILE([missing])dnl
7853
7896
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
7854
7897
# Use eval to expand $SHELL
7855
7898
if eval "$MISSING --run true"; then
7863
# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
7906
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7865
7908
# This file is free software; the Free Software Foundation
7866
7909
# gives unlimited permission to copy and/or distribute it,
7869
7912
# AM_PROG_MKDIR_P
7870
7913
# ---------------
7871
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
7873
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
7874
# created by `make install' are always world readable, even if the
7875
# installer happens to have an overly restrictive umask (e.g. 077).
7876
# This was a mistake. There are at least two reasons why we must not
7878
# - it causes special bits like SGID to be ignored,
7879
# - it may be too restrictive (some setups expect 775 directories).
7881
# Do not use -m 0755 and let people choose whatever they expect by
7884
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
7885
# Some implementations (such as Solaris 8's) are not thread-safe: if a
7886
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
7887
# concurrently, both version can detect that a/ is missing, but only
7888
# one can create it and the other will error out. Consequently we
7889
# restrict ourselves to GNU make (using the --version option ensures
7914
# Check for `mkdir -p'.
7891
7915
AC_DEFUN([AM_PROG_MKDIR_P],
7892
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
7893
# We used to keeping the `.' as first argument, in order to
7894
# allow $(mkdir_p) to be used without argument. As in
7895
# $(mkdir_p) $(somedir)
7896
# where $(somedir) is conditionally defined. However this is wrong
7898
# 1. if the package is installed by a user who cannot write `.'
7899
# make install will fail,
7900
# 2. the above comment should most certainly read
7901
# $(mkdir_p) $(DESTDIR)$(somedir)
7902
# so it does not work when $(somedir) is undefined and
7903
# $(DESTDIR) is not.
7904
# To support the latter case, we have to write
7905
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
7906
# so the `.' trick is pointless.
7907
mkdir_p='mkdir -p --'
7909
# On NextStep and OpenStep, the `mkdir' command does not
7910
# recognize any option. It will interpret all options as
7911
# directories to create, and then abort because `.' already
7913
for d in ./-p ./--version;
7915
test -d $d && rmdir $d
7917
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
7918
if test -f "$ac_aux_dir/mkinstalldirs"; then
7919
mkdir_p='$(mkinstalldirs)'
7921
mkdir_p='$(install_sh) -d'
7924
AC_SUBST([mkdir_p])])
7916
[AC_PREREQ([2.60])dnl
7917
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
7918
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
7919
dnl while keeping a definition of mkdir_p for backward compatibility.
7920
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
7921
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
7922
dnl Makefile.ins that do not define MKDIR_P, so we do our own
7923
dnl adjustment using top_builddir (which is defined more often than
7925
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
7927
[[\\/$]]* | ?:[[\\/]]*) ;;
7928
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
7926
7932
# Helper functions for option handling. -*- Autoconf -*-
8033
8039
if test "$cross_compiling" != no; then
8034
8040
AC_CHECK_TOOL([STRIP], [strip], :)
8036
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
8042
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
8037
8043
AC_SUBST([INSTALL_STRIP_PROGRAM])])
8045
# Copyright (C) 2006 Free Software Foundation, Inc.
8047
# This file is free software; the Free Software Foundation
8048
# gives unlimited permission to copy and/or distribute it,
8049
# with or without modifications, as long as this notice is preserved.
8051
# _AM_SUBST_NOTMAKE(VARIABLE)
8052
# ---------------------------
8053
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
8054
# This macro is traced by Automake.
8055
AC_DEFUN([_AM_SUBST_NOTMAKE])
8039
8057
# Check how to create a tarball. -*- Autoconf -*-
8041
8059
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.